msvcrt: mbsnbicmp should be case insensitive.
[wine/wine-kai.git] / configure
blobb9ea64f4500ad15b463d43bb33c612a718d90358
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.42.
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.42'
578 PACKAGE_STRING='Wine 0.9.42'
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.42 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.42:";;
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.42
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.42, 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"
6320 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6321 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6322 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 else
6325 ac_check_lib_save_LIBS=$LIBS
6326 LIBS="-lxpg4 $LIBS"
6327 cat >conftest.$ac_ext <<_ACEOF
6328 /* confdefs.h. */
6329 _ACEOF
6330 cat confdefs.h >>conftest.$ac_ext
6331 cat >>conftest.$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6337 #ifdef __cplusplus
6338 extern "C"
6339 #endif
6340 char _xpg4_setrunelocale ();
6342 main ()
6344 return _xpg4_setrunelocale ();
6346 return 0;
6348 _ACEOF
6349 rm -f conftest.$ac_objext conftest$ac_exeext
6350 if { (ac_try="$ac_link"
6351 case "(($ac_try" in
6352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6353 *) ac_try_echo=$ac_try;;
6354 esac
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356 (eval "$ac_link") 2>conftest.er1
6357 ac_status=$?
6358 grep -v '^ *+' conftest.er1 >conftest.err
6359 rm -f conftest.er1
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && {
6363 test -z "$ac_c_werror_flag" ||
6364 test ! -s conftest.err
6365 } && test -s conftest$ac_exeext &&
6366 $as_test_x conftest$ac_exeext; then
6367 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6368 else
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6372 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6376 conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6379 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6380 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6381 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6382 cat >>confdefs.h <<_ACEOF
6383 #define HAVE_LIBXPG4 1
6384 _ACEOF
6386 LIBS="-lxpg4 $LIBS"
6390 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6391 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6392 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6394 else
6395 ac_check_lib_save_LIBS=$LIBS
6396 LIBS="-lpthread $LIBS"
6397 cat >conftest.$ac_ext <<_ACEOF
6398 /* confdefs.h. */
6399 _ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6404 /* Override any GCC internal prototype to avoid an error.
6405 Use char because int might match the return type of a GCC
6406 builtin and then its argument prototype would still apply. */
6407 #ifdef __cplusplus
6408 extern "C"
6409 #endif
6410 char pthread_create ();
6412 main ()
6414 return pthread_create ();
6416 return 0;
6418 _ACEOF
6419 rm -f conftest.$ac_objext conftest$ac_exeext
6420 if { (ac_try="$ac_link"
6421 case "(($ac_try" in
6422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6423 *) ac_try_echo=$ac_try;;
6424 esac
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426 (eval "$ac_link") 2>conftest.er1
6427 ac_status=$?
6428 grep -v '^ *+' conftest.er1 >conftest.err
6429 rm -f conftest.er1
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } && {
6433 test -z "$ac_c_werror_flag" ||
6434 test ! -s conftest.err
6435 } && test -s conftest$ac_exeext &&
6436 $as_test_x conftest$ac_exeext; then
6437 ac_cv_lib_pthread_pthread_create=yes
6438 else
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 ac_cv_lib_pthread_pthread_create=no
6445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6446 conftest$ac_exeext conftest.$ac_ext
6447 LIBS=$ac_check_lib_save_LIBS
6449 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6450 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6451 if test $ac_cv_lib_pthread_pthread_create = yes; then
6452 LIBPTHREAD="-lpthread"
6457 XLIB=""
6459 XFILES=""
6461 OPENGLFILES=""
6463 GLU32FILES=""
6465 OPENGL_LIBS=""
6467 QUARTZFILES=""
6471 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6472 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6473 if test "${ac_cv_header_stdc+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6475 else
6476 cat >conftest.$ac_ext <<_ACEOF
6477 /* confdefs.h. */
6478 _ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6482 #include <stdlib.h>
6483 #include <stdarg.h>
6484 #include <string.h>
6485 #include <float.h>
6488 main ()
6492 return 0;
6494 _ACEOF
6495 rm -f conftest.$ac_objext
6496 if { (ac_try="$ac_compile"
6497 case "(($ac_try" in
6498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6499 *) ac_try_echo=$ac_try;;
6500 esac
6501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6502 (eval "$ac_compile") 2>conftest.er1
6503 ac_status=$?
6504 grep -v '^ *+' conftest.er1 >conftest.err
6505 rm -f conftest.er1
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } && {
6509 test -z "$ac_c_werror_flag" ||
6510 test ! -s conftest.err
6511 } && test -s conftest.$ac_objext; then
6512 ac_cv_header_stdc=yes
6513 else
6514 echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.$ac_ext >&5
6517 ac_cv_header_stdc=no
6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6522 if test $ac_cv_header_stdc = yes; then
6523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6524 cat >conftest.$ac_ext <<_ACEOF
6525 /* confdefs.h. */
6526 _ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6530 #include <string.h>
6532 _ACEOF
6533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6534 $EGREP "memchr" >/dev/null 2>&1; then
6536 else
6537 ac_cv_header_stdc=no
6539 rm -f conftest*
6543 if test $ac_cv_header_stdc = yes; then
6544 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6545 cat >conftest.$ac_ext <<_ACEOF
6546 /* confdefs.h. */
6547 _ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6551 #include <stdlib.h>
6553 _ACEOF
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555 $EGREP "free" >/dev/null 2>&1; then
6557 else
6558 ac_cv_header_stdc=no
6560 rm -f conftest*
6564 if test $ac_cv_header_stdc = yes; then
6565 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6566 if test "$cross_compiling" = yes; then
6568 else
6569 cat >conftest.$ac_ext <<_ACEOF
6570 /* confdefs.h. */
6571 _ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6575 #include <ctype.h>
6576 #include <stdlib.h>
6577 #if ((' ' & 0x0FF) == 0x020)
6578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6580 #else
6581 # define ISLOWER(c) \
6582 (('a' <= (c) && (c) <= 'i') \
6583 || ('j' <= (c) && (c) <= 'r') \
6584 || ('s' <= (c) && (c) <= 'z'))
6585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6586 #endif
6588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6590 main ()
6592 int i;
6593 for (i = 0; i < 256; i++)
6594 if (XOR (islower (i), ISLOWER (i))
6595 || toupper (i) != TOUPPER (i))
6596 return 2;
6597 return 0;
6599 _ACEOF
6600 rm -f conftest$ac_exeext
6601 if { (ac_try="$ac_link"
6602 case "(($ac_try" in
6603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6604 *) ac_try_echo=$ac_try;;
6605 esac
6606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6607 (eval "$ac_link") 2>&5
6608 ac_status=$?
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6611 { (case "(($ac_try" in
6612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6613 *) ac_try_echo=$ac_try;;
6614 esac
6615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6616 (eval "$ac_try") 2>&5
6617 ac_status=$?
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6621 else
6622 echo "$as_me: program exited with status $ac_status" >&5
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 ( exit $ac_status )
6627 ac_cv_header_stdc=no
6629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6635 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6636 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6637 if test $ac_cv_header_stdc = yes; then
6639 cat >>confdefs.h <<\_ACEOF
6640 #define STDC_HEADERS 1
6641 _ACEOF
6645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6655 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6656 inttypes.h stdint.h unistd.h
6658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 else
6664 cat >conftest.$ac_ext <<_ACEOF
6665 /* confdefs.h. */
6666 _ACEOF
6667 cat confdefs.h >>conftest.$ac_ext
6668 cat >>conftest.$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6670 $ac_includes_default
6672 #include <$ac_header>
6673 _ACEOF
6674 rm -f conftest.$ac_objext
6675 if { (ac_try="$ac_compile"
6676 case "(($ac_try" in
6677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6678 *) ac_try_echo=$ac_try;;
6679 esac
6680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6681 (eval "$ac_compile") 2>conftest.er1
6682 ac_status=$?
6683 grep -v '^ *+' conftest.er1 >conftest.err
6684 rm -f conftest.er1
6685 cat conftest.err >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } && {
6688 test -z "$ac_c_werror_flag" ||
6689 test ! -s conftest.err
6690 } && test -s conftest.$ac_objext; then
6691 eval "$as_ac_Header=yes"
6692 else
6693 echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.$ac_ext >&5
6696 eval "$as_ac_Header=no"
6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6701 ac_res=`eval echo '${'$as_ac_Header'}'`
6702 { echo "$as_me:$LINENO: result: $ac_res" >&5
6703 echo "${ECHO_T}$ac_res" >&6; }
6704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6705 cat >>confdefs.h <<_ACEOF
6706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6707 _ACEOF
6711 done
6825 for ac_header in \
6826 AudioUnit/AudioUnit.h \
6827 Carbon/Carbon.h \
6828 CoreAudio/CoreAudio.h \
6829 DiskArbitration/DiskArbitration.h \
6830 IOKit/IOKitLib.h \
6831 alsa/asoundlib.h \
6832 arpa/inet.h \
6833 arpa/nameser.h \
6834 asm/types.h \
6835 capi20.h \
6836 cups/cups.h \
6837 curses.h \
6838 direct.h \
6839 dlfcn.h \
6840 elf.h \
6841 float.h \
6842 fontconfig/fontconfig.h \
6843 getopt.h \
6844 ieeefp.h \
6845 io.h \
6846 jack/jack.h \
6847 jpeglib.h \
6848 lber.h \
6849 lcms.h \
6850 lcms/lcms.h \
6851 ldap.h \
6852 libaudioio.h \
6853 link.h \
6854 linux/cdrom.h \
6855 linux/compiler.h \
6856 linux/hdreg.h \
6857 linux/input.h \
6858 linux/ioctl.h \
6859 linux/joystick.h \
6860 linux/major.h \
6861 linux/param.h \
6862 linux/serial.h \
6863 linux/ucdrom.h \
6864 mach/mach.h \
6865 mach/machine.h \
6866 machine/cpu.h \
6867 machine/limits.h \
6868 machine/soundcard.h \
6869 mntent.h \
6870 ncurses.h \
6871 netdb.h \
6872 netinet/in.h \
6873 netinet/in_systm.h \
6874 netinet/tcp.h \
6875 netinet/tcp_fsm.h \
6876 openssl/err.h \
6877 openssl/ssl.h \
6878 png.h \
6879 poll.h \
6880 process.h \
6881 pthread.h \
6882 pwd.h \
6883 regex.h \
6884 sched.h \
6885 scsi/scsi.h \
6886 scsi/scsi_ioctl.h \
6887 scsi/sg.h \
6888 soundcard.h \
6889 stdint.h \
6890 strings.h \
6891 sys/asoundlib.h \
6892 sys/cdio.h \
6893 sys/elf32.h \
6894 sys/epoll.h \
6895 sys/errno.h \
6896 sys/event.h \
6897 sys/exec_elf.h \
6898 sys/filio.h \
6899 sys/ioctl.h \
6900 sys/ipc.h \
6901 sys/limits.h \
6902 sys/link.h \
6903 sys/lwp.h \
6904 sys/mman.h \
6905 sys/modem.h \
6906 sys/msg.h \
6907 sys/mtio.h \
6908 sys/param.h \
6909 sys/poll.h \
6910 sys/prctl.h \
6911 sys/ptrace.h \
6912 sys/reg.h \
6913 sys/resource.h \
6914 sys/scsiio.h \
6915 sys/shm.h \
6916 sys/signal.h \
6917 sys/socket.h \
6918 sys/socketvar.h \
6919 sys/sockio.h \
6920 sys/soundcard.h \
6921 sys/statvfs.h \
6922 sys/strtio.h \
6923 sys/syscall.h \
6924 sys/sysctl.h \
6925 sys/time.h \
6926 sys/times.h \
6927 sys/uio.h \
6928 sys/un.h \
6929 sys/vm86.h \
6930 sys/wait.h \
6931 syscall.h \
6932 termios.h \
6933 unicode/ubidi.h \
6934 unistd.h \
6935 utime.h \
6936 valgrind/memcheck.h
6939 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6940 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6941 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6944 echo $ECHO_N "(cached) $ECHO_C" >&6
6946 ac_res=`eval echo '${'$as_ac_Header'}'`
6947 { echo "$as_me:$LINENO: result: $ac_res" >&5
6948 echo "${ECHO_T}$ac_res" >&6; }
6949 else
6950 # Is the header compilable?
6951 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6953 cat >conftest.$ac_ext <<_ACEOF
6954 /* confdefs.h. */
6955 _ACEOF
6956 cat confdefs.h >>conftest.$ac_ext
6957 cat >>conftest.$ac_ext <<_ACEOF
6958 /* end confdefs.h. */
6959 $ac_includes_default
6960 #include <$ac_header>
6961 _ACEOF
6962 rm -f conftest.$ac_objext
6963 if { (ac_try="$ac_compile"
6964 case "(($ac_try" in
6965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6966 *) ac_try_echo=$ac_try;;
6967 esac
6968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6969 (eval "$ac_compile") 2>conftest.er1
6970 ac_status=$?
6971 grep -v '^ *+' conftest.er1 >conftest.err
6972 rm -f conftest.er1
6973 cat conftest.err >&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); } && {
6976 test -z "$ac_c_werror_flag" ||
6977 test ! -s conftest.err
6978 } && test -s conftest.$ac_objext; then
6979 ac_header_compiler=yes
6980 else
6981 echo "$as_me: failed program was:" >&5
6982 sed 's/^/| /' conftest.$ac_ext >&5
6984 ac_header_compiler=no
6987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6988 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6989 echo "${ECHO_T}$ac_header_compiler" >&6; }
6991 # Is the header present?
6992 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6994 cat >conftest.$ac_ext <<_ACEOF
6995 /* confdefs.h. */
6996 _ACEOF
6997 cat confdefs.h >>conftest.$ac_ext
6998 cat >>conftest.$ac_ext <<_ACEOF
6999 /* end confdefs.h. */
7000 #include <$ac_header>
7001 _ACEOF
7002 if { (ac_try="$ac_cpp conftest.$ac_ext"
7003 case "(($ac_try" in
7004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7005 *) ac_try_echo=$ac_try;;
7006 esac
7007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7009 ac_status=$?
7010 grep -v '^ *+' conftest.er1 >conftest.err
7011 rm -f conftest.er1
7012 cat conftest.err >&5
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014 (exit $ac_status); } >/dev/null && {
7015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7016 test ! -s conftest.err
7017 }; then
7018 ac_header_preproc=yes
7019 else
7020 echo "$as_me: failed program was:" >&5
7021 sed 's/^/| /' conftest.$ac_ext >&5
7023 ac_header_preproc=no
7026 rm -f conftest.err conftest.$ac_ext
7027 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7028 echo "${ECHO_T}$ac_header_preproc" >&6; }
7030 # So? What about this header?
7031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7032 yes:no: )
7033 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7034 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7036 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7037 ac_header_preproc=yes
7039 no:yes:* )
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7041 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7043 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7044 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7045 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7046 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7047 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7050 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7051 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7052 ( cat <<\_ASBOX
7053 ## ------------------------------------ ##
7054 ## Report this to wine-devel@winehq.org ##
7055 ## ------------------------------------ ##
7056 _ASBOX
7057 ) | sed "s/^/$as_me: WARNING: /" >&2
7059 esac
7060 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7062 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7063 echo $ECHO_N "(cached) $ECHO_C" >&6
7064 else
7065 eval "$as_ac_Header=\$ac_header_preproc"
7067 ac_res=`eval echo '${'$as_ac_Header'}'`
7068 { echo "$as_me:$LINENO: result: $ac_res" >&5
7069 echo "${ECHO_T}$ac_res" >&6; }
7072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7073 cat >>confdefs.h <<_ACEOF
7074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7075 _ACEOF
7079 done
7081 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7082 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7083 if test "${ac_cv_header_stat_broken+set}" = set; then
7084 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 else
7086 cat >conftest.$ac_ext <<_ACEOF
7087 /* confdefs.h. */
7088 _ACEOF
7089 cat confdefs.h >>conftest.$ac_ext
7090 cat >>conftest.$ac_ext <<_ACEOF
7091 /* end confdefs.h. */
7092 #include <sys/types.h>
7093 #include <sys/stat.h>
7095 #if defined S_ISBLK && defined S_IFDIR
7096 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7097 #endif
7099 #if defined S_ISBLK && defined S_IFCHR
7100 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7101 #endif
7103 #if defined S_ISLNK && defined S_IFREG
7104 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7105 #endif
7107 #if defined S_ISSOCK && defined S_IFREG
7108 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7109 #endif
7111 _ACEOF
7112 rm -f conftest.$ac_objext
7113 if { (ac_try="$ac_compile"
7114 case "(($ac_try" in
7115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7116 *) ac_try_echo=$ac_try;;
7117 esac
7118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7119 (eval "$ac_compile") 2>conftest.er1
7120 ac_status=$?
7121 grep -v '^ *+' conftest.er1 >conftest.err
7122 rm -f conftest.er1
7123 cat conftest.err >&5
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); } && {
7126 test -z "$ac_c_werror_flag" ||
7127 test ! -s conftest.err
7128 } && test -s conftest.$ac_objext; then
7129 ac_cv_header_stat_broken=no
7130 else
7131 echo "$as_me: failed program was:" >&5
7132 sed 's/^/| /' conftest.$ac_ext >&5
7134 ac_cv_header_stat_broken=yes
7137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7139 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7140 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7141 if test $ac_cv_header_stat_broken = yes; then
7143 cat >>confdefs.h <<\_ACEOF
7144 #define STAT_MACROS_BROKEN 1
7145 _ACEOF
7155 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7161 echo $ECHO_N "(cached) $ECHO_C" >&6
7162 else
7163 cat >conftest.$ac_ext <<_ACEOF
7164 /* confdefs.h. */
7165 _ACEOF
7166 cat confdefs.h >>conftest.$ac_ext
7167 cat >>conftest.$ac_ext <<_ACEOF
7168 /* end confdefs.h. */
7169 #include <sys/types.h>
7170 #if HAVE_SYS_PARAM_H
7171 # include <sys/param.h>
7172 #endif
7174 #include <$ac_header>
7175 _ACEOF
7176 rm -f conftest.$ac_objext
7177 if { (ac_try="$ac_compile"
7178 case "(($ac_try" in
7179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7180 *) ac_try_echo=$ac_try;;
7181 esac
7182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7183 (eval "$ac_compile") 2>conftest.er1
7184 ac_status=$?
7185 grep -v '^ *+' conftest.er1 >conftest.err
7186 rm -f conftest.er1
7187 cat conftest.err >&5
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); } && {
7190 test -z "$ac_c_werror_flag" ||
7191 test ! -s conftest.err
7192 } && test -s conftest.$ac_objext; then
7193 eval "$as_ac_Header=yes"
7194 else
7195 echo "$as_me: failed program was:" >&5
7196 sed 's/^/| /' conftest.$ac_ext >&5
7198 eval "$as_ac_Header=no"
7201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7203 ac_res=`eval echo '${'$as_ac_Header'}'`
7204 { echo "$as_me:$LINENO: result: $ac_res" >&5
7205 echo "${ECHO_T}$ac_res" >&6; }
7206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7207 cat >>confdefs.h <<_ACEOF
7208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7209 _ACEOF
7213 done
7224 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
7226 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7227 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7230 echo $ECHO_N "(cached) $ECHO_C" >&6
7231 else
7232 cat >conftest.$ac_ext <<_ACEOF
7233 /* confdefs.h. */
7234 _ACEOF
7235 cat confdefs.h >>conftest.$ac_ext
7236 cat >>conftest.$ac_ext <<_ACEOF
7237 /* end confdefs.h. */
7238 #include <sys/types.h>
7239 #if HAVE_SYS_SOCKET_H
7240 # include <sys/socket.h>
7241 #endif
7243 #include <$ac_header>
7244 _ACEOF
7245 rm -f conftest.$ac_objext
7246 if { (ac_try="$ac_compile"
7247 case "(($ac_try" in
7248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7249 *) ac_try_echo=$ac_try;;
7250 esac
7251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7252 (eval "$ac_compile") 2>conftest.er1
7253 ac_status=$?
7254 grep -v '^ *+' conftest.er1 >conftest.err
7255 rm -f conftest.er1
7256 cat conftest.err >&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); } && {
7259 test -z "$ac_c_werror_flag" ||
7260 test ! -s conftest.err
7261 } && test -s conftest.$ac_objext; then
7262 eval "$as_ac_Header=yes"
7263 else
7264 echo "$as_me: failed program was:" >&5
7265 sed 's/^/| /' conftest.$ac_ext >&5
7267 eval "$as_ac_Header=no"
7270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7272 ac_res=`eval echo '${'$as_ac_Header'}'`
7273 { echo "$as_me:$LINENO: result: $ac_res" >&5
7274 echo "${ECHO_T}$ac_res" >&6; }
7275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7276 cat >>confdefs.h <<_ACEOF
7277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7278 _ACEOF
7282 done
7284 #if HAVE_SYS_SOCKETVAR_H
7285 # include <sys/socketvar.h>
7286 #endif
7289 for ac_header in netinet/tcp_var.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 #if HAVE_SYS_SOCKET_H
7305 # include <sys/socket.h>
7306 #endif
7307 #if HAVE_SYS_SOCKETVAR_H
7308 # include <sys/socketvar.h>
7309 #endif
7310 #if HAVE_NETINET_IN_H
7311 # include <netinet/in.h>
7312 #endif
7313 #ifdef HAVE_NETINET_TCP_H
7314 # include <netinet/tcp.h>
7315 #endif
7317 #include <$ac_header>
7318 _ACEOF
7319 rm -f conftest.$ac_objext
7320 if { (ac_try="$ac_compile"
7321 case "(($ac_try" in
7322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7323 *) ac_try_echo=$ac_try;;
7324 esac
7325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7326 (eval "$ac_compile") 2>conftest.er1
7327 ac_status=$?
7328 grep -v '^ *+' conftest.er1 >conftest.err
7329 rm -f conftest.er1
7330 cat conftest.err >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); } && {
7333 test -z "$ac_c_werror_flag" ||
7334 test ! -s conftest.err
7335 } && test -s conftest.$ac_objext; then
7336 eval "$as_ac_Header=yes"
7337 else
7338 echo "$as_me: failed program was:" >&5
7339 sed 's/^/| /' conftest.$ac_ext >&5
7341 eval "$as_ac_Header=no"
7344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7346 ac_res=`eval echo '${'$as_ac_Header'}'`
7347 { echo "$as_me:$LINENO: result: $ac_res" >&5
7348 echo "${ECHO_T}$ac_res" >&6; }
7349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7350 cat >>confdefs.h <<_ACEOF
7351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7352 _ACEOF
7356 done
7360 for ac_header in linux/ipx.h
7362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7366 echo $ECHO_N "(cached) $ECHO_C" >&6
7367 else
7368 cat >conftest.$ac_ext <<_ACEOF
7369 /* confdefs.h. */
7370 _ACEOF
7371 cat confdefs.h >>conftest.$ac_ext
7372 cat >>conftest.$ac_ext <<_ACEOF
7373 /* end confdefs.h. */
7374 #include <sys/types.h>
7375 #ifdef HAVE_ASM_TYPES_H
7376 # include <asm/types.h>
7377 #endif
7378 #if HAVE_SYS_SOCKET_H
7379 # include <sys/socket.h>
7380 #endif
7382 #include <$ac_header>
7383 _ACEOF
7384 rm -f conftest.$ac_objext
7385 if { (ac_try="$ac_compile"
7386 case "(($ac_try" in
7387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7388 *) ac_try_echo=$ac_try;;
7389 esac
7390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7391 (eval "$ac_compile") 2>conftest.er1
7392 ac_status=$?
7393 grep -v '^ *+' conftest.er1 >conftest.err
7394 rm -f conftest.er1
7395 cat conftest.err >&5
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); } && {
7398 test -z "$ac_c_werror_flag" ||
7399 test ! -s conftest.err
7400 } && test -s conftest.$ac_objext; then
7401 eval "$as_ac_Header=yes"
7402 else
7403 echo "$as_me: failed program was:" >&5
7404 sed 's/^/| /' conftest.$ac_ext >&5
7406 eval "$as_ac_Header=no"
7409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7411 ac_res=`eval echo '${'$as_ac_Header'}'`
7412 { echo "$as_me:$LINENO: result: $ac_res" >&5
7413 echo "${ECHO_T}$ac_res" >&6; }
7414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7415 cat >>confdefs.h <<_ACEOF
7416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7417 _ACEOF
7421 done
7425 for ac_header in resolv.h
7427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7428 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7432 else
7433 cat >conftest.$ac_ext <<_ACEOF
7434 /* confdefs.h. */
7435 _ACEOF
7436 cat confdefs.h >>conftest.$ac_ext
7437 cat >>conftest.$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7439 #include <sys/types.h>
7440 #if HAVE_SYS_SOCKET_H
7441 # include <sys/socket.h>
7442 #endif
7443 #if HAVE_NETINET_IN_H
7444 # include <netinet/in.h>
7445 #endif
7446 #if HAVE_ARPA_NAMESER_H
7447 # include <arpa/nameser.h>
7448 #endif
7450 #include <$ac_header>
7451 _ACEOF
7452 rm -f conftest.$ac_objext
7453 if { (ac_try="$ac_compile"
7454 case "(($ac_try" in
7455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7456 *) ac_try_echo=$ac_try;;
7457 esac
7458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7459 (eval "$ac_compile") 2>conftest.er1
7460 ac_status=$?
7461 grep -v '^ *+' conftest.er1 >conftest.err
7462 rm -f conftest.er1
7463 cat conftest.err >&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); } && {
7466 test -z "$ac_c_werror_flag" ||
7467 test ! -s conftest.err
7468 } && test -s conftest.$ac_objext; then
7469 eval "$as_ac_Header=yes"
7470 else
7471 echo "$as_me: failed program was:" >&5
7472 sed 's/^/| /' conftest.$ac_ext >&5
7474 eval "$as_ac_Header=no"
7477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7479 ac_res=`eval echo '${'$as_ac_Header'}'`
7480 { echo "$as_me:$LINENO: result: $ac_res" >&5
7481 echo "${ECHO_T}$ac_res" >&6; }
7482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7483 cat >>confdefs.h <<_ACEOF
7484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7485 _ACEOF
7489 done
7493 for ac_header in ucontext.h
7495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7500 else
7501 cat >conftest.$ac_ext <<_ACEOF
7502 /* confdefs.h. */
7503 _ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 #include <signal.h>
7509 #include <$ac_header>
7510 _ACEOF
7511 rm -f conftest.$ac_objext
7512 if { (ac_try="$ac_compile"
7513 case "(($ac_try" in
7514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7515 *) ac_try_echo=$ac_try;;
7516 esac
7517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7518 (eval "$ac_compile") 2>conftest.er1
7519 ac_status=$?
7520 grep -v '^ *+' conftest.er1 >conftest.err
7521 rm -f conftest.er1
7522 cat conftest.err >&5
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); } && {
7525 test -z "$ac_c_werror_flag" ||
7526 test ! -s conftest.err
7527 } && test -s conftest.$ac_objext; then
7528 eval "$as_ac_Header=yes"
7529 else
7530 echo "$as_me: failed program was:" >&5
7531 sed 's/^/| /' conftest.$ac_ext >&5
7533 eval "$as_ac_Header=no"
7536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7538 ac_res=`eval echo '${'$as_ac_Header'}'`
7539 { echo "$as_me:$LINENO: result: $ac_res" >&5
7540 echo "${ECHO_T}$ac_res" >&6; }
7541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7542 cat >>confdefs.h <<_ACEOF
7543 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7544 _ACEOF
7548 done
7552 for ac_header in pthread_np.h
7554 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7555 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7557 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7558 echo $ECHO_N "(cached) $ECHO_C" >&6
7559 else
7560 cat >conftest.$ac_ext <<_ACEOF
7561 /* confdefs.h. */
7562 _ACEOF
7563 cat confdefs.h >>conftest.$ac_ext
7564 cat >>conftest.$ac_ext <<_ACEOF
7565 /* end confdefs.h. */
7566 #ifdef HAVE_PTHREAD_H
7567 #include <pthread.h>
7568 #endif
7570 #include <$ac_header>
7571 _ACEOF
7572 rm -f conftest.$ac_objext
7573 if { (ac_try="$ac_compile"
7574 case "(($ac_try" in
7575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7576 *) ac_try_echo=$ac_try;;
7577 esac
7578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7579 (eval "$ac_compile") 2>conftest.er1
7580 ac_status=$?
7581 grep -v '^ *+' conftest.er1 >conftest.err
7582 rm -f conftest.er1
7583 cat conftest.err >&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); } && {
7586 test -z "$ac_c_werror_flag" ||
7587 test ! -s conftest.err
7588 } && test -s conftest.$ac_objext; then
7589 eval "$as_ac_Header=yes"
7590 else
7591 echo "$as_me: failed program was:" >&5
7592 sed 's/^/| /' conftest.$ac_ext >&5
7594 eval "$as_ac_Header=no"
7597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7599 ac_res=`eval echo '${'$as_ac_Header'}'`
7600 { echo "$as_me:$LINENO: result: $ac_res" >&5
7601 echo "${ECHO_T}$ac_res" >&6; }
7602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7603 cat >>confdefs.h <<_ACEOF
7604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7605 _ACEOF
7609 done
7613 for ac_header in linux/videodev.h
7615 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7616 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7618 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7619 echo $ECHO_N "(cached) $ECHO_C" >&6
7620 else
7621 cat >conftest.$ac_ext <<_ACEOF
7622 /* confdefs.h. */
7623 _ACEOF
7624 cat confdefs.h >>conftest.$ac_ext
7625 cat >>conftest.$ac_ext <<_ACEOF
7626 /* end confdefs.h. */
7627 #ifdef HAVE_SYS_TIME_H
7628 #include <sys/time.h>
7629 #endif
7630 #include <sys/types.h>
7631 #ifdef HAVE_ASM_TYPES_H
7632 #include <asm/types.h>
7633 #endif
7635 #include <$ac_header>
7636 _ACEOF
7637 rm -f conftest.$ac_objext
7638 if { (ac_try="$ac_compile"
7639 case "(($ac_try" in
7640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7641 *) ac_try_echo=$ac_try;;
7642 esac
7643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7644 (eval "$ac_compile") 2>conftest.er1
7645 ac_status=$?
7646 grep -v '^ *+' conftest.er1 >conftest.err
7647 rm -f conftest.er1
7648 cat conftest.err >&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); } && {
7651 test -z "$ac_c_werror_flag" ||
7652 test ! -s conftest.err
7653 } && test -s conftest.$ac_objext; then
7654 eval "$as_ac_Header=yes"
7655 else
7656 echo "$as_me: failed program was:" >&5
7657 sed 's/^/| /' conftest.$ac_ext >&5
7659 eval "$as_ac_Header=no"
7662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7664 ac_res=`eval echo '${'$as_ac_Header'}'`
7665 { echo "$as_me:$LINENO: result: $ac_res" >&5
7666 echo "${ECHO_T}$ac_res" >&6; }
7667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7668 cat >>confdefs.h <<_ACEOF
7669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7670 _ACEOF
7674 done
7678 for ac_header in linux/capi.h
7680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7681 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7684 echo $ECHO_N "(cached) $ECHO_C" >&6
7685 else
7686 cat >conftest.$ac_ext <<_ACEOF
7687 /* confdefs.h. */
7688 _ACEOF
7689 cat confdefs.h >>conftest.$ac_ext
7690 cat >>conftest.$ac_ext <<_ACEOF
7691 /* end confdefs.h. */
7692 #define __user
7694 #include <$ac_header>
7695 _ACEOF
7696 rm -f conftest.$ac_objext
7697 if { (ac_try="$ac_compile"
7698 case "(($ac_try" in
7699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7700 *) ac_try_echo=$ac_try;;
7701 esac
7702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7703 (eval "$ac_compile") 2>conftest.er1
7704 ac_status=$?
7705 grep -v '^ *+' conftest.er1 >conftest.err
7706 rm -f conftest.er1
7707 cat conftest.err >&5
7708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709 (exit $ac_status); } && {
7710 test -z "$ac_c_werror_flag" ||
7711 test ! -s conftest.err
7712 } && test -s conftest.$ac_objext; then
7713 eval "$as_ac_Header=yes"
7714 else
7715 echo "$as_me: failed program was:" >&5
7716 sed 's/^/| /' conftest.$ac_ext >&5
7718 eval "$as_ac_Header=no"
7721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7723 ac_res=`eval echo '${'$as_ac_Header'}'`
7724 { echo "$as_me:$LINENO: result: $ac_res" >&5
7725 echo "${ECHO_T}$ac_res" >&6; }
7726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7727 cat >>confdefs.h <<_ACEOF
7728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7729 _ACEOF
7733 done
7737 DLLEXT=""
7739 DLLFLAGS="-D_REENTRANT"
7741 LDSHARED=""
7743 LDDLLFLAGS=""
7745 LIBEXT="so"
7747 IMPLIBEXT="def"
7749 LDRPATH_INSTALL=""
7751 LDRPATH_LOCAL=""
7753 # Extract the first word of "ldd", so it can be a program name with args.
7754 set dummy ldd; ac_word=$2
7755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7757 if test "${ac_cv_path_LDD+set}" = set; then
7758 echo $ECHO_N "(cached) $ECHO_C" >&6
7759 else
7760 case $LDD in
7761 [\\/]* | ?:[\\/]*)
7762 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 as_dummy="/sbin:/usr/sbin:$PATH"
7767 for as_dir in $as_dummy
7769 IFS=$as_save_IFS
7770 test -z "$as_dir" && as_dir=.
7771 for ac_exec_ext in '' $ac_executable_extensions; do
7772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7773 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7775 break 2
7777 done
7778 done
7779 IFS=$as_save_IFS
7781 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7783 esac
7785 LDD=$ac_cv_path_LDD
7786 if test -n "$LDD"; then
7787 { echo "$as_me:$LINENO: result: $LDD" >&5
7788 echo "${ECHO_T}$LDD" >&6; }
7789 else
7790 { echo "$as_me:$LINENO: result: no" >&5
7791 echo "${ECHO_T}no" >&6; }
7796 case $host_os in
7797 cygwin*|mingw32*)
7798 if test -n "$ac_tool_prefix"; then
7799 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7800 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7803 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7804 echo $ECHO_N "(cached) $ECHO_C" >&6
7805 else
7806 if test -n "$DLLTOOL"; then
7807 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7808 else
7809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7810 for as_dir in $PATH
7812 IFS=$as_save_IFS
7813 test -z "$as_dir" && as_dir=.
7814 for ac_exec_ext in '' $ac_executable_extensions; do
7815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7816 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7818 break 2
7820 done
7821 done
7822 IFS=$as_save_IFS
7826 DLLTOOL=$ac_cv_prog_DLLTOOL
7827 if test -n "$DLLTOOL"; then
7828 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7829 echo "${ECHO_T}$DLLTOOL" >&6; }
7830 else
7831 { echo "$as_me:$LINENO: result: no" >&5
7832 echo "${ECHO_T}no" >&6; }
7837 if test -z "$ac_cv_prog_DLLTOOL"; then
7838 ac_ct_DLLTOOL=$DLLTOOL
7839 # Extract the first word of "dlltool", so it can be a program name with args.
7840 set dummy dlltool; ac_word=$2
7841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7843 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7844 echo $ECHO_N "(cached) $ECHO_C" >&6
7845 else
7846 if test -n "$ac_ct_DLLTOOL"; then
7847 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7848 else
7849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7850 for as_dir in $PATH
7852 IFS=$as_save_IFS
7853 test -z "$as_dir" && as_dir=.
7854 for ac_exec_ext in '' $ac_executable_extensions; do
7855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7856 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7858 break 2
7860 done
7861 done
7862 IFS=$as_save_IFS
7866 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7867 if test -n "$ac_ct_DLLTOOL"; then
7868 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7869 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7870 else
7871 { echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6; }
7875 if test "x$ac_ct_DLLTOOL" = x; then
7876 DLLTOOL="false"
7877 else
7878 case $cross_compiling:$ac_tool_warned in
7879 yes:)
7880 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7881 whose name does not start with the host triplet. If you think this
7882 configuration is useful to you, please write to autoconf@gnu.org." >&5
7883 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7884 whose name does not start with the host triplet. If you think this
7885 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7886 ac_tool_warned=yes ;;
7887 esac
7888 DLLTOOL=$ac_ct_DLLTOOL
7890 else
7891 DLLTOOL="$ac_cv_prog_DLLTOOL"
7894 if test -n "$ac_tool_prefix"; then
7895 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7896 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7899 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7900 echo $ECHO_N "(cached) $ECHO_C" >&6
7901 else
7902 if test -n "$DLLWRAP"; then
7903 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7904 else
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7906 for as_dir in $PATH
7908 IFS=$as_save_IFS
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7912 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7914 break 2
7916 done
7917 done
7918 IFS=$as_save_IFS
7922 DLLWRAP=$ac_cv_prog_DLLWRAP
7923 if test -n "$DLLWRAP"; then
7924 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7925 echo "${ECHO_T}$DLLWRAP" >&6; }
7926 else
7927 { echo "$as_me:$LINENO: result: no" >&5
7928 echo "${ECHO_T}no" >&6; }
7933 if test -z "$ac_cv_prog_DLLWRAP"; then
7934 ac_ct_DLLWRAP=$DLLWRAP
7935 # Extract the first word of "dllwrap", so it can be a program name with args.
7936 set dummy dllwrap; ac_word=$2
7937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7939 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7940 echo $ECHO_N "(cached) $ECHO_C" >&6
7941 else
7942 if test -n "$ac_ct_DLLWRAP"; then
7943 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7944 else
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7946 for as_dir in $PATH
7948 IFS=$as_save_IFS
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7952 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7954 break 2
7956 done
7957 done
7958 IFS=$as_save_IFS
7962 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7963 if test -n "$ac_ct_DLLWRAP"; then
7964 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7965 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7966 else
7967 { echo "$as_me:$LINENO: result: no" >&5
7968 echo "${ECHO_T}no" >&6; }
7971 if test "x$ac_ct_DLLWRAP" = x; then
7972 DLLWRAP="false"
7973 else
7974 case $cross_compiling:$ac_tool_warned in
7975 yes:)
7976 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7977 whose name does not start with the host triplet. If you think this
7978 configuration is useful to you, please write to autoconf@gnu.org." >&5
7979 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7980 whose name does not start with the host triplet. If you think this
7981 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7982 ac_tool_warned=yes ;;
7983 esac
7984 DLLWRAP=$ac_ct_DLLWRAP
7986 else
7987 DLLWRAP="$ac_cv_prog_DLLWRAP"
7990 if test -n "$ac_tool_prefix"; then
7991 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7992 set dummy ${ac_tool_prefix}ar; ac_word=$2
7993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7995 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7996 echo $ECHO_N "(cached) $ECHO_C" >&6
7997 else
7998 if test -n "$MINGWAR"; then
7999 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8000 else
8001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8002 for as_dir in $PATH
8004 IFS=$as_save_IFS
8005 test -z "$as_dir" && as_dir=.
8006 for ac_exec_ext in '' $ac_executable_extensions; do
8007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8008 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8010 break 2
8012 done
8013 done
8014 IFS=$as_save_IFS
8018 MINGWAR=$ac_cv_prog_MINGWAR
8019 if test -n "$MINGWAR"; then
8020 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8021 echo "${ECHO_T}$MINGWAR" >&6; }
8022 else
8023 { echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6; }
8029 if test -z "$ac_cv_prog_MINGWAR"; then
8030 ac_ct_MINGWAR=$MINGWAR
8031 # Extract the first word of "ar", so it can be a program name with args.
8032 set dummy ar; ac_word=$2
8033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8035 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8036 echo $ECHO_N "(cached) $ECHO_C" >&6
8037 else
8038 if test -n "$ac_ct_MINGWAR"; then
8039 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8040 else
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8042 for as_dir in $PATH
8044 IFS=$as_save_IFS
8045 test -z "$as_dir" && as_dir=.
8046 for ac_exec_ext in '' $ac_executable_extensions; do
8047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8048 ac_cv_prog_ac_ct_MINGWAR="ar"
8049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8050 break 2
8052 done
8053 done
8054 IFS=$as_save_IFS
8058 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8059 if test -n "$ac_ct_MINGWAR"; then
8060 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8061 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8062 else
8063 { echo "$as_me:$LINENO: result: no" >&5
8064 echo "${ECHO_T}no" >&6; }
8067 if test "x$ac_ct_MINGWAR" = x; then
8068 MINGWAR="false"
8069 else
8070 case $cross_compiling:$ac_tool_warned in
8071 yes:)
8072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8073 whose name does not start with the host triplet. If you think this
8074 configuration is useful to you, please write to autoconf@gnu.org." >&5
8075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8076 whose name does not start with the host triplet. If you think this
8077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8078 ac_tool_warned=yes ;;
8079 esac
8080 MINGWAR=$ac_ct_MINGWAR
8082 else
8083 MINGWAR="$ac_cv_prog_MINGWAR"
8086 if test "$DLLWRAP" = "false"; then
8087 LIBEXT="a"
8088 else
8089 LIBEXT="dll"
8091 IMPLIBEXT="a"
8092 WIN16_FILES=""
8093 WIN16_INSTALL=""
8095 darwin*|macosx*)
8096 DLLEXT=".so"
8097 LIBEXT="dylib"
8098 DLLFLAGS="$DLLFLAGS -fPIC"
8099 LDDLLFLAGS="-bundle -multiply_defined suppress"
8100 LIBWINE_LDFLAGS="-multiply_defined suppress"
8101 LDSHARED="\$(CC) -dynamiclib"
8102 STRIP="$STRIP -x"
8103 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8104 COREFOUNDATIONLIB="-framework CoreFoundation"
8106 IOKITLIB="-framework IOKit -framework CoreFoundation"
8108 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8110 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8111 then
8112 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8115 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8116 then
8117 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8120 case $host_cpu in
8121 *powerpc*)
8122 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8123 esac
8124 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8125 then
8126 CARBONLIB="-framework Carbon"
8128 QUARTZFILES='$(QUARTZFILES)'
8132 DLLFLAGS="$DLLFLAGS -fPIC"
8133 DLLEXT=".so"
8134 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8135 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8136 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8137 echo $ECHO_N "(cached) $ECHO_C" >&6
8138 else
8139 ac_wine_try_cflags_saved=$CFLAGS
8140 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8141 cat >conftest.$ac_ext <<_ACEOF
8142 void myfunc() {}
8143 _ACEOF
8144 rm -f conftest.$ac_objext conftest$ac_exeext
8145 if { (ac_try="$ac_link"
8146 case "(($ac_try" in
8147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8148 *) ac_try_echo=$ac_try;;
8149 esac
8150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8151 (eval "$ac_link") 2>conftest.er1
8152 ac_status=$?
8153 grep -v '^ *+' conftest.er1 >conftest.err
8154 rm -f conftest.er1
8155 cat conftest.err >&5
8156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157 (exit $ac_status); } && {
8158 test -z "$ac_c_werror_flag" ||
8159 test ! -s conftest.err
8160 } && test -s conftest$ac_exeext &&
8161 $as_test_x conftest$ac_exeext; then
8162 ac_cv_c_dll_gnuelf="yes"
8163 else
8164 echo "$as_me: failed program was:" >&5
8165 sed 's/^/| /' conftest.$ac_ext >&5
8167 ac_cv_c_dll_gnuelf="no"
8170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8171 conftest$ac_exeext conftest.$ac_ext
8172 CFLAGS=$ac_wine_try_cflags_saved
8174 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8175 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8176 if test "$ac_cv_c_dll_gnuelf" = "yes"
8177 then
8178 LDSHARED="\$(CC) -shared"
8179 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8180 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8181 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8182 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8183 echo $ECHO_N "(cached) $ECHO_C" >&6
8184 else
8185 ac_wine_try_cflags_saved=$CFLAGS
8186 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8187 cat >conftest.$ac_ext <<_ACEOF
8188 /* confdefs.h. */
8189 _ACEOF
8190 cat confdefs.h >>conftest.$ac_ext
8191 cat >>conftest.$ac_ext <<_ACEOF
8192 /* end confdefs.h. */
8195 main ()
8199 return 0;
8201 _ACEOF
8202 rm -f conftest.$ac_objext conftest$ac_exeext
8203 if { (ac_try="$ac_link"
8204 case "(($ac_try" in
8205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8206 *) ac_try_echo=$ac_try;;
8207 esac
8208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8209 (eval "$ac_link") 2>conftest.er1
8210 ac_status=$?
8211 grep -v '^ *+' conftest.er1 >conftest.err
8212 rm -f conftest.er1
8213 cat conftest.err >&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } && {
8216 test -z "$ac_c_werror_flag" ||
8217 test ! -s conftest.err
8218 } && test -s conftest$ac_exeext &&
8219 $as_test_x conftest$ac_exeext; then
8220 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8221 else
8222 echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.$ac_ext >&5
8225 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8229 conftest$ac_exeext conftest.$ac_ext
8230 CFLAGS=$ac_wine_try_cflags_saved
8232 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8233 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8234 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8235 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8236 else
8237 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8238 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8239 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8240 echo $ECHO_N "(cached) $ECHO_C" >&6
8241 else
8242 ac_wine_try_cflags_saved=$CFLAGS
8243 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8244 cat >conftest.$ac_ext <<_ACEOF
8245 /* confdefs.h. */
8246 _ACEOF
8247 cat confdefs.h >>conftest.$ac_ext
8248 cat >>conftest.$ac_ext <<_ACEOF
8249 /* end confdefs.h. */
8252 main ()
8256 return 0;
8258 _ACEOF
8259 rm -f conftest.$ac_objext conftest$ac_exeext
8260 if { (ac_try="$ac_link"
8261 case "(($ac_try" in
8262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8263 *) ac_try_echo=$ac_try;;
8264 esac
8265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8266 (eval "$ac_link") 2>conftest.er1
8267 ac_status=$?
8268 grep -v '^ *+' conftest.er1 >conftest.err
8269 rm -f conftest.er1
8270 cat conftest.err >&5
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 (exit $ac_status); } && {
8273 test -z "$ac_c_werror_flag" ||
8274 test ! -s conftest.err
8275 } && test -s conftest$ac_exeext &&
8276 $as_test_x conftest$ac_exeext; then
8277 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8278 else
8279 echo "$as_me: failed program was:" >&5
8280 sed 's/^/| /' conftest.$ac_ext >&5
8282 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8286 conftest$ac_exeext conftest.$ac_ext
8287 CFLAGS=$ac_wine_try_cflags_saved
8289 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8290 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8291 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8292 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8298 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8299 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8300 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8301 echo $ECHO_N "(cached) $ECHO_C" >&6
8302 else
8303 ac_wine_try_cflags_saved=$CFLAGS
8304 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8305 cat >conftest.$ac_ext <<_ACEOF
8306 /* confdefs.h. */
8307 _ACEOF
8308 cat confdefs.h >>conftest.$ac_ext
8309 cat >>conftest.$ac_ext <<_ACEOF
8310 /* end confdefs.h. */
8313 main ()
8317 return 0;
8319 _ACEOF
8320 rm -f conftest.$ac_objext conftest$ac_exeext
8321 if { (ac_try="$ac_link"
8322 case "(($ac_try" in
8323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8324 *) ac_try_echo=$ac_try;;
8325 esac
8326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8327 (eval "$ac_link") 2>conftest.er1
8328 ac_status=$?
8329 grep -v '^ *+' conftest.er1 >conftest.err
8330 rm -f conftest.er1
8331 cat conftest.err >&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); } && {
8334 test -z "$ac_c_werror_flag" ||
8335 test ! -s conftest.err
8336 } && test -s conftest$ac_exeext &&
8337 $as_test_x conftest$ac_exeext; then
8338 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8339 else
8340 echo "$as_me: failed program was:" >&5
8341 sed 's/^/| /' conftest.$ac_ext >&5
8343 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8347 conftest$ac_exeext conftest.$ac_ext
8348 CFLAGS=$ac_wine_try_cflags_saved
8350 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8351 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8352 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8353 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8357 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8358 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8359 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8360 echo $ECHO_N "(cached) $ECHO_C" >&6
8361 else
8362 ac_wine_try_cflags_saved=$CFLAGS
8363 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8364 cat >conftest.$ac_ext <<_ACEOF
8365 /* confdefs.h. */
8366 _ACEOF
8367 cat confdefs.h >>conftest.$ac_ext
8368 cat >>conftest.$ac_ext <<_ACEOF
8369 /* end confdefs.h. */
8372 main ()
8376 return 0;
8378 _ACEOF
8379 rm -f conftest.$ac_objext conftest$ac_exeext
8380 if { (ac_try="$ac_link"
8381 case "(($ac_try" in
8382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8383 *) ac_try_echo=$ac_try;;
8384 esac
8385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8386 (eval "$ac_link") 2>conftest.er1
8387 ac_status=$?
8388 grep -v '^ *+' conftest.er1 >conftest.err
8389 rm -f conftest.er1
8390 cat conftest.err >&5
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); } && {
8393 test -z "$ac_c_werror_flag" ||
8394 test ! -s conftest.err
8395 } && test -s conftest$ac_exeext &&
8396 $as_test_x conftest$ac_exeext; then
8397 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8398 else
8399 echo "$as_me: failed program was:" >&5
8400 sed 's/^/| /' conftest.$ac_ext >&5
8402 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8406 conftest$ac_exeext conftest.$ac_ext
8407 CFLAGS=$ac_wine_try_cflags_saved
8409 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8410 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8411 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8412 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8416 echo '{ global: *; };' >conftest.map
8417 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8418 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8419 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8421 else
8422 ac_wine_try_cflags_saved=$CFLAGS
8423 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8424 cat >conftest.$ac_ext <<_ACEOF
8425 /* confdefs.h. */
8426 _ACEOF
8427 cat confdefs.h >>conftest.$ac_ext
8428 cat >>conftest.$ac_ext <<_ACEOF
8429 /* end confdefs.h. */
8432 main ()
8436 return 0;
8438 _ACEOF
8439 rm -f conftest.$ac_objext conftest$ac_exeext
8440 if { (ac_try="$ac_link"
8441 case "(($ac_try" in
8442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8443 *) ac_try_echo=$ac_try;;
8444 esac
8445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8446 (eval "$ac_link") 2>conftest.er1
8447 ac_status=$?
8448 grep -v '^ *+' conftest.er1 >conftest.err
8449 rm -f conftest.er1
8450 cat conftest.err >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); } && {
8453 test -z "$ac_c_werror_flag" ||
8454 test ! -s conftest.err
8455 } && test -s conftest$ac_exeext &&
8456 $as_test_x conftest$ac_exeext; then
8457 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8458 else
8459 echo "$as_me: failed program was:" >&5
8460 sed 's/^/| /' conftest.$ac_ext >&5
8462 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8466 conftest$ac_exeext conftest.$ac_ext
8467 CFLAGS=$ac_wine_try_cflags_saved
8469 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8470 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8471 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8472 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8475 rm -f conftest.map
8477 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8478 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8479 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8480 echo $ECHO_N "(cached) $ECHO_C" >&6
8481 else
8482 ac_wine_try_cflags_saved=$CFLAGS
8483 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8484 cat >conftest.$ac_ext <<_ACEOF
8485 /* confdefs.h. */
8486 _ACEOF
8487 cat confdefs.h >>conftest.$ac_ext
8488 cat >>conftest.$ac_ext <<_ACEOF
8489 /* end confdefs.h. */
8492 main ()
8496 return 0;
8498 _ACEOF
8499 rm -f conftest.$ac_objext conftest$ac_exeext
8500 if { (ac_try="$ac_link"
8501 case "(($ac_try" in
8502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8503 *) ac_try_echo=$ac_try;;
8504 esac
8505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8506 (eval "$ac_link") 2>conftest.er1
8507 ac_status=$?
8508 grep -v '^ *+' conftest.er1 >conftest.err
8509 rm -f conftest.er1
8510 cat conftest.err >&5
8511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512 (exit $ac_status); } && {
8513 test -z "$ac_c_werror_flag" ||
8514 test ! -s conftest.err
8515 } && test -s conftest$ac_exeext &&
8516 $as_test_x conftest$ac_exeext; then
8517 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8518 else
8519 echo "$as_me: failed program was:" >&5
8520 sed 's/^/| /' conftest.$ac_ext >&5
8522 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8526 conftest$ac_exeext conftest.$ac_ext
8527 CFLAGS=$ac_wine_try_cflags_saved
8529 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8530 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8531 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8532 LDEXECFLAGS="-Wl,--export-dynamic"
8537 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8538 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8539 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8540 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8541 echo $ECHO_N "(cached) $ECHO_C" >&6
8542 else
8543 ac_wine_try_cflags_saved=$CFLAGS
8544 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8545 cat >conftest.$ac_ext <<_ACEOF
8546 /* confdefs.h. */
8547 _ACEOF
8548 cat confdefs.h >>conftest.$ac_ext
8549 cat >>conftest.$ac_ext <<_ACEOF
8550 /* end confdefs.h. */
8553 main ()
8557 return 0;
8559 _ACEOF
8560 rm -f conftest.$ac_objext conftest$ac_exeext
8561 if { (ac_try="$ac_link"
8562 case "(($ac_try" in
8563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8564 *) ac_try_echo=$ac_try;;
8565 esac
8566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8567 (eval "$ac_link") 2>conftest.er1
8568 ac_status=$?
8569 grep -v '^ *+' conftest.er1 >conftest.err
8570 rm -f conftest.er1
8571 cat conftest.err >&5
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); } && {
8574 test -z "$ac_c_werror_flag" ||
8575 test ! -s conftest.err
8576 } && test -s conftest$ac_exeext &&
8577 $as_test_x conftest$ac_exeext; then
8578 eval "$as_ac_var=yes"
8579 else
8580 echo "$as_me: failed program was:" >&5
8581 sed 's/^/| /' conftest.$ac_ext >&5
8583 eval "$as_ac_var=no"
8586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8587 conftest$ac_exeext conftest.$ac_ext
8588 CFLAGS=$ac_wine_try_cflags_saved
8590 ac_res=`eval echo '${'$as_ac_var'}'`
8591 { echo "$as_me:$LINENO: result: $ac_res" >&5
8592 echo "${ECHO_T}$ac_res" >&6; }
8593 if test `eval echo '${'$as_ac_var'}'` = yes; then
8594 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8595 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8596 else
8597 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8598 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8599 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8600 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8601 echo $ECHO_N "(cached) $ECHO_C" >&6
8602 else
8603 ac_wine_try_cflags_saved=$CFLAGS
8604 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8605 cat >conftest.$ac_ext <<_ACEOF
8606 /* confdefs.h. */
8607 _ACEOF
8608 cat confdefs.h >>conftest.$ac_ext
8609 cat >>conftest.$ac_ext <<_ACEOF
8610 /* end confdefs.h. */
8613 main ()
8617 return 0;
8619 _ACEOF
8620 rm -f conftest.$ac_objext conftest$ac_exeext
8621 if { (ac_try="$ac_link"
8622 case "(($ac_try" in
8623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8624 *) ac_try_echo=$ac_try;;
8625 esac
8626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8627 (eval "$ac_link") 2>conftest.er1
8628 ac_status=$?
8629 grep -v '^ *+' conftest.er1 >conftest.err
8630 rm -f conftest.er1
8631 cat conftest.err >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); } && {
8634 test -z "$ac_c_werror_flag" ||
8635 test ! -s conftest.err
8636 } && test -s conftest$ac_exeext &&
8637 $as_test_x conftest$ac_exeext; then
8638 eval "$as_ac_var=yes"
8639 else
8640 echo "$as_me: failed program was:" >&5
8641 sed 's/^/| /' conftest.$ac_ext >&5
8643 eval "$as_ac_var=no"
8646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8647 conftest$ac_exeext conftest.$ac_ext
8648 CFLAGS=$ac_wine_try_cflags_saved
8650 ac_res=`eval echo '${'$as_ac_var'}'`
8651 { echo "$as_me:$LINENO: result: $ac_res" >&5
8652 echo "${ECHO_T}$ac_res" >&6; }
8653 if test `eval echo '${'$as_ac_var'}'` = yes; then
8654 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8655 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8661 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8662 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8663 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8664 echo $ECHO_N "(cached) $ECHO_C" >&6
8665 else
8666 ac_wine_try_cflags_saved=$CFLAGS
8667 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8668 cat >conftest.$ac_ext <<_ACEOF
8669 /* confdefs.h. */
8670 _ACEOF
8671 cat confdefs.h >>conftest.$ac_ext
8672 cat >>conftest.$ac_ext <<_ACEOF
8673 /* end confdefs.h. */
8676 main ()
8680 return 0;
8682 _ACEOF
8683 rm -f conftest.$ac_objext conftest$ac_exeext
8684 if { (ac_try="$ac_link"
8685 case "(($ac_try" in
8686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8687 *) ac_try_echo=$ac_try;;
8688 esac
8689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8690 (eval "$ac_link") 2>conftest.er1
8691 ac_status=$?
8692 grep -v '^ *+' conftest.er1 >conftest.err
8693 rm -f conftest.er1
8694 cat conftest.err >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); } && {
8697 test -z "$ac_c_werror_flag" ||
8698 test ! -s conftest.err
8699 } && test -s conftest$ac_exeext &&
8700 $as_test_x conftest$ac_exeext; then
8701 ac_cv_cflags__Wl___enable_new_dtags=yes
8702 else
8703 echo "$as_me: failed program was:" >&5
8704 sed 's/^/| /' conftest.$ac_ext >&5
8706 ac_cv_cflags__Wl___enable_new_dtags=no
8709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8710 conftest$ac_exeext conftest.$ac_ext
8711 CFLAGS=$ac_wine_try_cflags_saved
8713 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8714 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8715 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8716 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8720 case $host_cpu in
8721 *i[3456789]86* | x86_64)
8722 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8723 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8724 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8725 echo $ECHO_N "(cached) $ECHO_C" >&6
8726 else
8727 ac_wine_try_cflags_saved=$CFLAGS
8728 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8729 cat >conftest.$ac_ext <<_ACEOF
8730 /* confdefs.h. */
8731 _ACEOF
8732 cat confdefs.h >>conftest.$ac_ext
8733 cat >>conftest.$ac_ext <<_ACEOF
8734 /* end confdefs.h. */
8737 main ()
8741 return 0;
8743 _ACEOF
8744 rm -f conftest.$ac_objext conftest$ac_exeext
8745 if { (ac_try="$ac_link"
8746 case "(($ac_try" in
8747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8748 *) ac_try_echo=$ac_try;;
8749 esac
8750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8751 (eval "$ac_link") 2>conftest.er1
8752 ac_status=$?
8753 grep -v '^ *+' conftest.er1 >conftest.err
8754 rm -f conftest.er1
8755 cat conftest.err >&5
8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757 (exit $ac_status); } && {
8758 test -z "$ac_c_werror_flag" ||
8759 test ! -s conftest.err
8760 } && test -s conftest$ac_exeext &&
8761 $as_test_x conftest$ac_exeext; then
8762 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8763 else
8764 echo "$as_me: failed program was:" >&5
8765 sed 's/^/| /' conftest.$ac_ext >&5
8767 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8771 conftest$ac_exeext conftest.$ac_ext
8772 CFLAGS=$ac_wine_try_cflags_saved
8774 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8775 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8776 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8777 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8781 esac
8783 else
8784 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8785 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8786 if test "${ac_cv_c_dll_unixware+set}" = set; then
8787 echo $ECHO_N "(cached) $ECHO_C" >&6
8788 else
8789 ac_wine_try_cflags_saved=$CFLAGS
8790 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8791 cat >conftest.$ac_ext <<_ACEOF
8792 void myfunc() {}
8793 _ACEOF
8794 rm -f conftest.$ac_objext conftest$ac_exeext
8795 if { (ac_try="$ac_link"
8796 case "(($ac_try" in
8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8798 *) ac_try_echo=$ac_try;;
8799 esac
8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8801 (eval "$ac_link") 2>conftest.er1
8802 ac_status=$?
8803 grep -v '^ *+' conftest.er1 >conftest.err
8804 rm -f conftest.er1
8805 cat conftest.err >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); } && {
8808 test -z "$ac_c_werror_flag" ||
8809 test ! -s conftest.err
8810 } && test -s conftest$ac_exeext &&
8811 $as_test_x conftest$ac_exeext; then
8812 ac_cv_c_dll_unixware="yes"
8813 else
8814 echo "$as_me: failed program was:" >&5
8815 sed 's/^/| /' conftest.$ac_ext >&5
8817 ac_cv_c_dll_unixware="no"
8820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8821 conftest$ac_exeext conftest.$ac_ext
8822 CFLAGS=$ac_wine_try_cflags_saved
8824 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8825 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8826 if test "$ac_cv_c_dll_unixware" = "yes"
8827 then
8828 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8829 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8831 else
8832 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8833 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8834 if test "${ac_cv_c_dll_hpux+set}" = set; then
8835 echo $ECHO_N "(cached) $ECHO_C" >&6
8836 else
8837 ac_wine_try_cflags_saved=$CFLAGS
8838 CFLAGS="$CFLAGS -shared"
8839 cat >conftest.$ac_ext <<_ACEOF
8840 void myfunc() {}
8841 _ACEOF
8842 rm -f conftest.$ac_objext conftest$ac_exeext
8843 if { (ac_try="$ac_link"
8844 case "(($ac_try" in
8845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8846 *) ac_try_echo=$ac_try;;
8847 esac
8848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8849 (eval "$ac_link") 2>conftest.er1
8850 ac_status=$?
8851 grep -v '^ *+' conftest.er1 >conftest.err
8852 rm -f conftest.er1
8853 cat conftest.err >&5
8854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855 (exit $ac_status); } && {
8856 test -z "$ac_c_werror_flag" ||
8857 test ! -s conftest.err
8858 } && test -s conftest$ac_exeext &&
8859 $as_test_x conftest$ac_exeext; then
8860 ac_cv_c_dll_hpux="yes"
8861 else
8862 echo "$as_me: failed program was:" >&5
8863 sed 's/^/| /' conftest.$ac_ext >&5
8865 ac_cv_c_dll_hpux="no"
8868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8869 conftest$ac_exeext conftest.$ac_ext
8870 CFLAGS=$ac_wine_try_cflags_saved
8872 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8873 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8874 if test "$ac_cv_c_dll_hpux" = "yes"
8875 then
8876 LIBEXT="sl"
8877 DLLEXT=".sl"
8878 LDDLLFLAGS="-shared -fPIC"
8879 LDSHARED="\$(CC) -shared"
8884 CROSSTEST=""
8886 if test "$cross_compiling" = "no"
8887 then
8888 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8890 # Extract the first word of "$ac_prog", so it can be a program name with args.
8891 set dummy $ac_prog; ac_word=$2
8892 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8894 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6
8896 else
8897 if test -n "$CROSSCC"; then
8898 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8899 else
8900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8901 for as_dir in $PATH
8903 IFS=$as_save_IFS
8904 test -z "$as_dir" && as_dir=.
8905 for ac_exec_ext in '' $ac_executable_extensions; do
8906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8907 ac_cv_prog_CROSSCC="$ac_prog"
8908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8909 break 2
8911 done
8912 done
8913 IFS=$as_save_IFS
8917 CROSSCC=$ac_cv_prog_CROSSCC
8918 if test -n "$CROSSCC"; then
8919 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8920 echo "${ECHO_T}$CROSSCC" >&6; }
8921 else
8922 { echo "$as_me:$LINENO: result: no" >&5
8923 echo "${ECHO_T}no" >&6; }
8927 test -n "$CROSSCC" && break
8928 done
8929 test -n "$CROSSCC" || CROSSCC="false"
8931 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8933 # Extract the first word of "$ac_prog", so it can be a program name with args.
8934 set dummy $ac_prog; ac_word=$2
8935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8937 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8938 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 else
8940 if test -n "$DLLTOOL"; then
8941 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8942 else
8943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8944 for as_dir in $PATH
8946 IFS=$as_save_IFS
8947 test -z "$as_dir" && as_dir=.
8948 for ac_exec_ext in '' $ac_executable_extensions; do
8949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8950 ac_cv_prog_DLLTOOL="$ac_prog"
8951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8952 break 2
8954 done
8955 done
8956 IFS=$as_save_IFS
8960 DLLTOOL=$ac_cv_prog_DLLTOOL
8961 if test -n "$DLLTOOL"; then
8962 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8963 echo "${ECHO_T}$DLLTOOL" >&6; }
8964 else
8965 { echo "$as_me:$LINENO: result: no" >&5
8966 echo "${ECHO_T}no" >&6; }
8970 test -n "$DLLTOOL" && break
8971 done
8972 test -n "$DLLTOOL" || DLLTOOL="false"
8974 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8976 # Extract the first word of "$ac_prog", so it can be a program name with args.
8977 set dummy $ac_prog; ac_word=$2
8978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8980 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8981 echo $ECHO_N "(cached) $ECHO_C" >&6
8982 else
8983 if test -n "$CROSSWINDRES"; then
8984 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8985 else
8986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8987 for as_dir in $PATH
8989 IFS=$as_save_IFS
8990 test -z "$as_dir" && as_dir=.
8991 for ac_exec_ext in '' $ac_executable_extensions; do
8992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8993 ac_cv_prog_CROSSWINDRES="$ac_prog"
8994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8995 break 2
8997 done
8998 done
8999 IFS=$as_save_IFS
9003 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9004 if test -n "$CROSSWINDRES"; then
9005 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9006 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9007 else
9008 { echo "$as_me:$LINENO: result: no" >&5
9009 echo "${ECHO_T}no" >&6; }
9013 test -n "$CROSSWINDRES" && break
9014 done
9015 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9017 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
9019 # Extract the first word of "$ac_prog", so it can be a program name with args.
9020 set dummy $ac_prog; ac_word=$2
9021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9023 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9024 echo $ECHO_N "(cached) $ECHO_C" >&6
9025 else
9026 if test -n "$MINGWAR"; then
9027 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9028 else
9029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9030 for as_dir in $PATH
9032 IFS=$as_save_IFS
9033 test -z "$as_dir" && as_dir=.
9034 for ac_exec_ext in '' $ac_executable_extensions; do
9035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9036 ac_cv_prog_MINGWAR="$ac_prog"
9037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9038 break 2
9040 done
9041 done
9042 IFS=$as_save_IFS
9046 MINGWAR=$ac_cv_prog_MINGWAR
9047 if test -n "$MINGWAR"; then
9048 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9049 echo "${ECHO_T}$MINGWAR" >&6; }
9050 else
9051 { echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6; }
9056 test -n "$MINGWAR" && break
9057 done
9058 test -n "$MINGWAR" || MINGWAR="false"
9060 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9063 esac
9065 if test "$LIBEXT" = "a"; then
9066 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9067 It is currently not possible to build Wine without shared library
9068 (.so) support to allow transparent switch between .so and .dll files.
9069 If you are using Linux, you will need a newer binutils.
9070 " >&5
9071 echo "$as_me: error: could not find a way to build shared libraries.
9072 It is currently not possible to build Wine without shared library
9073 (.so) support to allow transparent switch between .so and .dll files.
9074 If you are using Linux, you will need a newer binutils.
9075 " >&2;}
9076 { (exit 1); exit 1; }; }
9080 if test "$have_x" = "yes"
9081 then
9082 XLIB="-lXext -lX11"
9083 ac_save_CPPFLAGS="$CPPFLAGS"
9084 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9086 { echo "$as_me:$LINENO: checking for -lX11" >&5
9087 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9088 if test "${ac_cv_lib_soname_X11+set}" = set; then
9089 echo $ECHO_N "(cached) $ECHO_C" >&6
9090 else
9091 ac_check_soname_save_LIBS=$LIBS
9092 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9093 cat >conftest.$ac_ext <<_ACEOF
9094 /* confdefs.h. */
9095 _ACEOF
9096 cat confdefs.h >>conftest.$ac_ext
9097 cat >>conftest.$ac_ext <<_ACEOF
9098 /* end confdefs.h. */
9100 /* Override any GCC internal prototype to avoid an error.
9101 Use char because int might match the return type of a GCC
9102 builtin and then its argument prototype would still apply. */
9103 #ifdef __cplusplus
9104 extern "C"
9105 #endif
9106 char XCreateWindow ();
9108 main ()
9110 return XCreateWindow ();
9112 return 0;
9114 _ACEOF
9115 rm -f conftest.$ac_objext conftest$ac_exeext
9116 if { (ac_try="$ac_link"
9117 case "(($ac_try" in
9118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9119 *) ac_try_echo=$ac_try;;
9120 esac
9121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9122 (eval "$ac_link") 2>conftest.er1
9123 ac_status=$?
9124 grep -v '^ *+' conftest.er1 >conftest.err
9125 rm -f conftest.er1
9126 cat conftest.err >&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); } && {
9129 test -z "$ac_c_werror_flag" ||
9130 test ! -s conftest.err
9131 } && test -s conftest$ac_exeext &&
9132 $as_test_x conftest$ac_exeext; then
9133 case "$LIBEXT" in
9134 dll) ;;
9135 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'` ;;
9136 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9137 esac
9138 else
9139 echo "$as_me: failed program was:" >&5
9140 sed 's/^/| /' conftest.$ac_ext >&5
9145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9146 conftest$ac_exeext conftest.$ac_ext
9147 LIBS=$ac_check_soname_save_LIBS
9149 if test "x$ac_cv_lib_soname_X11" = "x"; then
9150 { echo "$as_me:$LINENO: result: not found" >&5
9151 echo "${ECHO_T}not found" >&6; }
9153 else
9154 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9155 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9157 cat >>confdefs.h <<_ACEOF
9158 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9159 _ACEOF
9164 { echo "$as_me:$LINENO: checking for -lXext" >&5
9165 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9166 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9167 echo $ECHO_N "(cached) $ECHO_C" >&6
9168 else
9169 ac_check_soname_save_LIBS=$LIBS
9170 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9171 cat >conftest.$ac_ext <<_ACEOF
9172 /* confdefs.h. */
9173 _ACEOF
9174 cat confdefs.h >>conftest.$ac_ext
9175 cat >>conftest.$ac_ext <<_ACEOF
9176 /* end confdefs.h. */
9178 /* Override any GCC internal prototype to avoid an error.
9179 Use char because int might match the return type of a GCC
9180 builtin and then its argument prototype would still apply. */
9181 #ifdef __cplusplus
9182 extern "C"
9183 #endif
9184 char XextCreateExtension ();
9186 main ()
9188 return XextCreateExtension ();
9190 return 0;
9192 _ACEOF
9193 rm -f conftest.$ac_objext conftest$ac_exeext
9194 if { (ac_try="$ac_link"
9195 case "(($ac_try" in
9196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9197 *) ac_try_echo=$ac_try;;
9198 esac
9199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9200 (eval "$ac_link") 2>conftest.er1
9201 ac_status=$?
9202 grep -v '^ *+' conftest.er1 >conftest.err
9203 rm -f conftest.er1
9204 cat conftest.err >&5
9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9206 (exit $ac_status); } && {
9207 test -z "$ac_c_werror_flag" ||
9208 test ! -s conftest.err
9209 } && test -s conftest$ac_exeext &&
9210 $as_test_x conftest$ac_exeext; then
9211 case "$LIBEXT" in
9212 dll) ;;
9213 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'` ;;
9214 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9215 esac
9216 else
9217 echo "$as_me: failed program was:" >&5
9218 sed 's/^/| /' conftest.$ac_ext >&5
9223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9224 conftest$ac_exeext conftest.$ac_ext
9225 LIBS=$ac_check_soname_save_LIBS
9227 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9228 { echo "$as_me:$LINENO: result: not found" >&5
9229 echo "${ECHO_T}not found" >&6; }
9231 else
9232 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9233 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9235 cat >>confdefs.h <<_ACEOF
9236 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9237 _ACEOF
9254 for ac_header in X11/Xlib.h \
9255 X11/XKBlib.h \
9256 X11/Xutil.h \
9257 X11/Xcursor/Xcursor.h \
9258 X11/extensions/shape.h \
9259 X11/extensions/XInput.h \
9260 X11/extensions/XShm.h \
9261 X11/extensions/Xinerama.h \
9262 X11/extensions/Xrandr.h \
9263 X11/extensions/Xrender.h \
9264 X11/extensions/xf86vmode.h
9266 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9267 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9270 echo $ECHO_N "(cached) $ECHO_C" >&6
9271 else
9272 cat >conftest.$ac_ext <<_ACEOF
9273 /* confdefs.h. */
9274 _ACEOF
9275 cat confdefs.h >>conftest.$ac_ext
9276 cat >>conftest.$ac_ext <<_ACEOF
9277 /* end confdefs.h. */
9278 #ifdef HAVE_X11_XLIB_H
9279 # include <X11/Xlib.h>
9280 #endif
9281 #ifdef HAVE_X11_XUTIL_H
9282 # include <X11/Xutil.h>
9283 #endif
9285 #include <$ac_header>
9286 _ACEOF
9287 rm -f conftest.$ac_objext
9288 if { (ac_try="$ac_compile"
9289 case "(($ac_try" in
9290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9291 *) ac_try_echo=$ac_try;;
9292 esac
9293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9294 (eval "$ac_compile") 2>conftest.er1
9295 ac_status=$?
9296 grep -v '^ *+' conftest.er1 >conftest.err
9297 rm -f conftest.er1
9298 cat conftest.err >&5
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); } && {
9301 test -z "$ac_c_werror_flag" ||
9302 test ! -s conftest.err
9303 } && test -s conftest.$ac_objext; then
9304 eval "$as_ac_Header=yes"
9305 else
9306 echo "$as_me: failed program was:" >&5
9307 sed 's/^/| /' conftest.$ac_ext >&5
9309 eval "$as_ac_Header=no"
9312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9314 ac_res=`eval echo '${'$as_ac_Header'}'`
9315 { echo "$as_me:$LINENO: result: $ac_res" >&5
9316 echo "${ECHO_T}$ac_res" >&6; }
9317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9318 cat >>confdefs.h <<_ACEOF
9319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9320 _ACEOF
9324 done
9327 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9328 then
9329 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9330 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9331 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9332 echo $ECHO_N "(cached) $ECHO_C" >&6
9333 else
9334 ac_check_lib_save_LIBS=$LIBS
9335 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9336 cat >conftest.$ac_ext <<_ACEOF
9337 /* confdefs.h. */
9338 _ACEOF
9339 cat confdefs.h >>conftest.$ac_ext
9340 cat >>conftest.$ac_ext <<_ACEOF
9341 /* end confdefs.h. */
9343 /* Override any GCC internal prototype to avoid an error.
9344 Use char because int might match the return type of a GCC
9345 builtin and then its argument prototype would still apply. */
9346 #ifdef __cplusplus
9347 extern "C"
9348 #endif
9349 char XkbQueryExtension ();
9351 main ()
9353 return XkbQueryExtension ();
9355 return 0;
9357 _ACEOF
9358 rm -f conftest.$ac_objext conftest$ac_exeext
9359 if { (ac_try="$ac_link"
9360 case "(($ac_try" in
9361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9362 *) ac_try_echo=$ac_try;;
9363 esac
9364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9365 (eval "$ac_link") 2>conftest.er1
9366 ac_status=$?
9367 grep -v '^ *+' conftest.er1 >conftest.err
9368 rm -f conftest.er1
9369 cat conftest.err >&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); } && {
9372 test -z "$ac_c_werror_flag" ||
9373 test ! -s conftest.err
9374 } && test -s conftest$ac_exeext &&
9375 $as_test_x conftest$ac_exeext; then
9376 ac_cv_lib_X11_XkbQueryExtension=yes
9377 else
9378 echo "$as_me: failed program was:" >&5
9379 sed 's/^/| /' conftest.$ac_ext >&5
9381 ac_cv_lib_X11_XkbQueryExtension=no
9384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9385 conftest$ac_exeext conftest.$ac_ext
9386 LIBS=$ac_check_lib_save_LIBS
9388 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9389 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9390 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9392 cat >>confdefs.h <<\_ACEOF
9393 #define HAVE_XKB 1
9394 _ACEOF
9400 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9401 then
9402 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9403 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9404 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9405 echo $ECHO_N "(cached) $ECHO_C" >&6
9406 else
9407 ac_check_soname_save_LIBS=$LIBS
9408 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9409 cat >conftest.$ac_ext <<_ACEOF
9410 /* confdefs.h. */
9411 _ACEOF
9412 cat confdefs.h >>conftest.$ac_ext
9413 cat >>conftest.$ac_ext <<_ACEOF
9414 /* end confdefs.h. */
9416 /* Override any GCC internal prototype to avoid an error.
9417 Use char because int might match the return type of a GCC
9418 builtin and then its argument prototype would still apply. */
9419 #ifdef __cplusplus
9420 extern "C"
9421 #endif
9422 char XcursorImageLoadCursor ();
9424 main ()
9426 return XcursorImageLoadCursor ();
9428 return 0;
9430 _ACEOF
9431 rm -f conftest.$ac_objext conftest$ac_exeext
9432 if { (ac_try="$ac_link"
9433 case "(($ac_try" in
9434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9435 *) ac_try_echo=$ac_try;;
9436 esac
9437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9438 (eval "$ac_link") 2>conftest.er1
9439 ac_status=$?
9440 grep -v '^ *+' conftest.er1 >conftest.err
9441 rm -f conftest.er1
9442 cat conftest.err >&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); } && {
9445 test -z "$ac_c_werror_flag" ||
9446 test ! -s conftest.err
9447 } && test -s conftest$ac_exeext &&
9448 $as_test_x conftest$ac_exeext; then
9449 case "$LIBEXT" in
9450 dll) ;;
9451 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'` ;;
9452 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9453 esac
9454 else
9455 echo "$as_me: failed program was:" >&5
9456 sed 's/^/| /' conftest.$ac_ext >&5
9461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9462 conftest$ac_exeext conftest.$ac_ext
9463 LIBS=$ac_check_soname_save_LIBS
9465 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9466 { echo "$as_me:$LINENO: result: not found" >&5
9467 echo "${ECHO_T}not found" >&6; }
9469 else
9470 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9471 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9473 cat >>confdefs.h <<_ACEOF
9474 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9475 _ACEOF
9482 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9483 then
9484 { echo "$as_me:$LINENO: checking for -lXi" >&5
9485 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9486 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9488 else
9489 ac_check_soname_save_LIBS=$LIBS
9490 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9491 cat >conftest.$ac_ext <<_ACEOF
9492 /* confdefs.h. */
9493 _ACEOF
9494 cat confdefs.h >>conftest.$ac_ext
9495 cat >>conftest.$ac_ext <<_ACEOF
9496 /* end confdefs.h. */
9498 /* Override any GCC internal prototype to avoid an error.
9499 Use char because int might match the return type of a GCC
9500 builtin and then its argument prototype would still apply. */
9501 #ifdef __cplusplus
9502 extern "C"
9503 #endif
9504 char XOpenDevice ();
9506 main ()
9508 return XOpenDevice ();
9510 return 0;
9512 _ACEOF
9513 rm -f conftest.$ac_objext conftest$ac_exeext
9514 if { (ac_try="$ac_link"
9515 case "(($ac_try" in
9516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9517 *) ac_try_echo=$ac_try;;
9518 esac
9519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9520 (eval "$ac_link") 2>conftest.er1
9521 ac_status=$?
9522 grep -v '^ *+' conftest.er1 >conftest.err
9523 rm -f conftest.er1
9524 cat conftest.err >&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); } && {
9527 test -z "$ac_c_werror_flag" ||
9528 test ! -s conftest.err
9529 } && test -s conftest$ac_exeext &&
9530 $as_test_x conftest$ac_exeext; then
9531 case "$LIBEXT" in
9532 dll) ;;
9533 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'` ;;
9534 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9535 esac
9536 else
9537 echo "$as_me: failed program was:" >&5
9538 sed 's/^/| /' conftest.$ac_ext >&5
9543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9544 conftest$ac_exeext conftest.$ac_ext
9545 LIBS=$ac_check_soname_save_LIBS
9547 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9548 { echo "$as_me:$LINENO: result: not found" >&5
9549 echo "${ECHO_T}not found" >&6; }
9551 else
9552 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9553 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9555 cat >>confdefs.h <<_ACEOF
9556 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9557 _ACEOF
9564 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9565 then
9566 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9567 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9568 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9569 echo $ECHO_N "(cached) $ECHO_C" >&6
9570 else
9571 ac_check_lib_save_LIBS=$LIBS
9572 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9573 cat >conftest.$ac_ext <<_ACEOF
9574 /* confdefs.h. */
9575 _ACEOF
9576 cat confdefs.h >>conftest.$ac_ext
9577 cat >>conftest.$ac_ext <<_ACEOF
9578 /* end confdefs.h. */
9580 /* Override any GCC internal prototype to avoid an error.
9581 Use char because int might match the return type of a GCC
9582 builtin and then its argument prototype would still apply. */
9583 #ifdef __cplusplus
9584 extern "C"
9585 #endif
9586 char XShmQueryExtension ();
9588 main ()
9590 return XShmQueryExtension ();
9592 return 0;
9594 _ACEOF
9595 rm -f conftest.$ac_objext conftest$ac_exeext
9596 if { (ac_try="$ac_link"
9597 case "(($ac_try" in
9598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9599 *) ac_try_echo=$ac_try;;
9600 esac
9601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9602 (eval "$ac_link") 2>conftest.er1
9603 ac_status=$?
9604 grep -v '^ *+' conftest.er1 >conftest.err
9605 rm -f conftest.er1
9606 cat conftest.err >&5
9607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); } && {
9609 test -z "$ac_c_werror_flag" ||
9610 test ! -s conftest.err
9611 } && test -s conftest$ac_exeext &&
9612 $as_test_x conftest$ac_exeext; then
9613 ac_cv_lib_Xext_XShmQueryExtension=yes
9614 else
9615 echo "$as_me: failed program was:" >&5
9616 sed 's/^/| /' conftest.$ac_ext >&5
9618 ac_cv_lib_Xext_XShmQueryExtension=no
9621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9622 conftest$ac_exeext conftest.$ac_ext
9623 LIBS=$ac_check_lib_save_LIBS
9625 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9626 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9627 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9629 cat >>confdefs.h <<\_ACEOF
9630 #define HAVE_LIBXXSHM 1
9631 _ACEOF
9636 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9637 wine_notices="$wine_notices|XShm development files not found.
9638 Wine will be built without XShm support. (winex11.drv)"
9642 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9643 then
9644 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9645 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9646 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9647 echo $ECHO_N "(cached) $ECHO_C" >&6
9648 else
9649 ac_check_lib_save_LIBS=$LIBS
9650 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9651 cat >conftest.$ac_ext <<_ACEOF
9652 /* confdefs.h. */
9653 _ACEOF
9654 cat confdefs.h >>conftest.$ac_ext
9655 cat >>conftest.$ac_ext <<_ACEOF
9656 /* end confdefs.h. */
9658 /* Override any GCC internal prototype to avoid an error.
9659 Use char because int might match the return type of a GCC
9660 builtin and then its argument prototype would still apply. */
9661 #ifdef __cplusplus
9662 extern "C"
9663 #endif
9664 char XShapeQueryExtension ();
9666 main ()
9668 return XShapeQueryExtension ();
9670 return 0;
9672 _ACEOF
9673 rm -f conftest.$ac_objext conftest$ac_exeext
9674 if { (ac_try="$ac_link"
9675 case "(($ac_try" in
9676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9677 *) ac_try_echo=$ac_try;;
9678 esac
9679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9680 (eval "$ac_link") 2>conftest.er1
9681 ac_status=$?
9682 grep -v '^ *+' conftest.er1 >conftest.err
9683 rm -f conftest.er1
9684 cat conftest.err >&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); } && {
9687 test -z "$ac_c_werror_flag" ||
9688 test ! -s conftest.err
9689 } && test -s conftest$ac_exeext &&
9690 $as_test_x conftest$ac_exeext; then
9691 ac_cv_lib_Xext_XShapeQueryExtension=yes
9692 else
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.$ac_ext >&5
9696 ac_cv_lib_Xext_XShapeQueryExtension=no
9699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9700 conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_lib_save_LIBS
9703 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9704 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9705 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9707 cat >>confdefs.h <<\_ACEOF
9708 #define HAVE_LIBXSHAPE 1
9709 _ACEOF
9714 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9715 wine_notices="$wine_notices|XShape development files not found.
9716 Wine will be built without XShape support. (winex11.drv)"
9720 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9721 then
9722 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9723 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9724 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9725 echo $ECHO_N "(cached) $ECHO_C" >&6
9726 else
9727 ac_check_lib_save_LIBS=$LIBS
9728 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9729 cat >conftest.$ac_ext <<_ACEOF
9730 /* confdefs.h. */
9731 _ACEOF
9732 cat confdefs.h >>conftest.$ac_ext
9733 cat >>conftest.$ac_ext <<_ACEOF
9734 /* end confdefs.h. */
9736 /* Override any GCC internal prototype to avoid an error.
9737 Use char because int might match the return type of a GCC
9738 builtin and then its argument prototype would still apply. */
9739 #ifdef __cplusplus
9740 extern "C"
9741 #endif
9742 char XF86VidModeQueryExtension ();
9744 main ()
9746 return XF86VidModeQueryExtension ();
9748 return 0;
9750 _ACEOF
9751 rm -f conftest.$ac_objext conftest$ac_exeext
9752 if { (ac_try="$ac_link"
9753 case "(($ac_try" in
9754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9755 *) ac_try_echo=$ac_try;;
9756 esac
9757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9758 (eval "$ac_link") 2>conftest.er1
9759 ac_status=$?
9760 grep -v '^ *+' conftest.er1 >conftest.err
9761 rm -f conftest.er1
9762 cat conftest.err >&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); } && {
9765 test -z "$ac_c_werror_flag" ||
9766 test ! -s conftest.err
9767 } && test -s conftest$ac_exeext &&
9768 $as_test_x conftest$ac_exeext; then
9769 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9770 else
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9774 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_lib_save_LIBS
9781 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9782 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9783 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9785 cat >>confdefs.h <<\_ACEOF
9786 #define HAVE_LIBXXF86VM 1
9787 _ACEOF
9789 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9794 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9795 wine_notices="$wine_notices|Xxf86vm development files not found.
9796 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9800 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"
9801 then
9802 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9803 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9804 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9805 echo $ECHO_N "(cached) $ECHO_C" >&6
9806 else
9807 ac_check_soname_save_LIBS=$LIBS
9808 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9809 cat >conftest.$ac_ext <<_ACEOF
9810 /* confdefs.h. */
9811 _ACEOF
9812 cat confdefs.h >>conftest.$ac_ext
9813 cat >>conftest.$ac_ext <<_ACEOF
9814 /* end confdefs.h. */
9816 /* Override any GCC internal prototype to avoid an error.
9817 Use char because int might match the return type of a GCC
9818 builtin and then its argument prototype would still apply. */
9819 #ifdef __cplusplus
9820 extern "C"
9821 #endif
9822 char XRenderQueryExtension ();
9824 main ()
9826 return XRenderQueryExtension ();
9828 return 0;
9830 _ACEOF
9831 rm -f conftest.$ac_objext conftest$ac_exeext
9832 if { (ac_try="$ac_link"
9833 case "(($ac_try" in
9834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9835 *) ac_try_echo=$ac_try;;
9836 esac
9837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9838 (eval "$ac_link") 2>conftest.er1
9839 ac_status=$?
9840 grep -v '^ *+' conftest.er1 >conftest.err
9841 rm -f conftest.er1
9842 cat conftest.err >&5
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); } && {
9845 test -z "$ac_c_werror_flag" ||
9846 test ! -s conftest.err
9847 } && test -s conftest$ac_exeext &&
9848 $as_test_x conftest$ac_exeext; then
9849 case "$LIBEXT" in
9850 dll) ;;
9851 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'` ;;
9852 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9853 esac
9854 else
9855 echo "$as_me: failed program was:" >&5
9856 sed 's/^/| /' conftest.$ac_ext >&5
9861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9862 conftest$ac_exeext conftest.$ac_ext
9863 LIBS=$ac_check_soname_save_LIBS
9865 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9866 { echo "$as_me:$LINENO: result: not found" >&5
9867 echo "${ECHO_T}not found" >&6; }
9869 else
9870 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9871 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9873 cat >>confdefs.h <<_ACEOF
9874 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9875 _ACEOF
9877 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9878 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9879 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9880 echo $ECHO_N "(cached) $ECHO_C" >&6
9881 else
9882 ac_check_lib_save_LIBS=$LIBS
9883 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9884 cat >conftest.$ac_ext <<_ACEOF
9885 /* confdefs.h. */
9886 _ACEOF
9887 cat confdefs.h >>conftest.$ac_ext
9888 cat >>conftest.$ac_ext <<_ACEOF
9889 /* end confdefs.h. */
9891 /* Override any GCC internal prototype to avoid an error.
9892 Use char because int might match the return type of a GCC
9893 builtin and then its argument prototype would still apply. */
9894 #ifdef __cplusplus
9895 extern "C"
9896 #endif
9897 char XRenderSetPictureTransform ();
9899 main ()
9901 return XRenderSetPictureTransform ();
9903 return 0;
9905 _ACEOF
9906 rm -f conftest.$ac_objext conftest$ac_exeext
9907 if { (ac_try="$ac_link"
9908 case "(($ac_try" in
9909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9910 *) ac_try_echo=$ac_try;;
9911 esac
9912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9913 (eval "$ac_link") 2>conftest.er1
9914 ac_status=$?
9915 grep -v '^ *+' conftest.er1 >conftest.err
9916 rm -f conftest.er1
9917 cat conftest.err >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); } && {
9920 test -z "$ac_c_werror_flag" ||
9921 test ! -s conftest.err
9922 } && test -s conftest$ac_exeext &&
9923 $as_test_x conftest$ac_exeext; then
9924 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9925 else
9926 echo "$as_me: failed program was:" >&5
9927 sed 's/^/| /' conftest.$ac_ext >&5
9929 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9933 conftest$ac_exeext conftest.$ac_ext
9934 LIBS=$ac_check_lib_save_LIBS
9936 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9937 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9938 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9940 cat >>confdefs.h <<\_ACEOF
9941 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9942 _ACEOF
9950 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9951 wine_notices="$wine_notices|XRender development files not found.
9952 Wine will be built without XRender support. (winex11.drv)"
9956 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9957 then
9958 cat >conftest.$ac_ext <<_ACEOF
9959 /* confdefs.h. */
9960 _ACEOF
9961 cat confdefs.h >>conftest.$ac_ext
9962 cat >>conftest.$ac_ext <<_ACEOF
9963 /* end confdefs.h. */
9964 #include <X11/Xlib.h>
9965 #include <X11/extensions/Xrandr.h>
9967 main ()
9969 static typeof(XRRSetScreenConfigAndRate) * func;
9971 return 0;
9973 _ACEOF
9974 rm -f conftest.$ac_objext
9975 if { (ac_try="$ac_compile"
9976 case "(($ac_try" in
9977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9978 *) ac_try_echo=$ac_try;;
9979 esac
9980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9981 (eval "$ac_compile") 2>conftest.er1
9982 ac_status=$?
9983 grep -v '^ *+' conftest.er1 >conftest.err
9984 rm -f conftest.er1
9985 cat conftest.err >&5
9986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987 (exit $ac_status); } && {
9988 test -z "$ac_c_werror_flag" ||
9989 test ! -s conftest.err
9990 } && test -s conftest.$ac_objext; then
9991 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9992 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9993 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9994 echo $ECHO_N "(cached) $ECHO_C" >&6
9995 else
9996 ac_check_soname_save_LIBS=$LIBS
9997 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9998 cat >conftest.$ac_ext <<_ACEOF
9999 /* confdefs.h. */
10000 _ACEOF
10001 cat confdefs.h >>conftest.$ac_ext
10002 cat >>conftest.$ac_ext <<_ACEOF
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10008 #ifdef __cplusplus
10009 extern "C"
10010 #endif
10011 char XRRQueryExtension ();
10013 main ()
10015 return XRRQueryExtension ();
10017 return 0;
10019 _ACEOF
10020 rm -f conftest.$ac_objext conftest$ac_exeext
10021 if { (ac_try="$ac_link"
10022 case "(($ac_try" in
10023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10024 *) ac_try_echo=$ac_try;;
10025 esac
10026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10027 (eval "$ac_link") 2>conftest.er1
10028 ac_status=$?
10029 grep -v '^ *+' conftest.er1 >conftest.err
10030 rm -f conftest.er1
10031 cat conftest.err >&5
10032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033 (exit $ac_status); } && {
10034 test -z "$ac_c_werror_flag" ||
10035 test ! -s conftest.err
10036 } && test -s conftest$ac_exeext &&
10037 $as_test_x conftest$ac_exeext; then
10038 case "$LIBEXT" in
10039 dll) ;;
10040 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'` ;;
10041 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10042 esac
10043 else
10044 echo "$as_me: failed program was:" >&5
10045 sed 's/^/| /' conftest.$ac_ext >&5
10050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10051 conftest$ac_exeext conftest.$ac_ext
10052 LIBS=$ac_check_soname_save_LIBS
10054 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10055 { echo "$as_me:$LINENO: result: not found" >&5
10056 echo "${ECHO_T}not found" >&6; }
10058 else
10059 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10060 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10062 cat >>confdefs.h <<_ACEOF
10063 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10064 _ACEOF
10069 else
10070 echo "$as_me: failed program was:" >&5
10071 sed 's/^/| /' conftest.$ac_ext >&5
10076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10078 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10079 wine_notices="$wine_notices|XRandr development files not found.
10080 Wine will be built without XRandr support. (winex11.drv)"
10084 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10085 then
10086 cat >conftest.$ac_ext <<_ACEOF
10087 /* confdefs.h. */
10088 _ACEOF
10089 cat confdefs.h >>conftest.$ac_ext
10090 cat >>conftest.$ac_ext <<_ACEOF
10091 /* end confdefs.h. */
10092 #include <X11/Xlib.h>
10093 #include <X11/extensions/Xinerama.h>
10095 main ()
10097 static typeof(XineramaQueryScreens) * func;
10099 return 0;
10101 _ACEOF
10102 rm -f conftest.$ac_objext
10103 if { (ac_try="$ac_compile"
10104 case "(($ac_try" in
10105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10106 *) ac_try_echo=$ac_try;;
10107 esac
10108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10109 (eval "$ac_compile") 2>conftest.er1
10110 ac_status=$?
10111 grep -v '^ *+' conftest.er1 >conftest.err
10112 rm -f conftest.er1
10113 cat conftest.err >&5
10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115 (exit $ac_status); } && {
10116 test -z "$ac_c_werror_flag" ||
10117 test ! -s conftest.err
10118 } && test -s conftest.$ac_objext; then
10119 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10120 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10121 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10122 echo $ECHO_N "(cached) $ECHO_C" >&6
10123 else
10124 ac_check_soname_save_LIBS=$LIBS
10125 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10126 cat >conftest.$ac_ext <<_ACEOF
10127 /* confdefs.h. */
10128 _ACEOF
10129 cat confdefs.h >>conftest.$ac_ext
10130 cat >>conftest.$ac_ext <<_ACEOF
10131 /* end confdefs.h. */
10133 /* Override any GCC internal prototype to avoid an error.
10134 Use char because int might match the return type of a GCC
10135 builtin and then its argument prototype would still apply. */
10136 #ifdef __cplusplus
10137 extern "C"
10138 #endif
10139 char XineramaQueryScreens ();
10141 main ()
10143 return XineramaQueryScreens ();
10145 return 0;
10147 _ACEOF
10148 rm -f conftest.$ac_objext conftest$ac_exeext
10149 if { (ac_try="$ac_link"
10150 case "(($ac_try" in
10151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10152 *) ac_try_echo=$ac_try;;
10153 esac
10154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10155 (eval "$ac_link") 2>conftest.er1
10156 ac_status=$?
10157 grep -v '^ *+' conftest.er1 >conftest.err
10158 rm -f conftest.er1
10159 cat conftest.err >&5
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 (exit $ac_status); } && {
10162 test -z "$ac_c_werror_flag" ||
10163 test ! -s conftest.err
10164 } && test -s conftest$ac_exeext &&
10165 $as_test_x conftest$ac_exeext; then
10166 case "$LIBEXT" in
10167 dll) ;;
10168 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'` ;;
10169 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10170 esac
10171 else
10172 echo "$as_me: failed program was:" >&5
10173 sed 's/^/| /' conftest.$ac_ext >&5
10178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10179 conftest$ac_exeext conftest.$ac_ext
10180 LIBS=$ac_check_soname_save_LIBS
10182 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10183 { echo "$as_me:$LINENO: result: not found" >&5
10184 echo "${ECHO_T}not found" >&6; }
10186 else
10187 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10188 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10190 cat >>confdefs.h <<_ACEOF
10191 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10192 _ACEOF
10197 else
10198 echo "$as_me: failed program was:" >&5
10199 sed 's/^/| /' conftest.$ac_ext >&5
10204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10206 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10207 wine_notices="$wine_notices|Xinerama development files not found.
10208 Wine will be built without Xinerama support. (winex11.drv)"
10213 if test "x$with_opengl" != "xno"
10214 then
10219 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10221 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10222 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10224 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 else
10227 cat >conftest.$ac_ext <<_ACEOF
10228 /* confdefs.h. */
10229 _ACEOF
10230 cat confdefs.h >>conftest.$ac_ext
10231 cat >>conftest.$ac_ext <<_ACEOF
10232 /* end confdefs.h. */
10233 #ifdef HAVE_GL_GLX_H
10234 # include <GL/glx.h>
10235 #endif
10237 #include <$ac_header>
10238 _ACEOF
10239 rm -f conftest.$ac_objext
10240 if { (ac_try="$ac_compile"
10241 case "(($ac_try" in
10242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10243 *) ac_try_echo=$ac_try;;
10244 esac
10245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10246 (eval "$ac_compile") 2>conftest.er1
10247 ac_status=$?
10248 grep -v '^ *+' conftest.er1 >conftest.err
10249 rm -f conftest.er1
10250 cat conftest.err >&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); } && {
10253 test -z "$ac_c_werror_flag" ||
10254 test ! -s conftest.err
10255 } && test -s conftest.$ac_objext; then
10256 eval "$as_ac_Header=yes"
10257 else
10258 echo "$as_me: failed program was:" >&5
10259 sed 's/^/| /' conftest.$ac_ext >&5
10261 eval "$as_ac_Header=no"
10264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10266 ac_res=`eval echo '${'$as_ac_Header'}'`
10267 { echo "$as_me:$LINENO: result: $ac_res" >&5
10268 echo "${ECHO_T}$ac_res" >&6; }
10269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10270 cat >>confdefs.h <<_ACEOF
10271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10272 _ACEOF
10276 done
10278 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10279 then
10280 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10281 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10282 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10283 echo $ECHO_N "(cached) $ECHO_C" >&6
10284 else
10285 cat >conftest.$ac_ext <<_ACEOF
10286 /* confdefs.h. */
10287 _ACEOF
10288 cat confdefs.h >>conftest.$ac_ext
10289 cat >>conftest.$ac_ext <<_ACEOF
10290 /* end confdefs.h. */
10291 #include <GL/gl.h>
10293 main ()
10295 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10297 return 0;
10299 _ACEOF
10300 rm -f conftest.$ac_objext
10301 if { (ac_try="$ac_compile"
10302 case "(($ac_try" in
10303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10304 *) ac_try_echo=$ac_try;;
10305 esac
10306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10307 (eval "$ac_compile") 2>conftest.er1
10308 ac_status=$?
10309 grep -v '^ *+' conftest.er1 >conftest.err
10310 rm -f conftest.er1
10311 cat conftest.err >&5
10312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 (exit $ac_status); } && {
10314 test -z "$ac_c_werror_flag" ||
10315 test ! -s conftest.err
10316 } && test -s conftest.$ac_objext; then
10317 wine_cv_opengl_header_version_OK="yes"
10318 else
10319 echo "$as_me: failed program was:" >&5
10320 sed 's/^/| /' conftest.$ac_ext >&5
10322 wine_cv_opengl_header_version_OK="no"
10325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10327 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10328 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10330 if test "$wine_cv_opengl_header_version_OK" = "yes"
10331 then
10332 { echo "$as_me:$LINENO: checking for -lGL" >&5
10333 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10334 if test "${ac_cv_lib_soname_GL+set}" = set; then
10335 echo $ECHO_N "(cached) $ECHO_C" >&6
10336 else
10337 ac_check_soname_save_LIBS=$LIBS
10338 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10339 cat >conftest.$ac_ext <<_ACEOF
10340 /* confdefs.h. */
10341 _ACEOF
10342 cat confdefs.h >>conftest.$ac_ext
10343 cat >>conftest.$ac_ext <<_ACEOF
10344 /* end confdefs.h. */
10346 /* Override any GCC internal prototype to avoid an error.
10347 Use char because int might match the return type of a GCC
10348 builtin and then its argument prototype would still apply. */
10349 #ifdef __cplusplus
10350 extern "C"
10351 #endif
10352 char glXCreateContext ();
10354 main ()
10356 return glXCreateContext ();
10358 return 0;
10360 _ACEOF
10361 rm -f conftest.$ac_objext conftest$ac_exeext
10362 if { (ac_try="$ac_link"
10363 case "(($ac_try" in
10364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10365 *) ac_try_echo=$ac_try;;
10366 esac
10367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10368 (eval "$ac_link") 2>conftest.er1
10369 ac_status=$?
10370 grep -v '^ *+' conftest.er1 >conftest.err
10371 rm -f conftest.er1
10372 cat conftest.err >&5
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); } && {
10375 test -z "$ac_c_werror_flag" ||
10376 test ! -s conftest.err
10377 } && test -s conftest$ac_exeext &&
10378 $as_test_x conftest$ac_exeext; then
10379 case "$LIBEXT" in
10380 dll) ;;
10381 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'` ;;
10382 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10383 esac
10384 else
10385 echo "$as_me: failed program was:" >&5
10386 sed 's/^/| /' conftest.$ac_ext >&5
10391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10392 conftest$ac_exeext conftest.$ac_ext
10393 LIBS=$ac_check_soname_save_LIBS
10395 if test "x$ac_cv_lib_soname_GL" = "x"; then
10396 { echo "$as_me:$LINENO: result: not found" >&5
10397 echo "${ECHO_T}not found" >&6; }
10398 if test -f /usr/X11R6/lib/libGL.a
10399 then
10400 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10401 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10402 else
10403 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10404 Wine will be build without OpenGL or Direct3D support."
10406 else
10407 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10408 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10410 cat >>confdefs.h <<_ACEOF
10411 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10412 _ACEOF
10414 OPENGL_LIBS="-lGL"
10415 OPENGLFILES='$(OPENGLFILES)'
10417 cat >>confdefs.h <<\_ACEOF
10418 #define HAVE_OPENGL 1
10419 _ACEOF
10424 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10425 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10426 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10427 echo $ECHO_N "(cached) $ECHO_C" >&6
10428 else
10429 ac_check_lib_save_LIBS=$LIBS
10430 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10431 cat >conftest.$ac_ext <<_ACEOF
10432 /* confdefs.h. */
10433 _ACEOF
10434 cat confdefs.h >>conftest.$ac_ext
10435 cat >>conftest.$ac_ext <<_ACEOF
10436 /* end confdefs.h. */
10438 /* Override any GCC internal prototype to avoid an error.
10439 Use char because int might match the return type of a GCC
10440 builtin and then its argument prototype would still apply. */
10441 #ifdef __cplusplus
10442 extern "C"
10443 #endif
10444 char gluLookAt ();
10446 main ()
10448 return gluLookAt ();
10450 return 0;
10452 _ACEOF
10453 rm -f conftest.$ac_objext conftest$ac_exeext
10454 if { (ac_try="$ac_link"
10455 case "(($ac_try" in
10456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10457 *) ac_try_echo=$ac_try;;
10458 esac
10459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10460 (eval "$ac_link") 2>conftest.er1
10461 ac_status=$?
10462 grep -v '^ *+' conftest.er1 >conftest.err
10463 rm -f conftest.er1
10464 cat conftest.err >&5
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); } && {
10467 test -z "$ac_c_werror_flag" ||
10468 test ! -s conftest.err
10469 } && test -s conftest$ac_exeext &&
10470 $as_test_x conftest$ac_exeext; then
10471 ac_cv_lib_GLU_gluLookAt=yes
10472 else
10473 echo "$as_me: failed program was:" >&5
10474 sed 's/^/| /' conftest.$ac_ext >&5
10476 ac_cv_lib_GLU_gluLookAt=no
10479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10480 conftest$ac_exeext conftest.$ac_ext
10481 LIBS=$ac_check_lib_save_LIBS
10483 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10484 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10485 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10486 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10487 GLU32FILES='$(GLU32FILES)'
10491 else
10492 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10493 Wine will be build without OpenGL or Direct3D support."
10495 else
10496 wine_warnings="$wine_warnings|OpenGL development headers not found.
10497 Wine will be build without OpenGL or Direct3D support."
10501 NASLIBS=""
10504 for ac_header in audio/audiolib.h
10506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10511 echo $ECHO_N "(cached) $ECHO_C" >&6
10513 ac_res=`eval echo '${'$as_ac_Header'}'`
10514 { echo "$as_me:$LINENO: result: $ac_res" >&5
10515 echo "${ECHO_T}$ac_res" >&6; }
10516 else
10517 # Is the header compilable?
10518 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10520 cat >conftest.$ac_ext <<_ACEOF
10521 /* confdefs.h. */
10522 _ACEOF
10523 cat confdefs.h >>conftest.$ac_ext
10524 cat >>conftest.$ac_ext <<_ACEOF
10525 /* end confdefs.h. */
10526 $ac_includes_default
10527 #include <$ac_header>
10528 _ACEOF
10529 rm -f conftest.$ac_objext
10530 if { (ac_try="$ac_compile"
10531 case "(($ac_try" in
10532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10533 *) ac_try_echo=$ac_try;;
10534 esac
10535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10536 (eval "$ac_compile") 2>conftest.er1
10537 ac_status=$?
10538 grep -v '^ *+' conftest.er1 >conftest.err
10539 rm -f conftest.er1
10540 cat conftest.err >&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); } && {
10543 test -z "$ac_c_werror_flag" ||
10544 test ! -s conftest.err
10545 } && test -s conftest.$ac_objext; then
10546 ac_header_compiler=yes
10547 else
10548 echo "$as_me: failed program was:" >&5
10549 sed 's/^/| /' conftest.$ac_ext >&5
10551 ac_header_compiler=no
10554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10555 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10556 echo "${ECHO_T}$ac_header_compiler" >&6; }
10558 # Is the header present?
10559 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10561 cat >conftest.$ac_ext <<_ACEOF
10562 /* confdefs.h. */
10563 _ACEOF
10564 cat confdefs.h >>conftest.$ac_ext
10565 cat >>conftest.$ac_ext <<_ACEOF
10566 /* end confdefs.h. */
10567 #include <$ac_header>
10568 _ACEOF
10569 if { (ac_try="$ac_cpp conftest.$ac_ext"
10570 case "(($ac_try" in
10571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10572 *) ac_try_echo=$ac_try;;
10573 esac
10574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10576 ac_status=$?
10577 grep -v '^ *+' conftest.er1 >conftest.err
10578 rm -f conftest.er1
10579 cat conftest.err >&5
10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581 (exit $ac_status); } >/dev/null && {
10582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10583 test ! -s conftest.err
10584 }; then
10585 ac_header_preproc=yes
10586 else
10587 echo "$as_me: failed program was:" >&5
10588 sed 's/^/| /' conftest.$ac_ext >&5
10590 ac_header_preproc=no
10593 rm -f conftest.err conftest.$ac_ext
10594 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10595 echo "${ECHO_T}$ac_header_preproc" >&6; }
10597 # So? What about this header?
10598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10599 yes:no: )
10600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10604 ac_header_preproc=yes
10606 no:yes:* )
10607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10611 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10613 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10614 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10619 ( cat <<\_ASBOX
10620 ## ------------------------------------ ##
10621 ## Report this to wine-devel@winehq.org ##
10622 ## ------------------------------------ ##
10623 _ASBOX
10624 ) | sed "s/^/$as_me: WARNING: /" >&2
10626 esac
10627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10630 echo $ECHO_N "(cached) $ECHO_C" >&6
10631 else
10632 eval "$as_ac_Header=\$ac_header_preproc"
10634 ac_res=`eval echo '${'$as_ac_Header'}'`
10635 { echo "$as_me:$LINENO: result: $ac_res" >&5
10636 echo "${ECHO_T}$ac_res" >&6; }
10639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10640 cat >>confdefs.h <<_ACEOF
10641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10642 _ACEOF
10644 for ac_header in audio/soundlib.h
10646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10650 echo $ECHO_N "(cached) $ECHO_C" >&6
10651 else
10652 cat >conftest.$ac_ext <<_ACEOF
10653 /* confdefs.h. */
10654 _ACEOF
10655 cat confdefs.h >>conftest.$ac_ext
10656 cat >>conftest.$ac_ext <<_ACEOF
10657 /* end confdefs.h. */
10658 #include <audio/audiolib.h>
10660 #include <$ac_header>
10661 _ACEOF
10662 rm -f conftest.$ac_objext
10663 if { (ac_try="$ac_compile"
10664 case "(($ac_try" in
10665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10666 *) ac_try_echo=$ac_try;;
10667 esac
10668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10669 (eval "$ac_compile") 2>conftest.er1
10670 ac_status=$?
10671 grep -v '^ *+' conftest.er1 >conftest.err
10672 rm -f conftest.er1
10673 cat conftest.err >&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); } && {
10676 test -z "$ac_c_werror_flag" ||
10677 test ! -s conftest.err
10678 } && test -s conftest.$ac_objext; then
10679 eval "$as_ac_Header=yes"
10680 else
10681 echo "$as_me: failed program was:" >&5
10682 sed 's/^/| /' conftest.$ac_ext >&5
10684 eval "$as_ac_Header=no"
10687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10689 ac_res=`eval echo '${'$as_ac_Header'}'`
10690 { echo "$as_me:$LINENO: result: $ac_res" >&5
10691 echo "${ECHO_T}$ac_res" >&6; }
10692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10693 cat >>confdefs.h <<_ACEOF
10694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10695 _ACEOF
10699 done
10701 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10702 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10703 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10704 echo $ECHO_N "(cached) $ECHO_C" >&6
10705 else
10706 ac_check_lib_save_LIBS=$LIBS
10707 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10708 cat >conftest.$ac_ext <<_ACEOF
10709 /* confdefs.h. */
10710 _ACEOF
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10718 #ifdef __cplusplus
10719 extern "C"
10720 #endif
10721 char AuCreateFlow ();
10723 main ()
10725 return AuCreateFlow ();
10727 return 0;
10729 _ACEOF
10730 rm -f conftest.$ac_objext conftest$ac_exeext
10731 if { (ac_try="$ac_link"
10732 case "(($ac_try" in
10733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10734 *) ac_try_echo=$ac_try;;
10735 esac
10736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10737 (eval "$ac_link") 2>conftest.er1
10738 ac_status=$?
10739 grep -v '^ *+' conftest.er1 >conftest.err
10740 rm -f conftest.er1
10741 cat conftest.err >&5
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 (exit $ac_status); } && {
10744 test -z "$ac_c_werror_flag" ||
10745 test ! -s conftest.err
10746 } && test -s conftest$ac_exeext &&
10747 $as_test_x conftest$ac_exeext; then
10748 ac_cv_lib_audio_AuCreateFlow=yes
10749 else
10750 echo "$as_me: failed program was:" >&5
10751 sed 's/^/| /' conftest.$ac_ext >&5
10753 ac_cv_lib_audio_AuCreateFlow=no
10756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10757 conftest$ac_exeext conftest.$ac_ext
10758 LIBS=$ac_check_lib_save_LIBS
10760 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10761 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10762 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10764 cat >>confdefs.h <<\_ACEOF
10765 #define HAVE_NAS 1
10766 _ACEOF
10768 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10769 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10770 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10771 echo $ECHO_N "(cached) $ECHO_C" >&6
10772 else
10773 ac_check_lib_save_LIBS=$LIBS
10774 LIBS="-lXau $X_LIBS $LIBS"
10775 cat >conftest.$ac_ext <<_ACEOF
10776 /* confdefs.h. */
10777 _ACEOF
10778 cat confdefs.h >>conftest.$ac_ext
10779 cat >>conftest.$ac_ext <<_ACEOF
10780 /* end confdefs.h. */
10782 /* Override any GCC internal prototype to avoid an error.
10783 Use char because int might match the return type of a GCC
10784 builtin and then its argument prototype would still apply. */
10785 #ifdef __cplusplus
10786 extern "C"
10787 #endif
10788 char XauGetBestAuthByAddr ();
10790 main ()
10792 return XauGetBestAuthByAddr ();
10794 return 0;
10796 _ACEOF
10797 rm -f conftest.$ac_objext conftest$ac_exeext
10798 if { (ac_try="$ac_link"
10799 case "(($ac_try" in
10800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10801 *) ac_try_echo=$ac_try;;
10802 esac
10803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10804 (eval "$ac_link") 2>conftest.er1
10805 ac_status=$?
10806 grep -v '^ *+' conftest.er1 >conftest.err
10807 rm -f conftest.er1
10808 cat conftest.err >&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); } && {
10811 test -z "$ac_c_werror_flag" ||
10812 test ! -s conftest.err
10813 } && test -s conftest$ac_exeext &&
10814 $as_test_x conftest$ac_exeext; then
10815 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10816 else
10817 echo "$as_me: failed program was:" >&5
10818 sed 's/^/| /' conftest.$ac_ext >&5
10820 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10824 conftest$ac_exeext conftest.$ac_ext
10825 LIBS=$ac_check_lib_save_LIBS
10827 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10828 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10829 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10830 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10831 else
10832 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10840 done
10843 CPPFLAGS="$ac_save_CPPFLAGS"
10844 XFILES='$(XFILES)'
10845 else
10846 XLIB=""
10847 X_CFLAGS=""
10848 X_LIBS=""
10849 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10850 without X support, which probably isn't what you want. You will need to install
10851 development packages of Xlib/Xfree86 at the very least."
10855 XML2LIBS=""
10857 XML2INCL=""
10859 XSLTLIBS=""
10861 XSLTINCL=""
10863 ac_save_CPPFLAGS="$CPPFLAGS"
10864 if test "$PKG_CONFIG" != "false"
10865 then
10866 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10867 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10868 else
10869 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10870 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10872 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10874 for ac_header in libxml/parser.h
10876 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10878 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6
10883 ac_res=`eval echo '${'$as_ac_Header'}'`
10884 { echo "$as_me:$LINENO: result: $ac_res" >&5
10885 echo "${ECHO_T}$ac_res" >&6; }
10886 else
10887 # Is the header compilable?
10888 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10890 cat >conftest.$ac_ext <<_ACEOF
10891 /* confdefs.h. */
10892 _ACEOF
10893 cat confdefs.h >>conftest.$ac_ext
10894 cat >>conftest.$ac_ext <<_ACEOF
10895 /* end confdefs.h. */
10896 $ac_includes_default
10897 #include <$ac_header>
10898 _ACEOF
10899 rm -f conftest.$ac_objext
10900 if { (ac_try="$ac_compile"
10901 case "(($ac_try" in
10902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10903 *) ac_try_echo=$ac_try;;
10904 esac
10905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10906 (eval "$ac_compile") 2>conftest.er1
10907 ac_status=$?
10908 grep -v '^ *+' conftest.er1 >conftest.err
10909 rm -f conftest.er1
10910 cat conftest.err >&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); } && {
10913 test -z "$ac_c_werror_flag" ||
10914 test ! -s conftest.err
10915 } && test -s conftest.$ac_objext; then
10916 ac_header_compiler=yes
10917 else
10918 echo "$as_me: failed program was:" >&5
10919 sed 's/^/| /' conftest.$ac_ext >&5
10921 ac_header_compiler=no
10924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10925 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10926 echo "${ECHO_T}$ac_header_compiler" >&6; }
10928 # Is the header present?
10929 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10931 cat >conftest.$ac_ext <<_ACEOF
10932 /* confdefs.h. */
10933 _ACEOF
10934 cat confdefs.h >>conftest.$ac_ext
10935 cat >>conftest.$ac_ext <<_ACEOF
10936 /* end confdefs.h. */
10937 #include <$ac_header>
10938 _ACEOF
10939 if { (ac_try="$ac_cpp conftest.$ac_ext"
10940 case "(($ac_try" in
10941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10942 *) ac_try_echo=$ac_try;;
10943 esac
10944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10946 ac_status=$?
10947 grep -v '^ *+' conftest.er1 >conftest.err
10948 rm -f conftest.er1
10949 cat conftest.err >&5
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); } >/dev/null && {
10952 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10953 test ! -s conftest.err
10954 }; then
10955 ac_header_preproc=yes
10956 else
10957 echo "$as_me: failed program was:" >&5
10958 sed 's/^/| /' conftest.$ac_ext >&5
10960 ac_header_preproc=no
10963 rm -f conftest.err conftest.$ac_ext
10964 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10965 echo "${ECHO_T}$ac_header_preproc" >&6; }
10967 # So? What about this header?
10968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10969 yes:no: )
10970 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10971 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10973 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10974 ac_header_preproc=yes
10976 no:yes:* )
10977 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10978 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10979 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10980 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10981 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10982 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10983 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10984 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10987 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10988 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10989 ( cat <<\_ASBOX
10990 ## ------------------------------------ ##
10991 ## Report this to wine-devel@winehq.org ##
10992 ## ------------------------------------ ##
10993 _ASBOX
10994 ) | sed "s/^/$as_me: WARNING: /" >&2
10996 esac
10997 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11000 echo $ECHO_N "(cached) $ECHO_C" >&6
11001 else
11002 eval "$as_ac_Header=\$ac_header_preproc"
11004 ac_res=`eval echo '${'$as_ac_Header'}'`
11005 { echo "$as_me:$LINENO: result: $ac_res" >&5
11006 echo "${ECHO_T}$ac_res" >&6; }
11009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11010 cat >>confdefs.h <<_ACEOF
11011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11012 _ACEOF
11013 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11014 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11015 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11016 echo $ECHO_N "(cached) $ECHO_C" >&6
11017 else
11018 ac_check_lib_save_LIBS=$LIBS
11019 LIBS="-lxml2 $ac_xml_libs $LIBS"
11020 cat >conftest.$ac_ext <<_ACEOF
11021 /* confdefs.h. */
11022 _ACEOF
11023 cat confdefs.h >>conftest.$ac_ext
11024 cat >>conftest.$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11027 /* Override any GCC internal prototype to avoid an error.
11028 Use char because int might match the return type of a GCC
11029 builtin and then its argument prototype would still apply. */
11030 #ifdef __cplusplus
11031 extern "C"
11032 #endif
11033 char xmlParseMemory ();
11035 main ()
11037 return xmlParseMemory ();
11039 return 0;
11041 _ACEOF
11042 rm -f conftest.$ac_objext conftest$ac_exeext
11043 if { (ac_try="$ac_link"
11044 case "(($ac_try" in
11045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11046 *) ac_try_echo=$ac_try;;
11047 esac
11048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11049 (eval "$ac_link") 2>conftest.er1
11050 ac_status=$?
11051 grep -v '^ *+' conftest.er1 >conftest.err
11052 rm -f conftest.er1
11053 cat conftest.err >&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); } && {
11056 test -z "$ac_c_werror_flag" ||
11057 test ! -s conftest.err
11058 } && test -s conftest$ac_exeext &&
11059 $as_test_x conftest$ac_exeext; then
11060 ac_cv_lib_xml2_xmlParseMemory=yes
11061 else
11062 echo "$as_me: failed program was:" >&5
11063 sed 's/^/| /' conftest.$ac_ext >&5
11065 ac_cv_lib_xml2_xmlParseMemory=no
11068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11069 conftest$ac_exeext conftest.$ac_ext
11070 LIBS=$ac_check_lib_save_LIBS
11072 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11073 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11074 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11076 cat >>confdefs.h <<\_ACEOF
11077 #define HAVE_LIBXML2 1
11078 _ACEOF
11080 XML2LIBS="$ac_xml_libs"
11081 XML2INCL="$ac_xml_cflags"
11084 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11085 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11086 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11087 echo $ECHO_N "(cached) $ECHO_C" >&6
11088 else
11089 ac_check_lib_save_LIBS=$LIBS
11090 LIBS="-lxml2 $ac_xml_libs $LIBS"
11091 cat >conftest.$ac_ext <<_ACEOF
11092 /* confdefs.h. */
11093 _ACEOF
11094 cat confdefs.h >>conftest.$ac_ext
11095 cat >>conftest.$ac_ext <<_ACEOF
11096 /* end confdefs.h. */
11098 /* Override any GCC internal prototype to avoid an error.
11099 Use char because int might match the return type of a GCC
11100 builtin and then its argument prototype would still apply. */
11101 #ifdef __cplusplus
11102 extern "C"
11103 #endif
11104 char xmlReadMemory ();
11106 main ()
11108 return xmlReadMemory ();
11110 return 0;
11112 _ACEOF
11113 rm -f conftest.$ac_objext conftest$ac_exeext
11114 if { (ac_try="$ac_link"
11115 case "(($ac_try" in
11116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11117 *) ac_try_echo=$ac_try;;
11118 esac
11119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11120 (eval "$ac_link") 2>conftest.er1
11121 ac_status=$?
11122 grep -v '^ *+' conftest.er1 >conftest.err
11123 rm -f conftest.er1
11124 cat conftest.err >&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); } && {
11127 test -z "$ac_c_werror_flag" ||
11128 test ! -s conftest.err
11129 } && test -s conftest$ac_exeext &&
11130 $as_test_x conftest$ac_exeext; then
11131 ac_cv_lib_xml2_xmlReadMemory=yes
11132 else
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.$ac_ext >&5
11136 ac_cv_lib_xml2_xmlReadMemory=no
11139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11140 conftest$ac_exeext conftest.$ac_ext
11141 LIBS=$ac_check_lib_save_LIBS
11143 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11144 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11145 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11147 cat >>confdefs.h <<\_ACEOF
11148 #define HAVE_XMLREADMEMORY 1
11149 _ACEOF
11153 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11154 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11155 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11156 echo $ECHO_N "(cached) $ECHO_C" >&6
11157 else
11158 ac_check_lib_save_LIBS=$LIBS
11159 LIBS="-lxml2 $ac_xml_libs $LIBS"
11160 cat >conftest.$ac_ext <<_ACEOF
11161 /* confdefs.h. */
11162 _ACEOF
11163 cat confdefs.h >>conftest.$ac_ext
11164 cat >>conftest.$ac_ext <<_ACEOF
11165 /* end confdefs.h. */
11167 /* Override any GCC internal prototype to avoid an error.
11168 Use char because int might match the return type of a GCC
11169 builtin and then its argument prototype would still apply. */
11170 #ifdef __cplusplus
11171 extern "C"
11172 #endif
11173 char xmlNewDocPI ();
11175 main ()
11177 return xmlNewDocPI ();
11179 return 0;
11181 _ACEOF
11182 rm -f conftest.$ac_objext conftest$ac_exeext
11183 if { (ac_try="$ac_link"
11184 case "(($ac_try" in
11185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11186 *) ac_try_echo=$ac_try;;
11187 esac
11188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11189 (eval "$ac_link") 2>conftest.er1
11190 ac_status=$?
11191 grep -v '^ *+' conftest.er1 >conftest.err
11192 rm -f conftest.er1
11193 cat conftest.err >&5
11194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195 (exit $ac_status); } && {
11196 test -z "$ac_c_werror_flag" ||
11197 test ! -s conftest.err
11198 } && test -s conftest$ac_exeext &&
11199 $as_test_x conftest$ac_exeext; then
11200 ac_cv_lib_xml2_xmlNewDocPI=yes
11201 else
11202 echo "$as_me: failed program was:" >&5
11203 sed 's/^/| /' conftest.$ac_ext >&5
11205 ac_cv_lib_xml2_xmlNewDocPI=no
11208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11209 conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_lib_save_LIBS
11212 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11213 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11214 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11216 cat >>confdefs.h <<\_ACEOF
11217 #define HAVE_XMLNEWDOCPI 1
11218 _ACEOF
11225 done
11227 CPPFLAGS="$ac_save_CPPFLAGS"
11228 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11229 wine_notices="$wine_notices|libxml2 development files not found.
11230 Wine will be built without XML support. (msxml.dll)"
11234 if test "$PKG_CONFIG" != "false"
11235 then
11236 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11237 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11238 else
11239 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11240 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11242 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11245 for ac_header in libxslt/pattern.h libxslt/transform.h
11247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11248 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11250 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11251 echo $ECHO_N "(cached) $ECHO_C" >&6
11252 else
11253 cat >conftest.$ac_ext <<_ACEOF
11254 /* confdefs.h. */
11255 _ACEOF
11256 cat confdefs.h >>conftest.$ac_ext
11257 cat >>conftest.$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11259 #ifdef HAVE_LIBXSLT_PATTERN_H
11260 # include <libxslt/pattern.h>
11261 #endif
11263 #include <$ac_header>
11264 _ACEOF
11265 rm -f conftest.$ac_objext
11266 if { (ac_try="$ac_compile"
11267 case "(($ac_try" in
11268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11269 *) ac_try_echo=$ac_try;;
11270 esac
11271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11272 (eval "$ac_compile") 2>conftest.er1
11273 ac_status=$?
11274 grep -v '^ *+' conftest.er1 >conftest.err
11275 rm -f conftest.er1
11276 cat conftest.err >&5
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); } && {
11279 test -z "$ac_c_werror_flag" ||
11280 test ! -s conftest.err
11281 } && test -s conftest.$ac_objext; then
11282 eval "$as_ac_Header=yes"
11283 else
11284 echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.$ac_ext >&5
11287 eval "$as_ac_Header=no"
11290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11292 ac_res=`eval echo '${'$as_ac_Header'}'`
11293 { echo "$as_me:$LINENO: result: $ac_res" >&5
11294 echo "${ECHO_T}$ac_res" >&6; }
11295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11296 cat >>confdefs.h <<_ACEOF
11297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11298 _ACEOF
11299 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11300 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11301 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11302 echo $ECHO_N "(cached) $ECHO_C" >&6
11303 else
11304 ac_check_lib_save_LIBS=$LIBS
11305 LIBS="-lxslt $ac_xslt_libs $LIBS"
11306 cat >conftest.$ac_ext <<_ACEOF
11307 /* confdefs.h. */
11308 _ACEOF
11309 cat confdefs.h >>conftest.$ac_ext
11310 cat >>conftest.$ac_ext <<_ACEOF
11311 /* end confdefs.h. */
11313 /* Override any GCC internal prototype to avoid an error.
11314 Use char because int might match the return type of a GCC
11315 builtin and then its argument prototype would still apply. */
11316 #ifdef __cplusplus
11317 extern "C"
11318 #endif
11319 char xsltCompilePattern ();
11321 main ()
11323 return xsltCompilePattern ();
11325 return 0;
11327 _ACEOF
11328 rm -f conftest.$ac_objext conftest$ac_exeext
11329 if { (ac_try="$ac_link"
11330 case "(($ac_try" in
11331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11332 *) ac_try_echo=$ac_try;;
11333 esac
11334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11335 (eval "$ac_link") 2>conftest.er1
11336 ac_status=$?
11337 grep -v '^ *+' conftest.er1 >conftest.err
11338 rm -f conftest.er1
11339 cat conftest.err >&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } && {
11342 test -z "$ac_c_werror_flag" ||
11343 test ! -s conftest.err
11344 } && test -s conftest$ac_exeext &&
11345 $as_test_x conftest$ac_exeext; then
11346 ac_cv_lib_xslt_xsltCompilePattern=yes
11347 else
11348 echo "$as_me: failed program was:" >&5
11349 sed 's/^/| /' conftest.$ac_ext >&5
11351 ac_cv_lib_xslt_xsltCompilePattern=no
11354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11355 conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11358 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11359 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11360 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11362 cat >>confdefs.h <<\_ACEOF
11363 #define HAVE_LIBXSLT 1
11364 _ACEOF
11366 XSLTLIBS="$ac_xslt_libs"
11367 XSLTINCL="$ac_xslt_cflags"
11373 done
11375 CPPFLAGS="$ac_save_CPPFLAGS"
11376 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11377 wine_notices="$wine_notices|libxslt development files not found.
11378 Wine will be built without xslt support. (msxml.dll)"
11382 HALINCL=""
11384 if test "$PKG_CONFIG" != "false"
11385 then
11386 ac_save_CPPFLAGS="$CPPFLAGS"
11387 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11388 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11389 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11392 for ac_header in dbus/dbus.h hal/libhal.h
11394 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11395 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11396 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11398 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 ac_res=`eval echo '${'$as_ac_Header'}'`
11402 { echo "$as_me:$LINENO: result: $ac_res" >&5
11403 echo "${ECHO_T}$ac_res" >&6; }
11404 else
11405 # Is the header compilable?
11406 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11408 cat >conftest.$ac_ext <<_ACEOF
11409 /* confdefs.h. */
11410 _ACEOF
11411 cat confdefs.h >>conftest.$ac_ext
11412 cat >>conftest.$ac_ext <<_ACEOF
11413 /* end confdefs.h. */
11414 $ac_includes_default
11415 #include <$ac_header>
11416 _ACEOF
11417 rm -f conftest.$ac_objext
11418 if { (ac_try="$ac_compile"
11419 case "(($ac_try" in
11420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11421 *) ac_try_echo=$ac_try;;
11422 esac
11423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11424 (eval "$ac_compile") 2>conftest.er1
11425 ac_status=$?
11426 grep -v '^ *+' conftest.er1 >conftest.err
11427 rm -f conftest.er1
11428 cat conftest.err >&5
11429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11430 (exit $ac_status); } && {
11431 test -z "$ac_c_werror_flag" ||
11432 test ! -s conftest.err
11433 } && test -s conftest.$ac_objext; then
11434 ac_header_compiler=yes
11435 else
11436 echo "$as_me: failed program was:" >&5
11437 sed 's/^/| /' conftest.$ac_ext >&5
11439 ac_header_compiler=no
11442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11443 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11444 echo "${ECHO_T}$ac_header_compiler" >&6; }
11446 # Is the header present?
11447 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11448 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11449 cat >conftest.$ac_ext <<_ACEOF
11450 /* confdefs.h. */
11451 _ACEOF
11452 cat confdefs.h >>conftest.$ac_ext
11453 cat >>conftest.$ac_ext <<_ACEOF
11454 /* end confdefs.h. */
11455 #include <$ac_header>
11456 _ACEOF
11457 if { (ac_try="$ac_cpp conftest.$ac_ext"
11458 case "(($ac_try" in
11459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11460 *) ac_try_echo=$ac_try;;
11461 esac
11462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11464 ac_status=$?
11465 grep -v '^ *+' conftest.er1 >conftest.err
11466 rm -f conftest.er1
11467 cat conftest.err >&5
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); } >/dev/null && {
11470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11471 test ! -s conftest.err
11472 }; then
11473 ac_header_preproc=yes
11474 else
11475 echo "$as_me: failed program was:" >&5
11476 sed 's/^/| /' conftest.$ac_ext >&5
11478 ac_header_preproc=no
11481 rm -f conftest.err conftest.$ac_ext
11482 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11483 echo "${ECHO_T}$ac_header_preproc" >&6; }
11485 # So? What about this header?
11486 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11487 yes:no: )
11488 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11489 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11491 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11492 ac_header_preproc=yes
11494 no:yes:* )
11495 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11496 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11497 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11498 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11499 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11500 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11501 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11502 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11503 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11504 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11505 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11506 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11507 ( cat <<\_ASBOX
11508 ## ------------------------------------ ##
11509 ## Report this to wine-devel@winehq.org ##
11510 ## ------------------------------------ ##
11511 _ASBOX
11512 ) | sed "s/^/$as_me: WARNING: /" >&2
11514 esac
11515 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11517 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 else
11520 eval "$as_ac_Header=\$ac_header_preproc"
11522 ac_res=`eval echo '${'$as_ac_Header'}'`
11523 { echo "$as_me:$LINENO: result: $ac_res" >&5
11524 echo "${ECHO_T}$ac_res" >&6; }
11527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11528 cat >>confdefs.h <<_ACEOF
11529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11530 _ACEOF
11534 done
11536 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11537 then
11538 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11539 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11540 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11541 echo $ECHO_N "(cached) $ECHO_C" >&6
11542 else
11543 ac_check_lib_save_LIBS=$LIBS
11544 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11545 cat >conftest.$ac_ext <<_ACEOF
11546 /* confdefs.h. */
11547 _ACEOF
11548 cat confdefs.h >>conftest.$ac_ext
11549 cat >>conftest.$ac_ext <<_ACEOF
11550 /* end confdefs.h. */
11552 /* Override any GCC internal prototype to avoid an error.
11553 Use char because int might match the return type of a GCC
11554 builtin and then its argument prototype would still apply. */
11555 #ifdef __cplusplus
11556 extern "C"
11557 #endif
11558 char dbus_connection_close ();
11560 main ()
11562 return dbus_connection_close ();
11564 return 0;
11566 _ACEOF
11567 rm -f conftest.$ac_objext conftest$ac_exeext
11568 if { (ac_try="$ac_link"
11569 case "(($ac_try" in
11570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11571 *) ac_try_echo=$ac_try;;
11572 esac
11573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11574 (eval "$ac_link") 2>conftest.er1
11575 ac_status=$?
11576 grep -v '^ *+' conftest.er1 >conftest.err
11577 rm -f conftest.er1
11578 cat conftest.err >&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); } && {
11581 test -z "$ac_c_werror_flag" ||
11582 test ! -s conftest.err
11583 } && test -s conftest$ac_exeext &&
11584 $as_test_x conftest$ac_exeext; then
11585 ac_cv_lib_dbus_1_dbus_connection_close=yes
11586 else
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.$ac_ext >&5
11590 ac_cv_lib_dbus_1_dbus_connection_close=no
11593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11594 conftest$ac_exeext conftest.$ac_ext
11595 LIBS=$ac_check_lib_save_LIBS
11597 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11598 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11599 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11600 { echo "$as_me:$LINENO: checking for -lhal" >&5
11601 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11602 if test "${ac_cv_lib_soname_hal+set}" = set; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 else
11605 ac_check_soname_save_LIBS=$LIBS
11606 LIBS="-lhal $ac_hal_libs $LIBS"
11607 cat >conftest.$ac_ext <<_ACEOF
11608 /* confdefs.h. */
11609 _ACEOF
11610 cat confdefs.h >>conftest.$ac_ext
11611 cat >>conftest.$ac_ext <<_ACEOF
11612 /* end confdefs.h. */
11614 /* Override any GCC internal prototype to avoid an error.
11615 Use char because int might match the return type of a GCC
11616 builtin and then its argument prototype would still apply. */
11617 #ifdef __cplusplus
11618 extern "C"
11619 #endif
11620 char libhal_ctx_new ();
11622 main ()
11624 return libhal_ctx_new ();
11626 return 0;
11628 _ACEOF
11629 rm -f conftest.$ac_objext conftest$ac_exeext
11630 if { (ac_try="$ac_link"
11631 case "(($ac_try" in
11632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11633 *) ac_try_echo=$ac_try;;
11634 esac
11635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11636 (eval "$ac_link") 2>conftest.er1
11637 ac_status=$?
11638 grep -v '^ *+' conftest.er1 >conftest.err
11639 rm -f conftest.er1
11640 cat conftest.err >&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); } && {
11643 test -z "$ac_c_werror_flag" ||
11644 test ! -s conftest.err
11645 } && test -s conftest$ac_exeext &&
11646 $as_test_x conftest$ac_exeext; then
11647 case "$LIBEXT" in
11648 dll) ;;
11649 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'` ;;
11650 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11651 esac
11652 else
11653 echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.$ac_ext >&5
11659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11660 conftest$ac_exeext conftest.$ac_ext
11661 LIBS=$ac_check_soname_save_LIBS
11663 if test "x$ac_cv_lib_soname_hal" = "x"; then
11664 { echo "$as_me:$LINENO: result: not found" >&5
11665 echo "${ECHO_T}not found" >&6; }
11667 else
11668 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11669 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11671 cat >>confdefs.h <<_ACEOF
11672 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11673 _ACEOF
11675 HALINCL="$ac_hal_cflags"
11681 CPPFLAGS="$ac_save_CPPFLAGS"
11683 if test "x$ac_cv_lib_soname_hal" = "x"; then
11684 wine_notices="$wine_notices|libhal development files not found.
11685 Wine will be built without dynamic device support. (explorer.exe)"
11689 CURSESLIBS=""
11690 if test "$ac_cv_header_ncurses_h" = "yes"
11691 then
11692 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11693 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11694 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11695 echo $ECHO_N "(cached) $ECHO_C" >&6
11696 else
11697 ac_check_soname_save_LIBS=$LIBS
11698 LIBS="-lncurses $LIBS"
11699 cat >conftest.$ac_ext <<_ACEOF
11700 /* confdefs.h. */
11701 _ACEOF
11702 cat confdefs.h >>conftest.$ac_ext
11703 cat >>conftest.$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11706 /* Override any GCC internal prototype to avoid an error.
11707 Use char because int might match the return type of a GCC
11708 builtin and then its argument prototype would still apply. */
11709 #ifdef __cplusplus
11710 extern "C"
11711 #endif
11712 char waddch ();
11714 main ()
11716 return waddch ();
11718 return 0;
11720 _ACEOF
11721 rm -f conftest.$ac_objext conftest$ac_exeext
11722 if { (ac_try="$ac_link"
11723 case "(($ac_try" in
11724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11725 *) ac_try_echo=$ac_try;;
11726 esac
11727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11728 (eval "$ac_link") 2>conftest.er1
11729 ac_status=$?
11730 grep -v '^ *+' conftest.er1 >conftest.err
11731 rm -f conftest.er1
11732 cat conftest.err >&5
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); } && {
11735 test -z "$ac_c_werror_flag" ||
11736 test ! -s conftest.err
11737 } && test -s conftest$ac_exeext &&
11738 $as_test_x conftest$ac_exeext; then
11739 case "$LIBEXT" in
11740 dll) ;;
11741 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'` ;;
11742 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11743 esac
11744 else
11745 echo "$as_me: failed program was:" >&5
11746 sed 's/^/| /' conftest.$ac_ext >&5
11751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11752 conftest$ac_exeext conftest.$ac_ext
11753 LIBS=$ac_check_soname_save_LIBS
11755 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11756 { echo "$as_me:$LINENO: result: not found" >&5
11757 echo "${ECHO_T}not found" >&6; }
11759 else
11760 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11761 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11763 cat >>confdefs.h <<_ACEOF
11764 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11765 _ACEOF
11767 CURSESLIBS="-lncurses"
11770 elif test "$ac_cv_header_curses_h" = "yes"
11771 then
11772 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11773 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11774 if test "${ac_cv_lib_soname_curses+set}" = set; then
11775 echo $ECHO_N "(cached) $ECHO_C" >&6
11776 else
11777 ac_check_soname_save_LIBS=$LIBS
11778 LIBS="-lcurses $LIBS"
11779 cat >conftest.$ac_ext <<_ACEOF
11780 /* confdefs.h. */
11781 _ACEOF
11782 cat confdefs.h >>conftest.$ac_ext
11783 cat >>conftest.$ac_ext <<_ACEOF
11784 /* end confdefs.h. */
11786 /* Override any GCC internal prototype to avoid an error.
11787 Use char because int might match the return type of a GCC
11788 builtin and then its argument prototype would still apply. */
11789 #ifdef __cplusplus
11790 extern "C"
11791 #endif
11792 char waddch ();
11794 main ()
11796 return waddch ();
11798 return 0;
11800 _ACEOF
11801 rm -f conftest.$ac_objext conftest$ac_exeext
11802 if { (ac_try="$ac_link"
11803 case "(($ac_try" in
11804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11805 *) ac_try_echo=$ac_try;;
11806 esac
11807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11808 (eval "$ac_link") 2>conftest.er1
11809 ac_status=$?
11810 grep -v '^ *+' conftest.er1 >conftest.err
11811 rm -f conftest.er1
11812 cat conftest.err >&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); } && {
11815 test -z "$ac_c_werror_flag" ||
11816 test ! -s conftest.err
11817 } && test -s conftest$ac_exeext &&
11818 $as_test_x conftest$ac_exeext; then
11819 case "$LIBEXT" in
11820 dll) ;;
11821 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'` ;;
11822 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11823 esac
11824 else
11825 echo "$as_me: failed program was:" >&5
11826 sed 's/^/| /' conftest.$ac_ext >&5
11831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11832 conftest$ac_exeext conftest.$ac_ext
11833 LIBS=$ac_check_soname_save_LIBS
11835 if test "x$ac_cv_lib_soname_curses" = "x"; then
11836 { echo "$as_me:$LINENO: result: not found" >&5
11837 echo "${ECHO_T}not found" >&6; }
11839 else
11840 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11841 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11843 cat >>confdefs.h <<_ACEOF
11844 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11845 _ACEOF
11847 CURSESLIBS="-lcurses"
11851 ac_save_LIBS="$LIBS"
11852 LIBS="$LIBS $CURSESLIBS"
11854 for ac_func in mousemask
11856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11857 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11859 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11860 echo $ECHO_N "(cached) $ECHO_C" >&6
11861 else
11862 cat >conftest.$ac_ext <<_ACEOF
11863 /* confdefs.h. */
11864 _ACEOF
11865 cat confdefs.h >>conftest.$ac_ext
11866 cat >>conftest.$ac_ext <<_ACEOF
11867 /* end confdefs.h. */
11868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11870 #define $ac_func innocuous_$ac_func
11872 /* System header to define __stub macros and hopefully few prototypes,
11873 which can conflict with char $ac_func (); below.
11874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11875 <limits.h> exists even on freestanding compilers. */
11877 #ifdef __STDC__
11878 # include <limits.h>
11879 #else
11880 # include <assert.h>
11881 #endif
11883 #undef $ac_func
11885 /* Override any GCC internal prototype to avoid an error.
11886 Use char because int might match the return type of a GCC
11887 builtin and then its argument prototype would still apply. */
11888 #ifdef __cplusplus
11889 extern "C"
11890 #endif
11891 char $ac_func ();
11892 /* The GNU C library defines this for functions which it implements
11893 to always fail with ENOSYS. Some functions are actually named
11894 something starting with __ and the normal name is an alias. */
11895 #if defined __stub_$ac_func || defined __stub___$ac_func
11896 choke me
11897 #endif
11900 main ()
11902 return $ac_func ();
11904 return 0;
11906 _ACEOF
11907 rm -f conftest.$ac_objext conftest$ac_exeext
11908 if { (ac_try="$ac_link"
11909 case "(($ac_try" in
11910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11911 *) ac_try_echo=$ac_try;;
11912 esac
11913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11914 (eval "$ac_link") 2>conftest.er1
11915 ac_status=$?
11916 grep -v '^ *+' conftest.er1 >conftest.err
11917 rm -f conftest.er1
11918 cat conftest.err >&5
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); } && {
11921 test -z "$ac_c_werror_flag" ||
11922 test ! -s conftest.err
11923 } && test -s conftest$ac_exeext &&
11924 $as_test_x conftest$ac_exeext; then
11925 eval "$as_ac_var=yes"
11926 else
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.$ac_ext >&5
11930 eval "$as_ac_var=no"
11933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11934 conftest$ac_exeext conftest.$ac_ext
11936 ac_res=`eval echo '${'$as_ac_var'}'`
11937 { echo "$as_me:$LINENO: result: $ac_res" >&5
11938 echo "${ECHO_T}$ac_res" >&6; }
11939 if test `eval echo '${'$as_ac_var'}'` = yes; then
11940 cat >>confdefs.h <<_ACEOF
11941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11942 _ACEOF
11945 done
11947 LIBS="$ac_save_LIBS"
11948 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11949 wine_notices="$wine_notices|lib(n)curses development files not found.
11950 Wine will be built without (n)curses support. (wineconsole.exe)"
11954 # Extract the first word of "sane-config", so it can be a program name with args.
11955 set dummy sane-config; ac_word=$2
11956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11958 if test "${ac_cv_prog_sane_devel+set}" = set; then
11959 echo $ECHO_N "(cached) $ECHO_C" >&6
11960 else
11961 if test -n "$sane_devel"; then
11962 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11963 else
11964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11965 for as_dir in $PATH
11967 IFS=$as_save_IFS
11968 test -z "$as_dir" && as_dir=.
11969 for ac_exec_ext in '' $ac_executable_extensions; do
11970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11971 ac_cv_prog_sane_devel="sane-config"
11972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11973 break 2
11975 done
11976 done
11977 IFS=$as_save_IFS
11979 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11982 sane_devel=$ac_cv_prog_sane_devel
11983 if test -n "$sane_devel"; then
11984 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11985 echo "${ECHO_T}$sane_devel" >&6; }
11986 else
11987 { echo "$as_me:$LINENO: result: no" >&5
11988 echo "${ECHO_T}no" >&6; }
11992 if test "$sane_devel" != "no"
11993 then
11994 ac_sane_incl="`$sane_devel --cflags`"
11995 ac_save_CPPFLAGS="$CPPFLAGS"
11996 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
11997 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11998 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11999 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12000 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12001 echo $ECHO_N "(cached) $ECHO_C" >&6
12003 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12004 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12005 else
12006 # Is the header compilable?
12007 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12008 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12009 cat >conftest.$ac_ext <<_ACEOF
12010 /* confdefs.h. */
12011 _ACEOF
12012 cat confdefs.h >>conftest.$ac_ext
12013 cat >>conftest.$ac_ext <<_ACEOF
12014 /* end confdefs.h. */
12015 $ac_includes_default
12016 #include <sane/sane.h>
12017 _ACEOF
12018 rm -f conftest.$ac_objext
12019 if { (ac_try="$ac_compile"
12020 case "(($ac_try" in
12021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12022 *) ac_try_echo=$ac_try;;
12023 esac
12024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12025 (eval "$ac_compile") 2>conftest.er1
12026 ac_status=$?
12027 grep -v '^ *+' conftest.er1 >conftest.err
12028 rm -f conftest.er1
12029 cat conftest.err >&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); } && {
12032 test -z "$ac_c_werror_flag" ||
12033 test ! -s conftest.err
12034 } && test -s conftest.$ac_objext; then
12035 ac_header_compiler=yes
12036 else
12037 echo "$as_me: failed program was:" >&5
12038 sed 's/^/| /' conftest.$ac_ext >&5
12040 ac_header_compiler=no
12043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12044 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12045 echo "${ECHO_T}$ac_header_compiler" >&6; }
12047 # Is the header present?
12048 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12049 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12050 cat >conftest.$ac_ext <<_ACEOF
12051 /* confdefs.h. */
12052 _ACEOF
12053 cat confdefs.h >>conftest.$ac_ext
12054 cat >>conftest.$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12056 #include <sane/sane.h>
12057 _ACEOF
12058 if { (ac_try="$ac_cpp conftest.$ac_ext"
12059 case "(($ac_try" in
12060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12061 *) ac_try_echo=$ac_try;;
12062 esac
12063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12064 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12065 ac_status=$?
12066 grep -v '^ *+' conftest.er1 >conftest.err
12067 rm -f conftest.er1
12068 cat conftest.err >&5
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); } >/dev/null && {
12071 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12072 test ! -s conftest.err
12073 }; then
12074 ac_header_preproc=yes
12075 else
12076 echo "$as_me: failed program was:" >&5
12077 sed 's/^/| /' conftest.$ac_ext >&5
12079 ac_header_preproc=no
12082 rm -f conftest.err conftest.$ac_ext
12083 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12084 echo "${ECHO_T}$ac_header_preproc" >&6; }
12086 # So? What about this header?
12087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12088 yes:no: )
12089 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12090 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12091 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12092 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12093 ac_header_preproc=yes
12095 no:yes:* )
12096 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12097 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12098 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12099 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12100 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12101 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12102 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12103 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12104 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12105 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12106 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12107 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12108 ( cat <<\_ASBOX
12109 ## ------------------------------------ ##
12110 ## Report this to wine-devel@winehq.org ##
12111 ## ------------------------------------ ##
12112 _ASBOX
12113 ) | sed "s/^/$as_me: WARNING: /" >&2
12115 esac
12116 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12117 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12118 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12119 echo $ECHO_N "(cached) $ECHO_C" >&6
12120 else
12121 ac_cv_header_sane_sane_h=$ac_header_preproc
12123 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12124 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12127 if test $ac_cv_header_sane_sane_h = yes; then
12128 { echo "$as_me:$LINENO: checking for -lsane" >&5
12129 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12130 if test "${ac_cv_lib_soname_sane+set}" = set; then
12131 echo $ECHO_N "(cached) $ECHO_C" >&6
12132 else
12133 ac_check_soname_save_LIBS=$LIBS
12134 LIBS="-lsane $LIBS"
12135 cat >conftest.$ac_ext <<_ACEOF
12136 /* confdefs.h. */
12137 _ACEOF
12138 cat confdefs.h >>conftest.$ac_ext
12139 cat >>conftest.$ac_ext <<_ACEOF
12140 /* end confdefs.h. */
12142 /* Override any GCC internal prototype to avoid an error.
12143 Use char because int might match the return type of a GCC
12144 builtin and then its argument prototype would still apply. */
12145 #ifdef __cplusplus
12146 extern "C"
12147 #endif
12148 char sane_init ();
12150 main ()
12152 return sane_init ();
12154 return 0;
12156 _ACEOF
12157 rm -f conftest.$ac_objext conftest$ac_exeext
12158 if { (ac_try="$ac_link"
12159 case "(($ac_try" in
12160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12161 *) ac_try_echo=$ac_try;;
12162 esac
12163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12164 (eval "$ac_link") 2>conftest.er1
12165 ac_status=$?
12166 grep -v '^ *+' conftest.er1 >conftest.err
12167 rm -f conftest.er1
12168 cat conftest.err >&5
12169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170 (exit $ac_status); } && {
12171 test -z "$ac_c_werror_flag" ||
12172 test ! -s conftest.err
12173 } && test -s conftest$ac_exeext &&
12174 $as_test_x conftest$ac_exeext; then
12175 case "$LIBEXT" in
12176 dll) ;;
12177 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'` ;;
12178 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12179 esac
12180 else
12181 echo "$as_me: failed program was:" >&5
12182 sed 's/^/| /' conftest.$ac_ext >&5
12187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_soname_save_LIBS
12191 if test "x$ac_cv_lib_soname_sane" = "x"; then
12192 { echo "$as_me:$LINENO: result: not found" >&5
12193 echo "${ECHO_T}not found" >&6; }
12195 else
12196 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12197 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12199 cat >>confdefs.h <<_ACEOF
12200 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12201 _ACEOF
12203 SANEINCL="$ac_sane_incl"
12210 CPPFLAGS="$ac_save_CPPFLAGS"
12212 if test "x$ac_cv_lib_soname_sane" = "x"; then
12213 wine_notices="$wine_notices|libsane development files not found.
12214 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12218 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12219 set dummy gphoto2-config; ac_word=$2
12220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12222 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12224 else
12225 if test -n "$gphoto2_devel"; then
12226 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12227 else
12228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12229 for as_dir in $PATH
12231 IFS=$as_save_IFS
12232 test -z "$as_dir" && as_dir=.
12233 for ac_exec_ext in '' $ac_executable_extensions; do
12234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12235 ac_cv_prog_gphoto2_devel="gphoto2-config"
12236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12237 break 2
12239 done
12240 done
12241 IFS=$as_save_IFS
12243 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12246 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12247 if test -n "$gphoto2_devel"; then
12248 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12249 echo "${ECHO_T}$gphoto2_devel" >&6; }
12250 else
12251 { echo "$as_me:$LINENO: result: no" >&5
12252 echo "${ECHO_T}no" >&6; }
12256 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12257 set dummy gphoto2-port-config; ac_word=$2
12258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12260 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12261 echo $ECHO_N "(cached) $ECHO_C" >&6
12262 else
12263 if test -n "$gphoto2port_devel"; then
12264 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12265 else
12266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12267 for as_dir in $PATH
12269 IFS=$as_save_IFS
12270 test -z "$as_dir" && as_dir=.
12271 for ac_exec_ext in '' $ac_executable_extensions; do
12272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12273 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12275 break 2
12277 done
12278 done
12279 IFS=$as_save_IFS
12281 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12284 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12285 if test -n "$gphoto2port_devel"; then
12286 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12287 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12288 else
12289 { echo "$as_me:$LINENO: result: no" >&5
12290 echo "${ECHO_T}no" >&6; }
12294 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12295 then
12296 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12297 ac_gphoto2_libs=""
12298 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12300 case "$i" in
12301 -L/usr/lib|-L/usr/lib64) ;;
12302 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12303 esac
12304 done
12305 ac_save_CPPFLAGS="$CPPFLAGS"
12306 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12307 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12308 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12309 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12310 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12313 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12314 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12315 else
12316 # Is the header compilable?
12317 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12318 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12319 cat >conftest.$ac_ext <<_ACEOF
12320 /* confdefs.h. */
12321 _ACEOF
12322 cat confdefs.h >>conftest.$ac_ext
12323 cat >>conftest.$ac_ext <<_ACEOF
12324 /* end confdefs.h. */
12325 $ac_includes_default
12326 #include <gphoto2-camera.h>
12327 _ACEOF
12328 rm -f conftest.$ac_objext
12329 if { (ac_try="$ac_compile"
12330 case "(($ac_try" in
12331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12332 *) ac_try_echo=$ac_try;;
12333 esac
12334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12335 (eval "$ac_compile") 2>conftest.er1
12336 ac_status=$?
12337 grep -v '^ *+' conftest.er1 >conftest.err
12338 rm -f conftest.er1
12339 cat conftest.err >&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } && {
12342 test -z "$ac_c_werror_flag" ||
12343 test ! -s conftest.err
12344 } && test -s conftest.$ac_objext; then
12345 ac_header_compiler=yes
12346 else
12347 echo "$as_me: failed program was:" >&5
12348 sed 's/^/| /' conftest.$ac_ext >&5
12350 ac_header_compiler=no
12353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12354 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12355 echo "${ECHO_T}$ac_header_compiler" >&6; }
12357 # Is the header present?
12358 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12359 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12360 cat >conftest.$ac_ext <<_ACEOF
12361 /* confdefs.h. */
12362 _ACEOF
12363 cat confdefs.h >>conftest.$ac_ext
12364 cat >>conftest.$ac_ext <<_ACEOF
12365 /* end confdefs.h. */
12366 #include <gphoto2-camera.h>
12367 _ACEOF
12368 if { (ac_try="$ac_cpp conftest.$ac_ext"
12369 case "(($ac_try" in
12370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12371 *) ac_try_echo=$ac_try;;
12372 esac
12373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12374 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12375 ac_status=$?
12376 grep -v '^ *+' conftest.er1 >conftest.err
12377 rm -f conftest.er1
12378 cat conftest.err >&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); } >/dev/null && {
12381 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12382 test ! -s conftest.err
12383 }; then
12384 ac_header_preproc=yes
12385 else
12386 echo "$as_me: failed program was:" >&5
12387 sed 's/^/| /' conftest.$ac_ext >&5
12389 ac_header_preproc=no
12392 rm -f conftest.err conftest.$ac_ext
12393 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12394 echo "${ECHO_T}$ac_header_preproc" >&6; }
12396 # So? What about this header?
12397 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12398 yes:no: )
12399 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12400 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12401 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12402 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12403 ac_header_preproc=yes
12405 no:yes:* )
12406 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12407 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12408 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12409 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12410 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12411 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12412 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12413 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12414 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12415 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12416 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12417 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12418 ( cat <<\_ASBOX
12419 ## ------------------------------------ ##
12420 ## Report this to wine-devel@winehq.org ##
12421 ## ------------------------------------ ##
12422 _ASBOX
12423 ) | sed "s/^/$as_me: WARNING: /" >&2
12425 esac
12426 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12427 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12428 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12429 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 else
12431 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12433 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12434 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12437 if test $ac_cv_header_gphoto2_camera_h = yes; then
12438 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12439 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12440 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12442 else
12443 ac_check_lib_save_LIBS=$LIBS
12444 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12445 cat >conftest.$ac_ext <<_ACEOF
12446 /* confdefs.h. */
12447 _ACEOF
12448 cat confdefs.h >>conftest.$ac_ext
12449 cat >>conftest.$ac_ext <<_ACEOF
12450 /* end confdefs.h. */
12452 /* Override any GCC internal prototype to avoid an error.
12453 Use char because int might match the return type of a GCC
12454 builtin and then its argument prototype would still apply. */
12455 #ifdef __cplusplus
12456 extern "C"
12457 #endif
12458 char gp_camera_new ();
12460 main ()
12462 return gp_camera_new ();
12464 return 0;
12466 _ACEOF
12467 rm -f conftest.$ac_objext conftest$ac_exeext
12468 if { (ac_try="$ac_link"
12469 case "(($ac_try" in
12470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12471 *) ac_try_echo=$ac_try;;
12472 esac
12473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12474 (eval "$ac_link") 2>conftest.er1
12475 ac_status=$?
12476 grep -v '^ *+' conftest.er1 >conftest.err
12477 rm -f conftest.er1
12478 cat conftest.err >&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); } && {
12481 test -z "$ac_c_werror_flag" ||
12482 test ! -s conftest.err
12483 } && test -s conftest$ac_exeext &&
12484 $as_test_x conftest$ac_exeext; then
12485 ac_cv_lib_gphoto2_gp_camera_new=yes
12486 else
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.$ac_ext >&5
12490 ac_cv_lib_gphoto2_gp_camera_new=no
12493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12494 conftest$ac_exeext conftest.$ac_ext
12495 LIBS=$ac_check_lib_save_LIBS
12497 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12498 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12499 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12501 cat >>confdefs.h <<\_ACEOF
12502 #define HAVE_GPHOTO2 1
12503 _ACEOF
12505 GPHOTO2LIBS="$ac_gphoto2_libs"
12507 GPHOTO2INCL="$ac_gphoto2_incl"
12514 CPPFLAGS="$ac_save_CPPFLAGS"
12516 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12517 wine_notices="$wine_notices|libgphoto2 development files not found.
12518 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12523 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12524 then
12525 saved_libs="$LIBS"
12526 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12527 if test -n "$ICU_LIB_DIR"
12528 then
12529 icu_libs="-L$ICU_LIB_DIR $icu_libs"
12531 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12532 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12533 LIBS="$saved_libs $icu_libs"
12534 if test "$cross_compiling" = yes; then
12535 { echo "$as_me:$LINENO: result: no" >&5
12536 echo "${ECHO_T}no" >&6; }
12537 else
12538 cat >conftest.$ac_ext <<_ACEOF
12539 /* confdefs.h. */
12540 _ACEOF
12541 cat confdefs.h >>conftest.$ac_ext
12542 cat >>conftest.$ac_ext <<_ACEOF
12543 /* end confdefs.h. */
12544 #include <unicode/ubidi.h>
12546 main ()
12548 ubidi_open()
12550 return 0;
12552 _ACEOF
12553 rm -f conftest$ac_exeext
12554 if { (ac_try="$ac_link"
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_link") 2>&5
12561 ac_status=$?
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12564 { (case "(($ac_try" in
12565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12566 *) ac_try_echo=$ac_try;;
12567 esac
12568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12569 (eval "$ac_try") 2>&5
12570 ac_status=$?
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); }; }; then
12574 cat >>confdefs.h <<\_ACEOF
12575 #define HAVE_ICU 1
12576 _ACEOF
12578 ICULIBS="$icu_libs"
12580 { echo "$as_me:$LINENO: result: yes" >&5
12581 echo "${ECHO_T}yes" >&6; }
12582 else
12583 echo "$as_me: program exited with status $ac_status" >&5
12584 echo "$as_me: failed program was:" >&5
12585 sed 's/^/| /' conftest.$ac_ext >&5
12587 ( exit $ac_status )
12588 { echo "$as_me:$LINENO: result: no" >&5
12589 echo "${ECHO_T}no" >&6; }
12591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12595 LIBS="$saved_libs"
12597 if test "x$ICULIBS" = "x"; then
12598 wine_notices="$wine_notices|libicu development files not found.
12599 Wine will be built without bidi (Right to Left) support. (gdi32.dll)"
12603 RESOLVLIBS=""
12605 if test "$ac_cv_header_resolv_h" = "yes"
12606 then
12607 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12608 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12609 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12610 echo $ECHO_N "(cached) $ECHO_C" >&6
12611 else
12612 ac_check_lib_save_LIBS=$LIBS
12613 LIBS="-lresolv $LIBS"
12614 cat >conftest.$ac_ext <<_ACEOF
12615 /* confdefs.h. */
12616 _ACEOF
12617 cat confdefs.h >>conftest.$ac_ext
12618 cat >>conftest.$ac_ext <<_ACEOF
12619 /* end confdefs.h. */
12621 /* Override any GCC internal prototype to avoid an error.
12622 Use char because int might match the return type of a GCC
12623 builtin and then its argument prototype would still apply. */
12624 #ifdef __cplusplus
12625 extern "C"
12626 #endif
12627 char res_query ();
12629 main ()
12631 return res_query ();
12633 return 0;
12635 _ACEOF
12636 rm -f conftest.$ac_objext conftest$ac_exeext
12637 if { (ac_try="$ac_link"
12638 case "(($ac_try" in
12639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12640 *) ac_try_echo=$ac_try;;
12641 esac
12642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12643 (eval "$ac_link") 2>conftest.er1
12644 ac_status=$?
12645 grep -v '^ *+' conftest.er1 >conftest.err
12646 rm -f conftest.er1
12647 cat conftest.err >&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } && {
12650 test -z "$ac_c_werror_flag" ||
12651 test ! -s conftest.err
12652 } && test -s conftest$ac_exeext &&
12653 $as_test_x conftest$ac_exeext; then
12654 ac_cv_lib_resolv_res_query=yes
12655 else
12656 echo "$as_me: failed program was:" >&5
12657 sed 's/^/| /' conftest.$ac_ext >&5
12659 ac_cv_lib_resolv_res_query=no
12662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12663 conftest$ac_exeext conftest.$ac_ext
12664 LIBS=$ac_check_lib_save_LIBS
12666 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12667 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12668 if test $ac_cv_lib_resolv_res_query = yes; then
12670 cat >>confdefs.h <<\_ACEOF
12671 #define HAVE_RESOLV 1
12672 _ACEOF
12674 RESOLVLIBS="-lresolv"
12679 LCMSLIBS=""
12681 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12682 then
12683 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12684 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12685 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12686 echo $ECHO_N "(cached) $ECHO_C" >&6
12687 else
12688 ac_check_lib_save_LIBS=$LIBS
12689 LIBS="-llcms $LIBS"
12690 cat >conftest.$ac_ext <<_ACEOF
12691 /* confdefs.h. */
12692 _ACEOF
12693 cat confdefs.h >>conftest.$ac_ext
12694 cat >>conftest.$ac_ext <<_ACEOF
12695 /* end confdefs.h. */
12697 /* Override any GCC internal prototype to avoid an error.
12698 Use char because int might match the return type of a GCC
12699 builtin and then its argument prototype would still apply. */
12700 #ifdef __cplusplus
12701 extern "C"
12702 #endif
12703 char cmsOpenProfileFromFile ();
12705 main ()
12707 return cmsOpenProfileFromFile ();
12709 return 0;
12711 _ACEOF
12712 rm -f conftest.$ac_objext conftest$ac_exeext
12713 if { (ac_try="$ac_link"
12714 case "(($ac_try" in
12715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12716 *) ac_try_echo=$ac_try;;
12717 esac
12718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12719 (eval "$ac_link") 2>conftest.er1
12720 ac_status=$?
12721 grep -v '^ *+' conftest.er1 >conftest.err
12722 rm -f conftest.er1
12723 cat conftest.err >&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); } && {
12726 test -z "$ac_c_werror_flag" ||
12727 test ! -s conftest.err
12728 } && test -s conftest$ac_exeext &&
12729 $as_test_x conftest$ac_exeext; then
12730 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12731 else
12732 echo "$as_me: failed program was:" >&5
12733 sed 's/^/| /' conftest.$ac_ext >&5
12735 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12739 conftest$ac_exeext conftest.$ac_ext
12740 LIBS=$ac_check_lib_save_LIBS
12742 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12743 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12744 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12746 cat >>confdefs.h <<\_ACEOF
12747 #define HAVE_LCMS 1
12748 _ACEOF
12750 LCMSLIBS="-llcms"
12754 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12755 wine_notices="$wine_notices|liblcms development files not found.
12756 Wine will be built without Color Management support. (mscms.dll)"
12760 LDAPLIBS=""
12762 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12763 then
12764 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12765 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12766 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12767 echo $ECHO_N "(cached) $ECHO_C" >&6
12768 else
12769 ac_check_lib_save_LIBS=$LIBS
12770 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12771 cat >conftest.$ac_ext <<_ACEOF
12772 /* confdefs.h. */
12773 _ACEOF
12774 cat confdefs.h >>conftest.$ac_ext
12775 cat >>conftest.$ac_ext <<_ACEOF
12776 /* end confdefs.h. */
12778 /* Override any GCC internal prototype to avoid an error.
12779 Use char because int might match the return type of a GCC
12780 builtin and then its argument prototype would still apply. */
12781 #ifdef __cplusplus
12782 extern "C"
12783 #endif
12784 char ldap_initialize ();
12786 main ()
12788 return ldap_initialize ();
12790 return 0;
12792 _ACEOF
12793 rm -f conftest.$ac_objext conftest$ac_exeext
12794 if { (ac_try="$ac_link"
12795 case "(($ac_try" in
12796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12797 *) ac_try_echo=$ac_try;;
12798 esac
12799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12800 (eval "$ac_link") 2>conftest.er1
12801 ac_status=$?
12802 grep -v '^ *+' conftest.er1 >conftest.err
12803 rm -f conftest.er1
12804 cat conftest.err >&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); } && {
12807 test -z "$ac_c_werror_flag" ||
12808 test ! -s conftest.err
12809 } && test -s conftest$ac_exeext &&
12810 $as_test_x conftest$ac_exeext; then
12811 ac_cv_lib_ldap_r_ldap_initialize=yes
12812 else
12813 echo "$as_me: failed program was:" >&5
12814 sed 's/^/| /' conftest.$ac_ext >&5
12816 ac_cv_lib_ldap_r_ldap_initialize=no
12819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12820 conftest$ac_exeext conftest.$ac_ext
12821 LIBS=$ac_check_lib_save_LIBS
12823 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12824 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12825 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12826 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12827 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12828 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12829 echo $ECHO_N "(cached) $ECHO_C" >&6
12830 else
12831 ac_check_lib_save_LIBS=$LIBS
12832 LIBS="-llber $LIBPTHREAD $LIBS"
12833 cat >conftest.$ac_ext <<_ACEOF
12834 /* confdefs.h. */
12835 _ACEOF
12836 cat confdefs.h >>conftest.$ac_ext
12837 cat >>conftest.$ac_ext <<_ACEOF
12838 /* end confdefs.h. */
12840 /* Override any GCC internal prototype to avoid an error.
12841 Use char because int might match the return type of a GCC
12842 builtin and then its argument prototype would still apply. */
12843 #ifdef __cplusplus
12844 extern "C"
12845 #endif
12846 char ber_init ();
12848 main ()
12850 return ber_init ();
12852 return 0;
12854 _ACEOF
12855 rm -f conftest.$ac_objext conftest$ac_exeext
12856 if { (ac_try="$ac_link"
12857 case "(($ac_try" in
12858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12859 *) ac_try_echo=$ac_try;;
12860 esac
12861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12862 (eval "$ac_link") 2>conftest.er1
12863 ac_status=$?
12864 grep -v '^ *+' conftest.er1 >conftest.err
12865 rm -f conftest.er1
12866 cat conftest.err >&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); } && {
12869 test -z "$ac_c_werror_flag" ||
12870 test ! -s conftest.err
12871 } && test -s conftest$ac_exeext &&
12872 $as_test_x conftest$ac_exeext; then
12873 ac_cv_lib_lber_ber_init=yes
12874 else
12875 echo "$as_me: failed program was:" >&5
12876 sed 's/^/| /' conftest.$ac_ext >&5
12878 ac_cv_lib_lber_ber_init=no
12881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12882 conftest$ac_exeext conftest.$ac_ext
12883 LIBS=$ac_check_lib_save_LIBS
12885 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12886 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12887 if test $ac_cv_lib_lber_ber_init = yes; then
12889 cat >>confdefs.h <<\_ACEOF
12890 #define HAVE_LDAP 1
12891 _ACEOF
12893 LDAPLIBS="-lldap_r -llber"
12898 ac_wine_check_funcs_save_LIBS="$LIBS"
12899 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12904 for ac_func in \
12905 ldap_count_references \
12906 ldap_first_reference \
12907 ldap_next_reference \
12908 ldap_parse_reference
12910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12913 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12914 echo $ECHO_N "(cached) $ECHO_C" >&6
12915 else
12916 cat >conftest.$ac_ext <<_ACEOF
12917 /* confdefs.h. */
12918 _ACEOF
12919 cat confdefs.h >>conftest.$ac_ext
12920 cat >>conftest.$ac_ext <<_ACEOF
12921 /* end confdefs.h. */
12922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12924 #define $ac_func innocuous_$ac_func
12926 /* System header to define __stub macros and hopefully few prototypes,
12927 which can conflict with char $ac_func (); below.
12928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12929 <limits.h> exists even on freestanding compilers. */
12931 #ifdef __STDC__
12932 # include <limits.h>
12933 #else
12934 # include <assert.h>
12935 #endif
12937 #undef $ac_func
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12942 #ifdef __cplusplus
12943 extern "C"
12944 #endif
12945 char $ac_func ();
12946 /* The GNU C library defines this for functions which it implements
12947 to always fail with ENOSYS. Some functions are actually named
12948 something starting with __ and the normal name is an alias. */
12949 #if defined __stub_$ac_func || defined __stub___$ac_func
12950 choke me
12951 #endif
12954 main ()
12956 return $ac_func ();
12958 return 0;
12960 _ACEOF
12961 rm -f conftest.$ac_objext conftest$ac_exeext
12962 if { (ac_try="$ac_link"
12963 case "(($ac_try" in
12964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12965 *) ac_try_echo=$ac_try;;
12966 esac
12967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12968 (eval "$ac_link") 2>conftest.er1
12969 ac_status=$?
12970 grep -v '^ *+' conftest.er1 >conftest.err
12971 rm -f conftest.er1
12972 cat conftest.err >&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); } && {
12975 test -z "$ac_c_werror_flag" ||
12976 test ! -s conftest.err
12977 } && test -s conftest$ac_exeext &&
12978 $as_test_x conftest$ac_exeext; then
12979 eval "$as_ac_var=yes"
12980 else
12981 echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.$ac_ext >&5
12984 eval "$as_ac_var=no"
12987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12988 conftest$ac_exeext conftest.$ac_ext
12990 ac_res=`eval echo '${'$as_ac_var'}'`
12991 { echo "$as_me:$LINENO: result: $ac_res" >&5
12992 echo "${ECHO_T}$ac_res" >&6; }
12993 if test `eval echo '${'$as_ac_var'}'` = yes; then
12994 cat >>confdefs.h <<_ACEOF
12995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12996 _ACEOF
12999 done
13001 LIBS="$ac_wine_check_funcs_save_LIBS"
13003 if test "x$LDAPLIBS" = "x"; then
13004 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13005 Wine will be built without LDAP support. (wldap32.dll)"
13009 for ac_prog in freetype-config freetype2-config
13011 # Extract the first word of "$ac_prog", so it can be a program name with args.
13012 set dummy $ac_prog; ac_word=$2
13013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13015 if test "${ac_cv_prog_ft_devel+set}" = set; then
13016 echo $ECHO_N "(cached) $ECHO_C" >&6
13017 else
13018 if test -n "$ft_devel"; then
13019 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13020 else
13021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13022 for as_dir in $PATH
13024 IFS=$as_save_IFS
13025 test -z "$as_dir" && as_dir=.
13026 for ac_exec_ext in '' $ac_executable_extensions; do
13027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13028 ac_cv_prog_ft_devel="$ac_prog"
13029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13030 break 2
13032 done
13033 done
13034 IFS=$as_save_IFS
13038 ft_devel=$ac_cv_prog_ft_devel
13039 if test -n "$ft_devel"; then
13040 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13041 echo "${ECHO_T}$ft_devel" >&6; }
13042 else
13043 { echo "$as_me:$LINENO: result: no" >&5
13044 echo "${ECHO_T}no" >&6; }
13048 test -n "$ft_devel" && break
13049 done
13050 test -n "$ft_devel" || ft_devel="false"
13052 if test "$ft_devel" != "false"
13053 then
13054 ac_freetype_libs=`$ft_devel --libs`
13055 ac_freetype_incl=`$ft_devel --cflags`
13056 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13057 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13058 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13059 echo $ECHO_N "(cached) $ECHO_C" >&6
13060 else
13061 ac_check_soname_save_LIBS=$LIBS
13062 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13063 cat >conftest.$ac_ext <<_ACEOF
13064 /* confdefs.h. */
13065 _ACEOF
13066 cat confdefs.h >>conftest.$ac_ext
13067 cat >>conftest.$ac_ext <<_ACEOF
13068 /* end confdefs.h. */
13070 /* Override any GCC internal prototype to avoid an error.
13071 Use char because int might match the return type of a GCC
13072 builtin and then its argument prototype would still apply. */
13073 #ifdef __cplusplus
13074 extern "C"
13075 #endif
13076 char FT_Init_FreeType ();
13078 main ()
13080 return FT_Init_FreeType ();
13082 return 0;
13084 _ACEOF
13085 rm -f conftest.$ac_objext conftest$ac_exeext
13086 if { (ac_try="$ac_link"
13087 case "(($ac_try" in
13088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13089 *) ac_try_echo=$ac_try;;
13090 esac
13091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13092 (eval "$ac_link") 2>conftest.er1
13093 ac_status=$?
13094 grep -v '^ *+' conftest.er1 >conftest.err
13095 rm -f conftest.er1
13096 cat conftest.err >&5
13097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13098 (exit $ac_status); } && {
13099 test -z "$ac_c_werror_flag" ||
13100 test ! -s conftest.err
13101 } && test -s conftest$ac_exeext &&
13102 $as_test_x conftest$ac_exeext; then
13103 case "$LIBEXT" in
13104 dll) ;;
13105 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'` ;;
13106 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13107 esac
13108 else
13109 echo "$as_me: failed program was:" >&5
13110 sed 's/^/| /' conftest.$ac_ext >&5
13115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13116 conftest$ac_exeext conftest.$ac_ext
13117 LIBS=$ac_check_soname_save_LIBS
13119 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13120 { echo "$as_me:$LINENO: result: not found" >&5
13121 echo "${ECHO_T}not found" >&6; }
13122 ft_lib=no
13123 else
13124 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13125 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13127 cat >>confdefs.h <<_ACEOF
13128 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13129 _ACEOF
13131 ft_lib=yes
13134 if test "$ft_lib" = "yes"
13135 then
13136 ac_save_CPPFLAGS="$CPPFLAGS"
13137 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13149 for ac_header in ft2build.h \
13150 freetype/freetype.h \
13151 freetype/ftglyph.h \
13152 freetype/tttables.h \
13153 freetype/ftnames.h \
13154 freetype/ftsnames.h \
13155 freetype/ttnameid.h \
13156 freetype/ftoutln.h \
13157 freetype/ftwinfnt.h \
13158 freetype/ftmodapi.h \
13159 freetype/internal/sfnt.h
13161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13162 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13164 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13165 echo $ECHO_N "(cached) $ECHO_C" >&6
13166 else
13167 cat >conftest.$ac_ext <<_ACEOF
13168 /* confdefs.h. */
13169 _ACEOF
13170 cat confdefs.h >>conftest.$ac_ext
13171 cat >>conftest.$ac_ext <<_ACEOF
13172 /* end confdefs.h. */
13173 #if HAVE_FT2BUILD_H
13174 #include <ft2build.h>
13175 #endif
13177 #include <$ac_header>
13178 _ACEOF
13179 rm -f conftest.$ac_objext
13180 if { (ac_try="$ac_compile"
13181 case "(($ac_try" in
13182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13183 *) ac_try_echo=$ac_try;;
13184 esac
13185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13186 (eval "$ac_compile") 2>conftest.er1
13187 ac_status=$?
13188 grep -v '^ *+' conftest.er1 >conftest.err
13189 rm -f conftest.er1
13190 cat conftest.err >&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); } && {
13193 test -z "$ac_c_werror_flag" ||
13194 test ! -s conftest.err
13195 } && test -s conftest.$ac_objext; then
13196 eval "$as_ac_Header=yes"
13197 else
13198 echo "$as_me: failed program was:" >&5
13199 sed 's/^/| /' conftest.$ac_ext >&5
13201 eval "$as_ac_Header=no"
13204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13206 ac_res=`eval echo '${'$as_ac_Header'}'`
13207 { echo "$as_me:$LINENO: result: $ac_res" >&5
13208 echo "${ECHO_T}$ac_res" >&6; }
13209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13210 cat >>confdefs.h <<_ACEOF
13211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13212 _ACEOF
13216 done
13218 cat >conftest.$ac_ext <<_ACEOF
13219 /* confdefs.h. */
13220 _ACEOF
13221 cat confdefs.h >>conftest.$ac_ext
13222 cat >>conftest.$ac_ext <<_ACEOF
13223 /* end confdefs.h. */
13224 #include <ft2build.h>
13225 #include <freetype/fttrigon.h>
13226 _ACEOF
13227 if { (ac_try="$ac_cpp conftest.$ac_ext"
13228 case "(($ac_try" in
13229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13230 *) ac_try_echo=$ac_try;;
13231 esac
13232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13233 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13234 ac_status=$?
13235 grep -v '^ *+' conftest.er1 >conftest.err
13236 rm -f conftest.er1
13237 cat conftest.err >&5
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); } >/dev/null && {
13240 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13241 test ! -s conftest.err
13242 }; then
13244 cat >>confdefs.h <<\_ACEOF
13245 #define HAVE_FREETYPE_FTTRIGON_H 1
13246 _ACEOF
13248 wine_cv_fttrigon=yes
13249 else
13250 echo "$as_me: failed program was:" >&5
13251 sed 's/^/| /' conftest.$ac_ext >&5
13253 wine_cv_fttrigon=no
13256 rm -f conftest.err conftest.$ac_ext
13257 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13258 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13259 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13260 echo $ECHO_N "(cached) $ECHO_C" >&6
13261 else
13262 cat >conftest.$ac_ext <<_ACEOF
13263 /* confdefs.h. */
13264 _ACEOF
13265 cat confdefs.h >>conftest.$ac_ext
13266 cat >>conftest.$ac_ext <<_ACEOF
13267 /* end confdefs.h. */
13268 #include <freetype/ftmodapi.h>
13270 typedef FT_TrueTypeEngineType ac__type_new_;
13272 main ()
13274 if ((ac__type_new_ *) 0)
13275 return 0;
13276 if (sizeof (ac__type_new_))
13277 return 0;
13279 return 0;
13281 _ACEOF
13282 rm -f conftest.$ac_objext
13283 if { (ac_try="$ac_compile"
13284 case "(($ac_try" in
13285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13286 *) ac_try_echo=$ac_try;;
13287 esac
13288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13289 (eval "$ac_compile") 2>conftest.er1
13290 ac_status=$?
13291 grep -v '^ *+' conftest.er1 >conftest.err
13292 rm -f conftest.er1
13293 cat conftest.err >&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); } && {
13296 test -z "$ac_c_werror_flag" ||
13297 test ! -s conftest.err
13298 } && test -s conftest.$ac_objext; then
13299 ac_cv_type_FT_TrueTypeEngineType=yes
13300 else
13301 echo "$as_me: failed program was:" >&5
13302 sed 's/^/| /' conftest.$ac_ext >&5
13304 ac_cv_type_FT_TrueTypeEngineType=no
13307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13309 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13310 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13311 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13313 cat >>confdefs.h <<_ACEOF
13314 #define HAVE_FT_TRUETYPEENGINETYPE 1
13315 _ACEOF
13320 ac_save_CFLAGS="$CFLAGS"
13321 CFLAGS="$CFLAGS $ac_freetype_libs"
13323 for ac_func in FT_Load_Sfnt_Table
13325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13329 echo $ECHO_N "(cached) $ECHO_C" >&6
13330 else
13331 cat >conftest.$ac_ext <<_ACEOF
13332 /* confdefs.h. */
13333 _ACEOF
13334 cat confdefs.h >>conftest.$ac_ext
13335 cat >>conftest.$ac_ext <<_ACEOF
13336 /* end confdefs.h. */
13337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13339 #define $ac_func innocuous_$ac_func
13341 /* System header to define __stub macros and hopefully few prototypes,
13342 which can conflict with char $ac_func (); below.
13343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13344 <limits.h> exists even on freestanding compilers. */
13346 #ifdef __STDC__
13347 # include <limits.h>
13348 #else
13349 # include <assert.h>
13350 #endif
13352 #undef $ac_func
13354 /* Override any GCC internal prototype to avoid an error.
13355 Use char because int might match the return type of a GCC
13356 builtin and then its argument prototype would still apply. */
13357 #ifdef __cplusplus
13358 extern "C"
13359 #endif
13360 char $ac_func ();
13361 /* The GNU C library defines this for functions which it implements
13362 to always fail with ENOSYS. Some functions are actually named
13363 something starting with __ and the normal name is an alias. */
13364 #if defined __stub_$ac_func || defined __stub___$ac_func
13365 choke me
13366 #endif
13369 main ()
13371 return $ac_func ();
13373 return 0;
13375 _ACEOF
13376 rm -f conftest.$ac_objext conftest$ac_exeext
13377 if { (ac_try="$ac_link"
13378 case "(($ac_try" in
13379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13380 *) ac_try_echo=$ac_try;;
13381 esac
13382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13383 (eval "$ac_link") 2>conftest.er1
13384 ac_status=$?
13385 grep -v '^ *+' conftest.er1 >conftest.err
13386 rm -f conftest.er1
13387 cat conftest.err >&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } && {
13390 test -z "$ac_c_werror_flag" ||
13391 test ! -s conftest.err
13392 } && test -s conftest$ac_exeext &&
13393 $as_test_x conftest$ac_exeext; then
13394 eval "$as_ac_var=yes"
13395 else
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.$ac_ext >&5
13399 eval "$as_ac_var=no"
13402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13403 conftest$ac_exeext conftest.$ac_ext
13405 ac_res=`eval echo '${'$as_ac_var'}'`
13406 { echo "$as_me:$LINENO: result: $ac_res" >&5
13407 echo "${ECHO_T}$ac_res" >&6; }
13408 if test `eval echo '${'$as_ac_var'}'` = yes; then
13409 cat >>confdefs.h <<_ACEOF
13410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13411 _ACEOF
13414 done
13416 CFLAGS="$ac_save_CFLAGS"
13417 CPPFLAGS="$ac_save_CPPFLAGS"
13418 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13419 then
13421 cat >>confdefs.h <<\_ACEOF
13422 #define HAVE_FREETYPE 1
13423 _ACEOF
13425 FREETYPELIBS="$ac_freetype_libs"
13427 FREETYPEINCL="$ac_freetype_incl"
13433 if test "$FONTFORGE" = "false"
13434 then
13435 wine_warnings="$wine_warnings|FontForge is missing.
13436 Fonts will not be built. Dialog text may be invisible or unaligned."
13437 elif test "x$FREETYPELIBS" = "x"
13438 then
13439 wine_warnings="$wine_warnings|FreeType development files not found.
13440 Fonts will not be built. Dialog text may be invisible or unaligned."
13441 else
13442 FONTSSUBDIRS="fonts"
13446 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13447 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13448 if test "${ac_cv_c_ppdev+set}" = set; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 else
13451 cat >conftest.$ac_ext <<_ACEOF
13452 /* confdefs.h. */
13453 _ACEOF
13454 cat confdefs.h >>conftest.$ac_ext
13455 cat >>conftest.$ac_ext <<_ACEOF
13456 /* end confdefs.h. */
13457 #include <linux/ppdev.h>
13459 main ()
13461 ioctl (1,PPCLAIM,0)
13463 return 0;
13465 _ACEOF
13466 rm -f conftest.$ac_objext
13467 if { (ac_try="$ac_compile"
13468 case "(($ac_try" in
13469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13470 *) ac_try_echo=$ac_try;;
13471 esac
13472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13473 (eval "$ac_compile") 2>conftest.er1
13474 ac_status=$?
13475 grep -v '^ *+' conftest.er1 >conftest.err
13476 rm -f conftest.er1
13477 cat conftest.err >&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); } && {
13480 test -z "$ac_c_werror_flag" ||
13481 test ! -s conftest.err
13482 } && test -s conftest.$ac_objext; then
13483 ac_cv_c_ppdev="yes"
13484 else
13485 echo "$as_me: failed program was:" >&5
13486 sed 's/^/| /' conftest.$ac_ext >&5
13488 ac_cv_c_ppdev="no"
13491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13493 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13494 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13495 if test "$ac_cv_c_ppdev" = "yes"
13496 then
13498 cat >>confdefs.h <<\_ACEOF
13499 #define HAVE_PPDEV 1
13500 _ACEOF
13504 { echo "$as_me:$LINENO: checking for va_copy" >&5
13505 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13506 if test "${ac_cv_c_va_copy+set}" = set; then
13507 echo $ECHO_N "(cached) $ECHO_C" >&6
13508 else
13509 cat >conftest.$ac_ext <<_ACEOF
13510 /* confdefs.h. */
13511 _ACEOF
13512 cat confdefs.h >>conftest.$ac_ext
13513 cat >>conftest.$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13515 #include <stdarg.h>
13517 main ()
13519 va_list ap1, ap2; va_copy(ap1,ap2);
13521 return 0;
13523 _ACEOF
13524 rm -f conftest.$ac_objext conftest$ac_exeext
13525 if { (ac_try="$ac_link"
13526 case "(($ac_try" in
13527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13528 *) ac_try_echo=$ac_try;;
13529 esac
13530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13531 (eval "$ac_link") 2>conftest.er1
13532 ac_status=$?
13533 grep -v '^ *+' conftest.er1 >conftest.err
13534 rm -f conftest.er1
13535 cat conftest.err >&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); } && {
13538 test -z "$ac_c_werror_flag" ||
13539 test ! -s conftest.err
13540 } && test -s conftest$ac_exeext &&
13541 $as_test_x conftest$ac_exeext; then
13542 ac_cv_c_va_copy="yes"
13543 else
13544 echo "$as_me: failed program was:" >&5
13545 sed 's/^/| /' conftest.$ac_ext >&5
13547 ac_cv_c_va_copy="no"
13550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13551 conftest$ac_exeext conftest.$ac_ext
13554 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13555 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13556 if test "$ac_cv_c_va_copy" = "yes"
13557 then
13559 cat >>confdefs.h <<\_ACEOF
13560 #define HAVE_VA_COPY 1
13561 _ACEOF
13564 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13565 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13566 if test "${ac_cv_c___va_copy+set}" = set; then
13567 echo $ECHO_N "(cached) $ECHO_C" >&6
13568 else
13569 cat >conftest.$ac_ext <<_ACEOF
13570 /* confdefs.h. */
13571 _ACEOF
13572 cat confdefs.h >>conftest.$ac_ext
13573 cat >>conftest.$ac_ext <<_ACEOF
13574 /* end confdefs.h. */
13575 #include <stdarg.h>
13577 main ()
13579 va_list ap1, ap2; __va_copy(ap1,ap2);
13581 return 0;
13583 _ACEOF
13584 rm -f conftest.$ac_objext conftest$ac_exeext
13585 if { (ac_try="$ac_link"
13586 case "(($ac_try" in
13587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13588 *) ac_try_echo=$ac_try;;
13589 esac
13590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13591 (eval "$ac_link") 2>conftest.er1
13592 ac_status=$?
13593 grep -v '^ *+' conftest.er1 >conftest.err
13594 rm -f conftest.er1
13595 cat conftest.err >&5
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); } && {
13598 test -z "$ac_c_werror_flag" ||
13599 test ! -s conftest.err
13600 } && test -s conftest$ac_exeext &&
13601 $as_test_x conftest$ac_exeext; then
13602 ac_cv_c___va_copy="yes"
13603 else
13604 echo "$as_me: failed program was:" >&5
13605 sed 's/^/| /' conftest.$ac_ext >&5
13607 ac_cv_c___va_copy="no"
13610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13611 conftest$ac_exeext conftest.$ac_ext
13614 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13615 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13616 if test "$ac_cv_c___va_copy" = "yes"
13617 then
13619 cat >>confdefs.h <<\_ACEOF
13620 #define HAVE___VA_COPY 1
13621 _ACEOF
13625 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13626 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13627 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13628 echo $ECHO_N "(cached) $ECHO_C" >&6
13629 else
13630 cat >conftest.$ac_ext <<_ACEOF
13631 /* confdefs.h. */
13632 _ACEOF
13633 cat confdefs.h >>conftest.$ac_ext
13634 cat >>conftest.$ac_ext <<_ACEOF
13635 /* end confdefs.h. */
13636 #include <setjmp.h>
13638 main ()
13640 sigjmp_buf buf;
13641 sigsetjmp( buf, 1 );
13642 siglongjmp( buf, 1 );
13644 return 0;
13646 _ACEOF
13647 rm -f conftest.$ac_objext conftest$ac_exeext
13648 if { (ac_try="$ac_link"
13649 case "(($ac_try" in
13650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13651 *) ac_try_echo=$ac_try;;
13652 esac
13653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13654 (eval "$ac_link") 2>conftest.er1
13655 ac_status=$?
13656 grep -v '^ *+' conftest.er1 >conftest.err
13657 rm -f conftest.er1
13658 cat conftest.err >&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } && {
13661 test -z "$ac_c_werror_flag" ||
13662 test ! -s conftest.err
13663 } && test -s conftest$ac_exeext &&
13664 $as_test_x conftest$ac_exeext; then
13665 ac_cv_c_sigsetjmp="yes"
13666 else
13667 echo "$as_me: failed program was:" >&5
13668 sed 's/^/| /' conftest.$ac_ext >&5
13670 ac_cv_c_sigsetjmp="no"
13673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13674 conftest$ac_exeext conftest.$ac_ext
13677 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13678 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13679 if test "$ac_cv_c_sigsetjmp" = "yes"
13680 then
13682 cat >>confdefs.h <<\_ACEOF
13683 #define HAVE_SIGSETJMP 1
13684 _ACEOF
13688 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13689 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13690 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13691 echo $ECHO_N "(cached) $ECHO_C" >&6
13692 else
13693 cat >conftest.$ac_ext <<_ACEOF
13694 /* confdefs.h. */
13695 _ACEOF
13696 cat confdefs.h >>conftest.$ac_ext
13697 cat >>conftest.$ac_ext <<_ACEOF
13698 /* end confdefs.h. */
13699 #define _GNU_SOURCE
13700 #include <pthread.h>
13702 typedef pthread_rwlock_t ac__type_new_;
13704 main ()
13706 if ((ac__type_new_ *) 0)
13707 return 0;
13708 if (sizeof (ac__type_new_))
13709 return 0;
13711 return 0;
13713 _ACEOF
13714 rm -f conftest.$ac_objext
13715 if { (ac_try="$ac_compile"
13716 case "(($ac_try" in
13717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13718 *) ac_try_echo=$ac_try;;
13719 esac
13720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13721 (eval "$ac_compile") 2>conftest.er1
13722 ac_status=$?
13723 grep -v '^ *+' conftest.er1 >conftest.err
13724 rm -f conftest.er1
13725 cat conftest.err >&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); } && {
13728 test -z "$ac_c_werror_flag" ||
13729 test ! -s conftest.err
13730 } && test -s conftest.$ac_objext; then
13731 ac_cv_type_pthread_rwlock_t=yes
13732 else
13733 echo "$as_me: failed program was:" >&5
13734 sed 's/^/| /' conftest.$ac_ext >&5
13736 ac_cv_type_pthread_rwlock_t=no
13739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13741 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13742 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13743 if test $ac_cv_type_pthread_rwlock_t = yes; then
13745 cat >>confdefs.h <<_ACEOF
13746 #define HAVE_PTHREAD_RWLOCK_T 1
13747 _ACEOF
13751 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13752 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13753 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13754 echo $ECHO_N "(cached) $ECHO_C" >&6
13755 else
13756 cat >conftest.$ac_ext <<_ACEOF
13757 /* confdefs.h. */
13758 _ACEOF
13759 cat confdefs.h >>conftest.$ac_ext
13760 cat >>conftest.$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13762 #define _GNU_SOURCE
13763 #include <pthread.h>
13765 typedef pthread_rwlockattr_t ac__type_new_;
13767 main ()
13769 if ((ac__type_new_ *) 0)
13770 return 0;
13771 if (sizeof (ac__type_new_))
13772 return 0;
13774 return 0;
13776 _ACEOF
13777 rm -f conftest.$ac_objext
13778 if { (ac_try="$ac_compile"
13779 case "(($ac_try" in
13780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13781 *) ac_try_echo=$ac_try;;
13782 esac
13783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13784 (eval "$ac_compile") 2>conftest.er1
13785 ac_status=$?
13786 grep -v '^ *+' conftest.er1 >conftest.err
13787 rm -f conftest.er1
13788 cat conftest.err >&5
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); } && {
13791 test -z "$ac_c_werror_flag" ||
13792 test ! -s conftest.err
13793 } && test -s conftest.$ac_objext; then
13794 ac_cv_type_pthread_rwlockattr_t=yes
13795 else
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.$ac_ext >&5
13799 ac_cv_type_pthread_rwlockattr_t=no
13802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13804 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13805 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13806 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13808 cat >>confdefs.h <<_ACEOF
13809 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13810 _ACEOF
13816 ac_wine_check_funcs_save_LIBS="$LIBS"
13817 LIBS="$LIBS $LIBPTHREAD"
13822 for ac_func in \
13823 pthread_attr_get_np \
13824 pthread_getattr_np \
13825 pthread_get_stackaddr_np \
13826 pthread_get_stacksize_np
13828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13829 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13831 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 else
13834 cat >conftest.$ac_ext <<_ACEOF
13835 /* confdefs.h. */
13836 _ACEOF
13837 cat confdefs.h >>conftest.$ac_ext
13838 cat >>conftest.$ac_ext <<_ACEOF
13839 /* end confdefs.h. */
13840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13842 #define $ac_func innocuous_$ac_func
13844 /* System header to define __stub macros and hopefully few prototypes,
13845 which can conflict with char $ac_func (); below.
13846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13847 <limits.h> exists even on freestanding compilers. */
13849 #ifdef __STDC__
13850 # include <limits.h>
13851 #else
13852 # include <assert.h>
13853 #endif
13855 #undef $ac_func
13857 /* Override any GCC internal prototype to avoid an error.
13858 Use char because int might match the return type of a GCC
13859 builtin and then its argument prototype would still apply. */
13860 #ifdef __cplusplus
13861 extern "C"
13862 #endif
13863 char $ac_func ();
13864 /* The GNU C library defines this for functions which it implements
13865 to always fail with ENOSYS. Some functions are actually named
13866 something starting with __ and the normal name is an alias. */
13867 #if defined __stub_$ac_func || defined __stub___$ac_func
13868 choke me
13869 #endif
13872 main ()
13874 return $ac_func ();
13876 return 0;
13878 _ACEOF
13879 rm -f conftest.$ac_objext conftest$ac_exeext
13880 if { (ac_try="$ac_link"
13881 case "(($ac_try" in
13882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13883 *) ac_try_echo=$ac_try;;
13884 esac
13885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13886 (eval "$ac_link") 2>conftest.er1
13887 ac_status=$?
13888 grep -v '^ *+' conftest.er1 >conftest.err
13889 rm -f conftest.er1
13890 cat conftest.err >&5
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); } && {
13893 test -z "$ac_c_werror_flag" ||
13894 test ! -s conftest.err
13895 } && test -s conftest$ac_exeext &&
13896 $as_test_x conftest$ac_exeext; then
13897 eval "$as_ac_var=yes"
13898 else
13899 echo "$as_me: failed program was:" >&5
13900 sed 's/^/| /' conftest.$ac_ext >&5
13902 eval "$as_ac_var=no"
13905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13906 conftest$ac_exeext conftest.$ac_ext
13908 ac_res=`eval echo '${'$as_ac_var'}'`
13909 { echo "$as_me:$LINENO: result: $ac_res" >&5
13910 echo "${ECHO_T}$ac_res" >&6; }
13911 if test `eval echo '${'$as_ac_var'}'` = yes; then
13912 cat >>confdefs.h <<_ACEOF
13913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13914 _ACEOF
13917 done
13919 LIBS="$ac_wine_check_funcs_save_LIBS"
13921 # Extract the first word of "esd-config", so it can be a program name with args.
13922 set dummy esd-config; ac_word=$2
13923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13925 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13926 echo $ECHO_N "(cached) $ECHO_C" >&6
13927 else
13928 case $ESDCONFIG in
13929 [\\/]* | ?:[\\/]*)
13930 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13934 for as_dir in $PATH
13936 IFS=$as_save_IFS
13937 test -z "$as_dir" && as_dir=.
13938 for ac_exec_ext in '' $ac_executable_extensions; do
13939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13940 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13942 break 2
13944 done
13945 done
13946 IFS=$as_save_IFS
13949 esac
13951 ESDCONFIG=$ac_cv_path_ESDCONFIG
13952 if test -n "$ESDCONFIG"; then
13953 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13954 echo "${ECHO_T}$ESDCONFIG" >&6; }
13955 else
13956 { echo "$as_me:$LINENO: result: no" >&5
13957 echo "${ECHO_T}no" >&6; }
13961 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13962 then
13963 ESD_CFLAGS=""
13964 for i in `$ESDCONFIG --cflags`
13966 case "$i" in
13967 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13968 esac
13969 done
13970 ESD_LIBS=`$ESDCONFIG --libs`
13971 save_CFLAGS="$CFLAGS"
13972 CFLAGS="$CFLAGS $ESD_CFLAGS"
13973 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13974 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13975 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13976 echo $ECHO_N "(cached) $ECHO_C" >&6
13977 else
13978 ac_check_lib_save_LIBS=$LIBS
13979 LIBS="-lesd $LIBS"
13980 cat >conftest.$ac_ext <<_ACEOF
13981 /* confdefs.h. */
13982 _ACEOF
13983 cat confdefs.h >>conftest.$ac_ext
13984 cat >>conftest.$ac_ext <<_ACEOF
13985 /* end confdefs.h. */
13987 /* Override any GCC internal prototype to avoid an error.
13988 Use char because int might match the return type of a GCC
13989 builtin and then its argument prototype would still apply. */
13990 #ifdef __cplusplus
13991 extern "C"
13992 #endif
13993 char esd_open_sound ();
13995 main ()
13997 return esd_open_sound ();
13999 return 0;
14001 _ACEOF
14002 rm -f conftest.$ac_objext conftest$ac_exeext
14003 if { (ac_try="$ac_link"
14004 case "(($ac_try" in
14005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14006 *) ac_try_echo=$ac_try;;
14007 esac
14008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14009 (eval "$ac_link") 2>conftest.er1
14010 ac_status=$?
14011 grep -v '^ *+' conftest.er1 >conftest.err
14012 rm -f conftest.er1
14013 cat conftest.err >&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } && {
14016 test -z "$ac_c_werror_flag" ||
14017 test ! -s conftest.err
14018 } && test -s conftest$ac_exeext &&
14019 $as_test_x conftest$ac_exeext; then
14020 ac_cv_lib_esd_esd_open_sound=yes
14021 else
14022 echo "$as_me: failed program was:" >&5
14023 sed 's/^/| /' conftest.$ac_ext >&5
14025 ac_cv_lib_esd_esd_open_sound=no
14028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14029 conftest$ac_exeext conftest.$ac_ext
14030 LIBS=$ac_check_lib_save_LIBS
14032 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14033 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14034 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14035 ESDLIBS=$ESD_LIBS
14037 ESDINCL=$ESD_CFLAGS
14040 cat >>confdefs.h <<\_ACEOF
14041 #define HAVE_ESD 1
14042 _ACEOF
14046 CFLAGS="$save_CFLAGS"
14049 ALSALIBS=""
14051 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14052 then
14053 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14054 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14055 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 else
14058 ac_check_lib_save_LIBS=$LIBS
14059 LIBS="-lasound $LIBS"
14060 cat >conftest.$ac_ext <<_ACEOF
14061 /* confdefs.h. */
14062 _ACEOF
14063 cat confdefs.h >>conftest.$ac_ext
14064 cat >>conftest.$ac_ext <<_ACEOF
14065 /* end confdefs.h. */
14067 /* Override any GCC internal prototype to avoid an error.
14068 Use char because int might match the return type of a GCC
14069 builtin and then its argument prototype would still apply. */
14070 #ifdef __cplusplus
14071 extern "C"
14072 #endif
14073 char snd_pcm_hw_params_get_access ();
14075 main ()
14077 return snd_pcm_hw_params_get_access ();
14079 return 0;
14081 _ACEOF
14082 rm -f conftest.$ac_objext conftest$ac_exeext
14083 if { (ac_try="$ac_link"
14084 case "(($ac_try" in
14085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14086 *) ac_try_echo=$ac_try;;
14087 esac
14088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14089 (eval "$ac_link") 2>conftest.er1
14090 ac_status=$?
14091 grep -v '^ *+' conftest.er1 >conftest.err
14092 rm -f conftest.er1
14093 cat conftest.err >&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } && {
14096 test -z "$ac_c_werror_flag" ||
14097 test ! -s conftest.err
14098 } && test -s conftest$ac_exeext &&
14099 $as_test_x conftest$ac_exeext; then
14100 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14101 else
14102 echo "$as_me: failed program was:" >&5
14103 sed 's/^/| /' conftest.$ac_ext >&5
14105 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14109 conftest$ac_exeext conftest.$ac_ext
14110 LIBS=$ac_check_lib_save_LIBS
14112 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14113 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14114 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14115 cat >conftest.$ac_ext <<_ACEOF
14116 /* confdefs.h. */
14117 _ACEOF
14118 cat confdefs.h >>conftest.$ac_ext
14119 cat >>conftest.$ac_ext <<_ACEOF
14120 /* end confdefs.h. */
14121 #ifdef HAVE_ALSA_ASOUNDLIB_H
14122 #include <alsa/asoundlib.h>
14123 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14124 #include <sys/asoundlib.h>
14125 #endif
14127 main ()
14129 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14131 return 0;
14133 _ACEOF
14134 rm -f conftest.$ac_objext
14135 if { (ac_try="$ac_compile"
14136 case "(($ac_try" in
14137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14138 *) ac_try_echo=$ac_try;;
14139 esac
14140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14141 (eval "$ac_compile") 2>conftest.er1
14142 ac_status=$?
14143 grep -v '^ *+' conftest.er1 >conftest.err
14144 rm -f conftest.er1
14145 cat conftest.err >&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); } && {
14148 test -z "$ac_c_werror_flag" ||
14149 test ! -s conftest.err
14150 } && test -s conftest.$ac_objext; then
14152 cat >>confdefs.h <<\_ACEOF
14153 #define HAVE_ALSA 1
14154 _ACEOF
14156 ALSALIBS="-lasound"
14157 else
14158 echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.$ac_ext >&5
14164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14169 AUDIOIOLIBS=""
14171 if test "$ac_cv_header_libaudioio_h" = "yes"
14172 then
14173 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14174 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14175 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 else
14178 ac_check_lib_save_LIBS=$LIBS
14179 LIBS="-laudioio $LIBS"
14180 cat >conftest.$ac_ext <<_ACEOF
14181 /* confdefs.h. */
14182 _ACEOF
14183 cat confdefs.h >>conftest.$ac_ext
14184 cat >>conftest.$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14187 /* Override any GCC internal prototype to avoid an error.
14188 Use char because int might match the return type of a GCC
14189 builtin and then its argument prototype would still apply. */
14190 #ifdef __cplusplus
14191 extern "C"
14192 #endif
14193 char AudioIOGetVersion ();
14195 main ()
14197 return AudioIOGetVersion ();
14199 return 0;
14201 _ACEOF
14202 rm -f conftest.$ac_objext conftest$ac_exeext
14203 if { (ac_try="$ac_link"
14204 case "(($ac_try" in
14205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14206 *) ac_try_echo=$ac_try;;
14207 esac
14208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14209 (eval "$ac_link") 2>conftest.er1
14210 ac_status=$?
14211 grep -v '^ *+' conftest.er1 >conftest.err
14212 rm -f conftest.er1
14213 cat conftest.err >&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } && {
14216 test -z "$ac_c_werror_flag" ||
14217 test ! -s conftest.err
14218 } && test -s conftest$ac_exeext &&
14219 $as_test_x conftest$ac_exeext; then
14220 ac_cv_lib_audioio_AudioIOGetVersion=yes
14221 else
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14225 ac_cv_lib_audioio_AudioIOGetVersion=no
14228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14229 conftest$ac_exeext conftest.$ac_ext
14230 LIBS=$ac_check_lib_save_LIBS
14232 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14233 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14234 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14235 AUDIOIOLIBS="-laudioio"
14237 cat >>confdefs.h <<\_ACEOF
14238 #define HAVE_LIBAUDIOIO 1
14239 _ACEOF
14246 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14247 then
14248 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14249 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14250 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14251 echo $ECHO_N "(cached) $ECHO_C" >&6
14252 else
14253 ac_check_soname_save_LIBS=$LIBS
14254 LIBS="-lcapi20 $LIBS"
14255 cat >conftest.$ac_ext <<_ACEOF
14256 /* confdefs.h. */
14257 _ACEOF
14258 cat confdefs.h >>conftest.$ac_ext
14259 cat >>conftest.$ac_ext <<_ACEOF
14260 /* end confdefs.h. */
14262 /* Override any GCC internal prototype to avoid an error.
14263 Use char because int might match the return type of a GCC
14264 builtin and then its argument prototype would still apply. */
14265 #ifdef __cplusplus
14266 extern "C"
14267 #endif
14268 char capi20_register ();
14270 main ()
14272 return capi20_register ();
14274 return 0;
14276 _ACEOF
14277 rm -f conftest.$ac_objext conftest$ac_exeext
14278 if { (ac_try="$ac_link"
14279 case "(($ac_try" in
14280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14281 *) ac_try_echo=$ac_try;;
14282 esac
14283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14284 (eval "$ac_link") 2>conftest.er1
14285 ac_status=$?
14286 grep -v '^ *+' conftest.er1 >conftest.err
14287 rm -f conftest.er1
14288 cat conftest.err >&5
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); } && {
14291 test -z "$ac_c_werror_flag" ||
14292 test ! -s conftest.err
14293 } && test -s conftest$ac_exeext &&
14294 $as_test_x conftest$ac_exeext; then
14295 case "$LIBEXT" in
14296 dll) ;;
14297 dylib) ac_cv_lib_soname_capi20=`otool -L conftest$ac_exeext | grep "libcapi20\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14298 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14299 esac
14300 else
14301 echo "$as_me: failed program was:" >&5
14302 sed 's/^/| /' conftest.$ac_ext >&5
14307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14308 conftest$ac_exeext conftest.$ac_ext
14309 LIBS=$ac_check_soname_save_LIBS
14311 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14312 { echo "$as_me:$LINENO: result: not found" >&5
14313 echo "${ECHO_T}not found" >&6; }
14315 else
14316 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14317 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14319 cat >>confdefs.h <<_ACEOF
14320 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14321 _ACEOF
14327 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14328 wine_notices="$wine_notices|libcapi20 development files not found.
14329 Wine will be built without ISDN support. (capi2032.dll)"
14333 if test "$ac_cv_header_cups_cups_h" = "yes"
14334 then
14335 { echo "$as_me:$LINENO: checking for -lcups" >&5
14336 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14337 if test "${ac_cv_lib_soname_cups+set}" = set; then
14338 echo $ECHO_N "(cached) $ECHO_C" >&6
14339 else
14340 ac_check_soname_save_LIBS=$LIBS
14341 LIBS="-lcups $LIBS"
14342 cat >conftest.$ac_ext <<_ACEOF
14343 /* confdefs.h. */
14344 _ACEOF
14345 cat confdefs.h >>conftest.$ac_ext
14346 cat >>conftest.$ac_ext <<_ACEOF
14347 /* end confdefs.h. */
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14352 #ifdef __cplusplus
14353 extern "C"
14354 #endif
14355 char cupsGetDefault ();
14357 main ()
14359 return cupsGetDefault ();
14361 return 0;
14363 _ACEOF
14364 rm -f conftest.$ac_objext conftest$ac_exeext
14365 if { (ac_try="$ac_link"
14366 case "(($ac_try" in
14367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14368 *) ac_try_echo=$ac_try;;
14369 esac
14370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14371 (eval "$ac_link") 2>conftest.er1
14372 ac_status=$?
14373 grep -v '^ *+' conftest.er1 >conftest.err
14374 rm -f conftest.er1
14375 cat conftest.err >&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); } && {
14378 test -z "$ac_c_werror_flag" ||
14379 test ! -s conftest.err
14380 } && test -s conftest$ac_exeext &&
14381 $as_test_x conftest$ac_exeext; then
14382 case "$LIBEXT" in
14383 dll) ;;
14384 dylib) ac_cv_lib_soname_cups=`otool -L conftest$ac_exeext | grep "libcups\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14385 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14386 esac
14387 else
14388 echo "$as_me: failed program was:" >&5
14389 sed 's/^/| /' conftest.$ac_ext >&5
14394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14395 conftest$ac_exeext conftest.$ac_ext
14396 LIBS=$ac_check_soname_save_LIBS
14398 if test "x$ac_cv_lib_soname_cups" = "x"; then
14399 { echo "$as_me:$LINENO: result: not found" >&5
14400 echo "${ECHO_T}not found" >&6; }
14402 else
14403 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14404 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14406 cat >>confdefs.h <<_ACEOF
14407 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14408 _ACEOF
14414 if test "x$ac_cv_lib_soname_cups" = "x"; then
14415 wine_notices="$wine_notices|libcups development files not found.
14416 Wine will be built without CUPS support."
14420 if test "$ac_cv_header_jack_jack_h" = "yes"
14421 then
14422 { echo "$as_me:$LINENO: checking for -ljack" >&5
14423 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14424 if test "${ac_cv_lib_soname_jack+set}" = set; then
14425 echo $ECHO_N "(cached) $ECHO_C" >&6
14426 else
14427 ac_check_soname_save_LIBS=$LIBS
14428 LIBS="-ljack $LIBS"
14429 cat >conftest.$ac_ext <<_ACEOF
14430 /* confdefs.h. */
14431 _ACEOF
14432 cat confdefs.h >>conftest.$ac_ext
14433 cat >>conftest.$ac_ext <<_ACEOF
14434 /* end confdefs.h. */
14436 /* Override any GCC internal prototype to avoid an error.
14437 Use char because int might match the return type of a GCC
14438 builtin and then its argument prototype would still apply. */
14439 #ifdef __cplusplus
14440 extern "C"
14441 #endif
14442 char jack_client_new ();
14444 main ()
14446 return jack_client_new ();
14448 return 0;
14450 _ACEOF
14451 rm -f conftest.$ac_objext conftest$ac_exeext
14452 if { (ac_try="$ac_link"
14453 case "(($ac_try" in
14454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14455 *) ac_try_echo=$ac_try;;
14456 esac
14457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14458 (eval "$ac_link") 2>conftest.er1
14459 ac_status=$?
14460 grep -v '^ *+' conftest.er1 >conftest.err
14461 rm -f conftest.er1
14462 cat conftest.err >&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); } && {
14465 test -z "$ac_c_werror_flag" ||
14466 test ! -s conftest.err
14467 } && test -s conftest$ac_exeext &&
14468 $as_test_x conftest$ac_exeext; then
14469 case "$LIBEXT" in
14470 dll) ;;
14471 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14472 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14473 esac
14474 else
14475 echo "$as_me: failed program was:" >&5
14476 sed 's/^/| /' conftest.$ac_ext >&5
14481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14482 conftest$ac_exeext conftest.$ac_ext
14483 LIBS=$ac_check_soname_save_LIBS
14485 if test "x$ac_cv_lib_soname_jack" = "x"; then
14486 { echo "$as_me:$LINENO: result: not found" >&5
14487 echo "${ECHO_T}not found" >&6; }
14489 else
14490 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14491 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14493 cat >>confdefs.h <<_ACEOF
14494 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14495 _ACEOF
14502 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14503 then
14504 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14505 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14506 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14507 echo $ECHO_N "(cached) $ECHO_C" >&6
14508 else
14509 ac_check_soname_save_LIBS=$LIBS
14510 LIBS="-lfontconfig $LIBS"
14511 cat >conftest.$ac_ext <<_ACEOF
14512 /* confdefs.h. */
14513 _ACEOF
14514 cat confdefs.h >>conftest.$ac_ext
14515 cat >>conftest.$ac_ext <<_ACEOF
14516 /* end confdefs.h. */
14518 /* Override any GCC internal prototype to avoid an error.
14519 Use char because int might match the return type of a GCC
14520 builtin and then its argument prototype would still apply. */
14521 #ifdef __cplusplus
14522 extern "C"
14523 #endif
14524 char FcInit ();
14526 main ()
14528 return FcInit ();
14530 return 0;
14532 _ACEOF
14533 rm -f conftest.$ac_objext conftest$ac_exeext
14534 if { (ac_try="$ac_link"
14535 case "(($ac_try" in
14536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14537 *) ac_try_echo=$ac_try;;
14538 esac
14539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14540 (eval "$ac_link") 2>conftest.er1
14541 ac_status=$?
14542 grep -v '^ *+' conftest.er1 >conftest.err
14543 rm -f conftest.er1
14544 cat conftest.err >&5
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); } && {
14547 test -z "$ac_c_werror_flag" ||
14548 test ! -s conftest.err
14549 } && test -s conftest$ac_exeext &&
14550 $as_test_x conftest$ac_exeext; then
14551 case "$LIBEXT" in
14552 dll) ;;
14553 dylib) ac_cv_lib_soname_fontconfig=`otool -L conftest$ac_exeext | grep "libfontconfig\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14554 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14555 esac
14556 else
14557 echo "$as_me: failed program was:" >&5
14558 sed 's/^/| /' conftest.$ac_ext >&5
14563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14564 conftest$ac_exeext conftest.$ac_ext
14565 LIBS=$ac_check_soname_save_LIBS
14567 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14568 { echo "$as_me:$LINENO: result: not found" >&5
14569 echo "${ECHO_T}not found" >&6; }
14571 else
14572 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14573 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14575 cat >>confdefs.h <<_ACEOF
14576 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14577 _ACEOF
14583 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14584 wine_notices="$wine_notices|fontconfig development files not found.
14585 Wine will be built without fontconfig support."
14589 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14590 then
14591 { echo "$as_me:$LINENO: checking for -lssl" >&5
14592 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14593 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14594 echo $ECHO_N "(cached) $ECHO_C" >&6
14595 else
14596 ac_check_soname_save_LIBS=$LIBS
14597 LIBS="-lssl $LIBS"
14598 cat >conftest.$ac_ext <<_ACEOF
14599 /* confdefs.h. */
14600 _ACEOF
14601 cat confdefs.h >>conftest.$ac_ext
14602 cat >>conftest.$ac_ext <<_ACEOF
14603 /* end confdefs.h. */
14605 /* Override any GCC internal prototype to avoid an error.
14606 Use char because int might match the return type of a GCC
14607 builtin and then its argument prototype would still apply. */
14608 #ifdef __cplusplus
14609 extern "C"
14610 #endif
14611 char SSL_library_init ();
14613 main ()
14615 return SSL_library_init ();
14617 return 0;
14619 _ACEOF
14620 rm -f conftest.$ac_objext conftest$ac_exeext
14621 if { (ac_try="$ac_link"
14622 case "(($ac_try" in
14623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14624 *) ac_try_echo=$ac_try;;
14625 esac
14626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14627 (eval "$ac_link") 2>conftest.er1
14628 ac_status=$?
14629 grep -v '^ *+' conftest.er1 >conftest.err
14630 rm -f conftest.er1
14631 cat conftest.err >&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); } && {
14634 test -z "$ac_c_werror_flag" ||
14635 test ! -s conftest.err
14636 } && test -s conftest$ac_exeext &&
14637 $as_test_x conftest$ac_exeext; then
14638 case "$LIBEXT" in
14639 dll) ;;
14640 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'` ;;
14641 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14642 esac
14643 else
14644 echo "$as_me: failed program was:" >&5
14645 sed 's/^/| /' conftest.$ac_ext >&5
14650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14651 conftest$ac_exeext conftest.$ac_ext
14652 LIBS=$ac_check_soname_save_LIBS
14654 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14655 { echo "$as_me:$LINENO: result: not found" >&5
14656 echo "${ECHO_T}not found" >&6; }
14658 else
14659 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14660 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14662 cat >>confdefs.h <<_ACEOF
14663 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14664 _ACEOF
14669 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14670 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14671 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14672 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 else
14674 ac_check_soname_save_LIBS=$LIBS
14675 LIBS="-lcrypto $LIBS"
14676 cat >conftest.$ac_ext <<_ACEOF
14677 /* confdefs.h. */
14678 _ACEOF
14679 cat confdefs.h >>conftest.$ac_ext
14680 cat >>conftest.$ac_ext <<_ACEOF
14681 /* end confdefs.h. */
14683 /* Override any GCC internal prototype to avoid an error.
14684 Use char because int might match the return type of a GCC
14685 builtin and then its argument prototype would still apply. */
14686 #ifdef __cplusplus
14687 extern "C"
14688 #endif
14689 char BIO_new_socket ();
14691 main ()
14693 return BIO_new_socket ();
14695 return 0;
14697 _ACEOF
14698 rm -f conftest.$ac_objext conftest$ac_exeext
14699 if { (ac_try="$ac_link"
14700 case "(($ac_try" in
14701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14702 *) ac_try_echo=$ac_try;;
14703 esac
14704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14705 (eval "$ac_link") 2>conftest.er1
14706 ac_status=$?
14707 grep -v '^ *+' conftest.er1 >conftest.err
14708 rm -f conftest.er1
14709 cat conftest.err >&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); } && {
14712 test -z "$ac_c_werror_flag" ||
14713 test ! -s conftest.err
14714 } && test -s conftest$ac_exeext &&
14715 $as_test_x conftest$ac_exeext; then
14716 case "$LIBEXT" in
14717 dll) ;;
14718 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'` ;;
14719 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14720 esac
14721 else
14722 echo "$as_me: failed program was:" >&5
14723 sed 's/^/| /' conftest.$ac_ext >&5
14728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14729 conftest$ac_exeext conftest.$ac_ext
14730 LIBS=$ac_check_soname_save_LIBS
14732 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14733 { echo "$as_me:$LINENO: result: not found" >&5
14734 echo "${ECHO_T}not found" >&6; }
14736 else
14737 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14738 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14740 cat >>confdefs.h <<_ACEOF
14741 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14742 _ACEOF
14748 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14749 wine_notices="$wine_notices|OpenSSL development files not found.
14750 Wine will be built without SSL support. (wininet.dll)"
14754 if test "$ac_cv_header_jpeglib_h" = "yes"
14755 then
14756 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14757 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14758 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14759 echo $ECHO_N "(cached) $ECHO_C" >&6
14760 else
14761 ac_check_soname_save_LIBS=$LIBS
14762 LIBS="-ljpeg $LIBS"
14763 cat >conftest.$ac_ext <<_ACEOF
14764 /* confdefs.h. */
14765 _ACEOF
14766 cat confdefs.h >>conftest.$ac_ext
14767 cat >>conftest.$ac_ext <<_ACEOF
14768 /* end confdefs.h. */
14770 /* Override any GCC internal prototype to avoid an error.
14771 Use char because int might match the return type of a GCC
14772 builtin and then its argument prototype would still apply. */
14773 #ifdef __cplusplus
14774 extern "C"
14775 #endif
14776 char jpeg_start_decompress ();
14778 main ()
14780 return jpeg_start_decompress ();
14782 return 0;
14784 _ACEOF
14785 rm -f conftest.$ac_objext conftest$ac_exeext
14786 if { (ac_try="$ac_link"
14787 case "(($ac_try" in
14788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14789 *) ac_try_echo=$ac_try;;
14790 esac
14791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14792 (eval "$ac_link") 2>conftest.er1
14793 ac_status=$?
14794 grep -v '^ *+' conftest.er1 >conftest.err
14795 rm -f conftest.er1
14796 cat conftest.err >&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); } && {
14799 test -z "$ac_c_werror_flag" ||
14800 test ! -s conftest.err
14801 } && test -s conftest$ac_exeext &&
14802 $as_test_x conftest$ac_exeext; then
14803 case "$LIBEXT" in
14804 dll) ;;
14805 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'` ;;
14806 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14807 esac
14808 else
14809 echo "$as_me: failed program was:" >&5
14810 sed 's/^/| /' conftest.$ac_ext >&5
14815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14816 conftest$ac_exeext conftest.$ac_ext
14817 LIBS=$ac_check_soname_save_LIBS
14819 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14820 { echo "$as_me:$LINENO: result: not found" >&5
14821 echo "${ECHO_T}not found" >&6; }
14823 else
14824 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14825 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14827 cat >>confdefs.h <<_ACEOF
14828 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14829 _ACEOF
14835 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14836 wine_notices="$wine_notices|libjpeg development files not found.
14837 Wine will be built without JPEG support. (oleaut32.dll)"
14841 if test "$ac_cv_header_png_h" = "yes"
14842 then
14843 { echo "$as_me:$LINENO: checking for -lpng" >&5
14844 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14845 if test "${ac_cv_lib_soname_png+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 else
14848 ac_check_soname_save_LIBS=$LIBS
14849 LIBS="-lpng $LIBS"
14850 cat >conftest.$ac_ext <<_ACEOF
14851 /* confdefs.h. */
14852 _ACEOF
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14860 #ifdef __cplusplus
14861 extern "C"
14862 #endif
14863 char png_create_read_struct ();
14865 main ()
14867 return png_create_read_struct ();
14869 return 0;
14871 _ACEOF
14872 rm -f conftest.$ac_objext conftest$ac_exeext
14873 if { (ac_try="$ac_link"
14874 case "(($ac_try" in
14875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14876 *) ac_try_echo=$ac_try;;
14877 esac
14878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14879 (eval "$ac_link") 2>conftest.er1
14880 ac_status=$?
14881 grep -v '^ *+' conftest.er1 >conftest.err
14882 rm -f conftest.er1
14883 cat conftest.err >&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } && {
14886 test -z "$ac_c_werror_flag" ||
14887 test ! -s conftest.err
14888 } && test -s conftest$ac_exeext &&
14889 $as_test_x conftest$ac_exeext; then
14890 case "$LIBEXT" in
14891 dll) ;;
14892 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'` ;;
14893 *) 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'` ;;
14894 esac
14895 else
14896 echo "$as_me: failed program was:" >&5
14897 sed 's/^/| /' conftest.$ac_ext >&5
14902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14903 conftest$ac_exeext conftest.$ac_ext
14904 LIBS=$ac_check_soname_save_LIBS
14906 if test "x$ac_cv_lib_soname_png" = "x"; then
14907 { echo "$as_me:$LINENO: result: not found" >&5
14908 echo "${ECHO_T}not found" >&6; }
14910 else
14911 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14912 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14914 cat >>confdefs.h <<_ACEOF
14915 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14916 _ACEOF
14922 if test "x$ac_cv_lib_soname_png" = "x"; then
14923 wine_notices="$wine_notices|libpng development files not found.
14924 Wine will be built without PNG support. (oleaut32.dll)"
14928 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14929 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14930 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14931 "$ac_cv_header_soundcard_h" != "yes"; then
14932 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14937 EXTRACFLAGS=""
14939 if test "x${GCC}" = "xyes"
14940 then
14941 EXTRACFLAGS="-Wall -pipe"
14943 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14944 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14945 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 else
14948 if test "$cross_compiling" = yes; then
14949 ac_cv_c_gcc_strength_bug="yes"
14950 else
14951 cat >conftest.$ac_ext <<_ACEOF
14952 /* confdefs.h. */
14953 _ACEOF
14954 cat confdefs.h >>conftest.$ac_ext
14955 cat >>conftest.$ac_ext <<_ACEOF
14956 /* end confdefs.h. */
14957 int L[4] = {0,1,2,3};
14959 main ()
14961 static int Array[3];
14962 unsigned int B = 3;
14963 int i;
14964 for(i=0; i<B; i++) Array[i] = i - 3;
14965 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14966 L[i] = 4;
14967 exit( Array[1] != -2 || L[2] != 3)
14969 return 0;
14971 _ACEOF
14972 rm -f conftest$ac_exeext
14973 if { (ac_try="$ac_link"
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_link") 2>&5
14980 ac_status=$?
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14983 { (case "(($ac_try" in
14984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14985 *) ac_try_echo=$ac_try;;
14986 esac
14987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14988 (eval "$ac_try") 2>&5
14989 ac_status=$?
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); }; }; then
14992 ac_cv_c_gcc_strength_bug="no"
14993 else
14994 echo "$as_me: program exited with status $ac_status" >&5
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
14998 ( exit $ac_status )
14999 ac_cv_c_gcc_strength_bug="yes"
15001 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15006 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15007 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15008 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15009 then
15010 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15014 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15015 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15016 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15017 echo $ECHO_N "(cached) $ECHO_C" >&6
15018 else
15019 ac_wine_try_cflags_saved=$CFLAGS
15020 CFLAGS="$CFLAGS -fshort-wchar"
15021 cat >conftest.$ac_ext <<_ACEOF
15022 /* confdefs.h. */
15023 _ACEOF
15024 cat confdefs.h >>conftest.$ac_ext
15025 cat >>conftest.$ac_ext <<_ACEOF
15026 /* end confdefs.h. */
15029 main ()
15033 return 0;
15035 _ACEOF
15036 rm -f conftest.$ac_objext conftest$ac_exeext
15037 if { (ac_try="$ac_link"
15038 case "(($ac_try" in
15039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15040 *) ac_try_echo=$ac_try;;
15041 esac
15042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15043 (eval "$ac_link") 2>conftest.er1
15044 ac_status=$?
15045 grep -v '^ *+' conftest.er1 >conftest.err
15046 rm -f conftest.er1
15047 cat conftest.err >&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } && {
15050 test -z "$ac_c_werror_flag" ||
15051 test ! -s conftest.err
15052 } && test -s conftest$ac_exeext &&
15053 $as_test_x conftest$ac_exeext; then
15054 ac_cv_cflags__fshort_wchar=yes
15055 else
15056 echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.$ac_ext >&5
15059 ac_cv_cflags__fshort_wchar=no
15062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15063 conftest$ac_exeext conftest.$ac_ext
15064 CFLAGS=$ac_wine_try_cflags_saved
15066 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15067 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15068 if test $ac_cv_cflags__fshort_wchar = yes; then
15070 cat >>confdefs.h <<\_ACEOF
15071 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15072 _ACEOF
15076 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15077 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15078 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15079 echo $ECHO_N "(cached) $ECHO_C" >&6
15080 else
15081 ac_wine_try_cflags_saved=$CFLAGS
15082 CFLAGS="$CFLAGS -fno-strict-aliasing"
15083 cat >conftest.$ac_ext <<_ACEOF
15084 /* confdefs.h. */
15085 _ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15091 main ()
15095 return 0;
15097 _ACEOF
15098 rm -f conftest.$ac_objext conftest$ac_exeext
15099 if { (ac_try="$ac_link"
15100 case "(($ac_try" in
15101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15102 *) ac_try_echo=$ac_try;;
15103 esac
15104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15105 (eval "$ac_link") 2>conftest.er1
15106 ac_status=$?
15107 grep -v '^ *+' conftest.er1 >conftest.err
15108 rm -f conftest.er1
15109 cat conftest.err >&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); } && {
15112 test -z "$ac_c_werror_flag" ||
15113 test ! -s conftest.err
15114 } && test -s conftest$ac_exeext &&
15115 $as_test_x conftest$ac_exeext; then
15116 ac_cv_cflags__fno_strict_aliasing=yes
15117 else
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.$ac_ext >&5
15121 ac_cv_cflags__fno_strict_aliasing=no
15124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15125 conftest$ac_exeext conftest.$ac_ext
15126 CFLAGS=$ac_wine_try_cflags_saved
15128 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15129 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15130 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15131 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15134 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15135 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15136 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15137 echo $ECHO_N "(cached) $ECHO_C" >&6
15138 else
15139 ac_wine_try_cflags_saved=$CFLAGS
15140 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15141 cat >conftest.$ac_ext <<_ACEOF
15142 /* confdefs.h. */
15143 _ACEOF
15144 cat confdefs.h >>conftest.$ac_ext
15145 cat >>conftest.$ac_ext <<_ACEOF
15146 /* end confdefs.h. */
15149 main ()
15153 return 0;
15155 _ACEOF
15156 rm -f conftest.$ac_objext conftest$ac_exeext
15157 if { (ac_try="$ac_link"
15158 case "(($ac_try" in
15159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15160 *) ac_try_echo=$ac_try;;
15161 esac
15162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15163 (eval "$ac_link") 2>conftest.er1
15164 ac_status=$?
15165 grep -v '^ *+' conftest.er1 >conftest.err
15166 rm -f conftest.er1
15167 cat conftest.err >&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } && {
15170 test -z "$ac_c_werror_flag" ||
15171 test ! -s conftest.err
15172 } && test -s conftest$ac_exeext &&
15173 $as_test_x conftest$ac_exeext; then
15174 ac_cv_cflags__Wdeclaration_after_statement=yes
15175 else
15176 echo "$as_me: failed program was:" >&5
15177 sed 's/^/| /' conftest.$ac_ext >&5
15179 ac_cv_cflags__Wdeclaration_after_statement=no
15182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15183 conftest$ac_exeext conftest.$ac_ext
15184 CFLAGS=$ac_wine_try_cflags_saved
15186 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15187 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15188 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15189 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15192 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15193 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15194 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 else
15197 ac_wine_try_cflags_saved=$CFLAGS
15198 CFLAGS="$CFLAGS -Wwrite-strings"
15199 cat >conftest.$ac_ext <<_ACEOF
15200 /* confdefs.h. */
15201 _ACEOF
15202 cat confdefs.h >>conftest.$ac_ext
15203 cat >>conftest.$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15207 main ()
15211 return 0;
15213 _ACEOF
15214 rm -f conftest.$ac_objext conftest$ac_exeext
15215 if { (ac_try="$ac_link"
15216 case "(($ac_try" in
15217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15219 esac
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_link") 2>conftest.er1
15222 ac_status=$?
15223 grep -v '^ *+' conftest.er1 >conftest.err
15224 rm -f conftest.er1
15225 cat conftest.err >&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } && {
15228 test -z "$ac_c_werror_flag" ||
15229 test ! -s conftest.err
15230 } && test -s conftest$ac_exeext &&
15231 $as_test_x conftest$ac_exeext; then
15232 ac_cv_cflags__Wwrite_strings=yes
15233 else
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15237 ac_cv_cflags__Wwrite_strings=no
15240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15241 conftest$ac_exeext conftest.$ac_ext
15242 CFLAGS=$ac_wine_try_cflags_saved
15244 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15245 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15246 if test $ac_cv_cflags__Wwrite_strings = yes; then
15247 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15251 saved_CFLAGS="$CFLAGS"
15252 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15253 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15254 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15255 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15257 else
15258 cat >conftest.$ac_ext <<_ACEOF
15259 /* confdefs.h. */
15260 _ACEOF
15261 cat confdefs.h >>conftest.$ac_ext
15262 cat >>conftest.$ac_ext <<_ACEOF
15263 /* end confdefs.h. */
15264 #include <string.h>
15266 main ()
15270 return 0;
15272 _ACEOF
15273 rm -f conftest.$ac_objext
15274 if { (ac_try="$ac_compile"
15275 case "(($ac_try" in
15276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15277 *) ac_try_echo=$ac_try;;
15278 esac
15279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15280 (eval "$ac_compile") 2>conftest.er1
15281 ac_status=$?
15282 grep -v '^ *+' conftest.er1 >conftest.err
15283 rm -f conftest.er1
15284 cat conftest.err >&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } && {
15287 test -z "$ac_c_werror_flag" ||
15288 test ! -s conftest.err
15289 } && test -s conftest.$ac_objext; then
15290 ac_cv_c_string_h_warnings=no
15291 else
15292 echo "$as_me: failed program was:" >&5
15293 sed 's/^/| /' conftest.$ac_ext >&5
15295 ac_cv_c_string_h_warnings=yes
15298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15300 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15301 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15302 CFLAGS="$saved_CFLAGS"
15303 if test "$ac_cv_c_string_h_warnings" = "no"
15304 then
15305 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15308 BUILTINFLAG=""
15310 saved_CFLAGS="$CFLAGS"
15311 CFLAGS="$CFLAGS -Werror"
15312 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15313 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15314 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15315 echo $ECHO_N "(cached) $ECHO_C" >&6
15316 else
15317 cat >conftest.$ac_ext <<_ACEOF
15318 /* confdefs.h. */
15319 _ACEOF
15320 cat confdefs.h >>conftest.$ac_ext
15321 cat >>conftest.$ac_ext <<_ACEOF
15322 /* end confdefs.h. */
15325 main ()
15327 int iswlower(unsigned short);
15329 return 0;
15331 _ACEOF
15332 rm -f conftest.$ac_objext
15333 if { (ac_try="$ac_compile"
15334 case "(($ac_try" in
15335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15336 *) ac_try_echo=$ac_try;;
15337 esac
15338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15339 (eval "$ac_compile") 2>conftest.er1
15340 ac_status=$?
15341 grep -v '^ *+' conftest.er1 >conftest.err
15342 rm -f conftest.er1
15343 cat conftest.err >&5
15344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 (exit $ac_status); } && {
15346 test -z "$ac_c_werror_flag" ||
15347 test ! -s conftest.err
15348 } && test -s conftest.$ac_objext; then
15349 ac_cv_c_builtin_wchar_ctype=no
15350 else
15351 echo "$as_me: failed program was:" >&5
15352 sed 's/^/| /' conftest.$ac_ext >&5
15354 ac_cv_c_builtin_wchar_ctype=yes
15357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15359 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15360 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15361 CFLAGS="$saved_CFLAGS"
15362 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15363 then
15364 BUILTINFLAG="-fno-builtin"
15369 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15370 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15371 if test "${ac_cv_asm_func_def+set}" = set; then
15372 echo $ECHO_N "(cached) $ECHO_C" >&6
15373 else
15374 cat >conftest.$ac_ext <<_ACEOF
15375 /* confdefs.h. */
15376 _ACEOF
15377 cat confdefs.h >>conftest.$ac_ext
15378 cat >>conftest.$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15382 main ()
15384 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15386 return 0;
15388 _ACEOF
15389 rm -f conftest.$ac_objext conftest$ac_exeext
15390 if { (ac_try="$ac_link"
15391 case "(($ac_try" in
15392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15393 *) ac_try_echo=$ac_try;;
15394 esac
15395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15396 (eval "$ac_link") 2>conftest.er1
15397 ac_status=$?
15398 grep -v '^ *+' conftest.er1 >conftest.err
15399 rm -f conftest.er1
15400 cat conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } && {
15403 test -z "$ac_c_werror_flag" ||
15404 test ! -s conftest.err
15405 } && test -s conftest$ac_exeext &&
15406 $as_test_x conftest$ac_exeext; then
15407 ac_cv_asm_func_def=".def"
15408 else
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.$ac_ext >&5
15412 cat >conftest.$ac_ext <<_ACEOF
15413 /* confdefs.h. */
15414 _ACEOF
15415 cat confdefs.h >>conftest.$ac_ext
15416 cat >>conftest.$ac_ext <<_ACEOF
15417 /* end confdefs.h. */
15420 main ()
15422 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15424 return 0;
15426 _ACEOF
15427 rm -f conftest.$ac_objext conftest$ac_exeext
15428 if { (ac_try="$ac_link"
15429 case "(($ac_try" in
15430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15431 *) ac_try_echo=$ac_try;;
15432 esac
15433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15434 (eval "$ac_link") 2>conftest.er1
15435 ac_status=$?
15436 grep -v '^ *+' conftest.er1 >conftest.err
15437 rm -f conftest.er1
15438 cat conftest.err >&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } && {
15441 test -z "$ac_c_werror_flag" ||
15442 test ! -s conftest.err
15443 } && test -s conftest$ac_exeext &&
15444 $as_test_x conftest$ac_exeext; then
15445 ac_cv_asm_func_def=".type @function"
15446 else
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15450 cat >conftest.$ac_ext <<_ACEOF
15451 /* confdefs.h. */
15452 _ACEOF
15453 cat confdefs.h >>conftest.$ac_ext
15454 cat >>conftest.$ac_ext <<_ACEOF
15455 /* end confdefs.h. */
15458 main ()
15460 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15462 return 0;
15464 _ACEOF
15465 rm -f conftest.$ac_objext conftest$ac_exeext
15466 if { (ac_try="$ac_link"
15467 case "(($ac_try" in
15468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15469 *) ac_try_echo=$ac_try;;
15470 esac
15471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15472 (eval "$ac_link") 2>conftest.er1
15473 ac_status=$?
15474 grep -v '^ *+' conftest.er1 >conftest.err
15475 rm -f conftest.er1
15476 cat conftest.err >&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); } && {
15479 test -z "$ac_c_werror_flag" ||
15480 test ! -s conftest.err
15481 } && test -s conftest$ac_exeext &&
15482 $as_test_x conftest$ac_exeext; then
15483 ac_cv_asm_func_def=".type 2"
15484 else
15485 echo "$as_me: failed program was:" >&5
15486 sed 's/^/| /' conftest.$ac_ext >&5
15488 ac_cv_asm_func_def="unknown"
15491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15492 conftest$ac_exeext conftest.$ac_ext
15495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15496 conftest$ac_exeext conftest.$ac_ext
15499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15500 conftest$ac_exeext conftest.$ac_ext
15502 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15503 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15507 case "$ac_cv_asm_func_def" in
15508 ".def")
15509 cat >>confdefs.h <<\_ACEOF
15510 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15511 _ACEOF
15513 ".type @function")
15514 cat >>confdefs.h <<\_ACEOF
15515 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15516 _ACEOF
15518 ".type 2")
15519 cat >>confdefs.h <<\_ACEOF
15520 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15521 _ACEOF
15524 cat >>confdefs.h <<\_ACEOF
15525 #define __ASM_FUNC(name) ""
15526 _ACEOF
15528 esac
15531 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15532 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15533 if test "${ac_cv_c_extern_prefix+set}" = set; then
15534 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 else
15536 cat >conftest.$ac_ext <<_ACEOF
15537 /* confdefs.h. */
15538 _ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542 extern int ac_test;
15544 main ()
15546 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15548 return 0;
15550 _ACEOF
15551 rm -f conftest.$ac_objext conftest$ac_exeext
15552 if { (ac_try="$ac_link"
15553 case "(($ac_try" in
15554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15555 *) ac_try_echo=$ac_try;;
15556 esac
15557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15558 (eval "$ac_link") 2>conftest.er1
15559 ac_status=$?
15560 grep -v '^ *+' conftest.er1 >conftest.err
15561 rm -f conftest.er1
15562 cat conftest.err >&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } && {
15565 test -z "$ac_c_werror_flag" ||
15566 test ! -s conftest.err
15567 } && test -s conftest$ac_exeext &&
15568 $as_test_x conftest$ac_exeext; then
15569 ac_cv_c_extern_prefix="yes"
15570 else
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.$ac_ext >&5
15574 ac_cv_c_extern_prefix="no"
15577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15578 conftest$ac_exeext conftest.$ac_ext
15580 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15581 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15585 if test "$ac_cv_c_extern_prefix" = "yes"
15586 then
15587 cat >>confdefs.h <<\_ACEOF
15588 #define __ASM_NAME(name) "_" name
15589 _ACEOF
15591 else
15592 cat >>confdefs.h <<\_ACEOF
15593 #define __ASM_NAME(name) name
15594 _ACEOF
15599 LDPATH=""
15601 case $build_os in
15602 cygwin*|mingw32*)
15603 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15605 darwin*|macosx*)
15607 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15608 then
15609 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15613 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15615 esac
15617 case $host_os in
15618 mingw32*)
15619 CRTLIBS="-lmsvcrt"
15621 SOCKETLIBS="-lws2_32"
15624 esac
15626 MAIN_BINARY="wine-pthread"
15627 case $host_cpu in
15628 *i[3456789]86*)
15629 case $host_os in
15630 linux* | k*bsd*-gnu)
15631 MAIN_BINARY="wine-glibc"
15633 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15635 esac
15637 esac
15701 for ac_func in \
15702 _pclose \
15703 _popen \
15704 _snprintf \
15705 _spawnvp \
15706 _stricmp \
15707 _strnicmp \
15708 _vsnprintf \
15709 asctime_r \
15710 chsize \
15711 clone \
15712 dlopen \
15713 epoll_create \
15714 ffs \
15715 finite \
15716 fork \
15717 fpclass \
15718 fstatfs \
15719 fstatvfs \
15720 ftruncate \
15721 futimes \
15722 futimesat \
15723 getdirentries \
15724 getopt_long \
15725 getpagesize \
15726 getpwuid \
15727 gettid \
15728 gettimeofday \
15729 getuid \
15730 inet_pton \
15731 kqueue \
15732 lstat \
15733 memmove \
15734 mmap \
15735 pclose \
15736 poll \
15737 popen \
15738 prctl \
15739 pread \
15740 pwrite \
15741 readlink \
15742 rfork \
15743 sched_yield \
15744 select \
15745 setrlimit \
15746 settimeofday \
15747 sigaltstack \
15748 sigprocmask \
15749 snprintf \
15750 spawnvp \
15751 statfs \
15752 statvfs \
15753 strcasecmp \
15754 strerror \
15755 strncasecmp \
15756 strtold \
15757 tcgetattr \
15758 timegm \
15759 usleep \
15760 vsnprintf \
15761 wait4 \
15762 waitpid \
15765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15766 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15768 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15769 echo $ECHO_N "(cached) $ECHO_C" >&6
15770 else
15771 cat >conftest.$ac_ext <<_ACEOF
15772 /* confdefs.h. */
15773 _ACEOF
15774 cat confdefs.h >>conftest.$ac_ext
15775 cat >>conftest.$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15779 #define $ac_func innocuous_$ac_func
15781 /* System header to define __stub macros and hopefully few prototypes,
15782 which can conflict with char $ac_func (); below.
15783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15784 <limits.h> exists even on freestanding compilers. */
15786 #ifdef __STDC__
15787 # include <limits.h>
15788 #else
15789 # include <assert.h>
15790 #endif
15792 #undef $ac_func
15794 /* Override any GCC internal prototype to avoid an error.
15795 Use char because int might match the return type of a GCC
15796 builtin and then its argument prototype would still apply. */
15797 #ifdef __cplusplus
15798 extern "C"
15799 #endif
15800 char $ac_func ();
15801 /* The GNU C library defines this for functions which it implements
15802 to always fail with ENOSYS. Some functions are actually named
15803 something starting with __ and the normal name is an alias. */
15804 #if defined __stub_$ac_func || defined __stub___$ac_func
15805 choke me
15806 #endif
15809 main ()
15811 return $ac_func ();
15813 return 0;
15815 _ACEOF
15816 rm -f conftest.$ac_objext conftest$ac_exeext
15817 if { (ac_try="$ac_link"
15818 case "(($ac_try" in
15819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15820 *) ac_try_echo=$ac_try;;
15821 esac
15822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15823 (eval "$ac_link") 2>conftest.er1
15824 ac_status=$?
15825 grep -v '^ *+' conftest.er1 >conftest.err
15826 rm -f conftest.er1
15827 cat conftest.err >&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); } && {
15830 test -z "$ac_c_werror_flag" ||
15831 test ! -s conftest.err
15832 } && test -s conftest$ac_exeext &&
15833 $as_test_x conftest$ac_exeext; then
15834 eval "$as_ac_var=yes"
15835 else
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.$ac_ext >&5
15839 eval "$as_ac_var=no"
15842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15843 conftest$ac_exeext conftest.$ac_ext
15845 ac_res=`eval echo '${'$as_ac_var'}'`
15846 { echo "$as_me:$LINENO: result: $ac_res" >&5
15847 echo "${ECHO_T}$ac_res" >&6; }
15848 if test `eval echo '${'$as_ac_var'}'` = yes; then
15849 cat >>confdefs.h <<_ACEOF
15850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15851 _ACEOF
15854 done
15857 if test "$ac_cv_func_dlopen" = no
15858 then
15859 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15860 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15861 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15863 else
15864 ac_check_lib_save_LIBS=$LIBS
15865 LIBS="-ldl $LIBS"
15866 cat >conftest.$ac_ext <<_ACEOF
15867 /* confdefs.h. */
15868 _ACEOF
15869 cat confdefs.h >>conftest.$ac_ext
15870 cat >>conftest.$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15873 /* Override any GCC internal prototype to avoid an error.
15874 Use char because int might match the return type of a GCC
15875 builtin and then its argument prototype would still apply. */
15876 #ifdef __cplusplus
15877 extern "C"
15878 #endif
15879 char dlopen ();
15881 main ()
15883 return dlopen ();
15885 return 0;
15887 _ACEOF
15888 rm -f conftest.$ac_objext conftest$ac_exeext
15889 if { (ac_try="$ac_link"
15890 case "(($ac_try" in
15891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15892 *) ac_try_echo=$ac_try;;
15893 esac
15894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15895 (eval "$ac_link") 2>conftest.er1
15896 ac_status=$?
15897 grep -v '^ *+' conftest.er1 >conftest.err
15898 rm -f conftest.er1
15899 cat conftest.err >&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); } && {
15902 test -z "$ac_c_werror_flag" ||
15903 test ! -s conftest.err
15904 } && test -s conftest$ac_exeext &&
15905 $as_test_x conftest$ac_exeext; then
15906 ac_cv_lib_dl_dlopen=yes
15907 else
15908 echo "$as_me: failed program was:" >&5
15909 sed 's/^/| /' conftest.$ac_ext >&5
15911 ac_cv_lib_dl_dlopen=no
15914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15915 conftest$ac_exeext conftest.$ac_ext
15916 LIBS=$ac_check_lib_save_LIBS
15918 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15919 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15920 if test $ac_cv_lib_dl_dlopen = yes; then
15921 cat >>confdefs.h <<\_ACEOF
15922 #define HAVE_DLOPEN 1
15923 _ACEOF
15924 LIBDL="-ldl"
15929 ac_wine_check_funcs_save_LIBS="$LIBS"
15930 LIBS="$LIBS $LIBDL"
15932 for ac_func in dladdr
15934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15938 echo $ECHO_N "(cached) $ECHO_C" >&6
15939 else
15940 cat >conftest.$ac_ext <<_ACEOF
15941 /* confdefs.h. */
15942 _ACEOF
15943 cat confdefs.h >>conftest.$ac_ext
15944 cat >>conftest.$ac_ext <<_ACEOF
15945 /* end confdefs.h. */
15946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15948 #define $ac_func innocuous_$ac_func
15950 /* System header to define __stub macros and hopefully few prototypes,
15951 which can conflict with char $ac_func (); below.
15952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15953 <limits.h> exists even on freestanding compilers. */
15955 #ifdef __STDC__
15956 # include <limits.h>
15957 #else
15958 # include <assert.h>
15959 #endif
15961 #undef $ac_func
15963 /* Override any GCC internal prototype to avoid an error.
15964 Use char because int might match the return type of a GCC
15965 builtin and then its argument prototype would still apply. */
15966 #ifdef __cplusplus
15967 extern "C"
15968 #endif
15969 char $ac_func ();
15970 /* The GNU C library defines this for functions which it implements
15971 to always fail with ENOSYS. Some functions are actually named
15972 something starting with __ and the normal name is an alias. */
15973 #if defined __stub_$ac_func || defined __stub___$ac_func
15974 choke me
15975 #endif
15978 main ()
15980 return $ac_func ();
15982 return 0;
15984 _ACEOF
15985 rm -f conftest.$ac_objext conftest$ac_exeext
15986 if { (ac_try="$ac_link"
15987 case "(($ac_try" in
15988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15989 *) ac_try_echo=$ac_try;;
15990 esac
15991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15992 (eval "$ac_link") 2>conftest.er1
15993 ac_status=$?
15994 grep -v '^ *+' conftest.er1 >conftest.err
15995 rm -f conftest.er1
15996 cat conftest.err >&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } && {
15999 test -z "$ac_c_werror_flag" ||
16000 test ! -s conftest.err
16001 } && test -s conftest$ac_exeext &&
16002 $as_test_x conftest$ac_exeext; then
16003 eval "$as_ac_var=yes"
16004 else
16005 echo "$as_me: failed program was:" >&5
16006 sed 's/^/| /' conftest.$ac_ext >&5
16008 eval "$as_ac_var=no"
16011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16012 conftest$ac_exeext conftest.$ac_ext
16014 ac_res=`eval echo '${'$as_ac_var'}'`
16015 { echo "$as_me:$LINENO: result: $ac_res" >&5
16016 echo "${ECHO_T}$ac_res" >&6; }
16017 if test `eval echo '${'$as_ac_var'}'` = yes; then
16018 cat >>confdefs.h <<_ACEOF
16019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16020 _ACEOF
16023 done
16025 LIBS="$ac_wine_check_funcs_save_LIBS"
16027 if test "$ac_cv_func_poll" = no
16028 then
16029 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16030 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16031 if test "${ac_cv_lib_poll_poll+set}" = set; then
16032 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 else
16034 ac_check_lib_save_LIBS=$LIBS
16035 LIBS="-lpoll $LIBS"
16036 cat >conftest.$ac_ext <<_ACEOF
16037 /* confdefs.h. */
16038 _ACEOF
16039 cat confdefs.h >>conftest.$ac_ext
16040 cat >>conftest.$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16043 /* Override any GCC internal prototype to avoid an error.
16044 Use char because int might match the return type of a GCC
16045 builtin and then its argument prototype would still apply. */
16046 #ifdef __cplusplus
16047 extern "C"
16048 #endif
16049 char poll ();
16051 main ()
16053 return poll ();
16055 return 0;
16057 _ACEOF
16058 rm -f conftest.$ac_objext conftest$ac_exeext
16059 if { (ac_try="$ac_link"
16060 case "(($ac_try" in
16061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16062 *) ac_try_echo=$ac_try;;
16063 esac
16064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16065 (eval "$ac_link") 2>conftest.er1
16066 ac_status=$?
16067 grep -v '^ *+' conftest.er1 >conftest.err
16068 rm -f conftest.er1
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } && {
16072 test -z "$ac_c_werror_flag" ||
16073 test ! -s conftest.err
16074 } && test -s conftest$ac_exeext &&
16075 $as_test_x conftest$ac_exeext; then
16076 ac_cv_lib_poll_poll=yes
16077 else
16078 echo "$as_me: failed program was:" >&5
16079 sed 's/^/| /' conftest.$ac_ext >&5
16081 ac_cv_lib_poll_poll=no
16084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16085 conftest$ac_exeext conftest.$ac_ext
16086 LIBS=$ac_check_lib_save_LIBS
16088 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16089 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16090 if test $ac_cv_lib_poll_poll = yes; then
16091 cat >>confdefs.h <<\_ACEOF
16092 #define HAVE_POLL 1
16093 _ACEOF
16094 LIBPOLL="-lpoll"
16100 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16101 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16102 if test "${ac_cv_search_gethostbyname+set}" = set; then
16103 echo $ECHO_N "(cached) $ECHO_C" >&6
16104 else
16105 ac_func_search_save_LIBS=$LIBS
16106 cat >conftest.$ac_ext <<_ACEOF
16107 /* confdefs.h. */
16108 _ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16113 /* Override any GCC internal prototype to avoid an error.
16114 Use char because int might match the return type of a GCC
16115 builtin and then its argument prototype would still apply. */
16116 #ifdef __cplusplus
16117 extern "C"
16118 #endif
16119 char gethostbyname ();
16121 main ()
16123 return gethostbyname ();
16125 return 0;
16127 _ACEOF
16128 for ac_lib in '' nsl; do
16129 if test -z "$ac_lib"; then
16130 ac_res="none required"
16131 else
16132 ac_res=-l$ac_lib
16133 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16135 rm -f conftest.$ac_objext conftest$ac_exeext
16136 if { (ac_try="$ac_link"
16137 case "(($ac_try" in
16138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16139 *) ac_try_echo=$ac_try;;
16140 esac
16141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16142 (eval "$ac_link") 2>conftest.er1
16143 ac_status=$?
16144 grep -v '^ *+' conftest.er1 >conftest.err
16145 rm -f conftest.er1
16146 cat conftest.err >&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } && {
16149 test -z "$ac_c_werror_flag" ||
16150 test ! -s conftest.err
16151 } && test -s conftest$ac_exeext &&
16152 $as_test_x conftest$ac_exeext; then
16153 ac_cv_search_gethostbyname=$ac_res
16154 else
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.$ac_ext >&5
16161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16162 conftest$ac_exeext
16163 if test "${ac_cv_search_gethostbyname+set}" = set; then
16164 break
16166 done
16167 if test "${ac_cv_search_gethostbyname+set}" = set; then
16169 else
16170 ac_cv_search_gethostbyname=no
16172 rm conftest.$ac_ext
16173 LIBS=$ac_func_search_save_LIBS
16175 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16176 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16177 ac_res=$ac_cv_search_gethostbyname
16178 if test "$ac_res" != no; then
16179 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16184 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16185 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16186 if test "${ac_cv_search_connect+set}" = set; then
16187 echo $ECHO_N "(cached) $ECHO_C" >&6
16188 else
16189 ac_func_search_save_LIBS=$LIBS
16190 cat >conftest.$ac_ext <<_ACEOF
16191 /* confdefs.h. */
16192 _ACEOF
16193 cat confdefs.h >>conftest.$ac_ext
16194 cat >>conftest.$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16197 /* Override any GCC internal prototype to avoid an error.
16198 Use char because int might match the return type of a GCC
16199 builtin and then its argument prototype would still apply. */
16200 #ifdef __cplusplus
16201 extern "C"
16202 #endif
16203 char connect ();
16205 main ()
16207 return connect ();
16209 return 0;
16211 _ACEOF
16212 for ac_lib in '' socket; do
16213 if test -z "$ac_lib"; then
16214 ac_res="none required"
16215 else
16216 ac_res=-l$ac_lib
16217 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16219 rm -f conftest.$ac_objext conftest$ac_exeext
16220 if { (ac_try="$ac_link"
16221 case "(($ac_try" in
16222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16223 *) ac_try_echo=$ac_try;;
16224 esac
16225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16226 (eval "$ac_link") 2>conftest.er1
16227 ac_status=$?
16228 grep -v '^ *+' conftest.er1 >conftest.err
16229 rm -f conftest.er1
16230 cat conftest.err >&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); } && {
16233 test -z "$ac_c_werror_flag" ||
16234 test ! -s conftest.err
16235 } && test -s conftest$ac_exeext &&
16236 $as_test_x conftest$ac_exeext; then
16237 ac_cv_search_connect=$ac_res
16238 else
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16246 conftest$ac_exeext
16247 if test "${ac_cv_search_connect+set}" = set; then
16248 break
16250 done
16251 if test "${ac_cv_search_connect+set}" = set; then
16253 else
16254 ac_cv_search_connect=no
16256 rm conftest.$ac_ext
16257 LIBS=$ac_func_search_save_LIBS
16259 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16260 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16261 ac_res=$ac_cv_search_connect
16262 if test "$ac_res" != no; then
16263 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16268 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16269 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16270 if test "${ac_cv_search_inet_aton+set}" = set; then
16271 echo $ECHO_N "(cached) $ECHO_C" >&6
16272 else
16273 ac_func_search_save_LIBS=$LIBS
16274 cat >conftest.$ac_ext <<_ACEOF
16275 /* confdefs.h. */
16276 _ACEOF
16277 cat confdefs.h >>conftest.$ac_ext
16278 cat >>conftest.$ac_ext <<_ACEOF
16279 /* end confdefs.h. */
16281 /* Override any GCC internal prototype to avoid an error.
16282 Use char because int might match the return type of a GCC
16283 builtin and then its argument prototype would still apply. */
16284 #ifdef __cplusplus
16285 extern "C"
16286 #endif
16287 char inet_aton ();
16289 main ()
16291 return inet_aton ();
16293 return 0;
16295 _ACEOF
16296 for ac_lib in '' resolv; do
16297 if test -z "$ac_lib"; then
16298 ac_res="none required"
16299 else
16300 ac_res=-l$ac_lib
16301 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16303 rm -f conftest.$ac_objext conftest$ac_exeext
16304 if { (ac_try="$ac_link"
16305 case "(($ac_try" in
16306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16307 *) ac_try_echo=$ac_try;;
16308 esac
16309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16310 (eval "$ac_link") 2>conftest.er1
16311 ac_status=$?
16312 grep -v '^ *+' conftest.er1 >conftest.err
16313 rm -f conftest.er1
16314 cat conftest.err >&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); } && {
16317 test -z "$ac_c_werror_flag" ||
16318 test ! -s conftest.err
16319 } && test -s conftest$ac_exeext &&
16320 $as_test_x conftest$ac_exeext; then
16321 ac_cv_search_inet_aton=$ac_res
16322 else
16323 echo "$as_me: failed program was:" >&5
16324 sed 's/^/| /' conftest.$ac_ext >&5
16329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16330 conftest$ac_exeext
16331 if test "${ac_cv_search_inet_aton+set}" = set; then
16332 break
16334 done
16335 if test "${ac_cv_search_inet_aton+set}" = set; then
16337 else
16338 ac_cv_search_inet_aton=no
16340 rm conftest.$ac_ext
16341 LIBS=$ac_func_search_save_LIBS
16343 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16344 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16345 ac_res=$ac_cv_search_inet_aton
16346 if test "$ac_res" != no; then
16347 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16360 for ac_func in \
16361 getaddrinfo \
16362 getnameinfo \
16363 getnetbyname \
16364 getprotobyname \
16365 getprotobynumber \
16366 getservbyport \
16367 inet_network \
16368 sendmsg \
16371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16372 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16374 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16375 echo $ECHO_N "(cached) $ECHO_C" >&6
16376 else
16377 cat >conftest.$ac_ext <<_ACEOF
16378 /* confdefs.h. */
16379 _ACEOF
16380 cat confdefs.h >>conftest.$ac_ext
16381 cat >>conftest.$ac_ext <<_ACEOF
16382 /* end confdefs.h. */
16383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16385 #define $ac_func innocuous_$ac_func
16387 /* System header to define __stub macros and hopefully few prototypes,
16388 which can conflict with char $ac_func (); below.
16389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16390 <limits.h> exists even on freestanding compilers. */
16392 #ifdef __STDC__
16393 # include <limits.h>
16394 #else
16395 # include <assert.h>
16396 #endif
16398 #undef $ac_func
16400 /* Override any GCC internal prototype to avoid an error.
16401 Use char because int might match the return type of a GCC
16402 builtin and then its argument prototype would still apply. */
16403 #ifdef __cplusplus
16404 extern "C"
16405 #endif
16406 char $ac_func ();
16407 /* The GNU C library defines this for functions which it implements
16408 to always fail with ENOSYS. Some functions are actually named
16409 something starting with __ and the normal name is an alias. */
16410 #if defined __stub_$ac_func || defined __stub___$ac_func
16411 choke me
16412 #endif
16415 main ()
16417 return $ac_func ();
16419 return 0;
16421 _ACEOF
16422 rm -f conftest.$ac_objext conftest$ac_exeext
16423 if { (ac_try="$ac_link"
16424 case "(($ac_try" in
16425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16426 *) ac_try_echo=$ac_try;;
16427 esac
16428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16429 (eval "$ac_link") 2>conftest.er1
16430 ac_status=$?
16431 grep -v '^ *+' conftest.er1 >conftest.err
16432 rm -f conftest.er1
16433 cat conftest.err >&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); } && {
16436 test -z "$ac_c_werror_flag" ||
16437 test ! -s conftest.err
16438 } && test -s conftest$ac_exeext &&
16439 $as_test_x conftest$ac_exeext; then
16440 eval "$as_ac_var=yes"
16441 else
16442 echo "$as_me: failed program was:" >&5
16443 sed 's/^/| /' conftest.$ac_ext >&5
16445 eval "$as_ac_var=no"
16448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16449 conftest$ac_exeext conftest.$ac_ext
16451 ac_res=`eval echo '${'$as_ac_var'}'`
16452 { echo "$as_me:$LINENO: result: $ac_res" >&5
16453 echo "${ECHO_T}$ac_res" >&6; }
16454 if test `eval echo '${'$as_ac_var'}'` = yes; then
16455 cat >>confdefs.h <<_ACEOF
16456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16457 _ACEOF
16460 done
16464 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16465 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16466 if test "${ac_cv_c_const+set}" = set; then
16467 echo $ECHO_N "(cached) $ECHO_C" >&6
16468 else
16469 cat >conftest.$ac_ext <<_ACEOF
16470 /* confdefs.h. */
16471 _ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16477 main ()
16479 /* FIXME: Include the comments suggested by Paul. */
16480 #ifndef __cplusplus
16481 /* Ultrix mips cc rejects this. */
16482 typedef int charset[2];
16483 const charset cs;
16484 /* SunOS 4.1.1 cc rejects this. */
16485 char const *const *pcpcc;
16486 char **ppc;
16487 /* NEC SVR4.0.2 mips cc rejects this. */
16488 struct point {int x, y;};
16489 static struct point const zero = {0,0};
16490 /* AIX XL C 1.02.0.0 rejects this.
16491 It does not let you subtract one const X* pointer from another in
16492 an arm of an if-expression whose if-part is not a constant
16493 expression */
16494 const char *g = "string";
16495 pcpcc = &g + (g ? g-g : 0);
16496 /* HPUX 7.0 cc rejects these. */
16497 ++pcpcc;
16498 ppc = (char**) pcpcc;
16499 pcpcc = (char const *const *) ppc;
16500 { /* SCO 3.2v4 cc rejects this. */
16501 char *t;
16502 char const *s = 0 ? (char *) 0 : (char const *) 0;
16504 *t++ = 0;
16505 if (s) return 0;
16507 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16508 int x[] = {25, 17};
16509 const int *foo = &x[0];
16510 ++foo;
16512 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16513 typedef const int *iptr;
16514 iptr p = 0;
16515 ++p;
16517 { /* AIX XL C 1.02.0.0 rejects this saying
16518 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16519 struct s { int j; const int *ap[3]; };
16520 struct s *b; b->j = 5;
16522 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16523 const int foo = 10;
16524 if (!foo) return 0;
16526 return !cs[0] && !zero.x;
16527 #endif
16530 return 0;
16532 _ACEOF
16533 rm -f conftest.$ac_objext
16534 if { (ac_try="$ac_compile"
16535 case "(($ac_try" in
16536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16537 *) ac_try_echo=$ac_try;;
16538 esac
16539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16540 (eval "$ac_compile") 2>conftest.er1
16541 ac_status=$?
16542 grep -v '^ *+' conftest.er1 >conftest.err
16543 rm -f conftest.er1
16544 cat conftest.err >&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); } && {
16547 test -z "$ac_c_werror_flag" ||
16548 test ! -s conftest.err
16549 } && test -s conftest.$ac_objext; then
16550 ac_cv_c_const=yes
16551 else
16552 echo "$as_me: failed program was:" >&5
16553 sed 's/^/| /' conftest.$ac_ext >&5
16555 ac_cv_c_const=no
16558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16560 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16561 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16562 if test $ac_cv_c_const = no; then
16564 cat >>confdefs.h <<\_ACEOF
16565 #define const
16566 _ACEOF
16570 { echo "$as_me:$LINENO: checking for inline" >&5
16571 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16572 if test "${ac_cv_c_inline+set}" = set; then
16573 echo $ECHO_N "(cached) $ECHO_C" >&6
16574 else
16575 ac_cv_c_inline=no
16576 for ac_kw in inline __inline__ __inline; do
16577 cat >conftest.$ac_ext <<_ACEOF
16578 /* confdefs.h. */
16579 _ACEOF
16580 cat confdefs.h >>conftest.$ac_ext
16581 cat >>conftest.$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16583 #ifndef __cplusplus
16584 typedef int foo_t;
16585 static $ac_kw foo_t static_foo () {return 0; }
16586 $ac_kw foo_t foo () {return 0; }
16587 #endif
16589 _ACEOF
16590 rm -f conftest.$ac_objext
16591 if { (ac_try="$ac_compile"
16592 case "(($ac_try" in
16593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16594 *) ac_try_echo=$ac_try;;
16595 esac
16596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16597 (eval "$ac_compile") 2>conftest.er1
16598 ac_status=$?
16599 grep -v '^ *+' conftest.er1 >conftest.err
16600 rm -f conftest.er1
16601 cat conftest.err >&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); } && {
16604 test -z "$ac_c_werror_flag" ||
16605 test ! -s conftest.err
16606 } && test -s conftest.$ac_objext; then
16607 ac_cv_c_inline=$ac_kw
16608 else
16609 echo "$as_me: failed program was:" >&5
16610 sed 's/^/| /' conftest.$ac_ext >&5
16615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16616 test "$ac_cv_c_inline" != no && break
16617 done
16620 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16621 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16624 case $ac_cv_c_inline in
16625 inline | yes) ;;
16627 case $ac_cv_c_inline in
16628 no) ac_val=;;
16629 *) ac_val=$ac_cv_c_inline;;
16630 esac
16631 cat >>confdefs.h <<_ACEOF
16632 #ifndef __cplusplus
16633 #define inline $ac_val
16634 #endif
16635 _ACEOF
16637 esac
16639 { echo "$as_me:$LINENO: checking for mode_t" >&5
16640 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16641 if test "${ac_cv_type_mode_t+set}" = set; then
16642 echo $ECHO_N "(cached) $ECHO_C" >&6
16643 else
16644 cat >conftest.$ac_ext <<_ACEOF
16645 /* confdefs.h. */
16646 _ACEOF
16647 cat confdefs.h >>conftest.$ac_ext
16648 cat >>conftest.$ac_ext <<_ACEOF
16649 /* end confdefs.h. */
16650 $ac_includes_default
16651 typedef mode_t ac__type_new_;
16653 main ()
16655 if ((ac__type_new_ *) 0)
16656 return 0;
16657 if (sizeof (ac__type_new_))
16658 return 0;
16660 return 0;
16662 _ACEOF
16663 rm -f conftest.$ac_objext
16664 if { (ac_try="$ac_compile"
16665 case "(($ac_try" in
16666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16667 *) ac_try_echo=$ac_try;;
16668 esac
16669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16670 (eval "$ac_compile") 2>conftest.er1
16671 ac_status=$?
16672 grep -v '^ *+' conftest.er1 >conftest.err
16673 rm -f conftest.er1
16674 cat conftest.err >&5
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); } && {
16677 test -z "$ac_c_werror_flag" ||
16678 test ! -s conftest.err
16679 } && test -s conftest.$ac_objext; then
16680 ac_cv_type_mode_t=yes
16681 else
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.$ac_ext >&5
16685 ac_cv_type_mode_t=no
16688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16690 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16691 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16692 if test $ac_cv_type_mode_t = yes; then
16694 cat >>confdefs.h <<_ACEOF
16695 #define HAVE_MODE_T 1
16696 _ACEOF
16700 { echo "$as_me:$LINENO: checking for off_t" >&5
16701 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16702 if test "${ac_cv_type_off_t+set}" = set; then
16703 echo $ECHO_N "(cached) $ECHO_C" >&6
16704 else
16705 cat >conftest.$ac_ext <<_ACEOF
16706 /* confdefs.h. */
16707 _ACEOF
16708 cat confdefs.h >>conftest.$ac_ext
16709 cat >>conftest.$ac_ext <<_ACEOF
16710 /* end confdefs.h. */
16711 $ac_includes_default
16712 typedef off_t ac__type_new_;
16714 main ()
16716 if ((ac__type_new_ *) 0)
16717 return 0;
16718 if (sizeof (ac__type_new_))
16719 return 0;
16721 return 0;
16723 _ACEOF
16724 rm -f conftest.$ac_objext
16725 if { (ac_try="$ac_compile"
16726 case "(($ac_try" in
16727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16728 *) ac_try_echo=$ac_try;;
16729 esac
16730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16731 (eval "$ac_compile") 2>conftest.er1
16732 ac_status=$?
16733 grep -v '^ *+' conftest.er1 >conftest.err
16734 rm -f conftest.er1
16735 cat conftest.err >&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } && {
16738 test -z "$ac_c_werror_flag" ||
16739 test ! -s conftest.err
16740 } && test -s conftest.$ac_objext; then
16741 ac_cv_type_off_t=yes
16742 else
16743 echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.$ac_ext >&5
16746 ac_cv_type_off_t=no
16749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16751 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16752 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16753 if test $ac_cv_type_off_t = yes; then
16755 cat >>confdefs.h <<_ACEOF
16756 #define HAVE_OFF_T 1
16757 _ACEOF
16761 { echo "$as_me:$LINENO: checking for pid_t" >&5
16762 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16763 if test "${ac_cv_type_pid_t+set}" = set; then
16764 echo $ECHO_N "(cached) $ECHO_C" >&6
16765 else
16766 cat >conftest.$ac_ext <<_ACEOF
16767 /* confdefs.h. */
16768 _ACEOF
16769 cat confdefs.h >>conftest.$ac_ext
16770 cat >>conftest.$ac_ext <<_ACEOF
16771 /* end confdefs.h. */
16772 $ac_includes_default
16773 typedef pid_t ac__type_new_;
16775 main ()
16777 if ((ac__type_new_ *) 0)
16778 return 0;
16779 if (sizeof (ac__type_new_))
16780 return 0;
16782 return 0;
16784 _ACEOF
16785 rm -f conftest.$ac_objext
16786 if { (ac_try="$ac_compile"
16787 case "(($ac_try" in
16788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16789 *) ac_try_echo=$ac_try;;
16790 esac
16791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16792 (eval "$ac_compile") 2>conftest.er1
16793 ac_status=$?
16794 grep -v '^ *+' conftest.er1 >conftest.err
16795 rm -f conftest.er1
16796 cat conftest.err >&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); } && {
16799 test -z "$ac_c_werror_flag" ||
16800 test ! -s conftest.err
16801 } && test -s conftest.$ac_objext; then
16802 ac_cv_type_pid_t=yes
16803 else
16804 echo "$as_me: failed program was:" >&5
16805 sed 's/^/| /' conftest.$ac_ext >&5
16807 ac_cv_type_pid_t=no
16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16812 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16813 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16814 if test $ac_cv_type_pid_t = yes; then
16816 cat >>confdefs.h <<_ACEOF
16817 #define HAVE_PID_T 1
16818 _ACEOF
16822 { echo "$as_me:$LINENO: checking for size_t" >&5
16823 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16824 if test "${ac_cv_type_size_t+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16826 else
16827 cat >conftest.$ac_ext <<_ACEOF
16828 /* confdefs.h. */
16829 _ACEOF
16830 cat confdefs.h >>conftest.$ac_ext
16831 cat >>conftest.$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16833 $ac_includes_default
16834 typedef size_t ac__type_new_;
16836 main ()
16838 if ((ac__type_new_ *) 0)
16839 return 0;
16840 if (sizeof (ac__type_new_))
16841 return 0;
16843 return 0;
16845 _ACEOF
16846 rm -f conftest.$ac_objext
16847 if { (ac_try="$ac_compile"
16848 case "(($ac_try" in
16849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16850 *) ac_try_echo=$ac_try;;
16851 esac
16852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_compile") 2>conftest.er1
16854 ac_status=$?
16855 grep -v '^ *+' conftest.er1 >conftest.err
16856 rm -f conftest.er1
16857 cat conftest.err >&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); } && {
16860 test -z "$ac_c_werror_flag" ||
16861 test ! -s conftest.err
16862 } && test -s conftest.$ac_objext; then
16863 ac_cv_type_size_t=yes
16864 else
16865 echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.$ac_ext >&5
16868 ac_cv_type_size_t=no
16871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16873 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16874 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16875 if test $ac_cv_type_size_t = yes; then
16877 cat >>confdefs.h <<_ACEOF
16878 #define HAVE_SIZE_T 1
16879 _ACEOF
16883 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16884 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16885 if test "${ac_cv_type_ssize_t+set}" = set; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16887 else
16888 cat >conftest.$ac_ext <<_ACEOF
16889 /* confdefs.h. */
16890 _ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 $ac_includes_default
16895 typedef ssize_t ac__type_new_;
16897 main ()
16899 if ((ac__type_new_ *) 0)
16900 return 0;
16901 if (sizeof (ac__type_new_))
16902 return 0;
16904 return 0;
16906 _ACEOF
16907 rm -f conftest.$ac_objext
16908 if { (ac_try="$ac_compile"
16909 case "(($ac_try" in
16910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16911 *) ac_try_echo=$ac_try;;
16912 esac
16913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16914 (eval "$ac_compile") 2>conftest.er1
16915 ac_status=$?
16916 grep -v '^ *+' conftest.er1 >conftest.err
16917 rm -f conftest.er1
16918 cat conftest.err >&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } && {
16921 test -z "$ac_c_werror_flag" ||
16922 test ! -s conftest.err
16923 } && test -s conftest.$ac_objext; then
16924 ac_cv_type_ssize_t=yes
16925 else
16926 echo "$as_me: failed program was:" >&5
16927 sed 's/^/| /' conftest.$ac_ext >&5
16929 ac_cv_type_ssize_t=no
16932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16934 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16935 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16936 if test $ac_cv_type_ssize_t = yes; then
16938 cat >>confdefs.h <<_ACEOF
16939 #define HAVE_SSIZE_T 1
16940 _ACEOF
16944 { echo "$as_me:$LINENO: checking for long long" >&5
16945 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16946 if test "${ac_cv_type_long_long+set}" = set; then
16947 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 else
16949 cat >conftest.$ac_ext <<_ACEOF
16950 /* confdefs.h. */
16951 _ACEOF
16952 cat confdefs.h >>conftest.$ac_ext
16953 cat >>conftest.$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16955 $ac_includes_default
16956 typedef long long ac__type_new_;
16958 main ()
16960 if ((ac__type_new_ *) 0)
16961 return 0;
16962 if (sizeof (ac__type_new_))
16963 return 0;
16965 return 0;
16967 _ACEOF
16968 rm -f conftest.$ac_objext
16969 if { (ac_try="$ac_compile"
16970 case "(($ac_try" in
16971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16972 *) ac_try_echo=$ac_try;;
16973 esac
16974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16975 (eval "$ac_compile") 2>conftest.er1
16976 ac_status=$?
16977 grep -v '^ *+' conftest.er1 >conftest.err
16978 rm -f conftest.er1
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } && {
16982 test -z "$ac_c_werror_flag" ||
16983 test ! -s conftest.err
16984 } && test -s conftest.$ac_objext; then
16985 ac_cv_type_long_long=yes
16986 else
16987 echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.$ac_ext >&5
16990 ac_cv_type_long_long=no
16993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16995 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16996 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16997 if test $ac_cv_type_long_long = yes; then
16999 cat >>confdefs.h <<_ACEOF
17000 #define HAVE_LONG_LONG 1
17001 _ACEOF
17005 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17006 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17007 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17008 echo $ECHO_N "(cached) $ECHO_C" >&6
17009 else
17010 cat >conftest.$ac_ext <<_ACEOF
17011 /* confdefs.h. */
17012 _ACEOF
17013 cat confdefs.h >>conftest.$ac_ext
17014 cat >>conftest.$ac_ext <<_ACEOF
17015 /* end confdefs.h. */
17016 $ac_includes_default
17017 typedef fsblkcnt_t ac__type_new_;
17019 main ()
17021 if ((ac__type_new_ *) 0)
17022 return 0;
17023 if (sizeof (ac__type_new_))
17024 return 0;
17026 return 0;
17028 _ACEOF
17029 rm -f conftest.$ac_objext
17030 if { (ac_try="$ac_compile"
17031 case "(($ac_try" in
17032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17033 *) ac_try_echo=$ac_try;;
17034 esac
17035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17036 (eval "$ac_compile") 2>conftest.er1
17037 ac_status=$?
17038 grep -v '^ *+' conftest.er1 >conftest.err
17039 rm -f conftest.er1
17040 cat conftest.err >&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); } && {
17043 test -z "$ac_c_werror_flag" ||
17044 test ! -s conftest.err
17045 } && test -s conftest.$ac_objext; then
17046 ac_cv_type_fsblkcnt_t=yes
17047 else
17048 echo "$as_me: failed program was:" >&5
17049 sed 's/^/| /' conftest.$ac_ext >&5
17051 ac_cv_type_fsblkcnt_t=no
17054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17056 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17057 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17058 if test $ac_cv_type_fsblkcnt_t = yes; then
17060 cat >>confdefs.h <<_ACEOF
17061 #define HAVE_FSBLKCNT_T 1
17062 _ACEOF
17066 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17067 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17068 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 else
17071 cat >conftest.$ac_ext <<_ACEOF
17072 /* confdefs.h. */
17073 _ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077 $ac_includes_default
17078 typedef fsfilcnt_t ac__type_new_;
17080 main ()
17082 if ((ac__type_new_ *) 0)
17083 return 0;
17084 if (sizeof (ac__type_new_))
17085 return 0;
17087 return 0;
17089 _ACEOF
17090 rm -f conftest.$ac_objext
17091 if { (ac_try="$ac_compile"
17092 case "(($ac_try" in
17093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17094 *) ac_try_echo=$ac_try;;
17095 esac
17096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17097 (eval "$ac_compile") 2>conftest.er1
17098 ac_status=$?
17099 grep -v '^ *+' conftest.er1 >conftest.err
17100 rm -f conftest.er1
17101 cat conftest.err >&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } && {
17104 test -z "$ac_c_werror_flag" ||
17105 test ! -s conftest.err
17106 } && test -s conftest.$ac_objext; then
17107 ac_cv_type_fsfilcnt_t=yes
17108 else
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.$ac_ext >&5
17112 ac_cv_type_fsfilcnt_t=no
17115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17117 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17118 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17119 if test $ac_cv_type_fsfilcnt_t = yes; then
17121 cat >>confdefs.h <<_ACEOF
17122 #define HAVE_FSFILCNT_T 1
17123 _ACEOF
17128 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17129 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17130 if test "${ac_cv_type_sigset_t+set}" = set; then
17131 echo $ECHO_N "(cached) $ECHO_C" >&6
17132 else
17133 cat >conftest.$ac_ext <<_ACEOF
17134 /* confdefs.h. */
17135 _ACEOF
17136 cat confdefs.h >>conftest.$ac_ext
17137 cat >>conftest.$ac_ext <<_ACEOF
17138 /* end confdefs.h. */
17139 #include <signal.h>
17141 typedef sigset_t ac__type_new_;
17143 main ()
17145 if ((ac__type_new_ *) 0)
17146 return 0;
17147 if (sizeof (ac__type_new_))
17148 return 0;
17150 return 0;
17152 _ACEOF
17153 rm -f conftest.$ac_objext
17154 if { (ac_try="$ac_compile"
17155 case "(($ac_try" in
17156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17157 *) ac_try_echo=$ac_try;;
17158 esac
17159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17160 (eval "$ac_compile") 2>conftest.er1
17161 ac_status=$?
17162 grep -v '^ *+' conftest.er1 >conftest.err
17163 rm -f conftest.er1
17164 cat conftest.err >&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); } && {
17167 test -z "$ac_c_werror_flag" ||
17168 test ! -s conftest.err
17169 } && test -s conftest.$ac_objext; then
17170 ac_cv_type_sigset_t=yes
17171 else
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17175 ac_cv_type_sigset_t=no
17178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17180 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17181 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17182 if test $ac_cv_type_sigset_t = yes; then
17184 cat >>confdefs.h <<_ACEOF
17185 #define HAVE_SIGSET_T 1
17186 _ACEOF
17191 { echo "$as_me:$LINENO: checking for request_sense" >&5
17192 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17193 if test "${ac_cv_type_request_sense+set}" = set; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 else
17196 cat >conftest.$ac_ext <<_ACEOF
17197 /* confdefs.h. */
17198 _ACEOF
17199 cat confdefs.h >>conftest.$ac_ext
17200 cat >>conftest.$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17202 #include <linux/cdrom.h>
17204 typedef request_sense ac__type_new_;
17206 main ()
17208 if ((ac__type_new_ *) 0)
17209 return 0;
17210 if (sizeof (ac__type_new_))
17211 return 0;
17213 return 0;
17215 _ACEOF
17216 rm -f conftest.$ac_objext
17217 if { (ac_try="$ac_compile"
17218 case "(($ac_try" in
17219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17220 *) ac_try_echo=$ac_try;;
17221 esac
17222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17223 (eval "$ac_compile") 2>conftest.er1
17224 ac_status=$?
17225 grep -v '^ *+' conftest.er1 >conftest.err
17226 rm -f conftest.er1
17227 cat conftest.err >&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } && {
17230 test -z "$ac_c_werror_flag" ||
17231 test ! -s conftest.err
17232 } && test -s conftest.$ac_objext; then
17233 ac_cv_type_request_sense=yes
17234 else
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.$ac_ext >&5
17238 ac_cv_type_request_sense=no
17241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17243 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17244 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17245 if test $ac_cv_type_request_sense = yes; then
17247 cat >>confdefs.h <<_ACEOF
17248 #define HAVE_REQUEST_SENSE 1
17249 _ACEOF
17255 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17256 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17257 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17258 echo $ECHO_N "(cached) $ECHO_C" >&6
17259 else
17260 cat >conftest.$ac_ext <<_ACEOF
17261 /* confdefs.h. */
17262 _ACEOF
17263 cat confdefs.h >>conftest.$ac_ext
17264 cat >>conftest.$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266 #ifdef HAVE_LINUX_INPUT_H
17267 #include <linux/input.h>
17268 #endif
17271 main ()
17273 static struct ff_effect ac_aggr;
17274 if (ac_aggr.direction)
17275 return 0;
17277 return 0;
17279 _ACEOF
17280 rm -f conftest.$ac_objext
17281 if { (ac_try="$ac_compile"
17282 case "(($ac_try" in
17283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17284 *) ac_try_echo=$ac_try;;
17285 esac
17286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17287 (eval "$ac_compile") 2>conftest.er1
17288 ac_status=$?
17289 grep -v '^ *+' conftest.er1 >conftest.err
17290 rm -f conftest.er1
17291 cat conftest.err >&5
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); } && {
17294 test -z "$ac_c_werror_flag" ||
17295 test ! -s conftest.err
17296 } && test -s conftest.$ac_objext; then
17297 ac_cv_member_struct_ff_effect_direction=yes
17298 else
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.$ac_ext >&5
17302 cat >conftest.$ac_ext <<_ACEOF
17303 /* confdefs.h. */
17304 _ACEOF
17305 cat confdefs.h >>conftest.$ac_ext
17306 cat >>conftest.$ac_ext <<_ACEOF
17307 /* end confdefs.h. */
17308 #ifdef HAVE_LINUX_INPUT_H
17309 #include <linux/input.h>
17310 #endif
17313 main ()
17315 static struct ff_effect ac_aggr;
17316 if (sizeof ac_aggr.direction)
17317 return 0;
17319 return 0;
17321 _ACEOF
17322 rm -f conftest.$ac_objext
17323 if { (ac_try="$ac_compile"
17324 case "(($ac_try" in
17325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17326 *) ac_try_echo=$ac_try;;
17327 esac
17328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17329 (eval "$ac_compile") 2>conftest.er1
17330 ac_status=$?
17331 grep -v '^ *+' conftest.er1 >conftest.err
17332 rm -f conftest.er1
17333 cat conftest.err >&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); } && {
17336 test -z "$ac_c_werror_flag" ||
17337 test ! -s conftest.err
17338 } && test -s conftest.$ac_objext; then
17339 ac_cv_member_struct_ff_effect_direction=yes
17340 else
17341 echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.$ac_ext >&5
17344 ac_cv_member_struct_ff_effect_direction=no
17347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17352 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17353 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17354 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17356 cat >>confdefs.h <<_ACEOF
17357 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17358 _ACEOF
17364 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17365 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17366 if test "${wine_cv_have_sigaddset+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17368 else
17369 cat >conftest.$ac_ext <<_ACEOF
17370 /* confdefs.h. */
17371 _ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17375 #include <signal.h>
17377 main ()
17379 sigset_t set; sigaddset(&set,SIGTERM);
17381 return 0;
17383 _ACEOF
17384 rm -f conftest.$ac_objext conftest$ac_exeext
17385 if { (ac_try="$ac_link"
17386 case "(($ac_try" in
17387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17388 *) ac_try_echo=$ac_try;;
17389 esac
17390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17391 (eval "$ac_link") 2>conftest.er1
17392 ac_status=$?
17393 grep -v '^ *+' conftest.er1 >conftest.err
17394 rm -f conftest.er1
17395 cat conftest.err >&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); } && {
17398 test -z "$ac_c_werror_flag" ||
17399 test ! -s conftest.err
17400 } && test -s conftest$ac_exeext &&
17401 $as_test_x conftest$ac_exeext; then
17402 wine_cv_have_sigaddset=yes
17403 else
17404 echo "$as_me: failed program was:" >&5
17405 sed 's/^/| /' conftest.$ac_ext >&5
17407 wine_cv_have_sigaddset=no
17410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17411 conftest$ac_exeext conftest.$ac_ext
17413 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17414 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17415 if test "$wine_cv_have_sigaddset" = "yes"
17416 then
17418 cat >>confdefs.h <<\_ACEOF
17419 #define HAVE_SIGADDSET 1
17420 _ACEOF
17425 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17426 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17427 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17428 echo $ECHO_N "(cached) $ECHO_C" >&6
17429 else
17430 cat >conftest.$ac_ext <<_ACEOF
17431 /* confdefs.h. */
17432 _ACEOF
17433 cat confdefs.h >>conftest.$ac_ext
17434 cat >>conftest.$ac_ext <<_ACEOF
17435 /* end confdefs.h. */
17436 #include <netdb.h>
17438 main ()
17441 char *name=NULL;
17442 struct hostent he;
17443 struct hostent *result;
17444 char *buf=NULL;
17445 int bufsize=0;
17446 int res,errnr;
17447 char *addr=NULL;
17448 int addrlen=0;
17449 int addrtype=0;
17450 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17451 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17454 return 0;
17456 _ACEOF
17457 rm -f conftest.$ac_objext conftest$ac_exeext
17458 if { (ac_try="$ac_link"
17459 case "(($ac_try" in
17460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17461 *) ac_try_echo=$ac_try;;
17462 esac
17463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17464 (eval "$ac_link") 2>conftest.er1
17465 ac_status=$?
17466 grep -v '^ *+' conftest.er1 >conftest.err
17467 rm -f conftest.er1
17468 cat conftest.err >&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } && {
17471 test -z "$ac_c_werror_flag" ||
17472 test ! -s conftest.err
17473 } && test -s conftest$ac_exeext &&
17474 $as_test_x conftest$ac_exeext; then
17475 wine_cv_linux_gethostbyname_r_6=yes
17476 else
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17480 wine_cv_linux_gethostbyname_r_6=no
17484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17485 conftest$ac_exeext conftest.$ac_ext
17488 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17489 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17490 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17491 then
17493 cat >>confdefs.h <<\_ACEOF
17494 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17495 _ACEOF
17499 if test "$ac_cv_header_linux_joystick_h" = "yes"
17500 then
17501 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17502 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17503 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17505 else
17506 cat >conftest.$ac_ext <<_ACEOF
17507 /* confdefs.h. */
17508 _ACEOF
17509 cat confdefs.h >>conftest.$ac_ext
17510 cat >>conftest.$ac_ext <<_ACEOF
17511 /* end confdefs.h. */
17513 #include <sys/ioctl.h>
17514 #include <sys/types.h>
17515 #include <linux/joystick.h>
17517 struct js_event blub;
17518 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17519 #error "no 2.2 header"
17520 #endif
17523 main ()
17525 /*empty*/
17527 return 0;
17529 _ACEOF
17530 rm -f conftest.$ac_objext
17531 if { (ac_try="$ac_compile"
17532 case "(($ac_try" in
17533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17534 *) ac_try_echo=$ac_try;;
17535 esac
17536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17537 (eval "$ac_compile") 2>conftest.er1
17538 ac_status=$?
17539 grep -v '^ *+' conftest.er1 >conftest.err
17540 rm -f conftest.er1
17541 cat conftest.err >&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); } && {
17544 test -z "$ac_c_werror_flag" ||
17545 test ! -s conftest.err
17546 } && test -s conftest.$ac_objext; then
17547 wine_cv_linux_joystick_22_api=yes
17548 else
17549 echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.$ac_ext >&5
17552 wine_cv_linux_joystick_22_api=no
17555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17558 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17559 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17560 if test "$wine_cv_linux_joystick_22_api" = "yes"
17561 then
17563 cat >>confdefs.h <<\_ACEOF
17564 #define HAVE_LINUX_22_JOYSTICK_API 1
17565 _ACEOF
17571 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17572 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17573 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17574 echo $ECHO_N "(cached) $ECHO_C" >&6
17575 else
17576 cat >conftest.$ac_ext <<_ACEOF
17577 /* confdefs.h. */
17578 _ACEOF
17579 cat confdefs.h >>conftest.$ac_ext
17580 cat >>conftest.$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17582 #include <sys/types.h>
17583 #ifdef HAVE_SYS_PARAM_H
17584 # include <sys/param.h>
17585 #endif
17586 #ifdef HAVE_SYS_MOUNT_H
17587 # include <sys/mount.h>
17588 #endif
17589 #ifdef HAVE_SYS_VFS_H
17590 # include <sys/vfs.h>
17591 #endif
17592 #ifdef HAVE_SYS_STATFS_H
17593 # include <sys/statfs.h>
17594 #endif
17597 main ()
17599 static struct statfs ac_aggr;
17600 if (ac_aggr.f_bfree)
17601 return 0;
17603 return 0;
17605 _ACEOF
17606 rm -f conftest.$ac_objext
17607 if { (ac_try="$ac_compile"
17608 case "(($ac_try" in
17609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17610 *) ac_try_echo=$ac_try;;
17611 esac
17612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17613 (eval "$ac_compile") 2>conftest.er1
17614 ac_status=$?
17615 grep -v '^ *+' conftest.er1 >conftest.err
17616 rm -f conftest.er1
17617 cat conftest.err >&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); } && {
17620 test -z "$ac_c_werror_flag" ||
17621 test ! -s conftest.err
17622 } && test -s conftest.$ac_objext; then
17623 ac_cv_member_struct_statfs_f_bfree=yes
17624 else
17625 echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.$ac_ext >&5
17628 cat >conftest.$ac_ext <<_ACEOF
17629 /* confdefs.h. */
17630 _ACEOF
17631 cat confdefs.h >>conftest.$ac_ext
17632 cat >>conftest.$ac_ext <<_ACEOF
17633 /* end confdefs.h. */
17634 #include <sys/types.h>
17635 #ifdef HAVE_SYS_PARAM_H
17636 # include <sys/param.h>
17637 #endif
17638 #ifdef HAVE_SYS_MOUNT_H
17639 # include <sys/mount.h>
17640 #endif
17641 #ifdef HAVE_SYS_VFS_H
17642 # include <sys/vfs.h>
17643 #endif
17644 #ifdef HAVE_SYS_STATFS_H
17645 # include <sys/statfs.h>
17646 #endif
17649 main ()
17651 static struct statfs ac_aggr;
17652 if (sizeof ac_aggr.f_bfree)
17653 return 0;
17655 return 0;
17657 _ACEOF
17658 rm -f conftest.$ac_objext
17659 if { (ac_try="$ac_compile"
17660 case "(($ac_try" in
17661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17662 *) ac_try_echo=$ac_try;;
17663 esac
17664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17665 (eval "$ac_compile") 2>conftest.er1
17666 ac_status=$?
17667 grep -v '^ *+' conftest.er1 >conftest.err
17668 rm -f conftest.er1
17669 cat conftest.err >&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); } && {
17672 test -z "$ac_c_werror_flag" ||
17673 test ! -s conftest.err
17674 } && test -s conftest.$ac_objext; then
17675 ac_cv_member_struct_statfs_f_bfree=yes
17676 else
17677 echo "$as_me: failed program was:" >&5
17678 sed 's/^/| /' conftest.$ac_ext >&5
17680 ac_cv_member_struct_statfs_f_bfree=no
17683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17688 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17689 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17690 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17692 cat >>confdefs.h <<_ACEOF
17693 #define HAVE_STRUCT_STATFS_F_BFREE 1
17694 _ACEOF
17698 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17699 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17700 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17702 else
17703 cat >conftest.$ac_ext <<_ACEOF
17704 /* confdefs.h. */
17705 _ACEOF
17706 cat confdefs.h >>conftest.$ac_ext
17707 cat >>conftest.$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17709 #include <sys/types.h>
17710 #ifdef HAVE_SYS_PARAM_H
17711 # include <sys/param.h>
17712 #endif
17713 #ifdef HAVE_SYS_MOUNT_H
17714 # include <sys/mount.h>
17715 #endif
17716 #ifdef HAVE_SYS_VFS_H
17717 # include <sys/vfs.h>
17718 #endif
17719 #ifdef HAVE_SYS_STATFS_H
17720 # include <sys/statfs.h>
17721 #endif
17724 main ()
17726 static struct statfs ac_aggr;
17727 if (ac_aggr.f_bavail)
17728 return 0;
17730 return 0;
17732 _ACEOF
17733 rm -f conftest.$ac_objext
17734 if { (ac_try="$ac_compile"
17735 case "(($ac_try" in
17736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17737 *) ac_try_echo=$ac_try;;
17738 esac
17739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17740 (eval "$ac_compile") 2>conftest.er1
17741 ac_status=$?
17742 grep -v '^ *+' conftest.er1 >conftest.err
17743 rm -f conftest.er1
17744 cat conftest.err >&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } && {
17747 test -z "$ac_c_werror_flag" ||
17748 test ! -s conftest.err
17749 } && test -s conftest.$ac_objext; then
17750 ac_cv_member_struct_statfs_f_bavail=yes
17751 else
17752 echo "$as_me: failed program was:" >&5
17753 sed 's/^/| /' conftest.$ac_ext >&5
17755 cat >conftest.$ac_ext <<_ACEOF
17756 /* confdefs.h. */
17757 _ACEOF
17758 cat confdefs.h >>conftest.$ac_ext
17759 cat >>conftest.$ac_ext <<_ACEOF
17760 /* end confdefs.h. */
17761 #include <sys/types.h>
17762 #ifdef HAVE_SYS_PARAM_H
17763 # include <sys/param.h>
17764 #endif
17765 #ifdef HAVE_SYS_MOUNT_H
17766 # include <sys/mount.h>
17767 #endif
17768 #ifdef HAVE_SYS_VFS_H
17769 # include <sys/vfs.h>
17770 #endif
17771 #ifdef HAVE_SYS_STATFS_H
17772 # include <sys/statfs.h>
17773 #endif
17776 main ()
17778 static struct statfs ac_aggr;
17779 if (sizeof ac_aggr.f_bavail)
17780 return 0;
17782 return 0;
17784 _ACEOF
17785 rm -f conftest.$ac_objext
17786 if { (ac_try="$ac_compile"
17787 case "(($ac_try" in
17788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17789 *) ac_try_echo=$ac_try;;
17790 esac
17791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17792 (eval "$ac_compile") 2>conftest.er1
17793 ac_status=$?
17794 grep -v '^ *+' conftest.er1 >conftest.err
17795 rm -f conftest.er1
17796 cat conftest.err >&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); } && {
17799 test -z "$ac_c_werror_flag" ||
17800 test ! -s conftest.err
17801 } && test -s conftest.$ac_objext; then
17802 ac_cv_member_struct_statfs_f_bavail=yes
17803 else
17804 echo "$as_me: failed program was:" >&5
17805 sed 's/^/| /' conftest.$ac_ext >&5
17807 ac_cv_member_struct_statfs_f_bavail=no
17810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17816 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17817 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17819 cat >>confdefs.h <<_ACEOF
17820 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17821 _ACEOF
17825 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17826 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17827 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17828 echo $ECHO_N "(cached) $ECHO_C" >&6
17829 else
17830 cat >conftest.$ac_ext <<_ACEOF
17831 /* confdefs.h. */
17832 _ACEOF
17833 cat confdefs.h >>conftest.$ac_ext
17834 cat >>conftest.$ac_ext <<_ACEOF
17835 /* end confdefs.h. */
17836 #include <sys/types.h>
17837 #ifdef HAVE_SYS_PARAM_H
17838 # include <sys/param.h>
17839 #endif
17840 #ifdef HAVE_SYS_MOUNT_H
17841 # include <sys/mount.h>
17842 #endif
17843 #ifdef HAVE_SYS_VFS_H
17844 # include <sys/vfs.h>
17845 #endif
17846 #ifdef HAVE_SYS_STATFS_H
17847 # include <sys/statfs.h>
17848 #endif
17851 main ()
17853 static struct statfs ac_aggr;
17854 if (ac_aggr.f_frsize)
17855 return 0;
17857 return 0;
17859 _ACEOF
17860 rm -f conftest.$ac_objext
17861 if { (ac_try="$ac_compile"
17862 case "(($ac_try" in
17863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17864 *) ac_try_echo=$ac_try;;
17865 esac
17866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17867 (eval "$ac_compile") 2>conftest.er1
17868 ac_status=$?
17869 grep -v '^ *+' conftest.er1 >conftest.err
17870 rm -f conftest.er1
17871 cat conftest.err >&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } && {
17874 test -z "$ac_c_werror_flag" ||
17875 test ! -s conftest.err
17876 } && test -s conftest.$ac_objext; then
17877 ac_cv_member_struct_statfs_f_frsize=yes
17878 else
17879 echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.$ac_ext >&5
17882 cat >conftest.$ac_ext <<_ACEOF
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 #include <sys/types.h>
17889 #ifdef HAVE_SYS_PARAM_H
17890 # include <sys/param.h>
17891 #endif
17892 #ifdef HAVE_SYS_MOUNT_H
17893 # include <sys/mount.h>
17894 #endif
17895 #ifdef HAVE_SYS_VFS_H
17896 # include <sys/vfs.h>
17897 #endif
17898 #ifdef HAVE_SYS_STATFS_H
17899 # include <sys/statfs.h>
17900 #endif
17903 main ()
17905 static struct statfs ac_aggr;
17906 if (sizeof ac_aggr.f_frsize)
17907 return 0;
17909 return 0;
17911 _ACEOF
17912 rm -f conftest.$ac_objext
17913 if { (ac_try="$ac_compile"
17914 case "(($ac_try" in
17915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17916 *) ac_try_echo=$ac_try;;
17917 esac
17918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17919 (eval "$ac_compile") 2>conftest.er1
17920 ac_status=$?
17921 grep -v '^ *+' conftest.er1 >conftest.err
17922 rm -f conftest.er1
17923 cat conftest.err >&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); } && {
17926 test -z "$ac_c_werror_flag" ||
17927 test ! -s conftest.err
17928 } && test -s conftest.$ac_objext; then
17929 ac_cv_member_struct_statfs_f_frsize=yes
17930 else
17931 echo "$as_me: failed program was:" >&5
17932 sed 's/^/| /' conftest.$ac_ext >&5
17934 ac_cv_member_struct_statfs_f_frsize=no
17937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17942 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17943 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17944 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17946 cat >>confdefs.h <<_ACEOF
17947 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17948 _ACEOF
17952 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17953 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17954 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17955 echo $ECHO_N "(cached) $ECHO_C" >&6
17956 else
17957 cat >conftest.$ac_ext <<_ACEOF
17958 /* confdefs.h. */
17959 _ACEOF
17960 cat confdefs.h >>conftest.$ac_ext
17961 cat >>conftest.$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17963 #include <sys/types.h>
17964 #ifdef HAVE_SYS_PARAM_H
17965 # include <sys/param.h>
17966 #endif
17967 #ifdef HAVE_SYS_MOUNT_H
17968 # include <sys/mount.h>
17969 #endif
17970 #ifdef HAVE_SYS_VFS_H
17971 # include <sys/vfs.h>
17972 #endif
17973 #ifdef HAVE_SYS_STATFS_H
17974 # include <sys/statfs.h>
17975 #endif
17978 main ()
17980 static struct statfs ac_aggr;
17981 if (ac_aggr.f_ffree)
17982 return 0;
17984 return 0;
17986 _ACEOF
17987 rm -f conftest.$ac_objext
17988 if { (ac_try="$ac_compile"
17989 case "(($ac_try" in
17990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17991 *) ac_try_echo=$ac_try;;
17992 esac
17993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17994 (eval "$ac_compile") 2>conftest.er1
17995 ac_status=$?
17996 grep -v '^ *+' conftest.er1 >conftest.err
17997 rm -f conftest.er1
17998 cat conftest.err >&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } && {
18001 test -z "$ac_c_werror_flag" ||
18002 test ! -s conftest.err
18003 } && test -s conftest.$ac_objext; then
18004 ac_cv_member_struct_statfs_f_ffree=yes
18005 else
18006 echo "$as_me: failed program was:" >&5
18007 sed 's/^/| /' conftest.$ac_ext >&5
18009 cat >conftest.$ac_ext <<_ACEOF
18010 /* confdefs.h. */
18011 _ACEOF
18012 cat confdefs.h >>conftest.$ac_ext
18013 cat >>conftest.$ac_ext <<_ACEOF
18014 /* end confdefs.h. */
18015 #include <sys/types.h>
18016 #ifdef HAVE_SYS_PARAM_H
18017 # include <sys/param.h>
18018 #endif
18019 #ifdef HAVE_SYS_MOUNT_H
18020 # include <sys/mount.h>
18021 #endif
18022 #ifdef HAVE_SYS_VFS_H
18023 # include <sys/vfs.h>
18024 #endif
18025 #ifdef HAVE_SYS_STATFS_H
18026 # include <sys/statfs.h>
18027 #endif
18030 main ()
18032 static struct statfs ac_aggr;
18033 if (sizeof ac_aggr.f_ffree)
18034 return 0;
18036 return 0;
18038 _ACEOF
18039 rm -f conftest.$ac_objext
18040 if { (ac_try="$ac_compile"
18041 case "(($ac_try" in
18042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18043 *) ac_try_echo=$ac_try;;
18044 esac
18045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18046 (eval "$ac_compile") 2>conftest.er1
18047 ac_status=$?
18048 grep -v '^ *+' conftest.er1 >conftest.err
18049 rm -f conftest.er1
18050 cat conftest.err >&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } && {
18053 test -z "$ac_c_werror_flag" ||
18054 test ! -s conftest.err
18055 } && test -s conftest.$ac_objext; then
18056 ac_cv_member_struct_statfs_f_ffree=yes
18057 else
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.$ac_ext >&5
18061 ac_cv_member_struct_statfs_f_ffree=no
18064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18069 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18070 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18071 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18073 cat >>confdefs.h <<_ACEOF
18074 #define HAVE_STRUCT_STATFS_F_FFREE 1
18075 _ACEOF
18079 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18080 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18081 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18082 echo $ECHO_N "(cached) $ECHO_C" >&6
18083 else
18084 cat >conftest.$ac_ext <<_ACEOF
18085 /* confdefs.h. */
18086 _ACEOF
18087 cat confdefs.h >>conftest.$ac_ext
18088 cat >>conftest.$ac_ext <<_ACEOF
18089 /* end confdefs.h. */
18090 #include <sys/types.h>
18091 #ifdef HAVE_SYS_PARAM_H
18092 # include <sys/param.h>
18093 #endif
18094 #ifdef HAVE_SYS_MOUNT_H
18095 # include <sys/mount.h>
18096 #endif
18097 #ifdef HAVE_SYS_VFS_H
18098 # include <sys/vfs.h>
18099 #endif
18100 #ifdef HAVE_SYS_STATFS_H
18101 # include <sys/statfs.h>
18102 #endif
18105 main ()
18107 static struct statfs ac_aggr;
18108 if (ac_aggr.f_favail)
18109 return 0;
18111 return 0;
18113 _ACEOF
18114 rm -f conftest.$ac_objext
18115 if { (ac_try="$ac_compile"
18116 case "(($ac_try" in
18117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18118 *) ac_try_echo=$ac_try;;
18119 esac
18120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18121 (eval "$ac_compile") 2>conftest.er1
18122 ac_status=$?
18123 grep -v '^ *+' conftest.er1 >conftest.err
18124 rm -f conftest.er1
18125 cat conftest.err >&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); } && {
18128 test -z "$ac_c_werror_flag" ||
18129 test ! -s conftest.err
18130 } && test -s conftest.$ac_objext; then
18131 ac_cv_member_struct_statfs_f_favail=yes
18132 else
18133 echo "$as_me: failed program was:" >&5
18134 sed 's/^/| /' conftest.$ac_ext >&5
18136 cat >conftest.$ac_ext <<_ACEOF
18137 /* confdefs.h. */
18138 _ACEOF
18139 cat confdefs.h >>conftest.$ac_ext
18140 cat >>conftest.$ac_ext <<_ACEOF
18141 /* end confdefs.h. */
18142 #include <sys/types.h>
18143 #ifdef HAVE_SYS_PARAM_H
18144 # include <sys/param.h>
18145 #endif
18146 #ifdef HAVE_SYS_MOUNT_H
18147 # include <sys/mount.h>
18148 #endif
18149 #ifdef HAVE_SYS_VFS_H
18150 # include <sys/vfs.h>
18151 #endif
18152 #ifdef HAVE_SYS_STATFS_H
18153 # include <sys/statfs.h>
18154 #endif
18157 main ()
18159 static struct statfs ac_aggr;
18160 if (sizeof ac_aggr.f_favail)
18161 return 0;
18163 return 0;
18165 _ACEOF
18166 rm -f conftest.$ac_objext
18167 if { (ac_try="$ac_compile"
18168 case "(($ac_try" in
18169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18170 *) ac_try_echo=$ac_try;;
18171 esac
18172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18173 (eval "$ac_compile") 2>conftest.er1
18174 ac_status=$?
18175 grep -v '^ *+' conftest.er1 >conftest.err
18176 rm -f conftest.er1
18177 cat conftest.err >&5
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); } && {
18180 test -z "$ac_c_werror_flag" ||
18181 test ! -s conftest.err
18182 } && test -s conftest.$ac_objext; then
18183 ac_cv_member_struct_statfs_f_favail=yes
18184 else
18185 echo "$as_me: failed program was:" >&5
18186 sed 's/^/| /' conftest.$ac_ext >&5
18188 ac_cv_member_struct_statfs_f_favail=no
18191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18196 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18197 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18198 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18200 cat >>confdefs.h <<_ACEOF
18201 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18202 _ACEOF
18206 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18207 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18208 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18209 echo $ECHO_N "(cached) $ECHO_C" >&6
18210 else
18211 cat >conftest.$ac_ext <<_ACEOF
18212 /* confdefs.h. */
18213 _ACEOF
18214 cat confdefs.h >>conftest.$ac_ext
18215 cat >>conftest.$ac_ext <<_ACEOF
18216 /* end confdefs.h. */
18217 #include <sys/types.h>
18218 #ifdef HAVE_SYS_PARAM_H
18219 # include <sys/param.h>
18220 #endif
18221 #ifdef HAVE_SYS_MOUNT_H
18222 # include <sys/mount.h>
18223 #endif
18224 #ifdef HAVE_SYS_VFS_H
18225 # include <sys/vfs.h>
18226 #endif
18227 #ifdef HAVE_SYS_STATFS_H
18228 # include <sys/statfs.h>
18229 #endif
18232 main ()
18234 static struct statfs ac_aggr;
18235 if (ac_aggr.f_namelen)
18236 return 0;
18238 return 0;
18240 _ACEOF
18241 rm -f conftest.$ac_objext
18242 if { (ac_try="$ac_compile"
18243 case "(($ac_try" in
18244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18245 *) ac_try_echo=$ac_try;;
18246 esac
18247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18248 (eval "$ac_compile") 2>conftest.er1
18249 ac_status=$?
18250 grep -v '^ *+' conftest.er1 >conftest.err
18251 rm -f conftest.er1
18252 cat conftest.err >&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } && {
18255 test -z "$ac_c_werror_flag" ||
18256 test ! -s conftest.err
18257 } && test -s conftest.$ac_objext; then
18258 ac_cv_member_struct_statfs_f_namelen=yes
18259 else
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.$ac_ext >&5
18263 cat >conftest.$ac_ext <<_ACEOF
18264 /* confdefs.h. */
18265 _ACEOF
18266 cat confdefs.h >>conftest.$ac_ext
18267 cat >>conftest.$ac_ext <<_ACEOF
18268 /* end confdefs.h. */
18269 #include <sys/types.h>
18270 #ifdef HAVE_SYS_PARAM_H
18271 # include <sys/param.h>
18272 #endif
18273 #ifdef HAVE_SYS_MOUNT_H
18274 # include <sys/mount.h>
18275 #endif
18276 #ifdef HAVE_SYS_VFS_H
18277 # include <sys/vfs.h>
18278 #endif
18279 #ifdef HAVE_SYS_STATFS_H
18280 # include <sys/statfs.h>
18281 #endif
18284 main ()
18286 static struct statfs ac_aggr;
18287 if (sizeof ac_aggr.f_namelen)
18288 return 0;
18290 return 0;
18292 _ACEOF
18293 rm -f conftest.$ac_objext
18294 if { (ac_try="$ac_compile"
18295 case "(($ac_try" in
18296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18297 *) ac_try_echo=$ac_try;;
18298 esac
18299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18300 (eval "$ac_compile") 2>conftest.er1
18301 ac_status=$?
18302 grep -v '^ *+' conftest.er1 >conftest.err
18303 rm -f conftest.er1
18304 cat conftest.err >&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); } && {
18307 test -z "$ac_c_werror_flag" ||
18308 test ! -s conftest.err
18309 } && test -s conftest.$ac_objext; then
18310 ac_cv_member_struct_statfs_f_namelen=yes
18311 else
18312 echo "$as_me: failed program was:" >&5
18313 sed 's/^/| /' conftest.$ac_ext >&5
18315 ac_cv_member_struct_statfs_f_namelen=no
18318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18323 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18324 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18325 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18327 cat >>confdefs.h <<_ACEOF
18328 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18329 _ACEOF
18335 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18336 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18337 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18338 echo $ECHO_N "(cached) $ECHO_C" >&6
18339 else
18340 cat >conftest.$ac_ext <<_ACEOF
18341 /* confdefs.h. */
18342 _ACEOF
18343 cat confdefs.h >>conftest.$ac_ext
18344 cat >>conftest.$ac_ext <<_ACEOF
18345 /* end confdefs.h. */
18346 #ifdef HAVE_SYS_STATVFS_H
18347 #include <sys/statvfs.h>
18348 #endif
18351 main ()
18353 static struct statvfs ac_aggr;
18354 if (ac_aggr.f_blocks)
18355 return 0;
18357 return 0;
18359 _ACEOF
18360 rm -f conftest.$ac_objext
18361 if { (ac_try="$ac_compile"
18362 case "(($ac_try" in
18363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18364 *) ac_try_echo=$ac_try;;
18365 esac
18366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18367 (eval "$ac_compile") 2>conftest.er1
18368 ac_status=$?
18369 grep -v '^ *+' conftest.er1 >conftest.err
18370 rm -f conftest.er1
18371 cat conftest.err >&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); } && {
18374 test -z "$ac_c_werror_flag" ||
18375 test ! -s conftest.err
18376 } && test -s conftest.$ac_objext; then
18377 ac_cv_member_struct_statvfs_f_blocks=yes
18378 else
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.$ac_ext >&5
18382 cat >conftest.$ac_ext <<_ACEOF
18383 /* confdefs.h. */
18384 _ACEOF
18385 cat confdefs.h >>conftest.$ac_ext
18386 cat >>conftest.$ac_ext <<_ACEOF
18387 /* end confdefs.h. */
18388 #ifdef HAVE_SYS_STATVFS_H
18389 #include <sys/statvfs.h>
18390 #endif
18393 main ()
18395 static struct statvfs ac_aggr;
18396 if (sizeof ac_aggr.f_blocks)
18397 return 0;
18399 return 0;
18401 _ACEOF
18402 rm -f conftest.$ac_objext
18403 if { (ac_try="$ac_compile"
18404 case "(($ac_try" in
18405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18406 *) ac_try_echo=$ac_try;;
18407 esac
18408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18409 (eval "$ac_compile") 2>conftest.er1
18410 ac_status=$?
18411 grep -v '^ *+' conftest.er1 >conftest.err
18412 rm -f conftest.er1
18413 cat conftest.err >&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); } && {
18416 test -z "$ac_c_werror_flag" ||
18417 test ! -s conftest.err
18418 } && test -s conftest.$ac_objext; then
18419 ac_cv_member_struct_statvfs_f_blocks=yes
18420 else
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18424 ac_cv_member_struct_statvfs_f_blocks=no
18427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18432 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18433 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18434 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18436 cat >>confdefs.h <<_ACEOF
18437 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18438 _ACEOF
18444 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18445 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18446 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18448 else
18449 cat >conftest.$ac_ext <<_ACEOF
18450 /* confdefs.h. */
18451 _ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 #include <sys/types.h>
18456 #ifdef HAVE_SYS_SOCKET_H
18457 # include <sys/socket.h>
18458 #endif
18459 #ifdef HAVE_SYS_UN_H
18460 # include <sys/un.h>
18461 #endif
18464 main ()
18466 static struct msghdr ac_aggr;
18467 if (ac_aggr.msg_accrights)
18468 return 0;
18470 return 0;
18472 _ACEOF
18473 rm -f conftest.$ac_objext
18474 if { (ac_try="$ac_compile"
18475 case "(($ac_try" in
18476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18477 *) ac_try_echo=$ac_try;;
18478 esac
18479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18480 (eval "$ac_compile") 2>conftest.er1
18481 ac_status=$?
18482 grep -v '^ *+' conftest.er1 >conftest.err
18483 rm -f conftest.er1
18484 cat conftest.err >&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); } && {
18487 test -z "$ac_c_werror_flag" ||
18488 test ! -s conftest.err
18489 } && test -s conftest.$ac_objext; then
18490 ac_cv_member_struct_msghdr_msg_accrights=yes
18491 else
18492 echo "$as_me: failed program was:" >&5
18493 sed 's/^/| /' conftest.$ac_ext >&5
18495 cat >conftest.$ac_ext <<_ACEOF
18496 /* confdefs.h. */
18497 _ACEOF
18498 cat confdefs.h >>conftest.$ac_ext
18499 cat >>conftest.$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 #include <sys/types.h>
18502 #ifdef HAVE_SYS_SOCKET_H
18503 # include <sys/socket.h>
18504 #endif
18505 #ifdef HAVE_SYS_UN_H
18506 # include <sys/un.h>
18507 #endif
18510 main ()
18512 static struct msghdr ac_aggr;
18513 if (sizeof ac_aggr.msg_accrights)
18514 return 0;
18516 return 0;
18518 _ACEOF
18519 rm -f conftest.$ac_objext
18520 if { (ac_try="$ac_compile"
18521 case "(($ac_try" in
18522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18523 *) ac_try_echo=$ac_try;;
18524 esac
18525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18526 (eval "$ac_compile") 2>conftest.er1
18527 ac_status=$?
18528 grep -v '^ *+' conftest.er1 >conftest.err
18529 rm -f conftest.er1
18530 cat conftest.err >&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } && {
18533 test -z "$ac_c_werror_flag" ||
18534 test ! -s conftest.err
18535 } && test -s conftest.$ac_objext; then
18536 ac_cv_member_struct_msghdr_msg_accrights=yes
18537 else
18538 echo "$as_me: failed program was:" >&5
18539 sed 's/^/| /' conftest.$ac_ext >&5
18541 ac_cv_member_struct_msghdr_msg_accrights=no
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18549 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18550 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18551 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18553 cat >>confdefs.h <<_ACEOF
18554 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18555 _ACEOF
18559 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18560 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18561 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18563 else
18564 cat >conftest.$ac_ext <<_ACEOF
18565 /* confdefs.h. */
18566 _ACEOF
18567 cat confdefs.h >>conftest.$ac_ext
18568 cat >>conftest.$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 #include <sys/types.h>
18571 #ifdef HAVE_SYS_SOCKET_H
18572 # include <sys/socket.h>
18573 #endif
18574 #ifdef HAVE_SYS_UN_H
18575 # include <sys/un.h>
18576 #endif
18579 main ()
18581 static struct sockaddr ac_aggr;
18582 if (ac_aggr.sa_len)
18583 return 0;
18585 return 0;
18587 _ACEOF
18588 rm -f conftest.$ac_objext
18589 if { (ac_try="$ac_compile"
18590 case "(($ac_try" in
18591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18592 *) ac_try_echo=$ac_try;;
18593 esac
18594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18595 (eval "$ac_compile") 2>conftest.er1
18596 ac_status=$?
18597 grep -v '^ *+' conftest.er1 >conftest.err
18598 rm -f conftest.er1
18599 cat conftest.err >&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } && {
18602 test -z "$ac_c_werror_flag" ||
18603 test ! -s conftest.err
18604 } && test -s conftest.$ac_objext; then
18605 ac_cv_member_struct_sockaddr_sa_len=yes
18606 else
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18610 cat >conftest.$ac_ext <<_ACEOF
18611 /* confdefs.h. */
18612 _ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 #include <sys/types.h>
18617 #ifdef HAVE_SYS_SOCKET_H
18618 # include <sys/socket.h>
18619 #endif
18620 #ifdef HAVE_SYS_UN_H
18621 # include <sys/un.h>
18622 #endif
18625 main ()
18627 static struct sockaddr ac_aggr;
18628 if (sizeof ac_aggr.sa_len)
18629 return 0;
18631 return 0;
18633 _ACEOF
18634 rm -f conftest.$ac_objext
18635 if { (ac_try="$ac_compile"
18636 case "(($ac_try" in
18637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18638 *) ac_try_echo=$ac_try;;
18639 esac
18640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18641 (eval "$ac_compile") 2>conftest.er1
18642 ac_status=$?
18643 grep -v '^ *+' conftest.er1 >conftest.err
18644 rm -f conftest.er1
18645 cat conftest.err >&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); } && {
18648 test -z "$ac_c_werror_flag" ||
18649 test ! -s conftest.err
18650 } && test -s conftest.$ac_objext; then
18651 ac_cv_member_struct_sockaddr_sa_len=yes
18652 else
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.$ac_ext >&5
18656 ac_cv_member_struct_sockaddr_sa_len=no
18659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18664 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18665 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18666 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18668 cat >>confdefs.h <<_ACEOF
18669 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18670 _ACEOF
18674 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18675 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18676 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18677 echo $ECHO_N "(cached) $ECHO_C" >&6
18678 else
18679 cat >conftest.$ac_ext <<_ACEOF
18680 /* confdefs.h. */
18681 _ACEOF
18682 cat confdefs.h >>conftest.$ac_ext
18683 cat >>conftest.$ac_ext <<_ACEOF
18684 /* end confdefs.h. */
18685 #include <sys/types.h>
18686 #ifdef HAVE_SYS_SOCKET_H
18687 # include <sys/socket.h>
18688 #endif
18689 #ifdef HAVE_SYS_UN_H
18690 # include <sys/un.h>
18691 #endif
18694 main ()
18696 static struct sockaddr_un ac_aggr;
18697 if (ac_aggr.sun_len)
18698 return 0;
18700 return 0;
18702 _ACEOF
18703 rm -f conftest.$ac_objext
18704 if { (ac_try="$ac_compile"
18705 case "(($ac_try" in
18706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18707 *) ac_try_echo=$ac_try;;
18708 esac
18709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18710 (eval "$ac_compile") 2>conftest.er1
18711 ac_status=$?
18712 grep -v '^ *+' conftest.er1 >conftest.err
18713 rm -f conftest.er1
18714 cat conftest.err >&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); } && {
18717 test -z "$ac_c_werror_flag" ||
18718 test ! -s conftest.err
18719 } && test -s conftest.$ac_objext; then
18720 ac_cv_member_struct_sockaddr_un_sun_len=yes
18721 else
18722 echo "$as_me: failed program was:" >&5
18723 sed 's/^/| /' conftest.$ac_ext >&5
18725 cat >conftest.$ac_ext <<_ACEOF
18726 /* confdefs.h. */
18727 _ACEOF
18728 cat confdefs.h >>conftest.$ac_ext
18729 cat >>conftest.$ac_ext <<_ACEOF
18730 /* end confdefs.h. */
18731 #include <sys/types.h>
18732 #ifdef HAVE_SYS_SOCKET_H
18733 # include <sys/socket.h>
18734 #endif
18735 #ifdef HAVE_SYS_UN_H
18736 # include <sys/un.h>
18737 #endif
18740 main ()
18742 static struct sockaddr_un ac_aggr;
18743 if (sizeof ac_aggr.sun_len)
18744 return 0;
18746 return 0;
18748 _ACEOF
18749 rm -f conftest.$ac_objext
18750 if { (ac_try="$ac_compile"
18751 case "(($ac_try" in
18752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18753 *) ac_try_echo=$ac_try;;
18754 esac
18755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18756 (eval "$ac_compile") 2>conftest.er1
18757 ac_status=$?
18758 grep -v '^ *+' conftest.er1 >conftest.err
18759 rm -f conftest.er1
18760 cat conftest.err >&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } && {
18763 test -z "$ac_c_werror_flag" ||
18764 test ! -s conftest.err
18765 } && test -s conftest.$ac_objext; then
18766 ac_cv_member_struct_sockaddr_un_sun_len=yes
18767 else
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.$ac_ext >&5
18771 ac_cv_member_struct_sockaddr_un_sun_len=no
18774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18779 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18780 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18781 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18783 cat >>confdefs.h <<_ACEOF
18784 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18785 _ACEOF
18791 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18792 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18793 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 else
18796 cat >conftest.$ac_ext <<_ACEOF
18797 /* confdefs.h. */
18798 _ACEOF
18799 cat confdefs.h >>conftest.$ac_ext
18800 cat >>conftest.$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18802 #include <sys/types.h>
18803 #ifdef HAVE_SCSI_SG_H
18804 #include <scsi/sg.h>
18805 #endif
18808 main ()
18810 static scsireq_t ac_aggr;
18811 if (ac_aggr.cmd)
18812 return 0;
18814 return 0;
18816 _ACEOF
18817 rm -f conftest.$ac_objext
18818 if { (ac_try="$ac_compile"
18819 case "(($ac_try" in
18820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18821 *) ac_try_echo=$ac_try;;
18822 esac
18823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18824 (eval "$ac_compile") 2>conftest.er1
18825 ac_status=$?
18826 grep -v '^ *+' conftest.er1 >conftest.err
18827 rm -f conftest.er1
18828 cat conftest.err >&5
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); } && {
18831 test -z "$ac_c_werror_flag" ||
18832 test ! -s conftest.err
18833 } && test -s conftest.$ac_objext; then
18834 ac_cv_member_scsireq_t_cmd=yes
18835 else
18836 echo "$as_me: failed program was:" >&5
18837 sed 's/^/| /' conftest.$ac_ext >&5
18839 cat >conftest.$ac_ext <<_ACEOF
18840 /* confdefs.h. */
18841 _ACEOF
18842 cat confdefs.h >>conftest.$ac_ext
18843 cat >>conftest.$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18845 #include <sys/types.h>
18846 #ifdef HAVE_SCSI_SG_H
18847 #include <scsi/sg.h>
18848 #endif
18851 main ()
18853 static scsireq_t ac_aggr;
18854 if (sizeof ac_aggr.cmd)
18855 return 0;
18857 return 0;
18859 _ACEOF
18860 rm -f conftest.$ac_objext
18861 if { (ac_try="$ac_compile"
18862 case "(($ac_try" in
18863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18864 *) ac_try_echo=$ac_try;;
18865 esac
18866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18867 (eval "$ac_compile") 2>conftest.er1
18868 ac_status=$?
18869 grep -v '^ *+' conftest.er1 >conftest.err
18870 rm -f conftest.er1
18871 cat conftest.err >&5
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); } && {
18874 test -z "$ac_c_werror_flag" ||
18875 test ! -s conftest.err
18876 } && test -s conftest.$ac_objext; then
18877 ac_cv_member_scsireq_t_cmd=yes
18878 else
18879 echo "$as_me: failed program was:" >&5
18880 sed 's/^/| /' conftest.$ac_ext >&5
18882 ac_cv_member_scsireq_t_cmd=no
18885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18890 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18891 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18892 if test $ac_cv_member_scsireq_t_cmd = yes; then
18894 cat >>confdefs.h <<_ACEOF
18895 #define HAVE_SCSIREQ_T_CMD 1
18896 _ACEOF
18900 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18901 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18902 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18903 echo $ECHO_N "(cached) $ECHO_C" >&6
18904 else
18905 cat >conftest.$ac_ext <<_ACEOF
18906 /* confdefs.h. */
18907 _ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 #include <sys/types.h>
18912 #ifdef HAVE_SCSI_SG_H
18913 #include <scsi/sg.h>
18914 #endif
18917 main ()
18919 static sg_io_hdr_t ac_aggr;
18920 if (ac_aggr.interface_id)
18921 return 0;
18923 return 0;
18925 _ACEOF
18926 rm -f conftest.$ac_objext
18927 if { (ac_try="$ac_compile"
18928 case "(($ac_try" in
18929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18930 *) ac_try_echo=$ac_try;;
18931 esac
18932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18933 (eval "$ac_compile") 2>conftest.er1
18934 ac_status=$?
18935 grep -v '^ *+' conftest.er1 >conftest.err
18936 rm -f conftest.er1
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } && {
18940 test -z "$ac_c_werror_flag" ||
18941 test ! -s conftest.err
18942 } && test -s conftest.$ac_objext; then
18943 ac_cv_member_sg_io_hdr_t_interface_id=yes
18944 else
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.$ac_ext >&5
18948 cat >conftest.$ac_ext <<_ACEOF
18949 /* confdefs.h. */
18950 _ACEOF
18951 cat confdefs.h >>conftest.$ac_ext
18952 cat >>conftest.$ac_ext <<_ACEOF
18953 /* end confdefs.h. */
18954 #include <sys/types.h>
18955 #ifdef HAVE_SCSI_SG_H
18956 #include <scsi/sg.h>
18957 #endif
18960 main ()
18962 static sg_io_hdr_t ac_aggr;
18963 if (sizeof ac_aggr.interface_id)
18964 return 0;
18966 return 0;
18968 _ACEOF
18969 rm -f conftest.$ac_objext
18970 if { (ac_try="$ac_compile"
18971 case "(($ac_try" in
18972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18973 *) ac_try_echo=$ac_try;;
18974 esac
18975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18976 (eval "$ac_compile") 2>conftest.er1
18977 ac_status=$?
18978 grep -v '^ *+' conftest.er1 >conftest.err
18979 rm -f conftest.er1
18980 cat conftest.err >&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); } && {
18983 test -z "$ac_c_werror_flag" ||
18984 test ! -s conftest.err
18985 } && test -s conftest.$ac_objext; then
18986 ac_cv_member_sg_io_hdr_t_interface_id=yes
18987 else
18988 echo "$as_me: failed program was:" >&5
18989 sed 's/^/| /' conftest.$ac_ext >&5
18991 ac_cv_member_sg_io_hdr_t_interface_id=no
18994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18999 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19000 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19001 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19003 cat >>confdefs.h <<_ACEOF
19004 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19005 _ACEOF
19011 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19012 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19013 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19014 echo $ECHO_N "(cached) $ECHO_C" >&6
19015 else
19016 cat >conftest.$ac_ext <<_ACEOF
19017 /* confdefs.h. */
19018 _ACEOF
19019 cat confdefs.h >>conftest.$ac_ext
19020 cat >>conftest.$ac_ext <<_ACEOF
19021 /* end confdefs.h. */
19022 #include <signal.h>
19025 main ()
19027 static siginfo_t ac_aggr;
19028 if (ac_aggr.si_fd)
19029 return 0;
19031 return 0;
19033 _ACEOF
19034 rm -f conftest.$ac_objext
19035 if { (ac_try="$ac_compile"
19036 case "(($ac_try" in
19037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19038 *) ac_try_echo=$ac_try;;
19039 esac
19040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19041 (eval "$ac_compile") 2>conftest.er1
19042 ac_status=$?
19043 grep -v '^ *+' conftest.er1 >conftest.err
19044 rm -f conftest.er1
19045 cat conftest.err >&5
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); } && {
19048 test -z "$ac_c_werror_flag" ||
19049 test ! -s conftest.err
19050 } && test -s conftest.$ac_objext; then
19051 ac_cv_member_siginfo_t_si_fd=yes
19052 else
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.$ac_ext >&5
19056 cat >conftest.$ac_ext <<_ACEOF
19057 /* confdefs.h. */
19058 _ACEOF
19059 cat confdefs.h >>conftest.$ac_ext
19060 cat >>conftest.$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19062 #include <signal.h>
19065 main ()
19067 static siginfo_t ac_aggr;
19068 if (sizeof ac_aggr.si_fd)
19069 return 0;
19071 return 0;
19073 _ACEOF
19074 rm -f conftest.$ac_objext
19075 if { (ac_try="$ac_compile"
19076 case "(($ac_try" in
19077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19078 *) ac_try_echo=$ac_try;;
19079 esac
19080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19081 (eval "$ac_compile") 2>conftest.er1
19082 ac_status=$?
19083 grep -v '^ *+' conftest.er1 >conftest.err
19084 rm -f conftest.er1
19085 cat conftest.err >&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); } && {
19088 test -z "$ac_c_werror_flag" ||
19089 test ! -s conftest.err
19090 } && test -s conftest.$ac_objext; then
19091 ac_cv_member_siginfo_t_si_fd=yes
19092 else
19093 echo "$as_me: failed program was:" >&5
19094 sed 's/^/| /' conftest.$ac_ext >&5
19096 ac_cv_member_siginfo_t_si_fd=no
19099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19104 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19105 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19106 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19108 cat >>confdefs.h <<_ACEOF
19109 #define HAVE_SIGINFO_T_SI_FD 1
19110 _ACEOF
19116 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19117 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19118 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19119 echo $ECHO_N "(cached) $ECHO_C" >&6
19120 else
19121 cat >conftest.$ac_ext <<_ACEOF
19122 /* confdefs.h. */
19123 _ACEOF
19124 cat confdefs.h >>conftest.$ac_ext
19125 cat >>conftest.$ac_ext <<_ACEOF
19126 /* end confdefs.h. */
19127 #include <sys/types.h>
19128 #ifdef HAVE_SYS_MTIO_H
19129 #include <sys/mtio.h>
19130 #endif
19133 main ()
19135 static struct mtget ac_aggr;
19136 if (ac_aggr.mt_blksiz)
19137 return 0;
19139 return 0;
19141 _ACEOF
19142 rm -f conftest.$ac_objext
19143 if { (ac_try="$ac_compile"
19144 case "(($ac_try" in
19145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19146 *) ac_try_echo=$ac_try;;
19147 esac
19148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19149 (eval "$ac_compile") 2>conftest.er1
19150 ac_status=$?
19151 grep -v '^ *+' conftest.er1 >conftest.err
19152 rm -f conftest.er1
19153 cat conftest.err >&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); } && {
19156 test -z "$ac_c_werror_flag" ||
19157 test ! -s conftest.err
19158 } && test -s conftest.$ac_objext; then
19159 ac_cv_member_struct_mtget_mt_blksiz=yes
19160 else
19161 echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.$ac_ext >&5
19164 cat >conftest.$ac_ext <<_ACEOF
19165 /* confdefs.h. */
19166 _ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170 #include <sys/types.h>
19171 #ifdef HAVE_SYS_MTIO_H
19172 #include <sys/mtio.h>
19173 #endif
19176 main ()
19178 static struct mtget ac_aggr;
19179 if (sizeof ac_aggr.mt_blksiz)
19180 return 0;
19182 return 0;
19184 _ACEOF
19185 rm -f conftest.$ac_objext
19186 if { (ac_try="$ac_compile"
19187 case "(($ac_try" in
19188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19189 *) ac_try_echo=$ac_try;;
19190 esac
19191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19192 (eval "$ac_compile") 2>conftest.er1
19193 ac_status=$?
19194 grep -v '^ *+' conftest.er1 >conftest.err
19195 rm -f conftest.er1
19196 cat conftest.err >&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } && {
19199 test -z "$ac_c_werror_flag" ||
19200 test ! -s conftest.err
19201 } && test -s conftest.$ac_objext; then
19202 ac_cv_member_struct_mtget_mt_blksiz=yes
19203 else
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.$ac_ext >&5
19207 ac_cv_member_struct_mtget_mt_blksiz=no
19210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19215 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19216 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19217 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19219 cat >>confdefs.h <<_ACEOF
19220 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19221 _ACEOF
19225 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19226 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19227 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19229 else
19230 cat >conftest.$ac_ext <<_ACEOF
19231 /* confdefs.h. */
19232 _ACEOF
19233 cat confdefs.h >>conftest.$ac_ext
19234 cat >>conftest.$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 #include <sys/types.h>
19237 #ifdef HAVE_SYS_MTIO_H
19238 #include <sys/mtio.h>
19239 #endif
19242 main ()
19244 static struct mtget ac_aggr;
19245 if (ac_aggr.mt_gstat)
19246 return 0;
19248 return 0;
19250 _ACEOF
19251 rm -f conftest.$ac_objext
19252 if { (ac_try="$ac_compile"
19253 case "(($ac_try" in
19254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19255 *) ac_try_echo=$ac_try;;
19256 esac
19257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19258 (eval "$ac_compile") 2>conftest.er1
19259 ac_status=$?
19260 grep -v '^ *+' conftest.er1 >conftest.err
19261 rm -f conftest.er1
19262 cat conftest.err >&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } && {
19265 test -z "$ac_c_werror_flag" ||
19266 test ! -s conftest.err
19267 } && test -s conftest.$ac_objext; then
19268 ac_cv_member_struct_mtget_mt_gstat=yes
19269 else
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19273 cat >conftest.$ac_ext <<_ACEOF
19274 /* confdefs.h. */
19275 _ACEOF
19276 cat confdefs.h >>conftest.$ac_ext
19277 cat >>conftest.$ac_ext <<_ACEOF
19278 /* end confdefs.h. */
19279 #include <sys/types.h>
19280 #ifdef HAVE_SYS_MTIO_H
19281 #include <sys/mtio.h>
19282 #endif
19285 main ()
19287 static struct mtget ac_aggr;
19288 if (sizeof ac_aggr.mt_gstat)
19289 return 0;
19291 return 0;
19293 _ACEOF
19294 rm -f conftest.$ac_objext
19295 if { (ac_try="$ac_compile"
19296 case "(($ac_try" in
19297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19298 *) ac_try_echo=$ac_try;;
19299 esac
19300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19301 (eval "$ac_compile") 2>conftest.er1
19302 ac_status=$?
19303 grep -v '^ *+' conftest.er1 >conftest.err
19304 rm -f conftest.er1
19305 cat conftest.err >&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } && {
19308 test -z "$ac_c_werror_flag" ||
19309 test ! -s conftest.err
19310 } && test -s conftest.$ac_objext; then
19311 ac_cv_member_struct_mtget_mt_gstat=yes
19312 else
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.$ac_ext >&5
19316 ac_cv_member_struct_mtget_mt_gstat=no
19319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19324 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19325 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19326 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19328 cat >>confdefs.h <<_ACEOF
19329 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19330 _ACEOF
19334 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19335 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19336 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19337 echo $ECHO_N "(cached) $ECHO_C" >&6
19338 else
19339 cat >conftest.$ac_ext <<_ACEOF
19340 /* confdefs.h. */
19341 _ACEOF
19342 cat confdefs.h >>conftest.$ac_ext
19343 cat >>conftest.$ac_ext <<_ACEOF
19344 /* end confdefs.h. */
19345 #include <sys/types.h>
19346 #ifdef HAVE_SYS_MTIO_H
19347 #include <sys/mtio.h>
19348 #endif
19351 main ()
19353 static struct mtget ac_aggr;
19354 if (ac_aggr.mt_blkno)
19355 return 0;
19357 return 0;
19359 _ACEOF
19360 rm -f conftest.$ac_objext
19361 if { (ac_try="$ac_compile"
19362 case "(($ac_try" in
19363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19364 *) ac_try_echo=$ac_try;;
19365 esac
19366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19367 (eval "$ac_compile") 2>conftest.er1
19368 ac_status=$?
19369 grep -v '^ *+' conftest.er1 >conftest.err
19370 rm -f conftest.er1
19371 cat conftest.err >&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } && {
19374 test -z "$ac_c_werror_flag" ||
19375 test ! -s conftest.err
19376 } && test -s conftest.$ac_objext; then
19377 ac_cv_member_struct_mtget_mt_blkno=yes
19378 else
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.$ac_ext >&5
19382 cat >conftest.$ac_ext <<_ACEOF
19383 /* confdefs.h. */
19384 _ACEOF
19385 cat confdefs.h >>conftest.$ac_ext
19386 cat >>conftest.$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 #include <sys/types.h>
19389 #ifdef HAVE_SYS_MTIO_H
19390 #include <sys/mtio.h>
19391 #endif
19394 main ()
19396 static struct mtget ac_aggr;
19397 if (sizeof ac_aggr.mt_blkno)
19398 return 0;
19400 return 0;
19402 _ACEOF
19403 rm -f conftest.$ac_objext
19404 if { (ac_try="$ac_compile"
19405 case "(($ac_try" in
19406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19407 *) ac_try_echo=$ac_try;;
19408 esac
19409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19410 (eval "$ac_compile") 2>conftest.er1
19411 ac_status=$?
19412 grep -v '^ *+' conftest.er1 >conftest.err
19413 rm -f conftest.er1
19414 cat conftest.err >&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); } && {
19417 test -z "$ac_c_werror_flag" ||
19418 test ! -s conftest.err
19419 } && test -s conftest.$ac_objext; then
19420 ac_cv_member_struct_mtget_mt_blkno=yes
19421 else
19422 echo "$as_me: failed program was:" >&5
19423 sed 's/^/| /' conftest.$ac_ext >&5
19425 ac_cv_member_struct_mtget_mt_blkno=no
19428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19433 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19434 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19435 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19437 cat >>confdefs.h <<_ACEOF
19438 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19439 _ACEOF
19445 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19446 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19447 if test "${ac_cv_member_struct_option_name+set}" = set; then
19448 echo $ECHO_N "(cached) $ECHO_C" >&6
19449 else
19450 cat >conftest.$ac_ext <<_ACEOF
19451 /* confdefs.h. */
19452 _ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19456 #ifdef HAVE_GETOPT_H
19457 #include <getopt.h>
19458 #endif
19461 main ()
19463 static struct option ac_aggr;
19464 if (ac_aggr.name)
19465 return 0;
19467 return 0;
19469 _ACEOF
19470 rm -f conftest.$ac_objext
19471 if { (ac_try="$ac_compile"
19472 case "(($ac_try" in
19473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19474 *) ac_try_echo=$ac_try;;
19475 esac
19476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19477 (eval "$ac_compile") 2>conftest.er1
19478 ac_status=$?
19479 grep -v '^ *+' conftest.er1 >conftest.err
19480 rm -f conftest.er1
19481 cat conftest.err >&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } && {
19484 test -z "$ac_c_werror_flag" ||
19485 test ! -s conftest.err
19486 } && test -s conftest.$ac_objext; then
19487 ac_cv_member_struct_option_name=yes
19488 else
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19492 cat >conftest.$ac_ext <<_ACEOF
19493 /* confdefs.h. */
19494 _ACEOF
19495 cat confdefs.h >>conftest.$ac_ext
19496 cat >>conftest.$ac_ext <<_ACEOF
19497 /* end confdefs.h. */
19498 #ifdef HAVE_GETOPT_H
19499 #include <getopt.h>
19500 #endif
19503 main ()
19505 static struct option ac_aggr;
19506 if (sizeof ac_aggr.name)
19507 return 0;
19509 return 0;
19511 _ACEOF
19512 rm -f conftest.$ac_objext
19513 if { (ac_try="$ac_compile"
19514 case "(($ac_try" in
19515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19516 *) ac_try_echo=$ac_try;;
19517 esac
19518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19519 (eval "$ac_compile") 2>conftest.er1
19520 ac_status=$?
19521 grep -v '^ *+' conftest.er1 >conftest.err
19522 rm -f conftest.er1
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } && {
19526 test -z "$ac_c_werror_flag" ||
19527 test ! -s conftest.err
19528 } && test -s conftest.$ac_objext; then
19529 ac_cv_member_struct_option_name=yes
19530 else
19531 echo "$as_me: failed program was:" >&5
19532 sed 's/^/| /' conftest.$ac_ext >&5
19534 ac_cv_member_struct_option_name=no
19537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19542 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19543 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19544 if test $ac_cv_member_struct_option_name = yes; then
19546 cat >>confdefs.h <<_ACEOF
19547 #define HAVE_STRUCT_OPTION_NAME 1
19548 _ACEOF
19554 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19555 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19556 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19557 echo $ECHO_N "(cached) $ECHO_C" >&6
19558 else
19559 cat >conftest.$ac_ext <<_ACEOF
19560 /* confdefs.h. */
19561 _ACEOF
19562 cat confdefs.h >>conftest.$ac_ext
19563 cat >>conftest.$ac_ext <<_ACEOF
19564 /* end confdefs.h. */
19565 $ac_includes_default
19567 main ()
19569 static struct stat ac_aggr;
19570 if (ac_aggr.st_blocks)
19571 return 0;
19573 return 0;
19575 _ACEOF
19576 rm -f conftest.$ac_objext
19577 if { (ac_try="$ac_compile"
19578 case "(($ac_try" in
19579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19580 *) ac_try_echo=$ac_try;;
19581 esac
19582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19583 (eval "$ac_compile") 2>conftest.er1
19584 ac_status=$?
19585 grep -v '^ *+' conftest.er1 >conftest.err
19586 rm -f conftest.er1
19587 cat conftest.err >&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); } && {
19590 test -z "$ac_c_werror_flag" ||
19591 test ! -s conftest.err
19592 } && test -s conftest.$ac_objext; then
19593 ac_cv_member_struct_stat_st_blocks=yes
19594 else
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19598 cat >conftest.$ac_ext <<_ACEOF
19599 /* confdefs.h. */
19600 _ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 $ac_includes_default
19606 main ()
19608 static struct stat ac_aggr;
19609 if (sizeof ac_aggr.st_blocks)
19610 return 0;
19612 return 0;
19614 _ACEOF
19615 rm -f conftest.$ac_objext
19616 if { (ac_try="$ac_compile"
19617 case "(($ac_try" in
19618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19619 *) ac_try_echo=$ac_try;;
19620 esac
19621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19622 (eval "$ac_compile") 2>conftest.er1
19623 ac_status=$?
19624 grep -v '^ *+' conftest.er1 >conftest.err
19625 rm -f conftest.er1
19626 cat conftest.err >&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } && {
19629 test -z "$ac_c_werror_flag" ||
19630 test ! -s conftest.err
19631 } && test -s conftest.$ac_objext; then
19632 ac_cv_member_struct_stat_st_blocks=yes
19633 else
19634 echo "$as_me: failed program was:" >&5
19635 sed 's/^/| /' conftest.$ac_ext >&5
19637 ac_cv_member_struct_stat_st_blocks=no
19640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19645 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19646 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19647 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19649 cat >>confdefs.h <<_ACEOF
19650 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19651 _ACEOF
19657 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19658 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19659 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19660 echo $ECHO_N "(cached) $ECHO_C" >&6
19661 else
19662 cat >conftest.$ac_ext <<_ACEOF
19663 /* confdefs.h. */
19664 _ACEOF
19665 cat confdefs.h >>conftest.$ac_ext
19666 cat >>conftest.$ac_ext <<_ACEOF
19667 /* end confdefs.h. */
19668 #ifdef HAVE_SYS_TYPES_H
19669 #include <sys/types.h>
19670 #endif
19671 #ifdef HAVE_NETINET_IN_H
19672 #include <netinet/in.h>
19673 #endif
19676 main ()
19678 static struct sockaddr_in6 ac_aggr;
19679 if (ac_aggr.sin6_scope_id)
19680 return 0;
19682 return 0;
19684 _ACEOF
19685 rm -f conftest.$ac_objext
19686 if { (ac_try="$ac_compile"
19687 case "(($ac_try" in
19688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19689 *) ac_try_echo=$ac_try;;
19690 esac
19691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19692 (eval "$ac_compile") 2>conftest.er1
19693 ac_status=$?
19694 grep -v '^ *+' conftest.er1 >conftest.err
19695 rm -f conftest.er1
19696 cat conftest.err >&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } && {
19699 test -z "$ac_c_werror_flag" ||
19700 test ! -s conftest.err
19701 } && test -s conftest.$ac_objext; then
19702 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19703 else
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19707 cat >conftest.$ac_ext <<_ACEOF
19708 /* confdefs.h. */
19709 _ACEOF
19710 cat confdefs.h >>conftest.$ac_ext
19711 cat >>conftest.$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713 #ifdef HAVE_SYS_TYPES_H
19714 #include <sys/types.h>
19715 #endif
19716 #ifdef HAVE_NETINET_IN_H
19717 #include <netinet/in.h>
19718 #endif
19721 main ()
19723 static struct sockaddr_in6 ac_aggr;
19724 if (sizeof ac_aggr.sin6_scope_id)
19725 return 0;
19727 return 0;
19729 _ACEOF
19730 rm -f conftest.$ac_objext
19731 if { (ac_try="$ac_compile"
19732 case "(($ac_try" in
19733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19734 *) ac_try_echo=$ac_try;;
19735 esac
19736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19737 (eval "$ac_compile") 2>conftest.er1
19738 ac_status=$?
19739 grep -v '^ *+' conftest.er1 >conftest.err
19740 rm -f conftest.er1
19741 cat conftest.err >&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } && {
19744 test -z "$ac_c_werror_flag" ||
19745 test ! -s conftest.err
19746 } && test -s conftest.$ac_objext; then
19747 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19748 else
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19752 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19760 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19761 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19762 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19764 cat >>confdefs.h <<_ACEOF
19765 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19766 _ACEOF
19772 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19773 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19774 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19775 echo $ECHO_N "(cached) $ECHO_C" >&6
19776 else
19777 cat >conftest.$ac_ext <<_ACEOF
19778 /* confdefs.h. */
19779 _ACEOF
19780 cat confdefs.h >>conftest.$ac_ext
19781 cat >>conftest.$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 #ifdef HAVE_SYS_TYPES_H
19784 #include <sys/types.h>
19785 #endif
19786 #ifdef HAVE_NETINET_IN_H
19787 # include <netinet/in.h>
19788 #endif
19789 #ifdef HAVE_ARPA_NAMESER_H
19790 # include <arpa/nameser.h>
19791 #endif
19794 main ()
19796 static ns_msg ac_aggr;
19797 if (ac_aggr._msg_ptr)
19798 return 0;
19800 return 0;
19802 _ACEOF
19803 rm -f conftest.$ac_objext
19804 if { (ac_try="$ac_compile"
19805 case "(($ac_try" in
19806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19807 *) ac_try_echo=$ac_try;;
19808 esac
19809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19810 (eval "$ac_compile") 2>conftest.er1
19811 ac_status=$?
19812 grep -v '^ *+' conftest.er1 >conftest.err
19813 rm -f conftest.er1
19814 cat conftest.err >&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } && {
19817 test -z "$ac_c_werror_flag" ||
19818 test ! -s conftest.err
19819 } && test -s conftest.$ac_objext; then
19820 ac_cv_member_ns_msg__msg_ptr=yes
19821 else
19822 echo "$as_me: failed program was:" >&5
19823 sed 's/^/| /' conftest.$ac_ext >&5
19825 cat >conftest.$ac_ext <<_ACEOF
19826 /* confdefs.h. */
19827 _ACEOF
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19831 #ifdef HAVE_SYS_TYPES_H
19832 #include <sys/types.h>
19833 #endif
19834 #ifdef HAVE_NETINET_IN_H
19835 # include <netinet/in.h>
19836 #endif
19837 #ifdef HAVE_ARPA_NAMESER_H
19838 # include <arpa/nameser.h>
19839 #endif
19842 main ()
19844 static ns_msg ac_aggr;
19845 if (sizeof ac_aggr._msg_ptr)
19846 return 0;
19848 return 0;
19850 _ACEOF
19851 rm -f conftest.$ac_objext
19852 if { (ac_try="$ac_compile"
19853 case "(($ac_try" in
19854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19855 *) ac_try_echo=$ac_try;;
19856 esac
19857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19858 (eval "$ac_compile") 2>conftest.er1
19859 ac_status=$?
19860 grep -v '^ *+' conftest.er1 >conftest.err
19861 rm -f conftest.er1
19862 cat conftest.err >&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); } && {
19865 test -z "$ac_c_werror_flag" ||
19866 test ! -s conftest.err
19867 } && test -s conftest.$ac_objext; then
19868 ac_cv_member_ns_msg__msg_ptr=yes
19869 else
19870 echo "$as_me: failed program was:" >&5
19871 sed 's/^/| /' conftest.$ac_ext >&5
19873 ac_cv_member_ns_msg__msg_ptr=no
19876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19881 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19882 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19883 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19885 cat >>confdefs.h <<_ACEOF
19886 #define HAVE_NS_MSG__MSG_PTR 1
19887 _ACEOF
19893 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19894 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19895 if test "${ac_cv_have_timezone+set}" = set; then
19896 echo $ECHO_N "(cached) $ECHO_C" >&6
19897 else
19898 cat >conftest.$ac_ext <<_ACEOF
19899 /* confdefs.h. */
19900 _ACEOF
19901 cat confdefs.h >>conftest.$ac_ext
19902 cat >>conftest.$ac_ext <<_ACEOF
19903 /* end confdefs.h. */
19904 #include <time.h>
19906 main ()
19908 timezone = 1
19910 return 0;
19912 _ACEOF
19913 rm -f conftest.$ac_objext conftest$ac_exeext
19914 if { (ac_try="$ac_link"
19915 case "(($ac_try" in
19916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19917 *) ac_try_echo=$ac_try;;
19918 esac
19919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19920 (eval "$ac_link") 2>conftest.er1
19921 ac_status=$?
19922 grep -v '^ *+' conftest.er1 >conftest.err
19923 rm -f conftest.er1
19924 cat conftest.err >&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); } && {
19927 test -z "$ac_c_werror_flag" ||
19928 test ! -s conftest.err
19929 } && test -s conftest$ac_exeext &&
19930 $as_test_x conftest$ac_exeext; then
19931 ac_cv_have_timezone="yes"
19932 else
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.$ac_ext >&5
19936 ac_cv_have_timezone="no"
19939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19940 conftest$ac_exeext conftest.$ac_ext
19942 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19943 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19944 if test "$ac_cv_have_timezone" = "yes"
19945 then
19947 cat >>confdefs.h <<\_ACEOF
19948 #define HAVE_TIMEZONE 1
19949 _ACEOF
19952 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19953 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19954 if test "${ac_cv_have_daylight+set}" = set; then
19955 echo $ECHO_N "(cached) $ECHO_C" >&6
19956 else
19957 cat >conftest.$ac_ext <<_ACEOF
19958 /* confdefs.h. */
19959 _ACEOF
19960 cat confdefs.h >>conftest.$ac_ext
19961 cat >>conftest.$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19963 #include <time.h>
19965 main ()
19967 daylight = 1
19969 return 0;
19971 _ACEOF
19972 rm -f conftest.$ac_objext conftest$ac_exeext
19973 if { (ac_try="$ac_link"
19974 case "(($ac_try" in
19975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19976 *) ac_try_echo=$ac_try;;
19977 esac
19978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19979 (eval "$ac_link") 2>conftest.er1
19980 ac_status=$?
19981 grep -v '^ *+' conftest.er1 >conftest.err
19982 rm -f conftest.er1
19983 cat conftest.err >&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); } && {
19986 test -z "$ac_c_werror_flag" ||
19987 test ! -s conftest.err
19988 } && test -s conftest$ac_exeext &&
19989 $as_test_x conftest$ac_exeext; then
19990 ac_cv_have_daylight="yes"
19991 else
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.$ac_ext >&5
19995 ac_cv_have_daylight="no"
19998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19999 conftest$ac_exeext conftest.$ac_ext
20001 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20002 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20003 if test "$ac_cv_have_daylight" = "yes"
20004 then
20006 cat >>confdefs.h <<\_ACEOF
20007 #define HAVE_DAYLIGHT 1
20008 _ACEOF
20013 case $host_cpu in
20014 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20015 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20016 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20017 echo $ECHO_N "(cached) $ECHO_C" >&6
20018 else
20019 cat >conftest.$ac_ext <<_ACEOF
20020 /* confdefs.h. */
20021 _ACEOF
20022 cat confdefs.h >>conftest.$ac_ext
20023 cat >>conftest.$ac_ext <<_ACEOF
20024 /* end confdefs.h. */
20025 #ifndef __i386__
20027 #endif
20028 _ACEOF
20029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20030 $EGREP "yes" >/dev/null 2>&1; then
20031 ac_cv_cpp_def___i386__=yes
20032 else
20033 ac_cv_cpp_def___i386__=no
20035 rm -f conftest*
20038 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20039 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20040 if test $ac_cv_cpp_def___i386__ = yes; then
20041 CFLAGS="$CFLAGS -D__i386__"
20042 LINTFLAGS="$LINTFLAGS -D__i386__"
20045 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20046 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20047 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20048 echo $ECHO_N "(cached) $ECHO_C" >&6
20049 else
20050 cat >conftest.$ac_ext <<_ACEOF
20051 /* confdefs.h. */
20052 _ACEOF
20053 cat confdefs.h >>conftest.$ac_ext
20054 cat >>conftest.$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20056 #ifndef __x86_64__
20058 #endif
20059 _ACEOF
20060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20061 $EGREP "yes" >/dev/null 2>&1; then
20062 ac_cv_cpp_def___x86_64__=yes
20063 else
20064 ac_cv_cpp_def___x86_64__=no
20066 rm -f conftest*
20069 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20070 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20071 if test $ac_cv_cpp_def___x86_64__ = yes; then
20072 CFLAGS="$CFLAGS -D__x86_64__"
20073 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20076 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20077 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20078 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20080 else
20081 cat >conftest.$ac_ext <<_ACEOF
20082 /* confdefs.h. */
20083 _ACEOF
20084 cat confdefs.h >>conftest.$ac_ext
20085 cat >>conftest.$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087 #ifndef __ALPHA__
20089 #endif
20090 _ACEOF
20091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20092 $EGREP "yes" >/dev/null 2>&1; then
20093 ac_cv_cpp_def___ALPHA__=yes
20094 else
20095 ac_cv_cpp_def___ALPHA__=no
20097 rm -f conftest*
20100 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20101 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20102 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20103 CFLAGS="$CFLAGS -D__ALPHA__"
20104 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20107 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20108 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20109 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20110 echo $ECHO_N "(cached) $ECHO_C" >&6
20111 else
20112 cat >conftest.$ac_ext <<_ACEOF
20113 /* confdefs.h. */
20114 _ACEOF
20115 cat confdefs.h >>conftest.$ac_ext
20116 cat >>conftest.$ac_ext <<_ACEOF
20117 /* end confdefs.h. */
20118 #ifndef __sparc__
20120 #endif
20121 _ACEOF
20122 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20123 $EGREP "yes" >/dev/null 2>&1; then
20124 ac_cv_cpp_def___sparc__=yes
20125 else
20126 ac_cv_cpp_def___sparc__=no
20128 rm -f conftest*
20131 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20132 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20133 if test $ac_cv_cpp_def___sparc__ = yes; then
20134 CFLAGS="$CFLAGS -D__sparc__"
20135 LINTFLAGS="$LINTFLAGS -D__sparc__"
20138 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20139 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20140 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20142 else
20143 cat >conftest.$ac_ext <<_ACEOF
20144 /* confdefs.h. */
20145 _ACEOF
20146 cat confdefs.h >>conftest.$ac_ext
20147 cat >>conftest.$ac_ext <<_ACEOF
20148 /* end confdefs.h. */
20149 #ifndef __powerpc__
20151 #endif
20152 _ACEOF
20153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20154 $EGREP "yes" >/dev/null 2>&1; then
20155 ac_cv_cpp_def___powerpc__=yes
20156 else
20157 ac_cv_cpp_def___powerpc__=no
20159 rm -f conftest*
20162 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20163 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20164 if test $ac_cv_cpp_def___powerpc__ = yes; then
20165 CFLAGS="$CFLAGS -D__powerpc__"
20166 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20169 esac
20171 case $host_vendor in
20172 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20173 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20174 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20175 echo $ECHO_N "(cached) $ECHO_C" >&6
20176 else
20177 cat >conftest.$ac_ext <<_ACEOF
20178 /* confdefs.h. */
20179 _ACEOF
20180 cat confdefs.h >>conftest.$ac_ext
20181 cat >>conftest.$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20183 #ifndef __sun__
20185 #endif
20186 _ACEOF
20187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20188 $EGREP "yes" >/dev/null 2>&1; then
20189 ac_cv_cpp_def___sun__=yes
20190 else
20191 ac_cv_cpp_def___sun__=no
20193 rm -f conftest*
20196 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20197 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20198 if test $ac_cv_cpp_def___sun__ = yes; then
20199 CFLAGS="$CFLAGS -D__sun__"
20200 LINTFLAGS="$LINTFLAGS -D__sun__"
20203 esac
20206 DEPENDENCIES="### Dependencies:
20208 .INIT: Makefile
20209 .BEGIN: Makefile
20210 Makefile: dummy
20211 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20213 \$(OBJS): \$(IDL_GEN_HEADERS)
20214 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20215 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20216 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20222 ac_config_commands="$ac_config_commands include/stamp-h"
20225 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20227 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20229 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20231 ac_config_commands="$ac_config_commands dlls/user32/resources"
20233 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20235 ac_config_commands="$ac_config_commands include/wine"
20238 MAKE_RULES=Make.rules
20241 MAKE_DLL_RULES=dlls/Makedll.rules
20244 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20247 MAKE_TEST_RULES=dlls/Maketest.rules
20250 MAKE_PROG_RULES=programs/Makeprog.rules
20253 ac_config_files="$ac_config_files Make.rules"
20255 ac_config_files="$ac_config_files dlls/Makedll.rules"
20257 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20259 ac_config_files="$ac_config_files dlls/Maketest.rules"
20261 ac_config_files="$ac_config_files programs/Makeprog.rules"
20263 ac_config_files="$ac_config_files Makefile"
20265 ac_config_files="$ac_config_files dlls/Makefile"
20267 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20269 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20271 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20273 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20275 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20277 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20279 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20281 ac_config_files="$ac_config_files dlls/atl/Makefile"
20283 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20285 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20287 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20289 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20291 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20293 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20295 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20297 ac_config_files="$ac_config_files dlls/cards/Makefile"
20299 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20301 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20303 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20305 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20307 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20309 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20311 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20313 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20315 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20317 ac_config_files="$ac_config_files dlls/credui/Makefile"
20319 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20321 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20323 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20325 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20327 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20329 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20331 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20333 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20335 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20337 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20339 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20341 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20343 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20345 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20347 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20349 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20351 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20353 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20355 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20357 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20359 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20361 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20363 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20365 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20367 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20369 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20371 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20373 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20375 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20377 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20379 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20381 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20383 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20385 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20387 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20389 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20391 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20393 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20395 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20397 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20399 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20401 ac_config_files="$ac_config_files dlls/dpnhpast/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/gdi32/Makefile"
20421 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20423 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20425 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20427 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20429 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20431 ac_config_files="$ac_config_files dlls/hal/Makefile"
20433 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20435 ac_config_files="$ac_config_files dlls/hid/Makefile"
20437 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20439 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20441 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20443 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20445 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20447 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20449 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20451 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20453 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20455 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20457 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20459 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20461 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20463 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20465 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20467 ac_config_files="$ac_config_files dlls/itss/Makefile"
20469 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20471 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20473 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20475 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20477 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20479 ac_config_files="$ac_config_files dlls/localui/Makefile"
20481 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20483 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20485 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20487 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20489 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20491 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20493 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20495 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20497 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20499 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20501 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20503 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20505 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20507 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20509 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20511 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20513 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20515 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20517 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20519 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20521 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20523 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20525 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20527 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20529 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20531 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20533 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20535 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20537 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20539 ac_config_files="$ac_config_files dlls/msi/Makefile"
20541 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20543 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20545 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20547 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20549 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20551 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20553 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20555 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20557 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20559 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20561 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20563 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20565 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20567 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20569 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20571 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20573 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20575 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20577 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20579 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20581 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20583 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20585 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20587 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20589 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20591 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20593 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20595 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20597 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20599 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20601 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20603 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20605 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20607 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20609 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20611 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20613 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20615 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20617 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20619 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20621 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20623 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20625 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20627 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20629 ac_config_files="$ac_config_files dlls/printui/Makefile"
20631 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20633 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20635 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20637 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20639 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20641 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20643 ac_config_files="$ac_config_files dlls/query/Makefile"
20645 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20647 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20649 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20651 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20653 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20655 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20657 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20659 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20661 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20663 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20665 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20667 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20669 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20671 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20673 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20675 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20677 ac_config_files="$ac_config_files dlls/security/Makefile"
20679 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20681 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20683 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20685 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20687 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20689 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20691 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20693 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20695 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20697 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20699 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20701 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20703 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20705 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20707 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20709 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20711 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20713 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20715 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20717 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20719 ac_config_files="$ac_config_files dlls/sti/Makefile"
20721 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20723 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20725 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20727 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20729 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20731 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20733 ac_config_files="$ac_config_files dlls/url/Makefile"
20735 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20737 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20739 ac_config_files="$ac_config_files dlls/user32/Makefile"
20741 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20743 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20745 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20747 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20749 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20751 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20753 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20755 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20757 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20759 ac_config_files="$ac_config_files dlls/version/Makefile"
20761 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20763 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20765 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20767 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20769 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20771 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20773 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20775 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20777 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20779 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20781 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20783 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20785 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20787 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20789 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20791 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20793 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20795 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20797 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20799 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20801 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20803 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20805 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20807 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
20809 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20811 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20813 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20815 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20817 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20819 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20821 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20823 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20825 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20827 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20829 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20831 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20833 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20835 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20837 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20839 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20841 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20843 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20845 ac_config_files="$ac_config_files documentation/Makefile"
20847 ac_config_files="$ac_config_files fonts/Makefile"
20849 ac_config_files="$ac_config_files include/Makefile"
20851 ac_config_files="$ac_config_files libs/Makefile"
20853 ac_config_files="$ac_config_files libs/port/Makefile"
20855 ac_config_files="$ac_config_files libs/wine/Makefile"
20857 ac_config_files="$ac_config_files libs/wpp/Makefile"
20859 ac_config_files="$ac_config_files loader/Makefile"
20861 ac_config_files="$ac_config_files programs/Makefile"
20863 ac_config_files="$ac_config_files programs/clock/Makefile"
20865 ac_config_files="$ac_config_files programs/cmd/Makefile"
20867 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20869 ac_config_files="$ac_config_files programs/control/Makefile"
20871 ac_config_files="$ac_config_files programs/eject/Makefile"
20873 ac_config_files="$ac_config_files programs/expand/Makefile"
20875 ac_config_files="$ac_config_files programs/explorer/Makefile"
20877 ac_config_files="$ac_config_files programs/hh/Makefile"
20879 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20881 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20883 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20885 ac_config_files="$ac_config_files programs/net/Makefile"
20887 ac_config_files="$ac_config_files programs/notepad/Makefile"
20889 ac_config_files="$ac_config_files programs/oleview/Makefile"
20891 ac_config_files="$ac_config_files programs/progman/Makefile"
20893 ac_config_files="$ac_config_files programs/regedit/Makefile"
20895 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20897 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20899 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20901 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20903 ac_config_files="$ac_config_files programs/start/Makefile"
20905 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20907 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20909 ac_config_files="$ac_config_files programs/view/Makefile"
20911 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20913 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20915 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20917 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20919 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20921 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20923 ac_config_files="$ac_config_files programs/winefile/Makefile"
20925 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20927 ac_config_files="$ac_config_files programs/winemine/Makefile"
20929 ac_config_files="$ac_config_files programs/winepath/Makefile"
20931 ac_config_files="$ac_config_files programs/winetest/Makefile"
20933 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20935 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20937 ac_config_files="$ac_config_files programs/winver/Makefile"
20939 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20941 ac_config_files="$ac_config_files programs/write/Makefile"
20943 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20945 ac_config_files="$ac_config_files server/Makefile"
20947 ac_config_files="$ac_config_files tools/Makefile"
20949 ac_config_files="$ac_config_files tools/widl/Makefile"
20951 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20953 ac_config_files="$ac_config_files tools/winedump/Makefile"
20955 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20957 ac_config_files="$ac_config_files tools/wmc/Makefile"
20959 ac_config_files="$ac_config_files tools/wrc/Makefile"
20962 cat >confcache <<\_ACEOF
20963 # This file is a shell script that caches the results of configure
20964 # tests run on this system so they can be shared between configure
20965 # scripts and configure runs, see configure's option --config-cache.
20966 # It is not useful on other systems. If it contains results you don't
20967 # want to keep, you may remove or edit it.
20969 # config.status only pays attention to the cache file if you give it
20970 # the --recheck option to rerun configure.
20972 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20973 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20974 # following values.
20976 _ACEOF
20978 # The following way of writing the cache mishandles newlines in values,
20979 # but we know of no workaround that is simple, portable, and efficient.
20980 # So, we kill variables containing newlines.
20981 # Ultrix sh set writes to stderr and can't be redirected directly,
20982 # and sets the high bit in the cache file unless we assign to the vars.
20984 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20985 eval ac_val=\$$ac_var
20986 case $ac_val in #(
20987 *${as_nl}*)
20988 case $ac_var in #(
20989 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20990 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20991 esac
20992 case $ac_var in #(
20993 _ | IFS | as_nl) ;; #(
20994 *) $as_unset $ac_var ;;
20995 esac ;;
20996 esac
20997 done
20999 (set) 2>&1 |
21000 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21001 *${as_nl}ac_space=\ *)
21002 # `set' does not quote correctly, so add quotes (double-quote
21003 # substitution turns \\\\ into \\, and sed turns \\ into \).
21004 sed -n \
21005 "s/'/'\\\\''/g;
21006 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21007 ;; #(
21009 # `set' quotes correctly as required by POSIX, so do not add quotes.
21010 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21012 esac |
21013 sort
21015 sed '
21016 /^ac_cv_env_/b end
21017 t clear
21018 :clear
21019 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21020 t end
21021 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21022 :end' >>confcache
21023 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21024 if test -w "$cache_file"; then
21025 test "x$cache_file" != "x/dev/null" &&
21026 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21027 echo "$as_me: updating cache $cache_file" >&6;}
21028 cat confcache >$cache_file
21029 else
21030 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21031 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21034 rm -f confcache
21036 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21037 # Let make expand exec_prefix.
21038 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21040 DEFS=-DHAVE_CONFIG_H
21042 ac_libobjs=
21043 ac_ltlibobjs=
21044 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21045 # 1. Remove the extension, and $U if already installed.
21046 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21047 ac_i=`echo "$ac_i" | sed "$ac_script"`
21048 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21049 # will be set to the directory where LIBOBJS objects are built.
21050 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21051 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21052 done
21053 LIBOBJS=$ac_libobjs
21055 LTLIBOBJS=$ac_ltlibobjs
21059 : ${CONFIG_STATUS=./config.status}
21060 ac_clean_files_save=$ac_clean_files
21061 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21062 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21063 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21064 cat >$CONFIG_STATUS <<_ACEOF
21065 #! $SHELL
21066 # Generated by $as_me.
21067 # Run this file to recreate the current configuration.
21068 # Compiler output produced by configure, useful for debugging
21069 # configure, is in config.log if it exists.
21071 debug=false
21072 ac_cs_recheck=false
21073 ac_cs_silent=false
21074 SHELL=\${CONFIG_SHELL-$SHELL}
21075 _ACEOF
21077 cat >>$CONFIG_STATUS <<\_ACEOF
21078 ## --------------------- ##
21079 ## M4sh Initialization. ##
21080 ## --------------------- ##
21082 # Be more Bourne compatible
21083 DUALCASE=1; export DUALCASE # for MKS sh
21084 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21085 emulate sh
21086 NULLCMD=:
21087 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21088 # is contrary to our usage. Disable this feature.
21089 alias -g '${1+"$@"}'='"$@"'
21090 setopt NO_GLOB_SUBST
21091 else
21092 case `(set -o) 2>/dev/null` in
21093 *posix*) set -o posix ;;
21094 esac
21101 # PATH needs CR
21102 # Avoid depending upon Character Ranges.
21103 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21104 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21105 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21106 as_cr_digits='0123456789'
21107 as_cr_alnum=$as_cr_Letters$as_cr_digits
21109 # The user is always right.
21110 if test "${PATH_SEPARATOR+set}" != set; then
21111 echo "#! /bin/sh" >conf$$.sh
21112 echo "exit 0" >>conf$$.sh
21113 chmod +x conf$$.sh
21114 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21115 PATH_SEPARATOR=';'
21116 else
21117 PATH_SEPARATOR=:
21119 rm -f conf$$.sh
21122 # Support unset when possible.
21123 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21124 as_unset=unset
21125 else
21126 as_unset=false
21130 # IFS
21131 # We need space, tab and new line, in precisely that order. Quoting is
21132 # there to prevent editors from complaining about space-tab.
21133 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21134 # splitting by setting IFS to empty value.)
21135 as_nl='
21137 IFS=" "" $as_nl"
21139 # Find who we are. Look in the path if we contain no directory separator.
21140 case $0 in
21141 *[\\/]* ) as_myself=$0 ;;
21142 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21143 for as_dir in $PATH
21145 IFS=$as_save_IFS
21146 test -z "$as_dir" && as_dir=.
21147 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21148 done
21149 IFS=$as_save_IFS
21152 esac
21153 # We did not find ourselves, most probably we were run as `sh COMMAND'
21154 # in which case we are not to be found in the path.
21155 if test "x$as_myself" = x; then
21156 as_myself=$0
21158 if test ! -f "$as_myself"; then
21159 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21160 { (exit 1); exit 1; }
21163 # Work around bugs in pre-3.0 UWIN ksh.
21164 for as_var in ENV MAIL MAILPATH
21165 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21166 done
21167 PS1='$ '
21168 PS2='> '
21169 PS4='+ '
21171 # NLS nuisances.
21172 for as_var in \
21173 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21174 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21175 LC_TELEPHONE LC_TIME
21177 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21178 eval $as_var=C; export $as_var
21179 else
21180 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21182 done
21184 # Required to use basename.
21185 if expr a : '\(a\)' >/dev/null 2>&1 &&
21186 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21187 as_expr=expr
21188 else
21189 as_expr=false
21192 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21193 as_basename=basename
21194 else
21195 as_basename=false
21199 # Name of the executable.
21200 as_me=`$as_basename -- "$0" ||
21201 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21202 X"$0" : 'X\(//\)$' \| \
21203 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21204 echo X/"$0" |
21205 sed '/^.*\/\([^/][^/]*\)\/*$/{
21206 s//\1/
21209 /^X\/\(\/\/\)$/{
21210 s//\1/
21213 /^X\/\(\/\).*/{
21214 s//\1/
21217 s/.*/./; q'`
21219 # CDPATH.
21220 $as_unset CDPATH
21224 as_lineno_1=$LINENO
21225 as_lineno_2=$LINENO
21226 test "x$as_lineno_1" != "x$as_lineno_2" &&
21227 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21229 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21230 # uniformly replaced by the line number. The first 'sed' inserts a
21231 # line-number line after each line using $LINENO; the second 'sed'
21232 # does the real work. The second script uses 'N' to pair each
21233 # line-number line with the line containing $LINENO, and appends
21234 # trailing '-' during substitution so that $LINENO is not a special
21235 # case at line end.
21236 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21237 # scripts with optimization help from Paolo Bonzini. Blame Lee
21238 # E. McMahon (1931-1989) for sed's syntax. :-)
21239 sed -n '
21241 /[$]LINENO/=
21242 ' <$as_myself |
21243 sed '
21244 s/[$]LINENO.*/&-/
21245 t lineno
21247 :lineno
21249 :loop
21250 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21251 t loop
21252 s/-\n.*//
21253 ' >$as_me.lineno &&
21254 chmod +x "$as_me.lineno" ||
21255 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21256 { (exit 1); exit 1; }; }
21258 # Don't try to exec as it changes $[0], causing all sort of problems
21259 # (the dirname of $[0] is not the place where we might find the
21260 # original and so on. Autoconf is especially sensitive to this).
21261 . "./$as_me.lineno"
21262 # Exit status is that of the last command.
21263 exit
21267 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21268 as_dirname=dirname
21269 else
21270 as_dirname=false
21273 ECHO_C= ECHO_N= ECHO_T=
21274 case `echo -n x` in
21275 -n*)
21276 case `echo 'x\c'` in
21277 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21278 *) ECHO_C='\c';;
21279 esac;;
21281 ECHO_N='-n';;
21282 esac
21284 if expr a : '\(a\)' >/dev/null 2>&1 &&
21285 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21286 as_expr=expr
21287 else
21288 as_expr=false
21291 rm -f conf$$ conf$$.exe conf$$.file
21292 if test -d conf$$.dir; then
21293 rm -f conf$$.dir/conf$$.file
21294 else
21295 rm -f conf$$.dir
21296 mkdir conf$$.dir
21298 echo >conf$$.file
21299 if ln -s conf$$.file conf$$ 2>/dev/null; then
21300 as_ln_s='ln -s'
21301 # ... but there are two gotchas:
21302 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21303 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21304 # In both cases, we have to default to `cp -p'.
21305 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21306 as_ln_s='cp -p'
21307 elif ln conf$$.file conf$$ 2>/dev/null; then
21308 as_ln_s=ln
21309 else
21310 as_ln_s='cp -p'
21312 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21313 rmdir conf$$.dir 2>/dev/null
21315 if mkdir -p . 2>/dev/null; then
21316 as_mkdir_p=:
21317 else
21318 test -d ./-p && rmdir ./-p
21319 as_mkdir_p=false
21322 if test -x / >/dev/null 2>&1; then
21323 as_test_x='test -x'
21324 else
21325 if ls -dL / >/dev/null 2>&1; then
21326 as_ls_L_option=L
21327 else
21328 as_ls_L_option=
21330 as_test_x='
21331 eval sh -c '\''
21332 if test -d "$1"; then
21333 test -d "$1/.";
21334 else
21335 case $1 in
21336 -*)set "./$1";;
21337 esac;
21338 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21339 ???[sx]*):;;*)false;;esac;fi
21340 '\'' sh
21343 as_executable_p=$as_test_x
21345 # Sed expression to map a string onto a valid CPP name.
21346 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21348 # Sed expression to map a string onto a valid variable name.
21349 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21352 exec 6>&1
21354 # Save the log message, to keep $[0] and so on meaningful, and to
21355 # report actual input values of CONFIG_FILES etc. instead of their
21356 # values after options handling.
21357 ac_log="
21358 This file was extended by Wine $as_me 0.9.42, which was
21359 generated by GNU Autoconf 2.61. Invocation command line was
21361 CONFIG_FILES = $CONFIG_FILES
21362 CONFIG_HEADERS = $CONFIG_HEADERS
21363 CONFIG_LINKS = $CONFIG_LINKS
21364 CONFIG_COMMANDS = $CONFIG_COMMANDS
21365 $ $0 $@
21367 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21370 _ACEOF
21372 cat >>$CONFIG_STATUS <<_ACEOF
21373 # Files that config.status was made for.
21374 config_files="$ac_config_files"
21375 config_headers="$ac_config_headers"
21376 config_commands="$ac_config_commands"
21378 _ACEOF
21380 cat >>$CONFIG_STATUS <<\_ACEOF
21381 ac_cs_usage="\
21382 \`$as_me' instantiates files from templates according to the
21383 current configuration.
21385 Usage: $0 [OPTIONS] [FILE]...
21387 -h, --help print this help, then exit
21388 -V, --version print version number and configuration settings, then exit
21389 -q, --quiet do not print progress messages
21390 -d, --debug don't remove temporary files
21391 --recheck update $as_me by reconfiguring in the same conditions
21392 --file=FILE[:TEMPLATE]
21393 instantiate the configuration file FILE
21394 --header=FILE[:TEMPLATE]
21395 instantiate the configuration header FILE
21397 Configuration files:
21398 $config_files
21400 Configuration headers:
21401 $config_headers
21403 Configuration commands:
21404 $config_commands
21406 Report bugs to <bug-autoconf@gnu.org>."
21408 _ACEOF
21409 cat >>$CONFIG_STATUS <<_ACEOF
21410 ac_cs_version="\\
21411 Wine config.status 0.9.42
21412 configured by $0, generated by GNU Autoconf 2.61,
21413 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21415 Copyright (C) 2006 Free Software Foundation, Inc.
21416 This config.status script is free software; the Free Software Foundation
21417 gives unlimited permission to copy, distribute and modify it."
21419 ac_pwd='$ac_pwd'
21420 srcdir='$srcdir'
21421 INSTALL='$INSTALL'
21422 _ACEOF
21424 cat >>$CONFIG_STATUS <<\_ACEOF
21425 # If no file are specified by the user, then we need to provide default
21426 # value. By we need to know if files were specified by the user.
21427 ac_need_defaults=:
21428 while test $# != 0
21430 case $1 in
21431 --*=*)
21432 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21433 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21434 ac_shift=:
21437 ac_option=$1
21438 ac_optarg=$2
21439 ac_shift=shift
21441 esac
21443 case $ac_option in
21444 # Handling of the options.
21445 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21446 ac_cs_recheck=: ;;
21447 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21448 echo "$ac_cs_version"; exit ;;
21449 --debug | --debu | --deb | --de | --d | -d )
21450 debug=: ;;
21451 --file | --fil | --fi | --f )
21452 $ac_shift
21453 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21454 ac_need_defaults=false;;
21455 --header | --heade | --head | --hea )
21456 $ac_shift
21457 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21458 ac_need_defaults=false;;
21459 --he | --h)
21460 # Conflict between --help and --header
21461 { echo "$as_me: error: ambiguous option: $1
21462 Try \`$0 --help' for more information." >&2
21463 { (exit 1); exit 1; }; };;
21464 --help | --hel | -h )
21465 echo "$ac_cs_usage"; exit ;;
21466 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21467 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21468 ac_cs_silent=: ;;
21470 # This is an error.
21471 -*) { echo "$as_me: error: unrecognized option: $1
21472 Try \`$0 --help' for more information." >&2
21473 { (exit 1); exit 1; }; } ;;
21475 *) ac_config_targets="$ac_config_targets $1"
21476 ac_need_defaults=false ;;
21478 esac
21479 shift
21480 done
21482 ac_configure_extra_args=
21484 if $ac_cs_silent; then
21485 exec 6>/dev/null
21486 ac_configure_extra_args="$ac_configure_extra_args --silent"
21489 _ACEOF
21490 cat >>$CONFIG_STATUS <<_ACEOF
21491 if \$ac_cs_recheck; then
21492 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21493 CONFIG_SHELL=$SHELL
21494 export CONFIG_SHELL
21495 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21498 _ACEOF
21499 cat >>$CONFIG_STATUS <<\_ACEOF
21500 exec 5>>config.log
21502 echo
21503 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21504 ## Running $as_me. ##
21505 _ASBOX
21506 echo "$ac_log"
21507 } >&5
21509 _ACEOF
21510 cat >>$CONFIG_STATUS <<_ACEOF
21511 _ACEOF
21513 cat >>$CONFIG_STATUS <<\_ACEOF
21515 # Handling of arguments.
21516 for ac_config_target in $ac_config_targets
21518 case $ac_config_target in
21519 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21520 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21521 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21522 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21523 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21524 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21525 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21526 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21527 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21528 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21529 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21530 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21531 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21532 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21533 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21534 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21535 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21536 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21537 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21538 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21539 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21540 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21541 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21542 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21543 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21544 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21545 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21546 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21547 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21548 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21549 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21550 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21551 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21552 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21553 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21554 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21555 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21556 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21557 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21558 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21559 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21560 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21561 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21562 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21563 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21564 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21565 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21566 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21567 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21568 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21569 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21570 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21571 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21572 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21573 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21574 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21575 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21576 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21577 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21578 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21579 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21580 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21581 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21582 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21583 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21584 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21585 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21586 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21587 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21588 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21589 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21590 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21591 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21592 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21593 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21594 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21595 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21596 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21597 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21598 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21599 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21600 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21601 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21602 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21603 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21604 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21605 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21606 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21607 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21608 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21609 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21610 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21611 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21612 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21613 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21614 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21615 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21616 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21617 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21618 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21619 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21620 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21621 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21622 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21623 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21624 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21625 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21626 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21627 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21628 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21629 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21630 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21631 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21632 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21633 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21634 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21635 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21636 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21637 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21638 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21639 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21640 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21641 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21642 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21643 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21644 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21645 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21646 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21647 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21648 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21649 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21650 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21651 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21652 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21653 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21654 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21655 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21656 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21657 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21658 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21659 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21660 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21661 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21662 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21663 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21664 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21665 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21666 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21667 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21668 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21669 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21670 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21671 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21672 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21673 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21674 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21675 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21676 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21677 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21678 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21679 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21680 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21681 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21682 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21683 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21684 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21685 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21686 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21687 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21688 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21689 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21690 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21691 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21692 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21693 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21694 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21695 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21696 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21697 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21698 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21699 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21700 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21701 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21702 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21703 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21704 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21705 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21706 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21707 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21708 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21709 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21710 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21711 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21712 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21713 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21714 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21715 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21716 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21717 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21718 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21719 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21720 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21721 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21722 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21723 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21724 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21725 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21726 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21727 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21728 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21729 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21730 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21731 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21732 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21733 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21734 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21735 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21736 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21737 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21738 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21739 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21740 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21741 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21742 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21743 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21744 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21745 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21746 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21747 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21748 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21749 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21750 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21751 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21752 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21753 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21754 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21755 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21756 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21757 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21758 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21759 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21760 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21761 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21762 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21763 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21764 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21765 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21766 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21767 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21768 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21769 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21770 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21771 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21772 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21773 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21774 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21775 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21776 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21777 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21778 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21779 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21780 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21781 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21782 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21783 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21784 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21785 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21786 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21787 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21788 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21789 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21790 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21791 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21792 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21793 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21794 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21795 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21796 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21797 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21798 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21799 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21800 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21801 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21802 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21803 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21804 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21805 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21806 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21807 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21808 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21809 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21810 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21811 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21812 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21813 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21814 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21815 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21816 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21817 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21818 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21819 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21820 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21821 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21822 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21823 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21824 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21825 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21826 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21827 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21828 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21829 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21830 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21831 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21832 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21833 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21834 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21835 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21836 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21837 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21838 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21839 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21840 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21841 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21842 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21843 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21844 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21845 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21846 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21847 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21848 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21849 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21850 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21851 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21852 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21853 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21854 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21855 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21856 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21857 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21858 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21859 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21860 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21861 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21862 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21863 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21864 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21865 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21866 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21867 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21868 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21869 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21870 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21871 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
21872 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21873 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21874 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21875 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21876 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21877 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21878 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21879 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21880 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21882 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21883 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21884 { (exit 1); exit 1; }; };;
21885 esac
21886 done
21889 # If the user did not use the arguments to specify the items to instantiate,
21890 # then the envvar interface is used. Set only those that are not.
21891 # We use the long form for the default assignment because of an extremely
21892 # bizarre bug on SunOS 4.1.3.
21893 if $ac_need_defaults; then
21894 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21895 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21896 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21899 # Have a temporary directory for convenience. Make it in the build tree
21900 # simply because there is no reason against having it here, and in addition,
21901 # creating and moving files from /tmp can sometimes cause problems.
21902 # Hook for its removal unless debugging.
21903 # Note that there is a small window in which the directory will not be cleaned:
21904 # after its creation but before its name has been assigned to `$tmp'.
21905 $debug ||
21907 tmp=
21908 trap 'exit_status=$?
21909 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21911 trap '{ (exit 1); exit 1; }' 1 2 13 15
21913 # Create a (secure) tmp directory for tmp files.
21916 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21917 test -n "$tmp" && test -d "$tmp"
21918 } ||
21920 tmp=./conf$$-$RANDOM
21921 (umask 077 && mkdir "$tmp")
21922 } ||
21924 echo "$me: cannot create a temporary directory in ." >&2
21925 { (exit 1); exit 1; }
21929 # Set up the sed scripts for CONFIG_FILES section.
21932 # No need to generate the scripts if there are no CONFIG_FILES.
21933 # This happens for instance when ./config.status config.h
21934 if test -n "$CONFIG_FILES"; then
21936 _ACEOF
21938 # Create sed commands to just substitute file output variables.
21940 # Remaining file output variables are in a fragment that also has non-file
21941 # output varibles.
21945 ac_delim='%!_!# '
21946 for ac_last_try in false false false false false :; do
21947 cat >conf$$subs.sed <<_ACEOF
21948 SHELL!$SHELL$ac_delim
21949 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21950 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21951 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21952 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21953 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21954 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21955 exec_prefix!$exec_prefix$ac_delim
21956 prefix!$prefix$ac_delim
21957 program_transform_name!$program_transform_name$ac_delim
21958 bindir!$bindir$ac_delim
21959 sbindir!$sbindir$ac_delim
21960 libexecdir!$libexecdir$ac_delim
21961 datarootdir!$datarootdir$ac_delim
21962 datadir!$datadir$ac_delim
21963 sysconfdir!$sysconfdir$ac_delim
21964 sharedstatedir!$sharedstatedir$ac_delim
21965 localstatedir!$localstatedir$ac_delim
21966 includedir!$includedir$ac_delim
21967 oldincludedir!$oldincludedir$ac_delim
21968 docdir!$docdir$ac_delim
21969 infodir!$infodir$ac_delim
21970 htmldir!$htmldir$ac_delim
21971 dvidir!$dvidir$ac_delim
21972 pdfdir!$pdfdir$ac_delim
21973 psdir!$psdir$ac_delim
21974 libdir!$libdir$ac_delim
21975 localedir!$localedir$ac_delim
21976 mandir!$mandir$ac_delim
21977 DEFS!$DEFS$ac_delim
21978 ECHO_C!$ECHO_C$ac_delim
21979 ECHO_N!$ECHO_N$ac_delim
21980 ECHO_T!$ECHO_T$ac_delim
21981 LIBS!$LIBS$ac_delim
21982 build_alias!$build_alias$ac_delim
21983 host_alias!$host_alias$ac_delim
21984 target_alias!$target_alias$ac_delim
21985 build!$build$ac_delim
21986 build_cpu!$build_cpu$ac_delim
21987 build_vendor!$build_vendor$ac_delim
21988 build_os!$build_os$ac_delim
21989 host!$host$ac_delim
21990 host_cpu!$host_cpu$ac_delim
21991 host_vendor!$host_vendor$ac_delim
21992 host_os!$host_os$ac_delim
21993 WIN16_FILES!$WIN16_FILES$ac_delim
21994 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21995 SET_MAKE!$SET_MAKE$ac_delim
21996 CC!$CC$ac_delim
21997 CFLAGS!$CFLAGS$ac_delim
21998 LDFLAGS!$LDFLAGS$ac_delim
21999 CPPFLAGS!$CPPFLAGS$ac_delim
22000 ac_ct_CC!$ac_ct_CC$ac_delim
22001 EXEEXT!$EXEEXT$ac_delim
22002 OBJEXT!$OBJEXT$ac_delim
22003 CXX!$CXX$ac_delim
22004 CXXFLAGS!$CXXFLAGS$ac_delim
22005 ac_ct_CXX!$ac_ct_CXX$ac_delim
22006 CPPBIN!$CPPBIN$ac_delim
22007 TOOLSDIR!$TOOLSDIR$ac_delim
22008 XMKMF!$XMKMF$ac_delim
22009 CPP!$CPP$ac_delim
22010 X_CFLAGS!$X_CFLAGS$ac_delim
22011 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22012 X_LIBS!$X_LIBS$ac_delim
22013 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22014 FLEX!$FLEX$ac_delim
22015 BISON!$BISON$ac_delim
22016 AS!$AS$ac_delim
22017 ac_ct_AS!$ac_ct_AS$ac_delim
22018 LD!$LD$ac_delim
22019 AR!$AR$ac_delim
22020 RANLIB!$RANLIB$ac_delim
22021 STRIP!$STRIP$ac_delim
22022 WINDRES!$WINDRES$ac_delim
22023 LN_S!$LN_S$ac_delim
22024 LN!$LN$ac_delim
22025 GREP!$GREP$ac_delim
22026 EGREP!$EGREP$ac_delim
22027 LDCONFIG!$LDCONFIG$ac_delim
22028 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22029 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22030 _ACEOF
22032 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22033 break
22034 elif $ac_last_try; then
22035 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22036 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22037 { (exit 1); exit 1; }; }
22038 else
22039 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22041 done
22043 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22044 if test -n "$ac_eof"; then
22045 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22046 ac_eof=`expr $ac_eof + 1`
22049 cat >>$CONFIG_STATUS <<_ACEOF
22050 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22051 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22052 /^[ ]*@MAKE_RULES@[ ]*$/{
22053 r $MAKE_RULES
22056 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22057 r $MAKE_DLL_RULES
22060 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22061 r $MAKE_IMPLIB_RULES
22064 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22065 r $MAKE_TEST_RULES
22068 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22069 r $MAKE_PROG_RULES
22072 _ACEOF
22073 sed '
22074 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22075 s/^/s,@/; s/!/@,|#_!!_#|/
22078 s/'"$ac_delim"'$/,g/; t
22079 s/$/\\/; p
22080 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22081 ' >>$CONFIG_STATUS <conf$$subs.sed
22082 rm -f conf$$subs.sed
22083 cat >>$CONFIG_STATUS <<_ACEOF
22084 CEOF$ac_eof
22085 _ACEOF
22088 ac_delim='%!_!# '
22089 for ac_last_try in false false false false false :; do
22090 cat >conf$$subs.sed <<_ACEOF
22091 INSTALL_DATA!$INSTALL_DATA$ac_delim
22092 LINT!$LINT$ac_delim
22093 LINTFLAGS!$LINTFLAGS$ac_delim
22094 FONTFORGE!$FONTFORGE$ac_delim
22095 PKG_CONFIG!$PKG_CONFIG$ac_delim
22096 PRELINK!$PRELINK$ac_delim
22097 LIBPTHREAD!$LIBPTHREAD$ac_delim
22098 XLIB!$XLIB$ac_delim
22099 XFILES!$XFILES$ac_delim
22100 OPENGLFILES!$OPENGLFILES$ac_delim
22101 GLU32FILES!$GLU32FILES$ac_delim
22102 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22103 QUARTZFILES!$QUARTZFILES$ac_delim
22104 DLLEXT!$DLLEXT$ac_delim
22105 DLLFLAGS!$DLLFLAGS$ac_delim
22106 LDSHARED!$LDSHARED$ac_delim
22107 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22108 LIBEXT!$LIBEXT$ac_delim
22109 IMPLIBEXT!$IMPLIBEXT$ac_delim
22110 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22111 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22112 LDD!$LDD$ac_delim
22113 DLLTOOL!$DLLTOOL$ac_delim
22114 DLLWRAP!$DLLWRAP$ac_delim
22115 MINGWAR!$MINGWAR$ac_delim
22116 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22117 IOKITLIB!$IOKITLIB$ac_delim
22118 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22119 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22120 COREAUDIO!$COREAUDIO$ac_delim
22121 CARBONLIB!$CARBONLIB$ac_delim
22122 CROSSTEST!$CROSSTEST$ac_delim
22123 CROSSCC!$CROSSCC$ac_delim
22124 CROSSWINDRES!$CROSSWINDRES$ac_delim
22125 NASLIBS!$NASLIBS$ac_delim
22126 XML2LIBS!$XML2LIBS$ac_delim
22127 XML2INCL!$XML2INCL$ac_delim
22128 XSLTLIBS!$XSLTLIBS$ac_delim
22129 XSLTINCL!$XSLTINCL$ac_delim
22130 HALINCL!$HALINCL$ac_delim
22131 sane_devel!$sane_devel$ac_delim
22132 SANEINCL!$SANEINCL$ac_delim
22133 gphoto2_devel!$gphoto2_devel$ac_delim
22134 gphoto2port_devel!$gphoto2port_devel$ac_delim
22135 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22136 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22137 ICULIBS!$ICULIBS$ac_delim
22138 RESOLVLIBS!$RESOLVLIBS$ac_delim
22139 LCMSLIBS!$LCMSLIBS$ac_delim
22140 LDAPLIBS!$LDAPLIBS$ac_delim
22141 ft_devel!$ft_devel$ac_delim
22142 FREETYPELIBS!$FREETYPELIBS$ac_delim
22143 FREETYPEINCL!$FREETYPEINCL$ac_delim
22144 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22145 ESDCONFIG!$ESDCONFIG$ac_delim
22146 ESDLIBS!$ESDLIBS$ac_delim
22147 ESDINCL!$ESDINCL$ac_delim
22148 ALSALIBS!$ALSALIBS$ac_delim
22149 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22150 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22151 BUILTINFLAG!$BUILTINFLAG$ac_delim
22152 LDPATH!$LDPATH$ac_delim
22153 CRTLIBS!$CRTLIBS$ac_delim
22154 SOCKETLIBS!$SOCKETLIBS$ac_delim
22155 MAIN_BINARY!$MAIN_BINARY$ac_delim
22156 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22157 LIBDL!$LIBDL$ac_delim
22158 LIBPOLL!$LIBPOLL$ac_delim
22159 DEPENDENCIES!$DEPENDENCIES$ac_delim
22160 LIBOBJS!$LIBOBJS$ac_delim
22161 LTLIBOBJS!$LTLIBOBJS$ac_delim
22162 _ACEOF
22164 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
22165 break
22166 elif $ac_last_try; then
22167 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22168 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22169 { (exit 1); exit 1; }; }
22170 else
22171 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22173 done
22175 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22176 if test -n "$ac_eof"; then
22177 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22178 ac_eof=`expr $ac_eof + 1`
22181 cat >>$CONFIG_STATUS <<_ACEOF
22182 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22183 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22184 _ACEOF
22185 sed '
22186 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22187 s/^/s,@/; s/!/@,|#_!!_#|/
22190 s/'"$ac_delim"'$/,g/; t
22191 s/$/\\/; p
22192 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22193 ' >>$CONFIG_STATUS <conf$$subs.sed
22194 rm -f conf$$subs.sed
22195 cat >>$CONFIG_STATUS <<_ACEOF
22196 :end
22197 s/|#_!!_#|//g
22198 CEOF$ac_eof
22199 _ACEOF
22202 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22203 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22204 # trailing colons and then remove the whole line if VPATH becomes empty
22205 # (actually we leave an empty line to preserve line numbers).
22206 if test "x$srcdir" = x.; then
22207 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22208 s/:*\$(srcdir):*/:/
22209 s/:*\${srcdir}:*/:/
22210 s/:*@srcdir@:*/:/
22211 s/^\([^=]*=[ ]*\):*/\1/
22212 s/:*$//
22213 s/^[^=]*=[ ]*$//
22217 cat >>$CONFIG_STATUS <<\_ACEOF
22218 fi # test -n "$CONFIG_FILES"
22221 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22223 case $ac_tag in
22224 :[FHLC]) ac_mode=$ac_tag; continue;;
22225 esac
22226 case $ac_mode$ac_tag in
22227 :[FHL]*:*);;
22228 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22229 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22230 { (exit 1); exit 1; }; };;
22231 :[FH]-) ac_tag=-:-;;
22232 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22233 esac
22234 ac_save_IFS=$IFS
22235 IFS=:
22236 set x $ac_tag
22237 IFS=$ac_save_IFS
22238 shift
22239 ac_file=$1
22240 shift
22242 case $ac_mode in
22243 :L) ac_source=$1;;
22244 :[FH])
22245 ac_file_inputs=
22246 for ac_f
22248 case $ac_f in
22249 -) ac_f="$tmp/stdin";;
22250 *) # Look for the file first in the build tree, then in the source tree
22251 # (if the path is not absolute). The absolute path cannot be DOS-style,
22252 # because $ac_f cannot contain `:'.
22253 test -f "$ac_f" ||
22254 case $ac_f in
22255 [\\/$]*) false;;
22256 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22257 esac ||
22258 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22259 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22260 { (exit 1); exit 1; }; };;
22261 esac
22262 ac_file_inputs="$ac_file_inputs $ac_f"
22263 done
22265 # Let's still pretend it is `configure' which instantiates (i.e., don't
22266 # use $as_me), people would be surprised to read:
22267 # /* config.h. Generated by config.status. */
22268 configure_input="Generated from "`IFS=:
22269 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22270 if test x"$ac_file" != x-; then
22271 configure_input="$ac_file. $configure_input"
22272 { echo "$as_me:$LINENO: creating $ac_file" >&5
22273 echo "$as_me: creating $ac_file" >&6;}
22276 case $ac_tag in
22277 *:-:* | *:-) cat >"$tmp/stdin";;
22278 esac
22280 esac
22282 ac_dir=`$as_dirname -- "$ac_file" ||
22283 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22284 X"$ac_file" : 'X\(//\)[^/]' \| \
22285 X"$ac_file" : 'X\(//\)$' \| \
22286 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22287 echo X"$ac_file" |
22288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22289 s//\1/
22292 /^X\(\/\/\)[^/].*/{
22293 s//\1/
22296 /^X\(\/\/\)$/{
22297 s//\1/
22300 /^X\(\/\).*/{
22301 s//\1/
22304 s/.*/./; q'`
22305 { as_dir="$ac_dir"
22306 case $as_dir in #(
22307 -*) as_dir=./$as_dir;;
22308 esac
22309 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22310 as_dirs=
22311 while :; do
22312 case $as_dir in #(
22313 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22314 *) as_qdir=$as_dir;;
22315 esac
22316 as_dirs="'$as_qdir' $as_dirs"
22317 as_dir=`$as_dirname -- "$as_dir" ||
22318 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22319 X"$as_dir" : 'X\(//\)[^/]' \| \
22320 X"$as_dir" : 'X\(//\)$' \| \
22321 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22322 echo X"$as_dir" |
22323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22324 s//\1/
22327 /^X\(\/\/\)[^/].*/{
22328 s//\1/
22331 /^X\(\/\/\)$/{
22332 s//\1/
22335 /^X\(\/\).*/{
22336 s//\1/
22339 s/.*/./; q'`
22340 test -d "$as_dir" && break
22341 done
22342 test -z "$as_dirs" || eval "mkdir $as_dirs"
22343 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22344 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22345 { (exit 1); exit 1; }; }; }
22346 ac_builddir=.
22348 case "$ac_dir" in
22349 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22351 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22352 # A ".." for each directory in $ac_dir_suffix.
22353 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22354 case $ac_top_builddir_sub in
22355 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22356 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22357 esac ;;
22358 esac
22359 ac_abs_top_builddir=$ac_pwd
22360 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22361 # for backward compatibility:
22362 ac_top_builddir=$ac_top_build_prefix
22364 case $srcdir in
22365 .) # We are building in place.
22366 ac_srcdir=.
22367 ac_top_srcdir=$ac_top_builddir_sub
22368 ac_abs_top_srcdir=$ac_pwd ;;
22369 [\\/]* | ?:[\\/]* ) # Absolute name.
22370 ac_srcdir=$srcdir$ac_dir_suffix;
22371 ac_top_srcdir=$srcdir
22372 ac_abs_top_srcdir=$srcdir ;;
22373 *) # Relative name.
22374 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22375 ac_top_srcdir=$ac_top_build_prefix$srcdir
22376 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22377 esac
22378 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22381 case $ac_mode in
22384 # CONFIG_FILE
22387 case $INSTALL in
22388 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22389 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22390 esac
22391 _ACEOF
22393 cat >>$CONFIG_STATUS <<\_ACEOF
22394 # If the template does not know about datarootdir, expand it.
22395 # FIXME: This hack should be removed a few years after 2.60.
22396 ac_datarootdir_hack=; ac_datarootdir_seen=
22398 case `sed -n '/datarootdir/ {
22402 /@datadir@/p
22403 /@docdir@/p
22404 /@infodir@/p
22405 /@localedir@/p
22406 /@mandir@/p
22407 ' $ac_file_inputs` in
22408 *datarootdir*) ac_datarootdir_seen=yes;;
22409 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22410 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22411 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22412 _ACEOF
22413 cat >>$CONFIG_STATUS <<_ACEOF
22414 ac_datarootdir_hack='
22415 s&@datadir@&$datadir&g
22416 s&@docdir@&$docdir&g
22417 s&@infodir@&$infodir&g
22418 s&@localedir@&$localedir&g
22419 s&@mandir@&$mandir&g
22420 s&\\\${datarootdir}&$datarootdir&g' ;;
22421 esac
22422 _ACEOF
22424 # Neutralize VPATH when `$srcdir' = `.'.
22425 # Shell code in configure.ac might set extrasub.
22426 # FIXME: do we really want to maintain this feature?
22427 cat >>$CONFIG_STATUS <<_ACEOF
22428 sed "$ac_vpsub
22429 $extrasub
22430 _ACEOF
22431 cat >>$CONFIG_STATUS <<\_ACEOF
22433 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22434 s&@configure_input@&$configure_input&;t t
22435 s&@top_builddir@&$ac_top_builddir_sub&;t t
22436 s&@srcdir@&$ac_srcdir&;t t
22437 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22438 s&@top_srcdir@&$ac_top_srcdir&;t t
22439 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22440 s&@builddir@&$ac_builddir&;t t
22441 s&@abs_builddir@&$ac_abs_builddir&;t t
22442 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22443 s&@INSTALL@&$ac_INSTALL&;t t
22444 $ac_datarootdir_hack
22445 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22447 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22448 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22449 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22450 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22451 which seems to be undefined. Please make sure it is defined." >&5
22452 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22453 which seems to be undefined. Please make sure it is defined." >&2;}
22455 rm -f "$tmp/stdin"
22456 case $ac_file in
22457 -) cat "$tmp/out"; rm -f "$tmp/out";;
22458 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22459 esac
22463 # CONFIG_HEADER
22465 _ACEOF
22467 # Transform confdefs.h into a sed script `conftest.defines', that
22468 # substitutes the proper values into config.h.in to produce config.h.
22469 rm -f conftest.defines conftest.tail
22470 # First, append a space to every undef/define line, to ease matching.
22471 echo 's/$/ /' >conftest.defines
22472 # Then, protect against being on the right side of a sed subst, or in
22473 # an unquoted here document, in config.status. If some macros were
22474 # called several times there might be several #defines for the same
22475 # symbol, which is useless. But do not sort them, since the last
22476 # AC_DEFINE must be honored.
22477 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22478 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22479 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22480 # PARAMS is the parameter list in the macro definition--in most cases, it's
22481 # just an empty string.
22482 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22483 ac_dB='\\)[ (].*,\\1define\\2'
22484 ac_dC=' '
22485 ac_dD=' ,'
22487 uniq confdefs.h |
22488 sed -n '
22489 t rset
22490 :rset
22491 s/^[ ]*#[ ]*define[ ][ ]*//
22492 t ok
22495 s/[\\&,]/\\&/g
22496 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22497 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22498 ' >>conftest.defines
22500 # Remove the space that was appended to ease matching.
22501 # Then replace #undef with comments. This is necessary, for
22502 # example, in the case of _POSIX_SOURCE, which is predefined and required
22503 # on some systems where configure will not decide to define it.
22504 # (The regexp can be short, since the line contains either #define or #undef.)
22505 echo 's/ $//
22506 s,^[ #]*u.*,/* & */,' >>conftest.defines
22508 # Break up conftest.defines:
22509 ac_max_sed_lines=50
22511 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22512 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22513 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22514 # et cetera.
22515 ac_in='$ac_file_inputs'
22516 ac_out='"$tmp/out1"'
22517 ac_nxt='"$tmp/out2"'
22519 while :
22521 # Write a here document:
22522 cat >>$CONFIG_STATUS <<_ACEOF
22523 # First, check the format of the line:
22524 cat >"\$tmp/defines.sed" <<\\CEOF
22525 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22526 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22528 :def
22529 _ACEOF
22530 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22531 echo 'CEOF
22532 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22533 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22534 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22535 grep . conftest.tail >/dev/null || break
22536 rm -f conftest.defines
22537 mv conftest.tail conftest.defines
22538 done
22539 rm -f conftest.defines conftest.tail
22541 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22542 cat >>$CONFIG_STATUS <<\_ACEOF
22543 if test x"$ac_file" != x-; then
22544 echo "/* $configure_input */" >"$tmp/config.h"
22545 cat "$ac_result" >>"$tmp/config.h"
22546 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22547 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22548 echo "$as_me: $ac_file is unchanged" >&6;}
22549 else
22550 rm -f $ac_file
22551 mv "$tmp/config.h" $ac_file
22553 else
22554 echo "/* $configure_input */"
22555 cat "$ac_result"
22557 rm -f "$tmp/out12"
22560 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22561 echo "$as_me: executing $ac_file commands" >&6;}
22563 esac
22566 case $ac_file$ac_mode in
22567 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22568 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22569 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22570 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22571 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22572 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22573 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22574 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22575 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22576 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22577 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22578 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22579 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22581 esac
22582 done # for ac_tag
22585 { (exit 0); exit 0; }
22586 _ACEOF
22587 chmod +x $CONFIG_STATUS
22588 ac_clean_files=$ac_clean_files_save
22591 # configure is writing to config.log, and then calls config.status.
22592 # config.status does its own redirection, appending to config.log.
22593 # Unfortunately, on DOS this fails, as config.log is still kept open
22594 # by configure, so config.status won't be able to write to it; its
22595 # output is simply discarded. So we exec the FD to /dev/null,
22596 # effectively closing config.log, so it can be properly (re)opened and
22597 # appended to by config.status. When coming back to configure, we
22598 # need to make the FD available again.
22599 if test "$no_create" != yes; then
22600 ac_cs_success=:
22601 ac_config_status_args=
22602 test "$silent" = yes &&
22603 ac_config_status_args="$ac_config_status_args --quiet"
22604 exec 5>/dev/null
22605 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22606 exec 5>>config.log
22607 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22608 # would make configure fail if this is the last instruction.
22609 $ac_cs_success || { (exit 1); exit 1; }
22613 if test "$no_create" = "yes"
22614 then
22615 exit 0
22618 ac_save_IFS="$IFS"
22619 IFS="|"
22620 if test "$verbose" = "yes"; then
22621 for msg in $wine_notices; do
22622 if test -n "$msg"; then
22623 echo >&2
22624 { echo "$as_me:$LINENO: $msg" >&5
22625 echo "$as_me: $msg" >&6;}
22627 done
22629 for msg in $wine_warnings; do
22630 if test -n "$msg"; then
22631 echo >&2
22632 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22633 echo "$as_me: WARNING: $msg" >&2;}
22635 done
22636 IFS="$ac_save_IFS"
22638 echo
22639 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22640 echo