Update the Portuguese translation.
[wine.git] / configure
blob900ac54ebf0f44319d619ce30b96f75bbf211e46
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.44.
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.44'
578 PACKAGE_STRING='Wine 0.9.44'
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 ft_devel
751 FREETYPELIBS
752 FREETYPEINCL
753 FONTSSUBDIRS
754 ESDCONFIG
755 ESDLIBS
756 ESDINCL
757 ALSALIBS
758 AUDIOIOLIBS
759 EXTRACFLAGS
760 BUILTINFLAG
761 LDPATH
762 CRTLIBS
763 SOCKETLIBS
764 MAIN_BINARY
765 EXTRA_BINARIES
766 LIBDL
767 LIBPOLL
768 DEPENDENCIES
769 LIBOBJS
770 LTLIBOBJS'
771 ac_subst_files='MAKE_RULES
772 MAKE_DLL_RULES
773 MAKE_IMPLIB_RULES
774 MAKE_TEST_RULES
775 MAKE_PROG_RULES'
776 ac_precious_vars='build_alias
777 host_alias
778 target_alias
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
785 CXXFLAGS
787 XMKMF
788 CPP'
791 # Initialize some variables set by options.
792 ac_init_help=
793 ac_init_version=false
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
796 cache_file=/dev/null
797 exec_prefix=NONE
798 no_create=
799 no_recursion=
800 prefix=NONE
801 program_prefix=NONE
802 program_suffix=NONE
803 program_transform_name=s,x,x,
804 silent=
805 site=
806 srcdir=
807 verbose=
808 x_includes=NONE
809 x_libraries=NONE
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir='${exec_prefix}/bin'
818 sbindir='${exec_prefix}/sbin'
819 libexecdir='${exec_prefix}/libexec'
820 datarootdir='${prefix}/share'
821 datadir='${datarootdir}'
822 sysconfdir='${prefix}/etc'
823 sharedstatedir='${prefix}/com'
824 localstatedir='${prefix}/var'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
829 htmldir='${docdir}'
830 dvidir='${docdir}'
831 pdfdir='${docdir}'
832 psdir='${docdir}'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
837 ac_prev=
838 ac_dashdash=
839 for ac_option
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
844 ac_prev=
845 continue
848 case $ac_option in
849 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 *) ac_optarg=yes ;;
851 esac
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
857 ac_dashdash=yes ;;
859 -bindir | --bindir | --bindi | --bind | --bin | --bi)
860 ac_prev=bindir ;;
861 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
862 bindir=$ac_optarg ;;
864 -build | --build | --buil | --bui | --bu)
865 ac_prev=build_alias ;;
866 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
867 build_alias=$ac_optarg ;;
869 -cache-file | --cache-file | --cache-fil | --cache-fi \
870 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
871 ac_prev=cache_file ;;
872 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
873 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
874 cache_file=$ac_optarg ;;
876 --config-cache | -C)
877 cache_file=config.cache ;;
879 -datadir | --datadir | --datadi | --datad)
880 ac_prev=datadir ;;
881 -datadir=* | --datadir=* | --datadi=* | --datad=*)
882 datadir=$ac_optarg ;;
884 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
885 | --dataroo | --dataro | --datar)
886 ac_prev=datarootdir ;;
887 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
888 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
889 datarootdir=$ac_optarg ;;
891 -disable-* | --disable-*)
892 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
895 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
896 { (exit 1); exit 1; }; }
897 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
898 eval enable_$ac_feature=no ;;
900 -docdir | --docdir | --docdi | --doc | --do)
901 ac_prev=docdir ;;
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903 docdir=$ac_optarg ;;
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 ac_prev=dvidir ;;
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908 dvidir=$ac_optarg ;;
910 -enable-* | --enable-*)
911 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
914 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
915 { (exit 1); exit 1; }; }
916 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
917 eval enable_$ac_feature=\$ac_optarg ;;
919 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
920 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
921 | --exec | --exe | --ex)
922 ac_prev=exec_prefix ;;
923 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
924 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
925 | --exec=* | --exe=* | --ex=*)
926 exec_prefix=$ac_optarg ;;
928 -gas | --gas | --ga | --g)
929 # Obsolete; use --with-gas.
930 with_gas=yes ;;
932 -help | --help | --hel | --he | -h)
933 ac_init_help=long ;;
934 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
935 ac_init_help=recursive ;;
936 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
937 ac_init_help=short ;;
939 -host | --host | --hos | --ho)
940 ac_prev=host_alias ;;
941 -host=* | --host=* | --hos=* | --ho=*)
942 host_alias=$ac_optarg ;;
944 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
945 ac_prev=htmldir ;;
946 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
947 | --ht=*)
948 htmldir=$ac_optarg ;;
950 -includedir | --includedir | --includedi | --included | --include \
951 | --includ | --inclu | --incl | --inc)
952 ac_prev=includedir ;;
953 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
954 | --includ=* | --inclu=* | --incl=* | --inc=*)
955 includedir=$ac_optarg ;;
957 -infodir | --infodir | --infodi | --infod | --info | --inf)
958 ac_prev=infodir ;;
959 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
960 infodir=$ac_optarg ;;
962 -libdir | --libdir | --libdi | --libd)
963 ac_prev=libdir ;;
964 -libdir=* | --libdir=* | --libdi=* | --libd=*)
965 libdir=$ac_optarg ;;
967 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
968 | --libexe | --libex | --libe)
969 ac_prev=libexecdir ;;
970 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
971 | --libexe=* | --libex=* | --libe=*)
972 libexecdir=$ac_optarg ;;
974 -localedir | --localedir | --localedi | --localed | --locale)
975 ac_prev=localedir ;;
976 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
977 localedir=$ac_optarg ;;
979 -localstatedir | --localstatedir | --localstatedi | --localstated \
980 | --localstate | --localstat | --localsta | --localst | --locals)
981 ac_prev=localstatedir ;;
982 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
983 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
984 localstatedir=$ac_optarg ;;
986 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
987 ac_prev=mandir ;;
988 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
989 mandir=$ac_optarg ;;
991 -nfp | --nfp | --nf)
992 # Obsolete; use --without-fp.
993 with_fp=no ;;
995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996 | --no-cr | --no-c | -n)
997 no_create=yes ;;
999 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1000 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001 no_recursion=yes ;;
1003 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1004 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1005 | --oldin | --oldi | --old | --ol | --o)
1006 ac_prev=oldincludedir ;;
1007 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1008 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1009 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1010 oldincludedir=$ac_optarg ;;
1012 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1013 ac_prev=prefix ;;
1014 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1015 prefix=$ac_optarg ;;
1017 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1018 | --program-pre | --program-pr | --program-p)
1019 ac_prev=program_prefix ;;
1020 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1021 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1022 program_prefix=$ac_optarg ;;
1024 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1025 | --program-suf | --program-su | --program-s)
1026 ac_prev=program_suffix ;;
1027 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1028 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1029 program_suffix=$ac_optarg ;;
1031 -program-transform-name | --program-transform-name \
1032 | --program-transform-nam | --program-transform-na \
1033 | --program-transform-n | --program-transform- \
1034 | --program-transform | --program-transfor \
1035 | --program-transfo | --program-transf \
1036 | --program-trans | --program-tran \
1037 | --progr-tra | --program-tr | --program-t)
1038 ac_prev=program_transform_name ;;
1039 -program-transform-name=* | --program-transform-name=* \
1040 | --program-transform-nam=* | --program-transform-na=* \
1041 | --program-transform-n=* | --program-transform-=* \
1042 | --program-transform=* | --program-transfor=* \
1043 | --program-transfo=* | --program-transf=* \
1044 | --program-trans=* | --program-tran=* \
1045 | --progr-tra=* | --program-tr=* | --program-t=*)
1046 program_transform_name=$ac_optarg ;;
1048 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1049 ac_prev=pdfdir ;;
1050 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1051 pdfdir=$ac_optarg ;;
1053 -psdir | --psdir | --psdi | --psd | --ps)
1054 ac_prev=psdir ;;
1055 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1056 psdir=$ac_optarg ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1060 silent=yes ;;
1062 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1063 ac_prev=sbindir ;;
1064 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1065 | --sbi=* | --sb=*)
1066 sbindir=$ac_optarg ;;
1068 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1069 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1070 | --sharedst | --shareds | --shared | --share | --shar \
1071 | --sha | --sh)
1072 ac_prev=sharedstatedir ;;
1073 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1074 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1075 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1076 | --sha=* | --sh=*)
1077 sharedstatedir=$ac_optarg ;;
1079 -site | --site | --sit)
1080 ac_prev=site ;;
1081 -site=* | --site=* | --sit=*)
1082 site=$ac_optarg ;;
1084 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1085 ac_prev=srcdir ;;
1086 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1087 srcdir=$ac_optarg ;;
1089 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1090 | --syscon | --sysco | --sysc | --sys | --sy)
1091 ac_prev=sysconfdir ;;
1092 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1093 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1094 sysconfdir=$ac_optarg ;;
1096 -target | --target | --targe | --targ | --tar | --ta | --t)
1097 ac_prev=target_alias ;;
1098 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1099 target_alias=$ac_optarg ;;
1101 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1102 verbose=yes ;;
1104 -version | --version | --versio | --versi | --vers | -V)
1105 ac_init_version=: ;;
1107 -with-* | --with-*)
1108 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1114 eval with_$ac_package=\$ac_optarg ;;
1116 -without-* | --without-*)
1117 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 { echo "$as_me: error: invalid package name: $ac_package" >&2
1121 { (exit 1); exit 1; }; }
1122 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1123 eval with_$ac_package=no ;;
1125 --x)
1126 # Obsolete; use --with-x.
1127 with_x=yes ;;
1129 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130 | --x-incl | --x-inc | --x-in | --x-i)
1131 ac_prev=x_includes ;;
1132 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134 x_includes=$ac_optarg ;;
1136 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138 ac_prev=x_libraries ;;
1139 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141 x_libraries=$ac_optarg ;;
1143 -*) { echo "$as_me: error: unrecognized option: $ac_option
1144 Try \`$0 --help' for more information." >&2
1145 { (exit 1); exit 1; }; }
1148 *=*)
1149 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1152 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1153 { (exit 1); exit 1; }; }
1154 eval $ac_envvar=\$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165 esac
1166 done
1168 if test -n "$ac_prev"; then
1169 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170 { echo "$as_me: error: missing argument to $ac_option" >&2
1171 { (exit 1); exit 1; }; }
1174 # Be sure to have absolute directory names.
1175 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176 datadir sysconfdir sharedstatedir localstatedir includedir \
1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178 libdir localedir mandir
1180 eval ac_val=\$$ac_var
1181 case $ac_val in
1182 [\\/$]* | ?:[\\/]* ) continue;;
1183 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1184 esac
1185 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1186 { (exit 1); exit 1; }; }
1187 done
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1192 build=$build_alias
1193 host=$host_alias
1194 target=$target_alias
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x; then
1198 if test "x$build_alias" = x; then
1199 cross_compiling=maybe
1200 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1201 If a cross compiler is detected then cross compile mode will be used." >&2
1202 elif test "x$build_alias" != "x$host_alias"; then
1203 cross_compiling=yes
1207 ac_tool_prefix=
1208 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1210 test "$silent" = yes && exec 6>/dev/null
1213 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1214 ac_ls_di=`ls -di .` &&
1215 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1216 { echo "$as_me: error: Working directory cannot be determined" >&2
1217 { (exit 1); exit 1; }; }
1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1219 { echo "$as_me: error: pwd does not report name of working directory" >&2
1220 { (exit 1); exit 1; }; }
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir=`$as_dirname -- "$0" ||
1228 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$0" : 'X\(//\)[^/]' \| \
1230 X"$0" : 'X\(//\)$' \| \
1231 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1232 echo X"$0" |
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1234 s//\1/
1237 /^X\(\/\/\)[^/].*/{
1238 s//\1/
1241 /^X\(\/\/\)$/{
1242 s//\1/
1245 /^X\(\/\).*/{
1246 s//\1/
1249 s/.*/./; q'`
1250 srcdir=$ac_confdir
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1252 srcdir=..
1254 else
1255 ac_srcdir_defaulted=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1259 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1260 { (exit 1); exit 1; }; }
1262 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1263 ac_abs_confdir=`(
1264 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1265 { (exit 1); exit 1; }; }
1266 pwd)`
1267 # When building in place, set srcdir=.
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
1269 srcdir=.
1271 # Remove unnecessary trailing slashes from srcdir.
1272 # Double slashes in file names in object file debugging info
1273 # mess up M-x gdb in Emacs.
1274 case $srcdir in
1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1276 esac
1277 for ac_var in $ac_precious_vars; do
1278 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1279 eval ac_env_${ac_var}_value=\$${ac_var}
1280 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1282 done
1285 # Report the --help message.
1287 if test "$ac_init_help" = "long"; then
1288 # Omit some internal or obsolete options to make the list less imposing.
1289 # This message is too long to be a string in the A/UX 3.1 sh.
1290 cat <<_ACEOF
1291 \`configure' configures Wine 0.9.44 to adapt to many kinds of systems.
1293 Usage: $0 [OPTION]... [VAR=VALUE]...
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1296 VAR=VALUE. See below for descriptions of some of the useful variables.
1298 Defaults for the options are specified in brackets.
1300 Configuration:
1301 -h, --help display this help and exit
1302 --help=short display options specific to this package
1303 --help=recursive display the short help of all the included packages
1304 -V, --version display version information and exit
1305 -q, --quiet, --silent do not print \`checking...' messages
1306 --cache-file=FILE cache test results in FILE [disabled]
1307 -C, --config-cache alias for \`--cache-file=config.cache'
1308 -n, --no-create do not create output files
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1311 Installation directories:
1312 --prefix=PREFIX install architecture-independent files in PREFIX
1313 [$ac_default_prefix]
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315 [PREFIX]
1317 By default, \`make install' will install all the files in
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1320 for instance \`--prefix=\$HOME'.
1322 For better control, use the options below.
1324 Fine tuning of the installation directories:
1325 --bindir=DIR user executables [EPREFIX/bin]
1326 --sbindir=DIR system admin executables [EPREFIX/sbin]
1327 --libexecdir=DIR program executables [EPREFIX/libexec]
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1331 --libdir=DIR object code libraries [EPREFIX/lib]
1332 --includedir=DIR C header files [PREFIX/include]
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1336 --infodir=DIR info documentation [DATAROOTDIR/info]
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1338 --mandir=DIR man documentation [DATAROOTDIR/man]
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1340 --htmldir=DIR html documentation [DOCDIR]
1341 --dvidir=DIR dvi documentation [DOCDIR]
1342 --pdfdir=DIR pdf documentation [DOCDIR]
1343 --psdir=DIR ps documentation [DOCDIR]
1344 _ACEOF
1346 cat <<\_ACEOF
1348 X features:
1349 --x-includes=DIR X include files are in DIR
1350 --x-libraries=DIR X library files are in DIR
1352 System types:
1353 --build=BUILD configure for building on BUILD [guessed]
1354 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1355 _ACEOF
1358 if test -n "$ac_init_help"; then
1359 case $ac_init_help in
1360 short | recursive ) echo "Configuration of Wine 0.9.44:";;
1361 esac
1362 cat <<\_ACEOF
1364 Optional Features:
1365 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1366 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1367 --disable-win16 do not include Win16 support
1368 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1369 binaries)
1371 Optional Packages:
1372 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1373 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1374 --without-opengl do not use OpenGL
1375 --with-wine-tools=<dir> use Wine tools from directory <dir>
1376 --with-x use the X Window System
1378 Some influential environment variables:
1379 CC C compiler command
1380 CFLAGS C compiler flags
1381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1382 nonstandard directory <lib dir>
1383 LIBS libraries to pass to the linker, e.g. -l<library>
1384 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1385 you have headers in a nonstandard directory <include dir>
1386 CXX C++ compiler command
1387 CXXFLAGS C++ compiler flags
1388 XMKMF Path to xmkmf, Makefile generator for X Window System
1389 CPP C preprocessor
1391 Use these variables to override the choices made by `configure' or to help
1392 it to find libraries and programs with nonstandard names/locations.
1394 Report bugs to <wine-devel@winehq.org>.
1395 _ACEOF
1396 ac_status=$?
1399 if test "$ac_init_help" = "recursive"; then
1400 # If there are subdirs, report their specific --help.
1401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1402 test -d "$ac_dir" || continue
1403 ac_builddir=.
1405 case "$ac_dir" in
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1414 esac ;;
1415 esac
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1421 case $srcdir in
1422 .) # We are building in place.
1423 ac_srcdir=.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1430 *) # Relative name.
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1434 esac
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1440 echo &&
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1445 else
1446 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1447 fi || ac_status=$?
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1449 done
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1454 cat <<\_ACEOF
1455 Wine configure 0.9.44
1456 generated by GNU Autoconf 2.61
1458 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1459 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1460 This configure script is free software; the Free Software Foundation
1461 gives unlimited permission to copy, distribute and modify it.
1462 _ACEOF
1463 exit
1465 cat >config.log <<_ACEOF
1466 This file contains any messages produced by compilers while
1467 running configure, to aid debugging if configure makes a mistake.
1469 It was created by Wine $as_me 0.9.44, which was
1470 generated by GNU Autoconf 2.61. Invocation command line was
1472 $ $0 $@
1474 _ACEOF
1475 exec 5>>config.log
1477 cat <<_ASUNAME
1478 ## --------- ##
1479 ## Platform. ##
1480 ## --------- ##
1482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1499 _ASUNAME
1501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1502 for as_dir in $PATH
1504 IFS=$as_save_IFS
1505 test -z "$as_dir" && as_dir=.
1506 echo "PATH: $as_dir"
1507 done
1508 IFS=$as_save_IFS
1510 } >&5
1512 cat >&5 <<_ACEOF
1515 ## ----------- ##
1516 ## Core tests. ##
1517 ## ----------- ##
1519 _ACEOF
1522 # Keep a trace of the command line.
1523 # Strip out --no-create and --no-recursion so they do not pile up.
1524 # Strip out --silent because we don't want to record it for future runs.
1525 # Also quote any args containing shell meta-characters.
1526 # Make two passes to allow for proper duplicate-argument suppression.
1527 ac_configure_args=
1528 ac_configure_args0=
1529 ac_configure_args1=
1530 ac_must_keep_next=false
1531 for ac_pass in 1 2
1533 for ac_arg
1535 case $ac_arg in
1536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1538 | -silent | --silent | --silen | --sile | --sil)
1539 continue ;;
1540 *\'*)
1541 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1542 esac
1543 case $ac_pass in
1544 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1546 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1547 if test $ac_must_keep_next = true; then
1548 ac_must_keep_next=false # Got value, back to normal.
1549 else
1550 case $ac_arg in
1551 *=* | --config-cache | -C | -disable-* | --disable-* \
1552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1554 | -with-* | --with-* | -without-* | --without-* | --x)
1555 case "$ac_configure_args0 " in
1556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1557 esac
1559 -* ) ac_must_keep_next=true ;;
1560 esac
1562 ac_configure_args="$ac_configure_args '$ac_arg'"
1564 esac
1565 done
1566 done
1567 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1568 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1570 # When interrupted or exit'd, cleanup temporary files, and complete
1571 # config.log. We remove comments because anyway the quotes in there
1572 # would cause problems or look ugly.
1573 # WARNING: Use '\'' to represent an apostrophe within the trap.
1574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1575 trap 'exit_status=$?
1576 # Save into config.log some information that might help in debugging.
1578 echo
1580 cat <<\_ASBOX
1581 ## ---------------- ##
1582 ## Cache variables. ##
1583 ## ---------------- ##
1584 _ASBOX
1585 echo
1586 # The following way of writing the cache mishandles newlines in values,
1588 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1589 eval ac_val=\$$ac_var
1590 case $ac_val in #(
1591 *${as_nl}*)
1592 case $ac_var in #(
1593 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1594 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1595 esac
1596 case $ac_var in #(
1597 _ | IFS | as_nl) ;; #(
1598 *) $as_unset $ac_var ;;
1599 esac ;;
1600 esac
1601 done
1602 (set) 2>&1 |
1603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1604 *${as_nl}ac_space=\ *)
1605 sed -n \
1606 "s/'\''/'\''\\\\'\'''\''/g;
1607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1608 ;; #(
1610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1612 esac |
1613 sort
1615 echo
1617 cat <<\_ASBOX
1618 ## ----------------- ##
1619 ## Output variables. ##
1620 ## ----------------- ##
1621 _ASBOX
1622 echo
1623 for ac_var in $ac_subst_vars
1625 eval ac_val=\$$ac_var
1626 case $ac_val in
1627 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1628 esac
1629 echo "$ac_var='\''$ac_val'\''"
1630 done | sort
1631 echo
1633 if test -n "$ac_subst_files"; then
1634 cat <<\_ASBOX
1635 ## ------------------- ##
1636 ## File substitutions. ##
1637 ## ------------------- ##
1638 _ASBOX
1639 echo
1640 for ac_var in $ac_subst_files
1642 eval ac_val=\$$ac_var
1643 case $ac_val in
1644 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1645 esac
1646 echo "$ac_var='\''$ac_val'\''"
1647 done | sort
1648 echo
1651 if test -s confdefs.h; then
1652 cat <<\_ASBOX
1653 ## ----------- ##
1654 ## confdefs.h. ##
1655 ## ----------- ##
1656 _ASBOX
1657 echo
1658 cat confdefs.h
1659 echo
1661 test "$ac_signal" != 0 &&
1662 echo "$as_me: caught signal $ac_signal"
1663 echo "$as_me: exit $exit_status"
1664 } >&5
1665 rm -f core *.core core.conftest.* &&
1666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1667 exit $exit_status
1669 for ac_signal in 1 2 13 15; do
1670 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1671 done
1672 ac_signal=0
1674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1675 rm -f -r conftest* confdefs.h
1677 # Predefined preprocessor variables.
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_NAME "$PACKAGE_NAME"
1681 _ACEOF
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1686 _ACEOF
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1691 _ACEOF
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_STRING "$PACKAGE_STRING"
1696 _ACEOF
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1701 _ACEOF
1704 # Let the site file select an alternate cache file if it wants to.
1705 # Prefer explicitly selected file to automatically selected ones.
1706 if test -n "$CONFIG_SITE"; then
1707 set x "$CONFIG_SITE"
1708 elif test "x$prefix" != xNONE; then
1709 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1710 else
1711 set x "$ac_default_prefix/share/config.site" \
1712 "$ac_default_prefix/etc/config.site"
1714 shift
1715 for ac_site_file
1717 if test -r "$ac_site_file"; then
1718 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1719 echo "$as_me: loading site script $ac_site_file" >&6;}
1720 sed 's/^/| /' "$ac_site_file" >&5
1721 . "$ac_site_file"
1723 done
1725 if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special
1727 # files actually), so we avoid doing that.
1728 if test -f "$cache_file"; then
1729 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1730 echo "$as_me: loading cache $cache_file" >&6;}
1731 case $cache_file in
1732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733 *) . "./$cache_file";;
1734 esac
1736 else
1737 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1738 echo "$as_me: creating cache $cache_file" >&6;}
1739 >$cache_file
1742 # Check that the precious variables saved in the cache have kept the same
1743 # value.
1744 ac_cache_corrupted=false
1745 for ac_var in $ac_precious_vars; do
1746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747 eval ac_new_set=\$ac_env_${ac_var}_set
1748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749 eval ac_new_val=\$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1751 set,)
1752 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1755 ,set)
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1759 ,);;
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1763 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1764 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1765 echo "$as_me: former value: $ac_old_val" >&2;}
1766 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1767 echo "$as_me: current value: $ac_new_val" >&2;}
1768 ac_cache_corrupted=:
1769 fi;;
1770 esac
1771 # Pass precious variables to config.status.
1772 if test "$ac_new_set" = set; then
1773 case $ac_new_val in
1774 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1775 *) ac_arg=$ac_var=$ac_new_val ;;
1776 esac
1777 case " $ac_configure_args " in
1778 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1779 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1780 esac
1782 done
1783 if $ac_cache_corrupted; then
1784 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1785 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1787 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1788 { (exit 1); exit 1; }; }
1815 ac_ext=c
1816 ac_cpp='$CPP $CPPFLAGS'
1817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1823 ac_config_headers="$ac_config_headers include/config.h"
1825 ac_aux_dir=
1826 for ac_dir in tools "$srcdir"/tools; do
1827 if test -f "$ac_dir/install-sh"; then
1828 ac_aux_dir=$ac_dir
1829 ac_install_sh="$ac_aux_dir/install-sh -c"
1830 break
1831 elif test -f "$ac_dir/install.sh"; then
1832 ac_aux_dir=$ac_dir
1833 ac_install_sh="$ac_aux_dir/install.sh -c"
1834 break
1835 elif test -f "$ac_dir/shtool"; then
1836 ac_aux_dir=$ac_dir
1837 ac_install_sh="$ac_aux_dir/shtool install -c"
1838 break
1840 done
1841 if test -z "$ac_aux_dir"; then
1842 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1843 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1844 { (exit 1); exit 1; }; }
1847 # These three variables are undocumented and unsupported,
1848 # and are intended to be withdrawn in a future Autoconf release.
1849 # They can cause serious problems if a builder's source tree is in a directory
1850 # whose full name contains unusual characters.
1851 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1852 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1853 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1858 # Check whether --enable-win16 was given.
1859 if test "${enable_win16+set}" = set; then
1860 enableval=$enable_win16;
1863 # Check whether --enable-win64 was given.
1864 if test "${enable_win64+set}" = set; then
1865 enableval=$enable_win64;
1870 # Check whether --with-opengl was given.
1871 if test "${with_opengl+set}" = set; then
1872 withval=$with_opengl;
1876 # Check whether --with-wine-tools was given.
1877 if test "${with_wine_tools+set}" = set; then
1878 withval=$with_wine_tools;
1882 # Make sure we can run config.sub.
1883 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1884 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1885 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1886 { (exit 1); exit 1; }; }
1888 { echo "$as_me:$LINENO: checking build system type" >&5
1889 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1890 if test "${ac_cv_build+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 else
1893 ac_build_alias=$build_alias
1894 test "x$ac_build_alias" = x &&
1895 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1896 test "x$ac_build_alias" = x &&
1897 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1898 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1899 { (exit 1); exit 1; }; }
1900 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1901 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1902 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1903 { (exit 1); exit 1; }; }
1906 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1907 echo "${ECHO_T}$ac_cv_build" >&6; }
1908 case $ac_cv_build in
1909 *-*-*) ;;
1910 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1911 echo "$as_me: error: invalid value of canonical build" >&2;}
1912 { (exit 1); exit 1; }; };;
1913 esac
1914 build=$ac_cv_build
1915 ac_save_IFS=$IFS; IFS='-'
1916 set x $ac_cv_build
1917 shift
1918 build_cpu=$1
1919 build_vendor=$2
1920 shift; shift
1921 # Remember, the first character of IFS is used to create $*,
1922 # except with old shells:
1923 build_os=$*
1924 IFS=$ac_save_IFS
1925 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1928 { echo "$as_me:$LINENO: checking host system type" >&5
1929 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1930 if test "${ac_cv_host+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 else
1933 if test "x$host_alias" = x; then
1934 ac_cv_host=$ac_cv_build
1935 else
1936 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1937 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1938 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1939 { (exit 1); exit 1; }; }
1943 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1944 echo "${ECHO_T}$ac_cv_host" >&6; }
1945 case $ac_cv_host in
1946 *-*-*) ;;
1947 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1948 echo "$as_me: error: invalid value of canonical host" >&2;}
1949 { (exit 1); exit 1; }; };;
1950 esac
1951 host=$ac_cv_host
1952 ac_save_IFS=$IFS; IFS='-'
1953 set x $ac_cv_host
1954 shift
1955 host_cpu=$1
1956 host_vendor=$2
1957 shift; shift
1958 # Remember, the first character of IFS is used to create $*,
1959 # except with old shells:
1960 host_os=$*
1961 IFS=$ac_save_IFS
1962 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1965 case $host in
1966 x86_64*linux*)
1967 if test "x$enable_win64" != "xyes"
1968 then
1969 test -n "$CC" || CC="gcc -m32"
1970 test -n "$CXX"|| CXX="g++ -m32"
1971 test -n "$LD" || LD="ld -m elf_i386"
1972 test -n "$AS" || AS="as --32"
1973 host_cpu="i386"
1976 esac
1978 case $host_cpu in
1979 *i[3456789]86*)
1980 if test "x$enable_win16" != "xno"
1981 then
1982 enable_win16="yes"
1985 esac
1987 WIN16_FILES="\$(WIN16_FILES)"
1989 WIN16_INSTALL="\$(WIN16_INSTALL)"
1991 if test "x$enable_win16" != "xyes"
1992 then
1993 WIN16_FILES=""
1994 WIN16_INSTALL=""
1997 case "$srcdir" in
1998 .) ;;
1999 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2000 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2001 You need to run 'make distclean' in the source tree first." >&5
2002 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2003 You need to run 'make distclean' in the source tree first." >&2;}
2004 { (exit 1); exit 1; }; }
2005 fi ;;
2006 esac
2009 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2011 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2012 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015 cat >conftest.make <<\_ACEOF
2016 SHELL = /bin/sh
2017 all:
2018 @echo '@@@%%%=$(MAKE)=@@@%%%'
2019 _ACEOF
2020 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2021 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2022 *@@@%%%=?*=@@@%%%*)
2023 eval ac_cv_prog_make_${ac_make}_set=yes;;
2025 eval ac_cv_prog_make_${ac_make}_set=no;;
2026 esac
2027 rm -f conftest.make
2029 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2030 { echo "$as_me:$LINENO: result: yes" >&5
2031 echo "${ECHO_T}yes" >&6; }
2032 SET_MAKE=
2033 else
2034 { echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6; }
2036 SET_MAKE="MAKE=${MAKE-make}"
2039 ac_ext=c
2040 ac_cpp='$CPP $CPPFLAGS'
2041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2044 if test -n "$ac_tool_prefix"; then
2045 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2046 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2049 if test "${ac_cv_prog_CC+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 else
2052 if test -n "$CC"; then
2053 ac_cv_prog_CC="$CC" # Let the user override the test.
2054 else
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 for as_dir in $PATH
2058 IFS=$as_save_IFS
2059 test -z "$as_dir" && as_dir=.
2060 for ac_exec_ext in '' $ac_executable_extensions; do
2061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2062 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 break 2
2066 done
2067 done
2068 IFS=$as_save_IFS
2072 CC=$ac_cv_prog_CC
2073 if test -n "$CC"; then
2074 { echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6; }
2076 else
2077 { echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6; }
2083 if test -z "$ac_cv_prog_CC"; then
2084 ac_ct_CC=$CC
2085 # Extract the first word of "gcc", so it can be a program name with args.
2086 set dummy gcc; ac_word=$2
2087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 else
2092 if test -n "$ac_ct_CC"; then
2093 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2094 else
2095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 for as_dir in $PATH
2098 IFS=$as_save_IFS
2099 test -z "$as_dir" && as_dir=.
2100 for ac_exec_ext in '' $ac_executable_extensions; do
2101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2102 ac_cv_prog_ac_ct_CC="gcc"
2103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 break 2
2106 done
2107 done
2108 IFS=$as_save_IFS
2112 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2113 if test -n "$ac_ct_CC"; then
2114 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2115 echo "${ECHO_T}$ac_ct_CC" >&6; }
2116 else
2117 { echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6; }
2121 if test "x$ac_ct_CC" = x; then
2122 CC=""
2123 else
2124 case $cross_compiling:$ac_tool_warned in
2125 yes:)
2126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2127 whose name does not start with the host triplet. If you think this
2128 configuration is useful to you, please write to autoconf@gnu.org." >&5
2129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2130 whose name does not start with the host triplet. If you think this
2131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2132 ac_tool_warned=yes ;;
2133 esac
2134 CC=$ac_ct_CC
2136 else
2137 CC="$ac_cv_prog_CC"
2140 if test -z "$CC"; then
2141 if test -n "$ac_tool_prefix"; then
2142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2143 set dummy ${ac_tool_prefix}cc; ac_word=$2
2144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 else
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC="$CC" # Let the user override the test.
2151 else
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH
2155 IFS=$as_save_IFS
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2159 ac_cv_prog_CC="${ac_tool_prefix}cc"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 break 2
2163 done
2164 done
2165 IFS=$as_save_IFS
2169 CC=$ac_cv_prog_CC
2170 if test -n "$CC"; then
2171 { echo "$as_me:$LINENO: result: $CC" >&5
2172 echo "${ECHO_T}$CC" >&6; }
2173 else
2174 { echo "$as_me:$LINENO: result: no" >&5
2175 echo "${ECHO_T}no" >&6; }
2181 if test -z "$CC"; then
2182 # Extract the first word of "cc", so it can be a program name with args.
2183 set dummy cc; ac_word=$2
2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2186 if test "${ac_cv_prog_CC+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 else
2189 if test -n "$CC"; then
2190 ac_cv_prog_CC="$CC" # Let the user override the test.
2191 else
2192 ac_prog_rejected=no
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 for as_dir in $PATH
2196 IFS=$as_save_IFS
2197 test -z "$as_dir" && as_dir=.
2198 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2201 ac_prog_rejected=yes
2202 continue
2204 ac_cv_prog_CC="cc"
2205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 break 2
2208 done
2209 done
2210 IFS=$as_save_IFS
2212 if test $ac_prog_rejected = yes; then
2213 # We found a bogon in the path, so make sure we never use it.
2214 set dummy $ac_cv_prog_CC
2215 shift
2216 if test $# != 0; then
2217 # We chose a different compiler from the bogus one.
2218 # However, it has the same basename, so the bogon will be chosen
2219 # first if we set CC to just the basename; use the full file name.
2220 shift
2221 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2226 CC=$ac_cv_prog_CC
2227 if test -n "$CC"; then
2228 { echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6; }
2230 else
2231 { echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6; }
2237 if test -z "$CC"; then
2238 if test -n "$ac_tool_prefix"; then
2239 for ac_prog in cl.exe
2241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2245 if test "${ac_cv_prog_CC+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 else
2248 if test -n "$CC"; then
2249 ac_cv_prog_CC="$CC" # Let the user override the test.
2250 else
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 for as_dir in $PATH
2254 IFS=$as_save_IFS
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2260 break 2
2262 done
2263 done
2264 IFS=$as_save_IFS
2268 CC=$ac_cv_prog_CC
2269 if test -n "$CC"; then
2270 { echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6; }
2272 else
2273 { echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6; }
2278 test -n "$CC" && break
2279 done
2281 if test -z "$CC"; then
2282 ac_ct_CC=$CC
2283 for ac_prog in cl.exe
2285 # Extract the first word of "$ac_prog", so it can be a program name with args.
2286 set dummy $ac_prog; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 else
2292 if test -n "$ac_ct_CC"; then
2293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2294 else
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 for as_dir in $PATH
2298 IFS=$as_save_IFS
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_ac_ct_CC="$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 break 2
2306 done
2307 done
2308 IFS=$as_save_IFS
2312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2313 if test -n "$ac_ct_CC"; then
2314 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2315 echo "${ECHO_T}$ac_ct_CC" >&6; }
2316 else
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2322 test -n "$ac_ct_CC" && break
2323 done
2325 if test "x$ac_ct_CC" = x; then
2326 CC=""
2327 else
2328 case $cross_compiling:$ac_tool_warned in
2329 yes:)
2330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2331 whose name does not start with the host triplet. If you think this
2332 configuration is useful to you, please write to autoconf@gnu.org." >&5
2333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2334 whose name does not start with the host triplet. If you think this
2335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2336 ac_tool_warned=yes ;;
2337 esac
2338 CC=$ac_ct_CC
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349 { (exit 1); exit 1; }; }
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO: checking for C compiler version" >&5
2353 ac_compiler=`set X $ac_compile; echo $2`
2354 { (ac_try="$ac_compiler --version >&5"
2355 case "(($ac_try" in
2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2358 esac
2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2360 (eval "$ac_compiler --version >&5") 2>&5
2361 ac_status=$?
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }
2364 { (ac_try="$ac_compiler -v >&5"
2365 case "(($ac_try" in
2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2368 esac
2369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2370 (eval "$ac_compiler -v >&5") 2>&5
2371 ac_status=$?
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }
2374 { (ac_try="$ac_compiler -V >&5"
2375 case "(($ac_try" in
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2378 esac
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler -V >&5") 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2385 cat >conftest.$ac_ext <<_ACEOF
2386 /* confdefs.h. */
2387 _ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2393 main ()
2397 return 0;
2399 _ACEOF
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2404 # of exeext.
2405 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2407 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2409 # List of possible output files, starting from the most likely.
2410 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2411 # only as a last resort. b.out is created by i960 compilers.
2412 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2414 # The IRIX 6 linker writes into existing files which may not be
2415 # executable, retaining their permissions. Remove them first so a
2416 # subsequent execution test works.
2417 ac_rmfiles=
2418 for ac_file in $ac_files
2420 case $ac_file in
2421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2422 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2423 esac
2424 done
2425 rm -f $ac_rmfiles
2427 if { (ac_try="$ac_link_default"
2428 case "(($ac_try" in
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2431 esac
2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_link_default") 2>&5
2434 ac_status=$?
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; then
2437 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2439 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2440 # so that the user can short-circuit this test for compilers unknown to
2441 # Autoconf.
2442 for ac_file in $ac_files ''
2444 test -f "$ac_file" || continue
2445 case $ac_file in
2446 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2448 [ab].out )
2449 # We found the default executable, but exeext='' is most
2450 # certainly right.
2451 break;;
2452 *.* )
2453 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2454 then :; else
2455 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2457 # We set ac_cv_exeext here because the later test for it is not
2458 # safe: cross compilers may not add the suffix if given an `-o'
2459 # argument, so we may need to know it at that point already.
2460 # Even if this section looks crufty: it has the advantage of
2461 # actually working.
2462 break;;
2464 break;;
2465 esac
2466 done
2467 test "$ac_cv_exeext" = no && ac_cv_exeext=
2469 else
2470 ac_file=''
2473 { echo "$as_me:$LINENO: result: $ac_file" >&5
2474 echo "${ECHO_T}$ac_file" >&6; }
2475 if test -z "$ac_file"; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2479 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&2;}
2483 { (exit 77); exit 77; }; }
2486 ac_exeext=$ac_cv_exeext
2488 # Check that the compiler produces executables we can run. If not, either
2489 # the compiler is broken, or we cross compile.
2490 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2491 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2492 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2493 # If not cross compiling, check that we can run a simple program.
2494 if test "$cross_compiling" != yes; then
2495 if { ac_try='./$ac_file'
2496 { (case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2499 esac
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_try") 2>&5
2502 ac_status=$?
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; }; then
2505 cross_compiling=no
2506 else
2507 if test "$cross_compiling" = maybe; then
2508 cross_compiling=yes
2509 else
2510 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details." >&5
2513 echo "$as_me: error: cannot run C compiled programs.
2514 If you meant to cross compile, use \`--host'.
2515 See \`config.log' for more details." >&2;}
2516 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6; }
2523 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2524 ac_clean_files=$ac_clean_files_save
2525 # Check that the compiler produces executables we can run. If not, either
2526 # the compiler is broken, or we cross compile.
2527 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2528 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2529 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2530 echo "${ECHO_T}$cross_compiling" >&6; }
2532 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2533 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2534 if { (ac_try="$ac_link"
2535 case "(($ac_try" in
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2538 esac
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2540 (eval "$ac_link") 2>&5
2541 ac_status=$?
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; then
2544 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2545 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2546 # work properly (i.e., refer to `conftest.exe'), while it won't with
2547 # `rm'.
2548 for ac_file in conftest.exe conftest conftest.*; do
2549 test -f "$ac_file" || continue
2550 case $ac_file in
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2552 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 break;;
2554 * ) break;;
2555 esac
2556 done
2557 else
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2565 rm -f conftest$ac_cv_exeext
2566 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2567 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2569 rm -f conftest.$ac_ext
2570 EXEEXT=$ac_cv_exeext
2571 ac_exeext=$EXEEXT
2572 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2573 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2574 if test "${ac_cv_objext+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 else
2577 cat >conftest.$ac_ext <<_ACEOF
2578 /* confdefs.h. */
2579 _ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2585 main ()
2589 return 0;
2591 _ACEOF
2592 rm -f conftest.o conftest.obj
2593 if { (ac_try="$ac_compile"
2594 case "(($ac_try" in
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2597 esac
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_compile") 2>&5
2600 ac_status=$?
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 for ac_file in conftest.o conftest.obj conftest.*; do
2604 test -f "$ac_file" || continue;
2605 case $ac_file in
2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2607 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2608 break;;
2609 esac
2610 done
2611 else
2612 echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2615 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&2;}
2619 { (exit 1); exit 1; }; }
2622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2624 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2625 echo "${ECHO_T}$ac_cv_objext" >&6; }
2626 OBJEXT=$ac_cv_objext
2627 ac_objext=$OBJEXT
2628 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2629 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2630 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 else
2633 cat >conftest.$ac_ext <<_ACEOF
2634 /* confdefs.h. */
2635 _ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2641 main ()
2643 #ifndef __GNUC__
2644 choke me
2645 #endif
2648 return 0;
2650 _ACEOF
2651 rm -f conftest.$ac_objext
2652 if { (ac_try="$ac_compile"
2653 case "(($ac_try" in
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2656 esac
2657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2658 (eval "$ac_compile") 2>conftest.er1
2659 ac_status=$?
2660 grep -v '^ *+' conftest.er1 >conftest.err
2661 rm -f conftest.er1
2662 cat conftest.err >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext; then
2668 ac_compiler_gnu=yes
2669 else
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 ac_compiler_gnu=no
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2682 GCC=`test $ac_compiler_gnu = yes && echo yes`
2683 ac_test_CFLAGS=${CFLAGS+set}
2684 ac_save_CFLAGS=$CFLAGS
2685 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690 ac_save_c_werror_flag=$ac_c_werror_flag
2691 ac_c_werror_flag=yes
2692 ac_cv_prog_cc_g=no
2693 CFLAGS="-g"
2694 cat >conftest.$ac_ext <<_ACEOF
2695 /* confdefs.h. */
2696 _ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2702 main ()
2706 return 0;
2708 _ACEOF
2709 rm -f conftest.$ac_objext
2710 if { (ac_try="$ac_compile"
2711 case "(($ac_try" in
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2714 esac
2715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_compile") 2>conftest.er1
2717 ac_status=$?
2718 grep -v '^ *+' conftest.er1 >conftest.err
2719 rm -f conftest.er1
2720 cat conftest.err >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } && {
2723 test -z "$ac_c_werror_flag" ||
2724 test ! -s conftest.err
2725 } && test -s conftest.$ac_objext; then
2726 ac_cv_prog_cc_g=yes
2727 else
2728 echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2731 CFLAGS=""
2732 cat >conftest.$ac_ext <<_ACEOF
2733 /* confdefs.h. */
2734 _ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2740 main ()
2744 return 0;
2746 _ACEOF
2747 rm -f conftest.$ac_objext
2748 if { (ac_try="$ac_compile"
2749 case "(($ac_try" in
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2752 esac
2753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754 (eval "$ac_compile") 2>conftest.er1
2755 ac_status=$?
2756 grep -v '^ *+' conftest.er1 >conftest.err
2757 rm -f conftest.er1
2758 cat conftest.err >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); } && {
2761 test -z "$ac_c_werror_flag" ||
2762 test ! -s conftest.err
2763 } && test -s conftest.$ac_objext; then
2765 else
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2769 ac_c_werror_flag=$ac_save_c_werror_flag
2770 CFLAGS="-g"
2771 cat >conftest.$ac_ext <<_ACEOF
2772 /* confdefs.h. */
2773 _ACEOF
2774 cat confdefs.h >>conftest.$ac_ext
2775 cat >>conftest.$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2779 main ()
2783 return 0;
2785 _ACEOF
2786 rm -f conftest.$ac_objext
2787 if { (ac_try="$ac_compile"
2788 case "(($ac_try" in
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2791 esac
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_compile") 2>conftest.er1
2794 ac_status=$?
2795 grep -v '^ *+' conftest.er1 >conftest.err
2796 rm -f conftest.er1
2797 cat conftest.err >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } && {
2800 test -z "$ac_c_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest.$ac_objext; then
2803 ac_cv_prog_cc_g=yes
2804 else
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 ac_c_werror_flag=$ac_save_c_werror_flag
2820 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2821 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2822 if test "$ac_test_CFLAGS" = set; then
2823 CFLAGS=$ac_save_CFLAGS
2824 elif test $ac_cv_prog_cc_g = yes; then
2825 if test "$GCC" = yes; then
2826 CFLAGS="-g -O2"
2827 else
2828 CFLAGS="-g"
2830 else
2831 if test "$GCC" = yes; then
2832 CFLAGS="-O2"
2833 else
2834 CFLAGS=
2837 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2838 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2839 if test "${ac_cv_prog_cc_c89+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 else
2842 ac_cv_prog_cc_c89=no
2843 ac_save_CC=$CC
2844 cat >conftest.$ac_ext <<_ACEOF
2845 /* confdefs.h. */
2846 _ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2850 #include <stdarg.h>
2851 #include <stdio.h>
2852 #include <sys/types.h>
2853 #include <sys/stat.h>
2854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2855 struct buf { int x; };
2856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2857 static char *e (p, i)
2858 char **p;
2859 int i;
2861 return p[i];
2863 static char *f (char * (*g) (char **, int), char **p, ...)
2865 char *s;
2866 va_list v;
2867 va_start (v,p);
2868 s = g (p, va_arg (v,int));
2869 va_end (v);
2870 return s;
2873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2874 function prototypes and stuff, but not '\xHH' hex character constants.
2875 These don't provoke an error unfortunately, instead are silently treated
2876 as 'x'. The following induces an error, until -std is added to get
2877 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2878 array size at least. It's necessary to write '\x00'==0 to get something
2879 that's true only with -std. */
2880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2883 inside strings and character constants. */
2884 #define FOO(x) 'x'
2885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2887 int test (int i, double x);
2888 struct s1 {int (*f) (int a);};
2889 struct s2 {int (*f) (double a);};
2890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2891 int argc;
2892 char **argv;
2894 main ()
2896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2898 return 0;
2900 _ACEOF
2901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2902 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2904 CC="$ac_save_CC $ac_arg"
2905 rm -f conftest.$ac_objext
2906 if { (ac_try="$ac_compile"
2907 case "(($ac_try" in
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2910 esac
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_compile") 2>conftest.er1
2913 ac_status=$?
2914 grep -v '^ *+' conftest.er1 >conftest.err
2915 rm -f conftest.er1
2916 cat conftest.err >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); } && {
2919 test -z "$ac_c_werror_flag" ||
2920 test ! -s conftest.err
2921 } && test -s conftest.$ac_objext; then
2922 ac_cv_prog_cc_c89=$ac_arg
2923 else
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2930 rm -f core conftest.err conftest.$ac_objext
2931 test "x$ac_cv_prog_cc_c89" != "xno" && break
2932 done
2933 rm -f conftest.$ac_ext
2934 CC=$ac_save_CC
2937 # AC_CACHE_VAL
2938 case "x$ac_cv_prog_cc_c89" in
2940 { echo "$as_me:$LINENO: result: none needed" >&5
2941 echo "${ECHO_T}none needed" >&6; } ;;
2942 xno)
2943 { echo "$as_me:$LINENO: result: unsupported" >&5
2944 echo "${ECHO_T}unsupported" >&6; } ;;
2946 CC="$CC $ac_cv_prog_cc_c89"
2947 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2948 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2949 esac
2952 ac_ext=c
2953 ac_cpp='$CPP $CPPFLAGS'
2954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2958 ac_ext=cpp
2959 ac_cpp='$CXXCPP $CPPFLAGS'
2960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2963 if test -z "$CXX"; then
2964 if test -n "$CCC"; then
2965 CXX=$CCC
2966 else
2967 if test -n "$ac_tool_prefix"; then
2968 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2974 if test "${ac_cv_prog_CXX+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 else
2977 if test -n "$CXX"; then
2978 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2979 else
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH
2983 IFS=$as_save_IFS
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 break 2
2991 done
2992 done
2993 IFS=$as_save_IFS
2997 CXX=$ac_cv_prog_CXX
2998 if test -n "$CXX"; then
2999 { echo "$as_me:$LINENO: result: $CXX" >&5
3000 echo "${ECHO_T}$CXX" >&6; }
3001 else
3002 { echo "$as_me:$LINENO: result: no" >&5
3003 echo "${ECHO_T}no" >&6; }
3007 test -n "$CXX" && break
3008 done
3010 if test -z "$CXX"; then
3011 ac_ct_CXX=$CXX
3012 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3014 # Extract the first word of "$ac_prog", so it can be a program name with args.
3015 set dummy $ac_prog; ac_word=$2
3016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3018 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021 if test -n "$ac_ct_CXX"; then
3022 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3023 else
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 for as_dir in $PATH
3027 IFS=$as_save_IFS
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031 ac_cv_prog_ac_ct_CXX="$ac_prog"
3032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3033 break 2
3035 done
3036 done
3037 IFS=$as_save_IFS
3041 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3042 if test -n "$ac_ct_CXX"; then
3043 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3044 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3045 else
3046 { echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6; }
3051 test -n "$ac_ct_CXX" && break
3052 done
3054 if test "x$ac_ct_CXX" = x; then
3055 CXX="g++"
3056 else
3057 case $cross_compiling:$ac_tool_warned in
3058 yes:)
3059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3060 whose name does not start with the host triplet. If you think this
3061 configuration is useful to you, please write to autoconf@gnu.org." >&5
3062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3063 whose name does not start with the host triplet. If you think this
3064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3065 ac_tool_warned=yes ;;
3066 esac
3067 CXX=$ac_ct_CXX
3073 # Provide some information about the compiler.
3074 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3075 ac_compiler=`set X $ac_compile; echo $2`
3076 { (ac_try="$ac_compiler --version >&5"
3077 case "(($ac_try" in
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3080 esac
3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3082 (eval "$ac_compiler --version >&5") 2>&5
3083 ac_status=$?
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }
3086 { (ac_try="$ac_compiler -v >&5"
3087 case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3090 esac
3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compiler -v >&5") 2>&5
3093 ac_status=$?
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }
3096 { (ac_try="$ac_compiler -V >&5"
3097 case "(($ac_try" in
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3100 esac
3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler -V >&5") 2>&5
3103 ac_status=$?
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }
3107 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3108 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3109 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 else
3112 cat >conftest.$ac_ext <<_ACEOF
3113 /* confdefs.h. */
3114 _ACEOF
3115 cat confdefs.h >>conftest.$ac_ext
3116 cat >>conftest.$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3120 main ()
3122 #ifndef __GNUC__
3123 choke me
3124 #endif
3127 return 0;
3129 _ACEOF
3130 rm -f conftest.$ac_objext
3131 if { (ac_try="$ac_compile"
3132 case "(($ac_try" in
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3135 esac
3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3137 (eval "$ac_compile") 2>conftest.er1
3138 ac_status=$?
3139 grep -v '^ *+' conftest.er1 >conftest.err
3140 rm -f conftest.er1
3141 cat conftest.err >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } && {
3144 test -z "$ac_cxx_werror_flag" ||
3145 test ! -s conftest.err
3146 } && test -s conftest.$ac_objext; then
3147 ac_compiler_gnu=yes
3148 else
3149 echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3152 ac_compiler_gnu=no
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3159 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3160 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3161 GXX=`test $ac_compiler_gnu = yes && echo yes`
3162 ac_test_CXXFLAGS=${CXXFLAGS+set}
3163 ac_save_CXXFLAGS=$CXXFLAGS
3164 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3165 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3166 if test "${ac_cv_prog_cxx_g+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 else
3169 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3170 ac_cxx_werror_flag=yes
3171 ac_cv_prog_cxx_g=no
3172 CXXFLAGS="-g"
3173 cat >conftest.$ac_ext <<_ACEOF
3174 /* confdefs.h. */
3175 _ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3181 main ()
3185 return 0;
3187 _ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (ac_try="$ac_compile"
3190 case "(($ac_try" in
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3193 esac
3194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3195 (eval "$ac_compile") 2>conftest.er1
3196 ac_status=$?
3197 grep -v '^ *+' conftest.er1 >conftest.err
3198 rm -f conftest.er1
3199 cat conftest.err >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); } && {
3202 test -z "$ac_cxx_werror_flag" ||
3203 test ! -s conftest.err
3204 } && test -s conftest.$ac_objext; then
3205 ac_cv_prog_cxx_g=yes
3206 else
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3210 CXXFLAGS=""
3211 cat >conftest.$ac_ext <<_ACEOF
3212 /* confdefs.h. */
3213 _ACEOF
3214 cat confdefs.h >>conftest.$ac_ext
3215 cat >>conftest.$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3219 main ()
3223 return 0;
3225 _ACEOF
3226 rm -f conftest.$ac_objext
3227 if { (ac_try="$ac_compile"
3228 case "(($ac_try" in
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3231 esac
3232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3233 (eval "$ac_compile") 2>conftest.er1
3234 ac_status=$?
3235 grep -v '^ *+' conftest.er1 >conftest.err
3236 rm -f conftest.er1
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_cxx_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest.$ac_objext; then
3244 else
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3248 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3249 CXXFLAGS="-g"
3250 cat >conftest.$ac_ext <<_ACEOF
3251 /* confdefs.h. */
3252 _ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3258 main ()
3262 return 0;
3264 _ACEOF
3265 rm -f conftest.$ac_objext
3266 if { (ac_try="$ac_compile"
3267 case "(($ac_try" in
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3270 esac
3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3273 ac_status=$?
3274 grep -v '^ *+' conftest.er1 >conftest.err
3275 rm -f conftest.er1
3276 cat conftest.err >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_cxx_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3282 ac_cv_prog_cxx_g=yes
3283 else
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3299 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3300 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3301 if test "$ac_test_CXXFLAGS" = set; then
3302 CXXFLAGS=$ac_save_CXXFLAGS
3303 elif test $ac_cv_prog_cxx_g = yes; then
3304 if test "$GXX" = yes; then
3305 CXXFLAGS="-g -O2"
3306 else
3307 CXXFLAGS="-g"
3309 else
3310 if test "$GXX" = yes; then
3311 CXXFLAGS="-O2"
3312 else
3313 CXXFLAGS=
3316 ac_ext=c
3317 ac_cpp='$CPP $CPPFLAGS'
3318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 if test -n "$ac_tool_prefix"; then
3323 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3324 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3327 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 else
3330 if test -n "$CPPBIN"; then
3331 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3332 else
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 for as_dir in $PATH
3336 IFS=$as_save_IFS
3337 test -z "$as_dir" && as_dir=.
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3342 break 2
3344 done
3345 done
3346 IFS=$as_save_IFS
3350 CPPBIN=$ac_cv_prog_CPPBIN
3351 if test -n "$CPPBIN"; then
3352 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3353 echo "${ECHO_T}$CPPBIN" >&6; }
3354 else
3355 { echo "$as_me:$LINENO: result: no" >&5
3356 echo "${ECHO_T}no" >&6; }
3361 if test -z "$ac_cv_prog_CPPBIN"; then
3362 ac_ct_CPPBIN=$CPPBIN
3363 # Extract the first word of "cpp", so it can be a program name with args.
3364 set dummy cpp; ac_word=$2
3365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3367 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3369 else
3370 if test -n "$ac_ct_CPPBIN"; then
3371 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_ac_ct_CPPBIN="cpp"
3381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 break 2
3384 done
3385 done
3386 IFS=$as_save_IFS
3390 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3391 if test -n "$ac_ct_CPPBIN"; then
3392 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3393 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3394 else
3395 { echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6; }
3399 if test "x$ac_ct_CPPBIN" = x; then
3400 CPPBIN="cpp"
3401 else
3402 case $cross_compiling:$ac_tool_warned in
3403 yes:)
3404 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3405 whose name does not start with the host triplet. If you think this
3406 configuration is useful to you, please write to autoconf@gnu.org." >&5
3407 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3408 whose name does not start with the host triplet. If you think this
3409 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3410 ac_tool_warned=yes ;;
3411 esac
3412 CPPBIN=$ac_ct_CPPBIN
3414 else
3415 CPPBIN="$ac_cv_prog_CPPBIN"
3419 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3420 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3421 if test "${wine_cv_toolsdir+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 else
3424 if test -z "$with_wine_tools"; then
3425 if test "$cross_compiling" = "yes"; then
3426 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3427 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3428 { (exit 1); exit 1; }; }
3429 else
3430 wine_cv_toolsdir="\$(TOPOBJDIR)"
3432 elif test -d "$with_wine_tools/tools/winebuild"; then
3433 case $with_wine_tools in
3434 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3435 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3436 esac
3437 else
3438 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3439 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3440 { (exit 1); exit 1; }; }
3443 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3444 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3445 TOOLSDIR=$wine_cv_toolsdir
3449 ac_ext=c
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3455 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3456 # On Suns, sometimes $CPP names a directory.
3457 if test -n "$CPP" && test -d "$CPP"; then
3458 CPP=
3460 if test -z "$CPP"; then
3461 if test "${ac_cv_prog_CPP+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 else
3464 # Double quotes because CPP needs to be expanded
3465 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3467 ac_preproc_ok=false
3468 for ac_c_preproc_warn_flag in '' yes
3470 # Use a header file that comes with gcc, so configuring glibc
3471 # with a fresh cross-compiler works.
3472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3473 # <limits.h> exists even on freestanding compilers.
3474 # On the NeXT, cc -E runs the code through the compiler's parser,
3475 # not just through cpp. "Syntax error" is here to catch this case.
3476 cat >conftest.$ac_ext <<_ACEOF
3477 /* confdefs.h. */
3478 _ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3482 #ifdef __STDC__
3483 # include <limits.h>
3484 #else
3485 # include <assert.h>
3486 #endif
3487 Syntax error
3488 _ACEOF
3489 if { (ac_try="$ac_cpp conftest.$ac_ext"
3490 case "(($ac_try" in
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3493 esac
3494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3496 ac_status=$?
3497 grep -v '^ *+' conftest.er1 >conftest.err
3498 rm -f conftest.er1
3499 cat conftest.err >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } >/dev/null && {
3502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3503 test ! -s conftest.err
3504 }; then
3506 else
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 # Broken: fails on valid input.
3511 continue
3514 rm -f conftest.err conftest.$ac_ext
3516 # OK, works on sane cases. Now check whether nonexistent headers
3517 # can be detected and how.
3518 cat >conftest.$ac_ext <<_ACEOF
3519 /* confdefs.h. */
3520 _ACEOF
3521 cat confdefs.h >>conftest.$ac_ext
3522 cat >>conftest.$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3524 #include <ac_nonexistent.h>
3525 _ACEOF
3526 if { (ac_try="$ac_cpp conftest.$ac_ext"
3527 case "(($ac_try" in
3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3530 esac
3531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3533 ac_status=$?
3534 grep -v '^ *+' conftest.er1 >conftest.err
3535 rm -f conftest.er1
3536 cat conftest.err >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } >/dev/null && {
3539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3540 test ! -s conftest.err
3541 }; then
3542 # Broken: success on invalid input.
3543 continue
3544 else
3545 echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3548 # Passes both tests.
3549 ac_preproc_ok=:
3550 break
3553 rm -f conftest.err conftest.$ac_ext
3555 done
3556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3557 rm -f conftest.err conftest.$ac_ext
3558 if $ac_preproc_ok; then
3559 break
3562 done
3563 ac_cv_prog_CPP=$CPP
3566 CPP=$ac_cv_prog_CPP
3567 else
3568 ac_cv_prog_CPP=$CPP
3570 { echo "$as_me:$LINENO: result: $CPP" >&5
3571 echo "${ECHO_T}$CPP" >&6; }
3572 ac_preproc_ok=false
3573 for ac_c_preproc_warn_flag in '' yes
3575 # Use a header file that comes with gcc, so configuring glibc
3576 # with a fresh cross-compiler works.
3577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3578 # <limits.h> exists even on freestanding compilers.
3579 # On the NeXT, cc -E runs the code through the compiler's parser,
3580 # not just through cpp. "Syntax error" is here to catch this case.
3581 cat >conftest.$ac_ext <<_ACEOF
3582 /* confdefs.h. */
3583 _ACEOF
3584 cat confdefs.h >>conftest.$ac_ext
3585 cat >>conftest.$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3587 #ifdef __STDC__
3588 # include <limits.h>
3589 #else
3590 # include <assert.h>
3591 #endif
3592 Syntax error
3593 _ACEOF
3594 if { (ac_try="$ac_cpp conftest.$ac_ext"
3595 case "(($ac_try" in
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3598 esac
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3601 ac_status=$?
3602 grep -v '^ *+' conftest.er1 >conftest.err
3603 rm -f conftest.er1
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } >/dev/null && {
3607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3609 }; then
3611 else
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3615 # Broken: fails on valid input.
3616 continue
3619 rm -f conftest.err conftest.$ac_ext
3621 # OK, works on sane cases. Now check whether nonexistent headers
3622 # can be detected and how.
3623 cat >conftest.$ac_ext <<_ACEOF
3624 /* confdefs.h. */
3625 _ACEOF
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3629 #include <ac_nonexistent.h>
3630 _ACEOF
3631 if { (ac_try="$ac_cpp conftest.$ac_ext"
3632 case "(($ac_try" in
3633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3635 esac
3636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3638 ac_status=$?
3639 grep -v '^ *+' conftest.er1 >conftest.err
3640 rm -f conftest.er1
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } >/dev/null && {
3644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3645 test ! -s conftest.err
3646 }; then
3647 # Broken: success on invalid input.
3648 continue
3649 else
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 # Passes both tests.
3654 ac_preproc_ok=:
3655 break
3658 rm -f conftest.err conftest.$ac_ext
3660 done
3661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3662 rm -f conftest.err conftest.$ac_ext
3663 if $ac_preproc_ok; then
3665 else
3666 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3667 See \`config.log' for more details." >&5
3668 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log' for more details." >&2;}
3670 { (exit 1); exit 1; }; }
3673 ac_ext=c
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking for X" >&5
3681 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3684 # Check whether --with-x was given.
3685 if test "${with_x+set}" = set; then
3686 withval=$with_x;
3689 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3690 if test "x$with_x" = xno; then
3691 # The user explicitly disabled X.
3692 have_x=disabled
3693 else
3694 case $x_includes,$x_libraries in #(
3695 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3696 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3697 { (exit 1); exit 1; }; };; #(
3698 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else
3701 # One or both of the vars are not set, and there is no cached value.
3702 ac_x_includes=no ac_x_libraries=no
3703 rm -f -r conftest.dir
3704 if mkdir conftest.dir; then
3705 cd conftest.dir
3706 cat >Imakefile <<'_ACEOF'
3707 incroot:
3708 @echo incroot='${INCROOT}'
3709 usrlibdir:
3710 @echo usrlibdir='${USRLIBDIR}'
3711 libdir:
3712 @echo libdir='${LIBDIR}'
3713 _ACEOF
3714 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3716 for ac_var in incroot usrlibdir libdir; do
3717 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3718 done
3719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3720 for ac_extension in a so sl; do
3721 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3722 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3723 ac_im_usrlibdir=$ac_im_libdir; break
3725 done
3726 # Screen out bogus values from the imake configuration. They are
3727 # bogus both because they are the default anyway, and because
3728 # using them would break gcc on systems where it needs fixed includes.
3729 case $ac_im_incroot in
3730 /usr/include) ac_x_includes= ;;
3731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3732 esac
3733 case $ac_im_usrlibdir in
3734 /usr/lib | /lib) ;;
3735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3736 esac
3738 cd ..
3739 rm -f -r conftest.dir
3742 # Standard set of common directories for X headers.
3743 # Check X11 before X11Rn because it is often a symlink to the current release.
3744 ac_x_header_dirs='
3745 /usr/X11/include
3746 /usr/X11R6/include
3747 /usr/X11R5/include
3748 /usr/X11R4/include
3750 /usr/include/X11
3751 /usr/include/X11R6
3752 /usr/include/X11R5
3753 /usr/include/X11R4
3755 /usr/local/X11/include
3756 /usr/local/X11R6/include
3757 /usr/local/X11R5/include
3758 /usr/local/X11R4/include
3760 /usr/local/include/X11
3761 /usr/local/include/X11R6
3762 /usr/local/include/X11R5
3763 /usr/local/include/X11R4
3765 /usr/X386/include
3766 /usr/x386/include
3767 /usr/XFree86/include/X11
3769 /usr/include
3770 /usr/local/include
3771 /usr/unsupported/include
3772 /usr/athena/include
3773 /usr/local/x11r5/include
3774 /usr/lpp/Xamples/include
3776 /usr/openwin/include
3777 /usr/openwin/share/include'
3779 if test "$ac_x_includes" = no; then
3780 # Guess where to find include files, by looking for Xlib.h.
3781 # First, try using that file with no special directory specified.
3782 cat >conftest.$ac_ext <<_ACEOF
3783 /* confdefs.h. */
3784 _ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <X11/Xlib.h>
3789 _ACEOF
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3791 case "(($ac_try" in
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3794 esac
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3797 ac_status=$?
3798 grep -v '^ *+' conftest.er1 >conftest.err
3799 rm -f conftest.er1
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } >/dev/null && {
3803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3805 }; then
3806 # We can compile using X headers with no special include directory.
3807 ac_x_includes=
3808 else
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3812 for ac_dir in $ac_x_header_dirs; do
3813 if test -r "$ac_dir/X11/Xlib.h"; then
3814 ac_x_includes=$ac_dir
3815 break
3817 done
3820 rm -f conftest.err conftest.$ac_ext
3821 fi # $ac_x_includes = no
3823 if test "$ac_x_libraries" = no; then
3824 # Check for the libraries.
3825 # See if we find them without any special options.
3826 # Don't add to $LIBS permanently.
3827 ac_save_LIBS=$LIBS
3828 LIBS="-lX11 $LIBS"
3829 cat >conftest.$ac_ext <<_ACEOF
3830 /* confdefs.h. */
3831 _ACEOF
3832 cat confdefs.h >>conftest.$ac_ext
3833 cat >>conftest.$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3835 #include <X11/Xlib.h>
3837 main ()
3839 XrmInitialize ()
3841 return 0;
3843 _ACEOF
3844 rm -f conftest.$ac_objext conftest$ac_exeext
3845 if { (ac_try="$ac_link"
3846 case "(($ac_try" in
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3849 esac
3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3851 (eval "$ac_link") 2>conftest.er1
3852 ac_status=$?
3853 grep -v '^ *+' conftest.er1 >conftest.err
3854 rm -f conftest.er1
3855 cat conftest.err >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } && {
3858 test -z "$ac_c_werror_flag" ||
3859 test ! -s conftest.err
3860 } && test -s conftest$ac_exeext &&
3861 $as_test_x conftest$ac_exeext; then
3862 LIBS=$ac_save_LIBS
3863 # We can link X programs with no special library path.
3864 ac_x_libraries=
3865 else
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.$ac_ext >&5
3869 LIBS=$ac_save_LIBS
3870 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3872 # Don't even attempt the hair of trying to link an X program!
3873 for ac_extension in a so sl; do
3874 if test -r "$ac_dir/libX11.$ac_extension"; then
3875 ac_x_libraries=$ac_dir
3876 break 2
3878 done
3879 done
3882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3883 conftest$ac_exeext conftest.$ac_ext
3884 fi # $ac_x_libraries = no
3886 case $ac_x_includes,$ac_x_libraries in #(
3887 no,* | *,no | *\'*)
3888 # Didn't find X, or a directory has "'" in its name.
3889 ac_cv_have_x="have_x=no";; #(
3891 # Record where we found X for the cache.
3892 ac_cv_have_x="have_x=yes\
3893 ac_x_includes='$ac_x_includes'\
3894 ac_x_libraries='$ac_x_libraries'"
3895 esac
3897 ;; #(
3898 *) have_x=yes;;
3899 esac
3900 eval "$ac_cv_have_x"
3901 fi # $with_x != no
3903 if test "$have_x" != yes; then
3904 { echo "$as_me:$LINENO: result: $have_x" >&5
3905 echo "${ECHO_T}$have_x" >&6; }
3906 no_x=yes
3907 else
3908 # If each of the values was on the command line, it overrides each guess.
3909 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3910 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3911 # Update the cache value to reflect the command line values.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$x_includes'\
3914 ac_x_libraries='$x_libraries'"
3915 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3916 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3919 if test "$no_x" = yes; then
3920 # Not all programs may use this symbol, but it does not hurt to define it.
3922 cat >>confdefs.h <<\_ACEOF
3923 #define X_DISPLAY_MISSING 1
3924 _ACEOF
3926 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3927 else
3928 if test -n "$x_includes"; then
3929 X_CFLAGS="$X_CFLAGS -I$x_includes"
3932 # It would also be nice to do this for all -L options, not just this one.
3933 if test -n "$x_libraries"; then
3934 X_LIBS="$X_LIBS -L$x_libraries"
3935 # For Solaris; some versions of Sun CC require a space after -R and
3936 # others require no space. Words are not sufficient . . . .
3937 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3938 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3939 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3940 ac_xsave_c_werror_flag=$ac_c_werror_flag
3941 ac_c_werror_flag=yes
3942 cat >conftest.$ac_ext <<_ACEOF
3943 /* confdefs.h. */
3944 _ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3950 main ()
3954 return 0;
3956 _ACEOF
3957 rm -f conftest.$ac_objext conftest$ac_exeext
3958 if { (ac_try="$ac_link"
3959 case "(($ac_try" in
3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961 *) ac_try_echo=$ac_try;;
3962 esac
3963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3964 (eval "$ac_link") 2>conftest.er1
3965 ac_status=$?
3966 grep -v '^ *+' conftest.er1 >conftest.err
3967 rm -f conftest.er1
3968 cat conftest.err >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); } && {
3971 test -z "$ac_c_werror_flag" ||
3972 test ! -s conftest.err
3973 } && test -s conftest$ac_exeext &&
3974 $as_test_x conftest$ac_exeext; then
3975 { echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6; }
3977 X_LIBS="$X_LIBS -R$x_libraries"
3978 else
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3982 LIBS="$ac_xsave_LIBS -R $x_libraries"
3983 cat >conftest.$ac_ext <<_ACEOF
3984 /* confdefs.h. */
3985 _ACEOF
3986 cat confdefs.h >>conftest.$ac_ext
3987 cat >>conftest.$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3991 main ()
3995 return 0;
3997 _ACEOF
3998 rm -f conftest.$ac_objext conftest$ac_exeext
3999 if { (ac_try="$ac_link"
4000 case "(($ac_try" in
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4003 esac
4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4005 (eval "$ac_link") 2>conftest.er1
4006 ac_status=$?
4007 grep -v '^ *+' conftest.er1 >conftest.err
4008 rm -f conftest.er1
4009 cat conftest.err >&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } && {
4012 test -z "$ac_c_werror_flag" ||
4013 test ! -s conftest.err
4014 } && test -s conftest$ac_exeext &&
4015 $as_test_x conftest$ac_exeext; then
4016 { echo "$as_me:$LINENO: result: yes" >&5
4017 echo "${ECHO_T}yes" >&6; }
4018 X_LIBS="$X_LIBS -R $x_libraries"
4019 else
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 { echo "$as_me:$LINENO: result: neither works" >&5
4024 echo "${ECHO_T}neither works" >&6; }
4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4028 conftest$ac_exeext conftest.$ac_ext
4031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4032 conftest$ac_exeext conftest.$ac_ext
4033 ac_c_werror_flag=$ac_xsave_c_werror_flag
4034 LIBS=$ac_xsave_LIBS
4037 # Check for system-dependent libraries X programs must link with.
4038 # Do this before checking for the system-independent R6 libraries
4039 # (-lICE), since we may need -lsocket or whatever for X linking.
4041 if test "$ISC" = yes; then
4042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4043 else
4044 # Martyn Johnson says this is needed for Ultrix, if the X
4045 # libraries were built with DECnet support. And Karl Berry says
4046 # the Alpha needs dnet_stub (dnet does not exist).
4047 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4048 cat >conftest.$ac_ext <<_ACEOF
4049 /* confdefs.h. */
4050 _ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4055 /* Override any GCC internal prototype to avoid an error.
4056 Use char because int might match the return type of a GCC
4057 builtin and then its argument prototype would still apply. */
4058 #ifdef __cplusplus
4059 extern "C"
4060 #endif
4061 char XOpenDisplay ();
4063 main ()
4065 return XOpenDisplay ();
4067 return 0;
4069 _ACEOF
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4072 case "(($ac_try" in
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4075 esac
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4078 ac_status=$?
4079 grep -v '^ *+' conftest.er1 >conftest.err
4080 rm -f conftest.er1
4081 cat conftest.err >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest$ac_exeext &&
4087 $as_test_x conftest$ac_exeext; then
4089 else
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4093 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4094 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4095 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 else
4098 ac_check_lib_save_LIBS=$LIBS
4099 LIBS="-ldnet $LIBS"
4100 cat >conftest.$ac_ext <<_ACEOF
4101 /* confdefs.h. */
4102 _ACEOF
4103 cat confdefs.h >>conftest.$ac_ext
4104 cat >>conftest.$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4107 /* Override any GCC internal prototype to avoid an error.
4108 Use char because int might match the return type of a GCC
4109 builtin and then its argument prototype would still apply. */
4110 #ifdef __cplusplus
4111 extern "C"
4112 #endif
4113 char dnet_ntoa ();
4115 main ()
4117 return dnet_ntoa ();
4119 return 0;
4121 _ACEOF
4122 rm -f conftest.$ac_objext conftest$ac_exeext
4123 if { (ac_try="$ac_link"
4124 case "(($ac_try" in
4125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4126 *) ac_try_echo=$ac_try;;
4127 esac
4128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4129 (eval "$ac_link") 2>conftest.er1
4130 ac_status=$?
4131 grep -v '^ *+' conftest.er1 >conftest.err
4132 rm -f conftest.er1
4133 cat conftest.err >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } && {
4136 test -z "$ac_c_werror_flag" ||
4137 test ! -s conftest.err
4138 } && test -s conftest$ac_exeext &&
4139 $as_test_x conftest$ac_exeext; then
4140 ac_cv_lib_dnet_dnet_ntoa=yes
4141 else
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.$ac_ext >&5
4145 ac_cv_lib_dnet_dnet_ntoa=no
4148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4149 conftest$ac_exeext conftest.$ac_ext
4150 LIBS=$ac_check_lib_save_LIBS
4152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4158 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4159 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 else
4164 ac_check_lib_save_LIBS=$LIBS
4165 LIBS="-ldnet_stub $LIBS"
4166 cat >conftest.$ac_ext <<_ACEOF
4167 /* confdefs.h. */
4168 _ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4173 /* Override any GCC internal prototype to avoid an error.
4174 Use char because int might match the return type of a GCC
4175 builtin and then its argument prototype would still apply. */
4176 #ifdef __cplusplus
4177 extern "C"
4178 #endif
4179 char dnet_ntoa ();
4181 main ()
4183 return dnet_ntoa ();
4185 return 0;
4187 _ACEOF
4188 rm -f conftest.$ac_objext conftest$ac_exeext
4189 if { (ac_try="$ac_link"
4190 case "(($ac_try" in
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4193 esac
4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195 (eval "$ac_link") 2>conftest.er1
4196 ac_status=$?
4197 grep -v '^ *+' conftest.er1 >conftest.err
4198 rm -f conftest.er1
4199 cat conftest.err >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } && {
4202 test -z "$ac_c_werror_flag" ||
4203 test ! -s conftest.err
4204 } && test -s conftest$ac_exeext &&
4205 $as_test_x conftest$ac_exeext; then
4206 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4207 else
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4211 ac_cv_lib_dnet_stub_dnet_ntoa=no
4214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4215 conftest$ac_exeext conftest.$ac_ext
4216 LIBS=$ac_check_lib_save_LIBS
4218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4219 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4220 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4221 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4228 conftest$ac_exeext conftest.$ac_ext
4229 LIBS="$ac_xsave_LIBS"
4231 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4232 # to get the SysV transport functions.
4233 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4234 # needs -lnsl.
4235 # The nsl library prevents programs from opening the X display
4236 # on Irix 5.2, according to T.E. Dickey.
4237 # The functions gethostbyname, getservbyname, and inet_addr are
4238 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4239 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4241 if test "${ac_cv_func_gethostbyname+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 else
4244 cat >conftest.$ac_ext <<_ACEOF
4245 /* confdefs.h. */
4246 _ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4252 #define gethostbyname innocuous_gethostbyname
4254 /* System header to define __stub macros and hopefully few prototypes,
4255 which can conflict with char gethostbyname (); below.
4256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4257 <limits.h> exists even on freestanding compilers. */
4259 #ifdef __STDC__
4260 # include <limits.h>
4261 #else
4262 # include <assert.h>
4263 #endif
4265 #undef gethostbyname
4267 /* Override any GCC internal prototype to avoid an error.
4268 Use char because int might match the return type of a GCC
4269 builtin and then its argument prototype would still apply. */
4270 #ifdef __cplusplus
4271 extern "C"
4272 #endif
4273 char gethostbyname ();
4274 /* The GNU C library defines this for functions which it implements
4275 to always fail with ENOSYS. Some functions are actually named
4276 something starting with __ and the normal name is an alias. */
4277 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4278 choke me
4279 #endif
4282 main ()
4284 return gethostbyname ();
4286 return 0;
4288 _ACEOF
4289 rm -f conftest.$ac_objext conftest$ac_exeext
4290 if { (ac_try="$ac_link"
4291 case "(($ac_try" in
4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4294 esac
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_link") 2>conftest.er1
4297 ac_status=$?
4298 grep -v '^ *+' conftest.er1 >conftest.err
4299 rm -f conftest.er1
4300 cat conftest.err >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } && {
4303 test -z "$ac_c_werror_flag" ||
4304 test ! -s conftest.err
4305 } && test -s conftest$ac_exeext &&
4306 $as_test_x conftest$ac_exeext; then
4307 ac_cv_func_gethostbyname=yes
4308 else
4309 echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5
4312 ac_cv_func_gethostbyname=no
4315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4316 conftest$ac_exeext conftest.$ac_ext
4318 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4319 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4321 if test $ac_cv_func_gethostbyname = no; then
4322 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4323 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4324 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 else
4327 ac_check_lib_save_LIBS=$LIBS
4328 LIBS="-lnsl $LIBS"
4329 cat >conftest.$ac_ext <<_ACEOF
4330 /* confdefs.h. */
4331 _ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4336 /* Override any GCC internal prototype to avoid an error.
4337 Use char because int might match the return type of a GCC
4338 builtin and then its argument prototype would still apply. */
4339 #ifdef __cplusplus
4340 extern "C"
4341 #endif
4342 char gethostbyname ();
4344 main ()
4346 return gethostbyname ();
4348 return 0;
4350 _ACEOF
4351 rm -f conftest.$ac_objext conftest$ac_exeext
4352 if { (ac_try="$ac_link"
4353 case "(($ac_try" in
4354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4355 *) ac_try_echo=$ac_try;;
4356 esac
4357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4358 (eval "$ac_link") 2>conftest.er1
4359 ac_status=$?
4360 grep -v '^ *+' conftest.er1 >conftest.err
4361 rm -f conftest.er1
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } && {
4365 test -z "$ac_c_werror_flag" ||
4366 test ! -s conftest.err
4367 } && test -s conftest$ac_exeext &&
4368 $as_test_x conftest$ac_exeext; then
4369 ac_cv_lib_nsl_gethostbyname=yes
4370 else
4371 echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.$ac_ext >&5
4374 ac_cv_lib_nsl_gethostbyname=no
4377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4378 conftest$ac_exeext conftest.$ac_ext
4379 LIBS=$ac_check_lib_save_LIBS
4381 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4382 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4383 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4387 if test $ac_cv_lib_nsl_gethostbyname = no; then
4388 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4389 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4390 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 else
4393 ac_check_lib_save_LIBS=$LIBS
4394 LIBS="-lbsd $LIBS"
4395 cat >conftest.$ac_ext <<_ACEOF
4396 /* confdefs.h. */
4397 _ACEOF
4398 cat confdefs.h >>conftest.$ac_ext
4399 cat >>conftest.$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4402 /* Override any GCC internal prototype to avoid an error.
4403 Use char because int might match the return type of a GCC
4404 builtin and then its argument prototype would still apply. */
4405 #ifdef __cplusplus
4406 extern "C"
4407 #endif
4408 char gethostbyname ();
4410 main ()
4412 return gethostbyname ();
4414 return 0;
4416 _ACEOF
4417 rm -f conftest.$ac_objext conftest$ac_exeext
4418 if { (ac_try="$ac_link"
4419 case "(($ac_try" in
4420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4421 *) ac_try_echo=$ac_try;;
4422 esac
4423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4424 (eval "$ac_link") 2>conftest.er1
4425 ac_status=$?
4426 grep -v '^ *+' conftest.er1 >conftest.err
4427 rm -f conftest.er1
4428 cat conftest.err >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } && {
4431 test -z "$ac_c_werror_flag" ||
4432 test ! -s conftest.err
4433 } && test -s conftest$ac_exeext &&
4434 $as_test_x conftest$ac_exeext; then
4435 ac_cv_lib_bsd_gethostbyname=yes
4436 else
4437 echo "$as_me: failed program was:" >&5
4438 sed 's/^/| /' conftest.$ac_ext >&5
4440 ac_cv_lib_bsd_gethostbyname=no
4443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4444 conftest$ac_exeext conftest.$ac_ext
4445 LIBS=$ac_check_lib_save_LIBS
4447 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4448 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4449 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4457 # socket/setsockopt and other routines are undefined under SCO ODT
4458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4459 # on later versions), says Simon Leinen: it contains gethostby*
4460 # variants that don't use the name server (or something). -lsocket
4461 # must be given before -lnsl if both are needed. We assume that
4462 # if connect needs -lnsl, so does gethostbyname.
4463 { echo "$as_me:$LINENO: checking for connect" >&5
4464 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4465 if test "${ac_cv_func_connect+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 else
4468 cat >conftest.$ac_ext <<_ACEOF
4469 /* confdefs.h. */
4470 _ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4474 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4476 #define connect innocuous_connect
4478 /* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char connect (); below.
4480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 <limits.h> exists even on freestanding compilers. */
4483 #ifdef __STDC__
4484 # include <limits.h>
4485 #else
4486 # include <assert.h>
4487 #endif
4489 #undef connect
4491 /* Override any GCC internal prototype to avoid an error.
4492 Use char because int might match the return type of a GCC
4493 builtin and then its argument prototype would still apply. */
4494 #ifdef __cplusplus
4495 extern "C"
4496 #endif
4497 char connect ();
4498 /* The GNU C library defines this for functions which it implements
4499 to always fail with ENOSYS. Some functions are actually named
4500 something starting with __ and the normal name is an alias. */
4501 #if defined __stub_connect || defined __stub___connect
4502 choke me
4503 #endif
4506 main ()
4508 return connect ();
4510 return 0;
4512 _ACEOF
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (ac_try="$ac_link"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520 (eval "$ac_link") 2>conftest.er1
4521 ac_status=$?
4522 grep -v '^ *+' conftest.er1 >conftest.err
4523 rm -f conftest.er1
4524 cat conftest.err >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } && {
4527 test -z "$ac_c_werror_flag" ||
4528 test ! -s conftest.err
4529 } && test -s conftest$ac_exeext &&
4530 $as_test_x conftest$ac_exeext; then
4531 ac_cv_func_connect=yes
4532 else
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 ac_cv_func_connect=no
4539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4540 conftest$ac_exeext conftest.$ac_ext
4542 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4543 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4545 if test $ac_cv_func_connect = no; then
4546 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4547 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4548 if test "${ac_cv_lib_socket_connect+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 else
4551 ac_check_lib_save_LIBS=$LIBS
4552 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4553 cat >conftest.$ac_ext <<_ACEOF
4554 /* confdefs.h. */
4555 _ACEOF
4556 cat confdefs.h >>conftest.$ac_ext
4557 cat >>conftest.$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4560 /* Override any GCC internal prototype to avoid an error.
4561 Use char because int might match the return type of a GCC
4562 builtin and then its argument prototype would still apply. */
4563 #ifdef __cplusplus
4564 extern "C"
4565 #endif
4566 char connect ();
4568 main ()
4570 return connect ();
4572 return 0;
4574 _ACEOF
4575 rm -f conftest.$ac_objext conftest$ac_exeext
4576 if { (ac_try="$ac_link"
4577 case "(($ac_try" in
4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4580 esac
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_link") 2>conftest.er1
4583 ac_status=$?
4584 grep -v '^ *+' conftest.er1 >conftest.err
4585 rm -f conftest.er1
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } && {
4589 test -z "$ac_c_werror_flag" ||
4590 test ! -s conftest.err
4591 } && test -s conftest$ac_exeext &&
4592 $as_test_x conftest$ac_exeext; then
4593 ac_cv_lib_socket_connect=yes
4594 else
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_lib_socket_connect=no
4601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602 conftest$ac_exeext conftest.$ac_ext
4603 LIBS=$ac_check_lib_save_LIBS
4605 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4607 if test $ac_cv_lib_socket_connect = yes; then
4608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4613 # Guillermo Gomez says -lposix is necessary on A/UX.
4614 { echo "$as_me:$LINENO: checking for remove" >&5
4615 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4616 if test "${ac_cv_func_remove+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 else
4619 cat >conftest.$ac_ext <<_ACEOF
4620 /* confdefs.h. */
4621 _ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4625 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4627 #define remove innocuous_remove
4629 /* System header to define __stub macros and hopefully few prototypes,
4630 which can conflict with char remove (); below.
4631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632 <limits.h> exists even on freestanding compilers. */
4634 #ifdef __STDC__
4635 # include <limits.h>
4636 #else
4637 # include <assert.h>
4638 #endif
4640 #undef remove
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4645 #ifdef __cplusplus
4646 extern "C"
4647 #endif
4648 char remove ();
4649 /* The GNU C library defines this for functions which it implements
4650 to always fail with ENOSYS. Some functions are actually named
4651 something starting with __ and the normal name is an alias. */
4652 #if defined __stub_remove || defined __stub___remove
4653 choke me
4654 #endif
4657 main ()
4659 return remove ();
4661 return 0;
4663 _ACEOF
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (ac_try="$ac_link"
4666 case "(($ac_try" in
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4669 esac
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4672 ac_status=$?
4673 grep -v '^ *+' conftest.er1 >conftest.err
4674 rm -f conftest.er1
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_func_remove=yes
4683 else
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_func_remove=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4693 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4694 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4696 if test $ac_cv_func_remove = no; then
4697 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4698 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4699 if test "${ac_cv_lib_posix_remove+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 else
4702 ac_check_lib_save_LIBS=$LIBS
4703 LIBS="-lposix $LIBS"
4704 cat >conftest.$ac_ext <<_ACEOF
4705 /* confdefs.h. */
4706 _ACEOF
4707 cat confdefs.h >>conftest.$ac_ext
4708 cat >>conftest.$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4711 /* Override any GCC internal prototype to avoid an error.
4712 Use char because int might match the return type of a GCC
4713 builtin and then its argument prototype would still apply. */
4714 #ifdef __cplusplus
4715 extern "C"
4716 #endif
4717 char remove ();
4719 main ()
4721 return remove ();
4723 return 0;
4725 _ACEOF
4726 rm -f conftest.$ac_objext conftest$ac_exeext
4727 if { (ac_try="$ac_link"
4728 case "(($ac_try" in
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4731 esac
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733 (eval "$ac_link") 2>conftest.er1
4734 ac_status=$?
4735 grep -v '^ *+' conftest.er1 >conftest.err
4736 rm -f conftest.er1
4737 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } && {
4740 test -z "$ac_c_werror_flag" ||
4741 test ! -s conftest.err
4742 } && test -s conftest$ac_exeext &&
4743 $as_test_x conftest$ac_exeext; then
4744 ac_cv_lib_posix_remove=yes
4745 else
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 ac_cv_lib_posix_remove=no
4752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4753 conftest$ac_exeext conftest.$ac_ext
4754 LIBS=$ac_check_lib_save_LIBS
4756 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4757 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4758 if test $ac_cv_lib_posix_remove = yes; then
4759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4764 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4765 { echo "$as_me:$LINENO: checking for shmat" >&5
4766 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4767 if test "${ac_cv_func_shmat+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 else
4770 cat >conftest.$ac_ext <<_ACEOF
4771 /* confdefs.h. */
4772 _ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4778 #define shmat innocuous_shmat
4780 /* System header to define __stub macros and hopefully few prototypes,
4781 which can conflict with char shmat (); below.
4782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4783 <limits.h> exists even on freestanding compilers. */
4785 #ifdef __STDC__
4786 # include <limits.h>
4787 #else
4788 # include <assert.h>
4789 #endif
4791 #undef shmat
4793 /* Override any GCC internal prototype to avoid an error.
4794 Use char because int might match the return type of a GCC
4795 builtin and then its argument prototype would still apply. */
4796 #ifdef __cplusplus
4797 extern "C"
4798 #endif
4799 char shmat ();
4800 /* The GNU C library defines this for functions which it implements
4801 to always fail with ENOSYS. Some functions are actually named
4802 something starting with __ and the normal name is an alias. */
4803 #if defined __stub_shmat || defined __stub___shmat
4804 choke me
4805 #endif
4808 main ()
4810 return shmat ();
4812 return 0;
4814 _ACEOF
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4817 case "(($ac_try" in
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4820 esac
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4823 ac_status=$?
4824 grep -v '^ *+' conftest.er1 >conftest.err
4825 rm -f conftest.er1
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest$ac_exeext &&
4832 $as_test_x conftest$ac_exeext; then
4833 ac_cv_func_shmat=yes
4834 else
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 ac_cv_func_shmat=no
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842 conftest$ac_exeext conftest.$ac_ext
4844 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4845 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4847 if test $ac_cv_func_shmat = no; then
4848 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4849 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4850 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 else
4853 ac_check_lib_save_LIBS=$LIBS
4854 LIBS="-lipc $LIBS"
4855 cat >conftest.$ac_ext <<_ACEOF
4856 /* confdefs.h. */
4857 _ACEOF
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4862 /* Override any GCC internal prototype to avoid an error.
4863 Use char because int might match the return type of a GCC
4864 builtin and then its argument prototype would still apply. */
4865 #ifdef __cplusplus
4866 extern "C"
4867 #endif
4868 char shmat ();
4870 main ()
4872 return shmat ();
4874 return 0;
4876 _ACEOF
4877 rm -f conftest.$ac_objext conftest$ac_exeext
4878 if { (ac_try="$ac_link"
4879 case "(($ac_try" in
4880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4881 *) ac_try_echo=$ac_try;;
4882 esac
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884 (eval "$ac_link") 2>conftest.er1
4885 ac_status=$?
4886 grep -v '^ *+' conftest.er1 >conftest.err
4887 rm -f conftest.er1
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } && {
4891 test -z "$ac_c_werror_flag" ||
4892 test ! -s conftest.err
4893 } && test -s conftest$ac_exeext &&
4894 $as_test_x conftest$ac_exeext; then
4895 ac_cv_lib_ipc_shmat=yes
4896 else
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 ac_cv_lib_ipc_shmat=no
4903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4904 conftest$ac_exeext conftest.$ac_ext
4905 LIBS=$ac_check_lib_save_LIBS
4907 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4908 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4909 if test $ac_cv_lib_ipc_shmat = yes; then
4910 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4916 # Check for libraries that X11R6 Xt/Xaw programs need.
4917 ac_save_LDFLAGS=$LDFLAGS
4918 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4919 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4920 # check for ICE first), but we must link in the order -lSM -lICE or
4921 # we get undefined symbols. So assume we have SM if we have ICE.
4922 # These have to be linked with before -lX11, unlike the other
4923 # libraries we check for below, so use a different variable.
4924 # John Interrante, Karl Berry
4925 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4926 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4927 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4929 else
4930 ac_check_lib_save_LIBS=$LIBS
4931 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4932 cat >conftest.$ac_ext <<_ACEOF
4933 /* confdefs.h. */
4934 _ACEOF
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4939 /* Override any GCC internal prototype to avoid an error.
4940 Use char because int might match the return type of a GCC
4941 builtin and then its argument prototype would still apply. */
4942 #ifdef __cplusplus
4943 extern "C"
4944 #endif
4945 char IceConnectionNumber ();
4947 main ()
4949 return IceConnectionNumber ();
4951 return 0;
4953 _ACEOF
4954 rm -f conftest.$ac_objext conftest$ac_exeext
4955 if { (ac_try="$ac_link"
4956 case "(($ac_try" in
4957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4959 esac
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 (eval "$ac_link") 2>conftest.er1
4962 ac_status=$?
4963 grep -v '^ *+' conftest.er1 >conftest.err
4964 rm -f conftest.er1
4965 cat conftest.err >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } && {
4968 test -z "$ac_c_werror_flag" ||
4969 test ! -s conftest.err
4970 } && test -s conftest$ac_exeext &&
4971 $as_test_x conftest$ac_exeext; then
4972 ac_cv_lib_ICE_IceConnectionNumber=yes
4973 else
4974 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4977 ac_cv_lib_ICE_IceConnectionNumber=no
4980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4981 conftest$ac_exeext conftest.$ac_ext
4982 LIBS=$ac_check_lib_save_LIBS
4984 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4987 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4990 LDFLAGS=$ac_save_LDFLAGS
4995 for ac_prog in flex
4997 # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy $ac_prog; ac_word=$2
4999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5001 if test "${ac_cv_prog_FLEX+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 else
5004 if test -n "$FLEX"; then
5005 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5006 else
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 for as_dir in $PATH
5010 IFS=$as_save_IFS
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014 ac_cv_prog_FLEX="$ac_prog"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 break 2
5018 done
5019 done
5020 IFS=$as_save_IFS
5024 FLEX=$ac_cv_prog_FLEX
5025 if test -n "$FLEX"; then
5026 { echo "$as_me:$LINENO: result: $FLEX" >&5
5027 echo "${ECHO_T}$FLEX" >&6; }
5028 else
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5034 test -n "$FLEX" && break
5035 done
5036 test -n "$FLEX" || FLEX="none"
5038 if test "$FLEX" = "none"
5039 then
5040 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5041 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5042 { (exit 1); exit 1; }; }
5045 for ac_prog in bison
5047 # Extract the first word of "$ac_prog", so it can be a program name with args.
5048 set dummy $ac_prog; ac_word=$2
5049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5051 if test "${ac_cv_prog_BISON+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5053 else
5054 if test -n "$BISON"; then
5055 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5056 else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5060 IFS=$as_save_IFS
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_prog_BISON="$ac_prog"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 break 2
5068 done
5069 done
5070 IFS=$as_save_IFS
5074 BISON=$ac_cv_prog_BISON
5075 if test -n "$BISON"; then
5076 { echo "$as_me:$LINENO: result: $BISON" >&5
5077 echo "${ECHO_T}$BISON" >&6; }
5078 else
5079 { echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6; }
5084 test -n "$BISON" && break
5085 done
5086 test -n "$BISON" || BISON="none"
5088 if test "$BISON" = "none"
5089 then
5090 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5091 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5092 { (exit 1); exit 1; }; }
5095 if test -n "$ac_tool_prefix"; then
5096 for ac_prog in gas as
5098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5102 if test "${ac_cv_prog_AS+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 else
5105 if test -n "$AS"; then
5106 ac_cv_prog_AS="$AS" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5111 IFS=$as_save_IFS
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 break 2
5119 done
5120 done
5121 IFS=$as_save_IFS
5125 AS=$ac_cv_prog_AS
5126 if test -n "$AS"; then
5127 { echo "$as_me:$LINENO: result: $AS" >&5
5128 echo "${ECHO_T}$AS" >&6; }
5129 else
5130 { echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6; }
5135 test -n "$AS" && break
5136 done
5138 if test -z "$AS"; then
5139 ac_ct_AS=$AS
5140 for ac_prog in gas as
5142 # Extract the first word of "$ac_prog", so it can be a program name with args.
5143 set dummy $ac_prog; ac_word=$2
5144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5146 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 else
5149 if test -n "$ac_ct_AS"; then
5150 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5151 else
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5155 IFS=$as_save_IFS
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159 ac_cv_prog_ac_ct_AS="$ac_prog"
5160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 break 2
5163 done
5164 done
5165 IFS=$as_save_IFS
5169 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5170 if test -n "$ac_ct_AS"; then
5171 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5172 echo "${ECHO_T}$ac_ct_AS" >&6; }
5173 else
5174 { echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6; }
5179 test -n "$ac_ct_AS" && break
5180 done
5182 if test "x$ac_ct_AS" = x; then
5183 AS="as"
5184 else
5185 case $cross_compiling:$ac_tool_warned in
5186 yes:)
5187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5188 whose name does not start with the host triplet. If you think this
5189 configuration is useful to you, please write to autoconf@gnu.org." >&5
5190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5191 whose name does not start with the host triplet. If you think this
5192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5193 ac_tool_warned=yes ;;
5194 esac
5195 AS=$ac_ct_AS
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5201 set dummy ${ac_tool_prefix}ld; ac_word=$2
5202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5204 if test "${ac_cv_prog_LD+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 else
5207 if test -n "$LD"; then
5208 ac_cv_prog_LD="$LD" # Let the user override the test.
5209 else
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 for as_dir in $PATH
5213 IFS=$as_save_IFS
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217 ac_cv_prog_LD="${ac_tool_prefix}ld"
5218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 break 2
5221 done
5222 done
5223 IFS=$as_save_IFS
5227 LD=$ac_cv_prog_LD
5228 if test -n "$LD"; then
5229 { echo "$as_me:$LINENO: result: $LD" >&5
5230 echo "${ECHO_T}$LD" >&6; }
5231 else
5232 { echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6; }
5238 if test -z "$ac_cv_prog_LD"; then
5239 ac_ct_LD=$LD
5240 # Extract the first word of "ld", so it can be a program name with args.
5241 set dummy ld; ac_word=$2
5242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5244 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 else
5247 if test -n "$ac_ct_LD"; then
5248 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5249 else
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5253 IFS=$as_save_IFS
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_prog_ac_ct_LD="ld"
5258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 break 2
5261 done
5262 done
5263 IFS=$as_save_IFS
5267 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5268 if test -n "$ac_ct_LD"; then
5269 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5270 echo "${ECHO_T}$ac_ct_LD" >&6; }
5271 else
5272 { echo "$as_me:$LINENO: result: no" >&5
5273 echo "${ECHO_T}no" >&6; }
5276 if test "x$ac_ct_LD" = x; then
5277 LD="ld"
5278 else
5279 case $cross_compiling:$ac_tool_warned in
5280 yes:)
5281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5282 whose name does not start with the host triplet. If you think this
5283 configuration is useful to you, please write to autoconf@gnu.org." >&5
5284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5285 whose name does not start with the host triplet. If you think this
5286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5287 ac_tool_warned=yes ;;
5288 esac
5289 LD=$ac_ct_LD
5291 else
5292 LD="$ac_cv_prog_LD"
5295 if test -n "$ac_tool_prefix"; then
5296 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5297 set dummy ${ac_tool_prefix}ar; ac_word=$2
5298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5300 if test "${ac_cv_prog_AR+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 else
5303 if test -n "$AR"; then
5304 ac_cv_prog_AR="$AR" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5309 IFS=$as_save_IFS
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_AR="${ac_tool_prefix}ar"
5314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 break 2
5317 done
5318 done
5319 IFS=$as_save_IFS
5323 AR=$ac_cv_prog_AR
5324 if test -n "$AR"; then
5325 { echo "$as_me:$LINENO: result: $AR" >&5
5326 echo "${ECHO_T}$AR" >&6; }
5327 else
5328 { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5334 if test -z "$ac_cv_prog_AR"; then
5335 ac_ct_AR=$AR
5336 # Extract the first word of "ar", so it can be a program name with args.
5337 set dummy ar; ac_word=$2
5338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5340 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 else
5343 if test -n "$ac_ct_AR"; then
5344 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5345 else
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 for as_dir in $PATH
5349 IFS=$as_save_IFS
5350 test -z "$as_dir" && as_dir=.
5351 for ac_exec_ext in '' $ac_executable_extensions; do
5352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5353 ac_cv_prog_ac_ct_AR="ar"
5354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 break 2
5357 done
5358 done
5359 IFS=$as_save_IFS
5363 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5364 if test -n "$ac_ct_AR"; then
5365 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5366 echo "${ECHO_T}$ac_ct_AR" >&6; }
5367 else
5368 { echo "$as_me:$LINENO: result: no" >&5
5369 echo "${ECHO_T}no" >&6; }
5372 if test "x$ac_ct_AR" = x; then
5373 AR="ar"
5374 else
5375 case $cross_compiling:$ac_tool_warned in
5376 yes:)
5377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5378 whose name does not start with the host triplet. If you think this
5379 configuration is useful to you, please write to autoconf@gnu.org." >&5
5380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5381 whose name does not start with the host triplet. If you think this
5382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5383 ac_tool_warned=yes ;;
5384 esac
5385 AR=$ac_ct_AR
5387 else
5388 AR="$ac_cv_prog_AR"
5391 if test -n "$ac_tool_prefix"; then
5392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5396 if test "${ac_cv_prog_RANLIB+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 else
5399 if test -n "$RANLIB"; then
5400 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2
5413 done
5414 done
5415 IFS=$as_save_IFS
5419 RANLIB=$ac_cv_prog_RANLIB
5420 if test -n "$RANLIB"; then
5421 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5422 echo "${ECHO_T}$RANLIB" >&6; }
5423 else
5424 { echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6; }
5430 if test -z "$ac_cv_prog_RANLIB"; then
5431 ac_ct_RANLIB=$RANLIB
5432 # Extract the first word of "ranlib", so it can be a program name with args.
5433 set dummy ranlib; ac_word=$2
5434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 else
5439 if test -n "$ac_ct_RANLIB"; then
5440 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5441 else
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in $PATH
5445 IFS=$as_save_IFS
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449 ac_cv_prog_ac_ct_RANLIB="ranlib"
5450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 break 2
5453 done
5454 done
5455 IFS=$as_save_IFS
5459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5460 if test -n "$ac_ct_RANLIB"; then
5461 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5462 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5463 else
5464 { echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6; }
5468 if test "x$ac_ct_RANLIB" = x; then
5469 RANLIB=":"
5470 else
5471 case $cross_compiling:$ac_tool_warned in
5472 yes:)
5473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5474 whose name does not start with the host triplet. If you think this
5475 configuration is useful to you, please write to autoconf@gnu.org." >&5
5476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5477 whose name does not start with the host triplet. If you think this
5478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5479 ac_tool_warned=yes ;;
5480 esac
5481 RANLIB=$ac_ct_RANLIB
5483 else
5484 RANLIB="$ac_cv_prog_RANLIB"
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}strip; ac_word=$2
5490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5492 if test "${ac_cv_prog_STRIP+set}" = set; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5494 else
5495 if test -n "$STRIP"; then
5496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 break 2
5509 done
5510 done
5511 IFS=$as_save_IFS
5515 STRIP=$ac_cv_prog_STRIP
5516 if test -n "$STRIP"; then
5517 { echo "$as_me:$LINENO: result: $STRIP" >&5
5518 echo "${ECHO_T}$STRIP" >&6; }
5519 else
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5526 if test -z "$ac_cv_prog_STRIP"; then
5527 ac_ct_STRIP=$STRIP
5528 # Extract the first word of "strip", so it can be a program name with args.
5529 set dummy strip; ac_word=$2
5530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5533 echo $ECHO_N "(cached) $ECHO_C" >&6
5534 else
5535 if test -n "$ac_ct_STRIP"; then
5536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545 ac_cv_prog_ac_ct_STRIP="strip"
5546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5556 if test -n "$ac_ct_STRIP"; then
5557 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5558 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5559 else
5560 { echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6; }
5564 if test "x$ac_ct_STRIP" = x; then
5565 STRIP="strip"
5566 else
5567 case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5570 whose name does not start with the host triplet. If you think this
5571 configuration is useful to you, please write to autoconf@gnu.org." >&5
5572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5573 whose name does not start with the host triplet. If you think this
5574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5575 ac_tool_warned=yes ;;
5576 esac
5577 STRIP=$ac_ct_STRIP
5579 else
5580 STRIP="$ac_cv_prog_STRIP"
5583 if test -n "$ac_tool_prefix"; then
5584 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5585 set dummy ${ac_tool_prefix}windres; ac_word=$2
5586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5588 if test "${ac_cv_prog_WINDRES+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 else
5591 if test -n "$WINDRES"; then
5592 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5593 else
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595 for as_dir in $PATH
5597 IFS=$as_save_IFS
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5601 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 break 2
5605 done
5606 done
5607 IFS=$as_save_IFS
5611 WINDRES=$ac_cv_prog_WINDRES
5612 if test -n "$WINDRES"; then
5613 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5614 echo "${ECHO_T}$WINDRES" >&6; }
5615 else
5616 { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5622 if test -z "$ac_cv_prog_WINDRES"; then
5623 ac_ct_WINDRES=$WINDRES
5624 # Extract the first word of "windres", so it can be a program name with args.
5625 set dummy windres; ac_word=$2
5626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5628 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 else
5631 if test -n "$ac_ct_WINDRES"; then
5632 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5633 else
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635 for as_dir in $PATH
5637 IFS=$as_save_IFS
5638 test -z "$as_dir" && as_dir=.
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5641 ac_cv_prog_ac_ct_WINDRES="windres"
5642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 break 2
5645 done
5646 done
5647 IFS=$as_save_IFS
5651 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5652 if test -n "$ac_ct_WINDRES"; then
5653 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5654 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5655 else
5656 { echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6; }
5660 if test "x$ac_ct_WINDRES" = x; then
5661 WINDRES="false"
5662 else
5663 case $cross_compiling:$ac_tool_warned in
5664 yes:)
5665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5666 whose name does not start with the host triplet. If you think this
5667 configuration is useful to you, please write to autoconf@gnu.org." >&5
5668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5669 whose name does not start with the host triplet. If you think this
5670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5671 ac_tool_warned=yes ;;
5672 esac
5673 WINDRES=$ac_ct_WINDRES
5675 else
5676 WINDRES="$ac_cv_prog_WINDRES"
5679 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5680 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5681 LN_S=$as_ln_s
5682 if test "$LN_S" = "ln -s"; then
5683 { echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6; }
5685 else
5686 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5687 echo "${ECHO_T}no, using $LN_S" >&6; }
5690 { echo "$as_me:$LINENO: checking whether ln works" >&5
5691 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5692 rm -f conf$$ conf$$.file
5693 echo >conf$$.file
5694 if ln conf$$.file conf$$ 2>/dev/null; then
5695 LN=ln
5697 { echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6; }
5699 else
5700 LN="cp -p"
5702 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5703 echo "${ECHO_T}no, using $LN" >&6; }
5705 rm -f conf$$ conf$$.file
5706 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5707 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5708 if test "${ac_cv_path_GREP+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 else
5711 # Extract the first word of "grep ggrep" to use in msg output
5712 if test -z "$GREP"; then
5713 set dummy grep ggrep; ac_prog_name=$2
5714 if test "${ac_cv_path_GREP+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 else
5717 ac_path_GREP_found=false
5718 # Loop through the user's path and test for each of PROGNAME-LIST
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_prog in grep ggrep; do
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5727 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5728 # Check for GNU ac_path_GREP and select it if it is found.
5729 # Check for GNU $ac_path_GREP
5730 case `"$ac_path_GREP" --version 2>&1` in
5731 *GNU*)
5732 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5734 ac_count=0
5735 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5736 while :
5738 cat "conftest.in" "conftest.in" >"conftest.tmp"
5739 mv "conftest.tmp" "conftest.in"
5740 cp "conftest.in" "conftest.nl"
5741 echo 'GREP' >> "conftest.nl"
5742 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5743 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5744 ac_count=`expr $ac_count + 1`
5745 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5746 # Best one so far, save it but keep looking for a better one
5747 ac_cv_path_GREP="$ac_path_GREP"
5748 ac_path_GREP_max=$ac_count
5750 # 10*(2^10) chars as input seems more than enough
5751 test $ac_count -gt 10 && break
5752 done
5753 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5754 esac
5757 $ac_path_GREP_found && break 3
5758 done
5759 done
5761 done
5762 IFS=$as_save_IFS
5767 GREP="$ac_cv_path_GREP"
5768 if test -z "$GREP"; then
5769 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5770 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5771 { (exit 1); exit 1; }; }
5774 else
5775 ac_cv_path_GREP=$GREP
5780 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5781 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5782 GREP="$ac_cv_path_GREP"
5785 { echo "$as_me:$LINENO: checking for egrep" >&5
5786 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5787 if test "${ac_cv_path_EGREP+set}" = set; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5789 else
5790 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5791 then ac_cv_path_EGREP="$GREP -E"
5792 else
5793 # Extract the first word of "egrep" to use in msg output
5794 if test -z "$EGREP"; then
5795 set dummy egrep; ac_prog_name=$2
5796 if test "${ac_cv_path_EGREP+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 else
5799 ac_path_EGREP_found=false
5800 # Loop through the user's path and test for each of PROGNAME-LIST
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5804 IFS=$as_save_IFS
5805 test -z "$as_dir" && as_dir=.
5806 for ac_prog in egrep; do
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5809 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5810 # Check for GNU ac_path_EGREP and select it if it is found.
5811 # Check for GNU $ac_path_EGREP
5812 case `"$ac_path_EGREP" --version 2>&1` in
5813 *GNU*)
5814 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5816 ac_count=0
5817 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5818 while :
5820 cat "conftest.in" "conftest.in" >"conftest.tmp"
5821 mv "conftest.tmp" "conftest.in"
5822 cp "conftest.in" "conftest.nl"
5823 echo 'EGREP' >> "conftest.nl"
5824 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5825 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5826 ac_count=`expr $ac_count + 1`
5827 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5828 # Best one so far, save it but keep looking for a better one
5829 ac_cv_path_EGREP="$ac_path_EGREP"
5830 ac_path_EGREP_max=$ac_count
5832 # 10*(2^10) chars as input seems more than enough
5833 test $ac_count -gt 10 && break
5834 done
5835 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5836 esac
5839 $ac_path_EGREP_found && break 3
5840 done
5841 done
5843 done
5844 IFS=$as_save_IFS
5849 EGREP="$ac_cv_path_EGREP"
5850 if test -z "$EGREP"; then
5851 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5852 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5853 { (exit 1); exit 1; }; }
5856 else
5857 ac_cv_path_EGREP=$EGREP
5863 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5864 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5865 EGREP="$ac_cv_path_EGREP"
5868 # Extract the first word of "ldconfig", so it can be a program name with args.
5869 set dummy ldconfig; ac_word=$2
5870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5872 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5874 else
5875 case $LDCONFIG in
5876 [\\/]* | ?:[\\/]*)
5877 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in /sbin /usr/sbin $PATH
5883 IFS=$as_save_IFS
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 break 2
5891 done
5892 done
5893 IFS=$as_save_IFS
5895 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5897 esac
5899 LDCONFIG=$ac_cv_path_LDCONFIG
5900 if test -n "$LDCONFIG"; then
5901 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5902 echo "${ECHO_T}$LDCONFIG" >&6; }
5903 else
5904 { echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6; }
5909 # Find a good install program. We prefer a C program (faster),
5910 # so one script is as good as another. But avoid the broken or
5911 # incompatible versions:
5912 # SysV /etc/install, /usr/sbin/install
5913 # SunOS /usr/etc/install
5914 # IRIX /sbin/install
5915 # AIX /bin/install
5916 # AmigaOS /C/install, which installs bootblocks on floppy discs
5917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5920 # OS/2's system install, which has a completely different semantic
5921 # ./install, which can be erroneously created by make from ./install.sh.
5922 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5923 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5924 if test -z "$INSTALL"; then
5925 if test "${ac_cv_path_install+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 else
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5931 IFS=$as_save_IFS
5932 test -z "$as_dir" && as_dir=.
5933 # Account for people who put trailing slashes in PATH elements.
5934 case $as_dir/ in
5935 ./ | .// | /cC/* | \
5936 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5937 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5938 /usr/ucb/* ) ;;
5940 # OSF1 and SCO ODT 3.0 have their own names for install.
5941 # Don't use installbsd from OSF since it installs stuff as root
5942 # by default.
5943 for ac_prog in ginstall scoinst install; do
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5946 if test $ac_prog = install &&
5947 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5948 # AIX install. It has an incompatible calling convention.
5950 elif test $ac_prog = install &&
5951 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5952 # program-specific install script used by HP pwplus--don't use.
5954 else
5955 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5956 break 3
5959 done
5960 done
5962 esac
5963 done
5964 IFS=$as_save_IFS
5968 if test "${ac_cv_path_install+set}" = set; then
5969 INSTALL=$ac_cv_path_install
5970 else
5971 # As a last resort, use the slow shell script. Don't cache a
5972 # value for INSTALL within a source directory, because that will
5973 # break other packages using the cache if that directory is
5974 # removed, or if the value is a relative name.
5975 INSTALL=$ac_install_sh
5978 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5979 echo "${ECHO_T}$INSTALL" >&6; }
5981 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5982 # It thinks the first close brace ends the variable substitution.
5983 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5985 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5987 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5989 case "$INSTALL" in
5990 [\\/$]* | ?:[\\/]* ) ;;
5991 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5992 esac
5994 for ac_prog in lclint lint
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy $ac_prog; ac_word=$2
5998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000 if test "${ac_cv_prog_LINT+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 else
6003 if test -n "$LINT"; then
6004 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6005 else
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 for as_dir in $PATH
6009 IFS=$as_save_IFS
6010 test -z "$as_dir" && as_dir=.
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013 ac_cv_prog_LINT="$ac_prog"
6014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 break 2
6017 done
6018 done
6019 IFS=$as_save_IFS
6023 LINT=$ac_cv_prog_LINT
6024 if test -n "$LINT"; then
6025 { echo "$as_me:$LINENO: result: $LINT" >&5
6026 echo "${ECHO_T}$LINT" >&6; }
6027 else
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6033 test -n "$LINT" && break
6034 done
6036 if test "$LINT" = "lint"
6037 then
6038 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6043 for ac_prog in fontforge
6045 # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy $ac_prog; ac_word=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 else
6052 if test -n "$FONTFORGE"; then
6053 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_FONTFORGE="$ac_prog"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 break 2
6066 done
6067 done
6068 IFS=$as_save_IFS
6072 FONTFORGE=$ac_cv_prog_FONTFORGE
6073 if test -n "$FONTFORGE"; then
6074 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6075 echo "${ECHO_T}$FONTFORGE" >&6; }
6076 else
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6082 test -n "$FONTFORGE" && break
6083 done
6084 test -n "$FONTFORGE" || FONTFORGE="false"
6086 for ac_prog in pkg-config
6088 # Extract the first word of "$ac_prog", so it can be a program name with args.
6089 set dummy $ac_prog; ac_word=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 else
6095 if test -n "$PKG_CONFIG"; then
6096 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_PKG_CONFIG="$ac_prog"
6106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6116 if test -n "$PKG_CONFIG"; then
6117 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6118 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6119 else
6120 { echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6; }
6125 test -n "$PKG_CONFIG" && break
6126 done
6127 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6130 case $host_cpu in
6131 *i[3456789]86*)
6132 # Extract the first word of "prelink", so it can be a program name with args.
6133 set dummy prelink; ac_word=$2
6134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6136 if test "${ac_cv_path_PRELINK+set}" = set; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 else
6139 case $PRELINK in
6140 [\\/]* | ?:[\\/]*)
6141 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in /sbin /usr/sbin $PATH
6147 IFS=$as_save_IFS
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 break 2
6155 done
6156 done
6157 IFS=$as_save_IFS
6159 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6161 esac
6163 PRELINK=$ac_cv_path_PRELINK
6164 if test -n "$PRELINK"; then
6165 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6166 echo "${ECHO_T}$PRELINK" >&6; }
6167 else
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6174 esac
6178 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6179 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6180 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 else
6183 ac_check_lib_save_LIBS=$LIBS
6184 LIBS="-li386 $LIBS"
6185 cat >conftest.$ac_ext <<_ACEOF
6186 /* confdefs.h. */
6187 _ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6192 /* Override any GCC internal prototype to avoid an error.
6193 Use char because int might match the return type of a GCC
6194 builtin and then its argument prototype would still apply. */
6195 #ifdef __cplusplus
6196 extern "C"
6197 #endif
6198 char i386_set_ldt ();
6200 main ()
6202 return i386_set_ldt ();
6204 return 0;
6206 _ACEOF
6207 rm -f conftest.$ac_objext conftest$ac_exeext
6208 if { (ac_try="$ac_link"
6209 case "(($ac_try" in
6210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6211 *) ac_try_echo=$ac_try;;
6212 esac
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_link") 2>conftest.er1
6215 ac_status=$?
6216 grep -v '^ *+' conftest.er1 >conftest.err
6217 rm -f conftest.er1
6218 cat conftest.err >&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } && {
6221 test -z "$ac_c_werror_flag" ||
6222 test ! -s conftest.err
6223 } && test -s conftest$ac_exeext &&
6224 $as_test_x conftest$ac_exeext; then
6225 ac_cv_lib_i386_i386_set_ldt=yes
6226 else
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.$ac_ext >&5
6230 ac_cv_lib_i386_i386_set_ldt=no
6233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6234 conftest$ac_exeext conftest.$ac_ext
6235 LIBS=$ac_check_lib_save_LIBS
6237 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6238 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6239 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6240 cat >>confdefs.h <<_ACEOF
6241 #define HAVE_LIBI386 1
6242 _ACEOF
6244 LIBS="-li386 $LIBS"
6249 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6250 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6251 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 else
6254 ac_check_lib_save_LIBS=$LIBS
6255 LIBS="-lossaudio $LIBS"
6256 cat >conftest.$ac_ext <<_ACEOF
6257 /* confdefs.h. */
6258 _ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6263 /* Override any GCC internal prototype to avoid an error.
6264 Use char because int might match the return type of a GCC
6265 builtin and then its argument prototype would still apply. */
6266 #ifdef __cplusplus
6267 extern "C"
6268 #endif
6269 char _oss_ioctl ();
6271 main ()
6273 return _oss_ioctl ();
6275 return 0;
6277 _ACEOF
6278 rm -f conftest.$ac_objext conftest$ac_exeext
6279 if { (ac_try="$ac_link"
6280 case "(($ac_try" in
6281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6282 *) ac_try_echo=$ac_try;;
6283 esac
6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6285 (eval "$ac_link") 2>conftest.er1
6286 ac_status=$?
6287 grep -v '^ *+' conftest.er1 >conftest.err
6288 rm -f conftest.er1
6289 cat conftest.err >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } && {
6292 test -z "$ac_c_werror_flag" ||
6293 test ! -s conftest.err
6294 } && test -s conftest$ac_exeext &&
6295 $as_test_x conftest$ac_exeext; then
6296 ac_cv_lib_ossaudio__oss_ioctl=yes
6297 else
6298 echo "$as_me: failed program was:" >&5
6299 sed 's/^/| /' conftest.$ac_ext >&5
6301 ac_cv_lib_ossaudio__oss_ioctl=no
6304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6305 conftest$ac_exeext conftest.$ac_ext
6306 LIBS=$ac_check_lib_save_LIBS
6308 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6309 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6310 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6311 cat >>confdefs.h <<_ACEOF
6312 #define HAVE_LIBOSSAUDIO 1
6313 _ACEOF
6315 LIBS="-lossaudio $LIBS"
6319 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6320 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6321 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 else
6324 ac_check_lib_save_LIBS=$LIBS
6325 LIBS="-lpthread $LIBS"
6326 cat >conftest.$ac_ext <<_ACEOF
6327 /* confdefs.h. */
6328 _ACEOF
6329 cat confdefs.h >>conftest.$ac_ext
6330 cat >>conftest.$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6333 /* Override any GCC internal prototype to avoid an error.
6334 Use char because int might match the return type of a GCC
6335 builtin and then its argument prototype would still apply. */
6336 #ifdef __cplusplus
6337 extern "C"
6338 #endif
6339 char pthread_create ();
6341 main ()
6343 return pthread_create ();
6345 return 0;
6347 _ACEOF
6348 rm -f conftest.$ac_objext conftest$ac_exeext
6349 if { (ac_try="$ac_link"
6350 case "(($ac_try" in
6351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6352 *) ac_try_echo=$ac_try;;
6353 esac
6354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6355 (eval "$ac_link") 2>conftest.er1
6356 ac_status=$?
6357 grep -v '^ *+' conftest.er1 >conftest.err
6358 rm -f conftest.er1
6359 cat conftest.err >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } && {
6362 test -z "$ac_c_werror_flag" ||
6363 test ! -s conftest.err
6364 } && test -s conftest$ac_exeext &&
6365 $as_test_x conftest$ac_exeext; then
6366 ac_cv_lib_pthread_pthread_create=yes
6367 else
6368 echo "$as_me: failed program was:" >&5
6369 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_lib_pthread_pthread_create=no
6374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6375 conftest$ac_exeext conftest.$ac_ext
6376 LIBS=$ac_check_lib_save_LIBS
6378 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6379 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6380 if test $ac_cv_lib_pthread_pthread_create = yes; then
6381 LIBPTHREAD="-lpthread"
6386 XLIB=""
6388 XFILES=""
6390 OPENGLFILES=""
6392 GLU32FILES=""
6394 OPENGL_LIBS=""
6396 QUARTZFILES=""
6400 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6401 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6402 if test "${ac_cv_header_stdc+set}" = set; then
6403 echo $ECHO_N "(cached) $ECHO_C" >&6
6404 else
6405 cat >conftest.$ac_ext <<_ACEOF
6406 /* confdefs.h. */
6407 _ACEOF
6408 cat confdefs.h >>conftest.$ac_ext
6409 cat >>conftest.$ac_ext <<_ACEOF
6410 /* end confdefs.h. */
6411 #include <stdlib.h>
6412 #include <stdarg.h>
6413 #include <string.h>
6414 #include <float.h>
6417 main ()
6421 return 0;
6423 _ACEOF
6424 rm -f conftest.$ac_objext
6425 if { (ac_try="$ac_compile"
6426 case "(($ac_try" in
6427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6428 *) ac_try_echo=$ac_try;;
6429 esac
6430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6431 (eval "$ac_compile") 2>conftest.er1
6432 ac_status=$?
6433 grep -v '^ *+' conftest.er1 >conftest.err
6434 rm -f conftest.er1
6435 cat conftest.err >&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); } && {
6438 test -z "$ac_c_werror_flag" ||
6439 test ! -s conftest.err
6440 } && test -s conftest.$ac_objext; then
6441 ac_cv_header_stdc=yes
6442 else
6443 echo "$as_me: failed program was:" >&5
6444 sed 's/^/| /' conftest.$ac_ext >&5
6446 ac_cv_header_stdc=no
6449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6451 if test $ac_cv_header_stdc = yes; then
6452 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6453 cat >conftest.$ac_ext <<_ACEOF
6454 /* confdefs.h. */
6455 _ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6459 #include <string.h>
6461 _ACEOF
6462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6463 $EGREP "memchr" >/dev/null 2>&1; then
6465 else
6466 ac_cv_header_stdc=no
6468 rm -f conftest*
6472 if test $ac_cv_header_stdc = yes; then
6473 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6474 cat >conftest.$ac_ext <<_ACEOF
6475 /* confdefs.h. */
6476 _ACEOF
6477 cat confdefs.h >>conftest.$ac_ext
6478 cat >>conftest.$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6480 #include <stdlib.h>
6482 _ACEOF
6483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6484 $EGREP "free" >/dev/null 2>&1; then
6486 else
6487 ac_cv_header_stdc=no
6489 rm -f conftest*
6493 if test $ac_cv_header_stdc = yes; then
6494 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6495 if test "$cross_compiling" = yes; then
6497 else
6498 cat >conftest.$ac_ext <<_ACEOF
6499 /* confdefs.h. */
6500 _ACEOF
6501 cat confdefs.h >>conftest.$ac_ext
6502 cat >>conftest.$ac_ext <<_ACEOF
6503 /* end confdefs.h. */
6504 #include <ctype.h>
6505 #include <stdlib.h>
6506 #if ((' ' & 0x0FF) == 0x020)
6507 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6508 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6509 #else
6510 # define ISLOWER(c) \
6511 (('a' <= (c) && (c) <= 'i') \
6512 || ('j' <= (c) && (c) <= 'r') \
6513 || ('s' <= (c) && (c) <= 'z'))
6514 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6515 #endif
6517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6519 main ()
6521 int i;
6522 for (i = 0; i < 256; i++)
6523 if (XOR (islower (i), ISLOWER (i))
6524 || toupper (i) != TOUPPER (i))
6525 return 2;
6526 return 0;
6528 _ACEOF
6529 rm -f conftest$ac_exeext
6530 if { (ac_try="$ac_link"
6531 case "(($ac_try" in
6532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6533 *) ac_try_echo=$ac_try;;
6534 esac
6535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6536 (eval "$ac_link") 2>&5
6537 ac_status=$?
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6540 { (case "(($ac_try" in
6541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6542 *) ac_try_echo=$ac_try;;
6543 esac
6544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6545 (eval "$ac_try") 2>&5
6546 ac_status=$?
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); }; }; then
6550 else
6551 echo "$as_me: program exited with status $ac_status" >&5
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.$ac_ext >&5
6555 ( exit $ac_status )
6556 ac_cv_header_stdc=no
6558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6564 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6565 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6566 if test $ac_cv_header_stdc = yes; then
6568 cat >>confdefs.h <<\_ACEOF
6569 #define STDC_HEADERS 1
6570 _ACEOF
6574 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6584 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6585 inttypes.h stdint.h unistd.h
6587 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6588 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6592 else
6593 cat >conftest.$ac_ext <<_ACEOF
6594 /* confdefs.h. */
6595 _ACEOF
6596 cat confdefs.h >>conftest.$ac_ext
6597 cat >>conftest.$ac_ext <<_ACEOF
6598 /* end confdefs.h. */
6599 $ac_includes_default
6601 #include <$ac_header>
6602 _ACEOF
6603 rm -f conftest.$ac_objext
6604 if { (ac_try="$ac_compile"
6605 case "(($ac_try" in
6606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6607 *) ac_try_echo=$ac_try;;
6608 esac
6609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6610 (eval "$ac_compile") 2>conftest.er1
6611 ac_status=$?
6612 grep -v '^ *+' conftest.er1 >conftest.err
6613 rm -f conftest.er1
6614 cat conftest.err >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); } && {
6617 test -z "$ac_c_werror_flag" ||
6618 test ! -s conftest.err
6619 } && test -s conftest.$ac_objext; then
6620 eval "$as_ac_Header=yes"
6621 else
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.$ac_ext >&5
6625 eval "$as_ac_Header=no"
6628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6630 ac_res=`eval echo '${'$as_ac_Header'}'`
6631 { echo "$as_me:$LINENO: result: $ac_res" >&5
6632 echo "${ECHO_T}$ac_res" >&6; }
6633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6634 cat >>confdefs.h <<_ACEOF
6635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6636 _ACEOF
6640 done
6754 for ac_header in \
6755 AudioUnit/AudioUnit.h \
6756 Carbon/Carbon.h \
6757 CoreAudio/CoreAudio.h \
6758 DiskArbitration/DiskArbitration.h \
6759 IOKit/IOKitLib.h \
6760 alsa/asoundlib.h \
6761 arpa/inet.h \
6762 arpa/nameser.h \
6763 asm/types.h \
6764 capi20.h \
6765 cups/cups.h \
6766 curses.h \
6767 direct.h \
6768 dlfcn.h \
6769 elf.h \
6770 float.h \
6771 fontconfig/fontconfig.h \
6772 getopt.h \
6773 ieeefp.h \
6774 io.h \
6775 jack/jack.h \
6776 jpeglib.h \
6777 lber.h \
6778 lcms.h \
6779 lcms/lcms.h \
6780 ldap.h \
6781 libaudioio.h \
6782 link.h \
6783 linux/cdrom.h \
6784 linux/compiler.h \
6785 linux/hdreg.h \
6786 linux/input.h \
6787 linux/ioctl.h \
6788 linux/joystick.h \
6789 linux/major.h \
6790 linux/param.h \
6791 linux/serial.h \
6792 linux/ucdrom.h \
6793 mach/mach.h \
6794 mach/machine.h \
6795 machine/cpu.h \
6796 machine/limits.h \
6797 machine/soundcard.h \
6798 mntent.h \
6799 ncurses.h \
6800 netdb.h \
6801 netinet/in.h \
6802 netinet/in_systm.h \
6803 netinet/tcp.h \
6804 netinet/tcp_fsm.h \
6805 openssl/err.h \
6806 openssl/ssl.h \
6807 png.h \
6808 poll.h \
6809 process.h \
6810 pthread.h \
6811 pwd.h \
6812 regex.h \
6813 sched.h \
6814 scsi/scsi.h \
6815 scsi/scsi_ioctl.h \
6816 scsi/sg.h \
6817 soundcard.h \
6818 stdint.h \
6819 strings.h \
6820 sys/asoundlib.h \
6821 sys/cdio.h \
6822 sys/elf32.h \
6823 sys/epoll.h \
6824 sys/errno.h \
6825 sys/event.h \
6826 sys/exec_elf.h \
6827 sys/filio.h \
6828 sys/ioctl.h \
6829 sys/ipc.h \
6830 sys/limits.h \
6831 sys/link.h \
6832 sys/lwp.h \
6833 sys/mman.h \
6834 sys/modem.h \
6835 sys/msg.h \
6836 sys/mtio.h \
6837 sys/param.h \
6838 sys/poll.h \
6839 sys/prctl.h \
6840 sys/ptrace.h \
6841 sys/reg.h \
6842 sys/resource.h \
6843 sys/scsiio.h \
6844 sys/shm.h \
6845 sys/signal.h \
6846 sys/socket.h \
6847 sys/socketvar.h \
6848 sys/sockio.h \
6849 sys/soundcard.h \
6850 sys/statvfs.h \
6851 sys/strtio.h \
6852 sys/syscall.h \
6853 sys/sysctl.h \
6854 sys/time.h \
6855 sys/times.h \
6856 sys/uio.h \
6857 sys/un.h \
6858 sys/vm86.h \
6859 sys/wait.h \
6860 syscall.h \
6861 termios.h \
6862 unicode/ubidi.h \
6863 unistd.h \
6864 utime.h \
6865 valgrind/memcheck.h
6868 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6869 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6870 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6872 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6873 echo $ECHO_N "(cached) $ECHO_C" >&6
6875 ac_res=`eval echo '${'$as_ac_Header'}'`
6876 { echo "$as_me:$LINENO: result: $ac_res" >&5
6877 echo "${ECHO_T}$ac_res" >&6; }
6878 else
6879 # Is the header compilable?
6880 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6881 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6882 cat >conftest.$ac_ext <<_ACEOF
6883 /* confdefs.h. */
6884 _ACEOF
6885 cat confdefs.h >>conftest.$ac_ext
6886 cat >>conftest.$ac_ext <<_ACEOF
6887 /* end confdefs.h. */
6888 $ac_includes_default
6889 #include <$ac_header>
6890 _ACEOF
6891 rm -f conftest.$ac_objext
6892 if { (ac_try="$ac_compile"
6893 case "(($ac_try" in
6894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6895 *) ac_try_echo=$ac_try;;
6896 esac
6897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6898 (eval "$ac_compile") 2>conftest.er1
6899 ac_status=$?
6900 grep -v '^ *+' conftest.er1 >conftest.err
6901 rm -f conftest.er1
6902 cat conftest.err >&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); } && {
6905 test -z "$ac_c_werror_flag" ||
6906 test ! -s conftest.err
6907 } && test -s conftest.$ac_objext; then
6908 ac_header_compiler=yes
6909 else
6910 echo "$as_me: failed program was:" >&5
6911 sed 's/^/| /' conftest.$ac_ext >&5
6913 ac_header_compiler=no
6916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6917 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6918 echo "${ECHO_T}$ac_header_compiler" >&6; }
6920 # Is the header present?
6921 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6922 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6923 cat >conftest.$ac_ext <<_ACEOF
6924 /* confdefs.h. */
6925 _ACEOF
6926 cat confdefs.h >>conftest.$ac_ext
6927 cat >>conftest.$ac_ext <<_ACEOF
6928 /* end confdefs.h. */
6929 #include <$ac_header>
6930 _ACEOF
6931 if { (ac_try="$ac_cpp conftest.$ac_ext"
6932 case "(($ac_try" in
6933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6934 *) ac_try_echo=$ac_try;;
6935 esac
6936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6937 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6938 ac_status=$?
6939 grep -v '^ *+' conftest.er1 >conftest.err
6940 rm -f conftest.er1
6941 cat conftest.err >&5
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); } >/dev/null && {
6944 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6945 test ! -s conftest.err
6946 }; then
6947 ac_header_preproc=yes
6948 else
6949 echo "$as_me: failed program was:" >&5
6950 sed 's/^/| /' conftest.$ac_ext >&5
6952 ac_header_preproc=no
6955 rm -f conftest.err conftest.$ac_ext
6956 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6957 echo "${ECHO_T}$ac_header_preproc" >&6; }
6959 # So? What about this header?
6960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6961 yes:no: )
6962 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6963 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6965 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6966 ac_header_preproc=yes
6968 no:yes:* )
6969 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6970 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6971 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6972 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6973 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6974 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6975 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6976 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6978 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6979 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6980 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6981 ( cat <<\_ASBOX
6982 ## ------------------------------------ ##
6983 ## Report this to wine-devel@winehq.org ##
6984 ## ------------------------------------ ##
6985 _ASBOX
6986 ) | sed "s/^/$as_me: WARNING: /" >&2
6988 esac
6989 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6991 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6992 echo $ECHO_N "(cached) $ECHO_C" >&6
6993 else
6994 eval "$as_ac_Header=\$ac_header_preproc"
6996 ac_res=`eval echo '${'$as_ac_Header'}'`
6997 { echo "$as_me:$LINENO: result: $ac_res" >&5
6998 echo "${ECHO_T}$ac_res" >&6; }
7001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7002 cat >>confdefs.h <<_ACEOF
7003 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7004 _ACEOF
7008 done
7010 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7011 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7012 if test "${ac_cv_header_stat_broken+set}" = set; then
7013 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 else
7015 cat >conftest.$ac_ext <<_ACEOF
7016 /* confdefs.h. */
7017 _ACEOF
7018 cat confdefs.h >>conftest.$ac_ext
7019 cat >>conftest.$ac_ext <<_ACEOF
7020 /* end confdefs.h. */
7021 #include <sys/types.h>
7022 #include <sys/stat.h>
7024 #if defined S_ISBLK && defined S_IFDIR
7025 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7026 #endif
7028 #if defined S_ISBLK && defined S_IFCHR
7029 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7030 #endif
7032 #if defined S_ISLNK && defined S_IFREG
7033 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7034 #endif
7036 #if defined S_ISSOCK && defined S_IFREG
7037 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7038 #endif
7040 _ACEOF
7041 rm -f conftest.$ac_objext
7042 if { (ac_try="$ac_compile"
7043 case "(($ac_try" in
7044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7045 *) ac_try_echo=$ac_try;;
7046 esac
7047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7048 (eval "$ac_compile") 2>conftest.er1
7049 ac_status=$?
7050 grep -v '^ *+' conftest.er1 >conftest.err
7051 rm -f conftest.er1
7052 cat conftest.err >&5
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); } && {
7055 test -z "$ac_c_werror_flag" ||
7056 test ! -s conftest.err
7057 } && test -s conftest.$ac_objext; then
7058 ac_cv_header_stat_broken=no
7059 else
7060 echo "$as_me: failed program was:" >&5
7061 sed 's/^/| /' conftest.$ac_ext >&5
7063 ac_cv_header_stat_broken=yes
7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7068 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7069 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7070 if test $ac_cv_header_stat_broken = yes; then
7072 cat >>confdefs.h <<\_ACEOF
7073 #define STAT_MACROS_BROKEN 1
7074 _ACEOF
7084 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7086 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7087 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7089 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7090 echo $ECHO_N "(cached) $ECHO_C" >&6
7091 else
7092 cat >conftest.$ac_ext <<_ACEOF
7093 /* confdefs.h. */
7094 _ACEOF
7095 cat confdefs.h >>conftest.$ac_ext
7096 cat >>conftest.$ac_ext <<_ACEOF
7097 /* end confdefs.h. */
7098 #include <sys/types.h>
7099 #if HAVE_SYS_PARAM_H
7100 # include <sys/param.h>
7101 #endif
7103 #include <$ac_header>
7104 _ACEOF
7105 rm -f conftest.$ac_objext
7106 if { (ac_try="$ac_compile"
7107 case "(($ac_try" in
7108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7109 *) ac_try_echo=$ac_try;;
7110 esac
7111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7112 (eval "$ac_compile") 2>conftest.er1
7113 ac_status=$?
7114 grep -v '^ *+' conftest.er1 >conftest.err
7115 rm -f conftest.er1
7116 cat conftest.err >&5
7117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118 (exit $ac_status); } && {
7119 test -z "$ac_c_werror_flag" ||
7120 test ! -s conftest.err
7121 } && test -s conftest.$ac_objext; then
7122 eval "$as_ac_Header=yes"
7123 else
7124 echo "$as_me: failed program was:" >&5
7125 sed 's/^/| /' conftest.$ac_ext >&5
7127 eval "$as_ac_Header=no"
7130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7132 ac_res=`eval echo '${'$as_ac_Header'}'`
7133 { echo "$as_me:$LINENO: result: $ac_res" >&5
7134 echo "${ECHO_T}$ac_res" >&6; }
7135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7136 cat >>confdefs.h <<_ACEOF
7137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7138 _ACEOF
7142 done
7153 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 else
7161 cat >conftest.$ac_ext <<_ACEOF
7162 /* confdefs.h. */
7163 _ACEOF
7164 cat confdefs.h >>conftest.$ac_ext
7165 cat >>conftest.$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7167 #include <sys/types.h>
7168 #if HAVE_SYS_SOCKET_H
7169 # include <sys/socket.h>
7170 #endif
7172 #include <$ac_header>
7173 _ACEOF
7174 rm -f conftest.$ac_objext
7175 if { (ac_try="$ac_compile"
7176 case "(($ac_try" in
7177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7178 *) ac_try_echo=$ac_try;;
7179 esac
7180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7181 (eval "$ac_compile") 2>conftest.er1
7182 ac_status=$?
7183 grep -v '^ *+' conftest.er1 >conftest.err
7184 rm -f conftest.er1
7185 cat conftest.err >&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } && {
7188 test -z "$ac_c_werror_flag" ||
7189 test ! -s conftest.err
7190 } && test -s conftest.$ac_objext; then
7191 eval "$as_ac_Header=yes"
7192 else
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.$ac_ext >&5
7196 eval "$as_ac_Header=no"
7199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7201 ac_res=`eval echo '${'$as_ac_Header'}'`
7202 { echo "$as_me:$LINENO: result: $ac_res" >&5
7203 echo "${ECHO_T}$ac_res" >&6; }
7204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7205 cat >>confdefs.h <<_ACEOF
7206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7207 _ACEOF
7211 done
7213 #if HAVE_SYS_SOCKETVAR_H
7214 # include <sys/socketvar.h>
7215 #endif
7218 for ac_header in netinet/tcp_var.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
7236 #if HAVE_SYS_SOCKETVAR_H
7237 # include <sys/socketvar.h>
7238 #endif
7239 #if HAVE_NETINET_IN_H
7240 # include <netinet/in.h>
7241 #endif
7242 #ifdef HAVE_NETINET_TCP_H
7243 # include <netinet/tcp.h>
7244 #endif
7246 #include <$ac_header>
7247 _ACEOF
7248 rm -f conftest.$ac_objext
7249 if { (ac_try="$ac_compile"
7250 case "(($ac_try" in
7251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7252 *) ac_try_echo=$ac_try;;
7253 esac
7254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7255 (eval "$ac_compile") 2>conftest.er1
7256 ac_status=$?
7257 grep -v '^ *+' conftest.er1 >conftest.err
7258 rm -f conftest.er1
7259 cat conftest.err >&5
7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); } && {
7262 test -z "$ac_c_werror_flag" ||
7263 test ! -s conftest.err
7264 } && test -s conftest.$ac_objext; then
7265 eval "$as_ac_Header=yes"
7266 else
7267 echo "$as_me: failed program was:" >&5
7268 sed 's/^/| /' conftest.$ac_ext >&5
7270 eval "$as_ac_Header=no"
7273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7275 ac_res=`eval echo '${'$as_ac_Header'}'`
7276 { echo "$as_me:$LINENO: result: $ac_res" >&5
7277 echo "${ECHO_T}$ac_res" >&6; }
7278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7279 cat >>confdefs.h <<_ACEOF
7280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7281 _ACEOF
7285 done
7289 for ac_header in linux/ipx.h
7291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7292 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7295 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 else
7297 cat >conftest.$ac_ext <<_ACEOF
7298 /* confdefs.h. */
7299 _ACEOF
7300 cat confdefs.h >>conftest.$ac_ext
7301 cat >>conftest.$ac_ext <<_ACEOF
7302 /* end confdefs.h. */
7303 #include <sys/types.h>
7304 #ifdef HAVE_ASM_TYPES_H
7305 # include <asm/types.h>
7306 #endif
7307 #if HAVE_SYS_SOCKET_H
7308 # include <sys/socket.h>
7309 #endif
7311 #include <$ac_header>
7312 _ACEOF
7313 rm -f conftest.$ac_objext
7314 if { (ac_try="$ac_compile"
7315 case "(($ac_try" in
7316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7317 *) ac_try_echo=$ac_try;;
7318 esac
7319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7320 (eval "$ac_compile") 2>conftest.er1
7321 ac_status=$?
7322 grep -v '^ *+' conftest.er1 >conftest.err
7323 rm -f conftest.er1
7324 cat conftest.err >&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); } && {
7327 test -z "$ac_c_werror_flag" ||
7328 test ! -s conftest.err
7329 } && test -s conftest.$ac_objext; then
7330 eval "$as_ac_Header=yes"
7331 else
7332 echo "$as_me: failed program was:" >&5
7333 sed 's/^/| /' conftest.$ac_ext >&5
7335 eval "$as_ac_Header=no"
7338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7340 ac_res=`eval echo '${'$as_ac_Header'}'`
7341 { echo "$as_me:$LINENO: result: $ac_res" >&5
7342 echo "${ECHO_T}$ac_res" >&6; }
7343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7344 cat >>confdefs.h <<_ACEOF
7345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7346 _ACEOF
7350 done
7354 for ac_header in resolv.h
7356 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7357 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7359 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7360 echo $ECHO_N "(cached) $ECHO_C" >&6
7361 else
7362 cat >conftest.$ac_ext <<_ACEOF
7363 /* confdefs.h. */
7364 _ACEOF
7365 cat confdefs.h >>conftest.$ac_ext
7366 cat >>conftest.$ac_ext <<_ACEOF
7367 /* end confdefs.h. */
7368 #include <sys/types.h>
7369 #if HAVE_SYS_SOCKET_H
7370 # include <sys/socket.h>
7371 #endif
7372 #if HAVE_NETINET_IN_H
7373 # include <netinet/in.h>
7374 #endif
7375 #if HAVE_ARPA_NAMESER_H
7376 # include <arpa/nameser.h>
7377 #endif
7379 #include <$ac_header>
7380 _ACEOF
7381 rm -f conftest.$ac_objext
7382 if { (ac_try="$ac_compile"
7383 case "(($ac_try" in
7384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7385 *) ac_try_echo=$ac_try;;
7386 esac
7387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7388 (eval "$ac_compile") 2>conftest.er1
7389 ac_status=$?
7390 grep -v '^ *+' conftest.er1 >conftest.err
7391 rm -f conftest.er1
7392 cat conftest.err >&5
7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 (exit $ac_status); } && {
7395 test -z "$ac_c_werror_flag" ||
7396 test ! -s conftest.err
7397 } && test -s conftest.$ac_objext; then
7398 eval "$as_ac_Header=yes"
7399 else
7400 echo "$as_me: failed program was:" >&5
7401 sed 's/^/| /' conftest.$ac_ext >&5
7403 eval "$as_ac_Header=no"
7406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7408 ac_res=`eval echo '${'$as_ac_Header'}'`
7409 { echo "$as_me:$LINENO: result: $ac_res" >&5
7410 echo "${ECHO_T}$ac_res" >&6; }
7411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7412 cat >>confdefs.h <<_ACEOF
7413 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7414 _ACEOF
7418 done
7422 for ac_header in ucontext.h
7424 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7425 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7427 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7428 echo $ECHO_N "(cached) $ECHO_C" >&6
7429 else
7430 cat >conftest.$ac_ext <<_ACEOF
7431 /* confdefs.h. */
7432 _ACEOF
7433 cat confdefs.h >>conftest.$ac_ext
7434 cat >>conftest.$ac_ext <<_ACEOF
7435 /* end confdefs.h. */
7436 #include <signal.h>
7438 #include <$ac_header>
7439 _ACEOF
7440 rm -f conftest.$ac_objext
7441 if { (ac_try="$ac_compile"
7442 case "(($ac_try" in
7443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7444 *) ac_try_echo=$ac_try;;
7445 esac
7446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7447 (eval "$ac_compile") 2>conftest.er1
7448 ac_status=$?
7449 grep -v '^ *+' conftest.er1 >conftest.err
7450 rm -f conftest.er1
7451 cat conftest.err >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); } && {
7454 test -z "$ac_c_werror_flag" ||
7455 test ! -s conftest.err
7456 } && test -s conftest.$ac_objext; then
7457 eval "$as_ac_Header=yes"
7458 else
7459 echo "$as_me: failed program was:" >&5
7460 sed 's/^/| /' conftest.$ac_ext >&5
7462 eval "$as_ac_Header=no"
7465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7467 ac_res=`eval echo '${'$as_ac_Header'}'`
7468 { echo "$as_me:$LINENO: result: $ac_res" >&5
7469 echo "${ECHO_T}$ac_res" >&6; }
7470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7471 cat >>confdefs.h <<_ACEOF
7472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7473 _ACEOF
7477 done
7481 for ac_header in sys/thr.h
7483 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7484 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7487 echo $ECHO_N "(cached) $ECHO_C" >&6
7488 else
7489 cat >conftest.$ac_ext <<_ACEOF
7490 /* confdefs.h. */
7491 _ACEOF
7492 cat confdefs.h >>conftest.$ac_ext
7493 cat >>conftest.$ac_ext <<_ACEOF
7494 /* end confdefs.h. */
7495 #include <sys/types.h>
7496 #if HAVE_UCONTEXT_H
7497 #include <ucontext.h>
7498 #endif
7500 #include <$ac_header>
7501 _ACEOF
7502 rm -f conftest.$ac_objext
7503 if { (ac_try="$ac_compile"
7504 case "(($ac_try" in
7505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7506 *) ac_try_echo=$ac_try;;
7507 esac
7508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7509 (eval "$ac_compile") 2>conftest.er1
7510 ac_status=$?
7511 grep -v '^ *+' conftest.er1 >conftest.err
7512 rm -f conftest.er1
7513 cat conftest.err >&5
7514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515 (exit $ac_status); } && {
7516 test -z "$ac_c_werror_flag" ||
7517 test ! -s conftest.err
7518 } && test -s conftest.$ac_objext; then
7519 eval "$as_ac_Header=yes"
7520 else
7521 echo "$as_me: failed program was:" >&5
7522 sed 's/^/| /' conftest.$ac_ext >&5
7524 eval "$as_ac_Header=no"
7527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7529 ac_res=`eval echo '${'$as_ac_Header'}'`
7530 { echo "$as_me:$LINENO: result: $ac_res" >&5
7531 echo "${ECHO_T}$ac_res" >&6; }
7532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7533 cat >>confdefs.h <<_ACEOF
7534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7535 _ACEOF
7539 done
7543 for ac_header in pthread_np.h
7545 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7546 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7548 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7549 echo $ECHO_N "(cached) $ECHO_C" >&6
7550 else
7551 cat >conftest.$ac_ext <<_ACEOF
7552 /* confdefs.h. */
7553 _ACEOF
7554 cat confdefs.h >>conftest.$ac_ext
7555 cat >>conftest.$ac_ext <<_ACEOF
7556 /* end confdefs.h. */
7557 #ifdef HAVE_PTHREAD_H
7558 #include <pthread.h>
7559 #endif
7561 #include <$ac_header>
7562 _ACEOF
7563 rm -f conftest.$ac_objext
7564 if { (ac_try="$ac_compile"
7565 case "(($ac_try" in
7566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7567 *) ac_try_echo=$ac_try;;
7568 esac
7569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7570 (eval "$ac_compile") 2>conftest.er1
7571 ac_status=$?
7572 grep -v '^ *+' conftest.er1 >conftest.err
7573 rm -f conftest.er1
7574 cat conftest.err >&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); } && {
7577 test -z "$ac_c_werror_flag" ||
7578 test ! -s conftest.err
7579 } && test -s conftest.$ac_objext; then
7580 eval "$as_ac_Header=yes"
7581 else
7582 echo "$as_me: failed program was:" >&5
7583 sed 's/^/| /' conftest.$ac_ext >&5
7585 eval "$as_ac_Header=no"
7588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7590 ac_res=`eval echo '${'$as_ac_Header'}'`
7591 { echo "$as_me:$LINENO: result: $ac_res" >&5
7592 echo "${ECHO_T}$ac_res" >&6; }
7593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7594 cat >>confdefs.h <<_ACEOF
7595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7596 _ACEOF
7600 done
7604 for ac_header in linux/videodev.h
7606 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7607 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7610 echo $ECHO_N "(cached) $ECHO_C" >&6
7611 else
7612 cat >conftest.$ac_ext <<_ACEOF
7613 /* confdefs.h. */
7614 _ACEOF
7615 cat confdefs.h >>conftest.$ac_ext
7616 cat >>conftest.$ac_ext <<_ACEOF
7617 /* end confdefs.h. */
7618 #ifdef HAVE_SYS_TIME_H
7619 #include <sys/time.h>
7620 #endif
7621 #include <sys/types.h>
7622 #ifdef HAVE_ASM_TYPES_H
7623 #include <asm/types.h>
7624 #endif
7626 #include <$ac_header>
7627 _ACEOF
7628 rm -f conftest.$ac_objext
7629 if { (ac_try="$ac_compile"
7630 case "(($ac_try" in
7631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7632 *) ac_try_echo=$ac_try;;
7633 esac
7634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7635 (eval "$ac_compile") 2>conftest.er1
7636 ac_status=$?
7637 grep -v '^ *+' conftest.er1 >conftest.err
7638 rm -f conftest.er1
7639 cat conftest.err >&5
7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); } && {
7642 test -z "$ac_c_werror_flag" ||
7643 test ! -s conftest.err
7644 } && test -s conftest.$ac_objext; then
7645 eval "$as_ac_Header=yes"
7646 else
7647 echo "$as_me: failed program was:" >&5
7648 sed 's/^/| /' conftest.$ac_ext >&5
7650 eval "$as_ac_Header=no"
7653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7655 ac_res=`eval echo '${'$as_ac_Header'}'`
7656 { echo "$as_me:$LINENO: result: $ac_res" >&5
7657 echo "${ECHO_T}$ac_res" >&6; }
7658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7659 cat >>confdefs.h <<_ACEOF
7660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7661 _ACEOF
7665 done
7669 for ac_header in linux/capi.h
7671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7672 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7674 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7675 echo $ECHO_N "(cached) $ECHO_C" >&6
7676 else
7677 cat >conftest.$ac_ext <<_ACEOF
7678 /* confdefs.h. */
7679 _ACEOF
7680 cat confdefs.h >>conftest.$ac_ext
7681 cat >>conftest.$ac_ext <<_ACEOF
7682 /* end confdefs.h. */
7683 #define __user
7685 #include <$ac_header>
7686 _ACEOF
7687 rm -f conftest.$ac_objext
7688 if { (ac_try="$ac_compile"
7689 case "(($ac_try" in
7690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7691 *) ac_try_echo=$ac_try;;
7692 esac
7693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7694 (eval "$ac_compile") 2>conftest.er1
7695 ac_status=$?
7696 grep -v '^ *+' conftest.er1 >conftest.err
7697 rm -f conftest.er1
7698 cat conftest.err >&5
7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700 (exit $ac_status); } && {
7701 test -z "$ac_c_werror_flag" ||
7702 test ! -s conftest.err
7703 } && test -s conftest.$ac_objext; then
7704 eval "$as_ac_Header=yes"
7705 else
7706 echo "$as_me: failed program was:" >&5
7707 sed 's/^/| /' conftest.$ac_ext >&5
7709 eval "$as_ac_Header=no"
7712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7714 ac_res=`eval echo '${'$as_ac_Header'}'`
7715 { echo "$as_me:$LINENO: result: $ac_res" >&5
7716 echo "${ECHO_T}$ac_res" >&6; }
7717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7718 cat >>confdefs.h <<_ACEOF
7719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7720 _ACEOF
7724 done
7728 DLLEXT=""
7730 DLLFLAGS="-D_REENTRANT"
7732 LDSHARED=""
7734 LDDLLFLAGS=""
7736 LIBEXT="so"
7738 IMPLIBEXT="def"
7740 LDRPATH_INSTALL=""
7742 LDRPATH_LOCAL=""
7744 # Extract the first word of "ldd", so it can be a program name with args.
7745 set dummy ldd; ac_word=$2
7746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7748 if test "${ac_cv_path_LDD+set}" = set; then
7749 echo $ECHO_N "(cached) $ECHO_C" >&6
7750 else
7751 case $LDD in
7752 [\\/]* | ?:[\\/]*)
7753 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757 as_dummy="/sbin:/usr/sbin:$PATH"
7758 for as_dir in $as_dummy
7760 IFS=$as_save_IFS
7761 test -z "$as_dir" && as_dir=.
7762 for ac_exec_ext in '' $ac_executable_extensions; do
7763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7764 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7766 break 2
7768 done
7769 done
7770 IFS=$as_save_IFS
7772 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7774 esac
7776 LDD=$ac_cv_path_LDD
7777 if test -n "$LDD"; then
7778 { echo "$as_me:$LINENO: result: $LDD" >&5
7779 echo "${ECHO_T}$LDD" >&6; }
7780 else
7781 { echo "$as_me:$LINENO: result: no" >&5
7782 echo "${ECHO_T}no" >&6; }
7787 case $host_os in
7788 cygwin*|mingw32*)
7789 if test -n "$ac_tool_prefix"; then
7790 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7791 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7794 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7795 echo $ECHO_N "(cached) $ECHO_C" >&6
7796 else
7797 if test -n "$DLLTOOL"; then
7798 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7799 else
7800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7801 for as_dir in $PATH
7803 IFS=$as_save_IFS
7804 test -z "$as_dir" && as_dir=.
7805 for ac_exec_ext in '' $ac_executable_extensions; do
7806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7807 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7809 break 2
7811 done
7812 done
7813 IFS=$as_save_IFS
7817 DLLTOOL=$ac_cv_prog_DLLTOOL
7818 if test -n "$DLLTOOL"; then
7819 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7820 echo "${ECHO_T}$DLLTOOL" >&6; }
7821 else
7822 { echo "$as_me:$LINENO: result: no" >&5
7823 echo "${ECHO_T}no" >&6; }
7828 if test -z "$ac_cv_prog_DLLTOOL"; then
7829 ac_ct_DLLTOOL=$DLLTOOL
7830 # Extract the first word of "dlltool", so it can be a program name with args.
7831 set dummy dlltool; ac_word=$2
7832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7834 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7835 echo $ECHO_N "(cached) $ECHO_C" >&6
7836 else
7837 if test -n "$ac_ct_DLLTOOL"; then
7838 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7839 else
7840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7841 for as_dir in $PATH
7843 IFS=$as_save_IFS
7844 test -z "$as_dir" && as_dir=.
7845 for ac_exec_ext in '' $ac_executable_extensions; do
7846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7847 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7849 break 2
7851 done
7852 done
7853 IFS=$as_save_IFS
7857 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7858 if test -n "$ac_ct_DLLTOOL"; then
7859 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7860 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7861 else
7862 { echo "$as_me:$LINENO: result: no" >&5
7863 echo "${ECHO_T}no" >&6; }
7866 if test "x$ac_ct_DLLTOOL" = x; then
7867 DLLTOOL="false"
7868 else
7869 case $cross_compiling:$ac_tool_warned in
7870 yes:)
7871 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7872 whose name does not start with the host triplet. If you think this
7873 configuration is useful to you, please write to autoconf@gnu.org." >&5
7874 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7875 whose name does not start with the host triplet. If you think this
7876 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7877 ac_tool_warned=yes ;;
7878 esac
7879 DLLTOOL=$ac_ct_DLLTOOL
7881 else
7882 DLLTOOL="$ac_cv_prog_DLLTOOL"
7885 if test -n "$ac_tool_prefix"; then
7886 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7887 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7890 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7891 echo $ECHO_N "(cached) $ECHO_C" >&6
7892 else
7893 if test -n "$DLLWRAP"; then
7894 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7895 else
7896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7897 for as_dir in $PATH
7899 IFS=$as_save_IFS
7900 test -z "$as_dir" && as_dir=.
7901 for ac_exec_ext in '' $ac_executable_extensions; do
7902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7903 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7905 break 2
7907 done
7908 done
7909 IFS=$as_save_IFS
7913 DLLWRAP=$ac_cv_prog_DLLWRAP
7914 if test -n "$DLLWRAP"; then
7915 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7916 echo "${ECHO_T}$DLLWRAP" >&6; }
7917 else
7918 { echo "$as_me:$LINENO: result: no" >&5
7919 echo "${ECHO_T}no" >&6; }
7924 if test -z "$ac_cv_prog_DLLWRAP"; then
7925 ac_ct_DLLWRAP=$DLLWRAP
7926 # Extract the first word of "dllwrap", so it can be a program name with args.
7927 set dummy dllwrap; ac_word=$2
7928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7930 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7931 echo $ECHO_N "(cached) $ECHO_C" >&6
7932 else
7933 if test -n "$ac_ct_DLLWRAP"; then
7934 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7935 else
7936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937 for as_dir in $PATH
7939 IFS=$as_save_IFS
7940 test -z "$as_dir" && as_dir=.
7941 for ac_exec_ext in '' $ac_executable_extensions; do
7942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7943 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7945 break 2
7947 done
7948 done
7949 IFS=$as_save_IFS
7953 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7954 if test -n "$ac_ct_DLLWRAP"; then
7955 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7956 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7957 else
7958 { echo "$as_me:$LINENO: result: no" >&5
7959 echo "${ECHO_T}no" >&6; }
7962 if test "x$ac_ct_DLLWRAP" = x; then
7963 DLLWRAP="false"
7964 else
7965 case $cross_compiling:$ac_tool_warned in
7966 yes:)
7967 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7968 whose name does not start with the host triplet. If you think this
7969 configuration is useful to you, please write to autoconf@gnu.org." >&5
7970 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7971 whose name does not start with the host triplet. If you think this
7972 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7973 ac_tool_warned=yes ;;
7974 esac
7975 DLLWRAP=$ac_ct_DLLWRAP
7977 else
7978 DLLWRAP="$ac_cv_prog_DLLWRAP"
7981 if test -n "$ac_tool_prefix"; then
7982 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7983 set dummy ${ac_tool_prefix}ar; ac_word=$2
7984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7986 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7987 echo $ECHO_N "(cached) $ECHO_C" >&6
7988 else
7989 if test -n "$MINGWAR"; then
7990 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7991 else
7992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993 for as_dir in $PATH
7995 IFS=$as_save_IFS
7996 test -z "$as_dir" && as_dir=.
7997 for ac_exec_ext in '' $ac_executable_extensions; do
7998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7999 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8001 break 2
8003 done
8004 done
8005 IFS=$as_save_IFS
8009 MINGWAR=$ac_cv_prog_MINGWAR
8010 if test -n "$MINGWAR"; then
8011 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8012 echo "${ECHO_T}$MINGWAR" >&6; }
8013 else
8014 { echo "$as_me:$LINENO: result: no" >&5
8015 echo "${ECHO_T}no" >&6; }
8020 if test -z "$ac_cv_prog_MINGWAR"; then
8021 ac_ct_MINGWAR=$MINGWAR
8022 # Extract the first word of "ar", so it can be a program name with args.
8023 set dummy ar; ac_word=$2
8024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8026 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8027 echo $ECHO_N "(cached) $ECHO_C" >&6
8028 else
8029 if test -n "$ac_ct_MINGWAR"; then
8030 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8031 else
8032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8033 for as_dir in $PATH
8035 IFS=$as_save_IFS
8036 test -z "$as_dir" && as_dir=.
8037 for ac_exec_ext in '' $ac_executable_extensions; do
8038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8039 ac_cv_prog_ac_ct_MINGWAR="ar"
8040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8041 break 2
8043 done
8044 done
8045 IFS=$as_save_IFS
8049 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8050 if test -n "$ac_ct_MINGWAR"; then
8051 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8052 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8053 else
8054 { echo "$as_me:$LINENO: result: no" >&5
8055 echo "${ECHO_T}no" >&6; }
8058 if test "x$ac_ct_MINGWAR" = x; then
8059 MINGWAR="false"
8060 else
8061 case $cross_compiling:$ac_tool_warned in
8062 yes:)
8063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8064 whose name does not start with the host triplet. If you think this
8065 configuration is useful to you, please write to autoconf@gnu.org." >&5
8066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8067 whose name does not start with the host triplet. If you think this
8068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8069 ac_tool_warned=yes ;;
8070 esac
8071 MINGWAR=$ac_ct_MINGWAR
8073 else
8074 MINGWAR="$ac_cv_prog_MINGWAR"
8077 if test "$DLLWRAP" = "false"; then
8078 LIBEXT="a"
8079 else
8080 LIBEXT="dll"
8082 IMPLIBEXT="a"
8083 WIN16_FILES=""
8084 WIN16_INSTALL=""
8086 darwin*|macosx*)
8087 DLLEXT=".so"
8088 LIBEXT="dylib"
8089 DLLFLAGS="$DLLFLAGS -fPIC"
8090 LDDLLFLAGS="-bundle -multiply_defined suppress"
8091 LIBWINE_LDFLAGS="-multiply_defined suppress"
8092 LDSHARED="\$(CC) -dynamiclib"
8093 STRIP="$STRIP -x"
8094 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8095 COREFOUNDATIONLIB="-framework CoreFoundation"
8097 IOKITLIB="-framework IOKit -framework CoreFoundation"
8099 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8101 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8102 then
8103 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8106 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8107 then
8108 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8111 case $host_cpu in
8112 *powerpc*)
8113 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8114 esac
8115 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8116 then
8117 CARBONLIB="-framework Carbon"
8119 QUARTZFILES='$(QUARTZFILES)'
8123 DLLFLAGS="$DLLFLAGS -fPIC"
8124 DLLEXT=".so"
8125 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8126 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8127 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8128 echo $ECHO_N "(cached) $ECHO_C" >&6
8129 else
8130 ac_wine_try_cflags_saved=$CFLAGS
8131 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8132 cat >conftest.$ac_ext <<_ACEOF
8133 void myfunc() {}
8134 _ACEOF
8135 rm -f conftest.$ac_objext conftest$ac_exeext
8136 if { (ac_try="$ac_link"
8137 case "(($ac_try" in
8138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8139 *) ac_try_echo=$ac_try;;
8140 esac
8141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8142 (eval "$ac_link") 2>conftest.er1
8143 ac_status=$?
8144 grep -v '^ *+' conftest.er1 >conftest.err
8145 rm -f conftest.er1
8146 cat conftest.err >&5
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); } && {
8149 test -z "$ac_c_werror_flag" ||
8150 test ! -s conftest.err
8151 } && test -s conftest$ac_exeext &&
8152 $as_test_x conftest$ac_exeext; then
8153 ac_cv_c_dll_gnuelf="yes"
8154 else
8155 echo "$as_me: failed program was:" >&5
8156 sed 's/^/| /' conftest.$ac_ext >&5
8158 ac_cv_c_dll_gnuelf="no"
8161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8162 conftest$ac_exeext conftest.$ac_ext
8163 CFLAGS=$ac_wine_try_cflags_saved
8165 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8166 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8167 if test "$ac_cv_c_dll_gnuelf" = "yes"
8168 then
8169 LDSHARED="\$(CC) -shared"
8170 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8171 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8172 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8173 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8174 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 else
8176 ac_wine_try_cflags_saved=$CFLAGS
8177 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8178 cat >conftest.$ac_ext <<_ACEOF
8179 /* confdefs.h. */
8180 _ACEOF
8181 cat confdefs.h >>conftest.$ac_ext
8182 cat >>conftest.$ac_ext <<_ACEOF
8183 /* end confdefs.h. */
8186 main ()
8190 return 0;
8192 _ACEOF
8193 rm -f conftest.$ac_objext conftest$ac_exeext
8194 if { (ac_try="$ac_link"
8195 case "(($ac_try" in
8196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8197 *) ac_try_echo=$ac_try;;
8198 esac
8199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8200 (eval "$ac_link") 2>conftest.er1
8201 ac_status=$?
8202 grep -v '^ *+' conftest.er1 >conftest.err
8203 rm -f conftest.er1
8204 cat conftest.err >&5
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); } && {
8207 test -z "$ac_c_werror_flag" ||
8208 test ! -s conftest.err
8209 } && test -s conftest$ac_exeext &&
8210 $as_test_x conftest$ac_exeext; then
8211 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8212 else
8213 echo "$as_me: failed program was:" >&5
8214 sed 's/^/| /' conftest.$ac_ext >&5
8216 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8220 conftest$ac_exeext conftest.$ac_ext
8221 CFLAGS=$ac_wine_try_cflags_saved
8223 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8224 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8225 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8226 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8227 else
8228 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8229 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8230 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8231 echo $ECHO_N "(cached) $ECHO_C" >&6
8232 else
8233 ac_wine_try_cflags_saved=$CFLAGS
8234 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8235 cat >conftest.$ac_ext <<_ACEOF
8236 /* confdefs.h. */
8237 _ACEOF
8238 cat confdefs.h >>conftest.$ac_ext
8239 cat >>conftest.$ac_ext <<_ACEOF
8240 /* end confdefs.h. */
8243 main ()
8247 return 0;
8249 _ACEOF
8250 rm -f conftest.$ac_objext conftest$ac_exeext
8251 if { (ac_try="$ac_link"
8252 case "(($ac_try" in
8253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8254 *) ac_try_echo=$ac_try;;
8255 esac
8256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8257 (eval "$ac_link") 2>conftest.er1
8258 ac_status=$?
8259 grep -v '^ *+' conftest.er1 >conftest.err
8260 rm -f conftest.er1
8261 cat conftest.err >&5
8262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263 (exit $ac_status); } && {
8264 test -z "$ac_c_werror_flag" ||
8265 test ! -s conftest.err
8266 } && test -s conftest$ac_exeext &&
8267 $as_test_x conftest$ac_exeext; then
8268 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8269 else
8270 echo "$as_me: failed program was:" >&5
8271 sed 's/^/| /' conftest.$ac_ext >&5
8273 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8277 conftest$ac_exeext conftest.$ac_ext
8278 CFLAGS=$ac_wine_try_cflags_saved
8280 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8281 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8282 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8283 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8289 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8290 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8291 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8292 echo $ECHO_N "(cached) $ECHO_C" >&6
8293 else
8294 ac_wine_try_cflags_saved=$CFLAGS
8295 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8296 cat >conftest.$ac_ext <<_ACEOF
8297 /* confdefs.h. */
8298 _ACEOF
8299 cat confdefs.h >>conftest.$ac_ext
8300 cat >>conftest.$ac_ext <<_ACEOF
8301 /* end confdefs.h. */
8304 main ()
8308 return 0;
8310 _ACEOF
8311 rm -f conftest.$ac_objext conftest$ac_exeext
8312 if { (ac_try="$ac_link"
8313 case "(($ac_try" in
8314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8315 *) ac_try_echo=$ac_try;;
8316 esac
8317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8318 (eval "$ac_link") 2>conftest.er1
8319 ac_status=$?
8320 grep -v '^ *+' conftest.er1 >conftest.err
8321 rm -f conftest.er1
8322 cat conftest.err >&5
8323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 (exit $ac_status); } && {
8325 test -z "$ac_c_werror_flag" ||
8326 test ! -s conftest.err
8327 } && test -s conftest$ac_exeext &&
8328 $as_test_x conftest$ac_exeext; then
8329 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8330 else
8331 echo "$as_me: failed program was:" >&5
8332 sed 's/^/| /' conftest.$ac_ext >&5
8334 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8338 conftest$ac_exeext conftest.$ac_ext
8339 CFLAGS=$ac_wine_try_cflags_saved
8341 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8342 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8343 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8344 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8348 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8349 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8350 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8351 echo $ECHO_N "(cached) $ECHO_C" >&6
8352 else
8353 ac_wine_try_cflags_saved=$CFLAGS
8354 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8355 cat >conftest.$ac_ext <<_ACEOF
8356 /* confdefs.h. */
8357 _ACEOF
8358 cat confdefs.h >>conftest.$ac_ext
8359 cat >>conftest.$ac_ext <<_ACEOF
8360 /* end confdefs.h. */
8363 main ()
8367 return 0;
8369 _ACEOF
8370 rm -f conftest.$ac_objext conftest$ac_exeext
8371 if { (ac_try="$ac_link"
8372 case "(($ac_try" in
8373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8374 *) ac_try_echo=$ac_try;;
8375 esac
8376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8377 (eval "$ac_link") 2>conftest.er1
8378 ac_status=$?
8379 grep -v '^ *+' conftest.er1 >conftest.err
8380 rm -f conftest.er1
8381 cat conftest.err >&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); } && {
8384 test -z "$ac_c_werror_flag" ||
8385 test ! -s conftest.err
8386 } && test -s conftest$ac_exeext &&
8387 $as_test_x conftest$ac_exeext; then
8388 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8389 else
8390 echo "$as_me: failed program was:" >&5
8391 sed 's/^/| /' conftest.$ac_ext >&5
8393 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8397 conftest$ac_exeext conftest.$ac_ext
8398 CFLAGS=$ac_wine_try_cflags_saved
8400 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8401 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8402 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8403 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8407 echo '{ global: *; };' >conftest.map
8408 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8409 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8410 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8411 echo $ECHO_N "(cached) $ECHO_C" >&6
8412 else
8413 ac_wine_try_cflags_saved=$CFLAGS
8414 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8415 cat >conftest.$ac_ext <<_ACEOF
8416 /* confdefs.h. */
8417 _ACEOF
8418 cat confdefs.h >>conftest.$ac_ext
8419 cat >>conftest.$ac_ext <<_ACEOF
8420 /* end confdefs.h. */
8423 main ()
8427 return 0;
8429 _ACEOF
8430 rm -f conftest.$ac_objext conftest$ac_exeext
8431 if { (ac_try="$ac_link"
8432 case "(($ac_try" in
8433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8434 *) ac_try_echo=$ac_try;;
8435 esac
8436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8437 (eval "$ac_link") 2>conftest.er1
8438 ac_status=$?
8439 grep -v '^ *+' conftest.er1 >conftest.err
8440 rm -f conftest.er1
8441 cat conftest.err >&5
8442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443 (exit $ac_status); } && {
8444 test -z "$ac_c_werror_flag" ||
8445 test ! -s conftest.err
8446 } && test -s conftest$ac_exeext &&
8447 $as_test_x conftest$ac_exeext; then
8448 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8449 else
8450 echo "$as_me: failed program was:" >&5
8451 sed 's/^/| /' conftest.$ac_ext >&5
8453 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8457 conftest$ac_exeext conftest.$ac_ext
8458 CFLAGS=$ac_wine_try_cflags_saved
8460 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8461 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8462 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8463 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8466 rm -f conftest.map
8468 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8469 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8470 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8471 echo $ECHO_N "(cached) $ECHO_C" >&6
8472 else
8473 ac_wine_try_cflags_saved=$CFLAGS
8474 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8475 cat >conftest.$ac_ext <<_ACEOF
8476 /* confdefs.h. */
8477 _ACEOF
8478 cat confdefs.h >>conftest.$ac_ext
8479 cat >>conftest.$ac_ext <<_ACEOF
8480 /* end confdefs.h. */
8483 main ()
8487 return 0;
8489 _ACEOF
8490 rm -f conftest.$ac_objext conftest$ac_exeext
8491 if { (ac_try="$ac_link"
8492 case "(($ac_try" in
8493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8494 *) ac_try_echo=$ac_try;;
8495 esac
8496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8497 (eval "$ac_link") 2>conftest.er1
8498 ac_status=$?
8499 grep -v '^ *+' conftest.er1 >conftest.err
8500 rm -f conftest.er1
8501 cat conftest.err >&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 (exit $ac_status); } && {
8504 test -z "$ac_c_werror_flag" ||
8505 test ! -s conftest.err
8506 } && test -s conftest$ac_exeext &&
8507 $as_test_x conftest$ac_exeext; then
8508 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8509 else
8510 echo "$as_me: failed program was:" >&5
8511 sed 's/^/| /' conftest.$ac_ext >&5
8513 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8517 conftest$ac_exeext conftest.$ac_ext
8518 CFLAGS=$ac_wine_try_cflags_saved
8520 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8521 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8522 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8523 LDEXECFLAGS="-Wl,--export-dynamic"
8528 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8529 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8530 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8531 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8532 echo $ECHO_N "(cached) $ECHO_C" >&6
8533 else
8534 ac_wine_try_cflags_saved=$CFLAGS
8535 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8536 cat >conftest.$ac_ext <<_ACEOF
8537 /* confdefs.h. */
8538 _ACEOF
8539 cat confdefs.h >>conftest.$ac_ext
8540 cat >>conftest.$ac_ext <<_ACEOF
8541 /* end confdefs.h. */
8544 main ()
8548 return 0;
8550 _ACEOF
8551 rm -f conftest.$ac_objext conftest$ac_exeext
8552 if { (ac_try="$ac_link"
8553 case "(($ac_try" in
8554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8555 *) ac_try_echo=$ac_try;;
8556 esac
8557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8558 (eval "$ac_link") 2>conftest.er1
8559 ac_status=$?
8560 grep -v '^ *+' conftest.er1 >conftest.err
8561 rm -f conftest.er1
8562 cat conftest.err >&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); } && {
8565 test -z "$ac_c_werror_flag" ||
8566 test ! -s conftest.err
8567 } && test -s conftest$ac_exeext &&
8568 $as_test_x conftest$ac_exeext; then
8569 eval "$as_ac_var=yes"
8570 else
8571 echo "$as_me: failed program was:" >&5
8572 sed 's/^/| /' conftest.$ac_ext >&5
8574 eval "$as_ac_var=no"
8577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8578 conftest$ac_exeext conftest.$ac_ext
8579 CFLAGS=$ac_wine_try_cflags_saved
8581 ac_res=`eval echo '${'$as_ac_var'}'`
8582 { echo "$as_me:$LINENO: result: $ac_res" >&5
8583 echo "${ECHO_T}$ac_res" >&6; }
8584 if test `eval echo '${'$as_ac_var'}'` = yes; then
8585 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8586 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8587 else
8588 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8589 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8590 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8591 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8592 echo $ECHO_N "(cached) $ECHO_C" >&6
8593 else
8594 ac_wine_try_cflags_saved=$CFLAGS
8595 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8596 cat >conftest.$ac_ext <<_ACEOF
8597 /* confdefs.h. */
8598 _ACEOF
8599 cat confdefs.h >>conftest.$ac_ext
8600 cat >>conftest.$ac_ext <<_ACEOF
8601 /* end confdefs.h. */
8604 main ()
8608 return 0;
8610 _ACEOF
8611 rm -f conftest.$ac_objext conftest$ac_exeext
8612 if { (ac_try="$ac_link"
8613 case "(($ac_try" in
8614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8615 *) ac_try_echo=$ac_try;;
8616 esac
8617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8618 (eval "$ac_link") 2>conftest.er1
8619 ac_status=$?
8620 grep -v '^ *+' conftest.er1 >conftest.err
8621 rm -f conftest.er1
8622 cat conftest.err >&5
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); } && {
8625 test -z "$ac_c_werror_flag" ||
8626 test ! -s conftest.err
8627 } && test -s conftest$ac_exeext &&
8628 $as_test_x conftest$ac_exeext; then
8629 eval "$as_ac_var=yes"
8630 else
8631 echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.$ac_ext >&5
8634 eval "$as_ac_var=no"
8637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8638 conftest$ac_exeext conftest.$ac_ext
8639 CFLAGS=$ac_wine_try_cflags_saved
8641 ac_res=`eval echo '${'$as_ac_var'}'`
8642 { echo "$as_me:$LINENO: result: $ac_res" >&5
8643 echo "${ECHO_T}$ac_res" >&6; }
8644 if test `eval echo '${'$as_ac_var'}'` = yes; then
8645 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8646 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8652 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8653 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8654 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8655 echo $ECHO_N "(cached) $ECHO_C" >&6
8656 else
8657 ac_wine_try_cflags_saved=$CFLAGS
8658 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8659 cat >conftest.$ac_ext <<_ACEOF
8660 /* confdefs.h. */
8661 _ACEOF
8662 cat confdefs.h >>conftest.$ac_ext
8663 cat >>conftest.$ac_ext <<_ACEOF
8664 /* end confdefs.h. */
8667 main ()
8671 return 0;
8673 _ACEOF
8674 rm -f conftest.$ac_objext conftest$ac_exeext
8675 if { (ac_try="$ac_link"
8676 case "(($ac_try" in
8677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8678 *) ac_try_echo=$ac_try;;
8679 esac
8680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8681 (eval "$ac_link") 2>conftest.er1
8682 ac_status=$?
8683 grep -v '^ *+' conftest.er1 >conftest.err
8684 rm -f conftest.er1
8685 cat conftest.err >&5
8686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687 (exit $ac_status); } && {
8688 test -z "$ac_c_werror_flag" ||
8689 test ! -s conftest.err
8690 } && test -s conftest$ac_exeext &&
8691 $as_test_x conftest$ac_exeext; then
8692 ac_cv_cflags__Wl___enable_new_dtags=yes
8693 else
8694 echo "$as_me: failed program was:" >&5
8695 sed 's/^/| /' conftest.$ac_ext >&5
8697 ac_cv_cflags__Wl___enable_new_dtags=no
8700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8701 conftest$ac_exeext conftest.$ac_ext
8702 CFLAGS=$ac_wine_try_cflags_saved
8704 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8705 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8706 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8707 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8711 case $host_cpu in
8712 *i[3456789]86* | x86_64)
8713 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8714 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8715 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8716 echo $ECHO_N "(cached) $ECHO_C" >&6
8717 else
8718 ac_wine_try_cflags_saved=$CFLAGS
8719 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8720 cat >conftest.$ac_ext <<_ACEOF
8721 /* confdefs.h. */
8722 _ACEOF
8723 cat confdefs.h >>conftest.$ac_ext
8724 cat >>conftest.$ac_ext <<_ACEOF
8725 /* end confdefs.h. */
8728 main ()
8732 return 0;
8734 _ACEOF
8735 rm -f conftest.$ac_objext conftest$ac_exeext
8736 if { (ac_try="$ac_link"
8737 case "(($ac_try" in
8738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8739 *) ac_try_echo=$ac_try;;
8740 esac
8741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8742 (eval "$ac_link") 2>conftest.er1
8743 ac_status=$?
8744 grep -v '^ *+' conftest.er1 >conftest.err
8745 rm -f conftest.er1
8746 cat conftest.err >&5
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); } && {
8749 test -z "$ac_c_werror_flag" ||
8750 test ! -s conftest.err
8751 } && test -s conftest$ac_exeext &&
8752 $as_test_x conftest$ac_exeext; then
8753 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8754 else
8755 echo "$as_me: failed program was:" >&5
8756 sed 's/^/| /' conftest.$ac_ext >&5
8758 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8762 conftest$ac_exeext conftest.$ac_ext
8763 CFLAGS=$ac_wine_try_cflags_saved
8765 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8766 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8767 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8768 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8772 esac
8774 else
8775 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8776 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8777 if test "${ac_cv_c_dll_unixware+set}" = set; then
8778 echo $ECHO_N "(cached) $ECHO_C" >&6
8779 else
8780 ac_wine_try_cflags_saved=$CFLAGS
8781 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8782 cat >conftest.$ac_ext <<_ACEOF
8783 void myfunc() {}
8784 _ACEOF
8785 rm -f conftest.$ac_objext conftest$ac_exeext
8786 if { (ac_try="$ac_link"
8787 case "(($ac_try" in
8788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8789 *) ac_try_echo=$ac_try;;
8790 esac
8791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8792 (eval "$ac_link") 2>conftest.er1
8793 ac_status=$?
8794 grep -v '^ *+' conftest.er1 >conftest.err
8795 rm -f conftest.er1
8796 cat conftest.err >&5
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 (exit $ac_status); } && {
8799 test -z "$ac_c_werror_flag" ||
8800 test ! -s conftest.err
8801 } && test -s conftest$ac_exeext &&
8802 $as_test_x conftest$ac_exeext; then
8803 ac_cv_c_dll_unixware="yes"
8804 else
8805 echo "$as_me: failed program was:" >&5
8806 sed 's/^/| /' conftest.$ac_ext >&5
8808 ac_cv_c_dll_unixware="no"
8811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8812 conftest$ac_exeext conftest.$ac_ext
8813 CFLAGS=$ac_wine_try_cflags_saved
8815 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8816 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8817 if test "$ac_cv_c_dll_unixware" = "yes"
8818 then
8819 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8820 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8822 else
8823 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8824 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8825 if test "${ac_cv_c_dll_hpux+set}" = set; then
8826 echo $ECHO_N "(cached) $ECHO_C" >&6
8827 else
8828 ac_wine_try_cflags_saved=$CFLAGS
8829 CFLAGS="$CFLAGS -shared"
8830 cat >conftest.$ac_ext <<_ACEOF
8831 void myfunc() {}
8832 _ACEOF
8833 rm -f conftest.$ac_objext conftest$ac_exeext
8834 if { (ac_try="$ac_link"
8835 case "(($ac_try" in
8836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8837 *) ac_try_echo=$ac_try;;
8838 esac
8839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8840 (eval "$ac_link") 2>conftest.er1
8841 ac_status=$?
8842 grep -v '^ *+' conftest.er1 >conftest.err
8843 rm -f conftest.er1
8844 cat conftest.err >&5
8845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846 (exit $ac_status); } && {
8847 test -z "$ac_c_werror_flag" ||
8848 test ! -s conftest.err
8849 } && test -s conftest$ac_exeext &&
8850 $as_test_x conftest$ac_exeext; then
8851 ac_cv_c_dll_hpux="yes"
8852 else
8853 echo "$as_me: failed program was:" >&5
8854 sed 's/^/| /' conftest.$ac_ext >&5
8856 ac_cv_c_dll_hpux="no"
8859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8860 conftest$ac_exeext conftest.$ac_ext
8861 CFLAGS=$ac_wine_try_cflags_saved
8863 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8864 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8865 if test "$ac_cv_c_dll_hpux" = "yes"
8866 then
8867 LIBEXT="sl"
8868 DLLEXT=".sl"
8869 LDDLLFLAGS="-shared -fPIC"
8870 LDSHARED="\$(CC) -shared"
8875 CROSSTEST=""
8877 if test "$cross_compiling" = "no"
8878 then
8879 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8881 # Extract the first word of "$ac_prog", so it can be a program name with args.
8882 set dummy $ac_prog; ac_word=$2
8883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8885 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8886 echo $ECHO_N "(cached) $ECHO_C" >&6
8887 else
8888 if test -n "$CROSSCC"; then
8889 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8890 else
8891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8892 for as_dir in $PATH
8894 IFS=$as_save_IFS
8895 test -z "$as_dir" && as_dir=.
8896 for ac_exec_ext in '' $ac_executable_extensions; do
8897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8898 ac_cv_prog_CROSSCC="$ac_prog"
8899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8900 break 2
8902 done
8903 done
8904 IFS=$as_save_IFS
8908 CROSSCC=$ac_cv_prog_CROSSCC
8909 if test -n "$CROSSCC"; then
8910 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8911 echo "${ECHO_T}$CROSSCC" >&6; }
8912 else
8913 { echo "$as_me:$LINENO: result: no" >&5
8914 echo "${ECHO_T}no" >&6; }
8918 test -n "$CROSSCC" && break
8919 done
8920 test -n "$CROSSCC" || CROSSCC="false"
8922 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8924 # Extract the first word of "$ac_prog", so it can be a program name with args.
8925 set dummy $ac_prog; ac_word=$2
8926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8928 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8929 echo $ECHO_N "(cached) $ECHO_C" >&6
8930 else
8931 if test -n "$DLLTOOL"; then
8932 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8933 else
8934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8935 for as_dir in $PATH
8937 IFS=$as_save_IFS
8938 test -z "$as_dir" && as_dir=.
8939 for ac_exec_ext in '' $ac_executable_extensions; do
8940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8941 ac_cv_prog_DLLTOOL="$ac_prog"
8942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8943 break 2
8945 done
8946 done
8947 IFS=$as_save_IFS
8951 DLLTOOL=$ac_cv_prog_DLLTOOL
8952 if test -n "$DLLTOOL"; then
8953 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8954 echo "${ECHO_T}$DLLTOOL" >&6; }
8955 else
8956 { echo "$as_me:$LINENO: result: no" >&5
8957 echo "${ECHO_T}no" >&6; }
8961 test -n "$DLLTOOL" && break
8962 done
8963 test -n "$DLLTOOL" || DLLTOOL="false"
8965 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8967 # Extract the first word of "$ac_prog", so it can be a program name with args.
8968 set dummy $ac_prog; ac_word=$2
8969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8971 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8972 echo $ECHO_N "(cached) $ECHO_C" >&6
8973 else
8974 if test -n "$CROSSWINDRES"; then
8975 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8976 else
8977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8978 for as_dir in $PATH
8980 IFS=$as_save_IFS
8981 test -z "$as_dir" && as_dir=.
8982 for ac_exec_ext in '' $ac_executable_extensions; do
8983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8984 ac_cv_prog_CROSSWINDRES="$ac_prog"
8985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8986 break 2
8988 done
8989 done
8990 IFS=$as_save_IFS
8994 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8995 if test -n "$CROSSWINDRES"; then
8996 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8997 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8998 else
8999 { echo "$as_me:$LINENO: result: no" >&5
9000 echo "${ECHO_T}no" >&6; }
9004 test -n "$CROSSWINDRES" && break
9005 done
9006 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9008 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
9010 # Extract the first word of "$ac_prog", so it can be a program name with args.
9011 set dummy $ac_prog; ac_word=$2
9012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9014 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9015 echo $ECHO_N "(cached) $ECHO_C" >&6
9016 else
9017 if test -n "$MINGWAR"; then
9018 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9019 else
9020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9021 for as_dir in $PATH
9023 IFS=$as_save_IFS
9024 test -z "$as_dir" && as_dir=.
9025 for ac_exec_ext in '' $ac_executable_extensions; do
9026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9027 ac_cv_prog_MINGWAR="$ac_prog"
9028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9029 break 2
9031 done
9032 done
9033 IFS=$as_save_IFS
9037 MINGWAR=$ac_cv_prog_MINGWAR
9038 if test -n "$MINGWAR"; then
9039 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9040 echo "${ECHO_T}$MINGWAR" >&6; }
9041 else
9042 { echo "$as_me:$LINENO: result: no" >&5
9043 echo "${ECHO_T}no" >&6; }
9047 test -n "$MINGWAR" && break
9048 done
9049 test -n "$MINGWAR" || MINGWAR="false"
9051 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9054 esac
9056 if test "$LIBEXT" = "a"; then
9057 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9058 It is currently not possible to build Wine without shared library
9059 (.so) support to allow transparent switch between .so and .dll files.
9060 If you are using Linux, you will need a newer binutils.
9061 " >&5
9062 echo "$as_me: error: could not find a way to build shared libraries.
9063 It is currently not possible to build Wine without shared library
9064 (.so) support to allow transparent switch between .so and .dll files.
9065 If you are using Linux, you will need a newer binutils.
9066 " >&2;}
9067 { (exit 1); exit 1; }; }
9071 if test "$have_x" = "yes"
9072 then
9073 XLIB="-lXext -lX11"
9074 ac_save_CPPFLAGS="$CPPFLAGS"
9075 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9077 { echo "$as_me:$LINENO: checking for -lX11" >&5
9078 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9079 if test "${ac_cv_lib_soname_X11+set}" = set; then
9080 echo $ECHO_N "(cached) $ECHO_C" >&6
9081 else
9082 ac_check_soname_save_LIBS=$LIBS
9083 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9084 cat >conftest.$ac_ext <<_ACEOF
9085 /* confdefs.h. */
9086 _ACEOF
9087 cat confdefs.h >>conftest.$ac_ext
9088 cat >>conftest.$ac_ext <<_ACEOF
9089 /* end confdefs.h. */
9091 /* Override any GCC internal prototype to avoid an error.
9092 Use char because int might match the return type of a GCC
9093 builtin and then its argument prototype would still apply. */
9094 #ifdef __cplusplus
9095 extern "C"
9096 #endif
9097 char XCreateWindow ();
9099 main ()
9101 return XCreateWindow ();
9103 return 0;
9105 _ACEOF
9106 rm -f conftest.$ac_objext conftest$ac_exeext
9107 if { (ac_try="$ac_link"
9108 case "(($ac_try" in
9109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9110 *) ac_try_echo=$ac_try;;
9111 esac
9112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9113 (eval "$ac_link") 2>conftest.er1
9114 ac_status=$?
9115 grep -v '^ *+' conftest.er1 >conftest.err
9116 rm -f conftest.er1
9117 cat conftest.err >&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); } && {
9120 test -z "$ac_c_werror_flag" ||
9121 test ! -s conftest.err
9122 } && test -s conftest$ac_exeext &&
9123 $as_test_x conftest$ac_exeext; then
9124 case "$LIBEXT" in
9125 dll) ;;
9126 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'` ;;
9127 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9128 esac
9129 else
9130 echo "$as_me: failed program was:" >&5
9131 sed 's/^/| /' conftest.$ac_ext >&5
9136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9137 conftest$ac_exeext conftest.$ac_ext
9138 LIBS=$ac_check_soname_save_LIBS
9140 if test "x$ac_cv_lib_soname_X11" = "x"; then
9141 { echo "$as_me:$LINENO: result: not found" >&5
9142 echo "${ECHO_T}not found" >&6; }
9144 else
9145 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9146 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9148 cat >>confdefs.h <<_ACEOF
9149 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9150 _ACEOF
9155 { echo "$as_me:$LINENO: checking for -lXext" >&5
9156 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9157 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9159 else
9160 ac_check_soname_save_LIBS=$LIBS
9161 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9162 cat >conftest.$ac_ext <<_ACEOF
9163 /* confdefs.h. */
9164 _ACEOF
9165 cat confdefs.h >>conftest.$ac_ext
9166 cat >>conftest.$ac_ext <<_ACEOF
9167 /* end confdefs.h. */
9169 /* Override any GCC internal prototype to avoid an error.
9170 Use char because int might match the return type of a GCC
9171 builtin and then its argument prototype would still apply. */
9172 #ifdef __cplusplus
9173 extern "C"
9174 #endif
9175 char XextCreateExtension ();
9177 main ()
9179 return XextCreateExtension ();
9181 return 0;
9183 _ACEOF
9184 rm -f conftest.$ac_objext conftest$ac_exeext
9185 if { (ac_try="$ac_link"
9186 case "(($ac_try" in
9187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9188 *) ac_try_echo=$ac_try;;
9189 esac
9190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9191 (eval "$ac_link") 2>conftest.er1
9192 ac_status=$?
9193 grep -v '^ *+' conftest.er1 >conftest.err
9194 rm -f conftest.er1
9195 cat conftest.err >&5
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); } && {
9198 test -z "$ac_c_werror_flag" ||
9199 test ! -s conftest.err
9200 } && test -s conftest$ac_exeext &&
9201 $as_test_x conftest$ac_exeext; then
9202 case "$LIBEXT" in
9203 dll) ;;
9204 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'` ;;
9205 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9206 esac
9207 else
9208 echo "$as_me: failed program was:" >&5
9209 sed 's/^/| /' conftest.$ac_ext >&5
9214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9215 conftest$ac_exeext conftest.$ac_ext
9216 LIBS=$ac_check_soname_save_LIBS
9218 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9219 { echo "$as_me:$LINENO: result: not found" >&5
9220 echo "${ECHO_T}not found" >&6; }
9222 else
9223 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9224 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9226 cat >>confdefs.h <<_ACEOF
9227 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9228 _ACEOF
9245 for ac_header in X11/Xlib.h \
9246 X11/XKBlib.h \
9247 X11/Xutil.h \
9248 X11/Xcursor/Xcursor.h \
9249 X11/extensions/shape.h \
9250 X11/extensions/XInput.h \
9251 X11/extensions/XShm.h \
9252 X11/extensions/Xinerama.h \
9253 X11/extensions/Xrandr.h \
9254 X11/extensions/Xrender.h \
9255 X11/extensions/xf86vmode.h
9257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9258 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9261 echo $ECHO_N "(cached) $ECHO_C" >&6
9262 else
9263 cat >conftest.$ac_ext <<_ACEOF
9264 /* confdefs.h. */
9265 _ACEOF
9266 cat confdefs.h >>conftest.$ac_ext
9267 cat >>conftest.$ac_ext <<_ACEOF
9268 /* end confdefs.h. */
9269 #ifdef HAVE_X11_XLIB_H
9270 # include <X11/Xlib.h>
9271 #endif
9272 #ifdef HAVE_X11_XUTIL_H
9273 # include <X11/Xutil.h>
9274 #endif
9276 #include <$ac_header>
9277 _ACEOF
9278 rm -f conftest.$ac_objext
9279 if { (ac_try="$ac_compile"
9280 case "(($ac_try" in
9281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9282 *) ac_try_echo=$ac_try;;
9283 esac
9284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9285 (eval "$ac_compile") 2>conftest.er1
9286 ac_status=$?
9287 grep -v '^ *+' conftest.er1 >conftest.err
9288 rm -f conftest.er1
9289 cat conftest.err >&5
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 (exit $ac_status); } && {
9292 test -z "$ac_c_werror_flag" ||
9293 test ! -s conftest.err
9294 } && test -s conftest.$ac_objext; then
9295 eval "$as_ac_Header=yes"
9296 else
9297 echo "$as_me: failed program was:" >&5
9298 sed 's/^/| /' conftest.$ac_ext >&5
9300 eval "$as_ac_Header=no"
9303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9305 ac_res=`eval echo '${'$as_ac_Header'}'`
9306 { echo "$as_me:$LINENO: result: $ac_res" >&5
9307 echo "${ECHO_T}$ac_res" >&6; }
9308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9309 cat >>confdefs.h <<_ACEOF
9310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9311 _ACEOF
9315 done
9318 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9319 then
9320 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9321 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9322 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6
9324 else
9325 ac_check_lib_save_LIBS=$LIBS
9326 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9327 cat >conftest.$ac_ext <<_ACEOF
9328 /* confdefs.h. */
9329 _ACEOF
9330 cat confdefs.h >>conftest.$ac_ext
9331 cat >>conftest.$ac_ext <<_ACEOF
9332 /* end confdefs.h. */
9334 /* Override any GCC internal prototype to avoid an error.
9335 Use char because int might match the return type of a GCC
9336 builtin and then its argument prototype would still apply. */
9337 #ifdef __cplusplus
9338 extern "C"
9339 #endif
9340 char XkbQueryExtension ();
9342 main ()
9344 return XkbQueryExtension ();
9346 return 0;
9348 _ACEOF
9349 rm -f conftest.$ac_objext conftest$ac_exeext
9350 if { (ac_try="$ac_link"
9351 case "(($ac_try" in
9352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9353 *) ac_try_echo=$ac_try;;
9354 esac
9355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9356 (eval "$ac_link") 2>conftest.er1
9357 ac_status=$?
9358 grep -v '^ *+' conftest.er1 >conftest.err
9359 rm -f conftest.er1
9360 cat conftest.err >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); } && {
9363 test -z "$ac_c_werror_flag" ||
9364 test ! -s conftest.err
9365 } && test -s conftest$ac_exeext &&
9366 $as_test_x conftest$ac_exeext; then
9367 ac_cv_lib_X11_XkbQueryExtension=yes
9368 else
9369 echo "$as_me: failed program was:" >&5
9370 sed 's/^/| /' conftest.$ac_ext >&5
9372 ac_cv_lib_X11_XkbQueryExtension=no
9375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9376 conftest$ac_exeext conftest.$ac_ext
9377 LIBS=$ac_check_lib_save_LIBS
9379 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9380 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9381 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9383 cat >>confdefs.h <<\_ACEOF
9384 #define HAVE_XKB 1
9385 _ACEOF
9391 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9392 then
9393 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9394 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9395 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9396 echo $ECHO_N "(cached) $ECHO_C" >&6
9397 else
9398 ac_check_soname_save_LIBS=$LIBS
9399 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9400 cat >conftest.$ac_ext <<_ACEOF
9401 /* confdefs.h. */
9402 _ACEOF
9403 cat confdefs.h >>conftest.$ac_ext
9404 cat >>conftest.$ac_ext <<_ACEOF
9405 /* end confdefs.h. */
9407 /* Override any GCC internal prototype to avoid an error.
9408 Use char because int might match the return type of a GCC
9409 builtin and then its argument prototype would still apply. */
9410 #ifdef __cplusplus
9411 extern "C"
9412 #endif
9413 char XcursorImageLoadCursor ();
9415 main ()
9417 return XcursorImageLoadCursor ();
9419 return 0;
9421 _ACEOF
9422 rm -f conftest.$ac_objext conftest$ac_exeext
9423 if { (ac_try="$ac_link"
9424 case "(($ac_try" in
9425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9426 *) ac_try_echo=$ac_try;;
9427 esac
9428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9429 (eval "$ac_link") 2>conftest.er1
9430 ac_status=$?
9431 grep -v '^ *+' conftest.er1 >conftest.err
9432 rm -f conftest.er1
9433 cat conftest.err >&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); } && {
9436 test -z "$ac_c_werror_flag" ||
9437 test ! -s conftest.err
9438 } && test -s conftest$ac_exeext &&
9439 $as_test_x conftest$ac_exeext; then
9440 case "$LIBEXT" in
9441 dll) ;;
9442 dylib) ac_cv_lib_soname_Xcursor=`otool -L conftest$ac_exeext | grep "libXcursor\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9443 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9444 esac
9445 else
9446 echo "$as_me: failed program was:" >&5
9447 sed 's/^/| /' conftest.$ac_ext >&5
9452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9453 conftest$ac_exeext conftest.$ac_ext
9454 LIBS=$ac_check_soname_save_LIBS
9456 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9457 { echo "$as_me:$LINENO: result: not found" >&5
9458 echo "${ECHO_T}not found" >&6; }
9460 else
9461 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9462 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9464 cat >>confdefs.h <<_ACEOF
9465 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9466 _ACEOF
9473 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9474 then
9475 { echo "$as_me:$LINENO: checking for -lXi" >&5
9476 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9477 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9478 echo $ECHO_N "(cached) $ECHO_C" >&6
9479 else
9480 ac_check_soname_save_LIBS=$LIBS
9481 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9482 cat >conftest.$ac_ext <<_ACEOF
9483 /* confdefs.h. */
9484 _ACEOF
9485 cat confdefs.h >>conftest.$ac_ext
9486 cat >>conftest.$ac_ext <<_ACEOF
9487 /* end confdefs.h. */
9489 /* Override any GCC internal prototype to avoid an error.
9490 Use char because int might match the return type of a GCC
9491 builtin and then its argument prototype would still apply. */
9492 #ifdef __cplusplus
9493 extern "C"
9494 #endif
9495 char XOpenDevice ();
9497 main ()
9499 return XOpenDevice ();
9501 return 0;
9503 _ACEOF
9504 rm -f conftest.$ac_objext conftest$ac_exeext
9505 if { (ac_try="$ac_link"
9506 case "(($ac_try" in
9507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9508 *) ac_try_echo=$ac_try;;
9509 esac
9510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9511 (eval "$ac_link") 2>conftest.er1
9512 ac_status=$?
9513 grep -v '^ *+' conftest.er1 >conftest.err
9514 rm -f conftest.er1
9515 cat conftest.err >&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); } && {
9518 test -z "$ac_c_werror_flag" ||
9519 test ! -s conftest.err
9520 } && test -s conftest$ac_exeext &&
9521 $as_test_x conftest$ac_exeext; then
9522 case "$LIBEXT" in
9523 dll) ;;
9524 dylib) ac_cv_lib_soname_Xi=`otool -L conftest$ac_exeext | grep "libXi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9525 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9526 esac
9527 else
9528 echo "$as_me: failed program was:" >&5
9529 sed 's/^/| /' conftest.$ac_ext >&5
9534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9535 conftest$ac_exeext conftest.$ac_ext
9536 LIBS=$ac_check_soname_save_LIBS
9538 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9539 { echo "$as_me:$LINENO: result: not found" >&5
9540 echo "${ECHO_T}not found" >&6; }
9542 else
9543 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9544 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9546 cat >>confdefs.h <<_ACEOF
9547 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9548 _ACEOF
9555 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9556 then
9557 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9558 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9559 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9560 echo $ECHO_N "(cached) $ECHO_C" >&6
9561 else
9562 ac_check_lib_save_LIBS=$LIBS
9563 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9564 cat >conftest.$ac_ext <<_ACEOF
9565 /* confdefs.h. */
9566 _ACEOF
9567 cat confdefs.h >>conftest.$ac_ext
9568 cat >>conftest.$ac_ext <<_ACEOF
9569 /* end confdefs.h. */
9571 /* Override any GCC internal prototype to avoid an error.
9572 Use char because int might match the return type of a GCC
9573 builtin and then its argument prototype would still apply. */
9574 #ifdef __cplusplus
9575 extern "C"
9576 #endif
9577 char XShmQueryExtension ();
9579 main ()
9581 return XShmQueryExtension ();
9583 return 0;
9585 _ACEOF
9586 rm -f conftest.$ac_objext conftest$ac_exeext
9587 if { (ac_try="$ac_link"
9588 case "(($ac_try" in
9589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9590 *) ac_try_echo=$ac_try;;
9591 esac
9592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9593 (eval "$ac_link") 2>conftest.er1
9594 ac_status=$?
9595 grep -v '^ *+' conftest.er1 >conftest.err
9596 rm -f conftest.er1
9597 cat conftest.err >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); } && {
9600 test -z "$ac_c_werror_flag" ||
9601 test ! -s conftest.err
9602 } && test -s conftest$ac_exeext &&
9603 $as_test_x conftest$ac_exeext; then
9604 ac_cv_lib_Xext_XShmQueryExtension=yes
9605 else
9606 echo "$as_me: failed program was:" >&5
9607 sed 's/^/| /' conftest.$ac_ext >&5
9609 ac_cv_lib_Xext_XShmQueryExtension=no
9612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9613 conftest$ac_exeext conftest.$ac_ext
9614 LIBS=$ac_check_lib_save_LIBS
9616 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9617 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9618 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9620 cat >>confdefs.h <<\_ACEOF
9621 #define HAVE_LIBXXSHM 1
9622 _ACEOF
9627 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9628 wine_notices="$wine_notices|XShm development files not found.
9629 Wine will be built without XShm support. (winex11.drv)"
9633 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9634 then
9635 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9636 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9637 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9638 echo $ECHO_N "(cached) $ECHO_C" >&6
9639 else
9640 ac_check_lib_save_LIBS=$LIBS
9641 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9642 cat >conftest.$ac_ext <<_ACEOF
9643 /* confdefs.h. */
9644 _ACEOF
9645 cat confdefs.h >>conftest.$ac_ext
9646 cat >>conftest.$ac_ext <<_ACEOF
9647 /* end confdefs.h. */
9649 /* Override any GCC internal prototype to avoid an error.
9650 Use char because int might match the return type of a GCC
9651 builtin and then its argument prototype would still apply. */
9652 #ifdef __cplusplus
9653 extern "C"
9654 #endif
9655 char XShapeQueryExtension ();
9657 main ()
9659 return XShapeQueryExtension ();
9661 return 0;
9663 _ACEOF
9664 rm -f conftest.$ac_objext conftest$ac_exeext
9665 if { (ac_try="$ac_link"
9666 case "(($ac_try" in
9667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9668 *) ac_try_echo=$ac_try;;
9669 esac
9670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9671 (eval "$ac_link") 2>conftest.er1
9672 ac_status=$?
9673 grep -v '^ *+' conftest.er1 >conftest.err
9674 rm -f conftest.er1
9675 cat conftest.err >&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); } && {
9678 test -z "$ac_c_werror_flag" ||
9679 test ! -s conftest.err
9680 } && test -s conftest$ac_exeext &&
9681 $as_test_x conftest$ac_exeext; then
9682 ac_cv_lib_Xext_XShapeQueryExtension=yes
9683 else
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.$ac_ext >&5
9687 ac_cv_lib_Xext_XShapeQueryExtension=no
9690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9691 conftest$ac_exeext conftest.$ac_ext
9692 LIBS=$ac_check_lib_save_LIBS
9694 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9695 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9696 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9698 cat >>confdefs.h <<\_ACEOF
9699 #define HAVE_LIBXSHAPE 1
9700 _ACEOF
9705 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9706 wine_notices="$wine_notices|XShape development files not found.
9707 Wine will be built without XShape support. (winex11.drv)"
9711 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9712 then
9713 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9714 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9715 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9716 echo $ECHO_N "(cached) $ECHO_C" >&6
9717 else
9718 ac_check_lib_save_LIBS=$LIBS
9719 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9720 cat >conftest.$ac_ext <<_ACEOF
9721 /* confdefs.h. */
9722 _ACEOF
9723 cat confdefs.h >>conftest.$ac_ext
9724 cat >>conftest.$ac_ext <<_ACEOF
9725 /* end confdefs.h. */
9727 /* Override any GCC internal prototype to avoid an error.
9728 Use char because int might match the return type of a GCC
9729 builtin and then its argument prototype would still apply. */
9730 #ifdef __cplusplus
9731 extern "C"
9732 #endif
9733 char XF86VidModeQueryExtension ();
9735 main ()
9737 return XF86VidModeQueryExtension ();
9739 return 0;
9741 _ACEOF
9742 rm -f conftest.$ac_objext conftest$ac_exeext
9743 if { (ac_try="$ac_link"
9744 case "(($ac_try" in
9745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9746 *) ac_try_echo=$ac_try;;
9747 esac
9748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9749 (eval "$ac_link") 2>conftest.er1
9750 ac_status=$?
9751 grep -v '^ *+' conftest.er1 >conftest.err
9752 rm -f conftest.er1
9753 cat conftest.err >&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } && {
9756 test -z "$ac_c_werror_flag" ||
9757 test ! -s conftest.err
9758 } && test -s conftest$ac_exeext &&
9759 $as_test_x conftest$ac_exeext; then
9760 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9761 else
9762 echo "$as_me: failed program was:" >&5
9763 sed 's/^/| /' conftest.$ac_ext >&5
9765 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9769 conftest$ac_exeext conftest.$ac_ext
9770 LIBS=$ac_check_lib_save_LIBS
9772 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9773 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9774 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9776 cat >>confdefs.h <<\_ACEOF
9777 #define HAVE_LIBXXF86VM 1
9778 _ACEOF
9780 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9785 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9786 wine_notices="$wine_notices|Xxf86vm development files not found.
9787 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9791 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9792 then
9793 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9794 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9795 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9796 echo $ECHO_N "(cached) $ECHO_C" >&6
9797 else
9798 ac_check_soname_save_LIBS=$LIBS
9799 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9800 cat >conftest.$ac_ext <<_ACEOF
9801 /* confdefs.h. */
9802 _ACEOF
9803 cat confdefs.h >>conftest.$ac_ext
9804 cat >>conftest.$ac_ext <<_ACEOF
9805 /* end confdefs.h. */
9807 /* Override any GCC internal prototype to avoid an error.
9808 Use char because int might match the return type of a GCC
9809 builtin and then its argument prototype would still apply. */
9810 #ifdef __cplusplus
9811 extern "C"
9812 #endif
9813 char XRenderQueryExtension ();
9815 main ()
9817 return XRenderQueryExtension ();
9819 return 0;
9821 _ACEOF
9822 rm -f conftest.$ac_objext conftest$ac_exeext
9823 if { (ac_try="$ac_link"
9824 case "(($ac_try" in
9825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9826 *) ac_try_echo=$ac_try;;
9827 esac
9828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9829 (eval "$ac_link") 2>conftest.er1
9830 ac_status=$?
9831 grep -v '^ *+' conftest.er1 >conftest.err
9832 rm -f conftest.er1
9833 cat conftest.err >&5
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 (exit $ac_status); } && {
9836 test -z "$ac_c_werror_flag" ||
9837 test ! -s conftest.err
9838 } && test -s conftest$ac_exeext &&
9839 $as_test_x conftest$ac_exeext; then
9840 case "$LIBEXT" in
9841 dll) ;;
9842 dylib) ac_cv_lib_soname_Xrender=`otool -L conftest$ac_exeext | grep "libXrender\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9843 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9844 esac
9845 else
9846 echo "$as_me: failed program was:" >&5
9847 sed 's/^/| /' conftest.$ac_ext >&5
9852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9853 conftest$ac_exeext conftest.$ac_ext
9854 LIBS=$ac_check_soname_save_LIBS
9856 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9857 { echo "$as_me:$LINENO: result: not found" >&5
9858 echo "${ECHO_T}not found" >&6; }
9860 else
9861 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9862 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9864 cat >>confdefs.h <<_ACEOF
9865 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9866 _ACEOF
9868 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9869 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9870 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9871 echo $ECHO_N "(cached) $ECHO_C" >&6
9872 else
9873 ac_check_lib_save_LIBS=$LIBS
9874 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9875 cat >conftest.$ac_ext <<_ACEOF
9876 /* confdefs.h. */
9877 _ACEOF
9878 cat confdefs.h >>conftest.$ac_ext
9879 cat >>conftest.$ac_ext <<_ACEOF
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9885 #ifdef __cplusplus
9886 extern "C"
9887 #endif
9888 char XRenderSetPictureTransform ();
9890 main ()
9892 return XRenderSetPictureTransform ();
9894 return 0;
9896 _ACEOF
9897 rm -f conftest.$ac_objext conftest$ac_exeext
9898 if { (ac_try="$ac_link"
9899 case "(($ac_try" in
9900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9901 *) ac_try_echo=$ac_try;;
9902 esac
9903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9904 (eval "$ac_link") 2>conftest.er1
9905 ac_status=$?
9906 grep -v '^ *+' conftest.er1 >conftest.err
9907 rm -f conftest.er1
9908 cat conftest.err >&5
9909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910 (exit $ac_status); } && {
9911 test -z "$ac_c_werror_flag" ||
9912 test ! -s conftest.err
9913 } && test -s conftest$ac_exeext &&
9914 $as_test_x conftest$ac_exeext; then
9915 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9916 else
9917 echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.$ac_ext >&5
9920 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9924 conftest$ac_exeext conftest.$ac_ext
9925 LIBS=$ac_check_lib_save_LIBS
9927 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9928 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9929 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9931 cat >>confdefs.h <<\_ACEOF
9932 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9933 _ACEOF
9941 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9942 wine_notices="$wine_notices|XRender development files not found.
9943 Wine will be built without XRender support. (winex11.drv)"
9947 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9948 then
9949 cat >conftest.$ac_ext <<_ACEOF
9950 /* confdefs.h. */
9951 _ACEOF
9952 cat confdefs.h >>conftest.$ac_ext
9953 cat >>conftest.$ac_ext <<_ACEOF
9954 /* end confdefs.h. */
9955 #include <X11/Xlib.h>
9956 #include <X11/extensions/Xrandr.h>
9958 main ()
9960 static typeof(XRRSetScreenConfigAndRate) * func;
9962 return 0;
9964 _ACEOF
9965 rm -f conftest.$ac_objext
9966 if { (ac_try="$ac_compile"
9967 case "(($ac_try" in
9968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9969 *) ac_try_echo=$ac_try;;
9970 esac
9971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9972 (eval "$ac_compile") 2>conftest.er1
9973 ac_status=$?
9974 grep -v '^ *+' conftest.er1 >conftest.err
9975 rm -f conftest.er1
9976 cat conftest.err >&5
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); } && {
9979 test -z "$ac_c_werror_flag" ||
9980 test ! -s conftest.err
9981 } && test -s conftest.$ac_objext; then
9982 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9983 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9984 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9985 echo $ECHO_N "(cached) $ECHO_C" >&6
9986 else
9987 ac_check_soname_save_LIBS=$LIBS
9988 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9989 cat >conftest.$ac_ext <<_ACEOF
9990 /* confdefs.h. */
9991 _ACEOF
9992 cat confdefs.h >>conftest.$ac_ext
9993 cat >>conftest.$ac_ext <<_ACEOF
9994 /* end confdefs.h. */
9996 /* Override any GCC internal prototype to avoid an error.
9997 Use char because int might match the return type of a GCC
9998 builtin and then its argument prototype would still apply. */
9999 #ifdef __cplusplus
10000 extern "C"
10001 #endif
10002 char XRRQueryExtension ();
10004 main ()
10006 return XRRQueryExtension ();
10008 return 0;
10010 _ACEOF
10011 rm -f conftest.$ac_objext conftest$ac_exeext
10012 if { (ac_try="$ac_link"
10013 case "(($ac_try" in
10014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10015 *) ac_try_echo=$ac_try;;
10016 esac
10017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10018 (eval "$ac_link") 2>conftest.er1
10019 ac_status=$?
10020 grep -v '^ *+' conftest.er1 >conftest.err
10021 rm -f conftest.er1
10022 cat conftest.err >&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } && {
10025 test -z "$ac_c_werror_flag" ||
10026 test ! -s conftest.err
10027 } && test -s conftest$ac_exeext &&
10028 $as_test_x conftest$ac_exeext; then
10029 case "$LIBEXT" in
10030 dll) ;;
10031 dylib) ac_cv_lib_soname_Xrandr=`otool -L conftest$ac_exeext | grep "libXrandr\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10032 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10033 esac
10034 else
10035 echo "$as_me: failed program was:" >&5
10036 sed 's/^/| /' conftest.$ac_ext >&5
10041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10042 conftest$ac_exeext conftest.$ac_ext
10043 LIBS=$ac_check_soname_save_LIBS
10045 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10046 { echo "$as_me:$LINENO: result: not found" >&5
10047 echo "${ECHO_T}not found" >&6; }
10049 else
10050 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10051 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10053 cat >>confdefs.h <<_ACEOF
10054 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10055 _ACEOF
10060 else
10061 echo "$as_me: failed program was:" >&5
10062 sed 's/^/| /' conftest.$ac_ext >&5
10067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10069 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10070 wine_notices="$wine_notices|XRandr development files not found.
10071 Wine will be built without XRandr support. (winex11.drv)"
10075 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10076 then
10077 cat >conftest.$ac_ext <<_ACEOF
10078 /* confdefs.h. */
10079 _ACEOF
10080 cat confdefs.h >>conftest.$ac_ext
10081 cat >>conftest.$ac_ext <<_ACEOF
10082 /* end confdefs.h. */
10083 #include <X11/Xlib.h>
10084 #include <X11/extensions/Xinerama.h>
10086 main ()
10088 static typeof(XineramaQueryScreens) * func;
10090 return 0;
10092 _ACEOF
10093 rm -f conftest.$ac_objext
10094 if { (ac_try="$ac_compile"
10095 case "(($ac_try" in
10096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10097 *) ac_try_echo=$ac_try;;
10098 esac
10099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10100 (eval "$ac_compile") 2>conftest.er1
10101 ac_status=$?
10102 grep -v '^ *+' conftest.er1 >conftest.err
10103 rm -f conftest.er1
10104 cat conftest.err >&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); } && {
10107 test -z "$ac_c_werror_flag" ||
10108 test ! -s conftest.err
10109 } && test -s conftest.$ac_objext; then
10110 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10111 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10112 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10113 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 else
10115 ac_check_soname_save_LIBS=$LIBS
10116 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10117 cat >conftest.$ac_ext <<_ACEOF
10118 /* confdefs.h. */
10119 _ACEOF
10120 cat confdefs.h >>conftest.$ac_ext
10121 cat >>conftest.$ac_ext <<_ACEOF
10122 /* end confdefs.h. */
10124 /* Override any GCC internal prototype to avoid an error.
10125 Use char because int might match the return type of a GCC
10126 builtin and then its argument prototype would still apply. */
10127 #ifdef __cplusplus
10128 extern "C"
10129 #endif
10130 char XineramaQueryScreens ();
10132 main ()
10134 return XineramaQueryScreens ();
10136 return 0;
10138 _ACEOF
10139 rm -f conftest.$ac_objext conftest$ac_exeext
10140 if { (ac_try="$ac_link"
10141 case "(($ac_try" in
10142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10143 *) ac_try_echo=$ac_try;;
10144 esac
10145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10146 (eval "$ac_link") 2>conftest.er1
10147 ac_status=$?
10148 grep -v '^ *+' conftest.er1 >conftest.err
10149 rm -f conftest.er1
10150 cat conftest.err >&5
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); } && {
10153 test -z "$ac_c_werror_flag" ||
10154 test ! -s conftest.err
10155 } && test -s conftest$ac_exeext &&
10156 $as_test_x conftest$ac_exeext; then
10157 case "$LIBEXT" in
10158 dll) ;;
10159 dylib) ac_cv_lib_soname_Xinerama=`otool -L conftest$ac_exeext | grep "libXinerama\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10160 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10161 esac
10162 else
10163 echo "$as_me: failed program was:" >&5
10164 sed 's/^/| /' conftest.$ac_ext >&5
10169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10170 conftest$ac_exeext conftest.$ac_ext
10171 LIBS=$ac_check_soname_save_LIBS
10173 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10174 { echo "$as_me:$LINENO: result: not found" >&5
10175 echo "${ECHO_T}not found" >&6; }
10177 else
10178 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10179 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10181 cat >>confdefs.h <<_ACEOF
10182 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10183 _ACEOF
10188 else
10189 echo "$as_me: failed program was:" >&5
10190 sed 's/^/| /' conftest.$ac_ext >&5
10195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10197 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10198 wine_notices="$wine_notices|Xinerama development files not found.
10199 Wine will be built without Xinerama support. (winex11.drv)"
10204 if test "x$with_opengl" != "xno"
10205 then
10210 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10213 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10216 echo $ECHO_N "(cached) $ECHO_C" >&6
10217 else
10218 cat >conftest.$ac_ext <<_ACEOF
10219 /* confdefs.h. */
10220 _ACEOF
10221 cat confdefs.h >>conftest.$ac_ext
10222 cat >>conftest.$ac_ext <<_ACEOF
10223 /* end confdefs.h. */
10224 #ifdef HAVE_GL_GLX_H
10225 # include <GL/glx.h>
10226 #endif
10228 #include <$ac_header>
10229 _ACEOF
10230 rm -f conftest.$ac_objext
10231 if { (ac_try="$ac_compile"
10232 case "(($ac_try" in
10233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10234 *) ac_try_echo=$ac_try;;
10235 esac
10236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10237 (eval "$ac_compile") 2>conftest.er1
10238 ac_status=$?
10239 grep -v '^ *+' conftest.er1 >conftest.err
10240 rm -f conftest.er1
10241 cat conftest.err >&5
10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10243 (exit $ac_status); } && {
10244 test -z "$ac_c_werror_flag" ||
10245 test ! -s conftest.err
10246 } && test -s conftest.$ac_objext; then
10247 eval "$as_ac_Header=yes"
10248 else
10249 echo "$as_me: failed program was:" >&5
10250 sed 's/^/| /' conftest.$ac_ext >&5
10252 eval "$as_ac_Header=no"
10255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10257 ac_res=`eval echo '${'$as_ac_Header'}'`
10258 { echo "$as_me:$LINENO: result: $ac_res" >&5
10259 echo "${ECHO_T}$ac_res" >&6; }
10260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10261 cat >>confdefs.h <<_ACEOF
10262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10263 _ACEOF
10267 done
10269 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10270 then
10271 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10272 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10273 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10274 echo $ECHO_N "(cached) $ECHO_C" >&6
10275 else
10276 cat >conftest.$ac_ext <<_ACEOF
10277 /* confdefs.h. */
10278 _ACEOF
10279 cat confdefs.h >>conftest.$ac_ext
10280 cat >>conftest.$ac_ext <<_ACEOF
10281 /* end confdefs.h. */
10282 #include <GL/gl.h>
10284 main ()
10286 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10288 return 0;
10290 _ACEOF
10291 rm -f conftest.$ac_objext
10292 if { (ac_try="$ac_compile"
10293 case "(($ac_try" in
10294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10295 *) ac_try_echo=$ac_try;;
10296 esac
10297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10298 (eval "$ac_compile") 2>conftest.er1
10299 ac_status=$?
10300 grep -v '^ *+' conftest.er1 >conftest.err
10301 rm -f conftest.er1
10302 cat conftest.err >&5
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); } && {
10305 test -z "$ac_c_werror_flag" ||
10306 test ! -s conftest.err
10307 } && test -s conftest.$ac_objext; then
10308 wine_cv_opengl_header_version_OK="yes"
10309 else
10310 echo "$as_me: failed program was:" >&5
10311 sed 's/^/| /' conftest.$ac_ext >&5
10313 wine_cv_opengl_header_version_OK="no"
10316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10318 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10319 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10321 if test "$wine_cv_opengl_header_version_OK" = "yes"
10322 then
10323 { echo "$as_me:$LINENO: checking for -lGL" >&5
10324 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10325 if test "${ac_cv_lib_soname_GL+set}" = set; then
10326 echo $ECHO_N "(cached) $ECHO_C" >&6
10327 else
10328 ac_check_soname_save_LIBS=$LIBS
10329 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10330 cat >conftest.$ac_ext <<_ACEOF
10331 /* confdefs.h. */
10332 _ACEOF
10333 cat confdefs.h >>conftest.$ac_ext
10334 cat >>conftest.$ac_ext <<_ACEOF
10335 /* end confdefs.h. */
10337 /* Override any GCC internal prototype to avoid an error.
10338 Use char because int might match the return type of a GCC
10339 builtin and then its argument prototype would still apply. */
10340 #ifdef __cplusplus
10341 extern "C"
10342 #endif
10343 char glXCreateContext ();
10345 main ()
10347 return glXCreateContext ();
10349 return 0;
10351 _ACEOF
10352 rm -f conftest.$ac_objext conftest$ac_exeext
10353 if { (ac_try="$ac_link"
10354 case "(($ac_try" in
10355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10356 *) ac_try_echo=$ac_try;;
10357 esac
10358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10359 (eval "$ac_link") 2>conftest.er1
10360 ac_status=$?
10361 grep -v '^ *+' conftest.er1 >conftest.err
10362 rm -f conftest.er1
10363 cat conftest.err >&5
10364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365 (exit $ac_status); } && {
10366 test -z "$ac_c_werror_flag" ||
10367 test ! -s conftest.err
10368 } && test -s conftest$ac_exeext &&
10369 $as_test_x conftest$ac_exeext; then
10370 case "$LIBEXT" in
10371 dll) ;;
10372 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'` ;;
10373 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10374 esac
10375 else
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.$ac_ext >&5
10382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10383 conftest$ac_exeext conftest.$ac_ext
10384 LIBS=$ac_check_soname_save_LIBS
10386 if test "x$ac_cv_lib_soname_GL" = "x"; then
10387 { echo "$as_me:$LINENO: result: not found" >&5
10388 echo "${ECHO_T}not found" >&6; }
10389 if test -f /usr/X11R6/lib/libGL.a
10390 then
10391 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10392 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10393 else
10394 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10395 Wine will be build without OpenGL or Direct3D support."
10397 else
10398 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10399 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10401 cat >>confdefs.h <<_ACEOF
10402 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10403 _ACEOF
10405 OPENGL_LIBS="-lGL"
10406 OPENGLFILES='$(OPENGLFILES)'
10408 cat >>confdefs.h <<\_ACEOF
10409 #define HAVE_OPENGL 1
10410 _ACEOF
10415 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10416 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10417 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10418 echo $ECHO_N "(cached) $ECHO_C" >&6
10419 else
10420 ac_check_lib_save_LIBS=$LIBS
10421 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10422 cat >conftest.$ac_ext <<_ACEOF
10423 /* confdefs.h. */
10424 _ACEOF
10425 cat confdefs.h >>conftest.$ac_ext
10426 cat >>conftest.$ac_ext <<_ACEOF
10427 /* end confdefs.h. */
10429 /* Override any GCC internal prototype to avoid an error.
10430 Use char because int might match the return type of a GCC
10431 builtin and then its argument prototype would still apply. */
10432 #ifdef __cplusplus
10433 extern "C"
10434 #endif
10435 char gluLookAt ();
10437 main ()
10439 return gluLookAt ();
10441 return 0;
10443 _ACEOF
10444 rm -f conftest.$ac_objext conftest$ac_exeext
10445 if { (ac_try="$ac_link"
10446 case "(($ac_try" in
10447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10448 *) ac_try_echo=$ac_try;;
10449 esac
10450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10451 (eval "$ac_link") 2>conftest.er1
10452 ac_status=$?
10453 grep -v '^ *+' conftest.er1 >conftest.err
10454 rm -f conftest.er1
10455 cat conftest.err >&5
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); } && {
10458 test -z "$ac_c_werror_flag" ||
10459 test ! -s conftest.err
10460 } && test -s conftest$ac_exeext &&
10461 $as_test_x conftest$ac_exeext; then
10462 ac_cv_lib_GLU_gluLookAt=yes
10463 else
10464 echo "$as_me: failed program was:" >&5
10465 sed 's/^/| /' conftest.$ac_ext >&5
10467 ac_cv_lib_GLU_gluLookAt=no
10470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10471 conftest$ac_exeext conftest.$ac_ext
10472 LIBS=$ac_check_lib_save_LIBS
10474 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10475 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10476 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10477 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10478 GLU32FILES='$(GLU32FILES)'
10482 else
10483 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10484 Wine will be build without OpenGL or Direct3D support."
10486 else
10487 wine_warnings="$wine_warnings|OpenGL development headers not found.
10488 Wine will be build without OpenGL or Direct3D support."
10492 NASLIBS=""
10495 for ac_header in audio/audiolib.h
10497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10499 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10501 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10502 echo $ECHO_N "(cached) $ECHO_C" >&6
10504 ac_res=`eval echo '${'$as_ac_Header'}'`
10505 { echo "$as_me:$LINENO: result: $ac_res" >&5
10506 echo "${ECHO_T}$ac_res" >&6; }
10507 else
10508 # Is the header compilable?
10509 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10511 cat >conftest.$ac_ext <<_ACEOF
10512 /* confdefs.h. */
10513 _ACEOF
10514 cat confdefs.h >>conftest.$ac_ext
10515 cat >>conftest.$ac_ext <<_ACEOF
10516 /* end confdefs.h. */
10517 $ac_includes_default
10518 #include <$ac_header>
10519 _ACEOF
10520 rm -f conftest.$ac_objext
10521 if { (ac_try="$ac_compile"
10522 case "(($ac_try" in
10523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10524 *) ac_try_echo=$ac_try;;
10525 esac
10526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10527 (eval "$ac_compile") 2>conftest.er1
10528 ac_status=$?
10529 grep -v '^ *+' conftest.er1 >conftest.err
10530 rm -f conftest.er1
10531 cat conftest.err >&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); } && {
10534 test -z "$ac_c_werror_flag" ||
10535 test ! -s conftest.err
10536 } && test -s conftest.$ac_objext; then
10537 ac_header_compiler=yes
10538 else
10539 echo "$as_me: failed program was:" >&5
10540 sed 's/^/| /' conftest.$ac_ext >&5
10542 ac_header_compiler=no
10545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10546 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10547 echo "${ECHO_T}$ac_header_compiler" >&6; }
10549 # Is the header present?
10550 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10552 cat >conftest.$ac_ext <<_ACEOF
10553 /* confdefs.h. */
10554 _ACEOF
10555 cat confdefs.h >>conftest.$ac_ext
10556 cat >>conftest.$ac_ext <<_ACEOF
10557 /* end confdefs.h. */
10558 #include <$ac_header>
10559 _ACEOF
10560 if { (ac_try="$ac_cpp conftest.$ac_ext"
10561 case "(($ac_try" in
10562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10563 *) ac_try_echo=$ac_try;;
10564 esac
10565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10567 ac_status=$?
10568 grep -v '^ *+' conftest.er1 >conftest.err
10569 rm -f conftest.er1
10570 cat conftest.err >&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } >/dev/null && {
10573 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10574 test ! -s conftest.err
10575 }; then
10576 ac_header_preproc=yes
10577 else
10578 echo "$as_me: failed program was:" >&5
10579 sed 's/^/| /' conftest.$ac_ext >&5
10581 ac_header_preproc=no
10584 rm -f conftest.err conftest.$ac_ext
10585 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10586 echo "${ECHO_T}$ac_header_preproc" >&6; }
10588 # So? What about this header?
10589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10590 yes:no: )
10591 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10592 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10594 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10595 ac_header_preproc=yes
10597 no:yes:* )
10598 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10599 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10600 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10601 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10602 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10603 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10604 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10605 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10607 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10608 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10609 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10610 ( cat <<\_ASBOX
10611 ## ------------------------------------ ##
10612 ## Report this to wine-devel@winehq.org ##
10613 ## ------------------------------------ ##
10614 _ASBOX
10615 ) | sed "s/^/$as_me: WARNING: /" >&2
10617 esac
10618 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10621 echo $ECHO_N "(cached) $ECHO_C" >&6
10622 else
10623 eval "$as_ac_Header=\$ac_header_preproc"
10625 ac_res=`eval echo '${'$as_ac_Header'}'`
10626 { echo "$as_me:$LINENO: result: $ac_res" >&5
10627 echo "${ECHO_T}$ac_res" >&6; }
10630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10631 cat >>confdefs.h <<_ACEOF
10632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10633 _ACEOF
10635 for ac_header in audio/soundlib.h
10637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10638 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10641 echo $ECHO_N "(cached) $ECHO_C" >&6
10642 else
10643 cat >conftest.$ac_ext <<_ACEOF
10644 /* confdefs.h. */
10645 _ACEOF
10646 cat confdefs.h >>conftest.$ac_ext
10647 cat >>conftest.$ac_ext <<_ACEOF
10648 /* end confdefs.h. */
10649 #include <audio/audiolib.h>
10651 #include <$ac_header>
10652 _ACEOF
10653 rm -f conftest.$ac_objext
10654 if { (ac_try="$ac_compile"
10655 case "(($ac_try" in
10656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10657 *) ac_try_echo=$ac_try;;
10658 esac
10659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10660 (eval "$ac_compile") 2>conftest.er1
10661 ac_status=$?
10662 grep -v '^ *+' conftest.er1 >conftest.err
10663 rm -f conftest.er1
10664 cat conftest.err >&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); } && {
10667 test -z "$ac_c_werror_flag" ||
10668 test ! -s conftest.err
10669 } && test -s conftest.$ac_objext; then
10670 eval "$as_ac_Header=yes"
10671 else
10672 echo "$as_me: failed program was:" >&5
10673 sed 's/^/| /' conftest.$ac_ext >&5
10675 eval "$as_ac_Header=no"
10678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10680 ac_res=`eval echo '${'$as_ac_Header'}'`
10681 { echo "$as_me:$LINENO: result: $ac_res" >&5
10682 echo "${ECHO_T}$ac_res" >&6; }
10683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10684 cat >>confdefs.h <<_ACEOF
10685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10686 _ACEOF
10690 done
10692 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10693 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10694 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10695 echo $ECHO_N "(cached) $ECHO_C" >&6
10696 else
10697 ac_check_lib_save_LIBS=$LIBS
10698 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10699 cat >conftest.$ac_ext <<_ACEOF
10700 /* confdefs.h. */
10701 _ACEOF
10702 cat confdefs.h >>conftest.$ac_ext
10703 cat >>conftest.$ac_ext <<_ACEOF
10704 /* end confdefs.h. */
10706 /* Override any GCC internal prototype to avoid an error.
10707 Use char because int might match the return type of a GCC
10708 builtin and then its argument prototype would still apply. */
10709 #ifdef __cplusplus
10710 extern "C"
10711 #endif
10712 char AuCreateFlow ();
10714 main ()
10716 return AuCreateFlow ();
10718 return 0;
10720 _ACEOF
10721 rm -f conftest.$ac_objext conftest$ac_exeext
10722 if { (ac_try="$ac_link"
10723 case "(($ac_try" in
10724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10725 *) ac_try_echo=$ac_try;;
10726 esac
10727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10728 (eval "$ac_link") 2>conftest.er1
10729 ac_status=$?
10730 grep -v '^ *+' conftest.er1 >conftest.err
10731 rm -f conftest.er1
10732 cat conftest.err >&5
10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 (exit $ac_status); } && {
10735 test -z "$ac_c_werror_flag" ||
10736 test ! -s conftest.err
10737 } && test -s conftest$ac_exeext &&
10738 $as_test_x conftest$ac_exeext; then
10739 ac_cv_lib_audio_AuCreateFlow=yes
10740 else
10741 echo "$as_me: failed program was:" >&5
10742 sed 's/^/| /' conftest.$ac_ext >&5
10744 ac_cv_lib_audio_AuCreateFlow=no
10747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10748 conftest$ac_exeext conftest.$ac_ext
10749 LIBS=$ac_check_lib_save_LIBS
10751 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10752 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10753 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10755 cat >>confdefs.h <<\_ACEOF
10756 #define HAVE_NAS 1
10757 _ACEOF
10759 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10760 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10761 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10762 echo $ECHO_N "(cached) $ECHO_C" >&6
10763 else
10764 ac_check_lib_save_LIBS=$LIBS
10765 LIBS="-lXau $X_LIBS $LIBS"
10766 cat >conftest.$ac_ext <<_ACEOF
10767 /* confdefs.h. */
10768 _ACEOF
10769 cat confdefs.h >>conftest.$ac_ext
10770 cat >>conftest.$ac_ext <<_ACEOF
10771 /* end confdefs.h. */
10773 /* Override any GCC internal prototype to avoid an error.
10774 Use char because int might match the return type of a GCC
10775 builtin and then its argument prototype would still apply. */
10776 #ifdef __cplusplus
10777 extern "C"
10778 #endif
10779 char XauGetBestAuthByAddr ();
10781 main ()
10783 return XauGetBestAuthByAddr ();
10785 return 0;
10787 _ACEOF
10788 rm -f conftest.$ac_objext conftest$ac_exeext
10789 if { (ac_try="$ac_link"
10790 case "(($ac_try" in
10791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10792 *) ac_try_echo=$ac_try;;
10793 esac
10794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10795 (eval "$ac_link") 2>conftest.er1
10796 ac_status=$?
10797 grep -v '^ *+' conftest.er1 >conftest.err
10798 rm -f conftest.er1
10799 cat conftest.err >&5
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); } && {
10802 test -z "$ac_c_werror_flag" ||
10803 test ! -s conftest.err
10804 } && test -s conftest$ac_exeext &&
10805 $as_test_x conftest$ac_exeext; then
10806 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10807 else
10808 echo "$as_me: failed program was:" >&5
10809 sed 's/^/| /' conftest.$ac_ext >&5
10811 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10815 conftest$ac_exeext conftest.$ac_ext
10816 LIBS=$ac_check_lib_save_LIBS
10818 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10819 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10820 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10821 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10822 else
10823 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10831 done
10834 CPPFLAGS="$ac_save_CPPFLAGS"
10835 XFILES='$(XFILES)'
10836 else
10837 XLIB=""
10838 X_CFLAGS=""
10839 X_LIBS=""
10840 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10841 without X support, which probably isn't what you want. You will need to install
10842 development packages of Xlib/Xfree86 at the very least."
10846 XML2LIBS=""
10848 XML2INCL=""
10850 XSLTLIBS=""
10852 XSLTINCL=""
10854 ac_save_CPPFLAGS="$CPPFLAGS"
10855 if test "$PKG_CONFIG" != "false"
10856 then
10857 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10858 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10859 else
10860 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10861 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10863 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10865 for ac_header in libxml/parser.h
10867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 ac_res=`eval echo '${'$as_ac_Header'}'`
10875 { echo "$as_me:$LINENO: result: $ac_res" >&5
10876 echo "${ECHO_T}$ac_res" >&6; }
10877 else
10878 # Is the header compilable?
10879 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10881 cat >conftest.$ac_ext <<_ACEOF
10882 /* confdefs.h. */
10883 _ACEOF
10884 cat confdefs.h >>conftest.$ac_ext
10885 cat >>conftest.$ac_ext <<_ACEOF
10886 /* end confdefs.h. */
10887 $ac_includes_default
10888 #include <$ac_header>
10889 _ACEOF
10890 rm -f conftest.$ac_objext
10891 if { (ac_try="$ac_compile"
10892 case "(($ac_try" in
10893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10894 *) ac_try_echo=$ac_try;;
10895 esac
10896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10897 (eval "$ac_compile") 2>conftest.er1
10898 ac_status=$?
10899 grep -v '^ *+' conftest.er1 >conftest.err
10900 rm -f conftest.er1
10901 cat conftest.err >&5
10902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10903 (exit $ac_status); } && {
10904 test -z "$ac_c_werror_flag" ||
10905 test ! -s conftest.err
10906 } && test -s conftest.$ac_objext; then
10907 ac_header_compiler=yes
10908 else
10909 echo "$as_me: failed program was:" >&5
10910 sed 's/^/| /' conftest.$ac_ext >&5
10912 ac_header_compiler=no
10915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10916 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10917 echo "${ECHO_T}$ac_header_compiler" >&6; }
10919 # Is the header present?
10920 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10922 cat >conftest.$ac_ext <<_ACEOF
10923 /* confdefs.h. */
10924 _ACEOF
10925 cat confdefs.h >>conftest.$ac_ext
10926 cat >>conftest.$ac_ext <<_ACEOF
10927 /* end confdefs.h. */
10928 #include <$ac_header>
10929 _ACEOF
10930 if { (ac_try="$ac_cpp conftest.$ac_ext"
10931 case "(($ac_try" in
10932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10933 *) ac_try_echo=$ac_try;;
10934 esac
10935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10936 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10937 ac_status=$?
10938 grep -v '^ *+' conftest.er1 >conftest.err
10939 rm -f conftest.er1
10940 cat conftest.err >&5
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); } >/dev/null && {
10943 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10944 test ! -s conftest.err
10945 }; then
10946 ac_header_preproc=yes
10947 else
10948 echo "$as_me: failed program was:" >&5
10949 sed 's/^/| /' conftest.$ac_ext >&5
10951 ac_header_preproc=no
10954 rm -f conftest.err conftest.$ac_ext
10955 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10956 echo "${ECHO_T}$ac_header_preproc" >&6; }
10958 # So? What about this header?
10959 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10960 yes:no: )
10961 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10962 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10964 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10965 ac_header_preproc=yes
10967 no:yes:* )
10968 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10969 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10970 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10971 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10972 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10973 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10974 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10975 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10977 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10978 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10979 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10980 ( cat <<\_ASBOX
10981 ## ------------------------------------ ##
10982 ## Report this to wine-devel@winehq.org ##
10983 ## ------------------------------------ ##
10984 _ASBOX
10985 ) | sed "s/^/$as_me: WARNING: /" >&2
10987 esac
10988 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10991 echo $ECHO_N "(cached) $ECHO_C" >&6
10992 else
10993 eval "$as_ac_Header=\$ac_header_preproc"
10995 ac_res=`eval echo '${'$as_ac_Header'}'`
10996 { echo "$as_me:$LINENO: result: $ac_res" >&5
10997 echo "${ECHO_T}$ac_res" >&6; }
11000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11001 cat >>confdefs.h <<_ACEOF
11002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11003 _ACEOF
11004 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11005 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11006 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11007 echo $ECHO_N "(cached) $ECHO_C" >&6
11008 else
11009 ac_check_lib_save_LIBS=$LIBS
11010 LIBS="-lxml2 $ac_xml_libs $LIBS"
11011 cat >conftest.$ac_ext <<_ACEOF
11012 /* confdefs.h. */
11013 _ACEOF
11014 cat confdefs.h >>conftest.$ac_ext
11015 cat >>conftest.$ac_ext <<_ACEOF
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11021 #ifdef __cplusplus
11022 extern "C"
11023 #endif
11024 char xmlParseMemory ();
11026 main ()
11028 return xmlParseMemory ();
11030 return 0;
11032 _ACEOF
11033 rm -f conftest.$ac_objext conftest$ac_exeext
11034 if { (ac_try="$ac_link"
11035 case "(($ac_try" in
11036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11037 *) ac_try_echo=$ac_try;;
11038 esac
11039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11040 (eval "$ac_link") 2>conftest.er1
11041 ac_status=$?
11042 grep -v '^ *+' conftest.er1 >conftest.err
11043 rm -f conftest.er1
11044 cat conftest.err >&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); } && {
11047 test -z "$ac_c_werror_flag" ||
11048 test ! -s conftest.err
11049 } && test -s conftest$ac_exeext &&
11050 $as_test_x conftest$ac_exeext; then
11051 ac_cv_lib_xml2_xmlParseMemory=yes
11052 else
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.$ac_ext >&5
11056 ac_cv_lib_xml2_xmlParseMemory=no
11059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11060 conftest$ac_exeext conftest.$ac_ext
11061 LIBS=$ac_check_lib_save_LIBS
11063 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11064 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11065 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11067 cat >>confdefs.h <<\_ACEOF
11068 #define HAVE_LIBXML2 1
11069 _ACEOF
11071 XML2LIBS="$ac_xml_libs"
11072 XML2INCL="$ac_xml_cflags"
11075 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11076 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11077 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11078 echo $ECHO_N "(cached) $ECHO_C" >&6
11079 else
11080 ac_check_lib_save_LIBS=$LIBS
11081 LIBS="-lxml2 $ac_xml_libs $LIBS"
11082 cat >conftest.$ac_ext <<_ACEOF
11083 /* confdefs.h. */
11084 _ACEOF
11085 cat confdefs.h >>conftest.$ac_ext
11086 cat >>conftest.$ac_ext <<_ACEOF
11087 /* end confdefs.h. */
11089 /* Override any GCC internal prototype to avoid an error.
11090 Use char because int might match the return type of a GCC
11091 builtin and then its argument prototype would still apply. */
11092 #ifdef __cplusplus
11093 extern "C"
11094 #endif
11095 char xmlReadMemory ();
11097 main ()
11099 return xmlReadMemory ();
11101 return 0;
11103 _ACEOF
11104 rm -f conftest.$ac_objext conftest$ac_exeext
11105 if { (ac_try="$ac_link"
11106 case "(($ac_try" in
11107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11108 *) ac_try_echo=$ac_try;;
11109 esac
11110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11111 (eval "$ac_link") 2>conftest.er1
11112 ac_status=$?
11113 grep -v '^ *+' conftest.er1 >conftest.err
11114 rm -f conftest.er1
11115 cat conftest.err >&5
11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117 (exit $ac_status); } && {
11118 test -z "$ac_c_werror_flag" ||
11119 test ! -s conftest.err
11120 } && test -s conftest$ac_exeext &&
11121 $as_test_x conftest$ac_exeext; then
11122 ac_cv_lib_xml2_xmlReadMemory=yes
11123 else
11124 echo "$as_me: failed program was:" >&5
11125 sed 's/^/| /' conftest.$ac_ext >&5
11127 ac_cv_lib_xml2_xmlReadMemory=no
11130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11131 conftest$ac_exeext conftest.$ac_ext
11132 LIBS=$ac_check_lib_save_LIBS
11134 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11135 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11136 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11138 cat >>confdefs.h <<\_ACEOF
11139 #define HAVE_XMLREADMEMORY 1
11140 _ACEOF
11144 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11145 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11146 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11147 echo $ECHO_N "(cached) $ECHO_C" >&6
11148 else
11149 ac_check_lib_save_LIBS=$LIBS
11150 LIBS="-lxml2 $ac_xml_libs $LIBS"
11151 cat >conftest.$ac_ext <<_ACEOF
11152 /* confdefs.h. */
11153 _ACEOF
11154 cat confdefs.h >>conftest.$ac_ext
11155 cat >>conftest.$ac_ext <<_ACEOF
11156 /* end confdefs.h. */
11158 /* Override any GCC internal prototype to avoid an error.
11159 Use char because int might match the return type of a GCC
11160 builtin and then its argument prototype would still apply. */
11161 #ifdef __cplusplus
11162 extern "C"
11163 #endif
11164 char xmlNewDocPI ();
11166 main ()
11168 return xmlNewDocPI ();
11170 return 0;
11172 _ACEOF
11173 rm -f conftest.$ac_objext conftest$ac_exeext
11174 if { (ac_try="$ac_link"
11175 case "(($ac_try" in
11176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11177 *) ac_try_echo=$ac_try;;
11178 esac
11179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11180 (eval "$ac_link") 2>conftest.er1
11181 ac_status=$?
11182 grep -v '^ *+' conftest.er1 >conftest.err
11183 rm -f conftest.er1
11184 cat conftest.err >&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); } && {
11187 test -z "$ac_c_werror_flag" ||
11188 test ! -s conftest.err
11189 } && test -s conftest$ac_exeext &&
11190 $as_test_x conftest$ac_exeext; then
11191 ac_cv_lib_xml2_xmlNewDocPI=yes
11192 else
11193 echo "$as_me: failed program was:" >&5
11194 sed 's/^/| /' conftest.$ac_ext >&5
11196 ac_cv_lib_xml2_xmlNewDocPI=no
11199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11200 conftest$ac_exeext conftest.$ac_ext
11201 LIBS=$ac_check_lib_save_LIBS
11203 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11204 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11205 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11207 cat >>confdefs.h <<\_ACEOF
11208 #define HAVE_XMLNEWDOCPI 1
11209 _ACEOF
11216 done
11218 CPPFLAGS="$ac_save_CPPFLAGS"
11219 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11220 wine_notices="$wine_notices|libxml2 development files not found.
11221 Wine will be built without XML support. (msxml.dll)"
11225 if test "$PKG_CONFIG" != "false"
11226 then
11227 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11228 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11229 else
11230 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11231 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11233 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11236 for ac_header in libxslt/pattern.h libxslt/transform.h
11238 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11243 else
11244 cat >conftest.$ac_ext <<_ACEOF
11245 /* confdefs.h. */
11246 _ACEOF
11247 cat confdefs.h >>conftest.$ac_ext
11248 cat >>conftest.$ac_ext <<_ACEOF
11249 /* end confdefs.h. */
11250 #ifdef HAVE_LIBXSLT_PATTERN_H
11251 # include <libxslt/pattern.h>
11252 #endif
11254 #include <$ac_header>
11255 _ACEOF
11256 rm -f conftest.$ac_objext
11257 if { (ac_try="$ac_compile"
11258 case "(($ac_try" in
11259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11260 *) ac_try_echo=$ac_try;;
11261 esac
11262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11263 (eval "$ac_compile") 2>conftest.er1
11264 ac_status=$?
11265 grep -v '^ *+' conftest.er1 >conftest.err
11266 rm -f conftest.er1
11267 cat conftest.err >&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } && {
11270 test -z "$ac_c_werror_flag" ||
11271 test ! -s conftest.err
11272 } && test -s conftest.$ac_objext; then
11273 eval "$as_ac_Header=yes"
11274 else
11275 echo "$as_me: failed program was:" >&5
11276 sed 's/^/| /' conftest.$ac_ext >&5
11278 eval "$as_ac_Header=no"
11281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11283 ac_res=`eval echo '${'$as_ac_Header'}'`
11284 { echo "$as_me:$LINENO: result: $ac_res" >&5
11285 echo "${ECHO_T}$ac_res" >&6; }
11286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11287 cat >>confdefs.h <<_ACEOF
11288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11289 _ACEOF
11290 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11291 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11292 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11293 echo $ECHO_N "(cached) $ECHO_C" >&6
11294 else
11295 ac_check_lib_save_LIBS=$LIBS
11296 LIBS="-lxslt $ac_xslt_libs $LIBS"
11297 cat >conftest.$ac_ext <<_ACEOF
11298 /* confdefs.h. */
11299 _ACEOF
11300 cat confdefs.h >>conftest.$ac_ext
11301 cat >>conftest.$ac_ext <<_ACEOF
11302 /* end confdefs.h. */
11304 /* Override any GCC internal prototype to avoid an error.
11305 Use char because int might match the return type of a GCC
11306 builtin and then its argument prototype would still apply. */
11307 #ifdef __cplusplus
11308 extern "C"
11309 #endif
11310 char xsltCompilePattern ();
11312 main ()
11314 return xsltCompilePattern ();
11316 return 0;
11318 _ACEOF
11319 rm -f conftest.$ac_objext conftest$ac_exeext
11320 if { (ac_try="$ac_link"
11321 case "(($ac_try" in
11322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11323 *) ac_try_echo=$ac_try;;
11324 esac
11325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11326 (eval "$ac_link") 2>conftest.er1
11327 ac_status=$?
11328 grep -v '^ *+' conftest.er1 >conftest.err
11329 rm -f conftest.er1
11330 cat conftest.err >&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); } && {
11333 test -z "$ac_c_werror_flag" ||
11334 test ! -s conftest.err
11335 } && test -s conftest$ac_exeext &&
11336 $as_test_x conftest$ac_exeext; then
11337 ac_cv_lib_xslt_xsltCompilePattern=yes
11338 else
11339 echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.$ac_ext >&5
11342 ac_cv_lib_xslt_xsltCompilePattern=no
11345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11346 conftest$ac_exeext conftest.$ac_ext
11347 LIBS=$ac_check_lib_save_LIBS
11349 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11350 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11351 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11353 cat >>confdefs.h <<\_ACEOF
11354 #define HAVE_LIBXSLT 1
11355 _ACEOF
11357 XSLTLIBS="$ac_xslt_libs"
11358 XSLTINCL="$ac_xslt_cflags"
11364 done
11366 CPPFLAGS="$ac_save_CPPFLAGS"
11367 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11368 wine_notices="$wine_notices|libxslt development files not found.
11369 Wine will be built without xslt support. (msxml.dll)"
11373 HALINCL=""
11375 if test "$PKG_CONFIG" != "false"
11376 then
11377 ac_save_CPPFLAGS="$CPPFLAGS"
11378 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11379 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11380 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11383 for ac_header in dbus/dbus.h hal/libhal.h
11385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11386 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11387 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11389 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11392 ac_res=`eval echo '${'$as_ac_Header'}'`
11393 { echo "$as_me:$LINENO: result: $ac_res" >&5
11394 echo "${ECHO_T}$ac_res" >&6; }
11395 else
11396 # Is the header compilable?
11397 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11398 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11399 cat >conftest.$ac_ext <<_ACEOF
11400 /* confdefs.h. */
11401 _ACEOF
11402 cat confdefs.h >>conftest.$ac_ext
11403 cat >>conftest.$ac_ext <<_ACEOF
11404 /* end confdefs.h. */
11405 $ac_includes_default
11406 #include <$ac_header>
11407 _ACEOF
11408 rm -f conftest.$ac_objext
11409 if { (ac_try="$ac_compile"
11410 case "(($ac_try" in
11411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11412 *) ac_try_echo=$ac_try;;
11413 esac
11414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11415 (eval "$ac_compile") 2>conftest.er1
11416 ac_status=$?
11417 grep -v '^ *+' conftest.er1 >conftest.err
11418 rm -f conftest.er1
11419 cat conftest.err >&5
11420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11421 (exit $ac_status); } && {
11422 test -z "$ac_c_werror_flag" ||
11423 test ! -s conftest.err
11424 } && test -s conftest.$ac_objext; then
11425 ac_header_compiler=yes
11426 else
11427 echo "$as_me: failed program was:" >&5
11428 sed 's/^/| /' conftest.$ac_ext >&5
11430 ac_header_compiler=no
11433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11434 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11435 echo "${ECHO_T}$ac_header_compiler" >&6; }
11437 # Is the header present?
11438 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11439 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11440 cat >conftest.$ac_ext <<_ACEOF
11441 /* confdefs.h. */
11442 _ACEOF
11443 cat confdefs.h >>conftest.$ac_ext
11444 cat >>conftest.$ac_ext <<_ACEOF
11445 /* end confdefs.h. */
11446 #include <$ac_header>
11447 _ACEOF
11448 if { (ac_try="$ac_cpp conftest.$ac_ext"
11449 case "(($ac_try" in
11450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11451 *) ac_try_echo=$ac_try;;
11452 esac
11453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11454 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11455 ac_status=$?
11456 grep -v '^ *+' conftest.er1 >conftest.err
11457 rm -f conftest.er1
11458 cat conftest.err >&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); } >/dev/null && {
11461 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11462 test ! -s conftest.err
11463 }; then
11464 ac_header_preproc=yes
11465 else
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.$ac_ext >&5
11469 ac_header_preproc=no
11472 rm -f conftest.err conftest.$ac_ext
11473 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11474 echo "${ECHO_T}$ac_header_preproc" >&6; }
11476 # So? What about this header?
11477 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11478 yes:no: )
11479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11482 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11483 ac_header_preproc=yes
11485 no:yes:* )
11486 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11487 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11488 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11489 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11490 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11491 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11492 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11493 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11496 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11497 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11498 ( cat <<\_ASBOX
11499 ## ------------------------------------ ##
11500 ## Report this to wine-devel@winehq.org ##
11501 ## ------------------------------------ ##
11502 _ASBOX
11503 ) | sed "s/^/$as_me: WARNING: /" >&2
11505 esac
11506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11509 echo $ECHO_N "(cached) $ECHO_C" >&6
11510 else
11511 eval "$as_ac_Header=\$ac_header_preproc"
11513 ac_res=`eval echo '${'$as_ac_Header'}'`
11514 { echo "$as_me:$LINENO: result: $ac_res" >&5
11515 echo "${ECHO_T}$ac_res" >&6; }
11518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11519 cat >>confdefs.h <<_ACEOF
11520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11521 _ACEOF
11525 done
11527 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11528 then
11529 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11530 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11531 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11532 echo $ECHO_N "(cached) $ECHO_C" >&6
11533 else
11534 ac_check_lib_save_LIBS=$LIBS
11535 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11536 cat >conftest.$ac_ext <<_ACEOF
11537 /* confdefs.h. */
11538 _ACEOF
11539 cat confdefs.h >>conftest.$ac_ext
11540 cat >>conftest.$ac_ext <<_ACEOF
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11546 #ifdef __cplusplus
11547 extern "C"
11548 #endif
11549 char dbus_connection_close ();
11551 main ()
11553 return dbus_connection_close ();
11555 return 0;
11557 _ACEOF
11558 rm -f conftest.$ac_objext conftest$ac_exeext
11559 if { (ac_try="$ac_link"
11560 case "(($ac_try" in
11561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11562 *) ac_try_echo=$ac_try;;
11563 esac
11564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11565 (eval "$ac_link") 2>conftest.er1
11566 ac_status=$?
11567 grep -v '^ *+' conftest.er1 >conftest.err
11568 rm -f conftest.er1
11569 cat conftest.err >&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); } && {
11572 test -z "$ac_c_werror_flag" ||
11573 test ! -s conftest.err
11574 } && test -s conftest$ac_exeext &&
11575 $as_test_x conftest$ac_exeext; then
11576 ac_cv_lib_dbus_1_dbus_connection_close=yes
11577 else
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.$ac_ext >&5
11581 ac_cv_lib_dbus_1_dbus_connection_close=no
11584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11585 conftest$ac_exeext conftest.$ac_ext
11586 LIBS=$ac_check_lib_save_LIBS
11588 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11589 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11590 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11591 { echo "$as_me:$LINENO: checking for -lhal" >&5
11592 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11593 if test "${ac_cv_lib_soname_hal+set}" = set; then
11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11595 else
11596 ac_check_soname_save_LIBS=$LIBS
11597 LIBS="-lhal $ac_hal_libs $LIBS"
11598 cat >conftest.$ac_ext <<_ACEOF
11599 /* confdefs.h. */
11600 _ACEOF
11601 cat confdefs.h >>conftest.$ac_ext
11602 cat >>conftest.$ac_ext <<_ACEOF
11603 /* end confdefs.h. */
11605 /* Override any GCC internal prototype to avoid an error.
11606 Use char because int might match the return type of a GCC
11607 builtin and then its argument prototype would still apply. */
11608 #ifdef __cplusplus
11609 extern "C"
11610 #endif
11611 char libhal_ctx_new ();
11613 main ()
11615 return libhal_ctx_new ();
11617 return 0;
11619 _ACEOF
11620 rm -f conftest.$ac_objext conftest$ac_exeext
11621 if { (ac_try="$ac_link"
11622 case "(($ac_try" in
11623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11624 *) ac_try_echo=$ac_try;;
11625 esac
11626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11627 (eval "$ac_link") 2>conftest.er1
11628 ac_status=$?
11629 grep -v '^ *+' conftest.er1 >conftest.err
11630 rm -f conftest.er1
11631 cat conftest.err >&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); } && {
11634 test -z "$ac_c_werror_flag" ||
11635 test ! -s conftest.err
11636 } && test -s conftest$ac_exeext &&
11637 $as_test_x conftest$ac_exeext; then
11638 case "$LIBEXT" in
11639 dll) ;;
11640 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'` ;;
11641 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11642 esac
11643 else
11644 echo "$as_me: failed program was:" >&5
11645 sed 's/^/| /' conftest.$ac_ext >&5
11650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11651 conftest$ac_exeext conftest.$ac_ext
11652 LIBS=$ac_check_soname_save_LIBS
11654 if test "x$ac_cv_lib_soname_hal" = "x"; then
11655 { echo "$as_me:$LINENO: result: not found" >&5
11656 echo "${ECHO_T}not found" >&6; }
11658 else
11659 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11660 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11662 cat >>confdefs.h <<_ACEOF
11663 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11664 _ACEOF
11666 HALINCL="$ac_hal_cflags"
11672 CPPFLAGS="$ac_save_CPPFLAGS"
11674 if test "x$ac_cv_lib_soname_hal" = "x"; then
11675 wine_notices="$wine_notices|libhal development files not found.
11676 Wine will be built without dynamic device support. (explorer.exe)"
11680 CURSESLIBS=""
11681 if test "$ac_cv_header_ncurses_h" = "yes"
11682 then
11683 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11684 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11685 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11686 echo $ECHO_N "(cached) $ECHO_C" >&6
11687 else
11688 ac_check_soname_save_LIBS=$LIBS
11689 LIBS="-lncurses $LIBS"
11690 cat >conftest.$ac_ext <<_ACEOF
11691 /* confdefs.h. */
11692 _ACEOF
11693 cat confdefs.h >>conftest.$ac_ext
11694 cat >>conftest.$ac_ext <<_ACEOF
11695 /* end confdefs.h. */
11697 /* Override any GCC internal prototype to avoid an error.
11698 Use char because int might match the return type of a GCC
11699 builtin and then its argument prototype would still apply. */
11700 #ifdef __cplusplus
11701 extern "C"
11702 #endif
11703 char waddch ();
11705 main ()
11707 return waddch ();
11709 return 0;
11711 _ACEOF
11712 rm -f conftest.$ac_objext conftest$ac_exeext
11713 if { (ac_try="$ac_link"
11714 case "(($ac_try" in
11715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11716 *) ac_try_echo=$ac_try;;
11717 esac
11718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11719 (eval "$ac_link") 2>conftest.er1
11720 ac_status=$?
11721 grep -v '^ *+' conftest.er1 >conftest.err
11722 rm -f conftest.er1
11723 cat conftest.err >&5
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); } && {
11726 test -z "$ac_c_werror_flag" ||
11727 test ! -s conftest.err
11728 } && test -s conftest$ac_exeext &&
11729 $as_test_x conftest$ac_exeext; then
11730 case "$LIBEXT" in
11731 dll) ;;
11732 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'` ;;
11733 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11734 esac
11735 else
11736 echo "$as_me: failed program was:" >&5
11737 sed 's/^/| /' conftest.$ac_ext >&5
11742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11743 conftest$ac_exeext conftest.$ac_ext
11744 LIBS=$ac_check_soname_save_LIBS
11746 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11747 { echo "$as_me:$LINENO: result: not found" >&5
11748 echo "${ECHO_T}not found" >&6; }
11750 else
11751 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11752 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11754 cat >>confdefs.h <<_ACEOF
11755 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11756 _ACEOF
11758 CURSESLIBS="-lncurses"
11761 elif test "$ac_cv_header_curses_h" = "yes"
11762 then
11763 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11764 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11765 if test "${ac_cv_lib_soname_curses+set}" = set; then
11766 echo $ECHO_N "(cached) $ECHO_C" >&6
11767 else
11768 ac_check_soname_save_LIBS=$LIBS
11769 LIBS="-lcurses $LIBS"
11770 cat >conftest.$ac_ext <<_ACEOF
11771 /* confdefs.h. */
11772 _ACEOF
11773 cat confdefs.h >>conftest.$ac_ext
11774 cat >>conftest.$ac_ext <<_ACEOF
11775 /* end confdefs.h. */
11777 /* Override any GCC internal prototype to avoid an error.
11778 Use char because int might match the return type of a GCC
11779 builtin and then its argument prototype would still apply. */
11780 #ifdef __cplusplus
11781 extern "C"
11782 #endif
11783 char waddch ();
11785 main ()
11787 return waddch ();
11789 return 0;
11791 _ACEOF
11792 rm -f conftest.$ac_objext conftest$ac_exeext
11793 if { (ac_try="$ac_link"
11794 case "(($ac_try" in
11795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11796 *) ac_try_echo=$ac_try;;
11797 esac
11798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11799 (eval "$ac_link") 2>conftest.er1
11800 ac_status=$?
11801 grep -v '^ *+' conftest.er1 >conftest.err
11802 rm -f conftest.er1
11803 cat conftest.err >&5
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); } && {
11806 test -z "$ac_c_werror_flag" ||
11807 test ! -s conftest.err
11808 } && test -s conftest$ac_exeext &&
11809 $as_test_x conftest$ac_exeext; then
11810 case "$LIBEXT" in
11811 dll) ;;
11812 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'` ;;
11813 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11814 esac
11815 else
11816 echo "$as_me: failed program was:" >&5
11817 sed 's/^/| /' conftest.$ac_ext >&5
11822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11823 conftest$ac_exeext conftest.$ac_ext
11824 LIBS=$ac_check_soname_save_LIBS
11826 if test "x$ac_cv_lib_soname_curses" = "x"; then
11827 { echo "$as_me:$LINENO: result: not found" >&5
11828 echo "${ECHO_T}not found" >&6; }
11830 else
11831 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11832 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11834 cat >>confdefs.h <<_ACEOF
11835 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11836 _ACEOF
11838 CURSESLIBS="-lcurses"
11842 ac_save_LIBS="$LIBS"
11843 LIBS="$LIBS $CURSESLIBS"
11845 for ac_func in mousemask
11847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11851 echo $ECHO_N "(cached) $ECHO_C" >&6
11852 else
11853 cat >conftest.$ac_ext <<_ACEOF
11854 /* confdefs.h. */
11855 _ACEOF
11856 cat confdefs.h >>conftest.$ac_ext
11857 cat >>conftest.$ac_ext <<_ACEOF
11858 /* end confdefs.h. */
11859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11861 #define $ac_func innocuous_$ac_func
11863 /* System header to define __stub macros and hopefully few prototypes,
11864 which can conflict with char $ac_func (); below.
11865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11866 <limits.h> exists even on freestanding compilers. */
11868 #ifdef __STDC__
11869 # include <limits.h>
11870 #else
11871 # include <assert.h>
11872 #endif
11874 #undef $ac_func
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11879 #ifdef __cplusplus
11880 extern "C"
11881 #endif
11882 char $ac_func ();
11883 /* The GNU C library defines this for functions which it implements
11884 to always fail with ENOSYS. Some functions are actually named
11885 something starting with __ and the normal name is an alias. */
11886 #if defined __stub_$ac_func || defined __stub___$ac_func
11887 choke me
11888 #endif
11891 main ()
11893 return $ac_func ();
11895 return 0;
11897 _ACEOF
11898 rm -f conftest.$ac_objext conftest$ac_exeext
11899 if { (ac_try="$ac_link"
11900 case "(($ac_try" in
11901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11902 *) ac_try_echo=$ac_try;;
11903 esac
11904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11905 (eval "$ac_link") 2>conftest.er1
11906 ac_status=$?
11907 grep -v '^ *+' conftest.er1 >conftest.err
11908 rm -f conftest.er1
11909 cat conftest.err >&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } && {
11912 test -z "$ac_c_werror_flag" ||
11913 test ! -s conftest.err
11914 } && test -s conftest$ac_exeext &&
11915 $as_test_x conftest$ac_exeext; then
11916 eval "$as_ac_var=yes"
11917 else
11918 echo "$as_me: failed program was:" >&5
11919 sed 's/^/| /' conftest.$ac_ext >&5
11921 eval "$as_ac_var=no"
11924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11925 conftest$ac_exeext conftest.$ac_ext
11927 ac_res=`eval echo '${'$as_ac_var'}'`
11928 { echo "$as_me:$LINENO: result: $ac_res" >&5
11929 echo "${ECHO_T}$ac_res" >&6; }
11930 if test `eval echo '${'$as_ac_var'}'` = yes; then
11931 cat >>confdefs.h <<_ACEOF
11932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11933 _ACEOF
11936 done
11938 LIBS="$ac_save_LIBS"
11939 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11940 wine_notices="$wine_notices|lib(n)curses development files not found.
11941 Wine will be built without (n)curses support. (wineconsole.exe)"
11945 # Extract the first word of "sane-config", so it can be a program name with args.
11946 set dummy sane-config; ac_word=$2
11947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11949 if test "${ac_cv_prog_sane_devel+set}" = set; then
11950 echo $ECHO_N "(cached) $ECHO_C" >&6
11951 else
11952 if test -n "$sane_devel"; then
11953 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11954 else
11955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11956 for as_dir in $PATH
11958 IFS=$as_save_IFS
11959 test -z "$as_dir" && as_dir=.
11960 for ac_exec_ext in '' $ac_executable_extensions; do
11961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11962 ac_cv_prog_sane_devel="sane-config"
11963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11964 break 2
11966 done
11967 done
11968 IFS=$as_save_IFS
11970 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11973 sane_devel=$ac_cv_prog_sane_devel
11974 if test -n "$sane_devel"; then
11975 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11976 echo "${ECHO_T}$sane_devel" >&6; }
11977 else
11978 { echo "$as_me:$LINENO: result: no" >&5
11979 echo "${ECHO_T}no" >&6; }
11983 if test "$sane_devel" != "no"
11984 then
11985 ac_sane_incl="`$sane_devel --cflags`"
11986 ac_save_CPPFLAGS="$CPPFLAGS"
11987 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
11988 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11989 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11990 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11991 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11992 echo $ECHO_N "(cached) $ECHO_C" >&6
11994 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11995 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11996 else
11997 # Is the header compilable?
11998 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11999 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12000 cat >conftest.$ac_ext <<_ACEOF
12001 /* confdefs.h. */
12002 _ACEOF
12003 cat confdefs.h >>conftest.$ac_ext
12004 cat >>conftest.$ac_ext <<_ACEOF
12005 /* end confdefs.h. */
12006 $ac_includes_default
12007 #include <sane/sane.h>
12008 _ACEOF
12009 rm -f conftest.$ac_objext
12010 if { (ac_try="$ac_compile"
12011 case "(($ac_try" in
12012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12013 *) ac_try_echo=$ac_try;;
12014 esac
12015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12016 (eval "$ac_compile") 2>conftest.er1
12017 ac_status=$?
12018 grep -v '^ *+' conftest.er1 >conftest.err
12019 rm -f conftest.er1
12020 cat conftest.err >&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); } && {
12023 test -z "$ac_c_werror_flag" ||
12024 test ! -s conftest.err
12025 } && test -s conftest.$ac_objext; then
12026 ac_header_compiler=yes
12027 else
12028 echo "$as_me: failed program was:" >&5
12029 sed 's/^/| /' conftest.$ac_ext >&5
12031 ac_header_compiler=no
12034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12035 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12036 echo "${ECHO_T}$ac_header_compiler" >&6; }
12038 # Is the header present?
12039 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12040 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12041 cat >conftest.$ac_ext <<_ACEOF
12042 /* confdefs.h. */
12043 _ACEOF
12044 cat confdefs.h >>conftest.$ac_ext
12045 cat >>conftest.$ac_ext <<_ACEOF
12046 /* end confdefs.h. */
12047 #include <sane/sane.h>
12048 _ACEOF
12049 if { (ac_try="$ac_cpp conftest.$ac_ext"
12050 case "(($ac_try" in
12051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12052 *) ac_try_echo=$ac_try;;
12053 esac
12054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12055 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12056 ac_status=$?
12057 grep -v '^ *+' conftest.er1 >conftest.err
12058 rm -f conftest.er1
12059 cat conftest.err >&5
12060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12061 (exit $ac_status); } >/dev/null && {
12062 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12063 test ! -s conftest.err
12064 }; then
12065 ac_header_preproc=yes
12066 else
12067 echo "$as_me: failed program was:" >&5
12068 sed 's/^/| /' conftest.$ac_ext >&5
12070 ac_header_preproc=no
12073 rm -f conftest.err conftest.$ac_ext
12074 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12075 echo "${ECHO_T}$ac_header_preproc" >&6; }
12077 # So? What about this header?
12078 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12079 yes:no: )
12080 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12081 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12082 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12083 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12084 ac_header_preproc=yes
12086 no:yes:* )
12087 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12088 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12089 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12090 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12091 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12092 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12093 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12094 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12095 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12096 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12097 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12098 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12099 ( cat <<\_ASBOX
12100 ## ------------------------------------ ##
12101 ## Report this to wine-devel@winehq.org ##
12102 ## ------------------------------------ ##
12103 _ASBOX
12104 ) | sed "s/^/$as_me: WARNING: /" >&2
12106 esac
12107 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12108 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12109 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12110 echo $ECHO_N "(cached) $ECHO_C" >&6
12111 else
12112 ac_cv_header_sane_sane_h=$ac_header_preproc
12114 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12115 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12118 if test $ac_cv_header_sane_sane_h = yes; then
12119 { echo "$as_me:$LINENO: checking for -lsane" >&5
12120 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12121 if test "${ac_cv_lib_soname_sane+set}" = set; then
12122 echo $ECHO_N "(cached) $ECHO_C" >&6
12123 else
12124 ac_check_soname_save_LIBS=$LIBS
12125 LIBS="-lsane $LIBS"
12126 cat >conftest.$ac_ext <<_ACEOF
12127 /* confdefs.h. */
12128 _ACEOF
12129 cat confdefs.h >>conftest.$ac_ext
12130 cat >>conftest.$ac_ext <<_ACEOF
12131 /* end confdefs.h. */
12133 /* Override any GCC internal prototype to avoid an error.
12134 Use char because int might match the return type of a GCC
12135 builtin and then its argument prototype would still apply. */
12136 #ifdef __cplusplus
12137 extern "C"
12138 #endif
12139 char sane_init ();
12141 main ()
12143 return sane_init ();
12145 return 0;
12147 _ACEOF
12148 rm -f conftest.$ac_objext conftest$ac_exeext
12149 if { (ac_try="$ac_link"
12150 case "(($ac_try" in
12151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12152 *) ac_try_echo=$ac_try;;
12153 esac
12154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12155 (eval "$ac_link") 2>conftest.er1
12156 ac_status=$?
12157 grep -v '^ *+' conftest.er1 >conftest.err
12158 rm -f conftest.er1
12159 cat conftest.err >&5
12160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); } && {
12162 test -z "$ac_c_werror_flag" ||
12163 test ! -s conftest.err
12164 } && test -s conftest$ac_exeext &&
12165 $as_test_x conftest$ac_exeext; then
12166 case "$LIBEXT" in
12167 dll) ;;
12168 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'` ;;
12169 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12170 esac
12171 else
12172 echo "$as_me: failed program was:" >&5
12173 sed 's/^/| /' conftest.$ac_ext >&5
12178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12179 conftest$ac_exeext conftest.$ac_ext
12180 LIBS=$ac_check_soname_save_LIBS
12182 if test "x$ac_cv_lib_soname_sane" = "x"; then
12183 { echo "$as_me:$LINENO: result: not found" >&5
12184 echo "${ECHO_T}not found" >&6; }
12186 else
12187 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12188 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12190 cat >>confdefs.h <<_ACEOF
12191 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12192 _ACEOF
12194 SANEINCL="$ac_sane_incl"
12201 CPPFLAGS="$ac_save_CPPFLAGS"
12203 if test "x$ac_cv_lib_soname_sane" = "x"; then
12204 wine_notices="$wine_notices|libsane development files not found.
12205 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12209 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12210 set dummy gphoto2-config; ac_word=$2
12211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12213 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12214 echo $ECHO_N "(cached) $ECHO_C" >&6
12215 else
12216 if test -n "$gphoto2_devel"; then
12217 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12218 else
12219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12220 for as_dir in $PATH
12222 IFS=$as_save_IFS
12223 test -z "$as_dir" && as_dir=.
12224 for ac_exec_ext in '' $ac_executable_extensions; do
12225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12226 ac_cv_prog_gphoto2_devel="gphoto2-config"
12227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12228 break 2
12230 done
12231 done
12232 IFS=$as_save_IFS
12234 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12237 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12238 if test -n "$gphoto2_devel"; then
12239 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12240 echo "${ECHO_T}$gphoto2_devel" >&6; }
12241 else
12242 { echo "$as_me:$LINENO: result: no" >&5
12243 echo "${ECHO_T}no" >&6; }
12247 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12248 set dummy gphoto2-port-config; ac_word=$2
12249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12251 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12252 echo $ECHO_N "(cached) $ECHO_C" >&6
12253 else
12254 if test -n "$gphoto2port_devel"; then
12255 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12256 else
12257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12258 for as_dir in $PATH
12260 IFS=$as_save_IFS
12261 test -z "$as_dir" && as_dir=.
12262 for ac_exec_ext in '' $ac_executable_extensions; do
12263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12264 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12266 break 2
12268 done
12269 done
12270 IFS=$as_save_IFS
12272 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12275 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12276 if test -n "$gphoto2port_devel"; then
12277 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12278 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12279 else
12280 { echo "$as_me:$LINENO: result: no" >&5
12281 echo "${ECHO_T}no" >&6; }
12285 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12286 then
12287 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12288 ac_gphoto2_libs=""
12289 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12291 case "$i" in
12292 -L/usr/lib|-L/usr/lib64) ;;
12293 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12294 esac
12295 done
12296 ac_save_CPPFLAGS="$CPPFLAGS"
12297 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12298 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12299 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12300 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12301 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12304 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12305 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12306 else
12307 # Is the header compilable?
12308 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12309 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12310 cat >conftest.$ac_ext <<_ACEOF
12311 /* confdefs.h. */
12312 _ACEOF
12313 cat confdefs.h >>conftest.$ac_ext
12314 cat >>conftest.$ac_ext <<_ACEOF
12315 /* end confdefs.h. */
12316 $ac_includes_default
12317 #include <gphoto2-camera.h>
12318 _ACEOF
12319 rm -f conftest.$ac_objext
12320 if { (ac_try="$ac_compile"
12321 case "(($ac_try" in
12322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12323 *) ac_try_echo=$ac_try;;
12324 esac
12325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12326 (eval "$ac_compile") 2>conftest.er1
12327 ac_status=$?
12328 grep -v '^ *+' conftest.er1 >conftest.err
12329 rm -f conftest.er1
12330 cat conftest.err >&5
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); } && {
12333 test -z "$ac_c_werror_flag" ||
12334 test ! -s conftest.err
12335 } && test -s conftest.$ac_objext; then
12336 ac_header_compiler=yes
12337 else
12338 echo "$as_me: failed program was:" >&5
12339 sed 's/^/| /' conftest.$ac_ext >&5
12341 ac_header_compiler=no
12344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12345 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12346 echo "${ECHO_T}$ac_header_compiler" >&6; }
12348 # Is the header present?
12349 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12350 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12351 cat >conftest.$ac_ext <<_ACEOF
12352 /* confdefs.h. */
12353 _ACEOF
12354 cat confdefs.h >>conftest.$ac_ext
12355 cat >>conftest.$ac_ext <<_ACEOF
12356 /* end confdefs.h. */
12357 #include <gphoto2-camera.h>
12358 _ACEOF
12359 if { (ac_try="$ac_cpp conftest.$ac_ext"
12360 case "(($ac_try" in
12361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12362 *) ac_try_echo=$ac_try;;
12363 esac
12364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12365 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12366 ac_status=$?
12367 grep -v '^ *+' conftest.er1 >conftest.err
12368 rm -f conftest.er1
12369 cat conftest.err >&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } >/dev/null && {
12372 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12373 test ! -s conftest.err
12374 }; then
12375 ac_header_preproc=yes
12376 else
12377 echo "$as_me: failed program was:" >&5
12378 sed 's/^/| /' conftest.$ac_ext >&5
12380 ac_header_preproc=no
12383 rm -f conftest.err conftest.$ac_ext
12384 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12385 echo "${ECHO_T}$ac_header_preproc" >&6; }
12387 # So? What about this header?
12388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12389 yes:no: )
12390 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12391 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12392 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12393 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12394 ac_header_preproc=yes
12396 no:yes:* )
12397 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12398 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12399 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12400 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12401 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12402 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12403 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12404 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12405 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12406 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12407 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12408 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12409 ( cat <<\_ASBOX
12410 ## ------------------------------------ ##
12411 ## Report this to wine-devel@winehq.org ##
12412 ## ------------------------------------ ##
12413 _ASBOX
12414 ) | sed "s/^/$as_me: WARNING: /" >&2
12416 esac
12417 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12418 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12419 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12420 echo $ECHO_N "(cached) $ECHO_C" >&6
12421 else
12422 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12424 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12425 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12428 if test $ac_cv_header_gphoto2_camera_h = yes; then
12429 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12430 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12431 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12432 echo $ECHO_N "(cached) $ECHO_C" >&6
12433 else
12434 ac_check_lib_save_LIBS=$LIBS
12435 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12436 cat >conftest.$ac_ext <<_ACEOF
12437 /* confdefs.h. */
12438 _ACEOF
12439 cat confdefs.h >>conftest.$ac_ext
12440 cat >>conftest.$ac_ext <<_ACEOF
12441 /* end confdefs.h. */
12443 /* Override any GCC internal prototype to avoid an error.
12444 Use char because int might match the return type of a GCC
12445 builtin and then its argument prototype would still apply. */
12446 #ifdef __cplusplus
12447 extern "C"
12448 #endif
12449 char gp_camera_new ();
12451 main ()
12453 return gp_camera_new ();
12455 return 0;
12457 _ACEOF
12458 rm -f conftest.$ac_objext conftest$ac_exeext
12459 if { (ac_try="$ac_link"
12460 case "(($ac_try" in
12461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12462 *) ac_try_echo=$ac_try;;
12463 esac
12464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12465 (eval "$ac_link") 2>conftest.er1
12466 ac_status=$?
12467 grep -v '^ *+' conftest.er1 >conftest.err
12468 rm -f conftest.er1
12469 cat conftest.err >&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); } && {
12472 test -z "$ac_c_werror_flag" ||
12473 test ! -s conftest.err
12474 } && test -s conftest$ac_exeext &&
12475 $as_test_x conftest$ac_exeext; then
12476 ac_cv_lib_gphoto2_gp_camera_new=yes
12477 else
12478 echo "$as_me: failed program was:" >&5
12479 sed 's/^/| /' conftest.$ac_ext >&5
12481 ac_cv_lib_gphoto2_gp_camera_new=no
12484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12485 conftest$ac_exeext conftest.$ac_ext
12486 LIBS=$ac_check_lib_save_LIBS
12488 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12489 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12490 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12492 cat >>confdefs.h <<\_ACEOF
12493 #define HAVE_GPHOTO2 1
12494 _ACEOF
12496 GPHOTO2LIBS="$ac_gphoto2_libs"
12498 GPHOTO2INCL="$ac_gphoto2_incl"
12505 CPPFLAGS="$ac_save_CPPFLAGS"
12507 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12508 wine_notices="$wine_notices|libgphoto2 development files not found.
12509 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12514 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12515 then
12516 saved_libs="$LIBS"
12517 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12518 if test -n "$ICU_LIB_DIR"
12519 then
12520 icu_libs="-L$ICU_LIB_DIR $icu_libs"
12522 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12523 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12524 LIBS="$saved_libs $icu_libs"
12525 if test "$cross_compiling" = yes; then
12526 { echo "$as_me:$LINENO: result: no" >&5
12527 echo "${ECHO_T}no" >&6; }
12528 else
12529 cat >conftest.$ac_ext <<_ACEOF
12530 /* confdefs.h. */
12531 _ACEOF
12532 cat confdefs.h >>conftest.$ac_ext
12533 cat >>conftest.$ac_ext <<_ACEOF
12534 /* end confdefs.h. */
12535 #include <unicode/ubidi.h>
12537 main ()
12539 ubidi_open()
12541 return 0;
12543 _ACEOF
12544 rm -f conftest$ac_exeext
12545 if { (ac_try="$ac_link"
12546 case "(($ac_try" in
12547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12548 *) ac_try_echo=$ac_try;;
12549 esac
12550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12551 (eval "$ac_link") 2>&5
12552 ac_status=$?
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12555 { (case "(($ac_try" in
12556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12557 *) ac_try_echo=$ac_try;;
12558 esac
12559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12560 (eval "$ac_try") 2>&5
12561 ac_status=$?
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); }; }; then
12565 cat >>confdefs.h <<\_ACEOF
12566 #define HAVE_ICU 1
12567 _ACEOF
12569 ICULIBS="$icu_libs"
12571 { echo "$as_me:$LINENO: result: yes" >&5
12572 echo "${ECHO_T}yes" >&6; }
12573 else
12574 echo "$as_me: program exited with status $ac_status" >&5
12575 echo "$as_me: failed program was:" >&5
12576 sed 's/^/| /' conftest.$ac_ext >&5
12578 ( exit $ac_status )
12579 { echo "$as_me:$LINENO: result: no" >&5
12580 echo "${ECHO_T}no" >&6; }
12582 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12586 LIBS="$saved_libs"
12588 if test "x$ICULIBS" = "x"; then
12589 wine_notices="$wine_notices|libicu development files not found.
12590 Wine will be built without bidi (Right to Left) support. (gdi32.dll)"
12594 RESOLVLIBS=""
12596 if test "$ac_cv_header_resolv_h" = "yes"
12597 then
12598 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12599 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12600 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12601 echo $ECHO_N "(cached) $ECHO_C" >&6
12602 else
12603 ac_check_lib_save_LIBS=$LIBS
12604 LIBS="-lresolv $LIBS"
12605 cat >conftest.$ac_ext <<_ACEOF
12606 /* confdefs.h. */
12607 _ACEOF
12608 cat confdefs.h >>conftest.$ac_ext
12609 cat >>conftest.$ac_ext <<_ACEOF
12610 /* end confdefs.h. */
12612 /* Override any GCC internal prototype to avoid an error.
12613 Use char because int might match the return type of a GCC
12614 builtin and then its argument prototype would still apply. */
12615 #ifdef __cplusplus
12616 extern "C"
12617 #endif
12618 char res_query ();
12620 main ()
12622 return res_query ();
12624 return 0;
12626 _ACEOF
12627 rm -f conftest.$ac_objext conftest$ac_exeext
12628 if { (ac_try="$ac_link"
12629 case "(($ac_try" in
12630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12631 *) ac_try_echo=$ac_try;;
12632 esac
12633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12634 (eval "$ac_link") 2>conftest.er1
12635 ac_status=$?
12636 grep -v '^ *+' conftest.er1 >conftest.err
12637 rm -f conftest.er1
12638 cat conftest.err >&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); } && {
12641 test -z "$ac_c_werror_flag" ||
12642 test ! -s conftest.err
12643 } && test -s conftest$ac_exeext &&
12644 $as_test_x conftest$ac_exeext; then
12645 ac_cv_lib_resolv_res_query=yes
12646 else
12647 echo "$as_me: failed program was:" >&5
12648 sed 's/^/| /' conftest.$ac_ext >&5
12650 ac_cv_lib_resolv_res_query=no
12653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12654 conftest$ac_exeext conftest.$ac_ext
12655 LIBS=$ac_check_lib_save_LIBS
12657 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12658 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12659 if test $ac_cv_lib_resolv_res_query = yes; then
12661 cat >>confdefs.h <<\_ACEOF
12662 #define HAVE_RESOLV 1
12663 _ACEOF
12665 RESOLVLIBS="-lresolv"
12670 LCMSLIBS=""
12672 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12673 then
12674 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12675 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12676 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12677 echo $ECHO_N "(cached) $ECHO_C" >&6
12678 else
12679 ac_check_lib_save_LIBS=$LIBS
12680 LIBS="-llcms $LIBS"
12681 cat >conftest.$ac_ext <<_ACEOF
12682 /* confdefs.h. */
12683 _ACEOF
12684 cat confdefs.h >>conftest.$ac_ext
12685 cat >>conftest.$ac_ext <<_ACEOF
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12691 #ifdef __cplusplus
12692 extern "C"
12693 #endif
12694 char cmsOpenProfileFromFile ();
12696 main ()
12698 return cmsOpenProfileFromFile ();
12700 return 0;
12702 _ACEOF
12703 rm -f conftest.$ac_objext conftest$ac_exeext
12704 if { (ac_try="$ac_link"
12705 case "(($ac_try" in
12706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12707 *) ac_try_echo=$ac_try;;
12708 esac
12709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12710 (eval "$ac_link") 2>conftest.er1
12711 ac_status=$?
12712 grep -v '^ *+' conftest.er1 >conftest.err
12713 rm -f conftest.er1
12714 cat conftest.err >&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); } && {
12717 test -z "$ac_c_werror_flag" ||
12718 test ! -s conftest.err
12719 } && test -s conftest$ac_exeext &&
12720 $as_test_x conftest$ac_exeext; then
12721 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12722 else
12723 echo "$as_me: failed program was:" >&5
12724 sed 's/^/| /' conftest.$ac_ext >&5
12726 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12730 conftest$ac_exeext conftest.$ac_ext
12731 LIBS=$ac_check_lib_save_LIBS
12733 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12734 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12735 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12737 cat >>confdefs.h <<\_ACEOF
12738 #define HAVE_LCMS 1
12739 _ACEOF
12741 LCMSLIBS="-llcms"
12745 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12746 wine_notices="$wine_notices|liblcms development files not found.
12747 Wine will be built without Color Management support. (mscms.dll)"
12751 LDAPLIBS=""
12753 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12754 then
12755 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12756 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12757 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12759 else
12760 ac_check_lib_save_LIBS=$LIBS
12761 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12762 cat >conftest.$ac_ext <<_ACEOF
12763 /* confdefs.h. */
12764 _ACEOF
12765 cat confdefs.h >>conftest.$ac_ext
12766 cat >>conftest.$ac_ext <<_ACEOF
12767 /* end confdefs.h. */
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12772 #ifdef __cplusplus
12773 extern "C"
12774 #endif
12775 char ldap_initialize ();
12777 main ()
12779 return ldap_initialize ();
12781 return 0;
12783 _ACEOF
12784 rm -f conftest.$ac_objext conftest$ac_exeext
12785 if { (ac_try="$ac_link"
12786 case "(($ac_try" in
12787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12788 *) ac_try_echo=$ac_try;;
12789 esac
12790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12791 (eval "$ac_link") 2>conftest.er1
12792 ac_status=$?
12793 grep -v '^ *+' conftest.er1 >conftest.err
12794 rm -f conftest.er1
12795 cat conftest.err >&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } && {
12798 test -z "$ac_c_werror_flag" ||
12799 test ! -s conftest.err
12800 } && test -s conftest$ac_exeext &&
12801 $as_test_x conftest$ac_exeext; then
12802 ac_cv_lib_ldap_r_ldap_initialize=yes
12803 else
12804 echo "$as_me: failed program was:" >&5
12805 sed 's/^/| /' conftest.$ac_ext >&5
12807 ac_cv_lib_ldap_r_ldap_initialize=no
12810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12811 conftest$ac_exeext conftest.$ac_ext
12812 LIBS=$ac_check_lib_save_LIBS
12814 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12815 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12816 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12817 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12818 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12819 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12820 echo $ECHO_N "(cached) $ECHO_C" >&6
12821 else
12822 ac_check_lib_save_LIBS=$LIBS
12823 LIBS="-llber $LIBPTHREAD $LIBS"
12824 cat >conftest.$ac_ext <<_ACEOF
12825 /* confdefs.h. */
12826 _ACEOF
12827 cat confdefs.h >>conftest.$ac_ext
12828 cat >>conftest.$ac_ext <<_ACEOF
12829 /* end confdefs.h. */
12831 /* Override any GCC internal prototype to avoid an error.
12832 Use char because int might match the return type of a GCC
12833 builtin and then its argument prototype would still apply. */
12834 #ifdef __cplusplus
12835 extern "C"
12836 #endif
12837 char ber_init ();
12839 main ()
12841 return ber_init ();
12843 return 0;
12845 _ACEOF
12846 rm -f conftest.$ac_objext conftest$ac_exeext
12847 if { (ac_try="$ac_link"
12848 case "(($ac_try" in
12849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12850 *) ac_try_echo=$ac_try;;
12851 esac
12852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12853 (eval "$ac_link") 2>conftest.er1
12854 ac_status=$?
12855 grep -v '^ *+' conftest.er1 >conftest.err
12856 rm -f conftest.er1
12857 cat conftest.err >&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } && {
12860 test -z "$ac_c_werror_flag" ||
12861 test ! -s conftest.err
12862 } && test -s conftest$ac_exeext &&
12863 $as_test_x conftest$ac_exeext; then
12864 ac_cv_lib_lber_ber_init=yes
12865 else
12866 echo "$as_me: failed program was:" >&5
12867 sed 's/^/| /' conftest.$ac_ext >&5
12869 ac_cv_lib_lber_ber_init=no
12872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12873 conftest$ac_exeext conftest.$ac_ext
12874 LIBS=$ac_check_lib_save_LIBS
12876 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12877 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12878 if test $ac_cv_lib_lber_ber_init = yes; then
12880 cat >>confdefs.h <<\_ACEOF
12881 #define HAVE_LDAP 1
12882 _ACEOF
12884 LDAPLIBS="-lldap_r -llber"
12889 ac_wine_check_funcs_save_LIBS="$LIBS"
12890 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12895 for ac_func in \
12896 ldap_count_references \
12897 ldap_first_reference \
12898 ldap_next_reference \
12899 ldap_parse_reference
12901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12902 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12904 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12905 echo $ECHO_N "(cached) $ECHO_C" >&6
12906 else
12907 cat >conftest.$ac_ext <<_ACEOF
12908 /* confdefs.h. */
12909 _ACEOF
12910 cat confdefs.h >>conftest.$ac_ext
12911 cat >>conftest.$ac_ext <<_ACEOF
12912 /* end confdefs.h. */
12913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12915 #define $ac_func innocuous_$ac_func
12917 /* System header to define __stub macros and hopefully few prototypes,
12918 which can conflict with char $ac_func (); below.
12919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12920 <limits.h> exists even on freestanding compilers. */
12922 #ifdef __STDC__
12923 # include <limits.h>
12924 #else
12925 # include <assert.h>
12926 #endif
12928 #undef $ac_func
12930 /* Override any GCC internal prototype to avoid an error.
12931 Use char because int might match the return type of a GCC
12932 builtin and then its argument prototype would still apply. */
12933 #ifdef __cplusplus
12934 extern "C"
12935 #endif
12936 char $ac_func ();
12937 /* The GNU C library defines this for functions which it implements
12938 to always fail with ENOSYS. Some functions are actually named
12939 something starting with __ and the normal name is an alias. */
12940 #if defined __stub_$ac_func || defined __stub___$ac_func
12941 choke me
12942 #endif
12945 main ()
12947 return $ac_func ();
12949 return 0;
12951 _ACEOF
12952 rm -f conftest.$ac_objext conftest$ac_exeext
12953 if { (ac_try="$ac_link"
12954 case "(($ac_try" in
12955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12956 *) ac_try_echo=$ac_try;;
12957 esac
12958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12959 (eval "$ac_link") 2>conftest.er1
12960 ac_status=$?
12961 grep -v '^ *+' conftest.er1 >conftest.err
12962 rm -f conftest.er1
12963 cat conftest.err >&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); } && {
12966 test -z "$ac_c_werror_flag" ||
12967 test ! -s conftest.err
12968 } && test -s conftest$ac_exeext &&
12969 $as_test_x conftest$ac_exeext; then
12970 eval "$as_ac_var=yes"
12971 else
12972 echo "$as_me: failed program was:" >&5
12973 sed 's/^/| /' conftest.$ac_ext >&5
12975 eval "$as_ac_var=no"
12978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12979 conftest$ac_exeext conftest.$ac_ext
12981 ac_res=`eval echo '${'$as_ac_var'}'`
12982 { echo "$as_me:$LINENO: result: $ac_res" >&5
12983 echo "${ECHO_T}$ac_res" >&6; }
12984 if test `eval echo '${'$as_ac_var'}'` = yes; then
12985 cat >>confdefs.h <<_ACEOF
12986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12987 _ACEOF
12990 done
12992 LIBS="$ac_wine_check_funcs_save_LIBS"
12994 if test "x$LDAPLIBS" = "x"; then
12995 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
12996 Wine will be built without LDAP support. (wldap32.dll)"
13000 for ac_prog in freetype-config freetype2-config
13002 # Extract the first word of "$ac_prog", so it can be a program name with args.
13003 set dummy $ac_prog; ac_word=$2
13004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13006 if test "${ac_cv_prog_ft_devel+set}" = set; then
13007 echo $ECHO_N "(cached) $ECHO_C" >&6
13008 else
13009 if test -n "$ft_devel"; then
13010 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13011 else
13012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13013 for as_dir in $PATH
13015 IFS=$as_save_IFS
13016 test -z "$as_dir" && as_dir=.
13017 for ac_exec_ext in '' $ac_executable_extensions; do
13018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13019 ac_cv_prog_ft_devel="$ac_prog"
13020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13021 break 2
13023 done
13024 done
13025 IFS=$as_save_IFS
13029 ft_devel=$ac_cv_prog_ft_devel
13030 if test -n "$ft_devel"; then
13031 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13032 echo "${ECHO_T}$ft_devel" >&6; }
13033 else
13034 { echo "$as_me:$LINENO: result: no" >&5
13035 echo "${ECHO_T}no" >&6; }
13039 test -n "$ft_devel" && break
13040 done
13041 test -n "$ft_devel" || ft_devel="false"
13043 if test "$ft_devel" != "false"
13044 then
13045 ac_freetype_libs=`$ft_devel --libs`
13046 ac_freetype_incl=`$ft_devel --cflags`
13047 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13048 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13049 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13050 echo $ECHO_N "(cached) $ECHO_C" >&6
13051 else
13052 ac_check_soname_save_LIBS=$LIBS
13053 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13054 cat >conftest.$ac_ext <<_ACEOF
13055 /* confdefs.h. */
13056 _ACEOF
13057 cat confdefs.h >>conftest.$ac_ext
13058 cat >>conftest.$ac_ext <<_ACEOF
13059 /* end confdefs.h. */
13061 /* Override any GCC internal prototype to avoid an error.
13062 Use char because int might match the return type of a GCC
13063 builtin and then its argument prototype would still apply. */
13064 #ifdef __cplusplus
13065 extern "C"
13066 #endif
13067 char FT_Init_FreeType ();
13069 main ()
13071 return FT_Init_FreeType ();
13073 return 0;
13075 _ACEOF
13076 rm -f conftest.$ac_objext conftest$ac_exeext
13077 if { (ac_try="$ac_link"
13078 case "(($ac_try" in
13079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13080 *) ac_try_echo=$ac_try;;
13081 esac
13082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13083 (eval "$ac_link") 2>conftest.er1
13084 ac_status=$?
13085 grep -v '^ *+' conftest.er1 >conftest.err
13086 rm -f conftest.er1
13087 cat conftest.err >&5
13088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089 (exit $ac_status); } && {
13090 test -z "$ac_c_werror_flag" ||
13091 test ! -s conftest.err
13092 } && test -s conftest$ac_exeext &&
13093 $as_test_x conftest$ac_exeext; then
13094 case "$LIBEXT" in
13095 dll) ;;
13096 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'` ;;
13097 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13098 esac
13099 else
13100 echo "$as_me: failed program was:" >&5
13101 sed 's/^/| /' conftest.$ac_ext >&5
13106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13107 conftest$ac_exeext conftest.$ac_ext
13108 LIBS=$ac_check_soname_save_LIBS
13110 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13111 { echo "$as_me:$LINENO: result: not found" >&5
13112 echo "${ECHO_T}not found" >&6; }
13113 ft_lib=no
13114 else
13115 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13116 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13118 cat >>confdefs.h <<_ACEOF
13119 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13120 _ACEOF
13122 ft_lib=yes
13125 if test "$ft_lib" = "yes"
13126 then
13127 ac_save_CPPFLAGS="$CPPFLAGS"
13128 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13140 for ac_header in ft2build.h \
13141 freetype/freetype.h \
13142 freetype/ftglyph.h \
13143 freetype/tttables.h \
13144 freetype/ftnames.h \
13145 freetype/ftsnames.h \
13146 freetype/ttnameid.h \
13147 freetype/ftoutln.h \
13148 freetype/ftwinfnt.h \
13149 freetype/ftmodapi.h \
13150 freetype/internal/sfnt.h
13152 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13153 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13156 echo $ECHO_N "(cached) $ECHO_C" >&6
13157 else
13158 cat >conftest.$ac_ext <<_ACEOF
13159 /* confdefs.h. */
13160 _ACEOF
13161 cat confdefs.h >>conftest.$ac_ext
13162 cat >>conftest.$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13164 #if HAVE_FT2BUILD_H
13165 #include <ft2build.h>
13166 #endif
13168 #include <$ac_header>
13169 _ACEOF
13170 rm -f conftest.$ac_objext
13171 if { (ac_try="$ac_compile"
13172 case "(($ac_try" in
13173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13174 *) ac_try_echo=$ac_try;;
13175 esac
13176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13177 (eval "$ac_compile") 2>conftest.er1
13178 ac_status=$?
13179 grep -v '^ *+' conftest.er1 >conftest.err
13180 rm -f conftest.er1
13181 cat conftest.err >&5
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); } && {
13184 test -z "$ac_c_werror_flag" ||
13185 test ! -s conftest.err
13186 } && test -s conftest.$ac_objext; then
13187 eval "$as_ac_Header=yes"
13188 else
13189 echo "$as_me: failed program was:" >&5
13190 sed 's/^/| /' conftest.$ac_ext >&5
13192 eval "$as_ac_Header=no"
13195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13197 ac_res=`eval echo '${'$as_ac_Header'}'`
13198 { echo "$as_me:$LINENO: result: $ac_res" >&5
13199 echo "${ECHO_T}$ac_res" >&6; }
13200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13201 cat >>confdefs.h <<_ACEOF
13202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13203 _ACEOF
13207 done
13209 cat >conftest.$ac_ext <<_ACEOF
13210 /* confdefs.h. */
13211 _ACEOF
13212 cat confdefs.h >>conftest.$ac_ext
13213 cat >>conftest.$ac_ext <<_ACEOF
13214 /* end confdefs.h. */
13215 #include <ft2build.h>
13216 #include <freetype/fttrigon.h>
13217 _ACEOF
13218 if { (ac_try="$ac_cpp conftest.$ac_ext"
13219 case "(($ac_try" in
13220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13221 *) ac_try_echo=$ac_try;;
13222 esac
13223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13224 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13225 ac_status=$?
13226 grep -v '^ *+' conftest.er1 >conftest.err
13227 rm -f conftest.er1
13228 cat conftest.err >&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); } >/dev/null && {
13231 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13232 test ! -s conftest.err
13233 }; then
13235 cat >>confdefs.h <<\_ACEOF
13236 #define HAVE_FREETYPE_FTTRIGON_H 1
13237 _ACEOF
13239 wine_cv_fttrigon=yes
13240 else
13241 echo "$as_me: failed program was:" >&5
13242 sed 's/^/| /' conftest.$ac_ext >&5
13244 wine_cv_fttrigon=no
13247 rm -f conftest.err conftest.$ac_ext
13248 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13249 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13250 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13251 echo $ECHO_N "(cached) $ECHO_C" >&6
13252 else
13253 cat >conftest.$ac_ext <<_ACEOF
13254 /* confdefs.h. */
13255 _ACEOF
13256 cat confdefs.h >>conftest.$ac_ext
13257 cat >>conftest.$ac_ext <<_ACEOF
13258 /* end confdefs.h. */
13259 #include <freetype/ftmodapi.h>
13261 typedef FT_TrueTypeEngineType ac__type_new_;
13263 main ()
13265 if ((ac__type_new_ *) 0)
13266 return 0;
13267 if (sizeof (ac__type_new_))
13268 return 0;
13270 return 0;
13272 _ACEOF
13273 rm -f conftest.$ac_objext
13274 if { (ac_try="$ac_compile"
13275 case "(($ac_try" in
13276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13277 *) ac_try_echo=$ac_try;;
13278 esac
13279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13280 (eval "$ac_compile") 2>conftest.er1
13281 ac_status=$?
13282 grep -v '^ *+' conftest.er1 >conftest.err
13283 rm -f conftest.er1
13284 cat conftest.err >&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); } && {
13287 test -z "$ac_c_werror_flag" ||
13288 test ! -s conftest.err
13289 } && test -s conftest.$ac_objext; then
13290 ac_cv_type_FT_TrueTypeEngineType=yes
13291 else
13292 echo "$as_me: failed program was:" >&5
13293 sed 's/^/| /' conftest.$ac_ext >&5
13295 ac_cv_type_FT_TrueTypeEngineType=no
13298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13300 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13301 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13302 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13304 cat >>confdefs.h <<_ACEOF
13305 #define HAVE_FT_TRUETYPEENGINETYPE 1
13306 _ACEOF
13311 ac_save_CFLAGS="$CFLAGS"
13312 CFLAGS="$CFLAGS $ac_freetype_libs"
13314 for ac_func in FT_Load_Sfnt_Table
13316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13319 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13320 echo $ECHO_N "(cached) $ECHO_C" >&6
13321 else
13322 cat >conftest.$ac_ext <<_ACEOF
13323 /* confdefs.h. */
13324 _ACEOF
13325 cat confdefs.h >>conftest.$ac_ext
13326 cat >>conftest.$ac_ext <<_ACEOF
13327 /* end confdefs.h. */
13328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13330 #define $ac_func innocuous_$ac_func
13332 /* System header to define __stub macros and hopefully few prototypes,
13333 which can conflict with char $ac_func (); below.
13334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13335 <limits.h> exists even on freestanding compilers. */
13337 #ifdef __STDC__
13338 # include <limits.h>
13339 #else
13340 # include <assert.h>
13341 #endif
13343 #undef $ac_func
13345 /* Override any GCC internal prototype to avoid an error.
13346 Use char because int might match the return type of a GCC
13347 builtin and then its argument prototype would still apply. */
13348 #ifdef __cplusplus
13349 extern "C"
13350 #endif
13351 char $ac_func ();
13352 /* The GNU C library defines this for functions which it implements
13353 to always fail with ENOSYS. Some functions are actually named
13354 something starting with __ and the normal name is an alias. */
13355 #if defined __stub_$ac_func || defined __stub___$ac_func
13356 choke me
13357 #endif
13360 main ()
13362 return $ac_func ();
13364 return 0;
13366 _ACEOF
13367 rm -f conftest.$ac_objext conftest$ac_exeext
13368 if { (ac_try="$ac_link"
13369 case "(($ac_try" in
13370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13371 *) ac_try_echo=$ac_try;;
13372 esac
13373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13374 (eval "$ac_link") 2>conftest.er1
13375 ac_status=$?
13376 grep -v '^ *+' conftest.er1 >conftest.err
13377 rm -f conftest.er1
13378 cat conftest.err >&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); } && {
13381 test -z "$ac_c_werror_flag" ||
13382 test ! -s conftest.err
13383 } && test -s conftest$ac_exeext &&
13384 $as_test_x conftest$ac_exeext; then
13385 eval "$as_ac_var=yes"
13386 else
13387 echo "$as_me: failed program was:" >&5
13388 sed 's/^/| /' conftest.$ac_ext >&5
13390 eval "$as_ac_var=no"
13393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13394 conftest$ac_exeext conftest.$ac_ext
13396 ac_res=`eval echo '${'$as_ac_var'}'`
13397 { echo "$as_me:$LINENO: result: $ac_res" >&5
13398 echo "${ECHO_T}$ac_res" >&6; }
13399 if test `eval echo '${'$as_ac_var'}'` = yes; then
13400 cat >>confdefs.h <<_ACEOF
13401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13402 _ACEOF
13405 done
13407 CFLAGS="$ac_save_CFLAGS"
13408 CPPFLAGS="$ac_save_CPPFLAGS"
13409 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13410 then
13412 cat >>confdefs.h <<\_ACEOF
13413 #define HAVE_FREETYPE 1
13414 _ACEOF
13416 FREETYPELIBS="$ac_freetype_libs"
13418 FREETYPEINCL="$ac_freetype_incl"
13424 if test "$FONTFORGE" = "false"
13425 then
13426 wine_warnings="$wine_warnings|FontForge is missing.
13427 Fonts will not be built. Dialog text may be invisible or unaligned."
13428 elif test "x$FREETYPELIBS" = "x"
13429 then
13430 wine_warnings="$wine_warnings|FreeType development files not found.
13431 Fonts will not be built. Dialog text may be invisible or unaligned."
13432 else
13433 FONTSSUBDIRS="fonts"
13437 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13438 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13439 if test "${ac_cv_c_ppdev+set}" = set; then
13440 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 else
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. */
13448 #include <linux/ppdev.h>
13450 main ()
13452 ioctl (1,PPCLAIM,0)
13454 return 0;
13456 _ACEOF
13457 rm -f conftest.$ac_objext
13458 if { (ac_try="$ac_compile"
13459 case "(($ac_try" in
13460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13461 *) ac_try_echo=$ac_try;;
13462 esac
13463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13464 (eval "$ac_compile") 2>conftest.er1
13465 ac_status=$?
13466 grep -v '^ *+' conftest.er1 >conftest.err
13467 rm -f conftest.er1
13468 cat conftest.err >&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } && {
13471 test -z "$ac_c_werror_flag" ||
13472 test ! -s conftest.err
13473 } && test -s conftest.$ac_objext; then
13474 ac_cv_c_ppdev="yes"
13475 else
13476 echo "$as_me: failed program was:" >&5
13477 sed 's/^/| /' conftest.$ac_ext >&5
13479 ac_cv_c_ppdev="no"
13482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13484 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13485 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13486 if test "$ac_cv_c_ppdev" = "yes"
13487 then
13489 cat >>confdefs.h <<\_ACEOF
13490 #define HAVE_PPDEV 1
13491 _ACEOF
13495 { echo "$as_me:$LINENO: checking for va_copy" >&5
13496 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13497 if test "${ac_cv_c_va_copy+set}" = set; then
13498 echo $ECHO_N "(cached) $ECHO_C" >&6
13499 else
13500 cat >conftest.$ac_ext <<_ACEOF
13501 /* confdefs.h. */
13502 _ACEOF
13503 cat confdefs.h >>conftest.$ac_ext
13504 cat >>conftest.$ac_ext <<_ACEOF
13505 /* end confdefs.h. */
13506 #include <stdarg.h>
13508 main ()
13510 va_list ap1, ap2; va_copy(ap1,ap2);
13512 return 0;
13514 _ACEOF
13515 rm -f conftest.$ac_objext conftest$ac_exeext
13516 if { (ac_try="$ac_link"
13517 case "(($ac_try" in
13518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13519 *) ac_try_echo=$ac_try;;
13520 esac
13521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13522 (eval "$ac_link") 2>conftest.er1
13523 ac_status=$?
13524 grep -v '^ *+' conftest.er1 >conftest.err
13525 rm -f conftest.er1
13526 cat conftest.err >&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); } && {
13529 test -z "$ac_c_werror_flag" ||
13530 test ! -s conftest.err
13531 } && test -s conftest$ac_exeext &&
13532 $as_test_x conftest$ac_exeext; then
13533 ac_cv_c_va_copy="yes"
13534 else
13535 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.$ac_ext >&5
13538 ac_cv_c_va_copy="no"
13541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13542 conftest$ac_exeext conftest.$ac_ext
13545 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13546 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13547 if test "$ac_cv_c_va_copy" = "yes"
13548 then
13550 cat >>confdefs.h <<\_ACEOF
13551 #define HAVE_VA_COPY 1
13552 _ACEOF
13555 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13556 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13557 if test "${ac_cv_c___va_copy+set}" = set; then
13558 echo $ECHO_N "(cached) $ECHO_C" >&6
13559 else
13560 cat >conftest.$ac_ext <<_ACEOF
13561 /* confdefs.h. */
13562 _ACEOF
13563 cat confdefs.h >>conftest.$ac_ext
13564 cat >>conftest.$ac_ext <<_ACEOF
13565 /* end confdefs.h. */
13566 #include <stdarg.h>
13568 main ()
13570 va_list ap1, ap2; __va_copy(ap1,ap2);
13572 return 0;
13574 _ACEOF
13575 rm -f conftest.$ac_objext conftest$ac_exeext
13576 if { (ac_try="$ac_link"
13577 case "(($ac_try" in
13578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13579 *) ac_try_echo=$ac_try;;
13580 esac
13581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13582 (eval "$ac_link") 2>conftest.er1
13583 ac_status=$?
13584 grep -v '^ *+' conftest.er1 >conftest.err
13585 rm -f conftest.er1
13586 cat conftest.err >&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); } && {
13589 test -z "$ac_c_werror_flag" ||
13590 test ! -s conftest.err
13591 } && test -s conftest$ac_exeext &&
13592 $as_test_x conftest$ac_exeext; then
13593 ac_cv_c___va_copy="yes"
13594 else
13595 echo "$as_me: failed program was:" >&5
13596 sed 's/^/| /' conftest.$ac_ext >&5
13598 ac_cv_c___va_copy="no"
13601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13602 conftest$ac_exeext conftest.$ac_ext
13605 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13606 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13607 if test "$ac_cv_c___va_copy" = "yes"
13608 then
13610 cat >>confdefs.h <<\_ACEOF
13611 #define HAVE___VA_COPY 1
13612 _ACEOF
13616 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13617 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13618 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13619 echo $ECHO_N "(cached) $ECHO_C" >&6
13620 else
13621 cat >conftest.$ac_ext <<_ACEOF
13622 /* confdefs.h. */
13623 _ACEOF
13624 cat confdefs.h >>conftest.$ac_ext
13625 cat >>conftest.$ac_ext <<_ACEOF
13626 /* end confdefs.h. */
13627 #include <setjmp.h>
13629 main ()
13631 sigjmp_buf buf;
13632 sigsetjmp( buf, 1 );
13633 siglongjmp( buf, 1 );
13635 return 0;
13637 _ACEOF
13638 rm -f conftest.$ac_objext conftest$ac_exeext
13639 if { (ac_try="$ac_link"
13640 case "(($ac_try" in
13641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13642 *) ac_try_echo=$ac_try;;
13643 esac
13644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13645 (eval "$ac_link") 2>conftest.er1
13646 ac_status=$?
13647 grep -v '^ *+' conftest.er1 >conftest.err
13648 rm -f conftest.er1
13649 cat conftest.err >&5
13650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); } && {
13652 test -z "$ac_c_werror_flag" ||
13653 test ! -s conftest.err
13654 } && test -s conftest$ac_exeext &&
13655 $as_test_x conftest$ac_exeext; then
13656 ac_cv_c_sigsetjmp="yes"
13657 else
13658 echo "$as_me: failed program was:" >&5
13659 sed 's/^/| /' conftest.$ac_ext >&5
13661 ac_cv_c_sigsetjmp="no"
13664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13665 conftest$ac_exeext conftest.$ac_ext
13668 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13669 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13670 if test "$ac_cv_c_sigsetjmp" = "yes"
13671 then
13673 cat >>confdefs.h <<\_ACEOF
13674 #define HAVE_SIGSETJMP 1
13675 _ACEOF
13679 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13680 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13681 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13683 else
13684 cat >conftest.$ac_ext <<_ACEOF
13685 /* confdefs.h. */
13686 _ACEOF
13687 cat confdefs.h >>conftest.$ac_ext
13688 cat >>conftest.$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13690 #define _GNU_SOURCE
13691 #include <pthread.h>
13693 typedef pthread_rwlock_t ac__type_new_;
13695 main ()
13697 if ((ac__type_new_ *) 0)
13698 return 0;
13699 if (sizeof (ac__type_new_))
13700 return 0;
13702 return 0;
13704 _ACEOF
13705 rm -f conftest.$ac_objext
13706 if { (ac_try="$ac_compile"
13707 case "(($ac_try" in
13708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13709 *) ac_try_echo=$ac_try;;
13710 esac
13711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13712 (eval "$ac_compile") 2>conftest.er1
13713 ac_status=$?
13714 grep -v '^ *+' conftest.er1 >conftest.err
13715 rm -f conftest.er1
13716 cat conftest.err >&5
13717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13718 (exit $ac_status); } && {
13719 test -z "$ac_c_werror_flag" ||
13720 test ! -s conftest.err
13721 } && test -s conftest.$ac_objext; then
13722 ac_cv_type_pthread_rwlock_t=yes
13723 else
13724 echo "$as_me: failed program was:" >&5
13725 sed 's/^/| /' conftest.$ac_ext >&5
13727 ac_cv_type_pthread_rwlock_t=no
13730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13732 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13733 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13734 if test $ac_cv_type_pthread_rwlock_t = yes; then
13736 cat >>confdefs.h <<_ACEOF
13737 #define HAVE_PTHREAD_RWLOCK_T 1
13738 _ACEOF
13742 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13743 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13744 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13745 echo $ECHO_N "(cached) $ECHO_C" >&6
13746 else
13747 cat >conftest.$ac_ext <<_ACEOF
13748 /* confdefs.h. */
13749 _ACEOF
13750 cat confdefs.h >>conftest.$ac_ext
13751 cat >>conftest.$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 #define _GNU_SOURCE
13754 #include <pthread.h>
13756 typedef pthread_rwlockattr_t ac__type_new_;
13758 main ()
13760 if ((ac__type_new_ *) 0)
13761 return 0;
13762 if (sizeof (ac__type_new_))
13763 return 0;
13765 return 0;
13767 _ACEOF
13768 rm -f conftest.$ac_objext
13769 if { (ac_try="$ac_compile"
13770 case "(($ac_try" in
13771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13772 *) ac_try_echo=$ac_try;;
13773 esac
13774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13775 (eval "$ac_compile") 2>conftest.er1
13776 ac_status=$?
13777 grep -v '^ *+' conftest.er1 >conftest.err
13778 rm -f conftest.er1
13779 cat conftest.err >&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); } && {
13782 test -z "$ac_c_werror_flag" ||
13783 test ! -s conftest.err
13784 } && test -s conftest.$ac_objext; then
13785 ac_cv_type_pthread_rwlockattr_t=yes
13786 else
13787 echo "$as_me: failed program was:" >&5
13788 sed 's/^/| /' conftest.$ac_ext >&5
13790 ac_cv_type_pthread_rwlockattr_t=no
13793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13795 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13796 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13797 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13799 cat >>confdefs.h <<_ACEOF
13800 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13801 _ACEOF
13807 ac_wine_check_funcs_save_LIBS="$LIBS"
13808 LIBS="$LIBS $LIBPTHREAD"
13813 for ac_func in \
13814 pthread_attr_get_np \
13815 pthread_getattr_np \
13816 pthread_get_stackaddr_np \
13817 pthread_get_stacksize_np
13819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13820 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13822 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13823 echo $ECHO_N "(cached) $ECHO_C" >&6
13824 else
13825 cat >conftest.$ac_ext <<_ACEOF
13826 /* confdefs.h. */
13827 _ACEOF
13828 cat confdefs.h >>conftest.$ac_ext
13829 cat >>conftest.$ac_ext <<_ACEOF
13830 /* end confdefs.h. */
13831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13833 #define $ac_func innocuous_$ac_func
13835 /* System header to define __stub macros and hopefully few prototypes,
13836 which can conflict with char $ac_func (); below.
13837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13838 <limits.h> exists even on freestanding compilers. */
13840 #ifdef __STDC__
13841 # include <limits.h>
13842 #else
13843 # include <assert.h>
13844 #endif
13846 #undef $ac_func
13848 /* Override any GCC internal prototype to avoid an error.
13849 Use char because int might match the return type of a GCC
13850 builtin and then its argument prototype would still apply. */
13851 #ifdef __cplusplus
13852 extern "C"
13853 #endif
13854 char $ac_func ();
13855 /* The GNU C library defines this for functions which it implements
13856 to always fail with ENOSYS. Some functions are actually named
13857 something starting with __ and the normal name is an alias. */
13858 #if defined __stub_$ac_func || defined __stub___$ac_func
13859 choke me
13860 #endif
13863 main ()
13865 return $ac_func ();
13867 return 0;
13869 _ACEOF
13870 rm -f conftest.$ac_objext conftest$ac_exeext
13871 if { (ac_try="$ac_link"
13872 case "(($ac_try" in
13873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13874 *) ac_try_echo=$ac_try;;
13875 esac
13876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13877 (eval "$ac_link") 2>conftest.er1
13878 ac_status=$?
13879 grep -v '^ *+' conftest.er1 >conftest.err
13880 rm -f conftest.er1
13881 cat conftest.err >&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); } && {
13884 test -z "$ac_c_werror_flag" ||
13885 test ! -s conftest.err
13886 } && test -s conftest$ac_exeext &&
13887 $as_test_x conftest$ac_exeext; then
13888 eval "$as_ac_var=yes"
13889 else
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13893 eval "$as_ac_var=no"
13896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13897 conftest$ac_exeext conftest.$ac_ext
13899 ac_res=`eval echo '${'$as_ac_var'}'`
13900 { echo "$as_me:$LINENO: result: $ac_res" >&5
13901 echo "${ECHO_T}$ac_res" >&6; }
13902 if test `eval echo '${'$as_ac_var'}'` = yes; then
13903 cat >>confdefs.h <<_ACEOF
13904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13905 _ACEOF
13908 done
13910 LIBS="$ac_wine_check_funcs_save_LIBS"
13912 # Extract the first word of "esd-config", so it can be a program name with args.
13913 set dummy esd-config; ac_word=$2
13914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13916 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13917 echo $ECHO_N "(cached) $ECHO_C" >&6
13918 else
13919 case $ESDCONFIG in
13920 [\\/]* | ?:[\\/]*)
13921 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13925 for as_dir in $PATH
13927 IFS=$as_save_IFS
13928 test -z "$as_dir" && as_dir=.
13929 for ac_exec_ext in '' $ac_executable_extensions; do
13930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13931 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13933 break 2
13935 done
13936 done
13937 IFS=$as_save_IFS
13940 esac
13942 ESDCONFIG=$ac_cv_path_ESDCONFIG
13943 if test -n "$ESDCONFIG"; then
13944 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13945 echo "${ECHO_T}$ESDCONFIG" >&6; }
13946 else
13947 { echo "$as_me:$LINENO: result: no" >&5
13948 echo "${ECHO_T}no" >&6; }
13952 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13953 then
13954 ESD_CFLAGS=""
13955 for i in `$ESDCONFIG --cflags`
13957 case "$i" in
13958 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13959 esac
13960 done
13961 ESD_LIBS=`$ESDCONFIG --libs`
13962 save_CFLAGS="$CFLAGS"
13963 CFLAGS="$CFLAGS $ESD_CFLAGS"
13964 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13965 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13966 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13967 echo $ECHO_N "(cached) $ECHO_C" >&6
13968 else
13969 ac_check_lib_save_LIBS=$LIBS
13970 LIBS="-lesd $LIBS"
13971 cat >conftest.$ac_ext <<_ACEOF
13972 /* confdefs.h. */
13973 _ACEOF
13974 cat confdefs.h >>conftest.$ac_ext
13975 cat >>conftest.$ac_ext <<_ACEOF
13976 /* end confdefs.h. */
13978 /* Override any GCC internal prototype to avoid an error.
13979 Use char because int might match the return type of a GCC
13980 builtin and then its argument prototype would still apply. */
13981 #ifdef __cplusplus
13982 extern "C"
13983 #endif
13984 char esd_open_sound ();
13986 main ()
13988 return esd_open_sound ();
13990 return 0;
13992 _ACEOF
13993 rm -f conftest.$ac_objext conftest$ac_exeext
13994 if { (ac_try="$ac_link"
13995 case "(($ac_try" in
13996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13997 *) ac_try_echo=$ac_try;;
13998 esac
13999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14000 (eval "$ac_link") 2>conftest.er1
14001 ac_status=$?
14002 grep -v '^ *+' conftest.er1 >conftest.err
14003 rm -f conftest.er1
14004 cat conftest.err >&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); } && {
14007 test -z "$ac_c_werror_flag" ||
14008 test ! -s conftest.err
14009 } && test -s conftest$ac_exeext &&
14010 $as_test_x conftest$ac_exeext; then
14011 ac_cv_lib_esd_esd_open_sound=yes
14012 else
14013 echo "$as_me: failed program was:" >&5
14014 sed 's/^/| /' conftest.$ac_ext >&5
14016 ac_cv_lib_esd_esd_open_sound=no
14019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14020 conftest$ac_exeext conftest.$ac_ext
14021 LIBS=$ac_check_lib_save_LIBS
14023 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14024 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14025 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14026 ESDLIBS=$ESD_LIBS
14028 ESDINCL=$ESD_CFLAGS
14031 cat >>confdefs.h <<\_ACEOF
14032 #define HAVE_ESD 1
14033 _ACEOF
14037 CFLAGS="$save_CFLAGS"
14040 ALSALIBS=""
14042 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14043 then
14044 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14045 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14046 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14047 echo $ECHO_N "(cached) $ECHO_C" >&6
14048 else
14049 ac_check_lib_save_LIBS=$LIBS
14050 LIBS="-lasound $LIBS"
14051 cat >conftest.$ac_ext <<_ACEOF
14052 /* confdefs.h. */
14053 _ACEOF
14054 cat confdefs.h >>conftest.$ac_ext
14055 cat >>conftest.$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14058 /* Override any GCC internal prototype to avoid an error.
14059 Use char because int might match the return type of a GCC
14060 builtin and then its argument prototype would still apply. */
14061 #ifdef __cplusplus
14062 extern "C"
14063 #endif
14064 char snd_pcm_hw_params_get_access ();
14066 main ()
14068 return snd_pcm_hw_params_get_access ();
14070 return 0;
14072 _ACEOF
14073 rm -f conftest.$ac_objext conftest$ac_exeext
14074 if { (ac_try="$ac_link"
14075 case "(($ac_try" in
14076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14077 *) ac_try_echo=$ac_try;;
14078 esac
14079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14080 (eval "$ac_link") 2>conftest.er1
14081 ac_status=$?
14082 grep -v '^ *+' conftest.er1 >conftest.err
14083 rm -f conftest.er1
14084 cat conftest.err >&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); } && {
14087 test -z "$ac_c_werror_flag" ||
14088 test ! -s conftest.err
14089 } && test -s conftest$ac_exeext &&
14090 $as_test_x conftest$ac_exeext; then
14091 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14092 else
14093 echo "$as_me: failed program was:" >&5
14094 sed 's/^/| /' conftest.$ac_ext >&5
14096 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14100 conftest$ac_exeext conftest.$ac_ext
14101 LIBS=$ac_check_lib_save_LIBS
14103 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14104 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14105 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14106 cat >conftest.$ac_ext <<_ACEOF
14107 /* confdefs.h. */
14108 _ACEOF
14109 cat confdefs.h >>conftest.$ac_ext
14110 cat >>conftest.$ac_ext <<_ACEOF
14111 /* end confdefs.h. */
14112 #ifdef HAVE_ALSA_ASOUNDLIB_H
14113 #include <alsa/asoundlib.h>
14114 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14115 #include <sys/asoundlib.h>
14116 #endif
14118 main ()
14120 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14122 return 0;
14124 _ACEOF
14125 rm -f conftest.$ac_objext
14126 if { (ac_try="$ac_compile"
14127 case "(($ac_try" in
14128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14129 *) ac_try_echo=$ac_try;;
14130 esac
14131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14132 (eval "$ac_compile") 2>conftest.er1
14133 ac_status=$?
14134 grep -v '^ *+' conftest.er1 >conftest.err
14135 rm -f conftest.er1
14136 cat conftest.err >&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); } && {
14139 test -z "$ac_c_werror_flag" ||
14140 test ! -s conftest.err
14141 } && test -s conftest.$ac_objext; then
14143 cat >>confdefs.h <<\_ACEOF
14144 #define HAVE_ALSA 1
14145 _ACEOF
14147 ALSALIBS="-lasound"
14148 else
14149 echo "$as_me: failed program was:" >&5
14150 sed 's/^/| /' conftest.$ac_ext >&5
14155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14160 AUDIOIOLIBS=""
14162 if test "$ac_cv_header_libaudioio_h" = "yes"
14163 then
14164 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14165 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14166 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14167 echo $ECHO_N "(cached) $ECHO_C" >&6
14168 else
14169 ac_check_lib_save_LIBS=$LIBS
14170 LIBS="-laudioio $LIBS"
14171 cat >conftest.$ac_ext <<_ACEOF
14172 /* confdefs.h. */
14173 _ACEOF
14174 cat confdefs.h >>conftest.$ac_ext
14175 cat >>conftest.$ac_ext <<_ACEOF
14176 /* end confdefs.h. */
14178 /* Override any GCC internal prototype to avoid an error.
14179 Use char because int might match the return type of a GCC
14180 builtin and then its argument prototype would still apply. */
14181 #ifdef __cplusplus
14182 extern "C"
14183 #endif
14184 char AudioIOGetVersion ();
14186 main ()
14188 return AudioIOGetVersion ();
14190 return 0;
14192 _ACEOF
14193 rm -f conftest.$ac_objext conftest$ac_exeext
14194 if { (ac_try="$ac_link"
14195 case "(($ac_try" in
14196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14197 *) ac_try_echo=$ac_try;;
14198 esac
14199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14200 (eval "$ac_link") 2>conftest.er1
14201 ac_status=$?
14202 grep -v '^ *+' conftest.er1 >conftest.err
14203 rm -f conftest.er1
14204 cat conftest.err >&5
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); } && {
14207 test -z "$ac_c_werror_flag" ||
14208 test ! -s conftest.err
14209 } && test -s conftest$ac_exeext &&
14210 $as_test_x conftest$ac_exeext; then
14211 ac_cv_lib_audioio_AudioIOGetVersion=yes
14212 else
14213 echo "$as_me: failed program was:" >&5
14214 sed 's/^/| /' conftest.$ac_ext >&5
14216 ac_cv_lib_audioio_AudioIOGetVersion=no
14219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14220 conftest$ac_exeext conftest.$ac_ext
14221 LIBS=$ac_check_lib_save_LIBS
14223 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14224 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14225 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14226 AUDIOIOLIBS="-laudioio"
14228 cat >>confdefs.h <<\_ACEOF
14229 #define HAVE_LIBAUDIOIO 1
14230 _ACEOF
14237 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14238 then
14239 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14240 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14241 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14242 echo $ECHO_N "(cached) $ECHO_C" >&6
14243 else
14244 ac_check_soname_save_LIBS=$LIBS
14245 LIBS="-lcapi20 $LIBS"
14246 cat >conftest.$ac_ext <<_ACEOF
14247 /* confdefs.h. */
14248 _ACEOF
14249 cat confdefs.h >>conftest.$ac_ext
14250 cat >>conftest.$ac_ext <<_ACEOF
14251 /* end confdefs.h. */
14253 /* Override any GCC internal prototype to avoid an error.
14254 Use char because int might match the return type of a GCC
14255 builtin and then its argument prototype would still apply. */
14256 #ifdef __cplusplus
14257 extern "C"
14258 #endif
14259 char capi20_register ();
14261 main ()
14263 return capi20_register ();
14265 return 0;
14267 _ACEOF
14268 rm -f conftest.$ac_objext conftest$ac_exeext
14269 if { (ac_try="$ac_link"
14270 case "(($ac_try" in
14271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14272 *) ac_try_echo=$ac_try;;
14273 esac
14274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14275 (eval "$ac_link") 2>conftest.er1
14276 ac_status=$?
14277 grep -v '^ *+' conftest.er1 >conftest.err
14278 rm -f conftest.er1
14279 cat conftest.err >&5
14280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281 (exit $ac_status); } && {
14282 test -z "$ac_c_werror_flag" ||
14283 test ! -s conftest.err
14284 } && test -s conftest$ac_exeext &&
14285 $as_test_x conftest$ac_exeext; then
14286 case "$LIBEXT" in
14287 dll) ;;
14288 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'` ;;
14289 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14290 esac
14291 else
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.$ac_ext >&5
14298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14299 conftest$ac_exeext conftest.$ac_ext
14300 LIBS=$ac_check_soname_save_LIBS
14302 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14303 { echo "$as_me:$LINENO: result: not found" >&5
14304 echo "${ECHO_T}not found" >&6; }
14306 else
14307 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14308 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14310 cat >>confdefs.h <<_ACEOF
14311 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14312 _ACEOF
14318 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14319 wine_notices="$wine_notices|libcapi20 development files not found.
14320 Wine will be built without ISDN support. (capi2032.dll)"
14324 if test "$ac_cv_header_cups_cups_h" = "yes"
14325 then
14326 { echo "$as_me:$LINENO: checking for -lcups" >&5
14327 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14328 if test "${ac_cv_lib_soname_cups+set}" = set; then
14329 echo $ECHO_N "(cached) $ECHO_C" >&6
14330 else
14331 ac_check_soname_save_LIBS=$LIBS
14332 LIBS="-lcups $LIBS"
14333 cat >conftest.$ac_ext <<_ACEOF
14334 /* confdefs.h. */
14335 _ACEOF
14336 cat confdefs.h >>conftest.$ac_ext
14337 cat >>conftest.$ac_ext <<_ACEOF
14338 /* end confdefs.h. */
14340 /* Override any GCC internal prototype to avoid an error.
14341 Use char because int might match the return type of a GCC
14342 builtin and then its argument prototype would still apply. */
14343 #ifdef __cplusplus
14344 extern "C"
14345 #endif
14346 char cupsGetDefault ();
14348 main ()
14350 return cupsGetDefault ();
14352 return 0;
14354 _ACEOF
14355 rm -f conftest.$ac_objext conftest$ac_exeext
14356 if { (ac_try="$ac_link"
14357 case "(($ac_try" in
14358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14359 *) ac_try_echo=$ac_try;;
14360 esac
14361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14362 (eval "$ac_link") 2>conftest.er1
14363 ac_status=$?
14364 grep -v '^ *+' conftest.er1 >conftest.err
14365 rm -f conftest.er1
14366 cat conftest.err >&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); } && {
14369 test -z "$ac_c_werror_flag" ||
14370 test ! -s conftest.err
14371 } && test -s conftest$ac_exeext &&
14372 $as_test_x conftest$ac_exeext; then
14373 case "$LIBEXT" in
14374 dll) ;;
14375 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'` ;;
14376 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14377 esac
14378 else
14379 echo "$as_me: failed program was:" >&5
14380 sed 's/^/| /' conftest.$ac_ext >&5
14385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14386 conftest$ac_exeext conftest.$ac_ext
14387 LIBS=$ac_check_soname_save_LIBS
14389 if test "x$ac_cv_lib_soname_cups" = "x"; then
14390 { echo "$as_me:$LINENO: result: not found" >&5
14391 echo "${ECHO_T}not found" >&6; }
14393 else
14394 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14395 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14397 cat >>confdefs.h <<_ACEOF
14398 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14399 _ACEOF
14405 if test "x$ac_cv_lib_soname_cups" = "x"; then
14406 wine_notices="$wine_notices|libcups development files not found.
14407 Wine will be built without CUPS support."
14411 if test "$ac_cv_header_jack_jack_h" = "yes"
14412 then
14413 { echo "$as_me:$LINENO: checking for -ljack" >&5
14414 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14415 if test "${ac_cv_lib_soname_jack+set}" = set; then
14416 echo $ECHO_N "(cached) $ECHO_C" >&6
14417 else
14418 ac_check_soname_save_LIBS=$LIBS
14419 LIBS="-ljack $LIBS"
14420 cat >conftest.$ac_ext <<_ACEOF
14421 /* confdefs.h. */
14422 _ACEOF
14423 cat confdefs.h >>conftest.$ac_ext
14424 cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14427 /* Override any GCC internal prototype to avoid an error.
14428 Use char because int might match the return type of a GCC
14429 builtin and then its argument prototype would still apply. */
14430 #ifdef __cplusplus
14431 extern "C"
14432 #endif
14433 char jack_client_new ();
14435 main ()
14437 return jack_client_new ();
14439 return 0;
14441 _ACEOF
14442 rm -f conftest.$ac_objext conftest$ac_exeext
14443 if { (ac_try="$ac_link"
14444 case "(($ac_try" in
14445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14446 *) ac_try_echo=$ac_try;;
14447 esac
14448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14449 (eval "$ac_link") 2>conftest.er1
14450 ac_status=$?
14451 grep -v '^ *+' conftest.er1 >conftest.err
14452 rm -f conftest.er1
14453 cat conftest.err >&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); } && {
14456 test -z "$ac_c_werror_flag" ||
14457 test ! -s conftest.err
14458 } && test -s conftest$ac_exeext &&
14459 $as_test_x conftest$ac_exeext; then
14460 case "$LIBEXT" in
14461 dll) ;;
14462 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'` ;;
14463 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14464 esac
14465 else
14466 echo "$as_me: failed program was:" >&5
14467 sed 's/^/| /' conftest.$ac_ext >&5
14472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14473 conftest$ac_exeext conftest.$ac_ext
14474 LIBS=$ac_check_soname_save_LIBS
14476 if test "x$ac_cv_lib_soname_jack" = "x"; then
14477 { echo "$as_me:$LINENO: result: not found" >&5
14478 echo "${ECHO_T}not found" >&6; }
14480 else
14481 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14482 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14484 cat >>confdefs.h <<_ACEOF
14485 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14486 _ACEOF
14493 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14494 then
14495 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14496 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14497 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14498 echo $ECHO_N "(cached) $ECHO_C" >&6
14499 else
14500 ac_check_soname_save_LIBS=$LIBS
14501 LIBS="-lfontconfig $LIBS"
14502 cat >conftest.$ac_ext <<_ACEOF
14503 /* confdefs.h. */
14504 _ACEOF
14505 cat confdefs.h >>conftest.$ac_ext
14506 cat >>conftest.$ac_ext <<_ACEOF
14507 /* end confdefs.h. */
14509 /* Override any GCC internal prototype to avoid an error.
14510 Use char because int might match the return type of a GCC
14511 builtin and then its argument prototype would still apply. */
14512 #ifdef __cplusplus
14513 extern "C"
14514 #endif
14515 char FcInit ();
14517 main ()
14519 return FcInit ();
14521 return 0;
14523 _ACEOF
14524 rm -f conftest.$ac_objext conftest$ac_exeext
14525 if { (ac_try="$ac_link"
14526 case "(($ac_try" in
14527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14528 *) ac_try_echo=$ac_try;;
14529 esac
14530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14531 (eval "$ac_link") 2>conftest.er1
14532 ac_status=$?
14533 grep -v '^ *+' conftest.er1 >conftest.err
14534 rm -f conftest.er1
14535 cat conftest.err >&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); } && {
14538 test -z "$ac_c_werror_flag" ||
14539 test ! -s conftest.err
14540 } && test -s conftest$ac_exeext &&
14541 $as_test_x conftest$ac_exeext; then
14542 case "$LIBEXT" in
14543 dll) ;;
14544 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'` ;;
14545 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14546 esac
14547 else
14548 echo "$as_me: failed program was:" >&5
14549 sed 's/^/| /' conftest.$ac_ext >&5
14554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14555 conftest$ac_exeext conftest.$ac_ext
14556 LIBS=$ac_check_soname_save_LIBS
14558 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14559 { echo "$as_me:$LINENO: result: not found" >&5
14560 echo "${ECHO_T}not found" >&6; }
14562 else
14563 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14564 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14566 cat >>confdefs.h <<_ACEOF
14567 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14568 _ACEOF
14574 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14575 wine_notices="$wine_notices|fontconfig development files not found.
14576 Wine will be built without fontconfig support."
14580 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14581 then
14582 { echo "$as_me:$LINENO: checking for -lssl" >&5
14583 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14584 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14585 echo $ECHO_N "(cached) $ECHO_C" >&6
14586 else
14587 ac_check_soname_save_LIBS=$LIBS
14588 LIBS="-lssl $LIBS"
14589 cat >conftest.$ac_ext <<_ACEOF
14590 /* confdefs.h. */
14591 _ACEOF
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14596 /* Override any GCC internal prototype to avoid an error.
14597 Use char because int might match the return type of a GCC
14598 builtin and then its argument prototype would still apply. */
14599 #ifdef __cplusplus
14600 extern "C"
14601 #endif
14602 char SSL_library_init ();
14604 main ()
14606 return SSL_library_init ();
14608 return 0;
14610 _ACEOF
14611 rm -f conftest.$ac_objext conftest$ac_exeext
14612 if { (ac_try="$ac_link"
14613 case "(($ac_try" in
14614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14615 *) ac_try_echo=$ac_try;;
14616 esac
14617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14618 (eval "$ac_link") 2>conftest.er1
14619 ac_status=$?
14620 grep -v '^ *+' conftest.er1 >conftest.err
14621 rm -f conftest.er1
14622 cat conftest.err >&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); } && {
14625 test -z "$ac_c_werror_flag" ||
14626 test ! -s conftest.err
14627 } && test -s conftest$ac_exeext &&
14628 $as_test_x conftest$ac_exeext; then
14629 case "$LIBEXT" in
14630 dll) ;;
14631 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'` ;;
14632 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14633 esac
14634 else
14635 echo "$as_me: failed program was:" >&5
14636 sed 's/^/| /' conftest.$ac_ext >&5
14641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14642 conftest$ac_exeext conftest.$ac_ext
14643 LIBS=$ac_check_soname_save_LIBS
14645 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14646 { echo "$as_me:$LINENO: result: not found" >&5
14647 echo "${ECHO_T}not found" >&6; }
14649 else
14650 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14651 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14653 cat >>confdefs.h <<_ACEOF
14654 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14655 _ACEOF
14660 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14661 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14662 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14663 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 else
14665 ac_check_soname_save_LIBS=$LIBS
14666 LIBS="-lcrypto $LIBS"
14667 cat >conftest.$ac_ext <<_ACEOF
14668 /* confdefs.h. */
14669 _ACEOF
14670 cat confdefs.h >>conftest.$ac_ext
14671 cat >>conftest.$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14674 /* Override any GCC internal prototype to avoid an error.
14675 Use char because int might match the return type of a GCC
14676 builtin and then its argument prototype would still apply. */
14677 #ifdef __cplusplus
14678 extern "C"
14679 #endif
14680 char BIO_new_socket ();
14682 main ()
14684 return BIO_new_socket ();
14686 return 0;
14688 _ACEOF
14689 rm -f conftest.$ac_objext conftest$ac_exeext
14690 if { (ac_try="$ac_link"
14691 case "(($ac_try" in
14692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14693 *) ac_try_echo=$ac_try;;
14694 esac
14695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14696 (eval "$ac_link") 2>conftest.er1
14697 ac_status=$?
14698 grep -v '^ *+' conftest.er1 >conftest.err
14699 rm -f conftest.er1
14700 cat conftest.err >&5
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); } && {
14703 test -z "$ac_c_werror_flag" ||
14704 test ! -s conftest.err
14705 } && test -s conftest$ac_exeext &&
14706 $as_test_x conftest$ac_exeext; then
14707 case "$LIBEXT" in
14708 dll) ;;
14709 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'` ;;
14710 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14711 esac
14712 else
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.$ac_ext >&5
14719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14720 conftest$ac_exeext conftest.$ac_ext
14721 LIBS=$ac_check_soname_save_LIBS
14723 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14724 { echo "$as_me:$LINENO: result: not found" >&5
14725 echo "${ECHO_T}not found" >&6; }
14727 else
14728 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14729 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14731 cat >>confdefs.h <<_ACEOF
14732 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14733 _ACEOF
14739 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14740 wine_notices="$wine_notices|OpenSSL development files not found.
14741 Wine will be built without SSL support. (wininet.dll)"
14745 if test "$ac_cv_header_jpeglib_h" = "yes"
14746 then
14747 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14748 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14749 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14751 else
14752 ac_check_soname_save_LIBS=$LIBS
14753 LIBS="-ljpeg $LIBS"
14754 cat >conftest.$ac_ext <<_ACEOF
14755 /* confdefs.h. */
14756 _ACEOF
14757 cat confdefs.h >>conftest.$ac_ext
14758 cat >>conftest.$ac_ext <<_ACEOF
14759 /* end confdefs.h. */
14761 /* Override any GCC internal prototype to avoid an error.
14762 Use char because int might match the return type of a GCC
14763 builtin and then its argument prototype would still apply. */
14764 #ifdef __cplusplus
14765 extern "C"
14766 #endif
14767 char jpeg_start_decompress ();
14769 main ()
14771 return jpeg_start_decompress ();
14773 return 0;
14775 _ACEOF
14776 rm -f conftest.$ac_objext conftest$ac_exeext
14777 if { (ac_try="$ac_link"
14778 case "(($ac_try" in
14779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14780 *) ac_try_echo=$ac_try;;
14781 esac
14782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14783 (eval "$ac_link") 2>conftest.er1
14784 ac_status=$?
14785 grep -v '^ *+' conftest.er1 >conftest.err
14786 rm -f conftest.er1
14787 cat conftest.err >&5
14788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14789 (exit $ac_status); } && {
14790 test -z "$ac_c_werror_flag" ||
14791 test ! -s conftest.err
14792 } && test -s conftest$ac_exeext &&
14793 $as_test_x conftest$ac_exeext; then
14794 case "$LIBEXT" in
14795 dll) ;;
14796 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'` ;;
14797 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14798 esac
14799 else
14800 echo "$as_me: failed program was:" >&5
14801 sed 's/^/| /' conftest.$ac_ext >&5
14806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14807 conftest$ac_exeext conftest.$ac_ext
14808 LIBS=$ac_check_soname_save_LIBS
14810 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14811 { echo "$as_me:$LINENO: result: not found" >&5
14812 echo "${ECHO_T}not found" >&6; }
14814 else
14815 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14816 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14818 cat >>confdefs.h <<_ACEOF
14819 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14820 _ACEOF
14826 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14827 wine_notices="$wine_notices|libjpeg development files not found.
14828 Wine will be built without JPEG support. (oleaut32.dll)"
14832 if test "$ac_cv_header_png_h" = "yes"
14833 then
14834 { echo "$as_me:$LINENO: checking for -lpng" >&5
14835 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14836 if test "${ac_cv_lib_soname_png+set}" = set; then
14837 echo $ECHO_N "(cached) $ECHO_C" >&6
14838 else
14839 ac_check_soname_save_LIBS=$LIBS
14840 LIBS="-lpng $LIBS"
14841 cat >conftest.$ac_ext <<_ACEOF
14842 /* confdefs.h. */
14843 _ACEOF
14844 cat confdefs.h >>conftest.$ac_ext
14845 cat >>conftest.$ac_ext <<_ACEOF
14846 /* end confdefs.h. */
14848 /* Override any GCC internal prototype to avoid an error.
14849 Use char because int might match the return type of a GCC
14850 builtin and then its argument prototype would still apply. */
14851 #ifdef __cplusplus
14852 extern "C"
14853 #endif
14854 char png_create_read_struct ();
14856 main ()
14858 return png_create_read_struct ();
14860 return 0;
14862 _ACEOF
14863 rm -f conftest.$ac_objext conftest$ac_exeext
14864 if { (ac_try="$ac_link"
14865 case "(($ac_try" in
14866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14867 *) ac_try_echo=$ac_try;;
14868 esac
14869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14870 (eval "$ac_link") 2>conftest.er1
14871 ac_status=$?
14872 grep -v '^ *+' conftest.er1 >conftest.err
14873 rm -f conftest.er1
14874 cat conftest.err >&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); } && {
14877 test -z "$ac_c_werror_flag" ||
14878 test ! -s conftest.err
14879 } && test -s conftest$ac_exeext &&
14880 $as_test_x conftest$ac_exeext; then
14881 case "$LIBEXT" in
14882 dll) ;;
14883 dylib) ac_cv_lib_soname_png=`otool -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14884 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14885 esac
14886 else
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.$ac_ext >&5
14893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14894 conftest$ac_exeext conftest.$ac_ext
14895 LIBS=$ac_check_soname_save_LIBS
14897 if test "x$ac_cv_lib_soname_png" = "x"; then
14898 { echo "$as_me:$LINENO: result: not found" >&5
14899 echo "${ECHO_T}not found" >&6; }
14901 else
14902 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14903 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14905 cat >>confdefs.h <<_ACEOF
14906 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14907 _ACEOF
14913 if test "x$ac_cv_lib_soname_png" = "x"; then
14914 wine_notices="$wine_notices|libpng development files not found.
14915 Wine will be built without PNG support. (oleaut32.dll)"
14919 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14920 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14921 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14922 "$ac_cv_header_soundcard_h" != "yes"; then
14923 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14928 EXTRACFLAGS=""
14930 if test "x${GCC}" = "xyes"
14931 then
14932 EXTRACFLAGS="-Wall -pipe"
14934 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14935 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14936 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14937 echo $ECHO_N "(cached) $ECHO_C" >&6
14938 else
14939 if test "$cross_compiling" = yes; then
14940 ac_cv_c_gcc_strength_bug="yes"
14941 else
14942 cat >conftest.$ac_ext <<_ACEOF
14943 /* confdefs.h. */
14944 _ACEOF
14945 cat confdefs.h >>conftest.$ac_ext
14946 cat >>conftest.$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14948 int L[4] = {0,1,2,3};
14950 main ()
14952 static int Array[3];
14953 unsigned int B = 3;
14954 int i;
14955 for(i=0; i<B; i++) Array[i] = i - 3;
14956 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14957 L[i] = 4;
14958 exit( Array[1] != -2 || L[2] != 3)
14960 return 0;
14962 _ACEOF
14963 rm -f conftest$ac_exeext
14964 if { (ac_try="$ac_link"
14965 case "(($ac_try" in
14966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14967 *) ac_try_echo=$ac_try;;
14968 esac
14969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14970 (eval "$ac_link") 2>&5
14971 ac_status=$?
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14974 { (case "(($ac_try" in
14975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14976 *) ac_try_echo=$ac_try;;
14977 esac
14978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_try") 2>&5
14980 ac_status=$?
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); }; }; then
14983 ac_cv_c_gcc_strength_bug="no"
14984 else
14985 echo "$as_me: program exited with status $ac_status" >&5
14986 echo "$as_me: failed program was:" >&5
14987 sed 's/^/| /' conftest.$ac_ext >&5
14989 ( exit $ac_status )
14990 ac_cv_c_gcc_strength_bug="yes"
14992 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14997 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14998 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14999 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15000 then
15001 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15005 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15006 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15007 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15008 echo $ECHO_N "(cached) $ECHO_C" >&6
15009 else
15010 ac_wine_try_cflags_saved=$CFLAGS
15011 CFLAGS="$CFLAGS -fshort-wchar"
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. */
15020 main ()
15024 return 0;
15026 _ACEOF
15027 rm -f conftest.$ac_objext conftest$ac_exeext
15028 if { (ac_try="$ac_link"
15029 case "(($ac_try" in
15030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15031 *) ac_try_echo=$ac_try;;
15032 esac
15033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15034 (eval "$ac_link") 2>conftest.er1
15035 ac_status=$?
15036 grep -v '^ *+' conftest.er1 >conftest.err
15037 rm -f conftest.er1
15038 cat conftest.err >&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); } && {
15041 test -z "$ac_c_werror_flag" ||
15042 test ! -s conftest.err
15043 } && test -s conftest$ac_exeext &&
15044 $as_test_x conftest$ac_exeext; then
15045 ac_cv_cflags__fshort_wchar=yes
15046 else
15047 echo "$as_me: failed program was:" >&5
15048 sed 's/^/| /' conftest.$ac_ext >&5
15050 ac_cv_cflags__fshort_wchar=no
15053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15054 conftest$ac_exeext conftest.$ac_ext
15055 CFLAGS=$ac_wine_try_cflags_saved
15057 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15058 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15059 if test $ac_cv_cflags__fshort_wchar = yes; then
15061 cat >>confdefs.h <<\_ACEOF
15062 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15063 _ACEOF
15067 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15068 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15069 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 else
15072 ac_wine_try_cflags_saved=$CFLAGS
15073 CFLAGS="$CFLAGS -fno-strict-aliasing"
15074 cat >conftest.$ac_ext <<_ACEOF
15075 /* confdefs.h. */
15076 _ACEOF
15077 cat confdefs.h >>conftest.$ac_ext
15078 cat >>conftest.$ac_ext <<_ACEOF
15079 /* end confdefs.h. */
15082 main ()
15086 return 0;
15088 _ACEOF
15089 rm -f conftest.$ac_objext conftest$ac_exeext
15090 if { (ac_try="$ac_link"
15091 case "(($ac_try" in
15092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15093 *) ac_try_echo=$ac_try;;
15094 esac
15095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15096 (eval "$ac_link") 2>conftest.er1
15097 ac_status=$?
15098 grep -v '^ *+' conftest.er1 >conftest.err
15099 rm -f conftest.er1
15100 cat conftest.err >&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); } && {
15103 test -z "$ac_c_werror_flag" ||
15104 test ! -s conftest.err
15105 } && test -s conftest$ac_exeext &&
15106 $as_test_x conftest$ac_exeext; then
15107 ac_cv_cflags__fno_strict_aliasing=yes
15108 else
15109 echo "$as_me: failed program was:" >&5
15110 sed 's/^/| /' conftest.$ac_ext >&5
15112 ac_cv_cflags__fno_strict_aliasing=no
15115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15116 conftest$ac_exeext conftest.$ac_ext
15117 CFLAGS=$ac_wine_try_cflags_saved
15119 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15120 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15121 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15122 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15125 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15126 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15127 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15128 echo $ECHO_N "(cached) $ECHO_C" >&6
15129 else
15130 ac_wine_try_cflags_saved=$CFLAGS
15131 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15132 cat >conftest.$ac_ext <<_ACEOF
15133 /* confdefs.h. */
15134 _ACEOF
15135 cat confdefs.h >>conftest.$ac_ext
15136 cat >>conftest.$ac_ext <<_ACEOF
15137 /* end confdefs.h. */
15140 main ()
15144 return 0;
15146 _ACEOF
15147 rm -f conftest.$ac_objext conftest$ac_exeext
15148 if { (ac_try="$ac_link"
15149 case "(($ac_try" in
15150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15151 *) ac_try_echo=$ac_try;;
15152 esac
15153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15154 (eval "$ac_link") 2>conftest.er1
15155 ac_status=$?
15156 grep -v '^ *+' conftest.er1 >conftest.err
15157 rm -f conftest.er1
15158 cat conftest.err >&5
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); } && {
15161 test -z "$ac_c_werror_flag" ||
15162 test ! -s conftest.err
15163 } && test -s conftest$ac_exeext &&
15164 $as_test_x conftest$ac_exeext; then
15165 ac_cv_cflags__Wdeclaration_after_statement=yes
15166 else
15167 echo "$as_me: failed program was:" >&5
15168 sed 's/^/| /' conftest.$ac_ext >&5
15170 ac_cv_cflags__Wdeclaration_after_statement=no
15173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15174 conftest$ac_exeext conftest.$ac_ext
15175 CFLAGS=$ac_wine_try_cflags_saved
15177 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15178 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15179 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15180 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15183 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15184 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15185 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 else
15188 ac_wine_try_cflags_saved=$CFLAGS
15189 CFLAGS="$CFLAGS -Wwrite-strings"
15190 cat >conftest.$ac_ext <<_ACEOF
15191 /* confdefs.h. */
15192 _ACEOF
15193 cat confdefs.h >>conftest.$ac_ext
15194 cat >>conftest.$ac_ext <<_ACEOF
15195 /* end confdefs.h. */
15198 main ()
15202 return 0;
15204 _ACEOF
15205 rm -f conftest.$ac_objext conftest$ac_exeext
15206 if { (ac_try="$ac_link"
15207 case "(($ac_try" in
15208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15209 *) ac_try_echo=$ac_try;;
15210 esac
15211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15212 (eval "$ac_link") 2>conftest.er1
15213 ac_status=$?
15214 grep -v '^ *+' conftest.er1 >conftest.err
15215 rm -f conftest.er1
15216 cat conftest.err >&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); } && {
15219 test -z "$ac_c_werror_flag" ||
15220 test ! -s conftest.err
15221 } && test -s conftest$ac_exeext &&
15222 $as_test_x conftest$ac_exeext; then
15223 ac_cv_cflags__Wwrite_strings=yes
15224 else
15225 echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.$ac_ext >&5
15228 ac_cv_cflags__Wwrite_strings=no
15231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15232 conftest$ac_exeext conftest.$ac_ext
15233 CFLAGS=$ac_wine_try_cflags_saved
15235 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15236 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15237 if test $ac_cv_cflags__Wwrite_strings = yes; then
15238 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15242 saved_CFLAGS="$CFLAGS"
15243 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15244 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15245 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15246 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15247 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 else
15249 cat >conftest.$ac_ext <<_ACEOF
15250 /* confdefs.h. */
15251 _ACEOF
15252 cat confdefs.h >>conftest.$ac_ext
15253 cat >>conftest.$ac_ext <<_ACEOF
15254 /* end confdefs.h. */
15255 #include <string.h>
15257 main ()
15261 return 0;
15263 _ACEOF
15264 rm -f conftest.$ac_objext
15265 if { (ac_try="$ac_compile"
15266 case "(($ac_try" in
15267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15268 *) ac_try_echo=$ac_try;;
15269 esac
15270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15271 (eval "$ac_compile") 2>conftest.er1
15272 ac_status=$?
15273 grep -v '^ *+' conftest.er1 >conftest.err
15274 rm -f conftest.er1
15275 cat conftest.err >&5
15276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15277 (exit $ac_status); } && {
15278 test -z "$ac_c_werror_flag" ||
15279 test ! -s conftest.err
15280 } && test -s conftest.$ac_objext; then
15281 ac_cv_c_string_h_warnings=no
15282 else
15283 echo "$as_me: failed program was:" >&5
15284 sed 's/^/| /' conftest.$ac_ext >&5
15286 ac_cv_c_string_h_warnings=yes
15289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15291 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15292 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15293 CFLAGS="$saved_CFLAGS"
15294 if test "$ac_cv_c_string_h_warnings" = "no"
15295 then
15296 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15299 BUILTINFLAG=""
15301 saved_CFLAGS="$CFLAGS"
15302 CFLAGS="$CFLAGS -Werror"
15303 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15304 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15305 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15306 echo $ECHO_N "(cached) $ECHO_C" >&6
15307 else
15308 cat >conftest.$ac_ext <<_ACEOF
15309 /* confdefs.h. */
15310 _ACEOF
15311 cat confdefs.h >>conftest.$ac_ext
15312 cat >>conftest.$ac_ext <<_ACEOF
15313 /* end confdefs.h. */
15316 main ()
15318 int iswlower(unsigned short);
15320 return 0;
15322 _ACEOF
15323 rm -f conftest.$ac_objext
15324 if { (ac_try="$ac_compile"
15325 case "(($ac_try" in
15326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15327 *) ac_try_echo=$ac_try;;
15328 esac
15329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15330 (eval "$ac_compile") 2>conftest.er1
15331 ac_status=$?
15332 grep -v '^ *+' conftest.er1 >conftest.err
15333 rm -f conftest.er1
15334 cat conftest.err >&5
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); } && {
15337 test -z "$ac_c_werror_flag" ||
15338 test ! -s conftest.err
15339 } && test -s conftest.$ac_objext; then
15340 ac_cv_c_builtin_wchar_ctype=no
15341 else
15342 echo "$as_me: failed program was:" >&5
15343 sed 's/^/| /' conftest.$ac_ext >&5
15345 ac_cv_c_builtin_wchar_ctype=yes
15348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15350 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15351 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15352 CFLAGS="$saved_CFLAGS"
15353 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15354 then
15355 BUILTINFLAG="-fno-builtin"
15360 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15361 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15362 if test "${ac_cv_asm_func_def+set}" = set; then
15363 echo $ECHO_N "(cached) $ECHO_C" >&6
15364 else
15365 cat >conftest.$ac_ext <<_ACEOF
15366 /* confdefs.h. */
15367 _ACEOF
15368 cat confdefs.h >>conftest.$ac_ext
15369 cat >>conftest.$ac_ext <<_ACEOF
15370 /* end confdefs.h. */
15373 main ()
15375 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15377 return 0;
15379 _ACEOF
15380 rm -f conftest.$ac_objext conftest$ac_exeext
15381 if { (ac_try="$ac_link"
15382 case "(($ac_try" in
15383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15384 *) ac_try_echo=$ac_try;;
15385 esac
15386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15387 (eval "$ac_link") 2>conftest.er1
15388 ac_status=$?
15389 grep -v '^ *+' conftest.er1 >conftest.err
15390 rm -f conftest.er1
15391 cat conftest.err >&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } && {
15394 test -z "$ac_c_werror_flag" ||
15395 test ! -s conftest.err
15396 } && test -s conftest$ac_exeext &&
15397 $as_test_x conftest$ac_exeext; then
15398 ac_cv_asm_func_def=".def"
15399 else
15400 echo "$as_me: failed program was:" >&5
15401 sed 's/^/| /' conftest.$ac_ext >&5
15403 cat >conftest.$ac_ext <<_ACEOF
15404 /* confdefs.h. */
15405 _ACEOF
15406 cat confdefs.h >>conftest.$ac_ext
15407 cat >>conftest.$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15411 main ()
15413 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15415 return 0;
15417 _ACEOF
15418 rm -f conftest.$ac_objext conftest$ac_exeext
15419 if { (ac_try="$ac_link"
15420 case "(($ac_try" in
15421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15422 *) ac_try_echo=$ac_try;;
15423 esac
15424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15425 (eval "$ac_link") 2>conftest.er1
15426 ac_status=$?
15427 grep -v '^ *+' conftest.er1 >conftest.err
15428 rm -f conftest.er1
15429 cat conftest.err >&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); } && {
15432 test -z "$ac_c_werror_flag" ||
15433 test ! -s conftest.err
15434 } && test -s conftest$ac_exeext &&
15435 $as_test_x conftest$ac_exeext; then
15436 ac_cv_asm_func_def=".type @function"
15437 else
15438 echo "$as_me: failed program was:" >&5
15439 sed 's/^/| /' conftest.$ac_ext >&5
15441 cat >conftest.$ac_ext <<_ACEOF
15442 /* confdefs.h. */
15443 _ACEOF
15444 cat confdefs.h >>conftest.$ac_ext
15445 cat >>conftest.$ac_ext <<_ACEOF
15446 /* end confdefs.h. */
15449 main ()
15451 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15453 return 0;
15455 _ACEOF
15456 rm -f conftest.$ac_objext conftest$ac_exeext
15457 if { (ac_try="$ac_link"
15458 case "(($ac_try" in
15459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15460 *) ac_try_echo=$ac_try;;
15461 esac
15462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15463 (eval "$ac_link") 2>conftest.er1
15464 ac_status=$?
15465 grep -v '^ *+' conftest.er1 >conftest.err
15466 rm -f conftest.er1
15467 cat conftest.err >&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); } && {
15470 test -z "$ac_c_werror_flag" ||
15471 test ! -s conftest.err
15472 } && test -s conftest$ac_exeext &&
15473 $as_test_x conftest$ac_exeext; then
15474 ac_cv_asm_func_def=".type 2"
15475 else
15476 echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.$ac_ext >&5
15479 ac_cv_asm_func_def="unknown"
15482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15483 conftest$ac_exeext conftest.$ac_ext
15486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15487 conftest$ac_exeext conftest.$ac_ext
15490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15491 conftest$ac_exeext conftest.$ac_ext
15493 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15494 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15498 case "$ac_cv_asm_func_def" in
15499 ".def")
15500 cat >>confdefs.h <<\_ACEOF
15501 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15502 _ACEOF
15504 ".type @function")
15505 cat >>confdefs.h <<\_ACEOF
15506 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15507 _ACEOF
15509 ".type 2")
15510 cat >>confdefs.h <<\_ACEOF
15511 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15512 _ACEOF
15515 cat >>confdefs.h <<\_ACEOF
15516 #define __ASM_FUNC(name) ""
15517 _ACEOF
15519 esac
15522 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15523 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15524 if test "${ac_cv_c_extern_prefix+set}" = set; then
15525 echo $ECHO_N "(cached) $ECHO_C" >&6
15526 else
15527 cat >conftest.$ac_ext <<_ACEOF
15528 /* confdefs.h. */
15529 _ACEOF
15530 cat confdefs.h >>conftest.$ac_ext
15531 cat >>conftest.$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15533 extern int ac_test;
15535 main ()
15537 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15539 return 0;
15541 _ACEOF
15542 rm -f conftest.$ac_objext conftest$ac_exeext
15543 if { (ac_try="$ac_link"
15544 case "(($ac_try" in
15545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15546 *) ac_try_echo=$ac_try;;
15547 esac
15548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15549 (eval "$ac_link") 2>conftest.er1
15550 ac_status=$?
15551 grep -v '^ *+' conftest.er1 >conftest.err
15552 rm -f conftest.er1
15553 cat conftest.err >&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } && {
15556 test -z "$ac_c_werror_flag" ||
15557 test ! -s conftest.err
15558 } && test -s conftest$ac_exeext &&
15559 $as_test_x conftest$ac_exeext; then
15560 ac_cv_c_extern_prefix="yes"
15561 else
15562 echo "$as_me: failed program was:" >&5
15563 sed 's/^/| /' conftest.$ac_ext >&5
15565 ac_cv_c_extern_prefix="no"
15568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15569 conftest$ac_exeext conftest.$ac_ext
15571 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15572 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15576 if test "$ac_cv_c_extern_prefix" = "yes"
15577 then
15578 cat >>confdefs.h <<\_ACEOF
15579 #define __ASM_NAME(name) "_" name
15580 _ACEOF
15582 else
15583 cat >>confdefs.h <<\_ACEOF
15584 #define __ASM_NAME(name) name
15585 _ACEOF
15590 LDPATH=""
15592 case $build_os in
15593 cygwin*|mingw32*)
15594 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15596 darwin*|macosx*)
15598 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15599 then
15600 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15604 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15606 esac
15608 case $host_os in
15609 mingw32*)
15610 CRTLIBS="-lmsvcrt"
15612 SOCKETLIBS="-lws2_32"
15615 esac
15617 MAIN_BINARY="wine-pthread"
15618 case $host_cpu in
15619 *i[3456789]86*)
15620 case $host_os in
15621 linux* | k*bsd*-gnu)
15622 MAIN_BINARY="wine-glibc"
15624 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15626 freebsd*)
15627 MAIN_BINARY="wine-freebsd"
15629 EXTRA_BINARIES="wine-pthread"
15631 esac
15633 esac
15698 for ac_func in \
15699 _pclose \
15700 _popen \
15701 _snprintf \
15702 _spawnvp \
15703 _stricmp \
15704 _strnicmp \
15705 _vsnprintf \
15706 asctime_r \
15707 chsize \
15708 clone \
15709 dlopen \
15710 epoll_create \
15711 ffs \
15712 finite \
15713 fork \
15714 fpclass \
15715 fstatfs \
15716 fstatvfs \
15717 ftruncate \
15718 futimes \
15719 futimesat \
15720 getdirentries \
15721 getopt_long \
15722 getpagesize \
15723 getpwuid \
15724 gettid \
15725 gettimeofday \
15726 getuid \
15727 inet_pton \
15728 kqueue \
15729 lstat \
15730 memmove \
15731 mmap \
15732 pclose \
15733 poll \
15734 popen \
15735 prctl \
15736 pread \
15737 pwrite \
15738 readlink \
15739 rfork \
15740 sched_yield \
15741 select \
15742 setrlimit \
15743 settimeofday \
15744 sigaltstack \
15745 sigprocmask \
15746 snprintf \
15747 spawnvp \
15748 statfs \
15749 statvfs \
15750 strcasecmp \
15751 strerror \
15752 strncasecmp \
15753 strtold \
15754 tcgetattr \
15755 thr_kill2 \
15756 timegm \
15757 usleep \
15758 vsnprintf \
15759 wait4 \
15760 waitpid \
15763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15764 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15767 echo $ECHO_N "(cached) $ECHO_C" >&6
15768 else
15769 cat >conftest.$ac_ext <<_ACEOF
15770 /* confdefs.h. */
15771 _ACEOF
15772 cat confdefs.h >>conftest.$ac_ext
15773 cat >>conftest.$ac_ext <<_ACEOF
15774 /* end confdefs.h. */
15775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15777 #define $ac_func innocuous_$ac_func
15779 /* System header to define __stub macros and hopefully few prototypes,
15780 which can conflict with char $ac_func (); below.
15781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15782 <limits.h> exists even on freestanding compilers. */
15784 #ifdef __STDC__
15785 # include <limits.h>
15786 #else
15787 # include <assert.h>
15788 #endif
15790 #undef $ac_func
15792 /* Override any GCC internal prototype to avoid an error.
15793 Use char because int might match the return type of a GCC
15794 builtin and then its argument prototype would still apply. */
15795 #ifdef __cplusplus
15796 extern "C"
15797 #endif
15798 char $ac_func ();
15799 /* The GNU C library defines this for functions which it implements
15800 to always fail with ENOSYS. Some functions are actually named
15801 something starting with __ and the normal name is an alias. */
15802 #if defined __stub_$ac_func || defined __stub___$ac_func
15803 choke me
15804 #endif
15807 main ()
15809 return $ac_func ();
15811 return 0;
15813 _ACEOF
15814 rm -f conftest.$ac_objext conftest$ac_exeext
15815 if { (ac_try="$ac_link"
15816 case "(($ac_try" in
15817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15818 *) ac_try_echo=$ac_try;;
15819 esac
15820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15821 (eval "$ac_link") 2>conftest.er1
15822 ac_status=$?
15823 grep -v '^ *+' conftest.er1 >conftest.err
15824 rm -f conftest.er1
15825 cat conftest.err >&5
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); } && {
15828 test -z "$ac_c_werror_flag" ||
15829 test ! -s conftest.err
15830 } && test -s conftest$ac_exeext &&
15831 $as_test_x conftest$ac_exeext; then
15832 eval "$as_ac_var=yes"
15833 else
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.$ac_ext >&5
15837 eval "$as_ac_var=no"
15840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15841 conftest$ac_exeext conftest.$ac_ext
15843 ac_res=`eval echo '${'$as_ac_var'}'`
15844 { echo "$as_me:$LINENO: result: $ac_res" >&5
15845 echo "${ECHO_T}$ac_res" >&6; }
15846 if test `eval echo '${'$as_ac_var'}'` = yes; then
15847 cat >>confdefs.h <<_ACEOF
15848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15849 _ACEOF
15852 done
15855 if test "$ac_cv_func_dlopen" = no
15856 then
15857 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15858 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15859 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15860 echo $ECHO_N "(cached) $ECHO_C" >&6
15861 else
15862 ac_check_lib_save_LIBS=$LIBS
15863 LIBS="-ldl $LIBS"
15864 cat >conftest.$ac_ext <<_ACEOF
15865 /* confdefs.h. */
15866 _ACEOF
15867 cat confdefs.h >>conftest.$ac_ext
15868 cat >>conftest.$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15871 /* Override any GCC internal prototype to avoid an error.
15872 Use char because int might match the return type of a GCC
15873 builtin and then its argument prototype would still apply. */
15874 #ifdef __cplusplus
15875 extern "C"
15876 #endif
15877 char dlopen ();
15879 main ()
15881 return dlopen ();
15883 return 0;
15885 _ACEOF
15886 rm -f conftest.$ac_objext conftest$ac_exeext
15887 if { (ac_try="$ac_link"
15888 case "(($ac_try" in
15889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15890 *) ac_try_echo=$ac_try;;
15891 esac
15892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15893 (eval "$ac_link") 2>conftest.er1
15894 ac_status=$?
15895 grep -v '^ *+' conftest.er1 >conftest.err
15896 rm -f conftest.er1
15897 cat conftest.err >&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } && {
15900 test -z "$ac_c_werror_flag" ||
15901 test ! -s conftest.err
15902 } && test -s conftest$ac_exeext &&
15903 $as_test_x conftest$ac_exeext; then
15904 ac_cv_lib_dl_dlopen=yes
15905 else
15906 echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.$ac_ext >&5
15909 ac_cv_lib_dl_dlopen=no
15912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15913 conftest$ac_exeext conftest.$ac_ext
15914 LIBS=$ac_check_lib_save_LIBS
15916 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15917 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15918 if test $ac_cv_lib_dl_dlopen = yes; then
15919 cat >>confdefs.h <<\_ACEOF
15920 #define HAVE_DLOPEN 1
15921 _ACEOF
15922 LIBDL="-ldl"
15927 ac_wine_check_funcs_save_LIBS="$LIBS"
15928 LIBS="$LIBS $LIBDL"
15930 for ac_func in dladdr
15932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15933 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15935 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15936 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 else
15938 cat >conftest.$ac_ext <<_ACEOF
15939 /* confdefs.h. */
15940 _ACEOF
15941 cat confdefs.h >>conftest.$ac_ext
15942 cat >>conftest.$ac_ext <<_ACEOF
15943 /* end confdefs.h. */
15944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15946 #define $ac_func innocuous_$ac_func
15948 /* System header to define __stub macros and hopefully few prototypes,
15949 which can conflict with char $ac_func (); below.
15950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15951 <limits.h> exists even on freestanding compilers. */
15953 #ifdef __STDC__
15954 # include <limits.h>
15955 #else
15956 # include <assert.h>
15957 #endif
15959 #undef $ac_func
15961 /* Override any GCC internal prototype to avoid an error.
15962 Use char because int might match the return type of a GCC
15963 builtin and then its argument prototype would still apply. */
15964 #ifdef __cplusplus
15965 extern "C"
15966 #endif
15967 char $ac_func ();
15968 /* The GNU C library defines this for functions which it implements
15969 to always fail with ENOSYS. Some functions are actually named
15970 something starting with __ and the normal name is an alias. */
15971 #if defined __stub_$ac_func || defined __stub___$ac_func
15972 choke me
15973 #endif
15976 main ()
15978 return $ac_func ();
15980 return 0;
15982 _ACEOF
15983 rm -f conftest.$ac_objext conftest$ac_exeext
15984 if { (ac_try="$ac_link"
15985 case "(($ac_try" in
15986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15987 *) ac_try_echo=$ac_try;;
15988 esac
15989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15990 (eval "$ac_link") 2>conftest.er1
15991 ac_status=$?
15992 grep -v '^ *+' conftest.er1 >conftest.err
15993 rm -f conftest.er1
15994 cat conftest.err >&5
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); } && {
15997 test -z "$ac_c_werror_flag" ||
15998 test ! -s conftest.err
15999 } && test -s conftest$ac_exeext &&
16000 $as_test_x conftest$ac_exeext; then
16001 eval "$as_ac_var=yes"
16002 else
16003 echo "$as_me: failed program was:" >&5
16004 sed 's/^/| /' conftest.$ac_ext >&5
16006 eval "$as_ac_var=no"
16009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16010 conftest$ac_exeext conftest.$ac_ext
16012 ac_res=`eval echo '${'$as_ac_var'}'`
16013 { echo "$as_me:$LINENO: result: $ac_res" >&5
16014 echo "${ECHO_T}$ac_res" >&6; }
16015 if test `eval echo '${'$as_ac_var'}'` = yes; then
16016 cat >>confdefs.h <<_ACEOF
16017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16018 _ACEOF
16021 done
16023 LIBS="$ac_wine_check_funcs_save_LIBS"
16025 if test "$ac_cv_func_poll" = no
16026 then
16027 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16028 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16029 if test "${ac_cv_lib_poll_poll+set}" = set; then
16030 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 else
16032 ac_check_lib_save_LIBS=$LIBS
16033 LIBS="-lpoll $LIBS"
16034 cat >conftest.$ac_ext <<_ACEOF
16035 /* confdefs.h. */
16036 _ACEOF
16037 cat confdefs.h >>conftest.$ac_ext
16038 cat >>conftest.$ac_ext <<_ACEOF
16039 /* end confdefs.h. */
16041 /* Override any GCC internal prototype to avoid an error.
16042 Use char because int might match the return type of a GCC
16043 builtin and then its argument prototype would still apply. */
16044 #ifdef __cplusplus
16045 extern "C"
16046 #endif
16047 char poll ();
16049 main ()
16051 return poll ();
16053 return 0;
16055 _ACEOF
16056 rm -f conftest.$ac_objext conftest$ac_exeext
16057 if { (ac_try="$ac_link"
16058 case "(($ac_try" in
16059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16060 *) ac_try_echo=$ac_try;;
16061 esac
16062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16063 (eval "$ac_link") 2>conftest.er1
16064 ac_status=$?
16065 grep -v '^ *+' conftest.er1 >conftest.err
16066 rm -f conftest.er1
16067 cat conftest.err >&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } && {
16070 test -z "$ac_c_werror_flag" ||
16071 test ! -s conftest.err
16072 } && test -s conftest$ac_exeext &&
16073 $as_test_x conftest$ac_exeext; then
16074 ac_cv_lib_poll_poll=yes
16075 else
16076 echo "$as_me: failed program was:" >&5
16077 sed 's/^/| /' conftest.$ac_ext >&5
16079 ac_cv_lib_poll_poll=no
16082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16083 conftest$ac_exeext conftest.$ac_ext
16084 LIBS=$ac_check_lib_save_LIBS
16086 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16087 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16088 if test $ac_cv_lib_poll_poll = yes; then
16089 cat >>confdefs.h <<\_ACEOF
16090 #define HAVE_POLL 1
16091 _ACEOF
16092 LIBPOLL="-lpoll"
16098 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16099 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16100 if test "${ac_cv_search_gethostbyname+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 gethostbyname ();
16119 main ()
16121 return gethostbyname ();
16123 return 0;
16125 _ACEOF
16126 for ac_lib in '' nsl; 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_gethostbyname=$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_gethostbyname+set}" = set; then
16162 break
16164 done
16165 if test "${ac_cv_search_gethostbyname+set}" = set; then
16167 else
16168 ac_cv_search_gethostbyname=no
16170 rm conftest.$ac_ext
16171 LIBS=$ac_func_search_save_LIBS
16173 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16174 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16175 ac_res=$ac_cv_search_gethostbyname
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 connect" >&5
16183 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16184 if test "${ac_cv_search_connect+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 connect ();
16203 main ()
16205 return connect ();
16207 return 0;
16209 _ACEOF
16210 for ac_lib in '' socket; 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_connect=$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_connect+set}" = set; then
16246 break
16248 done
16249 if test "${ac_cv_search_connect+set}" = set; then
16251 else
16252 ac_cv_search_connect=no
16254 rm conftest.$ac_ext
16255 LIBS=$ac_func_search_save_LIBS
16257 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16258 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16259 ac_res=$ac_cv_search_connect
16260 if test "$ac_res" != no; then
16261 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16266 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16267 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16268 if test "${ac_cv_search_inet_aton+set}" = set; then
16269 echo $ECHO_N "(cached) $ECHO_C" >&6
16270 else
16271 ac_func_search_save_LIBS=$LIBS
16272 cat >conftest.$ac_ext <<_ACEOF
16273 /* confdefs.h. */
16274 _ACEOF
16275 cat confdefs.h >>conftest.$ac_ext
16276 cat >>conftest.$ac_ext <<_ACEOF
16277 /* end confdefs.h. */
16279 /* Override any GCC internal prototype to avoid an error.
16280 Use char because int might match the return type of a GCC
16281 builtin and then its argument prototype would still apply. */
16282 #ifdef __cplusplus
16283 extern "C"
16284 #endif
16285 char inet_aton ();
16287 main ()
16289 return inet_aton ();
16291 return 0;
16293 _ACEOF
16294 for ac_lib in '' resolv; do
16295 if test -z "$ac_lib"; then
16296 ac_res="none required"
16297 else
16298 ac_res=-l$ac_lib
16299 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16301 rm -f conftest.$ac_objext conftest$ac_exeext
16302 if { (ac_try="$ac_link"
16303 case "(($ac_try" in
16304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16305 *) ac_try_echo=$ac_try;;
16306 esac
16307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16308 (eval "$ac_link") 2>conftest.er1
16309 ac_status=$?
16310 grep -v '^ *+' conftest.er1 >conftest.err
16311 rm -f conftest.er1
16312 cat conftest.err >&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); } && {
16315 test -z "$ac_c_werror_flag" ||
16316 test ! -s conftest.err
16317 } && test -s conftest$ac_exeext &&
16318 $as_test_x conftest$ac_exeext; then
16319 ac_cv_search_inet_aton=$ac_res
16320 else
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.$ac_ext >&5
16327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16328 conftest$ac_exeext
16329 if test "${ac_cv_search_inet_aton+set}" = set; then
16330 break
16332 done
16333 if test "${ac_cv_search_inet_aton+set}" = set; then
16335 else
16336 ac_cv_search_inet_aton=no
16338 rm conftest.$ac_ext
16339 LIBS=$ac_func_search_save_LIBS
16341 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16342 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16343 ac_res=$ac_cv_search_inet_aton
16344 if test "$ac_res" != no; then
16345 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16358 for ac_func in \
16359 getaddrinfo \
16360 getnameinfo \
16361 getnetbyname \
16362 getprotobyname \
16363 getprotobynumber \
16364 getservbyport \
16365 inet_network \
16366 sendmsg \
16369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16370 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16372 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16373 echo $ECHO_N "(cached) $ECHO_C" >&6
16374 else
16375 cat >conftest.$ac_ext <<_ACEOF
16376 /* confdefs.h. */
16377 _ACEOF
16378 cat confdefs.h >>conftest.$ac_ext
16379 cat >>conftest.$ac_ext <<_ACEOF
16380 /* end confdefs.h. */
16381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16383 #define $ac_func innocuous_$ac_func
16385 /* System header to define __stub macros and hopefully few prototypes,
16386 which can conflict with char $ac_func (); below.
16387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16388 <limits.h> exists even on freestanding compilers. */
16390 #ifdef __STDC__
16391 # include <limits.h>
16392 #else
16393 # include <assert.h>
16394 #endif
16396 #undef $ac_func
16398 /* Override any GCC internal prototype to avoid an error.
16399 Use char because int might match the return type of a GCC
16400 builtin and then its argument prototype would still apply. */
16401 #ifdef __cplusplus
16402 extern "C"
16403 #endif
16404 char $ac_func ();
16405 /* The GNU C library defines this for functions which it implements
16406 to always fail with ENOSYS. Some functions are actually named
16407 something starting with __ and the normal name is an alias. */
16408 #if defined __stub_$ac_func || defined __stub___$ac_func
16409 choke me
16410 #endif
16413 main ()
16415 return $ac_func ();
16417 return 0;
16419 _ACEOF
16420 rm -f conftest.$ac_objext conftest$ac_exeext
16421 if { (ac_try="$ac_link"
16422 case "(($ac_try" in
16423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16424 *) ac_try_echo=$ac_try;;
16425 esac
16426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16427 (eval "$ac_link") 2>conftest.er1
16428 ac_status=$?
16429 grep -v '^ *+' conftest.er1 >conftest.err
16430 rm -f conftest.er1
16431 cat conftest.err >&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } && {
16434 test -z "$ac_c_werror_flag" ||
16435 test ! -s conftest.err
16436 } && test -s conftest$ac_exeext &&
16437 $as_test_x conftest$ac_exeext; then
16438 eval "$as_ac_var=yes"
16439 else
16440 echo "$as_me: failed program was:" >&5
16441 sed 's/^/| /' conftest.$ac_ext >&5
16443 eval "$as_ac_var=no"
16446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16447 conftest$ac_exeext conftest.$ac_ext
16449 ac_res=`eval echo '${'$as_ac_var'}'`
16450 { echo "$as_me:$LINENO: result: $ac_res" >&5
16451 echo "${ECHO_T}$ac_res" >&6; }
16452 if test `eval echo '${'$as_ac_var'}'` = yes; then
16453 cat >>confdefs.h <<_ACEOF
16454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16455 _ACEOF
16458 done
16462 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16463 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16464 if test "${ac_cv_c_const+set}" = set; then
16465 echo $ECHO_N "(cached) $ECHO_C" >&6
16466 else
16467 cat >conftest.$ac_ext <<_ACEOF
16468 /* confdefs.h. */
16469 _ACEOF
16470 cat confdefs.h >>conftest.$ac_ext
16471 cat >>conftest.$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16475 main ()
16477 /* FIXME: Include the comments suggested by Paul. */
16478 #ifndef __cplusplus
16479 /* Ultrix mips cc rejects this. */
16480 typedef int charset[2];
16481 const charset cs;
16482 /* SunOS 4.1.1 cc rejects this. */
16483 char const *const *pcpcc;
16484 char **ppc;
16485 /* NEC SVR4.0.2 mips cc rejects this. */
16486 struct point {int x, y;};
16487 static struct point const zero = {0,0};
16488 /* AIX XL C 1.02.0.0 rejects this.
16489 It does not let you subtract one const X* pointer from another in
16490 an arm of an if-expression whose if-part is not a constant
16491 expression */
16492 const char *g = "string";
16493 pcpcc = &g + (g ? g-g : 0);
16494 /* HPUX 7.0 cc rejects these. */
16495 ++pcpcc;
16496 ppc = (char**) pcpcc;
16497 pcpcc = (char const *const *) ppc;
16498 { /* SCO 3.2v4 cc rejects this. */
16499 char *t;
16500 char const *s = 0 ? (char *) 0 : (char const *) 0;
16502 *t++ = 0;
16503 if (s) return 0;
16505 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16506 int x[] = {25, 17};
16507 const int *foo = &x[0];
16508 ++foo;
16510 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16511 typedef const int *iptr;
16512 iptr p = 0;
16513 ++p;
16515 { /* AIX XL C 1.02.0.0 rejects this saying
16516 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16517 struct s { int j; const int *ap[3]; };
16518 struct s *b; b->j = 5;
16520 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16521 const int foo = 10;
16522 if (!foo) return 0;
16524 return !cs[0] && !zero.x;
16525 #endif
16528 return 0;
16530 _ACEOF
16531 rm -f conftest.$ac_objext
16532 if { (ac_try="$ac_compile"
16533 case "(($ac_try" in
16534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16535 *) ac_try_echo=$ac_try;;
16536 esac
16537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16538 (eval "$ac_compile") 2>conftest.er1
16539 ac_status=$?
16540 grep -v '^ *+' conftest.er1 >conftest.err
16541 rm -f conftest.er1
16542 cat conftest.err >&5
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); } && {
16545 test -z "$ac_c_werror_flag" ||
16546 test ! -s conftest.err
16547 } && test -s conftest.$ac_objext; then
16548 ac_cv_c_const=yes
16549 else
16550 echo "$as_me: failed program was:" >&5
16551 sed 's/^/| /' conftest.$ac_ext >&5
16553 ac_cv_c_const=no
16556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16558 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16559 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16560 if test $ac_cv_c_const = no; then
16562 cat >>confdefs.h <<\_ACEOF
16563 #define const
16564 _ACEOF
16568 { echo "$as_me:$LINENO: checking for inline" >&5
16569 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16570 if test "${ac_cv_c_inline+set}" = set; then
16571 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 else
16573 ac_cv_c_inline=no
16574 for ac_kw in inline __inline__ __inline; do
16575 cat >conftest.$ac_ext <<_ACEOF
16576 /* confdefs.h. */
16577 _ACEOF
16578 cat confdefs.h >>conftest.$ac_ext
16579 cat >>conftest.$ac_ext <<_ACEOF
16580 /* end confdefs.h. */
16581 #ifndef __cplusplus
16582 typedef int foo_t;
16583 static $ac_kw foo_t static_foo () {return 0; }
16584 $ac_kw foo_t foo () {return 0; }
16585 #endif
16587 _ACEOF
16588 rm -f conftest.$ac_objext
16589 if { (ac_try="$ac_compile"
16590 case "(($ac_try" in
16591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16592 *) ac_try_echo=$ac_try;;
16593 esac
16594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16595 (eval "$ac_compile") 2>conftest.er1
16596 ac_status=$?
16597 grep -v '^ *+' conftest.er1 >conftest.err
16598 rm -f conftest.er1
16599 cat conftest.err >&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); } && {
16602 test -z "$ac_c_werror_flag" ||
16603 test ! -s conftest.err
16604 } && test -s conftest.$ac_objext; then
16605 ac_cv_c_inline=$ac_kw
16606 else
16607 echo "$as_me: failed program was:" >&5
16608 sed 's/^/| /' conftest.$ac_ext >&5
16613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16614 test "$ac_cv_c_inline" != no && break
16615 done
16618 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16619 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16622 case $ac_cv_c_inline in
16623 inline | yes) ;;
16625 case $ac_cv_c_inline in
16626 no) ac_val=;;
16627 *) ac_val=$ac_cv_c_inline;;
16628 esac
16629 cat >>confdefs.h <<_ACEOF
16630 #ifndef __cplusplus
16631 #define inline $ac_val
16632 #endif
16633 _ACEOF
16635 esac
16637 { echo "$as_me:$LINENO: checking for mode_t" >&5
16638 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16639 if test "${ac_cv_type_mode_t+set}" = set; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16641 else
16642 cat >conftest.$ac_ext <<_ACEOF
16643 /* confdefs.h. */
16644 _ACEOF
16645 cat confdefs.h >>conftest.$ac_ext
16646 cat >>conftest.$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16648 $ac_includes_default
16649 typedef mode_t ac__type_new_;
16651 main ()
16653 if ((ac__type_new_ *) 0)
16654 return 0;
16655 if (sizeof (ac__type_new_))
16656 return 0;
16658 return 0;
16660 _ACEOF
16661 rm -f conftest.$ac_objext
16662 if { (ac_try="$ac_compile"
16663 case "(($ac_try" in
16664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16665 *) ac_try_echo=$ac_try;;
16666 esac
16667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16668 (eval "$ac_compile") 2>conftest.er1
16669 ac_status=$?
16670 grep -v '^ *+' conftest.er1 >conftest.err
16671 rm -f conftest.er1
16672 cat conftest.err >&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } && {
16675 test -z "$ac_c_werror_flag" ||
16676 test ! -s conftest.err
16677 } && test -s conftest.$ac_objext; then
16678 ac_cv_type_mode_t=yes
16679 else
16680 echo "$as_me: failed program was:" >&5
16681 sed 's/^/| /' conftest.$ac_ext >&5
16683 ac_cv_type_mode_t=no
16686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16688 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16689 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16690 if test $ac_cv_type_mode_t = yes; then
16692 cat >>confdefs.h <<_ACEOF
16693 #define HAVE_MODE_T 1
16694 _ACEOF
16698 { echo "$as_me:$LINENO: checking for off_t" >&5
16699 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16700 if test "${ac_cv_type_off_t+set}" = set; then
16701 echo $ECHO_N "(cached) $ECHO_C" >&6
16702 else
16703 cat >conftest.$ac_ext <<_ACEOF
16704 /* confdefs.h. */
16705 _ACEOF
16706 cat confdefs.h >>conftest.$ac_ext
16707 cat >>conftest.$ac_ext <<_ACEOF
16708 /* end confdefs.h. */
16709 $ac_includes_default
16710 typedef off_t ac__type_new_;
16712 main ()
16714 if ((ac__type_new_ *) 0)
16715 return 0;
16716 if (sizeof (ac__type_new_))
16717 return 0;
16719 return 0;
16721 _ACEOF
16722 rm -f conftest.$ac_objext
16723 if { (ac_try="$ac_compile"
16724 case "(($ac_try" in
16725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16726 *) ac_try_echo=$ac_try;;
16727 esac
16728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16729 (eval "$ac_compile") 2>conftest.er1
16730 ac_status=$?
16731 grep -v '^ *+' conftest.er1 >conftest.err
16732 rm -f conftest.er1
16733 cat conftest.err >&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); } && {
16736 test -z "$ac_c_werror_flag" ||
16737 test ! -s conftest.err
16738 } && test -s conftest.$ac_objext; then
16739 ac_cv_type_off_t=yes
16740 else
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16744 ac_cv_type_off_t=no
16747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16749 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16750 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16751 if test $ac_cv_type_off_t = yes; then
16753 cat >>confdefs.h <<_ACEOF
16754 #define HAVE_OFF_T 1
16755 _ACEOF
16759 { echo "$as_me:$LINENO: checking for pid_t" >&5
16760 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16761 if test "${ac_cv_type_pid_t+set}" = set; then
16762 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 else
16764 cat >conftest.$ac_ext <<_ACEOF
16765 /* confdefs.h. */
16766 _ACEOF
16767 cat confdefs.h >>conftest.$ac_ext
16768 cat >>conftest.$ac_ext <<_ACEOF
16769 /* end confdefs.h. */
16770 $ac_includes_default
16771 typedef pid_t ac__type_new_;
16773 main ()
16775 if ((ac__type_new_ *) 0)
16776 return 0;
16777 if (sizeof (ac__type_new_))
16778 return 0;
16780 return 0;
16782 _ACEOF
16783 rm -f conftest.$ac_objext
16784 if { (ac_try="$ac_compile"
16785 case "(($ac_try" in
16786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16787 *) ac_try_echo=$ac_try;;
16788 esac
16789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16790 (eval "$ac_compile") 2>conftest.er1
16791 ac_status=$?
16792 grep -v '^ *+' conftest.er1 >conftest.err
16793 rm -f conftest.er1
16794 cat conftest.err >&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); } && {
16797 test -z "$ac_c_werror_flag" ||
16798 test ! -s conftest.err
16799 } && test -s conftest.$ac_objext; then
16800 ac_cv_type_pid_t=yes
16801 else
16802 echo "$as_me: failed program was:" >&5
16803 sed 's/^/| /' conftest.$ac_ext >&5
16805 ac_cv_type_pid_t=no
16808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16810 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16811 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16812 if test $ac_cv_type_pid_t = yes; then
16814 cat >>confdefs.h <<_ACEOF
16815 #define HAVE_PID_T 1
16816 _ACEOF
16820 { echo "$as_me:$LINENO: checking for size_t" >&5
16821 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16822 if test "${ac_cv_type_size_t+set}" = set; then
16823 echo $ECHO_N "(cached) $ECHO_C" >&6
16824 else
16825 cat >conftest.$ac_ext <<_ACEOF
16826 /* confdefs.h. */
16827 _ACEOF
16828 cat confdefs.h >>conftest.$ac_ext
16829 cat >>conftest.$ac_ext <<_ACEOF
16830 /* end confdefs.h. */
16831 $ac_includes_default
16832 typedef size_t ac__type_new_;
16834 main ()
16836 if ((ac__type_new_ *) 0)
16837 return 0;
16838 if (sizeof (ac__type_new_))
16839 return 0;
16841 return 0;
16843 _ACEOF
16844 rm -f conftest.$ac_objext
16845 if { (ac_try="$ac_compile"
16846 case "(($ac_try" in
16847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16848 *) ac_try_echo=$ac_try;;
16849 esac
16850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16851 (eval "$ac_compile") 2>conftest.er1
16852 ac_status=$?
16853 grep -v '^ *+' conftest.er1 >conftest.err
16854 rm -f conftest.er1
16855 cat conftest.err >&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } && {
16858 test -z "$ac_c_werror_flag" ||
16859 test ! -s conftest.err
16860 } && test -s conftest.$ac_objext; then
16861 ac_cv_type_size_t=yes
16862 else
16863 echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.$ac_ext >&5
16866 ac_cv_type_size_t=no
16869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16871 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16872 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16873 if test $ac_cv_type_size_t = yes; then
16875 cat >>confdefs.h <<_ACEOF
16876 #define HAVE_SIZE_T 1
16877 _ACEOF
16881 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16882 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16883 if test "${ac_cv_type_ssize_t+set}" = set; then
16884 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 else
16886 cat >conftest.$ac_ext <<_ACEOF
16887 /* confdefs.h. */
16888 _ACEOF
16889 cat confdefs.h >>conftest.$ac_ext
16890 cat >>conftest.$ac_ext <<_ACEOF
16891 /* end confdefs.h. */
16892 $ac_includes_default
16893 typedef ssize_t ac__type_new_;
16895 main ()
16897 if ((ac__type_new_ *) 0)
16898 return 0;
16899 if (sizeof (ac__type_new_))
16900 return 0;
16902 return 0;
16904 _ACEOF
16905 rm -f conftest.$ac_objext
16906 if { (ac_try="$ac_compile"
16907 case "(($ac_try" in
16908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16909 *) ac_try_echo=$ac_try;;
16910 esac
16911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16912 (eval "$ac_compile") 2>conftest.er1
16913 ac_status=$?
16914 grep -v '^ *+' conftest.er1 >conftest.err
16915 rm -f conftest.er1
16916 cat conftest.err >&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); } && {
16919 test -z "$ac_c_werror_flag" ||
16920 test ! -s conftest.err
16921 } && test -s conftest.$ac_objext; then
16922 ac_cv_type_ssize_t=yes
16923 else
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.$ac_ext >&5
16927 ac_cv_type_ssize_t=no
16930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16932 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16933 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16934 if test $ac_cv_type_ssize_t = yes; then
16936 cat >>confdefs.h <<_ACEOF
16937 #define HAVE_SSIZE_T 1
16938 _ACEOF
16942 { echo "$as_me:$LINENO: checking for long long" >&5
16943 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16944 if test "${ac_cv_type_long_long+set}" = set; then
16945 echo $ECHO_N "(cached) $ECHO_C" >&6
16946 else
16947 cat >conftest.$ac_ext <<_ACEOF
16948 /* confdefs.h. */
16949 _ACEOF
16950 cat confdefs.h >>conftest.$ac_ext
16951 cat >>conftest.$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16953 $ac_includes_default
16954 typedef long long ac__type_new_;
16956 main ()
16958 if ((ac__type_new_ *) 0)
16959 return 0;
16960 if (sizeof (ac__type_new_))
16961 return 0;
16963 return 0;
16965 _ACEOF
16966 rm -f conftest.$ac_objext
16967 if { (ac_try="$ac_compile"
16968 case "(($ac_try" in
16969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16970 *) ac_try_echo=$ac_try;;
16971 esac
16972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16973 (eval "$ac_compile") 2>conftest.er1
16974 ac_status=$?
16975 grep -v '^ *+' conftest.er1 >conftest.err
16976 rm -f conftest.er1
16977 cat conftest.err >&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } && {
16980 test -z "$ac_c_werror_flag" ||
16981 test ! -s conftest.err
16982 } && test -s conftest.$ac_objext; then
16983 ac_cv_type_long_long=yes
16984 else
16985 echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.$ac_ext >&5
16988 ac_cv_type_long_long=no
16991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16993 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16994 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16995 if test $ac_cv_type_long_long = yes; then
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_LONG_LONG 1
16999 _ACEOF
17003 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17004 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17005 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17006 echo $ECHO_N "(cached) $ECHO_C" >&6
17007 else
17008 cat >conftest.$ac_ext <<_ACEOF
17009 /* confdefs.h. */
17010 _ACEOF
17011 cat confdefs.h >>conftest.$ac_ext
17012 cat >>conftest.$ac_ext <<_ACEOF
17013 /* end confdefs.h. */
17014 $ac_includes_default
17015 typedef fsblkcnt_t ac__type_new_;
17017 main ()
17019 if ((ac__type_new_ *) 0)
17020 return 0;
17021 if (sizeof (ac__type_new_))
17022 return 0;
17024 return 0;
17026 _ACEOF
17027 rm -f conftest.$ac_objext
17028 if { (ac_try="$ac_compile"
17029 case "(($ac_try" in
17030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17031 *) ac_try_echo=$ac_try;;
17032 esac
17033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17034 (eval "$ac_compile") 2>conftest.er1
17035 ac_status=$?
17036 grep -v '^ *+' conftest.er1 >conftest.err
17037 rm -f conftest.er1
17038 cat conftest.err >&5
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); } && {
17041 test -z "$ac_c_werror_flag" ||
17042 test ! -s conftest.err
17043 } && test -s conftest.$ac_objext; then
17044 ac_cv_type_fsblkcnt_t=yes
17045 else
17046 echo "$as_me: failed program was:" >&5
17047 sed 's/^/| /' conftest.$ac_ext >&5
17049 ac_cv_type_fsblkcnt_t=no
17052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17054 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17055 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17056 if test $ac_cv_type_fsblkcnt_t = yes; then
17058 cat >>confdefs.h <<_ACEOF
17059 #define HAVE_FSBLKCNT_T 1
17060 _ACEOF
17064 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17065 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17066 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 else
17069 cat >conftest.$ac_ext <<_ACEOF
17070 /* confdefs.h. */
17071 _ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075 $ac_includes_default
17076 typedef fsfilcnt_t ac__type_new_;
17078 main ()
17080 if ((ac__type_new_ *) 0)
17081 return 0;
17082 if (sizeof (ac__type_new_))
17083 return 0;
17085 return 0;
17087 _ACEOF
17088 rm -f conftest.$ac_objext
17089 if { (ac_try="$ac_compile"
17090 case "(($ac_try" in
17091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17092 *) ac_try_echo=$ac_try;;
17093 esac
17094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17095 (eval "$ac_compile") 2>conftest.er1
17096 ac_status=$?
17097 grep -v '^ *+' conftest.er1 >conftest.err
17098 rm -f conftest.er1
17099 cat conftest.err >&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } && {
17102 test -z "$ac_c_werror_flag" ||
17103 test ! -s conftest.err
17104 } && test -s conftest.$ac_objext; then
17105 ac_cv_type_fsfilcnt_t=yes
17106 else
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.$ac_ext >&5
17110 ac_cv_type_fsfilcnt_t=no
17113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17115 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17116 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17117 if test $ac_cv_type_fsfilcnt_t = yes; then
17119 cat >>confdefs.h <<_ACEOF
17120 #define HAVE_FSFILCNT_T 1
17121 _ACEOF
17126 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17127 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17128 if test "${ac_cv_type_sigset_t+set}" = set; then
17129 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 else
17131 cat >conftest.$ac_ext <<_ACEOF
17132 /* confdefs.h. */
17133 _ACEOF
17134 cat confdefs.h >>conftest.$ac_ext
17135 cat >>conftest.$ac_ext <<_ACEOF
17136 /* end confdefs.h. */
17137 #include <signal.h>
17139 typedef sigset_t ac__type_new_;
17141 main ()
17143 if ((ac__type_new_ *) 0)
17144 return 0;
17145 if (sizeof (ac__type_new_))
17146 return 0;
17148 return 0;
17150 _ACEOF
17151 rm -f conftest.$ac_objext
17152 if { (ac_try="$ac_compile"
17153 case "(($ac_try" in
17154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17155 *) ac_try_echo=$ac_try;;
17156 esac
17157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17158 (eval "$ac_compile") 2>conftest.er1
17159 ac_status=$?
17160 grep -v '^ *+' conftest.er1 >conftest.err
17161 rm -f conftest.er1
17162 cat conftest.err >&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); } && {
17165 test -z "$ac_c_werror_flag" ||
17166 test ! -s conftest.err
17167 } && test -s conftest.$ac_objext; then
17168 ac_cv_type_sigset_t=yes
17169 else
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.$ac_ext >&5
17173 ac_cv_type_sigset_t=no
17176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17178 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17179 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17180 if test $ac_cv_type_sigset_t = yes; then
17182 cat >>confdefs.h <<_ACEOF
17183 #define HAVE_SIGSET_T 1
17184 _ACEOF
17189 { echo "$as_me:$LINENO: checking for request_sense" >&5
17190 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17191 if test "${ac_cv_type_request_sense+set}" = set; then
17192 echo $ECHO_N "(cached) $ECHO_C" >&6
17193 else
17194 cat >conftest.$ac_ext <<_ACEOF
17195 /* confdefs.h. */
17196 _ACEOF
17197 cat confdefs.h >>conftest.$ac_ext
17198 cat >>conftest.$ac_ext <<_ACEOF
17199 /* end confdefs.h. */
17200 #include <linux/cdrom.h>
17202 typedef request_sense ac__type_new_;
17204 main ()
17206 if ((ac__type_new_ *) 0)
17207 return 0;
17208 if (sizeof (ac__type_new_))
17209 return 0;
17211 return 0;
17213 _ACEOF
17214 rm -f conftest.$ac_objext
17215 if { (ac_try="$ac_compile"
17216 case "(($ac_try" in
17217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17218 *) ac_try_echo=$ac_try;;
17219 esac
17220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17221 (eval "$ac_compile") 2>conftest.er1
17222 ac_status=$?
17223 grep -v '^ *+' conftest.er1 >conftest.err
17224 rm -f conftest.er1
17225 cat conftest.err >&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); } && {
17228 test -z "$ac_c_werror_flag" ||
17229 test ! -s conftest.err
17230 } && test -s conftest.$ac_objext; then
17231 ac_cv_type_request_sense=yes
17232 else
17233 echo "$as_me: failed program was:" >&5
17234 sed 's/^/| /' conftest.$ac_ext >&5
17236 ac_cv_type_request_sense=no
17239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17241 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17242 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17243 if test $ac_cv_type_request_sense = yes; then
17245 cat >>confdefs.h <<_ACEOF
17246 #define HAVE_REQUEST_SENSE 1
17247 _ACEOF
17253 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17254 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17255 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17256 echo $ECHO_N "(cached) $ECHO_C" >&6
17257 else
17258 cat >conftest.$ac_ext <<_ACEOF
17259 /* confdefs.h. */
17260 _ACEOF
17261 cat confdefs.h >>conftest.$ac_ext
17262 cat >>conftest.$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17264 #ifdef HAVE_LINUX_INPUT_H
17265 #include <linux/input.h>
17266 #endif
17269 main ()
17271 static struct ff_effect ac_aggr;
17272 if (ac_aggr.direction)
17273 return 0;
17275 return 0;
17277 _ACEOF
17278 rm -f conftest.$ac_objext
17279 if { (ac_try="$ac_compile"
17280 case "(($ac_try" in
17281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17282 *) ac_try_echo=$ac_try;;
17283 esac
17284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17285 (eval "$ac_compile") 2>conftest.er1
17286 ac_status=$?
17287 grep -v '^ *+' conftest.er1 >conftest.err
17288 rm -f conftest.er1
17289 cat conftest.err >&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); } && {
17292 test -z "$ac_c_werror_flag" ||
17293 test ! -s conftest.err
17294 } && test -s conftest.$ac_objext; then
17295 ac_cv_member_struct_ff_effect_direction=yes
17296 else
17297 echo "$as_me: failed program was:" >&5
17298 sed 's/^/| /' conftest.$ac_ext >&5
17300 cat >conftest.$ac_ext <<_ACEOF
17301 /* confdefs.h. */
17302 _ACEOF
17303 cat confdefs.h >>conftest.$ac_ext
17304 cat >>conftest.$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 #ifdef HAVE_LINUX_INPUT_H
17307 #include <linux/input.h>
17308 #endif
17311 main ()
17313 static struct ff_effect ac_aggr;
17314 if (sizeof ac_aggr.direction)
17315 return 0;
17317 return 0;
17319 _ACEOF
17320 rm -f conftest.$ac_objext
17321 if { (ac_try="$ac_compile"
17322 case "(($ac_try" in
17323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17324 *) ac_try_echo=$ac_try;;
17325 esac
17326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17327 (eval "$ac_compile") 2>conftest.er1
17328 ac_status=$?
17329 grep -v '^ *+' conftest.er1 >conftest.err
17330 rm -f conftest.er1
17331 cat conftest.err >&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } && {
17334 test -z "$ac_c_werror_flag" ||
17335 test ! -s conftest.err
17336 } && test -s conftest.$ac_objext; then
17337 ac_cv_member_struct_ff_effect_direction=yes
17338 else
17339 echo "$as_me: failed program was:" >&5
17340 sed 's/^/| /' conftest.$ac_ext >&5
17342 ac_cv_member_struct_ff_effect_direction=no
17345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17351 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17352 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17354 cat >>confdefs.h <<_ACEOF
17355 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17356 _ACEOF
17362 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17363 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17364 if test "${wine_cv_have_sigaddset+set}" = set; then
17365 echo $ECHO_N "(cached) $ECHO_C" >&6
17366 else
17367 cat >conftest.$ac_ext <<_ACEOF
17368 /* confdefs.h. */
17369 _ACEOF
17370 cat confdefs.h >>conftest.$ac_ext
17371 cat >>conftest.$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373 #include <signal.h>
17375 main ()
17377 sigset_t set; sigaddset(&set,SIGTERM);
17379 return 0;
17381 _ACEOF
17382 rm -f conftest.$ac_objext conftest$ac_exeext
17383 if { (ac_try="$ac_link"
17384 case "(($ac_try" in
17385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17386 *) ac_try_echo=$ac_try;;
17387 esac
17388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17389 (eval "$ac_link") 2>conftest.er1
17390 ac_status=$?
17391 grep -v '^ *+' conftest.er1 >conftest.err
17392 rm -f conftest.er1
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } && {
17396 test -z "$ac_c_werror_flag" ||
17397 test ! -s conftest.err
17398 } && test -s conftest$ac_exeext &&
17399 $as_test_x conftest$ac_exeext; then
17400 wine_cv_have_sigaddset=yes
17401 else
17402 echo "$as_me: failed program was:" >&5
17403 sed 's/^/| /' conftest.$ac_ext >&5
17405 wine_cv_have_sigaddset=no
17408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17409 conftest$ac_exeext conftest.$ac_ext
17411 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17412 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17413 if test "$wine_cv_have_sigaddset" = "yes"
17414 then
17416 cat >>confdefs.h <<\_ACEOF
17417 #define HAVE_SIGADDSET 1
17418 _ACEOF
17423 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17424 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17425 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 else
17428 cat >conftest.$ac_ext <<_ACEOF
17429 /* confdefs.h. */
17430 _ACEOF
17431 cat confdefs.h >>conftest.$ac_ext
17432 cat >>conftest.$ac_ext <<_ACEOF
17433 /* end confdefs.h. */
17434 #include <netdb.h>
17436 main ()
17439 char *name=NULL;
17440 struct hostent he;
17441 struct hostent *result;
17442 char *buf=NULL;
17443 int bufsize=0;
17444 int res,errnr;
17445 char *addr=NULL;
17446 int addrlen=0;
17447 int addrtype=0;
17448 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17449 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17452 return 0;
17454 _ACEOF
17455 rm -f conftest.$ac_objext conftest$ac_exeext
17456 if { (ac_try="$ac_link"
17457 case "(($ac_try" in
17458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17459 *) ac_try_echo=$ac_try;;
17460 esac
17461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17462 (eval "$ac_link") 2>conftest.er1
17463 ac_status=$?
17464 grep -v '^ *+' conftest.er1 >conftest.err
17465 rm -f conftest.er1
17466 cat conftest.err >&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } && {
17469 test -z "$ac_c_werror_flag" ||
17470 test ! -s conftest.err
17471 } && test -s conftest$ac_exeext &&
17472 $as_test_x conftest$ac_exeext; then
17473 wine_cv_linux_gethostbyname_r_6=yes
17474 else
17475 echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.$ac_ext >&5
17478 wine_cv_linux_gethostbyname_r_6=no
17482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17483 conftest$ac_exeext conftest.$ac_ext
17486 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17487 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17488 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17489 then
17491 cat >>confdefs.h <<\_ACEOF
17492 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17493 _ACEOF
17497 if test "$ac_cv_header_linux_joystick_h" = "yes"
17498 then
17499 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17500 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17501 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17502 echo $ECHO_N "(cached) $ECHO_C" >&6
17503 else
17504 cat >conftest.$ac_ext <<_ACEOF
17505 /* confdefs.h. */
17506 _ACEOF
17507 cat confdefs.h >>conftest.$ac_ext
17508 cat >>conftest.$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17511 #include <sys/ioctl.h>
17512 #include <sys/types.h>
17513 #include <linux/joystick.h>
17515 struct js_event blub;
17516 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17517 #error "no 2.2 header"
17518 #endif
17521 main ()
17523 /*empty*/
17525 return 0;
17527 _ACEOF
17528 rm -f conftest.$ac_objext
17529 if { (ac_try="$ac_compile"
17530 case "(($ac_try" in
17531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17532 *) ac_try_echo=$ac_try;;
17533 esac
17534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17535 (eval "$ac_compile") 2>conftest.er1
17536 ac_status=$?
17537 grep -v '^ *+' conftest.er1 >conftest.err
17538 rm -f conftest.er1
17539 cat conftest.err >&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } && {
17542 test -z "$ac_c_werror_flag" ||
17543 test ! -s conftest.err
17544 } && test -s conftest.$ac_objext; then
17545 wine_cv_linux_joystick_22_api=yes
17546 else
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17550 wine_cv_linux_joystick_22_api=no
17553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17556 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17557 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17558 if test "$wine_cv_linux_joystick_22_api" = "yes"
17559 then
17561 cat >>confdefs.h <<\_ACEOF
17562 #define HAVE_LINUX_22_JOYSTICK_API 1
17563 _ACEOF
17569 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17570 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17571 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17572 echo $ECHO_N "(cached) $ECHO_C" >&6
17573 else
17574 cat >conftest.$ac_ext <<_ACEOF
17575 /* confdefs.h. */
17576 _ACEOF
17577 cat confdefs.h >>conftest.$ac_ext
17578 cat >>conftest.$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17580 #include <sys/types.h>
17581 #ifdef HAVE_SYS_PARAM_H
17582 # include <sys/param.h>
17583 #endif
17584 #ifdef HAVE_SYS_MOUNT_H
17585 # include <sys/mount.h>
17586 #endif
17587 #ifdef HAVE_SYS_VFS_H
17588 # include <sys/vfs.h>
17589 #endif
17590 #ifdef HAVE_SYS_STATFS_H
17591 # include <sys/statfs.h>
17592 #endif
17595 main ()
17597 static struct statfs ac_aggr;
17598 if (ac_aggr.f_bfree)
17599 return 0;
17601 return 0;
17603 _ACEOF
17604 rm -f conftest.$ac_objext
17605 if { (ac_try="$ac_compile"
17606 case "(($ac_try" in
17607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17608 *) ac_try_echo=$ac_try;;
17609 esac
17610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17611 (eval "$ac_compile") 2>conftest.er1
17612 ac_status=$?
17613 grep -v '^ *+' conftest.er1 >conftest.err
17614 rm -f conftest.er1
17615 cat conftest.err >&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); } && {
17618 test -z "$ac_c_werror_flag" ||
17619 test ! -s conftest.err
17620 } && test -s conftest.$ac_objext; then
17621 ac_cv_member_struct_statfs_f_bfree=yes
17622 else
17623 echo "$as_me: failed program was:" >&5
17624 sed 's/^/| /' conftest.$ac_ext >&5
17626 cat >conftest.$ac_ext <<_ACEOF
17627 /* confdefs.h. */
17628 _ACEOF
17629 cat confdefs.h >>conftest.$ac_ext
17630 cat >>conftest.$ac_ext <<_ACEOF
17631 /* end confdefs.h. */
17632 #include <sys/types.h>
17633 #ifdef HAVE_SYS_PARAM_H
17634 # include <sys/param.h>
17635 #endif
17636 #ifdef HAVE_SYS_MOUNT_H
17637 # include <sys/mount.h>
17638 #endif
17639 #ifdef HAVE_SYS_VFS_H
17640 # include <sys/vfs.h>
17641 #endif
17642 #ifdef HAVE_SYS_STATFS_H
17643 # include <sys/statfs.h>
17644 #endif
17647 main ()
17649 static struct statfs ac_aggr;
17650 if (sizeof ac_aggr.f_bfree)
17651 return 0;
17653 return 0;
17655 _ACEOF
17656 rm -f conftest.$ac_objext
17657 if { (ac_try="$ac_compile"
17658 case "(($ac_try" in
17659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17660 *) ac_try_echo=$ac_try;;
17661 esac
17662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17663 (eval "$ac_compile") 2>conftest.er1
17664 ac_status=$?
17665 grep -v '^ *+' conftest.er1 >conftest.err
17666 rm -f conftest.er1
17667 cat conftest.err >&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); } && {
17670 test -z "$ac_c_werror_flag" ||
17671 test ! -s conftest.err
17672 } && test -s conftest.$ac_objext; then
17673 ac_cv_member_struct_statfs_f_bfree=yes
17674 else
17675 echo "$as_me: failed program was:" >&5
17676 sed 's/^/| /' conftest.$ac_ext >&5
17678 ac_cv_member_struct_statfs_f_bfree=no
17681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17686 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17687 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17688 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17690 cat >>confdefs.h <<_ACEOF
17691 #define HAVE_STRUCT_STATFS_F_BFREE 1
17692 _ACEOF
17696 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17697 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17698 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17699 echo $ECHO_N "(cached) $ECHO_C" >&6
17700 else
17701 cat >conftest.$ac_ext <<_ACEOF
17702 /* confdefs.h. */
17703 _ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17707 #include <sys/types.h>
17708 #ifdef HAVE_SYS_PARAM_H
17709 # include <sys/param.h>
17710 #endif
17711 #ifdef HAVE_SYS_MOUNT_H
17712 # include <sys/mount.h>
17713 #endif
17714 #ifdef HAVE_SYS_VFS_H
17715 # include <sys/vfs.h>
17716 #endif
17717 #ifdef HAVE_SYS_STATFS_H
17718 # include <sys/statfs.h>
17719 #endif
17722 main ()
17724 static struct statfs ac_aggr;
17725 if (ac_aggr.f_bavail)
17726 return 0;
17728 return 0;
17730 _ACEOF
17731 rm -f conftest.$ac_objext
17732 if { (ac_try="$ac_compile"
17733 case "(($ac_try" in
17734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17735 *) ac_try_echo=$ac_try;;
17736 esac
17737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17738 (eval "$ac_compile") 2>conftest.er1
17739 ac_status=$?
17740 grep -v '^ *+' conftest.er1 >conftest.err
17741 rm -f conftest.er1
17742 cat conftest.err >&5
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } && {
17745 test -z "$ac_c_werror_flag" ||
17746 test ! -s conftest.err
17747 } && test -s conftest.$ac_objext; then
17748 ac_cv_member_struct_statfs_f_bavail=yes
17749 else
17750 echo "$as_me: failed program was:" >&5
17751 sed 's/^/| /' conftest.$ac_ext >&5
17753 cat >conftest.$ac_ext <<_ACEOF
17754 /* confdefs.h. */
17755 _ACEOF
17756 cat confdefs.h >>conftest.$ac_ext
17757 cat >>conftest.$ac_ext <<_ACEOF
17758 /* end confdefs.h. */
17759 #include <sys/types.h>
17760 #ifdef HAVE_SYS_PARAM_H
17761 # include <sys/param.h>
17762 #endif
17763 #ifdef HAVE_SYS_MOUNT_H
17764 # include <sys/mount.h>
17765 #endif
17766 #ifdef HAVE_SYS_VFS_H
17767 # include <sys/vfs.h>
17768 #endif
17769 #ifdef HAVE_SYS_STATFS_H
17770 # include <sys/statfs.h>
17771 #endif
17774 main ()
17776 static struct statfs ac_aggr;
17777 if (sizeof ac_aggr.f_bavail)
17778 return 0;
17780 return 0;
17782 _ACEOF
17783 rm -f conftest.$ac_objext
17784 if { (ac_try="$ac_compile"
17785 case "(($ac_try" in
17786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17787 *) ac_try_echo=$ac_try;;
17788 esac
17789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17790 (eval "$ac_compile") 2>conftest.er1
17791 ac_status=$?
17792 grep -v '^ *+' conftest.er1 >conftest.err
17793 rm -f conftest.er1
17794 cat conftest.err >&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); } && {
17797 test -z "$ac_c_werror_flag" ||
17798 test ! -s conftest.err
17799 } && test -s conftest.$ac_objext; then
17800 ac_cv_member_struct_statfs_f_bavail=yes
17801 else
17802 echo "$as_me: failed program was:" >&5
17803 sed 's/^/| /' conftest.$ac_ext >&5
17805 ac_cv_member_struct_statfs_f_bavail=no
17808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17813 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17814 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17815 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17817 cat >>confdefs.h <<_ACEOF
17818 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17819 _ACEOF
17823 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17824 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17825 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17826 echo $ECHO_N "(cached) $ECHO_C" >&6
17827 else
17828 cat >conftest.$ac_ext <<_ACEOF
17829 /* confdefs.h. */
17830 _ACEOF
17831 cat confdefs.h >>conftest.$ac_ext
17832 cat >>conftest.$ac_ext <<_ACEOF
17833 /* end confdefs.h. */
17834 #include <sys/types.h>
17835 #ifdef HAVE_SYS_PARAM_H
17836 # include <sys/param.h>
17837 #endif
17838 #ifdef HAVE_SYS_MOUNT_H
17839 # include <sys/mount.h>
17840 #endif
17841 #ifdef HAVE_SYS_VFS_H
17842 # include <sys/vfs.h>
17843 #endif
17844 #ifdef HAVE_SYS_STATFS_H
17845 # include <sys/statfs.h>
17846 #endif
17849 main ()
17851 static struct statfs ac_aggr;
17852 if (ac_aggr.f_frsize)
17853 return 0;
17855 return 0;
17857 _ACEOF
17858 rm -f conftest.$ac_objext
17859 if { (ac_try="$ac_compile"
17860 case "(($ac_try" in
17861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17862 *) ac_try_echo=$ac_try;;
17863 esac
17864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17865 (eval "$ac_compile") 2>conftest.er1
17866 ac_status=$?
17867 grep -v '^ *+' conftest.er1 >conftest.err
17868 rm -f conftest.er1
17869 cat conftest.err >&5
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); } && {
17872 test -z "$ac_c_werror_flag" ||
17873 test ! -s conftest.err
17874 } && test -s conftest.$ac_objext; then
17875 ac_cv_member_struct_statfs_f_frsize=yes
17876 else
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.$ac_ext >&5
17880 cat >conftest.$ac_ext <<_ACEOF
17881 /* confdefs.h. */
17882 _ACEOF
17883 cat confdefs.h >>conftest.$ac_ext
17884 cat >>conftest.$ac_ext <<_ACEOF
17885 /* end confdefs.h. */
17886 #include <sys/types.h>
17887 #ifdef HAVE_SYS_PARAM_H
17888 # include <sys/param.h>
17889 #endif
17890 #ifdef HAVE_SYS_MOUNT_H
17891 # include <sys/mount.h>
17892 #endif
17893 #ifdef HAVE_SYS_VFS_H
17894 # include <sys/vfs.h>
17895 #endif
17896 #ifdef HAVE_SYS_STATFS_H
17897 # include <sys/statfs.h>
17898 #endif
17901 main ()
17903 static struct statfs ac_aggr;
17904 if (sizeof ac_aggr.f_frsize)
17905 return 0;
17907 return 0;
17909 _ACEOF
17910 rm -f conftest.$ac_objext
17911 if { (ac_try="$ac_compile"
17912 case "(($ac_try" in
17913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17914 *) ac_try_echo=$ac_try;;
17915 esac
17916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17917 (eval "$ac_compile") 2>conftest.er1
17918 ac_status=$?
17919 grep -v '^ *+' conftest.er1 >conftest.err
17920 rm -f conftest.er1
17921 cat conftest.err >&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); } && {
17924 test -z "$ac_c_werror_flag" ||
17925 test ! -s conftest.err
17926 } && test -s conftest.$ac_objext; then
17927 ac_cv_member_struct_statfs_f_frsize=yes
17928 else
17929 echo "$as_me: failed program was:" >&5
17930 sed 's/^/| /' conftest.$ac_ext >&5
17932 ac_cv_member_struct_statfs_f_frsize=no
17935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17940 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17941 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17942 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17944 cat >>confdefs.h <<_ACEOF
17945 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17946 _ACEOF
17950 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17951 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17952 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17953 echo $ECHO_N "(cached) $ECHO_C" >&6
17954 else
17955 cat >conftest.$ac_ext <<_ACEOF
17956 /* confdefs.h. */
17957 _ACEOF
17958 cat confdefs.h >>conftest.$ac_ext
17959 cat >>conftest.$ac_ext <<_ACEOF
17960 /* end confdefs.h. */
17961 #include <sys/types.h>
17962 #ifdef HAVE_SYS_PARAM_H
17963 # include <sys/param.h>
17964 #endif
17965 #ifdef HAVE_SYS_MOUNT_H
17966 # include <sys/mount.h>
17967 #endif
17968 #ifdef HAVE_SYS_VFS_H
17969 # include <sys/vfs.h>
17970 #endif
17971 #ifdef HAVE_SYS_STATFS_H
17972 # include <sys/statfs.h>
17973 #endif
17976 main ()
17978 static struct statfs ac_aggr;
17979 if (ac_aggr.f_ffree)
17980 return 0;
17982 return 0;
17984 _ACEOF
17985 rm -f conftest.$ac_objext
17986 if { (ac_try="$ac_compile"
17987 case "(($ac_try" in
17988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17989 *) ac_try_echo=$ac_try;;
17990 esac
17991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17992 (eval "$ac_compile") 2>conftest.er1
17993 ac_status=$?
17994 grep -v '^ *+' conftest.er1 >conftest.err
17995 rm -f conftest.er1
17996 cat conftest.err >&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); } && {
17999 test -z "$ac_c_werror_flag" ||
18000 test ! -s conftest.err
18001 } && test -s conftest.$ac_objext; then
18002 ac_cv_member_struct_statfs_f_ffree=yes
18003 else
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18007 cat >conftest.$ac_ext <<_ACEOF
18008 /* confdefs.h. */
18009 _ACEOF
18010 cat confdefs.h >>conftest.$ac_ext
18011 cat >>conftest.$ac_ext <<_ACEOF
18012 /* end confdefs.h. */
18013 #include <sys/types.h>
18014 #ifdef HAVE_SYS_PARAM_H
18015 # include <sys/param.h>
18016 #endif
18017 #ifdef HAVE_SYS_MOUNT_H
18018 # include <sys/mount.h>
18019 #endif
18020 #ifdef HAVE_SYS_VFS_H
18021 # include <sys/vfs.h>
18022 #endif
18023 #ifdef HAVE_SYS_STATFS_H
18024 # include <sys/statfs.h>
18025 #endif
18028 main ()
18030 static struct statfs ac_aggr;
18031 if (sizeof ac_aggr.f_ffree)
18032 return 0;
18034 return 0;
18036 _ACEOF
18037 rm -f conftest.$ac_objext
18038 if { (ac_try="$ac_compile"
18039 case "(($ac_try" in
18040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18041 *) ac_try_echo=$ac_try;;
18042 esac
18043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18044 (eval "$ac_compile") 2>conftest.er1
18045 ac_status=$?
18046 grep -v '^ *+' conftest.er1 >conftest.err
18047 rm -f conftest.er1
18048 cat conftest.err >&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } && {
18051 test -z "$ac_c_werror_flag" ||
18052 test ! -s conftest.err
18053 } && test -s conftest.$ac_objext; then
18054 ac_cv_member_struct_statfs_f_ffree=yes
18055 else
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.$ac_ext >&5
18059 ac_cv_member_struct_statfs_f_ffree=no
18062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18067 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18068 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18069 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18071 cat >>confdefs.h <<_ACEOF
18072 #define HAVE_STRUCT_STATFS_F_FFREE 1
18073 _ACEOF
18077 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18078 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18079 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18080 echo $ECHO_N "(cached) $ECHO_C" >&6
18081 else
18082 cat >conftest.$ac_ext <<_ACEOF
18083 /* confdefs.h. */
18084 _ACEOF
18085 cat confdefs.h >>conftest.$ac_ext
18086 cat >>conftest.$ac_ext <<_ACEOF
18087 /* end confdefs.h. */
18088 #include <sys/types.h>
18089 #ifdef HAVE_SYS_PARAM_H
18090 # include <sys/param.h>
18091 #endif
18092 #ifdef HAVE_SYS_MOUNT_H
18093 # include <sys/mount.h>
18094 #endif
18095 #ifdef HAVE_SYS_VFS_H
18096 # include <sys/vfs.h>
18097 #endif
18098 #ifdef HAVE_SYS_STATFS_H
18099 # include <sys/statfs.h>
18100 #endif
18103 main ()
18105 static struct statfs ac_aggr;
18106 if (ac_aggr.f_favail)
18107 return 0;
18109 return 0;
18111 _ACEOF
18112 rm -f conftest.$ac_objext
18113 if { (ac_try="$ac_compile"
18114 case "(($ac_try" in
18115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18116 *) ac_try_echo=$ac_try;;
18117 esac
18118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18119 (eval "$ac_compile") 2>conftest.er1
18120 ac_status=$?
18121 grep -v '^ *+' conftest.er1 >conftest.err
18122 rm -f conftest.er1
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } && {
18126 test -z "$ac_c_werror_flag" ||
18127 test ! -s conftest.err
18128 } && test -s conftest.$ac_objext; then
18129 ac_cv_member_struct_statfs_f_favail=yes
18130 else
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18134 cat >conftest.$ac_ext <<_ACEOF
18135 /* confdefs.h. */
18136 _ACEOF
18137 cat confdefs.h >>conftest.$ac_ext
18138 cat >>conftest.$ac_ext <<_ACEOF
18139 /* end confdefs.h. */
18140 #include <sys/types.h>
18141 #ifdef HAVE_SYS_PARAM_H
18142 # include <sys/param.h>
18143 #endif
18144 #ifdef HAVE_SYS_MOUNT_H
18145 # include <sys/mount.h>
18146 #endif
18147 #ifdef HAVE_SYS_VFS_H
18148 # include <sys/vfs.h>
18149 #endif
18150 #ifdef HAVE_SYS_STATFS_H
18151 # include <sys/statfs.h>
18152 #endif
18155 main ()
18157 static struct statfs ac_aggr;
18158 if (sizeof ac_aggr.f_favail)
18159 return 0;
18161 return 0;
18163 _ACEOF
18164 rm -f conftest.$ac_objext
18165 if { (ac_try="$ac_compile"
18166 case "(($ac_try" in
18167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18168 *) ac_try_echo=$ac_try;;
18169 esac
18170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18171 (eval "$ac_compile") 2>conftest.er1
18172 ac_status=$?
18173 grep -v '^ *+' conftest.er1 >conftest.err
18174 rm -f conftest.er1
18175 cat conftest.err >&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } && {
18178 test -z "$ac_c_werror_flag" ||
18179 test ! -s conftest.err
18180 } && test -s conftest.$ac_objext; then
18181 ac_cv_member_struct_statfs_f_favail=yes
18182 else
18183 echo "$as_me: failed program was:" >&5
18184 sed 's/^/| /' conftest.$ac_ext >&5
18186 ac_cv_member_struct_statfs_f_favail=no
18189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18194 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18195 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18196 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18198 cat >>confdefs.h <<_ACEOF
18199 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18200 _ACEOF
18204 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18205 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18206 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18207 echo $ECHO_N "(cached) $ECHO_C" >&6
18208 else
18209 cat >conftest.$ac_ext <<_ACEOF
18210 /* confdefs.h. */
18211 _ACEOF
18212 cat confdefs.h >>conftest.$ac_ext
18213 cat >>conftest.$ac_ext <<_ACEOF
18214 /* end confdefs.h. */
18215 #include <sys/types.h>
18216 #ifdef HAVE_SYS_PARAM_H
18217 # include <sys/param.h>
18218 #endif
18219 #ifdef HAVE_SYS_MOUNT_H
18220 # include <sys/mount.h>
18221 #endif
18222 #ifdef HAVE_SYS_VFS_H
18223 # include <sys/vfs.h>
18224 #endif
18225 #ifdef HAVE_SYS_STATFS_H
18226 # include <sys/statfs.h>
18227 #endif
18230 main ()
18232 static struct statfs ac_aggr;
18233 if (ac_aggr.f_namelen)
18234 return 0;
18236 return 0;
18238 _ACEOF
18239 rm -f conftest.$ac_objext
18240 if { (ac_try="$ac_compile"
18241 case "(($ac_try" in
18242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18243 *) ac_try_echo=$ac_try;;
18244 esac
18245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18246 (eval "$ac_compile") 2>conftest.er1
18247 ac_status=$?
18248 grep -v '^ *+' conftest.er1 >conftest.err
18249 rm -f conftest.er1
18250 cat conftest.err >&5
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); } && {
18253 test -z "$ac_c_werror_flag" ||
18254 test ! -s conftest.err
18255 } && test -s conftest.$ac_objext; then
18256 ac_cv_member_struct_statfs_f_namelen=yes
18257 else
18258 echo "$as_me: failed program was:" >&5
18259 sed 's/^/| /' conftest.$ac_ext >&5
18261 cat >conftest.$ac_ext <<_ACEOF
18262 /* confdefs.h. */
18263 _ACEOF
18264 cat confdefs.h >>conftest.$ac_ext
18265 cat >>conftest.$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18267 #include <sys/types.h>
18268 #ifdef HAVE_SYS_PARAM_H
18269 # include <sys/param.h>
18270 #endif
18271 #ifdef HAVE_SYS_MOUNT_H
18272 # include <sys/mount.h>
18273 #endif
18274 #ifdef HAVE_SYS_VFS_H
18275 # include <sys/vfs.h>
18276 #endif
18277 #ifdef HAVE_SYS_STATFS_H
18278 # include <sys/statfs.h>
18279 #endif
18282 main ()
18284 static struct statfs ac_aggr;
18285 if (sizeof ac_aggr.f_namelen)
18286 return 0;
18288 return 0;
18290 _ACEOF
18291 rm -f conftest.$ac_objext
18292 if { (ac_try="$ac_compile"
18293 case "(($ac_try" in
18294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18295 *) ac_try_echo=$ac_try;;
18296 esac
18297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18298 (eval "$ac_compile") 2>conftest.er1
18299 ac_status=$?
18300 grep -v '^ *+' conftest.er1 >conftest.err
18301 rm -f conftest.er1
18302 cat conftest.err >&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); } && {
18305 test -z "$ac_c_werror_flag" ||
18306 test ! -s conftest.err
18307 } && test -s conftest.$ac_objext; then
18308 ac_cv_member_struct_statfs_f_namelen=yes
18309 else
18310 echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.$ac_ext >&5
18313 ac_cv_member_struct_statfs_f_namelen=no
18316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18321 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18322 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18323 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18325 cat >>confdefs.h <<_ACEOF
18326 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18327 _ACEOF
18333 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18334 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18335 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18336 echo $ECHO_N "(cached) $ECHO_C" >&6
18337 else
18338 cat >conftest.$ac_ext <<_ACEOF
18339 /* confdefs.h. */
18340 _ACEOF
18341 cat confdefs.h >>conftest.$ac_ext
18342 cat >>conftest.$ac_ext <<_ACEOF
18343 /* end confdefs.h. */
18344 #ifdef HAVE_SYS_STATVFS_H
18345 #include <sys/statvfs.h>
18346 #endif
18349 main ()
18351 static struct statvfs ac_aggr;
18352 if (ac_aggr.f_blocks)
18353 return 0;
18355 return 0;
18357 _ACEOF
18358 rm -f conftest.$ac_objext
18359 if { (ac_try="$ac_compile"
18360 case "(($ac_try" in
18361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18362 *) ac_try_echo=$ac_try;;
18363 esac
18364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18365 (eval "$ac_compile") 2>conftest.er1
18366 ac_status=$?
18367 grep -v '^ *+' conftest.er1 >conftest.err
18368 rm -f conftest.er1
18369 cat conftest.err >&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); } && {
18372 test -z "$ac_c_werror_flag" ||
18373 test ! -s conftest.err
18374 } && test -s conftest.$ac_objext; then
18375 ac_cv_member_struct_statvfs_f_blocks=yes
18376 else
18377 echo "$as_me: failed program was:" >&5
18378 sed 's/^/| /' conftest.$ac_ext >&5
18380 cat >conftest.$ac_ext <<_ACEOF
18381 /* confdefs.h. */
18382 _ACEOF
18383 cat confdefs.h >>conftest.$ac_ext
18384 cat >>conftest.$ac_ext <<_ACEOF
18385 /* end confdefs.h. */
18386 #ifdef HAVE_SYS_STATVFS_H
18387 #include <sys/statvfs.h>
18388 #endif
18391 main ()
18393 static struct statvfs ac_aggr;
18394 if (sizeof ac_aggr.f_blocks)
18395 return 0;
18397 return 0;
18399 _ACEOF
18400 rm -f conftest.$ac_objext
18401 if { (ac_try="$ac_compile"
18402 case "(($ac_try" in
18403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18404 *) ac_try_echo=$ac_try;;
18405 esac
18406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18407 (eval "$ac_compile") 2>conftest.er1
18408 ac_status=$?
18409 grep -v '^ *+' conftest.er1 >conftest.err
18410 rm -f conftest.er1
18411 cat conftest.err >&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); } && {
18414 test -z "$ac_c_werror_flag" ||
18415 test ! -s conftest.err
18416 } && test -s conftest.$ac_objext; then
18417 ac_cv_member_struct_statvfs_f_blocks=yes
18418 else
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18422 ac_cv_member_struct_statvfs_f_blocks=no
18425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18430 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18431 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18432 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18434 cat >>confdefs.h <<_ACEOF
18435 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18436 _ACEOF
18442 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18443 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18444 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18445 echo $ECHO_N "(cached) $ECHO_C" >&6
18446 else
18447 cat >conftest.$ac_ext <<_ACEOF
18448 /* confdefs.h. */
18449 _ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 #include <sys/types.h>
18454 #ifdef HAVE_SYS_SOCKET_H
18455 # include <sys/socket.h>
18456 #endif
18457 #ifdef HAVE_SYS_UN_H
18458 # include <sys/un.h>
18459 #endif
18462 main ()
18464 static struct msghdr ac_aggr;
18465 if (ac_aggr.msg_accrights)
18466 return 0;
18468 return 0;
18470 _ACEOF
18471 rm -f conftest.$ac_objext
18472 if { (ac_try="$ac_compile"
18473 case "(($ac_try" in
18474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18475 *) ac_try_echo=$ac_try;;
18476 esac
18477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18478 (eval "$ac_compile") 2>conftest.er1
18479 ac_status=$?
18480 grep -v '^ *+' conftest.er1 >conftest.err
18481 rm -f conftest.er1
18482 cat conftest.err >&5
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); } && {
18485 test -z "$ac_c_werror_flag" ||
18486 test ! -s conftest.err
18487 } && test -s conftest.$ac_objext; then
18488 ac_cv_member_struct_msghdr_msg_accrights=yes
18489 else
18490 echo "$as_me: failed program was:" >&5
18491 sed 's/^/| /' conftest.$ac_ext >&5
18493 cat >conftest.$ac_ext <<_ACEOF
18494 /* confdefs.h. */
18495 _ACEOF
18496 cat confdefs.h >>conftest.$ac_ext
18497 cat >>conftest.$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18499 #include <sys/types.h>
18500 #ifdef HAVE_SYS_SOCKET_H
18501 # include <sys/socket.h>
18502 #endif
18503 #ifdef HAVE_SYS_UN_H
18504 # include <sys/un.h>
18505 #endif
18508 main ()
18510 static struct msghdr ac_aggr;
18511 if (sizeof ac_aggr.msg_accrights)
18512 return 0;
18514 return 0;
18516 _ACEOF
18517 rm -f conftest.$ac_objext
18518 if { (ac_try="$ac_compile"
18519 case "(($ac_try" in
18520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18521 *) ac_try_echo=$ac_try;;
18522 esac
18523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18524 (eval "$ac_compile") 2>conftest.er1
18525 ac_status=$?
18526 grep -v '^ *+' conftest.er1 >conftest.err
18527 rm -f conftest.er1
18528 cat conftest.err >&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); } && {
18531 test -z "$ac_c_werror_flag" ||
18532 test ! -s conftest.err
18533 } && test -s conftest.$ac_objext; then
18534 ac_cv_member_struct_msghdr_msg_accrights=yes
18535 else
18536 echo "$as_me: failed program was:" >&5
18537 sed 's/^/| /' conftest.$ac_ext >&5
18539 ac_cv_member_struct_msghdr_msg_accrights=no
18542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18547 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18548 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18549 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18551 cat >>confdefs.h <<_ACEOF
18552 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18553 _ACEOF
18557 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18558 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18559 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18560 echo $ECHO_N "(cached) $ECHO_C" >&6
18561 else
18562 cat >conftest.$ac_ext <<_ACEOF
18563 /* confdefs.h. */
18564 _ACEOF
18565 cat confdefs.h >>conftest.$ac_ext
18566 cat >>conftest.$ac_ext <<_ACEOF
18567 /* end confdefs.h. */
18568 #include <sys/types.h>
18569 #ifdef HAVE_SYS_SOCKET_H
18570 # include <sys/socket.h>
18571 #endif
18572 #ifdef HAVE_SYS_UN_H
18573 # include <sys/un.h>
18574 #endif
18577 main ()
18579 static struct sockaddr ac_aggr;
18580 if (ac_aggr.sa_len)
18581 return 0;
18583 return 0;
18585 _ACEOF
18586 rm -f conftest.$ac_objext
18587 if { (ac_try="$ac_compile"
18588 case "(($ac_try" in
18589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18590 *) ac_try_echo=$ac_try;;
18591 esac
18592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18593 (eval "$ac_compile") 2>conftest.er1
18594 ac_status=$?
18595 grep -v '^ *+' conftest.er1 >conftest.err
18596 rm -f conftest.er1
18597 cat conftest.err >&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); } && {
18600 test -z "$ac_c_werror_flag" ||
18601 test ! -s conftest.err
18602 } && test -s conftest.$ac_objext; then
18603 ac_cv_member_struct_sockaddr_sa_len=yes
18604 else
18605 echo "$as_me: failed program was:" >&5
18606 sed 's/^/| /' conftest.$ac_ext >&5
18608 cat >conftest.$ac_ext <<_ACEOF
18609 /* confdefs.h. */
18610 _ACEOF
18611 cat confdefs.h >>conftest.$ac_ext
18612 cat >>conftest.$ac_ext <<_ACEOF
18613 /* end confdefs.h. */
18614 #include <sys/types.h>
18615 #ifdef HAVE_SYS_SOCKET_H
18616 # include <sys/socket.h>
18617 #endif
18618 #ifdef HAVE_SYS_UN_H
18619 # include <sys/un.h>
18620 #endif
18623 main ()
18625 static struct sockaddr ac_aggr;
18626 if (sizeof ac_aggr.sa_len)
18627 return 0;
18629 return 0;
18631 _ACEOF
18632 rm -f conftest.$ac_objext
18633 if { (ac_try="$ac_compile"
18634 case "(($ac_try" in
18635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18636 *) ac_try_echo=$ac_try;;
18637 esac
18638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18639 (eval "$ac_compile") 2>conftest.er1
18640 ac_status=$?
18641 grep -v '^ *+' conftest.er1 >conftest.err
18642 rm -f conftest.er1
18643 cat conftest.err >&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); } && {
18646 test -z "$ac_c_werror_flag" ||
18647 test ! -s conftest.err
18648 } && test -s conftest.$ac_objext; then
18649 ac_cv_member_struct_sockaddr_sa_len=yes
18650 else
18651 echo "$as_me: failed program was:" >&5
18652 sed 's/^/| /' conftest.$ac_ext >&5
18654 ac_cv_member_struct_sockaddr_sa_len=no
18657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18662 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18663 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18664 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18666 cat >>confdefs.h <<_ACEOF
18667 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18668 _ACEOF
18672 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18673 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18674 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18675 echo $ECHO_N "(cached) $ECHO_C" >&6
18676 else
18677 cat >conftest.$ac_ext <<_ACEOF
18678 /* confdefs.h. */
18679 _ACEOF
18680 cat confdefs.h >>conftest.$ac_ext
18681 cat >>conftest.$ac_ext <<_ACEOF
18682 /* end confdefs.h. */
18683 #include <sys/types.h>
18684 #ifdef HAVE_SYS_SOCKET_H
18685 # include <sys/socket.h>
18686 #endif
18687 #ifdef HAVE_SYS_UN_H
18688 # include <sys/un.h>
18689 #endif
18692 main ()
18694 static struct sockaddr_un ac_aggr;
18695 if (ac_aggr.sun_len)
18696 return 0;
18698 return 0;
18700 _ACEOF
18701 rm -f conftest.$ac_objext
18702 if { (ac_try="$ac_compile"
18703 case "(($ac_try" in
18704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18705 *) ac_try_echo=$ac_try;;
18706 esac
18707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18708 (eval "$ac_compile") 2>conftest.er1
18709 ac_status=$?
18710 grep -v '^ *+' conftest.er1 >conftest.err
18711 rm -f conftest.er1
18712 cat conftest.err >&5
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); } && {
18715 test -z "$ac_c_werror_flag" ||
18716 test ! -s conftest.err
18717 } && test -s conftest.$ac_objext; then
18718 ac_cv_member_struct_sockaddr_un_sun_len=yes
18719 else
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.$ac_ext >&5
18723 cat >conftest.$ac_ext <<_ACEOF
18724 /* confdefs.h. */
18725 _ACEOF
18726 cat confdefs.h >>conftest.$ac_ext
18727 cat >>conftest.$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18729 #include <sys/types.h>
18730 #ifdef HAVE_SYS_SOCKET_H
18731 # include <sys/socket.h>
18732 #endif
18733 #ifdef HAVE_SYS_UN_H
18734 # include <sys/un.h>
18735 #endif
18738 main ()
18740 static struct sockaddr_un ac_aggr;
18741 if (sizeof ac_aggr.sun_len)
18742 return 0;
18744 return 0;
18746 _ACEOF
18747 rm -f conftest.$ac_objext
18748 if { (ac_try="$ac_compile"
18749 case "(($ac_try" in
18750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18751 *) ac_try_echo=$ac_try;;
18752 esac
18753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18754 (eval "$ac_compile") 2>conftest.er1
18755 ac_status=$?
18756 grep -v '^ *+' conftest.er1 >conftest.err
18757 rm -f conftest.er1
18758 cat conftest.err >&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } && {
18761 test -z "$ac_c_werror_flag" ||
18762 test ! -s conftest.err
18763 } && test -s conftest.$ac_objext; then
18764 ac_cv_member_struct_sockaddr_un_sun_len=yes
18765 else
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.$ac_ext >&5
18769 ac_cv_member_struct_sockaddr_un_sun_len=no
18772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18777 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18778 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18779 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18781 cat >>confdefs.h <<_ACEOF
18782 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18783 _ACEOF
18789 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18790 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18791 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18792 echo $ECHO_N "(cached) $ECHO_C" >&6
18793 else
18794 cat >conftest.$ac_ext <<_ACEOF
18795 /* confdefs.h. */
18796 _ACEOF
18797 cat confdefs.h >>conftest.$ac_ext
18798 cat >>conftest.$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18800 #include <sys/types.h>
18801 #ifdef HAVE_SCSI_SG_H
18802 #include <scsi/sg.h>
18803 #endif
18806 main ()
18808 static scsireq_t ac_aggr;
18809 if (ac_aggr.cmd)
18810 return 0;
18812 return 0;
18814 _ACEOF
18815 rm -f conftest.$ac_objext
18816 if { (ac_try="$ac_compile"
18817 case "(($ac_try" in
18818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18819 *) ac_try_echo=$ac_try;;
18820 esac
18821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18822 (eval "$ac_compile") 2>conftest.er1
18823 ac_status=$?
18824 grep -v '^ *+' conftest.er1 >conftest.err
18825 rm -f conftest.er1
18826 cat conftest.err >&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } && {
18829 test -z "$ac_c_werror_flag" ||
18830 test ! -s conftest.err
18831 } && test -s conftest.$ac_objext; then
18832 ac_cv_member_scsireq_t_cmd=yes
18833 else
18834 echo "$as_me: failed program was:" >&5
18835 sed 's/^/| /' conftest.$ac_ext >&5
18837 cat >conftest.$ac_ext <<_ACEOF
18838 /* confdefs.h. */
18839 _ACEOF
18840 cat confdefs.h >>conftest.$ac_ext
18841 cat >>conftest.$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18843 #include <sys/types.h>
18844 #ifdef HAVE_SCSI_SG_H
18845 #include <scsi/sg.h>
18846 #endif
18849 main ()
18851 static scsireq_t ac_aggr;
18852 if (sizeof ac_aggr.cmd)
18853 return 0;
18855 return 0;
18857 _ACEOF
18858 rm -f conftest.$ac_objext
18859 if { (ac_try="$ac_compile"
18860 case "(($ac_try" in
18861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18862 *) ac_try_echo=$ac_try;;
18863 esac
18864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18865 (eval "$ac_compile") 2>conftest.er1
18866 ac_status=$?
18867 grep -v '^ *+' conftest.er1 >conftest.err
18868 rm -f conftest.er1
18869 cat conftest.err >&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); } && {
18872 test -z "$ac_c_werror_flag" ||
18873 test ! -s conftest.err
18874 } && test -s conftest.$ac_objext; then
18875 ac_cv_member_scsireq_t_cmd=yes
18876 else
18877 echo "$as_me: failed program was:" >&5
18878 sed 's/^/| /' conftest.$ac_ext >&5
18880 ac_cv_member_scsireq_t_cmd=no
18883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18888 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18889 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18890 if test $ac_cv_member_scsireq_t_cmd = yes; then
18892 cat >>confdefs.h <<_ACEOF
18893 #define HAVE_SCSIREQ_T_CMD 1
18894 _ACEOF
18898 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18899 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18900 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18901 echo $ECHO_N "(cached) $ECHO_C" >&6
18902 else
18903 cat >conftest.$ac_ext <<_ACEOF
18904 /* confdefs.h. */
18905 _ACEOF
18906 cat confdefs.h >>conftest.$ac_ext
18907 cat >>conftest.$ac_ext <<_ACEOF
18908 /* end confdefs.h. */
18909 #include <sys/types.h>
18910 #ifdef HAVE_SCSI_SG_H
18911 #include <scsi/sg.h>
18912 #endif
18915 main ()
18917 static sg_io_hdr_t ac_aggr;
18918 if (ac_aggr.interface_id)
18919 return 0;
18921 return 0;
18923 _ACEOF
18924 rm -f conftest.$ac_objext
18925 if { (ac_try="$ac_compile"
18926 case "(($ac_try" in
18927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18928 *) ac_try_echo=$ac_try;;
18929 esac
18930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18931 (eval "$ac_compile") 2>conftest.er1
18932 ac_status=$?
18933 grep -v '^ *+' conftest.er1 >conftest.err
18934 rm -f conftest.er1
18935 cat conftest.err >&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } && {
18938 test -z "$ac_c_werror_flag" ||
18939 test ! -s conftest.err
18940 } && test -s conftest.$ac_objext; then
18941 ac_cv_member_sg_io_hdr_t_interface_id=yes
18942 else
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.$ac_ext >&5
18946 cat >conftest.$ac_ext <<_ACEOF
18947 /* confdefs.h. */
18948 _ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18952 #include <sys/types.h>
18953 #ifdef HAVE_SCSI_SG_H
18954 #include <scsi/sg.h>
18955 #endif
18958 main ()
18960 static sg_io_hdr_t ac_aggr;
18961 if (sizeof ac_aggr.interface_id)
18962 return 0;
18964 return 0;
18966 _ACEOF
18967 rm -f conftest.$ac_objext
18968 if { (ac_try="$ac_compile"
18969 case "(($ac_try" in
18970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18971 *) ac_try_echo=$ac_try;;
18972 esac
18973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18974 (eval "$ac_compile") 2>conftest.er1
18975 ac_status=$?
18976 grep -v '^ *+' conftest.er1 >conftest.err
18977 rm -f conftest.er1
18978 cat conftest.err >&5
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); } && {
18981 test -z "$ac_c_werror_flag" ||
18982 test ! -s conftest.err
18983 } && test -s conftest.$ac_objext; then
18984 ac_cv_member_sg_io_hdr_t_interface_id=yes
18985 else
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18989 ac_cv_member_sg_io_hdr_t_interface_id=no
18992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18997 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18998 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18999 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19001 cat >>confdefs.h <<_ACEOF
19002 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19003 _ACEOF
19009 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19010 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19011 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19012 echo $ECHO_N "(cached) $ECHO_C" >&6
19013 else
19014 cat >conftest.$ac_ext <<_ACEOF
19015 /* confdefs.h. */
19016 _ACEOF
19017 cat confdefs.h >>conftest.$ac_ext
19018 cat >>conftest.$ac_ext <<_ACEOF
19019 /* end confdefs.h. */
19020 #include <signal.h>
19023 main ()
19025 static siginfo_t ac_aggr;
19026 if (ac_aggr.si_fd)
19027 return 0;
19029 return 0;
19031 _ACEOF
19032 rm -f conftest.$ac_objext
19033 if { (ac_try="$ac_compile"
19034 case "(($ac_try" in
19035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19036 *) ac_try_echo=$ac_try;;
19037 esac
19038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19039 (eval "$ac_compile") 2>conftest.er1
19040 ac_status=$?
19041 grep -v '^ *+' conftest.er1 >conftest.err
19042 rm -f conftest.er1
19043 cat conftest.err >&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); } && {
19046 test -z "$ac_c_werror_flag" ||
19047 test ! -s conftest.err
19048 } && test -s conftest.$ac_objext; then
19049 ac_cv_member_siginfo_t_si_fd=yes
19050 else
19051 echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.$ac_ext >&5
19054 cat >conftest.$ac_ext <<_ACEOF
19055 /* confdefs.h. */
19056 _ACEOF
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 #include <signal.h>
19063 main ()
19065 static siginfo_t ac_aggr;
19066 if (sizeof ac_aggr.si_fd)
19067 return 0;
19069 return 0;
19071 _ACEOF
19072 rm -f conftest.$ac_objext
19073 if { (ac_try="$ac_compile"
19074 case "(($ac_try" in
19075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19076 *) ac_try_echo=$ac_try;;
19077 esac
19078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19079 (eval "$ac_compile") 2>conftest.er1
19080 ac_status=$?
19081 grep -v '^ *+' conftest.er1 >conftest.err
19082 rm -f conftest.er1
19083 cat conftest.err >&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); } && {
19086 test -z "$ac_c_werror_flag" ||
19087 test ! -s conftest.err
19088 } && test -s conftest.$ac_objext; then
19089 ac_cv_member_siginfo_t_si_fd=yes
19090 else
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.$ac_ext >&5
19094 ac_cv_member_siginfo_t_si_fd=no
19097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19102 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19103 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19104 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19106 cat >>confdefs.h <<_ACEOF
19107 #define HAVE_SIGINFO_T_SI_FD 1
19108 _ACEOF
19114 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19115 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19116 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19117 echo $ECHO_N "(cached) $ECHO_C" >&6
19118 else
19119 cat >conftest.$ac_ext <<_ACEOF
19120 /* confdefs.h. */
19121 _ACEOF
19122 cat confdefs.h >>conftest.$ac_ext
19123 cat >>conftest.$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 #include <sys/types.h>
19126 #ifdef HAVE_SYS_MTIO_H
19127 #include <sys/mtio.h>
19128 #endif
19131 main ()
19133 static struct mtget ac_aggr;
19134 if (ac_aggr.mt_blksiz)
19135 return 0;
19137 return 0;
19139 _ACEOF
19140 rm -f conftest.$ac_objext
19141 if { (ac_try="$ac_compile"
19142 case "(($ac_try" in
19143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19144 *) ac_try_echo=$ac_try;;
19145 esac
19146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19147 (eval "$ac_compile") 2>conftest.er1
19148 ac_status=$?
19149 grep -v '^ *+' conftest.er1 >conftest.err
19150 rm -f conftest.er1
19151 cat conftest.err >&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); } && {
19154 test -z "$ac_c_werror_flag" ||
19155 test ! -s conftest.err
19156 } && test -s conftest.$ac_objext; then
19157 ac_cv_member_struct_mtget_mt_blksiz=yes
19158 else
19159 echo "$as_me: failed program was:" >&5
19160 sed 's/^/| /' conftest.$ac_ext >&5
19162 cat >conftest.$ac_ext <<_ACEOF
19163 /* confdefs.h. */
19164 _ACEOF
19165 cat confdefs.h >>conftest.$ac_ext
19166 cat >>conftest.$ac_ext <<_ACEOF
19167 /* end confdefs.h. */
19168 #include <sys/types.h>
19169 #ifdef HAVE_SYS_MTIO_H
19170 #include <sys/mtio.h>
19171 #endif
19174 main ()
19176 static struct mtget ac_aggr;
19177 if (sizeof ac_aggr.mt_blksiz)
19178 return 0;
19180 return 0;
19182 _ACEOF
19183 rm -f conftest.$ac_objext
19184 if { (ac_try="$ac_compile"
19185 case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19187 *) ac_try_echo=$ac_try;;
19188 esac
19189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_compile") 2>conftest.er1
19191 ac_status=$?
19192 grep -v '^ *+' conftest.er1 >conftest.err
19193 rm -f conftest.er1
19194 cat conftest.err >&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } && {
19197 test -z "$ac_c_werror_flag" ||
19198 test ! -s conftest.err
19199 } && test -s conftest.$ac_objext; then
19200 ac_cv_member_struct_mtget_mt_blksiz=yes
19201 else
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19205 ac_cv_member_struct_mtget_mt_blksiz=no
19208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19213 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19214 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19215 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19217 cat >>confdefs.h <<_ACEOF
19218 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19219 _ACEOF
19223 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19224 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19225 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19226 echo $ECHO_N "(cached) $ECHO_C" >&6
19227 else
19228 cat >conftest.$ac_ext <<_ACEOF
19229 /* confdefs.h. */
19230 _ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234 #include <sys/types.h>
19235 #ifdef HAVE_SYS_MTIO_H
19236 #include <sys/mtio.h>
19237 #endif
19240 main ()
19242 static struct mtget ac_aggr;
19243 if (ac_aggr.mt_gstat)
19244 return 0;
19246 return 0;
19248 _ACEOF
19249 rm -f conftest.$ac_objext
19250 if { (ac_try="$ac_compile"
19251 case "(($ac_try" in
19252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19253 *) ac_try_echo=$ac_try;;
19254 esac
19255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19256 (eval "$ac_compile") 2>conftest.er1
19257 ac_status=$?
19258 grep -v '^ *+' conftest.er1 >conftest.err
19259 rm -f conftest.er1
19260 cat conftest.err >&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); } && {
19263 test -z "$ac_c_werror_flag" ||
19264 test ! -s conftest.err
19265 } && test -s conftest.$ac_objext; then
19266 ac_cv_member_struct_mtget_mt_gstat=yes
19267 else
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.$ac_ext >&5
19271 cat >conftest.$ac_ext <<_ACEOF
19272 /* confdefs.h. */
19273 _ACEOF
19274 cat confdefs.h >>conftest.$ac_ext
19275 cat >>conftest.$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 #include <sys/types.h>
19278 #ifdef HAVE_SYS_MTIO_H
19279 #include <sys/mtio.h>
19280 #endif
19283 main ()
19285 static struct mtget ac_aggr;
19286 if (sizeof ac_aggr.mt_gstat)
19287 return 0;
19289 return 0;
19291 _ACEOF
19292 rm -f conftest.$ac_objext
19293 if { (ac_try="$ac_compile"
19294 case "(($ac_try" in
19295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19296 *) ac_try_echo=$ac_try;;
19297 esac
19298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19299 (eval "$ac_compile") 2>conftest.er1
19300 ac_status=$?
19301 grep -v '^ *+' conftest.er1 >conftest.err
19302 rm -f conftest.er1
19303 cat conftest.err >&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } && {
19306 test -z "$ac_c_werror_flag" ||
19307 test ! -s conftest.err
19308 } && test -s conftest.$ac_objext; then
19309 ac_cv_member_struct_mtget_mt_gstat=yes
19310 else
19311 echo "$as_me: failed program was:" >&5
19312 sed 's/^/| /' conftest.$ac_ext >&5
19314 ac_cv_member_struct_mtget_mt_gstat=no
19317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19322 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19323 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19324 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19326 cat >>confdefs.h <<_ACEOF
19327 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19328 _ACEOF
19332 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19333 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19334 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19335 echo $ECHO_N "(cached) $ECHO_C" >&6
19336 else
19337 cat >conftest.$ac_ext <<_ACEOF
19338 /* confdefs.h. */
19339 _ACEOF
19340 cat confdefs.h >>conftest.$ac_ext
19341 cat >>conftest.$ac_ext <<_ACEOF
19342 /* end confdefs.h. */
19343 #include <sys/types.h>
19344 #ifdef HAVE_SYS_MTIO_H
19345 #include <sys/mtio.h>
19346 #endif
19349 main ()
19351 static struct mtget ac_aggr;
19352 if (ac_aggr.mt_blkno)
19353 return 0;
19355 return 0;
19357 _ACEOF
19358 rm -f conftest.$ac_objext
19359 if { (ac_try="$ac_compile"
19360 case "(($ac_try" in
19361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19362 *) ac_try_echo=$ac_try;;
19363 esac
19364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19365 (eval "$ac_compile") 2>conftest.er1
19366 ac_status=$?
19367 grep -v '^ *+' conftest.er1 >conftest.err
19368 rm -f conftest.er1
19369 cat conftest.err >&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } && {
19372 test -z "$ac_c_werror_flag" ||
19373 test ! -s conftest.err
19374 } && test -s conftest.$ac_objext; then
19375 ac_cv_member_struct_mtget_mt_blkno=yes
19376 else
19377 echo "$as_me: failed program was:" >&5
19378 sed 's/^/| /' conftest.$ac_ext >&5
19380 cat >conftest.$ac_ext <<_ACEOF
19381 /* confdefs.h. */
19382 _ACEOF
19383 cat confdefs.h >>conftest.$ac_ext
19384 cat >>conftest.$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19386 #include <sys/types.h>
19387 #ifdef HAVE_SYS_MTIO_H
19388 #include <sys/mtio.h>
19389 #endif
19392 main ()
19394 static struct mtget ac_aggr;
19395 if (sizeof ac_aggr.mt_blkno)
19396 return 0;
19398 return 0;
19400 _ACEOF
19401 rm -f conftest.$ac_objext
19402 if { (ac_try="$ac_compile"
19403 case "(($ac_try" in
19404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19405 *) ac_try_echo=$ac_try;;
19406 esac
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_compile") 2>conftest.er1
19409 ac_status=$?
19410 grep -v '^ *+' conftest.er1 >conftest.err
19411 rm -f conftest.er1
19412 cat conftest.err >&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); } && {
19415 test -z "$ac_c_werror_flag" ||
19416 test ! -s conftest.err
19417 } && test -s conftest.$ac_objext; then
19418 ac_cv_member_struct_mtget_mt_blkno=yes
19419 else
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19423 ac_cv_member_struct_mtget_mt_blkno=no
19426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19431 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19432 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19433 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19435 cat >>confdefs.h <<_ACEOF
19436 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19437 _ACEOF
19443 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19444 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19445 if test "${ac_cv_member_struct_option_name+set}" = set; then
19446 echo $ECHO_N "(cached) $ECHO_C" >&6
19447 else
19448 cat >conftest.$ac_ext <<_ACEOF
19449 /* confdefs.h. */
19450 _ACEOF
19451 cat confdefs.h >>conftest.$ac_ext
19452 cat >>conftest.$ac_ext <<_ACEOF
19453 /* end confdefs.h. */
19454 #ifdef HAVE_GETOPT_H
19455 #include <getopt.h>
19456 #endif
19459 main ()
19461 static struct option ac_aggr;
19462 if (ac_aggr.name)
19463 return 0;
19465 return 0;
19467 _ACEOF
19468 rm -f conftest.$ac_objext
19469 if { (ac_try="$ac_compile"
19470 case "(($ac_try" in
19471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19472 *) ac_try_echo=$ac_try;;
19473 esac
19474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19475 (eval "$ac_compile") 2>conftest.er1
19476 ac_status=$?
19477 grep -v '^ *+' conftest.er1 >conftest.err
19478 rm -f conftest.er1
19479 cat conftest.err >&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); } && {
19482 test -z "$ac_c_werror_flag" ||
19483 test ! -s conftest.err
19484 } && test -s conftest.$ac_objext; then
19485 ac_cv_member_struct_option_name=yes
19486 else
19487 echo "$as_me: failed program was:" >&5
19488 sed 's/^/| /' conftest.$ac_ext >&5
19490 cat >conftest.$ac_ext <<_ACEOF
19491 /* confdefs.h. */
19492 _ACEOF
19493 cat confdefs.h >>conftest.$ac_ext
19494 cat >>conftest.$ac_ext <<_ACEOF
19495 /* end confdefs.h. */
19496 #ifdef HAVE_GETOPT_H
19497 #include <getopt.h>
19498 #endif
19501 main ()
19503 static struct option ac_aggr;
19504 if (sizeof ac_aggr.name)
19505 return 0;
19507 return 0;
19509 _ACEOF
19510 rm -f conftest.$ac_objext
19511 if { (ac_try="$ac_compile"
19512 case "(($ac_try" in
19513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19514 *) ac_try_echo=$ac_try;;
19515 esac
19516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_compile") 2>conftest.er1
19518 ac_status=$?
19519 grep -v '^ *+' conftest.er1 >conftest.err
19520 rm -f conftest.er1
19521 cat conftest.err >&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } && {
19524 test -z "$ac_c_werror_flag" ||
19525 test ! -s conftest.err
19526 } && test -s conftest.$ac_objext; then
19527 ac_cv_member_struct_option_name=yes
19528 else
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.$ac_ext >&5
19532 ac_cv_member_struct_option_name=no
19535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19540 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19541 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19542 if test $ac_cv_member_struct_option_name = yes; then
19544 cat >>confdefs.h <<_ACEOF
19545 #define HAVE_STRUCT_OPTION_NAME 1
19546 _ACEOF
19552 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19553 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19554 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19555 echo $ECHO_N "(cached) $ECHO_C" >&6
19556 else
19557 cat >conftest.$ac_ext <<_ACEOF
19558 /* confdefs.h. */
19559 _ACEOF
19560 cat confdefs.h >>conftest.$ac_ext
19561 cat >>conftest.$ac_ext <<_ACEOF
19562 /* end confdefs.h. */
19563 $ac_includes_default
19565 main ()
19567 static struct stat ac_aggr;
19568 if (ac_aggr.st_blocks)
19569 return 0;
19571 return 0;
19573 _ACEOF
19574 rm -f conftest.$ac_objext
19575 if { (ac_try="$ac_compile"
19576 case "(($ac_try" in
19577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19578 *) ac_try_echo=$ac_try;;
19579 esac
19580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19581 (eval "$ac_compile") 2>conftest.er1
19582 ac_status=$?
19583 grep -v '^ *+' conftest.er1 >conftest.err
19584 rm -f conftest.er1
19585 cat conftest.err >&5
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); } && {
19588 test -z "$ac_c_werror_flag" ||
19589 test ! -s conftest.err
19590 } && test -s conftest.$ac_objext; then
19591 ac_cv_member_struct_stat_st_blocks=yes
19592 else
19593 echo "$as_me: failed program was:" >&5
19594 sed 's/^/| /' conftest.$ac_ext >&5
19596 cat >conftest.$ac_ext <<_ACEOF
19597 /* confdefs.h. */
19598 _ACEOF
19599 cat confdefs.h >>conftest.$ac_ext
19600 cat >>conftest.$ac_ext <<_ACEOF
19601 /* end confdefs.h. */
19602 $ac_includes_default
19604 main ()
19606 static struct stat ac_aggr;
19607 if (sizeof ac_aggr.st_blocks)
19608 return 0;
19610 return 0;
19612 _ACEOF
19613 rm -f conftest.$ac_objext
19614 if { (ac_try="$ac_compile"
19615 case "(($ac_try" in
19616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19617 *) ac_try_echo=$ac_try;;
19618 esac
19619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19620 (eval "$ac_compile") 2>conftest.er1
19621 ac_status=$?
19622 grep -v '^ *+' conftest.er1 >conftest.err
19623 rm -f conftest.er1
19624 cat conftest.err >&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); } && {
19627 test -z "$ac_c_werror_flag" ||
19628 test ! -s conftest.err
19629 } && test -s conftest.$ac_objext; then
19630 ac_cv_member_struct_stat_st_blocks=yes
19631 else
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.$ac_ext >&5
19635 ac_cv_member_struct_stat_st_blocks=no
19638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19643 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19644 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19645 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19647 cat >>confdefs.h <<_ACEOF
19648 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19649 _ACEOF
19655 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19656 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19657 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19658 echo $ECHO_N "(cached) $ECHO_C" >&6
19659 else
19660 cat >conftest.$ac_ext <<_ACEOF
19661 /* confdefs.h. */
19662 _ACEOF
19663 cat confdefs.h >>conftest.$ac_ext
19664 cat >>conftest.$ac_ext <<_ACEOF
19665 /* end confdefs.h. */
19666 #ifdef HAVE_SYS_TYPES_H
19667 #include <sys/types.h>
19668 #endif
19669 #ifdef HAVE_NETINET_IN_H
19670 #include <netinet/in.h>
19671 #endif
19674 main ()
19676 static struct sockaddr_in6 ac_aggr;
19677 if (ac_aggr.sin6_scope_id)
19678 return 0;
19680 return 0;
19682 _ACEOF
19683 rm -f conftest.$ac_objext
19684 if { (ac_try="$ac_compile"
19685 case "(($ac_try" in
19686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19687 *) ac_try_echo=$ac_try;;
19688 esac
19689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19690 (eval "$ac_compile") 2>conftest.er1
19691 ac_status=$?
19692 grep -v '^ *+' conftest.er1 >conftest.err
19693 rm -f conftest.er1
19694 cat conftest.err >&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); } && {
19697 test -z "$ac_c_werror_flag" ||
19698 test ! -s conftest.err
19699 } && test -s conftest.$ac_objext; then
19700 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19701 else
19702 echo "$as_me: failed program was:" >&5
19703 sed 's/^/| /' conftest.$ac_ext >&5
19705 cat >conftest.$ac_ext <<_ACEOF
19706 /* confdefs.h. */
19707 _ACEOF
19708 cat confdefs.h >>conftest.$ac_ext
19709 cat >>conftest.$ac_ext <<_ACEOF
19710 /* end confdefs.h. */
19711 #ifdef HAVE_SYS_TYPES_H
19712 #include <sys/types.h>
19713 #endif
19714 #ifdef HAVE_NETINET_IN_H
19715 #include <netinet/in.h>
19716 #endif
19719 main ()
19721 static struct sockaddr_in6 ac_aggr;
19722 if (sizeof ac_aggr.sin6_scope_id)
19723 return 0;
19725 return 0;
19727 _ACEOF
19728 rm -f conftest.$ac_objext
19729 if { (ac_try="$ac_compile"
19730 case "(($ac_try" in
19731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19732 *) ac_try_echo=$ac_try;;
19733 esac
19734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19735 (eval "$ac_compile") 2>conftest.er1
19736 ac_status=$?
19737 grep -v '^ *+' conftest.er1 >conftest.err
19738 rm -f conftest.er1
19739 cat conftest.err >&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } && {
19742 test -z "$ac_c_werror_flag" ||
19743 test ! -s conftest.err
19744 } && test -s conftest.$ac_objext; then
19745 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19746 else
19747 echo "$as_me: failed program was:" >&5
19748 sed 's/^/| /' conftest.$ac_ext >&5
19750 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19758 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19759 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19760 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19762 cat >>confdefs.h <<_ACEOF
19763 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19764 _ACEOF
19770 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19771 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19772 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19773 echo $ECHO_N "(cached) $ECHO_C" >&6
19774 else
19775 cat >conftest.$ac_ext <<_ACEOF
19776 /* confdefs.h. */
19777 _ACEOF
19778 cat confdefs.h >>conftest.$ac_ext
19779 cat >>conftest.$ac_ext <<_ACEOF
19780 /* end confdefs.h. */
19781 #ifdef HAVE_SYS_TYPES_H
19782 #include <sys/types.h>
19783 #endif
19784 #ifdef HAVE_NETINET_IN_H
19785 # include <netinet/in.h>
19786 #endif
19787 #ifdef HAVE_ARPA_NAMESER_H
19788 # include <arpa/nameser.h>
19789 #endif
19792 main ()
19794 static ns_msg ac_aggr;
19795 if (ac_aggr._msg_ptr)
19796 return 0;
19798 return 0;
19800 _ACEOF
19801 rm -f conftest.$ac_objext
19802 if { (ac_try="$ac_compile"
19803 case "(($ac_try" in
19804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19805 *) ac_try_echo=$ac_try;;
19806 esac
19807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19808 (eval "$ac_compile") 2>conftest.er1
19809 ac_status=$?
19810 grep -v '^ *+' conftest.er1 >conftest.err
19811 rm -f conftest.er1
19812 cat conftest.err >&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); } && {
19815 test -z "$ac_c_werror_flag" ||
19816 test ! -s conftest.err
19817 } && test -s conftest.$ac_objext; then
19818 ac_cv_member_ns_msg__msg_ptr=yes
19819 else
19820 echo "$as_me: failed program was:" >&5
19821 sed 's/^/| /' conftest.$ac_ext >&5
19823 cat >conftest.$ac_ext <<_ACEOF
19824 /* confdefs.h. */
19825 _ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 #ifdef HAVE_SYS_TYPES_H
19830 #include <sys/types.h>
19831 #endif
19832 #ifdef HAVE_NETINET_IN_H
19833 # include <netinet/in.h>
19834 #endif
19835 #ifdef HAVE_ARPA_NAMESER_H
19836 # include <arpa/nameser.h>
19837 #endif
19840 main ()
19842 static ns_msg ac_aggr;
19843 if (sizeof ac_aggr._msg_ptr)
19844 return 0;
19846 return 0;
19848 _ACEOF
19849 rm -f conftest.$ac_objext
19850 if { (ac_try="$ac_compile"
19851 case "(($ac_try" in
19852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19853 *) ac_try_echo=$ac_try;;
19854 esac
19855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19856 (eval "$ac_compile") 2>conftest.er1
19857 ac_status=$?
19858 grep -v '^ *+' conftest.er1 >conftest.err
19859 rm -f conftest.er1
19860 cat conftest.err >&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); } && {
19863 test -z "$ac_c_werror_flag" ||
19864 test ! -s conftest.err
19865 } && test -s conftest.$ac_objext; then
19866 ac_cv_member_ns_msg__msg_ptr=yes
19867 else
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.$ac_ext >&5
19871 ac_cv_member_ns_msg__msg_ptr=no
19874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19879 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19880 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19881 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19883 cat >>confdefs.h <<_ACEOF
19884 #define HAVE_NS_MSG__MSG_PTR 1
19885 _ACEOF
19891 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19892 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19893 if test "${ac_cv_have_timezone+set}" = set; then
19894 echo $ECHO_N "(cached) $ECHO_C" >&6
19895 else
19896 cat >conftest.$ac_ext <<_ACEOF
19897 /* confdefs.h. */
19898 _ACEOF
19899 cat confdefs.h >>conftest.$ac_ext
19900 cat >>conftest.$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19902 #include <time.h>
19904 main ()
19906 timezone = 1
19908 return 0;
19910 _ACEOF
19911 rm -f conftest.$ac_objext conftest$ac_exeext
19912 if { (ac_try="$ac_link"
19913 case "(($ac_try" in
19914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19915 *) ac_try_echo=$ac_try;;
19916 esac
19917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19918 (eval "$ac_link") 2>conftest.er1
19919 ac_status=$?
19920 grep -v '^ *+' conftest.er1 >conftest.err
19921 rm -f conftest.er1
19922 cat conftest.err >&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); } && {
19925 test -z "$ac_c_werror_flag" ||
19926 test ! -s conftest.err
19927 } && test -s conftest$ac_exeext &&
19928 $as_test_x conftest$ac_exeext; then
19929 ac_cv_have_timezone="yes"
19930 else
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19934 ac_cv_have_timezone="no"
19937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19938 conftest$ac_exeext conftest.$ac_ext
19940 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19941 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19942 if test "$ac_cv_have_timezone" = "yes"
19943 then
19945 cat >>confdefs.h <<\_ACEOF
19946 #define HAVE_TIMEZONE 1
19947 _ACEOF
19950 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19951 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19952 if test "${ac_cv_have_daylight+set}" = set; then
19953 echo $ECHO_N "(cached) $ECHO_C" >&6
19954 else
19955 cat >conftest.$ac_ext <<_ACEOF
19956 /* confdefs.h. */
19957 _ACEOF
19958 cat confdefs.h >>conftest.$ac_ext
19959 cat >>conftest.$ac_ext <<_ACEOF
19960 /* end confdefs.h. */
19961 #include <time.h>
19963 main ()
19965 daylight = 1
19967 return 0;
19969 _ACEOF
19970 rm -f conftest.$ac_objext conftest$ac_exeext
19971 if { (ac_try="$ac_link"
19972 case "(($ac_try" in
19973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19974 *) ac_try_echo=$ac_try;;
19975 esac
19976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19977 (eval "$ac_link") 2>conftest.er1
19978 ac_status=$?
19979 grep -v '^ *+' conftest.er1 >conftest.err
19980 rm -f conftest.er1
19981 cat conftest.err >&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); } && {
19984 test -z "$ac_c_werror_flag" ||
19985 test ! -s conftest.err
19986 } && test -s conftest$ac_exeext &&
19987 $as_test_x conftest$ac_exeext; then
19988 ac_cv_have_daylight="yes"
19989 else
19990 echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.$ac_ext >&5
19993 ac_cv_have_daylight="no"
19996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19997 conftest$ac_exeext conftest.$ac_ext
19999 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20000 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20001 if test "$ac_cv_have_daylight" = "yes"
20002 then
20004 cat >>confdefs.h <<\_ACEOF
20005 #define HAVE_DAYLIGHT 1
20006 _ACEOF
20011 case $host_cpu in
20012 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20013 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20014 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20015 echo $ECHO_N "(cached) $ECHO_C" >&6
20016 else
20017 cat >conftest.$ac_ext <<_ACEOF
20018 /* confdefs.h. */
20019 _ACEOF
20020 cat confdefs.h >>conftest.$ac_ext
20021 cat >>conftest.$ac_ext <<_ACEOF
20022 /* end confdefs.h. */
20023 #ifndef __i386__
20025 #endif
20026 _ACEOF
20027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20028 $EGREP "yes" >/dev/null 2>&1; then
20029 ac_cv_cpp_def___i386__=yes
20030 else
20031 ac_cv_cpp_def___i386__=no
20033 rm -f conftest*
20036 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20037 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20038 if test $ac_cv_cpp_def___i386__ = yes; then
20039 CFLAGS="$CFLAGS -D__i386__"
20040 LINTFLAGS="$LINTFLAGS -D__i386__"
20043 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20044 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20045 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20046 echo $ECHO_N "(cached) $ECHO_C" >&6
20047 else
20048 cat >conftest.$ac_ext <<_ACEOF
20049 /* confdefs.h. */
20050 _ACEOF
20051 cat confdefs.h >>conftest.$ac_ext
20052 cat >>conftest.$ac_ext <<_ACEOF
20053 /* end confdefs.h. */
20054 #ifndef __x86_64__
20056 #endif
20057 _ACEOF
20058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20059 $EGREP "yes" >/dev/null 2>&1; then
20060 ac_cv_cpp_def___x86_64__=yes
20061 else
20062 ac_cv_cpp_def___x86_64__=no
20064 rm -f conftest*
20067 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20068 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20069 if test $ac_cv_cpp_def___x86_64__ = yes; then
20070 CFLAGS="$CFLAGS -D__x86_64__"
20071 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20074 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20075 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20076 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20077 echo $ECHO_N "(cached) $ECHO_C" >&6
20078 else
20079 cat >conftest.$ac_ext <<_ACEOF
20080 /* confdefs.h. */
20081 _ACEOF
20082 cat confdefs.h >>conftest.$ac_ext
20083 cat >>conftest.$ac_ext <<_ACEOF
20084 /* end confdefs.h. */
20085 #ifndef __ALPHA__
20087 #endif
20088 _ACEOF
20089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20090 $EGREP "yes" >/dev/null 2>&1; then
20091 ac_cv_cpp_def___ALPHA__=yes
20092 else
20093 ac_cv_cpp_def___ALPHA__=no
20095 rm -f conftest*
20098 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20099 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20100 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20101 CFLAGS="$CFLAGS -D__ALPHA__"
20102 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20105 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20106 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20107 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20108 echo $ECHO_N "(cached) $ECHO_C" >&6
20109 else
20110 cat >conftest.$ac_ext <<_ACEOF
20111 /* confdefs.h. */
20112 _ACEOF
20113 cat confdefs.h >>conftest.$ac_ext
20114 cat >>conftest.$ac_ext <<_ACEOF
20115 /* end confdefs.h. */
20116 #ifndef __sparc__
20118 #endif
20119 _ACEOF
20120 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20121 $EGREP "yes" >/dev/null 2>&1; then
20122 ac_cv_cpp_def___sparc__=yes
20123 else
20124 ac_cv_cpp_def___sparc__=no
20126 rm -f conftest*
20129 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20130 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20131 if test $ac_cv_cpp_def___sparc__ = yes; then
20132 CFLAGS="$CFLAGS -D__sparc__"
20133 LINTFLAGS="$LINTFLAGS -D__sparc__"
20136 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20137 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20138 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20139 echo $ECHO_N "(cached) $ECHO_C" >&6
20140 else
20141 cat >conftest.$ac_ext <<_ACEOF
20142 /* confdefs.h. */
20143 _ACEOF
20144 cat confdefs.h >>conftest.$ac_ext
20145 cat >>conftest.$ac_ext <<_ACEOF
20146 /* end confdefs.h. */
20147 #ifndef __powerpc__
20149 #endif
20150 _ACEOF
20151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20152 $EGREP "yes" >/dev/null 2>&1; then
20153 ac_cv_cpp_def___powerpc__=yes
20154 else
20155 ac_cv_cpp_def___powerpc__=no
20157 rm -f conftest*
20160 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20161 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20162 if test $ac_cv_cpp_def___powerpc__ = yes; then
20163 CFLAGS="$CFLAGS -D__powerpc__"
20164 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20167 esac
20169 case $host_vendor in
20170 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20171 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20172 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20173 echo $ECHO_N "(cached) $ECHO_C" >&6
20174 else
20175 cat >conftest.$ac_ext <<_ACEOF
20176 /* confdefs.h. */
20177 _ACEOF
20178 cat confdefs.h >>conftest.$ac_ext
20179 cat >>conftest.$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20181 #ifndef __sun__
20183 #endif
20184 _ACEOF
20185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20186 $EGREP "yes" >/dev/null 2>&1; then
20187 ac_cv_cpp_def___sun__=yes
20188 else
20189 ac_cv_cpp_def___sun__=no
20191 rm -f conftest*
20194 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20195 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20196 if test $ac_cv_cpp_def___sun__ = yes; then
20197 CFLAGS="$CFLAGS -D__sun__"
20198 LINTFLAGS="$LINTFLAGS -D__sun__"
20201 esac
20204 DEPENDENCIES="### Dependencies:
20206 .INIT: Makefile
20207 .BEGIN: Makefile
20208 Makefile: dummy
20209 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20211 \$(OBJS): \$(IDL_GEN_HEADERS)
20212 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20213 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20214 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20220 ac_config_commands="$ac_config_commands include/stamp-h"
20223 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20225 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20227 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20229 ac_config_commands="$ac_config_commands dlls/user32/resources"
20231 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20233 ac_config_commands="$ac_config_commands include/wine"
20236 MAKE_RULES=Make.rules
20239 MAKE_DLL_RULES=dlls/Makedll.rules
20242 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20245 MAKE_TEST_RULES=dlls/Maketest.rules
20248 MAKE_PROG_RULES=programs/Makeprog.rules
20251 ac_config_files="$ac_config_files Make.rules"
20253 ac_config_files="$ac_config_files dlls/Makedll.rules"
20255 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20257 ac_config_files="$ac_config_files dlls/Maketest.rules"
20259 ac_config_files="$ac_config_files programs/Makeprog.rules"
20261 ac_config_files="$ac_config_files Makefile"
20263 ac_config_files="$ac_config_files dlls/Makefile"
20265 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20267 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20269 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20271 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20273 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20275 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20277 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20279 ac_config_files="$ac_config_files dlls/atl/Makefile"
20281 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20283 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20285 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20287 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20289 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20291 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20293 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20295 ac_config_files="$ac_config_files dlls/cards/Makefile"
20297 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20299 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20301 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20303 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20305 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20307 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20309 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20311 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20313 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20315 ac_config_files="$ac_config_files dlls/credui/Makefile"
20317 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20319 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20321 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20323 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20325 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20327 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20329 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20331 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20333 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20335 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20337 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20339 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20341 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20343 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20345 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20347 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20349 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20351 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20353 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20355 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20357 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20359 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20361 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20363 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20365 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20367 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20369 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20371 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20373 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20375 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20377 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20379 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20381 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20383 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20385 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20387 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20389 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20391 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20393 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20395 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20397 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20399 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20401 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20403 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20405 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20407 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20409 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20411 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20413 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20415 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20417 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20419 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20421 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20423 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20425 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20427 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20429 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20431 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20433 ac_config_files="$ac_config_files dlls/hal/Makefile"
20435 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20437 ac_config_files="$ac_config_files dlls/hid/Makefile"
20439 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20441 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20443 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20445 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20447 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20449 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20451 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20453 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20455 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20457 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20459 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20461 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20463 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20465 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20467 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20469 ac_config_files="$ac_config_files dlls/itss/Makefile"
20471 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20473 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20475 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20477 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20479 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20481 ac_config_files="$ac_config_files dlls/localui/Makefile"
20483 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20485 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20487 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20489 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20491 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20493 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20495 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20497 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20499 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20501 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20503 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20505 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20507 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20509 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20511 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20513 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20515 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20517 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20519 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20521 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20523 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20525 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20527 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20529 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20531 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20533 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20535 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20537 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20539 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20541 ac_config_files="$ac_config_files dlls/msi/Makefile"
20543 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20545 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20547 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20549 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20551 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20553 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20555 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20557 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20559 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20561 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20563 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20565 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20567 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20569 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20571 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20573 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20575 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20577 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20579 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20581 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20583 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20585 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20587 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20589 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20591 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20593 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20595 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20597 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20599 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20601 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20603 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20605 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20607 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20609 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20611 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20613 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20615 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20617 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20619 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20621 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20623 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20625 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20627 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20629 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20631 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20633 ac_config_files="$ac_config_files dlls/printui/Makefile"
20635 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20637 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20639 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20641 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20643 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20645 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20647 ac_config_files="$ac_config_files dlls/query/Makefile"
20649 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20651 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20653 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20655 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20657 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20659 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20661 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20663 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20665 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20667 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20669 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20671 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20673 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20675 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20677 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20679 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20681 ac_config_files="$ac_config_files dlls/security/Makefile"
20683 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20685 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20687 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20689 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20691 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20693 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20695 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20697 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20699 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20701 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20703 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20705 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20707 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20709 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20711 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20713 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20715 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20717 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20719 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20721 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20723 ac_config_files="$ac_config_files dlls/sti/Makefile"
20725 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20727 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20729 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20731 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20733 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20735 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20737 ac_config_files="$ac_config_files dlls/url/Makefile"
20739 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20741 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20743 ac_config_files="$ac_config_files dlls/user32/Makefile"
20745 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20747 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20749 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20751 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20753 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20755 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20757 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20759 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20761 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20763 ac_config_files="$ac_config_files dlls/version/Makefile"
20765 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20767 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20769 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20771 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20773 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20775 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20777 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20779 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20781 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20783 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20785 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20787 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20789 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20791 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20793 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20795 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20797 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20799 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20801 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20803 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20805 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20807 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20809 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20811 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
20813 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20815 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20817 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20819 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20821 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20823 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20825 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20827 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20829 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20831 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20833 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20835 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20837 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20839 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20841 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20843 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20845 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20847 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20849 ac_config_files="$ac_config_files documentation/Makefile"
20851 ac_config_files="$ac_config_files fonts/Makefile"
20853 ac_config_files="$ac_config_files include/Makefile"
20855 ac_config_files="$ac_config_files libs/Makefile"
20857 ac_config_files="$ac_config_files libs/port/Makefile"
20859 ac_config_files="$ac_config_files libs/wine/Makefile"
20861 ac_config_files="$ac_config_files libs/wpp/Makefile"
20863 ac_config_files="$ac_config_files loader/Makefile"
20865 ac_config_files="$ac_config_files programs/Makefile"
20867 ac_config_files="$ac_config_files programs/clock/Makefile"
20869 ac_config_files="$ac_config_files programs/cmd/Makefile"
20871 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20873 ac_config_files="$ac_config_files programs/control/Makefile"
20875 ac_config_files="$ac_config_files programs/eject/Makefile"
20877 ac_config_files="$ac_config_files programs/expand/Makefile"
20879 ac_config_files="$ac_config_files programs/explorer/Makefile"
20881 ac_config_files="$ac_config_files programs/hh/Makefile"
20883 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20885 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20887 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20889 ac_config_files="$ac_config_files programs/net/Makefile"
20891 ac_config_files="$ac_config_files programs/notepad/Makefile"
20893 ac_config_files="$ac_config_files programs/oleview/Makefile"
20895 ac_config_files="$ac_config_files programs/progman/Makefile"
20897 ac_config_files="$ac_config_files programs/regedit/Makefile"
20899 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20901 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20903 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20905 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20907 ac_config_files="$ac_config_files programs/start/Makefile"
20909 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20911 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20913 ac_config_files="$ac_config_files programs/view/Makefile"
20915 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20917 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20919 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20921 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20923 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20925 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20927 ac_config_files="$ac_config_files programs/winefile/Makefile"
20929 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20931 ac_config_files="$ac_config_files programs/winemine/Makefile"
20933 ac_config_files="$ac_config_files programs/winepath/Makefile"
20935 ac_config_files="$ac_config_files programs/winetest/Makefile"
20937 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20939 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20941 ac_config_files="$ac_config_files programs/winver/Makefile"
20943 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20945 ac_config_files="$ac_config_files programs/write/Makefile"
20947 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20949 ac_config_files="$ac_config_files server/Makefile"
20951 ac_config_files="$ac_config_files tools/Makefile"
20953 ac_config_files="$ac_config_files tools/widl/Makefile"
20955 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20957 ac_config_files="$ac_config_files tools/winedump/Makefile"
20959 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20961 ac_config_files="$ac_config_files tools/wmc/Makefile"
20963 ac_config_files="$ac_config_files tools/wrc/Makefile"
20966 cat >confcache <<\_ACEOF
20967 # This file is a shell script that caches the results of configure
20968 # tests run on this system so they can be shared between configure
20969 # scripts and configure runs, see configure's option --config-cache.
20970 # It is not useful on other systems. If it contains results you don't
20971 # want to keep, you may remove or edit it.
20973 # config.status only pays attention to the cache file if you give it
20974 # the --recheck option to rerun configure.
20976 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20977 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20978 # following values.
20980 _ACEOF
20982 # The following way of writing the cache mishandles newlines in values,
20983 # but we know of no workaround that is simple, portable, and efficient.
20984 # So, we kill variables containing newlines.
20985 # Ultrix sh set writes to stderr and can't be redirected directly,
20986 # and sets the high bit in the cache file unless we assign to the vars.
20988 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20989 eval ac_val=\$$ac_var
20990 case $ac_val in #(
20991 *${as_nl}*)
20992 case $ac_var in #(
20993 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20994 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20995 esac
20996 case $ac_var in #(
20997 _ | IFS | as_nl) ;; #(
20998 *) $as_unset $ac_var ;;
20999 esac ;;
21000 esac
21001 done
21003 (set) 2>&1 |
21004 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21005 *${as_nl}ac_space=\ *)
21006 # `set' does not quote correctly, so add quotes (double-quote
21007 # substitution turns \\\\ into \\, and sed turns \\ into \).
21008 sed -n \
21009 "s/'/'\\\\''/g;
21010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21011 ;; #(
21013 # `set' quotes correctly as required by POSIX, so do not add quotes.
21014 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21016 esac |
21017 sort
21019 sed '
21020 /^ac_cv_env_/b end
21021 t clear
21022 :clear
21023 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21024 t end
21025 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21026 :end' >>confcache
21027 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21028 if test -w "$cache_file"; then
21029 test "x$cache_file" != "x/dev/null" &&
21030 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21031 echo "$as_me: updating cache $cache_file" >&6;}
21032 cat confcache >$cache_file
21033 else
21034 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21035 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21038 rm -f confcache
21040 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21041 # Let make expand exec_prefix.
21042 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21044 DEFS=-DHAVE_CONFIG_H
21046 ac_libobjs=
21047 ac_ltlibobjs=
21048 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21049 # 1. Remove the extension, and $U if already installed.
21050 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21051 ac_i=`echo "$ac_i" | sed "$ac_script"`
21052 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21053 # will be set to the directory where LIBOBJS objects are built.
21054 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21055 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21056 done
21057 LIBOBJS=$ac_libobjs
21059 LTLIBOBJS=$ac_ltlibobjs
21063 : ${CONFIG_STATUS=./config.status}
21064 ac_clean_files_save=$ac_clean_files
21065 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21066 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21067 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21068 cat >$CONFIG_STATUS <<_ACEOF
21069 #! $SHELL
21070 # Generated by $as_me.
21071 # Run this file to recreate the current configuration.
21072 # Compiler output produced by configure, useful for debugging
21073 # configure, is in config.log if it exists.
21075 debug=false
21076 ac_cs_recheck=false
21077 ac_cs_silent=false
21078 SHELL=\${CONFIG_SHELL-$SHELL}
21079 _ACEOF
21081 cat >>$CONFIG_STATUS <<\_ACEOF
21082 ## --------------------- ##
21083 ## M4sh Initialization. ##
21084 ## --------------------- ##
21086 # Be more Bourne compatible
21087 DUALCASE=1; export DUALCASE # for MKS sh
21088 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21089 emulate sh
21090 NULLCMD=:
21091 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21092 # is contrary to our usage. Disable this feature.
21093 alias -g '${1+"$@"}'='"$@"'
21094 setopt NO_GLOB_SUBST
21095 else
21096 case `(set -o) 2>/dev/null` in
21097 *posix*) set -o posix ;;
21098 esac
21105 # PATH needs CR
21106 # Avoid depending upon Character Ranges.
21107 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21108 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21109 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21110 as_cr_digits='0123456789'
21111 as_cr_alnum=$as_cr_Letters$as_cr_digits
21113 # The user is always right.
21114 if test "${PATH_SEPARATOR+set}" != set; then
21115 echo "#! /bin/sh" >conf$$.sh
21116 echo "exit 0" >>conf$$.sh
21117 chmod +x conf$$.sh
21118 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21119 PATH_SEPARATOR=';'
21120 else
21121 PATH_SEPARATOR=:
21123 rm -f conf$$.sh
21126 # Support unset when possible.
21127 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21128 as_unset=unset
21129 else
21130 as_unset=false
21134 # IFS
21135 # We need space, tab and new line, in precisely that order. Quoting is
21136 # there to prevent editors from complaining about space-tab.
21137 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21138 # splitting by setting IFS to empty value.)
21139 as_nl='
21141 IFS=" "" $as_nl"
21143 # Find who we are. Look in the path if we contain no directory separator.
21144 case $0 in
21145 *[\\/]* ) as_myself=$0 ;;
21146 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21147 for as_dir in $PATH
21149 IFS=$as_save_IFS
21150 test -z "$as_dir" && as_dir=.
21151 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21152 done
21153 IFS=$as_save_IFS
21156 esac
21157 # We did not find ourselves, most probably we were run as `sh COMMAND'
21158 # in which case we are not to be found in the path.
21159 if test "x$as_myself" = x; then
21160 as_myself=$0
21162 if test ! -f "$as_myself"; then
21163 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21164 { (exit 1); exit 1; }
21167 # Work around bugs in pre-3.0 UWIN ksh.
21168 for as_var in ENV MAIL MAILPATH
21169 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21170 done
21171 PS1='$ '
21172 PS2='> '
21173 PS4='+ '
21175 # NLS nuisances.
21176 for as_var in \
21177 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21178 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21179 LC_TELEPHONE LC_TIME
21181 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21182 eval $as_var=C; export $as_var
21183 else
21184 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21186 done
21188 # Required to use basename.
21189 if expr a : '\(a\)' >/dev/null 2>&1 &&
21190 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21191 as_expr=expr
21192 else
21193 as_expr=false
21196 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21197 as_basename=basename
21198 else
21199 as_basename=false
21203 # Name of the executable.
21204 as_me=`$as_basename -- "$0" ||
21205 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21206 X"$0" : 'X\(//\)$' \| \
21207 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21208 echo X/"$0" |
21209 sed '/^.*\/\([^/][^/]*\)\/*$/{
21210 s//\1/
21213 /^X\/\(\/\/\)$/{
21214 s//\1/
21217 /^X\/\(\/\).*/{
21218 s//\1/
21221 s/.*/./; q'`
21223 # CDPATH.
21224 $as_unset CDPATH
21228 as_lineno_1=$LINENO
21229 as_lineno_2=$LINENO
21230 test "x$as_lineno_1" != "x$as_lineno_2" &&
21231 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21233 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21234 # uniformly replaced by the line number. The first 'sed' inserts a
21235 # line-number line after each line using $LINENO; the second 'sed'
21236 # does the real work. The second script uses 'N' to pair each
21237 # line-number line with the line containing $LINENO, and appends
21238 # trailing '-' during substitution so that $LINENO is not a special
21239 # case at line end.
21240 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21241 # scripts with optimization help from Paolo Bonzini. Blame Lee
21242 # E. McMahon (1931-1989) for sed's syntax. :-)
21243 sed -n '
21245 /[$]LINENO/=
21246 ' <$as_myself |
21247 sed '
21248 s/[$]LINENO.*/&-/
21249 t lineno
21251 :lineno
21253 :loop
21254 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21255 t loop
21256 s/-\n.*//
21257 ' >$as_me.lineno &&
21258 chmod +x "$as_me.lineno" ||
21259 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21260 { (exit 1); exit 1; }; }
21262 # Don't try to exec as it changes $[0], causing all sort of problems
21263 # (the dirname of $[0] is not the place where we might find the
21264 # original and so on. Autoconf is especially sensitive to this).
21265 . "./$as_me.lineno"
21266 # Exit status is that of the last command.
21267 exit
21271 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21272 as_dirname=dirname
21273 else
21274 as_dirname=false
21277 ECHO_C= ECHO_N= ECHO_T=
21278 case `echo -n x` in
21279 -n*)
21280 case `echo 'x\c'` in
21281 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21282 *) ECHO_C='\c';;
21283 esac;;
21285 ECHO_N='-n';;
21286 esac
21288 if expr a : '\(a\)' >/dev/null 2>&1 &&
21289 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21290 as_expr=expr
21291 else
21292 as_expr=false
21295 rm -f conf$$ conf$$.exe conf$$.file
21296 if test -d conf$$.dir; then
21297 rm -f conf$$.dir/conf$$.file
21298 else
21299 rm -f conf$$.dir
21300 mkdir conf$$.dir
21302 echo >conf$$.file
21303 if ln -s conf$$.file conf$$ 2>/dev/null; then
21304 as_ln_s='ln -s'
21305 # ... but there are two gotchas:
21306 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21307 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21308 # In both cases, we have to default to `cp -p'.
21309 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21310 as_ln_s='cp -p'
21311 elif ln conf$$.file conf$$ 2>/dev/null; then
21312 as_ln_s=ln
21313 else
21314 as_ln_s='cp -p'
21316 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21317 rmdir conf$$.dir 2>/dev/null
21319 if mkdir -p . 2>/dev/null; then
21320 as_mkdir_p=:
21321 else
21322 test -d ./-p && rmdir ./-p
21323 as_mkdir_p=false
21326 if test -x / >/dev/null 2>&1; then
21327 as_test_x='test -x'
21328 else
21329 if ls -dL / >/dev/null 2>&1; then
21330 as_ls_L_option=L
21331 else
21332 as_ls_L_option=
21334 as_test_x='
21335 eval sh -c '\''
21336 if test -d "$1"; then
21337 test -d "$1/.";
21338 else
21339 case $1 in
21340 -*)set "./$1";;
21341 esac;
21342 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21343 ???[sx]*):;;*)false;;esac;fi
21344 '\'' sh
21347 as_executable_p=$as_test_x
21349 # Sed expression to map a string onto a valid CPP name.
21350 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21352 # Sed expression to map a string onto a valid variable name.
21353 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21356 exec 6>&1
21358 # Save the log message, to keep $[0] and so on meaningful, and to
21359 # report actual input values of CONFIG_FILES etc. instead of their
21360 # values after options handling.
21361 ac_log="
21362 This file was extended by Wine $as_me 0.9.44, which was
21363 generated by GNU Autoconf 2.61. Invocation command line was
21365 CONFIG_FILES = $CONFIG_FILES
21366 CONFIG_HEADERS = $CONFIG_HEADERS
21367 CONFIG_LINKS = $CONFIG_LINKS
21368 CONFIG_COMMANDS = $CONFIG_COMMANDS
21369 $ $0 $@
21371 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21374 _ACEOF
21376 cat >>$CONFIG_STATUS <<_ACEOF
21377 # Files that config.status was made for.
21378 config_files="$ac_config_files"
21379 config_headers="$ac_config_headers"
21380 config_commands="$ac_config_commands"
21382 _ACEOF
21384 cat >>$CONFIG_STATUS <<\_ACEOF
21385 ac_cs_usage="\
21386 \`$as_me' instantiates files from templates according to the
21387 current configuration.
21389 Usage: $0 [OPTIONS] [FILE]...
21391 -h, --help print this help, then exit
21392 -V, --version print version number and configuration settings, then exit
21393 -q, --quiet do not print progress messages
21394 -d, --debug don't remove temporary files
21395 --recheck update $as_me by reconfiguring in the same conditions
21396 --file=FILE[:TEMPLATE]
21397 instantiate the configuration file FILE
21398 --header=FILE[:TEMPLATE]
21399 instantiate the configuration header FILE
21401 Configuration files:
21402 $config_files
21404 Configuration headers:
21405 $config_headers
21407 Configuration commands:
21408 $config_commands
21410 Report bugs to <bug-autoconf@gnu.org>."
21412 _ACEOF
21413 cat >>$CONFIG_STATUS <<_ACEOF
21414 ac_cs_version="\\
21415 Wine config.status 0.9.44
21416 configured by $0, generated by GNU Autoconf 2.61,
21417 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21419 Copyright (C) 2006 Free Software Foundation, Inc.
21420 This config.status script is free software; the Free Software Foundation
21421 gives unlimited permission to copy, distribute and modify it."
21423 ac_pwd='$ac_pwd'
21424 srcdir='$srcdir'
21425 INSTALL='$INSTALL'
21426 _ACEOF
21428 cat >>$CONFIG_STATUS <<\_ACEOF
21429 # If no file are specified by the user, then we need to provide default
21430 # value. By we need to know if files were specified by the user.
21431 ac_need_defaults=:
21432 while test $# != 0
21434 case $1 in
21435 --*=*)
21436 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21437 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21438 ac_shift=:
21441 ac_option=$1
21442 ac_optarg=$2
21443 ac_shift=shift
21445 esac
21447 case $ac_option in
21448 # Handling of the options.
21449 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21450 ac_cs_recheck=: ;;
21451 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21452 echo "$ac_cs_version"; exit ;;
21453 --debug | --debu | --deb | --de | --d | -d )
21454 debug=: ;;
21455 --file | --fil | --fi | --f )
21456 $ac_shift
21457 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21458 ac_need_defaults=false;;
21459 --header | --heade | --head | --hea )
21460 $ac_shift
21461 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21462 ac_need_defaults=false;;
21463 --he | --h)
21464 # Conflict between --help and --header
21465 { echo "$as_me: error: ambiguous option: $1
21466 Try \`$0 --help' for more information." >&2
21467 { (exit 1); exit 1; }; };;
21468 --help | --hel | -h )
21469 echo "$ac_cs_usage"; exit ;;
21470 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21471 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21472 ac_cs_silent=: ;;
21474 # This is an error.
21475 -*) { echo "$as_me: error: unrecognized option: $1
21476 Try \`$0 --help' for more information." >&2
21477 { (exit 1); exit 1; }; } ;;
21479 *) ac_config_targets="$ac_config_targets $1"
21480 ac_need_defaults=false ;;
21482 esac
21483 shift
21484 done
21486 ac_configure_extra_args=
21488 if $ac_cs_silent; then
21489 exec 6>/dev/null
21490 ac_configure_extra_args="$ac_configure_extra_args --silent"
21493 _ACEOF
21494 cat >>$CONFIG_STATUS <<_ACEOF
21495 if \$ac_cs_recheck; then
21496 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21497 CONFIG_SHELL=$SHELL
21498 export CONFIG_SHELL
21499 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21502 _ACEOF
21503 cat >>$CONFIG_STATUS <<\_ACEOF
21504 exec 5>>config.log
21506 echo
21507 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21508 ## Running $as_me. ##
21509 _ASBOX
21510 echo "$ac_log"
21511 } >&5
21513 _ACEOF
21514 cat >>$CONFIG_STATUS <<_ACEOF
21515 _ACEOF
21517 cat >>$CONFIG_STATUS <<\_ACEOF
21519 # Handling of arguments.
21520 for ac_config_target in $ac_config_targets
21522 case $ac_config_target in
21523 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21524 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21525 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21526 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21527 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21528 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21529 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21530 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21531 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21532 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21533 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21534 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21535 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21536 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21537 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21538 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21539 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21540 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21541 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21542 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21543 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21544 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21545 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21546 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21547 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21548 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21549 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21550 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21551 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21552 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21553 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21554 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21555 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21556 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21557 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21558 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21559 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21560 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21561 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21562 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21563 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21564 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21565 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21566 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21567 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21568 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21569 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21570 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21571 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21572 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21573 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21574 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21575 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21576 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21577 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21578 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21579 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21580 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21581 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21582 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21583 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21584 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21585 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21586 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21587 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21588 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21589 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21590 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21591 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21592 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21593 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21594 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21595 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21596 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21597 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21598 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21599 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21600 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21601 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21602 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21603 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21604 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21605 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21606 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21607 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21608 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21609 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21610 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21611 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21612 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21613 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21614 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21615 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21616 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21617 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21618 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21619 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21620 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21621 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21622 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21623 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21624 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21625 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21626 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21627 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21628 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21629 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21630 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21631 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21632 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21633 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21634 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21635 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21636 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21637 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21638 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21639 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21640 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21641 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21642 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21643 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21644 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21645 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21646 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21647 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21648 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21649 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21650 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21651 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21652 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21653 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21654 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21655 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21656 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21657 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21658 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21659 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21660 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21661 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21662 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21663 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21664 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21665 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21666 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21667 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21668 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21669 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21670 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21671 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21672 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21673 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21674 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21675 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21676 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21677 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21678 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21679 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21680 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21681 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21682 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21683 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21684 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21685 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21686 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21687 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21688 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21689 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21690 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21691 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21692 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21693 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21694 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21695 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21696 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21697 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21698 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21699 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21700 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21701 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21702 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21703 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21704 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21705 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21706 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21707 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21708 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21709 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21710 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21711 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21712 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21713 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21714 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21715 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21716 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
21717 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21718 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21719 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21720 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21721 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21722 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21723 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21724 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21725 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21726 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21727 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21728 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21729 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21730 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21731 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21732 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21733 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21734 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21735 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21736 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21737 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21738 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21739 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21740 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21741 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21742 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21743 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21744 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21745 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21746 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21747 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21748 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21749 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21750 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21751 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21752 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21753 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21754 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21755 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21756 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21757 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21758 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21759 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21760 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21761 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21762 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21763 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21764 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21765 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21766 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21767 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21768 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21769 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21770 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21771 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21772 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21773 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21774 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21775 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21776 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21777 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21778 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21779 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21780 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21781 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21782 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21783 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21784 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21785 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21786 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21787 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21788 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21789 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21790 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21791 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21792 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21793 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21794 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21795 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21796 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21797 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21798 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21799 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21800 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21801 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21802 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21803 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21804 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21805 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21806 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21807 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21808 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21809 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21810 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21811 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21812 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21813 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21814 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21815 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21816 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21817 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21818 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21819 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21820 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21821 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21822 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21823 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21824 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21825 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21826 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21827 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21828 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21829 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21830 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21831 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21832 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21833 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21834 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21835 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21836 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21837 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21838 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21839 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21840 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21841 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21842 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21843 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21844 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21845 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21846 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21847 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21848 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21849 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21850 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21851 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21852 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21853 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21854 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21855 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21856 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21857 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21858 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21859 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21860 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21861 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21862 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21863 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21864 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21865 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21866 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21867 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21868 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21869 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21870 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21871 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21872 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21873 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21874 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21875 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21876 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21877 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21878 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
21879 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21880 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21881 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21882 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21883 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21884 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21885 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21886 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21887 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21889 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21890 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21891 { (exit 1); exit 1; }; };;
21892 esac
21893 done
21896 # If the user did not use the arguments to specify the items to instantiate,
21897 # then the envvar interface is used. Set only those that are not.
21898 # We use the long form for the default assignment because of an extremely
21899 # bizarre bug on SunOS 4.1.3.
21900 if $ac_need_defaults; then
21901 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21902 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21903 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21906 # Have a temporary directory for convenience. Make it in the build tree
21907 # simply because there is no reason against having it here, and in addition,
21908 # creating and moving files from /tmp can sometimes cause problems.
21909 # Hook for its removal unless debugging.
21910 # Note that there is a small window in which the directory will not be cleaned:
21911 # after its creation but before its name has been assigned to `$tmp'.
21912 $debug ||
21914 tmp=
21915 trap 'exit_status=$?
21916 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21918 trap '{ (exit 1); exit 1; }' 1 2 13 15
21920 # Create a (secure) tmp directory for tmp files.
21923 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21924 test -n "$tmp" && test -d "$tmp"
21925 } ||
21927 tmp=./conf$$-$RANDOM
21928 (umask 077 && mkdir "$tmp")
21929 } ||
21931 echo "$me: cannot create a temporary directory in ." >&2
21932 { (exit 1); exit 1; }
21936 # Set up the sed scripts for CONFIG_FILES section.
21939 # No need to generate the scripts if there are no CONFIG_FILES.
21940 # This happens for instance when ./config.status config.h
21941 if test -n "$CONFIG_FILES"; then
21943 _ACEOF
21945 # Create sed commands to just substitute file output variables.
21947 # Remaining file output variables are in a fragment that also has non-file
21948 # output varibles.
21952 ac_delim='%!_!# '
21953 for ac_last_try in false false false false false :; do
21954 cat >conf$$subs.sed <<_ACEOF
21955 SHELL!$SHELL$ac_delim
21956 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21957 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21958 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21959 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21960 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21961 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21962 exec_prefix!$exec_prefix$ac_delim
21963 prefix!$prefix$ac_delim
21964 program_transform_name!$program_transform_name$ac_delim
21965 bindir!$bindir$ac_delim
21966 sbindir!$sbindir$ac_delim
21967 libexecdir!$libexecdir$ac_delim
21968 datarootdir!$datarootdir$ac_delim
21969 datadir!$datadir$ac_delim
21970 sysconfdir!$sysconfdir$ac_delim
21971 sharedstatedir!$sharedstatedir$ac_delim
21972 localstatedir!$localstatedir$ac_delim
21973 includedir!$includedir$ac_delim
21974 oldincludedir!$oldincludedir$ac_delim
21975 docdir!$docdir$ac_delim
21976 infodir!$infodir$ac_delim
21977 htmldir!$htmldir$ac_delim
21978 dvidir!$dvidir$ac_delim
21979 pdfdir!$pdfdir$ac_delim
21980 psdir!$psdir$ac_delim
21981 libdir!$libdir$ac_delim
21982 localedir!$localedir$ac_delim
21983 mandir!$mandir$ac_delim
21984 DEFS!$DEFS$ac_delim
21985 ECHO_C!$ECHO_C$ac_delim
21986 ECHO_N!$ECHO_N$ac_delim
21987 ECHO_T!$ECHO_T$ac_delim
21988 LIBS!$LIBS$ac_delim
21989 build_alias!$build_alias$ac_delim
21990 host_alias!$host_alias$ac_delim
21991 target_alias!$target_alias$ac_delim
21992 build!$build$ac_delim
21993 build_cpu!$build_cpu$ac_delim
21994 build_vendor!$build_vendor$ac_delim
21995 build_os!$build_os$ac_delim
21996 host!$host$ac_delim
21997 host_cpu!$host_cpu$ac_delim
21998 host_vendor!$host_vendor$ac_delim
21999 host_os!$host_os$ac_delim
22000 WIN16_FILES!$WIN16_FILES$ac_delim
22001 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22002 SET_MAKE!$SET_MAKE$ac_delim
22003 CC!$CC$ac_delim
22004 CFLAGS!$CFLAGS$ac_delim
22005 LDFLAGS!$LDFLAGS$ac_delim
22006 CPPFLAGS!$CPPFLAGS$ac_delim
22007 ac_ct_CC!$ac_ct_CC$ac_delim
22008 EXEEXT!$EXEEXT$ac_delim
22009 OBJEXT!$OBJEXT$ac_delim
22010 CXX!$CXX$ac_delim
22011 CXXFLAGS!$CXXFLAGS$ac_delim
22012 ac_ct_CXX!$ac_ct_CXX$ac_delim
22013 CPPBIN!$CPPBIN$ac_delim
22014 TOOLSDIR!$TOOLSDIR$ac_delim
22015 XMKMF!$XMKMF$ac_delim
22016 CPP!$CPP$ac_delim
22017 X_CFLAGS!$X_CFLAGS$ac_delim
22018 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22019 X_LIBS!$X_LIBS$ac_delim
22020 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22021 FLEX!$FLEX$ac_delim
22022 BISON!$BISON$ac_delim
22023 AS!$AS$ac_delim
22024 ac_ct_AS!$ac_ct_AS$ac_delim
22025 LD!$LD$ac_delim
22026 AR!$AR$ac_delim
22027 RANLIB!$RANLIB$ac_delim
22028 STRIP!$STRIP$ac_delim
22029 WINDRES!$WINDRES$ac_delim
22030 LN_S!$LN_S$ac_delim
22031 LN!$LN$ac_delim
22032 GREP!$GREP$ac_delim
22033 EGREP!$EGREP$ac_delim
22034 LDCONFIG!$LDCONFIG$ac_delim
22035 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22036 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22037 _ACEOF
22039 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22040 break
22041 elif $ac_last_try; then
22042 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22043 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22044 { (exit 1); exit 1; }; }
22045 else
22046 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22048 done
22050 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22051 if test -n "$ac_eof"; then
22052 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22053 ac_eof=`expr $ac_eof + 1`
22056 cat >>$CONFIG_STATUS <<_ACEOF
22057 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22058 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22059 /^[ ]*@MAKE_RULES@[ ]*$/{
22060 r $MAKE_RULES
22063 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22064 r $MAKE_DLL_RULES
22067 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22068 r $MAKE_IMPLIB_RULES
22071 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22072 r $MAKE_TEST_RULES
22075 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22076 r $MAKE_PROG_RULES
22079 _ACEOF
22080 sed '
22081 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22082 s/^/s,@/; s/!/@,|#_!!_#|/
22085 s/'"$ac_delim"'$/,g/; t
22086 s/$/\\/; p
22087 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22088 ' >>$CONFIG_STATUS <conf$$subs.sed
22089 rm -f conf$$subs.sed
22090 cat >>$CONFIG_STATUS <<_ACEOF
22091 CEOF$ac_eof
22092 _ACEOF
22095 ac_delim='%!_!# '
22096 for ac_last_try in false false false false false :; do
22097 cat >conf$$subs.sed <<_ACEOF
22098 INSTALL_DATA!$INSTALL_DATA$ac_delim
22099 LINT!$LINT$ac_delim
22100 LINTFLAGS!$LINTFLAGS$ac_delim
22101 FONTFORGE!$FONTFORGE$ac_delim
22102 PKG_CONFIG!$PKG_CONFIG$ac_delim
22103 PRELINK!$PRELINK$ac_delim
22104 LIBPTHREAD!$LIBPTHREAD$ac_delim
22105 XLIB!$XLIB$ac_delim
22106 XFILES!$XFILES$ac_delim
22107 OPENGLFILES!$OPENGLFILES$ac_delim
22108 GLU32FILES!$GLU32FILES$ac_delim
22109 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22110 QUARTZFILES!$QUARTZFILES$ac_delim
22111 DLLEXT!$DLLEXT$ac_delim
22112 DLLFLAGS!$DLLFLAGS$ac_delim
22113 LDSHARED!$LDSHARED$ac_delim
22114 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22115 LIBEXT!$LIBEXT$ac_delim
22116 IMPLIBEXT!$IMPLIBEXT$ac_delim
22117 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22118 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22119 LDD!$LDD$ac_delim
22120 DLLTOOL!$DLLTOOL$ac_delim
22121 DLLWRAP!$DLLWRAP$ac_delim
22122 MINGWAR!$MINGWAR$ac_delim
22123 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22124 IOKITLIB!$IOKITLIB$ac_delim
22125 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22126 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22127 COREAUDIO!$COREAUDIO$ac_delim
22128 CARBONLIB!$CARBONLIB$ac_delim
22129 CROSSTEST!$CROSSTEST$ac_delim
22130 CROSSCC!$CROSSCC$ac_delim
22131 CROSSWINDRES!$CROSSWINDRES$ac_delim
22132 NASLIBS!$NASLIBS$ac_delim
22133 XML2LIBS!$XML2LIBS$ac_delim
22134 XML2INCL!$XML2INCL$ac_delim
22135 XSLTLIBS!$XSLTLIBS$ac_delim
22136 XSLTINCL!$XSLTINCL$ac_delim
22137 HALINCL!$HALINCL$ac_delim
22138 sane_devel!$sane_devel$ac_delim
22139 SANEINCL!$SANEINCL$ac_delim
22140 gphoto2_devel!$gphoto2_devel$ac_delim
22141 gphoto2port_devel!$gphoto2port_devel$ac_delim
22142 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22143 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22144 ICULIBS!$ICULIBS$ac_delim
22145 RESOLVLIBS!$RESOLVLIBS$ac_delim
22146 LCMSLIBS!$LCMSLIBS$ac_delim
22147 LDAPLIBS!$LDAPLIBS$ac_delim
22148 ft_devel!$ft_devel$ac_delim
22149 FREETYPELIBS!$FREETYPELIBS$ac_delim
22150 FREETYPEINCL!$FREETYPEINCL$ac_delim
22151 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22152 ESDCONFIG!$ESDCONFIG$ac_delim
22153 ESDLIBS!$ESDLIBS$ac_delim
22154 ESDINCL!$ESDINCL$ac_delim
22155 ALSALIBS!$ALSALIBS$ac_delim
22156 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22157 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22158 BUILTINFLAG!$BUILTINFLAG$ac_delim
22159 LDPATH!$LDPATH$ac_delim
22160 CRTLIBS!$CRTLIBS$ac_delim
22161 SOCKETLIBS!$SOCKETLIBS$ac_delim
22162 MAIN_BINARY!$MAIN_BINARY$ac_delim
22163 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22164 LIBDL!$LIBDL$ac_delim
22165 LIBPOLL!$LIBPOLL$ac_delim
22166 DEPENDENCIES!$DEPENDENCIES$ac_delim
22167 LIBOBJS!$LIBOBJS$ac_delim
22168 LTLIBOBJS!$LTLIBOBJS$ac_delim
22169 _ACEOF
22171 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
22172 break
22173 elif $ac_last_try; then
22174 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22175 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22176 { (exit 1); exit 1; }; }
22177 else
22178 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22180 done
22182 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22183 if test -n "$ac_eof"; then
22184 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22185 ac_eof=`expr $ac_eof + 1`
22188 cat >>$CONFIG_STATUS <<_ACEOF
22189 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22190 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22191 _ACEOF
22192 sed '
22193 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22194 s/^/s,@/; s/!/@,|#_!!_#|/
22197 s/'"$ac_delim"'$/,g/; t
22198 s/$/\\/; p
22199 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22200 ' >>$CONFIG_STATUS <conf$$subs.sed
22201 rm -f conf$$subs.sed
22202 cat >>$CONFIG_STATUS <<_ACEOF
22203 :end
22204 s/|#_!!_#|//g
22205 CEOF$ac_eof
22206 _ACEOF
22209 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22210 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22211 # trailing colons and then remove the whole line if VPATH becomes empty
22212 # (actually we leave an empty line to preserve line numbers).
22213 if test "x$srcdir" = x.; then
22214 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22215 s/:*\$(srcdir):*/:/
22216 s/:*\${srcdir}:*/:/
22217 s/:*@srcdir@:*/:/
22218 s/^\([^=]*=[ ]*\):*/\1/
22219 s/:*$//
22220 s/^[^=]*=[ ]*$//
22224 cat >>$CONFIG_STATUS <<\_ACEOF
22225 fi # test -n "$CONFIG_FILES"
22228 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22230 case $ac_tag in
22231 :[FHLC]) ac_mode=$ac_tag; continue;;
22232 esac
22233 case $ac_mode$ac_tag in
22234 :[FHL]*:*);;
22235 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22236 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22237 { (exit 1); exit 1; }; };;
22238 :[FH]-) ac_tag=-:-;;
22239 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22240 esac
22241 ac_save_IFS=$IFS
22242 IFS=:
22243 set x $ac_tag
22244 IFS=$ac_save_IFS
22245 shift
22246 ac_file=$1
22247 shift
22249 case $ac_mode in
22250 :L) ac_source=$1;;
22251 :[FH])
22252 ac_file_inputs=
22253 for ac_f
22255 case $ac_f in
22256 -) ac_f="$tmp/stdin";;
22257 *) # Look for the file first in the build tree, then in the source tree
22258 # (if the path is not absolute). The absolute path cannot be DOS-style,
22259 # because $ac_f cannot contain `:'.
22260 test -f "$ac_f" ||
22261 case $ac_f in
22262 [\\/$]*) false;;
22263 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22264 esac ||
22265 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22266 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22267 { (exit 1); exit 1; }; };;
22268 esac
22269 ac_file_inputs="$ac_file_inputs $ac_f"
22270 done
22272 # Let's still pretend it is `configure' which instantiates (i.e., don't
22273 # use $as_me), people would be surprised to read:
22274 # /* config.h. Generated by config.status. */
22275 configure_input="Generated from "`IFS=:
22276 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22277 if test x"$ac_file" != x-; then
22278 configure_input="$ac_file. $configure_input"
22279 { echo "$as_me:$LINENO: creating $ac_file" >&5
22280 echo "$as_me: creating $ac_file" >&6;}
22283 case $ac_tag in
22284 *:-:* | *:-) cat >"$tmp/stdin";;
22285 esac
22287 esac
22289 ac_dir=`$as_dirname -- "$ac_file" ||
22290 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22291 X"$ac_file" : 'X\(//\)[^/]' \| \
22292 X"$ac_file" : 'X\(//\)$' \| \
22293 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22294 echo X"$ac_file" |
22295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22296 s//\1/
22299 /^X\(\/\/\)[^/].*/{
22300 s//\1/
22303 /^X\(\/\/\)$/{
22304 s//\1/
22307 /^X\(\/\).*/{
22308 s//\1/
22311 s/.*/./; q'`
22312 { as_dir="$ac_dir"
22313 case $as_dir in #(
22314 -*) as_dir=./$as_dir;;
22315 esac
22316 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22317 as_dirs=
22318 while :; do
22319 case $as_dir in #(
22320 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22321 *) as_qdir=$as_dir;;
22322 esac
22323 as_dirs="'$as_qdir' $as_dirs"
22324 as_dir=`$as_dirname -- "$as_dir" ||
22325 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22326 X"$as_dir" : 'X\(//\)[^/]' \| \
22327 X"$as_dir" : 'X\(//\)$' \| \
22328 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22329 echo X"$as_dir" |
22330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22331 s//\1/
22334 /^X\(\/\/\)[^/].*/{
22335 s//\1/
22338 /^X\(\/\/\)$/{
22339 s//\1/
22342 /^X\(\/\).*/{
22343 s//\1/
22346 s/.*/./; q'`
22347 test -d "$as_dir" && break
22348 done
22349 test -z "$as_dirs" || eval "mkdir $as_dirs"
22350 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22351 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22352 { (exit 1); exit 1; }; }; }
22353 ac_builddir=.
22355 case "$ac_dir" in
22356 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22358 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22359 # A ".." for each directory in $ac_dir_suffix.
22360 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22361 case $ac_top_builddir_sub in
22362 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22363 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22364 esac ;;
22365 esac
22366 ac_abs_top_builddir=$ac_pwd
22367 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22368 # for backward compatibility:
22369 ac_top_builddir=$ac_top_build_prefix
22371 case $srcdir in
22372 .) # We are building in place.
22373 ac_srcdir=.
22374 ac_top_srcdir=$ac_top_builddir_sub
22375 ac_abs_top_srcdir=$ac_pwd ;;
22376 [\\/]* | ?:[\\/]* ) # Absolute name.
22377 ac_srcdir=$srcdir$ac_dir_suffix;
22378 ac_top_srcdir=$srcdir
22379 ac_abs_top_srcdir=$srcdir ;;
22380 *) # Relative name.
22381 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22382 ac_top_srcdir=$ac_top_build_prefix$srcdir
22383 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22384 esac
22385 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22388 case $ac_mode in
22391 # CONFIG_FILE
22394 case $INSTALL in
22395 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22396 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22397 esac
22398 _ACEOF
22400 cat >>$CONFIG_STATUS <<\_ACEOF
22401 # If the template does not know about datarootdir, expand it.
22402 # FIXME: This hack should be removed a few years after 2.60.
22403 ac_datarootdir_hack=; ac_datarootdir_seen=
22405 case `sed -n '/datarootdir/ {
22409 /@datadir@/p
22410 /@docdir@/p
22411 /@infodir@/p
22412 /@localedir@/p
22413 /@mandir@/p
22414 ' $ac_file_inputs` in
22415 *datarootdir*) ac_datarootdir_seen=yes;;
22416 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22417 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22418 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22419 _ACEOF
22420 cat >>$CONFIG_STATUS <<_ACEOF
22421 ac_datarootdir_hack='
22422 s&@datadir@&$datadir&g
22423 s&@docdir@&$docdir&g
22424 s&@infodir@&$infodir&g
22425 s&@localedir@&$localedir&g
22426 s&@mandir@&$mandir&g
22427 s&\\\${datarootdir}&$datarootdir&g' ;;
22428 esac
22429 _ACEOF
22431 # Neutralize VPATH when `$srcdir' = `.'.
22432 # Shell code in configure.ac might set extrasub.
22433 # FIXME: do we really want to maintain this feature?
22434 cat >>$CONFIG_STATUS <<_ACEOF
22435 sed "$ac_vpsub
22436 $extrasub
22437 _ACEOF
22438 cat >>$CONFIG_STATUS <<\_ACEOF
22440 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22441 s&@configure_input@&$configure_input&;t t
22442 s&@top_builddir@&$ac_top_builddir_sub&;t t
22443 s&@srcdir@&$ac_srcdir&;t t
22444 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22445 s&@top_srcdir@&$ac_top_srcdir&;t t
22446 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22447 s&@builddir@&$ac_builddir&;t t
22448 s&@abs_builddir@&$ac_abs_builddir&;t t
22449 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22450 s&@INSTALL@&$ac_INSTALL&;t t
22451 $ac_datarootdir_hack
22452 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22454 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22455 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22456 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22457 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22458 which seems to be undefined. Please make sure it is defined." >&5
22459 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22460 which seems to be undefined. Please make sure it is defined." >&2;}
22462 rm -f "$tmp/stdin"
22463 case $ac_file in
22464 -) cat "$tmp/out"; rm -f "$tmp/out";;
22465 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22466 esac
22470 # CONFIG_HEADER
22472 _ACEOF
22474 # Transform confdefs.h into a sed script `conftest.defines', that
22475 # substitutes the proper values into config.h.in to produce config.h.
22476 rm -f conftest.defines conftest.tail
22477 # First, append a space to every undef/define line, to ease matching.
22478 echo 's/$/ /' >conftest.defines
22479 # Then, protect against being on the right side of a sed subst, or in
22480 # an unquoted here document, in config.status. If some macros were
22481 # called several times there might be several #defines for the same
22482 # symbol, which is useless. But do not sort them, since the last
22483 # AC_DEFINE must be honored.
22484 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22485 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22486 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22487 # PARAMS is the parameter list in the macro definition--in most cases, it's
22488 # just an empty string.
22489 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22490 ac_dB='\\)[ (].*,\\1define\\2'
22491 ac_dC=' '
22492 ac_dD=' ,'
22494 uniq confdefs.h |
22495 sed -n '
22496 t rset
22497 :rset
22498 s/^[ ]*#[ ]*define[ ][ ]*//
22499 t ok
22502 s/[\\&,]/\\&/g
22503 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22504 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22505 ' >>conftest.defines
22507 # Remove the space that was appended to ease matching.
22508 # Then replace #undef with comments. This is necessary, for
22509 # example, in the case of _POSIX_SOURCE, which is predefined and required
22510 # on some systems where configure will not decide to define it.
22511 # (The regexp can be short, since the line contains either #define or #undef.)
22512 echo 's/ $//
22513 s,^[ #]*u.*,/* & */,' >>conftest.defines
22515 # Break up conftest.defines:
22516 ac_max_sed_lines=50
22518 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22519 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22520 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22521 # et cetera.
22522 ac_in='$ac_file_inputs'
22523 ac_out='"$tmp/out1"'
22524 ac_nxt='"$tmp/out2"'
22526 while :
22528 # Write a here document:
22529 cat >>$CONFIG_STATUS <<_ACEOF
22530 # First, check the format of the line:
22531 cat >"\$tmp/defines.sed" <<\\CEOF
22532 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22533 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22535 :def
22536 _ACEOF
22537 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22538 echo 'CEOF
22539 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22540 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22541 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22542 grep . conftest.tail >/dev/null || break
22543 rm -f conftest.defines
22544 mv conftest.tail conftest.defines
22545 done
22546 rm -f conftest.defines conftest.tail
22548 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22549 cat >>$CONFIG_STATUS <<\_ACEOF
22550 if test x"$ac_file" != x-; then
22551 echo "/* $configure_input */" >"$tmp/config.h"
22552 cat "$ac_result" >>"$tmp/config.h"
22553 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22554 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22555 echo "$as_me: $ac_file is unchanged" >&6;}
22556 else
22557 rm -f $ac_file
22558 mv "$tmp/config.h" $ac_file
22560 else
22561 echo "/* $configure_input */"
22562 cat "$ac_result"
22564 rm -f "$tmp/out12"
22567 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22568 echo "$as_me: executing $ac_file commands" >&6;}
22570 esac
22573 case $ac_file$ac_mode in
22574 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22575 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22576 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22577 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22578 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22579 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22580 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22581 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22582 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22583 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22584 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22585 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22586 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22588 esac
22589 done # for ac_tag
22592 { (exit 0); exit 0; }
22593 _ACEOF
22594 chmod +x $CONFIG_STATUS
22595 ac_clean_files=$ac_clean_files_save
22598 # configure is writing to config.log, and then calls config.status.
22599 # config.status does its own redirection, appending to config.log.
22600 # Unfortunately, on DOS this fails, as config.log is still kept open
22601 # by configure, so config.status won't be able to write to it; its
22602 # output is simply discarded. So we exec the FD to /dev/null,
22603 # effectively closing config.log, so it can be properly (re)opened and
22604 # appended to by config.status. When coming back to configure, we
22605 # need to make the FD available again.
22606 if test "$no_create" != yes; then
22607 ac_cs_success=:
22608 ac_config_status_args=
22609 test "$silent" = yes &&
22610 ac_config_status_args="$ac_config_status_args --quiet"
22611 exec 5>/dev/null
22612 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22613 exec 5>>config.log
22614 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22615 # would make configure fail if this is the last instruction.
22616 $ac_cs_success || { (exit 1); exit 1; }
22620 if test "$no_create" = "yes"
22621 then
22622 exit 0
22625 ac_save_IFS="$IFS"
22626 IFS="|"
22627 if test "$verbose" = "yes"; then
22628 for msg in $wine_notices; do
22629 if test -n "$msg"; then
22630 echo >&2
22631 { echo "$as_me:$LINENO: $msg" >&5
22632 echo "$as_me: $msg" >&6;}
22634 done
22636 for msg in $wine_warnings; do
22637 if test -n "$msg"; then
22638 echo >&2
22639 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22640 echo "$as_me: WARNING: $msg" >&2;}
22642 done
22643 IFS="$ac_save_IFS"
22645 echo
22646 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22647 echo