configure: Merge the libcapi20 existence check with the soname check.
[wine/dibdrv.git] / configure
blob59e939f39439266093d11155f234ce8dfd6a2b8f
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
6823 for ac_header in \
6824 AudioUnit/AudioUnit.h \
6825 Carbon/Carbon.h \
6826 CoreAudio/CoreAudio.h \
6827 DiskArbitration/DiskArbitration.h \
6828 IOKit/IOKitLib.h \
6829 alsa/asoundlib.h \
6830 arpa/inet.h \
6831 arpa/nameser.h \
6832 asm/types.h \
6833 capi20.h \
6834 cups/cups.h \
6835 curses.h \
6836 direct.h \
6837 dlfcn.h \
6838 elf.h \
6839 float.h \
6840 fontconfig/fontconfig.h \
6841 getopt.h \
6842 ieeefp.h \
6843 io.h \
6844 jack/jack.h \
6845 jpeglib.h \
6846 lber.h \
6847 lcms.h \
6848 lcms/lcms.h \
6849 ldap.h \
6850 libaudioio.h \
6851 link.h \
6852 linux/cdrom.h \
6853 linux/compiler.h \
6854 linux/hdreg.h \
6855 linux/input.h \
6856 linux/ioctl.h \
6857 linux/joystick.h \
6858 linux/major.h \
6859 linux/param.h \
6860 linux/serial.h \
6861 linux/ucdrom.h \
6862 mach/mach.h \
6863 mach/machine.h \
6864 machine/cpu.h \
6865 machine/limits.h \
6866 machine/soundcard.h \
6867 mntent.h \
6868 ncurses.h \
6869 netdb.h \
6870 netinet/in.h \
6871 netinet/in_systm.h \
6872 netinet/tcp.h \
6873 netinet/tcp_fsm.h \
6874 openssl/err.h \
6875 openssl/ssl.h \
6876 poll.h \
6877 process.h \
6878 pthread.h \
6879 pwd.h \
6880 regex.h \
6881 sched.h \
6882 scsi/scsi.h \
6883 scsi/scsi_ioctl.h \
6884 scsi/sg.h \
6885 soundcard.h \
6886 stdint.h \
6887 strings.h \
6888 sys/asoundlib.h \
6889 sys/cdio.h \
6890 sys/elf32.h \
6891 sys/epoll.h \
6892 sys/errno.h \
6893 sys/event.h \
6894 sys/exec_elf.h \
6895 sys/filio.h \
6896 sys/ioctl.h \
6897 sys/ipc.h \
6898 sys/limits.h \
6899 sys/link.h \
6900 sys/lwp.h \
6901 sys/mman.h \
6902 sys/modem.h \
6903 sys/msg.h \
6904 sys/mtio.h \
6905 sys/param.h \
6906 sys/poll.h \
6907 sys/prctl.h \
6908 sys/ptrace.h \
6909 sys/reg.h \
6910 sys/resource.h \
6911 sys/scsiio.h \
6912 sys/shm.h \
6913 sys/signal.h \
6914 sys/socket.h \
6915 sys/sockio.h \
6916 sys/soundcard.h \
6917 sys/statvfs.h \
6918 sys/strtio.h \
6919 sys/syscall.h \
6920 sys/sysctl.h \
6921 sys/time.h \
6922 sys/times.h \
6923 sys/uio.h \
6924 sys/un.h \
6925 sys/vm86.h \
6926 sys/wait.h \
6927 syscall.h \
6928 termios.h \
6929 unicode/ubidi.h \
6930 unistd.h \
6931 utime.h \
6932 valgrind/memcheck.h
6935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6937 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6942 ac_res=`eval echo '${'$as_ac_Header'}'`
6943 { echo "$as_me:$LINENO: result: $ac_res" >&5
6944 echo "${ECHO_T}$ac_res" >&6; }
6945 else
6946 # Is the header compilable?
6947 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6949 cat >conftest.$ac_ext <<_ACEOF
6950 /* confdefs.h. */
6951 _ACEOF
6952 cat confdefs.h >>conftest.$ac_ext
6953 cat >>conftest.$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6955 $ac_includes_default
6956 #include <$ac_header>
6957 _ACEOF
6958 rm -f conftest.$ac_objext
6959 if { (ac_try="$ac_compile"
6960 case "(($ac_try" in
6961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6962 *) ac_try_echo=$ac_try;;
6963 esac
6964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6965 (eval "$ac_compile") 2>conftest.er1
6966 ac_status=$?
6967 grep -v '^ *+' conftest.er1 >conftest.err
6968 rm -f conftest.er1
6969 cat conftest.err >&5
6970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 (exit $ac_status); } && {
6972 test -z "$ac_c_werror_flag" ||
6973 test ! -s conftest.err
6974 } && test -s conftest.$ac_objext; then
6975 ac_header_compiler=yes
6976 else
6977 echo "$as_me: failed program was:" >&5
6978 sed 's/^/| /' conftest.$ac_ext >&5
6980 ac_header_compiler=no
6983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6984 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6985 echo "${ECHO_T}$ac_header_compiler" >&6; }
6987 # Is the header present?
6988 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6990 cat >conftest.$ac_ext <<_ACEOF
6991 /* confdefs.h. */
6992 _ACEOF
6993 cat confdefs.h >>conftest.$ac_ext
6994 cat >>conftest.$ac_ext <<_ACEOF
6995 /* end confdefs.h. */
6996 #include <$ac_header>
6997 _ACEOF
6998 if { (ac_try="$ac_cpp conftest.$ac_ext"
6999 case "(($ac_try" in
7000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7001 *) ac_try_echo=$ac_try;;
7002 esac
7003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7005 ac_status=$?
7006 grep -v '^ *+' conftest.er1 >conftest.err
7007 rm -f conftest.er1
7008 cat conftest.err >&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); } >/dev/null && {
7011 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7012 test ! -s conftest.err
7013 }; then
7014 ac_header_preproc=yes
7015 else
7016 echo "$as_me: failed program was:" >&5
7017 sed 's/^/| /' conftest.$ac_ext >&5
7019 ac_header_preproc=no
7022 rm -f conftest.err conftest.$ac_ext
7023 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7024 echo "${ECHO_T}$ac_header_preproc" >&6; }
7026 # So? What about this header?
7027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7028 yes:no: )
7029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7033 ac_header_preproc=yes
7035 no:yes:* )
7036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7043 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7046 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7048 ( cat <<\_ASBOX
7049 ## ------------------------------------ ##
7050 ## Report this to wine-devel@winehq.org ##
7051 ## ------------------------------------ ##
7052 _ASBOX
7053 ) | sed "s/^/$as_me: WARNING: /" >&2
7055 esac
7056 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7059 echo $ECHO_N "(cached) $ECHO_C" >&6
7060 else
7061 eval "$as_ac_Header=\$ac_header_preproc"
7063 ac_res=`eval echo '${'$as_ac_Header'}'`
7064 { echo "$as_me:$LINENO: result: $ac_res" >&5
7065 echo "${ECHO_T}$ac_res" >&6; }
7068 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7069 cat >>confdefs.h <<_ACEOF
7070 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7071 _ACEOF
7075 done
7077 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7078 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7079 if test "${ac_cv_header_stat_broken+set}" = set; then
7080 echo $ECHO_N "(cached) $ECHO_C" >&6
7081 else
7082 cat >conftest.$ac_ext <<_ACEOF
7083 /* confdefs.h. */
7084 _ACEOF
7085 cat confdefs.h >>conftest.$ac_ext
7086 cat >>conftest.$ac_ext <<_ACEOF
7087 /* end confdefs.h. */
7088 #include <sys/types.h>
7089 #include <sys/stat.h>
7091 #if defined S_ISBLK && defined S_IFDIR
7092 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7093 #endif
7095 #if defined S_ISBLK && defined S_IFCHR
7096 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7097 #endif
7099 #if defined S_ISLNK && defined S_IFREG
7100 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7101 #endif
7103 #if defined S_ISSOCK && defined S_IFREG
7104 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7105 #endif
7107 _ACEOF
7108 rm -f conftest.$ac_objext
7109 if { (ac_try="$ac_compile"
7110 case "(($ac_try" in
7111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7112 *) ac_try_echo=$ac_try;;
7113 esac
7114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7115 (eval "$ac_compile") 2>conftest.er1
7116 ac_status=$?
7117 grep -v '^ *+' conftest.er1 >conftest.err
7118 rm -f conftest.er1
7119 cat conftest.err >&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); } && {
7122 test -z "$ac_c_werror_flag" ||
7123 test ! -s conftest.err
7124 } && test -s conftest.$ac_objext; then
7125 ac_cv_header_stat_broken=no
7126 else
7127 echo "$as_me: failed program was:" >&5
7128 sed 's/^/| /' conftest.$ac_ext >&5
7130 ac_cv_header_stat_broken=yes
7133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7135 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7136 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7137 if test $ac_cv_header_stat_broken = yes; then
7139 cat >>confdefs.h <<\_ACEOF
7140 #define STAT_MACROS_BROKEN 1
7141 _ACEOF
7151 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7154 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7158 else
7159 cat >conftest.$ac_ext <<_ACEOF
7160 /* confdefs.h. */
7161 _ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7165 #include <sys/types.h>
7166 #if HAVE_SYS_PARAM_H
7167 # include <sys/param.h>
7168 #endif
7170 #include <$ac_header>
7171 _ACEOF
7172 rm -f conftest.$ac_objext
7173 if { (ac_try="$ac_compile"
7174 case "(($ac_try" in
7175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7176 *) ac_try_echo=$ac_try;;
7177 esac
7178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7179 (eval "$ac_compile") 2>conftest.er1
7180 ac_status=$?
7181 grep -v '^ *+' conftest.er1 >conftest.err
7182 rm -f conftest.er1
7183 cat conftest.err >&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); } && {
7186 test -z "$ac_c_werror_flag" ||
7187 test ! -s conftest.err
7188 } && test -s conftest.$ac_objext; then
7189 eval "$as_ac_Header=yes"
7190 else
7191 echo "$as_me: failed program was:" >&5
7192 sed 's/^/| /' conftest.$ac_ext >&5
7194 eval "$as_ac_Header=no"
7197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7199 ac_res=`eval echo '${'$as_ac_Header'}'`
7200 { echo "$as_me:$LINENO: result: $ac_res" >&5
7201 echo "${ECHO_T}$ac_res" >&6; }
7202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7203 cat >>confdefs.h <<_ACEOF
7204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7205 _ACEOF
7209 done
7218 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
7220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7221 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7224 echo $ECHO_N "(cached) $ECHO_C" >&6
7225 else
7226 cat >conftest.$ac_ext <<_ACEOF
7227 /* confdefs.h. */
7228 _ACEOF
7229 cat confdefs.h >>conftest.$ac_ext
7230 cat >>conftest.$ac_ext <<_ACEOF
7231 /* end confdefs.h. */
7232 #include <sys/types.h>
7233 #if HAVE_SYS_SOCKET_H
7234 # include <sys/socket.h>
7235 #endif
7237 #include <$ac_header>
7238 _ACEOF
7239 rm -f conftest.$ac_objext
7240 if { (ac_try="$ac_compile"
7241 case "(($ac_try" in
7242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7243 *) ac_try_echo=$ac_try;;
7244 esac
7245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7246 (eval "$ac_compile") 2>conftest.er1
7247 ac_status=$?
7248 grep -v '^ *+' conftest.er1 >conftest.err
7249 rm -f conftest.er1
7250 cat conftest.err >&5
7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252 (exit $ac_status); } && {
7253 test -z "$ac_c_werror_flag" ||
7254 test ! -s conftest.err
7255 } && test -s conftest.$ac_objext; then
7256 eval "$as_ac_Header=yes"
7257 else
7258 echo "$as_me: failed program was:" >&5
7259 sed 's/^/| /' conftest.$ac_ext >&5
7261 eval "$as_ac_Header=no"
7264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7266 ac_res=`eval echo '${'$as_ac_Header'}'`
7267 { echo "$as_me:$LINENO: result: $ac_res" >&5
7268 echo "${ECHO_T}$ac_res" >&6; }
7269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7270 cat >>confdefs.h <<_ACEOF
7271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7272 _ACEOF
7276 done
7280 for ac_header in linux/ipx.h
7282 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7283 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7285 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7287 else
7288 cat >conftest.$ac_ext <<_ACEOF
7289 /* confdefs.h. */
7290 _ACEOF
7291 cat confdefs.h >>conftest.$ac_ext
7292 cat >>conftest.$ac_ext <<_ACEOF
7293 /* end confdefs.h. */
7294 #include <sys/types.h>
7295 #ifdef HAVE_ASM_TYPES_H
7296 # include <asm/types.h>
7297 #endif
7298 #if HAVE_SYS_SOCKET_H
7299 # include <sys/socket.h>
7300 #endif
7302 #include <$ac_header>
7303 _ACEOF
7304 rm -f conftest.$ac_objext
7305 if { (ac_try="$ac_compile"
7306 case "(($ac_try" in
7307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7308 *) ac_try_echo=$ac_try;;
7309 esac
7310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7311 (eval "$ac_compile") 2>conftest.er1
7312 ac_status=$?
7313 grep -v '^ *+' conftest.er1 >conftest.err
7314 rm -f conftest.er1
7315 cat conftest.err >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); } && {
7318 test -z "$ac_c_werror_flag" ||
7319 test ! -s conftest.err
7320 } && test -s conftest.$ac_objext; then
7321 eval "$as_ac_Header=yes"
7322 else
7323 echo "$as_me: failed program was:" >&5
7324 sed 's/^/| /' conftest.$ac_ext >&5
7326 eval "$as_ac_Header=no"
7329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7331 ac_res=`eval echo '${'$as_ac_Header'}'`
7332 { echo "$as_me:$LINENO: result: $ac_res" >&5
7333 echo "${ECHO_T}$ac_res" >&6; }
7334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7335 cat >>confdefs.h <<_ACEOF
7336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7337 _ACEOF
7341 done
7345 for ac_header in resolv.h
7347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7351 echo $ECHO_N "(cached) $ECHO_C" >&6
7352 else
7353 cat >conftest.$ac_ext <<_ACEOF
7354 /* confdefs.h. */
7355 _ACEOF
7356 cat confdefs.h >>conftest.$ac_ext
7357 cat >>conftest.$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7359 #include <sys/types.h>
7360 #if HAVE_SYS_SOCKET_H
7361 # include <sys/socket.h>
7362 #endif
7363 #if HAVE_NETINET_IN_H
7364 # include <netinet/in.h>
7365 #endif
7366 #if HAVE_ARPA_NAMESER_H
7367 # include <arpa/nameser.h>
7368 #endif
7370 #include <$ac_header>
7371 _ACEOF
7372 rm -f conftest.$ac_objext
7373 if { (ac_try="$ac_compile"
7374 case "(($ac_try" in
7375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7376 *) ac_try_echo=$ac_try;;
7377 esac
7378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7379 (eval "$ac_compile") 2>conftest.er1
7380 ac_status=$?
7381 grep -v '^ *+' conftest.er1 >conftest.err
7382 rm -f conftest.er1
7383 cat conftest.err >&5
7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385 (exit $ac_status); } && {
7386 test -z "$ac_c_werror_flag" ||
7387 test ! -s conftest.err
7388 } && test -s conftest.$ac_objext; then
7389 eval "$as_ac_Header=yes"
7390 else
7391 echo "$as_me: failed program was:" >&5
7392 sed 's/^/| /' conftest.$ac_ext >&5
7394 eval "$as_ac_Header=no"
7397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7399 ac_res=`eval echo '${'$as_ac_Header'}'`
7400 { echo "$as_me:$LINENO: result: $ac_res" >&5
7401 echo "${ECHO_T}$ac_res" >&6; }
7402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7403 cat >>confdefs.h <<_ACEOF
7404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7405 _ACEOF
7409 done
7413 for ac_header in ucontext.h
7415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7416 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7420 else
7421 cat >conftest.$ac_ext <<_ACEOF
7422 /* confdefs.h. */
7423 _ACEOF
7424 cat confdefs.h >>conftest.$ac_ext
7425 cat >>conftest.$ac_ext <<_ACEOF
7426 /* end confdefs.h. */
7427 #include <signal.h>
7429 #include <$ac_header>
7430 _ACEOF
7431 rm -f conftest.$ac_objext
7432 if { (ac_try="$ac_compile"
7433 case "(($ac_try" in
7434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7435 *) ac_try_echo=$ac_try;;
7436 esac
7437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7438 (eval "$ac_compile") 2>conftest.er1
7439 ac_status=$?
7440 grep -v '^ *+' conftest.er1 >conftest.err
7441 rm -f conftest.er1
7442 cat conftest.err >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } && {
7445 test -z "$ac_c_werror_flag" ||
7446 test ! -s conftest.err
7447 } && test -s conftest.$ac_objext; then
7448 eval "$as_ac_Header=yes"
7449 else
7450 echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.$ac_ext >&5
7453 eval "$as_ac_Header=no"
7456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7458 ac_res=`eval echo '${'$as_ac_Header'}'`
7459 { echo "$as_me:$LINENO: result: $ac_res" >&5
7460 echo "${ECHO_T}$ac_res" >&6; }
7461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7462 cat >>confdefs.h <<_ACEOF
7463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7464 _ACEOF
7468 done
7472 for ac_header in pthread_np.h
7474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7478 echo $ECHO_N "(cached) $ECHO_C" >&6
7479 else
7480 cat >conftest.$ac_ext <<_ACEOF
7481 /* confdefs.h. */
7482 _ACEOF
7483 cat confdefs.h >>conftest.$ac_ext
7484 cat >>conftest.$ac_ext <<_ACEOF
7485 /* end confdefs.h. */
7486 #ifdef HAVE_PTHREAD_H
7487 #include <pthread.h>
7488 #endif
7490 #include <$ac_header>
7491 _ACEOF
7492 rm -f conftest.$ac_objext
7493 if { (ac_try="$ac_compile"
7494 case "(($ac_try" in
7495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7496 *) ac_try_echo=$ac_try;;
7497 esac
7498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7499 (eval "$ac_compile") 2>conftest.er1
7500 ac_status=$?
7501 grep -v '^ *+' conftest.er1 >conftest.err
7502 rm -f conftest.er1
7503 cat conftest.err >&5
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); } && {
7506 test -z "$ac_c_werror_flag" ||
7507 test ! -s conftest.err
7508 } && test -s conftest.$ac_objext; then
7509 eval "$as_ac_Header=yes"
7510 else
7511 echo "$as_me: failed program was:" >&5
7512 sed 's/^/| /' conftest.$ac_ext >&5
7514 eval "$as_ac_Header=no"
7517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7519 ac_res=`eval echo '${'$as_ac_Header'}'`
7520 { echo "$as_me:$LINENO: result: $ac_res" >&5
7521 echo "${ECHO_T}$ac_res" >&6; }
7522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7523 cat >>confdefs.h <<_ACEOF
7524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7525 _ACEOF
7529 done
7533 for ac_header in linux/videodev.h
7535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7536 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7539 echo $ECHO_N "(cached) $ECHO_C" >&6
7540 else
7541 cat >conftest.$ac_ext <<_ACEOF
7542 /* confdefs.h. */
7543 _ACEOF
7544 cat confdefs.h >>conftest.$ac_ext
7545 cat >>conftest.$ac_ext <<_ACEOF
7546 /* end confdefs.h. */
7547 #ifdef HAVE_SYS_TIME_H
7548 #include <sys/time.h>
7549 #endif
7550 #include <sys/types.h>
7551 #ifdef HAVE_ASM_TYPES_H
7552 #include <asm/types.h>
7553 #endif
7555 #include <$ac_header>
7556 _ACEOF
7557 rm -f conftest.$ac_objext
7558 if { (ac_try="$ac_compile"
7559 case "(($ac_try" in
7560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7561 *) ac_try_echo=$ac_try;;
7562 esac
7563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7564 (eval "$ac_compile") 2>conftest.er1
7565 ac_status=$?
7566 grep -v '^ *+' conftest.er1 >conftest.err
7567 rm -f conftest.er1
7568 cat conftest.err >&5
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); } && {
7571 test -z "$ac_c_werror_flag" ||
7572 test ! -s conftest.err
7573 } && test -s conftest.$ac_objext; then
7574 eval "$as_ac_Header=yes"
7575 else
7576 echo "$as_me: failed program was:" >&5
7577 sed 's/^/| /' conftest.$ac_ext >&5
7579 eval "$as_ac_Header=no"
7582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7584 ac_res=`eval echo '${'$as_ac_Header'}'`
7585 { echo "$as_me:$LINENO: result: $ac_res" >&5
7586 echo "${ECHO_T}$ac_res" >&6; }
7587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7588 cat >>confdefs.h <<_ACEOF
7589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7590 _ACEOF
7594 done
7598 for ac_header in linux/capi.h
7600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7601 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7603 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7604 echo $ECHO_N "(cached) $ECHO_C" >&6
7605 else
7606 cat >conftest.$ac_ext <<_ACEOF
7607 /* confdefs.h. */
7608 _ACEOF
7609 cat confdefs.h >>conftest.$ac_ext
7610 cat >>conftest.$ac_ext <<_ACEOF
7611 /* end confdefs.h. */
7612 #define __user
7614 #include <$ac_header>
7615 _ACEOF
7616 rm -f conftest.$ac_objext
7617 if { (ac_try="$ac_compile"
7618 case "(($ac_try" in
7619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7620 *) ac_try_echo=$ac_try;;
7621 esac
7622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7623 (eval "$ac_compile") 2>conftest.er1
7624 ac_status=$?
7625 grep -v '^ *+' conftest.er1 >conftest.err
7626 rm -f conftest.er1
7627 cat conftest.err >&5
7628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); } && {
7630 test -z "$ac_c_werror_flag" ||
7631 test ! -s conftest.err
7632 } && test -s conftest.$ac_objext; then
7633 eval "$as_ac_Header=yes"
7634 else
7635 echo "$as_me: failed program was:" >&5
7636 sed 's/^/| /' conftest.$ac_ext >&5
7638 eval "$as_ac_Header=no"
7641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7643 ac_res=`eval echo '${'$as_ac_Header'}'`
7644 { echo "$as_me:$LINENO: result: $ac_res" >&5
7645 echo "${ECHO_T}$ac_res" >&6; }
7646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7647 cat >>confdefs.h <<_ACEOF
7648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7649 _ACEOF
7653 done
7657 DLLEXT=""
7659 DLLFLAGS="-D_REENTRANT"
7661 LDSHARED=""
7663 LDDLLFLAGS=""
7665 LIBEXT="so"
7667 IMPLIBEXT="def"
7669 LDRPATH_INSTALL=""
7671 LDRPATH_LOCAL=""
7673 # Extract the first word of "ldd", so it can be a program name with args.
7674 set dummy ldd; ac_word=$2
7675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7677 if test "${ac_cv_path_LDD+set}" = set; then
7678 echo $ECHO_N "(cached) $ECHO_C" >&6
7679 else
7680 case $LDD in
7681 [\\/]* | ?:[\\/]*)
7682 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686 as_dummy="/sbin:/usr/sbin:$PATH"
7687 for as_dir in $as_dummy
7689 IFS=$as_save_IFS
7690 test -z "$as_dir" && as_dir=.
7691 for ac_exec_ext in '' $ac_executable_extensions; do
7692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7693 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7695 break 2
7697 done
7698 done
7699 IFS=$as_save_IFS
7701 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7703 esac
7705 LDD=$ac_cv_path_LDD
7706 if test -n "$LDD"; then
7707 { echo "$as_me:$LINENO: result: $LDD" >&5
7708 echo "${ECHO_T}$LDD" >&6; }
7709 else
7710 { echo "$as_me:$LINENO: result: no" >&5
7711 echo "${ECHO_T}no" >&6; }
7716 case $host_os in
7717 cygwin*|mingw32*)
7718 if test -n "$ac_tool_prefix"; then
7719 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7720 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7723 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7724 echo $ECHO_N "(cached) $ECHO_C" >&6
7725 else
7726 if test -n "$DLLTOOL"; then
7727 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7728 else
7729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7730 for as_dir in $PATH
7732 IFS=$as_save_IFS
7733 test -z "$as_dir" && as_dir=.
7734 for ac_exec_ext in '' $ac_executable_extensions; do
7735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7736 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7738 break 2
7740 done
7741 done
7742 IFS=$as_save_IFS
7746 DLLTOOL=$ac_cv_prog_DLLTOOL
7747 if test -n "$DLLTOOL"; then
7748 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7749 echo "${ECHO_T}$DLLTOOL" >&6; }
7750 else
7751 { echo "$as_me:$LINENO: result: no" >&5
7752 echo "${ECHO_T}no" >&6; }
7757 if test -z "$ac_cv_prog_DLLTOOL"; then
7758 ac_ct_DLLTOOL=$DLLTOOL
7759 # Extract the first word of "dlltool", so it can be a program name with args.
7760 set dummy dlltool; ac_word=$2
7761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7763 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7764 echo $ECHO_N "(cached) $ECHO_C" >&6
7765 else
7766 if test -n "$ac_ct_DLLTOOL"; then
7767 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7768 else
7769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7770 for as_dir in $PATH
7772 IFS=$as_save_IFS
7773 test -z "$as_dir" && as_dir=.
7774 for ac_exec_ext in '' $ac_executable_extensions; do
7775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7776 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7778 break 2
7780 done
7781 done
7782 IFS=$as_save_IFS
7786 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7787 if test -n "$ac_ct_DLLTOOL"; then
7788 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7789 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7790 else
7791 { echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6; }
7795 if test "x$ac_ct_DLLTOOL" = x; then
7796 DLLTOOL="false"
7797 else
7798 case $cross_compiling:$ac_tool_warned in
7799 yes:)
7800 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7801 whose name does not start with the host triplet. If you think this
7802 configuration is useful to you, please write to autoconf@gnu.org." >&5
7803 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7804 whose name does not start with the host triplet. If you think this
7805 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7806 ac_tool_warned=yes ;;
7807 esac
7808 DLLTOOL=$ac_ct_DLLTOOL
7810 else
7811 DLLTOOL="$ac_cv_prog_DLLTOOL"
7814 if test -n "$ac_tool_prefix"; then
7815 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7816 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7819 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7820 echo $ECHO_N "(cached) $ECHO_C" >&6
7821 else
7822 if test -n "$DLLWRAP"; then
7823 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7824 else
7825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7826 for as_dir in $PATH
7828 IFS=$as_save_IFS
7829 test -z "$as_dir" && as_dir=.
7830 for ac_exec_ext in '' $ac_executable_extensions; do
7831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7832 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7834 break 2
7836 done
7837 done
7838 IFS=$as_save_IFS
7842 DLLWRAP=$ac_cv_prog_DLLWRAP
7843 if test -n "$DLLWRAP"; then
7844 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7845 echo "${ECHO_T}$DLLWRAP" >&6; }
7846 else
7847 { echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6; }
7853 if test -z "$ac_cv_prog_DLLWRAP"; then
7854 ac_ct_DLLWRAP=$DLLWRAP
7855 # Extract the first word of "dllwrap", so it can be a program name with args.
7856 set dummy dllwrap; ac_word=$2
7857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7859 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7860 echo $ECHO_N "(cached) $ECHO_C" >&6
7861 else
7862 if test -n "$ac_ct_DLLWRAP"; then
7863 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7864 else
7865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7866 for as_dir in $PATH
7868 IFS=$as_save_IFS
7869 test -z "$as_dir" && as_dir=.
7870 for ac_exec_ext in '' $ac_executable_extensions; do
7871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7872 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7874 break 2
7876 done
7877 done
7878 IFS=$as_save_IFS
7882 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7883 if test -n "$ac_ct_DLLWRAP"; then
7884 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7885 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7886 else
7887 { echo "$as_me:$LINENO: result: no" >&5
7888 echo "${ECHO_T}no" >&6; }
7891 if test "x$ac_ct_DLLWRAP" = x; then
7892 DLLWRAP="false"
7893 else
7894 case $cross_compiling:$ac_tool_warned in
7895 yes:)
7896 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7897 whose name does not start with the host triplet. If you think this
7898 configuration is useful to you, please write to autoconf@gnu.org." >&5
7899 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7900 whose name does not start with the host triplet. If you think this
7901 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7902 ac_tool_warned=yes ;;
7903 esac
7904 DLLWRAP=$ac_ct_DLLWRAP
7906 else
7907 DLLWRAP="$ac_cv_prog_DLLWRAP"
7910 if test -n "$ac_tool_prefix"; then
7911 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7912 set dummy ${ac_tool_prefix}ar; ac_word=$2
7913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7915 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7916 echo $ECHO_N "(cached) $ECHO_C" >&6
7917 else
7918 if test -n "$MINGWAR"; then
7919 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7920 else
7921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7922 for as_dir in $PATH
7924 IFS=$as_save_IFS
7925 test -z "$as_dir" && as_dir=.
7926 for ac_exec_ext in '' $ac_executable_extensions; do
7927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7928 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
7929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 break 2
7932 done
7933 done
7934 IFS=$as_save_IFS
7938 MINGWAR=$ac_cv_prog_MINGWAR
7939 if test -n "$MINGWAR"; then
7940 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
7941 echo "${ECHO_T}$MINGWAR" >&6; }
7942 else
7943 { echo "$as_me:$LINENO: result: no" >&5
7944 echo "${ECHO_T}no" >&6; }
7949 if test -z "$ac_cv_prog_MINGWAR"; then
7950 ac_ct_MINGWAR=$MINGWAR
7951 # Extract the first word of "ar", so it can be a program name with args.
7952 set dummy ar; ac_word=$2
7953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7955 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
7956 echo $ECHO_N "(cached) $ECHO_C" >&6
7957 else
7958 if test -n "$ac_ct_MINGWAR"; then
7959 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
7960 else
7961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7962 for as_dir in $PATH
7964 IFS=$as_save_IFS
7965 test -z "$as_dir" && as_dir=.
7966 for ac_exec_ext in '' $ac_executable_extensions; do
7967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7968 ac_cv_prog_ac_ct_MINGWAR="ar"
7969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7970 break 2
7972 done
7973 done
7974 IFS=$as_save_IFS
7978 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
7979 if test -n "$ac_ct_MINGWAR"; then
7980 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
7981 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
7982 else
7983 { echo "$as_me:$LINENO: result: no" >&5
7984 echo "${ECHO_T}no" >&6; }
7987 if test "x$ac_ct_MINGWAR" = x; then
7988 MINGWAR="false"
7989 else
7990 case $cross_compiling:$ac_tool_warned in
7991 yes:)
7992 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7993 whose name does not start with the host triplet. If you think this
7994 configuration is useful to you, please write to autoconf@gnu.org." >&5
7995 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7996 whose name does not start with the host triplet. If you think this
7997 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7998 ac_tool_warned=yes ;;
7999 esac
8000 MINGWAR=$ac_ct_MINGWAR
8002 else
8003 MINGWAR="$ac_cv_prog_MINGWAR"
8006 if test "$DLLWRAP" = "false"; then
8007 LIBEXT="a"
8008 else
8009 LIBEXT="dll"
8011 IMPLIBEXT="a"
8012 WIN16_FILES=""
8013 WIN16_INSTALL=""
8015 darwin*|macosx*)
8016 DLLEXT=".so"
8017 LIBEXT="dylib"
8018 DLLFLAGS="$DLLFLAGS -fPIC"
8019 LDDLLFLAGS="-bundle -multiply_defined suppress"
8020 LIBWINE_LDFLAGS="-multiply_defined suppress"
8021 LDSHARED="\$(CC) -dynamiclib"
8022 STRIP="$STRIP -x"
8023 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8024 COREFOUNDATIONLIB="-framework CoreFoundation"
8026 IOKITLIB="-framework IOKit -framework CoreFoundation"
8028 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8030 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8031 then
8032 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8035 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8036 then
8037 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8040 case $host_cpu in
8041 *powerpc*)
8042 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8043 esac
8044 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8045 then
8046 CARBONLIB="-framework Carbon"
8048 QUARTZFILES='$(QUARTZFILES)'
8052 DLLFLAGS="$DLLFLAGS -fPIC"
8053 DLLEXT=".so"
8054 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8055 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8056 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8057 echo $ECHO_N "(cached) $ECHO_C" >&6
8058 else
8059 ac_wine_try_cflags_saved=$CFLAGS
8060 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8061 cat >conftest.$ac_ext <<_ACEOF
8062 void myfunc() {}
8063 _ACEOF
8064 rm -f conftest.$ac_objext conftest$ac_exeext
8065 if { (ac_try="$ac_link"
8066 case "(($ac_try" in
8067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8068 *) ac_try_echo=$ac_try;;
8069 esac
8070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8071 (eval "$ac_link") 2>conftest.er1
8072 ac_status=$?
8073 grep -v '^ *+' conftest.er1 >conftest.err
8074 rm -f conftest.er1
8075 cat conftest.err >&5
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); } && {
8078 test -z "$ac_c_werror_flag" ||
8079 test ! -s conftest.err
8080 } && test -s conftest$ac_exeext &&
8081 $as_test_x conftest$ac_exeext; then
8082 ac_cv_c_dll_gnuelf="yes"
8083 else
8084 echo "$as_me: failed program was:" >&5
8085 sed 's/^/| /' conftest.$ac_ext >&5
8087 ac_cv_c_dll_gnuelf="no"
8090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8091 conftest$ac_exeext conftest.$ac_ext
8092 CFLAGS=$ac_wine_try_cflags_saved
8094 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8095 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8096 if test "$ac_cv_c_dll_gnuelf" = "yes"
8097 then
8098 LDSHARED="\$(CC) -shared"
8099 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8100 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8101 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8102 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8103 echo $ECHO_N "(cached) $ECHO_C" >&6
8104 else
8105 ac_wine_try_cflags_saved=$CFLAGS
8106 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8107 cat >conftest.$ac_ext <<_ACEOF
8108 /* confdefs.h. */
8109 _ACEOF
8110 cat confdefs.h >>conftest.$ac_ext
8111 cat >>conftest.$ac_ext <<_ACEOF
8112 /* end confdefs.h. */
8115 main ()
8119 return 0;
8121 _ACEOF
8122 rm -f conftest.$ac_objext conftest$ac_exeext
8123 if { (ac_try="$ac_link"
8124 case "(($ac_try" in
8125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8126 *) ac_try_echo=$ac_try;;
8127 esac
8128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8129 (eval "$ac_link") 2>conftest.er1
8130 ac_status=$?
8131 grep -v '^ *+' conftest.er1 >conftest.err
8132 rm -f conftest.er1
8133 cat conftest.err >&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); } && {
8136 test -z "$ac_c_werror_flag" ||
8137 test ! -s conftest.err
8138 } && test -s conftest$ac_exeext &&
8139 $as_test_x conftest$ac_exeext; then
8140 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8141 else
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.$ac_ext >&5
8145 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8149 conftest$ac_exeext conftest.$ac_ext
8150 CFLAGS=$ac_wine_try_cflags_saved
8152 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8153 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8154 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8155 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8156 else
8157 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8158 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8159 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8160 echo $ECHO_N "(cached) $ECHO_C" >&6
8161 else
8162 ac_wine_try_cflags_saved=$CFLAGS
8163 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8164 cat >conftest.$ac_ext <<_ACEOF
8165 /* confdefs.h. */
8166 _ACEOF
8167 cat confdefs.h >>conftest.$ac_ext
8168 cat >>conftest.$ac_ext <<_ACEOF
8169 /* end confdefs.h. */
8172 main ()
8176 return 0;
8178 _ACEOF
8179 rm -f conftest.$ac_objext conftest$ac_exeext
8180 if { (ac_try="$ac_link"
8181 case "(($ac_try" in
8182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8183 *) ac_try_echo=$ac_try;;
8184 esac
8185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8186 (eval "$ac_link") 2>conftest.er1
8187 ac_status=$?
8188 grep -v '^ *+' conftest.er1 >conftest.err
8189 rm -f conftest.er1
8190 cat conftest.err >&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); } && {
8193 test -z "$ac_c_werror_flag" ||
8194 test ! -s conftest.err
8195 } && test -s conftest$ac_exeext &&
8196 $as_test_x conftest$ac_exeext; then
8197 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8198 else
8199 echo "$as_me: failed program was:" >&5
8200 sed 's/^/| /' conftest.$ac_ext >&5
8202 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8206 conftest$ac_exeext conftest.$ac_ext
8207 CFLAGS=$ac_wine_try_cflags_saved
8209 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8210 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8211 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8212 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8218 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8219 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8220 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8221 echo $ECHO_N "(cached) $ECHO_C" >&6
8222 else
8223 ac_wine_try_cflags_saved=$CFLAGS
8224 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8225 cat >conftest.$ac_ext <<_ACEOF
8226 /* confdefs.h. */
8227 _ACEOF
8228 cat confdefs.h >>conftest.$ac_ext
8229 cat >>conftest.$ac_ext <<_ACEOF
8230 /* end confdefs.h. */
8233 main ()
8237 return 0;
8239 _ACEOF
8240 rm -f conftest.$ac_objext conftest$ac_exeext
8241 if { (ac_try="$ac_link"
8242 case "(($ac_try" in
8243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8244 *) ac_try_echo=$ac_try;;
8245 esac
8246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8247 (eval "$ac_link") 2>conftest.er1
8248 ac_status=$?
8249 grep -v '^ *+' conftest.er1 >conftest.err
8250 rm -f conftest.er1
8251 cat conftest.err >&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); } && {
8254 test -z "$ac_c_werror_flag" ||
8255 test ! -s conftest.err
8256 } && test -s conftest$ac_exeext &&
8257 $as_test_x conftest$ac_exeext; then
8258 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8259 else
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.$ac_ext >&5
8263 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8267 conftest$ac_exeext conftest.$ac_ext
8268 CFLAGS=$ac_wine_try_cflags_saved
8270 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8271 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8272 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8273 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8277 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8278 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8279 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8280 echo $ECHO_N "(cached) $ECHO_C" >&6
8281 else
8282 ac_wine_try_cflags_saved=$CFLAGS
8283 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8284 cat >conftest.$ac_ext <<_ACEOF
8285 /* confdefs.h. */
8286 _ACEOF
8287 cat confdefs.h >>conftest.$ac_ext
8288 cat >>conftest.$ac_ext <<_ACEOF
8289 /* end confdefs.h. */
8292 main ()
8296 return 0;
8298 _ACEOF
8299 rm -f conftest.$ac_objext conftest$ac_exeext
8300 if { (ac_try="$ac_link"
8301 case "(($ac_try" in
8302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8303 *) ac_try_echo=$ac_try;;
8304 esac
8305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8306 (eval "$ac_link") 2>conftest.er1
8307 ac_status=$?
8308 grep -v '^ *+' conftest.er1 >conftest.err
8309 rm -f conftest.er1
8310 cat conftest.err >&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); } && {
8313 test -z "$ac_c_werror_flag" ||
8314 test ! -s conftest.err
8315 } && test -s conftest$ac_exeext &&
8316 $as_test_x conftest$ac_exeext; then
8317 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8318 else
8319 echo "$as_me: failed program was:" >&5
8320 sed 's/^/| /' conftest.$ac_ext >&5
8322 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8326 conftest$ac_exeext conftest.$ac_ext
8327 CFLAGS=$ac_wine_try_cflags_saved
8329 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8330 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8331 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8332 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8336 echo '{ global: *; };' >conftest.map
8337 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8338 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8339 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8341 else
8342 ac_wine_try_cflags_saved=$CFLAGS
8343 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8344 cat >conftest.$ac_ext <<_ACEOF
8345 /* confdefs.h. */
8346 _ACEOF
8347 cat confdefs.h >>conftest.$ac_ext
8348 cat >>conftest.$ac_ext <<_ACEOF
8349 /* end confdefs.h. */
8352 main ()
8356 return 0;
8358 _ACEOF
8359 rm -f conftest.$ac_objext conftest$ac_exeext
8360 if { (ac_try="$ac_link"
8361 case "(($ac_try" in
8362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8363 *) ac_try_echo=$ac_try;;
8364 esac
8365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8366 (eval "$ac_link") 2>conftest.er1
8367 ac_status=$?
8368 grep -v '^ *+' conftest.er1 >conftest.err
8369 rm -f conftest.er1
8370 cat conftest.err >&5
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); } && {
8373 test -z "$ac_c_werror_flag" ||
8374 test ! -s conftest.err
8375 } && test -s conftest$ac_exeext &&
8376 $as_test_x conftest$ac_exeext; then
8377 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8378 else
8379 echo "$as_me: failed program was:" >&5
8380 sed 's/^/| /' conftest.$ac_ext >&5
8382 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8386 conftest$ac_exeext conftest.$ac_ext
8387 CFLAGS=$ac_wine_try_cflags_saved
8389 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8390 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8391 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8392 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8395 rm -f conftest.map
8397 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8398 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8399 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8400 echo $ECHO_N "(cached) $ECHO_C" >&6
8401 else
8402 ac_wine_try_cflags_saved=$CFLAGS
8403 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8404 cat >conftest.$ac_ext <<_ACEOF
8405 /* confdefs.h. */
8406 _ACEOF
8407 cat confdefs.h >>conftest.$ac_ext
8408 cat >>conftest.$ac_ext <<_ACEOF
8409 /* end confdefs.h. */
8412 main ()
8416 return 0;
8418 _ACEOF
8419 rm -f conftest.$ac_objext conftest$ac_exeext
8420 if { (ac_try="$ac_link"
8421 case "(($ac_try" in
8422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8423 *) ac_try_echo=$ac_try;;
8424 esac
8425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8426 (eval "$ac_link") 2>conftest.er1
8427 ac_status=$?
8428 grep -v '^ *+' conftest.er1 >conftest.err
8429 rm -f conftest.er1
8430 cat conftest.err >&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); } && {
8433 test -z "$ac_c_werror_flag" ||
8434 test ! -s conftest.err
8435 } && test -s conftest$ac_exeext &&
8436 $as_test_x conftest$ac_exeext; then
8437 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8438 else
8439 echo "$as_me: failed program was:" >&5
8440 sed 's/^/| /' conftest.$ac_ext >&5
8442 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8446 conftest$ac_exeext conftest.$ac_ext
8447 CFLAGS=$ac_wine_try_cflags_saved
8449 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8450 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8451 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8452 LDEXECFLAGS="-Wl,--export-dynamic"
8457 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8458 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8459 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8460 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8461 echo $ECHO_N "(cached) $ECHO_C" >&6
8462 else
8463 ac_wine_try_cflags_saved=$CFLAGS
8464 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8465 cat >conftest.$ac_ext <<_ACEOF
8466 /* confdefs.h. */
8467 _ACEOF
8468 cat confdefs.h >>conftest.$ac_ext
8469 cat >>conftest.$ac_ext <<_ACEOF
8470 /* end confdefs.h. */
8473 main ()
8477 return 0;
8479 _ACEOF
8480 rm -f conftest.$ac_objext conftest$ac_exeext
8481 if { (ac_try="$ac_link"
8482 case "(($ac_try" in
8483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8484 *) ac_try_echo=$ac_try;;
8485 esac
8486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8487 (eval "$ac_link") 2>conftest.er1
8488 ac_status=$?
8489 grep -v '^ *+' conftest.er1 >conftest.err
8490 rm -f conftest.er1
8491 cat conftest.err >&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); } && {
8494 test -z "$ac_c_werror_flag" ||
8495 test ! -s conftest.err
8496 } && test -s conftest$ac_exeext &&
8497 $as_test_x conftest$ac_exeext; then
8498 eval "$as_ac_var=yes"
8499 else
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.$ac_ext >&5
8503 eval "$as_ac_var=no"
8506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8507 conftest$ac_exeext conftest.$ac_ext
8508 CFLAGS=$ac_wine_try_cflags_saved
8510 ac_res=`eval echo '${'$as_ac_var'}'`
8511 { echo "$as_me:$LINENO: result: $ac_res" >&5
8512 echo "${ECHO_T}$ac_res" >&6; }
8513 if test `eval echo '${'$as_ac_var'}'` = yes; then
8514 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8515 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8516 else
8517 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8518 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8519 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8520 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8521 echo $ECHO_N "(cached) $ECHO_C" >&6
8522 else
8523 ac_wine_try_cflags_saved=$CFLAGS
8524 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8525 cat >conftest.$ac_ext <<_ACEOF
8526 /* confdefs.h. */
8527 _ACEOF
8528 cat confdefs.h >>conftest.$ac_ext
8529 cat >>conftest.$ac_ext <<_ACEOF
8530 /* end confdefs.h. */
8533 main ()
8537 return 0;
8539 _ACEOF
8540 rm -f conftest.$ac_objext conftest$ac_exeext
8541 if { (ac_try="$ac_link"
8542 case "(($ac_try" in
8543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8544 *) ac_try_echo=$ac_try;;
8545 esac
8546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8547 (eval "$ac_link") 2>conftest.er1
8548 ac_status=$?
8549 grep -v '^ *+' conftest.er1 >conftest.err
8550 rm -f conftest.er1
8551 cat conftest.err >&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); } && {
8554 test -z "$ac_c_werror_flag" ||
8555 test ! -s conftest.err
8556 } && test -s conftest$ac_exeext &&
8557 $as_test_x conftest$ac_exeext; then
8558 eval "$as_ac_var=yes"
8559 else
8560 echo "$as_me: failed program was:" >&5
8561 sed 's/^/| /' conftest.$ac_ext >&5
8563 eval "$as_ac_var=no"
8566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8567 conftest$ac_exeext conftest.$ac_ext
8568 CFLAGS=$ac_wine_try_cflags_saved
8570 ac_res=`eval echo '${'$as_ac_var'}'`
8571 { echo "$as_me:$LINENO: result: $ac_res" >&5
8572 echo "${ECHO_T}$ac_res" >&6; }
8573 if test `eval echo '${'$as_ac_var'}'` = yes; then
8574 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8575 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8581 case $host_cpu in
8582 *i[3456789]86* | x86_64)
8583 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8584 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8585 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8586 echo $ECHO_N "(cached) $ECHO_C" >&6
8587 else
8588 ac_wine_try_cflags_saved=$CFLAGS
8589 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8590 cat >conftest.$ac_ext <<_ACEOF
8591 /* confdefs.h. */
8592 _ACEOF
8593 cat confdefs.h >>conftest.$ac_ext
8594 cat >>conftest.$ac_ext <<_ACEOF
8595 /* end confdefs.h. */
8598 main ()
8602 return 0;
8604 _ACEOF
8605 rm -f conftest.$ac_objext conftest$ac_exeext
8606 if { (ac_try="$ac_link"
8607 case "(($ac_try" in
8608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8609 *) ac_try_echo=$ac_try;;
8610 esac
8611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8612 (eval "$ac_link") 2>conftest.er1
8613 ac_status=$?
8614 grep -v '^ *+' conftest.er1 >conftest.err
8615 rm -f conftest.er1
8616 cat conftest.err >&5
8617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 (exit $ac_status); } && {
8619 test -z "$ac_c_werror_flag" ||
8620 test ! -s conftest.err
8621 } && test -s conftest$ac_exeext &&
8622 $as_test_x conftest$ac_exeext; then
8623 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8624 else
8625 echo "$as_me: failed program was:" >&5
8626 sed 's/^/| /' conftest.$ac_ext >&5
8628 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8632 conftest$ac_exeext conftest.$ac_ext
8633 CFLAGS=$ac_wine_try_cflags_saved
8635 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8636 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8637 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8638 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8642 esac
8644 else
8645 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8646 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8647 if test "${ac_cv_c_dll_unixware+set}" = set; then
8648 echo $ECHO_N "(cached) $ECHO_C" >&6
8649 else
8650 ac_wine_try_cflags_saved=$CFLAGS
8651 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8652 cat >conftest.$ac_ext <<_ACEOF
8653 void myfunc() {}
8654 _ACEOF
8655 rm -f conftest.$ac_objext conftest$ac_exeext
8656 if { (ac_try="$ac_link"
8657 case "(($ac_try" in
8658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8659 *) ac_try_echo=$ac_try;;
8660 esac
8661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8662 (eval "$ac_link") 2>conftest.er1
8663 ac_status=$?
8664 grep -v '^ *+' conftest.er1 >conftest.err
8665 rm -f conftest.er1
8666 cat conftest.err >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } && {
8669 test -z "$ac_c_werror_flag" ||
8670 test ! -s conftest.err
8671 } && test -s conftest$ac_exeext &&
8672 $as_test_x conftest$ac_exeext; then
8673 ac_cv_c_dll_unixware="yes"
8674 else
8675 echo "$as_me: failed program was:" >&5
8676 sed 's/^/| /' conftest.$ac_ext >&5
8678 ac_cv_c_dll_unixware="no"
8681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8682 conftest$ac_exeext conftest.$ac_ext
8683 CFLAGS=$ac_wine_try_cflags_saved
8685 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8686 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8687 if test "$ac_cv_c_dll_unixware" = "yes"
8688 then
8689 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8690 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8692 else
8693 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8694 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8695 if test "${ac_cv_c_dll_hpux+set}" = set; then
8696 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 else
8698 ac_wine_try_cflags_saved=$CFLAGS
8699 CFLAGS="$CFLAGS -shared"
8700 cat >conftest.$ac_ext <<_ACEOF
8701 void myfunc() {}
8702 _ACEOF
8703 rm -f conftest.$ac_objext conftest$ac_exeext
8704 if { (ac_try="$ac_link"
8705 case "(($ac_try" in
8706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8707 *) ac_try_echo=$ac_try;;
8708 esac
8709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8710 (eval "$ac_link") 2>conftest.er1
8711 ac_status=$?
8712 grep -v '^ *+' conftest.er1 >conftest.err
8713 rm -f conftest.er1
8714 cat conftest.err >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); } && {
8717 test -z "$ac_c_werror_flag" ||
8718 test ! -s conftest.err
8719 } && test -s conftest$ac_exeext &&
8720 $as_test_x conftest$ac_exeext; then
8721 ac_cv_c_dll_hpux="yes"
8722 else
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.$ac_ext >&5
8726 ac_cv_c_dll_hpux="no"
8729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8730 conftest$ac_exeext conftest.$ac_ext
8731 CFLAGS=$ac_wine_try_cflags_saved
8733 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8734 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8735 if test "$ac_cv_c_dll_hpux" = "yes"
8736 then
8737 LIBEXT="sl"
8738 DLLEXT=".sl"
8739 LDDLLFLAGS="-shared -fPIC"
8740 LDSHARED="\$(CC) -shared"
8745 CROSSTEST=""
8747 if test "$cross_compiling" = "no"
8748 then
8749 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8751 # Extract the first word of "$ac_prog", so it can be a program name with args.
8752 set dummy $ac_prog; ac_word=$2
8753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8755 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6
8757 else
8758 if test -n "$CROSSCC"; then
8759 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8760 else
8761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8762 for as_dir in $PATH
8764 IFS=$as_save_IFS
8765 test -z "$as_dir" && as_dir=.
8766 for ac_exec_ext in '' $ac_executable_extensions; do
8767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8768 ac_cv_prog_CROSSCC="$ac_prog"
8769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8770 break 2
8772 done
8773 done
8774 IFS=$as_save_IFS
8778 CROSSCC=$ac_cv_prog_CROSSCC
8779 if test -n "$CROSSCC"; then
8780 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8781 echo "${ECHO_T}$CROSSCC" >&6; }
8782 else
8783 { echo "$as_me:$LINENO: result: no" >&5
8784 echo "${ECHO_T}no" >&6; }
8788 test -n "$CROSSCC" && break
8789 done
8790 test -n "$CROSSCC" || CROSSCC="false"
8792 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8794 # Extract the first word of "$ac_prog", so it can be a program name with args.
8795 set dummy $ac_prog; ac_word=$2
8796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8798 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6
8800 else
8801 if test -n "$DLLTOOL"; then
8802 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8803 else
8804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8805 for as_dir in $PATH
8807 IFS=$as_save_IFS
8808 test -z "$as_dir" && as_dir=.
8809 for ac_exec_ext in '' $ac_executable_extensions; do
8810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8811 ac_cv_prog_DLLTOOL="$ac_prog"
8812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8813 break 2
8815 done
8816 done
8817 IFS=$as_save_IFS
8821 DLLTOOL=$ac_cv_prog_DLLTOOL
8822 if test -n "$DLLTOOL"; then
8823 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8824 echo "${ECHO_T}$DLLTOOL" >&6; }
8825 else
8826 { echo "$as_me:$LINENO: result: no" >&5
8827 echo "${ECHO_T}no" >&6; }
8831 test -n "$DLLTOOL" && break
8832 done
8833 test -n "$DLLTOOL" || DLLTOOL="false"
8835 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8837 # Extract the first word of "$ac_prog", so it can be a program name with args.
8838 set dummy $ac_prog; ac_word=$2
8839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8841 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8842 echo $ECHO_N "(cached) $ECHO_C" >&6
8843 else
8844 if test -n "$CROSSWINDRES"; then
8845 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8846 else
8847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8848 for as_dir in $PATH
8850 IFS=$as_save_IFS
8851 test -z "$as_dir" && as_dir=.
8852 for ac_exec_ext in '' $ac_executable_extensions; do
8853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8854 ac_cv_prog_CROSSWINDRES="$ac_prog"
8855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8856 break 2
8858 done
8859 done
8860 IFS=$as_save_IFS
8864 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8865 if test -n "$CROSSWINDRES"; then
8866 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8867 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8868 else
8869 { echo "$as_me:$LINENO: result: no" >&5
8870 echo "${ECHO_T}no" >&6; }
8874 test -n "$CROSSWINDRES" && break
8875 done
8876 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
8878 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
8880 # Extract the first word of "$ac_prog", so it can be a program name with args.
8881 set dummy $ac_prog; ac_word=$2
8882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8884 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8885 echo $ECHO_N "(cached) $ECHO_C" >&6
8886 else
8887 if test -n "$MINGWAR"; then
8888 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8889 else
8890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8891 for as_dir in $PATH
8893 IFS=$as_save_IFS
8894 test -z "$as_dir" && as_dir=.
8895 for ac_exec_ext in '' $ac_executable_extensions; do
8896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8897 ac_cv_prog_MINGWAR="$ac_prog"
8898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8899 break 2
8901 done
8902 done
8903 IFS=$as_save_IFS
8907 MINGWAR=$ac_cv_prog_MINGWAR
8908 if test -n "$MINGWAR"; then
8909 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8910 echo "${ECHO_T}$MINGWAR" >&6; }
8911 else
8912 { echo "$as_me:$LINENO: result: no" >&5
8913 echo "${ECHO_T}no" >&6; }
8917 test -n "$MINGWAR" && break
8918 done
8919 test -n "$MINGWAR" || MINGWAR="false"
8921 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
8924 esac
8926 if test "$LIBEXT" = "a"; then
8927 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
8928 It is currently not possible to build Wine without shared library
8929 (.so) support to allow transparent switch between .so and .dll files.
8930 If you are using Linux, you will need a newer binutils.
8931 " >&5
8932 echo "$as_me: error: could not find a way to build shared libraries.
8933 It is currently not possible to build Wine without shared library
8934 (.so) support to allow transparent switch between .so and .dll files.
8935 If you are using Linux, you will need a newer binutils.
8936 " >&2;}
8937 { (exit 1); exit 1; }; }
8941 if test "$have_x" = "yes"
8942 then
8943 XLIB="-lXext -lX11"
8944 ac_save_CPPFLAGS="$CPPFLAGS"
8945 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8958 for ac_header in X11/Xlib.h \
8959 X11/XKBlib.h \
8960 X11/Xutil.h \
8961 X11/Xcursor/Xcursor.h \
8962 X11/extensions/shape.h \
8963 X11/extensions/XInput.h \
8964 X11/extensions/XShm.h \
8965 X11/extensions/Xinerama.h \
8966 X11/extensions/Xrandr.h \
8967 X11/extensions/Xrender.h \
8968 X11/extensions/xf86vmode.h
8970 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8971 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8973 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8974 echo $ECHO_N "(cached) $ECHO_C" >&6
8975 else
8976 cat >conftest.$ac_ext <<_ACEOF
8977 /* confdefs.h. */
8978 _ACEOF
8979 cat confdefs.h >>conftest.$ac_ext
8980 cat >>conftest.$ac_ext <<_ACEOF
8981 /* end confdefs.h. */
8982 #ifdef HAVE_X11_XLIB_H
8983 # include <X11/Xlib.h>
8984 #endif
8985 #ifdef HAVE_X11_XUTIL_H
8986 # include <X11/Xutil.h>
8987 #endif
8989 #include <$ac_header>
8990 _ACEOF
8991 rm -f conftest.$ac_objext
8992 if { (ac_try="$ac_compile"
8993 case "(($ac_try" in
8994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8995 *) ac_try_echo=$ac_try;;
8996 esac
8997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8998 (eval "$ac_compile") 2>conftest.er1
8999 ac_status=$?
9000 grep -v '^ *+' conftest.er1 >conftest.err
9001 rm -f conftest.er1
9002 cat conftest.err >&5
9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004 (exit $ac_status); } && {
9005 test -z "$ac_c_werror_flag" ||
9006 test ! -s conftest.err
9007 } && test -s conftest.$ac_objext; then
9008 eval "$as_ac_Header=yes"
9009 else
9010 echo "$as_me: failed program was:" >&5
9011 sed 's/^/| /' conftest.$ac_ext >&5
9013 eval "$as_ac_Header=no"
9016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9018 ac_res=`eval echo '${'$as_ac_Header'}'`
9019 { echo "$as_me:$LINENO: result: $ac_res" >&5
9020 echo "${ECHO_T}$ac_res" >&6; }
9021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9022 cat >>confdefs.h <<_ACEOF
9023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9024 _ACEOF
9028 done
9031 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9032 then
9033 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9034 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9035 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9036 echo $ECHO_N "(cached) $ECHO_C" >&6
9037 else
9038 ac_check_lib_save_LIBS=$LIBS
9039 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9040 cat >conftest.$ac_ext <<_ACEOF
9041 /* confdefs.h. */
9042 _ACEOF
9043 cat confdefs.h >>conftest.$ac_ext
9044 cat >>conftest.$ac_ext <<_ACEOF
9045 /* end confdefs.h. */
9047 /* Override any GCC internal prototype to avoid an error.
9048 Use char because int might match the return type of a GCC
9049 builtin and then its argument prototype would still apply. */
9050 #ifdef __cplusplus
9051 extern "C"
9052 #endif
9053 char XkbQueryExtension ();
9055 main ()
9057 return XkbQueryExtension ();
9059 return 0;
9061 _ACEOF
9062 rm -f conftest.$ac_objext conftest$ac_exeext
9063 if { (ac_try="$ac_link"
9064 case "(($ac_try" in
9065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9066 *) ac_try_echo=$ac_try;;
9067 esac
9068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9069 (eval "$ac_link") 2>conftest.er1
9070 ac_status=$?
9071 grep -v '^ *+' conftest.er1 >conftest.err
9072 rm -f conftest.er1
9073 cat conftest.err >&5
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); } && {
9076 test -z "$ac_c_werror_flag" ||
9077 test ! -s conftest.err
9078 } && test -s conftest$ac_exeext &&
9079 $as_test_x conftest$ac_exeext; then
9080 ac_cv_lib_X11_XkbQueryExtension=yes
9081 else
9082 echo "$as_me: failed program was:" >&5
9083 sed 's/^/| /' conftest.$ac_ext >&5
9085 ac_cv_lib_X11_XkbQueryExtension=no
9088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9089 conftest$ac_exeext conftest.$ac_ext
9090 LIBS=$ac_check_lib_save_LIBS
9092 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9093 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9094 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9096 cat >>confdefs.h <<\_ACEOF
9097 #define HAVE_XKB 1
9098 _ACEOF
9104 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9105 then
9106 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9107 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9108 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9109 echo $ECHO_N "(cached) $ECHO_C" >&6
9110 else
9111 ac_check_lib_save_LIBS=$LIBS
9112 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9113 cat >conftest.$ac_ext <<_ACEOF
9114 /* confdefs.h. */
9115 _ACEOF
9116 cat confdefs.h >>conftest.$ac_ext
9117 cat >>conftest.$ac_ext <<_ACEOF
9118 /* end confdefs.h. */
9120 /* Override any GCC internal prototype to avoid an error.
9121 Use char because int might match the return type of a GCC
9122 builtin and then its argument prototype would still apply. */
9123 #ifdef __cplusplus
9124 extern "C"
9125 #endif
9126 char XShmQueryExtension ();
9128 main ()
9130 return XShmQueryExtension ();
9132 return 0;
9134 _ACEOF
9135 rm -f conftest.$ac_objext conftest$ac_exeext
9136 if { (ac_try="$ac_link"
9137 case "(($ac_try" in
9138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9139 *) ac_try_echo=$ac_try;;
9140 esac
9141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9142 (eval "$ac_link") 2>conftest.er1
9143 ac_status=$?
9144 grep -v '^ *+' conftest.er1 >conftest.err
9145 rm -f conftest.er1
9146 cat conftest.err >&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); } && {
9149 test -z "$ac_c_werror_flag" ||
9150 test ! -s conftest.err
9151 } && test -s conftest$ac_exeext &&
9152 $as_test_x conftest$ac_exeext; then
9153 ac_cv_lib_Xext_XShmQueryExtension=yes
9154 else
9155 echo "$as_me: failed program was:" >&5
9156 sed 's/^/| /' conftest.$ac_ext >&5
9158 ac_cv_lib_Xext_XShmQueryExtension=no
9161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9162 conftest$ac_exeext conftest.$ac_ext
9163 LIBS=$ac_check_lib_save_LIBS
9165 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9166 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9167 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9169 cat >>confdefs.h <<\_ACEOF
9170 #define HAVE_LIBXXSHM 1
9171 _ACEOF
9177 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9178 then
9179 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9180 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9181 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9182 echo $ECHO_N "(cached) $ECHO_C" >&6
9183 else
9184 ac_check_lib_save_LIBS=$LIBS
9185 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9186 cat >conftest.$ac_ext <<_ACEOF
9187 /* confdefs.h. */
9188 _ACEOF
9189 cat confdefs.h >>conftest.$ac_ext
9190 cat >>conftest.$ac_ext <<_ACEOF
9191 /* end confdefs.h. */
9193 /* Override any GCC internal prototype to avoid an error.
9194 Use char because int might match the return type of a GCC
9195 builtin and then its argument prototype would still apply. */
9196 #ifdef __cplusplus
9197 extern "C"
9198 #endif
9199 char XShapeQueryExtension ();
9201 main ()
9203 return XShapeQueryExtension ();
9205 return 0;
9207 _ACEOF
9208 rm -f conftest.$ac_objext conftest$ac_exeext
9209 if { (ac_try="$ac_link"
9210 case "(($ac_try" in
9211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9212 *) ac_try_echo=$ac_try;;
9213 esac
9214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9215 (eval "$ac_link") 2>conftest.er1
9216 ac_status=$?
9217 grep -v '^ *+' conftest.er1 >conftest.err
9218 rm -f conftest.er1
9219 cat conftest.err >&5
9220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); } && {
9222 test -z "$ac_c_werror_flag" ||
9223 test ! -s conftest.err
9224 } && test -s conftest$ac_exeext &&
9225 $as_test_x conftest$ac_exeext; then
9226 ac_cv_lib_Xext_XShapeQueryExtension=yes
9227 else
9228 echo "$as_me: failed program was:" >&5
9229 sed 's/^/| /' conftest.$ac_ext >&5
9231 ac_cv_lib_Xext_XShapeQueryExtension=no
9234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9235 conftest$ac_exeext conftest.$ac_ext
9236 LIBS=$ac_check_lib_save_LIBS
9238 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9239 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9240 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9242 cat >>confdefs.h <<\_ACEOF
9243 #define HAVE_LIBXSHAPE 1
9244 _ACEOF
9250 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9251 then
9252 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9253 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9254 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9255 echo $ECHO_N "(cached) $ECHO_C" >&6
9256 else
9257 ac_check_lib_save_LIBS=$LIBS
9258 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9259 cat >conftest.$ac_ext <<_ACEOF
9260 /* confdefs.h. */
9261 _ACEOF
9262 cat confdefs.h >>conftest.$ac_ext
9263 cat >>conftest.$ac_ext <<_ACEOF
9264 /* end confdefs.h. */
9266 /* Override any GCC internal prototype to avoid an error.
9267 Use char because int might match the return type of a GCC
9268 builtin and then its argument prototype would still apply. */
9269 #ifdef __cplusplus
9270 extern "C"
9271 #endif
9272 char XF86VidModeQueryExtension ();
9274 main ()
9276 return XF86VidModeQueryExtension ();
9278 return 0;
9280 _ACEOF
9281 rm -f conftest.$ac_objext conftest$ac_exeext
9282 if { (ac_try="$ac_link"
9283 case "(($ac_try" in
9284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9285 *) ac_try_echo=$ac_try;;
9286 esac
9287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9288 (eval "$ac_link") 2>conftest.er1
9289 ac_status=$?
9290 grep -v '^ *+' conftest.er1 >conftest.err
9291 rm -f conftest.er1
9292 cat conftest.err >&5
9293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9294 (exit $ac_status); } && {
9295 test -z "$ac_c_werror_flag" ||
9296 test ! -s conftest.err
9297 } && test -s conftest$ac_exeext &&
9298 $as_test_x conftest$ac_exeext; then
9299 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9300 else
9301 echo "$as_me: failed program was:" >&5
9302 sed 's/^/| /' conftest.$ac_ext >&5
9304 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9308 conftest$ac_exeext conftest.$ac_ext
9309 LIBS=$ac_check_lib_save_LIBS
9311 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9312 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9313 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9315 cat >>confdefs.h <<\_ACEOF
9316 #define HAVE_LIBXXF86VM 1
9317 _ACEOF
9319 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9325 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9326 then
9327 cat >conftest.$ac_ext <<_ACEOF
9328 /* confdefs.h. */
9329 _ACEOF
9330 cat confdefs.h >>conftest.$ac_ext
9331 cat >>conftest.$ac_ext <<_ACEOF
9332 /* end confdefs.h. */
9333 #include <X11/Xlib.h>
9334 #include <X11/extensions/Xrandr.h>
9336 main ()
9338 static typeof(XRRSetScreenConfigAndRate) * func;
9340 return 0;
9342 _ACEOF
9343 rm -f conftest.$ac_objext
9344 if { (ac_try="$ac_compile"
9345 case "(($ac_try" in
9346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9347 *) ac_try_echo=$ac_try;;
9348 esac
9349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9350 (eval "$ac_compile") 2>conftest.er1
9351 ac_status=$?
9352 grep -v '^ *+' conftest.er1 >conftest.err
9353 rm -f conftest.er1
9354 cat conftest.err >&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); } && {
9357 test -z "$ac_c_werror_flag" ||
9358 test ! -s conftest.err
9359 } && test -s conftest.$ac_objext; then
9361 cat >>confdefs.h <<\_ACEOF
9362 #define HAVE_LIBXRANDR 1
9363 _ACEOF
9365 else
9366 echo "$as_me: failed program was:" >&5
9367 sed 's/^/| /' conftest.$ac_ext >&5
9372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9375 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9376 then
9377 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9378 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9379 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9380 echo $ECHO_N "(cached) $ECHO_C" >&6
9381 else
9382 ac_check_lib_save_LIBS=$LIBS
9383 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9384 cat >conftest.$ac_ext <<_ACEOF
9385 /* confdefs.h. */
9386 _ACEOF
9387 cat confdefs.h >>conftest.$ac_ext
9388 cat >>conftest.$ac_ext <<_ACEOF
9389 /* end confdefs.h. */
9391 /* Override any GCC internal prototype to avoid an error.
9392 Use char because int might match the return type of a GCC
9393 builtin and then its argument prototype would still apply. */
9394 #ifdef __cplusplus
9395 extern "C"
9396 #endif
9397 char XRenderSetPictureTransform ();
9399 main ()
9401 return XRenderSetPictureTransform ();
9403 return 0;
9405 _ACEOF
9406 rm -f conftest.$ac_objext conftest$ac_exeext
9407 if { (ac_try="$ac_link"
9408 case "(($ac_try" in
9409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9410 *) ac_try_echo=$ac_try;;
9411 esac
9412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9413 (eval "$ac_link") 2>conftest.er1
9414 ac_status=$?
9415 grep -v '^ *+' conftest.er1 >conftest.err
9416 rm -f conftest.er1
9417 cat conftest.err >&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); } && {
9420 test -z "$ac_c_werror_flag" ||
9421 test ! -s conftest.err
9422 } && test -s conftest$ac_exeext &&
9423 $as_test_x conftest$ac_exeext; then
9424 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9425 else
9426 echo "$as_me: failed program was:" >&5
9427 sed 's/^/| /' conftest.$ac_ext >&5
9429 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9433 conftest$ac_exeext conftest.$ac_ext
9434 LIBS=$ac_check_lib_save_LIBS
9436 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9437 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9438 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9440 cat >>confdefs.h <<\_ACEOF
9441 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9442 _ACEOF
9448 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9449 then
9450 cat >conftest.$ac_ext <<_ACEOF
9451 /* confdefs.h. */
9452 _ACEOF
9453 cat confdefs.h >>conftest.$ac_ext
9454 cat >>conftest.$ac_ext <<_ACEOF
9455 /* end confdefs.h. */
9456 #include <X11/Xlib.h>
9457 #include <X11/extensions/Xinerama.h>
9459 main ()
9461 static typeof(XineramaQueryScreens) * func;
9463 return 0;
9465 _ACEOF
9466 rm -f conftest.$ac_objext
9467 if { (ac_try="$ac_compile"
9468 case "(($ac_try" in
9469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9470 *) ac_try_echo=$ac_try;;
9471 esac
9472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9473 (eval "$ac_compile") 2>conftest.er1
9474 ac_status=$?
9475 grep -v '^ *+' conftest.er1 >conftest.err
9476 rm -f conftest.er1
9477 cat conftest.err >&5
9478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9479 (exit $ac_status); } && {
9480 test -z "$ac_c_werror_flag" ||
9481 test ! -s conftest.err
9482 } && test -s conftest.$ac_objext; then
9484 cat >>confdefs.h <<\_ACEOF
9485 #define HAVE_LIBXINERAMA 1
9486 _ACEOF
9488 else
9489 echo "$as_me: failed program was:" >&5
9490 sed 's/^/| /' conftest.$ac_ext >&5
9495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9499 if test "x$with_opengl" != "xno"
9500 then
9505 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9512 else
9513 cat >conftest.$ac_ext <<_ACEOF
9514 /* confdefs.h. */
9515 _ACEOF
9516 cat confdefs.h >>conftest.$ac_ext
9517 cat >>conftest.$ac_ext <<_ACEOF
9518 /* end confdefs.h. */
9519 #ifdef HAVE_GL_GLX_H
9520 # include <GL/glx.h>
9521 #endif
9523 #include <$ac_header>
9524 _ACEOF
9525 rm -f conftest.$ac_objext
9526 if { (ac_try="$ac_compile"
9527 case "(($ac_try" in
9528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9529 *) ac_try_echo=$ac_try;;
9530 esac
9531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9532 (eval "$ac_compile") 2>conftest.er1
9533 ac_status=$?
9534 grep -v '^ *+' conftest.er1 >conftest.err
9535 rm -f conftest.er1
9536 cat conftest.err >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } && {
9539 test -z "$ac_c_werror_flag" ||
9540 test ! -s conftest.err
9541 } && test -s conftest.$ac_objext; then
9542 eval "$as_ac_Header=yes"
9543 else
9544 echo "$as_me: failed program was:" >&5
9545 sed 's/^/| /' conftest.$ac_ext >&5
9547 eval "$as_ac_Header=no"
9550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9552 ac_res=`eval echo '${'$as_ac_Header'}'`
9553 { echo "$as_me:$LINENO: result: $ac_res" >&5
9554 echo "${ECHO_T}$ac_res" >&6; }
9555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9556 cat >>confdefs.h <<_ACEOF
9557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9558 _ACEOF
9562 done
9564 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9565 then
9566 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9567 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9568 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9569 echo $ECHO_N "(cached) $ECHO_C" >&6
9570 else
9571 cat >conftest.$ac_ext <<_ACEOF
9572 /* confdefs.h. */
9573 _ACEOF
9574 cat confdefs.h >>conftest.$ac_ext
9575 cat >>conftest.$ac_ext <<_ACEOF
9576 /* end confdefs.h. */
9577 #include <GL/gl.h>
9579 main ()
9581 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9583 return 0;
9585 _ACEOF
9586 rm -f conftest.$ac_objext
9587 if { (ac_try="$ac_compile"
9588 case "(($ac_try" in
9589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9590 *) ac_try_echo=$ac_try;;
9591 esac
9592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9593 (eval "$ac_compile") 2>conftest.er1
9594 ac_status=$?
9595 grep -v '^ *+' conftest.er1 >conftest.err
9596 rm -f conftest.er1
9597 cat conftest.err >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); } && {
9600 test -z "$ac_c_werror_flag" ||
9601 test ! -s conftest.err
9602 } && test -s conftest.$ac_objext; then
9603 wine_cv_opengl_header_version_OK="yes"
9604 else
9605 echo "$as_me: failed program was:" >&5
9606 sed 's/^/| /' conftest.$ac_ext >&5
9608 wine_cv_opengl_header_version_OK="no"
9611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9613 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9614 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9616 if test "$wine_cv_opengl_header_version_OK" = "yes"
9617 then
9618 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9619 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9620 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9621 echo $ECHO_N "(cached) $ECHO_C" >&6
9622 else
9623 ac_check_lib_save_LIBS=$LIBS
9624 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9625 cat >conftest.$ac_ext <<_ACEOF
9626 /* confdefs.h. */
9627 _ACEOF
9628 cat confdefs.h >>conftest.$ac_ext
9629 cat >>conftest.$ac_ext <<_ACEOF
9630 /* end confdefs.h. */
9632 /* Override any GCC internal prototype to avoid an error.
9633 Use char because int might match the return type of a GCC
9634 builtin and then its argument prototype would still apply. */
9635 #ifdef __cplusplus
9636 extern "C"
9637 #endif
9638 char glXCreateContext ();
9640 main ()
9642 return glXCreateContext ();
9644 return 0;
9646 _ACEOF
9647 rm -f conftest.$ac_objext conftest$ac_exeext
9648 if { (ac_try="$ac_link"
9649 case "(($ac_try" in
9650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9651 *) ac_try_echo=$ac_try;;
9652 esac
9653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9654 (eval "$ac_link") 2>conftest.er1
9655 ac_status=$?
9656 grep -v '^ *+' conftest.er1 >conftest.err
9657 rm -f conftest.er1
9658 cat conftest.err >&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); } && {
9661 test -z "$ac_c_werror_flag" ||
9662 test ! -s conftest.err
9663 } && test -s conftest$ac_exeext &&
9664 $as_test_x conftest$ac_exeext; then
9665 ac_cv_lib_GL_glXCreateContext=yes
9666 else
9667 echo "$as_me: failed program was:" >&5
9668 sed 's/^/| /' conftest.$ac_ext >&5
9670 ac_cv_lib_GL_glXCreateContext=no
9673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9674 conftest$ac_exeext conftest.$ac_ext
9675 LIBS=$ac_check_lib_save_LIBS
9677 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9678 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9679 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9680 OPENGL_LIBS="-lGL"
9681 OPENGLFILES='$(OPENGLFILES)'
9683 cat >>confdefs.h <<\_ACEOF
9684 #define HAVE_OPENGL 1
9685 _ACEOF
9691 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9692 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9693 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9694 echo $ECHO_N "(cached) $ECHO_C" >&6
9695 else
9696 ac_check_lib_save_LIBS=$LIBS
9697 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9698 $LIBS"
9699 cat >conftest.$ac_ext <<_ACEOF
9700 /* confdefs.h. */
9701 _ACEOF
9702 cat confdefs.h >>conftest.$ac_ext
9703 cat >>conftest.$ac_ext <<_ACEOF
9704 /* end confdefs.h. */
9706 /* Override any GCC internal prototype to avoid an error.
9707 Use char because int might match the return type of a GCC
9708 builtin and then its argument prototype would still apply. */
9709 #ifdef __cplusplus
9710 extern "C"
9711 #endif
9712 char gluLookAt ();
9714 main ()
9716 return gluLookAt ();
9718 return 0;
9720 _ACEOF
9721 rm -f conftest.$ac_objext conftest$ac_exeext
9722 if { (ac_try="$ac_link"
9723 case "(($ac_try" in
9724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9725 *) ac_try_echo=$ac_try;;
9726 esac
9727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9728 (eval "$ac_link") 2>conftest.er1
9729 ac_status=$?
9730 grep -v '^ *+' conftest.er1 >conftest.err
9731 rm -f conftest.er1
9732 cat conftest.err >&5
9733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9734 (exit $ac_status); } && {
9735 test -z "$ac_c_werror_flag" ||
9736 test ! -s conftest.err
9737 } && test -s conftest$ac_exeext &&
9738 $as_test_x conftest$ac_exeext; then
9739 ac_cv_lib_GLU_gluLookAt=yes
9740 else
9741 echo "$as_me: failed program was:" >&5
9742 sed 's/^/| /' conftest.$ac_ext >&5
9744 ac_cv_lib_GLU_gluLookAt=no
9747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9748 conftest$ac_exeext conftest.$ac_ext
9749 LIBS=$ac_check_lib_save_LIBS
9751 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9752 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9753 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9754 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9755 GLU32FILES='$(GLU32FILES)'
9760 else
9761 wine_cv_opengl_headers_found="no"
9764 NASLIBS=""
9767 for ac_header in audio/audiolib.h
9769 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9770 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9771 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9773 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9774 echo $ECHO_N "(cached) $ECHO_C" >&6
9776 ac_res=`eval echo '${'$as_ac_Header'}'`
9777 { echo "$as_me:$LINENO: result: $ac_res" >&5
9778 echo "${ECHO_T}$ac_res" >&6; }
9779 else
9780 # Is the header compilable?
9781 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9782 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9783 cat >conftest.$ac_ext <<_ACEOF
9784 /* confdefs.h. */
9785 _ACEOF
9786 cat confdefs.h >>conftest.$ac_ext
9787 cat >>conftest.$ac_ext <<_ACEOF
9788 /* end confdefs.h. */
9789 $ac_includes_default
9790 #include <$ac_header>
9791 _ACEOF
9792 rm -f conftest.$ac_objext
9793 if { (ac_try="$ac_compile"
9794 case "(($ac_try" in
9795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9796 *) ac_try_echo=$ac_try;;
9797 esac
9798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9799 (eval "$ac_compile") 2>conftest.er1
9800 ac_status=$?
9801 grep -v '^ *+' conftest.er1 >conftest.err
9802 rm -f conftest.er1
9803 cat conftest.err >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } && {
9806 test -z "$ac_c_werror_flag" ||
9807 test ! -s conftest.err
9808 } && test -s conftest.$ac_objext; then
9809 ac_header_compiler=yes
9810 else
9811 echo "$as_me: failed program was:" >&5
9812 sed 's/^/| /' conftest.$ac_ext >&5
9814 ac_header_compiler=no
9817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9818 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9819 echo "${ECHO_T}$ac_header_compiler" >&6; }
9821 # Is the header present?
9822 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9824 cat >conftest.$ac_ext <<_ACEOF
9825 /* confdefs.h. */
9826 _ACEOF
9827 cat confdefs.h >>conftest.$ac_ext
9828 cat >>conftest.$ac_ext <<_ACEOF
9829 /* end confdefs.h. */
9830 #include <$ac_header>
9831 _ACEOF
9832 if { (ac_try="$ac_cpp conftest.$ac_ext"
9833 case "(($ac_try" in
9834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9835 *) ac_try_echo=$ac_try;;
9836 esac
9837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9839 ac_status=$?
9840 grep -v '^ *+' conftest.er1 >conftest.err
9841 rm -f conftest.er1
9842 cat conftest.err >&5
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); } >/dev/null && {
9845 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9846 test ! -s conftest.err
9847 }; then
9848 ac_header_preproc=yes
9849 else
9850 echo "$as_me: failed program was:" >&5
9851 sed 's/^/| /' conftest.$ac_ext >&5
9853 ac_header_preproc=no
9856 rm -f conftest.err conftest.$ac_ext
9857 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9858 echo "${ECHO_T}$ac_header_preproc" >&6; }
9860 # So? What about this header?
9861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9862 yes:no: )
9863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9867 ac_header_preproc=yes
9869 no:yes:* )
9870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9882 ( cat <<\_ASBOX
9883 ## ------------------------------------ ##
9884 ## Report this to wine-devel@winehq.org ##
9885 ## ------------------------------------ ##
9886 _ASBOX
9887 ) | sed "s/^/$as_me: WARNING: /" >&2
9889 esac
9890 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9892 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9893 echo $ECHO_N "(cached) $ECHO_C" >&6
9894 else
9895 eval "$as_ac_Header=\$ac_header_preproc"
9897 ac_res=`eval echo '${'$as_ac_Header'}'`
9898 { echo "$as_me:$LINENO: result: $ac_res" >&5
9899 echo "${ECHO_T}$ac_res" >&6; }
9902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9903 cat >>confdefs.h <<_ACEOF
9904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9905 _ACEOF
9907 for ac_header in audio/soundlib.h
9909 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9910 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9912 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9913 echo $ECHO_N "(cached) $ECHO_C" >&6
9914 else
9915 cat >conftest.$ac_ext <<_ACEOF
9916 /* confdefs.h. */
9917 _ACEOF
9918 cat confdefs.h >>conftest.$ac_ext
9919 cat >>conftest.$ac_ext <<_ACEOF
9920 /* end confdefs.h. */
9921 #include <audio/audiolib.h>
9923 #include <$ac_header>
9924 _ACEOF
9925 rm -f conftest.$ac_objext
9926 if { (ac_try="$ac_compile"
9927 case "(($ac_try" in
9928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9929 *) ac_try_echo=$ac_try;;
9930 esac
9931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9932 (eval "$ac_compile") 2>conftest.er1
9933 ac_status=$?
9934 grep -v '^ *+' conftest.er1 >conftest.err
9935 rm -f conftest.er1
9936 cat conftest.err >&5
9937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); } && {
9939 test -z "$ac_c_werror_flag" ||
9940 test ! -s conftest.err
9941 } && test -s conftest.$ac_objext; then
9942 eval "$as_ac_Header=yes"
9943 else
9944 echo "$as_me: failed program was:" >&5
9945 sed 's/^/| /' conftest.$ac_ext >&5
9947 eval "$as_ac_Header=no"
9950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9952 ac_res=`eval echo '${'$as_ac_Header'}'`
9953 { echo "$as_me:$LINENO: result: $ac_res" >&5
9954 echo "${ECHO_T}$ac_res" >&6; }
9955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9956 cat >>confdefs.h <<_ACEOF
9957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9958 _ACEOF
9962 done
9964 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9965 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9966 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9967 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 else
9969 ac_check_lib_save_LIBS=$LIBS
9970 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9971 cat >conftest.$ac_ext <<_ACEOF
9972 /* confdefs.h. */
9973 _ACEOF
9974 cat confdefs.h >>conftest.$ac_ext
9975 cat >>conftest.$ac_ext <<_ACEOF
9976 /* end confdefs.h. */
9978 /* Override any GCC internal prototype to avoid an error.
9979 Use char because int might match the return type of a GCC
9980 builtin and then its argument prototype would still apply. */
9981 #ifdef __cplusplus
9982 extern "C"
9983 #endif
9984 char AuCreateFlow ();
9986 main ()
9988 return AuCreateFlow ();
9990 return 0;
9992 _ACEOF
9993 rm -f conftest.$ac_objext conftest$ac_exeext
9994 if { (ac_try="$ac_link"
9995 case "(($ac_try" in
9996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9997 *) ac_try_echo=$ac_try;;
9998 esac
9999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10000 (eval "$ac_link") 2>conftest.er1
10001 ac_status=$?
10002 grep -v '^ *+' conftest.er1 >conftest.err
10003 rm -f conftest.er1
10004 cat conftest.err >&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); } && {
10007 test -z "$ac_c_werror_flag" ||
10008 test ! -s conftest.err
10009 } && test -s conftest$ac_exeext &&
10010 $as_test_x conftest$ac_exeext; then
10011 ac_cv_lib_audio_AuCreateFlow=yes
10012 else
10013 echo "$as_me: failed program was:" >&5
10014 sed 's/^/| /' conftest.$ac_ext >&5
10016 ac_cv_lib_audio_AuCreateFlow=no
10019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_lib_save_LIBS
10023 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10024 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10025 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10027 cat >>confdefs.h <<\_ACEOF
10028 #define HAVE_NAS 1
10029 _ACEOF
10031 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10032 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10033 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10034 echo $ECHO_N "(cached) $ECHO_C" >&6
10035 else
10036 ac_check_lib_save_LIBS=$LIBS
10037 LIBS="-lXau $X_LIBS $LIBS"
10038 cat >conftest.$ac_ext <<_ACEOF
10039 /* confdefs.h. */
10040 _ACEOF
10041 cat confdefs.h >>conftest.$ac_ext
10042 cat >>conftest.$ac_ext <<_ACEOF
10043 /* end confdefs.h. */
10045 /* Override any GCC internal prototype to avoid an error.
10046 Use char because int might match the return type of a GCC
10047 builtin and then its argument prototype would still apply. */
10048 #ifdef __cplusplus
10049 extern "C"
10050 #endif
10051 char XauGetBestAuthByAddr ();
10053 main ()
10055 return XauGetBestAuthByAddr ();
10057 return 0;
10059 _ACEOF
10060 rm -f conftest.$ac_objext conftest$ac_exeext
10061 if { (ac_try="$ac_link"
10062 case "(($ac_try" in
10063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10064 *) ac_try_echo=$ac_try;;
10065 esac
10066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10067 (eval "$ac_link") 2>conftest.er1
10068 ac_status=$?
10069 grep -v '^ *+' conftest.er1 >conftest.err
10070 rm -f conftest.er1
10071 cat conftest.err >&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); } && {
10074 test -z "$ac_c_werror_flag" ||
10075 test ! -s conftest.err
10076 } && test -s conftest$ac_exeext &&
10077 $as_test_x conftest$ac_exeext; then
10078 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10079 else
10080 echo "$as_me: failed program was:" >&5
10081 sed 's/^/| /' conftest.$ac_ext >&5
10083 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10087 conftest$ac_exeext conftest.$ac_ext
10088 LIBS=$ac_check_lib_save_LIBS
10090 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10091 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10092 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10093 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10094 else
10095 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10103 done
10106 CPPFLAGS="$ac_save_CPPFLAGS"
10107 XFILES='$(XFILES)'
10108 else
10109 XLIB=""
10110 X_CFLAGS=""
10111 X_LIBS=""
10115 XML2LIBS=""
10117 XML2INCL=""
10119 XSLTLIBS=""
10121 XSLTINCL=""
10123 ac_save_CPPFLAGS="$CPPFLAGS"
10124 if test "$PKG_CONFIG" != "false"
10125 then
10126 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10127 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10128 else
10129 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10130 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10132 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10134 for ac_header in libxml/parser.h
10136 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10138 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10140 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10141 echo $ECHO_N "(cached) $ECHO_C" >&6
10143 ac_res=`eval echo '${'$as_ac_Header'}'`
10144 { echo "$as_me:$LINENO: result: $ac_res" >&5
10145 echo "${ECHO_T}$ac_res" >&6; }
10146 else
10147 # Is the header compilable?
10148 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10150 cat >conftest.$ac_ext <<_ACEOF
10151 /* confdefs.h. */
10152 _ACEOF
10153 cat confdefs.h >>conftest.$ac_ext
10154 cat >>conftest.$ac_ext <<_ACEOF
10155 /* end confdefs.h. */
10156 $ac_includes_default
10157 #include <$ac_header>
10158 _ACEOF
10159 rm -f conftest.$ac_objext
10160 if { (ac_try="$ac_compile"
10161 case "(($ac_try" in
10162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10163 *) ac_try_echo=$ac_try;;
10164 esac
10165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10166 (eval "$ac_compile") 2>conftest.er1
10167 ac_status=$?
10168 grep -v '^ *+' conftest.er1 >conftest.err
10169 rm -f conftest.er1
10170 cat conftest.err >&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } && {
10173 test -z "$ac_c_werror_flag" ||
10174 test ! -s conftest.err
10175 } && test -s conftest.$ac_objext; then
10176 ac_header_compiler=yes
10177 else
10178 echo "$as_me: failed program was:" >&5
10179 sed 's/^/| /' conftest.$ac_ext >&5
10181 ac_header_compiler=no
10184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10185 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10186 echo "${ECHO_T}$ac_header_compiler" >&6; }
10188 # Is the header present?
10189 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10190 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10191 cat >conftest.$ac_ext <<_ACEOF
10192 /* confdefs.h. */
10193 _ACEOF
10194 cat confdefs.h >>conftest.$ac_ext
10195 cat >>conftest.$ac_ext <<_ACEOF
10196 /* end confdefs.h. */
10197 #include <$ac_header>
10198 _ACEOF
10199 if { (ac_try="$ac_cpp conftest.$ac_ext"
10200 case "(($ac_try" in
10201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10202 *) ac_try_echo=$ac_try;;
10203 esac
10204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10205 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10206 ac_status=$?
10207 grep -v '^ *+' conftest.er1 >conftest.err
10208 rm -f conftest.er1
10209 cat conftest.err >&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); } >/dev/null && {
10212 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10213 test ! -s conftest.err
10214 }; then
10215 ac_header_preproc=yes
10216 else
10217 echo "$as_me: failed program was:" >&5
10218 sed 's/^/| /' conftest.$ac_ext >&5
10220 ac_header_preproc=no
10223 rm -f conftest.err conftest.$ac_ext
10224 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10225 echo "${ECHO_T}$ac_header_preproc" >&6; }
10227 # So? What about this header?
10228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10229 yes:no: )
10230 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10234 ac_header_preproc=yes
10236 no:yes:* )
10237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10240 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10241 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10243 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10244 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10247 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10249 ( cat <<\_ASBOX
10250 ## ------------------------------------ ##
10251 ## Report this to wine-devel@winehq.org ##
10252 ## ------------------------------------ ##
10253 _ASBOX
10254 ) | sed "s/^/$as_me: WARNING: /" >&2
10256 esac
10257 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10259 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10260 echo $ECHO_N "(cached) $ECHO_C" >&6
10261 else
10262 eval "$as_ac_Header=\$ac_header_preproc"
10264 ac_res=`eval echo '${'$as_ac_Header'}'`
10265 { echo "$as_me:$LINENO: result: $ac_res" >&5
10266 echo "${ECHO_T}$ac_res" >&6; }
10269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10270 cat >>confdefs.h <<_ACEOF
10271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10272 _ACEOF
10273 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10274 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10275 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10276 echo $ECHO_N "(cached) $ECHO_C" >&6
10277 else
10278 ac_check_lib_save_LIBS=$LIBS
10279 LIBS="-lxml2 $ac_xml_libs $LIBS"
10280 cat >conftest.$ac_ext <<_ACEOF
10281 /* confdefs.h. */
10282 _ACEOF
10283 cat confdefs.h >>conftest.$ac_ext
10284 cat >>conftest.$ac_ext <<_ACEOF
10285 /* end confdefs.h. */
10287 /* Override any GCC internal prototype to avoid an error.
10288 Use char because int might match the return type of a GCC
10289 builtin and then its argument prototype would still apply. */
10290 #ifdef __cplusplus
10291 extern "C"
10292 #endif
10293 char xmlParseMemory ();
10295 main ()
10297 return xmlParseMemory ();
10299 return 0;
10301 _ACEOF
10302 rm -f conftest.$ac_objext conftest$ac_exeext
10303 if { (ac_try="$ac_link"
10304 case "(($ac_try" in
10305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10306 *) ac_try_echo=$ac_try;;
10307 esac
10308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10309 (eval "$ac_link") 2>conftest.er1
10310 ac_status=$?
10311 grep -v '^ *+' conftest.er1 >conftest.err
10312 rm -f conftest.er1
10313 cat conftest.err >&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); } && {
10316 test -z "$ac_c_werror_flag" ||
10317 test ! -s conftest.err
10318 } && test -s conftest$ac_exeext &&
10319 $as_test_x conftest$ac_exeext; then
10320 ac_cv_lib_xml2_xmlParseMemory=yes
10321 else
10322 echo "$as_me: failed program was:" >&5
10323 sed 's/^/| /' conftest.$ac_ext >&5
10325 ac_cv_lib_xml2_xmlParseMemory=no
10328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10329 conftest$ac_exeext conftest.$ac_ext
10330 LIBS=$ac_check_lib_save_LIBS
10332 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10333 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10334 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10336 cat >>confdefs.h <<\_ACEOF
10337 #define HAVE_LIBXML2 1
10338 _ACEOF
10340 XML2LIBS="$ac_xml_libs"
10341 XML2INCL="$ac_xml_cflags"
10344 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10345 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10346 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10347 echo $ECHO_N "(cached) $ECHO_C" >&6
10348 else
10349 ac_check_lib_save_LIBS=$LIBS
10350 LIBS="-lxml2 $ac_xml_libs $LIBS"
10351 cat >conftest.$ac_ext <<_ACEOF
10352 /* confdefs.h. */
10353 _ACEOF
10354 cat confdefs.h >>conftest.$ac_ext
10355 cat >>conftest.$ac_ext <<_ACEOF
10356 /* end confdefs.h. */
10358 /* Override any GCC internal prototype to avoid an error.
10359 Use char because int might match the return type of a GCC
10360 builtin and then its argument prototype would still apply. */
10361 #ifdef __cplusplus
10362 extern "C"
10363 #endif
10364 char xmlReadMemory ();
10366 main ()
10368 return xmlReadMemory ();
10370 return 0;
10372 _ACEOF
10373 rm -f conftest.$ac_objext conftest$ac_exeext
10374 if { (ac_try="$ac_link"
10375 case "(($ac_try" in
10376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10377 *) ac_try_echo=$ac_try;;
10378 esac
10379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10380 (eval "$ac_link") 2>conftest.er1
10381 ac_status=$?
10382 grep -v '^ *+' conftest.er1 >conftest.err
10383 rm -f conftest.er1
10384 cat conftest.err >&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); } && {
10387 test -z "$ac_c_werror_flag" ||
10388 test ! -s conftest.err
10389 } && test -s conftest$ac_exeext &&
10390 $as_test_x conftest$ac_exeext; then
10391 ac_cv_lib_xml2_xmlReadMemory=yes
10392 else
10393 echo "$as_me: failed program was:" >&5
10394 sed 's/^/| /' conftest.$ac_ext >&5
10396 ac_cv_lib_xml2_xmlReadMemory=no
10399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10400 conftest$ac_exeext conftest.$ac_ext
10401 LIBS=$ac_check_lib_save_LIBS
10403 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10404 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10405 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10407 cat >>confdefs.h <<\_ACEOF
10408 #define HAVE_XMLREADMEMORY 1
10409 _ACEOF
10413 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
10414 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
10415 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
10416 echo $ECHO_N "(cached) $ECHO_C" >&6
10417 else
10418 ac_check_lib_save_LIBS=$LIBS
10419 LIBS="-lxml2 $ac_xml_libs $LIBS"
10420 cat >conftest.$ac_ext <<_ACEOF
10421 /* confdefs.h. */
10422 _ACEOF
10423 cat confdefs.h >>conftest.$ac_ext
10424 cat >>conftest.$ac_ext <<_ACEOF
10425 /* end confdefs.h. */
10427 /* Override any GCC internal prototype to avoid an error.
10428 Use char because int might match the return type of a GCC
10429 builtin and then its argument prototype would still apply. */
10430 #ifdef __cplusplus
10431 extern "C"
10432 #endif
10433 char xmlNewDocPI ();
10435 main ()
10437 return xmlNewDocPI ();
10439 return 0;
10441 _ACEOF
10442 rm -f conftest.$ac_objext conftest$ac_exeext
10443 if { (ac_try="$ac_link"
10444 case "(($ac_try" in
10445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10446 *) ac_try_echo=$ac_try;;
10447 esac
10448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10449 (eval "$ac_link") 2>conftest.er1
10450 ac_status=$?
10451 grep -v '^ *+' conftest.er1 >conftest.err
10452 rm -f conftest.er1
10453 cat conftest.err >&5
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); } && {
10456 test -z "$ac_c_werror_flag" ||
10457 test ! -s conftest.err
10458 } && test -s conftest$ac_exeext &&
10459 $as_test_x conftest$ac_exeext; then
10460 ac_cv_lib_xml2_xmlNewDocPI=yes
10461 else
10462 echo "$as_me: failed program was:" >&5
10463 sed 's/^/| /' conftest.$ac_ext >&5
10465 ac_cv_lib_xml2_xmlNewDocPI=no
10468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10469 conftest$ac_exeext conftest.$ac_ext
10470 LIBS=$ac_check_lib_save_LIBS
10472 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10473 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10474 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
10476 cat >>confdefs.h <<\_ACEOF
10477 #define HAVE_XMLNEWDOCPI 1
10478 _ACEOF
10485 done
10487 CPPFLAGS="$ac_save_CPPFLAGS"
10488 if test "$PKG_CONFIG" != "false"
10489 then
10490 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10491 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10492 else
10493 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
10494 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
10496 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10499 for ac_header in libxslt/pattern.h libxslt/transform.h
10501 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10502 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10504 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10506 else
10507 cat >conftest.$ac_ext <<_ACEOF
10508 /* confdefs.h. */
10509 _ACEOF
10510 cat confdefs.h >>conftest.$ac_ext
10511 cat >>conftest.$ac_ext <<_ACEOF
10512 /* end confdefs.h. */
10513 #ifdef HAVE_LIBXSLT_PATTERN_H
10514 # include <libxslt/pattern.h>
10515 #endif
10517 #include <$ac_header>
10518 _ACEOF
10519 rm -f conftest.$ac_objext
10520 if { (ac_try="$ac_compile"
10521 case "(($ac_try" in
10522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10523 *) ac_try_echo=$ac_try;;
10524 esac
10525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10526 (eval "$ac_compile") 2>conftest.er1
10527 ac_status=$?
10528 grep -v '^ *+' conftest.er1 >conftest.err
10529 rm -f conftest.er1
10530 cat conftest.err >&5
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); } && {
10533 test -z "$ac_c_werror_flag" ||
10534 test ! -s conftest.err
10535 } && test -s conftest.$ac_objext; then
10536 eval "$as_ac_Header=yes"
10537 else
10538 echo "$as_me: failed program was:" >&5
10539 sed 's/^/| /' conftest.$ac_ext >&5
10541 eval "$as_ac_Header=no"
10544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10550 cat >>confdefs.h <<_ACEOF
10551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10552 _ACEOF
10553 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10554 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10555 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10556 echo $ECHO_N "(cached) $ECHO_C" >&6
10557 else
10558 ac_check_lib_save_LIBS=$LIBS
10559 LIBS="-lxslt $ac_xslt_libs $LIBS"
10560 cat >conftest.$ac_ext <<_ACEOF
10561 /* confdefs.h. */
10562 _ACEOF
10563 cat confdefs.h >>conftest.$ac_ext
10564 cat >>conftest.$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10567 /* Override any GCC internal prototype to avoid an error.
10568 Use char because int might match the return type of a GCC
10569 builtin and then its argument prototype would still apply. */
10570 #ifdef __cplusplus
10571 extern "C"
10572 #endif
10573 char xsltCompilePattern ();
10575 main ()
10577 return xsltCompilePattern ();
10579 return 0;
10581 _ACEOF
10582 rm -f conftest.$ac_objext conftest$ac_exeext
10583 if { (ac_try="$ac_link"
10584 case "(($ac_try" in
10585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10586 *) ac_try_echo=$ac_try;;
10587 esac
10588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10589 (eval "$ac_link") 2>conftest.er1
10590 ac_status=$?
10591 grep -v '^ *+' conftest.er1 >conftest.err
10592 rm -f conftest.er1
10593 cat conftest.err >&5
10594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); } && {
10596 test -z "$ac_c_werror_flag" ||
10597 test ! -s conftest.err
10598 } && test -s conftest$ac_exeext &&
10599 $as_test_x conftest$ac_exeext; then
10600 ac_cv_lib_xslt_xsltCompilePattern=yes
10601 else
10602 echo "$as_me: failed program was:" >&5
10603 sed 's/^/| /' conftest.$ac_ext >&5
10605 ac_cv_lib_xslt_xsltCompilePattern=no
10608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10609 conftest$ac_exeext conftest.$ac_ext
10610 LIBS=$ac_check_lib_save_LIBS
10612 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10613 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10614 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10616 cat >>confdefs.h <<\_ACEOF
10617 #define HAVE_LIBXSLT 1
10618 _ACEOF
10620 XSLTLIBS="$ac_xslt_libs"
10621 XSLTINCL="$ac_xslt_cflags"
10627 done
10629 CPPFLAGS="$ac_save_CPPFLAGS"
10631 HALINCL=""
10633 if test "$PKG_CONFIG" != "false"
10634 then
10635 ac_save_CPPFLAGS="$CPPFLAGS"
10636 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10637 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10638 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10641 for ac_header in dbus/dbus.h hal/libhal.h
10643 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10645 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10648 echo $ECHO_N "(cached) $ECHO_C" >&6
10650 ac_res=`eval echo '${'$as_ac_Header'}'`
10651 { echo "$as_me:$LINENO: result: $ac_res" >&5
10652 echo "${ECHO_T}$ac_res" >&6; }
10653 else
10654 # Is the header compilable?
10655 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10657 cat >conftest.$ac_ext <<_ACEOF
10658 /* confdefs.h. */
10659 _ACEOF
10660 cat confdefs.h >>conftest.$ac_ext
10661 cat >>conftest.$ac_ext <<_ACEOF
10662 /* end confdefs.h. */
10663 $ac_includes_default
10664 #include <$ac_header>
10665 _ACEOF
10666 rm -f conftest.$ac_objext
10667 if { (ac_try="$ac_compile"
10668 case "(($ac_try" in
10669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10670 *) ac_try_echo=$ac_try;;
10671 esac
10672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10673 (eval "$ac_compile") 2>conftest.er1
10674 ac_status=$?
10675 grep -v '^ *+' conftest.er1 >conftest.err
10676 rm -f conftest.er1
10677 cat conftest.err >&5
10678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); } && {
10680 test -z "$ac_c_werror_flag" ||
10681 test ! -s conftest.err
10682 } && test -s conftest.$ac_objext; then
10683 ac_header_compiler=yes
10684 else
10685 echo "$as_me: failed program was:" >&5
10686 sed 's/^/| /' conftest.$ac_ext >&5
10688 ac_header_compiler=no
10691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10692 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10693 echo "${ECHO_T}$ac_header_compiler" >&6; }
10695 # Is the header present?
10696 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10697 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10698 cat >conftest.$ac_ext <<_ACEOF
10699 /* confdefs.h. */
10700 _ACEOF
10701 cat confdefs.h >>conftest.$ac_ext
10702 cat >>conftest.$ac_ext <<_ACEOF
10703 /* end confdefs.h. */
10704 #include <$ac_header>
10705 _ACEOF
10706 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
10719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10720 test ! -s conftest.err
10721 }; then
10722 ac_header_preproc=yes
10723 else
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.$ac_ext >&5
10727 ac_header_preproc=no
10730 rm -f conftest.err conftest.$ac_ext
10731 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10732 echo "${ECHO_T}$ac_header_preproc" >&6; }
10734 # So? What about this header?
10735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10736 yes:no: )
10737 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10738 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10740 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10741 ac_header_preproc=yes
10743 no:yes:* )
10744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10747 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10748 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10749 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10750 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10751 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10754 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10755 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10756 ( cat <<\_ASBOX
10757 ## ------------------------------------ ##
10758 ## Report this to wine-devel@winehq.org ##
10759 ## ------------------------------------ ##
10760 _ASBOX
10761 ) | sed "s/^/$as_me: WARNING: /" >&2
10763 esac
10764 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10767 echo $ECHO_N "(cached) $ECHO_C" >&6
10768 else
10769 eval "$as_ac_Header=\$ac_header_preproc"
10771 ac_res=`eval echo '${'$as_ac_Header'}'`
10772 { echo "$as_me:$LINENO: result: $ac_res" >&5
10773 echo "${ECHO_T}$ac_res" >&6; }
10776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10777 cat >>confdefs.h <<_ACEOF
10778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10779 _ACEOF
10783 done
10785 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10786 then
10787 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10788 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10789 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10790 echo $ECHO_N "(cached) $ECHO_C" >&6
10791 else
10792 ac_check_lib_save_LIBS=$LIBS
10793 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10794 cat >conftest.$ac_ext <<_ACEOF
10795 /* confdefs.h. */
10796 _ACEOF
10797 cat confdefs.h >>conftest.$ac_ext
10798 cat >>conftest.$ac_ext <<_ACEOF
10799 /* end confdefs.h. */
10801 /* Override any GCC internal prototype to avoid an error.
10802 Use char because int might match the return type of a GCC
10803 builtin and then its argument prototype would still apply. */
10804 #ifdef __cplusplus
10805 extern "C"
10806 #endif
10807 char dbus_connection_close ();
10809 main ()
10811 return dbus_connection_close ();
10813 return 0;
10815 _ACEOF
10816 rm -f conftest.$ac_objext conftest$ac_exeext
10817 if { (ac_try="$ac_link"
10818 case "(($ac_try" in
10819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10820 *) ac_try_echo=$ac_try;;
10821 esac
10822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10823 (eval "$ac_link") 2>conftest.er1
10824 ac_status=$?
10825 grep -v '^ *+' conftest.er1 >conftest.err
10826 rm -f conftest.er1
10827 cat conftest.err >&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); } && {
10830 test -z "$ac_c_werror_flag" ||
10831 test ! -s conftest.err
10832 } && test -s conftest$ac_exeext &&
10833 $as_test_x conftest$ac_exeext; then
10834 ac_cv_lib_dbus_1_dbus_connection_close=yes
10835 else
10836 echo "$as_me: failed program was:" >&5
10837 sed 's/^/| /' conftest.$ac_ext >&5
10839 ac_cv_lib_dbus_1_dbus_connection_close=no
10842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10843 conftest$ac_exeext conftest.$ac_ext
10844 LIBS=$ac_check_lib_save_LIBS
10846 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10847 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10848 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10849 { echo "$as_me:$LINENO: checking for -lhal" >&5
10850 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
10851 if test "${ac_cv_lib_soname_hal+set}" = set; then
10852 echo $ECHO_N "(cached) $ECHO_C" >&6
10853 else
10854 ac_check_soname_save_LIBS=$LIBS
10855 LIBS="-lhal $ac_hal_libs $LIBS"
10856 cat >conftest.$ac_ext <<_ACEOF
10857 /* confdefs.h. */
10858 _ACEOF
10859 cat confdefs.h >>conftest.$ac_ext
10860 cat >>conftest.$ac_ext <<_ACEOF
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10866 #ifdef __cplusplus
10867 extern "C"
10868 #endif
10869 char libhal_ctx_new ();
10871 main ()
10873 return libhal_ctx_new ();
10875 return 0;
10877 _ACEOF
10878 rm -f conftest.$ac_objext conftest$ac_exeext
10879 if { (ac_try="$ac_link"
10880 case "(($ac_try" in
10881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10882 *) ac_try_echo=$ac_try;;
10883 esac
10884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10885 (eval "$ac_link") 2>conftest.er1
10886 ac_status=$?
10887 grep -v '^ *+' conftest.er1 >conftest.err
10888 rm -f conftest.er1
10889 cat conftest.err >&5
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); } && {
10892 test -z "$ac_c_werror_flag" ||
10893 test ! -s conftest.err
10894 } && test -s conftest$ac_exeext &&
10895 $as_test_x conftest$ac_exeext; then
10896 case "$LIBEXT" in
10897 dll) ;;
10898 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'` ;;
10899 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10900 esac
10901 else
10902 echo "$as_me: failed program was:" >&5
10903 sed 's/^/| /' conftest.$ac_ext >&5
10908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10909 conftest$ac_exeext conftest.$ac_ext
10910 LIBS=$ac_check_soname_save_LIBS
10912 if test "x$ac_cv_lib_soname_hal" = "x"; then
10913 { echo "$as_me:$LINENO: result: not found" >&5
10914 echo "${ECHO_T}not found" >&6; }
10916 else
10917 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
10918 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
10920 cat >>confdefs.h <<_ACEOF
10921 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10922 _ACEOF
10924 HALINCL="$ac_hal_cflags"
10930 CPPFLAGS="$ac_save_CPPFLAGS"
10933 CURSESLIBS=""
10934 if test "$ac_cv_header_ncurses_h" = "yes"
10935 then
10936 { echo "$as_me:$LINENO: checking for -lncurses" >&5
10937 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
10938 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
10939 echo $ECHO_N "(cached) $ECHO_C" >&6
10940 else
10941 ac_check_soname_save_LIBS=$LIBS
10942 LIBS="-lncurses $LIBS"
10943 cat >conftest.$ac_ext <<_ACEOF
10944 /* confdefs.h. */
10945 _ACEOF
10946 cat confdefs.h >>conftest.$ac_ext
10947 cat >>conftest.$ac_ext <<_ACEOF
10948 /* end confdefs.h. */
10950 /* Override any GCC internal prototype to avoid an error.
10951 Use char because int might match the return type of a GCC
10952 builtin and then its argument prototype would still apply. */
10953 #ifdef __cplusplus
10954 extern "C"
10955 #endif
10956 char waddch ();
10958 main ()
10960 return waddch ();
10962 return 0;
10964 _ACEOF
10965 rm -f conftest.$ac_objext conftest$ac_exeext
10966 if { (ac_try="$ac_link"
10967 case "(($ac_try" in
10968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10969 *) ac_try_echo=$ac_try;;
10970 esac
10971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10972 (eval "$ac_link") 2>conftest.er1
10973 ac_status=$?
10974 grep -v '^ *+' conftest.er1 >conftest.err
10975 rm -f conftest.er1
10976 cat conftest.err >&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); } && {
10979 test -z "$ac_c_werror_flag" ||
10980 test ! -s conftest.err
10981 } && test -s conftest$ac_exeext &&
10982 $as_test_x conftest$ac_exeext; then
10983 case "$LIBEXT" in
10984 dll) ;;
10985 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'` ;;
10986 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10987 esac
10988 else
10989 echo "$as_me: failed program was:" >&5
10990 sed 's/^/| /' conftest.$ac_ext >&5
10995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10996 conftest$ac_exeext conftest.$ac_ext
10997 LIBS=$ac_check_soname_save_LIBS
10999 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11000 { echo "$as_me:$LINENO: result: not found" >&5
11001 echo "${ECHO_T}not found" >&6; }
11003 else
11004 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11005 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11007 cat >>confdefs.h <<_ACEOF
11008 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11009 _ACEOF
11011 CURSESLIBS="-lncurses"
11014 elif test "$ac_cv_header_curses_h" = "yes"
11015 then
11016 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11017 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11018 if test "${ac_cv_lib_soname_curses+set}" = set; then
11019 echo $ECHO_N "(cached) $ECHO_C" >&6
11020 else
11021 ac_check_soname_save_LIBS=$LIBS
11022 LIBS="-lcurses $LIBS"
11023 cat >conftest.$ac_ext <<_ACEOF
11024 /* confdefs.h. */
11025 _ACEOF
11026 cat confdefs.h >>conftest.$ac_ext
11027 cat >>conftest.$ac_ext <<_ACEOF
11028 /* end confdefs.h. */
11030 /* Override any GCC internal prototype to avoid an error.
11031 Use char because int might match the return type of a GCC
11032 builtin and then its argument prototype would still apply. */
11033 #ifdef __cplusplus
11034 extern "C"
11035 #endif
11036 char waddch ();
11038 main ()
11040 return waddch ();
11042 return 0;
11044 _ACEOF
11045 rm -f conftest.$ac_objext conftest$ac_exeext
11046 if { (ac_try="$ac_link"
11047 case "(($ac_try" in
11048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11049 *) ac_try_echo=$ac_try;;
11050 esac
11051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11052 (eval "$ac_link") 2>conftest.er1
11053 ac_status=$?
11054 grep -v '^ *+' conftest.er1 >conftest.err
11055 rm -f conftest.er1
11056 cat conftest.err >&5
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 (exit $ac_status); } && {
11059 test -z "$ac_c_werror_flag" ||
11060 test ! -s conftest.err
11061 } && test -s conftest$ac_exeext &&
11062 $as_test_x conftest$ac_exeext; then
11063 case "$LIBEXT" in
11064 dll) ;;
11065 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'` ;;
11066 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11067 esac
11068 else
11069 echo "$as_me: failed program was:" >&5
11070 sed 's/^/| /' conftest.$ac_ext >&5
11075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11076 conftest$ac_exeext conftest.$ac_ext
11077 LIBS=$ac_check_soname_save_LIBS
11079 if test "x$ac_cv_lib_soname_curses" = "x"; then
11080 { echo "$as_me:$LINENO: result: not found" >&5
11081 echo "${ECHO_T}not found" >&6; }
11083 else
11084 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11085 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11087 cat >>confdefs.h <<_ACEOF
11088 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11089 _ACEOF
11091 CURSESLIBS="-lcurses"
11095 ac_save_LIBS="$LIBS"
11096 LIBS="$LIBS $CURSESLIBS"
11098 for ac_func in mousemask
11100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11101 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11103 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6
11105 else
11106 cat >conftest.$ac_ext <<_ACEOF
11107 /* confdefs.h. */
11108 _ACEOF
11109 cat confdefs.h >>conftest.$ac_ext
11110 cat >>conftest.$ac_ext <<_ACEOF
11111 /* end confdefs.h. */
11112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11114 #define $ac_func innocuous_$ac_func
11116 /* System header to define __stub macros and hopefully few prototypes,
11117 which can conflict with char $ac_func (); below.
11118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11119 <limits.h> exists even on freestanding compilers. */
11121 #ifdef __STDC__
11122 # include <limits.h>
11123 #else
11124 # include <assert.h>
11125 #endif
11127 #undef $ac_func
11129 /* Override any GCC internal prototype to avoid an error.
11130 Use char because int might match the return type of a GCC
11131 builtin and then its argument prototype would still apply. */
11132 #ifdef __cplusplus
11133 extern "C"
11134 #endif
11135 char $ac_func ();
11136 /* The GNU C library defines this for functions which it implements
11137 to always fail with ENOSYS. Some functions are actually named
11138 something starting with __ and the normal name is an alias. */
11139 #if defined __stub_$ac_func || defined __stub___$ac_func
11140 choke me
11141 #endif
11144 main ()
11146 return $ac_func ();
11148 return 0;
11150 _ACEOF
11151 rm -f conftest.$ac_objext conftest$ac_exeext
11152 if { (ac_try="$ac_link"
11153 case "(($ac_try" in
11154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11155 *) ac_try_echo=$ac_try;;
11156 esac
11157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11158 (eval "$ac_link") 2>conftest.er1
11159 ac_status=$?
11160 grep -v '^ *+' conftest.er1 >conftest.err
11161 rm -f conftest.er1
11162 cat conftest.err >&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); } && {
11165 test -z "$ac_c_werror_flag" ||
11166 test ! -s conftest.err
11167 } && test -s conftest$ac_exeext &&
11168 $as_test_x conftest$ac_exeext; then
11169 eval "$as_ac_var=yes"
11170 else
11171 echo "$as_me: failed program was:" >&5
11172 sed 's/^/| /' conftest.$ac_ext >&5
11174 eval "$as_ac_var=no"
11177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11178 conftest$ac_exeext conftest.$ac_ext
11180 ac_res=`eval echo '${'$as_ac_var'}'`
11181 { echo "$as_me:$LINENO: result: $ac_res" >&5
11182 echo "${ECHO_T}$ac_res" >&6; }
11183 if test `eval echo '${'$as_ac_var'}'` = yes; then
11184 cat >>confdefs.h <<_ACEOF
11185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11186 _ACEOF
11189 done
11191 LIBS="$ac_save_LIBS"
11193 # Extract the first word of "sane-config", so it can be a program name with args.
11194 set dummy sane-config; ac_word=$2
11195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11197 if test "${ac_cv_prog_sane_devel+set}" = set; then
11198 echo $ECHO_N "(cached) $ECHO_C" >&6
11199 else
11200 if test -n "$sane_devel"; then
11201 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11202 else
11203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11204 for as_dir in $PATH
11206 IFS=$as_save_IFS
11207 test -z "$as_dir" && as_dir=.
11208 for ac_exec_ext in '' $ac_executable_extensions; do
11209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11210 ac_cv_prog_sane_devel="sane-config"
11211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11212 break 2
11214 done
11215 done
11216 IFS=$as_save_IFS
11218 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11221 sane_devel=$ac_cv_prog_sane_devel
11222 if test -n "$sane_devel"; then
11223 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11224 echo "${ECHO_T}$sane_devel" >&6; }
11225 else
11226 { echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6; }
11231 SANEINCL=""
11233 if test "$sane_devel" != "no"
11234 then
11235 SANEINCL="`$sane_devel --cflags`"
11236 ac_save_CPPFLAGS="$CPPFLAGS"
11237 CPPFLAGS="$CPPFLAGS $SANEINCL"
11238 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11239 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11240 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11241 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11244 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11245 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11246 else
11247 # Is the header compilable?
11248 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11249 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11250 cat >conftest.$ac_ext <<_ACEOF
11251 /* confdefs.h. */
11252 _ACEOF
11253 cat confdefs.h >>conftest.$ac_ext
11254 cat >>conftest.$ac_ext <<_ACEOF
11255 /* end confdefs.h. */
11256 $ac_includes_default
11257 #include <sane/sane.h>
11258 _ACEOF
11259 rm -f conftest.$ac_objext
11260 if { (ac_try="$ac_compile"
11261 case "(($ac_try" in
11262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11263 *) ac_try_echo=$ac_try;;
11264 esac
11265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11266 (eval "$ac_compile") 2>conftest.er1
11267 ac_status=$?
11268 grep -v '^ *+' conftest.er1 >conftest.err
11269 rm -f conftest.er1
11270 cat conftest.err >&5
11271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); } && {
11273 test -z "$ac_c_werror_flag" ||
11274 test ! -s conftest.err
11275 } && test -s conftest.$ac_objext; then
11276 ac_header_compiler=yes
11277 else
11278 echo "$as_me: failed program was:" >&5
11279 sed 's/^/| /' conftest.$ac_ext >&5
11281 ac_header_compiler=no
11284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11285 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11286 echo "${ECHO_T}$ac_header_compiler" >&6; }
11288 # Is the header present?
11289 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11290 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11291 cat >conftest.$ac_ext <<_ACEOF
11292 /* confdefs.h. */
11293 _ACEOF
11294 cat confdefs.h >>conftest.$ac_ext
11295 cat >>conftest.$ac_ext <<_ACEOF
11296 /* end confdefs.h. */
11297 #include <sane/sane.h>
11298 _ACEOF
11299 if { (ac_try="$ac_cpp conftest.$ac_ext"
11300 case "(($ac_try" in
11301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11302 *) ac_try_echo=$ac_try;;
11303 esac
11304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11306 ac_status=$?
11307 grep -v '^ *+' conftest.er1 >conftest.err
11308 rm -f conftest.er1
11309 cat conftest.err >&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); } >/dev/null && {
11312 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11313 test ! -s conftest.err
11314 }; then
11315 ac_header_preproc=yes
11316 else
11317 echo "$as_me: failed program was:" >&5
11318 sed 's/^/| /' conftest.$ac_ext >&5
11320 ac_header_preproc=no
11323 rm -f conftest.err conftest.$ac_ext
11324 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11325 echo "${ECHO_T}$ac_header_preproc" >&6; }
11327 # So? What about this header?
11328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11329 yes:no: )
11330 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11331 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11332 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11333 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11334 ac_header_preproc=yes
11336 no:yes:* )
11337 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11338 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11339 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11340 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11341 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11342 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11343 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11344 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11345 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11346 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11347 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11348 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11349 ( cat <<\_ASBOX
11350 ## ------------------------------------ ##
11351 ## Report this to wine-devel@winehq.org ##
11352 ## ------------------------------------ ##
11353 _ASBOX
11354 ) | sed "s/^/$as_me: WARNING: /" >&2
11356 esac
11357 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11358 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11359 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11360 echo $ECHO_N "(cached) $ECHO_C" >&6
11361 else
11362 ac_cv_header_sane_sane_h=$ac_header_preproc
11364 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11365 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11368 if test $ac_cv_header_sane_sane_h = yes; then
11370 cat >>confdefs.h <<\_ACEOF
11371 #define HAVE_SANE 1
11372 _ACEOF
11374 else
11375 SANEINCL=""
11379 CPPFLAGS="$ac_save_CPPFLAGS"
11382 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11383 set dummy gphoto2-config; ac_word=$2
11384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11386 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11387 echo $ECHO_N "(cached) $ECHO_C" >&6
11388 else
11389 if test -n "$gphoto2_devel"; then
11390 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11391 else
11392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11393 for as_dir in $PATH
11395 IFS=$as_save_IFS
11396 test -z "$as_dir" && as_dir=.
11397 for ac_exec_ext in '' $ac_executable_extensions; do
11398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11399 ac_cv_prog_gphoto2_devel="gphoto2-config"
11400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11401 break 2
11403 done
11404 done
11405 IFS=$as_save_IFS
11407 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11410 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11411 if test -n "$gphoto2_devel"; then
11412 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11413 echo "${ECHO_T}$gphoto2_devel" >&6; }
11414 else
11415 { echo "$as_me:$LINENO: result: no" >&5
11416 echo "${ECHO_T}no" >&6; }
11420 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11421 set dummy gphoto2-port-config; ac_word=$2
11422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11424 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11425 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 else
11427 if test -n "$gphoto2port_devel"; then
11428 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11429 else
11430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11431 for as_dir in $PATH
11433 IFS=$as_save_IFS
11434 test -z "$as_dir" && as_dir=.
11435 for ac_exec_ext in '' $ac_executable_extensions; do
11436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11437 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11439 break 2
11441 done
11442 done
11443 IFS=$as_save_IFS
11445 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11448 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11449 if test -n "$gphoto2port_devel"; then
11450 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11451 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11452 else
11453 { echo "$as_me:$LINENO: result: no" >&5
11454 echo "${ECHO_T}no" >&6; }
11458 GPHOTO2LIBS=""
11460 GPHOTO2INCL=""
11462 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11463 then
11464 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11465 GPHOTO2LIBS=""
11466 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11468 case "$i" in
11469 -L/usr/lib|-L/usr/lib64) ;;
11470 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11471 esac
11472 done
11473 ac_save_CPPFLAGS="$CPPFLAGS"
11474 ac_save_LIBS="$LIBS"
11475 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11476 LIBS="$LIBS $GPHOTO2LIBS"
11477 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11478 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11479 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11480 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11481 echo $ECHO_N "(cached) $ECHO_C" >&6
11483 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11484 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11485 else
11486 # Is the header compilable?
11487 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11488 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11489 cat >conftest.$ac_ext <<_ACEOF
11490 /* confdefs.h. */
11491 _ACEOF
11492 cat confdefs.h >>conftest.$ac_ext
11493 cat >>conftest.$ac_ext <<_ACEOF
11494 /* end confdefs.h. */
11495 $ac_includes_default
11496 #include <gphoto2-camera.h>
11497 _ACEOF
11498 rm -f conftest.$ac_objext
11499 if { (ac_try="$ac_compile"
11500 case "(($ac_try" in
11501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11502 *) ac_try_echo=$ac_try;;
11503 esac
11504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11505 (eval "$ac_compile") 2>conftest.er1
11506 ac_status=$?
11507 grep -v '^ *+' conftest.er1 >conftest.err
11508 rm -f conftest.er1
11509 cat conftest.err >&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); } && {
11512 test -z "$ac_c_werror_flag" ||
11513 test ! -s conftest.err
11514 } && test -s conftest.$ac_objext; then
11515 ac_header_compiler=yes
11516 else
11517 echo "$as_me: failed program was:" >&5
11518 sed 's/^/| /' conftest.$ac_ext >&5
11520 ac_header_compiler=no
11523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11524 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11525 echo "${ECHO_T}$ac_header_compiler" >&6; }
11527 # Is the header present?
11528 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11529 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11530 cat >conftest.$ac_ext <<_ACEOF
11531 /* confdefs.h. */
11532 _ACEOF
11533 cat confdefs.h >>conftest.$ac_ext
11534 cat >>conftest.$ac_ext <<_ACEOF
11535 /* end confdefs.h. */
11536 #include <gphoto2-camera.h>
11537 _ACEOF
11538 if { (ac_try="$ac_cpp conftest.$ac_ext"
11539 case "(($ac_try" in
11540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11541 *) ac_try_echo=$ac_try;;
11542 esac
11543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11544 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11545 ac_status=$?
11546 grep -v '^ *+' conftest.er1 >conftest.err
11547 rm -f conftest.er1
11548 cat conftest.err >&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); } >/dev/null && {
11551 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11552 test ! -s conftest.err
11553 }; then
11554 ac_header_preproc=yes
11555 else
11556 echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.$ac_ext >&5
11559 ac_header_preproc=no
11562 rm -f conftest.err conftest.$ac_ext
11563 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11564 echo "${ECHO_T}$ac_header_preproc" >&6; }
11566 # So? What about this header?
11567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11568 yes:no: )
11569 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11570 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11571 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11572 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11573 ac_header_preproc=yes
11575 no:yes:* )
11576 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11577 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11578 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11579 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11580 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11581 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11582 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11583 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11584 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11585 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11586 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11587 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11588 ( cat <<\_ASBOX
11589 ## ------------------------------------ ##
11590 ## Report this to wine-devel@winehq.org ##
11591 ## ------------------------------------ ##
11592 _ASBOX
11593 ) | sed "s/^/$as_me: WARNING: /" >&2
11595 esac
11596 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11597 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11598 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11599 echo $ECHO_N "(cached) $ECHO_C" >&6
11600 else
11601 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11603 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11604 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11607 if test $ac_cv_header_gphoto2_camera_h = yes; then
11608 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11609 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11610 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11611 echo $ECHO_N "(cached) $ECHO_C" >&6
11612 else
11613 ac_check_lib_save_LIBS=$LIBS
11614 LIBS="-lgphoto2 $LIBS"
11615 cat >conftest.$ac_ext <<_ACEOF
11616 /* confdefs.h. */
11617 _ACEOF
11618 cat confdefs.h >>conftest.$ac_ext
11619 cat >>conftest.$ac_ext <<_ACEOF
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11625 #ifdef __cplusplus
11626 extern "C"
11627 #endif
11628 char gp_camera_new ();
11630 main ()
11632 return gp_camera_new ();
11634 return 0;
11636 _ACEOF
11637 rm -f conftest.$ac_objext conftest$ac_exeext
11638 if { (ac_try="$ac_link"
11639 case "(($ac_try" in
11640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11641 *) ac_try_echo=$ac_try;;
11642 esac
11643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11644 (eval "$ac_link") 2>conftest.er1
11645 ac_status=$?
11646 grep -v '^ *+' conftest.er1 >conftest.err
11647 rm -f conftest.er1
11648 cat conftest.err >&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); } && {
11651 test -z "$ac_c_werror_flag" ||
11652 test ! -s conftest.err
11653 } && test -s conftest$ac_exeext &&
11654 $as_test_x conftest$ac_exeext; then
11655 ac_cv_lib_gphoto2_gp_camera_new=yes
11656 else
11657 echo "$as_me: failed program was:" >&5
11658 sed 's/^/| /' conftest.$ac_ext >&5
11660 ac_cv_lib_gphoto2_gp_camera_new=no
11663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11664 conftest$ac_exeext conftest.$ac_ext
11665 LIBS=$ac_check_lib_save_LIBS
11667 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11668 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11669 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11671 cat >>confdefs.h <<\_ACEOF
11672 #define HAVE_GPHOTO2 1
11673 _ACEOF
11675 else
11676 GPHOTO2LIBS=""
11677 GPHOTO2INCL=""
11680 else
11681 GPHOTO2LIBS=""
11682 GPHOTO2INCL=""
11686 LIBS="$ac_save_LIBS"
11687 CPPFLAGS="$ac_save_CPPFLAGS"
11690 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11691 then
11692 saved_libs="$LIBS"
11693 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
11694 if test -n "$ICU_LIB_DIR"
11695 then
11696 icu_libs="-L$ICU_LIB_DIR $icu_libs"
11698 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
11699 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
11700 LIBS="$saved_libs $icu_libs"
11701 if test "$cross_compiling" = yes; then
11702 { echo "$as_me:$LINENO: result: no" >&5
11703 echo "${ECHO_T}no" >&6; }
11704 else
11705 cat >conftest.$ac_ext <<_ACEOF
11706 /* confdefs.h. */
11707 _ACEOF
11708 cat confdefs.h >>conftest.$ac_ext
11709 cat >>conftest.$ac_ext <<_ACEOF
11710 /* end confdefs.h. */
11711 #include <unicode/ubidi.h>
11713 main ()
11715 ubidi_open()
11717 return 0;
11719 _ACEOF
11720 rm -f conftest$ac_exeext
11721 if { (ac_try="$ac_link"
11722 case "(($ac_try" in
11723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11724 *) ac_try_echo=$ac_try;;
11725 esac
11726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11727 (eval "$ac_link") 2>&5
11728 ac_status=$?
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11731 { (case "(($ac_try" in
11732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11733 *) ac_try_echo=$ac_try;;
11734 esac
11735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11736 (eval "$ac_try") 2>&5
11737 ac_status=$?
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; }; then
11741 cat >>confdefs.h <<\_ACEOF
11742 #define HAVE_ICU 1
11743 _ACEOF
11745 ICULIBS="$icu_libs"
11747 { echo "$as_me:$LINENO: result: yes" >&5
11748 echo "${ECHO_T}yes" >&6; }
11749 else
11750 echo "$as_me: program exited with status $ac_status" >&5
11751 echo "$as_me: failed program was:" >&5
11752 sed 's/^/| /' conftest.$ac_ext >&5
11754 ( exit $ac_status )
11755 { echo "$as_me:$LINENO: result: no" >&5
11756 echo "${ECHO_T}no" >&6; }
11758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11762 LIBS="$saved_libs"
11765 RESOLVLIBS=""
11767 if test "$ac_cv_header_resolv_h" = "yes"
11768 then
11769 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11770 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11771 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 else
11774 ac_check_lib_save_LIBS=$LIBS
11775 LIBS="-lresolv $LIBS"
11776 cat >conftest.$ac_ext <<_ACEOF
11777 /* confdefs.h. */
11778 _ACEOF
11779 cat confdefs.h >>conftest.$ac_ext
11780 cat >>conftest.$ac_ext <<_ACEOF
11781 /* end confdefs.h. */
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11786 #ifdef __cplusplus
11787 extern "C"
11788 #endif
11789 char res_query ();
11791 main ()
11793 return res_query ();
11795 return 0;
11797 _ACEOF
11798 rm -f conftest.$ac_objext conftest$ac_exeext
11799 if { (ac_try="$ac_link"
11800 case "(($ac_try" in
11801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11802 *) ac_try_echo=$ac_try;;
11803 esac
11804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11805 (eval "$ac_link") 2>conftest.er1
11806 ac_status=$?
11807 grep -v '^ *+' conftest.er1 >conftest.err
11808 rm -f conftest.er1
11809 cat conftest.err >&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); } && {
11812 test -z "$ac_c_werror_flag" ||
11813 test ! -s conftest.err
11814 } && test -s conftest$ac_exeext &&
11815 $as_test_x conftest$ac_exeext; then
11816 ac_cv_lib_resolv_res_query=yes
11817 else
11818 echo "$as_me: failed program was:" >&5
11819 sed 's/^/| /' conftest.$ac_ext >&5
11821 ac_cv_lib_resolv_res_query=no
11824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11825 conftest$ac_exeext conftest.$ac_ext
11826 LIBS=$ac_check_lib_save_LIBS
11828 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
11829 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
11830 if test $ac_cv_lib_resolv_res_query = yes; then
11832 cat >>confdefs.h <<\_ACEOF
11833 #define HAVE_RESOLV 1
11834 _ACEOF
11836 RESOLVLIBS="-lresolv"
11841 LCMSLIBS=""
11843 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
11844 then
11845 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
11846 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
11847 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
11848 echo $ECHO_N "(cached) $ECHO_C" >&6
11849 else
11850 ac_check_lib_save_LIBS=$LIBS
11851 LIBS="-llcms $LIBS"
11852 cat >conftest.$ac_ext <<_ACEOF
11853 /* confdefs.h. */
11854 _ACEOF
11855 cat confdefs.h >>conftest.$ac_ext
11856 cat >>conftest.$ac_ext <<_ACEOF
11857 /* end confdefs.h. */
11859 /* Override any GCC internal prototype to avoid an error.
11860 Use char because int might match the return type of a GCC
11861 builtin and then its argument prototype would still apply. */
11862 #ifdef __cplusplus
11863 extern "C"
11864 #endif
11865 char cmsOpenProfileFromFile ();
11867 main ()
11869 return cmsOpenProfileFromFile ();
11871 return 0;
11873 _ACEOF
11874 rm -f conftest.$ac_objext conftest$ac_exeext
11875 if { (ac_try="$ac_link"
11876 case "(($ac_try" in
11877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11878 *) ac_try_echo=$ac_try;;
11879 esac
11880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11881 (eval "$ac_link") 2>conftest.er1
11882 ac_status=$?
11883 grep -v '^ *+' conftest.er1 >conftest.err
11884 rm -f conftest.er1
11885 cat conftest.err >&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); } && {
11888 test -z "$ac_c_werror_flag" ||
11889 test ! -s conftest.err
11890 } && test -s conftest$ac_exeext &&
11891 $as_test_x conftest$ac_exeext; then
11892 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
11893 else
11894 echo "$as_me: failed program was:" >&5
11895 sed 's/^/| /' conftest.$ac_ext >&5
11897 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
11900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11901 conftest$ac_exeext conftest.$ac_ext
11902 LIBS=$ac_check_lib_save_LIBS
11904 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
11905 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
11906 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
11908 cat >>confdefs.h <<\_ACEOF
11909 #define HAVE_LCMS 1
11910 _ACEOF
11912 LCMSLIBS="-llcms"
11917 LDAPLIBS=""
11919 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
11920 then
11921 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
11922 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
11923 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 else
11926 ac_check_lib_save_LIBS=$LIBS
11927 LIBS="-lldap_r $LIBPTHREAD $LIBS"
11928 cat >conftest.$ac_ext <<_ACEOF
11929 /* confdefs.h. */
11930 _ACEOF
11931 cat confdefs.h >>conftest.$ac_ext
11932 cat >>conftest.$ac_ext <<_ACEOF
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11938 #ifdef __cplusplus
11939 extern "C"
11940 #endif
11941 char ldap_initialize ();
11943 main ()
11945 return ldap_initialize ();
11947 return 0;
11949 _ACEOF
11950 rm -f conftest.$ac_objext conftest$ac_exeext
11951 if { (ac_try="$ac_link"
11952 case "(($ac_try" in
11953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11954 *) ac_try_echo=$ac_try;;
11955 esac
11956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11957 (eval "$ac_link") 2>conftest.er1
11958 ac_status=$?
11959 grep -v '^ *+' conftest.er1 >conftest.err
11960 rm -f conftest.er1
11961 cat conftest.err >&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); } && {
11964 test -z "$ac_c_werror_flag" ||
11965 test ! -s conftest.err
11966 } && test -s conftest$ac_exeext &&
11967 $as_test_x conftest$ac_exeext; then
11968 ac_cv_lib_ldap_r_ldap_initialize=yes
11969 else
11970 echo "$as_me: failed program was:" >&5
11971 sed 's/^/| /' conftest.$ac_ext >&5
11973 ac_cv_lib_ldap_r_ldap_initialize=no
11976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11977 conftest$ac_exeext conftest.$ac_ext
11978 LIBS=$ac_check_lib_save_LIBS
11980 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
11981 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
11982 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
11983 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
11984 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
11985 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
11986 echo $ECHO_N "(cached) $ECHO_C" >&6
11987 else
11988 ac_check_lib_save_LIBS=$LIBS
11989 LIBS="-llber $LIBPTHREAD $LIBS"
11990 cat >conftest.$ac_ext <<_ACEOF
11991 /* confdefs.h. */
11992 _ACEOF
11993 cat confdefs.h >>conftest.$ac_ext
11994 cat >>conftest.$ac_ext <<_ACEOF
11995 /* end confdefs.h. */
11997 /* Override any GCC internal prototype to avoid an error.
11998 Use char because int might match the return type of a GCC
11999 builtin and then its argument prototype would still apply. */
12000 #ifdef __cplusplus
12001 extern "C"
12002 #endif
12003 char ber_init ();
12005 main ()
12007 return ber_init ();
12009 return 0;
12011 _ACEOF
12012 rm -f conftest.$ac_objext conftest$ac_exeext
12013 if { (ac_try="$ac_link"
12014 case "(($ac_try" in
12015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12016 *) ac_try_echo=$ac_try;;
12017 esac
12018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12019 (eval "$ac_link") 2>conftest.er1
12020 ac_status=$?
12021 grep -v '^ *+' conftest.er1 >conftest.err
12022 rm -f conftest.er1
12023 cat conftest.err >&5
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); } && {
12026 test -z "$ac_c_werror_flag" ||
12027 test ! -s conftest.err
12028 } && test -s conftest$ac_exeext &&
12029 $as_test_x conftest$ac_exeext; then
12030 ac_cv_lib_lber_ber_init=yes
12031 else
12032 echo "$as_me: failed program was:" >&5
12033 sed 's/^/| /' conftest.$ac_ext >&5
12035 ac_cv_lib_lber_ber_init=no
12038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12039 conftest$ac_exeext conftest.$ac_ext
12040 LIBS=$ac_check_lib_save_LIBS
12042 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12043 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12044 if test $ac_cv_lib_lber_ber_init = yes; then
12046 cat >>confdefs.h <<\_ACEOF
12047 #define HAVE_LDAP 1
12048 _ACEOF
12050 LDAPLIBS="-lldap_r -llber"
12055 ac_wine_check_funcs_save_LIBS="$LIBS"
12056 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12061 for ac_func in \
12062 ldap_count_references \
12063 ldap_first_reference \
12064 ldap_next_reference \
12065 ldap_parse_reference
12067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12068 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12070 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12071 echo $ECHO_N "(cached) $ECHO_C" >&6
12072 else
12073 cat >conftest.$ac_ext <<_ACEOF
12074 /* confdefs.h. */
12075 _ACEOF
12076 cat confdefs.h >>conftest.$ac_ext
12077 cat >>conftest.$ac_ext <<_ACEOF
12078 /* end confdefs.h. */
12079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12081 #define $ac_func innocuous_$ac_func
12083 /* System header to define __stub macros and hopefully few prototypes,
12084 which can conflict with char $ac_func (); below.
12085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12086 <limits.h> exists even on freestanding compilers. */
12088 #ifdef __STDC__
12089 # include <limits.h>
12090 #else
12091 # include <assert.h>
12092 #endif
12094 #undef $ac_func
12096 /* Override any GCC internal prototype to avoid an error.
12097 Use char because int might match the return type of a GCC
12098 builtin and then its argument prototype would still apply. */
12099 #ifdef __cplusplus
12100 extern "C"
12101 #endif
12102 char $ac_func ();
12103 /* The GNU C library defines this for functions which it implements
12104 to always fail with ENOSYS. Some functions are actually named
12105 something starting with __ and the normal name is an alias. */
12106 #if defined __stub_$ac_func || defined __stub___$ac_func
12107 choke me
12108 #endif
12111 main ()
12113 return $ac_func ();
12115 return 0;
12117 _ACEOF
12118 rm -f conftest.$ac_objext conftest$ac_exeext
12119 if { (ac_try="$ac_link"
12120 case "(($ac_try" in
12121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12122 *) ac_try_echo=$ac_try;;
12123 esac
12124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12125 (eval "$ac_link") 2>conftest.er1
12126 ac_status=$?
12127 grep -v '^ *+' conftest.er1 >conftest.err
12128 rm -f conftest.er1
12129 cat conftest.err >&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } && {
12132 test -z "$ac_c_werror_flag" ||
12133 test ! -s conftest.err
12134 } && test -s conftest$ac_exeext &&
12135 $as_test_x conftest$ac_exeext; then
12136 eval "$as_ac_var=yes"
12137 else
12138 echo "$as_me: failed program was:" >&5
12139 sed 's/^/| /' conftest.$ac_ext >&5
12141 eval "$as_ac_var=no"
12144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12145 conftest$ac_exeext conftest.$ac_ext
12147 ac_res=`eval echo '${'$as_ac_var'}'`
12148 { echo "$as_me:$LINENO: result: $ac_res" >&5
12149 echo "${ECHO_T}$ac_res" >&6; }
12150 if test `eval echo '${'$as_ac_var'}'` = yes; then
12151 cat >>confdefs.h <<_ACEOF
12152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12153 _ACEOF
12156 done
12158 LIBS="$ac_wine_check_funcs_save_LIBS"
12161 FREETYPELIBS=""
12163 FREETYPEINCL=""
12165 # Extract the first word of "freetype-config", so it can be a program name with args.
12166 set dummy freetype-config; ac_word=$2
12167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12169 if test "${ac_cv_prog_ft_devel+set}" = set; then
12170 echo $ECHO_N "(cached) $ECHO_C" >&6
12171 else
12172 if test -n "$ft_devel"; then
12173 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12174 else
12175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12176 for as_dir in $PATH
12178 IFS=$as_save_IFS
12179 test -z "$as_dir" && as_dir=.
12180 for ac_exec_ext in '' $ac_executable_extensions; do
12181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12182 ac_cv_prog_ft_devel="freetype-config"
12183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12184 break 2
12186 done
12187 done
12188 IFS=$as_save_IFS
12190 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12193 ft_devel=$ac_cv_prog_ft_devel
12194 if test -n "$ft_devel"; then
12195 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12196 echo "${ECHO_T}$ft_devel" >&6; }
12197 else
12198 { echo "$as_me:$LINENO: result: no" >&5
12199 echo "${ECHO_T}no" >&6; }
12203 if test "$ft_devel" = "no"
12204 then
12205 # Extract the first word of "freetype2-config", so it can be a program name with args.
12206 set dummy freetype2-config; ac_word=$2
12207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12209 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12210 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 else
12212 if test -n "$ft_devel2"; then
12213 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12214 else
12215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12216 for as_dir in $PATH
12218 IFS=$as_save_IFS
12219 test -z "$as_dir" && as_dir=.
12220 for ac_exec_ext in '' $ac_executable_extensions; do
12221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12222 ac_cv_prog_ft_devel2="freetype2-config"
12223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12224 break 2
12226 done
12227 done
12228 IFS=$as_save_IFS
12230 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12233 ft_devel2=$ac_cv_prog_ft_devel2
12234 if test -n "$ft_devel2"; then
12235 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12236 echo "${ECHO_T}$ft_devel2" >&6; }
12237 else
12238 { echo "$as_me:$LINENO: result: no" >&5
12239 echo "${ECHO_T}no" >&6; }
12243 if test "$ft_devel2" = "freetype2-config"
12244 then
12245 ft_devel=$ft_devel2
12249 if test "$ft_devel" = "no"
12250 then
12251 wine_cv_msg_freetype=yes
12252 else
12253 FREETYPELIBS=`$ft_devel --libs`
12254 FREETYPEINCL=`$ft_devel --cflags`
12255 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12256 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12257 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12258 echo $ECHO_N "(cached) $ECHO_C" >&6
12259 else
12260 ac_check_lib_save_LIBS=$LIBS
12261 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12262 cat >conftest.$ac_ext <<_ACEOF
12263 /* confdefs.h. */
12264 _ACEOF
12265 cat confdefs.h >>conftest.$ac_ext
12266 cat >>conftest.$ac_ext <<_ACEOF
12267 /* end confdefs.h. */
12269 /* Override any GCC internal prototype to avoid an error.
12270 Use char because int might match the return type of a GCC
12271 builtin and then its argument prototype would still apply. */
12272 #ifdef __cplusplus
12273 extern "C"
12274 #endif
12275 char FT_Init_FreeType ();
12277 main ()
12279 return FT_Init_FreeType ();
12281 return 0;
12283 _ACEOF
12284 rm -f conftest.$ac_objext conftest$ac_exeext
12285 if { (ac_try="$ac_link"
12286 case "(($ac_try" in
12287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12288 *) ac_try_echo=$ac_try;;
12289 esac
12290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12291 (eval "$ac_link") 2>conftest.er1
12292 ac_status=$?
12293 grep -v '^ *+' conftest.er1 >conftest.err
12294 rm -f conftest.er1
12295 cat conftest.err >&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); } && {
12298 test -z "$ac_c_werror_flag" ||
12299 test ! -s conftest.err
12300 } && test -s conftest$ac_exeext &&
12301 $as_test_x conftest$ac_exeext; then
12302 ac_cv_lib_freetype_FT_Init_FreeType=yes
12303 else
12304 echo "$as_me: failed program was:" >&5
12305 sed 's/^/| /' conftest.$ac_ext >&5
12307 ac_cv_lib_freetype_FT_Init_FreeType=no
12310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12311 conftest$ac_exeext conftest.$ac_ext
12312 LIBS=$ac_check_lib_save_LIBS
12314 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12315 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12316 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12317 ft_lib=yes
12318 else
12319 ft_lib=no
12322 if test "$ft_lib" = "no"
12323 then
12324 wine_cv_msg_freetype=yes
12325 FREETYPELIBS=""
12326 FREETYPEINCL=""
12327 else
12328 ac_save_CPPFLAGS="$CPPFLAGS"
12329 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12341 for ac_header in ft2build.h \
12342 freetype/freetype.h \
12343 freetype/ftglyph.h \
12344 freetype/tttables.h \
12345 freetype/ftnames.h \
12346 freetype/ftsnames.h \
12347 freetype/ttnameid.h \
12348 freetype/ftoutln.h \
12349 freetype/ftwinfnt.h \
12350 freetype/ftmodapi.h \
12351 freetype/internal/sfnt.h
12353 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12354 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12358 else
12359 cat >conftest.$ac_ext <<_ACEOF
12360 /* confdefs.h. */
12361 _ACEOF
12362 cat confdefs.h >>conftest.$ac_ext
12363 cat >>conftest.$ac_ext <<_ACEOF
12364 /* end confdefs.h. */
12365 #if HAVE_FT2BUILD_H
12366 #include <ft2build.h>
12367 #endif
12369 #include <$ac_header>
12370 _ACEOF
12371 rm -f conftest.$ac_objext
12372 if { (ac_try="$ac_compile"
12373 case "(($ac_try" in
12374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12375 *) ac_try_echo=$ac_try;;
12376 esac
12377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12378 (eval "$ac_compile") 2>conftest.er1
12379 ac_status=$?
12380 grep -v '^ *+' conftest.er1 >conftest.err
12381 rm -f conftest.er1
12382 cat conftest.err >&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } && {
12385 test -z "$ac_c_werror_flag" ||
12386 test ! -s conftest.err
12387 } && test -s conftest.$ac_objext; then
12388 eval "$as_ac_Header=yes"
12389 else
12390 echo "$as_me: failed program was:" >&5
12391 sed 's/^/| /' conftest.$ac_ext >&5
12393 eval "$as_ac_Header=no"
12396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12398 ac_res=`eval echo '${'$as_ac_Header'}'`
12399 { echo "$as_me:$LINENO: result: $ac_res" >&5
12400 echo "${ECHO_T}$ac_res" >&6; }
12401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12402 cat >>confdefs.h <<_ACEOF
12403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12404 _ACEOF
12408 done
12410 cat >conftest.$ac_ext <<_ACEOF
12411 /* confdefs.h. */
12412 _ACEOF
12413 cat confdefs.h >>conftest.$ac_ext
12414 cat >>conftest.$ac_ext <<_ACEOF
12415 /* end confdefs.h. */
12416 #include <ft2build.h>
12417 #include <freetype/fttrigon.h>
12418 _ACEOF
12419 if { (ac_try="$ac_cpp conftest.$ac_ext"
12420 case "(($ac_try" in
12421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12422 *) ac_try_echo=$ac_try;;
12423 esac
12424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12425 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12426 ac_status=$?
12427 grep -v '^ *+' conftest.er1 >conftest.err
12428 rm -f conftest.er1
12429 cat conftest.err >&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } >/dev/null && {
12432 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12433 test ! -s conftest.err
12434 }; then
12436 cat >>confdefs.h <<\_ACEOF
12437 #define HAVE_FREETYPE_FTTRIGON_H 1
12438 _ACEOF
12440 wine_cv_fttrigon=yes
12441 else
12442 echo "$as_me: failed program was:" >&5
12443 sed 's/^/| /' conftest.$ac_ext >&5
12445 wine_cv_fttrigon=no
12448 rm -f conftest.err conftest.$ac_ext
12449 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12450 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12451 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12452 echo $ECHO_N "(cached) $ECHO_C" >&6
12453 else
12454 cat >conftest.$ac_ext <<_ACEOF
12455 /* confdefs.h. */
12456 _ACEOF
12457 cat confdefs.h >>conftest.$ac_ext
12458 cat >>conftest.$ac_ext <<_ACEOF
12459 /* end confdefs.h. */
12460 #include <freetype/ftmodapi.h>
12462 typedef FT_TrueTypeEngineType ac__type_new_;
12464 main ()
12466 if ((ac__type_new_ *) 0)
12467 return 0;
12468 if (sizeof (ac__type_new_))
12469 return 0;
12471 return 0;
12473 _ACEOF
12474 rm -f conftest.$ac_objext
12475 if { (ac_try="$ac_compile"
12476 case "(($ac_try" in
12477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12478 *) ac_try_echo=$ac_try;;
12479 esac
12480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12481 (eval "$ac_compile") 2>conftest.er1
12482 ac_status=$?
12483 grep -v '^ *+' conftest.er1 >conftest.err
12484 rm -f conftest.er1
12485 cat conftest.err >&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); } && {
12488 test -z "$ac_c_werror_flag" ||
12489 test ! -s conftest.err
12490 } && test -s conftest.$ac_objext; then
12491 ac_cv_type_FT_TrueTypeEngineType=yes
12492 else
12493 echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.$ac_ext >&5
12496 ac_cv_type_FT_TrueTypeEngineType=no
12499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12501 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12502 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12503 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12505 cat >>confdefs.h <<_ACEOF
12506 #define HAVE_FT_TRUETYPEENGINETYPE 1
12507 _ACEOF
12512 ac_save_CFLAGS="$CFLAGS"
12513 CFLAGS="$CFLAGS $FREETYPELIBS"
12515 for ac_func in FT_Load_Sfnt_Table
12517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12518 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12520 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12521 echo $ECHO_N "(cached) $ECHO_C" >&6
12522 else
12523 cat >conftest.$ac_ext <<_ACEOF
12524 /* confdefs.h. */
12525 _ACEOF
12526 cat confdefs.h >>conftest.$ac_ext
12527 cat >>conftest.$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12531 #define $ac_func innocuous_$ac_func
12533 /* System header to define __stub macros and hopefully few prototypes,
12534 which can conflict with char $ac_func (); below.
12535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12536 <limits.h> exists even on freestanding compilers. */
12538 #ifdef __STDC__
12539 # include <limits.h>
12540 #else
12541 # include <assert.h>
12542 #endif
12544 #undef $ac_func
12546 /* Override any GCC internal prototype to avoid an error.
12547 Use char because int might match the return type of a GCC
12548 builtin and then its argument prototype would still apply. */
12549 #ifdef __cplusplus
12550 extern "C"
12551 #endif
12552 char $ac_func ();
12553 /* The GNU C library defines this for functions which it implements
12554 to always fail with ENOSYS. Some functions are actually named
12555 something starting with __ and the normal name is an alias. */
12556 #if defined __stub_$ac_func || defined __stub___$ac_func
12557 choke me
12558 #endif
12561 main ()
12563 return $ac_func ();
12565 return 0;
12567 _ACEOF
12568 rm -f conftest.$ac_objext conftest$ac_exeext
12569 if { (ac_try="$ac_link"
12570 case "(($ac_try" in
12571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12572 *) ac_try_echo=$ac_try;;
12573 esac
12574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12575 (eval "$ac_link") 2>conftest.er1
12576 ac_status=$?
12577 grep -v '^ *+' conftest.er1 >conftest.err
12578 rm -f conftest.er1
12579 cat conftest.err >&5
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); } && {
12582 test -z "$ac_c_werror_flag" ||
12583 test ! -s conftest.err
12584 } && test -s conftest$ac_exeext &&
12585 $as_test_x conftest$ac_exeext; then
12586 eval "$as_ac_var=yes"
12587 else
12588 echo "$as_me: failed program was:" >&5
12589 sed 's/^/| /' conftest.$ac_ext >&5
12591 eval "$as_ac_var=no"
12594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12595 conftest$ac_exeext conftest.$ac_ext
12597 ac_res=`eval echo '${'$as_ac_var'}'`
12598 { echo "$as_me:$LINENO: result: $ac_res" >&5
12599 echo "${ECHO_T}$ac_res" >&6; }
12600 if test `eval echo '${'$as_ac_var'}'` = yes; then
12601 cat >>confdefs.h <<_ACEOF
12602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12603 _ACEOF
12606 done
12608 CFLAGS="$ac_save_CFLAGS"
12609 CPPFLAGS="$ac_save_CPPFLAGS"
12610 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12611 then
12613 cat >>confdefs.h <<\_ACEOF
12614 #define HAVE_FREETYPE 1
12615 _ACEOF
12617 wine_cv_msg_freetype=no
12618 else
12619 FREETYPELIBS=""
12620 FREETYPEINCL=""
12621 wine_cv_msg_freetype=yes
12626 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12627 then
12628 FONTSSUBDIRS="fonts"
12632 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12633 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12634 if test "${ac_cv_c_ppdev+set}" = set; then
12635 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 else
12637 cat >conftest.$ac_ext <<_ACEOF
12638 /* confdefs.h. */
12639 _ACEOF
12640 cat confdefs.h >>conftest.$ac_ext
12641 cat >>conftest.$ac_ext <<_ACEOF
12642 /* end confdefs.h. */
12643 #include <linux/ppdev.h>
12645 main ()
12647 ioctl (1,PPCLAIM,0)
12649 return 0;
12651 _ACEOF
12652 rm -f conftest.$ac_objext
12653 if { (ac_try="$ac_compile"
12654 case "(($ac_try" in
12655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12656 *) ac_try_echo=$ac_try;;
12657 esac
12658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12659 (eval "$ac_compile") 2>conftest.er1
12660 ac_status=$?
12661 grep -v '^ *+' conftest.er1 >conftest.err
12662 rm -f conftest.er1
12663 cat conftest.err >&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); } && {
12666 test -z "$ac_c_werror_flag" ||
12667 test ! -s conftest.err
12668 } && test -s conftest.$ac_objext; then
12669 ac_cv_c_ppdev="yes"
12670 else
12671 echo "$as_me: failed program was:" >&5
12672 sed 's/^/| /' conftest.$ac_ext >&5
12674 ac_cv_c_ppdev="no"
12677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12679 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
12680 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
12681 if test "$ac_cv_c_ppdev" = "yes"
12682 then
12684 cat >>confdefs.h <<\_ACEOF
12685 #define HAVE_PPDEV 1
12686 _ACEOF
12690 { echo "$as_me:$LINENO: checking for va_copy" >&5
12691 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
12692 if test "${ac_cv_c_va_copy+set}" = set; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12694 else
12695 cat >conftest.$ac_ext <<_ACEOF
12696 /* confdefs.h. */
12697 _ACEOF
12698 cat confdefs.h >>conftest.$ac_ext
12699 cat >>conftest.$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12701 #include <stdarg.h>
12703 main ()
12705 va_list ap1, ap2; va_copy(ap1,ap2);
12707 return 0;
12709 _ACEOF
12710 rm -f conftest.$ac_objext conftest$ac_exeext
12711 if { (ac_try="$ac_link"
12712 case "(($ac_try" in
12713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12714 *) ac_try_echo=$ac_try;;
12715 esac
12716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12717 (eval "$ac_link") 2>conftest.er1
12718 ac_status=$?
12719 grep -v '^ *+' conftest.er1 >conftest.err
12720 rm -f conftest.er1
12721 cat conftest.err >&5
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); } && {
12724 test -z "$ac_c_werror_flag" ||
12725 test ! -s conftest.err
12726 } && test -s conftest$ac_exeext &&
12727 $as_test_x conftest$ac_exeext; then
12728 ac_cv_c_va_copy="yes"
12729 else
12730 echo "$as_me: failed program was:" >&5
12731 sed 's/^/| /' conftest.$ac_ext >&5
12733 ac_cv_c_va_copy="no"
12736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12737 conftest$ac_exeext conftest.$ac_ext
12740 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
12741 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
12742 if test "$ac_cv_c_va_copy" = "yes"
12743 then
12745 cat >>confdefs.h <<\_ACEOF
12746 #define HAVE_VA_COPY 1
12747 _ACEOF
12750 { echo "$as_me:$LINENO: checking for __va_copy" >&5
12751 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
12752 if test "${ac_cv_c___va_copy+set}" = set; then
12753 echo $ECHO_N "(cached) $ECHO_C" >&6
12754 else
12755 cat >conftest.$ac_ext <<_ACEOF
12756 /* confdefs.h. */
12757 _ACEOF
12758 cat confdefs.h >>conftest.$ac_ext
12759 cat >>conftest.$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12761 #include <stdarg.h>
12763 main ()
12765 va_list ap1, ap2; __va_copy(ap1,ap2);
12767 return 0;
12769 _ACEOF
12770 rm -f conftest.$ac_objext conftest$ac_exeext
12771 if { (ac_try="$ac_link"
12772 case "(($ac_try" in
12773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12774 *) ac_try_echo=$ac_try;;
12775 esac
12776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12777 (eval "$ac_link") 2>conftest.er1
12778 ac_status=$?
12779 grep -v '^ *+' conftest.er1 >conftest.err
12780 rm -f conftest.er1
12781 cat conftest.err >&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } && {
12784 test -z "$ac_c_werror_flag" ||
12785 test ! -s conftest.err
12786 } && test -s conftest$ac_exeext &&
12787 $as_test_x conftest$ac_exeext; then
12788 ac_cv_c___va_copy="yes"
12789 else
12790 echo "$as_me: failed program was:" >&5
12791 sed 's/^/| /' conftest.$ac_ext >&5
12793 ac_cv_c___va_copy="no"
12796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12797 conftest$ac_exeext conftest.$ac_ext
12800 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
12801 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
12802 if test "$ac_cv_c___va_copy" = "yes"
12803 then
12805 cat >>confdefs.h <<\_ACEOF
12806 #define HAVE___VA_COPY 1
12807 _ACEOF
12811 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
12812 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
12813 if test "${ac_cv_c_sigsetjmp+set}" = set; then
12814 echo $ECHO_N "(cached) $ECHO_C" >&6
12815 else
12816 cat >conftest.$ac_ext <<_ACEOF
12817 /* confdefs.h. */
12818 _ACEOF
12819 cat confdefs.h >>conftest.$ac_ext
12820 cat >>conftest.$ac_ext <<_ACEOF
12821 /* end confdefs.h. */
12822 #include <setjmp.h>
12824 main ()
12826 sigjmp_buf buf;
12827 sigsetjmp( buf, 1 );
12828 siglongjmp( buf, 1 );
12830 return 0;
12832 _ACEOF
12833 rm -f conftest.$ac_objext conftest$ac_exeext
12834 if { (ac_try="$ac_link"
12835 case "(($ac_try" in
12836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12837 *) ac_try_echo=$ac_try;;
12838 esac
12839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12840 (eval "$ac_link") 2>conftest.er1
12841 ac_status=$?
12842 grep -v '^ *+' conftest.er1 >conftest.err
12843 rm -f conftest.er1
12844 cat conftest.err >&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); } && {
12847 test -z "$ac_c_werror_flag" ||
12848 test ! -s conftest.err
12849 } && test -s conftest$ac_exeext &&
12850 $as_test_x conftest$ac_exeext; then
12851 ac_cv_c_sigsetjmp="yes"
12852 else
12853 echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.$ac_ext >&5
12856 ac_cv_c_sigsetjmp="no"
12859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12860 conftest$ac_exeext conftest.$ac_ext
12863 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
12864 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
12865 if test "$ac_cv_c_sigsetjmp" = "yes"
12866 then
12868 cat >>confdefs.h <<\_ACEOF
12869 #define HAVE_SIGSETJMP 1
12870 _ACEOF
12874 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
12875 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
12876 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
12877 echo $ECHO_N "(cached) $ECHO_C" >&6
12878 else
12879 cat >conftest.$ac_ext <<_ACEOF
12880 /* confdefs.h. */
12881 _ACEOF
12882 cat confdefs.h >>conftest.$ac_ext
12883 cat >>conftest.$ac_ext <<_ACEOF
12884 /* end confdefs.h. */
12885 #define _GNU_SOURCE
12886 #include <pthread.h>
12888 typedef pthread_rwlock_t ac__type_new_;
12890 main ()
12892 if ((ac__type_new_ *) 0)
12893 return 0;
12894 if (sizeof (ac__type_new_))
12895 return 0;
12897 return 0;
12899 _ACEOF
12900 rm -f conftest.$ac_objext
12901 if { (ac_try="$ac_compile"
12902 case "(($ac_try" in
12903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12904 *) ac_try_echo=$ac_try;;
12905 esac
12906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12907 (eval "$ac_compile") 2>conftest.er1
12908 ac_status=$?
12909 grep -v '^ *+' conftest.er1 >conftest.err
12910 rm -f conftest.er1
12911 cat conftest.err >&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); } && {
12914 test -z "$ac_c_werror_flag" ||
12915 test ! -s conftest.err
12916 } && test -s conftest.$ac_objext; then
12917 ac_cv_type_pthread_rwlock_t=yes
12918 else
12919 echo "$as_me: failed program was:" >&5
12920 sed 's/^/| /' conftest.$ac_ext >&5
12922 ac_cv_type_pthread_rwlock_t=no
12925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12927 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
12928 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
12929 if test $ac_cv_type_pthread_rwlock_t = yes; then
12931 cat >>confdefs.h <<_ACEOF
12932 #define HAVE_PTHREAD_RWLOCK_T 1
12933 _ACEOF
12937 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
12938 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
12939 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
12940 echo $ECHO_N "(cached) $ECHO_C" >&6
12941 else
12942 cat >conftest.$ac_ext <<_ACEOF
12943 /* confdefs.h. */
12944 _ACEOF
12945 cat confdefs.h >>conftest.$ac_ext
12946 cat >>conftest.$ac_ext <<_ACEOF
12947 /* end confdefs.h. */
12948 #define _GNU_SOURCE
12949 #include <pthread.h>
12951 typedef pthread_rwlockattr_t ac__type_new_;
12953 main ()
12955 if ((ac__type_new_ *) 0)
12956 return 0;
12957 if (sizeof (ac__type_new_))
12958 return 0;
12960 return 0;
12962 _ACEOF
12963 rm -f conftest.$ac_objext
12964 if { (ac_try="$ac_compile"
12965 case "(($ac_try" in
12966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12967 *) ac_try_echo=$ac_try;;
12968 esac
12969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12970 (eval "$ac_compile") 2>conftest.er1
12971 ac_status=$?
12972 grep -v '^ *+' conftest.er1 >conftest.err
12973 rm -f conftest.er1
12974 cat conftest.err >&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); } && {
12977 test -z "$ac_c_werror_flag" ||
12978 test ! -s conftest.err
12979 } && test -s conftest.$ac_objext; then
12980 ac_cv_type_pthread_rwlockattr_t=yes
12981 else
12982 echo "$as_me: failed program was:" >&5
12983 sed 's/^/| /' conftest.$ac_ext >&5
12985 ac_cv_type_pthread_rwlockattr_t=no
12988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12990 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
12991 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
12992 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
12994 cat >>confdefs.h <<_ACEOF
12995 #define HAVE_PTHREAD_RWLOCKATTR_T 1
12996 _ACEOF
13002 ac_wine_check_funcs_save_LIBS="$LIBS"
13003 LIBS="$LIBS $LIBPTHREAD"
13008 for ac_func in \
13009 pthread_attr_get_np \
13010 pthread_getattr_np \
13011 pthread_get_stackaddr_np \
13012 pthread_get_stacksize_np
13014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13015 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13017 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13018 echo $ECHO_N "(cached) $ECHO_C" >&6
13019 else
13020 cat >conftest.$ac_ext <<_ACEOF
13021 /* confdefs.h. */
13022 _ACEOF
13023 cat confdefs.h >>conftest.$ac_ext
13024 cat >>conftest.$ac_ext <<_ACEOF
13025 /* end confdefs.h. */
13026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13028 #define $ac_func innocuous_$ac_func
13030 /* System header to define __stub macros and hopefully few prototypes,
13031 which can conflict with char $ac_func (); below.
13032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13033 <limits.h> exists even on freestanding compilers. */
13035 #ifdef __STDC__
13036 # include <limits.h>
13037 #else
13038 # include <assert.h>
13039 #endif
13041 #undef $ac_func
13043 /* Override any GCC internal prototype to avoid an error.
13044 Use char because int might match the return type of a GCC
13045 builtin and then its argument prototype would still apply. */
13046 #ifdef __cplusplus
13047 extern "C"
13048 #endif
13049 char $ac_func ();
13050 /* The GNU C library defines this for functions which it implements
13051 to always fail with ENOSYS. Some functions are actually named
13052 something starting with __ and the normal name is an alias. */
13053 #if defined __stub_$ac_func || defined __stub___$ac_func
13054 choke me
13055 #endif
13058 main ()
13060 return $ac_func ();
13062 return 0;
13064 _ACEOF
13065 rm -f conftest.$ac_objext conftest$ac_exeext
13066 if { (ac_try="$ac_link"
13067 case "(($ac_try" in
13068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13069 *) ac_try_echo=$ac_try;;
13070 esac
13071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13072 (eval "$ac_link") 2>conftest.er1
13073 ac_status=$?
13074 grep -v '^ *+' conftest.er1 >conftest.err
13075 rm -f conftest.er1
13076 cat conftest.err >&5
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); } && {
13079 test -z "$ac_c_werror_flag" ||
13080 test ! -s conftest.err
13081 } && test -s conftest$ac_exeext &&
13082 $as_test_x conftest$ac_exeext; then
13083 eval "$as_ac_var=yes"
13084 else
13085 echo "$as_me: failed program was:" >&5
13086 sed 's/^/| /' conftest.$ac_ext >&5
13088 eval "$as_ac_var=no"
13091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13092 conftest$ac_exeext conftest.$ac_ext
13094 ac_res=`eval echo '${'$as_ac_var'}'`
13095 { echo "$as_me:$LINENO: result: $ac_res" >&5
13096 echo "${ECHO_T}$ac_res" >&6; }
13097 if test `eval echo '${'$as_ac_var'}'` = yes; then
13098 cat >>confdefs.h <<_ACEOF
13099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13100 _ACEOF
13103 done
13105 LIBS="$ac_wine_check_funcs_save_LIBS"
13107 # Extract the first word of "esd-config", so it can be a program name with args.
13108 set dummy esd-config; ac_word=$2
13109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13111 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13112 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 else
13114 case $ESDCONFIG in
13115 [\\/]* | ?:[\\/]*)
13116 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13120 for as_dir in $PATH
13122 IFS=$as_save_IFS
13123 test -z "$as_dir" && as_dir=.
13124 for ac_exec_ext in '' $ac_executable_extensions; do
13125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13126 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13128 break 2
13130 done
13131 done
13132 IFS=$as_save_IFS
13135 esac
13137 ESDCONFIG=$ac_cv_path_ESDCONFIG
13138 if test -n "$ESDCONFIG"; then
13139 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13140 echo "${ECHO_T}$ESDCONFIG" >&6; }
13141 else
13142 { echo "$as_me:$LINENO: result: no" >&5
13143 echo "${ECHO_T}no" >&6; }
13147 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13148 then
13149 ESD_CFLAGS=""
13150 for i in `$ESDCONFIG --cflags`
13152 case "$i" in
13153 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13154 esac
13155 done
13156 ESD_LIBS=`$ESDCONFIG --libs`
13157 save_CFLAGS="$CFLAGS"
13158 CFLAGS="$CFLAGS $ESD_CFLAGS"
13159 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13160 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13161 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13162 echo $ECHO_N "(cached) $ECHO_C" >&6
13163 else
13164 ac_check_lib_save_LIBS=$LIBS
13165 LIBS="-lesd $LIBS"
13166 cat >conftest.$ac_ext <<_ACEOF
13167 /* confdefs.h. */
13168 _ACEOF
13169 cat confdefs.h >>conftest.$ac_ext
13170 cat >>conftest.$ac_ext <<_ACEOF
13171 /* end confdefs.h. */
13173 /* Override any GCC internal prototype to avoid an error.
13174 Use char because int might match the return type of a GCC
13175 builtin and then its argument prototype would still apply. */
13176 #ifdef __cplusplus
13177 extern "C"
13178 #endif
13179 char esd_open_sound ();
13181 main ()
13183 return esd_open_sound ();
13185 return 0;
13187 _ACEOF
13188 rm -f conftest.$ac_objext conftest$ac_exeext
13189 if { (ac_try="$ac_link"
13190 case "(($ac_try" in
13191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13192 *) ac_try_echo=$ac_try;;
13193 esac
13194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13195 (eval "$ac_link") 2>conftest.er1
13196 ac_status=$?
13197 grep -v '^ *+' conftest.er1 >conftest.err
13198 rm -f conftest.er1
13199 cat conftest.err >&5
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); } && {
13202 test -z "$ac_c_werror_flag" ||
13203 test ! -s conftest.err
13204 } && test -s conftest$ac_exeext &&
13205 $as_test_x conftest$ac_exeext; then
13206 ac_cv_lib_esd_esd_open_sound=yes
13207 else
13208 echo "$as_me: failed program was:" >&5
13209 sed 's/^/| /' conftest.$ac_ext >&5
13211 ac_cv_lib_esd_esd_open_sound=no
13214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13215 conftest$ac_exeext conftest.$ac_ext
13216 LIBS=$ac_check_lib_save_LIBS
13218 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13219 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13220 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13221 ESDLIBS=$ESD_LIBS
13223 ESDINCL=$ESD_CFLAGS
13226 cat >>confdefs.h <<\_ACEOF
13227 #define HAVE_ESD 1
13228 _ACEOF
13232 CFLAGS="$save_CFLAGS"
13235 ALSALIBS=""
13237 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13238 then
13239 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13240 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13241 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13242 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 else
13244 ac_check_lib_save_LIBS=$LIBS
13245 LIBS="-lasound $LIBS"
13246 cat >conftest.$ac_ext <<_ACEOF
13247 /* confdefs.h. */
13248 _ACEOF
13249 cat confdefs.h >>conftest.$ac_ext
13250 cat >>conftest.$ac_ext <<_ACEOF
13251 /* end confdefs.h. */
13253 /* Override any GCC internal prototype to avoid an error.
13254 Use char because int might match the return type of a GCC
13255 builtin and then its argument prototype would still apply. */
13256 #ifdef __cplusplus
13257 extern "C"
13258 #endif
13259 char snd_pcm_hw_params_get_access ();
13261 main ()
13263 return snd_pcm_hw_params_get_access ();
13265 return 0;
13267 _ACEOF
13268 rm -f conftest.$ac_objext conftest$ac_exeext
13269 if { (ac_try="$ac_link"
13270 case "(($ac_try" in
13271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13272 *) ac_try_echo=$ac_try;;
13273 esac
13274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13275 (eval "$ac_link") 2>conftest.er1
13276 ac_status=$?
13277 grep -v '^ *+' conftest.er1 >conftest.err
13278 rm -f conftest.er1
13279 cat conftest.err >&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } && {
13282 test -z "$ac_c_werror_flag" ||
13283 test ! -s conftest.err
13284 } && test -s conftest$ac_exeext &&
13285 $as_test_x conftest$ac_exeext; then
13286 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13287 else
13288 echo "$as_me: failed program was:" >&5
13289 sed 's/^/| /' conftest.$ac_ext >&5
13291 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13295 conftest$ac_exeext conftest.$ac_ext
13296 LIBS=$ac_check_lib_save_LIBS
13298 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13299 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13300 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13301 cat >conftest.$ac_ext <<_ACEOF
13302 /* confdefs.h. */
13303 _ACEOF
13304 cat confdefs.h >>conftest.$ac_ext
13305 cat >>conftest.$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13307 #ifdef HAVE_ALSA_ASOUNDLIB_H
13308 #include <alsa/asoundlib.h>
13309 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13310 #include <sys/asoundlib.h>
13311 #endif
13313 main ()
13315 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13317 return 0;
13319 _ACEOF
13320 rm -f conftest.$ac_objext
13321 if { (ac_try="$ac_compile"
13322 case "(($ac_try" in
13323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13324 *) ac_try_echo=$ac_try;;
13325 esac
13326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13327 (eval "$ac_compile") 2>conftest.er1
13328 ac_status=$?
13329 grep -v '^ *+' conftest.er1 >conftest.err
13330 rm -f conftest.er1
13331 cat conftest.err >&5
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); } && {
13334 test -z "$ac_c_werror_flag" ||
13335 test ! -s conftest.err
13336 } && test -s conftest.$ac_objext; then
13338 cat >>confdefs.h <<\_ACEOF
13339 #define HAVE_ALSA 1
13340 _ACEOF
13342 ALSALIBS="-lasound"
13343 else
13344 echo "$as_me: failed program was:" >&5
13345 sed 's/^/| /' conftest.$ac_ext >&5
13350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13356 AUDIOIOLIBS=""
13358 if test "$ac_cv_header_libaudioio_h" = "yes"
13359 then
13360 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
13361 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
13362 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
13363 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 else
13365 ac_check_lib_save_LIBS=$LIBS
13366 LIBS="-laudioio $LIBS"
13367 cat >conftest.$ac_ext <<_ACEOF
13368 /* confdefs.h. */
13369 _ACEOF
13370 cat confdefs.h >>conftest.$ac_ext
13371 cat >>conftest.$ac_ext <<_ACEOF
13372 /* end confdefs.h. */
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13377 #ifdef __cplusplus
13378 extern "C"
13379 #endif
13380 char AudioIOGetVersion ();
13382 main ()
13384 return AudioIOGetVersion ();
13386 return 0;
13388 _ACEOF
13389 rm -f conftest.$ac_objext conftest$ac_exeext
13390 if { (ac_try="$ac_link"
13391 case "(($ac_try" in
13392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13393 *) ac_try_echo=$ac_try;;
13394 esac
13395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13396 (eval "$ac_link") 2>conftest.er1
13397 ac_status=$?
13398 grep -v '^ *+' conftest.er1 >conftest.err
13399 rm -f conftest.er1
13400 cat conftest.err >&5
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); } && {
13403 test -z "$ac_c_werror_flag" ||
13404 test ! -s conftest.err
13405 } && test -s conftest$ac_exeext &&
13406 $as_test_x conftest$ac_exeext; then
13407 ac_cv_lib_audioio_AudioIOGetVersion=yes
13408 else
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.$ac_ext >&5
13412 ac_cv_lib_audioio_AudioIOGetVersion=no
13415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LIBS=$ac_check_lib_save_LIBS
13419 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
13420 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
13421 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
13422 AUDIOIOLIBS="-laudioio"
13424 cat >>confdefs.h <<\_ACEOF
13425 #define HAVE_LIBAUDIOIO 1
13426 _ACEOF
13433 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13434 then
13435 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
13436 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
13437 if test "${ac_cv_lib_soname_capi20+set}" = set; then
13438 echo $ECHO_N "(cached) $ECHO_C" >&6
13439 else
13440 ac_check_soname_save_LIBS=$LIBS
13441 LIBS="-lcapi20 $LIBS"
13442 cat >conftest.$ac_ext <<_ACEOF
13443 /* confdefs.h. */
13444 _ACEOF
13445 cat confdefs.h >>conftest.$ac_ext
13446 cat >>conftest.$ac_ext <<_ACEOF
13447 /* end confdefs.h. */
13449 /* Override any GCC internal prototype to avoid an error.
13450 Use char because int might match the return type of a GCC
13451 builtin and then its argument prototype would still apply. */
13452 #ifdef __cplusplus
13453 extern "C"
13454 #endif
13455 char capi20_register ();
13457 main ()
13459 return capi20_register ();
13461 return 0;
13463 _ACEOF
13464 rm -f conftest.$ac_objext conftest$ac_exeext
13465 if { (ac_try="$ac_link"
13466 case "(($ac_try" in
13467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13468 *) ac_try_echo=$ac_try;;
13469 esac
13470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13471 (eval "$ac_link") 2>conftest.er1
13472 ac_status=$?
13473 grep -v '^ *+' conftest.er1 >conftest.err
13474 rm -f conftest.er1
13475 cat conftest.err >&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); } && {
13478 test -z "$ac_c_werror_flag" ||
13479 test ! -s conftest.err
13480 } && test -s conftest$ac_exeext &&
13481 $as_test_x conftest$ac_exeext; then
13482 case "$LIBEXT" in
13483 dll) ;;
13484 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'` ;;
13485 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13486 esac
13487 else
13488 echo "$as_me: failed program was:" >&5
13489 sed 's/^/| /' conftest.$ac_ext >&5
13494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13495 conftest$ac_exeext conftest.$ac_ext
13496 LIBS=$ac_check_soname_save_LIBS
13498 if test "x$ac_cv_lib_soname_capi20" = "x"; then
13499 { echo "$as_me:$LINENO: result: not found" >&5
13500 echo "${ECHO_T}not found" >&6; }
13502 else
13503 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
13504 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
13506 cat >>confdefs.h <<_ACEOF
13507 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13508 _ACEOF
13516 EXTRACFLAGS=""
13518 if test "x${GCC}" = "xyes"
13519 then
13520 EXTRACFLAGS="-Wall -pipe"
13522 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
13523 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
13524 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
13525 echo $ECHO_N "(cached) $ECHO_C" >&6
13526 else
13527 if test "$cross_compiling" = yes; then
13528 ac_cv_c_gcc_strength_bug="yes"
13529 else
13530 cat >conftest.$ac_ext <<_ACEOF
13531 /* confdefs.h. */
13532 _ACEOF
13533 cat confdefs.h >>conftest.$ac_ext
13534 cat >>conftest.$ac_ext <<_ACEOF
13535 /* end confdefs.h. */
13536 int L[4] = {0,1,2,3};
13538 main ()
13540 static int Array[3];
13541 unsigned int B = 3;
13542 int i;
13543 for(i=0; i<B; i++) Array[i] = i - 3;
13544 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13545 L[i] = 4;
13546 exit( Array[1] != -2 || L[2] != 3)
13548 return 0;
13550 _ACEOF
13551 rm -f conftest$ac_exeext
13552 if { (ac_try="$ac_link"
13553 case "(($ac_try" in
13554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13555 *) ac_try_echo=$ac_try;;
13556 esac
13557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13558 (eval "$ac_link") 2>&5
13559 ac_status=$?
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13562 { (case "(($ac_try" in
13563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13564 *) ac_try_echo=$ac_try;;
13565 esac
13566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13567 (eval "$ac_try") 2>&5
13568 ac_status=$?
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 (exit $ac_status); }; }; then
13571 ac_cv_c_gcc_strength_bug="no"
13572 else
13573 echo "$as_me: program exited with status $ac_status" >&5
13574 echo "$as_me: failed program was:" >&5
13575 sed 's/^/| /' conftest.$ac_ext >&5
13577 ( exit $ac_status )
13578 ac_cv_c_gcc_strength_bug="yes"
13580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13585 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
13586 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
13587 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13588 then
13589 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13593 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
13594 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
13595 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
13596 echo $ECHO_N "(cached) $ECHO_C" >&6
13597 else
13598 ac_wine_try_cflags_saved=$CFLAGS
13599 CFLAGS="$CFLAGS -fshort-wchar"
13600 cat >conftest.$ac_ext <<_ACEOF
13601 /* confdefs.h. */
13602 _ACEOF
13603 cat confdefs.h >>conftest.$ac_ext
13604 cat >>conftest.$ac_ext <<_ACEOF
13605 /* end confdefs.h. */
13608 main ()
13612 return 0;
13614 _ACEOF
13615 rm -f conftest.$ac_objext conftest$ac_exeext
13616 if { (ac_try="$ac_link"
13617 case "(($ac_try" in
13618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13619 *) ac_try_echo=$ac_try;;
13620 esac
13621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13622 (eval "$ac_link") 2>conftest.er1
13623 ac_status=$?
13624 grep -v '^ *+' conftest.er1 >conftest.err
13625 rm -f conftest.er1
13626 cat conftest.err >&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); } && {
13629 test -z "$ac_c_werror_flag" ||
13630 test ! -s conftest.err
13631 } && test -s conftest$ac_exeext &&
13632 $as_test_x conftest$ac_exeext; then
13633 ac_cv_cflags__fshort_wchar=yes
13634 else
13635 echo "$as_me: failed program was:" >&5
13636 sed 's/^/| /' conftest.$ac_ext >&5
13638 ac_cv_cflags__fshort_wchar=no
13641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13642 conftest$ac_exeext conftest.$ac_ext
13643 CFLAGS=$ac_wine_try_cflags_saved
13645 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
13646 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
13647 if test $ac_cv_cflags__fshort_wchar = yes; then
13649 cat >>confdefs.h <<\_ACEOF
13650 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
13651 _ACEOF
13655 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
13656 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
13657 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
13658 echo $ECHO_N "(cached) $ECHO_C" >&6
13659 else
13660 ac_wine_try_cflags_saved=$CFLAGS
13661 CFLAGS="$CFLAGS -fno-strict-aliasing"
13662 cat >conftest.$ac_ext <<_ACEOF
13663 /* confdefs.h. */
13664 _ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13670 main ()
13674 return 0;
13676 _ACEOF
13677 rm -f conftest.$ac_objext conftest$ac_exeext
13678 if { (ac_try="$ac_link"
13679 case "(($ac_try" in
13680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13681 *) ac_try_echo=$ac_try;;
13682 esac
13683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13684 (eval "$ac_link") 2>conftest.er1
13685 ac_status=$?
13686 grep -v '^ *+' conftest.er1 >conftest.err
13687 rm -f conftest.er1
13688 cat conftest.err >&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 (exit $ac_status); } && {
13691 test -z "$ac_c_werror_flag" ||
13692 test ! -s conftest.err
13693 } && test -s conftest$ac_exeext &&
13694 $as_test_x conftest$ac_exeext; then
13695 ac_cv_cflags__fno_strict_aliasing=yes
13696 else
13697 echo "$as_me: failed program was:" >&5
13698 sed 's/^/| /' conftest.$ac_ext >&5
13700 ac_cv_cflags__fno_strict_aliasing=no
13703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13704 conftest$ac_exeext conftest.$ac_ext
13705 CFLAGS=$ac_wine_try_cflags_saved
13707 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13708 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
13709 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
13710 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13713 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13714 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
13715 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
13716 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 else
13718 ac_wine_try_cflags_saved=$CFLAGS
13719 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13720 cat >conftest.$ac_ext <<_ACEOF
13721 /* confdefs.h. */
13722 _ACEOF
13723 cat confdefs.h >>conftest.$ac_ext
13724 cat >>conftest.$ac_ext <<_ACEOF
13725 /* end confdefs.h. */
13728 main ()
13732 return 0;
13734 _ACEOF
13735 rm -f conftest.$ac_objext conftest$ac_exeext
13736 if { (ac_try="$ac_link"
13737 case "(($ac_try" in
13738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13739 *) ac_try_echo=$ac_try;;
13740 esac
13741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13742 (eval "$ac_link") 2>conftest.er1
13743 ac_status=$?
13744 grep -v '^ *+' conftest.er1 >conftest.err
13745 rm -f conftest.er1
13746 cat conftest.err >&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); } && {
13749 test -z "$ac_c_werror_flag" ||
13750 test ! -s conftest.err
13751 } && test -s conftest$ac_exeext &&
13752 $as_test_x conftest$ac_exeext; then
13753 ac_cv_cflags__Wdeclaration_after_statement=yes
13754 else
13755 echo "$as_me: failed program was:" >&5
13756 sed 's/^/| /' conftest.$ac_ext >&5
13758 ac_cv_cflags__Wdeclaration_after_statement=no
13761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13762 conftest$ac_exeext conftest.$ac_ext
13763 CFLAGS=$ac_wine_try_cflags_saved
13765 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13766 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13767 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
13768 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13771 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
13772 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
13773 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
13774 echo $ECHO_N "(cached) $ECHO_C" >&6
13775 else
13776 ac_wine_try_cflags_saved=$CFLAGS
13777 CFLAGS="$CFLAGS -Wwrite-strings"
13778 cat >conftest.$ac_ext <<_ACEOF
13779 /* confdefs.h. */
13780 _ACEOF
13781 cat confdefs.h >>conftest.$ac_ext
13782 cat >>conftest.$ac_ext <<_ACEOF
13783 /* end confdefs.h. */
13786 main ()
13790 return 0;
13792 _ACEOF
13793 rm -f conftest.$ac_objext conftest$ac_exeext
13794 if { (ac_try="$ac_link"
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_link") 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_exeext &&
13810 $as_test_x conftest$ac_exeext; then
13811 ac_cv_cflags__Wwrite_strings=yes
13812 else
13813 echo "$as_me: failed program was:" >&5
13814 sed 's/^/| /' conftest.$ac_ext >&5
13816 ac_cv_cflags__Wwrite_strings=no
13819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13820 conftest$ac_exeext conftest.$ac_ext
13821 CFLAGS=$ac_wine_try_cflags_saved
13823 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
13824 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
13825 if test $ac_cv_cflags__Wwrite_strings = yes; then
13826 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13830 saved_CFLAGS="$CFLAGS"
13831 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13832 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
13833 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
13834 if test "${ac_cv_c_string_h_warnings+set}" = set; then
13835 echo $ECHO_N "(cached) $ECHO_C" >&6
13836 else
13837 cat >conftest.$ac_ext <<_ACEOF
13838 /* confdefs.h. */
13839 _ACEOF
13840 cat confdefs.h >>conftest.$ac_ext
13841 cat >>conftest.$ac_ext <<_ACEOF
13842 /* end confdefs.h. */
13843 #include <string.h>
13845 main ()
13849 return 0;
13851 _ACEOF
13852 rm -f conftest.$ac_objext
13853 if { (ac_try="$ac_compile"
13854 case "(($ac_try" in
13855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13856 *) ac_try_echo=$ac_try;;
13857 esac
13858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13859 (eval "$ac_compile") 2>conftest.er1
13860 ac_status=$?
13861 grep -v '^ *+' conftest.er1 >conftest.err
13862 rm -f conftest.er1
13863 cat conftest.err >&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } && {
13866 test -z "$ac_c_werror_flag" ||
13867 test ! -s conftest.err
13868 } && test -s conftest.$ac_objext; then
13869 ac_cv_c_string_h_warnings=no
13870 else
13871 echo "$as_me: failed program was:" >&5
13872 sed 's/^/| /' conftest.$ac_ext >&5
13874 ac_cv_c_string_h_warnings=yes
13877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13879 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
13880 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
13881 CFLAGS="$saved_CFLAGS"
13882 if test "$ac_cv_c_string_h_warnings" = "no"
13883 then
13884 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13887 BUILTINFLAG=""
13889 saved_CFLAGS="$CFLAGS"
13890 CFLAGS="$CFLAGS -Werror"
13891 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
13892 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
13893 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13895 else
13896 cat >conftest.$ac_ext <<_ACEOF
13897 /* confdefs.h. */
13898 _ACEOF
13899 cat confdefs.h >>conftest.$ac_ext
13900 cat >>conftest.$ac_ext <<_ACEOF
13901 /* end confdefs.h. */
13904 main ()
13906 int iswlower(unsigned short);
13908 return 0;
13910 _ACEOF
13911 rm -f conftest.$ac_objext
13912 if { (ac_try="$ac_compile"
13913 case "(($ac_try" in
13914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13915 *) ac_try_echo=$ac_try;;
13916 esac
13917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13918 (eval "$ac_compile") 2>conftest.er1
13919 ac_status=$?
13920 grep -v '^ *+' conftest.er1 >conftest.err
13921 rm -f conftest.er1
13922 cat conftest.err >&5
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); } && {
13925 test -z "$ac_c_werror_flag" ||
13926 test ! -s conftest.err
13927 } && test -s conftest.$ac_objext; then
13928 ac_cv_c_builtin_wchar_ctype=no
13929 else
13930 echo "$as_me: failed program was:" >&5
13931 sed 's/^/| /' conftest.$ac_ext >&5
13933 ac_cv_c_builtin_wchar_ctype=yes
13936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13938 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
13939 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
13940 CFLAGS="$saved_CFLAGS"
13941 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
13942 then
13943 BUILTINFLAG="-fno-builtin"
13948 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
13949 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
13950 if test "${ac_cv_asm_func_def+set}" = set; then
13951 echo $ECHO_N "(cached) $ECHO_C" >&6
13952 else
13953 cat >conftest.$ac_ext <<_ACEOF
13954 /* confdefs.h. */
13955 _ACEOF
13956 cat confdefs.h >>conftest.$ac_ext
13957 cat >>conftest.$ac_ext <<_ACEOF
13958 /* end confdefs.h. */
13961 main ()
13963 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13965 return 0;
13967 _ACEOF
13968 rm -f conftest.$ac_objext conftest$ac_exeext
13969 if { (ac_try="$ac_link"
13970 case "(($ac_try" in
13971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13972 *) ac_try_echo=$ac_try;;
13973 esac
13974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13975 (eval "$ac_link") 2>conftest.er1
13976 ac_status=$?
13977 grep -v '^ *+' conftest.er1 >conftest.err
13978 rm -f conftest.er1
13979 cat conftest.err >&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); } && {
13982 test -z "$ac_c_werror_flag" ||
13983 test ! -s conftest.err
13984 } && test -s conftest$ac_exeext &&
13985 $as_test_x conftest$ac_exeext; then
13986 ac_cv_asm_func_def=".def"
13987 else
13988 echo "$as_me: failed program was:" >&5
13989 sed 's/^/| /' conftest.$ac_ext >&5
13991 cat >conftest.$ac_ext <<_ACEOF
13992 /* confdefs.h. */
13993 _ACEOF
13994 cat confdefs.h >>conftest.$ac_ext
13995 cat >>conftest.$ac_ext <<_ACEOF
13996 /* end confdefs.h. */
13999 main ()
14001 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14003 return 0;
14005 _ACEOF
14006 rm -f conftest.$ac_objext conftest$ac_exeext
14007 if { (ac_try="$ac_link"
14008 case "(($ac_try" in
14009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14010 *) ac_try_echo=$ac_try;;
14011 esac
14012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14013 (eval "$ac_link") 2>conftest.er1
14014 ac_status=$?
14015 grep -v '^ *+' conftest.er1 >conftest.err
14016 rm -f conftest.er1
14017 cat conftest.err >&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } && {
14020 test -z "$ac_c_werror_flag" ||
14021 test ! -s conftest.err
14022 } && test -s conftest$ac_exeext &&
14023 $as_test_x conftest$ac_exeext; then
14024 ac_cv_asm_func_def=".type @function"
14025 else
14026 echo "$as_me: failed program was:" >&5
14027 sed 's/^/| /' conftest.$ac_ext >&5
14029 cat >conftest.$ac_ext <<_ACEOF
14030 /* confdefs.h. */
14031 _ACEOF
14032 cat confdefs.h >>conftest.$ac_ext
14033 cat >>conftest.$ac_ext <<_ACEOF
14034 /* end confdefs.h. */
14037 main ()
14039 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14041 return 0;
14043 _ACEOF
14044 rm -f conftest.$ac_objext conftest$ac_exeext
14045 if { (ac_try="$ac_link"
14046 case "(($ac_try" in
14047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14048 *) ac_try_echo=$ac_try;;
14049 esac
14050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14051 (eval "$ac_link") 2>conftest.er1
14052 ac_status=$?
14053 grep -v '^ *+' conftest.er1 >conftest.err
14054 rm -f conftest.er1
14055 cat conftest.err >&5
14056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057 (exit $ac_status); } && {
14058 test -z "$ac_c_werror_flag" ||
14059 test ! -s conftest.err
14060 } && test -s conftest$ac_exeext &&
14061 $as_test_x conftest$ac_exeext; then
14062 ac_cv_asm_func_def=".type 2"
14063 else
14064 echo "$as_me: failed program was:" >&5
14065 sed 's/^/| /' conftest.$ac_ext >&5
14067 ac_cv_asm_func_def="unknown"
14070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14071 conftest$ac_exeext conftest.$ac_ext
14074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14075 conftest$ac_exeext conftest.$ac_ext
14078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14079 conftest$ac_exeext conftest.$ac_ext
14081 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
14082 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
14086 case "$ac_cv_asm_func_def" in
14087 ".def")
14088 cat >>confdefs.h <<\_ACEOF
14089 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
14090 _ACEOF
14092 ".type @function")
14093 cat >>confdefs.h <<\_ACEOF
14094 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
14095 _ACEOF
14097 ".type 2")
14098 cat >>confdefs.h <<\_ACEOF
14099 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
14100 _ACEOF
14103 cat >>confdefs.h <<\_ACEOF
14104 #define __ASM_FUNC(name) ""
14105 _ACEOF
14107 esac
14110 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
14111 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
14112 if test "${ac_cv_c_extern_prefix+set}" = set; then
14113 echo $ECHO_N "(cached) $ECHO_C" >&6
14114 else
14115 cat >conftest.$ac_ext <<_ACEOF
14116 /* confdefs.h. */
14117 _ACEOF
14118 cat confdefs.h >>conftest.$ac_ext
14119 cat >>conftest.$ac_ext <<_ACEOF
14120 /* end confdefs.h. */
14121 extern int ac_test;
14123 main ()
14125 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14127 return 0;
14129 _ACEOF
14130 rm -f conftest.$ac_objext conftest$ac_exeext
14131 if { (ac_try="$ac_link"
14132 case "(($ac_try" in
14133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14134 *) ac_try_echo=$ac_try;;
14135 esac
14136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14137 (eval "$ac_link") 2>conftest.er1
14138 ac_status=$?
14139 grep -v '^ *+' conftest.er1 >conftest.err
14140 rm -f conftest.er1
14141 cat conftest.err >&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); } && {
14144 test -z "$ac_c_werror_flag" ||
14145 test ! -s conftest.err
14146 } && test -s conftest$ac_exeext &&
14147 $as_test_x conftest$ac_exeext; then
14148 ac_cv_c_extern_prefix="yes"
14149 else
14150 echo "$as_me: failed program was:" >&5
14151 sed 's/^/| /' conftest.$ac_ext >&5
14153 ac_cv_c_extern_prefix="no"
14156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14157 conftest$ac_exeext conftest.$ac_ext
14159 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
14160 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
14164 if test "$ac_cv_c_extern_prefix" = "yes"
14165 then
14166 cat >>confdefs.h <<\_ACEOF
14167 #define __ASM_NAME(name) "_" name
14168 _ACEOF
14170 else
14171 cat >>confdefs.h <<\_ACEOF
14172 #define __ASM_NAME(name) name
14173 _ACEOF
14178 LDPATH=""
14180 case $build_os in
14181 cygwin*|mingw32*)
14182 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14184 darwin*|macosx*)
14186 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
14187 then
14188 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14192 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14194 esac
14196 case $host_os in
14197 mingw32*)
14198 CRTLIBS="-lmsvcrt"
14200 SOCKETLIBS="-lws2_32"
14203 esac
14205 MAIN_BINARY="wine-pthread"
14206 case $host_cpu in
14207 *i[3456789]86*)
14208 case $host_os in
14209 linux* | k*bsd*-gnu)
14210 MAIN_BINARY="wine-glibc"
14212 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14214 esac
14216 esac
14220 cat >>confdefs.h <<_ACEOF
14221 #define SONAME_EXT ".$LIBEXT"
14222 _ACEOF
14225 { echo "$as_me:$LINENO: checking for -lX11" >&5
14226 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
14227 if test "${ac_cv_lib_soname_X11+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 else
14230 ac_check_soname_save_LIBS=$LIBS
14231 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14232 cat >conftest.$ac_ext <<_ACEOF
14233 /* confdefs.h. */
14234 _ACEOF
14235 cat confdefs.h >>conftest.$ac_ext
14236 cat >>conftest.$ac_ext <<_ACEOF
14237 /* end confdefs.h. */
14239 /* Override any GCC internal prototype to avoid an error.
14240 Use char because int might match the return type of a GCC
14241 builtin and then its argument prototype would still apply. */
14242 #ifdef __cplusplus
14243 extern "C"
14244 #endif
14245 char XCreateWindow ();
14247 main ()
14249 return XCreateWindow ();
14251 return 0;
14253 _ACEOF
14254 rm -f conftest.$ac_objext conftest$ac_exeext
14255 if { (ac_try="$ac_link"
14256 case "(($ac_try" in
14257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14258 *) ac_try_echo=$ac_try;;
14259 esac
14260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14261 (eval "$ac_link") 2>conftest.er1
14262 ac_status=$?
14263 grep -v '^ *+' conftest.er1 >conftest.err
14264 rm -f conftest.er1
14265 cat conftest.err >&5
14266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14267 (exit $ac_status); } && {
14268 test -z "$ac_c_werror_flag" ||
14269 test ! -s conftest.err
14270 } && test -s conftest$ac_exeext &&
14271 $as_test_x conftest$ac_exeext; then
14272 case "$LIBEXT" in
14273 dll) ;;
14274 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'` ;;
14275 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14276 esac
14277 else
14278 echo "$as_me: failed program was:" >&5
14279 sed 's/^/| /' conftest.$ac_ext >&5
14284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14285 conftest$ac_exeext conftest.$ac_ext
14286 LIBS=$ac_check_soname_save_LIBS
14288 if test "x$ac_cv_lib_soname_X11" = "x"; then
14289 { echo "$as_me:$LINENO: result: not found" >&5
14290 echo "${ECHO_T}not found" >&6; }
14292 else
14293 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14294 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14296 cat >>confdefs.h <<_ACEOF
14297 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14298 _ACEOF
14303 { echo "$as_me:$LINENO: checking for -lXext" >&5
14304 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
14305 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14307 else
14308 ac_check_soname_save_LIBS=$LIBS
14309 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14310 cat >conftest.$ac_ext <<_ACEOF
14311 /* confdefs.h. */
14312 _ACEOF
14313 cat confdefs.h >>conftest.$ac_ext
14314 cat >>conftest.$ac_ext <<_ACEOF
14315 /* end confdefs.h. */
14317 /* Override any GCC internal prototype to avoid an error.
14318 Use char because int might match the return type of a GCC
14319 builtin and then its argument prototype would still apply. */
14320 #ifdef __cplusplus
14321 extern "C"
14322 #endif
14323 char XextCreateExtension ();
14325 main ()
14327 return XextCreateExtension ();
14329 return 0;
14331 _ACEOF
14332 rm -f conftest.$ac_objext conftest$ac_exeext
14333 if { (ac_try="$ac_link"
14334 case "(($ac_try" in
14335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14336 *) ac_try_echo=$ac_try;;
14337 esac
14338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14339 (eval "$ac_link") 2>conftest.er1
14340 ac_status=$?
14341 grep -v '^ *+' conftest.er1 >conftest.err
14342 rm -f conftest.er1
14343 cat conftest.err >&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); } && {
14346 test -z "$ac_c_werror_flag" ||
14347 test ! -s conftest.err
14348 } && test -s conftest$ac_exeext &&
14349 $as_test_x conftest$ac_exeext; then
14350 case "$LIBEXT" in
14351 dll) ;;
14352 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'` ;;
14353 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14354 esac
14355 else
14356 echo "$as_me: failed program was:" >&5
14357 sed 's/^/| /' conftest.$ac_ext >&5
14362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14363 conftest$ac_exeext conftest.$ac_ext
14364 LIBS=$ac_check_soname_save_LIBS
14366 if test "x$ac_cv_lib_soname_Xext" = "x"; then
14367 { echo "$as_me:$LINENO: result: not found" >&5
14368 echo "${ECHO_T}not found" >&6; }
14370 else
14371 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14372 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14374 cat >>confdefs.h <<_ACEOF
14375 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14376 _ACEOF
14381 { echo "$as_me:$LINENO: checking for -lXi" >&5
14382 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
14383 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14384 echo $ECHO_N "(cached) $ECHO_C" >&6
14385 else
14386 ac_check_soname_save_LIBS=$LIBS
14387 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14388 cat >conftest.$ac_ext <<_ACEOF
14389 /* confdefs.h. */
14390 _ACEOF
14391 cat confdefs.h >>conftest.$ac_ext
14392 cat >>conftest.$ac_ext <<_ACEOF
14393 /* end confdefs.h. */
14395 /* Override any GCC internal prototype to avoid an error.
14396 Use char because int might match the return type of a GCC
14397 builtin and then its argument prototype would still apply. */
14398 #ifdef __cplusplus
14399 extern "C"
14400 #endif
14401 char XOpenDevice ();
14403 main ()
14405 return XOpenDevice ();
14407 return 0;
14409 _ACEOF
14410 rm -f conftest.$ac_objext conftest$ac_exeext
14411 if { (ac_try="$ac_link"
14412 case "(($ac_try" in
14413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14414 *) ac_try_echo=$ac_try;;
14415 esac
14416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14417 (eval "$ac_link") 2>conftest.er1
14418 ac_status=$?
14419 grep -v '^ *+' conftest.er1 >conftest.err
14420 rm -f conftest.er1
14421 cat conftest.err >&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); } && {
14424 test -z "$ac_c_werror_flag" ||
14425 test ! -s conftest.err
14426 } && test -s conftest$ac_exeext &&
14427 $as_test_x conftest$ac_exeext; then
14428 case "$LIBEXT" in
14429 dll) ;;
14430 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'` ;;
14431 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14432 esac
14433 else
14434 echo "$as_me: failed program was:" >&5
14435 sed 's/^/| /' conftest.$ac_ext >&5
14440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14441 conftest$ac_exeext conftest.$ac_ext
14442 LIBS=$ac_check_soname_save_LIBS
14444 if test "x$ac_cv_lib_soname_Xi" = "x"; then
14445 { echo "$as_me:$LINENO: result: not found" >&5
14446 echo "${ECHO_T}not found" >&6; }
14448 else
14449 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14450 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14452 cat >>confdefs.h <<_ACEOF
14453 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14454 _ACEOF
14459 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
14460 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
14461 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14462 echo $ECHO_N "(cached) $ECHO_C" >&6
14463 else
14464 ac_check_soname_save_LIBS=$LIBS
14465 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14466 cat >conftest.$ac_ext <<_ACEOF
14467 /* confdefs.h. */
14468 _ACEOF
14469 cat confdefs.h >>conftest.$ac_ext
14470 cat >>conftest.$ac_ext <<_ACEOF
14471 /* end confdefs.h. */
14473 /* Override any GCC internal prototype to avoid an error.
14474 Use char because int might match the return type of a GCC
14475 builtin and then its argument prototype would still apply. */
14476 #ifdef __cplusplus
14477 extern "C"
14478 #endif
14479 char XineramaQueryScreens ();
14481 main ()
14483 return XineramaQueryScreens ();
14485 return 0;
14487 _ACEOF
14488 rm -f conftest.$ac_objext conftest$ac_exeext
14489 if { (ac_try="$ac_link"
14490 case "(($ac_try" in
14491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14492 *) ac_try_echo=$ac_try;;
14493 esac
14494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14495 (eval "$ac_link") 2>conftest.er1
14496 ac_status=$?
14497 grep -v '^ *+' conftest.er1 >conftest.err
14498 rm -f conftest.er1
14499 cat conftest.err >&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } && {
14502 test -z "$ac_c_werror_flag" ||
14503 test ! -s conftest.err
14504 } && test -s conftest$ac_exeext &&
14505 $as_test_x conftest$ac_exeext; then
14506 case "$LIBEXT" in
14507 dll) ;;
14508 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'` ;;
14509 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14510 esac
14511 else
14512 echo "$as_me: failed program was:" >&5
14513 sed 's/^/| /' conftest.$ac_ext >&5
14518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14519 conftest$ac_exeext conftest.$ac_ext
14520 LIBS=$ac_check_soname_save_LIBS
14522 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
14523 { echo "$as_me:$LINENO: result: not found" >&5
14524 echo "${ECHO_T}not found" >&6; }
14526 else
14527 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14528 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14530 cat >>confdefs.h <<_ACEOF
14531 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14532 _ACEOF
14537 { echo "$as_me:$LINENO: checking for -lXrender" >&5
14538 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
14539 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14541 else
14542 ac_check_soname_save_LIBS=$LIBS
14543 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14544 cat >conftest.$ac_ext <<_ACEOF
14545 /* confdefs.h. */
14546 _ACEOF
14547 cat confdefs.h >>conftest.$ac_ext
14548 cat >>conftest.$ac_ext <<_ACEOF
14549 /* end confdefs.h. */
14551 /* Override any GCC internal prototype to avoid an error.
14552 Use char because int might match the return type of a GCC
14553 builtin and then its argument prototype would still apply. */
14554 #ifdef __cplusplus
14555 extern "C"
14556 #endif
14557 char XRenderQueryExtension ();
14559 main ()
14561 return XRenderQueryExtension ();
14563 return 0;
14565 _ACEOF
14566 rm -f conftest.$ac_objext conftest$ac_exeext
14567 if { (ac_try="$ac_link"
14568 case "(($ac_try" in
14569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14570 *) ac_try_echo=$ac_try;;
14571 esac
14572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14573 (eval "$ac_link") 2>conftest.er1
14574 ac_status=$?
14575 grep -v '^ *+' conftest.er1 >conftest.err
14576 rm -f conftest.er1
14577 cat conftest.err >&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); } && {
14580 test -z "$ac_c_werror_flag" ||
14581 test ! -s conftest.err
14582 } && test -s conftest$ac_exeext &&
14583 $as_test_x conftest$ac_exeext; then
14584 case "$LIBEXT" in
14585 dll) ;;
14586 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'` ;;
14587 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14588 esac
14589 else
14590 echo "$as_me: failed program was:" >&5
14591 sed 's/^/| /' conftest.$ac_ext >&5
14596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14597 conftest$ac_exeext conftest.$ac_ext
14598 LIBS=$ac_check_soname_save_LIBS
14600 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
14601 { echo "$as_me:$LINENO: result: not found" >&5
14602 echo "${ECHO_T}not found" >&6; }
14604 else
14605 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14606 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14608 cat >>confdefs.h <<_ACEOF
14609 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14610 _ACEOF
14615 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
14616 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
14617 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14618 echo $ECHO_N "(cached) $ECHO_C" >&6
14619 else
14620 ac_check_soname_save_LIBS=$LIBS
14621 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14622 cat >conftest.$ac_ext <<_ACEOF
14623 /* confdefs.h. */
14624 _ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14629 /* Override any GCC internal prototype to avoid an error.
14630 Use char because int might match the return type of a GCC
14631 builtin and then its argument prototype would still apply. */
14632 #ifdef __cplusplus
14633 extern "C"
14634 #endif
14635 char XRRQueryExtension ();
14637 main ()
14639 return XRRQueryExtension ();
14641 return 0;
14643 _ACEOF
14644 rm -f conftest.$ac_objext conftest$ac_exeext
14645 if { (ac_try="$ac_link"
14646 case "(($ac_try" in
14647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14648 *) ac_try_echo=$ac_try;;
14649 esac
14650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14651 (eval "$ac_link") 2>conftest.er1
14652 ac_status=$?
14653 grep -v '^ *+' conftest.er1 >conftest.err
14654 rm -f conftest.er1
14655 cat conftest.err >&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } && {
14658 test -z "$ac_c_werror_flag" ||
14659 test ! -s conftest.err
14660 } && test -s conftest$ac_exeext &&
14661 $as_test_x conftest$ac_exeext; then
14662 case "$LIBEXT" in
14663 dll) ;;
14664 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'` ;;
14665 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14666 esac
14667 else
14668 echo "$as_me: failed program was:" >&5
14669 sed 's/^/| /' conftest.$ac_ext >&5
14674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14675 conftest$ac_exeext conftest.$ac_ext
14676 LIBS=$ac_check_soname_save_LIBS
14678 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
14679 { echo "$as_me:$LINENO: result: not found" >&5
14680 echo "${ECHO_T}not found" >&6; }
14682 else
14683 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14684 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14686 cat >>confdefs.h <<_ACEOF
14687 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14688 _ACEOF
14693 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
14694 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
14695 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14696 echo $ECHO_N "(cached) $ECHO_C" >&6
14697 else
14698 ac_check_soname_save_LIBS=$LIBS
14699 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14700 cat >conftest.$ac_ext <<_ACEOF
14701 /* confdefs.h. */
14702 _ACEOF
14703 cat confdefs.h >>conftest.$ac_ext
14704 cat >>conftest.$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14707 /* Override any GCC internal prototype to avoid an error.
14708 Use char because int might match the return type of a GCC
14709 builtin and then its argument prototype would still apply. */
14710 #ifdef __cplusplus
14711 extern "C"
14712 #endif
14713 char XcursorImageLoadCursor ();
14715 main ()
14717 return XcursorImageLoadCursor ();
14719 return 0;
14721 _ACEOF
14722 rm -f conftest.$ac_objext conftest$ac_exeext
14723 if { (ac_try="$ac_link"
14724 case "(($ac_try" in
14725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14726 *) ac_try_echo=$ac_try;;
14727 esac
14728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14729 (eval "$ac_link") 2>conftest.er1
14730 ac_status=$?
14731 grep -v '^ *+' conftest.er1 >conftest.err
14732 rm -f conftest.er1
14733 cat conftest.err >&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } && {
14736 test -z "$ac_c_werror_flag" ||
14737 test ! -s conftest.err
14738 } && test -s conftest$ac_exeext &&
14739 $as_test_x conftest$ac_exeext; then
14740 case "$LIBEXT" in
14741 dll) ;;
14742 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'` ;;
14743 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14744 esac
14745 else
14746 echo "$as_me: failed program was:" >&5
14747 sed 's/^/| /' conftest.$ac_ext >&5
14752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14753 conftest$ac_exeext conftest.$ac_ext
14754 LIBS=$ac_check_soname_save_LIBS
14756 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
14757 { echo "$as_me:$LINENO: result: not found" >&5
14758 echo "${ECHO_T}not found" >&6; }
14760 else
14761 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
14762 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
14764 cat >>confdefs.h <<_ACEOF
14765 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
14766 _ACEOF
14771 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
14772 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
14773 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14774 echo $ECHO_N "(cached) $ECHO_C" >&6
14775 else
14776 ac_check_soname_save_LIBS=$LIBS
14777 LIBS="-lfreetype $X_LIBS $LIBS"
14778 cat >conftest.$ac_ext <<_ACEOF
14779 /* confdefs.h. */
14780 _ACEOF
14781 cat confdefs.h >>conftest.$ac_ext
14782 cat >>conftest.$ac_ext <<_ACEOF
14783 /* end confdefs.h. */
14785 /* Override any GCC internal prototype to avoid an error.
14786 Use char because int might match the return type of a GCC
14787 builtin and then its argument prototype would still apply. */
14788 #ifdef __cplusplus
14789 extern "C"
14790 #endif
14791 char FT_Init_FreeType ();
14793 main ()
14795 return FT_Init_FreeType ();
14797 return 0;
14799 _ACEOF
14800 rm -f conftest.$ac_objext conftest$ac_exeext
14801 if { (ac_try="$ac_link"
14802 case "(($ac_try" in
14803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14804 *) ac_try_echo=$ac_try;;
14805 esac
14806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14807 (eval "$ac_link") 2>conftest.er1
14808 ac_status=$?
14809 grep -v '^ *+' conftest.er1 >conftest.err
14810 rm -f conftest.er1
14811 cat conftest.err >&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); } && {
14814 test -z "$ac_c_werror_flag" ||
14815 test ! -s conftest.err
14816 } && test -s conftest$ac_exeext &&
14817 $as_test_x conftest$ac_exeext; then
14818 case "$LIBEXT" in
14819 dll) ;;
14820 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'` ;;
14821 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14822 esac
14823 else
14824 echo "$as_me: failed program was:" >&5
14825 sed 's/^/| /' conftest.$ac_ext >&5
14830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14831 conftest$ac_exeext conftest.$ac_ext
14832 LIBS=$ac_check_soname_save_LIBS
14834 if test "x$ac_cv_lib_soname_freetype" = "x"; then
14835 { echo "$as_me:$LINENO: result: not found" >&5
14836 echo "${ECHO_T}not found" >&6; }
14838 else
14839 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14840 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14842 cat >>confdefs.h <<_ACEOF
14843 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14844 _ACEOF
14849 { echo "$as_me:$LINENO: checking for -lGL" >&5
14850 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
14851 if test "${ac_cv_lib_soname_GL+set}" = set; then
14852 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 else
14854 ac_check_soname_save_LIBS=$LIBS
14855 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14856 cat >conftest.$ac_ext <<_ACEOF
14857 /* confdefs.h. */
14858 _ACEOF
14859 cat confdefs.h >>conftest.$ac_ext
14860 cat >>conftest.$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14863 /* Override any GCC internal prototype to avoid an error.
14864 Use char because int might match the return type of a GCC
14865 builtin and then its argument prototype would still apply. */
14866 #ifdef __cplusplus
14867 extern "C"
14868 #endif
14869 char glXQueryExtension ();
14871 main ()
14873 return glXQueryExtension ();
14875 return 0;
14877 _ACEOF
14878 rm -f conftest.$ac_objext conftest$ac_exeext
14879 if { (ac_try="$ac_link"
14880 case "(($ac_try" in
14881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14882 *) ac_try_echo=$ac_try;;
14883 esac
14884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14885 (eval "$ac_link") 2>conftest.er1
14886 ac_status=$?
14887 grep -v '^ *+' conftest.er1 >conftest.err
14888 rm -f conftest.er1
14889 cat conftest.err >&5
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); } && {
14892 test -z "$ac_c_werror_flag" ||
14893 test ! -s conftest.err
14894 } && test -s conftest$ac_exeext &&
14895 $as_test_x conftest$ac_exeext; then
14896 case "$LIBEXT" in
14897 dll) ;;
14898 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'` ;;
14899 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14900 esac
14901 else
14902 echo "$as_me: failed program was:" >&5
14903 sed 's/^/| /' conftest.$ac_ext >&5
14908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_check_soname_save_LIBS
14912 if test "x$ac_cv_lib_soname_GL" = "x"; then
14913 { echo "$as_me:$LINENO: result: not found" >&5
14914 echo "${ECHO_T}not found" >&6; }
14916 else
14917 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14918 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14920 cat >>confdefs.h <<_ACEOF
14921 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14922 _ACEOF
14927 { echo "$as_me:$LINENO: checking for -ltxc_dxtn" >&5
14928 echo $ECHO_N "checking for -ltxc_dxtn... $ECHO_C" >&6; }
14929 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14930 echo $ECHO_N "(cached) $ECHO_C" >&6
14931 else
14932 ac_check_soname_save_LIBS=$LIBS
14933 LIBS="-ltxc_dxtn $LIBS"
14934 cat >conftest.$ac_ext <<_ACEOF
14935 /* confdefs.h. */
14936 _ACEOF
14937 cat confdefs.h >>conftest.$ac_ext
14938 cat >>conftest.$ac_ext <<_ACEOF
14939 /* end confdefs.h. */
14941 /* Override any GCC internal prototype to avoid an error.
14942 Use char because int might match the return type of a GCC
14943 builtin and then its argument prototype would still apply. */
14944 #ifdef __cplusplus
14945 extern "C"
14946 #endif
14947 char fetch_2d_texel_rgba_dxt1 ();
14949 main ()
14951 return fetch_2d_texel_rgba_dxt1 ();
14953 return 0;
14955 _ACEOF
14956 rm -f conftest.$ac_objext conftest$ac_exeext
14957 if { (ac_try="$ac_link"
14958 case "(($ac_try" in
14959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14960 *) ac_try_echo=$ac_try;;
14961 esac
14962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14963 (eval "$ac_link") 2>conftest.er1
14964 ac_status=$?
14965 grep -v '^ *+' conftest.er1 >conftest.err
14966 rm -f conftest.er1
14967 cat conftest.err >&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } && {
14970 test -z "$ac_c_werror_flag" ||
14971 test ! -s conftest.err
14972 } && test -s conftest$ac_exeext &&
14973 $as_test_x conftest$ac_exeext; then
14974 case "$LIBEXT" in
14975 dll) ;;
14976 dylib) ac_cv_lib_soname_txc_dxtn=`otool -L conftest$ac_exeext | grep "libtxc_dxtn\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtxc_dxtn\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14977 *) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtxc_dxtn\\.$LIBEXT" | sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14978 esac
14979 else
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.$ac_ext >&5
14986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14987 conftest$ac_exeext conftest.$ac_ext
14988 LIBS=$ac_check_soname_save_LIBS
14990 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"; then
14991 { echo "$as_me:$LINENO: result: not found" >&5
14992 echo "${ECHO_T}not found" >&6; }
14994 else
14995 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14996 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
14998 cat >>confdefs.h <<_ACEOF
14999 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15000 _ACEOF
15005 { echo "$as_me:$LINENO: checking for -lcups" >&5
15006 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15007 if test "${ac_cv_lib_soname_cups+set}" = set; then
15008 echo $ECHO_N "(cached) $ECHO_C" >&6
15009 else
15010 ac_check_soname_save_LIBS=$LIBS
15011 LIBS="-lcups $LIBS"
15012 cat >conftest.$ac_ext <<_ACEOF
15013 /* confdefs.h. */
15014 _ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15019 /* Override any GCC internal prototype to avoid an error.
15020 Use char because int might match the return type of a GCC
15021 builtin and then its argument prototype would still apply. */
15022 #ifdef __cplusplus
15023 extern "C"
15024 #endif
15025 char cupsGetDefault ();
15027 main ()
15029 return cupsGetDefault ();
15031 return 0;
15033 _ACEOF
15034 rm -f conftest.$ac_objext conftest$ac_exeext
15035 if { (ac_try="$ac_link"
15036 case "(($ac_try" in
15037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15038 *) ac_try_echo=$ac_try;;
15039 esac
15040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15041 (eval "$ac_link") 2>conftest.er1
15042 ac_status=$?
15043 grep -v '^ *+' conftest.er1 >conftest.err
15044 rm -f conftest.er1
15045 cat conftest.err >&5
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); } && {
15048 test -z "$ac_c_werror_flag" ||
15049 test ! -s conftest.err
15050 } && test -s conftest$ac_exeext &&
15051 $as_test_x conftest$ac_exeext; then
15052 case "$LIBEXT" in
15053 dll) ;;
15054 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'` ;;
15055 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15056 esac
15057 else
15058 echo "$as_me: failed program was:" >&5
15059 sed 's/^/| /' conftest.$ac_ext >&5
15064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15065 conftest$ac_exeext conftest.$ac_ext
15066 LIBS=$ac_check_soname_save_LIBS
15068 if test "x$ac_cv_lib_soname_cups" = "x"; then
15069 { echo "$as_me:$LINENO: result: not found" >&5
15070 echo "${ECHO_T}not found" >&6; }
15072 else
15073 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15074 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15076 cat >>confdefs.h <<_ACEOF
15077 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15078 _ACEOF
15083 { echo "$as_me:$LINENO: checking for -ljack" >&5
15084 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15085 if test "${ac_cv_lib_soname_jack+set}" = set; then
15086 echo $ECHO_N "(cached) $ECHO_C" >&6
15087 else
15088 ac_check_soname_save_LIBS=$LIBS
15089 LIBS="-ljack $LIBS"
15090 cat >conftest.$ac_ext <<_ACEOF
15091 /* confdefs.h. */
15092 _ACEOF
15093 cat confdefs.h >>conftest.$ac_ext
15094 cat >>conftest.$ac_ext <<_ACEOF
15095 /* end confdefs.h. */
15097 /* Override any GCC internal prototype to avoid an error.
15098 Use char because int might match the return type of a GCC
15099 builtin and then its argument prototype would still apply. */
15100 #ifdef __cplusplus
15101 extern "C"
15102 #endif
15103 char jack_client_new ();
15105 main ()
15107 return jack_client_new ();
15109 return 0;
15111 _ACEOF
15112 rm -f conftest.$ac_objext conftest$ac_exeext
15113 if { (ac_try="$ac_link"
15114 case "(($ac_try" in
15115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15117 esac
15118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15119 (eval "$ac_link") 2>conftest.er1
15120 ac_status=$?
15121 grep -v '^ *+' conftest.er1 >conftest.err
15122 rm -f conftest.er1
15123 cat conftest.err >&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); } && {
15126 test -z "$ac_c_werror_flag" ||
15127 test ! -s conftest.err
15128 } && test -s conftest$ac_exeext &&
15129 $as_test_x conftest$ac_exeext; then
15130 case "$LIBEXT" in
15131 dll) ;;
15132 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'` ;;
15133 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15134 esac
15135 else
15136 echo "$as_me: failed program was:" >&5
15137 sed 's/^/| /' conftest.$ac_ext >&5
15142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15143 conftest$ac_exeext conftest.$ac_ext
15144 LIBS=$ac_check_soname_save_LIBS
15146 if test "x$ac_cv_lib_soname_jack" = "x"; then
15147 { echo "$as_me:$LINENO: result: not found" >&5
15148 echo "${ECHO_T}not found" >&6; }
15150 else
15151 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15152 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15154 cat >>confdefs.h <<_ACEOF
15155 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15156 _ACEOF
15161 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15162 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15163 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15164 echo $ECHO_N "(cached) $ECHO_C" >&6
15165 else
15166 ac_check_soname_save_LIBS=$LIBS
15167 LIBS="-lfontconfig $LIBS"
15168 cat >conftest.$ac_ext <<_ACEOF
15169 /* confdefs.h. */
15170 _ACEOF
15171 cat confdefs.h >>conftest.$ac_ext
15172 cat >>conftest.$ac_ext <<_ACEOF
15173 /* end confdefs.h. */
15175 /* Override any GCC internal prototype to avoid an error.
15176 Use char because int might match the return type of a GCC
15177 builtin and then its argument prototype would still apply. */
15178 #ifdef __cplusplus
15179 extern "C"
15180 #endif
15181 char FcInit ();
15183 main ()
15185 return FcInit ();
15187 return 0;
15189 _ACEOF
15190 rm -f conftest.$ac_objext conftest$ac_exeext
15191 if { (ac_try="$ac_link"
15192 case "(($ac_try" in
15193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15194 *) ac_try_echo=$ac_try;;
15195 esac
15196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15197 (eval "$ac_link") 2>conftest.er1
15198 ac_status=$?
15199 grep -v '^ *+' conftest.er1 >conftest.err
15200 rm -f conftest.er1
15201 cat conftest.err >&5
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); } && {
15204 test -z "$ac_c_werror_flag" ||
15205 test ! -s conftest.err
15206 } && test -s conftest$ac_exeext &&
15207 $as_test_x conftest$ac_exeext; then
15208 case "$LIBEXT" in
15209 dll) ;;
15210 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'` ;;
15211 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15212 esac
15213 else
15214 echo "$as_me: failed program was:" >&5
15215 sed 's/^/| /' conftest.$ac_ext >&5
15220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15221 conftest$ac_exeext conftest.$ac_ext
15222 LIBS=$ac_check_soname_save_LIBS
15224 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15225 { echo "$as_me:$LINENO: result: not found" >&5
15226 echo "${ECHO_T}not found" >&6; }
15228 else
15229 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15230 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15232 cat >>confdefs.h <<_ACEOF
15233 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15234 _ACEOF
15239 { echo "$as_me:$LINENO: checking for -lssl" >&5
15240 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15241 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15242 echo $ECHO_N "(cached) $ECHO_C" >&6
15243 else
15244 ac_check_soname_save_LIBS=$LIBS
15245 LIBS="-lssl $LIBS"
15246 cat >conftest.$ac_ext <<_ACEOF
15247 /* confdefs.h. */
15248 _ACEOF
15249 cat confdefs.h >>conftest.$ac_ext
15250 cat >>conftest.$ac_ext <<_ACEOF
15251 /* end confdefs.h. */
15253 /* Override any GCC internal prototype to avoid an error.
15254 Use char because int might match the return type of a GCC
15255 builtin and then its argument prototype would still apply. */
15256 #ifdef __cplusplus
15257 extern "C"
15258 #endif
15259 char SSL_library_init ();
15261 main ()
15263 return SSL_library_init ();
15265 return 0;
15267 _ACEOF
15268 rm -f conftest.$ac_objext conftest$ac_exeext
15269 if { (ac_try="$ac_link"
15270 case "(($ac_try" in
15271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15272 *) ac_try_echo=$ac_try;;
15273 esac
15274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15275 (eval "$ac_link") 2>conftest.er1
15276 ac_status=$?
15277 grep -v '^ *+' conftest.er1 >conftest.err
15278 rm -f conftest.er1
15279 cat conftest.err >&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); } && {
15282 test -z "$ac_c_werror_flag" ||
15283 test ! -s conftest.err
15284 } && test -s conftest$ac_exeext &&
15285 $as_test_x conftest$ac_exeext; then
15286 case "$LIBEXT" in
15287 dll) ;;
15288 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'` ;;
15289 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15290 esac
15291 else
15292 echo "$as_me: failed program was:" >&5
15293 sed 's/^/| /' conftest.$ac_ext >&5
15298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15299 conftest$ac_exeext conftest.$ac_ext
15300 LIBS=$ac_check_soname_save_LIBS
15302 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15303 { echo "$as_me:$LINENO: result: not found" >&5
15304 echo "${ECHO_T}not found" >&6; }
15306 else
15307 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15308 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15310 cat >>confdefs.h <<_ACEOF
15311 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15312 _ACEOF
15317 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15318 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15319 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15320 echo $ECHO_N "(cached) $ECHO_C" >&6
15321 else
15322 ac_check_soname_save_LIBS=$LIBS
15323 LIBS="-lcrypto $LIBS"
15324 cat >conftest.$ac_ext <<_ACEOF
15325 /* confdefs.h. */
15326 _ACEOF
15327 cat confdefs.h >>conftest.$ac_ext
15328 cat >>conftest.$ac_ext <<_ACEOF
15329 /* end confdefs.h. */
15331 /* Override any GCC internal prototype to avoid an error.
15332 Use char because int might match the return type of a GCC
15333 builtin and then its argument prototype would still apply. */
15334 #ifdef __cplusplus
15335 extern "C"
15336 #endif
15337 char BIO_new_socket ();
15339 main ()
15341 return BIO_new_socket ();
15343 return 0;
15345 _ACEOF
15346 rm -f conftest.$ac_objext conftest$ac_exeext
15347 if { (ac_try="$ac_link"
15348 case "(($ac_try" in
15349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15350 *) ac_try_echo=$ac_try;;
15351 esac
15352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15353 (eval "$ac_link") 2>conftest.er1
15354 ac_status=$?
15355 grep -v '^ *+' conftest.er1 >conftest.err
15356 rm -f conftest.er1
15357 cat conftest.err >&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } && {
15360 test -z "$ac_c_werror_flag" ||
15361 test ! -s conftest.err
15362 } && test -s conftest$ac_exeext &&
15363 $as_test_x conftest$ac_exeext; then
15364 case "$LIBEXT" in
15365 dll) ;;
15366 dylib) ac_cv_lib_soname_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'` ;;
15367 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15368 esac
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15377 conftest$ac_exeext conftest.$ac_ext
15378 LIBS=$ac_check_soname_save_LIBS
15380 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15381 { echo "$as_me:$LINENO: result: not found" >&5
15382 echo "${ECHO_T}not found" >&6; }
15384 else
15385 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15386 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15388 cat >>confdefs.h <<_ACEOF
15389 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15390 _ACEOF
15395 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15396 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15397 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15398 echo $ECHO_N "(cached) $ECHO_C" >&6
15399 else
15400 ac_check_soname_save_LIBS=$LIBS
15401 LIBS="-ljpeg $LIBS"
15402 cat >conftest.$ac_ext <<_ACEOF
15403 /* confdefs.h. */
15404 _ACEOF
15405 cat confdefs.h >>conftest.$ac_ext
15406 cat >>conftest.$ac_ext <<_ACEOF
15407 /* end confdefs.h. */
15409 /* Override any GCC internal prototype to avoid an error.
15410 Use char because int might match the return type of a GCC
15411 builtin and then its argument prototype would still apply. */
15412 #ifdef __cplusplus
15413 extern "C"
15414 #endif
15415 char jpeg_start_decompress ();
15417 main ()
15419 return jpeg_start_decompress ();
15421 return 0;
15423 _ACEOF
15424 rm -f conftest.$ac_objext conftest$ac_exeext
15425 if { (ac_try="$ac_link"
15426 case "(($ac_try" in
15427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15428 *) ac_try_echo=$ac_try;;
15429 esac
15430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15431 (eval "$ac_link") 2>conftest.er1
15432 ac_status=$?
15433 grep -v '^ *+' conftest.er1 >conftest.err
15434 rm -f conftest.er1
15435 cat conftest.err >&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); } && {
15438 test -z "$ac_c_werror_flag" ||
15439 test ! -s conftest.err
15440 } && test -s conftest$ac_exeext &&
15441 $as_test_x conftest$ac_exeext; then
15442 case "$LIBEXT" in
15443 dll) ;;
15444 dylib) ac_cv_lib_soname_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'` ;;
15445 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15446 esac
15447 else
15448 echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.$ac_ext >&5
15454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15455 conftest$ac_exeext conftest.$ac_ext
15456 LIBS=$ac_check_soname_save_LIBS
15458 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15459 { echo "$as_me:$LINENO: result: not found" >&5
15460 echo "${ECHO_T}not found" >&6; }
15462 else
15463 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15464 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15466 cat >>confdefs.h <<_ACEOF
15467 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15468 _ACEOF
15473 { echo "$as_me:$LINENO: checking for -lsane" >&5
15474 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
15475 if test "${ac_cv_lib_soname_sane+set}" = set; then
15476 echo $ECHO_N "(cached) $ECHO_C" >&6
15477 else
15478 ac_check_soname_save_LIBS=$LIBS
15479 LIBS="-lsane $LIBS"
15480 cat >conftest.$ac_ext <<_ACEOF
15481 /* confdefs.h. */
15482 _ACEOF
15483 cat confdefs.h >>conftest.$ac_ext
15484 cat >>conftest.$ac_ext <<_ACEOF
15485 /* end confdefs.h. */
15487 /* Override any GCC internal prototype to avoid an error.
15488 Use char because int might match the return type of a GCC
15489 builtin and then its argument prototype would still apply. */
15490 #ifdef __cplusplus
15491 extern "C"
15492 #endif
15493 char sane_init ();
15495 main ()
15497 return sane_init ();
15499 return 0;
15501 _ACEOF
15502 rm -f conftest.$ac_objext conftest$ac_exeext
15503 if { (ac_try="$ac_link"
15504 case "(($ac_try" in
15505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15506 *) ac_try_echo=$ac_try;;
15507 esac
15508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15509 (eval "$ac_link") 2>conftest.er1
15510 ac_status=$?
15511 grep -v '^ *+' conftest.er1 >conftest.err
15512 rm -f conftest.er1
15513 cat conftest.err >&5
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); } && {
15516 test -z "$ac_c_werror_flag" ||
15517 test ! -s conftest.err
15518 } && test -s conftest$ac_exeext &&
15519 $as_test_x conftest$ac_exeext; then
15520 case "$LIBEXT" in
15521 dll) ;;
15522 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'` ;;
15523 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15524 esac
15525 else
15526 echo "$as_me: failed program was:" >&5
15527 sed 's/^/| /' conftest.$ac_ext >&5
15532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15533 conftest$ac_exeext conftest.$ac_ext
15534 LIBS=$ac_check_soname_save_LIBS
15536 if test "x$ac_cv_lib_soname_sane" = "x"; then
15537 { echo "$as_me:$LINENO: result: not found" >&5
15538 echo "${ECHO_T}not found" >&6; }
15540 else
15541 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15542 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15544 cat >>confdefs.h <<_ACEOF
15545 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15546 _ACEOF
15615 for ac_func in \
15616 _pclose \
15617 _popen \
15618 _snprintf \
15619 _spawnvp \
15620 _stricmp \
15621 _strnicmp \
15622 _vsnprintf \
15623 asctime_r \
15624 chsize \
15625 clone \
15626 dlopen \
15627 epoll_create \
15628 ffs \
15629 finite \
15630 fork \
15631 fpclass \
15632 fstatfs \
15633 fstatvfs \
15634 ftruncate \
15635 futimes \
15636 futimesat \
15637 getdirentries \
15638 getopt_long \
15639 getpagesize \
15640 getpwuid \
15641 gettid \
15642 gettimeofday \
15643 getuid \
15644 inet_pton \
15645 kqueue \
15646 lstat \
15647 memmove \
15648 mmap \
15649 pclose \
15650 poll \
15651 popen \
15652 prctl \
15653 pread \
15654 pwrite \
15655 readlink \
15656 rfork \
15657 sched_yield \
15658 select \
15659 setrlimit \
15660 settimeofday \
15661 sigaltstack \
15662 sigprocmask \
15663 snprintf \
15664 spawnvp \
15665 statfs \
15666 statvfs \
15667 strcasecmp \
15668 strerror \
15669 strncasecmp \
15670 strtold \
15671 tcgetattr \
15672 timegm \
15673 usleep \
15674 vsnprintf \
15675 wait4 \
15676 waitpid \
15679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15680 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15683 echo $ECHO_N "(cached) $ECHO_C" >&6
15684 else
15685 cat >conftest.$ac_ext <<_ACEOF
15686 /* confdefs.h. */
15687 _ACEOF
15688 cat confdefs.h >>conftest.$ac_ext
15689 cat >>conftest.$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15693 #define $ac_func innocuous_$ac_func
15695 /* System header to define __stub macros and hopefully few prototypes,
15696 which can conflict with char $ac_func (); below.
15697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15698 <limits.h> exists even on freestanding compilers. */
15700 #ifdef __STDC__
15701 # include <limits.h>
15702 #else
15703 # include <assert.h>
15704 #endif
15706 #undef $ac_func
15708 /* Override any GCC internal prototype to avoid an error.
15709 Use char because int might match the return type of a GCC
15710 builtin and then its argument prototype would still apply. */
15711 #ifdef __cplusplus
15712 extern "C"
15713 #endif
15714 char $ac_func ();
15715 /* The GNU C library defines this for functions which it implements
15716 to always fail with ENOSYS. Some functions are actually named
15717 something starting with __ and the normal name is an alias. */
15718 #if defined __stub_$ac_func || defined __stub___$ac_func
15719 choke me
15720 #endif
15723 main ()
15725 return $ac_func ();
15727 return 0;
15729 _ACEOF
15730 rm -f conftest.$ac_objext conftest$ac_exeext
15731 if { (ac_try="$ac_link"
15732 case "(($ac_try" in
15733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15734 *) ac_try_echo=$ac_try;;
15735 esac
15736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15737 (eval "$ac_link") 2>conftest.er1
15738 ac_status=$?
15739 grep -v '^ *+' conftest.er1 >conftest.err
15740 rm -f conftest.er1
15741 cat conftest.err >&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } && {
15744 test -z "$ac_c_werror_flag" ||
15745 test ! -s conftest.err
15746 } && test -s conftest$ac_exeext &&
15747 $as_test_x conftest$ac_exeext; then
15748 eval "$as_ac_var=yes"
15749 else
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.$ac_ext >&5
15753 eval "$as_ac_var=no"
15756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15757 conftest$ac_exeext conftest.$ac_ext
15759 ac_res=`eval echo '${'$as_ac_var'}'`
15760 { echo "$as_me:$LINENO: result: $ac_res" >&5
15761 echo "${ECHO_T}$ac_res" >&6; }
15762 if test `eval echo '${'$as_ac_var'}'` = yes; then
15763 cat >>confdefs.h <<_ACEOF
15764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15765 _ACEOF
15768 done
15771 if test "$ac_cv_func_dlopen" = no
15772 then
15773 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15774 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15775 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15776 echo $ECHO_N "(cached) $ECHO_C" >&6
15777 else
15778 ac_check_lib_save_LIBS=$LIBS
15779 LIBS="-ldl $LIBS"
15780 cat >conftest.$ac_ext <<_ACEOF
15781 /* confdefs.h. */
15782 _ACEOF
15783 cat confdefs.h >>conftest.$ac_ext
15784 cat >>conftest.$ac_ext <<_ACEOF
15785 /* end confdefs.h. */
15787 /* Override any GCC internal prototype to avoid an error.
15788 Use char because int might match the return type of a GCC
15789 builtin and then its argument prototype would still apply. */
15790 #ifdef __cplusplus
15791 extern "C"
15792 #endif
15793 char dlopen ();
15795 main ()
15797 return dlopen ();
15799 return 0;
15801 _ACEOF
15802 rm -f conftest.$ac_objext conftest$ac_exeext
15803 if { (ac_try="$ac_link"
15804 case "(($ac_try" in
15805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15806 *) ac_try_echo=$ac_try;;
15807 esac
15808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15809 (eval "$ac_link") 2>conftest.er1
15810 ac_status=$?
15811 grep -v '^ *+' conftest.er1 >conftest.err
15812 rm -f conftest.er1
15813 cat conftest.err >&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); } && {
15816 test -z "$ac_c_werror_flag" ||
15817 test ! -s conftest.err
15818 } && test -s conftest$ac_exeext &&
15819 $as_test_x conftest$ac_exeext; then
15820 ac_cv_lib_dl_dlopen=yes
15821 else
15822 echo "$as_me: failed program was:" >&5
15823 sed 's/^/| /' conftest.$ac_ext >&5
15825 ac_cv_lib_dl_dlopen=no
15828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15829 conftest$ac_exeext conftest.$ac_ext
15830 LIBS=$ac_check_lib_save_LIBS
15832 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15833 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15834 if test $ac_cv_lib_dl_dlopen = yes; then
15835 cat >>confdefs.h <<\_ACEOF
15836 #define HAVE_DLOPEN 1
15837 _ACEOF
15838 LIBDL="-ldl"
15843 ac_wine_check_funcs_save_LIBS="$LIBS"
15844 LIBS="$LIBS $LIBDL"
15846 for ac_func in dladdr
15848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15849 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15851 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15852 echo $ECHO_N "(cached) $ECHO_C" >&6
15853 else
15854 cat >conftest.$ac_ext <<_ACEOF
15855 /* confdefs.h. */
15856 _ACEOF
15857 cat confdefs.h >>conftest.$ac_ext
15858 cat >>conftest.$ac_ext <<_ACEOF
15859 /* end confdefs.h. */
15860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15862 #define $ac_func innocuous_$ac_func
15864 /* System header to define __stub macros and hopefully few prototypes,
15865 which can conflict with char $ac_func (); below.
15866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15867 <limits.h> exists even on freestanding compilers. */
15869 #ifdef __STDC__
15870 # include <limits.h>
15871 #else
15872 # include <assert.h>
15873 #endif
15875 #undef $ac_func
15877 /* Override any GCC internal prototype to avoid an error.
15878 Use char because int might match the return type of a GCC
15879 builtin and then its argument prototype would still apply. */
15880 #ifdef __cplusplus
15881 extern "C"
15882 #endif
15883 char $ac_func ();
15884 /* The GNU C library defines this for functions which it implements
15885 to always fail with ENOSYS. Some functions are actually named
15886 something starting with __ and the normal name is an alias. */
15887 #if defined __stub_$ac_func || defined __stub___$ac_func
15888 choke me
15889 #endif
15892 main ()
15894 return $ac_func ();
15896 return 0;
15898 _ACEOF
15899 rm -f conftest.$ac_objext conftest$ac_exeext
15900 if { (ac_try="$ac_link"
15901 case "(($ac_try" in
15902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15903 *) ac_try_echo=$ac_try;;
15904 esac
15905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15906 (eval "$ac_link") 2>conftest.er1
15907 ac_status=$?
15908 grep -v '^ *+' conftest.er1 >conftest.err
15909 rm -f conftest.er1
15910 cat conftest.err >&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } && {
15913 test -z "$ac_c_werror_flag" ||
15914 test ! -s conftest.err
15915 } && test -s conftest$ac_exeext &&
15916 $as_test_x conftest$ac_exeext; then
15917 eval "$as_ac_var=yes"
15918 else
15919 echo "$as_me: failed program was:" >&5
15920 sed 's/^/| /' conftest.$ac_ext >&5
15922 eval "$as_ac_var=no"
15925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15926 conftest$ac_exeext conftest.$ac_ext
15928 ac_res=`eval echo '${'$as_ac_var'}'`
15929 { echo "$as_me:$LINENO: result: $ac_res" >&5
15930 echo "${ECHO_T}$ac_res" >&6; }
15931 if test `eval echo '${'$as_ac_var'}'` = yes; then
15932 cat >>confdefs.h <<_ACEOF
15933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15934 _ACEOF
15937 done
15939 LIBS="$ac_wine_check_funcs_save_LIBS"
15941 if test "$ac_cv_func_poll" = no
15942 then
15943 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
15944 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
15945 if test "${ac_cv_lib_poll_poll+set}" = set; then
15946 echo $ECHO_N "(cached) $ECHO_C" >&6
15947 else
15948 ac_check_lib_save_LIBS=$LIBS
15949 LIBS="-lpoll $LIBS"
15950 cat >conftest.$ac_ext <<_ACEOF
15951 /* confdefs.h. */
15952 _ACEOF
15953 cat confdefs.h >>conftest.$ac_ext
15954 cat >>conftest.$ac_ext <<_ACEOF
15955 /* end confdefs.h. */
15957 /* Override any GCC internal prototype to avoid an error.
15958 Use char because int might match the return type of a GCC
15959 builtin and then its argument prototype would still apply. */
15960 #ifdef __cplusplus
15961 extern "C"
15962 #endif
15963 char poll ();
15965 main ()
15967 return poll ();
15969 return 0;
15971 _ACEOF
15972 rm -f conftest.$ac_objext conftest$ac_exeext
15973 if { (ac_try="$ac_link"
15974 case "(($ac_try" in
15975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15976 *) ac_try_echo=$ac_try;;
15977 esac
15978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15979 (eval "$ac_link") 2>conftest.er1
15980 ac_status=$?
15981 grep -v '^ *+' conftest.er1 >conftest.err
15982 rm -f conftest.er1
15983 cat conftest.err >&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } && {
15986 test -z "$ac_c_werror_flag" ||
15987 test ! -s conftest.err
15988 } && test -s conftest$ac_exeext &&
15989 $as_test_x conftest$ac_exeext; then
15990 ac_cv_lib_poll_poll=yes
15991 else
15992 echo "$as_me: failed program was:" >&5
15993 sed 's/^/| /' conftest.$ac_ext >&5
15995 ac_cv_lib_poll_poll=no
15998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15999 conftest$ac_exeext conftest.$ac_ext
16000 LIBS=$ac_check_lib_save_LIBS
16002 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16003 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16004 if test $ac_cv_lib_poll_poll = yes; then
16005 cat >>confdefs.h <<\_ACEOF
16006 #define HAVE_POLL 1
16007 _ACEOF
16008 LIBPOLL="-lpoll"
16014 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16015 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16016 if test "${ac_cv_search_gethostbyname+set}" = set; then
16017 echo $ECHO_N "(cached) $ECHO_C" >&6
16018 else
16019 ac_func_search_save_LIBS=$LIBS
16020 cat >conftest.$ac_ext <<_ACEOF
16021 /* confdefs.h. */
16022 _ACEOF
16023 cat confdefs.h >>conftest.$ac_ext
16024 cat >>conftest.$ac_ext <<_ACEOF
16025 /* end confdefs.h. */
16027 /* Override any GCC internal prototype to avoid an error.
16028 Use char because int might match the return type of a GCC
16029 builtin and then its argument prototype would still apply. */
16030 #ifdef __cplusplus
16031 extern "C"
16032 #endif
16033 char gethostbyname ();
16035 main ()
16037 return gethostbyname ();
16039 return 0;
16041 _ACEOF
16042 for ac_lib in '' nsl; do
16043 if test -z "$ac_lib"; then
16044 ac_res="none required"
16045 else
16046 ac_res=-l$ac_lib
16047 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16049 rm -f conftest.$ac_objext conftest$ac_exeext
16050 if { (ac_try="$ac_link"
16051 case "(($ac_try" in
16052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16053 *) ac_try_echo=$ac_try;;
16054 esac
16055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16056 (eval "$ac_link") 2>conftest.er1
16057 ac_status=$?
16058 grep -v '^ *+' conftest.er1 >conftest.err
16059 rm -f conftest.er1
16060 cat conftest.err >&5
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); } && {
16063 test -z "$ac_c_werror_flag" ||
16064 test ! -s conftest.err
16065 } && test -s conftest$ac_exeext &&
16066 $as_test_x conftest$ac_exeext; then
16067 ac_cv_search_gethostbyname=$ac_res
16068 else
16069 echo "$as_me: failed program was:" >&5
16070 sed 's/^/| /' conftest.$ac_ext >&5
16075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16076 conftest$ac_exeext
16077 if test "${ac_cv_search_gethostbyname+set}" = set; then
16078 break
16080 done
16081 if test "${ac_cv_search_gethostbyname+set}" = set; then
16083 else
16084 ac_cv_search_gethostbyname=no
16086 rm conftest.$ac_ext
16087 LIBS=$ac_func_search_save_LIBS
16089 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16090 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16091 ac_res=$ac_cv_search_gethostbyname
16092 if test "$ac_res" != no; then
16093 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16098 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16099 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16100 if test "${ac_cv_search_connect+set}" = set; then
16101 echo $ECHO_N "(cached) $ECHO_C" >&6
16102 else
16103 ac_func_search_save_LIBS=$LIBS
16104 cat >conftest.$ac_ext <<_ACEOF
16105 /* confdefs.h. */
16106 _ACEOF
16107 cat confdefs.h >>conftest.$ac_ext
16108 cat >>conftest.$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16111 /* Override any GCC internal prototype to avoid an error.
16112 Use char because int might match the return type of a GCC
16113 builtin and then its argument prototype would still apply. */
16114 #ifdef __cplusplus
16115 extern "C"
16116 #endif
16117 char connect ();
16119 main ()
16121 return connect ();
16123 return 0;
16125 _ACEOF
16126 for ac_lib in '' socket; do
16127 if test -z "$ac_lib"; then
16128 ac_res="none required"
16129 else
16130 ac_res=-l$ac_lib
16131 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16133 rm -f conftest.$ac_objext conftest$ac_exeext
16134 if { (ac_try="$ac_link"
16135 case "(($ac_try" in
16136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16137 *) ac_try_echo=$ac_try;;
16138 esac
16139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16140 (eval "$ac_link") 2>conftest.er1
16141 ac_status=$?
16142 grep -v '^ *+' conftest.er1 >conftest.err
16143 rm -f conftest.er1
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } && {
16147 test -z "$ac_c_werror_flag" ||
16148 test ! -s conftest.err
16149 } && test -s conftest$ac_exeext &&
16150 $as_test_x conftest$ac_exeext; then
16151 ac_cv_search_connect=$ac_res
16152 else
16153 echo "$as_me: failed program was:" >&5
16154 sed 's/^/| /' conftest.$ac_ext >&5
16159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16160 conftest$ac_exeext
16161 if test "${ac_cv_search_connect+set}" = set; then
16162 break
16164 done
16165 if test "${ac_cv_search_connect+set}" = set; then
16167 else
16168 ac_cv_search_connect=no
16170 rm conftest.$ac_ext
16171 LIBS=$ac_func_search_save_LIBS
16173 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16174 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16175 ac_res=$ac_cv_search_connect
16176 if test "$ac_res" != no; then
16177 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16182 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16183 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16184 if test "${ac_cv_search_inet_aton+set}" = set; then
16185 echo $ECHO_N "(cached) $ECHO_C" >&6
16186 else
16187 ac_func_search_save_LIBS=$LIBS
16188 cat >conftest.$ac_ext <<_ACEOF
16189 /* confdefs.h. */
16190 _ACEOF
16191 cat confdefs.h >>conftest.$ac_ext
16192 cat >>conftest.$ac_ext <<_ACEOF
16193 /* end confdefs.h. */
16195 /* Override any GCC internal prototype to avoid an error.
16196 Use char because int might match the return type of a GCC
16197 builtin and then its argument prototype would still apply. */
16198 #ifdef __cplusplus
16199 extern "C"
16200 #endif
16201 char inet_aton ();
16203 main ()
16205 return inet_aton ();
16207 return 0;
16209 _ACEOF
16210 for ac_lib in '' resolv; do
16211 if test -z "$ac_lib"; then
16212 ac_res="none required"
16213 else
16214 ac_res=-l$ac_lib
16215 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16217 rm -f conftest.$ac_objext conftest$ac_exeext
16218 if { (ac_try="$ac_link"
16219 case "(($ac_try" in
16220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16221 *) ac_try_echo=$ac_try;;
16222 esac
16223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16224 (eval "$ac_link") 2>conftest.er1
16225 ac_status=$?
16226 grep -v '^ *+' conftest.er1 >conftest.err
16227 rm -f conftest.er1
16228 cat conftest.err >&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } && {
16231 test -z "$ac_c_werror_flag" ||
16232 test ! -s conftest.err
16233 } && test -s conftest$ac_exeext &&
16234 $as_test_x conftest$ac_exeext; then
16235 ac_cv_search_inet_aton=$ac_res
16236 else
16237 echo "$as_me: failed program was:" >&5
16238 sed 's/^/| /' conftest.$ac_ext >&5
16243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16244 conftest$ac_exeext
16245 if test "${ac_cv_search_inet_aton+set}" = set; then
16246 break
16248 done
16249 if test "${ac_cv_search_inet_aton+set}" = set; then
16251 else
16252 ac_cv_search_inet_aton=no
16254 rm conftest.$ac_ext
16255 LIBS=$ac_func_search_save_LIBS
16257 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16258 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16259 ac_res=$ac_cv_search_inet_aton
16260 if test "$ac_res" != no; then
16261 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16274 for ac_func in \
16275 getaddrinfo \
16276 getnameinfo \
16277 getnetbyname \
16278 getprotobyname \
16279 getprotobynumber \
16280 getservbyport \
16281 inet_network \
16282 sendmsg \
16285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16288 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16290 else
16291 cat >conftest.$ac_ext <<_ACEOF
16292 /* confdefs.h. */
16293 _ACEOF
16294 cat confdefs.h >>conftest.$ac_ext
16295 cat >>conftest.$ac_ext <<_ACEOF
16296 /* end confdefs.h. */
16297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16299 #define $ac_func innocuous_$ac_func
16301 /* System header to define __stub macros and hopefully few prototypes,
16302 which can conflict with char $ac_func (); below.
16303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16304 <limits.h> exists even on freestanding compilers. */
16306 #ifdef __STDC__
16307 # include <limits.h>
16308 #else
16309 # include <assert.h>
16310 #endif
16312 #undef $ac_func
16314 /* Override any GCC internal prototype to avoid an error.
16315 Use char because int might match the return type of a GCC
16316 builtin and then its argument prototype would still apply. */
16317 #ifdef __cplusplus
16318 extern "C"
16319 #endif
16320 char $ac_func ();
16321 /* The GNU C library defines this for functions which it implements
16322 to always fail with ENOSYS. Some functions are actually named
16323 something starting with __ and the normal name is an alias. */
16324 #if defined __stub_$ac_func || defined __stub___$ac_func
16325 choke me
16326 #endif
16329 main ()
16331 return $ac_func ();
16333 return 0;
16335 _ACEOF
16336 rm -f conftest.$ac_objext conftest$ac_exeext
16337 if { (ac_try="$ac_link"
16338 case "(($ac_try" in
16339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16340 *) ac_try_echo=$ac_try;;
16341 esac
16342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16343 (eval "$ac_link") 2>conftest.er1
16344 ac_status=$?
16345 grep -v '^ *+' conftest.er1 >conftest.err
16346 rm -f conftest.er1
16347 cat conftest.err >&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } && {
16350 test -z "$ac_c_werror_flag" ||
16351 test ! -s conftest.err
16352 } && test -s conftest$ac_exeext &&
16353 $as_test_x conftest$ac_exeext; then
16354 eval "$as_ac_var=yes"
16355 else
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.$ac_ext >&5
16359 eval "$as_ac_var=no"
16362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16363 conftest$ac_exeext conftest.$ac_ext
16365 ac_res=`eval echo '${'$as_ac_var'}'`
16366 { echo "$as_me:$LINENO: result: $ac_res" >&5
16367 echo "${ECHO_T}$ac_res" >&6; }
16368 if test `eval echo '${'$as_ac_var'}'` = yes; then
16369 cat >>confdefs.h <<_ACEOF
16370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16371 _ACEOF
16374 done
16378 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16379 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16380 if test "${ac_cv_c_const+set}" = set; then
16381 echo $ECHO_N "(cached) $ECHO_C" >&6
16382 else
16383 cat >conftest.$ac_ext <<_ACEOF
16384 /* confdefs.h. */
16385 _ACEOF
16386 cat confdefs.h >>conftest.$ac_ext
16387 cat >>conftest.$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16391 main ()
16393 /* FIXME: Include the comments suggested by Paul. */
16394 #ifndef __cplusplus
16395 /* Ultrix mips cc rejects this. */
16396 typedef int charset[2];
16397 const charset cs;
16398 /* SunOS 4.1.1 cc rejects this. */
16399 char const *const *pcpcc;
16400 char **ppc;
16401 /* NEC SVR4.0.2 mips cc rejects this. */
16402 struct point {int x, y;};
16403 static struct point const zero = {0,0};
16404 /* AIX XL C 1.02.0.0 rejects this.
16405 It does not let you subtract one const X* pointer from another in
16406 an arm of an if-expression whose if-part is not a constant
16407 expression */
16408 const char *g = "string";
16409 pcpcc = &g + (g ? g-g : 0);
16410 /* HPUX 7.0 cc rejects these. */
16411 ++pcpcc;
16412 ppc = (char**) pcpcc;
16413 pcpcc = (char const *const *) ppc;
16414 { /* SCO 3.2v4 cc rejects this. */
16415 char *t;
16416 char const *s = 0 ? (char *) 0 : (char const *) 0;
16418 *t++ = 0;
16419 if (s) return 0;
16421 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16422 int x[] = {25, 17};
16423 const int *foo = &x[0];
16424 ++foo;
16426 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16427 typedef const int *iptr;
16428 iptr p = 0;
16429 ++p;
16431 { /* AIX XL C 1.02.0.0 rejects this saying
16432 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16433 struct s { int j; const int *ap[3]; };
16434 struct s *b; b->j = 5;
16436 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16437 const int foo = 10;
16438 if (!foo) return 0;
16440 return !cs[0] && !zero.x;
16441 #endif
16444 return 0;
16446 _ACEOF
16447 rm -f conftest.$ac_objext
16448 if { (ac_try="$ac_compile"
16449 case "(($ac_try" in
16450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16451 *) ac_try_echo=$ac_try;;
16452 esac
16453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16454 (eval "$ac_compile") 2>conftest.er1
16455 ac_status=$?
16456 grep -v '^ *+' conftest.er1 >conftest.err
16457 rm -f conftest.er1
16458 cat conftest.err >&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); } && {
16461 test -z "$ac_c_werror_flag" ||
16462 test ! -s conftest.err
16463 } && test -s conftest.$ac_objext; then
16464 ac_cv_c_const=yes
16465 else
16466 echo "$as_me: failed program was:" >&5
16467 sed 's/^/| /' conftest.$ac_ext >&5
16469 ac_cv_c_const=no
16472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16474 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16475 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16476 if test $ac_cv_c_const = no; then
16478 cat >>confdefs.h <<\_ACEOF
16479 #define const
16480 _ACEOF
16484 { echo "$as_me:$LINENO: checking for inline" >&5
16485 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16486 if test "${ac_cv_c_inline+set}" = set; then
16487 echo $ECHO_N "(cached) $ECHO_C" >&6
16488 else
16489 ac_cv_c_inline=no
16490 for ac_kw in inline __inline__ __inline; do
16491 cat >conftest.$ac_ext <<_ACEOF
16492 /* confdefs.h. */
16493 _ACEOF
16494 cat confdefs.h >>conftest.$ac_ext
16495 cat >>conftest.$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16497 #ifndef __cplusplus
16498 typedef int foo_t;
16499 static $ac_kw foo_t static_foo () {return 0; }
16500 $ac_kw foo_t foo () {return 0; }
16501 #endif
16503 _ACEOF
16504 rm -f conftest.$ac_objext
16505 if { (ac_try="$ac_compile"
16506 case "(($ac_try" in
16507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16508 *) ac_try_echo=$ac_try;;
16509 esac
16510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16511 (eval "$ac_compile") 2>conftest.er1
16512 ac_status=$?
16513 grep -v '^ *+' conftest.er1 >conftest.err
16514 rm -f conftest.er1
16515 cat conftest.err >&5
16516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517 (exit $ac_status); } && {
16518 test -z "$ac_c_werror_flag" ||
16519 test ! -s conftest.err
16520 } && test -s conftest.$ac_objext; then
16521 ac_cv_c_inline=$ac_kw
16522 else
16523 echo "$as_me: failed program was:" >&5
16524 sed 's/^/| /' conftest.$ac_ext >&5
16529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16530 test "$ac_cv_c_inline" != no && break
16531 done
16534 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16535 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16538 case $ac_cv_c_inline in
16539 inline | yes) ;;
16541 case $ac_cv_c_inline in
16542 no) ac_val=;;
16543 *) ac_val=$ac_cv_c_inline;;
16544 esac
16545 cat >>confdefs.h <<_ACEOF
16546 #ifndef __cplusplus
16547 #define inline $ac_val
16548 #endif
16549 _ACEOF
16551 esac
16553 { echo "$as_me:$LINENO: checking for mode_t" >&5
16554 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16555 if test "${ac_cv_type_mode_t+set}" = set; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 else
16558 cat >conftest.$ac_ext <<_ACEOF
16559 /* confdefs.h. */
16560 _ACEOF
16561 cat confdefs.h >>conftest.$ac_ext
16562 cat >>conftest.$ac_ext <<_ACEOF
16563 /* end confdefs.h. */
16564 $ac_includes_default
16565 typedef mode_t ac__type_new_;
16567 main ()
16569 if ((ac__type_new_ *) 0)
16570 return 0;
16571 if (sizeof (ac__type_new_))
16572 return 0;
16574 return 0;
16576 _ACEOF
16577 rm -f conftest.$ac_objext
16578 if { (ac_try="$ac_compile"
16579 case "(($ac_try" in
16580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16581 *) ac_try_echo=$ac_try;;
16582 esac
16583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16584 (eval "$ac_compile") 2>conftest.er1
16585 ac_status=$?
16586 grep -v '^ *+' conftest.er1 >conftest.err
16587 rm -f conftest.er1
16588 cat conftest.err >&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); } && {
16591 test -z "$ac_c_werror_flag" ||
16592 test ! -s conftest.err
16593 } && test -s conftest.$ac_objext; then
16594 ac_cv_type_mode_t=yes
16595 else
16596 echo "$as_me: failed program was:" >&5
16597 sed 's/^/| /' conftest.$ac_ext >&5
16599 ac_cv_type_mode_t=no
16602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16604 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16605 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16606 if test $ac_cv_type_mode_t = yes; then
16608 cat >>confdefs.h <<_ACEOF
16609 #define HAVE_MODE_T 1
16610 _ACEOF
16614 { echo "$as_me:$LINENO: checking for off_t" >&5
16615 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16616 if test "${ac_cv_type_off_t+set}" = set; then
16617 echo $ECHO_N "(cached) $ECHO_C" >&6
16618 else
16619 cat >conftest.$ac_ext <<_ACEOF
16620 /* confdefs.h. */
16621 _ACEOF
16622 cat confdefs.h >>conftest.$ac_ext
16623 cat >>conftest.$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16625 $ac_includes_default
16626 typedef off_t ac__type_new_;
16628 main ()
16630 if ((ac__type_new_ *) 0)
16631 return 0;
16632 if (sizeof (ac__type_new_))
16633 return 0;
16635 return 0;
16637 _ACEOF
16638 rm -f conftest.$ac_objext
16639 if { (ac_try="$ac_compile"
16640 case "(($ac_try" in
16641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16642 *) ac_try_echo=$ac_try;;
16643 esac
16644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16645 (eval "$ac_compile") 2>conftest.er1
16646 ac_status=$?
16647 grep -v '^ *+' conftest.er1 >conftest.err
16648 rm -f conftest.er1
16649 cat conftest.err >&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } && {
16652 test -z "$ac_c_werror_flag" ||
16653 test ! -s conftest.err
16654 } && test -s conftest.$ac_objext; then
16655 ac_cv_type_off_t=yes
16656 else
16657 echo "$as_me: failed program was:" >&5
16658 sed 's/^/| /' conftest.$ac_ext >&5
16660 ac_cv_type_off_t=no
16663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16665 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16666 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16667 if test $ac_cv_type_off_t = yes; then
16669 cat >>confdefs.h <<_ACEOF
16670 #define HAVE_OFF_T 1
16671 _ACEOF
16675 { echo "$as_me:$LINENO: checking for pid_t" >&5
16676 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16677 if test "${ac_cv_type_pid_t+set}" = set; then
16678 echo $ECHO_N "(cached) $ECHO_C" >&6
16679 else
16680 cat >conftest.$ac_ext <<_ACEOF
16681 /* confdefs.h. */
16682 _ACEOF
16683 cat confdefs.h >>conftest.$ac_ext
16684 cat >>conftest.$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686 $ac_includes_default
16687 typedef pid_t ac__type_new_;
16689 main ()
16691 if ((ac__type_new_ *) 0)
16692 return 0;
16693 if (sizeof (ac__type_new_))
16694 return 0;
16696 return 0;
16698 _ACEOF
16699 rm -f conftest.$ac_objext
16700 if { (ac_try="$ac_compile"
16701 case "(($ac_try" in
16702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16703 *) ac_try_echo=$ac_try;;
16704 esac
16705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16706 (eval "$ac_compile") 2>conftest.er1
16707 ac_status=$?
16708 grep -v '^ *+' conftest.er1 >conftest.err
16709 rm -f conftest.er1
16710 cat conftest.err >&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } && {
16713 test -z "$ac_c_werror_flag" ||
16714 test ! -s conftest.err
16715 } && test -s conftest.$ac_objext; then
16716 ac_cv_type_pid_t=yes
16717 else
16718 echo "$as_me: failed program was:" >&5
16719 sed 's/^/| /' conftest.$ac_ext >&5
16721 ac_cv_type_pid_t=no
16724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16726 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16727 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16728 if test $ac_cv_type_pid_t = yes; then
16730 cat >>confdefs.h <<_ACEOF
16731 #define HAVE_PID_T 1
16732 _ACEOF
16736 { echo "$as_me:$LINENO: checking for size_t" >&5
16737 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16738 if test "${ac_cv_type_size_t+set}" = set; then
16739 echo $ECHO_N "(cached) $ECHO_C" >&6
16740 else
16741 cat >conftest.$ac_ext <<_ACEOF
16742 /* confdefs.h. */
16743 _ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 $ac_includes_default
16748 typedef size_t ac__type_new_;
16750 main ()
16752 if ((ac__type_new_ *) 0)
16753 return 0;
16754 if (sizeof (ac__type_new_))
16755 return 0;
16757 return 0;
16759 _ACEOF
16760 rm -f conftest.$ac_objext
16761 if { (ac_try="$ac_compile"
16762 case "(($ac_try" in
16763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16764 *) ac_try_echo=$ac_try;;
16765 esac
16766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_compile") 2>conftest.er1
16768 ac_status=$?
16769 grep -v '^ *+' conftest.er1 >conftest.err
16770 rm -f conftest.er1
16771 cat conftest.err >&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); } && {
16774 test -z "$ac_c_werror_flag" ||
16775 test ! -s conftest.err
16776 } && test -s conftest.$ac_objext; then
16777 ac_cv_type_size_t=yes
16778 else
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16782 ac_cv_type_size_t=no
16785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16787 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16788 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16789 if test $ac_cv_type_size_t = yes; then
16791 cat >>confdefs.h <<_ACEOF
16792 #define HAVE_SIZE_T 1
16793 _ACEOF
16797 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16798 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16799 if test "${ac_cv_type_ssize_t+set}" = set; then
16800 echo $ECHO_N "(cached) $ECHO_C" >&6
16801 else
16802 cat >conftest.$ac_ext <<_ACEOF
16803 /* confdefs.h. */
16804 _ACEOF
16805 cat confdefs.h >>conftest.$ac_ext
16806 cat >>conftest.$ac_ext <<_ACEOF
16807 /* end confdefs.h. */
16808 $ac_includes_default
16809 typedef ssize_t ac__type_new_;
16811 main ()
16813 if ((ac__type_new_ *) 0)
16814 return 0;
16815 if (sizeof (ac__type_new_))
16816 return 0;
16818 return 0;
16820 _ACEOF
16821 rm -f conftest.$ac_objext
16822 if { (ac_try="$ac_compile"
16823 case "(($ac_try" in
16824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16825 *) ac_try_echo=$ac_try;;
16826 esac
16827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16828 (eval "$ac_compile") 2>conftest.er1
16829 ac_status=$?
16830 grep -v '^ *+' conftest.er1 >conftest.err
16831 rm -f conftest.er1
16832 cat conftest.err >&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } && {
16835 test -z "$ac_c_werror_flag" ||
16836 test ! -s conftest.err
16837 } && test -s conftest.$ac_objext; then
16838 ac_cv_type_ssize_t=yes
16839 else
16840 echo "$as_me: failed program was:" >&5
16841 sed 's/^/| /' conftest.$ac_ext >&5
16843 ac_cv_type_ssize_t=no
16846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16848 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16849 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16850 if test $ac_cv_type_ssize_t = yes; then
16852 cat >>confdefs.h <<_ACEOF
16853 #define HAVE_SSIZE_T 1
16854 _ACEOF
16858 { echo "$as_me:$LINENO: checking for long long" >&5
16859 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16860 if test "${ac_cv_type_long_long+set}" = set; then
16861 echo $ECHO_N "(cached) $ECHO_C" >&6
16862 else
16863 cat >conftest.$ac_ext <<_ACEOF
16864 /* confdefs.h. */
16865 _ACEOF
16866 cat confdefs.h >>conftest.$ac_ext
16867 cat >>conftest.$ac_ext <<_ACEOF
16868 /* end confdefs.h. */
16869 $ac_includes_default
16870 typedef long long ac__type_new_;
16872 main ()
16874 if ((ac__type_new_ *) 0)
16875 return 0;
16876 if (sizeof (ac__type_new_))
16877 return 0;
16879 return 0;
16881 _ACEOF
16882 rm -f conftest.$ac_objext
16883 if { (ac_try="$ac_compile"
16884 case "(($ac_try" in
16885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16886 *) ac_try_echo=$ac_try;;
16887 esac
16888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16889 (eval "$ac_compile") 2>conftest.er1
16890 ac_status=$?
16891 grep -v '^ *+' conftest.er1 >conftest.err
16892 rm -f conftest.er1
16893 cat conftest.err >&5
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895 (exit $ac_status); } && {
16896 test -z "$ac_c_werror_flag" ||
16897 test ! -s conftest.err
16898 } && test -s conftest.$ac_objext; then
16899 ac_cv_type_long_long=yes
16900 else
16901 echo "$as_me: failed program was:" >&5
16902 sed 's/^/| /' conftest.$ac_ext >&5
16904 ac_cv_type_long_long=no
16907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16909 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16910 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16911 if test $ac_cv_type_long_long = yes; then
16913 cat >>confdefs.h <<_ACEOF
16914 #define HAVE_LONG_LONG 1
16915 _ACEOF
16919 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16920 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16921 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16923 else
16924 cat >conftest.$ac_ext <<_ACEOF
16925 /* confdefs.h. */
16926 _ACEOF
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16930 $ac_includes_default
16931 typedef fsblkcnt_t ac__type_new_;
16933 main ()
16935 if ((ac__type_new_ *) 0)
16936 return 0;
16937 if (sizeof (ac__type_new_))
16938 return 0;
16940 return 0;
16942 _ACEOF
16943 rm -f conftest.$ac_objext
16944 if { (ac_try="$ac_compile"
16945 case "(($ac_try" in
16946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16947 *) ac_try_echo=$ac_try;;
16948 esac
16949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16950 (eval "$ac_compile") 2>conftest.er1
16951 ac_status=$?
16952 grep -v '^ *+' conftest.er1 >conftest.err
16953 rm -f conftest.er1
16954 cat conftest.err >&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); } && {
16957 test -z "$ac_c_werror_flag" ||
16958 test ! -s conftest.err
16959 } && test -s conftest.$ac_objext; then
16960 ac_cv_type_fsblkcnt_t=yes
16961 else
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.$ac_ext >&5
16965 ac_cv_type_fsblkcnt_t=no
16968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16970 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16971 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
16972 if test $ac_cv_type_fsblkcnt_t = yes; then
16974 cat >>confdefs.h <<_ACEOF
16975 #define HAVE_FSBLKCNT_T 1
16976 _ACEOF
16980 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
16981 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
16982 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
16983 echo $ECHO_N "(cached) $ECHO_C" >&6
16984 else
16985 cat >conftest.$ac_ext <<_ACEOF
16986 /* confdefs.h. */
16987 _ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991 $ac_includes_default
16992 typedef fsfilcnt_t ac__type_new_;
16994 main ()
16996 if ((ac__type_new_ *) 0)
16997 return 0;
16998 if (sizeof (ac__type_new_))
16999 return 0;
17001 return 0;
17003 _ACEOF
17004 rm -f conftest.$ac_objext
17005 if { (ac_try="$ac_compile"
17006 case "(($ac_try" in
17007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17008 *) ac_try_echo=$ac_try;;
17009 esac
17010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17011 (eval "$ac_compile") 2>conftest.er1
17012 ac_status=$?
17013 grep -v '^ *+' conftest.er1 >conftest.err
17014 rm -f conftest.er1
17015 cat conftest.err >&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); } && {
17018 test -z "$ac_c_werror_flag" ||
17019 test ! -s conftest.err
17020 } && test -s conftest.$ac_objext; then
17021 ac_cv_type_fsfilcnt_t=yes
17022 else
17023 echo "$as_me: failed program was:" >&5
17024 sed 's/^/| /' conftest.$ac_ext >&5
17026 ac_cv_type_fsfilcnt_t=no
17029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17031 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17032 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17033 if test $ac_cv_type_fsfilcnt_t = yes; then
17035 cat >>confdefs.h <<_ACEOF
17036 #define HAVE_FSFILCNT_T 1
17037 _ACEOF
17042 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17043 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17044 if test "${ac_cv_type_sigset_t+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 else
17047 cat >conftest.$ac_ext <<_ACEOF
17048 /* confdefs.h. */
17049 _ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 #include <signal.h>
17055 typedef sigset_t ac__type_new_;
17057 main ()
17059 if ((ac__type_new_ *) 0)
17060 return 0;
17061 if (sizeof (ac__type_new_))
17062 return 0;
17064 return 0;
17066 _ACEOF
17067 rm -f conftest.$ac_objext
17068 if { (ac_try="$ac_compile"
17069 case "(($ac_try" in
17070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17071 *) ac_try_echo=$ac_try;;
17072 esac
17073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17074 (eval "$ac_compile") 2>conftest.er1
17075 ac_status=$?
17076 grep -v '^ *+' conftest.er1 >conftest.err
17077 rm -f conftest.er1
17078 cat conftest.err >&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); } && {
17081 test -z "$ac_c_werror_flag" ||
17082 test ! -s conftest.err
17083 } && test -s conftest.$ac_objext; then
17084 ac_cv_type_sigset_t=yes
17085 else
17086 echo "$as_me: failed program was:" >&5
17087 sed 's/^/| /' conftest.$ac_ext >&5
17089 ac_cv_type_sigset_t=no
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17094 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17095 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17096 if test $ac_cv_type_sigset_t = yes; then
17098 cat >>confdefs.h <<_ACEOF
17099 #define HAVE_SIGSET_T 1
17100 _ACEOF
17105 { echo "$as_me:$LINENO: checking for request_sense" >&5
17106 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17107 if test "${ac_cv_type_request_sense+set}" = set; then
17108 echo $ECHO_N "(cached) $ECHO_C" >&6
17109 else
17110 cat >conftest.$ac_ext <<_ACEOF
17111 /* confdefs.h. */
17112 _ACEOF
17113 cat confdefs.h >>conftest.$ac_ext
17114 cat >>conftest.$ac_ext <<_ACEOF
17115 /* end confdefs.h. */
17116 #include <linux/cdrom.h>
17118 typedef request_sense ac__type_new_;
17120 main ()
17122 if ((ac__type_new_ *) 0)
17123 return 0;
17124 if (sizeof (ac__type_new_))
17125 return 0;
17127 return 0;
17129 _ACEOF
17130 rm -f conftest.$ac_objext
17131 if { (ac_try="$ac_compile"
17132 case "(($ac_try" in
17133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17134 *) ac_try_echo=$ac_try;;
17135 esac
17136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17137 (eval "$ac_compile") 2>conftest.er1
17138 ac_status=$?
17139 grep -v '^ *+' conftest.er1 >conftest.err
17140 rm -f conftest.er1
17141 cat conftest.err >&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); } && {
17144 test -z "$ac_c_werror_flag" ||
17145 test ! -s conftest.err
17146 } && test -s conftest.$ac_objext; then
17147 ac_cv_type_request_sense=yes
17148 else
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.$ac_ext >&5
17152 ac_cv_type_request_sense=no
17155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17157 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17158 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17159 if test $ac_cv_type_request_sense = yes; then
17161 cat >>confdefs.h <<_ACEOF
17162 #define HAVE_REQUEST_SENSE 1
17163 _ACEOF
17169 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17170 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17171 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17172 echo $ECHO_N "(cached) $ECHO_C" >&6
17173 else
17174 cat >conftest.$ac_ext <<_ACEOF
17175 /* confdefs.h. */
17176 _ACEOF
17177 cat confdefs.h >>conftest.$ac_ext
17178 cat >>conftest.$ac_ext <<_ACEOF
17179 /* end confdefs.h. */
17180 #ifdef HAVE_LINUX_INPUT_H
17181 #include <linux/input.h>
17182 #endif
17185 main ()
17187 static struct ff_effect ac_aggr;
17188 if (ac_aggr.direction)
17189 return 0;
17191 return 0;
17193 _ACEOF
17194 rm -f conftest.$ac_objext
17195 if { (ac_try="$ac_compile"
17196 case "(($ac_try" in
17197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17198 *) ac_try_echo=$ac_try;;
17199 esac
17200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17201 (eval "$ac_compile") 2>conftest.er1
17202 ac_status=$?
17203 grep -v '^ *+' conftest.er1 >conftest.err
17204 rm -f conftest.er1
17205 cat conftest.err >&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); } && {
17208 test -z "$ac_c_werror_flag" ||
17209 test ! -s conftest.err
17210 } && test -s conftest.$ac_objext; then
17211 ac_cv_member_struct_ff_effect_direction=yes
17212 else
17213 echo "$as_me: failed program was:" >&5
17214 sed 's/^/| /' conftest.$ac_ext >&5
17216 cat >conftest.$ac_ext <<_ACEOF
17217 /* confdefs.h. */
17218 _ACEOF
17219 cat confdefs.h >>conftest.$ac_ext
17220 cat >>conftest.$ac_ext <<_ACEOF
17221 /* end confdefs.h. */
17222 #ifdef HAVE_LINUX_INPUT_H
17223 #include <linux/input.h>
17224 #endif
17227 main ()
17229 static struct ff_effect ac_aggr;
17230 if (sizeof ac_aggr.direction)
17231 return 0;
17233 return 0;
17235 _ACEOF
17236 rm -f conftest.$ac_objext
17237 if { (ac_try="$ac_compile"
17238 case "(($ac_try" in
17239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17240 *) ac_try_echo=$ac_try;;
17241 esac
17242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17243 (eval "$ac_compile") 2>conftest.er1
17244 ac_status=$?
17245 grep -v '^ *+' conftest.er1 >conftest.err
17246 rm -f conftest.er1
17247 cat conftest.err >&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } && {
17250 test -z "$ac_c_werror_flag" ||
17251 test ! -s conftest.err
17252 } && test -s conftest.$ac_objext; then
17253 ac_cv_member_struct_ff_effect_direction=yes
17254 else
17255 echo "$as_me: failed program was:" >&5
17256 sed 's/^/| /' conftest.$ac_ext >&5
17258 ac_cv_member_struct_ff_effect_direction=no
17261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17266 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17267 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17268 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17270 cat >>confdefs.h <<_ACEOF
17271 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17272 _ACEOF
17278 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17279 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17280 if test "${wine_cv_have_sigaddset+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17282 else
17283 cat >conftest.$ac_ext <<_ACEOF
17284 /* confdefs.h. */
17285 _ACEOF
17286 cat confdefs.h >>conftest.$ac_ext
17287 cat >>conftest.$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17289 #include <signal.h>
17291 main ()
17293 sigset_t set; sigaddset(&set,SIGTERM);
17295 return 0;
17297 _ACEOF
17298 rm -f conftest.$ac_objext conftest$ac_exeext
17299 if { (ac_try="$ac_link"
17300 case "(($ac_try" in
17301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17302 *) ac_try_echo=$ac_try;;
17303 esac
17304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17305 (eval "$ac_link") 2>conftest.er1
17306 ac_status=$?
17307 grep -v '^ *+' conftest.er1 >conftest.err
17308 rm -f conftest.er1
17309 cat conftest.err >&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } && {
17312 test -z "$ac_c_werror_flag" ||
17313 test ! -s conftest.err
17314 } && test -s conftest$ac_exeext &&
17315 $as_test_x conftest$ac_exeext; then
17316 wine_cv_have_sigaddset=yes
17317 else
17318 echo "$as_me: failed program was:" >&5
17319 sed 's/^/| /' conftest.$ac_ext >&5
17321 wine_cv_have_sigaddset=no
17324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17325 conftest$ac_exeext conftest.$ac_ext
17327 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17328 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17329 if test "$wine_cv_have_sigaddset" = "yes"
17330 then
17332 cat >>confdefs.h <<\_ACEOF
17333 #define HAVE_SIGADDSET 1
17334 _ACEOF
17339 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17340 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17341 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17342 echo $ECHO_N "(cached) $ECHO_C" >&6
17343 else
17344 cat >conftest.$ac_ext <<_ACEOF
17345 /* confdefs.h. */
17346 _ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17350 #include <netdb.h>
17352 main ()
17355 char *name=NULL;
17356 struct hostent he;
17357 struct hostent *result;
17358 char *buf=NULL;
17359 int bufsize=0;
17360 int res,errnr;
17361 char *addr=NULL;
17362 int addrlen=0;
17363 int addrtype=0;
17364 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17365 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17368 return 0;
17370 _ACEOF
17371 rm -f conftest.$ac_objext conftest$ac_exeext
17372 if { (ac_try="$ac_link"
17373 case "(($ac_try" in
17374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17375 *) ac_try_echo=$ac_try;;
17376 esac
17377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17378 (eval "$ac_link") 2>conftest.er1
17379 ac_status=$?
17380 grep -v '^ *+' conftest.er1 >conftest.err
17381 rm -f conftest.er1
17382 cat conftest.err >&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); } && {
17385 test -z "$ac_c_werror_flag" ||
17386 test ! -s conftest.err
17387 } && test -s conftest$ac_exeext &&
17388 $as_test_x conftest$ac_exeext; then
17389 wine_cv_linux_gethostbyname_r_6=yes
17390 else
17391 echo "$as_me: failed program was:" >&5
17392 sed 's/^/| /' conftest.$ac_ext >&5
17394 wine_cv_linux_gethostbyname_r_6=no
17398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17399 conftest$ac_exeext conftest.$ac_ext
17402 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17403 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17404 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17405 then
17407 cat >>confdefs.h <<\_ACEOF
17408 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17409 _ACEOF
17413 if test "$ac_cv_header_linux_joystick_h" = "yes"
17414 then
17415 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17416 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17417 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17418 echo $ECHO_N "(cached) $ECHO_C" >&6
17419 else
17420 cat >conftest.$ac_ext <<_ACEOF
17421 /* confdefs.h. */
17422 _ACEOF
17423 cat confdefs.h >>conftest.$ac_ext
17424 cat >>conftest.$ac_ext <<_ACEOF
17425 /* end confdefs.h. */
17427 #include <sys/ioctl.h>
17428 #include <sys/types.h>
17429 #include <linux/joystick.h>
17431 struct js_event blub;
17432 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17433 #error "no 2.2 header"
17434 #endif
17437 main ()
17439 /*empty*/
17441 return 0;
17443 _ACEOF
17444 rm -f conftest.$ac_objext
17445 if { (ac_try="$ac_compile"
17446 case "(($ac_try" in
17447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17448 *) ac_try_echo=$ac_try;;
17449 esac
17450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17451 (eval "$ac_compile") 2>conftest.er1
17452 ac_status=$?
17453 grep -v '^ *+' conftest.er1 >conftest.err
17454 rm -f conftest.er1
17455 cat conftest.err >&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); } && {
17458 test -z "$ac_c_werror_flag" ||
17459 test ! -s conftest.err
17460 } && test -s conftest.$ac_objext; then
17461 wine_cv_linux_joystick_22_api=yes
17462 else
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.$ac_ext >&5
17466 wine_cv_linux_joystick_22_api=no
17469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17472 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17473 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17474 if test "$wine_cv_linux_joystick_22_api" = "yes"
17475 then
17477 cat >>confdefs.h <<\_ACEOF
17478 #define HAVE_LINUX_22_JOYSTICK_API 1
17479 _ACEOF
17485 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17486 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17487 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17488 echo $ECHO_N "(cached) $ECHO_C" >&6
17489 else
17490 cat >conftest.$ac_ext <<_ACEOF
17491 /* confdefs.h. */
17492 _ACEOF
17493 cat confdefs.h >>conftest.$ac_ext
17494 cat >>conftest.$ac_ext <<_ACEOF
17495 /* end confdefs.h. */
17496 #include <sys/types.h>
17497 #ifdef HAVE_SYS_PARAM_H
17498 # include <sys/param.h>
17499 #endif
17500 #ifdef HAVE_SYS_MOUNT_H
17501 # include <sys/mount.h>
17502 #endif
17503 #ifdef HAVE_SYS_VFS_H
17504 # include <sys/vfs.h>
17505 #endif
17506 #ifdef HAVE_SYS_STATFS_H
17507 # include <sys/statfs.h>
17508 #endif
17511 main ()
17513 static struct statfs ac_aggr;
17514 if (ac_aggr.f_bfree)
17515 return 0;
17517 return 0;
17519 _ACEOF
17520 rm -f conftest.$ac_objext
17521 if { (ac_try="$ac_compile"
17522 case "(($ac_try" in
17523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17524 *) ac_try_echo=$ac_try;;
17525 esac
17526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17527 (eval "$ac_compile") 2>conftest.er1
17528 ac_status=$?
17529 grep -v '^ *+' conftest.er1 >conftest.err
17530 rm -f conftest.er1
17531 cat conftest.err >&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } && {
17534 test -z "$ac_c_werror_flag" ||
17535 test ! -s conftest.err
17536 } && test -s conftest.$ac_objext; then
17537 ac_cv_member_struct_statfs_f_bfree=yes
17538 else
17539 echo "$as_me: failed program was:" >&5
17540 sed 's/^/| /' conftest.$ac_ext >&5
17542 cat >conftest.$ac_ext <<_ACEOF
17543 /* confdefs.h. */
17544 _ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 #include <sys/types.h>
17549 #ifdef HAVE_SYS_PARAM_H
17550 # include <sys/param.h>
17551 #endif
17552 #ifdef HAVE_SYS_MOUNT_H
17553 # include <sys/mount.h>
17554 #endif
17555 #ifdef HAVE_SYS_VFS_H
17556 # include <sys/vfs.h>
17557 #endif
17558 #ifdef HAVE_SYS_STATFS_H
17559 # include <sys/statfs.h>
17560 #endif
17563 main ()
17565 static struct statfs ac_aggr;
17566 if (sizeof ac_aggr.f_bfree)
17567 return 0;
17569 return 0;
17571 _ACEOF
17572 rm -f conftest.$ac_objext
17573 if { (ac_try="$ac_compile"
17574 case "(($ac_try" in
17575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17576 *) ac_try_echo=$ac_try;;
17577 esac
17578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17579 (eval "$ac_compile") 2>conftest.er1
17580 ac_status=$?
17581 grep -v '^ *+' conftest.er1 >conftest.err
17582 rm -f conftest.er1
17583 cat conftest.err >&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); } && {
17586 test -z "$ac_c_werror_flag" ||
17587 test ! -s conftest.err
17588 } && test -s conftest.$ac_objext; then
17589 ac_cv_member_struct_statfs_f_bfree=yes
17590 else
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.$ac_ext >&5
17594 ac_cv_member_struct_statfs_f_bfree=no
17597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17602 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17603 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17604 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17606 cat >>confdefs.h <<_ACEOF
17607 #define HAVE_STRUCT_STATFS_F_BFREE 1
17608 _ACEOF
17612 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17613 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17614 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17615 echo $ECHO_N "(cached) $ECHO_C" >&6
17616 else
17617 cat >conftest.$ac_ext <<_ACEOF
17618 /* confdefs.h. */
17619 _ACEOF
17620 cat confdefs.h >>conftest.$ac_ext
17621 cat >>conftest.$ac_ext <<_ACEOF
17622 /* end confdefs.h. */
17623 #include <sys/types.h>
17624 #ifdef HAVE_SYS_PARAM_H
17625 # include <sys/param.h>
17626 #endif
17627 #ifdef HAVE_SYS_MOUNT_H
17628 # include <sys/mount.h>
17629 #endif
17630 #ifdef HAVE_SYS_VFS_H
17631 # include <sys/vfs.h>
17632 #endif
17633 #ifdef HAVE_SYS_STATFS_H
17634 # include <sys/statfs.h>
17635 #endif
17638 main ()
17640 static struct statfs ac_aggr;
17641 if (ac_aggr.f_bavail)
17642 return 0;
17644 return 0;
17646 _ACEOF
17647 rm -f conftest.$ac_objext
17648 if { (ac_try="$ac_compile"
17649 case "(($ac_try" in
17650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17651 *) ac_try_echo=$ac_try;;
17652 esac
17653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17654 (eval "$ac_compile") 2>conftest.er1
17655 ac_status=$?
17656 grep -v '^ *+' conftest.er1 >conftest.err
17657 rm -f conftest.er1
17658 cat conftest.err >&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); } && {
17661 test -z "$ac_c_werror_flag" ||
17662 test ! -s conftest.err
17663 } && test -s conftest.$ac_objext; then
17664 ac_cv_member_struct_statfs_f_bavail=yes
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 cat >conftest.$ac_ext <<_ACEOF
17670 /* confdefs.h. */
17671 _ACEOF
17672 cat confdefs.h >>conftest.$ac_ext
17673 cat >>conftest.$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17675 #include <sys/types.h>
17676 #ifdef HAVE_SYS_PARAM_H
17677 # include <sys/param.h>
17678 #endif
17679 #ifdef HAVE_SYS_MOUNT_H
17680 # include <sys/mount.h>
17681 #endif
17682 #ifdef HAVE_SYS_VFS_H
17683 # include <sys/vfs.h>
17684 #endif
17685 #ifdef HAVE_SYS_STATFS_H
17686 # include <sys/statfs.h>
17687 #endif
17690 main ()
17692 static struct statfs ac_aggr;
17693 if (sizeof ac_aggr.f_bavail)
17694 return 0;
17696 return 0;
17698 _ACEOF
17699 rm -f conftest.$ac_objext
17700 if { (ac_try="$ac_compile"
17701 case "(($ac_try" in
17702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17703 *) ac_try_echo=$ac_try;;
17704 esac
17705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17706 (eval "$ac_compile") 2>conftest.er1
17707 ac_status=$?
17708 grep -v '^ *+' conftest.er1 >conftest.err
17709 rm -f conftest.er1
17710 cat conftest.err >&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); } && {
17713 test -z "$ac_c_werror_flag" ||
17714 test ! -s conftest.err
17715 } && test -s conftest.$ac_objext; then
17716 ac_cv_member_struct_statfs_f_bavail=yes
17717 else
17718 echo "$as_me: failed program was:" >&5
17719 sed 's/^/| /' conftest.$ac_ext >&5
17721 ac_cv_member_struct_statfs_f_bavail=no
17724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17729 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17730 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17731 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17733 cat >>confdefs.h <<_ACEOF
17734 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17735 _ACEOF
17739 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17740 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17741 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17742 echo $ECHO_N "(cached) $ECHO_C" >&6
17743 else
17744 cat >conftest.$ac_ext <<_ACEOF
17745 /* confdefs.h. */
17746 _ACEOF
17747 cat confdefs.h >>conftest.$ac_ext
17748 cat >>conftest.$ac_ext <<_ACEOF
17749 /* end confdefs.h. */
17750 #include <sys/types.h>
17751 #ifdef HAVE_SYS_PARAM_H
17752 # include <sys/param.h>
17753 #endif
17754 #ifdef HAVE_SYS_MOUNT_H
17755 # include <sys/mount.h>
17756 #endif
17757 #ifdef HAVE_SYS_VFS_H
17758 # include <sys/vfs.h>
17759 #endif
17760 #ifdef HAVE_SYS_STATFS_H
17761 # include <sys/statfs.h>
17762 #endif
17765 main ()
17767 static struct statfs ac_aggr;
17768 if (ac_aggr.f_frsize)
17769 return 0;
17771 return 0;
17773 _ACEOF
17774 rm -f conftest.$ac_objext
17775 if { (ac_try="$ac_compile"
17776 case "(($ac_try" in
17777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17778 *) ac_try_echo=$ac_try;;
17779 esac
17780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17781 (eval "$ac_compile") 2>conftest.er1
17782 ac_status=$?
17783 grep -v '^ *+' conftest.er1 >conftest.err
17784 rm -f conftest.er1
17785 cat conftest.err >&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); } && {
17788 test -z "$ac_c_werror_flag" ||
17789 test ! -s conftest.err
17790 } && test -s conftest.$ac_objext; then
17791 ac_cv_member_struct_statfs_f_frsize=yes
17792 else
17793 echo "$as_me: failed program was:" >&5
17794 sed 's/^/| /' conftest.$ac_ext >&5
17796 cat >conftest.$ac_ext <<_ACEOF
17797 /* confdefs.h. */
17798 _ACEOF
17799 cat confdefs.h >>conftest.$ac_ext
17800 cat >>conftest.$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 #include <sys/types.h>
17803 #ifdef HAVE_SYS_PARAM_H
17804 # include <sys/param.h>
17805 #endif
17806 #ifdef HAVE_SYS_MOUNT_H
17807 # include <sys/mount.h>
17808 #endif
17809 #ifdef HAVE_SYS_VFS_H
17810 # include <sys/vfs.h>
17811 #endif
17812 #ifdef HAVE_SYS_STATFS_H
17813 # include <sys/statfs.h>
17814 #endif
17817 main ()
17819 static struct statfs ac_aggr;
17820 if (sizeof ac_aggr.f_frsize)
17821 return 0;
17823 return 0;
17825 _ACEOF
17826 rm -f conftest.$ac_objext
17827 if { (ac_try="$ac_compile"
17828 case "(($ac_try" in
17829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17830 *) ac_try_echo=$ac_try;;
17831 esac
17832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17833 (eval "$ac_compile") 2>conftest.er1
17834 ac_status=$?
17835 grep -v '^ *+' conftest.er1 >conftest.err
17836 rm -f conftest.er1
17837 cat conftest.err >&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } && {
17840 test -z "$ac_c_werror_flag" ||
17841 test ! -s conftest.err
17842 } && test -s conftest.$ac_objext; then
17843 ac_cv_member_struct_statfs_f_frsize=yes
17844 else
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.$ac_ext >&5
17848 ac_cv_member_struct_statfs_f_frsize=no
17851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17856 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17857 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17858 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17860 cat >>confdefs.h <<_ACEOF
17861 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17862 _ACEOF
17866 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17867 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17868 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17869 echo $ECHO_N "(cached) $ECHO_C" >&6
17870 else
17871 cat >conftest.$ac_ext <<_ACEOF
17872 /* confdefs.h. */
17873 _ACEOF
17874 cat confdefs.h >>conftest.$ac_ext
17875 cat >>conftest.$ac_ext <<_ACEOF
17876 /* end confdefs.h. */
17877 #include <sys/types.h>
17878 #ifdef HAVE_SYS_PARAM_H
17879 # include <sys/param.h>
17880 #endif
17881 #ifdef HAVE_SYS_MOUNT_H
17882 # include <sys/mount.h>
17883 #endif
17884 #ifdef HAVE_SYS_VFS_H
17885 # include <sys/vfs.h>
17886 #endif
17887 #ifdef HAVE_SYS_STATFS_H
17888 # include <sys/statfs.h>
17889 #endif
17892 main ()
17894 static struct statfs ac_aggr;
17895 if (ac_aggr.f_ffree)
17896 return 0;
17898 return 0;
17900 _ACEOF
17901 rm -f conftest.$ac_objext
17902 if { (ac_try="$ac_compile"
17903 case "(($ac_try" in
17904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17905 *) ac_try_echo=$ac_try;;
17906 esac
17907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17908 (eval "$ac_compile") 2>conftest.er1
17909 ac_status=$?
17910 grep -v '^ *+' conftest.er1 >conftest.err
17911 rm -f conftest.er1
17912 cat conftest.err >&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } && {
17915 test -z "$ac_c_werror_flag" ||
17916 test ! -s conftest.err
17917 } && test -s conftest.$ac_objext; then
17918 ac_cv_member_struct_statfs_f_ffree=yes
17919 else
17920 echo "$as_me: failed program was:" >&5
17921 sed 's/^/| /' conftest.$ac_ext >&5
17923 cat >conftest.$ac_ext <<_ACEOF
17924 /* confdefs.h. */
17925 _ACEOF
17926 cat confdefs.h >>conftest.$ac_ext
17927 cat >>conftest.$ac_ext <<_ACEOF
17928 /* end confdefs.h. */
17929 #include <sys/types.h>
17930 #ifdef HAVE_SYS_PARAM_H
17931 # include <sys/param.h>
17932 #endif
17933 #ifdef HAVE_SYS_MOUNT_H
17934 # include <sys/mount.h>
17935 #endif
17936 #ifdef HAVE_SYS_VFS_H
17937 # include <sys/vfs.h>
17938 #endif
17939 #ifdef HAVE_SYS_STATFS_H
17940 # include <sys/statfs.h>
17941 #endif
17944 main ()
17946 static struct statfs ac_aggr;
17947 if (sizeof ac_aggr.f_ffree)
17948 return 0;
17950 return 0;
17952 _ACEOF
17953 rm -f conftest.$ac_objext
17954 if { (ac_try="$ac_compile"
17955 case "(($ac_try" in
17956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17957 *) ac_try_echo=$ac_try;;
17958 esac
17959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17960 (eval "$ac_compile") 2>conftest.er1
17961 ac_status=$?
17962 grep -v '^ *+' conftest.er1 >conftest.err
17963 rm -f conftest.er1
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } && {
17967 test -z "$ac_c_werror_flag" ||
17968 test ! -s conftest.err
17969 } && test -s conftest.$ac_objext; then
17970 ac_cv_member_struct_statfs_f_ffree=yes
17971 else
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17975 ac_cv_member_struct_statfs_f_ffree=no
17978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17983 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
17984 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
17985 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
17987 cat >>confdefs.h <<_ACEOF
17988 #define HAVE_STRUCT_STATFS_F_FFREE 1
17989 _ACEOF
17993 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
17994 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
17995 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
17996 echo $ECHO_N "(cached) $ECHO_C" >&6
17997 else
17998 cat >conftest.$ac_ext <<_ACEOF
17999 /* confdefs.h. */
18000 _ACEOF
18001 cat confdefs.h >>conftest.$ac_ext
18002 cat >>conftest.$ac_ext <<_ACEOF
18003 /* end confdefs.h. */
18004 #include <sys/types.h>
18005 #ifdef HAVE_SYS_PARAM_H
18006 # include <sys/param.h>
18007 #endif
18008 #ifdef HAVE_SYS_MOUNT_H
18009 # include <sys/mount.h>
18010 #endif
18011 #ifdef HAVE_SYS_VFS_H
18012 # include <sys/vfs.h>
18013 #endif
18014 #ifdef HAVE_SYS_STATFS_H
18015 # include <sys/statfs.h>
18016 #endif
18019 main ()
18021 static struct statfs ac_aggr;
18022 if (ac_aggr.f_favail)
18023 return 0;
18025 return 0;
18027 _ACEOF
18028 rm -f conftest.$ac_objext
18029 if { (ac_try="$ac_compile"
18030 case "(($ac_try" in
18031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18032 *) ac_try_echo=$ac_try;;
18033 esac
18034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18035 (eval "$ac_compile") 2>conftest.er1
18036 ac_status=$?
18037 grep -v '^ *+' conftest.er1 >conftest.err
18038 rm -f conftest.er1
18039 cat conftest.err >&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); } && {
18042 test -z "$ac_c_werror_flag" ||
18043 test ! -s conftest.err
18044 } && test -s conftest.$ac_objext; then
18045 ac_cv_member_struct_statfs_f_favail=yes
18046 else
18047 echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.$ac_ext >&5
18050 cat >conftest.$ac_ext <<_ACEOF
18051 /* confdefs.h. */
18052 _ACEOF
18053 cat confdefs.h >>conftest.$ac_ext
18054 cat >>conftest.$ac_ext <<_ACEOF
18055 /* end confdefs.h. */
18056 #include <sys/types.h>
18057 #ifdef HAVE_SYS_PARAM_H
18058 # include <sys/param.h>
18059 #endif
18060 #ifdef HAVE_SYS_MOUNT_H
18061 # include <sys/mount.h>
18062 #endif
18063 #ifdef HAVE_SYS_VFS_H
18064 # include <sys/vfs.h>
18065 #endif
18066 #ifdef HAVE_SYS_STATFS_H
18067 # include <sys/statfs.h>
18068 #endif
18071 main ()
18073 static struct statfs ac_aggr;
18074 if (sizeof ac_aggr.f_favail)
18075 return 0;
18077 return 0;
18079 _ACEOF
18080 rm -f conftest.$ac_objext
18081 if { (ac_try="$ac_compile"
18082 case "(($ac_try" in
18083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18084 *) ac_try_echo=$ac_try;;
18085 esac
18086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18087 (eval "$ac_compile") 2>conftest.er1
18088 ac_status=$?
18089 grep -v '^ *+' conftest.er1 >conftest.err
18090 rm -f conftest.er1
18091 cat conftest.err >&5
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); } && {
18094 test -z "$ac_c_werror_flag" ||
18095 test ! -s conftest.err
18096 } && test -s conftest.$ac_objext; then
18097 ac_cv_member_struct_statfs_f_favail=yes
18098 else
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.$ac_ext >&5
18102 ac_cv_member_struct_statfs_f_favail=no
18105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18110 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18111 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18112 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18114 cat >>confdefs.h <<_ACEOF
18115 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18116 _ACEOF
18120 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18121 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18122 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18124 else
18125 cat >conftest.$ac_ext <<_ACEOF
18126 /* confdefs.h. */
18127 _ACEOF
18128 cat confdefs.h >>conftest.$ac_ext
18129 cat >>conftest.$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18131 #include <sys/types.h>
18132 #ifdef HAVE_SYS_PARAM_H
18133 # include <sys/param.h>
18134 #endif
18135 #ifdef HAVE_SYS_MOUNT_H
18136 # include <sys/mount.h>
18137 #endif
18138 #ifdef HAVE_SYS_VFS_H
18139 # include <sys/vfs.h>
18140 #endif
18141 #ifdef HAVE_SYS_STATFS_H
18142 # include <sys/statfs.h>
18143 #endif
18146 main ()
18148 static struct statfs ac_aggr;
18149 if (ac_aggr.f_namelen)
18150 return 0;
18152 return 0;
18154 _ACEOF
18155 rm -f conftest.$ac_objext
18156 if { (ac_try="$ac_compile"
18157 case "(($ac_try" in
18158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18159 *) ac_try_echo=$ac_try;;
18160 esac
18161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18162 (eval "$ac_compile") 2>conftest.er1
18163 ac_status=$?
18164 grep -v '^ *+' conftest.er1 >conftest.err
18165 rm -f conftest.er1
18166 cat conftest.err >&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } && {
18169 test -z "$ac_c_werror_flag" ||
18170 test ! -s conftest.err
18171 } && test -s conftest.$ac_objext; then
18172 ac_cv_member_struct_statfs_f_namelen=yes
18173 else
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18177 cat >conftest.$ac_ext <<_ACEOF
18178 /* confdefs.h. */
18179 _ACEOF
18180 cat confdefs.h >>conftest.$ac_ext
18181 cat >>conftest.$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183 #include <sys/types.h>
18184 #ifdef HAVE_SYS_PARAM_H
18185 # include <sys/param.h>
18186 #endif
18187 #ifdef HAVE_SYS_MOUNT_H
18188 # include <sys/mount.h>
18189 #endif
18190 #ifdef HAVE_SYS_VFS_H
18191 # include <sys/vfs.h>
18192 #endif
18193 #ifdef HAVE_SYS_STATFS_H
18194 # include <sys/statfs.h>
18195 #endif
18198 main ()
18200 static struct statfs ac_aggr;
18201 if (sizeof ac_aggr.f_namelen)
18202 return 0;
18204 return 0;
18206 _ACEOF
18207 rm -f conftest.$ac_objext
18208 if { (ac_try="$ac_compile"
18209 case "(($ac_try" in
18210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18211 *) ac_try_echo=$ac_try;;
18212 esac
18213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18214 (eval "$ac_compile") 2>conftest.er1
18215 ac_status=$?
18216 grep -v '^ *+' conftest.er1 >conftest.err
18217 rm -f conftest.er1
18218 cat conftest.err >&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); } && {
18221 test -z "$ac_c_werror_flag" ||
18222 test ! -s conftest.err
18223 } && test -s conftest.$ac_objext; then
18224 ac_cv_member_struct_statfs_f_namelen=yes
18225 else
18226 echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.$ac_ext >&5
18229 ac_cv_member_struct_statfs_f_namelen=no
18232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18237 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18238 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18239 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18241 cat >>confdefs.h <<_ACEOF
18242 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18243 _ACEOF
18249 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18250 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18251 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18252 echo $ECHO_N "(cached) $ECHO_C" >&6
18253 else
18254 cat >conftest.$ac_ext <<_ACEOF
18255 /* confdefs.h. */
18256 _ACEOF
18257 cat confdefs.h >>conftest.$ac_ext
18258 cat >>conftest.$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18260 #ifdef HAVE_SYS_STATVFS_H
18261 #include <sys/statvfs.h>
18262 #endif
18265 main ()
18267 static struct statvfs ac_aggr;
18268 if (ac_aggr.f_blocks)
18269 return 0;
18271 return 0;
18273 _ACEOF
18274 rm -f conftest.$ac_objext
18275 if { (ac_try="$ac_compile"
18276 case "(($ac_try" in
18277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18278 *) ac_try_echo=$ac_try;;
18279 esac
18280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18281 (eval "$ac_compile") 2>conftest.er1
18282 ac_status=$?
18283 grep -v '^ *+' conftest.er1 >conftest.err
18284 rm -f conftest.er1
18285 cat conftest.err >&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); } && {
18288 test -z "$ac_c_werror_flag" ||
18289 test ! -s conftest.err
18290 } && test -s conftest.$ac_objext; then
18291 ac_cv_member_struct_statvfs_f_blocks=yes
18292 else
18293 echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.$ac_ext >&5
18296 cat >conftest.$ac_ext <<_ACEOF
18297 /* confdefs.h. */
18298 _ACEOF
18299 cat confdefs.h >>conftest.$ac_ext
18300 cat >>conftest.$ac_ext <<_ACEOF
18301 /* end confdefs.h. */
18302 #ifdef HAVE_SYS_STATVFS_H
18303 #include <sys/statvfs.h>
18304 #endif
18307 main ()
18309 static struct statvfs ac_aggr;
18310 if (sizeof ac_aggr.f_blocks)
18311 return 0;
18313 return 0;
18315 _ACEOF
18316 rm -f conftest.$ac_objext
18317 if { (ac_try="$ac_compile"
18318 case "(($ac_try" in
18319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18320 *) ac_try_echo=$ac_try;;
18321 esac
18322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18323 (eval "$ac_compile") 2>conftest.er1
18324 ac_status=$?
18325 grep -v '^ *+' conftest.er1 >conftest.err
18326 rm -f conftest.er1
18327 cat conftest.err >&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } && {
18330 test -z "$ac_c_werror_flag" ||
18331 test ! -s conftest.err
18332 } && test -s conftest.$ac_objext; then
18333 ac_cv_member_struct_statvfs_f_blocks=yes
18334 else
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18338 ac_cv_member_struct_statvfs_f_blocks=no
18341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18346 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18347 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18348 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18350 cat >>confdefs.h <<_ACEOF
18351 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18352 _ACEOF
18358 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18359 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18360 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18361 echo $ECHO_N "(cached) $ECHO_C" >&6
18362 else
18363 cat >conftest.$ac_ext <<_ACEOF
18364 /* confdefs.h. */
18365 _ACEOF
18366 cat confdefs.h >>conftest.$ac_ext
18367 cat >>conftest.$ac_ext <<_ACEOF
18368 /* end confdefs.h. */
18369 #include <sys/types.h>
18370 #ifdef HAVE_SYS_SOCKET_H
18371 # include <sys/socket.h>
18372 #endif
18373 #ifdef HAVE_SYS_UN_H
18374 # include <sys/un.h>
18375 #endif
18378 main ()
18380 static struct msghdr ac_aggr;
18381 if (ac_aggr.msg_accrights)
18382 return 0;
18384 return 0;
18386 _ACEOF
18387 rm -f conftest.$ac_objext
18388 if { (ac_try="$ac_compile"
18389 case "(($ac_try" in
18390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18391 *) ac_try_echo=$ac_try;;
18392 esac
18393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18394 (eval "$ac_compile") 2>conftest.er1
18395 ac_status=$?
18396 grep -v '^ *+' conftest.er1 >conftest.err
18397 rm -f conftest.er1
18398 cat conftest.err >&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); } && {
18401 test -z "$ac_c_werror_flag" ||
18402 test ! -s conftest.err
18403 } && test -s conftest.$ac_objext; then
18404 ac_cv_member_struct_msghdr_msg_accrights=yes
18405 else
18406 echo "$as_me: failed program was:" >&5
18407 sed 's/^/| /' conftest.$ac_ext >&5
18409 cat >conftest.$ac_ext <<_ACEOF
18410 /* confdefs.h. */
18411 _ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 #include <sys/types.h>
18416 #ifdef HAVE_SYS_SOCKET_H
18417 # include <sys/socket.h>
18418 #endif
18419 #ifdef HAVE_SYS_UN_H
18420 # include <sys/un.h>
18421 #endif
18424 main ()
18426 static struct msghdr ac_aggr;
18427 if (sizeof ac_aggr.msg_accrights)
18428 return 0;
18430 return 0;
18432 _ACEOF
18433 rm -f conftest.$ac_objext
18434 if { (ac_try="$ac_compile"
18435 case "(($ac_try" in
18436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18437 *) ac_try_echo=$ac_try;;
18438 esac
18439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18440 (eval "$ac_compile") 2>conftest.er1
18441 ac_status=$?
18442 grep -v '^ *+' conftest.er1 >conftest.err
18443 rm -f conftest.er1
18444 cat conftest.err >&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); } && {
18447 test -z "$ac_c_werror_flag" ||
18448 test ! -s conftest.err
18449 } && test -s conftest.$ac_objext; then
18450 ac_cv_member_struct_msghdr_msg_accrights=yes
18451 else
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.$ac_ext >&5
18455 ac_cv_member_struct_msghdr_msg_accrights=no
18458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18463 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18464 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18465 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18467 cat >>confdefs.h <<_ACEOF
18468 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18469 _ACEOF
18473 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18474 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18475 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18476 echo $ECHO_N "(cached) $ECHO_C" >&6
18477 else
18478 cat >conftest.$ac_ext <<_ACEOF
18479 /* confdefs.h. */
18480 _ACEOF
18481 cat confdefs.h >>conftest.$ac_ext
18482 cat >>conftest.$ac_ext <<_ACEOF
18483 /* end confdefs.h. */
18484 #include <sys/types.h>
18485 #ifdef HAVE_SYS_SOCKET_H
18486 # include <sys/socket.h>
18487 #endif
18488 #ifdef HAVE_SYS_UN_H
18489 # include <sys/un.h>
18490 #endif
18493 main ()
18495 static struct sockaddr ac_aggr;
18496 if (ac_aggr.sa_len)
18497 return 0;
18499 return 0;
18501 _ACEOF
18502 rm -f conftest.$ac_objext
18503 if { (ac_try="$ac_compile"
18504 case "(($ac_try" in
18505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18506 *) ac_try_echo=$ac_try;;
18507 esac
18508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18509 (eval "$ac_compile") 2>conftest.er1
18510 ac_status=$?
18511 grep -v '^ *+' conftest.er1 >conftest.err
18512 rm -f conftest.er1
18513 cat conftest.err >&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); } && {
18516 test -z "$ac_c_werror_flag" ||
18517 test ! -s conftest.err
18518 } && test -s conftest.$ac_objext; then
18519 ac_cv_member_struct_sockaddr_sa_len=yes
18520 else
18521 echo "$as_me: failed program was:" >&5
18522 sed 's/^/| /' conftest.$ac_ext >&5
18524 cat >conftest.$ac_ext <<_ACEOF
18525 /* confdefs.h. */
18526 _ACEOF
18527 cat confdefs.h >>conftest.$ac_ext
18528 cat >>conftest.$ac_ext <<_ACEOF
18529 /* end confdefs.h. */
18530 #include <sys/types.h>
18531 #ifdef HAVE_SYS_SOCKET_H
18532 # include <sys/socket.h>
18533 #endif
18534 #ifdef HAVE_SYS_UN_H
18535 # include <sys/un.h>
18536 #endif
18539 main ()
18541 static struct sockaddr ac_aggr;
18542 if (sizeof ac_aggr.sa_len)
18543 return 0;
18545 return 0;
18547 _ACEOF
18548 rm -f conftest.$ac_objext
18549 if { (ac_try="$ac_compile"
18550 case "(($ac_try" in
18551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18552 *) ac_try_echo=$ac_try;;
18553 esac
18554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18555 (eval "$ac_compile") 2>conftest.er1
18556 ac_status=$?
18557 grep -v '^ *+' conftest.er1 >conftest.err
18558 rm -f conftest.er1
18559 cat conftest.err >&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); } && {
18562 test -z "$ac_c_werror_flag" ||
18563 test ! -s conftest.err
18564 } && test -s conftest.$ac_objext; then
18565 ac_cv_member_struct_sockaddr_sa_len=yes
18566 else
18567 echo "$as_me: failed program was:" >&5
18568 sed 's/^/| /' conftest.$ac_ext >&5
18570 ac_cv_member_struct_sockaddr_sa_len=no
18573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18578 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18579 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18580 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18582 cat >>confdefs.h <<_ACEOF
18583 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18584 _ACEOF
18588 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18589 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18590 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18591 echo $ECHO_N "(cached) $ECHO_C" >&6
18592 else
18593 cat >conftest.$ac_ext <<_ACEOF
18594 /* confdefs.h. */
18595 _ACEOF
18596 cat confdefs.h >>conftest.$ac_ext
18597 cat >>conftest.$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 #include <sys/types.h>
18600 #ifdef HAVE_SYS_SOCKET_H
18601 # include <sys/socket.h>
18602 #endif
18603 #ifdef HAVE_SYS_UN_H
18604 # include <sys/un.h>
18605 #endif
18608 main ()
18610 static struct sockaddr_un ac_aggr;
18611 if (ac_aggr.sun_len)
18612 return 0;
18614 return 0;
18616 _ACEOF
18617 rm -f conftest.$ac_objext
18618 if { (ac_try="$ac_compile"
18619 case "(($ac_try" in
18620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18621 *) ac_try_echo=$ac_try;;
18622 esac
18623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18624 (eval "$ac_compile") 2>conftest.er1
18625 ac_status=$?
18626 grep -v '^ *+' conftest.er1 >conftest.err
18627 rm -f conftest.er1
18628 cat conftest.err >&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); } && {
18631 test -z "$ac_c_werror_flag" ||
18632 test ! -s conftest.err
18633 } && test -s conftest.$ac_objext; then
18634 ac_cv_member_struct_sockaddr_un_sun_len=yes
18635 else
18636 echo "$as_me: failed program was:" >&5
18637 sed 's/^/| /' conftest.$ac_ext >&5
18639 cat >conftest.$ac_ext <<_ACEOF
18640 /* confdefs.h. */
18641 _ACEOF
18642 cat confdefs.h >>conftest.$ac_ext
18643 cat >>conftest.$ac_ext <<_ACEOF
18644 /* end confdefs.h. */
18645 #include <sys/types.h>
18646 #ifdef HAVE_SYS_SOCKET_H
18647 # include <sys/socket.h>
18648 #endif
18649 #ifdef HAVE_SYS_UN_H
18650 # include <sys/un.h>
18651 #endif
18654 main ()
18656 static struct sockaddr_un ac_aggr;
18657 if (sizeof ac_aggr.sun_len)
18658 return 0;
18660 return 0;
18662 _ACEOF
18663 rm -f conftest.$ac_objext
18664 if { (ac_try="$ac_compile"
18665 case "(($ac_try" in
18666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18667 *) ac_try_echo=$ac_try;;
18668 esac
18669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18670 (eval "$ac_compile") 2>conftest.er1
18671 ac_status=$?
18672 grep -v '^ *+' conftest.er1 >conftest.err
18673 rm -f conftest.er1
18674 cat conftest.err >&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); } && {
18677 test -z "$ac_c_werror_flag" ||
18678 test ! -s conftest.err
18679 } && test -s conftest.$ac_objext; then
18680 ac_cv_member_struct_sockaddr_un_sun_len=yes
18681 else
18682 echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.$ac_ext >&5
18685 ac_cv_member_struct_sockaddr_un_sun_len=no
18688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18693 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18694 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18695 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18697 cat >>confdefs.h <<_ACEOF
18698 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18699 _ACEOF
18705 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18706 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18707 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18708 echo $ECHO_N "(cached) $ECHO_C" >&6
18709 else
18710 cat >conftest.$ac_ext <<_ACEOF
18711 /* confdefs.h. */
18712 _ACEOF
18713 cat confdefs.h >>conftest.$ac_ext
18714 cat >>conftest.$ac_ext <<_ACEOF
18715 /* end confdefs.h. */
18716 #include <sys/types.h>
18717 #ifdef HAVE_SCSI_SG_H
18718 #include <scsi/sg.h>
18719 #endif
18722 main ()
18724 static scsireq_t ac_aggr;
18725 if (ac_aggr.cmd)
18726 return 0;
18728 return 0;
18730 _ACEOF
18731 rm -f conftest.$ac_objext
18732 if { (ac_try="$ac_compile"
18733 case "(($ac_try" in
18734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18735 *) ac_try_echo=$ac_try;;
18736 esac
18737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18738 (eval "$ac_compile") 2>conftest.er1
18739 ac_status=$?
18740 grep -v '^ *+' conftest.er1 >conftest.err
18741 rm -f conftest.er1
18742 cat conftest.err >&5
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); } && {
18745 test -z "$ac_c_werror_flag" ||
18746 test ! -s conftest.err
18747 } && test -s conftest.$ac_objext; then
18748 ac_cv_member_scsireq_t_cmd=yes
18749 else
18750 echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.$ac_ext >&5
18753 cat >conftest.$ac_ext <<_ACEOF
18754 /* confdefs.h. */
18755 _ACEOF
18756 cat confdefs.h >>conftest.$ac_ext
18757 cat >>conftest.$ac_ext <<_ACEOF
18758 /* end confdefs.h. */
18759 #include <sys/types.h>
18760 #ifdef HAVE_SCSI_SG_H
18761 #include <scsi/sg.h>
18762 #endif
18765 main ()
18767 static scsireq_t ac_aggr;
18768 if (sizeof ac_aggr.cmd)
18769 return 0;
18771 return 0;
18773 _ACEOF
18774 rm -f conftest.$ac_objext
18775 if { (ac_try="$ac_compile"
18776 case "(($ac_try" in
18777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18778 *) ac_try_echo=$ac_try;;
18779 esac
18780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18781 (eval "$ac_compile") 2>conftest.er1
18782 ac_status=$?
18783 grep -v '^ *+' conftest.er1 >conftest.err
18784 rm -f conftest.er1
18785 cat conftest.err >&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } && {
18788 test -z "$ac_c_werror_flag" ||
18789 test ! -s conftest.err
18790 } && test -s conftest.$ac_objext; then
18791 ac_cv_member_scsireq_t_cmd=yes
18792 else
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18796 ac_cv_member_scsireq_t_cmd=no
18799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18804 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18805 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18806 if test $ac_cv_member_scsireq_t_cmd = yes; then
18808 cat >>confdefs.h <<_ACEOF
18809 #define HAVE_SCSIREQ_T_CMD 1
18810 _ACEOF
18814 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18815 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18816 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18817 echo $ECHO_N "(cached) $ECHO_C" >&6
18818 else
18819 cat >conftest.$ac_ext <<_ACEOF
18820 /* confdefs.h. */
18821 _ACEOF
18822 cat confdefs.h >>conftest.$ac_ext
18823 cat >>conftest.$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18825 #include <sys/types.h>
18826 #ifdef HAVE_SCSI_SG_H
18827 #include <scsi/sg.h>
18828 #endif
18831 main ()
18833 static sg_io_hdr_t ac_aggr;
18834 if (ac_aggr.interface_id)
18835 return 0;
18837 return 0;
18839 _ACEOF
18840 rm -f conftest.$ac_objext
18841 if { (ac_try="$ac_compile"
18842 case "(($ac_try" in
18843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18844 *) ac_try_echo=$ac_try;;
18845 esac
18846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18847 (eval "$ac_compile") 2>conftest.er1
18848 ac_status=$?
18849 grep -v '^ *+' conftest.er1 >conftest.err
18850 rm -f conftest.er1
18851 cat conftest.err >&5
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); } && {
18854 test -z "$ac_c_werror_flag" ||
18855 test ! -s conftest.err
18856 } && test -s conftest.$ac_objext; then
18857 ac_cv_member_sg_io_hdr_t_interface_id=yes
18858 else
18859 echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.$ac_ext >&5
18862 cat >conftest.$ac_ext <<_ACEOF
18863 /* confdefs.h. */
18864 _ACEOF
18865 cat confdefs.h >>conftest.$ac_ext
18866 cat >>conftest.$ac_ext <<_ACEOF
18867 /* end confdefs.h. */
18868 #include <sys/types.h>
18869 #ifdef HAVE_SCSI_SG_H
18870 #include <scsi/sg.h>
18871 #endif
18874 main ()
18876 static sg_io_hdr_t ac_aggr;
18877 if (sizeof ac_aggr.interface_id)
18878 return 0;
18880 return 0;
18882 _ACEOF
18883 rm -f conftest.$ac_objext
18884 if { (ac_try="$ac_compile"
18885 case "(($ac_try" in
18886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18887 *) ac_try_echo=$ac_try;;
18888 esac
18889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18890 (eval "$ac_compile") 2>conftest.er1
18891 ac_status=$?
18892 grep -v '^ *+' conftest.er1 >conftest.err
18893 rm -f conftest.er1
18894 cat conftest.err >&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } && {
18897 test -z "$ac_c_werror_flag" ||
18898 test ! -s conftest.err
18899 } && test -s conftest.$ac_objext; then
18900 ac_cv_member_sg_io_hdr_t_interface_id=yes
18901 else
18902 echo "$as_me: failed program was:" >&5
18903 sed 's/^/| /' conftest.$ac_ext >&5
18905 ac_cv_member_sg_io_hdr_t_interface_id=no
18908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18913 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18914 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18915 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18917 cat >>confdefs.h <<_ACEOF
18918 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18919 _ACEOF
18925 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18926 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18927 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18928 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 else
18930 cat >conftest.$ac_ext <<_ACEOF
18931 /* confdefs.h. */
18932 _ACEOF
18933 cat confdefs.h >>conftest.$ac_ext
18934 cat >>conftest.$ac_ext <<_ACEOF
18935 /* end confdefs.h. */
18936 #include <signal.h>
18939 main ()
18941 static siginfo_t ac_aggr;
18942 if (ac_aggr.si_fd)
18943 return 0;
18945 return 0;
18947 _ACEOF
18948 rm -f conftest.$ac_objext
18949 if { (ac_try="$ac_compile"
18950 case "(($ac_try" in
18951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18952 *) ac_try_echo=$ac_try;;
18953 esac
18954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18955 (eval "$ac_compile") 2>conftest.er1
18956 ac_status=$?
18957 grep -v '^ *+' conftest.er1 >conftest.err
18958 rm -f conftest.er1
18959 cat conftest.err >&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); } && {
18962 test -z "$ac_c_werror_flag" ||
18963 test ! -s conftest.err
18964 } && test -s conftest.$ac_objext; then
18965 ac_cv_member_siginfo_t_si_fd=yes
18966 else
18967 echo "$as_me: failed program was:" >&5
18968 sed 's/^/| /' conftest.$ac_ext >&5
18970 cat >conftest.$ac_ext <<_ACEOF
18971 /* confdefs.h. */
18972 _ACEOF
18973 cat confdefs.h >>conftest.$ac_ext
18974 cat >>conftest.$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 #include <signal.h>
18979 main ()
18981 static siginfo_t ac_aggr;
18982 if (sizeof ac_aggr.si_fd)
18983 return 0;
18985 return 0;
18987 _ACEOF
18988 rm -f conftest.$ac_objext
18989 if { (ac_try="$ac_compile"
18990 case "(($ac_try" in
18991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18992 *) ac_try_echo=$ac_try;;
18993 esac
18994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18995 (eval "$ac_compile") 2>conftest.er1
18996 ac_status=$?
18997 grep -v '^ *+' conftest.er1 >conftest.err
18998 rm -f conftest.er1
18999 cat conftest.err >&5
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); } && {
19002 test -z "$ac_c_werror_flag" ||
19003 test ! -s conftest.err
19004 } && test -s conftest.$ac_objext; then
19005 ac_cv_member_siginfo_t_si_fd=yes
19006 else
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.$ac_ext >&5
19010 ac_cv_member_siginfo_t_si_fd=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19019 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19020 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_SIGINFO_T_SI_FD 1
19024 _ACEOF
19030 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19031 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19032 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 else
19035 cat >conftest.$ac_ext <<_ACEOF
19036 /* confdefs.h. */
19037 _ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041 #include <sys/types.h>
19042 #ifdef HAVE_SYS_MTIO_H
19043 #include <sys/mtio.h>
19044 #endif
19047 main ()
19049 static struct mtget ac_aggr;
19050 if (ac_aggr.mt_blksiz)
19051 return 0;
19053 return 0;
19055 _ACEOF
19056 rm -f conftest.$ac_objext
19057 if { (ac_try="$ac_compile"
19058 case "(($ac_try" in
19059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19060 *) ac_try_echo=$ac_try;;
19061 esac
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_compile") 2>conftest.er1
19064 ac_status=$?
19065 grep -v '^ *+' conftest.er1 >conftest.err
19066 rm -f conftest.er1
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_c_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest.$ac_objext; then
19073 ac_cv_member_struct_mtget_mt_blksiz=yes
19074 else
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19078 cat >conftest.$ac_ext <<_ACEOF
19079 /* confdefs.h. */
19080 _ACEOF
19081 cat confdefs.h >>conftest.$ac_ext
19082 cat >>conftest.$ac_ext <<_ACEOF
19083 /* end confdefs.h. */
19084 #include <sys/types.h>
19085 #ifdef HAVE_SYS_MTIO_H
19086 #include <sys/mtio.h>
19087 #endif
19090 main ()
19092 static struct mtget ac_aggr;
19093 if (sizeof ac_aggr.mt_blksiz)
19094 return 0;
19096 return 0;
19098 _ACEOF
19099 rm -f conftest.$ac_objext
19100 if { (ac_try="$ac_compile"
19101 case "(($ac_try" in
19102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103 *) ac_try_echo=$ac_try;;
19104 esac
19105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_compile") 2>conftest.er1
19107 ac_status=$?
19108 grep -v '^ *+' conftest.er1 >conftest.err
19109 rm -f conftest.er1
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } && {
19113 test -z "$ac_c_werror_flag" ||
19114 test ! -s conftest.err
19115 } && test -s conftest.$ac_objext; then
19116 ac_cv_member_struct_mtget_mt_blksiz=yes
19117 else
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.$ac_ext >&5
19121 ac_cv_member_struct_mtget_mt_blksiz=no
19124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19129 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19130 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19131 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19133 cat >>confdefs.h <<_ACEOF
19134 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19135 _ACEOF
19139 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19140 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19141 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19142 echo $ECHO_N "(cached) $ECHO_C" >&6
19143 else
19144 cat >conftest.$ac_ext <<_ACEOF
19145 /* confdefs.h. */
19146 _ACEOF
19147 cat confdefs.h >>conftest.$ac_ext
19148 cat >>conftest.$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19150 #include <sys/types.h>
19151 #ifdef HAVE_SYS_MTIO_H
19152 #include <sys/mtio.h>
19153 #endif
19156 main ()
19158 static struct mtget ac_aggr;
19159 if (ac_aggr.mt_gstat)
19160 return 0;
19162 return 0;
19164 _ACEOF
19165 rm -f conftest.$ac_objext
19166 if { (ac_try="$ac_compile"
19167 case "(($ac_try" in
19168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19169 *) ac_try_echo=$ac_try;;
19170 esac
19171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19172 (eval "$ac_compile") 2>conftest.er1
19173 ac_status=$?
19174 grep -v '^ *+' conftest.er1 >conftest.err
19175 rm -f conftest.er1
19176 cat conftest.err >&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); } && {
19179 test -z "$ac_c_werror_flag" ||
19180 test ! -s conftest.err
19181 } && test -s conftest.$ac_objext; then
19182 ac_cv_member_struct_mtget_mt_gstat=yes
19183 else
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.$ac_ext >&5
19187 cat >conftest.$ac_ext <<_ACEOF
19188 /* confdefs.h. */
19189 _ACEOF
19190 cat confdefs.h >>conftest.$ac_ext
19191 cat >>conftest.$ac_ext <<_ACEOF
19192 /* end confdefs.h. */
19193 #include <sys/types.h>
19194 #ifdef HAVE_SYS_MTIO_H
19195 #include <sys/mtio.h>
19196 #endif
19199 main ()
19201 static struct mtget ac_aggr;
19202 if (sizeof ac_aggr.mt_gstat)
19203 return 0;
19205 return 0;
19207 _ACEOF
19208 rm -f conftest.$ac_objext
19209 if { (ac_try="$ac_compile"
19210 case "(($ac_try" in
19211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19212 *) ac_try_echo=$ac_try;;
19213 esac
19214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19215 (eval "$ac_compile") 2>conftest.er1
19216 ac_status=$?
19217 grep -v '^ *+' conftest.er1 >conftest.err
19218 rm -f conftest.er1
19219 cat conftest.err >&5
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); } && {
19222 test -z "$ac_c_werror_flag" ||
19223 test ! -s conftest.err
19224 } && test -s conftest.$ac_objext; then
19225 ac_cv_member_struct_mtget_mt_gstat=yes
19226 else
19227 echo "$as_me: failed program was:" >&5
19228 sed 's/^/| /' conftest.$ac_ext >&5
19230 ac_cv_member_struct_mtget_mt_gstat=no
19233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19238 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19239 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19240 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19242 cat >>confdefs.h <<_ACEOF
19243 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19244 _ACEOF
19248 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19249 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19250 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19251 echo $ECHO_N "(cached) $ECHO_C" >&6
19252 else
19253 cat >conftest.$ac_ext <<_ACEOF
19254 /* confdefs.h. */
19255 _ACEOF
19256 cat confdefs.h >>conftest.$ac_ext
19257 cat >>conftest.$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259 #include <sys/types.h>
19260 #ifdef HAVE_SYS_MTIO_H
19261 #include <sys/mtio.h>
19262 #endif
19265 main ()
19267 static struct mtget ac_aggr;
19268 if (ac_aggr.mt_blkno)
19269 return 0;
19271 return 0;
19273 _ACEOF
19274 rm -f conftest.$ac_objext
19275 if { (ac_try="$ac_compile"
19276 case "(($ac_try" in
19277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19278 *) ac_try_echo=$ac_try;;
19279 esac
19280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19281 (eval "$ac_compile") 2>conftest.er1
19282 ac_status=$?
19283 grep -v '^ *+' conftest.er1 >conftest.err
19284 rm -f conftest.er1
19285 cat conftest.err >&5
19286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); } && {
19288 test -z "$ac_c_werror_flag" ||
19289 test ! -s conftest.err
19290 } && test -s conftest.$ac_objext; then
19291 ac_cv_member_struct_mtget_mt_blkno=yes
19292 else
19293 echo "$as_me: failed program was:" >&5
19294 sed 's/^/| /' conftest.$ac_ext >&5
19296 cat >conftest.$ac_ext <<_ACEOF
19297 /* confdefs.h. */
19298 _ACEOF
19299 cat confdefs.h >>conftest.$ac_ext
19300 cat >>conftest.$ac_ext <<_ACEOF
19301 /* end confdefs.h. */
19302 #include <sys/types.h>
19303 #ifdef HAVE_SYS_MTIO_H
19304 #include <sys/mtio.h>
19305 #endif
19308 main ()
19310 static struct mtget ac_aggr;
19311 if (sizeof ac_aggr.mt_blkno)
19312 return 0;
19314 return 0;
19316 _ACEOF
19317 rm -f conftest.$ac_objext
19318 if { (ac_try="$ac_compile"
19319 case "(($ac_try" in
19320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19321 *) ac_try_echo=$ac_try;;
19322 esac
19323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19324 (eval "$ac_compile") 2>conftest.er1
19325 ac_status=$?
19326 grep -v '^ *+' conftest.er1 >conftest.err
19327 rm -f conftest.er1
19328 cat conftest.err >&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } && {
19331 test -z "$ac_c_werror_flag" ||
19332 test ! -s conftest.err
19333 } && test -s conftest.$ac_objext; then
19334 ac_cv_member_struct_mtget_mt_blkno=yes
19335 else
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.$ac_ext >&5
19339 ac_cv_member_struct_mtget_mt_blkno=no
19342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19347 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19348 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19349 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19351 cat >>confdefs.h <<_ACEOF
19352 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19353 _ACEOF
19359 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19360 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19361 if test "${ac_cv_member_struct_option_name+set}" = set; then
19362 echo $ECHO_N "(cached) $ECHO_C" >&6
19363 else
19364 cat >conftest.$ac_ext <<_ACEOF
19365 /* confdefs.h. */
19366 _ACEOF
19367 cat confdefs.h >>conftest.$ac_ext
19368 cat >>conftest.$ac_ext <<_ACEOF
19369 /* end confdefs.h. */
19370 #ifdef HAVE_GETOPT_H
19371 #include <getopt.h>
19372 #endif
19375 main ()
19377 static struct option ac_aggr;
19378 if (ac_aggr.name)
19379 return 0;
19381 return 0;
19383 _ACEOF
19384 rm -f conftest.$ac_objext
19385 if { (ac_try="$ac_compile"
19386 case "(($ac_try" in
19387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19388 *) ac_try_echo=$ac_try;;
19389 esac
19390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19391 (eval "$ac_compile") 2>conftest.er1
19392 ac_status=$?
19393 grep -v '^ *+' conftest.er1 >conftest.err
19394 rm -f conftest.er1
19395 cat conftest.err >&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); } && {
19398 test -z "$ac_c_werror_flag" ||
19399 test ! -s conftest.err
19400 } && test -s conftest.$ac_objext; then
19401 ac_cv_member_struct_option_name=yes
19402 else
19403 echo "$as_me: failed program was:" >&5
19404 sed 's/^/| /' conftest.$ac_ext >&5
19406 cat >conftest.$ac_ext <<_ACEOF
19407 /* confdefs.h. */
19408 _ACEOF
19409 cat confdefs.h >>conftest.$ac_ext
19410 cat >>conftest.$ac_ext <<_ACEOF
19411 /* end confdefs.h. */
19412 #ifdef HAVE_GETOPT_H
19413 #include <getopt.h>
19414 #endif
19417 main ()
19419 static struct option ac_aggr;
19420 if (sizeof ac_aggr.name)
19421 return 0;
19423 return 0;
19425 _ACEOF
19426 rm -f conftest.$ac_objext
19427 if { (ac_try="$ac_compile"
19428 case "(($ac_try" in
19429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19430 *) ac_try_echo=$ac_try;;
19431 esac
19432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19433 (eval "$ac_compile") 2>conftest.er1
19434 ac_status=$?
19435 grep -v '^ *+' conftest.er1 >conftest.err
19436 rm -f conftest.er1
19437 cat conftest.err >&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); } && {
19440 test -z "$ac_c_werror_flag" ||
19441 test ! -s conftest.err
19442 } && test -s conftest.$ac_objext; then
19443 ac_cv_member_struct_option_name=yes
19444 else
19445 echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19448 ac_cv_member_struct_option_name=no
19451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19456 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19457 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19458 if test $ac_cv_member_struct_option_name = yes; then
19460 cat >>confdefs.h <<_ACEOF
19461 #define HAVE_STRUCT_OPTION_NAME 1
19462 _ACEOF
19468 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19469 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19470 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19471 echo $ECHO_N "(cached) $ECHO_C" >&6
19472 else
19473 cat >conftest.$ac_ext <<_ACEOF
19474 /* confdefs.h. */
19475 _ACEOF
19476 cat confdefs.h >>conftest.$ac_ext
19477 cat >>conftest.$ac_ext <<_ACEOF
19478 /* end confdefs.h. */
19479 $ac_includes_default
19481 main ()
19483 static struct stat ac_aggr;
19484 if (ac_aggr.st_blocks)
19485 return 0;
19487 return 0;
19489 _ACEOF
19490 rm -f conftest.$ac_objext
19491 if { (ac_try="$ac_compile"
19492 case "(($ac_try" in
19493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19494 *) ac_try_echo=$ac_try;;
19495 esac
19496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19497 (eval "$ac_compile") 2>conftest.er1
19498 ac_status=$?
19499 grep -v '^ *+' conftest.er1 >conftest.err
19500 rm -f conftest.er1
19501 cat conftest.err >&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); } && {
19504 test -z "$ac_c_werror_flag" ||
19505 test ! -s conftest.err
19506 } && test -s conftest.$ac_objext; then
19507 ac_cv_member_struct_stat_st_blocks=yes
19508 else
19509 echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.$ac_ext >&5
19512 cat >conftest.$ac_ext <<_ACEOF
19513 /* confdefs.h. */
19514 _ACEOF
19515 cat confdefs.h >>conftest.$ac_ext
19516 cat >>conftest.$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19518 $ac_includes_default
19520 main ()
19522 static struct stat ac_aggr;
19523 if (sizeof ac_aggr.st_blocks)
19524 return 0;
19526 return 0;
19528 _ACEOF
19529 rm -f conftest.$ac_objext
19530 if { (ac_try="$ac_compile"
19531 case "(($ac_try" in
19532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19533 *) ac_try_echo=$ac_try;;
19534 esac
19535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19536 (eval "$ac_compile") 2>conftest.er1
19537 ac_status=$?
19538 grep -v '^ *+' conftest.er1 >conftest.err
19539 rm -f conftest.er1
19540 cat conftest.err >&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); } && {
19543 test -z "$ac_c_werror_flag" ||
19544 test ! -s conftest.err
19545 } && test -s conftest.$ac_objext; then
19546 ac_cv_member_struct_stat_st_blocks=yes
19547 else
19548 echo "$as_me: failed program was:" >&5
19549 sed 's/^/| /' conftest.$ac_ext >&5
19551 ac_cv_member_struct_stat_st_blocks=no
19554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19559 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19560 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19561 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19563 cat >>confdefs.h <<_ACEOF
19564 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19565 _ACEOF
19571 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19572 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19573 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19575 else
19576 cat >conftest.$ac_ext <<_ACEOF
19577 /* confdefs.h. */
19578 _ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 #ifdef HAVE_SYS_TYPES_H
19583 #include <sys/types.h>
19584 #endif
19585 #ifdef HAVE_NETINET_IN_H
19586 #include <netinet/in.h>
19587 #endif
19590 main ()
19592 static struct sockaddr_in6 ac_aggr;
19593 if (ac_aggr.sin6_scope_id)
19594 return 0;
19596 return 0;
19598 _ACEOF
19599 rm -f conftest.$ac_objext
19600 if { (ac_try="$ac_compile"
19601 case "(($ac_try" in
19602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19603 *) ac_try_echo=$ac_try;;
19604 esac
19605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19606 (eval "$ac_compile") 2>conftest.er1
19607 ac_status=$?
19608 grep -v '^ *+' conftest.er1 >conftest.err
19609 rm -f conftest.er1
19610 cat conftest.err >&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } && {
19613 test -z "$ac_c_werror_flag" ||
19614 test ! -s conftest.err
19615 } && test -s conftest.$ac_objext; then
19616 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19617 else
19618 echo "$as_me: failed program was:" >&5
19619 sed 's/^/| /' conftest.$ac_ext >&5
19621 cat >conftest.$ac_ext <<_ACEOF
19622 /* confdefs.h. */
19623 _ACEOF
19624 cat confdefs.h >>conftest.$ac_ext
19625 cat >>conftest.$ac_ext <<_ACEOF
19626 /* end confdefs.h. */
19627 #ifdef HAVE_SYS_TYPES_H
19628 #include <sys/types.h>
19629 #endif
19630 #ifdef HAVE_NETINET_IN_H
19631 #include <netinet/in.h>
19632 #endif
19635 main ()
19637 static struct sockaddr_in6 ac_aggr;
19638 if (sizeof ac_aggr.sin6_scope_id)
19639 return 0;
19641 return 0;
19643 _ACEOF
19644 rm -f conftest.$ac_objext
19645 if { (ac_try="$ac_compile"
19646 case "(($ac_try" in
19647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19648 *) ac_try_echo=$ac_try;;
19649 esac
19650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19651 (eval "$ac_compile") 2>conftest.er1
19652 ac_status=$?
19653 grep -v '^ *+' conftest.er1 >conftest.err
19654 rm -f conftest.er1
19655 cat conftest.err >&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); } && {
19658 test -z "$ac_c_werror_flag" ||
19659 test ! -s conftest.err
19660 } && test -s conftest.$ac_objext; then
19661 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19662 else
19663 echo "$as_me: failed program was:" >&5
19664 sed 's/^/| /' conftest.$ac_ext >&5
19666 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19674 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19675 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19676 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19678 cat >>confdefs.h <<_ACEOF
19679 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19680 _ACEOF
19686 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19687 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19688 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19689 echo $ECHO_N "(cached) $ECHO_C" >&6
19690 else
19691 cat >conftest.$ac_ext <<_ACEOF
19692 /* confdefs.h. */
19693 _ACEOF
19694 cat confdefs.h >>conftest.$ac_ext
19695 cat >>conftest.$ac_ext <<_ACEOF
19696 /* end confdefs.h. */
19697 #ifdef HAVE_SYS_TYPES_H
19698 #include <sys/types.h>
19699 #endif
19700 #ifdef HAVE_NETINET_IN_H
19701 # include <netinet/in.h>
19702 #endif
19703 #ifdef HAVE_ARPA_NAMESER_H
19704 # include <arpa/nameser.h>
19705 #endif
19708 main ()
19710 static ns_msg ac_aggr;
19711 if (ac_aggr._msg_ptr)
19712 return 0;
19714 return 0;
19716 _ACEOF
19717 rm -f conftest.$ac_objext
19718 if { (ac_try="$ac_compile"
19719 case "(($ac_try" in
19720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19721 *) ac_try_echo=$ac_try;;
19722 esac
19723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19724 (eval "$ac_compile") 2>conftest.er1
19725 ac_status=$?
19726 grep -v '^ *+' conftest.er1 >conftest.err
19727 rm -f conftest.er1
19728 cat conftest.err >&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); } && {
19731 test -z "$ac_c_werror_flag" ||
19732 test ! -s conftest.err
19733 } && test -s conftest.$ac_objext; then
19734 ac_cv_member_ns_msg__msg_ptr=yes
19735 else
19736 echo "$as_me: failed program was:" >&5
19737 sed 's/^/| /' conftest.$ac_ext >&5
19739 cat >conftest.$ac_ext <<_ACEOF
19740 /* confdefs.h. */
19741 _ACEOF
19742 cat confdefs.h >>conftest.$ac_ext
19743 cat >>conftest.$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19745 #ifdef HAVE_SYS_TYPES_H
19746 #include <sys/types.h>
19747 #endif
19748 #ifdef HAVE_NETINET_IN_H
19749 # include <netinet/in.h>
19750 #endif
19751 #ifdef HAVE_ARPA_NAMESER_H
19752 # include <arpa/nameser.h>
19753 #endif
19756 main ()
19758 static ns_msg ac_aggr;
19759 if (sizeof ac_aggr._msg_ptr)
19760 return 0;
19762 return 0;
19764 _ACEOF
19765 rm -f conftest.$ac_objext
19766 if { (ac_try="$ac_compile"
19767 case "(($ac_try" in
19768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19769 *) ac_try_echo=$ac_try;;
19770 esac
19771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19772 (eval "$ac_compile") 2>conftest.er1
19773 ac_status=$?
19774 grep -v '^ *+' conftest.er1 >conftest.err
19775 rm -f conftest.er1
19776 cat conftest.err >&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } && {
19779 test -z "$ac_c_werror_flag" ||
19780 test ! -s conftest.err
19781 } && test -s conftest.$ac_objext; then
19782 ac_cv_member_ns_msg__msg_ptr=yes
19783 else
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.$ac_ext >&5
19787 ac_cv_member_ns_msg__msg_ptr=no
19790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19795 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19796 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19797 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19799 cat >>confdefs.h <<_ACEOF
19800 #define HAVE_NS_MSG__MSG_PTR 1
19801 _ACEOF
19807 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19808 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19809 if test "${ac_cv_have_timezone+set}" = set; then
19810 echo $ECHO_N "(cached) $ECHO_C" >&6
19811 else
19812 cat >conftest.$ac_ext <<_ACEOF
19813 /* confdefs.h. */
19814 _ACEOF
19815 cat confdefs.h >>conftest.$ac_ext
19816 cat >>conftest.$ac_ext <<_ACEOF
19817 /* end confdefs.h. */
19818 #include <time.h>
19820 main ()
19822 timezone = 1
19824 return 0;
19826 _ACEOF
19827 rm -f conftest.$ac_objext conftest$ac_exeext
19828 if { (ac_try="$ac_link"
19829 case "(($ac_try" in
19830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19831 *) ac_try_echo=$ac_try;;
19832 esac
19833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19834 (eval "$ac_link") 2>conftest.er1
19835 ac_status=$?
19836 grep -v '^ *+' conftest.er1 >conftest.err
19837 rm -f conftest.er1
19838 cat conftest.err >&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); } && {
19841 test -z "$ac_c_werror_flag" ||
19842 test ! -s conftest.err
19843 } && test -s conftest$ac_exeext &&
19844 $as_test_x conftest$ac_exeext; then
19845 ac_cv_have_timezone="yes"
19846 else
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.$ac_ext >&5
19850 ac_cv_have_timezone="no"
19853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19854 conftest$ac_exeext conftest.$ac_ext
19856 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19857 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19858 if test "$ac_cv_have_timezone" = "yes"
19859 then
19861 cat >>confdefs.h <<\_ACEOF
19862 #define HAVE_TIMEZONE 1
19863 _ACEOF
19866 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19867 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19868 if test "${ac_cv_have_daylight+set}" = set; then
19869 echo $ECHO_N "(cached) $ECHO_C" >&6
19870 else
19871 cat >conftest.$ac_ext <<_ACEOF
19872 /* confdefs.h. */
19873 _ACEOF
19874 cat confdefs.h >>conftest.$ac_ext
19875 cat >>conftest.$ac_ext <<_ACEOF
19876 /* end confdefs.h. */
19877 #include <time.h>
19879 main ()
19881 daylight = 1
19883 return 0;
19885 _ACEOF
19886 rm -f conftest.$ac_objext conftest$ac_exeext
19887 if { (ac_try="$ac_link"
19888 case "(($ac_try" in
19889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19890 *) ac_try_echo=$ac_try;;
19891 esac
19892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19893 (eval "$ac_link") 2>conftest.er1
19894 ac_status=$?
19895 grep -v '^ *+' conftest.er1 >conftest.err
19896 rm -f conftest.er1
19897 cat conftest.err >&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); } && {
19900 test -z "$ac_c_werror_flag" ||
19901 test ! -s conftest.err
19902 } && test -s conftest$ac_exeext &&
19903 $as_test_x conftest$ac_exeext; then
19904 ac_cv_have_daylight="yes"
19905 else
19906 echo "$as_me: failed program was:" >&5
19907 sed 's/^/| /' conftest.$ac_ext >&5
19909 ac_cv_have_daylight="no"
19912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19913 conftest$ac_exeext conftest.$ac_ext
19915 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19916 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19917 if test "$ac_cv_have_daylight" = "yes"
19918 then
19920 cat >>confdefs.h <<\_ACEOF
19921 #define HAVE_DAYLIGHT 1
19922 _ACEOF
19927 case $host_cpu in
19928 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19929 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19930 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19931 echo $ECHO_N "(cached) $ECHO_C" >&6
19932 else
19933 cat >conftest.$ac_ext <<_ACEOF
19934 /* confdefs.h. */
19935 _ACEOF
19936 cat confdefs.h >>conftest.$ac_ext
19937 cat >>conftest.$ac_ext <<_ACEOF
19938 /* end confdefs.h. */
19939 #ifndef __i386__
19941 #endif
19942 _ACEOF
19943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19944 $EGREP "yes" >/dev/null 2>&1; then
19945 ac_cv_cpp_def___i386__=yes
19946 else
19947 ac_cv_cpp_def___i386__=no
19949 rm -f conftest*
19952 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19953 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
19954 if test $ac_cv_cpp_def___i386__ = yes; then
19955 CFLAGS="$CFLAGS -D__i386__"
19956 LINTFLAGS="$LINTFLAGS -D__i386__"
19959 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19960 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
19961 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19962 echo $ECHO_N "(cached) $ECHO_C" >&6
19963 else
19964 cat >conftest.$ac_ext <<_ACEOF
19965 /* confdefs.h. */
19966 _ACEOF
19967 cat confdefs.h >>conftest.$ac_ext
19968 cat >>conftest.$ac_ext <<_ACEOF
19969 /* end confdefs.h. */
19970 #ifndef __x86_64__
19972 #endif
19973 _ACEOF
19974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19975 $EGREP "yes" >/dev/null 2>&1; then
19976 ac_cv_cpp_def___x86_64__=yes
19977 else
19978 ac_cv_cpp_def___x86_64__=no
19980 rm -f conftest*
19983 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
19984 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
19985 if test $ac_cv_cpp_def___x86_64__ = yes; then
19986 CFLAGS="$CFLAGS -D__x86_64__"
19987 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19990 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19991 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
19992 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19993 echo $ECHO_N "(cached) $ECHO_C" >&6
19994 else
19995 cat >conftest.$ac_ext <<_ACEOF
19996 /* confdefs.h. */
19997 _ACEOF
19998 cat confdefs.h >>conftest.$ac_ext
19999 cat >>conftest.$ac_ext <<_ACEOF
20000 /* end confdefs.h. */
20001 #ifndef __ALPHA__
20003 #endif
20004 _ACEOF
20005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20006 $EGREP "yes" >/dev/null 2>&1; then
20007 ac_cv_cpp_def___ALPHA__=yes
20008 else
20009 ac_cv_cpp_def___ALPHA__=no
20011 rm -f conftest*
20014 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20015 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20016 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20017 CFLAGS="$CFLAGS -D__ALPHA__"
20018 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20021 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20022 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20023 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20024 echo $ECHO_N "(cached) $ECHO_C" >&6
20025 else
20026 cat >conftest.$ac_ext <<_ACEOF
20027 /* confdefs.h. */
20028 _ACEOF
20029 cat confdefs.h >>conftest.$ac_ext
20030 cat >>conftest.$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20032 #ifndef __sparc__
20034 #endif
20035 _ACEOF
20036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20037 $EGREP "yes" >/dev/null 2>&1; then
20038 ac_cv_cpp_def___sparc__=yes
20039 else
20040 ac_cv_cpp_def___sparc__=no
20042 rm -f conftest*
20045 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20046 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20047 if test $ac_cv_cpp_def___sparc__ = yes; then
20048 CFLAGS="$CFLAGS -D__sparc__"
20049 LINTFLAGS="$LINTFLAGS -D__sparc__"
20052 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20053 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20054 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 else
20057 cat >conftest.$ac_ext <<_ACEOF
20058 /* confdefs.h. */
20059 _ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 #ifndef __powerpc__
20065 #endif
20066 _ACEOF
20067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20068 $EGREP "yes" >/dev/null 2>&1; then
20069 ac_cv_cpp_def___powerpc__=yes
20070 else
20071 ac_cv_cpp_def___powerpc__=no
20073 rm -f conftest*
20076 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20077 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20078 if test $ac_cv_cpp_def___powerpc__ = yes; then
20079 CFLAGS="$CFLAGS -D__powerpc__"
20080 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20083 esac
20085 case $host_vendor in
20086 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20087 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20088 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20089 echo $ECHO_N "(cached) $ECHO_C" >&6
20090 else
20091 cat >conftest.$ac_ext <<_ACEOF
20092 /* confdefs.h. */
20093 _ACEOF
20094 cat confdefs.h >>conftest.$ac_ext
20095 cat >>conftest.$ac_ext <<_ACEOF
20096 /* end confdefs.h. */
20097 #ifndef __sun__
20099 #endif
20100 _ACEOF
20101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20102 $EGREP "yes" >/dev/null 2>&1; then
20103 ac_cv_cpp_def___sun__=yes
20104 else
20105 ac_cv_cpp_def___sun__=no
20107 rm -f conftest*
20110 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20111 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20112 if test $ac_cv_cpp_def___sun__ = yes; then
20113 CFLAGS="$CFLAGS -D__sun__"
20114 LINTFLAGS="$LINTFLAGS -D__sun__"
20117 esac
20120 DEPENDENCIES="### Dependencies:
20122 .INIT: Makefile
20123 .BEGIN: Makefile
20124 Makefile: dummy
20125 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20127 \$(OBJS): \$(IDL_GEN_HEADERS)
20128 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20129 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20130 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20136 ac_config_commands="$ac_config_commands include/stamp-h"
20139 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20141 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20143 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20145 ac_config_commands="$ac_config_commands dlls/user32/resources"
20147 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20149 ac_config_commands="$ac_config_commands include/wine"
20152 MAKE_RULES=Make.rules
20155 MAKE_DLL_RULES=dlls/Makedll.rules
20158 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20161 MAKE_TEST_RULES=dlls/Maketest.rules
20164 MAKE_PROG_RULES=programs/Makeprog.rules
20167 ac_config_files="$ac_config_files Make.rules"
20169 ac_config_files="$ac_config_files dlls/Makedll.rules"
20171 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20173 ac_config_files="$ac_config_files dlls/Maketest.rules"
20175 ac_config_files="$ac_config_files programs/Makeprog.rules"
20177 ac_config_files="$ac_config_files Makefile"
20179 ac_config_files="$ac_config_files dlls/Makefile"
20181 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20183 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20185 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20187 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20189 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20191 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20193 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20195 ac_config_files="$ac_config_files dlls/atl/Makefile"
20197 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20199 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20201 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20203 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20205 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20207 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20209 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20211 ac_config_files="$ac_config_files dlls/cards/Makefile"
20213 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20215 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20217 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20219 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20221 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20223 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20225 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20227 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20229 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20231 ac_config_files="$ac_config_files dlls/credui/Makefile"
20233 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20235 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20237 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20239 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20241 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20243 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20245 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20247 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20249 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20251 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20253 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20255 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20257 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20259 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20261 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20263 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20265 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20267 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20269 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20271 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20273 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20275 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20277 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20279 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20281 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20283 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20285 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20287 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20289 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20291 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20293 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20295 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20297 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20299 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20301 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20303 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20305 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20307 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20309 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20311 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20313 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20315 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20317 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20319 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20321 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20323 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20325 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20327 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20329 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20331 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20333 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20335 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20337 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20339 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20341 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20343 ac_config_files="$ac_config_files dlls/hal/Makefile"
20345 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20347 ac_config_files="$ac_config_files dlls/hid/Makefile"
20349 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20351 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20353 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20355 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20357 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20359 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20361 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20363 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20365 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20367 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20369 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20371 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20373 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20375 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20377 ac_config_files="$ac_config_files dlls/itss/Makefile"
20379 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20381 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20383 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20385 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20387 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20389 ac_config_files="$ac_config_files dlls/localui/Makefile"
20391 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20393 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20395 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20397 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20399 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20401 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20403 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20405 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20407 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20409 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20411 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20413 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20415 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20417 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20419 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20421 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20423 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20425 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20427 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20429 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20431 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20433 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20435 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20437 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20439 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20441 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20443 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20445 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20447 ac_config_files="$ac_config_files dlls/msi/Makefile"
20449 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20451 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20453 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20455 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20457 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20459 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20461 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20463 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20465 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20467 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20469 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20471 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20473 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20475 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20477 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20479 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20481 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20483 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20485 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20487 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20489 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20491 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20493 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20495 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20497 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20499 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20501 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20503 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20505 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20507 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20509 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20511 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20513 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20515 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20517 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20519 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20521 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20523 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20525 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20527 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20529 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20531 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20533 ac_config_files="$ac_config_files dlls/printui/Makefile"
20535 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20537 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20539 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20541 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20543 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20545 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20547 ac_config_files="$ac_config_files dlls/query/Makefile"
20549 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20551 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20553 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20555 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20557 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20559 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20561 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20563 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20565 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20567 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20569 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20571 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20573 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20575 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20577 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20579 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20581 ac_config_files="$ac_config_files dlls/security/Makefile"
20583 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20585 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20587 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20589 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20591 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20593 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20595 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20597 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20599 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20601 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20603 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20605 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20607 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20609 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20611 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20613 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20615 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20617 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20619 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20621 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20623 ac_config_files="$ac_config_files dlls/sti/Makefile"
20625 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20627 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20629 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20631 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20633 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20635 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20637 ac_config_files="$ac_config_files dlls/url/Makefile"
20639 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20641 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20643 ac_config_files="$ac_config_files dlls/user32/Makefile"
20645 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20647 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20649 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20651 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20653 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20655 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20657 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20659 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20661 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20663 ac_config_files="$ac_config_files dlls/version/Makefile"
20665 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20667 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20669 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20671 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20673 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20675 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20677 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20679 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20681 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20683 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20685 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20687 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20689 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20691 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20693 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20695 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20697 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20699 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20701 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20703 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20705 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20707 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20709 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20711 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20713 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20715 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20717 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20719 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20721 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20723 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20725 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20727 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20729 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20731 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20733 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20735 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20737 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20739 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20741 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20743 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20745 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20747 ac_config_files="$ac_config_files documentation/Makefile"
20749 ac_config_files="$ac_config_files fonts/Makefile"
20751 ac_config_files="$ac_config_files include/Makefile"
20753 ac_config_files="$ac_config_files libs/Makefile"
20755 ac_config_files="$ac_config_files libs/port/Makefile"
20757 ac_config_files="$ac_config_files libs/wine/Makefile"
20759 ac_config_files="$ac_config_files libs/wpp/Makefile"
20761 ac_config_files="$ac_config_files loader/Makefile"
20763 ac_config_files="$ac_config_files programs/Makefile"
20765 ac_config_files="$ac_config_files programs/clock/Makefile"
20767 ac_config_files="$ac_config_files programs/cmd/Makefile"
20769 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20771 ac_config_files="$ac_config_files programs/control/Makefile"
20773 ac_config_files="$ac_config_files programs/eject/Makefile"
20775 ac_config_files="$ac_config_files programs/expand/Makefile"
20777 ac_config_files="$ac_config_files programs/explorer/Makefile"
20779 ac_config_files="$ac_config_files programs/hh/Makefile"
20781 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20783 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20785 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20787 ac_config_files="$ac_config_files programs/net/Makefile"
20789 ac_config_files="$ac_config_files programs/notepad/Makefile"
20791 ac_config_files="$ac_config_files programs/oleview/Makefile"
20793 ac_config_files="$ac_config_files programs/progman/Makefile"
20795 ac_config_files="$ac_config_files programs/regedit/Makefile"
20797 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20799 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20801 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20803 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20805 ac_config_files="$ac_config_files programs/start/Makefile"
20807 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20809 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20811 ac_config_files="$ac_config_files programs/view/Makefile"
20813 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20815 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20817 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20819 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20821 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20823 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20825 ac_config_files="$ac_config_files programs/winefile/Makefile"
20827 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20829 ac_config_files="$ac_config_files programs/winemine/Makefile"
20831 ac_config_files="$ac_config_files programs/winepath/Makefile"
20833 ac_config_files="$ac_config_files programs/winetest/Makefile"
20835 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20837 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20839 ac_config_files="$ac_config_files programs/winver/Makefile"
20841 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20843 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20845 ac_config_files="$ac_config_files server/Makefile"
20847 ac_config_files="$ac_config_files tools/Makefile"
20849 ac_config_files="$ac_config_files tools/widl/Makefile"
20851 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20853 ac_config_files="$ac_config_files tools/winedump/Makefile"
20855 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20857 ac_config_files="$ac_config_files tools/wmc/Makefile"
20859 ac_config_files="$ac_config_files tools/wrc/Makefile"
20862 cat >confcache <<\_ACEOF
20863 # This file is a shell script that caches the results of configure
20864 # tests run on this system so they can be shared between configure
20865 # scripts and configure runs, see configure's option --config-cache.
20866 # It is not useful on other systems. If it contains results you don't
20867 # want to keep, you may remove or edit it.
20869 # config.status only pays attention to the cache file if you give it
20870 # the --recheck option to rerun configure.
20872 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20873 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20874 # following values.
20876 _ACEOF
20878 # The following way of writing the cache mishandles newlines in values,
20879 # but we know of no workaround that is simple, portable, and efficient.
20880 # So, we kill variables containing newlines.
20881 # Ultrix sh set writes to stderr and can't be redirected directly,
20882 # and sets the high bit in the cache file unless we assign to the vars.
20884 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20885 eval ac_val=\$$ac_var
20886 case $ac_val in #(
20887 *${as_nl}*)
20888 case $ac_var in #(
20889 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20890 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20891 esac
20892 case $ac_var in #(
20893 _ | IFS | as_nl) ;; #(
20894 *) $as_unset $ac_var ;;
20895 esac ;;
20896 esac
20897 done
20899 (set) 2>&1 |
20900 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20901 *${as_nl}ac_space=\ *)
20902 # `set' does not quote correctly, so add quotes (double-quote
20903 # substitution turns \\\\ into \\, and sed turns \\ into \).
20904 sed -n \
20905 "s/'/'\\\\''/g;
20906 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20907 ;; #(
20909 # `set' quotes correctly as required by POSIX, so do not add quotes.
20910 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20912 esac |
20913 sort
20915 sed '
20916 /^ac_cv_env_/b end
20917 t clear
20918 :clear
20919 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20920 t end
20921 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20922 :end' >>confcache
20923 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20924 if test -w "$cache_file"; then
20925 test "x$cache_file" != "x/dev/null" &&
20926 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20927 echo "$as_me: updating cache $cache_file" >&6;}
20928 cat confcache >$cache_file
20929 else
20930 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20931 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20934 rm -f confcache
20936 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20937 # Let make expand exec_prefix.
20938 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20940 DEFS=-DHAVE_CONFIG_H
20942 ac_libobjs=
20943 ac_ltlibobjs=
20944 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20945 # 1. Remove the extension, and $U if already installed.
20946 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20947 ac_i=`echo "$ac_i" | sed "$ac_script"`
20948 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20949 # will be set to the directory where LIBOBJS objects are built.
20950 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20951 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20952 done
20953 LIBOBJS=$ac_libobjs
20955 LTLIBOBJS=$ac_ltlibobjs
20959 : ${CONFIG_STATUS=./config.status}
20960 ac_clean_files_save=$ac_clean_files
20961 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20962 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20963 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20964 cat >$CONFIG_STATUS <<_ACEOF
20965 #! $SHELL
20966 # Generated by $as_me.
20967 # Run this file to recreate the current configuration.
20968 # Compiler output produced by configure, useful for debugging
20969 # configure, is in config.log if it exists.
20971 debug=false
20972 ac_cs_recheck=false
20973 ac_cs_silent=false
20974 SHELL=\${CONFIG_SHELL-$SHELL}
20975 _ACEOF
20977 cat >>$CONFIG_STATUS <<\_ACEOF
20978 ## --------------------- ##
20979 ## M4sh Initialization. ##
20980 ## --------------------- ##
20982 # Be more Bourne compatible
20983 DUALCASE=1; export DUALCASE # for MKS sh
20984 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20985 emulate sh
20986 NULLCMD=:
20987 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20988 # is contrary to our usage. Disable this feature.
20989 alias -g '${1+"$@"}'='"$@"'
20990 setopt NO_GLOB_SUBST
20991 else
20992 case `(set -o) 2>/dev/null` in
20993 *posix*) set -o posix ;;
20994 esac
21001 # PATH needs CR
21002 # Avoid depending upon Character Ranges.
21003 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21004 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21005 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21006 as_cr_digits='0123456789'
21007 as_cr_alnum=$as_cr_Letters$as_cr_digits
21009 # The user is always right.
21010 if test "${PATH_SEPARATOR+set}" != set; then
21011 echo "#! /bin/sh" >conf$$.sh
21012 echo "exit 0" >>conf$$.sh
21013 chmod +x conf$$.sh
21014 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21015 PATH_SEPARATOR=';'
21016 else
21017 PATH_SEPARATOR=:
21019 rm -f conf$$.sh
21022 # Support unset when possible.
21023 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21024 as_unset=unset
21025 else
21026 as_unset=false
21030 # IFS
21031 # We need space, tab and new line, in precisely that order. Quoting is
21032 # there to prevent editors from complaining about space-tab.
21033 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21034 # splitting by setting IFS to empty value.)
21035 as_nl='
21037 IFS=" "" $as_nl"
21039 # Find who we are. Look in the path if we contain no directory separator.
21040 case $0 in
21041 *[\\/]* ) as_myself=$0 ;;
21042 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21043 for as_dir in $PATH
21045 IFS=$as_save_IFS
21046 test -z "$as_dir" && as_dir=.
21047 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21048 done
21049 IFS=$as_save_IFS
21052 esac
21053 # We did not find ourselves, most probably we were run as `sh COMMAND'
21054 # in which case we are not to be found in the path.
21055 if test "x$as_myself" = x; then
21056 as_myself=$0
21058 if test ! -f "$as_myself"; then
21059 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21060 { (exit 1); exit 1; }
21063 # Work around bugs in pre-3.0 UWIN ksh.
21064 for as_var in ENV MAIL MAILPATH
21065 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21066 done
21067 PS1='$ '
21068 PS2='> '
21069 PS4='+ '
21071 # NLS nuisances.
21072 for as_var in \
21073 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21074 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21075 LC_TELEPHONE LC_TIME
21077 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21078 eval $as_var=C; export $as_var
21079 else
21080 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21082 done
21084 # Required to use basename.
21085 if expr a : '\(a\)' >/dev/null 2>&1 &&
21086 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21087 as_expr=expr
21088 else
21089 as_expr=false
21092 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21093 as_basename=basename
21094 else
21095 as_basename=false
21099 # Name of the executable.
21100 as_me=`$as_basename -- "$0" ||
21101 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21102 X"$0" : 'X\(//\)$' \| \
21103 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21104 echo X/"$0" |
21105 sed '/^.*\/\([^/][^/]*\)\/*$/{
21106 s//\1/
21109 /^X\/\(\/\/\)$/{
21110 s//\1/
21113 /^X\/\(\/\).*/{
21114 s//\1/
21117 s/.*/./; q'`
21119 # CDPATH.
21120 $as_unset CDPATH
21124 as_lineno_1=$LINENO
21125 as_lineno_2=$LINENO
21126 test "x$as_lineno_1" != "x$as_lineno_2" &&
21127 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21129 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21130 # uniformly replaced by the line number. The first 'sed' inserts a
21131 # line-number line after each line using $LINENO; the second 'sed'
21132 # does the real work. The second script uses 'N' to pair each
21133 # line-number line with the line containing $LINENO, and appends
21134 # trailing '-' during substitution so that $LINENO is not a special
21135 # case at line end.
21136 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21137 # scripts with optimization help from Paolo Bonzini. Blame Lee
21138 # E. McMahon (1931-1989) for sed's syntax. :-)
21139 sed -n '
21141 /[$]LINENO/=
21142 ' <$as_myself |
21143 sed '
21144 s/[$]LINENO.*/&-/
21145 t lineno
21147 :lineno
21149 :loop
21150 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21151 t loop
21152 s/-\n.*//
21153 ' >$as_me.lineno &&
21154 chmod +x "$as_me.lineno" ||
21155 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21156 { (exit 1); exit 1; }; }
21158 # Don't try to exec as it changes $[0], causing all sort of problems
21159 # (the dirname of $[0] is not the place where we might find the
21160 # original and so on. Autoconf is especially sensitive to this).
21161 . "./$as_me.lineno"
21162 # Exit status is that of the last command.
21163 exit
21167 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21168 as_dirname=dirname
21169 else
21170 as_dirname=false
21173 ECHO_C= ECHO_N= ECHO_T=
21174 case `echo -n x` in
21175 -n*)
21176 case `echo 'x\c'` in
21177 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21178 *) ECHO_C='\c';;
21179 esac;;
21181 ECHO_N='-n';;
21182 esac
21184 if expr a : '\(a\)' >/dev/null 2>&1 &&
21185 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21186 as_expr=expr
21187 else
21188 as_expr=false
21191 rm -f conf$$ conf$$.exe conf$$.file
21192 if test -d conf$$.dir; then
21193 rm -f conf$$.dir/conf$$.file
21194 else
21195 rm -f conf$$.dir
21196 mkdir conf$$.dir
21198 echo >conf$$.file
21199 if ln -s conf$$.file conf$$ 2>/dev/null; then
21200 as_ln_s='ln -s'
21201 # ... but there are two gotchas:
21202 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21203 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21204 # In both cases, we have to default to `cp -p'.
21205 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21206 as_ln_s='cp -p'
21207 elif ln conf$$.file conf$$ 2>/dev/null; then
21208 as_ln_s=ln
21209 else
21210 as_ln_s='cp -p'
21212 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21213 rmdir conf$$.dir 2>/dev/null
21215 if mkdir -p . 2>/dev/null; then
21216 as_mkdir_p=:
21217 else
21218 test -d ./-p && rmdir ./-p
21219 as_mkdir_p=false
21222 if test -x / >/dev/null 2>&1; then
21223 as_test_x='test -x'
21224 else
21225 if ls -dL / >/dev/null 2>&1; then
21226 as_ls_L_option=L
21227 else
21228 as_ls_L_option=
21230 as_test_x='
21231 eval sh -c '\''
21232 if test -d "$1"; then
21233 test -d "$1/.";
21234 else
21235 case $1 in
21236 -*)set "./$1";;
21237 esac;
21238 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21239 ???[sx]*):;;*)false;;esac;fi
21240 '\'' sh
21243 as_executable_p=$as_test_x
21245 # Sed expression to map a string onto a valid CPP name.
21246 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21248 # Sed expression to map a string onto a valid variable name.
21249 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21252 exec 6>&1
21254 # Save the log message, to keep $[0] and so on meaningful, and to
21255 # report actual input values of CONFIG_FILES etc. instead of their
21256 # values after options handling.
21257 ac_log="
21258 This file was extended by Wine $as_me 0.9.40, which was
21259 generated by GNU Autoconf 2.61. Invocation command line was
21261 CONFIG_FILES = $CONFIG_FILES
21262 CONFIG_HEADERS = $CONFIG_HEADERS
21263 CONFIG_LINKS = $CONFIG_LINKS
21264 CONFIG_COMMANDS = $CONFIG_COMMANDS
21265 $ $0 $@
21267 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21270 _ACEOF
21272 cat >>$CONFIG_STATUS <<_ACEOF
21273 # Files that config.status was made for.
21274 config_files="$ac_config_files"
21275 config_headers="$ac_config_headers"
21276 config_commands="$ac_config_commands"
21278 _ACEOF
21280 cat >>$CONFIG_STATUS <<\_ACEOF
21281 ac_cs_usage="\
21282 \`$as_me' instantiates files from templates according to the
21283 current configuration.
21285 Usage: $0 [OPTIONS] [FILE]...
21287 -h, --help print this help, then exit
21288 -V, --version print version number and configuration settings, then exit
21289 -q, --quiet do not print progress messages
21290 -d, --debug don't remove temporary files
21291 --recheck update $as_me by reconfiguring in the same conditions
21292 --file=FILE[:TEMPLATE]
21293 instantiate the configuration file FILE
21294 --header=FILE[:TEMPLATE]
21295 instantiate the configuration header FILE
21297 Configuration files:
21298 $config_files
21300 Configuration headers:
21301 $config_headers
21303 Configuration commands:
21304 $config_commands
21306 Report bugs to <bug-autoconf@gnu.org>."
21308 _ACEOF
21309 cat >>$CONFIG_STATUS <<_ACEOF
21310 ac_cs_version="\\
21311 Wine config.status 0.9.40
21312 configured by $0, generated by GNU Autoconf 2.61,
21313 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21315 Copyright (C) 2006 Free Software Foundation, Inc.
21316 This config.status script is free software; the Free Software Foundation
21317 gives unlimited permission to copy, distribute and modify it."
21319 ac_pwd='$ac_pwd'
21320 srcdir='$srcdir'
21321 INSTALL='$INSTALL'
21322 _ACEOF
21324 cat >>$CONFIG_STATUS <<\_ACEOF
21325 # If no file are specified by the user, then we need to provide default
21326 # value. By we need to know if files were specified by the user.
21327 ac_need_defaults=:
21328 while test $# != 0
21330 case $1 in
21331 --*=*)
21332 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21333 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21334 ac_shift=:
21337 ac_option=$1
21338 ac_optarg=$2
21339 ac_shift=shift
21341 esac
21343 case $ac_option in
21344 # Handling of the options.
21345 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21346 ac_cs_recheck=: ;;
21347 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21348 echo "$ac_cs_version"; exit ;;
21349 --debug | --debu | --deb | --de | --d | -d )
21350 debug=: ;;
21351 --file | --fil | --fi | --f )
21352 $ac_shift
21353 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21354 ac_need_defaults=false;;
21355 --header | --heade | --head | --hea )
21356 $ac_shift
21357 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21358 ac_need_defaults=false;;
21359 --he | --h)
21360 # Conflict between --help and --header
21361 { echo "$as_me: error: ambiguous option: $1
21362 Try \`$0 --help' for more information." >&2
21363 { (exit 1); exit 1; }; };;
21364 --help | --hel | -h )
21365 echo "$ac_cs_usage"; exit ;;
21366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21367 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21368 ac_cs_silent=: ;;
21370 # This is an error.
21371 -*) { echo "$as_me: error: unrecognized option: $1
21372 Try \`$0 --help' for more information." >&2
21373 { (exit 1); exit 1; }; } ;;
21375 *) ac_config_targets="$ac_config_targets $1"
21376 ac_need_defaults=false ;;
21378 esac
21379 shift
21380 done
21382 ac_configure_extra_args=
21384 if $ac_cs_silent; then
21385 exec 6>/dev/null
21386 ac_configure_extra_args="$ac_configure_extra_args --silent"
21389 _ACEOF
21390 cat >>$CONFIG_STATUS <<_ACEOF
21391 if \$ac_cs_recheck; then
21392 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21393 CONFIG_SHELL=$SHELL
21394 export CONFIG_SHELL
21395 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21398 _ACEOF
21399 cat >>$CONFIG_STATUS <<\_ACEOF
21400 exec 5>>config.log
21402 echo
21403 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21404 ## Running $as_me. ##
21405 _ASBOX
21406 echo "$ac_log"
21407 } >&5
21409 _ACEOF
21410 cat >>$CONFIG_STATUS <<_ACEOF
21411 _ACEOF
21413 cat >>$CONFIG_STATUS <<\_ACEOF
21415 # Handling of arguments.
21416 for ac_config_target in $ac_config_targets
21418 case $ac_config_target in
21419 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21420 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21421 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21422 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21423 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21424 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21425 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21426 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21427 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21428 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21429 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21430 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21431 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21432 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21433 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21434 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21435 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21436 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21437 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21438 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21439 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21440 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21441 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21442 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21443 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21444 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21445 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21446 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21447 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21448 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21449 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21450 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21451 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21452 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21453 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21454 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21455 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21456 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21457 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21458 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21459 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21460 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21461 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21462 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21463 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21464 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21465 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21466 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21467 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21468 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21469 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21470 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21471 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21472 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21473 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21474 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21475 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21476 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21477 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21478 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21479 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21480 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21481 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21482 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21483 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21484 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21485 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21486 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21487 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21488 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21489 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21490 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21491 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21492 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21493 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21494 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21495 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21496 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21497 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21498 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21499 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21500 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21501 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21502 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21503 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21504 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21505 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21506 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21507 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21508 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21509 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21510 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21511 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21512 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21513 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21514 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21515 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21516 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21517 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21518 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21519 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21520 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21521 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21522 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21523 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21524 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21525 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21526 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21527 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21528 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21529 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21530 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21531 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21532 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21533 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21534 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21535 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21536 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21537 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21538 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21539 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21540 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21541 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21542 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21543 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21544 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21545 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21546 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21547 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21548 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21549 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21550 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21551 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21552 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21553 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21554 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21555 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21556 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21557 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21558 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21559 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21560 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21561 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21562 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21563 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21564 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21565 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21566 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21567 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21568 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21569 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21570 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21571 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21572 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21573 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21574 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21575 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21576 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21577 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21578 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21579 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21580 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21581 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21582 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21583 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21584 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21585 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21586 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21587 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21588 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21589 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21590 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21591 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21592 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21593 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21594 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21595 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21596 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21597 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21598 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21599 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21600 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21601 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21602 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21603 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21604 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21605 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21606 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21607 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21608 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21609 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21610 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21611 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21612 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21613 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21614 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21615 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21616 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21617 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21618 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21619 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21620 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21621 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21622 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21623 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21624 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21625 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21626 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21627 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21628 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21629 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21630 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21631 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21632 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21633 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21634 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21635 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21636 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21637 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21638 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21639 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21640 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21641 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21642 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21643 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21644 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21645 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21646 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21647 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21648 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21649 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21650 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21651 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21652 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21653 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21654 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21655 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21656 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21657 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21658 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21659 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21660 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21661 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21662 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21663 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21664 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21665 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21666 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21667 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21668 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21669 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21670 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21671 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21672 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21673 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21674 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21675 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21676 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21677 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21678 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21679 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21680 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21681 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21682 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21683 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21684 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21685 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21686 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21687 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21688 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21689 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21690 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21691 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21692 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21693 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21694 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21695 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21696 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21697 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21698 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21699 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21700 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21701 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21702 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21703 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21704 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21705 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21706 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21707 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21708 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21709 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21710 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21711 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21712 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21713 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21714 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21715 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21716 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21717 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21718 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21719 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21720 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21721 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21722 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21723 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21724 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21725 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21726 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21727 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21728 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21729 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21730 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21731 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21732 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21733 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21734 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21735 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21736 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21737 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21738 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21739 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21740 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21741 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21742 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21743 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21744 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21745 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21746 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21747 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21748 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21749 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21750 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21751 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21752 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21753 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21754 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21755 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21756 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21757 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21758 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21759 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21760 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21761 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21762 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21763 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21764 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21765 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21766 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21767 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21768 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21769 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21770 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21771 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21772 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21773 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21775 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21776 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21777 { (exit 1); exit 1; }; };;
21778 esac
21779 done
21782 # If the user did not use the arguments to specify the items to instantiate,
21783 # then the envvar interface is used. Set only those that are not.
21784 # We use the long form for the default assignment because of an extremely
21785 # bizarre bug on SunOS 4.1.3.
21786 if $ac_need_defaults; then
21787 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21788 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21789 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21792 # Have a temporary directory for convenience. Make it in the build tree
21793 # simply because there is no reason against having it here, and in addition,
21794 # creating and moving files from /tmp can sometimes cause problems.
21795 # Hook for its removal unless debugging.
21796 # Note that there is a small window in which the directory will not be cleaned:
21797 # after its creation but before its name has been assigned to `$tmp'.
21798 $debug ||
21800 tmp=
21801 trap 'exit_status=$?
21802 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21804 trap '{ (exit 1); exit 1; }' 1 2 13 15
21806 # Create a (secure) tmp directory for tmp files.
21809 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21810 test -n "$tmp" && test -d "$tmp"
21811 } ||
21813 tmp=./conf$$-$RANDOM
21814 (umask 077 && mkdir "$tmp")
21815 } ||
21817 echo "$me: cannot create a temporary directory in ." >&2
21818 { (exit 1); exit 1; }
21822 # Set up the sed scripts for CONFIG_FILES section.
21825 # No need to generate the scripts if there are no CONFIG_FILES.
21826 # This happens for instance when ./config.status config.h
21827 if test -n "$CONFIG_FILES"; then
21829 _ACEOF
21831 # Create sed commands to just substitute file output variables.
21833 # Remaining file output variables are in a fragment that also has non-file
21834 # output varibles.
21838 ac_delim='%!_!# '
21839 for ac_last_try in false false false false false :; do
21840 cat >conf$$subs.sed <<_ACEOF
21841 SHELL!$SHELL$ac_delim
21842 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21843 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21844 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21845 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21846 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21847 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21848 exec_prefix!$exec_prefix$ac_delim
21849 prefix!$prefix$ac_delim
21850 program_transform_name!$program_transform_name$ac_delim
21851 bindir!$bindir$ac_delim
21852 sbindir!$sbindir$ac_delim
21853 libexecdir!$libexecdir$ac_delim
21854 datarootdir!$datarootdir$ac_delim
21855 datadir!$datadir$ac_delim
21856 sysconfdir!$sysconfdir$ac_delim
21857 sharedstatedir!$sharedstatedir$ac_delim
21858 localstatedir!$localstatedir$ac_delim
21859 includedir!$includedir$ac_delim
21860 oldincludedir!$oldincludedir$ac_delim
21861 docdir!$docdir$ac_delim
21862 infodir!$infodir$ac_delim
21863 htmldir!$htmldir$ac_delim
21864 dvidir!$dvidir$ac_delim
21865 pdfdir!$pdfdir$ac_delim
21866 psdir!$psdir$ac_delim
21867 libdir!$libdir$ac_delim
21868 localedir!$localedir$ac_delim
21869 mandir!$mandir$ac_delim
21870 DEFS!$DEFS$ac_delim
21871 ECHO_C!$ECHO_C$ac_delim
21872 ECHO_N!$ECHO_N$ac_delim
21873 ECHO_T!$ECHO_T$ac_delim
21874 LIBS!$LIBS$ac_delim
21875 build_alias!$build_alias$ac_delim
21876 host_alias!$host_alias$ac_delim
21877 target_alias!$target_alias$ac_delim
21878 build!$build$ac_delim
21879 build_cpu!$build_cpu$ac_delim
21880 build_vendor!$build_vendor$ac_delim
21881 build_os!$build_os$ac_delim
21882 host!$host$ac_delim
21883 host_cpu!$host_cpu$ac_delim
21884 host_vendor!$host_vendor$ac_delim
21885 host_os!$host_os$ac_delim
21886 WIN16_FILES!$WIN16_FILES$ac_delim
21887 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21888 SET_MAKE!$SET_MAKE$ac_delim
21889 CC!$CC$ac_delim
21890 CFLAGS!$CFLAGS$ac_delim
21891 LDFLAGS!$LDFLAGS$ac_delim
21892 CPPFLAGS!$CPPFLAGS$ac_delim
21893 ac_ct_CC!$ac_ct_CC$ac_delim
21894 EXEEXT!$EXEEXT$ac_delim
21895 OBJEXT!$OBJEXT$ac_delim
21896 CXX!$CXX$ac_delim
21897 CXXFLAGS!$CXXFLAGS$ac_delim
21898 ac_ct_CXX!$ac_ct_CXX$ac_delim
21899 CPPBIN!$CPPBIN$ac_delim
21900 TOOLSDIR!$TOOLSDIR$ac_delim
21901 XMKMF!$XMKMF$ac_delim
21902 CPP!$CPP$ac_delim
21903 X_CFLAGS!$X_CFLAGS$ac_delim
21904 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21905 X_LIBS!$X_LIBS$ac_delim
21906 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21907 FLEX!$FLEX$ac_delim
21908 BISON!$BISON$ac_delim
21909 AS!$AS$ac_delim
21910 ac_ct_AS!$ac_ct_AS$ac_delim
21911 LD!$LD$ac_delim
21912 AR!$AR$ac_delim
21913 RANLIB!$RANLIB$ac_delim
21914 STRIP!$STRIP$ac_delim
21915 WINDRES!$WINDRES$ac_delim
21916 LN_S!$LN_S$ac_delim
21917 LN!$LN$ac_delim
21918 GREP!$GREP$ac_delim
21919 EGREP!$EGREP$ac_delim
21920 LDCONFIG!$LDCONFIG$ac_delim
21921 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21922 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21923 _ACEOF
21925 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21926 break
21927 elif $ac_last_try; then
21928 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21929 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21930 { (exit 1); exit 1; }; }
21931 else
21932 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21934 done
21936 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21937 if test -n "$ac_eof"; then
21938 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21939 ac_eof=`expr $ac_eof + 1`
21942 cat >>$CONFIG_STATUS <<_ACEOF
21943 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21944 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21945 /^[ ]*@MAKE_RULES@[ ]*$/{
21946 r $MAKE_RULES
21949 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21950 r $MAKE_DLL_RULES
21953 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21954 r $MAKE_IMPLIB_RULES
21957 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21958 r $MAKE_TEST_RULES
21961 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21962 r $MAKE_PROG_RULES
21965 _ACEOF
21966 sed '
21967 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21968 s/^/s,@/; s/!/@,|#_!!_#|/
21971 s/'"$ac_delim"'$/,g/; t
21972 s/$/\\/; p
21973 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21974 ' >>$CONFIG_STATUS <conf$$subs.sed
21975 rm -f conf$$subs.sed
21976 cat >>$CONFIG_STATUS <<_ACEOF
21977 CEOF$ac_eof
21978 _ACEOF
21981 ac_delim='%!_!# '
21982 for ac_last_try in false false false false false :; do
21983 cat >conf$$subs.sed <<_ACEOF
21984 INSTALL_DATA!$INSTALL_DATA$ac_delim
21985 LINT!$LINT$ac_delim
21986 LINTFLAGS!$LINTFLAGS$ac_delim
21987 FONTFORGE!$FONTFORGE$ac_delim
21988 PKG_CONFIG!$PKG_CONFIG$ac_delim
21989 PRELINK!$PRELINK$ac_delim
21990 LIBPTHREAD!$LIBPTHREAD$ac_delim
21991 XLIB!$XLIB$ac_delim
21992 XFILES!$XFILES$ac_delim
21993 OPENGLFILES!$OPENGLFILES$ac_delim
21994 GLU32FILES!$GLU32FILES$ac_delim
21995 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21996 QUARTZFILES!$QUARTZFILES$ac_delim
21997 DLLEXT!$DLLEXT$ac_delim
21998 DLLFLAGS!$DLLFLAGS$ac_delim
21999 LDSHARED!$LDSHARED$ac_delim
22000 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22001 LIBEXT!$LIBEXT$ac_delim
22002 IMPLIBEXT!$IMPLIBEXT$ac_delim
22003 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22004 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22005 LDD!$LDD$ac_delim
22006 DLLTOOL!$DLLTOOL$ac_delim
22007 DLLWRAP!$DLLWRAP$ac_delim
22008 MINGWAR!$MINGWAR$ac_delim
22009 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22010 IOKITLIB!$IOKITLIB$ac_delim
22011 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22012 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22013 COREAUDIO!$COREAUDIO$ac_delim
22014 CARBONLIB!$CARBONLIB$ac_delim
22015 CROSSTEST!$CROSSTEST$ac_delim
22016 CROSSCC!$CROSSCC$ac_delim
22017 CROSSWINDRES!$CROSSWINDRES$ac_delim
22018 NASLIBS!$NASLIBS$ac_delim
22019 XML2LIBS!$XML2LIBS$ac_delim
22020 XML2INCL!$XML2INCL$ac_delim
22021 XSLTLIBS!$XSLTLIBS$ac_delim
22022 XSLTINCL!$XSLTINCL$ac_delim
22023 HALINCL!$HALINCL$ac_delim
22024 sane_devel!$sane_devel$ac_delim
22025 SANEINCL!$SANEINCL$ac_delim
22026 gphoto2_devel!$gphoto2_devel$ac_delim
22027 gphoto2port_devel!$gphoto2port_devel$ac_delim
22028 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22029 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22030 ICULIBS!$ICULIBS$ac_delim
22031 RESOLVLIBS!$RESOLVLIBS$ac_delim
22032 LCMSLIBS!$LCMSLIBS$ac_delim
22033 LDAPLIBS!$LDAPLIBS$ac_delim
22034 FREETYPELIBS!$FREETYPELIBS$ac_delim
22035 FREETYPEINCL!$FREETYPEINCL$ac_delim
22036 ft_devel!$ft_devel$ac_delim
22037 ft_devel2!$ft_devel2$ac_delim
22038 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22039 ESDCONFIG!$ESDCONFIG$ac_delim
22040 ESDLIBS!$ESDLIBS$ac_delim
22041 ESDINCL!$ESDINCL$ac_delim
22042 ALSALIBS!$ALSALIBS$ac_delim
22043 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22044 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22045 BUILTINFLAG!$BUILTINFLAG$ac_delim
22046 LDPATH!$LDPATH$ac_delim
22047 CRTLIBS!$CRTLIBS$ac_delim
22048 SOCKETLIBS!$SOCKETLIBS$ac_delim
22049 MAIN_BINARY!$MAIN_BINARY$ac_delim
22050 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22051 LIBDL!$LIBDL$ac_delim
22052 LIBPOLL!$LIBPOLL$ac_delim
22053 DEPENDENCIES!$DEPENDENCIES$ac_delim
22054 LIBOBJS!$LIBOBJS$ac_delim
22055 LTLIBOBJS!$LTLIBOBJS$ac_delim
22056 _ACEOF
22058 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22059 break
22060 elif $ac_last_try; then
22061 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22062 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22063 { (exit 1); exit 1; }; }
22064 else
22065 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22067 done
22069 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22070 if test -n "$ac_eof"; then
22071 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22072 ac_eof=`expr $ac_eof + 1`
22075 cat >>$CONFIG_STATUS <<_ACEOF
22076 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22077 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22078 _ACEOF
22079 sed '
22080 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22081 s/^/s,@/; s/!/@,|#_!!_#|/
22084 s/'"$ac_delim"'$/,g/; t
22085 s/$/\\/; p
22086 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22087 ' >>$CONFIG_STATUS <conf$$subs.sed
22088 rm -f conf$$subs.sed
22089 cat >>$CONFIG_STATUS <<_ACEOF
22090 :end
22091 s/|#_!!_#|//g
22092 CEOF$ac_eof
22093 _ACEOF
22096 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22097 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22098 # trailing colons and then remove the whole line if VPATH becomes empty
22099 # (actually we leave an empty line to preserve line numbers).
22100 if test "x$srcdir" = x.; then
22101 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22102 s/:*\$(srcdir):*/:/
22103 s/:*\${srcdir}:*/:/
22104 s/:*@srcdir@:*/:/
22105 s/^\([^=]*=[ ]*\):*/\1/
22106 s/:*$//
22107 s/^[^=]*=[ ]*$//
22111 cat >>$CONFIG_STATUS <<\_ACEOF
22112 fi # test -n "$CONFIG_FILES"
22115 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22117 case $ac_tag in
22118 :[FHLC]) ac_mode=$ac_tag; continue;;
22119 esac
22120 case $ac_mode$ac_tag in
22121 :[FHL]*:*);;
22122 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22123 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22124 { (exit 1); exit 1; }; };;
22125 :[FH]-) ac_tag=-:-;;
22126 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22127 esac
22128 ac_save_IFS=$IFS
22129 IFS=:
22130 set x $ac_tag
22131 IFS=$ac_save_IFS
22132 shift
22133 ac_file=$1
22134 shift
22136 case $ac_mode in
22137 :L) ac_source=$1;;
22138 :[FH])
22139 ac_file_inputs=
22140 for ac_f
22142 case $ac_f in
22143 -) ac_f="$tmp/stdin";;
22144 *) # Look for the file first in the build tree, then in the source tree
22145 # (if the path is not absolute). The absolute path cannot be DOS-style,
22146 # because $ac_f cannot contain `:'.
22147 test -f "$ac_f" ||
22148 case $ac_f in
22149 [\\/$]*) false;;
22150 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22151 esac ||
22152 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22153 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22154 { (exit 1); exit 1; }; };;
22155 esac
22156 ac_file_inputs="$ac_file_inputs $ac_f"
22157 done
22159 # Let's still pretend it is `configure' which instantiates (i.e., don't
22160 # use $as_me), people would be surprised to read:
22161 # /* config.h. Generated by config.status. */
22162 configure_input="Generated from "`IFS=:
22163 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22164 if test x"$ac_file" != x-; then
22165 configure_input="$ac_file. $configure_input"
22166 { echo "$as_me:$LINENO: creating $ac_file" >&5
22167 echo "$as_me: creating $ac_file" >&6;}
22170 case $ac_tag in
22171 *:-:* | *:-) cat >"$tmp/stdin";;
22172 esac
22174 esac
22176 ac_dir=`$as_dirname -- "$ac_file" ||
22177 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22178 X"$ac_file" : 'X\(//\)[^/]' \| \
22179 X"$ac_file" : 'X\(//\)$' \| \
22180 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22181 echo X"$ac_file" |
22182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22183 s//\1/
22186 /^X\(\/\/\)[^/].*/{
22187 s//\1/
22190 /^X\(\/\/\)$/{
22191 s//\1/
22194 /^X\(\/\).*/{
22195 s//\1/
22198 s/.*/./; q'`
22199 { as_dir="$ac_dir"
22200 case $as_dir in #(
22201 -*) as_dir=./$as_dir;;
22202 esac
22203 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22204 as_dirs=
22205 while :; do
22206 case $as_dir in #(
22207 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22208 *) as_qdir=$as_dir;;
22209 esac
22210 as_dirs="'$as_qdir' $as_dirs"
22211 as_dir=`$as_dirname -- "$as_dir" ||
22212 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22213 X"$as_dir" : 'X\(//\)[^/]' \| \
22214 X"$as_dir" : 'X\(//\)$' \| \
22215 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22216 echo X"$as_dir" |
22217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22218 s//\1/
22221 /^X\(\/\/\)[^/].*/{
22222 s//\1/
22225 /^X\(\/\/\)$/{
22226 s//\1/
22229 /^X\(\/\).*/{
22230 s//\1/
22233 s/.*/./; q'`
22234 test -d "$as_dir" && break
22235 done
22236 test -z "$as_dirs" || eval "mkdir $as_dirs"
22237 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22238 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22239 { (exit 1); exit 1; }; }; }
22240 ac_builddir=.
22242 case "$ac_dir" in
22243 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22245 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22246 # A ".." for each directory in $ac_dir_suffix.
22247 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22248 case $ac_top_builddir_sub in
22249 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22250 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22251 esac ;;
22252 esac
22253 ac_abs_top_builddir=$ac_pwd
22254 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22255 # for backward compatibility:
22256 ac_top_builddir=$ac_top_build_prefix
22258 case $srcdir in
22259 .) # We are building in place.
22260 ac_srcdir=.
22261 ac_top_srcdir=$ac_top_builddir_sub
22262 ac_abs_top_srcdir=$ac_pwd ;;
22263 [\\/]* | ?:[\\/]* ) # Absolute name.
22264 ac_srcdir=$srcdir$ac_dir_suffix;
22265 ac_top_srcdir=$srcdir
22266 ac_abs_top_srcdir=$srcdir ;;
22267 *) # Relative name.
22268 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22269 ac_top_srcdir=$ac_top_build_prefix$srcdir
22270 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22271 esac
22272 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22275 case $ac_mode in
22278 # CONFIG_FILE
22281 case $INSTALL in
22282 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22283 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22284 esac
22285 _ACEOF
22287 cat >>$CONFIG_STATUS <<\_ACEOF
22288 # If the template does not know about datarootdir, expand it.
22289 # FIXME: This hack should be removed a few years after 2.60.
22290 ac_datarootdir_hack=; ac_datarootdir_seen=
22292 case `sed -n '/datarootdir/ {
22296 /@datadir@/p
22297 /@docdir@/p
22298 /@infodir@/p
22299 /@localedir@/p
22300 /@mandir@/p
22301 ' $ac_file_inputs` in
22302 *datarootdir*) ac_datarootdir_seen=yes;;
22303 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22304 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22305 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22306 _ACEOF
22307 cat >>$CONFIG_STATUS <<_ACEOF
22308 ac_datarootdir_hack='
22309 s&@datadir@&$datadir&g
22310 s&@docdir@&$docdir&g
22311 s&@infodir@&$infodir&g
22312 s&@localedir@&$localedir&g
22313 s&@mandir@&$mandir&g
22314 s&\\\${datarootdir}&$datarootdir&g' ;;
22315 esac
22316 _ACEOF
22318 # Neutralize VPATH when `$srcdir' = `.'.
22319 # Shell code in configure.ac might set extrasub.
22320 # FIXME: do we really want to maintain this feature?
22321 cat >>$CONFIG_STATUS <<_ACEOF
22322 sed "$ac_vpsub
22323 $extrasub
22324 _ACEOF
22325 cat >>$CONFIG_STATUS <<\_ACEOF
22327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22328 s&@configure_input@&$configure_input&;t t
22329 s&@top_builddir@&$ac_top_builddir_sub&;t t
22330 s&@srcdir@&$ac_srcdir&;t t
22331 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22332 s&@top_srcdir@&$ac_top_srcdir&;t t
22333 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22334 s&@builddir@&$ac_builddir&;t t
22335 s&@abs_builddir@&$ac_abs_builddir&;t t
22336 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22337 s&@INSTALL@&$ac_INSTALL&;t t
22338 $ac_datarootdir_hack
22339 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22341 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22342 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22343 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22344 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22345 which seems to be undefined. Please make sure it is defined." >&5
22346 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22347 which seems to be undefined. Please make sure it is defined." >&2;}
22349 rm -f "$tmp/stdin"
22350 case $ac_file in
22351 -) cat "$tmp/out"; rm -f "$tmp/out";;
22352 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22353 esac
22357 # CONFIG_HEADER
22359 _ACEOF
22361 # Transform confdefs.h into a sed script `conftest.defines', that
22362 # substitutes the proper values into config.h.in to produce config.h.
22363 rm -f conftest.defines conftest.tail
22364 # First, append a space to every undef/define line, to ease matching.
22365 echo 's/$/ /' >conftest.defines
22366 # Then, protect against being on the right side of a sed subst, or in
22367 # an unquoted here document, in config.status. If some macros were
22368 # called several times there might be several #defines for the same
22369 # symbol, which is useless. But do not sort them, since the last
22370 # AC_DEFINE must be honored.
22371 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22372 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22373 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22374 # PARAMS is the parameter list in the macro definition--in most cases, it's
22375 # just an empty string.
22376 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22377 ac_dB='\\)[ (].*,\\1define\\2'
22378 ac_dC=' '
22379 ac_dD=' ,'
22381 uniq confdefs.h |
22382 sed -n '
22383 t rset
22384 :rset
22385 s/^[ ]*#[ ]*define[ ][ ]*//
22386 t ok
22389 s/[\\&,]/\\&/g
22390 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22391 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22392 ' >>conftest.defines
22394 # Remove the space that was appended to ease matching.
22395 # Then replace #undef with comments. This is necessary, for
22396 # example, in the case of _POSIX_SOURCE, which is predefined and required
22397 # on some systems where configure will not decide to define it.
22398 # (The regexp can be short, since the line contains either #define or #undef.)
22399 echo 's/ $//
22400 s,^[ #]*u.*,/* & */,' >>conftest.defines
22402 # Break up conftest.defines:
22403 ac_max_sed_lines=50
22405 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22406 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22407 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22408 # et cetera.
22409 ac_in='$ac_file_inputs'
22410 ac_out='"$tmp/out1"'
22411 ac_nxt='"$tmp/out2"'
22413 while :
22415 # Write a here document:
22416 cat >>$CONFIG_STATUS <<_ACEOF
22417 # First, check the format of the line:
22418 cat >"\$tmp/defines.sed" <<\\CEOF
22419 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22420 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22422 :def
22423 _ACEOF
22424 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22425 echo 'CEOF
22426 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22427 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22428 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22429 grep . conftest.tail >/dev/null || break
22430 rm -f conftest.defines
22431 mv conftest.tail conftest.defines
22432 done
22433 rm -f conftest.defines conftest.tail
22435 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22436 cat >>$CONFIG_STATUS <<\_ACEOF
22437 if test x"$ac_file" != x-; then
22438 echo "/* $configure_input */" >"$tmp/config.h"
22439 cat "$ac_result" >>"$tmp/config.h"
22440 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22441 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22442 echo "$as_me: $ac_file is unchanged" >&6;}
22443 else
22444 rm -f $ac_file
22445 mv "$tmp/config.h" $ac_file
22447 else
22448 echo "/* $configure_input */"
22449 cat "$ac_result"
22451 rm -f "$tmp/out12"
22454 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22455 echo "$as_me: executing $ac_file commands" >&6;}
22457 esac
22460 case $ac_file$ac_mode in
22461 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22462 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22463 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22464 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22465 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22466 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22467 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22468 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22469 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22470 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22471 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22472 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22473 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22475 esac
22476 done # for ac_tag
22479 { (exit 0); exit 0; }
22480 _ACEOF
22481 chmod +x $CONFIG_STATUS
22482 ac_clean_files=$ac_clean_files_save
22485 # configure is writing to config.log, and then calls config.status.
22486 # config.status does its own redirection, appending to config.log.
22487 # Unfortunately, on DOS this fails, as config.log is still kept open
22488 # by configure, so config.status won't be able to write to it; its
22489 # output is simply discarded. So we exec the FD to /dev/null,
22490 # effectively closing config.log, so it can be properly (re)opened and
22491 # appended to by config.status. When coming back to configure, we
22492 # need to make the FD available again.
22493 if test "$no_create" != yes; then
22494 ac_cs_success=:
22495 ac_config_status_args=
22496 test "$silent" = yes &&
22497 ac_config_status_args="$ac_config_status_args --quiet"
22498 exec 5>/dev/null
22499 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22500 exec 5>>config.log
22501 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22502 # would make configure fail if this is the last instruction.
22503 $ac_cs_success || { (exit 1); exit 1; }
22508 if test "$no_create" = "yes"
22509 then
22510 exit 0
22513 if test "$verbose" = "yes"
22514 then
22515 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22516 then
22517 echo >&2
22518 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22519 echo "$as_me: libcapi20 development files not found." >&6;}
22520 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22521 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22524 if test "$ac_cv_header_cups_cups_h" != "yes"
22525 then
22526 echo >&2
22527 { echo "$as_me:$LINENO: libcups development files not found." >&5
22528 echo "$as_me: libcups development files not found." >&6;}
22529 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22530 echo "$as_me: Wine will be built without CUPS support." >&6;}
22534 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22535 then
22536 echo >&2
22537 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22538 echo "$as_me: libgphoto2 development files not found." >&6;}
22539 if test "$ac_cv_header_sane_sane_h" = "yes"
22540 then
22541 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22542 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22543 else
22544 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22545 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22549 if test "$ac_cv_header_hal_libhal_h" != "yes"
22550 then
22551 echo >&2
22552 { echo "$as_me:$LINENO: libhal development files not found." >&5
22553 echo "$as_me: libhal development files not found." >&6;}
22554 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22555 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22558 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22559 then
22560 echo >&2
22561 { echo "$as_me:$LINENO: libicu development files not found." >&5
22562 echo "$as_me: libicu development files not found." >&6;}
22563 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22564 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22567 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22568 then
22569 echo >&2
22570 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22571 echo "$as_me: liblcms development files not found." >&6;}
22572 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22573 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22576 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22577 then
22578 echo >&2
22579 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22580 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22581 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22582 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22585 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22586 then
22587 echo >&2
22588 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22589 echo "$as_me: lib(n)curses development files not found." >&6;}
22590 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22591 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22594 if test "$ac_cv_header_sane_sane_h" != "yes"
22595 then
22596 echo >&2
22597 { echo "$as_me:$LINENO: libsane development files not found." >&5
22598 echo "$as_me: libsane development files not found." >&6;}
22599 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22600 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22603 if test "$have_x" = "yes"
22604 then
22605 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22606 then
22607 echo >&2
22608 { echo "$as_me:$LINENO: libxext development files not found." >&5
22609 echo "$as_me: libxext development files not found." >&6;}
22610 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22611 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22614 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22615 then
22616 echo >&2
22617 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22618 echo "$as_me: libXrandr development files not found." >&6;}
22619 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22620 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22623 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22624 then
22625 echo >&2
22626 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22627 echo "$as_me: libXrender development files not found." >&6;}
22628 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22629 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22632 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22633 then
22634 echo >&2
22635 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22636 echo "$as_me: libXxf86vm development files not found." >&6;}
22637 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22638 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22642 if test "$ac_cv_header_libxml_parser_h" != "yes"
22643 then
22644 echo >&2
22645 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22646 echo "$as_me: libxml2 development files not found." >&6;}
22647 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22648 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22651 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22652 then
22653 echo >&2
22654 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22655 echo "$as_me: libxslt development files not found." >&6;}
22656 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22657 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22662 if test "$have_x" = "no"
22663 then
22664 echo >&2
22665 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22666 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22667 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22668 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22669 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22670 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22671 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22672 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22675 if test -z "$OPENGLFILES"
22676 then
22677 echo >&2
22678 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22679 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22680 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22681 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22682 if test "$wine_cv_opengl_headers_found" = "no"
22683 then
22684 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22685 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22687 if test "$wine_cv_opengl_header_version_OK" = "no"
22688 then
22689 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22690 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22691 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22692 then
22693 if test -f /usr/X11R6/lib/libGL.a
22694 then
22695 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22696 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22697 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22698 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22699 else
22700 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22701 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22706 if test "$wine_cv_msg_freetype" = "yes"
22707 then
22708 echo >&2
22709 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22710 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22711 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22712 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22713 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22714 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22715 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22716 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22719 if test -z "$FONTSSUBDIRS"
22720 then
22721 echo >&2
22722 if test "$FONTFORGE" = "false"
22723 then
22724 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22725 echo "$as_me: WARNING: FontForge is missing." >&2;}
22726 else
22727 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22728 echo "$as_me: WARNING: FreeType is missing." >&2;}
22730 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22731 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22734 if test -z "$ALSALIBS" -a \
22735 -z "$AUDIOIOLIBS" -a \
22736 -z "$NASLIBS" -a \
22737 -z "$ESD_LIBS" -a \
22738 -z "$ac_cv_lib_soname_jack" -a \
22739 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22740 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22741 "$ac_cv_header_soundcard_h" != "yes"
22742 then
22743 echo >&2
22744 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22745 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22746 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22747 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22748 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22749 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22752 echo
22753 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22754 echo