Assorted spelling fixes.
[wine/wine64.git] / configure
blob14b4aa66aabcacd25b14df111280f84ca7d63141
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 "$LD" || LD="ld -m elf_i386"
1971 test -n "$AS" || AS="as --32"
1972 host_cpu="i386"
1975 esac
1977 case $host_cpu in
1978 *i[3456789]86*)
1979 if test "x$enable_win16" != "xno"
1980 then
1981 enable_win16="yes"
1984 esac
1986 WIN16_FILES="\$(WIN16_FILES)"
1988 WIN16_INSTALL="\$(WIN16_INSTALL)"
1990 if test "x$enable_win16" != "xyes"
1991 then
1992 WIN16_FILES=""
1993 WIN16_INSTALL=""
1996 case "$srcdir" in
1997 .) ;;
1998 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
1999 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2000 You need to run 'make distclean' in the source tree first." >&5
2001 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2002 You need to run 'make distclean' in the source tree first." >&2;}
2003 { (exit 1); exit 1; }; }
2004 fi ;;
2005 esac
2008 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2009 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2010 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2011 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 else
2014 cat >conftest.make <<\_ACEOF
2015 SHELL = /bin/sh
2016 all:
2017 @echo '@@@%%%=$(MAKE)=@@@%%%'
2018 _ACEOF
2019 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2020 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2021 *@@@%%%=?*=@@@%%%*)
2022 eval ac_cv_prog_make_${ac_make}_set=yes;;
2024 eval ac_cv_prog_make_${ac_make}_set=no;;
2025 esac
2026 rm -f conftest.make
2028 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2029 { echo "$as_me:$LINENO: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6; }
2031 SET_MAKE=
2032 else
2033 { echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6; }
2035 SET_MAKE="MAKE=${MAKE-make}"
2038 ac_ext=c
2039 ac_cpp='$CPP $CPPFLAGS'
2040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2043 if test -n "$ac_tool_prefix"; then
2044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2045 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2048 if test "${ac_cv_prog_CC+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 else
2051 if test -n "$CC"; then
2052 ac_cv_prog_CC="$CC" # Let the user override the test.
2053 else
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 for as_dir in $PATH
2057 IFS=$as_save_IFS
2058 test -z "$as_dir" && as_dir=.
2059 for ac_exec_ext in '' $ac_executable_extensions; do
2060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2061 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 break 2
2065 done
2066 done
2067 IFS=$as_save_IFS
2071 CC=$ac_cv_prog_CC
2072 if test -n "$CC"; then
2073 { echo "$as_me:$LINENO: result: $CC" >&5
2074 echo "${ECHO_T}$CC" >&6; }
2075 else
2076 { echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6; }
2082 if test -z "$ac_cv_prog_CC"; then
2083 ac_ct_CC=$CC
2084 # Extract the first word of "gcc", so it can be a program name with args.
2085 set dummy gcc; ac_word=$2
2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 else
2091 if test -n "$ac_ct_CC"; then
2092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2093 else
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 for as_dir in $PATH
2097 IFS=$as_save_IFS
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101 ac_cv_prog_ac_ct_CC="gcc"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 break 2
2105 done
2106 done
2107 IFS=$as_save_IFS
2111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2112 if test -n "$ac_ct_CC"; then
2113 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2114 echo "${ECHO_T}$ac_ct_CC" >&6; }
2115 else
2116 { echo "$as_me:$LINENO: result: no" >&5
2117 echo "${ECHO_T}no" >&6; }
2120 if test "x$ac_ct_CC" = x; then
2121 CC=""
2122 else
2123 case $cross_compiling:$ac_tool_warned in
2124 yes:)
2125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2126 whose name does not start with the host triplet. If you think this
2127 configuration is useful to you, please write to autoconf@gnu.org." >&5
2128 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2129 whose name does not start with the host triplet. If you think this
2130 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2131 ac_tool_warned=yes ;;
2132 esac
2133 CC=$ac_ct_CC
2135 else
2136 CC="$ac_cv_prog_CC"
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2162 done
2163 done
2164 IFS=$as_save_IFS
2168 CC=$ac_cv_prog_CC
2169 if test -n "$CC"; then
2170 { echo "$as_me:$LINENO: result: $CC" >&5
2171 echo "${ECHO_T}$CC" >&6; }
2172 else
2173 { echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6; }
2180 if test -z "$CC"; then
2181 # Extract the first word of "cc", so it can be a program name with args.
2182 set dummy cc; ac_word=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_CC+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 else
2188 if test -n "$CC"; then
2189 ac_cv_prog_CC="$CC" # Let the user override the test.
2190 else
2191 ac_prog_rejected=no
2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 for as_dir in $PATH
2195 IFS=$as_save_IFS
2196 test -z "$as_dir" && as_dir=.
2197 for ac_exec_ext in '' $ac_executable_extensions; do
2198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2199 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2200 ac_prog_rejected=yes
2201 continue
2203 ac_cv_prog_CC="cc"
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 break 2
2207 done
2208 done
2209 IFS=$as_save_IFS
2211 if test $ac_prog_rejected = yes; then
2212 # We found a bogon in the path, so make sure we never use it.
2213 set dummy $ac_cv_prog_CC
2214 shift
2215 if test $# != 0; then
2216 # We chose a different compiler from the bogus one.
2217 # However, it has the same basename, so the bogon will be chosen
2218 # first if we set CC to just the basename; use the full file name.
2219 shift
2220 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2225 CC=$ac_cv_prog_CC
2226 if test -n "$CC"; then
2227 { echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6; }
2229 else
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2236 if test -z "$CC"; then
2237 if test -n "$ac_tool_prefix"; then
2238 for ac_prog in cl.exe
2240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 else
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2249 else
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for as_dir in $PATH
2253 IFS=$as_save_IFS
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2257 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 break 2
2261 done
2262 done
2263 IFS=$as_save_IFS
2267 CC=$ac_cv_prog_CC
2268 if test -n "$CC"; then
2269 { echo "$as_me:$LINENO: result: $CC" >&5
2270 echo "${ECHO_T}$CC" >&6; }
2271 else
2272 { echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6; }
2277 test -n "$CC" && break
2278 done
2280 if test -z "$CC"; then
2281 ac_ct_CC=$CC
2282 for ac_prog in cl.exe
2284 # Extract the first word of "$ac_prog", so it can be a program name with args.
2285 set dummy $ac_prog; ac_word=$2
2286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2288 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 else
2291 if test -n "$ac_ct_CC"; then
2292 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2293 else
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 for as_dir in $PATH
2297 IFS=$as_save_IFS
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_ac_ct_CC="$ac_prog"
2302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 break 2
2305 done
2306 done
2307 IFS=$as_save_IFS
2311 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2312 if test -n "$ac_ct_CC"; then
2313 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2314 echo "${ECHO_T}$ac_ct_CC" >&6; }
2315 else
2316 { echo "$as_me:$LINENO: result: no" >&5
2317 echo "${ECHO_T}no" >&6; }
2321 test -n "$ac_ct_CC" && break
2322 done
2324 if test "x$ac_ct_CC" = x; then
2325 CC=""
2326 else
2327 case $cross_compiling:$ac_tool_warned in
2328 yes:)
2329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2330 whose name does not start with the host triplet. If you think this
2331 configuration is useful to you, please write to autoconf@gnu.org." >&5
2332 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2333 whose name does not start with the host triplet. If you think this
2334 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2335 ac_tool_warned=yes ;;
2336 esac
2337 CC=$ac_ct_CC
2344 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2345 See \`config.log' for more details." >&5
2346 echo "$as_me: error: no acceptable C compiler found in \$PATH
2347 See \`config.log' for more details." >&2;}
2348 { (exit 1); exit 1; }; }
2350 # Provide some information about the compiler.
2351 echo "$as_me:$LINENO: checking for C compiler version" >&5
2352 ac_compiler=`set X $ac_compile; echo $2`
2353 { (ac_try="$ac_compiler --version >&5"
2354 case "(($ac_try" in
2355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2356 *) ac_try_echo=$ac_try;;
2357 esac
2358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2359 (eval "$ac_compiler --version >&5") 2>&5
2360 ac_status=$?
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2363 { (ac_try="$ac_compiler -v >&5"
2364 case "(($ac_try" in
2365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2367 esac
2368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2369 (eval "$ac_compiler -v >&5") 2>&5
2370 ac_status=$?
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }
2373 { (ac_try="$ac_compiler -V >&5"
2374 case "(($ac_try" in
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2377 esac
2378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2379 (eval "$ac_compiler -V >&5") 2>&5
2380 ac_status=$?
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }
2384 cat >conftest.$ac_ext <<_ACEOF
2385 /* confdefs.h. */
2386 _ACEOF
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2392 main ()
2396 return 0;
2398 _ACEOF
2399 ac_clean_files_save=$ac_clean_files
2400 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2401 # Try to create an executable without -o first, disregard a.out.
2402 # It will help us diagnose broken compilers, and finding out an intuition
2403 # of exeext.
2404 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2405 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2406 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2408 # List of possible output files, starting from the most likely.
2409 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2410 # only as a last resort. b.out is created by i960 compilers.
2411 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2413 # The IRIX 6 linker writes into existing files which may not be
2414 # executable, retaining their permissions. Remove them first so a
2415 # subsequent execution test works.
2416 ac_rmfiles=
2417 for ac_file in $ac_files
2419 case $ac_file in
2420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2421 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2422 esac
2423 done
2424 rm -f $ac_rmfiles
2426 if { (ac_try="$ac_link_default"
2427 case "(($ac_try" in
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2430 esac
2431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2432 (eval "$ac_link_default") 2>&5
2433 ac_status=$?
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; then
2436 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2437 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2438 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2439 # so that the user can short-circuit this test for compilers unknown to
2440 # Autoconf.
2441 for ac_file in $ac_files ''
2443 test -f "$ac_file" || continue
2444 case $ac_file in
2445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2447 [ab].out )
2448 # We found the default executable, but exeext='' is most
2449 # certainly right.
2450 break;;
2451 *.* )
2452 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2453 then :; else
2454 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2456 # We set ac_cv_exeext here because the later test for it is not
2457 # safe: cross compilers may not add the suffix if given an `-o'
2458 # argument, so we may need to know it at that point already.
2459 # Even if this section looks crufty: it has the advantage of
2460 # actually working.
2461 break;;
2463 break;;
2464 esac
2465 done
2466 test "$ac_cv_exeext" = no && ac_cv_exeext=
2468 else
2469 ac_file=''
2472 { echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6; }
2474 if test -z "$ac_file"; then
2475 echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2478 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2479 See \`config.log' for more details." >&5
2480 echo "$as_me: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&2;}
2482 { (exit 77); exit 77; }; }
2485 ac_exeext=$ac_cv_exeext
2487 # Check that the compiler produces executables we can run. If not, either
2488 # the compiler is broken, or we cross compile.
2489 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2490 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2491 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2492 # If not cross compiling, check that we can run a simple program.
2493 if test "$cross_compiling" != yes; then
2494 if { ac_try='./$ac_file'
2495 { (case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2498 esac
2499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2500 (eval "$ac_try") 2>&5
2501 ac_status=$?
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2504 cross_compiling=no
2505 else
2506 if test "$cross_compiling" = maybe; then
2507 cross_compiling=yes
2508 else
2509 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \`config.log' for more details." >&5
2512 echo "$as_me: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&2;}
2515 { (exit 1); exit 1; }; }
2519 { echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6; }
2522 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2523 ac_clean_files=$ac_clean_files_save
2524 # Check that the compiler produces executables we can run. If not, either
2525 # the compiler is broken, or we cross compile.
2526 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2527 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2528 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2529 echo "${ECHO_T}$cross_compiling" >&6; }
2531 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2532 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2533 if { (ac_try="$ac_link"
2534 case "(($ac_try" in
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2537 esac
2538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2539 (eval "$ac_link") 2>&5
2540 ac_status=$?
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; then
2543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2545 # work properly (i.e., refer to `conftest.exe'), while it won't with
2546 # `rm'.
2547 for ac_file in conftest.exe conftest conftest.*; do
2548 test -f "$ac_file" || continue
2549 case $ac_file in
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2552 break;;
2553 * ) break;;
2554 esac
2555 done
2556 else
2557 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2558 See \`config.log' for more details." >&5
2559 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2560 See \`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2564 rm -f conftest$ac_cv_exeext
2565 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2566 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2568 rm -f conftest.$ac_ext
2569 EXEEXT=$ac_cv_exeext
2570 ac_exeext=$EXEEXT
2571 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2572 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2573 if test "${ac_cv_objext+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 else
2576 cat >conftest.$ac_ext <<_ACEOF
2577 /* confdefs.h. */
2578 _ACEOF
2579 cat confdefs.h >>conftest.$ac_ext
2580 cat >>conftest.$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2584 main ()
2588 return 0;
2590 _ACEOF
2591 rm -f conftest.o conftest.obj
2592 if { (ac_try="$ac_compile"
2593 case "(($ac_try" in
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2596 esac
2597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598 (eval "$ac_compile") 2>&5
2599 ac_status=$?
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file in conftest.o conftest.obj conftest.*; do
2603 test -f "$ac_file" || continue;
2604 case $ac_file in
2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2606 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2607 break;;
2608 esac
2609 done
2610 else
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2614 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&5
2616 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2617 See \`config.log' for more details." >&2;}
2618 { (exit 1); exit 1; }; }
2621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2623 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2624 echo "${ECHO_T}$ac_cv_objext" >&6; }
2625 OBJEXT=$ac_cv_objext
2626 ac_objext=$OBJEXT
2627 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2628 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 else
2632 cat >conftest.$ac_ext <<_ACEOF
2633 /* confdefs.h. */
2634 _ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2640 main ()
2642 #ifndef __GNUC__
2643 choke me
2644 #endif
2647 return 0;
2649 _ACEOF
2650 rm -f conftest.$ac_objext
2651 if { (ac_try="$ac_compile"
2652 case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2655 esac
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_compile") 2>conftest.er1
2658 ac_status=$?
2659 grep -v '^ *+' conftest.er1 >conftest.err
2660 rm -f conftest.er1
2661 cat conftest.err >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest.$ac_objext; then
2667 ac_compiler_gnu=yes
2668 else
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 ac_compiler_gnu=no
2675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2676 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2679 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2680 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2681 GCC=`test $ac_compiler_gnu = yes && echo yes`
2682 ac_test_CFLAGS=${CFLAGS+set}
2683 ac_save_CFLAGS=$CFLAGS
2684 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2685 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2686 if test "${ac_cv_prog_cc_g+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 else
2689 ac_save_c_werror_flag=$ac_c_werror_flag
2690 ac_c_werror_flag=yes
2691 ac_cv_prog_cc_g=no
2692 CFLAGS="-g"
2693 cat >conftest.$ac_ext <<_ACEOF
2694 /* confdefs.h. */
2695 _ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2701 main ()
2705 return 0;
2707 _ACEOF
2708 rm -f conftest.$ac_objext
2709 if { (ac_try="$ac_compile"
2710 case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2713 esac
2714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2715 (eval "$ac_compile") 2>conftest.er1
2716 ac_status=$?
2717 grep -v '^ *+' conftest.er1 >conftest.err
2718 rm -f conftest.er1
2719 cat conftest.err >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } && {
2722 test -z "$ac_c_werror_flag" ||
2723 test ! -s conftest.err
2724 } && test -s conftest.$ac_objext; then
2725 ac_cv_prog_cc_g=yes
2726 else
2727 echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.$ac_ext >&5
2730 CFLAGS=""
2731 cat >conftest.$ac_ext <<_ACEOF
2732 /* confdefs.h. */
2733 _ACEOF
2734 cat confdefs.h >>conftest.$ac_ext
2735 cat >>conftest.$ac_ext <<_ACEOF
2736 /* end confdefs.h. */
2739 main ()
2743 return 0;
2745 _ACEOF
2746 rm -f conftest.$ac_objext
2747 if { (ac_try="$ac_compile"
2748 case "(($ac_try" in
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2751 esac
2752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2753 (eval "$ac_compile") 2>conftest.er1
2754 ac_status=$?
2755 grep -v '^ *+' conftest.er1 >conftest.err
2756 rm -f conftest.er1
2757 cat conftest.err >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then
2764 else
2765 echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2768 ac_c_werror_flag=$ac_save_c_werror_flag
2769 CFLAGS="-g"
2770 cat >conftest.$ac_ext <<_ACEOF
2771 /* confdefs.h. */
2772 _ACEOF
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2778 main ()
2782 return 0;
2784 _ACEOF
2785 rm -f conftest.$ac_objext
2786 if { (ac_try="$ac_compile"
2787 case "(($ac_try" in
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2790 esac
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2793 ac_status=$?
2794 grep -v '^ *+' conftest.er1 >conftest.err
2795 rm -f conftest.er1
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then
2802 ac_cv_prog_cc_g=yes
2803 else
2804 echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 ac_c_werror_flag=$ac_save_c_werror_flag
2819 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2820 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2821 if test "$ac_test_CFLAGS" = set; then
2822 CFLAGS=$ac_save_CFLAGS
2823 elif test $ac_cv_prog_cc_g = yes; then
2824 if test "$GCC" = yes; then
2825 CFLAGS="-g -O2"
2826 else
2827 CFLAGS="-g"
2829 else
2830 if test "$GCC" = yes; then
2831 CFLAGS="-O2"
2832 else
2833 CFLAGS=
2836 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2837 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2838 if test "${ac_cv_prog_cc_c89+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 else
2841 ac_cv_prog_cc_c89=no
2842 ac_save_CC=$CC
2843 cat >conftest.$ac_ext <<_ACEOF
2844 /* confdefs.h. */
2845 _ACEOF
2846 cat confdefs.h >>conftest.$ac_ext
2847 cat >>conftest.$ac_ext <<_ACEOF
2848 /* end confdefs.h. */
2849 #include <stdarg.h>
2850 #include <stdio.h>
2851 #include <sys/types.h>
2852 #include <sys/stat.h>
2853 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2854 struct buf { int x; };
2855 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2856 static char *e (p, i)
2857 char **p;
2858 int i;
2860 return p[i];
2862 static char *f (char * (*g) (char **, int), char **p, ...)
2864 char *s;
2865 va_list v;
2866 va_start (v,p);
2867 s = g (p, va_arg (v,int));
2868 va_end (v);
2869 return s;
2872 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2873 function prototypes and stuff, but not '\xHH' hex character constants.
2874 These don't provoke an error unfortunately, instead are silently treated
2875 as 'x'. The following induces an error, until -std is added to get
2876 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2877 array size at least. It's necessary to write '\x00'==0 to get something
2878 that's true only with -std. */
2879 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2881 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2882 inside strings and character constants. */
2883 #define FOO(x) 'x'
2884 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2886 int test (int i, double x);
2887 struct s1 {int (*f) (int a);};
2888 struct s2 {int (*f) (double a);};
2889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2890 int argc;
2891 char **argv;
2893 main ()
2895 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2897 return 0;
2899 _ACEOF
2900 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2901 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2903 CC="$ac_save_CC $ac_arg"
2904 rm -f conftest.$ac_objext
2905 if { (ac_try="$ac_compile"
2906 case "(($ac_try" in
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2909 esac
2910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2911 (eval "$ac_compile") 2>conftest.er1
2912 ac_status=$?
2913 grep -v '^ *+' conftest.er1 >conftest.err
2914 rm -f conftest.er1
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } && {
2918 test -z "$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 } && test -s conftest.$ac_objext; then
2921 ac_cv_prog_cc_c89=$ac_arg
2922 else
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2929 rm -f core conftest.err conftest.$ac_objext
2930 test "x$ac_cv_prog_cc_c89" != "xno" && break
2931 done
2932 rm -f conftest.$ac_ext
2933 CC=$ac_save_CC
2936 # AC_CACHE_VAL
2937 case "x$ac_cv_prog_cc_c89" in
2939 { echo "$as_me:$LINENO: result: none needed" >&5
2940 echo "${ECHO_T}none needed" >&6; } ;;
2941 xno)
2942 { echo "$as_me:$LINENO: result: unsupported" >&5
2943 echo "${ECHO_T}unsupported" >&6; } ;;
2945 CC="$CC $ac_cv_prog_cc_c89"
2946 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2947 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2948 esac
2951 ac_ext=c
2952 ac_cpp='$CPP $CPPFLAGS'
2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2957 ac_ext=cpp
2958 ac_cpp='$CXXCPP $CPPFLAGS'
2959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2962 if test -z "$CXX"; then
2963 if test -n "$CCC"; then
2964 CXX=$CCC
2965 else
2966 if test -n "$ac_tool_prefix"; then
2967 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2973 if test "${ac_cv_prog_CXX+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 else
2976 if test -n "$CXX"; then
2977 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2978 else
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 for as_dir in $PATH
2982 IFS=$as_save_IFS
2983 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 break 2
2990 done
2991 done
2992 IFS=$as_save_IFS
2996 CXX=$ac_cv_prog_CXX
2997 if test -n "$CXX"; then
2998 { echo "$as_me:$LINENO: result: $CXX" >&5
2999 echo "${ECHO_T}$CXX" >&6; }
3000 else
3001 { echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6; }
3006 test -n "$CXX" && break
3007 done
3009 if test -z "$CXX"; then
3010 ac_ct_CXX=$CXX
3011 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3013 # Extract the first word of "$ac_prog", so it can be a program name with args.
3014 set dummy $ac_prog; ac_word=$2
3015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3017 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 else
3020 if test -n "$ac_ct_CXX"; then
3021 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3022 else
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 for as_dir in $PATH
3026 IFS=$as_save_IFS
3027 test -z "$as_dir" && as_dir=.
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 ac_cv_prog_ac_ct_CXX="$ac_prog"
3031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3032 break 2
3034 done
3035 done
3036 IFS=$as_save_IFS
3040 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3041 if test -n "$ac_ct_CXX"; then
3042 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3043 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3044 else
3045 { echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6; }
3050 test -n "$ac_ct_CXX" && break
3051 done
3053 if test "x$ac_ct_CXX" = x; then
3054 CXX="g++"
3055 else
3056 case $cross_compiling:$ac_tool_warned in
3057 yes:)
3058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3059 whose name does not start with the host triplet. If you think this
3060 configuration is useful to you, please write to autoconf@gnu.org." >&5
3061 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3062 whose name does not start with the host triplet. If you think this
3063 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3064 ac_tool_warned=yes ;;
3065 esac
3066 CXX=$ac_ct_CXX
3072 # Provide some information about the compiler.
3073 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3074 ac_compiler=`set X $ac_compile; echo $2`
3075 { (ac_try="$ac_compiler --version >&5"
3076 case "(($ac_try" in
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3079 esac
3080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3081 (eval "$ac_compiler --version >&5") 2>&5
3082 ac_status=$?
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); }
3085 { (ac_try="$ac_compiler -v >&5"
3086 case "(($ac_try" in
3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3089 esac
3090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3091 (eval "$ac_compiler -v >&5") 2>&5
3092 ac_status=$?
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }
3095 { (ac_try="$ac_compiler -V >&5"
3096 case "(($ac_try" in
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3099 esac
3100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_compiler -V >&5") 2>&5
3102 ac_status=$?
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }
3106 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3107 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3108 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 else
3111 cat >conftest.$ac_ext <<_ACEOF
3112 /* confdefs.h. */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3119 main ()
3121 #ifndef __GNUC__
3122 choke me
3123 #endif
3126 return 0;
3128 _ACEOF
3129 rm -f conftest.$ac_objext
3130 if { (ac_try="$ac_compile"
3131 case "(($ac_try" in
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3134 esac
3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_compile") 2>conftest.er1
3137 ac_status=$?
3138 grep -v '^ *+' conftest.er1 >conftest.err
3139 rm -f conftest.er1
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } && {
3143 test -z "$ac_cxx_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then
3146 ac_compiler_gnu=yes
3147 else
3148 echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_compiler_gnu=no
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3158 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3159 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3160 GXX=`test $ac_compiler_gnu = yes && echo yes`
3161 ac_test_CXXFLAGS=${CXXFLAGS+set}
3162 ac_save_CXXFLAGS=$CXXFLAGS
3163 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3164 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3165 if test "${ac_cv_prog_cxx_g+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 else
3168 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3169 ac_cxx_werror_flag=yes
3170 ac_cv_prog_cxx_g=no
3171 CXXFLAGS="-g"
3172 cat >conftest.$ac_ext <<_ACEOF
3173 /* confdefs.h. */
3174 _ACEOF
3175 cat confdefs.h >>conftest.$ac_ext
3176 cat >>conftest.$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3180 main ()
3184 return 0;
3186 _ACEOF
3187 rm -f conftest.$ac_objext
3188 if { (ac_try="$ac_compile"
3189 case "(($ac_try" in
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3192 esac
3193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3194 (eval "$ac_compile") 2>conftest.er1
3195 ac_status=$?
3196 grep -v '^ *+' conftest.er1 >conftest.err
3197 rm -f conftest.er1
3198 cat conftest.err >&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } && {
3201 test -z "$ac_cxx_werror_flag" ||
3202 test ! -s conftest.err
3203 } && test -s conftest.$ac_objext; then
3204 ac_cv_prog_cxx_g=yes
3205 else
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3209 CXXFLAGS=""
3210 cat >conftest.$ac_ext <<_ACEOF
3211 /* confdefs.h. */
3212 _ACEOF
3213 cat confdefs.h >>conftest.$ac_ext
3214 cat >>conftest.$ac_ext <<_ACEOF
3215 /* end confdefs.h. */
3218 main ()
3222 return 0;
3224 _ACEOF
3225 rm -f conftest.$ac_objext
3226 if { (ac_try="$ac_compile"
3227 case "(($ac_try" in
3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3230 esac
3231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3232 (eval "$ac_compile") 2>conftest.er1
3233 ac_status=$?
3234 grep -v '^ *+' conftest.er1 >conftest.err
3235 rm -f conftest.er1
3236 cat conftest.err >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } && {
3239 test -z "$ac_cxx_werror_flag" ||
3240 test ! -s conftest.err
3241 } && test -s conftest.$ac_objext; then
3243 else
3244 echo "$as_me: failed program was:" >&5
3245 sed 's/^/| /' conftest.$ac_ext >&5
3247 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3248 CXXFLAGS="-g"
3249 cat >conftest.$ac_ext <<_ACEOF
3250 /* confdefs.h. */
3251 _ACEOF
3252 cat confdefs.h >>conftest.$ac_ext
3253 cat >>conftest.$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3257 main ()
3261 return 0;
3263 _ACEOF
3264 rm -f conftest.$ac_objext
3265 if { (ac_try="$ac_compile"
3266 case "(($ac_try" in
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3269 esac
3270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3271 (eval "$ac_compile") 2>conftest.er1
3272 ac_status=$?
3273 grep -v '^ *+' conftest.er1 >conftest.err
3274 rm -f conftest.er1
3275 cat conftest.err >&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); } && {
3278 test -z "$ac_cxx_werror_flag" ||
3279 test ! -s conftest.err
3280 } && test -s conftest.$ac_objext; then
3281 ac_cv_prog_cxx_g=yes
3282 else
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3298 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3299 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3300 if test "$ac_test_CXXFLAGS" = set; then
3301 CXXFLAGS=$ac_save_CXXFLAGS
3302 elif test $ac_cv_prog_cxx_g = yes; then
3303 if test "$GXX" = yes; then
3304 CXXFLAGS="-g -O2"
3305 else
3306 CXXFLAGS="-g"
3308 else
3309 if test "$GXX" = yes; then
3310 CXXFLAGS="-O2"
3311 else
3312 CXXFLAGS=
3315 ac_ext=c
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3321 if test -n "$ac_tool_prefix"; then
3322 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3323 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3326 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 else
3329 if test -n "$CPPBIN"; then
3330 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3331 else
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333 for as_dir in $PATH
3335 IFS=$as_save_IFS
3336 test -z "$as_dir" && as_dir=.
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3339 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 break 2
3343 done
3344 done
3345 IFS=$as_save_IFS
3349 CPPBIN=$ac_cv_prog_CPPBIN
3350 if test -n "$CPPBIN"; then
3351 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3352 echo "${ECHO_T}$CPPBIN" >&6; }
3353 else
3354 { echo "$as_me:$LINENO: result: no" >&5
3355 echo "${ECHO_T}no" >&6; }
3360 if test -z "$ac_cv_prog_CPPBIN"; then
3361 ac_ct_CPPBIN=$CPPBIN
3362 # Extract the first word of "cpp", so it can be a program name with args.
3363 set dummy cpp; ac_word=$2
3364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3366 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3367 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 else
3369 if test -n "$ac_ct_CPPBIN"; then
3370 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3371 else
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 for as_dir in $PATH
3375 IFS=$as_save_IFS
3376 test -z "$as_dir" && as_dir=.
3377 for ac_exec_ext in '' $ac_executable_extensions; do
3378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3379 ac_cv_prog_ac_ct_CPPBIN="cpp"
3380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 break 2
3383 done
3384 done
3385 IFS=$as_save_IFS
3389 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3390 if test -n "$ac_ct_CPPBIN"; then
3391 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3392 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3393 else
3394 { echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6; }
3398 if test "x$ac_ct_CPPBIN" = x; then
3399 CPPBIN="cpp"
3400 else
3401 case $cross_compiling:$ac_tool_warned in
3402 yes:)
3403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3404 whose name does not start with the host triplet. If you think this
3405 configuration is useful to you, please write to autoconf@gnu.org." >&5
3406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3407 whose name does not start with the host triplet. If you think this
3408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3409 ac_tool_warned=yes ;;
3410 esac
3411 CPPBIN=$ac_ct_CPPBIN
3413 else
3414 CPPBIN="$ac_cv_prog_CPPBIN"
3418 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3419 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3420 if test "${wine_cv_toolsdir+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 else
3423 if test -z "$with_wine_tools"; then
3424 if test "$cross_compiling" = "yes"; then
3425 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3426 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3427 { (exit 1); exit 1; }; }
3428 else
3429 wine_cv_toolsdir="\$(TOPOBJDIR)"
3431 elif test -d "$with_wine_tools/tools/winebuild"; then
3432 case $with_wine_tools in
3433 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3434 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3435 esac
3436 else
3437 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3438 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3439 { (exit 1); exit 1; }; }
3442 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3443 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3444 TOOLSDIR=$wine_cv_toolsdir
3448 ac_ext=c
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3453 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3454 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3455 # On Suns, sometimes $CPP names a directory.
3456 if test -n "$CPP" && test -d "$CPP"; then
3457 CPP=
3459 if test -z "$CPP"; then
3460 if test "${ac_cv_prog_CPP+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 else
3463 # Double quotes because CPP needs to be expanded
3464 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3466 ac_preproc_ok=false
3467 for ac_c_preproc_warn_flag in '' yes
3469 # Use a header file that comes with gcc, so configuring glibc
3470 # with a fresh cross-compiler works.
3471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3472 # <limits.h> exists even on freestanding compilers.
3473 # On the NeXT, cc -E runs the code through the compiler's parser,
3474 # not just through cpp. "Syntax error" is here to catch this case.
3475 cat >conftest.$ac_ext <<_ACEOF
3476 /* confdefs.h. */
3477 _ACEOF
3478 cat confdefs.h >>conftest.$ac_ext
3479 cat >>conftest.$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3481 #ifdef __STDC__
3482 # include <limits.h>
3483 #else
3484 # include <assert.h>
3485 #endif
3486 Syntax error
3487 _ACEOF
3488 if { (ac_try="$ac_cpp conftest.$ac_ext"
3489 case "(($ac_try" in
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3492 esac
3493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3495 ac_status=$?
3496 grep -v '^ *+' conftest.er1 >conftest.err
3497 rm -f conftest.er1
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } >/dev/null && {
3501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3502 test ! -s conftest.err
3503 }; then
3505 else
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3509 # Broken: fails on valid input.
3510 continue
3513 rm -f conftest.err conftest.$ac_ext
3515 # OK, works on sane cases. Now check whether nonexistent headers
3516 # can be detected and how.
3517 cat >conftest.$ac_ext <<_ACEOF
3518 /* confdefs.h. */
3519 _ACEOF
3520 cat confdefs.h >>conftest.$ac_ext
3521 cat >>conftest.$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3523 #include <ac_nonexistent.h>
3524 _ACEOF
3525 if { (ac_try="$ac_cpp conftest.$ac_ext"
3526 case "(($ac_try" in
3527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528 *) ac_try_echo=$ac_try;;
3529 esac
3530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3532 ac_status=$?
3533 grep -v '^ *+' conftest.er1 >conftest.err
3534 rm -f conftest.er1
3535 cat conftest.err >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } >/dev/null && {
3538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3539 test ! -s conftest.err
3540 }; then
3541 # Broken: success on invalid input.
3542 continue
3543 else
3544 echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3547 # Passes both tests.
3548 ac_preproc_ok=:
3549 break
3552 rm -f conftest.err conftest.$ac_ext
3554 done
3555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3556 rm -f conftest.err conftest.$ac_ext
3557 if $ac_preproc_ok; then
3558 break
3561 done
3562 ac_cv_prog_CPP=$CPP
3565 CPP=$ac_cv_prog_CPP
3566 else
3567 ac_cv_prog_CPP=$CPP
3569 { echo "$as_me:$LINENO: result: $CPP" >&5
3570 echo "${ECHO_T}$CPP" >&6; }
3571 ac_preproc_ok=false
3572 for ac_c_preproc_warn_flag in '' yes
3574 # Use a header file that comes with gcc, so configuring glibc
3575 # with a fresh cross-compiler works.
3576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3577 # <limits.h> exists even on freestanding compilers.
3578 # On the NeXT, cc -E runs the code through the compiler's parser,
3579 # not just through cpp. "Syntax error" is here to catch this case.
3580 cat >conftest.$ac_ext <<_ACEOF
3581 /* confdefs.h. */
3582 _ACEOF
3583 cat confdefs.h >>conftest.$ac_ext
3584 cat >>conftest.$ac_ext <<_ACEOF
3585 /* end confdefs.h. */
3586 #ifdef __STDC__
3587 # include <limits.h>
3588 #else
3589 # include <assert.h>
3590 #endif
3591 Syntax error
3592 _ACEOF
3593 if { (ac_try="$ac_cpp conftest.$ac_ext"
3594 case "(($ac_try" in
3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3597 esac
3598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3600 ac_status=$?
3601 grep -v '^ *+' conftest.er1 >conftest.err
3602 rm -f conftest.er1
3603 cat conftest.err >&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } >/dev/null && {
3606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3607 test ! -s conftest.err
3608 }; then
3610 else
3611 echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3614 # Broken: fails on valid input.
3615 continue
3618 rm -f conftest.err conftest.$ac_ext
3620 # OK, works on sane cases. Now check whether nonexistent headers
3621 # can be detected and how.
3622 cat >conftest.$ac_ext <<_ACEOF
3623 /* confdefs.h. */
3624 _ACEOF
3625 cat confdefs.h >>conftest.$ac_ext
3626 cat >>conftest.$ac_ext <<_ACEOF
3627 /* end confdefs.h. */
3628 #include <ac_nonexistent.h>
3629 _ACEOF
3630 if { (ac_try="$ac_cpp conftest.$ac_ext"
3631 case "(($ac_try" in
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3634 esac
3635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3637 ac_status=$?
3638 grep -v '^ *+' conftest.er1 >conftest.err
3639 rm -f conftest.er1
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } >/dev/null && {
3643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3644 test ! -s conftest.err
3645 }; then
3646 # Broken: success on invalid input.
3647 continue
3648 else
3649 echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3652 # Passes both tests.
3653 ac_preproc_ok=:
3654 break
3657 rm -f conftest.err conftest.$ac_ext
3659 done
3660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3661 rm -f conftest.err conftest.$ac_ext
3662 if $ac_preproc_ok; then
3664 else
3665 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3666 See \`config.log' for more details." >&5
3667 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3668 See \`config.log' for more details." >&2;}
3669 { (exit 1); exit 1; }; }
3672 ac_ext=c
3673 ac_cpp='$CPP $CPPFLAGS'
3674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3679 { echo "$as_me:$LINENO: checking for X" >&5
3680 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3683 # Check whether --with-x was given.
3684 if test "${with_x+set}" = set; then
3685 withval=$with_x;
3688 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3689 if test "x$with_x" = xno; then
3690 # The user explicitly disabled X.
3691 have_x=disabled
3692 else
3693 case $x_includes,$x_libraries in #(
3694 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3695 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3696 { (exit 1); exit 1; }; };; #(
3697 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 else
3700 # One or both of the vars are not set, and there is no cached value.
3701 ac_x_includes=no ac_x_libraries=no
3702 rm -f -r conftest.dir
3703 if mkdir conftest.dir; then
3704 cd conftest.dir
3705 cat >Imakefile <<'_ACEOF'
3706 incroot:
3707 @echo incroot='${INCROOT}'
3708 usrlibdir:
3709 @echo usrlibdir='${USRLIBDIR}'
3710 libdir:
3711 @echo libdir='${LIBDIR}'
3712 _ACEOF
3713 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3714 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3715 for ac_var in incroot usrlibdir libdir; do
3716 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3717 done
3718 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3719 for ac_extension in a so sl; do
3720 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3721 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3722 ac_im_usrlibdir=$ac_im_libdir; break
3724 done
3725 # Screen out bogus values from the imake configuration. They are
3726 # bogus both because they are the default anyway, and because
3727 # using them would break gcc on systems where it needs fixed includes.
3728 case $ac_im_incroot in
3729 /usr/include) ac_x_includes= ;;
3730 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3731 esac
3732 case $ac_im_usrlibdir in
3733 /usr/lib | /lib) ;;
3734 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3735 esac
3737 cd ..
3738 rm -f -r conftest.dir
3741 # Standard set of common directories for X headers.
3742 # Check X11 before X11Rn because it is often a symlink to the current release.
3743 ac_x_header_dirs='
3744 /usr/X11/include
3745 /usr/X11R6/include
3746 /usr/X11R5/include
3747 /usr/X11R4/include
3749 /usr/include/X11
3750 /usr/include/X11R6
3751 /usr/include/X11R5
3752 /usr/include/X11R4
3754 /usr/local/X11/include
3755 /usr/local/X11R6/include
3756 /usr/local/X11R5/include
3757 /usr/local/X11R4/include
3759 /usr/local/include/X11
3760 /usr/local/include/X11R6
3761 /usr/local/include/X11R5
3762 /usr/local/include/X11R4
3764 /usr/X386/include
3765 /usr/x386/include
3766 /usr/XFree86/include/X11
3768 /usr/include
3769 /usr/local/include
3770 /usr/unsupported/include
3771 /usr/athena/include
3772 /usr/local/x11r5/include
3773 /usr/lpp/Xamples/include
3775 /usr/openwin/include
3776 /usr/openwin/share/include'
3778 if test "$ac_x_includes" = no; then
3779 # Guess where to find include files, by looking for Xlib.h.
3780 # First, try using that file with no special directory specified.
3781 cat >conftest.$ac_ext <<_ACEOF
3782 /* confdefs.h. */
3783 _ACEOF
3784 cat confdefs.h >>conftest.$ac_ext
3785 cat >>conftest.$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3787 #include <X11/Xlib.h>
3788 _ACEOF
3789 if { (ac_try="$ac_cpp conftest.$ac_ext"
3790 case "(($ac_try" in
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3793 esac
3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3796 ac_status=$?
3797 grep -v '^ *+' conftest.er1 >conftest.err
3798 rm -f conftest.er1
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } >/dev/null && {
3802 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3803 test ! -s conftest.err
3804 }; then
3805 # We can compile using X headers with no special include directory.
3806 ac_x_includes=
3807 else
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.$ac_ext >&5
3811 for ac_dir in $ac_x_header_dirs; do
3812 if test -r "$ac_dir/X11/Xlib.h"; then
3813 ac_x_includes=$ac_dir
3814 break
3816 done
3819 rm -f conftest.err conftest.$ac_ext
3820 fi # $ac_x_includes = no
3822 if test "$ac_x_libraries" = no; then
3823 # Check for the libraries.
3824 # See if we find them without any special options.
3825 # Don't add to $LIBS permanently.
3826 ac_save_LIBS=$LIBS
3827 LIBS="-lX11 $LIBS"
3828 cat >conftest.$ac_ext <<_ACEOF
3829 /* confdefs.h. */
3830 _ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3834 #include <X11/Xlib.h>
3836 main ()
3838 XrmInitialize ()
3840 return 0;
3842 _ACEOF
3843 rm -f conftest.$ac_objext conftest$ac_exeext
3844 if { (ac_try="$ac_link"
3845 case "(($ac_try" in
3846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3848 esac
3849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3850 (eval "$ac_link") 2>conftest.er1
3851 ac_status=$?
3852 grep -v '^ *+' conftest.er1 >conftest.err
3853 rm -f conftest.er1
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } && {
3857 test -z "$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3859 } && test -s conftest$ac_exeext &&
3860 $as_test_x conftest$ac_exeext; then
3861 LIBS=$ac_save_LIBS
3862 # We can link X programs with no special library path.
3863 ac_x_libraries=
3864 else
3865 echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.$ac_ext >&5
3868 LIBS=$ac_save_LIBS
3869 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3871 # Don't even attempt the hair of trying to link an X program!
3872 for ac_extension in a so sl; do
3873 if test -r "$ac_dir/libX11.$ac_extension"; then
3874 ac_x_libraries=$ac_dir
3875 break 2
3877 done
3878 done
3881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3882 conftest$ac_exeext conftest.$ac_ext
3883 fi # $ac_x_libraries = no
3885 case $ac_x_includes,$ac_x_libraries in #(
3886 no,* | *,no | *\'*)
3887 # Didn't find X, or a directory has "'" in its name.
3888 ac_cv_have_x="have_x=no";; #(
3890 # Record where we found X for the cache.
3891 ac_cv_have_x="have_x=yes\
3892 ac_x_includes='$ac_x_includes'\
3893 ac_x_libraries='$ac_x_libraries'"
3894 esac
3896 ;; #(
3897 *) have_x=yes;;
3898 esac
3899 eval "$ac_cv_have_x"
3900 fi # $with_x != no
3902 if test "$have_x" != yes; then
3903 { echo "$as_me:$LINENO: result: $have_x" >&5
3904 echo "${ECHO_T}$have_x" >&6; }
3905 no_x=yes
3906 else
3907 # If each of the values was on the command line, it overrides each guess.
3908 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3909 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3910 # Update the cache value to reflect the command line values.
3911 ac_cv_have_x="have_x=yes\
3912 ac_x_includes='$x_includes'\
3913 ac_x_libraries='$x_libraries'"
3914 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3915 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3918 if test "$no_x" = yes; then
3919 # Not all programs may use this symbol, but it does not hurt to define it.
3921 cat >>confdefs.h <<\_ACEOF
3922 #define X_DISPLAY_MISSING 1
3923 _ACEOF
3925 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3926 else
3927 if test -n "$x_includes"; then
3928 X_CFLAGS="$X_CFLAGS -I$x_includes"
3931 # It would also be nice to do this for all -L options, not just this one.
3932 if test -n "$x_libraries"; then
3933 X_LIBS="$X_LIBS -L$x_libraries"
3934 # For Solaris; some versions of Sun CC require a space after -R and
3935 # others require no space. Words are not sufficient . . . .
3936 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3937 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3938 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3939 ac_xsave_c_werror_flag=$ac_c_werror_flag
3940 ac_c_werror_flag=yes
3941 cat >conftest.$ac_ext <<_ACEOF
3942 /* confdefs.h. */
3943 _ACEOF
3944 cat confdefs.h >>conftest.$ac_ext
3945 cat >>conftest.$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3949 main ()
3953 return 0;
3955 _ACEOF
3956 rm -f conftest.$ac_objext conftest$ac_exeext
3957 if { (ac_try="$ac_link"
3958 case "(($ac_try" in
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3961 esac
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_link") 2>conftest.er1
3964 ac_status=$?
3965 grep -v '^ *+' conftest.er1 >conftest.err
3966 rm -f conftest.er1
3967 cat conftest.err >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } && {
3970 test -z "$ac_c_werror_flag" ||
3971 test ! -s conftest.err
3972 } && test -s conftest$ac_exeext &&
3973 $as_test_x conftest$ac_exeext; then
3974 { echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6; }
3976 X_LIBS="$X_LIBS -R$x_libraries"
3977 else
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3981 LIBS="$ac_xsave_LIBS -R $x_libraries"
3982 cat >conftest.$ac_ext <<_ACEOF
3983 /* confdefs.h. */
3984 _ACEOF
3985 cat confdefs.h >>conftest.$ac_ext
3986 cat >>conftest.$ac_ext <<_ACEOF
3987 /* end confdefs.h. */
3990 main ()
3994 return 0;
3996 _ACEOF
3997 rm -f conftest.$ac_objext conftest$ac_exeext
3998 if { (ac_try="$ac_link"
3999 case "(($ac_try" in
4000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4002 esac
4003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4004 (eval "$ac_link") 2>conftest.er1
4005 ac_status=$?
4006 grep -v '^ *+' conftest.er1 >conftest.err
4007 rm -f conftest.er1
4008 cat conftest.err >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); } && {
4011 test -z "$ac_c_werror_flag" ||
4012 test ! -s conftest.err
4013 } && test -s conftest$ac_exeext &&
4014 $as_test_x conftest$ac_exeext; then
4015 { echo "$as_me:$LINENO: result: yes" >&5
4016 echo "${ECHO_T}yes" >&6; }
4017 X_LIBS="$X_LIBS -R $x_libraries"
4018 else
4019 echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.$ac_ext >&5
4022 { echo "$as_me:$LINENO: result: neither works" >&5
4023 echo "${ECHO_T}neither works" >&6; }
4026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4027 conftest$ac_exeext conftest.$ac_ext
4030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4031 conftest$ac_exeext conftest.$ac_ext
4032 ac_c_werror_flag=$ac_xsave_c_werror_flag
4033 LIBS=$ac_xsave_LIBS
4036 # Check for system-dependent libraries X programs must link with.
4037 # Do this before checking for the system-independent R6 libraries
4038 # (-lICE), since we may need -lsocket or whatever for X linking.
4040 if test "$ISC" = yes; then
4041 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4042 else
4043 # Martyn Johnson says this is needed for Ultrix, if the X
4044 # libraries were built with DECnet support. And Karl Berry says
4045 # the Alpha needs dnet_stub (dnet does not exist).
4046 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4047 cat >conftest.$ac_ext <<_ACEOF
4048 /* confdefs.h. */
4049 _ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4054 /* Override any GCC internal prototype to avoid an error.
4055 Use char because int might match the return type of a GCC
4056 builtin and then its argument prototype would still apply. */
4057 #ifdef __cplusplus
4058 extern "C"
4059 #endif
4060 char XOpenDisplay ();
4062 main ()
4064 return XOpenDisplay ();
4066 return 0;
4068 _ACEOF
4069 rm -f conftest.$ac_objext conftest$ac_exeext
4070 if { (ac_try="$ac_link"
4071 case "(($ac_try" in
4072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073 *) ac_try_echo=$ac_try;;
4074 esac
4075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4076 (eval "$ac_link") 2>conftest.er1
4077 ac_status=$?
4078 grep -v '^ *+' conftest.er1 >conftest.err
4079 rm -f conftest.er1
4080 cat conftest.err >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } && {
4083 test -z "$ac_c_werror_flag" ||
4084 test ! -s conftest.err
4085 } && test -s conftest$ac_exeext &&
4086 $as_test_x conftest$ac_exeext; then
4088 else
4089 echo "$as_me: failed program was:" >&5
4090 sed 's/^/| /' conftest.$ac_ext >&5
4092 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4093 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4094 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 else
4097 ac_check_lib_save_LIBS=$LIBS
4098 LIBS="-ldnet $LIBS"
4099 cat >conftest.$ac_ext <<_ACEOF
4100 /* confdefs.h. */
4101 _ACEOF
4102 cat confdefs.h >>conftest.$ac_ext
4103 cat >>conftest.$ac_ext <<_ACEOF
4104 /* end confdefs.h. */
4106 /* Override any GCC internal prototype to avoid an error.
4107 Use char because int might match the return type of a GCC
4108 builtin and then its argument prototype would still apply. */
4109 #ifdef __cplusplus
4110 extern "C"
4111 #endif
4112 char dnet_ntoa ();
4114 main ()
4116 return dnet_ntoa ();
4118 return 0;
4120 _ACEOF
4121 rm -f conftest.$ac_objext conftest$ac_exeext
4122 if { (ac_try="$ac_link"
4123 case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126 esac
4127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4128 (eval "$ac_link") 2>conftest.er1
4129 ac_status=$?
4130 grep -v '^ *+' conftest.er1 >conftest.err
4131 rm -f conftest.er1
4132 cat conftest.err >&5
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); } && {
4135 test -z "$ac_c_werror_flag" ||
4136 test ! -s conftest.err
4137 } && test -s conftest$ac_exeext &&
4138 $as_test_x conftest$ac_exeext; then
4139 ac_cv_lib_dnet_dnet_ntoa=yes
4140 else
4141 echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 ac_cv_lib_dnet_dnet_ntoa=no
4147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4148 conftest$ac_exeext conftest.$ac_ext
4149 LIBS=$ac_check_lib_save_LIBS
4151 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4152 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4153 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4154 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4157 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4158 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4159 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4160 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 else
4163 ac_check_lib_save_LIBS=$LIBS
4164 LIBS="-ldnet_stub $LIBS"
4165 cat >conftest.$ac_ext <<_ACEOF
4166 /* confdefs.h. */
4167 _ACEOF
4168 cat confdefs.h >>conftest.$ac_ext
4169 cat >>conftest.$ac_ext <<_ACEOF
4170 /* end confdefs.h. */
4172 /* Override any GCC internal prototype to avoid an error.
4173 Use char because int might match the return type of a GCC
4174 builtin and then its argument prototype would still apply. */
4175 #ifdef __cplusplus
4176 extern "C"
4177 #endif
4178 char dnet_ntoa ();
4180 main ()
4182 return dnet_ntoa ();
4184 return 0;
4186 _ACEOF
4187 rm -f conftest.$ac_objext conftest$ac_exeext
4188 if { (ac_try="$ac_link"
4189 case "(($ac_try" in
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4192 esac
4193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4194 (eval "$ac_link") 2>conftest.er1
4195 ac_status=$?
4196 grep -v '^ *+' conftest.er1 >conftest.err
4197 rm -f conftest.er1
4198 cat conftest.err >&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); } && {
4201 test -z "$ac_c_werror_flag" ||
4202 test ! -s conftest.err
4203 } && test -s conftest$ac_exeext &&
4204 $as_test_x conftest$ac_exeext; then
4205 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4206 else
4207 echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4210 ac_cv_lib_dnet_stub_dnet_ntoa=no
4213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4214 conftest$ac_exeext conftest.$ac_ext
4215 LIBS=$ac_check_lib_save_LIBS
4217 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4218 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4219 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4220 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4227 conftest$ac_exeext conftest.$ac_ext
4228 LIBS="$ac_xsave_LIBS"
4230 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4231 # to get the SysV transport functions.
4232 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4233 # needs -lnsl.
4234 # The nsl library prevents programs from opening the X display
4235 # on Irix 5.2, according to T.E. Dickey.
4236 # The functions gethostbyname, getservbyname, and inet_addr are
4237 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4238 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4239 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4240 if test "${ac_cv_func_gethostbyname+set}" = set; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4242 else
4243 cat >conftest.$ac_ext <<_ACEOF
4244 /* confdefs.h. */
4245 _ACEOF
4246 cat confdefs.h >>conftest.$ac_ext
4247 cat >>conftest.$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4249 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4251 #define gethostbyname innocuous_gethostbyname
4253 /* System header to define __stub macros and hopefully few prototypes,
4254 which can conflict with char gethostbyname (); below.
4255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4256 <limits.h> exists even on freestanding compilers. */
4258 #ifdef __STDC__
4259 # include <limits.h>
4260 #else
4261 # include <assert.h>
4262 #endif
4264 #undef gethostbyname
4266 /* Override any GCC internal prototype to avoid an error.
4267 Use char because int might match the return type of a GCC
4268 builtin and then its argument prototype would still apply. */
4269 #ifdef __cplusplus
4270 extern "C"
4271 #endif
4272 char gethostbyname ();
4273 /* The GNU C library defines this for functions which it implements
4274 to always fail with ENOSYS. Some functions are actually named
4275 something starting with __ and the normal name is an alias. */
4276 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4277 choke me
4278 #endif
4281 main ()
4283 return gethostbyname ();
4285 return 0;
4287 _ACEOF
4288 rm -f conftest.$ac_objext conftest$ac_exeext
4289 if { (ac_try="$ac_link"
4290 case "(($ac_try" in
4291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4293 esac
4294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4295 (eval "$ac_link") 2>conftest.er1
4296 ac_status=$?
4297 grep -v '^ *+' conftest.er1 >conftest.err
4298 rm -f conftest.er1
4299 cat conftest.err >&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); } && {
4302 test -z "$ac_c_werror_flag" ||
4303 test ! -s conftest.err
4304 } && test -s conftest$ac_exeext &&
4305 $as_test_x conftest$ac_exeext; then
4306 ac_cv_func_gethostbyname=yes
4307 else
4308 echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4311 ac_cv_func_gethostbyname=no
4314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4315 conftest$ac_exeext conftest.$ac_ext
4317 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4318 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4320 if test $ac_cv_func_gethostbyname = no; then
4321 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4322 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4323 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 else
4326 ac_check_lib_save_LIBS=$LIBS
4327 LIBS="-lnsl $LIBS"
4328 cat >conftest.$ac_ext <<_ACEOF
4329 /* confdefs.h. */
4330 _ACEOF
4331 cat confdefs.h >>conftest.$ac_ext
4332 cat >>conftest.$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4335 /* Override any GCC internal prototype to avoid an error.
4336 Use char because int might match the return type of a GCC
4337 builtin and then its argument prototype would still apply. */
4338 #ifdef __cplusplus
4339 extern "C"
4340 #endif
4341 char gethostbyname ();
4343 main ()
4345 return gethostbyname ();
4347 return 0;
4349 _ACEOF
4350 rm -f conftest.$ac_objext conftest$ac_exeext
4351 if { (ac_try="$ac_link"
4352 case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4355 esac
4356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357 (eval "$ac_link") 2>conftest.er1
4358 ac_status=$?
4359 grep -v '^ *+' conftest.er1 >conftest.err
4360 rm -f conftest.er1
4361 cat conftest.err >&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } && {
4364 test -z "$ac_c_werror_flag" ||
4365 test ! -s conftest.err
4366 } && test -s conftest$ac_exeext &&
4367 $as_test_x conftest$ac_exeext; then
4368 ac_cv_lib_nsl_gethostbyname=yes
4369 else
4370 echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.$ac_ext >&5
4373 ac_cv_lib_nsl_gethostbyname=no
4376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4377 conftest$ac_exeext conftest.$ac_ext
4378 LIBS=$ac_check_lib_save_LIBS
4380 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4381 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4382 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4383 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4386 if test $ac_cv_lib_nsl_gethostbyname = no; then
4387 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4388 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4389 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 else
4392 ac_check_lib_save_LIBS=$LIBS
4393 LIBS="-lbsd $LIBS"
4394 cat >conftest.$ac_ext <<_ACEOF
4395 /* confdefs.h. */
4396 _ACEOF
4397 cat confdefs.h >>conftest.$ac_ext
4398 cat >>conftest.$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4401 /* Override any GCC internal prototype to avoid an error.
4402 Use char because int might match the return type of a GCC
4403 builtin and then its argument prototype would still apply. */
4404 #ifdef __cplusplus
4405 extern "C"
4406 #endif
4407 char gethostbyname ();
4409 main ()
4411 return gethostbyname ();
4413 return 0;
4415 _ACEOF
4416 rm -f conftest.$ac_objext conftest$ac_exeext
4417 if { (ac_try="$ac_link"
4418 case "(($ac_try" in
4419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4420 *) ac_try_echo=$ac_try;;
4421 esac
4422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4423 (eval "$ac_link") 2>conftest.er1
4424 ac_status=$?
4425 grep -v '^ *+' conftest.er1 >conftest.err
4426 rm -f conftest.er1
4427 cat conftest.err >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); } && {
4430 test -z "$ac_c_werror_flag" ||
4431 test ! -s conftest.err
4432 } && test -s conftest$ac_exeext &&
4433 $as_test_x conftest$ac_exeext; then
4434 ac_cv_lib_bsd_gethostbyname=yes
4435 else
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 ac_cv_lib_bsd_gethostbyname=no
4442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4443 conftest$ac_exeext conftest.$ac_ext
4444 LIBS=$ac_check_lib_save_LIBS
4446 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4447 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4448 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4455 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4456 # socket/setsockopt and other routines are undefined under SCO ODT
4457 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4458 # on later versions), says Simon Leinen: it contains gethostby*
4459 # variants that don't use the name server (or something). -lsocket
4460 # must be given before -lnsl if both are needed. We assume that
4461 # if connect needs -lnsl, so does gethostbyname.
4462 { echo "$as_me:$LINENO: checking for connect" >&5
4463 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4464 if test "${ac_cv_func_connect+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 else
4467 cat >conftest.$ac_ext <<_ACEOF
4468 /* confdefs.h. */
4469 _ACEOF
4470 cat confdefs.h >>conftest.$ac_ext
4471 cat >>conftest.$ac_ext <<_ACEOF
4472 /* end confdefs.h. */
4473 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4475 #define connect innocuous_connect
4477 /* System header to define __stub macros and hopefully few prototypes,
4478 which can conflict with char connect (); below.
4479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4480 <limits.h> exists even on freestanding compilers. */
4482 #ifdef __STDC__
4483 # include <limits.h>
4484 #else
4485 # include <assert.h>
4486 #endif
4488 #undef connect
4490 /* Override any GCC internal prototype to avoid an error.
4491 Use char because int might match the return type of a GCC
4492 builtin and then its argument prototype would still apply. */
4493 #ifdef __cplusplus
4494 extern "C"
4495 #endif
4496 char connect ();
4497 /* The GNU C library defines this for functions which it implements
4498 to always fail with ENOSYS. Some functions are actually named
4499 something starting with __ and the normal name is an alias. */
4500 #if defined __stub_connect || defined __stub___connect
4501 choke me
4502 #endif
4505 main ()
4507 return connect ();
4509 return 0;
4511 _ACEOF
4512 rm -f conftest.$ac_objext conftest$ac_exeext
4513 if { (ac_try="$ac_link"
4514 case "(($ac_try" in
4515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4516 *) ac_try_echo=$ac_try;;
4517 esac
4518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4519 (eval "$ac_link") 2>conftest.er1
4520 ac_status=$?
4521 grep -v '^ *+' conftest.er1 >conftest.err
4522 rm -f conftest.er1
4523 cat conftest.err >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } && {
4526 test -z "$ac_c_werror_flag" ||
4527 test ! -s conftest.err
4528 } && test -s conftest$ac_exeext &&
4529 $as_test_x conftest$ac_exeext; then
4530 ac_cv_func_connect=yes
4531 else
4532 echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.$ac_ext >&5
4535 ac_cv_func_connect=no
4538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4539 conftest$ac_exeext conftest.$ac_ext
4541 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4542 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4544 if test $ac_cv_func_connect = no; then
4545 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4546 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4547 if test "${ac_cv_lib_socket_connect+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 else
4550 ac_check_lib_save_LIBS=$LIBS
4551 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4552 cat >conftest.$ac_ext <<_ACEOF
4553 /* confdefs.h. */
4554 _ACEOF
4555 cat confdefs.h >>conftest.$ac_ext
4556 cat >>conftest.$ac_ext <<_ACEOF
4557 /* end confdefs.h. */
4559 /* Override any GCC internal prototype to avoid an error.
4560 Use char because int might match the return type of a GCC
4561 builtin and then its argument prototype would still apply. */
4562 #ifdef __cplusplus
4563 extern "C"
4564 #endif
4565 char connect ();
4567 main ()
4569 return connect ();
4571 return 0;
4573 _ACEOF
4574 rm -f conftest.$ac_objext conftest$ac_exeext
4575 if { (ac_try="$ac_link"
4576 case "(($ac_try" in
4577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4578 *) ac_try_echo=$ac_try;;
4579 esac
4580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4581 (eval "$ac_link") 2>conftest.er1
4582 ac_status=$?
4583 grep -v '^ *+' conftest.er1 >conftest.err
4584 rm -f conftest.er1
4585 cat conftest.err >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } && {
4588 test -z "$ac_c_werror_flag" ||
4589 test ! -s conftest.err
4590 } && test -s conftest$ac_exeext &&
4591 $as_test_x conftest$ac_exeext; then
4592 ac_cv_lib_socket_connect=yes
4593 else
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 ac_cv_lib_socket_connect=no
4600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4601 conftest$ac_exeext conftest.$ac_ext
4602 LIBS=$ac_check_lib_save_LIBS
4604 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4605 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4606 if test $ac_cv_lib_socket_connect = yes; then
4607 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4612 # Guillermo Gomez says -lposix is necessary on A/UX.
4613 { echo "$as_me:$LINENO: checking for remove" >&5
4614 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4615 if test "${ac_cv_func_remove+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 else
4618 cat >conftest.$ac_ext <<_ACEOF
4619 /* confdefs.h. */
4620 _ACEOF
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4624 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4626 #define remove innocuous_remove
4628 /* System header to define __stub macros and hopefully few prototypes,
4629 which can conflict with char remove (); below.
4630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 <limits.h> exists even on freestanding compilers. */
4633 #ifdef __STDC__
4634 # include <limits.h>
4635 #else
4636 # include <assert.h>
4637 #endif
4639 #undef remove
4641 /* Override any GCC internal prototype to avoid an error.
4642 Use char because int might match the return type of a GCC
4643 builtin and then its argument prototype would still apply. */
4644 #ifdef __cplusplus
4645 extern "C"
4646 #endif
4647 char remove ();
4648 /* The GNU C library defines this for functions which it implements
4649 to always fail with ENOSYS. Some functions are actually named
4650 something starting with __ and the normal name is an alias. */
4651 #if defined __stub_remove || defined __stub___remove
4652 choke me
4653 #endif
4656 main ()
4658 return remove ();
4660 return 0;
4662 _ACEOF
4663 rm -f conftest.$ac_objext conftest$ac_exeext
4664 if { (ac_try="$ac_link"
4665 case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_link") 2>conftest.er1
4671 ac_status=$?
4672 grep -v '^ *+' conftest.er1 >conftest.err
4673 rm -f conftest.er1
4674 cat conftest.err >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } && {
4677 test -z "$ac_c_werror_flag" ||
4678 test ! -s conftest.err
4679 } && test -s conftest$ac_exeext &&
4680 $as_test_x conftest$ac_exeext; then
4681 ac_cv_func_remove=yes
4682 else
4683 echo "$as_me: failed program was:" >&5
4684 sed 's/^/| /' conftest.$ac_ext >&5
4686 ac_cv_func_remove=no
4689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4690 conftest$ac_exeext conftest.$ac_ext
4692 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4693 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4695 if test $ac_cv_func_remove = no; then
4696 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4697 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4698 if test "${ac_cv_lib_posix_remove+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 else
4701 ac_check_lib_save_LIBS=$LIBS
4702 LIBS="-lposix $LIBS"
4703 cat >conftest.$ac_ext <<_ACEOF
4704 /* confdefs.h. */
4705 _ACEOF
4706 cat confdefs.h >>conftest.$ac_ext
4707 cat >>conftest.$ac_ext <<_ACEOF
4708 /* end confdefs.h. */
4710 /* Override any GCC internal prototype to avoid an error.
4711 Use char because int might match the return type of a GCC
4712 builtin and then its argument prototype would still apply. */
4713 #ifdef __cplusplus
4714 extern "C"
4715 #endif
4716 char remove ();
4718 main ()
4720 return remove ();
4722 return 0;
4724 _ACEOF
4725 rm -f conftest.$ac_objext conftest$ac_exeext
4726 if { (ac_try="$ac_link"
4727 case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730 esac
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_link") 2>conftest.er1
4733 ac_status=$?
4734 grep -v '^ *+' conftest.er1 >conftest.err
4735 rm -f conftest.er1
4736 cat conftest.err >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } && {
4739 test -z "$ac_c_werror_flag" ||
4740 test ! -s conftest.err
4741 } && test -s conftest$ac_exeext &&
4742 $as_test_x conftest$ac_exeext; then
4743 ac_cv_lib_posix_remove=yes
4744 else
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.$ac_ext >&5
4748 ac_cv_lib_posix_remove=no
4751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4752 conftest$ac_exeext conftest.$ac_ext
4753 LIBS=$ac_check_lib_save_LIBS
4755 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4756 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4757 if test $ac_cv_lib_posix_remove = yes; then
4758 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4763 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4764 { echo "$as_me:$LINENO: checking for shmat" >&5
4765 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4766 if test "${ac_cv_func_shmat+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 else
4769 cat >conftest.$ac_ext <<_ACEOF
4770 /* confdefs.h. */
4771 _ACEOF
4772 cat confdefs.h >>conftest.$ac_ext
4773 cat >>conftest.$ac_ext <<_ACEOF
4774 /* end confdefs.h. */
4775 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4777 #define shmat innocuous_shmat
4779 /* System header to define __stub macros and hopefully few prototypes,
4780 which can conflict with char shmat (); below.
4781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4782 <limits.h> exists even on freestanding compilers. */
4784 #ifdef __STDC__
4785 # include <limits.h>
4786 #else
4787 # include <assert.h>
4788 #endif
4790 #undef shmat
4792 /* Override any GCC internal prototype to avoid an error.
4793 Use char because int might match the return type of a GCC
4794 builtin and then its argument prototype would still apply. */
4795 #ifdef __cplusplus
4796 extern "C"
4797 #endif
4798 char shmat ();
4799 /* The GNU C library defines this for functions which it implements
4800 to always fail with ENOSYS. Some functions are actually named
4801 something starting with __ and the normal name is an alias. */
4802 #if defined __stub_shmat || defined __stub___shmat
4803 choke me
4804 #endif
4807 main ()
4809 return shmat ();
4811 return 0;
4813 _ACEOF
4814 rm -f conftest.$ac_objext conftest$ac_exeext
4815 if { (ac_try="$ac_link"
4816 case "(($ac_try" in
4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4818 *) ac_try_echo=$ac_try;;
4819 esac
4820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4821 (eval "$ac_link") 2>conftest.er1
4822 ac_status=$?
4823 grep -v '^ *+' conftest.er1 >conftest.err
4824 rm -f conftest.er1
4825 cat conftest.err >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); } && {
4828 test -z "$ac_c_werror_flag" ||
4829 test ! -s conftest.err
4830 } && test -s conftest$ac_exeext &&
4831 $as_test_x conftest$ac_exeext; then
4832 ac_cv_func_shmat=yes
4833 else
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.$ac_ext >&5
4837 ac_cv_func_shmat=no
4840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4841 conftest$ac_exeext conftest.$ac_ext
4843 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4844 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4846 if test $ac_cv_func_shmat = no; then
4847 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4848 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4849 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 else
4852 ac_check_lib_save_LIBS=$LIBS
4853 LIBS="-lipc $LIBS"
4854 cat >conftest.$ac_ext <<_ACEOF
4855 /* confdefs.h. */
4856 _ACEOF
4857 cat confdefs.h >>conftest.$ac_ext
4858 cat >>conftest.$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4861 /* Override any GCC internal prototype to avoid an error.
4862 Use char because int might match the return type of a GCC
4863 builtin and then its argument prototype would still apply. */
4864 #ifdef __cplusplus
4865 extern "C"
4866 #endif
4867 char shmat ();
4869 main ()
4871 return shmat ();
4873 return 0;
4875 _ACEOF
4876 rm -f conftest.$ac_objext conftest$ac_exeext
4877 if { (ac_try="$ac_link"
4878 case "(($ac_try" in
4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4880 *) ac_try_echo=$ac_try;;
4881 esac
4882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4883 (eval "$ac_link") 2>conftest.er1
4884 ac_status=$?
4885 grep -v '^ *+' conftest.er1 >conftest.err
4886 rm -f conftest.er1
4887 cat conftest.err >&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } && {
4890 test -z "$ac_c_werror_flag" ||
4891 test ! -s conftest.err
4892 } && test -s conftest$ac_exeext &&
4893 $as_test_x conftest$ac_exeext; then
4894 ac_cv_lib_ipc_shmat=yes
4895 else
4896 echo "$as_me: failed program was:" >&5
4897 sed 's/^/| /' conftest.$ac_ext >&5
4899 ac_cv_lib_ipc_shmat=no
4902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4903 conftest$ac_exeext conftest.$ac_ext
4904 LIBS=$ac_check_lib_save_LIBS
4906 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4907 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4908 if test $ac_cv_lib_ipc_shmat = yes; then
4909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4915 # Check for libraries that X11R6 Xt/Xaw programs need.
4916 ac_save_LDFLAGS=$LDFLAGS
4917 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4918 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4919 # check for ICE first), but we must link in the order -lSM -lICE or
4920 # we get undefined symbols. So assume we have SM if we have ICE.
4921 # These have to be linked with before -lX11, unlike the other
4922 # libraries we check for below, so use a different variable.
4923 # John Interrante, Karl Berry
4924 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4925 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4926 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 else
4929 ac_check_lib_save_LIBS=$LIBS
4930 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4931 cat >conftest.$ac_ext <<_ACEOF
4932 /* confdefs.h. */
4933 _ACEOF
4934 cat confdefs.h >>conftest.$ac_ext
4935 cat >>conftest.$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4938 /* Override any GCC internal prototype to avoid an error.
4939 Use char because int might match the return type of a GCC
4940 builtin and then its argument prototype would still apply. */
4941 #ifdef __cplusplus
4942 extern "C"
4943 #endif
4944 char IceConnectionNumber ();
4946 main ()
4948 return IceConnectionNumber ();
4950 return 0;
4952 _ACEOF
4953 rm -f conftest.$ac_objext conftest$ac_exeext
4954 if { (ac_try="$ac_link"
4955 case "(($ac_try" in
4956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4957 *) ac_try_echo=$ac_try;;
4958 esac
4959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4960 (eval "$ac_link") 2>conftest.er1
4961 ac_status=$?
4962 grep -v '^ *+' conftest.er1 >conftest.err
4963 rm -f conftest.er1
4964 cat conftest.err >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } && {
4967 test -z "$ac_c_werror_flag" ||
4968 test ! -s conftest.err
4969 } && test -s conftest$ac_exeext &&
4970 $as_test_x conftest$ac_exeext; then
4971 ac_cv_lib_ICE_IceConnectionNumber=yes
4972 else
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.$ac_ext >&5
4976 ac_cv_lib_ICE_IceConnectionNumber=no
4979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4980 conftest$ac_exeext conftest.$ac_ext
4981 LIBS=$ac_check_lib_save_LIBS
4983 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4984 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4985 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4986 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4989 LDFLAGS=$ac_save_LDFLAGS
4994 for ac_prog in flex
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy $ac_prog; ac_word=$2
4998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5000 if test "${ac_cv_prog_FLEX+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5002 else
5003 if test -n "$FLEX"; then
5004 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5005 else
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5009 IFS=$as_save_IFS
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5013 ac_cv_prog_FLEX="$ac_prog"
5014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 break 2
5017 done
5018 done
5019 IFS=$as_save_IFS
5023 FLEX=$ac_cv_prog_FLEX
5024 if test -n "$FLEX"; then
5025 { echo "$as_me:$LINENO: result: $FLEX" >&5
5026 echo "${ECHO_T}$FLEX" >&6; }
5027 else
5028 { echo "$as_me:$LINENO: result: no" >&5
5029 echo "${ECHO_T}no" >&6; }
5033 test -n "$FLEX" && break
5034 done
5035 test -n "$FLEX" || FLEX="none"
5037 if test "$FLEX" = "none"
5038 then
5039 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5040 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5041 { (exit 1); exit 1; }; }
5044 for ac_prog in bison
5046 # Extract the first word of "$ac_prog", so it can be a program name with args.
5047 set dummy $ac_prog; ac_word=$2
5048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5050 if test "${ac_cv_prog_BISON+set}" = set; then
5051 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 else
5053 if test -n "$BISON"; then
5054 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5055 else
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH
5059 IFS=$as_save_IFS
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_BISON="$ac_prog"
5064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 break 2
5067 done
5068 done
5069 IFS=$as_save_IFS
5073 BISON=$ac_cv_prog_BISON
5074 if test -n "$BISON"; then
5075 { echo "$as_me:$LINENO: result: $BISON" >&5
5076 echo "${ECHO_T}$BISON" >&6; }
5077 else
5078 { echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6; }
5083 test -n "$BISON" && break
5084 done
5085 test -n "$BISON" || BISON="none"
5087 if test "$BISON" = "none"
5088 then
5089 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5090 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5091 { (exit 1); exit 1; }; }
5094 if test -n "$ac_tool_prefix"; then
5095 for ac_prog in gas as
5097 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5098 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5101 if test "${ac_cv_prog_AS+set}" = set; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5103 else
5104 if test -n "$AS"; then
5105 ac_cv_prog_AS="$AS" # Let the user override the test.
5106 else
5107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 for as_dir in $PATH
5110 IFS=$as_save_IFS
5111 test -z "$as_dir" && as_dir=.
5112 for ac_exec_ext in '' $ac_executable_extensions; do
5113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5114 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 break 2
5118 done
5119 done
5120 IFS=$as_save_IFS
5124 AS=$ac_cv_prog_AS
5125 if test -n "$AS"; then
5126 { echo "$as_me:$LINENO: result: $AS" >&5
5127 echo "${ECHO_T}$AS" >&6; }
5128 else
5129 { echo "$as_me:$LINENO: result: no" >&5
5130 echo "${ECHO_T}no" >&6; }
5134 test -n "$AS" && break
5135 done
5137 if test -z "$AS"; then
5138 ac_ct_AS=$AS
5139 for ac_prog in gas as
5141 # Extract the first word of "$ac_prog", so it can be a program name with args.
5142 set dummy $ac_prog; ac_word=$2
5143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5145 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 else
5148 if test -n "$ac_ct_AS"; then
5149 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5154 IFS=$as_save_IFS
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158 ac_cv_prog_ac_ct_AS="$ac_prog"
5159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 break 2
5162 done
5163 done
5164 IFS=$as_save_IFS
5168 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5169 if test -n "$ac_ct_AS"; then
5170 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5171 echo "${ECHO_T}$ac_ct_AS" >&6; }
5172 else
5173 { echo "$as_me:$LINENO: result: no" >&5
5174 echo "${ECHO_T}no" >&6; }
5178 test -n "$ac_ct_AS" && break
5179 done
5181 if test "x$ac_ct_AS" = x; then
5182 AS="as"
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5187 whose name does not start with the host triplet. If you think this
5188 configuration is useful to you, please write to autoconf@gnu.org." >&5
5189 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5190 whose name does not start with the host triplet. If you think this
5191 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5192 ac_tool_warned=yes ;;
5193 esac
5194 AS=$ac_ct_AS
5198 if test -n "$ac_tool_prefix"; then
5199 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5200 set dummy ${ac_tool_prefix}ld; ac_word=$2
5201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5203 if test "${ac_cv_prog_LD+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 else
5206 if test -n "$LD"; then
5207 ac_cv_prog_LD="$LD" # Let the user override the test.
5208 else
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 for as_dir in $PATH
5212 IFS=$as_save_IFS
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5216 ac_cv_prog_LD="${ac_tool_prefix}ld"
5217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 break 2
5220 done
5221 done
5222 IFS=$as_save_IFS
5226 LD=$ac_cv_prog_LD
5227 if test -n "$LD"; then
5228 { echo "$as_me:$LINENO: result: $LD" >&5
5229 echo "${ECHO_T}$LD" >&6; }
5230 else
5231 { echo "$as_me:$LINENO: result: no" >&5
5232 echo "${ECHO_T}no" >&6; }
5237 if test -z "$ac_cv_prog_LD"; then
5238 ac_ct_LD=$LD
5239 # Extract the first word of "ld", so it can be a program name with args.
5240 set dummy ld; ac_word=$2
5241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5243 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 else
5246 if test -n "$ac_ct_LD"; then
5247 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5248 else
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5252 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5256 ac_cv_prog_ac_ct_LD="ld"
5257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2
5260 done
5261 done
5262 IFS=$as_save_IFS
5266 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5267 if test -n "$ac_ct_LD"; then
5268 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5269 echo "${ECHO_T}$ac_ct_LD" >&6; }
5270 else
5271 { echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6; }
5275 if test "x$ac_ct_LD" = x; then
5276 LD="ld"
5277 else
5278 case $cross_compiling:$ac_tool_warned in
5279 yes:)
5280 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5281 whose name does not start with the host triplet. If you think this
5282 configuration is useful to you, please write to autoconf@gnu.org." >&5
5283 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5284 whose name does not start with the host triplet. If you think this
5285 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5286 ac_tool_warned=yes ;;
5287 esac
5288 LD=$ac_ct_LD
5290 else
5291 LD="$ac_cv_prog_LD"
5294 if test -n "$ac_tool_prefix"; then
5295 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5296 set dummy ${ac_tool_prefix}ar; ac_word=$2
5297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5299 if test "${ac_cv_prog_AR+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 else
5302 if test -n "$AR"; then
5303 ac_cv_prog_AR="$AR" # Let the user override the test.
5304 else
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 for as_dir in $PATH
5308 IFS=$as_save_IFS
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_AR="${ac_tool_prefix}ar"
5313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 break 2
5316 done
5317 done
5318 IFS=$as_save_IFS
5322 AR=$ac_cv_prog_AR
5323 if test -n "$AR"; then
5324 { echo "$as_me:$LINENO: result: $AR" >&5
5325 echo "${ECHO_T}$AR" >&6; }
5326 else
5327 { echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6; }
5333 if test -z "$ac_cv_prog_AR"; then
5334 ac_ct_AR=$AR
5335 # Extract the first word of "ar", so it can be a program name with args.
5336 set dummy ar; ac_word=$2
5337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5339 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5341 else
5342 if test -n "$ac_ct_AR"; then
5343 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5344 else
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 for as_dir in $PATH
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5352 ac_cv_prog_ac_ct_AR="ar"
5353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 break 2
5356 done
5357 done
5358 IFS=$as_save_IFS
5362 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5363 if test -n "$ac_ct_AR"; then
5364 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5365 echo "${ECHO_T}$ac_ct_AR" >&6; }
5366 else
5367 { echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6; }
5371 if test "x$ac_ct_AR" = x; then
5372 AR="ar"
5373 else
5374 case $cross_compiling:$ac_tool_warned in
5375 yes:)
5376 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5377 whose name does not start with the host triplet. If you think this
5378 configuration is useful to you, please write to autoconf@gnu.org." >&5
5379 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5380 whose name does not start with the host triplet. If you think this
5381 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5382 ac_tool_warned=yes ;;
5383 esac
5384 AR=$ac_ct_AR
5386 else
5387 AR="$ac_cv_prog_AR"
5390 if test -n "$ac_tool_prefix"; then
5391 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5392 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5395 if test "${ac_cv_prog_RANLIB+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 else
5398 if test -n "$RANLIB"; then
5399 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5408 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 RANLIB=$ac_cv_prog_RANLIB
5419 if test -n "$RANLIB"; then
5420 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5421 echo "${ECHO_T}$RANLIB" >&6; }
5422 else
5423 { echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6; }
5429 if test -z "$ac_cv_prog_RANLIB"; then
5430 ac_ct_RANLIB=$RANLIB
5431 # Extract the first word of "ranlib", so it can be a program name with args.
5432 set dummy ranlib; ac_word=$2
5433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5435 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 else
5438 if test -n "$ac_ct_RANLIB"; then
5439 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5440 else
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5448 ac_cv_prog_ac_ct_RANLIB="ranlib"
5449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5452 done
5453 done
5454 IFS=$as_save_IFS
5458 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5459 if test -n "$ac_ct_RANLIB"; then
5460 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5461 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5462 else
5463 { echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6; }
5467 if test "x$ac_ct_RANLIB" = x; then
5468 RANLIB=":"
5469 else
5470 case $cross_compiling:$ac_tool_warned in
5471 yes:)
5472 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5473 whose name does not start with the host triplet. If you think this
5474 configuration is useful to you, please write to autoconf@gnu.org." >&5
5475 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5476 whose name does not start with the host triplet. If you think this
5477 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5478 ac_tool_warned=yes ;;
5479 esac
5480 RANLIB=$ac_ct_RANLIB
5482 else
5483 RANLIB="$ac_cv_prog_RANLIB"
5486 if test -n "$ac_tool_prefix"; then
5487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5488 set dummy ${ac_tool_prefix}strip; ac_word=$2
5489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5491 if test "${ac_cv_prog_STRIP+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 else
5494 if test -n "$STRIP"; then
5495 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 STRIP=$ac_cv_prog_STRIP
5515 if test -n "$STRIP"; then
5516 { echo "$as_me:$LINENO: result: $STRIP" >&5
5517 echo "${ECHO_T}$STRIP" >&6; }
5518 else
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5525 if test -z "$ac_cv_prog_STRIP"; then
5526 ac_ct_STRIP=$STRIP
5527 # Extract the first word of "strip", so it can be a program name with args.
5528 set dummy strip; ac_word=$2
5529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5531 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5532 echo $ECHO_N "(cached) $ECHO_C" >&6
5533 else
5534 if test -n "$ac_ct_STRIP"; then
5535 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5536 else
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH
5540 IFS=$as_save_IFS
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5544 ac_cv_prog_ac_ct_STRIP="strip"
5545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 break 2
5548 done
5549 done
5550 IFS=$as_save_IFS
5554 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5555 if test -n "$ac_ct_STRIP"; then
5556 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5557 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5558 else
5559 { echo "$as_me:$LINENO: result: no" >&5
5560 echo "${ECHO_T}no" >&6; }
5563 if test "x$ac_ct_STRIP" = x; then
5564 STRIP="strip"
5565 else
5566 case $cross_compiling:$ac_tool_warned in
5567 yes:)
5568 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5569 whose name does not start with the host triplet. If you think this
5570 configuration is useful to you, please write to autoconf@gnu.org." >&5
5571 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5572 whose name does not start with the host triplet. If you think this
5573 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5574 ac_tool_warned=yes ;;
5575 esac
5576 STRIP=$ac_ct_STRIP
5578 else
5579 STRIP="$ac_cv_prog_STRIP"
5582 if test -n "$ac_tool_prefix"; then
5583 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5584 set dummy ${ac_tool_prefix}windres; ac_word=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_WINDRES+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 else
5590 if test -n "$WINDRES"; then
5591 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 WINDRES=$ac_cv_prog_WINDRES
5611 if test -n "$WINDRES"; then
5612 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5613 echo "${ECHO_T}$WINDRES" >&6; }
5614 else
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5621 if test -z "$ac_cv_prog_WINDRES"; then
5622 ac_ct_WINDRES=$WINDRES
5623 # Extract the first word of "windres", so it can be a program name with args.
5624 set dummy windres; ac_word=$2
5625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5627 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 else
5630 if test -n "$ac_ct_WINDRES"; then
5631 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640 ac_cv_prog_ac_ct_WINDRES="windres"
5641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5644 done
5645 done
5646 IFS=$as_save_IFS
5650 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5651 if test -n "$ac_ct_WINDRES"; then
5652 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5653 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5654 else
5655 { echo "$as_me:$LINENO: result: no" >&5
5656 echo "${ECHO_T}no" >&6; }
5659 if test "x$ac_ct_WINDRES" = x; then
5660 WINDRES="false"
5661 else
5662 case $cross_compiling:$ac_tool_warned in
5663 yes:)
5664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5665 whose name does not start with the host triplet. If you think this
5666 configuration is useful to you, please write to autoconf@gnu.org." >&5
5667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5668 whose name does not start with the host triplet. If you think this
5669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5670 ac_tool_warned=yes ;;
5671 esac
5672 WINDRES=$ac_ct_WINDRES
5674 else
5675 WINDRES="$ac_cv_prog_WINDRES"
5678 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5679 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5680 LN_S=$as_ln_s
5681 if test "$LN_S" = "ln -s"; then
5682 { echo "$as_me:$LINENO: result: yes" >&5
5683 echo "${ECHO_T}yes" >&6; }
5684 else
5685 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5686 echo "${ECHO_T}no, using $LN_S" >&6; }
5689 { echo "$as_me:$LINENO: checking whether ln works" >&5
5690 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5691 rm -f conf$$ conf$$.file
5692 echo >conf$$.file
5693 if ln conf$$.file conf$$ 2>/dev/null; then
5694 LN=ln
5696 { echo "$as_me:$LINENO: result: yes" >&5
5697 echo "${ECHO_T}yes" >&6; }
5698 else
5699 LN="cp -p"
5701 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5702 echo "${ECHO_T}no, using $LN" >&6; }
5704 rm -f conf$$ conf$$.file
5705 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5706 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5707 if test "${ac_cv_path_GREP+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 else
5710 # Extract the first word of "grep ggrep" to use in msg output
5711 if test -z "$GREP"; then
5712 set dummy grep ggrep; ac_prog_name=$2
5713 if test "${ac_cv_path_GREP+set}" = set; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 else
5716 ac_path_GREP_found=false
5717 # Loop through the user's path and test for each of PROGNAME-LIST
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5721 IFS=$as_save_IFS
5722 test -z "$as_dir" && as_dir=.
5723 for ac_prog in grep ggrep; do
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5726 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5727 # Check for GNU ac_path_GREP and select it if it is found.
5728 # Check for GNU $ac_path_GREP
5729 case `"$ac_path_GREP" --version 2>&1` in
5730 *GNU*)
5731 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5733 ac_count=0
5734 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5735 while :
5737 cat "conftest.in" "conftest.in" >"conftest.tmp"
5738 mv "conftest.tmp" "conftest.in"
5739 cp "conftest.in" "conftest.nl"
5740 echo 'GREP' >> "conftest.nl"
5741 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5742 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5743 ac_count=`expr $ac_count + 1`
5744 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5745 # Best one so far, save it but keep looking for a better one
5746 ac_cv_path_GREP="$ac_path_GREP"
5747 ac_path_GREP_max=$ac_count
5749 # 10*(2^10) chars as input seems more than enough
5750 test $ac_count -gt 10 && break
5751 done
5752 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5753 esac
5756 $ac_path_GREP_found && break 3
5757 done
5758 done
5760 done
5761 IFS=$as_save_IFS
5766 GREP="$ac_cv_path_GREP"
5767 if test -z "$GREP"; then
5768 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5769 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5770 { (exit 1); exit 1; }; }
5773 else
5774 ac_cv_path_GREP=$GREP
5779 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5780 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5781 GREP="$ac_cv_path_GREP"
5784 { echo "$as_me:$LINENO: checking for egrep" >&5
5785 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5786 if test "${ac_cv_path_EGREP+set}" = set; then
5787 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 else
5789 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5790 then ac_cv_path_EGREP="$GREP -E"
5791 else
5792 # Extract the first word of "egrep" to use in msg output
5793 if test -z "$EGREP"; then
5794 set dummy egrep; ac_prog_name=$2
5795 if test "${ac_cv_path_EGREP+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 else
5798 ac_path_EGREP_found=false
5799 # Loop through the user's path and test for each of PROGNAME-LIST
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5803 IFS=$as_save_IFS
5804 test -z "$as_dir" && as_dir=.
5805 for ac_prog in egrep; do
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5808 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5809 # Check for GNU ac_path_EGREP and select it if it is found.
5810 # Check for GNU $ac_path_EGREP
5811 case `"$ac_path_EGREP" --version 2>&1` in
5812 *GNU*)
5813 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5815 ac_count=0
5816 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5817 while :
5819 cat "conftest.in" "conftest.in" >"conftest.tmp"
5820 mv "conftest.tmp" "conftest.in"
5821 cp "conftest.in" "conftest.nl"
5822 echo 'EGREP' >> "conftest.nl"
5823 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5824 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5825 ac_count=`expr $ac_count + 1`
5826 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5827 # Best one so far, save it but keep looking for a better one
5828 ac_cv_path_EGREP="$ac_path_EGREP"
5829 ac_path_EGREP_max=$ac_count
5831 # 10*(2^10) chars as input seems more than enough
5832 test $ac_count -gt 10 && break
5833 done
5834 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5835 esac
5838 $ac_path_EGREP_found && break 3
5839 done
5840 done
5842 done
5843 IFS=$as_save_IFS
5848 EGREP="$ac_cv_path_EGREP"
5849 if test -z "$EGREP"; then
5850 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5851 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5852 { (exit 1); exit 1; }; }
5855 else
5856 ac_cv_path_EGREP=$EGREP
5862 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5863 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5864 EGREP="$ac_cv_path_EGREP"
5867 # Extract the first word of "ldconfig", so it can be a program name with args.
5868 set dummy ldconfig; ac_word=$2
5869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5871 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5872 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 else
5874 case $LDCONFIG in
5875 [\\/]* | ?:[\\/]*)
5876 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in /sbin /usr/sbin $PATH
5882 IFS=$as_save_IFS
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5886 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 break 2
5890 done
5891 done
5892 IFS=$as_save_IFS
5894 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5896 esac
5898 LDCONFIG=$ac_cv_path_LDCONFIG
5899 if test -n "$LDCONFIG"; then
5900 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5901 echo "${ECHO_T}$LDCONFIG" >&6; }
5902 else
5903 { echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6; }
5908 # Find a good install program. We prefer a C program (faster),
5909 # so one script is as good as another. But avoid the broken or
5910 # incompatible versions:
5911 # SysV /etc/install, /usr/sbin/install
5912 # SunOS /usr/etc/install
5913 # IRIX /sbin/install
5914 # AIX /bin/install
5915 # AmigaOS /C/install, which installs bootblocks on floppy discs
5916 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5917 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5918 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5919 # OS/2's system install, which has a completely different semantic
5920 # ./install, which can be erroneously created by make from ./install.sh.
5921 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5922 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5923 if test -z "$INSTALL"; then
5924 if test "${ac_cv_path_install+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 else
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 for as_dir in $PATH
5930 IFS=$as_save_IFS
5931 test -z "$as_dir" && as_dir=.
5932 # Account for people who put trailing slashes in PATH elements.
5933 case $as_dir/ in
5934 ./ | .// | /cC/* | \
5935 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5936 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5937 /usr/ucb/* ) ;;
5939 # OSF1 and SCO ODT 3.0 have their own names for install.
5940 # Don't use installbsd from OSF since it installs stuff as root
5941 # by default.
5942 for ac_prog in ginstall scoinst install; do
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5945 if test $ac_prog = install &&
5946 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5947 # AIX install. It has an incompatible calling convention.
5949 elif test $ac_prog = install &&
5950 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5951 # program-specific install script used by HP pwplus--don't use.
5953 else
5954 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5955 break 3
5958 done
5959 done
5961 esac
5962 done
5963 IFS=$as_save_IFS
5967 if test "${ac_cv_path_install+set}" = set; then
5968 INSTALL=$ac_cv_path_install
5969 else
5970 # As a last resort, use the slow shell script. Don't cache a
5971 # value for INSTALL within a source directory, because that will
5972 # break other packages using the cache if that directory is
5973 # removed, or if the value is a relative name.
5974 INSTALL=$ac_install_sh
5977 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5978 echo "${ECHO_T}$INSTALL" >&6; }
5980 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5981 # It thinks the first close brace ends the variable substitution.
5982 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5984 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5986 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5988 case "$INSTALL" in
5989 [\\/$]* | ?:[\\/]* ) ;;
5990 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5991 esac
5993 for ac_prog in lclint lint
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5999 if test "${ac_cv_prog_LINT+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 else
6002 if test -n "$LINT"; then
6003 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6012 ac_cv_prog_LINT="$ac_prog"
6013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 LINT=$ac_cv_prog_LINT
6023 if test -n "$LINT"; then
6024 { echo "$as_me:$LINENO: result: $LINT" >&5
6025 echo "${ECHO_T}$LINT" >&6; }
6026 else
6027 { echo "$as_me:$LINENO: result: no" >&5
6028 echo "${ECHO_T}no" >&6; }
6032 test -n "$LINT" && break
6033 done
6035 if test "$LINT" = "lint"
6036 then
6037 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6042 for ac_prog in fontforge
6044 # Extract the first word of "$ac_prog", so it can be a program name with args.
6045 set dummy $ac_prog; ac_word=$2
6046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6048 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 else
6051 if test -n "$FONTFORGE"; then
6052 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6057 IFS=$as_save_IFS
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_FONTFORGE="$ac_prog"
6062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 break 2
6065 done
6066 done
6067 IFS=$as_save_IFS
6071 FONTFORGE=$ac_cv_prog_FONTFORGE
6072 if test -n "$FONTFORGE"; then
6073 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6074 echo "${ECHO_T}$FONTFORGE" >&6; }
6075 else
6076 { echo "$as_me:$LINENO: result: no" >&5
6077 echo "${ECHO_T}no" >&6; }
6081 test -n "$FONTFORGE" && break
6082 done
6083 test -n "$FONTFORGE" || FONTFORGE="false"
6085 for ac_prog in pkg-config
6087 # Extract the first word of "$ac_prog", so it can be a program name with args.
6088 set dummy $ac_prog; ac_word=$2
6089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6091 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 else
6094 if test -n "$PKG_CONFIG"; then
6095 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6100 IFS=$as_save_IFS
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 ac_cv_prog_PKG_CONFIG="$ac_prog"
6105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 break 2
6108 done
6109 done
6110 IFS=$as_save_IFS
6114 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6115 if test -n "$PKG_CONFIG"; then
6116 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6117 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6118 else
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6124 test -n "$PKG_CONFIG" && break
6125 done
6126 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6129 case $host_cpu in
6130 *i[3456789]86*)
6131 # Extract the first word of "prelink", so it can be a program name with args.
6132 set dummy prelink; ac_word=$2
6133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6135 if test "${ac_cv_path_PRELINK+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6137 else
6138 case $PRELINK in
6139 [\\/]* | ?:[\\/]*)
6140 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in /sbin /usr/sbin $PATH
6146 IFS=$as_save_IFS
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 break 2
6154 done
6155 done
6156 IFS=$as_save_IFS
6158 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6160 esac
6162 PRELINK=$ac_cv_path_PRELINK
6163 if test -n "$PRELINK"; then
6164 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6165 echo "${ECHO_T}$PRELINK" >&6; }
6166 else
6167 { echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6; }
6173 esac
6177 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6178 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6179 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6180 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 else
6182 ac_check_lib_save_LIBS=$LIBS
6183 LIBS="-li386 $LIBS"
6184 cat >conftest.$ac_ext <<_ACEOF
6185 /* confdefs.h. */
6186 _ACEOF
6187 cat confdefs.h >>conftest.$ac_ext
6188 cat >>conftest.$ac_ext <<_ACEOF
6189 /* end confdefs.h. */
6191 /* Override any GCC internal prototype to avoid an error.
6192 Use char because int might match the return type of a GCC
6193 builtin and then its argument prototype would still apply. */
6194 #ifdef __cplusplus
6195 extern "C"
6196 #endif
6197 char i386_set_ldt ();
6199 main ()
6201 return i386_set_ldt ();
6203 return 0;
6205 _ACEOF
6206 rm -f conftest.$ac_objext conftest$ac_exeext
6207 if { (ac_try="$ac_link"
6208 case "(($ac_try" in
6209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6210 *) ac_try_echo=$ac_try;;
6211 esac
6212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6213 (eval "$ac_link") 2>conftest.er1
6214 ac_status=$?
6215 grep -v '^ *+' conftest.er1 >conftest.err
6216 rm -f conftest.er1
6217 cat conftest.err >&5
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); } && {
6220 test -z "$ac_c_werror_flag" ||
6221 test ! -s conftest.err
6222 } && test -s conftest$ac_exeext &&
6223 $as_test_x conftest$ac_exeext; then
6224 ac_cv_lib_i386_i386_set_ldt=yes
6225 else
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.$ac_ext >&5
6229 ac_cv_lib_i386_i386_set_ldt=no
6232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6233 conftest$ac_exeext conftest.$ac_ext
6234 LIBS=$ac_check_lib_save_LIBS
6236 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6237 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6238 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6239 cat >>confdefs.h <<_ACEOF
6240 #define HAVE_LIBI386 1
6241 _ACEOF
6243 LIBS="-li386 $LIBS"
6248 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6249 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6250 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6251 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 else
6253 ac_check_lib_save_LIBS=$LIBS
6254 LIBS="-lossaudio $LIBS"
6255 cat >conftest.$ac_ext <<_ACEOF
6256 /* confdefs.h. */
6257 _ACEOF
6258 cat confdefs.h >>conftest.$ac_ext
6259 cat >>conftest.$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6262 /* Override any GCC internal prototype to avoid an error.
6263 Use char because int might match the return type of a GCC
6264 builtin and then its argument prototype would still apply. */
6265 #ifdef __cplusplus
6266 extern "C"
6267 #endif
6268 char _oss_ioctl ();
6270 main ()
6272 return _oss_ioctl ();
6274 return 0;
6276 _ACEOF
6277 rm -f conftest.$ac_objext conftest$ac_exeext
6278 if { (ac_try="$ac_link"
6279 case "(($ac_try" in
6280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6281 *) ac_try_echo=$ac_try;;
6282 esac
6283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6284 (eval "$ac_link") 2>conftest.er1
6285 ac_status=$?
6286 grep -v '^ *+' conftest.er1 >conftest.err
6287 rm -f conftest.er1
6288 cat conftest.err >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } && {
6291 test -z "$ac_c_werror_flag" ||
6292 test ! -s conftest.err
6293 } && test -s conftest$ac_exeext &&
6294 $as_test_x conftest$ac_exeext; then
6295 ac_cv_lib_ossaudio__oss_ioctl=yes
6296 else
6297 echo "$as_me: failed program was:" >&5
6298 sed 's/^/| /' conftest.$ac_ext >&5
6300 ac_cv_lib_ossaudio__oss_ioctl=no
6303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6304 conftest$ac_exeext conftest.$ac_ext
6305 LIBS=$ac_check_lib_save_LIBS
6307 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6308 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6309 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6310 cat >>confdefs.h <<_ACEOF
6311 #define HAVE_LIBOSSAUDIO 1
6312 _ACEOF
6314 LIBS="-lossaudio $LIBS"
6319 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6320 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6321 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 else
6324 ac_check_lib_save_LIBS=$LIBS
6325 LIBS="-lxpg4 $LIBS"
6326 cat >conftest.$ac_ext <<_ACEOF
6327 /* confdefs.h. */
6328 _ACEOF
6329 cat confdefs.h >>conftest.$ac_ext
6330 cat >>conftest.$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6333 /* Override any GCC internal prototype to avoid an error.
6334 Use char because int might match the return type of a GCC
6335 builtin and then its argument prototype would still apply. */
6336 #ifdef __cplusplus
6337 extern "C"
6338 #endif
6339 char _xpg4_setrunelocale ();
6341 main ()
6343 return _xpg4_setrunelocale ();
6345 return 0;
6347 _ACEOF
6348 rm -f conftest.$ac_objext conftest$ac_exeext
6349 if { (ac_try="$ac_link"
6350 case "(($ac_try" in
6351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6352 *) ac_try_echo=$ac_try;;
6353 esac
6354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6355 (eval "$ac_link") 2>conftest.er1
6356 ac_status=$?
6357 grep -v '^ *+' conftest.er1 >conftest.err
6358 rm -f conftest.er1
6359 cat conftest.err >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } && {
6362 test -z "$ac_c_werror_flag" ||
6363 test ! -s conftest.err
6364 } && test -s conftest$ac_exeext &&
6365 $as_test_x conftest$ac_exeext; then
6366 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6367 else
6368 echo "$as_me: failed program was:" >&5
6369 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6375 conftest$ac_exeext conftest.$ac_ext
6376 LIBS=$ac_check_lib_save_LIBS
6378 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6379 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6380 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6381 cat >>confdefs.h <<_ACEOF
6382 #define HAVE_LIBXPG4 1
6383 _ACEOF
6385 LIBS="-lxpg4 $LIBS"
6389 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6390 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6391 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6392 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 else
6394 ac_check_lib_save_LIBS=$LIBS
6395 LIBS="-lpthread $LIBS"
6396 cat >conftest.$ac_ext <<_ACEOF
6397 /* confdefs.h. */
6398 _ACEOF
6399 cat confdefs.h >>conftest.$ac_ext
6400 cat >>conftest.$ac_ext <<_ACEOF
6401 /* end confdefs.h. */
6403 /* Override any GCC internal prototype to avoid an error.
6404 Use char because int might match the return type of a GCC
6405 builtin and then its argument prototype would still apply. */
6406 #ifdef __cplusplus
6407 extern "C"
6408 #endif
6409 char pthread_create ();
6411 main ()
6413 return pthread_create ();
6415 return 0;
6417 _ACEOF
6418 rm -f conftest.$ac_objext conftest$ac_exeext
6419 if { (ac_try="$ac_link"
6420 case "(($ac_try" in
6421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6422 *) ac_try_echo=$ac_try;;
6423 esac
6424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6425 (eval "$ac_link") 2>conftest.er1
6426 ac_status=$?
6427 grep -v '^ *+' conftest.er1 >conftest.err
6428 rm -f conftest.er1
6429 cat conftest.err >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); } && {
6432 test -z "$ac_c_werror_flag" ||
6433 test ! -s conftest.err
6434 } && test -s conftest$ac_exeext &&
6435 $as_test_x conftest$ac_exeext; then
6436 ac_cv_lib_pthread_pthread_create=yes
6437 else
6438 echo "$as_me: failed program was:" >&5
6439 sed 's/^/| /' conftest.$ac_ext >&5
6441 ac_cv_lib_pthread_pthread_create=no
6444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6445 conftest$ac_exeext conftest.$ac_ext
6446 LIBS=$ac_check_lib_save_LIBS
6448 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6449 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6450 if test $ac_cv_lib_pthread_pthread_create = yes; then
6451 LIBPTHREAD="-lpthread"
6456 XLIB=""
6458 XFILES=""
6460 OPENGLFILES=""
6462 GLU32FILES=""
6464 OPENGL_LIBS=""
6466 QUARTZFILES=""
6470 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6471 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6472 if test "${ac_cv_header_stdc+set}" = set; then
6473 echo $ECHO_N "(cached) $ECHO_C" >&6
6474 else
6475 cat >conftest.$ac_ext <<_ACEOF
6476 /* confdefs.h. */
6477 _ACEOF
6478 cat confdefs.h >>conftest.$ac_ext
6479 cat >>conftest.$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6481 #include <stdlib.h>
6482 #include <stdarg.h>
6483 #include <string.h>
6484 #include <float.h>
6487 main ()
6491 return 0;
6493 _ACEOF
6494 rm -f conftest.$ac_objext
6495 if { (ac_try="$ac_compile"
6496 case "(($ac_try" in
6497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6498 *) ac_try_echo=$ac_try;;
6499 esac
6500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6501 (eval "$ac_compile") 2>conftest.er1
6502 ac_status=$?
6503 grep -v '^ *+' conftest.er1 >conftest.err
6504 rm -f conftest.er1
6505 cat conftest.err >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } && {
6508 test -z "$ac_c_werror_flag" ||
6509 test ! -s conftest.err
6510 } && test -s conftest.$ac_objext; then
6511 ac_cv_header_stdc=yes
6512 else
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.$ac_ext >&5
6516 ac_cv_header_stdc=no
6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6521 if test $ac_cv_header_stdc = yes; then
6522 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6523 cat >conftest.$ac_ext <<_ACEOF
6524 /* confdefs.h. */
6525 _ACEOF
6526 cat confdefs.h >>conftest.$ac_ext
6527 cat >>conftest.$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6529 #include <string.h>
6531 _ACEOF
6532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6533 $EGREP "memchr" >/dev/null 2>&1; then
6535 else
6536 ac_cv_header_stdc=no
6538 rm -f conftest*
6542 if test $ac_cv_header_stdc = yes; then
6543 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6544 cat >conftest.$ac_ext <<_ACEOF
6545 /* confdefs.h. */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6550 #include <stdlib.h>
6552 _ACEOF
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554 $EGREP "free" >/dev/null 2>&1; then
6556 else
6557 ac_cv_header_stdc=no
6559 rm -f conftest*
6563 if test $ac_cv_header_stdc = yes; then
6564 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6565 if test "$cross_compiling" = yes; then
6567 else
6568 cat >conftest.$ac_ext <<_ACEOF
6569 /* confdefs.h. */
6570 _ACEOF
6571 cat confdefs.h >>conftest.$ac_ext
6572 cat >>conftest.$ac_ext <<_ACEOF
6573 /* end confdefs.h. */
6574 #include <ctype.h>
6575 #include <stdlib.h>
6576 #if ((' ' & 0x0FF) == 0x020)
6577 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6578 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6579 #else
6580 # define ISLOWER(c) \
6581 (('a' <= (c) && (c) <= 'i') \
6582 || ('j' <= (c) && (c) <= 'r') \
6583 || ('s' <= (c) && (c) <= 'z'))
6584 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6585 #endif
6587 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6589 main ()
6591 int i;
6592 for (i = 0; i < 256; i++)
6593 if (XOR (islower (i), ISLOWER (i))
6594 || toupper (i) != TOUPPER (i))
6595 return 2;
6596 return 0;
6598 _ACEOF
6599 rm -f conftest$ac_exeext
6600 if { (ac_try="$ac_link"
6601 case "(($ac_try" in
6602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6603 *) ac_try_echo=$ac_try;;
6604 esac
6605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6606 (eval "$ac_link") 2>&5
6607 ac_status=$?
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6610 { (case "(($ac_try" in
6611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6612 *) ac_try_echo=$ac_try;;
6613 esac
6614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6615 (eval "$ac_try") 2>&5
6616 ac_status=$?
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; }; then
6620 else
6621 echo "$as_me: program exited with status $ac_status" >&5
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.$ac_ext >&5
6625 ( exit $ac_status )
6626 ac_cv_header_stdc=no
6628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6634 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6635 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6636 if test $ac_cv_header_stdc = yes; then
6638 cat >>confdefs.h <<\_ACEOF
6639 #define STDC_HEADERS 1
6640 _ACEOF
6644 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6655 inttypes.h stdint.h unistd.h
6657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6658 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6660 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 else
6663 cat >conftest.$ac_ext <<_ACEOF
6664 /* confdefs.h. */
6665 _ACEOF
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 $ac_includes_default
6671 #include <$ac_header>
6672 _ACEOF
6673 rm -f conftest.$ac_objext
6674 if { (ac_try="$ac_compile"
6675 case "(($ac_try" in
6676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6677 *) ac_try_echo=$ac_try;;
6678 esac
6679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6680 (eval "$ac_compile") 2>conftest.er1
6681 ac_status=$?
6682 grep -v '^ *+' conftest.er1 >conftest.err
6683 rm -f conftest.er1
6684 cat conftest.err >&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } && {
6687 test -z "$ac_c_werror_flag" ||
6688 test ! -s conftest.err
6689 } && test -s conftest.$ac_objext; then
6690 eval "$as_ac_Header=yes"
6691 else
6692 echo "$as_me: failed program was:" >&5
6693 sed 's/^/| /' conftest.$ac_ext >&5
6695 eval "$as_ac_Header=no"
6698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6700 ac_res=`eval echo '${'$as_ac_Header'}'`
6701 { echo "$as_me:$LINENO: result: $ac_res" >&5
6702 echo "${ECHO_T}$ac_res" >&6; }
6703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6704 cat >>confdefs.h <<_ACEOF
6705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6706 _ACEOF
6710 done
6824 for ac_header in \
6825 AudioUnit/AudioUnit.h \
6826 Carbon/Carbon.h \
6827 CoreAudio/CoreAudio.h \
6828 DiskArbitration/DiskArbitration.h \
6829 IOKit/IOKitLib.h \
6830 alsa/asoundlib.h \
6831 arpa/inet.h \
6832 arpa/nameser.h \
6833 asm/types.h \
6834 capi20.h \
6835 cups/cups.h \
6836 curses.h \
6837 direct.h \
6838 dlfcn.h \
6839 elf.h \
6840 float.h \
6841 fontconfig/fontconfig.h \
6842 getopt.h \
6843 ieeefp.h \
6844 io.h \
6845 jack/jack.h \
6846 jpeglib.h \
6847 lber.h \
6848 lcms.h \
6849 lcms/lcms.h \
6850 ldap.h \
6851 libaudioio.h \
6852 link.h \
6853 linux/cdrom.h \
6854 linux/compiler.h \
6855 linux/hdreg.h \
6856 linux/input.h \
6857 linux/ioctl.h \
6858 linux/joystick.h \
6859 linux/major.h \
6860 linux/param.h \
6861 linux/serial.h \
6862 linux/ucdrom.h \
6863 mach/mach.h \
6864 mach/machine.h \
6865 machine/cpu.h \
6866 machine/limits.h \
6867 machine/soundcard.h \
6868 mntent.h \
6869 ncurses.h \
6870 netdb.h \
6871 netinet/in.h \
6872 netinet/in_systm.h \
6873 netinet/tcp.h \
6874 netinet/tcp_fsm.h \
6875 openssl/err.h \
6876 openssl/ssl.h \
6877 png.h \
6878 poll.h \
6879 process.h \
6880 pthread.h \
6881 pwd.h \
6882 regex.h \
6883 sched.h \
6884 scsi/scsi.h \
6885 scsi/scsi_ioctl.h \
6886 scsi/sg.h \
6887 soundcard.h \
6888 stdint.h \
6889 strings.h \
6890 sys/asoundlib.h \
6891 sys/cdio.h \
6892 sys/elf32.h \
6893 sys/epoll.h \
6894 sys/errno.h \
6895 sys/event.h \
6896 sys/exec_elf.h \
6897 sys/filio.h \
6898 sys/ioctl.h \
6899 sys/ipc.h \
6900 sys/limits.h \
6901 sys/link.h \
6902 sys/lwp.h \
6903 sys/mman.h \
6904 sys/modem.h \
6905 sys/msg.h \
6906 sys/mtio.h \
6907 sys/param.h \
6908 sys/poll.h \
6909 sys/prctl.h \
6910 sys/ptrace.h \
6911 sys/reg.h \
6912 sys/resource.h \
6913 sys/scsiio.h \
6914 sys/shm.h \
6915 sys/signal.h \
6916 sys/socket.h \
6917 sys/socketvar.h \
6918 sys/sockio.h \
6919 sys/soundcard.h \
6920 sys/statvfs.h \
6921 sys/strtio.h \
6922 sys/syscall.h \
6923 sys/sysctl.h \
6924 sys/time.h \
6925 sys/times.h \
6926 sys/uio.h \
6927 sys/un.h \
6928 sys/vm86.h \
6929 sys/wait.h \
6930 syscall.h \
6931 termios.h \
6932 unicode/ubidi.h \
6933 unistd.h \
6934 utime.h \
6935 valgrind/memcheck.h
6938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6940 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6942 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6945 ac_res=`eval echo '${'$as_ac_Header'}'`
6946 { echo "$as_me:$LINENO: result: $ac_res" >&5
6947 echo "${ECHO_T}$ac_res" >&6; }
6948 else
6949 # Is the header compilable?
6950 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6952 cat >conftest.$ac_ext <<_ACEOF
6953 /* confdefs.h. */
6954 _ACEOF
6955 cat confdefs.h >>conftest.$ac_ext
6956 cat >>conftest.$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6958 $ac_includes_default
6959 #include <$ac_header>
6960 _ACEOF
6961 rm -f conftest.$ac_objext
6962 if { (ac_try="$ac_compile"
6963 case "(($ac_try" in
6964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6965 *) ac_try_echo=$ac_try;;
6966 esac
6967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6968 (eval "$ac_compile") 2>conftest.er1
6969 ac_status=$?
6970 grep -v '^ *+' conftest.er1 >conftest.err
6971 rm -f conftest.er1
6972 cat conftest.err >&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); } && {
6975 test -z "$ac_c_werror_flag" ||
6976 test ! -s conftest.err
6977 } && test -s conftest.$ac_objext; then
6978 ac_header_compiler=yes
6979 else
6980 echo "$as_me: failed program was:" >&5
6981 sed 's/^/| /' conftest.$ac_ext >&5
6983 ac_header_compiler=no
6986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6987 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6988 echo "${ECHO_T}$ac_header_compiler" >&6; }
6990 # Is the header present?
6991 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6993 cat >conftest.$ac_ext <<_ACEOF
6994 /* confdefs.h. */
6995 _ACEOF
6996 cat confdefs.h >>conftest.$ac_ext
6997 cat >>conftest.$ac_ext <<_ACEOF
6998 /* end confdefs.h. */
6999 #include <$ac_header>
7000 _ACEOF
7001 if { (ac_try="$ac_cpp conftest.$ac_ext"
7002 case "(($ac_try" in
7003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7004 *) ac_try_echo=$ac_try;;
7005 esac
7006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7008 ac_status=$?
7009 grep -v '^ *+' conftest.er1 >conftest.err
7010 rm -f conftest.er1
7011 cat conftest.err >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); } >/dev/null && {
7014 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7015 test ! -s conftest.err
7016 }; then
7017 ac_header_preproc=yes
7018 else
7019 echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.$ac_ext >&5
7022 ac_header_preproc=no
7025 rm -f conftest.err conftest.$ac_ext
7026 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7027 echo "${ECHO_T}$ac_header_preproc" >&6; }
7029 # So? What about this header?
7030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7031 yes:no: )
7032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7036 ac_header_preproc=yes
7038 no:yes:* )
7039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7051 ( cat <<\_ASBOX
7052 ## ------------------------------------ ##
7053 ## Report this to wine-devel@winehq.org ##
7054 ## ------------------------------------ ##
7055 _ASBOX
7056 ) | sed "s/^/$as_me: WARNING: /" >&2
7058 esac
7059 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7062 echo $ECHO_N "(cached) $ECHO_C" >&6
7063 else
7064 eval "$as_ac_Header=\$ac_header_preproc"
7066 ac_res=`eval echo '${'$as_ac_Header'}'`
7067 { echo "$as_me:$LINENO: result: $ac_res" >&5
7068 echo "${ECHO_T}$ac_res" >&6; }
7071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7072 cat >>confdefs.h <<_ACEOF
7073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7074 _ACEOF
7078 done
7080 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7081 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7082 if test "${ac_cv_header_stat_broken+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 else
7085 cat >conftest.$ac_ext <<_ACEOF
7086 /* confdefs.h. */
7087 _ACEOF
7088 cat confdefs.h >>conftest.$ac_ext
7089 cat >>conftest.$ac_ext <<_ACEOF
7090 /* end confdefs.h. */
7091 #include <sys/types.h>
7092 #include <sys/stat.h>
7094 #if defined S_ISBLK && defined S_IFDIR
7095 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7096 #endif
7098 #if defined S_ISBLK && defined S_IFCHR
7099 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7100 #endif
7102 #if defined S_ISLNK && defined S_IFREG
7103 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7104 #endif
7106 #if defined S_ISSOCK && defined S_IFREG
7107 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7108 #endif
7110 _ACEOF
7111 rm -f conftest.$ac_objext
7112 if { (ac_try="$ac_compile"
7113 case "(($ac_try" in
7114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7115 *) ac_try_echo=$ac_try;;
7116 esac
7117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7118 (eval "$ac_compile") 2>conftest.er1
7119 ac_status=$?
7120 grep -v '^ *+' conftest.er1 >conftest.err
7121 rm -f conftest.er1
7122 cat conftest.err >&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); } && {
7125 test -z "$ac_c_werror_flag" ||
7126 test ! -s conftest.err
7127 } && test -s conftest.$ac_objext; then
7128 ac_cv_header_stat_broken=no
7129 else
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.$ac_ext >&5
7133 ac_cv_header_stat_broken=yes
7136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7138 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7139 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7140 if test $ac_cv_header_stat_broken = yes; then
7142 cat >>confdefs.h <<\_ACEOF
7143 #define STAT_MACROS_BROKEN 1
7144 _ACEOF
7154 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7156 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7157 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7160 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 else
7162 cat >conftest.$ac_ext <<_ACEOF
7163 /* confdefs.h. */
7164 _ACEOF
7165 cat confdefs.h >>conftest.$ac_ext
7166 cat >>conftest.$ac_ext <<_ACEOF
7167 /* end confdefs.h. */
7168 #include <sys/types.h>
7169 #if HAVE_SYS_PARAM_H
7170 # include <sys/param.h>
7171 #endif
7173 #include <$ac_header>
7174 _ACEOF
7175 rm -f conftest.$ac_objext
7176 if { (ac_try="$ac_compile"
7177 case "(($ac_try" in
7178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7179 *) ac_try_echo=$ac_try;;
7180 esac
7181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7182 (eval "$ac_compile") 2>conftest.er1
7183 ac_status=$?
7184 grep -v '^ *+' conftest.er1 >conftest.err
7185 rm -f conftest.er1
7186 cat conftest.err >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } && {
7189 test -z "$ac_c_werror_flag" ||
7190 test ! -s conftest.err
7191 } && test -s conftest.$ac_objext; then
7192 eval "$as_ac_Header=yes"
7193 else
7194 echo "$as_me: failed program was:" >&5
7195 sed 's/^/| /' conftest.$ac_ext >&5
7197 eval "$as_ac_Header=no"
7200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7202 ac_res=`eval echo '${'$as_ac_Header'}'`
7203 { echo "$as_me:$LINENO: result: $ac_res" >&5
7204 echo "${ECHO_T}$ac_res" >&6; }
7205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7206 cat >>confdefs.h <<_ACEOF
7207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7208 _ACEOF
7212 done
7223 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
7225 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7226 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7229 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 else
7231 cat >conftest.$ac_ext <<_ACEOF
7232 /* confdefs.h. */
7233 _ACEOF
7234 cat confdefs.h >>conftest.$ac_ext
7235 cat >>conftest.$ac_ext <<_ACEOF
7236 /* end confdefs.h. */
7237 #include <sys/types.h>
7238 #if HAVE_SYS_SOCKET_H
7239 # include <sys/socket.h>
7240 #endif
7242 #include <$ac_header>
7243 _ACEOF
7244 rm -f conftest.$ac_objext
7245 if { (ac_try="$ac_compile"
7246 case "(($ac_try" in
7247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7248 *) ac_try_echo=$ac_try;;
7249 esac
7250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7251 (eval "$ac_compile") 2>conftest.er1
7252 ac_status=$?
7253 grep -v '^ *+' conftest.er1 >conftest.err
7254 rm -f conftest.er1
7255 cat conftest.err >&5
7256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); } && {
7258 test -z "$ac_c_werror_flag" ||
7259 test ! -s conftest.err
7260 } && test -s conftest.$ac_objext; then
7261 eval "$as_ac_Header=yes"
7262 else
7263 echo "$as_me: failed program was:" >&5
7264 sed 's/^/| /' conftest.$ac_ext >&5
7266 eval "$as_ac_Header=no"
7269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7271 ac_res=`eval echo '${'$as_ac_Header'}'`
7272 { echo "$as_me:$LINENO: result: $ac_res" >&5
7273 echo "${ECHO_T}$ac_res" >&6; }
7274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7275 cat >>confdefs.h <<_ACEOF
7276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7277 _ACEOF
7281 done
7283 #if HAVE_SYS_SOCKETVAR_H
7284 # include <sys/socketvar.h>
7285 #endif
7288 for ac_header in netinet/tcp_var.h
7290 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7291 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7295 else
7296 cat >conftest.$ac_ext <<_ACEOF
7297 /* confdefs.h. */
7298 _ACEOF
7299 cat confdefs.h >>conftest.$ac_ext
7300 cat >>conftest.$ac_ext <<_ACEOF
7301 /* end confdefs.h. */
7302 #include <sys/types.h>
7303 #if HAVE_SYS_SOCKET_H
7304 # include <sys/socket.h>
7305 #endif
7306 #if HAVE_SYS_SOCKETVAR_H
7307 # include <sys/socketvar.h>
7308 #endif
7309 #if HAVE_NETINET_IN_H
7310 # include <netinet/in.h>
7311 #endif
7312 #ifdef HAVE_NETINET_TCP_H
7313 # include <netinet/tcp.h>
7314 #endif
7316 #include <$ac_header>
7317 _ACEOF
7318 rm -f conftest.$ac_objext
7319 if { (ac_try="$ac_compile"
7320 case "(($ac_try" in
7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;;
7323 esac
7324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 (eval "$ac_compile") 2>conftest.er1
7326 ac_status=$?
7327 grep -v '^ *+' conftest.er1 >conftest.err
7328 rm -f conftest.er1
7329 cat conftest.err >&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } && {
7332 test -z "$ac_c_werror_flag" ||
7333 test ! -s conftest.err
7334 } && test -s conftest.$ac_objext; then
7335 eval "$as_ac_Header=yes"
7336 else
7337 echo "$as_me: failed program was:" >&5
7338 sed 's/^/| /' conftest.$ac_ext >&5
7340 eval "$as_ac_Header=no"
7343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7345 ac_res=`eval echo '${'$as_ac_Header'}'`
7346 { echo "$as_me:$LINENO: result: $ac_res" >&5
7347 echo "${ECHO_T}$ac_res" >&6; }
7348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7349 cat >>confdefs.h <<_ACEOF
7350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7351 _ACEOF
7355 done
7359 for ac_header in linux/ipx.h
7361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7365 echo $ECHO_N "(cached) $ECHO_C" >&6
7366 else
7367 cat >conftest.$ac_ext <<_ACEOF
7368 /* confdefs.h. */
7369 _ACEOF
7370 cat confdefs.h >>conftest.$ac_ext
7371 cat >>conftest.$ac_ext <<_ACEOF
7372 /* end confdefs.h. */
7373 #include <sys/types.h>
7374 #ifdef HAVE_ASM_TYPES_H
7375 # include <asm/types.h>
7376 #endif
7377 #if HAVE_SYS_SOCKET_H
7378 # include <sys/socket.h>
7379 #endif
7381 #include <$ac_header>
7382 _ACEOF
7383 rm -f conftest.$ac_objext
7384 if { (ac_try="$ac_compile"
7385 case "(($ac_try" in
7386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7387 *) ac_try_echo=$ac_try;;
7388 esac
7389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7390 (eval "$ac_compile") 2>conftest.er1
7391 ac_status=$?
7392 grep -v '^ *+' conftest.er1 >conftest.err
7393 rm -f conftest.er1
7394 cat conftest.err >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); } && {
7397 test -z "$ac_c_werror_flag" ||
7398 test ! -s conftest.err
7399 } && test -s conftest.$ac_objext; then
7400 eval "$as_ac_Header=yes"
7401 else
7402 echo "$as_me: failed program was:" >&5
7403 sed 's/^/| /' conftest.$ac_ext >&5
7405 eval "$as_ac_Header=no"
7408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7410 ac_res=`eval echo '${'$as_ac_Header'}'`
7411 { echo "$as_me:$LINENO: result: $ac_res" >&5
7412 echo "${ECHO_T}$ac_res" >&6; }
7413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7414 cat >>confdefs.h <<_ACEOF
7415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7416 _ACEOF
7420 done
7424 for ac_header in resolv.h
7426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7430 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 else
7432 cat >conftest.$ac_ext <<_ACEOF
7433 /* confdefs.h. */
7434 _ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 #include <sys/types.h>
7439 #if HAVE_SYS_SOCKET_H
7440 # include <sys/socket.h>
7441 #endif
7442 #if HAVE_NETINET_IN_H
7443 # include <netinet/in.h>
7444 #endif
7445 #if HAVE_ARPA_NAMESER_H
7446 # include <arpa/nameser.h>
7447 #endif
7449 #include <$ac_header>
7450 _ACEOF
7451 rm -f conftest.$ac_objext
7452 if { (ac_try="$ac_compile"
7453 case "(($ac_try" in
7454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7455 *) ac_try_echo=$ac_try;;
7456 esac
7457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7458 (eval "$ac_compile") 2>conftest.er1
7459 ac_status=$?
7460 grep -v '^ *+' conftest.er1 >conftest.err
7461 rm -f conftest.er1
7462 cat conftest.err >&5
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); } && {
7465 test -z "$ac_c_werror_flag" ||
7466 test ! -s conftest.err
7467 } && test -s conftest.$ac_objext; then
7468 eval "$as_ac_Header=yes"
7469 else
7470 echo "$as_me: failed program was:" >&5
7471 sed 's/^/| /' conftest.$ac_ext >&5
7473 eval "$as_ac_Header=no"
7476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7478 ac_res=`eval echo '${'$as_ac_Header'}'`
7479 { echo "$as_me:$LINENO: result: $ac_res" >&5
7480 echo "${ECHO_T}$ac_res" >&6; }
7481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7482 cat >>confdefs.h <<_ACEOF
7483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7484 _ACEOF
7488 done
7492 for ac_header in ucontext.h
7494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7498 echo $ECHO_N "(cached) $ECHO_C" >&6
7499 else
7500 cat >conftest.$ac_ext <<_ACEOF
7501 /* confdefs.h. */
7502 _ACEOF
7503 cat confdefs.h >>conftest.$ac_ext
7504 cat >>conftest.$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7506 #include <signal.h>
7508 #include <$ac_header>
7509 _ACEOF
7510 rm -f conftest.$ac_objext
7511 if { (ac_try="$ac_compile"
7512 case "(($ac_try" in
7513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7514 *) ac_try_echo=$ac_try;;
7515 esac
7516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7517 (eval "$ac_compile") 2>conftest.er1
7518 ac_status=$?
7519 grep -v '^ *+' conftest.er1 >conftest.err
7520 rm -f conftest.er1
7521 cat conftest.err >&5
7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523 (exit $ac_status); } && {
7524 test -z "$ac_c_werror_flag" ||
7525 test ! -s conftest.err
7526 } && test -s conftest.$ac_objext; then
7527 eval "$as_ac_Header=yes"
7528 else
7529 echo "$as_me: failed program was:" >&5
7530 sed 's/^/| /' conftest.$ac_ext >&5
7532 eval "$as_ac_Header=no"
7535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7537 ac_res=`eval echo '${'$as_ac_Header'}'`
7538 { echo "$as_me:$LINENO: result: $ac_res" >&5
7539 echo "${ECHO_T}$ac_res" >&6; }
7540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7541 cat >>confdefs.h <<_ACEOF
7542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7543 _ACEOF
7547 done
7551 for ac_header in pthread_np.h
7553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7554 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7557 echo $ECHO_N "(cached) $ECHO_C" >&6
7558 else
7559 cat >conftest.$ac_ext <<_ACEOF
7560 /* confdefs.h. */
7561 _ACEOF
7562 cat confdefs.h >>conftest.$ac_ext
7563 cat >>conftest.$ac_ext <<_ACEOF
7564 /* end confdefs.h. */
7565 #ifdef HAVE_PTHREAD_H
7566 #include <pthread.h>
7567 #endif
7569 #include <$ac_header>
7570 _ACEOF
7571 rm -f conftest.$ac_objext
7572 if { (ac_try="$ac_compile"
7573 case "(($ac_try" in
7574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7575 *) ac_try_echo=$ac_try;;
7576 esac
7577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7578 (eval "$ac_compile") 2>conftest.er1
7579 ac_status=$?
7580 grep -v '^ *+' conftest.er1 >conftest.err
7581 rm -f conftest.er1
7582 cat conftest.err >&5
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); } && {
7585 test -z "$ac_c_werror_flag" ||
7586 test ! -s conftest.err
7587 } && test -s conftest.$ac_objext; then
7588 eval "$as_ac_Header=yes"
7589 else
7590 echo "$as_me: failed program was:" >&5
7591 sed 's/^/| /' conftest.$ac_ext >&5
7593 eval "$as_ac_Header=no"
7596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7598 ac_res=`eval echo '${'$as_ac_Header'}'`
7599 { echo "$as_me:$LINENO: result: $ac_res" >&5
7600 echo "${ECHO_T}$ac_res" >&6; }
7601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7602 cat >>confdefs.h <<_ACEOF
7603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7604 _ACEOF
7608 done
7612 for ac_header in linux/videodev.h
7614 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7618 echo $ECHO_N "(cached) $ECHO_C" >&6
7619 else
7620 cat >conftest.$ac_ext <<_ACEOF
7621 /* confdefs.h. */
7622 _ACEOF
7623 cat confdefs.h >>conftest.$ac_ext
7624 cat >>conftest.$ac_ext <<_ACEOF
7625 /* end confdefs.h. */
7626 #ifdef HAVE_SYS_TIME_H
7627 #include <sys/time.h>
7628 #endif
7629 #include <sys/types.h>
7630 #ifdef HAVE_ASM_TYPES_H
7631 #include <asm/types.h>
7632 #endif
7634 #include <$ac_header>
7635 _ACEOF
7636 rm -f conftest.$ac_objext
7637 if { (ac_try="$ac_compile"
7638 case "(($ac_try" in
7639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7640 *) ac_try_echo=$ac_try;;
7641 esac
7642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7643 (eval "$ac_compile") 2>conftest.er1
7644 ac_status=$?
7645 grep -v '^ *+' conftest.er1 >conftest.err
7646 rm -f conftest.er1
7647 cat conftest.err >&5
7648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649 (exit $ac_status); } && {
7650 test -z "$ac_c_werror_flag" ||
7651 test ! -s conftest.err
7652 } && test -s conftest.$ac_objext; then
7653 eval "$as_ac_Header=yes"
7654 else
7655 echo "$as_me: failed program was:" >&5
7656 sed 's/^/| /' conftest.$ac_ext >&5
7658 eval "$as_ac_Header=no"
7661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7663 ac_res=`eval echo '${'$as_ac_Header'}'`
7664 { echo "$as_me:$LINENO: result: $ac_res" >&5
7665 echo "${ECHO_T}$ac_res" >&6; }
7666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7667 cat >>confdefs.h <<_ACEOF
7668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 _ACEOF
7673 done
7677 for ac_header in linux/capi.h
7679 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7680 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7682 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7683 echo $ECHO_N "(cached) $ECHO_C" >&6
7684 else
7685 cat >conftest.$ac_ext <<_ACEOF
7686 /* confdefs.h. */
7687 _ACEOF
7688 cat confdefs.h >>conftest.$ac_ext
7689 cat >>conftest.$ac_ext <<_ACEOF
7690 /* end confdefs.h. */
7691 #define __user
7693 #include <$ac_header>
7694 _ACEOF
7695 rm -f conftest.$ac_objext
7696 if { (ac_try="$ac_compile"
7697 case "(($ac_try" in
7698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7699 *) ac_try_echo=$ac_try;;
7700 esac
7701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7702 (eval "$ac_compile") 2>conftest.er1
7703 ac_status=$?
7704 grep -v '^ *+' conftest.er1 >conftest.err
7705 rm -f conftest.er1
7706 cat conftest.err >&5
7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); } && {
7709 test -z "$ac_c_werror_flag" ||
7710 test ! -s conftest.err
7711 } && test -s conftest.$ac_objext; then
7712 eval "$as_ac_Header=yes"
7713 else
7714 echo "$as_me: failed program was:" >&5
7715 sed 's/^/| /' conftest.$ac_ext >&5
7717 eval "$as_ac_Header=no"
7720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7722 ac_res=`eval echo '${'$as_ac_Header'}'`
7723 { echo "$as_me:$LINENO: result: $ac_res" >&5
7724 echo "${ECHO_T}$ac_res" >&6; }
7725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7726 cat >>confdefs.h <<_ACEOF
7727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7728 _ACEOF
7732 done
7736 DLLEXT=""
7738 DLLFLAGS="-D_REENTRANT"
7740 LDSHARED=""
7742 LDDLLFLAGS=""
7744 LIBEXT="so"
7746 IMPLIBEXT="def"
7748 LDRPATH_INSTALL=""
7750 LDRPATH_LOCAL=""
7752 # Extract the first word of "ldd", so it can be a program name with args.
7753 set dummy ldd; ac_word=$2
7754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7756 if test "${ac_cv_path_LDD+set}" = set; then
7757 echo $ECHO_N "(cached) $ECHO_C" >&6
7758 else
7759 case $LDD in
7760 [\\/]* | ?:[\\/]*)
7761 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7765 as_dummy="/sbin:/usr/sbin:$PATH"
7766 for as_dir in $as_dummy
7768 IFS=$as_save_IFS
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7774 break 2
7776 done
7777 done
7778 IFS=$as_save_IFS
7780 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7782 esac
7784 LDD=$ac_cv_path_LDD
7785 if test -n "$LDD"; then
7786 { echo "$as_me:$LINENO: result: $LDD" >&5
7787 echo "${ECHO_T}$LDD" >&6; }
7788 else
7789 { echo "$as_me:$LINENO: result: no" >&5
7790 echo "${ECHO_T}no" >&6; }
7795 case $host_os in
7796 cygwin*|mingw32*)
7797 if test -n "$ac_tool_prefix"; then
7798 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7799 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7802 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7803 echo $ECHO_N "(cached) $ECHO_C" >&6
7804 else
7805 if test -n "$DLLTOOL"; then
7806 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7807 else
7808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809 for as_dir in $PATH
7811 IFS=$as_save_IFS
7812 test -z "$as_dir" && as_dir=.
7813 for ac_exec_ext in '' $ac_executable_extensions; do
7814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7815 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7817 break 2
7819 done
7820 done
7821 IFS=$as_save_IFS
7825 DLLTOOL=$ac_cv_prog_DLLTOOL
7826 if test -n "$DLLTOOL"; then
7827 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7828 echo "${ECHO_T}$DLLTOOL" >&6; }
7829 else
7830 { echo "$as_me:$LINENO: result: no" >&5
7831 echo "${ECHO_T}no" >&6; }
7836 if test -z "$ac_cv_prog_DLLTOOL"; then
7837 ac_ct_DLLTOOL=$DLLTOOL
7838 # Extract the first word of "dlltool", so it can be a program name with args.
7839 set dummy dlltool; ac_word=$2
7840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7842 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7844 else
7845 if test -n "$ac_ct_DLLTOOL"; then
7846 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7847 else
7848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7849 for as_dir in $PATH
7851 IFS=$as_save_IFS
7852 test -z "$as_dir" && as_dir=.
7853 for ac_exec_ext in '' $ac_executable_extensions; do
7854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7855 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7857 break 2
7859 done
7860 done
7861 IFS=$as_save_IFS
7865 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7866 if test -n "$ac_ct_DLLTOOL"; then
7867 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7868 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7869 else
7870 { echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6; }
7874 if test "x$ac_ct_DLLTOOL" = x; then
7875 DLLTOOL="false"
7876 else
7877 case $cross_compiling:$ac_tool_warned in
7878 yes:)
7879 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7880 whose name does not start with the host triplet. If you think this
7881 configuration is useful to you, please write to autoconf@gnu.org." >&5
7882 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7883 whose name does not start with the host triplet. If you think this
7884 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7885 ac_tool_warned=yes ;;
7886 esac
7887 DLLTOOL=$ac_ct_DLLTOOL
7889 else
7890 DLLTOOL="$ac_cv_prog_DLLTOOL"
7893 if test -n "$ac_tool_prefix"; then
7894 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7895 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7898 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7899 echo $ECHO_N "(cached) $ECHO_C" >&6
7900 else
7901 if test -n "$DLLWRAP"; then
7902 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7903 else
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 for as_dir in $PATH
7907 IFS=$as_save_IFS
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7911 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 break 2
7915 done
7916 done
7917 IFS=$as_save_IFS
7921 DLLWRAP=$ac_cv_prog_DLLWRAP
7922 if test -n "$DLLWRAP"; then
7923 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7924 echo "${ECHO_T}$DLLWRAP" >&6; }
7925 else
7926 { echo "$as_me:$LINENO: result: no" >&5
7927 echo "${ECHO_T}no" >&6; }
7932 if test -z "$ac_cv_prog_DLLWRAP"; then
7933 ac_ct_DLLWRAP=$DLLWRAP
7934 # Extract the first word of "dllwrap", so it can be a program name with args.
7935 set dummy dllwrap; ac_word=$2
7936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7938 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7939 echo $ECHO_N "(cached) $ECHO_C" >&6
7940 else
7941 if test -n "$ac_ct_DLLWRAP"; then
7942 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7943 else
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945 for as_dir in $PATH
7947 IFS=$as_save_IFS
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7951 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 break 2
7955 done
7956 done
7957 IFS=$as_save_IFS
7961 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7962 if test -n "$ac_ct_DLLWRAP"; then
7963 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7964 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7965 else
7966 { echo "$as_me:$LINENO: result: no" >&5
7967 echo "${ECHO_T}no" >&6; }
7970 if test "x$ac_ct_DLLWRAP" = x; then
7971 DLLWRAP="false"
7972 else
7973 case $cross_compiling:$ac_tool_warned in
7974 yes:)
7975 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7976 whose name does not start with the host triplet. If you think this
7977 configuration is useful to you, please write to autoconf@gnu.org." >&5
7978 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7979 whose name does not start with the host triplet. If you think this
7980 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7981 ac_tool_warned=yes ;;
7982 esac
7983 DLLWRAP=$ac_ct_DLLWRAP
7985 else
7986 DLLWRAP="$ac_cv_prog_DLLWRAP"
7989 if test -n "$ac_tool_prefix"; then
7990 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7991 set dummy ${ac_tool_prefix}ar; ac_word=$2
7992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7994 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7995 echo $ECHO_N "(cached) $ECHO_C" >&6
7996 else
7997 if test -n "$MINGWAR"; then
7998 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7999 else
8000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8001 for as_dir in $PATH
8003 IFS=$as_save_IFS
8004 test -z "$as_dir" && as_dir=.
8005 for ac_exec_ext in '' $ac_executable_extensions; do
8006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8007 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8009 break 2
8011 done
8012 done
8013 IFS=$as_save_IFS
8017 MINGWAR=$ac_cv_prog_MINGWAR
8018 if test -n "$MINGWAR"; then
8019 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8020 echo "${ECHO_T}$MINGWAR" >&6; }
8021 else
8022 { echo "$as_me:$LINENO: result: no" >&5
8023 echo "${ECHO_T}no" >&6; }
8028 if test -z "$ac_cv_prog_MINGWAR"; then
8029 ac_ct_MINGWAR=$MINGWAR
8030 # Extract the first word of "ar", so it can be a program name with args.
8031 set dummy ar; ac_word=$2
8032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8034 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8035 echo $ECHO_N "(cached) $ECHO_C" >&6
8036 else
8037 if test -n "$ac_ct_MINGWAR"; then
8038 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8039 else
8040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8041 for as_dir in $PATH
8043 IFS=$as_save_IFS
8044 test -z "$as_dir" && as_dir=.
8045 for ac_exec_ext in '' $ac_executable_extensions; do
8046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8047 ac_cv_prog_ac_ct_MINGWAR="ar"
8048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8049 break 2
8051 done
8052 done
8053 IFS=$as_save_IFS
8057 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8058 if test -n "$ac_ct_MINGWAR"; then
8059 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8060 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8061 else
8062 { echo "$as_me:$LINENO: result: no" >&5
8063 echo "${ECHO_T}no" >&6; }
8066 if test "x$ac_ct_MINGWAR" = x; then
8067 MINGWAR="false"
8068 else
8069 case $cross_compiling:$ac_tool_warned in
8070 yes:)
8071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8072 whose name does not start with the host triplet. If you think this
8073 configuration is useful to you, please write to autoconf@gnu.org." >&5
8074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8075 whose name does not start with the host triplet. If you think this
8076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8077 ac_tool_warned=yes ;;
8078 esac
8079 MINGWAR=$ac_ct_MINGWAR
8081 else
8082 MINGWAR="$ac_cv_prog_MINGWAR"
8085 if test "$DLLWRAP" = "false"; then
8086 LIBEXT="a"
8087 else
8088 LIBEXT="dll"
8090 IMPLIBEXT="a"
8091 WIN16_FILES=""
8092 WIN16_INSTALL=""
8094 darwin*|macosx*)
8095 DLLEXT=".so"
8096 LIBEXT="dylib"
8097 DLLFLAGS="$DLLFLAGS -fPIC"
8098 LDDLLFLAGS="-bundle -multiply_defined suppress"
8099 LIBWINE_LDFLAGS="-multiply_defined suppress"
8100 LDSHARED="\$(CC) -dynamiclib"
8101 STRIP="$STRIP -x"
8102 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8103 COREFOUNDATIONLIB="-framework CoreFoundation"
8105 IOKITLIB="-framework IOKit -framework CoreFoundation"
8107 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8109 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8110 then
8111 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8114 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8115 then
8116 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8119 case $host_cpu in
8120 *powerpc*)
8121 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8122 esac
8123 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8124 then
8125 CARBONLIB="-framework Carbon"
8127 QUARTZFILES='$(QUARTZFILES)'
8131 DLLFLAGS="$DLLFLAGS -fPIC"
8132 DLLEXT=".so"
8133 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8134 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8135 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8136 echo $ECHO_N "(cached) $ECHO_C" >&6
8137 else
8138 ac_wine_try_cflags_saved=$CFLAGS
8139 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8140 cat >conftest.$ac_ext <<_ACEOF
8141 void myfunc() {}
8142 _ACEOF
8143 rm -f conftest.$ac_objext conftest$ac_exeext
8144 if { (ac_try="$ac_link"
8145 case "(($ac_try" in
8146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8147 *) ac_try_echo=$ac_try;;
8148 esac
8149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8150 (eval "$ac_link") 2>conftest.er1
8151 ac_status=$?
8152 grep -v '^ *+' conftest.er1 >conftest.err
8153 rm -f conftest.er1
8154 cat conftest.err >&5
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); } && {
8157 test -z "$ac_c_werror_flag" ||
8158 test ! -s conftest.err
8159 } && test -s conftest$ac_exeext &&
8160 $as_test_x conftest$ac_exeext; then
8161 ac_cv_c_dll_gnuelf="yes"
8162 else
8163 echo "$as_me: failed program was:" >&5
8164 sed 's/^/| /' conftest.$ac_ext >&5
8166 ac_cv_c_dll_gnuelf="no"
8169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8170 conftest$ac_exeext conftest.$ac_ext
8171 CFLAGS=$ac_wine_try_cflags_saved
8173 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8174 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8175 if test "$ac_cv_c_dll_gnuelf" = "yes"
8176 then
8177 LDSHARED="\$(CC) -shared"
8178 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8179 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8180 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8181 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8182 echo $ECHO_N "(cached) $ECHO_C" >&6
8183 else
8184 ac_wine_try_cflags_saved=$CFLAGS
8185 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8186 cat >conftest.$ac_ext <<_ACEOF
8187 /* confdefs.h. */
8188 _ACEOF
8189 cat confdefs.h >>conftest.$ac_ext
8190 cat >>conftest.$ac_ext <<_ACEOF
8191 /* end confdefs.h. */
8194 main ()
8198 return 0;
8200 _ACEOF
8201 rm -f conftest.$ac_objext conftest$ac_exeext
8202 if { (ac_try="$ac_link"
8203 case "(($ac_try" in
8204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8205 *) ac_try_echo=$ac_try;;
8206 esac
8207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8208 (eval "$ac_link") 2>conftest.er1
8209 ac_status=$?
8210 grep -v '^ *+' conftest.er1 >conftest.err
8211 rm -f conftest.er1
8212 cat conftest.err >&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); } && {
8215 test -z "$ac_c_werror_flag" ||
8216 test ! -s conftest.err
8217 } && test -s conftest$ac_exeext &&
8218 $as_test_x conftest$ac_exeext; then
8219 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8220 else
8221 echo "$as_me: failed program was:" >&5
8222 sed 's/^/| /' conftest.$ac_ext >&5
8224 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8228 conftest$ac_exeext conftest.$ac_ext
8229 CFLAGS=$ac_wine_try_cflags_saved
8231 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8232 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8233 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8234 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8235 else
8236 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8237 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8238 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8239 echo $ECHO_N "(cached) $ECHO_C" >&6
8240 else
8241 ac_wine_try_cflags_saved=$CFLAGS
8242 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8243 cat >conftest.$ac_ext <<_ACEOF
8244 /* confdefs.h. */
8245 _ACEOF
8246 cat confdefs.h >>conftest.$ac_ext
8247 cat >>conftest.$ac_ext <<_ACEOF
8248 /* end confdefs.h. */
8251 main ()
8255 return 0;
8257 _ACEOF
8258 rm -f conftest.$ac_objext conftest$ac_exeext
8259 if { (ac_try="$ac_link"
8260 case "(($ac_try" in
8261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8262 *) ac_try_echo=$ac_try;;
8263 esac
8264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8265 (eval "$ac_link") 2>conftest.er1
8266 ac_status=$?
8267 grep -v '^ *+' conftest.er1 >conftest.err
8268 rm -f conftest.er1
8269 cat conftest.err >&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); } && {
8272 test -z "$ac_c_werror_flag" ||
8273 test ! -s conftest.err
8274 } && test -s conftest$ac_exeext &&
8275 $as_test_x conftest$ac_exeext; then
8276 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8277 else
8278 echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.$ac_ext >&5
8281 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8285 conftest$ac_exeext conftest.$ac_ext
8286 CFLAGS=$ac_wine_try_cflags_saved
8288 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8289 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8290 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8291 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8297 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8298 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8299 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8300 echo $ECHO_N "(cached) $ECHO_C" >&6
8301 else
8302 ac_wine_try_cflags_saved=$CFLAGS
8303 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8304 cat >conftest.$ac_ext <<_ACEOF
8305 /* confdefs.h. */
8306 _ACEOF
8307 cat confdefs.h >>conftest.$ac_ext
8308 cat >>conftest.$ac_ext <<_ACEOF
8309 /* end confdefs.h. */
8312 main ()
8316 return 0;
8318 _ACEOF
8319 rm -f conftest.$ac_objext conftest$ac_exeext
8320 if { (ac_try="$ac_link"
8321 case "(($ac_try" in
8322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8323 *) ac_try_echo=$ac_try;;
8324 esac
8325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8326 (eval "$ac_link") 2>conftest.er1
8327 ac_status=$?
8328 grep -v '^ *+' conftest.er1 >conftest.err
8329 rm -f conftest.er1
8330 cat conftest.err >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); } && {
8333 test -z "$ac_c_werror_flag" ||
8334 test ! -s conftest.err
8335 } && test -s conftest$ac_exeext &&
8336 $as_test_x conftest$ac_exeext; then
8337 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8338 else
8339 echo "$as_me: failed program was:" >&5
8340 sed 's/^/| /' conftest.$ac_ext >&5
8342 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8346 conftest$ac_exeext conftest.$ac_ext
8347 CFLAGS=$ac_wine_try_cflags_saved
8349 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8350 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8351 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8352 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8356 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8357 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8358 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8359 echo $ECHO_N "(cached) $ECHO_C" >&6
8360 else
8361 ac_wine_try_cflags_saved=$CFLAGS
8362 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8363 cat >conftest.$ac_ext <<_ACEOF
8364 /* confdefs.h. */
8365 _ACEOF
8366 cat confdefs.h >>conftest.$ac_ext
8367 cat >>conftest.$ac_ext <<_ACEOF
8368 /* end confdefs.h. */
8371 main ()
8375 return 0;
8377 _ACEOF
8378 rm -f conftest.$ac_objext conftest$ac_exeext
8379 if { (ac_try="$ac_link"
8380 case "(($ac_try" in
8381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8382 *) ac_try_echo=$ac_try;;
8383 esac
8384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8385 (eval "$ac_link") 2>conftest.er1
8386 ac_status=$?
8387 grep -v '^ *+' conftest.er1 >conftest.err
8388 rm -f conftest.er1
8389 cat conftest.err >&5
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); } && {
8392 test -z "$ac_c_werror_flag" ||
8393 test ! -s conftest.err
8394 } && test -s conftest$ac_exeext &&
8395 $as_test_x conftest$ac_exeext; then
8396 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8397 else
8398 echo "$as_me: failed program was:" >&5
8399 sed 's/^/| /' conftest.$ac_ext >&5
8401 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8405 conftest$ac_exeext conftest.$ac_ext
8406 CFLAGS=$ac_wine_try_cflags_saved
8408 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8409 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8410 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8411 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8415 echo '{ global: *; };' >conftest.map
8416 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8417 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8418 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8419 echo $ECHO_N "(cached) $ECHO_C" >&6
8420 else
8421 ac_wine_try_cflags_saved=$CFLAGS
8422 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8423 cat >conftest.$ac_ext <<_ACEOF
8424 /* confdefs.h. */
8425 _ACEOF
8426 cat confdefs.h >>conftest.$ac_ext
8427 cat >>conftest.$ac_ext <<_ACEOF
8428 /* end confdefs.h. */
8431 main ()
8435 return 0;
8437 _ACEOF
8438 rm -f conftest.$ac_objext conftest$ac_exeext
8439 if { (ac_try="$ac_link"
8440 case "(($ac_try" in
8441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8442 *) ac_try_echo=$ac_try;;
8443 esac
8444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8445 (eval "$ac_link") 2>conftest.er1
8446 ac_status=$?
8447 grep -v '^ *+' conftest.er1 >conftest.err
8448 rm -f conftest.er1
8449 cat conftest.err >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } && {
8452 test -z "$ac_c_werror_flag" ||
8453 test ! -s conftest.err
8454 } && test -s conftest$ac_exeext &&
8455 $as_test_x conftest$ac_exeext; then
8456 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8457 else
8458 echo "$as_me: failed program was:" >&5
8459 sed 's/^/| /' conftest.$ac_ext >&5
8461 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8465 conftest$ac_exeext conftest.$ac_ext
8466 CFLAGS=$ac_wine_try_cflags_saved
8468 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8469 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8470 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8471 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8474 rm -f conftest.map
8476 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8477 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8478 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8479 echo $ECHO_N "(cached) $ECHO_C" >&6
8480 else
8481 ac_wine_try_cflags_saved=$CFLAGS
8482 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8483 cat >conftest.$ac_ext <<_ACEOF
8484 /* confdefs.h. */
8485 _ACEOF
8486 cat confdefs.h >>conftest.$ac_ext
8487 cat >>conftest.$ac_ext <<_ACEOF
8488 /* end confdefs.h. */
8491 main ()
8495 return 0;
8497 _ACEOF
8498 rm -f conftest.$ac_objext conftest$ac_exeext
8499 if { (ac_try="$ac_link"
8500 case "(($ac_try" in
8501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8502 *) ac_try_echo=$ac_try;;
8503 esac
8504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8505 (eval "$ac_link") 2>conftest.er1
8506 ac_status=$?
8507 grep -v '^ *+' conftest.er1 >conftest.err
8508 rm -f conftest.er1
8509 cat conftest.err >&5
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); } && {
8512 test -z "$ac_c_werror_flag" ||
8513 test ! -s conftest.err
8514 } && test -s conftest$ac_exeext &&
8515 $as_test_x conftest$ac_exeext; then
8516 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8517 else
8518 echo "$as_me: failed program was:" >&5
8519 sed 's/^/| /' conftest.$ac_ext >&5
8521 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8525 conftest$ac_exeext conftest.$ac_ext
8526 CFLAGS=$ac_wine_try_cflags_saved
8528 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8529 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8530 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8531 LDEXECFLAGS="-Wl,--export-dynamic"
8536 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8537 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8538 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8539 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8540 echo $ECHO_N "(cached) $ECHO_C" >&6
8541 else
8542 ac_wine_try_cflags_saved=$CFLAGS
8543 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8544 cat >conftest.$ac_ext <<_ACEOF
8545 /* confdefs.h. */
8546 _ACEOF
8547 cat confdefs.h >>conftest.$ac_ext
8548 cat >>conftest.$ac_ext <<_ACEOF
8549 /* end confdefs.h. */
8552 main ()
8556 return 0;
8558 _ACEOF
8559 rm -f conftest.$ac_objext conftest$ac_exeext
8560 if { (ac_try="$ac_link"
8561 case "(($ac_try" in
8562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8564 esac
8565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566 (eval "$ac_link") 2>conftest.er1
8567 ac_status=$?
8568 grep -v '^ *+' conftest.er1 >conftest.err
8569 rm -f conftest.er1
8570 cat conftest.err >&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); } && {
8573 test -z "$ac_c_werror_flag" ||
8574 test ! -s conftest.err
8575 } && test -s conftest$ac_exeext &&
8576 $as_test_x conftest$ac_exeext; then
8577 eval "$as_ac_var=yes"
8578 else
8579 echo "$as_me: failed program was:" >&5
8580 sed 's/^/| /' conftest.$ac_ext >&5
8582 eval "$as_ac_var=no"
8585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8586 conftest$ac_exeext conftest.$ac_ext
8587 CFLAGS=$ac_wine_try_cflags_saved
8589 ac_res=`eval echo '${'$as_ac_var'}'`
8590 { echo "$as_me:$LINENO: result: $ac_res" >&5
8591 echo "${ECHO_T}$ac_res" >&6; }
8592 if test `eval echo '${'$as_ac_var'}'` = yes; then
8593 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8594 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8595 else
8596 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8597 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8598 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8599 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8600 echo $ECHO_N "(cached) $ECHO_C" >&6
8601 else
8602 ac_wine_try_cflags_saved=$CFLAGS
8603 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8604 cat >conftest.$ac_ext <<_ACEOF
8605 /* confdefs.h. */
8606 _ACEOF
8607 cat confdefs.h >>conftest.$ac_ext
8608 cat >>conftest.$ac_ext <<_ACEOF
8609 /* end confdefs.h. */
8612 main ()
8616 return 0;
8618 _ACEOF
8619 rm -f conftest.$ac_objext conftest$ac_exeext
8620 if { (ac_try="$ac_link"
8621 case "(($ac_try" in
8622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8623 *) ac_try_echo=$ac_try;;
8624 esac
8625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8626 (eval "$ac_link") 2>conftest.er1
8627 ac_status=$?
8628 grep -v '^ *+' conftest.er1 >conftest.err
8629 rm -f conftest.er1
8630 cat conftest.err >&5
8631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 (exit $ac_status); } && {
8633 test -z "$ac_c_werror_flag" ||
8634 test ! -s conftest.err
8635 } && test -s conftest$ac_exeext &&
8636 $as_test_x conftest$ac_exeext; then
8637 eval "$as_ac_var=yes"
8638 else
8639 echo "$as_me: failed program was:" >&5
8640 sed 's/^/| /' conftest.$ac_ext >&5
8642 eval "$as_ac_var=no"
8645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8646 conftest$ac_exeext conftest.$ac_ext
8647 CFLAGS=$ac_wine_try_cflags_saved
8649 ac_res=`eval echo '${'$as_ac_var'}'`
8650 { echo "$as_me:$LINENO: result: $ac_res" >&5
8651 echo "${ECHO_T}$ac_res" >&6; }
8652 if test `eval echo '${'$as_ac_var'}'` = yes; then
8653 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8654 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8660 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8661 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8662 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8663 echo $ECHO_N "(cached) $ECHO_C" >&6
8664 else
8665 ac_wine_try_cflags_saved=$CFLAGS
8666 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8667 cat >conftest.$ac_ext <<_ACEOF
8668 /* confdefs.h. */
8669 _ACEOF
8670 cat confdefs.h >>conftest.$ac_ext
8671 cat >>conftest.$ac_ext <<_ACEOF
8672 /* end confdefs.h. */
8675 main ()
8679 return 0;
8681 _ACEOF
8682 rm -f conftest.$ac_objext conftest$ac_exeext
8683 if { (ac_try="$ac_link"
8684 case "(($ac_try" in
8685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8686 *) ac_try_echo=$ac_try;;
8687 esac
8688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8689 (eval "$ac_link") 2>conftest.er1
8690 ac_status=$?
8691 grep -v '^ *+' conftest.er1 >conftest.err
8692 rm -f conftest.er1
8693 cat conftest.err >&5
8694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8695 (exit $ac_status); } && {
8696 test -z "$ac_c_werror_flag" ||
8697 test ! -s conftest.err
8698 } && test -s conftest$ac_exeext &&
8699 $as_test_x conftest$ac_exeext; then
8700 ac_cv_cflags__Wl___enable_new_dtags=yes
8701 else
8702 echo "$as_me: failed program was:" >&5
8703 sed 's/^/| /' conftest.$ac_ext >&5
8705 ac_cv_cflags__Wl___enable_new_dtags=no
8708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8709 conftest$ac_exeext conftest.$ac_ext
8710 CFLAGS=$ac_wine_try_cflags_saved
8712 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8713 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8714 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8715 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8719 case $host_cpu in
8720 *i[3456789]86* | x86_64)
8721 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8722 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8723 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8724 echo $ECHO_N "(cached) $ECHO_C" >&6
8725 else
8726 ac_wine_try_cflags_saved=$CFLAGS
8727 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8728 cat >conftest.$ac_ext <<_ACEOF
8729 /* confdefs.h. */
8730 _ACEOF
8731 cat confdefs.h >>conftest.$ac_ext
8732 cat >>conftest.$ac_ext <<_ACEOF
8733 /* end confdefs.h. */
8736 main ()
8740 return 0;
8742 _ACEOF
8743 rm -f conftest.$ac_objext conftest$ac_exeext
8744 if { (ac_try="$ac_link"
8745 case "(($ac_try" in
8746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8747 *) ac_try_echo=$ac_try;;
8748 esac
8749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8750 (eval "$ac_link") 2>conftest.er1
8751 ac_status=$?
8752 grep -v '^ *+' conftest.er1 >conftest.err
8753 rm -f conftest.er1
8754 cat conftest.err >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } && {
8757 test -z "$ac_c_werror_flag" ||
8758 test ! -s conftest.err
8759 } && test -s conftest$ac_exeext &&
8760 $as_test_x conftest$ac_exeext; then
8761 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8762 else
8763 echo "$as_me: failed program was:" >&5
8764 sed 's/^/| /' conftest.$ac_ext >&5
8766 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8770 conftest$ac_exeext conftest.$ac_ext
8771 CFLAGS=$ac_wine_try_cflags_saved
8773 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8774 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8775 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8776 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8780 esac
8782 else
8783 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8784 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8785 if test "${ac_cv_c_dll_unixware+set}" = set; then
8786 echo $ECHO_N "(cached) $ECHO_C" >&6
8787 else
8788 ac_wine_try_cflags_saved=$CFLAGS
8789 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8790 cat >conftest.$ac_ext <<_ACEOF
8791 void myfunc() {}
8792 _ACEOF
8793 rm -f conftest.$ac_objext conftest$ac_exeext
8794 if { (ac_try="$ac_link"
8795 case "(($ac_try" in
8796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8797 *) ac_try_echo=$ac_try;;
8798 esac
8799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8800 (eval "$ac_link") 2>conftest.er1
8801 ac_status=$?
8802 grep -v '^ *+' conftest.er1 >conftest.err
8803 rm -f conftest.er1
8804 cat conftest.err >&5
8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806 (exit $ac_status); } && {
8807 test -z "$ac_c_werror_flag" ||
8808 test ! -s conftest.err
8809 } && test -s conftest$ac_exeext &&
8810 $as_test_x conftest$ac_exeext; then
8811 ac_cv_c_dll_unixware="yes"
8812 else
8813 echo "$as_me: failed program was:" >&5
8814 sed 's/^/| /' conftest.$ac_ext >&5
8816 ac_cv_c_dll_unixware="no"
8819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8820 conftest$ac_exeext conftest.$ac_ext
8821 CFLAGS=$ac_wine_try_cflags_saved
8823 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8824 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8825 if test "$ac_cv_c_dll_unixware" = "yes"
8826 then
8827 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8828 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8830 else
8831 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8832 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8833 if test "${ac_cv_c_dll_hpux+set}" = set; then
8834 echo $ECHO_N "(cached) $ECHO_C" >&6
8835 else
8836 ac_wine_try_cflags_saved=$CFLAGS
8837 CFLAGS="$CFLAGS -shared"
8838 cat >conftest.$ac_ext <<_ACEOF
8839 void myfunc() {}
8840 _ACEOF
8841 rm -f conftest.$ac_objext conftest$ac_exeext
8842 if { (ac_try="$ac_link"
8843 case "(($ac_try" in
8844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8845 *) ac_try_echo=$ac_try;;
8846 esac
8847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8848 (eval "$ac_link") 2>conftest.er1
8849 ac_status=$?
8850 grep -v '^ *+' conftest.er1 >conftest.err
8851 rm -f conftest.er1
8852 cat conftest.err >&5
8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 (exit $ac_status); } && {
8855 test -z "$ac_c_werror_flag" ||
8856 test ! -s conftest.err
8857 } && test -s conftest$ac_exeext &&
8858 $as_test_x conftest$ac_exeext; then
8859 ac_cv_c_dll_hpux="yes"
8860 else
8861 echo "$as_me: failed program was:" >&5
8862 sed 's/^/| /' conftest.$ac_ext >&5
8864 ac_cv_c_dll_hpux="no"
8867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8868 conftest$ac_exeext conftest.$ac_ext
8869 CFLAGS=$ac_wine_try_cflags_saved
8871 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8872 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8873 if test "$ac_cv_c_dll_hpux" = "yes"
8874 then
8875 LIBEXT="sl"
8876 DLLEXT=".sl"
8877 LDDLLFLAGS="-shared -fPIC"
8878 LDSHARED="\$(CC) -shared"
8883 CROSSTEST=""
8885 if test "$cross_compiling" = "no"
8886 then
8887 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8889 # Extract the first word of "$ac_prog", so it can be a program name with args.
8890 set dummy $ac_prog; ac_word=$2
8891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8893 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8894 echo $ECHO_N "(cached) $ECHO_C" >&6
8895 else
8896 if test -n "$CROSSCC"; then
8897 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8898 else
8899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8900 for as_dir in $PATH
8902 IFS=$as_save_IFS
8903 test -z "$as_dir" && as_dir=.
8904 for ac_exec_ext in '' $ac_executable_extensions; do
8905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8906 ac_cv_prog_CROSSCC="$ac_prog"
8907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8908 break 2
8910 done
8911 done
8912 IFS=$as_save_IFS
8916 CROSSCC=$ac_cv_prog_CROSSCC
8917 if test -n "$CROSSCC"; then
8918 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8919 echo "${ECHO_T}$CROSSCC" >&6; }
8920 else
8921 { echo "$as_me:$LINENO: result: no" >&5
8922 echo "${ECHO_T}no" >&6; }
8926 test -n "$CROSSCC" && break
8927 done
8928 test -n "$CROSSCC" || CROSSCC="false"
8930 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8932 # Extract the first word of "$ac_prog", so it can be a program name with args.
8933 set dummy $ac_prog; ac_word=$2
8934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8936 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8938 else
8939 if test -n "$DLLTOOL"; then
8940 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8941 else
8942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8943 for as_dir in $PATH
8945 IFS=$as_save_IFS
8946 test -z "$as_dir" && as_dir=.
8947 for ac_exec_ext in '' $ac_executable_extensions; do
8948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8949 ac_cv_prog_DLLTOOL="$ac_prog"
8950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8951 break 2
8953 done
8954 done
8955 IFS=$as_save_IFS
8959 DLLTOOL=$ac_cv_prog_DLLTOOL
8960 if test -n "$DLLTOOL"; then
8961 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8962 echo "${ECHO_T}$DLLTOOL" >&6; }
8963 else
8964 { echo "$as_me:$LINENO: result: no" >&5
8965 echo "${ECHO_T}no" >&6; }
8969 test -n "$DLLTOOL" && break
8970 done
8971 test -n "$DLLTOOL" || DLLTOOL="false"
8973 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8975 # Extract the first word of "$ac_prog", so it can be a program name with args.
8976 set dummy $ac_prog; ac_word=$2
8977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8979 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8980 echo $ECHO_N "(cached) $ECHO_C" >&6
8981 else
8982 if test -n "$CROSSWINDRES"; then
8983 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8984 else
8985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8986 for as_dir in $PATH
8988 IFS=$as_save_IFS
8989 test -z "$as_dir" && as_dir=.
8990 for ac_exec_ext in '' $ac_executable_extensions; do
8991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8992 ac_cv_prog_CROSSWINDRES="$ac_prog"
8993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8994 break 2
8996 done
8997 done
8998 IFS=$as_save_IFS
9002 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9003 if test -n "$CROSSWINDRES"; then
9004 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9005 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9006 else
9007 { echo "$as_me:$LINENO: result: no" >&5
9008 echo "${ECHO_T}no" >&6; }
9012 test -n "$CROSSWINDRES" && break
9013 done
9014 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9016 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
9018 # Extract the first word of "$ac_prog", so it can be a program name with args.
9019 set dummy $ac_prog; ac_word=$2
9020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9022 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9023 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 else
9025 if test -n "$MINGWAR"; then
9026 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9027 else
9028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9029 for as_dir in $PATH
9031 IFS=$as_save_IFS
9032 test -z "$as_dir" && as_dir=.
9033 for ac_exec_ext in '' $ac_executable_extensions; do
9034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9035 ac_cv_prog_MINGWAR="$ac_prog"
9036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9037 break 2
9039 done
9040 done
9041 IFS=$as_save_IFS
9045 MINGWAR=$ac_cv_prog_MINGWAR
9046 if test -n "$MINGWAR"; then
9047 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9048 echo "${ECHO_T}$MINGWAR" >&6; }
9049 else
9050 { echo "$as_me:$LINENO: result: no" >&5
9051 echo "${ECHO_T}no" >&6; }
9055 test -n "$MINGWAR" && break
9056 done
9057 test -n "$MINGWAR" || MINGWAR="false"
9059 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9062 esac
9064 if test "$LIBEXT" = "a"; then
9065 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9066 It is currently not possible to build Wine without shared library
9067 (.so) support to allow transparent switch between .so and .dll files.
9068 If you are using Linux, you will need a newer binutils.
9069 " >&5
9070 echo "$as_me: error: could not find a way to build shared libraries.
9071 It is currently not possible to build Wine without shared library
9072 (.so) support to allow transparent switch between .so and .dll files.
9073 If you are using Linux, you will need a newer binutils.
9074 " >&2;}
9075 { (exit 1); exit 1; }; }
9079 if test "$have_x" = "yes"
9080 then
9081 XLIB="-lXext -lX11"
9082 ac_save_CPPFLAGS="$CPPFLAGS"
9083 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9085 { echo "$as_me:$LINENO: checking for -lX11" >&5
9086 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9087 if test "${ac_cv_lib_soname_X11+set}" = set; then
9088 echo $ECHO_N "(cached) $ECHO_C" >&6
9089 else
9090 ac_check_soname_save_LIBS=$LIBS
9091 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9092 cat >conftest.$ac_ext <<_ACEOF
9093 /* confdefs.h. */
9094 _ACEOF
9095 cat confdefs.h >>conftest.$ac_ext
9096 cat >>conftest.$ac_ext <<_ACEOF
9097 /* end confdefs.h. */
9099 /* Override any GCC internal prototype to avoid an error.
9100 Use char because int might match the return type of a GCC
9101 builtin and then its argument prototype would still apply. */
9102 #ifdef __cplusplus
9103 extern "C"
9104 #endif
9105 char XCreateWindow ();
9107 main ()
9109 return XCreateWindow ();
9111 return 0;
9113 _ACEOF
9114 rm -f conftest.$ac_objext conftest$ac_exeext
9115 if { (ac_try="$ac_link"
9116 case "(($ac_try" in
9117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9118 *) ac_try_echo=$ac_try;;
9119 esac
9120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9121 (eval "$ac_link") 2>conftest.er1
9122 ac_status=$?
9123 grep -v '^ *+' conftest.er1 >conftest.err
9124 rm -f conftest.er1
9125 cat conftest.err >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } && {
9128 test -z "$ac_c_werror_flag" ||
9129 test ! -s conftest.err
9130 } && test -s conftest$ac_exeext &&
9131 $as_test_x conftest$ac_exeext; then
9132 case "$LIBEXT" in
9133 dll) ;;
9134 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'` ;;
9135 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9136 esac
9137 else
9138 echo "$as_me: failed program was:" >&5
9139 sed 's/^/| /' conftest.$ac_ext >&5
9144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9145 conftest$ac_exeext conftest.$ac_ext
9146 LIBS=$ac_check_soname_save_LIBS
9148 if test "x$ac_cv_lib_soname_X11" = "x"; then
9149 { echo "$as_me:$LINENO: result: not found" >&5
9150 echo "${ECHO_T}not found" >&6; }
9152 else
9153 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9154 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9156 cat >>confdefs.h <<_ACEOF
9157 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9158 _ACEOF
9163 { echo "$as_me:$LINENO: checking for -lXext" >&5
9164 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9165 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9166 echo $ECHO_N "(cached) $ECHO_C" >&6
9167 else
9168 ac_check_soname_save_LIBS=$LIBS
9169 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9170 cat >conftest.$ac_ext <<_ACEOF
9171 /* confdefs.h. */
9172 _ACEOF
9173 cat confdefs.h >>conftest.$ac_ext
9174 cat >>conftest.$ac_ext <<_ACEOF
9175 /* end confdefs.h. */
9177 /* Override any GCC internal prototype to avoid an error.
9178 Use char because int might match the return type of a GCC
9179 builtin and then its argument prototype would still apply. */
9180 #ifdef __cplusplus
9181 extern "C"
9182 #endif
9183 char XextCreateExtension ();
9185 main ()
9187 return XextCreateExtension ();
9189 return 0;
9191 _ACEOF
9192 rm -f conftest.$ac_objext conftest$ac_exeext
9193 if { (ac_try="$ac_link"
9194 case "(($ac_try" in
9195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9196 *) ac_try_echo=$ac_try;;
9197 esac
9198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9199 (eval "$ac_link") 2>conftest.er1
9200 ac_status=$?
9201 grep -v '^ *+' conftest.er1 >conftest.err
9202 rm -f conftest.er1
9203 cat conftest.err >&5
9204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205 (exit $ac_status); } && {
9206 test -z "$ac_c_werror_flag" ||
9207 test ! -s conftest.err
9208 } && test -s conftest$ac_exeext &&
9209 $as_test_x conftest$ac_exeext; then
9210 case "$LIBEXT" in
9211 dll) ;;
9212 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'` ;;
9213 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9214 esac
9215 else
9216 echo "$as_me: failed program was:" >&5
9217 sed 's/^/| /' conftest.$ac_ext >&5
9222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9223 conftest$ac_exeext conftest.$ac_ext
9224 LIBS=$ac_check_soname_save_LIBS
9226 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9227 { echo "$as_me:$LINENO: result: not found" >&5
9228 echo "${ECHO_T}not found" >&6; }
9230 else
9231 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9232 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9234 cat >>confdefs.h <<_ACEOF
9235 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9236 _ACEOF
9253 for ac_header in X11/Xlib.h \
9254 X11/XKBlib.h \
9255 X11/Xutil.h \
9256 X11/Xcursor/Xcursor.h \
9257 X11/extensions/shape.h \
9258 X11/extensions/XInput.h \
9259 X11/extensions/XShm.h \
9260 X11/extensions/Xinerama.h \
9261 X11/extensions/Xrandr.h \
9262 X11/extensions/Xrender.h \
9263 X11/extensions/xf86vmode.h
9265 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9266 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9269 echo $ECHO_N "(cached) $ECHO_C" >&6
9270 else
9271 cat >conftest.$ac_ext <<_ACEOF
9272 /* confdefs.h. */
9273 _ACEOF
9274 cat confdefs.h >>conftest.$ac_ext
9275 cat >>conftest.$ac_ext <<_ACEOF
9276 /* end confdefs.h. */
9277 #ifdef HAVE_X11_XLIB_H
9278 # include <X11/Xlib.h>
9279 #endif
9280 #ifdef HAVE_X11_XUTIL_H
9281 # include <X11/Xutil.h>
9282 #endif
9284 #include <$ac_header>
9285 _ACEOF
9286 rm -f conftest.$ac_objext
9287 if { (ac_try="$ac_compile"
9288 case "(($ac_try" in
9289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9290 *) ac_try_echo=$ac_try;;
9291 esac
9292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9293 (eval "$ac_compile") 2>conftest.er1
9294 ac_status=$?
9295 grep -v '^ *+' conftest.er1 >conftest.err
9296 rm -f conftest.er1
9297 cat conftest.err >&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); } && {
9300 test -z "$ac_c_werror_flag" ||
9301 test ! -s conftest.err
9302 } && test -s conftest.$ac_objext; then
9303 eval "$as_ac_Header=yes"
9304 else
9305 echo "$as_me: failed program was:" >&5
9306 sed 's/^/| /' conftest.$ac_ext >&5
9308 eval "$as_ac_Header=no"
9311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9313 ac_res=`eval echo '${'$as_ac_Header'}'`
9314 { echo "$as_me:$LINENO: result: $ac_res" >&5
9315 echo "${ECHO_T}$ac_res" >&6; }
9316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9317 cat >>confdefs.h <<_ACEOF
9318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9319 _ACEOF
9323 done
9326 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9327 then
9328 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9329 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9330 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9331 echo $ECHO_N "(cached) $ECHO_C" >&6
9332 else
9333 ac_check_lib_save_LIBS=$LIBS
9334 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9335 cat >conftest.$ac_ext <<_ACEOF
9336 /* confdefs.h. */
9337 _ACEOF
9338 cat confdefs.h >>conftest.$ac_ext
9339 cat >>conftest.$ac_ext <<_ACEOF
9340 /* end confdefs.h. */
9342 /* Override any GCC internal prototype to avoid an error.
9343 Use char because int might match the return type of a GCC
9344 builtin and then its argument prototype would still apply. */
9345 #ifdef __cplusplus
9346 extern "C"
9347 #endif
9348 char XkbQueryExtension ();
9350 main ()
9352 return XkbQueryExtension ();
9354 return 0;
9356 _ACEOF
9357 rm -f conftest.$ac_objext conftest$ac_exeext
9358 if { (ac_try="$ac_link"
9359 case "(($ac_try" in
9360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9361 *) ac_try_echo=$ac_try;;
9362 esac
9363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9364 (eval "$ac_link") 2>conftest.er1
9365 ac_status=$?
9366 grep -v '^ *+' conftest.er1 >conftest.err
9367 rm -f conftest.er1
9368 cat conftest.err >&5
9369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9370 (exit $ac_status); } && {
9371 test -z "$ac_c_werror_flag" ||
9372 test ! -s conftest.err
9373 } && test -s conftest$ac_exeext &&
9374 $as_test_x conftest$ac_exeext; then
9375 ac_cv_lib_X11_XkbQueryExtension=yes
9376 else
9377 echo "$as_me: failed program was:" >&5
9378 sed 's/^/| /' conftest.$ac_ext >&5
9380 ac_cv_lib_X11_XkbQueryExtension=no
9383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9384 conftest$ac_exeext conftest.$ac_ext
9385 LIBS=$ac_check_lib_save_LIBS
9387 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9388 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9389 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9391 cat >>confdefs.h <<\_ACEOF
9392 #define HAVE_XKB 1
9393 _ACEOF
9399 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9400 then
9401 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9402 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9403 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9404 echo $ECHO_N "(cached) $ECHO_C" >&6
9405 else
9406 ac_check_soname_save_LIBS=$LIBS
9407 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9408 cat >conftest.$ac_ext <<_ACEOF
9409 /* confdefs.h. */
9410 _ACEOF
9411 cat confdefs.h >>conftest.$ac_ext
9412 cat >>conftest.$ac_ext <<_ACEOF
9413 /* end confdefs.h. */
9415 /* Override any GCC internal prototype to avoid an error.
9416 Use char because int might match the return type of a GCC
9417 builtin and then its argument prototype would still apply. */
9418 #ifdef __cplusplus
9419 extern "C"
9420 #endif
9421 char XcursorImageLoadCursor ();
9423 main ()
9425 return XcursorImageLoadCursor ();
9427 return 0;
9429 _ACEOF
9430 rm -f conftest.$ac_objext conftest$ac_exeext
9431 if { (ac_try="$ac_link"
9432 case "(($ac_try" in
9433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9434 *) ac_try_echo=$ac_try;;
9435 esac
9436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9437 (eval "$ac_link") 2>conftest.er1
9438 ac_status=$?
9439 grep -v '^ *+' conftest.er1 >conftest.err
9440 rm -f conftest.er1
9441 cat conftest.err >&5
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); } && {
9444 test -z "$ac_c_werror_flag" ||
9445 test ! -s conftest.err
9446 } && test -s conftest$ac_exeext &&
9447 $as_test_x conftest$ac_exeext; then
9448 case "$LIBEXT" in
9449 dll) ;;
9450 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'` ;;
9451 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9452 esac
9453 else
9454 echo "$as_me: failed program was:" >&5
9455 sed 's/^/| /' conftest.$ac_ext >&5
9460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9461 conftest$ac_exeext conftest.$ac_ext
9462 LIBS=$ac_check_soname_save_LIBS
9464 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9465 { echo "$as_me:$LINENO: result: not found" >&5
9466 echo "${ECHO_T}not found" >&6; }
9468 else
9469 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9470 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9472 cat >>confdefs.h <<_ACEOF
9473 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9474 _ACEOF
9481 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9482 then
9483 { echo "$as_me:$LINENO: checking for -lXi" >&5
9484 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9485 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9486 echo $ECHO_N "(cached) $ECHO_C" >&6
9487 else
9488 ac_check_soname_save_LIBS=$LIBS
9489 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9490 cat >conftest.$ac_ext <<_ACEOF
9491 /* confdefs.h. */
9492 _ACEOF
9493 cat confdefs.h >>conftest.$ac_ext
9494 cat >>conftest.$ac_ext <<_ACEOF
9495 /* end confdefs.h. */
9497 /* Override any GCC internal prototype to avoid an error.
9498 Use char because int might match the return type of a GCC
9499 builtin and then its argument prototype would still apply. */
9500 #ifdef __cplusplus
9501 extern "C"
9502 #endif
9503 char XOpenDevice ();
9505 main ()
9507 return XOpenDevice ();
9509 return 0;
9511 _ACEOF
9512 rm -f conftest.$ac_objext conftest$ac_exeext
9513 if { (ac_try="$ac_link"
9514 case "(($ac_try" in
9515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9516 *) ac_try_echo=$ac_try;;
9517 esac
9518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9519 (eval "$ac_link") 2>conftest.er1
9520 ac_status=$?
9521 grep -v '^ *+' conftest.er1 >conftest.err
9522 rm -f conftest.er1
9523 cat conftest.err >&5
9524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); } && {
9526 test -z "$ac_c_werror_flag" ||
9527 test ! -s conftest.err
9528 } && test -s conftest$ac_exeext &&
9529 $as_test_x conftest$ac_exeext; then
9530 case "$LIBEXT" in
9531 dll) ;;
9532 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'` ;;
9533 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9534 esac
9535 else
9536 echo "$as_me: failed program was:" >&5
9537 sed 's/^/| /' conftest.$ac_ext >&5
9542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9543 conftest$ac_exeext conftest.$ac_ext
9544 LIBS=$ac_check_soname_save_LIBS
9546 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9547 { echo "$as_me:$LINENO: result: not found" >&5
9548 echo "${ECHO_T}not found" >&6; }
9550 else
9551 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9552 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9554 cat >>confdefs.h <<_ACEOF
9555 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9556 _ACEOF
9563 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9564 then
9565 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9566 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9567 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9568 echo $ECHO_N "(cached) $ECHO_C" >&6
9569 else
9570 ac_check_lib_save_LIBS=$LIBS
9571 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9572 cat >conftest.$ac_ext <<_ACEOF
9573 /* confdefs.h. */
9574 _ACEOF
9575 cat confdefs.h >>conftest.$ac_ext
9576 cat >>conftest.$ac_ext <<_ACEOF
9577 /* end confdefs.h. */
9579 /* Override any GCC internal prototype to avoid an error.
9580 Use char because int might match the return type of a GCC
9581 builtin and then its argument prototype would still apply. */
9582 #ifdef __cplusplus
9583 extern "C"
9584 #endif
9585 char XShmQueryExtension ();
9587 main ()
9589 return XShmQueryExtension ();
9591 return 0;
9593 _ACEOF
9594 rm -f conftest.$ac_objext conftest$ac_exeext
9595 if { (ac_try="$ac_link"
9596 case "(($ac_try" in
9597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9598 *) ac_try_echo=$ac_try;;
9599 esac
9600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9601 (eval "$ac_link") 2>conftest.er1
9602 ac_status=$?
9603 grep -v '^ *+' conftest.er1 >conftest.err
9604 rm -f conftest.er1
9605 cat conftest.err >&5
9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 (exit $ac_status); } && {
9608 test -z "$ac_c_werror_flag" ||
9609 test ! -s conftest.err
9610 } && test -s conftest$ac_exeext &&
9611 $as_test_x conftest$ac_exeext; then
9612 ac_cv_lib_Xext_XShmQueryExtension=yes
9613 else
9614 echo "$as_me: failed program was:" >&5
9615 sed 's/^/| /' conftest.$ac_ext >&5
9617 ac_cv_lib_Xext_XShmQueryExtension=no
9620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9621 conftest$ac_exeext conftest.$ac_ext
9622 LIBS=$ac_check_lib_save_LIBS
9624 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9625 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9626 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9628 cat >>confdefs.h <<\_ACEOF
9629 #define HAVE_LIBXXSHM 1
9630 _ACEOF
9635 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9636 wine_notices="$wine_notices|XShm development files not found.
9637 Wine will be built without XShm support. (winex11.drv)"
9641 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9642 then
9643 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9644 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9645 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9646 echo $ECHO_N "(cached) $ECHO_C" >&6
9647 else
9648 ac_check_lib_save_LIBS=$LIBS
9649 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9650 cat >conftest.$ac_ext <<_ACEOF
9651 /* confdefs.h. */
9652 _ACEOF
9653 cat confdefs.h >>conftest.$ac_ext
9654 cat >>conftest.$ac_ext <<_ACEOF
9655 /* end confdefs.h. */
9657 /* Override any GCC internal prototype to avoid an error.
9658 Use char because int might match the return type of a GCC
9659 builtin and then its argument prototype would still apply. */
9660 #ifdef __cplusplus
9661 extern "C"
9662 #endif
9663 char XShapeQueryExtension ();
9665 main ()
9667 return XShapeQueryExtension ();
9669 return 0;
9671 _ACEOF
9672 rm -f conftest.$ac_objext conftest$ac_exeext
9673 if { (ac_try="$ac_link"
9674 case "(($ac_try" in
9675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9676 *) ac_try_echo=$ac_try;;
9677 esac
9678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9679 (eval "$ac_link") 2>conftest.er1
9680 ac_status=$?
9681 grep -v '^ *+' conftest.er1 >conftest.err
9682 rm -f conftest.er1
9683 cat conftest.err >&5
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); } && {
9686 test -z "$ac_c_werror_flag" ||
9687 test ! -s conftest.err
9688 } && test -s conftest$ac_exeext &&
9689 $as_test_x conftest$ac_exeext; then
9690 ac_cv_lib_Xext_XShapeQueryExtension=yes
9691 else
9692 echo "$as_me: failed program was:" >&5
9693 sed 's/^/| /' conftest.$ac_ext >&5
9695 ac_cv_lib_Xext_XShapeQueryExtension=no
9698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9699 conftest$ac_exeext conftest.$ac_ext
9700 LIBS=$ac_check_lib_save_LIBS
9702 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9703 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9704 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9706 cat >>confdefs.h <<\_ACEOF
9707 #define HAVE_LIBXSHAPE 1
9708 _ACEOF
9713 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9714 wine_notices="$wine_notices|XShape development files not found.
9715 Wine will be built without XShape support. (winex11.drv)"
9719 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9720 then
9721 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9722 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9723 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9724 echo $ECHO_N "(cached) $ECHO_C" >&6
9725 else
9726 ac_check_lib_save_LIBS=$LIBS
9727 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9728 cat >conftest.$ac_ext <<_ACEOF
9729 /* confdefs.h. */
9730 _ACEOF
9731 cat confdefs.h >>conftest.$ac_ext
9732 cat >>conftest.$ac_ext <<_ACEOF
9733 /* end confdefs.h. */
9735 /* Override any GCC internal prototype to avoid an error.
9736 Use char because int might match the return type of a GCC
9737 builtin and then its argument prototype would still apply. */
9738 #ifdef __cplusplus
9739 extern "C"
9740 #endif
9741 char XF86VidModeQueryExtension ();
9743 main ()
9745 return XF86VidModeQueryExtension ();
9747 return 0;
9749 _ACEOF
9750 rm -f conftest.$ac_objext conftest$ac_exeext
9751 if { (ac_try="$ac_link"
9752 case "(($ac_try" in
9753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9754 *) ac_try_echo=$ac_try;;
9755 esac
9756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9757 (eval "$ac_link") 2>conftest.er1
9758 ac_status=$?
9759 grep -v '^ *+' conftest.er1 >conftest.err
9760 rm -f conftest.er1
9761 cat conftest.err >&5
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); } && {
9764 test -z "$ac_c_werror_flag" ||
9765 test ! -s conftest.err
9766 } && test -s conftest$ac_exeext &&
9767 $as_test_x conftest$ac_exeext; then
9768 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9769 else
9770 echo "$as_me: failed program was:" >&5
9771 sed 's/^/| /' conftest.$ac_ext >&5
9773 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9777 conftest$ac_exeext conftest.$ac_ext
9778 LIBS=$ac_check_lib_save_LIBS
9780 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9781 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9782 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9784 cat >>confdefs.h <<\_ACEOF
9785 #define HAVE_LIBXXF86VM 1
9786 _ACEOF
9788 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9793 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9794 wine_notices="$wine_notices|Xxf86vm development files not found.
9795 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9799 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"
9800 then
9801 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9802 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9803 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9804 echo $ECHO_N "(cached) $ECHO_C" >&6
9805 else
9806 ac_check_soname_save_LIBS=$LIBS
9807 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9808 cat >conftest.$ac_ext <<_ACEOF
9809 /* confdefs.h. */
9810 _ACEOF
9811 cat confdefs.h >>conftest.$ac_ext
9812 cat >>conftest.$ac_ext <<_ACEOF
9813 /* end confdefs.h. */
9815 /* Override any GCC internal prototype to avoid an error.
9816 Use char because int might match the return type of a GCC
9817 builtin and then its argument prototype would still apply. */
9818 #ifdef __cplusplus
9819 extern "C"
9820 #endif
9821 char XRenderQueryExtension ();
9823 main ()
9825 return XRenderQueryExtension ();
9827 return 0;
9829 _ACEOF
9830 rm -f conftest.$ac_objext conftest$ac_exeext
9831 if { (ac_try="$ac_link"
9832 case "(($ac_try" in
9833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9834 *) ac_try_echo=$ac_try;;
9835 esac
9836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9837 (eval "$ac_link") 2>conftest.er1
9838 ac_status=$?
9839 grep -v '^ *+' conftest.er1 >conftest.err
9840 rm -f conftest.er1
9841 cat conftest.err >&5
9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843 (exit $ac_status); } && {
9844 test -z "$ac_c_werror_flag" ||
9845 test ! -s conftest.err
9846 } && test -s conftest$ac_exeext &&
9847 $as_test_x conftest$ac_exeext; then
9848 case "$LIBEXT" in
9849 dll) ;;
9850 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'` ;;
9851 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9852 esac
9853 else
9854 echo "$as_me: failed program was:" >&5
9855 sed 's/^/| /' conftest.$ac_ext >&5
9860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9861 conftest$ac_exeext conftest.$ac_ext
9862 LIBS=$ac_check_soname_save_LIBS
9864 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9865 { echo "$as_me:$LINENO: result: not found" >&5
9866 echo "${ECHO_T}not found" >&6; }
9868 else
9869 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9870 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9872 cat >>confdefs.h <<_ACEOF
9873 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9874 _ACEOF
9876 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9877 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9878 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9879 echo $ECHO_N "(cached) $ECHO_C" >&6
9880 else
9881 ac_check_lib_save_LIBS=$LIBS
9882 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9883 cat >conftest.$ac_ext <<_ACEOF
9884 /* confdefs.h. */
9885 _ACEOF
9886 cat confdefs.h >>conftest.$ac_ext
9887 cat >>conftest.$ac_ext <<_ACEOF
9888 /* end confdefs.h. */
9890 /* Override any GCC internal prototype to avoid an error.
9891 Use char because int might match the return type of a GCC
9892 builtin and then its argument prototype would still apply. */
9893 #ifdef __cplusplus
9894 extern "C"
9895 #endif
9896 char XRenderSetPictureTransform ();
9898 main ()
9900 return XRenderSetPictureTransform ();
9902 return 0;
9904 _ACEOF
9905 rm -f conftest.$ac_objext conftest$ac_exeext
9906 if { (ac_try="$ac_link"
9907 case "(($ac_try" in
9908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9909 *) ac_try_echo=$ac_try;;
9910 esac
9911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9912 (eval "$ac_link") 2>conftest.er1
9913 ac_status=$?
9914 grep -v '^ *+' conftest.er1 >conftest.err
9915 rm -f conftest.er1
9916 cat conftest.err >&5
9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918 (exit $ac_status); } && {
9919 test -z "$ac_c_werror_flag" ||
9920 test ! -s conftest.err
9921 } && test -s conftest$ac_exeext &&
9922 $as_test_x conftest$ac_exeext; then
9923 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9924 else
9925 echo "$as_me: failed program was:" >&5
9926 sed 's/^/| /' conftest.$ac_ext >&5
9928 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9932 conftest$ac_exeext conftest.$ac_ext
9933 LIBS=$ac_check_lib_save_LIBS
9935 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9936 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9937 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9939 cat >>confdefs.h <<\_ACEOF
9940 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9941 _ACEOF
9949 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9950 wine_notices="$wine_notices|XRender development files not found.
9951 Wine will be built without XRender support. (winex11.drv)"
9955 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9956 then
9957 cat >conftest.$ac_ext <<_ACEOF
9958 /* confdefs.h. */
9959 _ACEOF
9960 cat confdefs.h >>conftest.$ac_ext
9961 cat >>conftest.$ac_ext <<_ACEOF
9962 /* end confdefs.h. */
9963 #include <X11/Xlib.h>
9964 #include <X11/extensions/Xrandr.h>
9966 main ()
9968 static typeof(XRRSetScreenConfigAndRate) * func;
9970 return 0;
9972 _ACEOF
9973 rm -f conftest.$ac_objext
9974 if { (ac_try="$ac_compile"
9975 case "(($ac_try" in
9976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9977 *) ac_try_echo=$ac_try;;
9978 esac
9979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9980 (eval "$ac_compile") 2>conftest.er1
9981 ac_status=$?
9982 grep -v '^ *+' conftest.er1 >conftest.err
9983 rm -f conftest.er1
9984 cat conftest.err >&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); } && {
9987 test -z "$ac_c_werror_flag" ||
9988 test ! -s conftest.err
9989 } && test -s conftest.$ac_objext; then
9990 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9991 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9992 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9993 echo $ECHO_N "(cached) $ECHO_C" >&6
9994 else
9995 ac_check_soname_save_LIBS=$LIBS
9996 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9997 cat >conftest.$ac_ext <<_ACEOF
9998 /* confdefs.h. */
9999 _ACEOF
10000 cat confdefs.h >>conftest.$ac_ext
10001 cat >>conftest.$ac_ext <<_ACEOF
10002 /* end confdefs.h. */
10004 /* Override any GCC internal prototype to avoid an error.
10005 Use char because int might match the return type of a GCC
10006 builtin and then its argument prototype would still apply. */
10007 #ifdef __cplusplus
10008 extern "C"
10009 #endif
10010 char XRRQueryExtension ();
10012 main ()
10014 return XRRQueryExtension ();
10016 return 0;
10018 _ACEOF
10019 rm -f conftest.$ac_objext conftest$ac_exeext
10020 if { (ac_try="$ac_link"
10021 case "(($ac_try" in
10022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10023 *) ac_try_echo=$ac_try;;
10024 esac
10025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10026 (eval "$ac_link") 2>conftest.er1
10027 ac_status=$?
10028 grep -v '^ *+' conftest.er1 >conftest.err
10029 rm -f conftest.er1
10030 cat conftest.err >&5
10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032 (exit $ac_status); } && {
10033 test -z "$ac_c_werror_flag" ||
10034 test ! -s conftest.err
10035 } && test -s conftest$ac_exeext &&
10036 $as_test_x conftest$ac_exeext; then
10037 case "$LIBEXT" in
10038 dll) ;;
10039 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'` ;;
10040 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10041 esac
10042 else
10043 echo "$as_me: failed program was:" >&5
10044 sed 's/^/| /' conftest.$ac_ext >&5
10049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10050 conftest$ac_exeext conftest.$ac_ext
10051 LIBS=$ac_check_soname_save_LIBS
10053 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10054 { echo "$as_me:$LINENO: result: not found" >&5
10055 echo "${ECHO_T}not found" >&6; }
10057 else
10058 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10059 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10061 cat >>confdefs.h <<_ACEOF
10062 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10063 _ACEOF
10068 else
10069 echo "$as_me: failed program was:" >&5
10070 sed 's/^/| /' conftest.$ac_ext >&5
10075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10077 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10078 wine_notices="$wine_notices|XRandr development files not found.
10079 Wine will be built without XRandr support. (winex11.drv)"
10083 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10084 then
10085 cat >conftest.$ac_ext <<_ACEOF
10086 /* confdefs.h. */
10087 _ACEOF
10088 cat confdefs.h >>conftest.$ac_ext
10089 cat >>conftest.$ac_ext <<_ACEOF
10090 /* end confdefs.h. */
10091 #include <X11/Xlib.h>
10092 #include <X11/extensions/Xinerama.h>
10094 main ()
10096 static typeof(XineramaQueryScreens) * func;
10098 return 0;
10100 _ACEOF
10101 rm -f conftest.$ac_objext
10102 if { (ac_try="$ac_compile"
10103 case "(($ac_try" in
10104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10105 *) ac_try_echo=$ac_try;;
10106 esac
10107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10108 (eval "$ac_compile") 2>conftest.er1
10109 ac_status=$?
10110 grep -v '^ *+' conftest.er1 >conftest.err
10111 rm -f conftest.er1
10112 cat conftest.err >&5
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); } && {
10115 test -z "$ac_c_werror_flag" ||
10116 test ! -s conftest.err
10117 } && test -s conftest.$ac_objext; then
10118 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10119 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10120 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10121 echo $ECHO_N "(cached) $ECHO_C" >&6
10122 else
10123 ac_check_soname_save_LIBS=$LIBS
10124 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10125 cat >conftest.$ac_ext <<_ACEOF
10126 /* confdefs.h. */
10127 _ACEOF
10128 cat confdefs.h >>conftest.$ac_ext
10129 cat >>conftest.$ac_ext <<_ACEOF
10130 /* end confdefs.h. */
10132 /* Override any GCC internal prototype to avoid an error.
10133 Use char because int might match the return type of a GCC
10134 builtin and then its argument prototype would still apply. */
10135 #ifdef __cplusplus
10136 extern "C"
10137 #endif
10138 char XineramaQueryScreens ();
10140 main ()
10142 return XineramaQueryScreens ();
10144 return 0;
10146 _ACEOF
10147 rm -f conftest.$ac_objext conftest$ac_exeext
10148 if { (ac_try="$ac_link"
10149 case "(($ac_try" in
10150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10151 *) ac_try_echo=$ac_try;;
10152 esac
10153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10154 (eval "$ac_link") 2>conftest.er1
10155 ac_status=$?
10156 grep -v '^ *+' conftest.er1 >conftest.err
10157 rm -f conftest.er1
10158 cat conftest.err >&5
10159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160 (exit $ac_status); } && {
10161 test -z "$ac_c_werror_flag" ||
10162 test ! -s conftest.err
10163 } && test -s conftest$ac_exeext &&
10164 $as_test_x conftest$ac_exeext; then
10165 case "$LIBEXT" in
10166 dll) ;;
10167 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'` ;;
10168 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10169 esac
10170 else
10171 echo "$as_me: failed program was:" >&5
10172 sed 's/^/| /' conftest.$ac_ext >&5
10177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10178 conftest$ac_exeext conftest.$ac_ext
10179 LIBS=$ac_check_soname_save_LIBS
10181 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10182 { echo "$as_me:$LINENO: result: not found" >&5
10183 echo "${ECHO_T}not found" >&6; }
10185 else
10186 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10187 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10189 cat >>confdefs.h <<_ACEOF
10190 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10191 _ACEOF
10196 else
10197 echo "$as_me: failed program was:" >&5
10198 sed 's/^/| /' conftest.$ac_ext >&5
10203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10205 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10206 wine_notices="$wine_notices|Xinerama development files not found.
10207 Wine will be built without Xinerama support. (winex11.drv)"
10212 if test "x$with_opengl" != "xno"
10213 then
10218 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10221 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10224 echo $ECHO_N "(cached) $ECHO_C" >&6
10225 else
10226 cat >conftest.$ac_ext <<_ACEOF
10227 /* confdefs.h. */
10228 _ACEOF
10229 cat confdefs.h >>conftest.$ac_ext
10230 cat >>conftest.$ac_ext <<_ACEOF
10231 /* end confdefs.h. */
10232 #ifdef HAVE_GL_GLX_H
10233 # include <GL/glx.h>
10234 #endif
10236 #include <$ac_header>
10237 _ACEOF
10238 rm -f conftest.$ac_objext
10239 if { (ac_try="$ac_compile"
10240 case "(($ac_try" in
10241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10242 *) ac_try_echo=$ac_try;;
10243 esac
10244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10245 (eval "$ac_compile") 2>conftest.er1
10246 ac_status=$?
10247 grep -v '^ *+' conftest.er1 >conftest.err
10248 rm -f conftest.er1
10249 cat conftest.err >&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); } && {
10252 test -z "$ac_c_werror_flag" ||
10253 test ! -s conftest.err
10254 } && test -s conftest.$ac_objext; then
10255 eval "$as_ac_Header=yes"
10256 else
10257 echo "$as_me: failed program was:" >&5
10258 sed 's/^/| /' conftest.$ac_ext >&5
10260 eval "$as_ac_Header=no"
10263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10265 ac_res=`eval echo '${'$as_ac_Header'}'`
10266 { echo "$as_me:$LINENO: result: $ac_res" >&5
10267 echo "${ECHO_T}$ac_res" >&6; }
10268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10269 cat >>confdefs.h <<_ACEOF
10270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10271 _ACEOF
10275 done
10277 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10278 then
10279 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10280 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10281 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10282 echo $ECHO_N "(cached) $ECHO_C" >&6
10283 else
10284 cat >conftest.$ac_ext <<_ACEOF
10285 /* confdefs.h. */
10286 _ACEOF
10287 cat confdefs.h >>conftest.$ac_ext
10288 cat >>conftest.$ac_ext <<_ACEOF
10289 /* end confdefs.h. */
10290 #include <GL/gl.h>
10292 main ()
10294 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10296 return 0;
10298 _ACEOF
10299 rm -f conftest.$ac_objext
10300 if { (ac_try="$ac_compile"
10301 case "(($ac_try" in
10302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10303 *) ac_try_echo=$ac_try;;
10304 esac
10305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10306 (eval "$ac_compile") 2>conftest.er1
10307 ac_status=$?
10308 grep -v '^ *+' conftest.er1 >conftest.err
10309 rm -f conftest.er1
10310 cat conftest.err >&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); } && {
10313 test -z "$ac_c_werror_flag" ||
10314 test ! -s conftest.err
10315 } && test -s conftest.$ac_objext; then
10316 wine_cv_opengl_header_version_OK="yes"
10317 else
10318 echo "$as_me: failed program was:" >&5
10319 sed 's/^/| /' conftest.$ac_ext >&5
10321 wine_cv_opengl_header_version_OK="no"
10324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10326 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10327 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10329 if test "$wine_cv_opengl_header_version_OK" = "yes"
10330 then
10331 { echo "$as_me:$LINENO: checking for -lGL" >&5
10332 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10333 if test "${ac_cv_lib_soname_GL+set}" = set; then
10334 echo $ECHO_N "(cached) $ECHO_C" >&6
10335 else
10336 ac_check_soname_save_LIBS=$LIBS
10337 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10338 cat >conftest.$ac_ext <<_ACEOF
10339 /* confdefs.h. */
10340 _ACEOF
10341 cat confdefs.h >>conftest.$ac_ext
10342 cat >>conftest.$ac_ext <<_ACEOF
10343 /* end confdefs.h. */
10345 /* Override any GCC internal prototype to avoid an error.
10346 Use char because int might match the return type of a GCC
10347 builtin and then its argument prototype would still apply. */
10348 #ifdef __cplusplus
10349 extern "C"
10350 #endif
10351 char glXCreateContext ();
10353 main ()
10355 return glXCreateContext ();
10357 return 0;
10359 _ACEOF
10360 rm -f conftest.$ac_objext conftest$ac_exeext
10361 if { (ac_try="$ac_link"
10362 case "(($ac_try" in
10363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10364 *) ac_try_echo=$ac_try;;
10365 esac
10366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10367 (eval "$ac_link") 2>conftest.er1
10368 ac_status=$?
10369 grep -v '^ *+' conftest.er1 >conftest.err
10370 rm -f conftest.er1
10371 cat conftest.err >&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); } && {
10374 test -z "$ac_c_werror_flag" ||
10375 test ! -s conftest.err
10376 } && test -s conftest$ac_exeext &&
10377 $as_test_x conftest$ac_exeext; then
10378 case "$LIBEXT" in
10379 dll) ;;
10380 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'` ;;
10381 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10382 esac
10383 else
10384 echo "$as_me: failed program was:" >&5
10385 sed 's/^/| /' conftest.$ac_ext >&5
10390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10391 conftest$ac_exeext conftest.$ac_ext
10392 LIBS=$ac_check_soname_save_LIBS
10394 if test "x$ac_cv_lib_soname_GL" = "x"; then
10395 { echo "$as_me:$LINENO: result: not found" >&5
10396 echo "${ECHO_T}not found" >&6; }
10397 if test -f /usr/X11R6/lib/libGL.a
10398 then
10399 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10400 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10401 else
10402 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10403 Wine will be build without OpenGL or Direct3D support."
10405 else
10406 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10407 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10409 cat >>confdefs.h <<_ACEOF
10410 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10411 _ACEOF
10413 OPENGL_LIBS="-lGL"
10414 OPENGLFILES='$(OPENGLFILES)'
10416 cat >>confdefs.h <<\_ACEOF
10417 #define HAVE_OPENGL 1
10418 _ACEOF
10423 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10424 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10425 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10426 echo $ECHO_N "(cached) $ECHO_C" >&6
10427 else
10428 ac_check_lib_save_LIBS=$LIBS
10429 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10430 cat >conftest.$ac_ext <<_ACEOF
10431 /* confdefs.h. */
10432 _ACEOF
10433 cat confdefs.h >>conftest.$ac_ext
10434 cat >>conftest.$ac_ext <<_ACEOF
10435 /* end confdefs.h. */
10437 /* Override any GCC internal prototype to avoid an error.
10438 Use char because int might match the return type of a GCC
10439 builtin and then its argument prototype would still apply. */
10440 #ifdef __cplusplus
10441 extern "C"
10442 #endif
10443 char gluLookAt ();
10445 main ()
10447 return gluLookAt ();
10449 return 0;
10451 _ACEOF
10452 rm -f conftest.$ac_objext conftest$ac_exeext
10453 if { (ac_try="$ac_link"
10454 case "(($ac_try" in
10455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10456 *) ac_try_echo=$ac_try;;
10457 esac
10458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10459 (eval "$ac_link") 2>conftest.er1
10460 ac_status=$?
10461 grep -v '^ *+' conftest.er1 >conftest.err
10462 rm -f conftest.er1
10463 cat conftest.err >&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); } && {
10466 test -z "$ac_c_werror_flag" ||
10467 test ! -s conftest.err
10468 } && test -s conftest$ac_exeext &&
10469 $as_test_x conftest$ac_exeext; then
10470 ac_cv_lib_GLU_gluLookAt=yes
10471 else
10472 echo "$as_me: failed program was:" >&5
10473 sed 's/^/| /' conftest.$ac_ext >&5
10475 ac_cv_lib_GLU_gluLookAt=no
10478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10479 conftest$ac_exeext conftest.$ac_ext
10480 LIBS=$ac_check_lib_save_LIBS
10482 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10483 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10484 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10485 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10486 GLU32FILES='$(GLU32FILES)'
10490 else
10491 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10492 Wine will be build without OpenGL or Direct3D support."
10494 else
10495 wine_warnings="$wine_warnings|OpenGL development headers not found.
10496 Wine will be build without OpenGL or Direct3D support."
10500 NASLIBS=""
10503 for ac_header in audio/audiolib.h
10505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10507 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10510 echo $ECHO_N "(cached) $ECHO_C" >&6
10512 ac_res=`eval echo '${'$as_ac_Header'}'`
10513 { echo "$as_me:$LINENO: result: $ac_res" >&5
10514 echo "${ECHO_T}$ac_res" >&6; }
10515 else
10516 # Is the header compilable?
10517 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10518 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10519 cat >conftest.$ac_ext <<_ACEOF
10520 /* confdefs.h. */
10521 _ACEOF
10522 cat confdefs.h >>conftest.$ac_ext
10523 cat >>conftest.$ac_ext <<_ACEOF
10524 /* end confdefs.h. */
10525 $ac_includes_default
10526 #include <$ac_header>
10527 _ACEOF
10528 rm -f conftest.$ac_objext
10529 if { (ac_try="$ac_compile"
10530 case "(($ac_try" in
10531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10532 *) ac_try_echo=$ac_try;;
10533 esac
10534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10535 (eval "$ac_compile") 2>conftest.er1
10536 ac_status=$?
10537 grep -v '^ *+' conftest.er1 >conftest.err
10538 rm -f conftest.er1
10539 cat conftest.err >&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); } && {
10542 test -z "$ac_c_werror_flag" ||
10543 test ! -s conftest.err
10544 } && test -s conftest.$ac_objext; then
10545 ac_header_compiler=yes
10546 else
10547 echo "$as_me: failed program was:" >&5
10548 sed 's/^/| /' conftest.$ac_ext >&5
10550 ac_header_compiler=no
10553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10554 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10555 echo "${ECHO_T}$ac_header_compiler" >&6; }
10557 # Is the header present?
10558 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10559 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10560 cat >conftest.$ac_ext <<_ACEOF
10561 /* confdefs.h. */
10562 _ACEOF
10563 cat confdefs.h >>conftest.$ac_ext
10564 cat >>conftest.$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10566 #include <$ac_header>
10567 _ACEOF
10568 if { (ac_try="$ac_cpp conftest.$ac_ext"
10569 case "(($ac_try" in
10570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10571 *) ac_try_echo=$ac_try;;
10572 esac
10573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10575 ac_status=$?
10576 grep -v '^ *+' conftest.er1 >conftest.err
10577 rm -f conftest.er1
10578 cat conftest.err >&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); } >/dev/null && {
10581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10582 test ! -s conftest.err
10583 }; then
10584 ac_header_preproc=yes
10585 else
10586 echo "$as_me: failed program was:" >&5
10587 sed 's/^/| /' conftest.$ac_ext >&5
10589 ac_header_preproc=no
10592 rm -f conftest.err conftest.$ac_ext
10593 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10594 echo "${ECHO_T}$ac_header_preproc" >&6; }
10596 # So? What about this header?
10597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10598 yes:no: )
10599 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10602 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10603 ac_header_preproc=yes
10605 no:yes:* )
10606 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10607 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10608 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10609 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10610 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10611 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10612 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10613 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10616 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10617 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10618 ( cat <<\_ASBOX
10619 ## ------------------------------------ ##
10620 ## Report this to wine-devel@winehq.org ##
10621 ## ------------------------------------ ##
10622 _ASBOX
10623 ) | sed "s/^/$as_me: WARNING: /" >&2
10625 esac
10626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6
10630 else
10631 eval "$as_ac_Header=\$ac_header_preproc"
10633 ac_res=`eval echo '${'$as_ac_Header'}'`
10634 { echo "$as_me:$LINENO: result: $ac_res" >&5
10635 echo "${ECHO_T}$ac_res" >&6; }
10638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10639 cat >>confdefs.h <<_ACEOF
10640 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10641 _ACEOF
10643 for ac_header in audio/soundlib.h
10645 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10646 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10648 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10649 echo $ECHO_N "(cached) $ECHO_C" >&6
10650 else
10651 cat >conftest.$ac_ext <<_ACEOF
10652 /* confdefs.h. */
10653 _ACEOF
10654 cat confdefs.h >>conftest.$ac_ext
10655 cat >>conftest.$ac_ext <<_ACEOF
10656 /* end confdefs.h. */
10657 #include <audio/audiolib.h>
10659 #include <$ac_header>
10660 _ACEOF
10661 rm -f conftest.$ac_objext
10662 if { (ac_try="$ac_compile"
10663 case "(($ac_try" in
10664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10665 *) ac_try_echo=$ac_try;;
10666 esac
10667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10668 (eval "$ac_compile") 2>conftest.er1
10669 ac_status=$?
10670 grep -v '^ *+' conftest.er1 >conftest.err
10671 rm -f conftest.er1
10672 cat conftest.err >&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); } && {
10675 test -z "$ac_c_werror_flag" ||
10676 test ! -s conftest.err
10677 } && test -s conftest.$ac_objext; then
10678 eval "$as_ac_Header=yes"
10679 else
10680 echo "$as_me: failed program was:" >&5
10681 sed 's/^/| /' conftest.$ac_ext >&5
10683 eval "$as_ac_Header=no"
10686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10688 ac_res=`eval echo '${'$as_ac_Header'}'`
10689 { echo "$as_me:$LINENO: result: $ac_res" >&5
10690 echo "${ECHO_T}$ac_res" >&6; }
10691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10692 cat >>confdefs.h <<_ACEOF
10693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10694 _ACEOF
10698 done
10700 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10701 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10702 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10703 echo $ECHO_N "(cached) $ECHO_C" >&6
10704 else
10705 ac_check_lib_save_LIBS=$LIBS
10706 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10707 cat >conftest.$ac_ext <<_ACEOF
10708 /* confdefs.h. */
10709 _ACEOF
10710 cat confdefs.h >>conftest.$ac_ext
10711 cat >>conftest.$ac_ext <<_ACEOF
10712 /* end confdefs.h. */
10714 /* Override any GCC internal prototype to avoid an error.
10715 Use char because int might match the return type of a GCC
10716 builtin and then its argument prototype would still apply. */
10717 #ifdef __cplusplus
10718 extern "C"
10719 #endif
10720 char AuCreateFlow ();
10722 main ()
10724 return AuCreateFlow ();
10726 return 0;
10728 _ACEOF
10729 rm -f conftest.$ac_objext conftest$ac_exeext
10730 if { (ac_try="$ac_link"
10731 case "(($ac_try" in
10732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10733 *) ac_try_echo=$ac_try;;
10734 esac
10735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10736 (eval "$ac_link") 2>conftest.er1
10737 ac_status=$?
10738 grep -v '^ *+' conftest.er1 >conftest.err
10739 rm -f conftest.er1
10740 cat conftest.err >&5
10741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10742 (exit $ac_status); } && {
10743 test -z "$ac_c_werror_flag" ||
10744 test ! -s conftest.err
10745 } && test -s conftest$ac_exeext &&
10746 $as_test_x conftest$ac_exeext; then
10747 ac_cv_lib_audio_AuCreateFlow=yes
10748 else
10749 echo "$as_me: failed program was:" >&5
10750 sed 's/^/| /' conftest.$ac_ext >&5
10752 ac_cv_lib_audio_AuCreateFlow=no
10755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10756 conftest$ac_exeext conftest.$ac_ext
10757 LIBS=$ac_check_lib_save_LIBS
10759 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10760 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10761 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10763 cat >>confdefs.h <<\_ACEOF
10764 #define HAVE_NAS 1
10765 _ACEOF
10767 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10768 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10769 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10770 echo $ECHO_N "(cached) $ECHO_C" >&6
10771 else
10772 ac_check_lib_save_LIBS=$LIBS
10773 LIBS="-lXau $X_LIBS $LIBS"
10774 cat >conftest.$ac_ext <<_ACEOF
10775 /* confdefs.h. */
10776 _ACEOF
10777 cat confdefs.h >>conftest.$ac_ext
10778 cat >>conftest.$ac_ext <<_ACEOF
10779 /* end confdefs.h. */
10781 /* Override any GCC internal prototype to avoid an error.
10782 Use char because int might match the return type of a GCC
10783 builtin and then its argument prototype would still apply. */
10784 #ifdef __cplusplus
10785 extern "C"
10786 #endif
10787 char XauGetBestAuthByAddr ();
10789 main ()
10791 return XauGetBestAuthByAddr ();
10793 return 0;
10795 _ACEOF
10796 rm -f conftest.$ac_objext conftest$ac_exeext
10797 if { (ac_try="$ac_link"
10798 case "(($ac_try" in
10799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10800 *) ac_try_echo=$ac_try;;
10801 esac
10802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10803 (eval "$ac_link") 2>conftest.er1
10804 ac_status=$?
10805 grep -v '^ *+' conftest.er1 >conftest.err
10806 rm -f conftest.er1
10807 cat conftest.err >&5
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); } && {
10810 test -z "$ac_c_werror_flag" ||
10811 test ! -s conftest.err
10812 } && test -s conftest$ac_exeext &&
10813 $as_test_x conftest$ac_exeext; then
10814 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10815 else
10816 echo "$as_me: failed program was:" >&5
10817 sed 's/^/| /' conftest.$ac_ext >&5
10819 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10823 conftest$ac_exeext conftest.$ac_ext
10824 LIBS=$ac_check_lib_save_LIBS
10826 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10827 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10828 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10829 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10830 else
10831 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10839 done
10842 CPPFLAGS="$ac_save_CPPFLAGS"
10843 XFILES='$(XFILES)'
10844 else
10845 XLIB=""
10846 X_CFLAGS=""
10847 X_LIBS=""
10848 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10849 without X support, which probably isn't what you want. You will need to install
10850 development packages of Xlib/Xfree86 at the very least."
10854 XML2LIBS=""
10856 XML2INCL=""
10858 XSLTLIBS=""
10860 XSLTINCL=""
10862 ac_save_CPPFLAGS="$CPPFLAGS"
10863 if test "$PKG_CONFIG" != "false"
10864 then
10865 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10866 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10867 else
10868 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10869 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10871 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10873 for ac_header in libxml/parser.h
10875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10876 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10877 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10880 echo $ECHO_N "(cached) $ECHO_C" >&6
10882 ac_res=`eval echo '${'$as_ac_Header'}'`
10883 { echo "$as_me:$LINENO: result: $ac_res" >&5
10884 echo "${ECHO_T}$ac_res" >&6; }
10885 else
10886 # Is the header compilable?
10887 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10889 cat >conftest.$ac_ext <<_ACEOF
10890 /* confdefs.h. */
10891 _ACEOF
10892 cat confdefs.h >>conftest.$ac_ext
10893 cat >>conftest.$ac_ext <<_ACEOF
10894 /* end confdefs.h. */
10895 $ac_includes_default
10896 #include <$ac_header>
10897 _ACEOF
10898 rm -f conftest.$ac_objext
10899 if { (ac_try="$ac_compile"
10900 case "(($ac_try" in
10901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10902 *) ac_try_echo=$ac_try;;
10903 esac
10904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10905 (eval "$ac_compile") 2>conftest.er1
10906 ac_status=$?
10907 grep -v '^ *+' conftest.er1 >conftest.err
10908 rm -f conftest.er1
10909 cat conftest.err >&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); } && {
10912 test -z "$ac_c_werror_flag" ||
10913 test ! -s conftest.err
10914 } && test -s conftest.$ac_objext; then
10915 ac_header_compiler=yes
10916 else
10917 echo "$as_me: failed program was:" >&5
10918 sed 's/^/| /' conftest.$ac_ext >&5
10920 ac_header_compiler=no
10923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10924 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10925 echo "${ECHO_T}$ac_header_compiler" >&6; }
10927 # Is the header present?
10928 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10929 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10930 cat >conftest.$ac_ext <<_ACEOF
10931 /* confdefs.h. */
10932 _ACEOF
10933 cat confdefs.h >>conftest.$ac_ext
10934 cat >>conftest.$ac_ext <<_ACEOF
10935 /* end confdefs.h. */
10936 #include <$ac_header>
10937 _ACEOF
10938 if { (ac_try="$ac_cpp conftest.$ac_ext"
10939 case "(($ac_try" in
10940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10941 *) ac_try_echo=$ac_try;;
10942 esac
10943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10945 ac_status=$?
10946 grep -v '^ *+' conftest.er1 >conftest.err
10947 rm -f conftest.er1
10948 cat conftest.err >&5
10949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); } >/dev/null && {
10951 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10952 test ! -s conftest.err
10953 }; then
10954 ac_header_preproc=yes
10955 else
10956 echo "$as_me: failed program was:" >&5
10957 sed 's/^/| /' conftest.$ac_ext >&5
10959 ac_header_preproc=no
10962 rm -f conftest.err conftest.$ac_ext
10963 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10964 echo "${ECHO_T}$ac_header_preproc" >&6; }
10966 # So? What about this header?
10967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10968 yes:no: )
10969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10973 ac_header_preproc=yes
10975 no:yes:* )
10976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10988 ( cat <<\_ASBOX
10989 ## ------------------------------------ ##
10990 ## Report this to wine-devel@winehq.org ##
10991 ## ------------------------------------ ##
10992 _ASBOX
10993 ) | sed "s/^/$as_me: WARNING: /" >&2
10995 esac
10996 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10998 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10999 echo $ECHO_N "(cached) $ECHO_C" >&6
11000 else
11001 eval "$as_ac_Header=\$ac_header_preproc"
11003 ac_res=`eval echo '${'$as_ac_Header'}'`
11004 { echo "$as_me:$LINENO: result: $ac_res" >&5
11005 echo "${ECHO_T}$ac_res" >&6; }
11008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11009 cat >>confdefs.h <<_ACEOF
11010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11011 _ACEOF
11012 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11013 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11014 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11015 echo $ECHO_N "(cached) $ECHO_C" >&6
11016 else
11017 ac_check_lib_save_LIBS=$LIBS
11018 LIBS="-lxml2 $ac_xml_libs $LIBS"
11019 cat >conftest.$ac_ext <<_ACEOF
11020 /* confdefs.h. */
11021 _ACEOF
11022 cat confdefs.h >>conftest.$ac_ext
11023 cat >>conftest.$ac_ext <<_ACEOF
11024 /* end confdefs.h. */
11026 /* Override any GCC internal prototype to avoid an error.
11027 Use char because int might match the return type of a GCC
11028 builtin and then its argument prototype would still apply. */
11029 #ifdef __cplusplus
11030 extern "C"
11031 #endif
11032 char xmlParseMemory ();
11034 main ()
11036 return xmlParseMemory ();
11038 return 0;
11040 _ACEOF
11041 rm -f conftest.$ac_objext conftest$ac_exeext
11042 if { (ac_try="$ac_link"
11043 case "(($ac_try" in
11044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11045 *) ac_try_echo=$ac_try;;
11046 esac
11047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11048 (eval "$ac_link") 2>conftest.er1
11049 ac_status=$?
11050 grep -v '^ *+' conftest.er1 >conftest.err
11051 rm -f conftest.er1
11052 cat conftest.err >&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); } && {
11055 test -z "$ac_c_werror_flag" ||
11056 test ! -s conftest.err
11057 } && test -s conftest$ac_exeext &&
11058 $as_test_x conftest$ac_exeext; then
11059 ac_cv_lib_xml2_xmlParseMemory=yes
11060 else
11061 echo "$as_me: failed program was:" >&5
11062 sed 's/^/| /' conftest.$ac_ext >&5
11064 ac_cv_lib_xml2_xmlParseMemory=no
11067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11068 conftest$ac_exeext conftest.$ac_ext
11069 LIBS=$ac_check_lib_save_LIBS
11071 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11072 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11073 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11075 cat >>confdefs.h <<\_ACEOF
11076 #define HAVE_LIBXML2 1
11077 _ACEOF
11079 XML2LIBS="$ac_xml_libs"
11080 XML2INCL="$ac_xml_cflags"
11083 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11084 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11085 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11086 echo $ECHO_N "(cached) $ECHO_C" >&6
11087 else
11088 ac_check_lib_save_LIBS=$LIBS
11089 LIBS="-lxml2 $ac_xml_libs $LIBS"
11090 cat >conftest.$ac_ext <<_ACEOF
11091 /* confdefs.h. */
11092 _ACEOF
11093 cat confdefs.h >>conftest.$ac_ext
11094 cat >>conftest.$ac_ext <<_ACEOF
11095 /* end confdefs.h. */
11097 /* Override any GCC internal prototype to avoid an error.
11098 Use char because int might match the return type of a GCC
11099 builtin and then its argument prototype would still apply. */
11100 #ifdef __cplusplus
11101 extern "C"
11102 #endif
11103 char xmlReadMemory ();
11105 main ()
11107 return xmlReadMemory ();
11109 return 0;
11111 _ACEOF
11112 rm -f conftest.$ac_objext conftest$ac_exeext
11113 if { (ac_try="$ac_link"
11114 case "(($ac_try" in
11115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11116 *) ac_try_echo=$ac_try;;
11117 esac
11118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11119 (eval "$ac_link") 2>conftest.er1
11120 ac_status=$?
11121 grep -v '^ *+' conftest.er1 >conftest.err
11122 rm -f conftest.er1
11123 cat conftest.err >&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); } && {
11126 test -z "$ac_c_werror_flag" ||
11127 test ! -s conftest.err
11128 } && test -s conftest$ac_exeext &&
11129 $as_test_x conftest$ac_exeext; then
11130 ac_cv_lib_xml2_xmlReadMemory=yes
11131 else
11132 echo "$as_me: failed program was:" >&5
11133 sed 's/^/| /' conftest.$ac_ext >&5
11135 ac_cv_lib_xml2_xmlReadMemory=no
11138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11139 conftest$ac_exeext conftest.$ac_ext
11140 LIBS=$ac_check_lib_save_LIBS
11142 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11143 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11144 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11146 cat >>confdefs.h <<\_ACEOF
11147 #define HAVE_XMLREADMEMORY 1
11148 _ACEOF
11152 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11153 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11154 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11155 echo $ECHO_N "(cached) $ECHO_C" >&6
11156 else
11157 ac_check_lib_save_LIBS=$LIBS
11158 LIBS="-lxml2 $ac_xml_libs $LIBS"
11159 cat >conftest.$ac_ext <<_ACEOF
11160 /* confdefs.h. */
11161 _ACEOF
11162 cat confdefs.h >>conftest.$ac_ext
11163 cat >>conftest.$ac_ext <<_ACEOF
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11169 #ifdef __cplusplus
11170 extern "C"
11171 #endif
11172 char xmlNewDocPI ();
11174 main ()
11176 return xmlNewDocPI ();
11178 return 0;
11180 _ACEOF
11181 rm -f conftest.$ac_objext conftest$ac_exeext
11182 if { (ac_try="$ac_link"
11183 case "(($ac_try" in
11184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11185 *) ac_try_echo=$ac_try;;
11186 esac
11187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11188 (eval "$ac_link") 2>conftest.er1
11189 ac_status=$?
11190 grep -v '^ *+' conftest.er1 >conftest.err
11191 rm -f conftest.er1
11192 cat conftest.err >&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); } && {
11195 test -z "$ac_c_werror_flag" ||
11196 test ! -s conftest.err
11197 } && test -s conftest$ac_exeext &&
11198 $as_test_x conftest$ac_exeext; then
11199 ac_cv_lib_xml2_xmlNewDocPI=yes
11200 else
11201 echo "$as_me: failed program was:" >&5
11202 sed 's/^/| /' conftest.$ac_ext >&5
11204 ac_cv_lib_xml2_xmlNewDocPI=no
11207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11208 conftest$ac_exeext conftest.$ac_ext
11209 LIBS=$ac_check_lib_save_LIBS
11211 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11212 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11213 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11215 cat >>confdefs.h <<\_ACEOF
11216 #define HAVE_XMLNEWDOCPI 1
11217 _ACEOF
11224 done
11226 CPPFLAGS="$ac_save_CPPFLAGS"
11227 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11228 wine_notices="$wine_notices|libxml2 development files not found.
11229 Wine will be built without XML support. (msxml.dll)"
11233 if test "$PKG_CONFIG" != "false"
11234 then
11235 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11236 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11237 else
11238 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11239 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11241 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11244 for ac_header in libxslt/pattern.h libxslt/transform.h
11246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11247 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11250 echo $ECHO_N "(cached) $ECHO_C" >&6
11251 else
11252 cat >conftest.$ac_ext <<_ACEOF
11253 /* confdefs.h. */
11254 _ACEOF
11255 cat confdefs.h >>conftest.$ac_ext
11256 cat >>conftest.$ac_ext <<_ACEOF
11257 /* end confdefs.h. */
11258 #ifdef HAVE_LIBXSLT_PATTERN_H
11259 # include <libxslt/pattern.h>
11260 #endif
11262 #include <$ac_header>
11263 _ACEOF
11264 rm -f conftest.$ac_objext
11265 if { (ac_try="$ac_compile"
11266 case "(($ac_try" in
11267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11268 *) ac_try_echo=$ac_try;;
11269 esac
11270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11271 (eval "$ac_compile") 2>conftest.er1
11272 ac_status=$?
11273 grep -v '^ *+' conftest.er1 >conftest.err
11274 rm -f conftest.er1
11275 cat conftest.err >&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } && {
11278 test -z "$ac_c_werror_flag" ||
11279 test ! -s conftest.err
11280 } && test -s conftest.$ac_objext; then
11281 eval "$as_ac_Header=yes"
11282 else
11283 echo "$as_me: failed program was:" >&5
11284 sed 's/^/| /' conftest.$ac_ext >&5
11286 eval "$as_ac_Header=no"
11289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11291 ac_res=`eval echo '${'$as_ac_Header'}'`
11292 { echo "$as_me:$LINENO: result: $ac_res" >&5
11293 echo "${ECHO_T}$ac_res" >&6; }
11294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11295 cat >>confdefs.h <<_ACEOF
11296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11297 _ACEOF
11298 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11299 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11300 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11301 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 else
11303 ac_check_lib_save_LIBS=$LIBS
11304 LIBS="-lxslt $ac_xslt_libs $LIBS"
11305 cat >conftest.$ac_ext <<_ACEOF
11306 /* confdefs.h. */
11307 _ACEOF
11308 cat confdefs.h >>conftest.$ac_ext
11309 cat >>conftest.$ac_ext <<_ACEOF
11310 /* end confdefs.h. */
11312 /* Override any GCC internal prototype to avoid an error.
11313 Use char because int might match the return type of a GCC
11314 builtin and then its argument prototype would still apply. */
11315 #ifdef __cplusplus
11316 extern "C"
11317 #endif
11318 char xsltCompilePattern ();
11320 main ()
11322 return xsltCompilePattern ();
11324 return 0;
11326 _ACEOF
11327 rm -f conftest.$ac_objext conftest$ac_exeext
11328 if { (ac_try="$ac_link"
11329 case "(($ac_try" in
11330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11331 *) ac_try_echo=$ac_try;;
11332 esac
11333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11334 (eval "$ac_link") 2>conftest.er1
11335 ac_status=$?
11336 grep -v '^ *+' conftest.er1 >conftest.err
11337 rm -f conftest.er1
11338 cat conftest.err >&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); } && {
11341 test -z "$ac_c_werror_flag" ||
11342 test ! -s conftest.err
11343 } && test -s conftest$ac_exeext &&
11344 $as_test_x conftest$ac_exeext; then
11345 ac_cv_lib_xslt_xsltCompilePattern=yes
11346 else
11347 echo "$as_me: failed program was:" >&5
11348 sed 's/^/| /' conftest.$ac_ext >&5
11350 ac_cv_lib_xslt_xsltCompilePattern=no
11353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11354 conftest$ac_exeext conftest.$ac_ext
11355 LIBS=$ac_check_lib_save_LIBS
11357 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11358 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11359 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11361 cat >>confdefs.h <<\_ACEOF
11362 #define HAVE_LIBXSLT 1
11363 _ACEOF
11365 XSLTLIBS="$ac_xslt_libs"
11366 XSLTINCL="$ac_xslt_cflags"
11372 done
11374 CPPFLAGS="$ac_save_CPPFLAGS"
11375 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11376 wine_notices="$wine_notices|libxslt development files not found.
11377 Wine will be built without xslt support. (msxml.dll)"
11381 HALINCL=""
11383 if test "$PKG_CONFIG" != "false"
11384 then
11385 ac_save_CPPFLAGS="$CPPFLAGS"
11386 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11387 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11388 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11391 for ac_header in dbus/dbus.h hal/libhal.h
11393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11394 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11395 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11397 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11398 echo $ECHO_N "(cached) $ECHO_C" >&6
11400 ac_res=`eval echo '${'$as_ac_Header'}'`
11401 { echo "$as_me:$LINENO: result: $ac_res" >&5
11402 echo "${ECHO_T}$ac_res" >&6; }
11403 else
11404 # Is the header compilable?
11405 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11407 cat >conftest.$ac_ext <<_ACEOF
11408 /* confdefs.h. */
11409 _ACEOF
11410 cat confdefs.h >>conftest.$ac_ext
11411 cat >>conftest.$ac_ext <<_ACEOF
11412 /* end confdefs.h. */
11413 $ac_includes_default
11414 #include <$ac_header>
11415 _ACEOF
11416 rm -f conftest.$ac_objext
11417 if { (ac_try="$ac_compile"
11418 case "(($ac_try" in
11419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11420 *) ac_try_echo=$ac_try;;
11421 esac
11422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11423 (eval "$ac_compile") 2>conftest.er1
11424 ac_status=$?
11425 grep -v '^ *+' conftest.er1 >conftest.err
11426 rm -f conftest.er1
11427 cat conftest.err >&5
11428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429 (exit $ac_status); } && {
11430 test -z "$ac_c_werror_flag" ||
11431 test ! -s conftest.err
11432 } && test -s conftest.$ac_objext; then
11433 ac_header_compiler=yes
11434 else
11435 echo "$as_me: failed program was:" >&5
11436 sed 's/^/| /' conftest.$ac_ext >&5
11438 ac_header_compiler=no
11441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11442 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11443 echo "${ECHO_T}$ac_header_compiler" >&6; }
11445 # Is the header present?
11446 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11447 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11448 cat >conftest.$ac_ext <<_ACEOF
11449 /* confdefs.h. */
11450 _ACEOF
11451 cat confdefs.h >>conftest.$ac_ext
11452 cat >>conftest.$ac_ext <<_ACEOF
11453 /* end confdefs.h. */
11454 #include <$ac_header>
11455 _ACEOF
11456 if { (ac_try="$ac_cpp conftest.$ac_ext"
11457 case "(($ac_try" in
11458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11459 *) ac_try_echo=$ac_try;;
11460 esac
11461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11462 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11463 ac_status=$?
11464 grep -v '^ *+' conftest.er1 >conftest.err
11465 rm -f conftest.er1
11466 cat conftest.err >&5
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); } >/dev/null && {
11469 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11470 test ! -s conftest.err
11471 }; then
11472 ac_header_preproc=yes
11473 else
11474 echo "$as_me: failed program was:" >&5
11475 sed 's/^/| /' conftest.$ac_ext >&5
11477 ac_header_preproc=no
11480 rm -f conftest.err conftest.$ac_ext
11481 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11482 echo "${ECHO_T}$ac_header_preproc" >&6; }
11484 # So? What about this header?
11485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11486 yes:no: )
11487 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11488 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11490 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11491 ac_header_preproc=yes
11493 no:yes:* )
11494 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11495 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11496 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11497 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11498 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11499 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11500 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11501 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11503 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11504 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11505 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11506 ( cat <<\_ASBOX
11507 ## ------------------------------------ ##
11508 ## Report this to wine-devel@winehq.org ##
11509 ## ------------------------------------ ##
11510 _ASBOX
11511 ) | sed "s/^/$as_me: WARNING: /" >&2
11513 esac
11514 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11516 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11517 echo $ECHO_N "(cached) $ECHO_C" >&6
11518 else
11519 eval "$as_ac_Header=\$ac_header_preproc"
11521 ac_res=`eval echo '${'$as_ac_Header'}'`
11522 { echo "$as_me:$LINENO: result: $ac_res" >&5
11523 echo "${ECHO_T}$ac_res" >&6; }
11526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11527 cat >>confdefs.h <<_ACEOF
11528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11529 _ACEOF
11533 done
11535 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11536 then
11537 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11538 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11539 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11540 echo $ECHO_N "(cached) $ECHO_C" >&6
11541 else
11542 ac_check_lib_save_LIBS=$LIBS
11543 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11544 cat >conftest.$ac_ext <<_ACEOF
11545 /* confdefs.h. */
11546 _ACEOF
11547 cat confdefs.h >>conftest.$ac_ext
11548 cat >>conftest.$ac_ext <<_ACEOF
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11554 #ifdef __cplusplus
11555 extern "C"
11556 #endif
11557 char dbus_connection_close ();
11559 main ()
11561 return dbus_connection_close ();
11563 return 0;
11565 _ACEOF
11566 rm -f conftest.$ac_objext conftest$ac_exeext
11567 if { (ac_try="$ac_link"
11568 case "(($ac_try" in
11569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11570 *) ac_try_echo=$ac_try;;
11571 esac
11572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11573 (eval "$ac_link") 2>conftest.er1
11574 ac_status=$?
11575 grep -v '^ *+' conftest.er1 >conftest.err
11576 rm -f conftest.er1
11577 cat conftest.err >&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); } && {
11580 test -z "$ac_c_werror_flag" ||
11581 test ! -s conftest.err
11582 } && test -s conftest$ac_exeext &&
11583 $as_test_x conftest$ac_exeext; then
11584 ac_cv_lib_dbus_1_dbus_connection_close=yes
11585 else
11586 echo "$as_me: failed program was:" >&5
11587 sed 's/^/| /' conftest.$ac_ext >&5
11589 ac_cv_lib_dbus_1_dbus_connection_close=no
11592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11593 conftest$ac_exeext conftest.$ac_ext
11594 LIBS=$ac_check_lib_save_LIBS
11596 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11597 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11598 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11599 { echo "$as_me:$LINENO: checking for -lhal" >&5
11600 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11601 if test "${ac_cv_lib_soname_hal+set}" = set; then
11602 echo $ECHO_N "(cached) $ECHO_C" >&6
11603 else
11604 ac_check_soname_save_LIBS=$LIBS
11605 LIBS="-lhal $ac_hal_libs $LIBS"
11606 cat >conftest.$ac_ext <<_ACEOF
11607 /* confdefs.h. */
11608 _ACEOF
11609 cat confdefs.h >>conftest.$ac_ext
11610 cat >>conftest.$ac_ext <<_ACEOF
11611 /* end confdefs.h. */
11613 /* Override any GCC internal prototype to avoid an error.
11614 Use char because int might match the return type of a GCC
11615 builtin and then its argument prototype would still apply. */
11616 #ifdef __cplusplus
11617 extern "C"
11618 #endif
11619 char libhal_ctx_new ();
11621 main ()
11623 return libhal_ctx_new ();
11625 return 0;
11627 _ACEOF
11628 rm -f conftest.$ac_objext conftest$ac_exeext
11629 if { (ac_try="$ac_link"
11630 case "(($ac_try" in
11631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11632 *) ac_try_echo=$ac_try;;
11633 esac
11634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11635 (eval "$ac_link") 2>conftest.er1
11636 ac_status=$?
11637 grep -v '^ *+' conftest.er1 >conftest.err
11638 rm -f conftest.er1
11639 cat conftest.err >&5
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); } && {
11642 test -z "$ac_c_werror_flag" ||
11643 test ! -s conftest.err
11644 } && test -s conftest$ac_exeext &&
11645 $as_test_x conftest$ac_exeext; then
11646 case "$LIBEXT" in
11647 dll) ;;
11648 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'` ;;
11649 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11650 esac
11651 else
11652 echo "$as_me: failed program was:" >&5
11653 sed 's/^/| /' conftest.$ac_ext >&5
11658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11659 conftest$ac_exeext conftest.$ac_ext
11660 LIBS=$ac_check_soname_save_LIBS
11662 if test "x$ac_cv_lib_soname_hal" = "x"; then
11663 { echo "$as_me:$LINENO: result: not found" >&5
11664 echo "${ECHO_T}not found" >&6; }
11666 else
11667 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11668 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11670 cat >>confdefs.h <<_ACEOF
11671 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11672 _ACEOF
11674 HALINCL="$ac_hal_cflags"
11680 CPPFLAGS="$ac_save_CPPFLAGS"
11682 if test "x$ac_cv_lib_soname_hal" = "x"; then
11683 wine_notices="$wine_notices|libhal development files not found.
11684 Wine will be built without dynamic device support. (explorer.exe)"
11688 CURSESLIBS=""
11689 if test "$ac_cv_header_ncurses_h" = "yes"
11690 then
11691 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11692 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11693 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11694 echo $ECHO_N "(cached) $ECHO_C" >&6
11695 else
11696 ac_check_soname_save_LIBS=$LIBS
11697 LIBS="-lncurses $LIBS"
11698 cat >conftest.$ac_ext <<_ACEOF
11699 /* confdefs.h. */
11700 _ACEOF
11701 cat confdefs.h >>conftest.$ac_ext
11702 cat >>conftest.$ac_ext <<_ACEOF
11703 /* end confdefs.h. */
11705 /* Override any GCC internal prototype to avoid an error.
11706 Use char because int might match the return type of a GCC
11707 builtin and then its argument prototype would still apply. */
11708 #ifdef __cplusplus
11709 extern "C"
11710 #endif
11711 char waddch ();
11713 main ()
11715 return waddch ();
11717 return 0;
11719 _ACEOF
11720 rm -f conftest.$ac_objext conftest$ac_exeext
11721 if { (ac_try="$ac_link"
11722 case "(($ac_try" in
11723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11724 *) ac_try_echo=$ac_try;;
11725 esac
11726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11727 (eval "$ac_link") 2>conftest.er1
11728 ac_status=$?
11729 grep -v '^ *+' conftest.er1 >conftest.err
11730 rm -f conftest.er1
11731 cat conftest.err >&5
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); } && {
11734 test -z "$ac_c_werror_flag" ||
11735 test ! -s conftest.err
11736 } && test -s conftest$ac_exeext &&
11737 $as_test_x conftest$ac_exeext; then
11738 case "$LIBEXT" in
11739 dll) ;;
11740 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'` ;;
11741 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11742 esac
11743 else
11744 echo "$as_me: failed program was:" >&5
11745 sed 's/^/| /' conftest.$ac_ext >&5
11750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11751 conftest$ac_exeext conftest.$ac_ext
11752 LIBS=$ac_check_soname_save_LIBS
11754 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11755 { echo "$as_me:$LINENO: result: not found" >&5
11756 echo "${ECHO_T}not found" >&6; }
11758 else
11759 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11760 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11762 cat >>confdefs.h <<_ACEOF
11763 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11764 _ACEOF
11766 CURSESLIBS="-lncurses"
11769 elif test "$ac_cv_header_curses_h" = "yes"
11770 then
11771 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11772 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11773 if test "${ac_cv_lib_soname_curses+set}" = set; then
11774 echo $ECHO_N "(cached) $ECHO_C" >&6
11775 else
11776 ac_check_soname_save_LIBS=$LIBS
11777 LIBS="-lcurses $LIBS"
11778 cat >conftest.$ac_ext <<_ACEOF
11779 /* confdefs.h. */
11780 _ACEOF
11781 cat confdefs.h >>conftest.$ac_ext
11782 cat >>conftest.$ac_ext <<_ACEOF
11783 /* end confdefs.h. */
11785 /* Override any GCC internal prototype to avoid an error.
11786 Use char because int might match the return type of a GCC
11787 builtin and then its argument prototype would still apply. */
11788 #ifdef __cplusplus
11789 extern "C"
11790 #endif
11791 char waddch ();
11793 main ()
11795 return waddch ();
11797 return 0;
11799 _ACEOF
11800 rm -f conftest.$ac_objext conftest$ac_exeext
11801 if { (ac_try="$ac_link"
11802 case "(($ac_try" in
11803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11804 *) ac_try_echo=$ac_try;;
11805 esac
11806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11807 (eval "$ac_link") 2>conftest.er1
11808 ac_status=$?
11809 grep -v '^ *+' conftest.er1 >conftest.err
11810 rm -f conftest.er1
11811 cat conftest.err >&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); } && {
11814 test -z "$ac_c_werror_flag" ||
11815 test ! -s conftest.err
11816 } && test -s conftest$ac_exeext &&
11817 $as_test_x conftest$ac_exeext; then
11818 case "$LIBEXT" in
11819 dll) ;;
11820 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'` ;;
11821 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11822 esac
11823 else
11824 echo "$as_me: failed program was:" >&5
11825 sed 's/^/| /' conftest.$ac_ext >&5
11830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11831 conftest$ac_exeext conftest.$ac_ext
11832 LIBS=$ac_check_soname_save_LIBS
11834 if test "x$ac_cv_lib_soname_curses" = "x"; then
11835 { echo "$as_me:$LINENO: result: not found" >&5
11836 echo "${ECHO_T}not found" >&6; }
11838 else
11839 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11840 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11842 cat >>confdefs.h <<_ACEOF
11843 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11844 _ACEOF
11846 CURSESLIBS="-lcurses"
11850 ac_save_LIBS="$LIBS"
11851 LIBS="$LIBS $CURSESLIBS"
11853 for ac_func in mousemask
11855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11856 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11858 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11859 echo $ECHO_N "(cached) $ECHO_C" >&6
11860 else
11861 cat >conftest.$ac_ext <<_ACEOF
11862 /* confdefs.h. */
11863 _ACEOF
11864 cat confdefs.h >>conftest.$ac_ext
11865 cat >>conftest.$ac_ext <<_ACEOF
11866 /* end confdefs.h. */
11867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11869 #define $ac_func innocuous_$ac_func
11871 /* System header to define __stub macros and hopefully few prototypes,
11872 which can conflict with char $ac_func (); below.
11873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11874 <limits.h> exists even on freestanding compilers. */
11876 #ifdef __STDC__
11877 # include <limits.h>
11878 #else
11879 # include <assert.h>
11880 #endif
11882 #undef $ac_func
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11887 #ifdef __cplusplus
11888 extern "C"
11889 #endif
11890 char $ac_func ();
11891 /* The GNU C library defines this for functions which it implements
11892 to always fail with ENOSYS. Some functions are actually named
11893 something starting with __ and the normal name is an alias. */
11894 #if defined __stub_$ac_func || defined __stub___$ac_func
11895 choke me
11896 #endif
11899 main ()
11901 return $ac_func ();
11903 return 0;
11905 _ACEOF
11906 rm -f conftest.$ac_objext conftest$ac_exeext
11907 if { (ac_try="$ac_link"
11908 case "(($ac_try" in
11909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11910 *) ac_try_echo=$ac_try;;
11911 esac
11912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11913 (eval "$ac_link") 2>conftest.er1
11914 ac_status=$?
11915 grep -v '^ *+' conftest.er1 >conftest.err
11916 rm -f conftest.er1
11917 cat conftest.err >&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); } && {
11920 test -z "$ac_c_werror_flag" ||
11921 test ! -s conftest.err
11922 } && test -s conftest$ac_exeext &&
11923 $as_test_x conftest$ac_exeext; then
11924 eval "$as_ac_var=yes"
11925 else
11926 echo "$as_me: failed program was:" >&5
11927 sed 's/^/| /' conftest.$ac_ext >&5
11929 eval "$as_ac_var=no"
11932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11933 conftest$ac_exeext conftest.$ac_ext
11935 ac_res=`eval echo '${'$as_ac_var'}'`
11936 { echo "$as_me:$LINENO: result: $ac_res" >&5
11937 echo "${ECHO_T}$ac_res" >&6; }
11938 if test `eval echo '${'$as_ac_var'}'` = yes; then
11939 cat >>confdefs.h <<_ACEOF
11940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11941 _ACEOF
11944 done
11946 LIBS="$ac_save_LIBS"
11947 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11948 wine_notices="$wine_notices|lib(n)curses development files not found.
11949 Wine will be built without (n)curses support. (wineconsole.exe)"
11953 # Extract the first word of "sane-config", so it can be a program name with args.
11954 set dummy sane-config; ac_word=$2
11955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11957 if test "${ac_cv_prog_sane_devel+set}" = set; then
11958 echo $ECHO_N "(cached) $ECHO_C" >&6
11959 else
11960 if test -n "$sane_devel"; then
11961 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11962 else
11963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11964 for as_dir in $PATH
11966 IFS=$as_save_IFS
11967 test -z "$as_dir" && as_dir=.
11968 for ac_exec_ext in '' $ac_executable_extensions; do
11969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11970 ac_cv_prog_sane_devel="sane-config"
11971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11972 break 2
11974 done
11975 done
11976 IFS=$as_save_IFS
11978 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11981 sane_devel=$ac_cv_prog_sane_devel
11982 if test -n "$sane_devel"; then
11983 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11984 echo "${ECHO_T}$sane_devel" >&6; }
11985 else
11986 { echo "$as_me:$LINENO: result: no" >&5
11987 echo "${ECHO_T}no" >&6; }
11991 if test "$sane_devel" != "no"
11992 then
11993 ac_sane_incl="`$sane_devel --cflags`"
11994 ac_save_CPPFLAGS="$CPPFLAGS"
11995 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
11996 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11997 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11998 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11999 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12000 echo $ECHO_N "(cached) $ECHO_C" >&6
12002 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12003 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12004 else
12005 # Is the header compilable?
12006 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12007 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12008 cat >conftest.$ac_ext <<_ACEOF
12009 /* confdefs.h. */
12010 _ACEOF
12011 cat confdefs.h >>conftest.$ac_ext
12012 cat >>conftest.$ac_ext <<_ACEOF
12013 /* end confdefs.h. */
12014 $ac_includes_default
12015 #include <sane/sane.h>
12016 _ACEOF
12017 rm -f conftest.$ac_objext
12018 if { (ac_try="$ac_compile"
12019 case "(($ac_try" in
12020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12021 *) ac_try_echo=$ac_try;;
12022 esac
12023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12024 (eval "$ac_compile") 2>conftest.er1
12025 ac_status=$?
12026 grep -v '^ *+' conftest.er1 >conftest.err
12027 rm -f conftest.er1
12028 cat conftest.err >&5
12029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12030 (exit $ac_status); } && {
12031 test -z "$ac_c_werror_flag" ||
12032 test ! -s conftest.err
12033 } && test -s conftest.$ac_objext; then
12034 ac_header_compiler=yes
12035 else
12036 echo "$as_me: failed program was:" >&5
12037 sed 's/^/| /' conftest.$ac_ext >&5
12039 ac_header_compiler=no
12042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12043 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12044 echo "${ECHO_T}$ac_header_compiler" >&6; }
12046 # Is the header present?
12047 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12048 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12049 cat >conftest.$ac_ext <<_ACEOF
12050 /* confdefs.h. */
12051 _ACEOF
12052 cat confdefs.h >>conftest.$ac_ext
12053 cat >>conftest.$ac_ext <<_ACEOF
12054 /* end confdefs.h. */
12055 #include <sane/sane.h>
12056 _ACEOF
12057 if { (ac_try="$ac_cpp conftest.$ac_ext"
12058 case "(($ac_try" in
12059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12060 *) ac_try_echo=$ac_try;;
12061 esac
12062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12064 ac_status=$?
12065 grep -v '^ *+' conftest.er1 >conftest.err
12066 rm -f conftest.er1
12067 cat conftest.err >&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); } >/dev/null && {
12070 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12071 test ! -s conftest.err
12072 }; then
12073 ac_header_preproc=yes
12074 else
12075 echo "$as_me: failed program was:" >&5
12076 sed 's/^/| /' conftest.$ac_ext >&5
12078 ac_header_preproc=no
12081 rm -f conftest.err conftest.$ac_ext
12082 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12083 echo "${ECHO_T}$ac_header_preproc" >&6; }
12085 # So? What about this header?
12086 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12087 yes:no: )
12088 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12089 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12090 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12091 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12092 ac_header_preproc=yes
12094 no:yes:* )
12095 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12096 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12097 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12098 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12099 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12100 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12101 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12102 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12103 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12104 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12105 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12106 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12107 ( cat <<\_ASBOX
12108 ## ------------------------------------ ##
12109 ## Report this to wine-devel@winehq.org ##
12110 ## ------------------------------------ ##
12111 _ASBOX
12112 ) | sed "s/^/$as_me: WARNING: /" >&2
12114 esac
12115 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12116 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12117 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12118 echo $ECHO_N "(cached) $ECHO_C" >&6
12119 else
12120 ac_cv_header_sane_sane_h=$ac_header_preproc
12122 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12123 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12126 if test $ac_cv_header_sane_sane_h = yes; then
12127 { echo "$as_me:$LINENO: checking for -lsane" >&5
12128 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12129 if test "${ac_cv_lib_soname_sane+set}" = set; then
12130 echo $ECHO_N "(cached) $ECHO_C" >&6
12131 else
12132 ac_check_soname_save_LIBS=$LIBS
12133 LIBS="-lsane $LIBS"
12134 cat >conftest.$ac_ext <<_ACEOF
12135 /* confdefs.h. */
12136 _ACEOF
12137 cat confdefs.h >>conftest.$ac_ext
12138 cat >>conftest.$ac_ext <<_ACEOF
12139 /* end confdefs.h. */
12141 /* Override any GCC internal prototype to avoid an error.
12142 Use char because int might match the return type of a GCC
12143 builtin and then its argument prototype would still apply. */
12144 #ifdef __cplusplus
12145 extern "C"
12146 #endif
12147 char sane_init ();
12149 main ()
12151 return sane_init ();
12153 return 0;
12155 _ACEOF
12156 rm -f conftest.$ac_objext conftest$ac_exeext
12157 if { (ac_try="$ac_link"
12158 case "(($ac_try" in
12159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12160 *) ac_try_echo=$ac_try;;
12161 esac
12162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12163 (eval "$ac_link") 2>conftest.er1
12164 ac_status=$?
12165 grep -v '^ *+' conftest.er1 >conftest.err
12166 rm -f conftest.er1
12167 cat conftest.err >&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); } && {
12170 test -z "$ac_c_werror_flag" ||
12171 test ! -s conftest.err
12172 } && test -s conftest$ac_exeext &&
12173 $as_test_x conftest$ac_exeext; then
12174 case "$LIBEXT" in
12175 dll) ;;
12176 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'` ;;
12177 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12178 esac
12179 else
12180 echo "$as_me: failed program was:" >&5
12181 sed 's/^/| /' conftest.$ac_ext >&5
12186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12187 conftest$ac_exeext conftest.$ac_ext
12188 LIBS=$ac_check_soname_save_LIBS
12190 if test "x$ac_cv_lib_soname_sane" = "x"; then
12191 { echo "$as_me:$LINENO: result: not found" >&5
12192 echo "${ECHO_T}not found" >&6; }
12194 else
12195 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12196 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12198 cat >>confdefs.h <<_ACEOF
12199 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12200 _ACEOF
12202 SANEINCL="$ac_sane_incl"
12209 CPPFLAGS="$ac_save_CPPFLAGS"
12211 if test "x$ac_cv_lib_soname_sane" = "x"; then
12212 wine_notices="$wine_notices|libsane development files not found.
12213 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12217 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12218 set dummy gphoto2-config; ac_word=$2
12219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12221 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 else
12224 if test -n "$gphoto2_devel"; then
12225 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12226 else
12227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12228 for as_dir in $PATH
12230 IFS=$as_save_IFS
12231 test -z "$as_dir" && as_dir=.
12232 for ac_exec_ext in '' $ac_executable_extensions; do
12233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12234 ac_cv_prog_gphoto2_devel="gphoto2-config"
12235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12236 break 2
12238 done
12239 done
12240 IFS=$as_save_IFS
12242 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12245 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12246 if test -n "$gphoto2_devel"; then
12247 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12248 echo "${ECHO_T}$gphoto2_devel" >&6; }
12249 else
12250 { echo "$as_me:$LINENO: result: no" >&5
12251 echo "${ECHO_T}no" >&6; }
12255 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12256 set dummy gphoto2-port-config; ac_word=$2
12257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12259 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12260 echo $ECHO_N "(cached) $ECHO_C" >&6
12261 else
12262 if test -n "$gphoto2port_devel"; then
12263 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12264 else
12265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12266 for as_dir in $PATH
12268 IFS=$as_save_IFS
12269 test -z "$as_dir" && as_dir=.
12270 for ac_exec_ext in '' $ac_executable_extensions; do
12271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12272 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12274 break 2
12276 done
12277 done
12278 IFS=$as_save_IFS
12280 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12283 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12284 if test -n "$gphoto2port_devel"; then
12285 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12286 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12287 else
12288 { echo "$as_me:$LINENO: result: no" >&5
12289 echo "${ECHO_T}no" >&6; }
12293 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12294 then
12295 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12296 ac_gphoto2_libs=""
12297 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12299 case "$i" in
12300 -L/usr/lib|-L/usr/lib64) ;;
12301 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12302 esac
12303 done
12304 ac_save_CPPFLAGS="$CPPFLAGS"
12305 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12306 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12307 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12308 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12309 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12310 echo $ECHO_N "(cached) $ECHO_C" >&6
12312 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12313 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12314 else
12315 # Is the header compilable?
12316 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12317 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12318 cat >conftest.$ac_ext <<_ACEOF
12319 /* confdefs.h. */
12320 _ACEOF
12321 cat confdefs.h >>conftest.$ac_ext
12322 cat >>conftest.$ac_ext <<_ACEOF
12323 /* end confdefs.h. */
12324 $ac_includes_default
12325 #include <gphoto2-camera.h>
12326 _ACEOF
12327 rm -f conftest.$ac_objext
12328 if { (ac_try="$ac_compile"
12329 case "(($ac_try" in
12330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12331 *) ac_try_echo=$ac_try;;
12332 esac
12333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12334 (eval "$ac_compile") 2>conftest.er1
12335 ac_status=$?
12336 grep -v '^ *+' conftest.er1 >conftest.err
12337 rm -f conftest.er1
12338 cat conftest.err >&5
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); } && {
12341 test -z "$ac_c_werror_flag" ||
12342 test ! -s conftest.err
12343 } && test -s conftest.$ac_objext; then
12344 ac_header_compiler=yes
12345 else
12346 echo "$as_me: failed program was:" >&5
12347 sed 's/^/| /' conftest.$ac_ext >&5
12349 ac_header_compiler=no
12352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12353 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12354 echo "${ECHO_T}$ac_header_compiler" >&6; }
12356 # Is the header present?
12357 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12358 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12359 cat >conftest.$ac_ext <<_ACEOF
12360 /* confdefs.h. */
12361 _ACEOF
12362 cat confdefs.h >>conftest.$ac_ext
12363 cat >>conftest.$ac_ext <<_ACEOF
12364 /* end confdefs.h. */
12365 #include <gphoto2-camera.h>
12366 _ACEOF
12367 if { (ac_try="$ac_cpp conftest.$ac_ext"
12368 case "(($ac_try" in
12369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12370 *) ac_try_echo=$ac_try;;
12371 esac
12372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12373 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12374 ac_status=$?
12375 grep -v '^ *+' conftest.er1 >conftest.err
12376 rm -f conftest.er1
12377 cat conftest.err >&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); } >/dev/null && {
12380 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12381 test ! -s conftest.err
12382 }; then
12383 ac_header_preproc=yes
12384 else
12385 echo "$as_me: failed program was:" >&5
12386 sed 's/^/| /' conftest.$ac_ext >&5
12388 ac_header_preproc=no
12391 rm -f conftest.err conftest.$ac_ext
12392 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12393 echo "${ECHO_T}$ac_header_preproc" >&6; }
12395 # So? What about this header?
12396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12397 yes:no: )
12398 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12399 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12400 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12401 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12402 ac_header_preproc=yes
12404 no:yes:* )
12405 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12406 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12407 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12408 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12409 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12410 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12411 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12412 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12413 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12414 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12415 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12416 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12417 ( cat <<\_ASBOX
12418 ## ------------------------------------ ##
12419 ## Report this to wine-devel@winehq.org ##
12420 ## ------------------------------------ ##
12421 _ASBOX
12422 ) | sed "s/^/$as_me: WARNING: /" >&2
12424 esac
12425 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12426 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12427 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12429 else
12430 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12432 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12433 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12436 if test $ac_cv_header_gphoto2_camera_h = yes; then
12437 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12438 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12439 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12440 echo $ECHO_N "(cached) $ECHO_C" >&6
12441 else
12442 ac_check_lib_save_LIBS=$LIBS
12443 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12444 cat >conftest.$ac_ext <<_ACEOF
12445 /* confdefs.h. */
12446 _ACEOF
12447 cat confdefs.h >>conftest.$ac_ext
12448 cat >>conftest.$ac_ext <<_ACEOF
12449 /* end confdefs.h. */
12451 /* Override any GCC internal prototype to avoid an error.
12452 Use char because int might match the return type of a GCC
12453 builtin and then its argument prototype would still apply. */
12454 #ifdef __cplusplus
12455 extern "C"
12456 #endif
12457 char gp_camera_new ();
12459 main ()
12461 return gp_camera_new ();
12463 return 0;
12465 _ACEOF
12466 rm -f conftest.$ac_objext conftest$ac_exeext
12467 if { (ac_try="$ac_link"
12468 case "(($ac_try" in
12469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12470 *) ac_try_echo=$ac_try;;
12471 esac
12472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12473 (eval "$ac_link") 2>conftest.er1
12474 ac_status=$?
12475 grep -v '^ *+' conftest.er1 >conftest.err
12476 rm -f conftest.er1
12477 cat conftest.err >&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); } && {
12480 test -z "$ac_c_werror_flag" ||
12481 test ! -s conftest.err
12482 } && test -s conftest$ac_exeext &&
12483 $as_test_x conftest$ac_exeext; then
12484 ac_cv_lib_gphoto2_gp_camera_new=yes
12485 else
12486 echo "$as_me: failed program was:" >&5
12487 sed 's/^/| /' conftest.$ac_ext >&5
12489 ac_cv_lib_gphoto2_gp_camera_new=no
12492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12493 conftest$ac_exeext conftest.$ac_ext
12494 LIBS=$ac_check_lib_save_LIBS
12496 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12497 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12498 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12500 cat >>confdefs.h <<\_ACEOF
12501 #define HAVE_GPHOTO2 1
12502 _ACEOF
12504 GPHOTO2LIBS="$ac_gphoto2_libs"
12506 GPHOTO2INCL="$ac_gphoto2_incl"
12513 CPPFLAGS="$ac_save_CPPFLAGS"
12515 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12516 wine_notices="$wine_notices|libgphoto2 development files not found.
12517 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12522 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12523 then
12524 saved_libs="$LIBS"
12525 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12526 if test -n "$ICU_LIB_DIR"
12527 then
12528 icu_libs="-L$ICU_LIB_DIR $icu_libs"
12530 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12531 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12532 LIBS="$saved_libs $icu_libs"
12533 if test "$cross_compiling" = yes; then
12534 { echo "$as_me:$LINENO: result: no" >&5
12535 echo "${ECHO_T}no" >&6; }
12536 else
12537 cat >conftest.$ac_ext <<_ACEOF
12538 /* confdefs.h. */
12539 _ACEOF
12540 cat confdefs.h >>conftest.$ac_ext
12541 cat >>conftest.$ac_ext <<_ACEOF
12542 /* end confdefs.h. */
12543 #include <unicode/ubidi.h>
12545 main ()
12547 ubidi_open()
12549 return 0;
12551 _ACEOF
12552 rm -f conftest$ac_exeext
12553 if { (ac_try="$ac_link"
12554 case "(($ac_try" in
12555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12556 *) ac_try_echo=$ac_try;;
12557 esac
12558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12559 (eval "$ac_link") 2>&5
12560 ac_status=$?
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12563 { (case "(($ac_try" in
12564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12565 *) ac_try_echo=$ac_try;;
12566 esac
12567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12568 (eval "$ac_try") 2>&5
12569 ac_status=$?
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); }; }; then
12573 cat >>confdefs.h <<\_ACEOF
12574 #define HAVE_ICU 1
12575 _ACEOF
12577 ICULIBS="$icu_libs"
12579 { echo "$as_me:$LINENO: result: yes" >&5
12580 echo "${ECHO_T}yes" >&6; }
12581 else
12582 echo "$as_me: program exited with status $ac_status" >&5
12583 echo "$as_me: failed program was:" >&5
12584 sed 's/^/| /' conftest.$ac_ext >&5
12586 ( exit $ac_status )
12587 { echo "$as_me:$LINENO: result: no" >&5
12588 echo "${ECHO_T}no" >&6; }
12590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12594 LIBS="$saved_libs"
12596 if test "x$ICULIBS" = "x"; then
12597 wine_notices="$wine_notices|libicu development files not found.
12598 Wine will be built without bidi (Right to Left) support. (gdi32.dll)"
12602 RESOLVLIBS=""
12604 if test "$ac_cv_header_resolv_h" = "yes"
12605 then
12606 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12607 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12608 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12609 echo $ECHO_N "(cached) $ECHO_C" >&6
12610 else
12611 ac_check_lib_save_LIBS=$LIBS
12612 LIBS="-lresolv $LIBS"
12613 cat >conftest.$ac_ext <<_ACEOF
12614 /* confdefs.h. */
12615 _ACEOF
12616 cat confdefs.h >>conftest.$ac_ext
12617 cat >>conftest.$ac_ext <<_ACEOF
12618 /* end confdefs.h. */
12620 /* Override any GCC internal prototype to avoid an error.
12621 Use char because int might match the return type of a GCC
12622 builtin and then its argument prototype would still apply. */
12623 #ifdef __cplusplus
12624 extern "C"
12625 #endif
12626 char res_query ();
12628 main ()
12630 return res_query ();
12632 return 0;
12634 _ACEOF
12635 rm -f conftest.$ac_objext conftest$ac_exeext
12636 if { (ac_try="$ac_link"
12637 case "(($ac_try" in
12638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12639 *) ac_try_echo=$ac_try;;
12640 esac
12641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12642 (eval "$ac_link") 2>conftest.er1
12643 ac_status=$?
12644 grep -v '^ *+' conftest.er1 >conftest.err
12645 rm -f conftest.er1
12646 cat conftest.err >&5
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); } && {
12649 test -z "$ac_c_werror_flag" ||
12650 test ! -s conftest.err
12651 } && test -s conftest$ac_exeext &&
12652 $as_test_x conftest$ac_exeext; then
12653 ac_cv_lib_resolv_res_query=yes
12654 else
12655 echo "$as_me: failed program was:" >&5
12656 sed 's/^/| /' conftest.$ac_ext >&5
12658 ac_cv_lib_resolv_res_query=no
12661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12662 conftest$ac_exeext conftest.$ac_ext
12663 LIBS=$ac_check_lib_save_LIBS
12665 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12666 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12667 if test $ac_cv_lib_resolv_res_query = yes; then
12669 cat >>confdefs.h <<\_ACEOF
12670 #define HAVE_RESOLV 1
12671 _ACEOF
12673 RESOLVLIBS="-lresolv"
12678 LCMSLIBS=""
12680 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12681 then
12682 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12683 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12684 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12685 echo $ECHO_N "(cached) $ECHO_C" >&6
12686 else
12687 ac_check_lib_save_LIBS=$LIBS
12688 LIBS="-llcms $LIBS"
12689 cat >conftest.$ac_ext <<_ACEOF
12690 /* confdefs.h. */
12691 _ACEOF
12692 cat confdefs.h >>conftest.$ac_ext
12693 cat >>conftest.$ac_ext <<_ACEOF
12694 /* end confdefs.h. */
12696 /* Override any GCC internal prototype to avoid an error.
12697 Use char because int might match the return type of a GCC
12698 builtin and then its argument prototype would still apply. */
12699 #ifdef __cplusplus
12700 extern "C"
12701 #endif
12702 char cmsOpenProfileFromFile ();
12704 main ()
12706 return cmsOpenProfileFromFile ();
12708 return 0;
12710 _ACEOF
12711 rm -f conftest.$ac_objext conftest$ac_exeext
12712 if { (ac_try="$ac_link"
12713 case "(($ac_try" in
12714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12715 *) ac_try_echo=$ac_try;;
12716 esac
12717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12718 (eval "$ac_link") 2>conftest.er1
12719 ac_status=$?
12720 grep -v '^ *+' conftest.er1 >conftest.err
12721 rm -f conftest.er1
12722 cat conftest.err >&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); } && {
12725 test -z "$ac_c_werror_flag" ||
12726 test ! -s conftest.err
12727 } && test -s conftest$ac_exeext &&
12728 $as_test_x conftest$ac_exeext; then
12729 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12730 else
12731 echo "$as_me: failed program was:" >&5
12732 sed 's/^/| /' conftest.$ac_ext >&5
12734 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12738 conftest$ac_exeext conftest.$ac_ext
12739 LIBS=$ac_check_lib_save_LIBS
12741 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12742 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12743 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12745 cat >>confdefs.h <<\_ACEOF
12746 #define HAVE_LCMS 1
12747 _ACEOF
12749 LCMSLIBS="-llcms"
12753 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12754 wine_notices="$wine_notices|liblcms development files not found.
12755 Wine will be built without Color Management support. (mscms.dll)"
12759 LDAPLIBS=""
12761 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12762 then
12763 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12764 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12765 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12766 echo $ECHO_N "(cached) $ECHO_C" >&6
12767 else
12768 ac_check_lib_save_LIBS=$LIBS
12769 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12770 cat >conftest.$ac_ext <<_ACEOF
12771 /* confdefs.h. */
12772 _ACEOF
12773 cat confdefs.h >>conftest.$ac_ext
12774 cat >>conftest.$ac_ext <<_ACEOF
12775 /* end confdefs.h. */
12777 /* Override any GCC internal prototype to avoid an error.
12778 Use char because int might match the return type of a GCC
12779 builtin and then its argument prototype would still apply. */
12780 #ifdef __cplusplus
12781 extern "C"
12782 #endif
12783 char ldap_initialize ();
12785 main ()
12787 return ldap_initialize ();
12789 return 0;
12791 _ACEOF
12792 rm -f conftest.$ac_objext conftest$ac_exeext
12793 if { (ac_try="$ac_link"
12794 case "(($ac_try" in
12795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12796 *) ac_try_echo=$ac_try;;
12797 esac
12798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12799 (eval "$ac_link") 2>conftest.er1
12800 ac_status=$?
12801 grep -v '^ *+' conftest.er1 >conftest.err
12802 rm -f conftest.er1
12803 cat conftest.err >&5
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); } && {
12806 test -z "$ac_c_werror_flag" ||
12807 test ! -s conftest.err
12808 } && test -s conftest$ac_exeext &&
12809 $as_test_x conftest$ac_exeext; then
12810 ac_cv_lib_ldap_r_ldap_initialize=yes
12811 else
12812 echo "$as_me: failed program was:" >&5
12813 sed 's/^/| /' conftest.$ac_ext >&5
12815 ac_cv_lib_ldap_r_ldap_initialize=no
12818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12819 conftest$ac_exeext conftest.$ac_ext
12820 LIBS=$ac_check_lib_save_LIBS
12822 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12823 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12824 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12825 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12826 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12827 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12828 echo $ECHO_N "(cached) $ECHO_C" >&6
12829 else
12830 ac_check_lib_save_LIBS=$LIBS
12831 LIBS="-llber $LIBPTHREAD $LIBS"
12832 cat >conftest.$ac_ext <<_ACEOF
12833 /* confdefs.h. */
12834 _ACEOF
12835 cat confdefs.h >>conftest.$ac_ext
12836 cat >>conftest.$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12839 /* Override any GCC internal prototype to avoid an error.
12840 Use char because int might match the return type of a GCC
12841 builtin and then its argument prototype would still apply. */
12842 #ifdef __cplusplus
12843 extern "C"
12844 #endif
12845 char ber_init ();
12847 main ()
12849 return ber_init ();
12851 return 0;
12853 _ACEOF
12854 rm -f conftest.$ac_objext conftest$ac_exeext
12855 if { (ac_try="$ac_link"
12856 case "(($ac_try" in
12857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12858 *) ac_try_echo=$ac_try;;
12859 esac
12860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12861 (eval "$ac_link") 2>conftest.er1
12862 ac_status=$?
12863 grep -v '^ *+' conftest.er1 >conftest.err
12864 rm -f conftest.er1
12865 cat conftest.err >&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } && {
12868 test -z "$ac_c_werror_flag" ||
12869 test ! -s conftest.err
12870 } && test -s conftest$ac_exeext &&
12871 $as_test_x conftest$ac_exeext; then
12872 ac_cv_lib_lber_ber_init=yes
12873 else
12874 echo "$as_me: failed program was:" >&5
12875 sed 's/^/| /' conftest.$ac_ext >&5
12877 ac_cv_lib_lber_ber_init=no
12880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12881 conftest$ac_exeext conftest.$ac_ext
12882 LIBS=$ac_check_lib_save_LIBS
12884 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12885 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12886 if test $ac_cv_lib_lber_ber_init = yes; then
12888 cat >>confdefs.h <<\_ACEOF
12889 #define HAVE_LDAP 1
12890 _ACEOF
12892 LDAPLIBS="-lldap_r -llber"
12897 ac_wine_check_funcs_save_LIBS="$LIBS"
12898 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12903 for ac_func in \
12904 ldap_count_references \
12905 ldap_first_reference \
12906 ldap_next_reference \
12907 ldap_parse_reference
12909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12910 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12912 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12913 echo $ECHO_N "(cached) $ECHO_C" >&6
12914 else
12915 cat >conftest.$ac_ext <<_ACEOF
12916 /* confdefs.h. */
12917 _ACEOF
12918 cat confdefs.h >>conftest.$ac_ext
12919 cat >>conftest.$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12923 #define $ac_func innocuous_$ac_func
12925 /* System header to define __stub macros and hopefully few prototypes,
12926 which can conflict with char $ac_func (); below.
12927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12928 <limits.h> exists even on freestanding compilers. */
12930 #ifdef __STDC__
12931 # include <limits.h>
12932 #else
12933 # include <assert.h>
12934 #endif
12936 #undef $ac_func
12938 /* Override any GCC internal prototype to avoid an error.
12939 Use char because int might match the return type of a GCC
12940 builtin and then its argument prototype would still apply. */
12941 #ifdef __cplusplus
12942 extern "C"
12943 #endif
12944 char $ac_func ();
12945 /* The GNU C library defines this for functions which it implements
12946 to always fail with ENOSYS. Some functions are actually named
12947 something starting with __ and the normal name is an alias. */
12948 #if defined __stub_$ac_func || defined __stub___$ac_func
12949 choke me
12950 #endif
12953 main ()
12955 return $ac_func ();
12957 return 0;
12959 _ACEOF
12960 rm -f conftest.$ac_objext conftest$ac_exeext
12961 if { (ac_try="$ac_link"
12962 case "(($ac_try" in
12963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12964 *) ac_try_echo=$ac_try;;
12965 esac
12966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12967 (eval "$ac_link") 2>conftest.er1
12968 ac_status=$?
12969 grep -v '^ *+' conftest.er1 >conftest.err
12970 rm -f conftest.er1
12971 cat conftest.err >&5
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); } && {
12974 test -z "$ac_c_werror_flag" ||
12975 test ! -s conftest.err
12976 } && test -s conftest$ac_exeext &&
12977 $as_test_x conftest$ac_exeext; then
12978 eval "$as_ac_var=yes"
12979 else
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.$ac_ext >&5
12983 eval "$as_ac_var=no"
12986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12987 conftest$ac_exeext conftest.$ac_ext
12989 ac_res=`eval echo '${'$as_ac_var'}'`
12990 { echo "$as_me:$LINENO: result: $ac_res" >&5
12991 echo "${ECHO_T}$ac_res" >&6; }
12992 if test `eval echo '${'$as_ac_var'}'` = yes; then
12993 cat >>confdefs.h <<_ACEOF
12994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12995 _ACEOF
12998 done
13000 LIBS="$ac_wine_check_funcs_save_LIBS"
13002 if test "x$LDAPLIBS" = "x"; then
13003 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13004 Wine will be built without LDAP support. (wldap32.dll)"
13008 for ac_prog in freetype-config freetype2-config
13010 # Extract the first word of "$ac_prog", so it can be a program name with args.
13011 set dummy $ac_prog; ac_word=$2
13012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13014 if test "${ac_cv_prog_ft_devel+set}" = set; then
13015 echo $ECHO_N "(cached) $ECHO_C" >&6
13016 else
13017 if test -n "$ft_devel"; then
13018 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13019 else
13020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13021 for as_dir in $PATH
13023 IFS=$as_save_IFS
13024 test -z "$as_dir" && as_dir=.
13025 for ac_exec_ext in '' $ac_executable_extensions; do
13026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13027 ac_cv_prog_ft_devel="$ac_prog"
13028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13029 break 2
13031 done
13032 done
13033 IFS=$as_save_IFS
13037 ft_devel=$ac_cv_prog_ft_devel
13038 if test -n "$ft_devel"; then
13039 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13040 echo "${ECHO_T}$ft_devel" >&6; }
13041 else
13042 { echo "$as_me:$LINENO: result: no" >&5
13043 echo "${ECHO_T}no" >&6; }
13047 test -n "$ft_devel" && break
13048 done
13049 test -n "$ft_devel" || ft_devel="false"
13051 if test "$ft_devel" != "false"
13052 then
13053 ac_freetype_libs=`$ft_devel --libs`
13054 ac_freetype_incl=`$ft_devel --cflags`
13055 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13056 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13057 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13058 echo $ECHO_N "(cached) $ECHO_C" >&6
13059 else
13060 ac_check_soname_save_LIBS=$LIBS
13061 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13062 cat >conftest.$ac_ext <<_ACEOF
13063 /* confdefs.h. */
13064 _ACEOF
13065 cat confdefs.h >>conftest.$ac_ext
13066 cat >>conftest.$ac_ext <<_ACEOF
13067 /* end confdefs.h. */
13069 /* Override any GCC internal prototype to avoid an error.
13070 Use char because int might match the return type of a GCC
13071 builtin and then its argument prototype would still apply. */
13072 #ifdef __cplusplus
13073 extern "C"
13074 #endif
13075 char FT_Init_FreeType ();
13077 main ()
13079 return FT_Init_FreeType ();
13081 return 0;
13083 _ACEOF
13084 rm -f conftest.$ac_objext conftest$ac_exeext
13085 if { (ac_try="$ac_link"
13086 case "(($ac_try" in
13087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13088 *) ac_try_echo=$ac_try;;
13089 esac
13090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13091 (eval "$ac_link") 2>conftest.er1
13092 ac_status=$?
13093 grep -v '^ *+' conftest.er1 >conftest.err
13094 rm -f conftest.er1
13095 cat conftest.err >&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); } && {
13098 test -z "$ac_c_werror_flag" ||
13099 test ! -s conftest.err
13100 } && test -s conftest$ac_exeext &&
13101 $as_test_x conftest$ac_exeext; then
13102 case "$LIBEXT" in
13103 dll) ;;
13104 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'` ;;
13105 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13106 esac
13107 else
13108 echo "$as_me: failed program was:" >&5
13109 sed 's/^/| /' conftest.$ac_ext >&5
13114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13115 conftest$ac_exeext conftest.$ac_ext
13116 LIBS=$ac_check_soname_save_LIBS
13118 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13119 { echo "$as_me:$LINENO: result: not found" >&5
13120 echo "${ECHO_T}not found" >&6; }
13121 ft_lib=no
13122 else
13123 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13124 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13126 cat >>confdefs.h <<_ACEOF
13127 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13128 _ACEOF
13130 ft_lib=yes
13133 if test "$ft_lib" = "yes"
13134 then
13135 ac_save_CPPFLAGS="$CPPFLAGS"
13136 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13148 for ac_header in ft2build.h \
13149 freetype/freetype.h \
13150 freetype/ftglyph.h \
13151 freetype/tttables.h \
13152 freetype/ftnames.h \
13153 freetype/ftsnames.h \
13154 freetype/ttnameid.h \
13155 freetype/ftoutln.h \
13156 freetype/ftwinfnt.h \
13157 freetype/ftmodapi.h \
13158 freetype/internal/sfnt.h
13160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13161 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13163 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13165 else
13166 cat >conftest.$ac_ext <<_ACEOF
13167 /* confdefs.h. */
13168 _ACEOF
13169 cat confdefs.h >>conftest.$ac_ext
13170 cat >>conftest.$ac_ext <<_ACEOF
13171 /* end confdefs.h. */
13172 #if HAVE_FT2BUILD_H
13173 #include <ft2build.h>
13174 #endif
13176 #include <$ac_header>
13177 _ACEOF
13178 rm -f conftest.$ac_objext
13179 if { (ac_try="$ac_compile"
13180 case "(($ac_try" in
13181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13182 *) ac_try_echo=$ac_try;;
13183 esac
13184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13185 (eval "$ac_compile") 2>conftest.er1
13186 ac_status=$?
13187 grep -v '^ *+' conftest.er1 >conftest.err
13188 rm -f conftest.er1
13189 cat conftest.err >&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); } && {
13192 test -z "$ac_c_werror_flag" ||
13193 test ! -s conftest.err
13194 } && test -s conftest.$ac_objext; then
13195 eval "$as_ac_Header=yes"
13196 else
13197 echo "$as_me: failed program was:" >&5
13198 sed 's/^/| /' conftest.$ac_ext >&5
13200 eval "$as_ac_Header=no"
13203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13205 ac_res=`eval echo '${'$as_ac_Header'}'`
13206 { echo "$as_me:$LINENO: result: $ac_res" >&5
13207 echo "${ECHO_T}$ac_res" >&6; }
13208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13209 cat >>confdefs.h <<_ACEOF
13210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13211 _ACEOF
13215 done
13217 cat >conftest.$ac_ext <<_ACEOF
13218 /* confdefs.h. */
13219 _ACEOF
13220 cat confdefs.h >>conftest.$ac_ext
13221 cat >>conftest.$ac_ext <<_ACEOF
13222 /* end confdefs.h. */
13223 #include <ft2build.h>
13224 #include <freetype/fttrigon.h>
13225 _ACEOF
13226 if { (ac_try="$ac_cpp conftest.$ac_ext"
13227 case "(($ac_try" in
13228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13229 *) ac_try_echo=$ac_try;;
13230 esac
13231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13233 ac_status=$?
13234 grep -v '^ *+' conftest.er1 >conftest.err
13235 rm -f conftest.er1
13236 cat conftest.err >&5
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); } >/dev/null && {
13239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13240 test ! -s conftest.err
13241 }; then
13243 cat >>confdefs.h <<\_ACEOF
13244 #define HAVE_FREETYPE_FTTRIGON_H 1
13245 _ACEOF
13247 wine_cv_fttrigon=yes
13248 else
13249 echo "$as_me: failed program was:" >&5
13250 sed 's/^/| /' conftest.$ac_ext >&5
13252 wine_cv_fttrigon=no
13255 rm -f conftest.err conftest.$ac_ext
13256 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13257 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13258 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13259 echo $ECHO_N "(cached) $ECHO_C" >&6
13260 else
13261 cat >conftest.$ac_ext <<_ACEOF
13262 /* confdefs.h. */
13263 _ACEOF
13264 cat confdefs.h >>conftest.$ac_ext
13265 cat >>conftest.$ac_ext <<_ACEOF
13266 /* end confdefs.h. */
13267 #include <freetype/ftmodapi.h>
13269 typedef FT_TrueTypeEngineType ac__type_new_;
13271 main ()
13273 if ((ac__type_new_ *) 0)
13274 return 0;
13275 if (sizeof (ac__type_new_))
13276 return 0;
13278 return 0;
13280 _ACEOF
13281 rm -f conftest.$ac_objext
13282 if { (ac_try="$ac_compile"
13283 case "(($ac_try" in
13284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13285 *) ac_try_echo=$ac_try;;
13286 esac
13287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13288 (eval "$ac_compile") 2>conftest.er1
13289 ac_status=$?
13290 grep -v '^ *+' conftest.er1 >conftest.err
13291 rm -f conftest.er1
13292 cat conftest.err >&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); } && {
13295 test -z "$ac_c_werror_flag" ||
13296 test ! -s conftest.err
13297 } && test -s conftest.$ac_objext; then
13298 ac_cv_type_FT_TrueTypeEngineType=yes
13299 else
13300 echo "$as_me: failed program was:" >&5
13301 sed 's/^/| /' conftest.$ac_ext >&5
13303 ac_cv_type_FT_TrueTypeEngineType=no
13306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13308 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13309 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13310 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13312 cat >>confdefs.h <<_ACEOF
13313 #define HAVE_FT_TRUETYPEENGINETYPE 1
13314 _ACEOF
13319 ac_save_CFLAGS="$CFLAGS"
13320 CFLAGS="$CFLAGS $ac_freetype_libs"
13322 for ac_func in FT_Load_Sfnt_Table
13324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13328 echo $ECHO_N "(cached) $ECHO_C" >&6
13329 else
13330 cat >conftest.$ac_ext <<_ACEOF
13331 /* confdefs.h. */
13332 _ACEOF
13333 cat confdefs.h >>conftest.$ac_ext
13334 cat >>conftest.$ac_ext <<_ACEOF
13335 /* end confdefs.h. */
13336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13338 #define $ac_func innocuous_$ac_func
13340 /* System header to define __stub macros and hopefully few prototypes,
13341 which can conflict with char $ac_func (); below.
13342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13343 <limits.h> exists even on freestanding compilers. */
13345 #ifdef __STDC__
13346 # include <limits.h>
13347 #else
13348 # include <assert.h>
13349 #endif
13351 #undef $ac_func
13353 /* Override any GCC internal prototype to avoid an error.
13354 Use char because int might match the return type of a GCC
13355 builtin and then its argument prototype would still apply. */
13356 #ifdef __cplusplus
13357 extern "C"
13358 #endif
13359 char $ac_func ();
13360 /* The GNU C library defines this for functions which it implements
13361 to always fail with ENOSYS. Some functions are actually named
13362 something starting with __ and the normal name is an alias. */
13363 #if defined __stub_$ac_func || defined __stub___$ac_func
13364 choke me
13365 #endif
13368 main ()
13370 return $ac_func ();
13372 return 0;
13374 _ACEOF
13375 rm -f conftest.$ac_objext conftest$ac_exeext
13376 if { (ac_try="$ac_link"
13377 case "(($ac_try" in
13378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13379 *) ac_try_echo=$ac_try;;
13380 esac
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 (eval "$ac_link") 2>conftest.er1
13383 ac_status=$?
13384 grep -v '^ *+' conftest.er1 >conftest.err
13385 rm -f conftest.er1
13386 cat conftest.err >&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); } && {
13389 test -z "$ac_c_werror_flag" ||
13390 test ! -s conftest.err
13391 } && test -s conftest$ac_exeext &&
13392 $as_test_x conftest$ac_exeext; then
13393 eval "$as_ac_var=yes"
13394 else
13395 echo "$as_me: failed program was:" >&5
13396 sed 's/^/| /' conftest.$ac_ext >&5
13398 eval "$as_ac_var=no"
13401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13402 conftest$ac_exeext conftest.$ac_ext
13404 ac_res=`eval echo '${'$as_ac_var'}'`
13405 { echo "$as_me:$LINENO: result: $ac_res" >&5
13406 echo "${ECHO_T}$ac_res" >&6; }
13407 if test `eval echo '${'$as_ac_var'}'` = yes; then
13408 cat >>confdefs.h <<_ACEOF
13409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13410 _ACEOF
13413 done
13415 CFLAGS="$ac_save_CFLAGS"
13416 CPPFLAGS="$ac_save_CPPFLAGS"
13417 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13418 then
13420 cat >>confdefs.h <<\_ACEOF
13421 #define HAVE_FREETYPE 1
13422 _ACEOF
13424 FREETYPELIBS="$ac_freetype_libs"
13426 FREETYPEINCL="$ac_freetype_incl"
13432 if test "$FONTFORGE" = "false"
13433 then
13434 wine_warnings="$wine_warnings|FontForge is missing.
13435 Fonts will not be built. Dialog text may be invisible or unaligned."
13436 elif test "x$FREETYPELIBS" = "x"
13437 then
13438 wine_warnings="$wine_warnings|FreeType development files not found.
13439 Fonts will not be built. Dialog text may be invisible or unaligned."
13440 else
13441 FONTSSUBDIRS="fonts"
13445 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13446 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13447 if test "${ac_cv_c_ppdev+set}" = set; then
13448 echo $ECHO_N "(cached) $ECHO_C" >&6
13449 else
13450 cat >conftest.$ac_ext <<_ACEOF
13451 /* confdefs.h. */
13452 _ACEOF
13453 cat confdefs.h >>conftest.$ac_ext
13454 cat >>conftest.$ac_ext <<_ACEOF
13455 /* end confdefs.h. */
13456 #include <linux/ppdev.h>
13458 main ()
13460 ioctl (1,PPCLAIM,0)
13462 return 0;
13464 _ACEOF
13465 rm -f conftest.$ac_objext
13466 if { (ac_try="$ac_compile"
13467 case "(($ac_try" in
13468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13469 *) ac_try_echo=$ac_try;;
13470 esac
13471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13472 (eval "$ac_compile") 2>conftest.er1
13473 ac_status=$?
13474 grep -v '^ *+' conftest.er1 >conftest.err
13475 rm -f conftest.er1
13476 cat conftest.err >&5
13477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478 (exit $ac_status); } && {
13479 test -z "$ac_c_werror_flag" ||
13480 test ! -s conftest.err
13481 } && test -s conftest.$ac_objext; then
13482 ac_cv_c_ppdev="yes"
13483 else
13484 echo "$as_me: failed program was:" >&5
13485 sed 's/^/| /' conftest.$ac_ext >&5
13487 ac_cv_c_ppdev="no"
13490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13492 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13493 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13494 if test "$ac_cv_c_ppdev" = "yes"
13495 then
13497 cat >>confdefs.h <<\_ACEOF
13498 #define HAVE_PPDEV 1
13499 _ACEOF
13503 { echo "$as_me:$LINENO: checking for va_copy" >&5
13504 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13505 if test "${ac_cv_c_va_copy+set}" = set; then
13506 echo $ECHO_N "(cached) $ECHO_C" >&6
13507 else
13508 cat >conftest.$ac_ext <<_ACEOF
13509 /* confdefs.h. */
13510 _ACEOF
13511 cat confdefs.h >>conftest.$ac_ext
13512 cat >>conftest.$ac_ext <<_ACEOF
13513 /* end confdefs.h. */
13514 #include <stdarg.h>
13516 main ()
13518 va_list ap1, ap2; va_copy(ap1,ap2);
13520 return 0;
13522 _ACEOF
13523 rm -f conftest.$ac_objext conftest$ac_exeext
13524 if { (ac_try="$ac_link"
13525 case "(($ac_try" in
13526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13527 *) ac_try_echo=$ac_try;;
13528 esac
13529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13530 (eval "$ac_link") 2>conftest.er1
13531 ac_status=$?
13532 grep -v '^ *+' conftest.er1 >conftest.err
13533 rm -f conftest.er1
13534 cat conftest.err >&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); } && {
13537 test -z "$ac_c_werror_flag" ||
13538 test ! -s conftest.err
13539 } && test -s conftest$ac_exeext &&
13540 $as_test_x conftest$ac_exeext; then
13541 ac_cv_c_va_copy="yes"
13542 else
13543 echo "$as_me: failed program was:" >&5
13544 sed 's/^/| /' conftest.$ac_ext >&5
13546 ac_cv_c_va_copy="no"
13549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13550 conftest$ac_exeext conftest.$ac_ext
13553 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13554 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13555 if test "$ac_cv_c_va_copy" = "yes"
13556 then
13558 cat >>confdefs.h <<\_ACEOF
13559 #define HAVE_VA_COPY 1
13560 _ACEOF
13563 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13564 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13565 if test "${ac_cv_c___va_copy+set}" = set; then
13566 echo $ECHO_N "(cached) $ECHO_C" >&6
13567 else
13568 cat >conftest.$ac_ext <<_ACEOF
13569 /* confdefs.h. */
13570 _ACEOF
13571 cat confdefs.h >>conftest.$ac_ext
13572 cat >>conftest.$ac_ext <<_ACEOF
13573 /* end confdefs.h. */
13574 #include <stdarg.h>
13576 main ()
13578 va_list ap1, ap2; __va_copy(ap1,ap2);
13580 return 0;
13582 _ACEOF
13583 rm -f conftest.$ac_objext conftest$ac_exeext
13584 if { (ac_try="$ac_link"
13585 case "(($ac_try" in
13586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13587 *) ac_try_echo=$ac_try;;
13588 esac
13589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13590 (eval "$ac_link") 2>conftest.er1
13591 ac_status=$?
13592 grep -v '^ *+' conftest.er1 >conftest.err
13593 rm -f conftest.er1
13594 cat conftest.err >&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); } && {
13597 test -z "$ac_c_werror_flag" ||
13598 test ! -s conftest.err
13599 } && test -s conftest$ac_exeext &&
13600 $as_test_x conftest$ac_exeext; then
13601 ac_cv_c___va_copy="yes"
13602 else
13603 echo "$as_me: failed program was:" >&5
13604 sed 's/^/| /' conftest.$ac_ext >&5
13606 ac_cv_c___va_copy="no"
13609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13610 conftest$ac_exeext conftest.$ac_ext
13613 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13614 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13615 if test "$ac_cv_c___va_copy" = "yes"
13616 then
13618 cat >>confdefs.h <<\_ACEOF
13619 #define HAVE___VA_COPY 1
13620 _ACEOF
13624 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13625 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13626 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13627 echo $ECHO_N "(cached) $ECHO_C" >&6
13628 else
13629 cat >conftest.$ac_ext <<_ACEOF
13630 /* confdefs.h. */
13631 _ACEOF
13632 cat confdefs.h >>conftest.$ac_ext
13633 cat >>conftest.$ac_ext <<_ACEOF
13634 /* end confdefs.h. */
13635 #include <setjmp.h>
13637 main ()
13639 sigjmp_buf buf;
13640 sigsetjmp( buf, 1 );
13641 siglongjmp( buf, 1 );
13643 return 0;
13645 _ACEOF
13646 rm -f conftest.$ac_objext conftest$ac_exeext
13647 if { (ac_try="$ac_link"
13648 case "(($ac_try" in
13649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13650 *) ac_try_echo=$ac_try;;
13651 esac
13652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13653 (eval "$ac_link") 2>conftest.er1
13654 ac_status=$?
13655 grep -v '^ *+' conftest.er1 >conftest.err
13656 rm -f conftest.er1
13657 cat conftest.err >&5
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); } && {
13660 test -z "$ac_c_werror_flag" ||
13661 test ! -s conftest.err
13662 } && test -s conftest$ac_exeext &&
13663 $as_test_x conftest$ac_exeext; then
13664 ac_cv_c_sigsetjmp="yes"
13665 else
13666 echo "$as_me: failed program was:" >&5
13667 sed 's/^/| /' conftest.$ac_ext >&5
13669 ac_cv_c_sigsetjmp="no"
13672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13673 conftest$ac_exeext conftest.$ac_ext
13676 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13677 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13678 if test "$ac_cv_c_sigsetjmp" = "yes"
13679 then
13681 cat >>confdefs.h <<\_ACEOF
13682 #define HAVE_SIGSETJMP 1
13683 _ACEOF
13687 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13688 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13689 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13690 echo $ECHO_N "(cached) $ECHO_C" >&6
13691 else
13692 cat >conftest.$ac_ext <<_ACEOF
13693 /* confdefs.h. */
13694 _ACEOF
13695 cat confdefs.h >>conftest.$ac_ext
13696 cat >>conftest.$ac_ext <<_ACEOF
13697 /* end confdefs.h. */
13698 #define _GNU_SOURCE
13699 #include <pthread.h>
13701 typedef pthread_rwlock_t ac__type_new_;
13703 main ()
13705 if ((ac__type_new_ *) 0)
13706 return 0;
13707 if (sizeof (ac__type_new_))
13708 return 0;
13710 return 0;
13712 _ACEOF
13713 rm -f conftest.$ac_objext
13714 if { (ac_try="$ac_compile"
13715 case "(($ac_try" in
13716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13717 *) ac_try_echo=$ac_try;;
13718 esac
13719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13720 (eval "$ac_compile") 2>conftest.er1
13721 ac_status=$?
13722 grep -v '^ *+' conftest.er1 >conftest.err
13723 rm -f conftest.er1
13724 cat conftest.err >&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); } && {
13727 test -z "$ac_c_werror_flag" ||
13728 test ! -s conftest.err
13729 } && test -s conftest.$ac_objext; then
13730 ac_cv_type_pthread_rwlock_t=yes
13731 else
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.$ac_ext >&5
13735 ac_cv_type_pthread_rwlock_t=no
13738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13740 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13741 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13742 if test $ac_cv_type_pthread_rwlock_t = yes; then
13744 cat >>confdefs.h <<_ACEOF
13745 #define HAVE_PTHREAD_RWLOCK_T 1
13746 _ACEOF
13750 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13751 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13752 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13753 echo $ECHO_N "(cached) $ECHO_C" >&6
13754 else
13755 cat >conftest.$ac_ext <<_ACEOF
13756 /* confdefs.h. */
13757 _ACEOF
13758 cat confdefs.h >>conftest.$ac_ext
13759 cat >>conftest.$ac_ext <<_ACEOF
13760 /* end confdefs.h. */
13761 #define _GNU_SOURCE
13762 #include <pthread.h>
13764 typedef pthread_rwlockattr_t ac__type_new_;
13766 main ()
13768 if ((ac__type_new_ *) 0)
13769 return 0;
13770 if (sizeof (ac__type_new_))
13771 return 0;
13773 return 0;
13775 _ACEOF
13776 rm -f conftest.$ac_objext
13777 if { (ac_try="$ac_compile"
13778 case "(($ac_try" in
13779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13780 *) ac_try_echo=$ac_try;;
13781 esac
13782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13783 (eval "$ac_compile") 2>conftest.er1
13784 ac_status=$?
13785 grep -v '^ *+' conftest.er1 >conftest.err
13786 rm -f conftest.er1
13787 cat conftest.err >&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); } && {
13790 test -z "$ac_c_werror_flag" ||
13791 test ! -s conftest.err
13792 } && test -s conftest.$ac_objext; then
13793 ac_cv_type_pthread_rwlockattr_t=yes
13794 else
13795 echo "$as_me: failed program was:" >&5
13796 sed 's/^/| /' conftest.$ac_ext >&5
13798 ac_cv_type_pthread_rwlockattr_t=no
13801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13803 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13804 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13805 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13807 cat >>confdefs.h <<_ACEOF
13808 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13809 _ACEOF
13815 ac_wine_check_funcs_save_LIBS="$LIBS"
13816 LIBS="$LIBS $LIBPTHREAD"
13821 for ac_func in \
13822 pthread_attr_get_np \
13823 pthread_getattr_np \
13824 pthread_get_stackaddr_np \
13825 pthread_get_stacksize_np
13827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13828 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13830 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13831 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 else
13833 cat >conftest.$ac_ext <<_ACEOF
13834 /* confdefs.h. */
13835 _ACEOF
13836 cat confdefs.h >>conftest.$ac_ext
13837 cat >>conftest.$ac_ext <<_ACEOF
13838 /* end confdefs.h. */
13839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13841 #define $ac_func innocuous_$ac_func
13843 /* System header to define __stub macros and hopefully few prototypes,
13844 which can conflict with char $ac_func (); below.
13845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13846 <limits.h> exists even on freestanding compilers. */
13848 #ifdef __STDC__
13849 # include <limits.h>
13850 #else
13851 # include <assert.h>
13852 #endif
13854 #undef $ac_func
13856 /* Override any GCC internal prototype to avoid an error.
13857 Use char because int might match the return type of a GCC
13858 builtin and then its argument prototype would still apply. */
13859 #ifdef __cplusplus
13860 extern "C"
13861 #endif
13862 char $ac_func ();
13863 /* The GNU C library defines this for functions which it implements
13864 to always fail with ENOSYS. Some functions are actually named
13865 something starting with __ and the normal name is an alias. */
13866 #if defined __stub_$ac_func || defined __stub___$ac_func
13867 choke me
13868 #endif
13871 main ()
13873 return $ac_func ();
13875 return 0;
13877 _ACEOF
13878 rm -f conftest.$ac_objext conftest$ac_exeext
13879 if { (ac_try="$ac_link"
13880 case "(($ac_try" in
13881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13882 *) ac_try_echo=$ac_try;;
13883 esac
13884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13885 (eval "$ac_link") 2>conftest.er1
13886 ac_status=$?
13887 grep -v '^ *+' conftest.er1 >conftest.err
13888 rm -f conftest.er1
13889 cat conftest.err >&5
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); } && {
13892 test -z "$ac_c_werror_flag" ||
13893 test ! -s conftest.err
13894 } && test -s conftest$ac_exeext &&
13895 $as_test_x conftest$ac_exeext; then
13896 eval "$as_ac_var=yes"
13897 else
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.$ac_ext >&5
13901 eval "$as_ac_var=no"
13904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13905 conftest$ac_exeext conftest.$ac_ext
13907 ac_res=`eval echo '${'$as_ac_var'}'`
13908 { echo "$as_me:$LINENO: result: $ac_res" >&5
13909 echo "${ECHO_T}$ac_res" >&6; }
13910 if test `eval echo '${'$as_ac_var'}'` = yes; then
13911 cat >>confdefs.h <<_ACEOF
13912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13913 _ACEOF
13916 done
13918 LIBS="$ac_wine_check_funcs_save_LIBS"
13920 # Extract the first word of "esd-config", so it can be a program name with args.
13921 set dummy esd-config; ac_word=$2
13922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13924 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13925 echo $ECHO_N "(cached) $ECHO_C" >&6
13926 else
13927 case $ESDCONFIG in
13928 [\\/]* | ?:[\\/]*)
13929 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13933 for as_dir in $PATH
13935 IFS=$as_save_IFS
13936 test -z "$as_dir" && as_dir=.
13937 for ac_exec_ext in '' $ac_executable_extensions; do
13938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13939 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13941 break 2
13943 done
13944 done
13945 IFS=$as_save_IFS
13948 esac
13950 ESDCONFIG=$ac_cv_path_ESDCONFIG
13951 if test -n "$ESDCONFIG"; then
13952 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13953 echo "${ECHO_T}$ESDCONFIG" >&6; }
13954 else
13955 { echo "$as_me:$LINENO: result: no" >&5
13956 echo "${ECHO_T}no" >&6; }
13960 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13961 then
13962 ESD_CFLAGS=""
13963 for i in `$ESDCONFIG --cflags`
13965 case "$i" in
13966 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13967 esac
13968 done
13969 ESD_LIBS=`$ESDCONFIG --libs`
13970 save_CFLAGS="$CFLAGS"
13971 CFLAGS="$CFLAGS $ESD_CFLAGS"
13972 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13973 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13974 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13975 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 else
13977 ac_check_lib_save_LIBS=$LIBS
13978 LIBS="-lesd $LIBS"
13979 cat >conftest.$ac_ext <<_ACEOF
13980 /* confdefs.h. */
13981 _ACEOF
13982 cat confdefs.h >>conftest.$ac_ext
13983 cat >>conftest.$ac_ext <<_ACEOF
13984 /* end confdefs.h. */
13986 /* Override any GCC internal prototype to avoid an error.
13987 Use char because int might match the return type of a GCC
13988 builtin and then its argument prototype would still apply. */
13989 #ifdef __cplusplus
13990 extern "C"
13991 #endif
13992 char esd_open_sound ();
13994 main ()
13996 return esd_open_sound ();
13998 return 0;
14000 _ACEOF
14001 rm -f conftest.$ac_objext conftest$ac_exeext
14002 if { (ac_try="$ac_link"
14003 case "(($ac_try" in
14004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14005 *) ac_try_echo=$ac_try;;
14006 esac
14007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14008 (eval "$ac_link") 2>conftest.er1
14009 ac_status=$?
14010 grep -v '^ *+' conftest.er1 >conftest.err
14011 rm -f conftest.er1
14012 cat conftest.err >&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); } && {
14015 test -z "$ac_c_werror_flag" ||
14016 test ! -s conftest.err
14017 } && test -s conftest$ac_exeext &&
14018 $as_test_x conftest$ac_exeext; then
14019 ac_cv_lib_esd_esd_open_sound=yes
14020 else
14021 echo "$as_me: failed program was:" >&5
14022 sed 's/^/| /' conftest.$ac_ext >&5
14024 ac_cv_lib_esd_esd_open_sound=no
14027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14028 conftest$ac_exeext conftest.$ac_ext
14029 LIBS=$ac_check_lib_save_LIBS
14031 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14032 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14033 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14034 ESDLIBS=$ESD_LIBS
14036 ESDINCL=$ESD_CFLAGS
14039 cat >>confdefs.h <<\_ACEOF
14040 #define HAVE_ESD 1
14041 _ACEOF
14045 CFLAGS="$save_CFLAGS"
14048 ALSALIBS=""
14050 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14051 then
14052 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14053 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14054 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14055 echo $ECHO_N "(cached) $ECHO_C" >&6
14056 else
14057 ac_check_lib_save_LIBS=$LIBS
14058 LIBS="-lasound $LIBS"
14059 cat >conftest.$ac_ext <<_ACEOF
14060 /* confdefs.h. */
14061 _ACEOF
14062 cat confdefs.h >>conftest.$ac_ext
14063 cat >>conftest.$ac_ext <<_ACEOF
14064 /* end confdefs.h. */
14066 /* Override any GCC internal prototype to avoid an error.
14067 Use char because int might match the return type of a GCC
14068 builtin and then its argument prototype would still apply. */
14069 #ifdef __cplusplus
14070 extern "C"
14071 #endif
14072 char snd_pcm_hw_params_get_access ();
14074 main ()
14076 return snd_pcm_hw_params_get_access ();
14078 return 0;
14080 _ACEOF
14081 rm -f conftest.$ac_objext conftest$ac_exeext
14082 if { (ac_try="$ac_link"
14083 case "(($ac_try" in
14084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14085 *) ac_try_echo=$ac_try;;
14086 esac
14087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14088 (eval "$ac_link") 2>conftest.er1
14089 ac_status=$?
14090 grep -v '^ *+' conftest.er1 >conftest.err
14091 rm -f conftest.er1
14092 cat conftest.err >&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } && {
14095 test -z "$ac_c_werror_flag" ||
14096 test ! -s conftest.err
14097 } && test -s conftest$ac_exeext &&
14098 $as_test_x conftest$ac_exeext; then
14099 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14100 else
14101 echo "$as_me: failed program was:" >&5
14102 sed 's/^/| /' conftest.$ac_ext >&5
14104 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14108 conftest$ac_exeext conftest.$ac_ext
14109 LIBS=$ac_check_lib_save_LIBS
14111 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14112 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14113 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14114 cat >conftest.$ac_ext <<_ACEOF
14115 /* confdefs.h. */
14116 _ACEOF
14117 cat confdefs.h >>conftest.$ac_ext
14118 cat >>conftest.$ac_ext <<_ACEOF
14119 /* end confdefs.h. */
14120 #ifdef HAVE_ALSA_ASOUNDLIB_H
14121 #include <alsa/asoundlib.h>
14122 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14123 #include <sys/asoundlib.h>
14124 #endif
14126 main ()
14128 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14130 return 0;
14132 _ACEOF
14133 rm -f conftest.$ac_objext
14134 if { (ac_try="$ac_compile"
14135 case "(($ac_try" in
14136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14137 *) ac_try_echo=$ac_try;;
14138 esac
14139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14140 (eval "$ac_compile") 2>conftest.er1
14141 ac_status=$?
14142 grep -v '^ *+' conftest.er1 >conftest.err
14143 rm -f conftest.er1
14144 cat conftest.err >&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); } && {
14147 test -z "$ac_c_werror_flag" ||
14148 test ! -s conftest.err
14149 } && test -s conftest.$ac_objext; then
14151 cat >>confdefs.h <<\_ACEOF
14152 #define HAVE_ALSA 1
14153 _ACEOF
14155 ALSALIBS="-lasound"
14156 else
14157 echo "$as_me: failed program was:" >&5
14158 sed 's/^/| /' conftest.$ac_ext >&5
14163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14168 AUDIOIOLIBS=""
14170 if test "$ac_cv_header_libaudioio_h" = "yes"
14171 then
14172 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14173 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14174 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14176 else
14177 ac_check_lib_save_LIBS=$LIBS
14178 LIBS="-laudioio $LIBS"
14179 cat >conftest.$ac_ext <<_ACEOF
14180 /* confdefs.h. */
14181 _ACEOF
14182 cat confdefs.h >>conftest.$ac_ext
14183 cat >>conftest.$ac_ext <<_ACEOF
14184 /* end confdefs.h. */
14186 /* Override any GCC internal prototype to avoid an error.
14187 Use char because int might match the return type of a GCC
14188 builtin and then its argument prototype would still apply. */
14189 #ifdef __cplusplus
14190 extern "C"
14191 #endif
14192 char AudioIOGetVersion ();
14194 main ()
14196 return AudioIOGetVersion ();
14198 return 0;
14200 _ACEOF
14201 rm -f conftest.$ac_objext conftest$ac_exeext
14202 if { (ac_try="$ac_link"
14203 case "(($ac_try" in
14204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14205 *) ac_try_echo=$ac_try;;
14206 esac
14207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14208 (eval "$ac_link") 2>conftest.er1
14209 ac_status=$?
14210 grep -v '^ *+' conftest.er1 >conftest.err
14211 rm -f conftest.er1
14212 cat conftest.err >&5
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); } && {
14215 test -z "$ac_c_werror_flag" ||
14216 test ! -s conftest.err
14217 } && test -s conftest$ac_exeext &&
14218 $as_test_x conftest$ac_exeext; then
14219 ac_cv_lib_audioio_AudioIOGetVersion=yes
14220 else
14221 echo "$as_me: failed program was:" >&5
14222 sed 's/^/| /' conftest.$ac_ext >&5
14224 ac_cv_lib_audioio_AudioIOGetVersion=no
14227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14228 conftest$ac_exeext conftest.$ac_ext
14229 LIBS=$ac_check_lib_save_LIBS
14231 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14232 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14233 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14234 AUDIOIOLIBS="-laudioio"
14236 cat >>confdefs.h <<\_ACEOF
14237 #define HAVE_LIBAUDIOIO 1
14238 _ACEOF
14245 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14246 then
14247 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14248 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14249 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14250 echo $ECHO_N "(cached) $ECHO_C" >&6
14251 else
14252 ac_check_soname_save_LIBS=$LIBS
14253 LIBS="-lcapi20 $LIBS"
14254 cat >conftest.$ac_ext <<_ACEOF
14255 /* confdefs.h. */
14256 _ACEOF
14257 cat confdefs.h >>conftest.$ac_ext
14258 cat >>conftest.$ac_ext <<_ACEOF
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14264 #ifdef __cplusplus
14265 extern "C"
14266 #endif
14267 char capi20_register ();
14269 main ()
14271 return capi20_register ();
14273 return 0;
14275 _ACEOF
14276 rm -f conftest.$ac_objext conftest$ac_exeext
14277 if { (ac_try="$ac_link"
14278 case "(($ac_try" in
14279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14280 *) ac_try_echo=$ac_try;;
14281 esac
14282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14283 (eval "$ac_link") 2>conftest.er1
14284 ac_status=$?
14285 grep -v '^ *+' conftest.er1 >conftest.err
14286 rm -f conftest.er1
14287 cat conftest.err >&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } && {
14290 test -z "$ac_c_werror_flag" ||
14291 test ! -s conftest.err
14292 } && test -s conftest$ac_exeext &&
14293 $as_test_x conftest$ac_exeext; then
14294 case "$LIBEXT" in
14295 dll) ;;
14296 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'` ;;
14297 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14298 esac
14299 else
14300 echo "$as_me: failed program was:" >&5
14301 sed 's/^/| /' conftest.$ac_ext >&5
14306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14307 conftest$ac_exeext conftest.$ac_ext
14308 LIBS=$ac_check_soname_save_LIBS
14310 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14311 { echo "$as_me:$LINENO: result: not found" >&5
14312 echo "${ECHO_T}not found" >&6; }
14314 else
14315 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14316 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14318 cat >>confdefs.h <<_ACEOF
14319 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14320 _ACEOF
14326 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14327 wine_notices="$wine_notices|libcapi20 development files not found.
14328 Wine will be built without ISDN support. (capi2032.dll)"
14332 if test "$ac_cv_header_cups_cups_h" = "yes"
14333 then
14334 { echo "$as_me:$LINENO: checking for -lcups" >&5
14335 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14336 if test "${ac_cv_lib_soname_cups+set}" = set; then
14337 echo $ECHO_N "(cached) $ECHO_C" >&6
14338 else
14339 ac_check_soname_save_LIBS=$LIBS
14340 LIBS="-lcups $LIBS"
14341 cat >conftest.$ac_ext <<_ACEOF
14342 /* confdefs.h. */
14343 _ACEOF
14344 cat confdefs.h >>conftest.$ac_ext
14345 cat >>conftest.$ac_ext <<_ACEOF
14346 /* end confdefs.h. */
14348 /* Override any GCC internal prototype to avoid an error.
14349 Use char because int might match the return type of a GCC
14350 builtin and then its argument prototype would still apply. */
14351 #ifdef __cplusplus
14352 extern "C"
14353 #endif
14354 char cupsGetDefault ();
14356 main ()
14358 return cupsGetDefault ();
14360 return 0;
14362 _ACEOF
14363 rm -f conftest.$ac_objext conftest$ac_exeext
14364 if { (ac_try="$ac_link"
14365 case "(($ac_try" in
14366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14367 *) ac_try_echo=$ac_try;;
14368 esac
14369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14370 (eval "$ac_link") 2>conftest.er1
14371 ac_status=$?
14372 grep -v '^ *+' conftest.er1 >conftest.err
14373 rm -f conftest.er1
14374 cat conftest.err >&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); } && {
14377 test -z "$ac_c_werror_flag" ||
14378 test ! -s conftest.err
14379 } && test -s conftest$ac_exeext &&
14380 $as_test_x conftest$ac_exeext; then
14381 case "$LIBEXT" in
14382 dll) ;;
14383 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'` ;;
14384 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14385 esac
14386 else
14387 echo "$as_me: failed program was:" >&5
14388 sed 's/^/| /' conftest.$ac_ext >&5
14393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14394 conftest$ac_exeext conftest.$ac_ext
14395 LIBS=$ac_check_soname_save_LIBS
14397 if test "x$ac_cv_lib_soname_cups" = "x"; then
14398 { echo "$as_me:$LINENO: result: not found" >&5
14399 echo "${ECHO_T}not found" >&6; }
14401 else
14402 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14403 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14405 cat >>confdefs.h <<_ACEOF
14406 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14407 _ACEOF
14413 if test "x$ac_cv_lib_soname_cups" = "x"; then
14414 wine_notices="$wine_notices|libcups development files not found.
14415 Wine will be built without CUPS support."
14419 if test "$ac_cv_header_jack_jack_h" = "yes"
14420 then
14421 { echo "$as_me:$LINENO: checking for -ljack" >&5
14422 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14423 if test "${ac_cv_lib_soname_jack+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 else
14426 ac_check_soname_save_LIBS=$LIBS
14427 LIBS="-ljack $LIBS"
14428 cat >conftest.$ac_ext <<_ACEOF
14429 /* confdefs.h. */
14430 _ACEOF
14431 cat confdefs.h >>conftest.$ac_ext
14432 cat >>conftest.$ac_ext <<_ACEOF
14433 /* end confdefs.h. */
14435 /* Override any GCC internal prototype to avoid an error.
14436 Use char because int might match the return type of a GCC
14437 builtin and then its argument prototype would still apply. */
14438 #ifdef __cplusplus
14439 extern "C"
14440 #endif
14441 char jack_client_new ();
14443 main ()
14445 return jack_client_new ();
14447 return 0;
14449 _ACEOF
14450 rm -f conftest.$ac_objext conftest$ac_exeext
14451 if { (ac_try="$ac_link"
14452 case "(($ac_try" in
14453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14454 *) ac_try_echo=$ac_try;;
14455 esac
14456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14457 (eval "$ac_link") 2>conftest.er1
14458 ac_status=$?
14459 grep -v '^ *+' conftest.er1 >conftest.err
14460 rm -f conftest.er1
14461 cat conftest.err >&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); } && {
14464 test -z "$ac_c_werror_flag" ||
14465 test ! -s conftest.err
14466 } && test -s conftest$ac_exeext &&
14467 $as_test_x conftest$ac_exeext; then
14468 case "$LIBEXT" in
14469 dll) ;;
14470 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'` ;;
14471 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14472 esac
14473 else
14474 echo "$as_me: failed program was:" >&5
14475 sed 's/^/| /' conftest.$ac_ext >&5
14480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14481 conftest$ac_exeext conftest.$ac_ext
14482 LIBS=$ac_check_soname_save_LIBS
14484 if test "x$ac_cv_lib_soname_jack" = "x"; then
14485 { echo "$as_me:$LINENO: result: not found" >&5
14486 echo "${ECHO_T}not found" >&6; }
14488 else
14489 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14490 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14492 cat >>confdefs.h <<_ACEOF
14493 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14494 _ACEOF
14501 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14502 then
14503 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14504 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14505 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14506 echo $ECHO_N "(cached) $ECHO_C" >&6
14507 else
14508 ac_check_soname_save_LIBS=$LIBS
14509 LIBS="-lfontconfig $LIBS"
14510 cat >conftest.$ac_ext <<_ACEOF
14511 /* confdefs.h. */
14512 _ACEOF
14513 cat confdefs.h >>conftest.$ac_ext
14514 cat >>conftest.$ac_ext <<_ACEOF
14515 /* end confdefs.h. */
14517 /* Override any GCC internal prototype to avoid an error.
14518 Use char because int might match the return type of a GCC
14519 builtin and then its argument prototype would still apply. */
14520 #ifdef __cplusplus
14521 extern "C"
14522 #endif
14523 char FcInit ();
14525 main ()
14527 return FcInit ();
14529 return 0;
14531 _ACEOF
14532 rm -f conftest.$ac_objext conftest$ac_exeext
14533 if { (ac_try="$ac_link"
14534 case "(($ac_try" in
14535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14536 *) ac_try_echo=$ac_try;;
14537 esac
14538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14539 (eval "$ac_link") 2>conftest.er1
14540 ac_status=$?
14541 grep -v '^ *+' conftest.er1 >conftest.err
14542 rm -f conftest.er1
14543 cat conftest.err >&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); } && {
14546 test -z "$ac_c_werror_flag" ||
14547 test ! -s conftest.err
14548 } && test -s conftest$ac_exeext &&
14549 $as_test_x conftest$ac_exeext; then
14550 case "$LIBEXT" in
14551 dll) ;;
14552 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'` ;;
14553 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14554 esac
14555 else
14556 echo "$as_me: failed program was:" >&5
14557 sed 's/^/| /' conftest.$ac_ext >&5
14562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14563 conftest$ac_exeext conftest.$ac_ext
14564 LIBS=$ac_check_soname_save_LIBS
14566 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14567 { echo "$as_me:$LINENO: result: not found" >&5
14568 echo "${ECHO_T}not found" >&6; }
14570 else
14571 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14572 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14574 cat >>confdefs.h <<_ACEOF
14575 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14576 _ACEOF
14582 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14583 wine_notices="$wine_notices|fontconfig development files not found.
14584 Wine will be built without fontconfig support."
14588 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14589 then
14590 { echo "$as_me:$LINENO: checking for -lssl" >&5
14591 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14592 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14593 echo $ECHO_N "(cached) $ECHO_C" >&6
14594 else
14595 ac_check_soname_save_LIBS=$LIBS
14596 LIBS="-lssl $LIBS"
14597 cat >conftest.$ac_ext <<_ACEOF
14598 /* confdefs.h. */
14599 _ACEOF
14600 cat confdefs.h >>conftest.$ac_ext
14601 cat >>conftest.$ac_ext <<_ACEOF
14602 /* end confdefs.h. */
14604 /* Override any GCC internal prototype to avoid an error.
14605 Use char because int might match the return type of a GCC
14606 builtin and then its argument prototype would still apply. */
14607 #ifdef __cplusplus
14608 extern "C"
14609 #endif
14610 char SSL_library_init ();
14612 main ()
14614 return SSL_library_init ();
14616 return 0;
14618 _ACEOF
14619 rm -f conftest.$ac_objext conftest$ac_exeext
14620 if { (ac_try="$ac_link"
14621 case "(($ac_try" in
14622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14623 *) ac_try_echo=$ac_try;;
14624 esac
14625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14626 (eval "$ac_link") 2>conftest.er1
14627 ac_status=$?
14628 grep -v '^ *+' conftest.er1 >conftest.err
14629 rm -f conftest.er1
14630 cat conftest.err >&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); } && {
14633 test -z "$ac_c_werror_flag" ||
14634 test ! -s conftest.err
14635 } && test -s conftest$ac_exeext &&
14636 $as_test_x conftest$ac_exeext; then
14637 case "$LIBEXT" in
14638 dll) ;;
14639 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'` ;;
14640 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14641 esac
14642 else
14643 echo "$as_me: failed program was:" >&5
14644 sed 's/^/| /' conftest.$ac_ext >&5
14649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14650 conftest$ac_exeext conftest.$ac_ext
14651 LIBS=$ac_check_soname_save_LIBS
14653 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14654 { echo "$as_me:$LINENO: result: not found" >&5
14655 echo "${ECHO_T}not found" >&6; }
14657 else
14658 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14659 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14661 cat >>confdefs.h <<_ACEOF
14662 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14663 _ACEOF
14668 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14669 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14670 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14672 else
14673 ac_check_soname_save_LIBS=$LIBS
14674 LIBS="-lcrypto $LIBS"
14675 cat >conftest.$ac_ext <<_ACEOF
14676 /* confdefs.h. */
14677 _ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14682 /* Override any GCC internal prototype to avoid an error.
14683 Use char because int might match the return type of a GCC
14684 builtin and then its argument prototype would still apply. */
14685 #ifdef __cplusplus
14686 extern "C"
14687 #endif
14688 char BIO_new_socket ();
14690 main ()
14692 return BIO_new_socket ();
14694 return 0;
14696 _ACEOF
14697 rm -f conftest.$ac_objext conftest$ac_exeext
14698 if { (ac_try="$ac_link"
14699 case "(($ac_try" in
14700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14701 *) ac_try_echo=$ac_try;;
14702 esac
14703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14704 (eval "$ac_link") 2>conftest.er1
14705 ac_status=$?
14706 grep -v '^ *+' conftest.er1 >conftest.err
14707 rm -f conftest.er1
14708 cat conftest.err >&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); } && {
14711 test -z "$ac_c_werror_flag" ||
14712 test ! -s conftest.err
14713 } && test -s conftest$ac_exeext &&
14714 $as_test_x conftest$ac_exeext; then
14715 case "$LIBEXT" in
14716 dll) ;;
14717 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'` ;;
14718 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14719 esac
14720 else
14721 echo "$as_me: failed program was:" >&5
14722 sed 's/^/| /' conftest.$ac_ext >&5
14727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14728 conftest$ac_exeext conftest.$ac_ext
14729 LIBS=$ac_check_soname_save_LIBS
14731 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14732 { echo "$as_me:$LINENO: result: not found" >&5
14733 echo "${ECHO_T}not found" >&6; }
14735 else
14736 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14737 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14739 cat >>confdefs.h <<_ACEOF
14740 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14741 _ACEOF
14747 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14748 wine_notices="$wine_notices|OpenSSL development files not found.
14749 Wine will be built without SSL support. (wininet.dll)"
14753 if test "$ac_cv_header_jpeglib_h" = "yes"
14754 then
14755 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14756 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14757 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14758 echo $ECHO_N "(cached) $ECHO_C" >&6
14759 else
14760 ac_check_soname_save_LIBS=$LIBS
14761 LIBS="-ljpeg $LIBS"
14762 cat >conftest.$ac_ext <<_ACEOF
14763 /* confdefs.h. */
14764 _ACEOF
14765 cat confdefs.h >>conftest.$ac_ext
14766 cat >>conftest.$ac_ext <<_ACEOF
14767 /* end confdefs.h. */
14769 /* Override any GCC internal prototype to avoid an error.
14770 Use char because int might match the return type of a GCC
14771 builtin and then its argument prototype would still apply. */
14772 #ifdef __cplusplus
14773 extern "C"
14774 #endif
14775 char jpeg_start_decompress ();
14777 main ()
14779 return jpeg_start_decompress ();
14781 return 0;
14783 _ACEOF
14784 rm -f conftest.$ac_objext conftest$ac_exeext
14785 if { (ac_try="$ac_link"
14786 case "(($ac_try" in
14787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14788 *) ac_try_echo=$ac_try;;
14789 esac
14790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14791 (eval "$ac_link") 2>conftest.er1
14792 ac_status=$?
14793 grep -v '^ *+' conftest.er1 >conftest.err
14794 rm -f conftest.er1
14795 cat conftest.err >&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); } && {
14798 test -z "$ac_c_werror_flag" ||
14799 test ! -s conftest.err
14800 } && test -s conftest$ac_exeext &&
14801 $as_test_x conftest$ac_exeext; then
14802 case "$LIBEXT" in
14803 dll) ;;
14804 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'` ;;
14805 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14806 esac
14807 else
14808 echo "$as_me: failed program was:" >&5
14809 sed 's/^/| /' conftest.$ac_ext >&5
14814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14815 conftest$ac_exeext conftest.$ac_ext
14816 LIBS=$ac_check_soname_save_LIBS
14818 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14819 { echo "$as_me:$LINENO: result: not found" >&5
14820 echo "${ECHO_T}not found" >&6; }
14822 else
14823 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14824 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14826 cat >>confdefs.h <<_ACEOF
14827 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14828 _ACEOF
14834 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14835 wine_notices="$wine_notices|libjpeg development files not found.
14836 Wine will be built without JPEG support. (oleaut32.dll)"
14840 if test "$ac_cv_header_png_h" = "yes"
14841 then
14842 { echo "$as_me:$LINENO: checking for -lpng" >&5
14843 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14844 if test "${ac_cv_lib_soname_png+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14846 else
14847 ac_check_soname_save_LIBS=$LIBS
14848 LIBS="-lpng $LIBS"
14849 cat >conftest.$ac_ext <<_ACEOF
14850 /* confdefs.h. */
14851 _ACEOF
14852 cat confdefs.h >>conftest.$ac_ext
14853 cat >>conftest.$ac_ext <<_ACEOF
14854 /* end confdefs.h. */
14856 /* Override any GCC internal prototype to avoid an error.
14857 Use char because int might match the return type of a GCC
14858 builtin and then its argument prototype would still apply. */
14859 #ifdef __cplusplus
14860 extern "C"
14861 #endif
14862 char png_create_read_struct ();
14864 main ()
14866 return png_create_read_struct ();
14868 return 0;
14870 _ACEOF
14871 rm -f conftest.$ac_objext conftest$ac_exeext
14872 if { (ac_try="$ac_link"
14873 case "(($ac_try" in
14874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14875 *) ac_try_echo=$ac_try;;
14876 esac
14877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14878 (eval "$ac_link") 2>conftest.er1
14879 ac_status=$?
14880 grep -v '^ *+' conftest.er1 >conftest.err
14881 rm -f conftest.er1
14882 cat conftest.err >&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); } && {
14885 test -z "$ac_c_werror_flag" ||
14886 test ! -s conftest.err
14887 } && test -s conftest$ac_exeext &&
14888 $as_test_x conftest$ac_exeext; then
14889 case "$LIBEXT" in
14890 dll) ;;
14891 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'` ;;
14892 *) 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'` ;;
14893 esac
14894 else
14895 echo "$as_me: failed program was:" >&5
14896 sed 's/^/| /' conftest.$ac_ext >&5
14901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14902 conftest$ac_exeext conftest.$ac_ext
14903 LIBS=$ac_check_soname_save_LIBS
14905 if test "x$ac_cv_lib_soname_png" = "x"; then
14906 { echo "$as_me:$LINENO: result: not found" >&5
14907 echo "${ECHO_T}not found" >&6; }
14909 else
14910 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14911 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14913 cat >>confdefs.h <<_ACEOF
14914 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14915 _ACEOF
14921 if test "x$ac_cv_lib_soname_png" = "x"; then
14922 wine_notices="$wine_notices|libpng development files not found.
14923 Wine will be built without PNG support. (oleaut32.dll)"
14927 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14928 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14929 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14930 "$ac_cv_header_soundcard_h" != "yes"; then
14931 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14936 EXTRACFLAGS=""
14938 if test "x${GCC}" = "xyes"
14939 then
14940 EXTRACFLAGS="-Wall -pipe"
14942 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14943 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14944 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14946 else
14947 if test "$cross_compiling" = yes; then
14948 ac_cv_c_gcc_strength_bug="yes"
14949 else
14950 cat >conftest.$ac_ext <<_ACEOF
14951 /* confdefs.h. */
14952 _ACEOF
14953 cat confdefs.h >>conftest.$ac_ext
14954 cat >>conftest.$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14956 int L[4] = {0,1,2,3};
14958 main ()
14960 static int Array[3];
14961 unsigned int B = 3;
14962 int i;
14963 for(i=0; i<B; i++) Array[i] = i - 3;
14964 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14965 L[i] = 4;
14966 exit( Array[1] != -2 || L[2] != 3)
14968 return 0;
14970 _ACEOF
14971 rm -f conftest$ac_exeext
14972 if { (ac_try="$ac_link"
14973 case "(($ac_try" in
14974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14975 *) ac_try_echo=$ac_try;;
14976 esac
14977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14978 (eval "$ac_link") 2>&5
14979 ac_status=$?
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14982 { (case "(($ac_try" in
14983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14984 *) ac_try_echo=$ac_try;;
14985 esac
14986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14987 (eval "$ac_try") 2>&5
14988 ac_status=$?
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); }; }; then
14991 ac_cv_c_gcc_strength_bug="no"
14992 else
14993 echo "$as_me: program exited with status $ac_status" >&5
14994 echo "$as_me: failed program was:" >&5
14995 sed 's/^/| /' conftest.$ac_ext >&5
14997 ( exit $ac_status )
14998 ac_cv_c_gcc_strength_bug="yes"
15000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15005 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15006 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15007 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15008 then
15009 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15013 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15014 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15015 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15016 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 else
15018 ac_wine_try_cflags_saved=$CFLAGS
15019 CFLAGS="$CFLAGS -fshort-wchar"
15020 cat >conftest.$ac_ext <<_ACEOF
15021 /* confdefs.h. */
15022 _ACEOF
15023 cat confdefs.h >>conftest.$ac_ext
15024 cat >>conftest.$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15028 main ()
15032 return 0;
15034 _ACEOF
15035 rm -f conftest.$ac_objext conftest$ac_exeext
15036 if { (ac_try="$ac_link"
15037 case "(($ac_try" in
15038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15039 *) ac_try_echo=$ac_try;;
15040 esac
15041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15042 (eval "$ac_link") 2>conftest.er1
15043 ac_status=$?
15044 grep -v '^ *+' conftest.er1 >conftest.err
15045 rm -f conftest.er1
15046 cat conftest.err >&5
15047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15048 (exit $ac_status); } && {
15049 test -z "$ac_c_werror_flag" ||
15050 test ! -s conftest.err
15051 } && test -s conftest$ac_exeext &&
15052 $as_test_x conftest$ac_exeext; then
15053 ac_cv_cflags__fshort_wchar=yes
15054 else
15055 echo "$as_me: failed program was:" >&5
15056 sed 's/^/| /' conftest.$ac_ext >&5
15058 ac_cv_cflags__fshort_wchar=no
15061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15062 conftest$ac_exeext conftest.$ac_ext
15063 CFLAGS=$ac_wine_try_cflags_saved
15065 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15066 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15067 if test $ac_cv_cflags__fshort_wchar = yes; then
15069 cat >>confdefs.h <<\_ACEOF
15070 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15071 _ACEOF
15075 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15076 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15077 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15078 echo $ECHO_N "(cached) $ECHO_C" >&6
15079 else
15080 ac_wine_try_cflags_saved=$CFLAGS
15081 CFLAGS="$CFLAGS -fno-strict-aliasing"
15082 cat >conftest.$ac_ext <<_ACEOF
15083 /* confdefs.h. */
15084 _ACEOF
15085 cat confdefs.h >>conftest.$ac_ext
15086 cat >>conftest.$ac_ext <<_ACEOF
15087 /* end confdefs.h. */
15090 main ()
15094 return 0;
15096 _ACEOF
15097 rm -f conftest.$ac_objext conftest$ac_exeext
15098 if { (ac_try="$ac_link"
15099 case "(($ac_try" in
15100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15101 *) ac_try_echo=$ac_try;;
15102 esac
15103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15104 (eval "$ac_link") 2>conftest.er1
15105 ac_status=$?
15106 grep -v '^ *+' conftest.er1 >conftest.err
15107 rm -f conftest.er1
15108 cat conftest.err >&5
15109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15110 (exit $ac_status); } && {
15111 test -z "$ac_c_werror_flag" ||
15112 test ! -s conftest.err
15113 } && test -s conftest$ac_exeext &&
15114 $as_test_x conftest$ac_exeext; then
15115 ac_cv_cflags__fno_strict_aliasing=yes
15116 else
15117 echo "$as_me: failed program was:" >&5
15118 sed 's/^/| /' conftest.$ac_ext >&5
15120 ac_cv_cflags__fno_strict_aliasing=no
15123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15124 conftest$ac_exeext conftest.$ac_ext
15125 CFLAGS=$ac_wine_try_cflags_saved
15127 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15128 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15129 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15130 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15133 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15134 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15135 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 else
15138 ac_wine_try_cflags_saved=$CFLAGS
15139 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15140 cat >conftest.$ac_ext <<_ACEOF
15141 /* confdefs.h. */
15142 _ACEOF
15143 cat confdefs.h >>conftest.$ac_ext
15144 cat >>conftest.$ac_ext <<_ACEOF
15145 /* end confdefs.h. */
15148 main ()
15152 return 0;
15154 _ACEOF
15155 rm -f conftest.$ac_objext conftest$ac_exeext
15156 if { (ac_try="$ac_link"
15157 case "(($ac_try" in
15158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15159 *) ac_try_echo=$ac_try;;
15160 esac
15161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15162 (eval "$ac_link") 2>conftest.er1
15163 ac_status=$?
15164 grep -v '^ *+' conftest.er1 >conftest.err
15165 rm -f conftest.er1
15166 cat conftest.err >&5
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); } && {
15169 test -z "$ac_c_werror_flag" ||
15170 test ! -s conftest.err
15171 } && test -s conftest$ac_exeext &&
15172 $as_test_x conftest$ac_exeext; then
15173 ac_cv_cflags__Wdeclaration_after_statement=yes
15174 else
15175 echo "$as_me: failed program was:" >&5
15176 sed 's/^/| /' conftest.$ac_ext >&5
15178 ac_cv_cflags__Wdeclaration_after_statement=no
15181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15182 conftest$ac_exeext conftest.$ac_ext
15183 CFLAGS=$ac_wine_try_cflags_saved
15185 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15186 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15187 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15188 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15191 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15192 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15193 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 else
15196 ac_wine_try_cflags_saved=$CFLAGS
15197 CFLAGS="$CFLAGS -Wwrite-strings"
15198 cat >conftest.$ac_ext <<_ACEOF
15199 /* confdefs.h. */
15200 _ACEOF
15201 cat confdefs.h >>conftest.$ac_ext
15202 cat >>conftest.$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15206 main ()
15210 return 0;
15212 _ACEOF
15213 rm -f conftest.$ac_objext conftest$ac_exeext
15214 if { (ac_try="$ac_link"
15215 case "(($ac_try" in
15216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15217 *) ac_try_echo=$ac_try;;
15218 esac
15219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15220 (eval "$ac_link") 2>conftest.er1
15221 ac_status=$?
15222 grep -v '^ *+' conftest.er1 >conftest.err
15223 rm -f conftest.er1
15224 cat conftest.err >&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); } && {
15227 test -z "$ac_c_werror_flag" ||
15228 test ! -s conftest.err
15229 } && test -s conftest$ac_exeext &&
15230 $as_test_x conftest$ac_exeext; then
15231 ac_cv_cflags__Wwrite_strings=yes
15232 else
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.$ac_ext >&5
15236 ac_cv_cflags__Wwrite_strings=no
15239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15240 conftest$ac_exeext conftest.$ac_ext
15241 CFLAGS=$ac_wine_try_cflags_saved
15243 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15244 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15245 if test $ac_cv_cflags__Wwrite_strings = yes; then
15246 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15250 saved_CFLAGS="$CFLAGS"
15251 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15252 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15253 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15254 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15255 echo $ECHO_N "(cached) $ECHO_C" >&6
15256 else
15257 cat >conftest.$ac_ext <<_ACEOF
15258 /* confdefs.h. */
15259 _ACEOF
15260 cat confdefs.h >>conftest.$ac_ext
15261 cat >>conftest.$ac_ext <<_ACEOF
15262 /* end confdefs.h. */
15263 #include <string.h>
15265 main ()
15269 return 0;
15271 _ACEOF
15272 rm -f conftest.$ac_objext
15273 if { (ac_try="$ac_compile"
15274 case "(($ac_try" in
15275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15276 *) ac_try_echo=$ac_try;;
15277 esac
15278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15279 (eval "$ac_compile") 2>conftest.er1
15280 ac_status=$?
15281 grep -v '^ *+' conftest.er1 >conftest.err
15282 rm -f conftest.er1
15283 cat conftest.err >&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } && {
15286 test -z "$ac_c_werror_flag" ||
15287 test ! -s conftest.err
15288 } && test -s conftest.$ac_objext; then
15289 ac_cv_c_string_h_warnings=no
15290 else
15291 echo "$as_me: failed program was:" >&5
15292 sed 's/^/| /' conftest.$ac_ext >&5
15294 ac_cv_c_string_h_warnings=yes
15297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15299 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15300 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15301 CFLAGS="$saved_CFLAGS"
15302 if test "$ac_cv_c_string_h_warnings" = "no"
15303 then
15304 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15307 BUILTINFLAG=""
15309 saved_CFLAGS="$CFLAGS"
15310 CFLAGS="$CFLAGS -Werror"
15311 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15312 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15313 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15314 echo $ECHO_N "(cached) $ECHO_C" >&6
15315 else
15316 cat >conftest.$ac_ext <<_ACEOF
15317 /* confdefs.h. */
15318 _ACEOF
15319 cat confdefs.h >>conftest.$ac_ext
15320 cat >>conftest.$ac_ext <<_ACEOF
15321 /* end confdefs.h. */
15324 main ()
15326 int iswlower(unsigned short);
15328 return 0;
15330 _ACEOF
15331 rm -f conftest.$ac_objext
15332 if { (ac_try="$ac_compile"
15333 case "(($ac_try" in
15334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15335 *) ac_try_echo=$ac_try;;
15336 esac
15337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15338 (eval "$ac_compile") 2>conftest.er1
15339 ac_status=$?
15340 grep -v '^ *+' conftest.er1 >conftest.err
15341 rm -f conftest.er1
15342 cat conftest.err >&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); } && {
15345 test -z "$ac_c_werror_flag" ||
15346 test ! -s conftest.err
15347 } && test -s conftest.$ac_objext; then
15348 ac_cv_c_builtin_wchar_ctype=no
15349 else
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.$ac_ext >&5
15353 ac_cv_c_builtin_wchar_ctype=yes
15356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15358 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15359 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15360 CFLAGS="$saved_CFLAGS"
15361 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15362 then
15363 BUILTINFLAG="-fno-builtin"
15368 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15369 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15370 if test "${ac_cv_asm_func_def+set}" = set; then
15371 echo $ECHO_N "(cached) $ECHO_C" >&6
15372 else
15373 cat >conftest.$ac_ext <<_ACEOF
15374 /* confdefs.h. */
15375 _ACEOF
15376 cat confdefs.h >>conftest.$ac_ext
15377 cat >>conftest.$ac_ext <<_ACEOF
15378 /* end confdefs.h. */
15381 main ()
15383 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15385 return 0;
15387 _ACEOF
15388 rm -f conftest.$ac_objext conftest$ac_exeext
15389 if { (ac_try="$ac_link"
15390 case "(($ac_try" in
15391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15393 esac
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_link") 2>conftest.er1
15396 ac_status=$?
15397 grep -v '^ *+' conftest.er1 >conftest.err
15398 rm -f conftest.er1
15399 cat conftest.err >&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } && {
15402 test -z "$ac_c_werror_flag" ||
15403 test ! -s conftest.err
15404 } && test -s conftest$ac_exeext &&
15405 $as_test_x conftest$ac_exeext; then
15406 ac_cv_asm_func_def=".def"
15407 else
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15411 cat >conftest.$ac_ext <<_ACEOF
15412 /* confdefs.h. */
15413 _ACEOF
15414 cat confdefs.h >>conftest.$ac_ext
15415 cat >>conftest.$ac_ext <<_ACEOF
15416 /* end confdefs.h. */
15419 main ()
15421 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15423 return 0;
15425 _ACEOF
15426 rm -f conftest.$ac_objext conftest$ac_exeext
15427 if { (ac_try="$ac_link"
15428 case "(($ac_try" in
15429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15430 *) ac_try_echo=$ac_try;;
15431 esac
15432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15433 (eval "$ac_link") 2>conftest.er1
15434 ac_status=$?
15435 grep -v '^ *+' conftest.er1 >conftest.err
15436 rm -f conftest.er1
15437 cat conftest.err >&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); } && {
15440 test -z "$ac_c_werror_flag" ||
15441 test ! -s conftest.err
15442 } && test -s conftest$ac_exeext &&
15443 $as_test_x conftest$ac_exeext; then
15444 ac_cv_asm_func_def=".type @function"
15445 else
15446 echo "$as_me: failed program was:" >&5
15447 sed 's/^/| /' conftest.$ac_ext >&5
15449 cat >conftest.$ac_ext <<_ACEOF
15450 /* confdefs.h. */
15451 _ACEOF
15452 cat confdefs.h >>conftest.$ac_ext
15453 cat >>conftest.$ac_ext <<_ACEOF
15454 /* end confdefs.h. */
15457 main ()
15459 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15461 return 0;
15463 _ACEOF
15464 rm -f conftest.$ac_objext conftest$ac_exeext
15465 if { (ac_try="$ac_link"
15466 case "(($ac_try" in
15467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15468 *) ac_try_echo=$ac_try;;
15469 esac
15470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15471 (eval "$ac_link") 2>conftest.er1
15472 ac_status=$?
15473 grep -v '^ *+' conftest.er1 >conftest.err
15474 rm -f conftest.er1
15475 cat conftest.err >&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); } && {
15478 test -z "$ac_c_werror_flag" ||
15479 test ! -s conftest.err
15480 } && test -s conftest$ac_exeext &&
15481 $as_test_x conftest$ac_exeext; then
15482 ac_cv_asm_func_def=".type 2"
15483 else
15484 echo "$as_me: failed program was:" >&5
15485 sed 's/^/| /' conftest.$ac_ext >&5
15487 ac_cv_asm_func_def="unknown"
15490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15491 conftest$ac_exeext conftest.$ac_ext
15494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15495 conftest$ac_exeext conftest.$ac_ext
15498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15499 conftest$ac_exeext conftest.$ac_ext
15501 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15502 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15506 case "$ac_cv_asm_func_def" in
15507 ".def")
15508 cat >>confdefs.h <<\_ACEOF
15509 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15510 _ACEOF
15512 ".type @function")
15513 cat >>confdefs.h <<\_ACEOF
15514 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15515 _ACEOF
15517 ".type 2")
15518 cat >>confdefs.h <<\_ACEOF
15519 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15520 _ACEOF
15523 cat >>confdefs.h <<\_ACEOF
15524 #define __ASM_FUNC(name) ""
15525 _ACEOF
15527 esac
15530 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15531 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15532 if test "${ac_cv_c_extern_prefix+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 else
15535 cat >conftest.$ac_ext <<_ACEOF
15536 /* confdefs.h. */
15537 _ACEOF
15538 cat confdefs.h >>conftest.$ac_ext
15539 cat >>conftest.$ac_ext <<_ACEOF
15540 /* end confdefs.h. */
15541 extern int ac_test;
15543 main ()
15545 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15547 return 0;
15549 _ACEOF
15550 rm -f conftest.$ac_objext conftest$ac_exeext
15551 if { (ac_try="$ac_link"
15552 case "(($ac_try" in
15553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15554 *) ac_try_echo=$ac_try;;
15555 esac
15556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15557 (eval "$ac_link") 2>conftest.er1
15558 ac_status=$?
15559 grep -v '^ *+' conftest.er1 >conftest.err
15560 rm -f conftest.er1
15561 cat conftest.err >&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } && {
15564 test -z "$ac_c_werror_flag" ||
15565 test ! -s conftest.err
15566 } && test -s conftest$ac_exeext &&
15567 $as_test_x conftest$ac_exeext; then
15568 ac_cv_c_extern_prefix="yes"
15569 else
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.$ac_ext >&5
15573 ac_cv_c_extern_prefix="no"
15576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15577 conftest$ac_exeext conftest.$ac_ext
15579 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15580 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15584 if test "$ac_cv_c_extern_prefix" = "yes"
15585 then
15586 cat >>confdefs.h <<\_ACEOF
15587 #define __ASM_NAME(name) "_" name
15588 _ACEOF
15590 else
15591 cat >>confdefs.h <<\_ACEOF
15592 #define __ASM_NAME(name) name
15593 _ACEOF
15598 LDPATH=""
15600 case $build_os in
15601 cygwin*|mingw32*)
15602 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15604 darwin*|macosx*)
15606 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15607 then
15608 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15612 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15614 esac
15616 case $host_os in
15617 mingw32*)
15618 CRTLIBS="-lmsvcrt"
15620 SOCKETLIBS="-lws2_32"
15623 esac
15625 MAIN_BINARY="wine-pthread"
15626 case $host_cpu in
15627 *i[3456789]86*)
15628 case $host_os in
15629 linux* | k*bsd*-gnu)
15630 MAIN_BINARY="wine-glibc"
15632 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15634 esac
15636 esac
15700 for ac_func in \
15701 _pclose \
15702 _popen \
15703 _snprintf \
15704 _spawnvp \
15705 _stricmp \
15706 _strnicmp \
15707 _vsnprintf \
15708 asctime_r \
15709 chsize \
15710 clone \
15711 dlopen \
15712 epoll_create \
15713 ffs \
15714 finite \
15715 fork \
15716 fpclass \
15717 fstatfs \
15718 fstatvfs \
15719 ftruncate \
15720 futimes \
15721 futimesat \
15722 getdirentries \
15723 getopt_long \
15724 getpagesize \
15725 getpwuid \
15726 gettid \
15727 gettimeofday \
15728 getuid \
15729 inet_pton \
15730 kqueue \
15731 lstat \
15732 memmove \
15733 mmap \
15734 pclose \
15735 poll \
15736 popen \
15737 prctl \
15738 pread \
15739 pwrite \
15740 readlink \
15741 rfork \
15742 sched_yield \
15743 select \
15744 setrlimit \
15745 settimeofday \
15746 sigaltstack \
15747 sigprocmask \
15748 snprintf \
15749 spawnvp \
15750 statfs \
15751 statvfs \
15752 strcasecmp \
15753 strerror \
15754 strncasecmp \
15755 strtold \
15756 tcgetattr \
15757 timegm \
15758 usleep \
15759 vsnprintf \
15760 wait4 \
15761 waitpid \
15764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15765 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15767 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15768 echo $ECHO_N "(cached) $ECHO_C" >&6
15769 else
15770 cat >conftest.$ac_ext <<_ACEOF
15771 /* confdefs.h. */
15772 _ACEOF
15773 cat confdefs.h >>conftest.$ac_ext
15774 cat >>conftest.$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15778 #define $ac_func innocuous_$ac_func
15780 /* System header to define __stub macros and hopefully few prototypes,
15781 which can conflict with char $ac_func (); below.
15782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15783 <limits.h> exists even on freestanding compilers. */
15785 #ifdef __STDC__
15786 # include <limits.h>
15787 #else
15788 # include <assert.h>
15789 #endif
15791 #undef $ac_func
15793 /* Override any GCC internal prototype to avoid an error.
15794 Use char because int might match the return type of a GCC
15795 builtin and then its argument prototype would still apply. */
15796 #ifdef __cplusplus
15797 extern "C"
15798 #endif
15799 char $ac_func ();
15800 /* The GNU C library defines this for functions which it implements
15801 to always fail with ENOSYS. Some functions are actually named
15802 something starting with __ and the normal name is an alias. */
15803 #if defined __stub_$ac_func || defined __stub___$ac_func
15804 choke me
15805 #endif
15808 main ()
15810 return $ac_func ();
15812 return 0;
15814 _ACEOF
15815 rm -f conftest.$ac_objext conftest$ac_exeext
15816 if { (ac_try="$ac_link"
15817 case "(($ac_try" in
15818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15819 *) ac_try_echo=$ac_try;;
15820 esac
15821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15822 (eval "$ac_link") 2>conftest.er1
15823 ac_status=$?
15824 grep -v '^ *+' conftest.er1 >conftest.err
15825 rm -f conftest.er1
15826 cat conftest.err >&5
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); } && {
15829 test -z "$ac_c_werror_flag" ||
15830 test ! -s conftest.err
15831 } && test -s conftest$ac_exeext &&
15832 $as_test_x conftest$ac_exeext; then
15833 eval "$as_ac_var=yes"
15834 else
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15838 eval "$as_ac_var=no"
15841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15842 conftest$ac_exeext conftest.$ac_ext
15844 ac_res=`eval echo '${'$as_ac_var'}'`
15845 { echo "$as_me:$LINENO: result: $ac_res" >&5
15846 echo "${ECHO_T}$ac_res" >&6; }
15847 if test `eval echo '${'$as_ac_var'}'` = yes; then
15848 cat >>confdefs.h <<_ACEOF
15849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15850 _ACEOF
15853 done
15856 if test "$ac_cv_func_dlopen" = no
15857 then
15858 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15859 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15860 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15861 echo $ECHO_N "(cached) $ECHO_C" >&6
15862 else
15863 ac_check_lib_save_LIBS=$LIBS
15864 LIBS="-ldl $LIBS"
15865 cat >conftest.$ac_ext <<_ACEOF
15866 /* confdefs.h. */
15867 _ACEOF
15868 cat confdefs.h >>conftest.$ac_ext
15869 cat >>conftest.$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15872 /* Override any GCC internal prototype to avoid an error.
15873 Use char because int might match the return type of a GCC
15874 builtin and then its argument prototype would still apply. */
15875 #ifdef __cplusplus
15876 extern "C"
15877 #endif
15878 char dlopen ();
15880 main ()
15882 return dlopen ();
15884 return 0;
15886 _ACEOF
15887 rm -f conftest.$ac_objext conftest$ac_exeext
15888 if { (ac_try="$ac_link"
15889 case "(($ac_try" in
15890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15891 *) ac_try_echo=$ac_try;;
15892 esac
15893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15894 (eval "$ac_link") 2>conftest.er1
15895 ac_status=$?
15896 grep -v '^ *+' conftest.er1 >conftest.err
15897 rm -f conftest.er1
15898 cat conftest.err >&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); } && {
15901 test -z "$ac_c_werror_flag" ||
15902 test ! -s conftest.err
15903 } && test -s conftest$ac_exeext &&
15904 $as_test_x conftest$ac_exeext; then
15905 ac_cv_lib_dl_dlopen=yes
15906 else
15907 echo "$as_me: failed program was:" >&5
15908 sed 's/^/| /' conftest.$ac_ext >&5
15910 ac_cv_lib_dl_dlopen=no
15913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15914 conftest$ac_exeext conftest.$ac_ext
15915 LIBS=$ac_check_lib_save_LIBS
15917 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15918 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15919 if test $ac_cv_lib_dl_dlopen = yes; then
15920 cat >>confdefs.h <<\_ACEOF
15921 #define HAVE_DLOPEN 1
15922 _ACEOF
15923 LIBDL="-ldl"
15928 ac_wine_check_funcs_save_LIBS="$LIBS"
15929 LIBS="$LIBS $LIBDL"
15931 for ac_func in dladdr
15933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15934 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15936 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15937 echo $ECHO_N "(cached) $ECHO_C" >&6
15938 else
15939 cat >conftest.$ac_ext <<_ACEOF
15940 /* confdefs.h. */
15941 _ACEOF
15942 cat confdefs.h >>conftest.$ac_ext
15943 cat >>conftest.$ac_ext <<_ACEOF
15944 /* end confdefs.h. */
15945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15947 #define $ac_func innocuous_$ac_func
15949 /* System header to define __stub macros and hopefully few prototypes,
15950 which can conflict with char $ac_func (); below.
15951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15952 <limits.h> exists even on freestanding compilers. */
15954 #ifdef __STDC__
15955 # include <limits.h>
15956 #else
15957 # include <assert.h>
15958 #endif
15960 #undef $ac_func
15962 /* Override any GCC internal prototype to avoid an error.
15963 Use char because int might match the return type of a GCC
15964 builtin and then its argument prototype would still apply. */
15965 #ifdef __cplusplus
15966 extern "C"
15967 #endif
15968 char $ac_func ();
15969 /* The GNU C library defines this for functions which it implements
15970 to always fail with ENOSYS. Some functions are actually named
15971 something starting with __ and the normal name is an alias. */
15972 #if defined __stub_$ac_func || defined __stub___$ac_func
15973 choke me
15974 #endif
15977 main ()
15979 return $ac_func ();
15981 return 0;
15983 _ACEOF
15984 rm -f conftest.$ac_objext conftest$ac_exeext
15985 if { (ac_try="$ac_link"
15986 case "(($ac_try" in
15987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15988 *) ac_try_echo=$ac_try;;
15989 esac
15990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15991 (eval "$ac_link") 2>conftest.er1
15992 ac_status=$?
15993 grep -v '^ *+' conftest.er1 >conftest.err
15994 rm -f conftest.er1
15995 cat conftest.err >&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); } && {
15998 test -z "$ac_c_werror_flag" ||
15999 test ! -s conftest.err
16000 } && test -s conftest$ac_exeext &&
16001 $as_test_x conftest$ac_exeext; then
16002 eval "$as_ac_var=yes"
16003 else
16004 echo "$as_me: failed program was:" >&5
16005 sed 's/^/| /' conftest.$ac_ext >&5
16007 eval "$as_ac_var=no"
16010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16011 conftest$ac_exeext conftest.$ac_ext
16013 ac_res=`eval echo '${'$as_ac_var'}'`
16014 { echo "$as_me:$LINENO: result: $ac_res" >&5
16015 echo "${ECHO_T}$ac_res" >&6; }
16016 if test `eval echo '${'$as_ac_var'}'` = yes; then
16017 cat >>confdefs.h <<_ACEOF
16018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16019 _ACEOF
16022 done
16024 LIBS="$ac_wine_check_funcs_save_LIBS"
16026 if test "$ac_cv_func_poll" = no
16027 then
16028 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16029 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16030 if test "${ac_cv_lib_poll_poll+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16032 else
16033 ac_check_lib_save_LIBS=$LIBS
16034 LIBS="-lpoll $LIBS"
16035 cat >conftest.$ac_ext <<_ACEOF
16036 /* confdefs.h. */
16037 _ACEOF
16038 cat confdefs.h >>conftest.$ac_ext
16039 cat >>conftest.$ac_ext <<_ACEOF
16040 /* end confdefs.h. */
16042 /* Override any GCC internal prototype to avoid an error.
16043 Use char because int might match the return type of a GCC
16044 builtin and then its argument prototype would still apply. */
16045 #ifdef __cplusplus
16046 extern "C"
16047 #endif
16048 char poll ();
16050 main ()
16052 return poll ();
16054 return 0;
16056 _ACEOF
16057 rm -f conftest.$ac_objext conftest$ac_exeext
16058 if { (ac_try="$ac_link"
16059 case "(($ac_try" in
16060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16061 *) ac_try_echo=$ac_try;;
16062 esac
16063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16064 (eval "$ac_link") 2>conftest.er1
16065 ac_status=$?
16066 grep -v '^ *+' conftest.er1 >conftest.err
16067 rm -f conftest.er1
16068 cat conftest.err >&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } && {
16071 test -z "$ac_c_werror_flag" ||
16072 test ! -s conftest.err
16073 } && test -s conftest$ac_exeext &&
16074 $as_test_x conftest$ac_exeext; then
16075 ac_cv_lib_poll_poll=yes
16076 else
16077 echo "$as_me: failed program was:" >&5
16078 sed 's/^/| /' conftest.$ac_ext >&5
16080 ac_cv_lib_poll_poll=no
16083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16084 conftest$ac_exeext conftest.$ac_ext
16085 LIBS=$ac_check_lib_save_LIBS
16087 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16088 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16089 if test $ac_cv_lib_poll_poll = yes; then
16090 cat >>confdefs.h <<\_ACEOF
16091 #define HAVE_POLL 1
16092 _ACEOF
16093 LIBPOLL="-lpoll"
16099 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16100 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16101 if test "${ac_cv_search_gethostbyname+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16103 else
16104 ac_func_search_save_LIBS=$LIBS
16105 cat >conftest.$ac_ext <<_ACEOF
16106 /* confdefs.h. */
16107 _ACEOF
16108 cat confdefs.h >>conftest.$ac_ext
16109 cat >>conftest.$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16112 /* Override any GCC internal prototype to avoid an error.
16113 Use char because int might match the return type of a GCC
16114 builtin and then its argument prototype would still apply. */
16115 #ifdef __cplusplus
16116 extern "C"
16117 #endif
16118 char gethostbyname ();
16120 main ()
16122 return gethostbyname ();
16124 return 0;
16126 _ACEOF
16127 for ac_lib in '' nsl; do
16128 if test -z "$ac_lib"; then
16129 ac_res="none required"
16130 else
16131 ac_res=-l$ac_lib
16132 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16134 rm -f conftest.$ac_objext conftest$ac_exeext
16135 if { (ac_try="$ac_link"
16136 case "(($ac_try" in
16137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16138 *) ac_try_echo=$ac_try;;
16139 esac
16140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16141 (eval "$ac_link") 2>conftest.er1
16142 ac_status=$?
16143 grep -v '^ *+' conftest.er1 >conftest.err
16144 rm -f conftest.er1
16145 cat conftest.err >&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } && {
16148 test -z "$ac_c_werror_flag" ||
16149 test ! -s conftest.err
16150 } && test -s conftest$ac_exeext &&
16151 $as_test_x conftest$ac_exeext; then
16152 ac_cv_search_gethostbyname=$ac_res
16153 else
16154 echo "$as_me: failed program was:" >&5
16155 sed 's/^/| /' conftest.$ac_ext >&5
16160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16161 conftest$ac_exeext
16162 if test "${ac_cv_search_gethostbyname+set}" = set; then
16163 break
16165 done
16166 if test "${ac_cv_search_gethostbyname+set}" = set; then
16168 else
16169 ac_cv_search_gethostbyname=no
16171 rm conftest.$ac_ext
16172 LIBS=$ac_func_search_save_LIBS
16174 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16175 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16176 ac_res=$ac_cv_search_gethostbyname
16177 if test "$ac_res" != no; then
16178 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16183 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16184 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16185 if test "${ac_cv_search_connect+set}" = set; then
16186 echo $ECHO_N "(cached) $ECHO_C" >&6
16187 else
16188 ac_func_search_save_LIBS=$LIBS
16189 cat >conftest.$ac_ext <<_ACEOF
16190 /* confdefs.h. */
16191 _ACEOF
16192 cat confdefs.h >>conftest.$ac_ext
16193 cat >>conftest.$ac_ext <<_ACEOF
16194 /* end confdefs.h. */
16196 /* Override any GCC internal prototype to avoid an error.
16197 Use char because int might match the return type of a GCC
16198 builtin and then its argument prototype would still apply. */
16199 #ifdef __cplusplus
16200 extern "C"
16201 #endif
16202 char connect ();
16204 main ()
16206 return connect ();
16208 return 0;
16210 _ACEOF
16211 for ac_lib in '' socket; do
16212 if test -z "$ac_lib"; then
16213 ac_res="none required"
16214 else
16215 ac_res=-l$ac_lib
16216 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16218 rm -f conftest.$ac_objext conftest$ac_exeext
16219 if { (ac_try="$ac_link"
16220 case "(($ac_try" in
16221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16222 *) ac_try_echo=$ac_try;;
16223 esac
16224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16225 (eval "$ac_link") 2>conftest.er1
16226 ac_status=$?
16227 grep -v '^ *+' conftest.er1 >conftest.err
16228 rm -f conftest.er1
16229 cat conftest.err >&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); } && {
16232 test -z "$ac_c_werror_flag" ||
16233 test ! -s conftest.err
16234 } && test -s conftest$ac_exeext &&
16235 $as_test_x conftest$ac_exeext; then
16236 ac_cv_search_connect=$ac_res
16237 else
16238 echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.$ac_ext >&5
16244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16245 conftest$ac_exeext
16246 if test "${ac_cv_search_connect+set}" = set; then
16247 break
16249 done
16250 if test "${ac_cv_search_connect+set}" = set; then
16252 else
16253 ac_cv_search_connect=no
16255 rm conftest.$ac_ext
16256 LIBS=$ac_func_search_save_LIBS
16258 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16259 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16260 ac_res=$ac_cv_search_connect
16261 if test "$ac_res" != no; then
16262 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16267 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16268 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16269 if test "${ac_cv_search_inet_aton+set}" = set; then
16270 echo $ECHO_N "(cached) $ECHO_C" >&6
16271 else
16272 ac_func_search_save_LIBS=$LIBS
16273 cat >conftest.$ac_ext <<_ACEOF
16274 /* confdefs.h. */
16275 _ACEOF
16276 cat confdefs.h >>conftest.$ac_ext
16277 cat >>conftest.$ac_ext <<_ACEOF
16278 /* end confdefs.h. */
16280 /* Override any GCC internal prototype to avoid an error.
16281 Use char because int might match the return type of a GCC
16282 builtin and then its argument prototype would still apply. */
16283 #ifdef __cplusplus
16284 extern "C"
16285 #endif
16286 char inet_aton ();
16288 main ()
16290 return inet_aton ();
16292 return 0;
16294 _ACEOF
16295 for ac_lib in '' resolv; do
16296 if test -z "$ac_lib"; then
16297 ac_res="none required"
16298 else
16299 ac_res=-l$ac_lib
16300 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16302 rm -f conftest.$ac_objext conftest$ac_exeext
16303 if { (ac_try="$ac_link"
16304 case "(($ac_try" in
16305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16306 *) ac_try_echo=$ac_try;;
16307 esac
16308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16309 (eval "$ac_link") 2>conftest.er1
16310 ac_status=$?
16311 grep -v '^ *+' conftest.er1 >conftest.err
16312 rm -f conftest.er1
16313 cat conftest.err >&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); } && {
16316 test -z "$ac_c_werror_flag" ||
16317 test ! -s conftest.err
16318 } && test -s conftest$ac_exeext &&
16319 $as_test_x conftest$ac_exeext; then
16320 ac_cv_search_inet_aton=$ac_res
16321 else
16322 echo "$as_me: failed program was:" >&5
16323 sed 's/^/| /' conftest.$ac_ext >&5
16328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16329 conftest$ac_exeext
16330 if test "${ac_cv_search_inet_aton+set}" = set; then
16331 break
16333 done
16334 if test "${ac_cv_search_inet_aton+set}" = set; then
16336 else
16337 ac_cv_search_inet_aton=no
16339 rm conftest.$ac_ext
16340 LIBS=$ac_func_search_save_LIBS
16342 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16343 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16344 ac_res=$ac_cv_search_inet_aton
16345 if test "$ac_res" != no; then
16346 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16359 for ac_func in \
16360 getaddrinfo \
16361 getnameinfo \
16362 getnetbyname \
16363 getprotobyname \
16364 getprotobynumber \
16365 getservbyport \
16366 inet_network \
16367 sendmsg \
16370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16371 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16373 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16374 echo $ECHO_N "(cached) $ECHO_C" >&6
16375 else
16376 cat >conftest.$ac_ext <<_ACEOF
16377 /* confdefs.h. */
16378 _ACEOF
16379 cat confdefs.h >>conftest.$ac_ext
16380 cat >>conftest.$ac_ext <<_ACEOF
16381 /* end confdefs.h. */
16382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16384 #define $ac_func innocuous_$ac_func
16386 /* System header to define __stub macros and hopefully few prototypes,
16387 which can conflict with char $ac_func (); below.
16388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16389 <limits.h> exists even on freestanding compilers. */
16391 #ifdef __STDC__
16392 # include <limits.h>
16393 #else
16394 # include <assert.h>
16395 #endif
16397 #undef $ac_func
16399 /* Override any GCC internal prototype to avoid an error.
16400 Use char because int might match the return type of a GCC
16401 builtin and then its argument prototype would still apply. */
16402 #ifdef __cplusplus
16403 extern "C"
16404 #endif
16405 char $ac_func ();
16406 /* The GNU C library defines this for functions which it implements
16407 to always fail with ENOSYS. Some functions are actually named
16408 something starting with __ and the normal name is an alias. */
16409 #if defined __stub_$ac_func || defined __stub___$ac_func
16410 choke me
16411 #endif
16414 main ()
16416 return $ac_func ();
16418 return 0;
16420 _ACEOF
16421 rm -f conftest.$ac_objext conftest$ac_exeext
16422 if { (ac_try="$ac_link"
16423 case "(($ac_try" in
16424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16425 *) ac_try_echo=$ac_try;;
16426 esac
16427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16428 (eval "$ac_link") 2>conftest.er1
16429 ac_status=$?
16430 grep -v '^ *+' conftest.er1 >conftest.err
16431 rm -f conftest.er1
16432 cat conftest.err >&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); } && {
16435 test -z "$ac_c_werror_flag" ||
16436 test ! -s conftest.err
16437 } && test -s conftest$ac_exeext &&
16438 $as_test_x conftest$ac_exeext; then
16439 eval "$as_ac_var=yes"
16440 else
16441 echo "$as_me: failed program was:" >&5
16442 sed 's/^/| /' conftest.$ac_ext >&5
16444 eval "$as_ac_var=no"
16447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16448 conftest$ac_exeext conftest.$ac_ext
16450 ac_res=`eval echo '${'$as_ac_var'}'`
16451 { echo "$as_me:$LINENO: result: $ac_res" >&5
16452 echo "${ECHO_T}$ac_res" >&6; }
16453 if test `eval echo '${'$as_ac_var'}'` = yes; then
16454 cat >>confdefs.h <<_ACEOF
16455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16456 _ACEOF
16459 done
16463 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16464 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16465 if test "${ac_cv_c_const+set}" = set; then
16466 echo $ECHO_N "(cached) $ECHO_C" >&6
16467 else
16468 cat >conftest.$ac_ext <<_ACEOF
16469 /* confdefs.h. */
16470 _ACEOF
16471 cat confdefs.h >>conftest.$ac_ext
16472 cat >>conftest.$ac_ext <<_ACEOF
16473 /* end confdefs.h. */
16476 main ()
16478 /* FIXME: Include the comments suggested by Paul. */
16479 #ifndef __cplusplus
16480 /* Ultrix mips cc rejects this. */
16481 typedef int charset[2];
16482 const charset cs;
16483 /* SunOS 4.1.1 cc rejects this. */
16484 char const *const *pcpcc;
16485 char **ppc;
16486 /* NEC SVR4.0.2 mips cc rejects this. */
16487 struct point {int x, y;};
16488 static struct point const zero = {0,0};
16489 /* AIX XL C 1.02.0.0 rejects this.
16490 It does not let you subtract one const X* pointer from another in
16491 an arm of an if-expression whose if-part is not a constant
16492 expression */
16493 const char *g = "string";
16494 pcpcc = &g + (g ? g-g : 0);
16495 /* HPUX 7.0 cc rejects these. */
16496 ++pcpcc;
16497 ppc = (char**) pcpcc;
16498 pcpcc = (char const *const *) ppc;
16499 { /* SCO 3.2v4 cc rejects this. */
16500 char *t;
16501 char const *s = 0 ? (char *) 0 : (char const *) 0;
16503 *t++ = 0;
16504 if (s) return 0;
16506 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16507 int x[] = {25, 17};
16508 const int *foo = &x[0];
16509 ++foo;
16511 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16512 typedef const int *iptr;
16513 iptr p = 0;
16514 ++p;
16516 { /* AIX XL C 1.02.0.0 rejects this saying
16517 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16518 struct s { int j; const int *ap[3]; };
16519 struct s *b; b->j = 5;
16521 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16522 const int foo = 10;
16523 if (!foo) return 0;
16525 return !cs[0] && !zero.x;
16526 #endif
16529 return 0;
16531 _ACEOF
16532 rm -f conftest.$ac_objext
16533 if { (ac_try="$ac_compile"
16534 case "(($ac_try" in
16535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16536 *) ac_try_echo=$ac_try;;
16537 esac
16538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16539 (eval "$ac_compile") 2>conftest.er1
16540 ac_status=$?
16541 grep -v '^ *+' conftest.er1 >conftest.err
16542 rm -f conftest.er1
16543 cat conftest.err >&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); } && {
16546 test -z "$ac_c_werror_flag" ||
16547 test ! -s conftest.err
16548 } && test -s conftest.$ac_objext; then
16549 ac_cv_c_const=yes
16550 else
16551 echo "$as_me: failed program was:" >&5
16552 sed 's/^/| /' conftest.$ac_ext >&5
16554 ac_cv_c_const=no
16557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16559 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16560 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16561 if test $ac_cv_c_const = no; then
16563 cat >>confdefs.h <<\_ACEOF
16564 #define const
16565 _ACEOF
16569 { echo "$as_me:$LINENO: checking for inline" >&5
16570 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16571 if test "${ac_cv_c_inline+set}" = set; then
16572 echo $ECHO_N "(cached) $ECHO_C" >&6
16573 else
16574 ac_cv_c_inline=no
16575 for ac_kw in inline __inline__ __inline; do
16576 cat >conftest.$ac_ext <<_ACEOF
16577 /* confdefs.h. */
16578 _ACEOF
16579 cat confdefs.h >>conftest.$ac_ext
16580 cat >>conftest.$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16582 #ifndef __cplusplus
16583 typedef int foo_t;
16584 static $ac_kw foo_t static_foo () {return 0; }
16585 $ac_kw foo_t foo () {return 0; }
16586 #endif
16588 _ACEOF
16589 rm -f conftest.$ac_objext
16590 if { (ac_try="$ac_compile"
16591 case "(($ac_try" in
16592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16593 *) ac_try_echo=$ac_try;;
16594 esac
16595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16596 (eval "$ac_compile") 2>conftest.er1
16597 ac_status=$?
16598 grep -v '^ *+' conftest.er1 >conftest.err
16599 rm -f conftest.er1
16600 cat conftest.err >&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); } && {
16603 test -z "$ac_c_werror_flag" ||
16604 test ! -s conftest.err
16605 } && test -s conftest.$ac_objext; then
16606 ac_cv_c_inline=$ac_kw
16607 else
16608 echo "$as_me: failed program was:" >&5
16609 sed 's/^/| /' conftest.$ac_ext >&5
16614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16615 test "$ac_cv_c_inline" != no && break
16616 done
16619 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16620 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16623 case $ac_cv_c_inline in
16624 inline | yes) ;;
16626 case $ac_cv_c_inline in
16627 no) ac_val=;;
16628 *) ac_val=$ac_cv_c_inline;;
16629 esac
16630 cat >>confdefs.h <<_ACEOF
16631 #ifndef __cplusplus
16632 #define inline $ac_val
16633 #endif
16634 _ACEOF
16636 esac
16638 { echo "$as_me:$LINENO: checking for mode_t" >&5
16639 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16640 if test "${ac_cv_type_mode_t+set}" = set; then
16641 echo $ECHO_N "(cached) $ECHO_C" >&6
16642 else
16643 cat >conftest.$ac_ext <<_ACEOF
16644 /* confdefs.h. */
16645 _ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16649 $ac_includes_default
16650 typedef mode_t ac__type_new_;
16652 main ()
16654 if ((ac__type_new_ *) 0)
16655 return 0;
16656 if (sizeof (ac__type_new_))
16657 return 0;
16659 return 0;
16661 _ACEOF
16662 rm -f conftest.$ac_objext
16663 if { (ac_try="$ac_compile"
16664 case "(($ac_try" in
16665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16666 *) ac_try_echo=$ac_try;;
16667 esac
16668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16669 (eval "$ac_compile") 2>conftest.er1
16670 ac_status=$?
16671 grep -v '^ *+' conftest.er1 >conftest.err
16672 rm -f conftest.er1
16673 cat conftest.err >&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } && {
16676 test -z "$ac_c_werror_flag" ||
16677 test ! -s conftest.err
16678 } && test -s conftest.$ac_objext; then
16679 ac_cv_type_mode_t=yes
16680 else
16681 echo "$as_me: failed program was:" >&5
16682 sed 's/^/| /' conftest.$ac_ext >&5
16684 ac_cv_type_mode_t=no
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16689 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16690 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16691 if test $ac_cv_type_mode_t = yes; then
16693 cat >>confdefs.h <<_ACEOF
16694 #define HAVE_MODE_T 1
16695 _ACEOF
16699 { echo "$as_me:$LINENO: checking for off_t" >&5
16700 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16701 if test "${ac_cv_type_off_t+set}" = set; then
16702 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 else
16704 cat >conftest.$ac_ext <<_ACEOF
16705 /* confdefs.h. */
16706 _ACEOF
16707 cat confdefs.h >>conftest.$ac_ext
16708 cat >>conftest.$ac_ext <<_ACEOF
16709 /* end confdefs.h. */
16710 $ac_includes_default
16711 typedef off_t ac__type_new_;
16713 main ()
16715 if ((ac__type_new_ *) 0)
16716 return 0;
16717 if (sizeof (ac__type_new_))
16718 return 0;
16720 return 0;
16722 _ACEOF
16723 rm -f conftest.$ac_objext
16724 if { (ac_try="$ac_compile"
16725 case "(($ac_try" in
16726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16727 *) ac_try_echo=$ac_try;;
16728 esac
16729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16730 (eval "$ac_compile") 2>conftest.er1
16731 ac_status=$?
16732 grep -v '^ *+' conftest.er1 >conftest.err
16733 rm -f conftest.er1
16734 cat conftest.err >&5
16735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); } && {
16737 test -z "$ac_c_werror_flag" ||
16738 test ! -s conftest.err
16739 } && test -s conftest.$ac_objext; then
16740 ac_cv_type_off_t=yes
16741 else
16742 echo "$as_me: failed program was:" >&5
16743 sed 's/^/| /' conftest.$ac_ext >&5
16745 ac_cv_type_off_t=no
16748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16750 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16751 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16752 if test $ac_cv_type_off_t = yes; then
16754 cat >>confdefs.h <<_ACEOF
16755 #define HAVE_OFF_T 1
16756 _ACEOF
16760 { echo "$as_me:$LINENO: checking for pid_t" >&5
16761 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16762 if test "${ac_cv_type_pid_t+set}" = set; then
16763 echo $ECHO_N "(cached) $ECHO_C" >&6
16764 else
16765 cat >conftest.$ac_ext <<_ACEOF
16766 /* confdefs.h. */
16767 _ACEOF
16768 cat confdefs.h >>conftest.$ac_ext
16769 cat >>conftest.$ac_ext <<_ACEOF
16770 /* end confdefs.h. */
16771 $ac_includes_default
16772 typedef pid_t ac__type_new_;
16774 main ()
16776 if ((ac__type_new_ *) 0)
16777 return 0;
16778 if (sizeof (ac__type_new_))
16779 return 0;
16781 return 0;
16783 _ACEOF
16784 rm -f conftest.$ac_objext
16785 if { (ac_try="$ac_compile"
16786 case "(($ac_try" in
16787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16788 *) ac_try_echo=$ac_try;;
16789 esac
16790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16791 (eval "$ac_compile") 2>conftest.er1
16792 ac_status=$?
16793 grep -v '^ *+' conftest.er1 >conftest.err
16794 rm -f conftest.er1
16795 cat conftest.err >&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); } && {
16798 test -z "$ac_c_werror_flag" ||
16799 test ! -s conftest.err
16800 } && test -s conftest.$ac_objext; then
16801 ac_cv_type_pid_t=yes
16802 else
16803 echo "$as_me: failed program was:" >&5
16804 sed 's/^/| /' conftest.$ac_ext >&5
16806 ac_cv_type_pid_t=no
16809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16811 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16812 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16813 if test $ac_cv_type_pid_t = yes; then
16815 cat >>confdefs.h <<_ACEOF
16816 #define HAVE_PID_T 1
16817 _ACEOF
16821 { echo "$as_me:$LINENO: checking for size_t" >&5
16822 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16823 if test "${ac_cv_type_size_t+set}" = set; then
16824 echo $ECHO_N "(cached) $ECHO_C" >&6
16825 else
16826 cat >conftest.$ac_ext <<_ACEOF
16827 /* confdefs.h. */
16828 _ACEOF
16829 cat confdefs.h >>conftest.$ac_ext
16830 cat >>conftest.$ac_ext <<_ACEOF
16831 /* end confdefs.h. */
16832 $ac_includes_default
16833 typedef size_t ac__type_new_;
16835 main ()
16837 if ((ac__type_new_ *) 0)
16838 return 0;
16839 if (sizeof (ac__type_new_))
16840 return 0;
16842 return 0;
16844 _ACEOF
16845 rm -f conftest.$ac_objext
16846 if { (ac_try="$ac_compile"
16847 case "(($ac_try" in
16848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16849 *) ac_try_echo=$ac_try;;
16850 esac
16851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16852 (eval "$ac_compile") 2>conftest.er1
16853 ac_status=$?
16854 grep -v '^ *+' conftest.er1 >conftest.err
16855 rm -f conftest.er1
16856 cat conftest.err >&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } && {
16859 test -z "$ac_c_werror_flag" ||
16860 test ! -s conftest.err
16861 } && test -s conftest.$ac_objext; then
16862 ac_cv_type_size_t=yes
16863 else
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16867 ac_cv_type_size_t=no
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16872 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16873 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16874 if test $ac_cv_type_size_t = yes; then
16876 cat >>confdefs.h <<_ACEOF
16877 #define HAVE_SIZE_T 1
16878 _ACEOF
16882 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16883 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16884 if test "${ac_cv_type_ssize_t+set}" = set; then
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
16886 else
16887 cat >conftest.$ac_ext <<_ACEOF
16888 /* confdefs.h. */
16889 _ACEOF
16890 cat confdefs.h >>conftest.$ac_ext
16891 cat >>conftest.$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16893 $ac_includes_default
16894 typedef ssize_t ac__type_new_;
16896 main ()
16898 if ((ac__type_new_ *) 0)
16899 return 0;
16900 if (sizeof (ac__type_new_))
16901 return 0;
16903 return 0;
16905 _ACEOF
16906 rm -f conftest.$ac_objext
16907 if { (ac_try="$ac_compile"
16908 case "(($ac_try" in
16909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16910 *) ac_try_echo=$ac_try;;
16911 esac
16912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16913 (eval "$ac_compile") 2>conftest.er1
16914 ac_status=$?
16915 grep -v '^ *+' conftest.er1 >conftest.err
16916 rm -f conftest.er1
16917 cat conftest.err >&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } && {
16920 test -z "$ac_c_werror_flag" ||
16921 test ! -s conftest.err
16922 } && test -s conftest.$ac_objext; then
16923 ac_cv_type_ssize_t=yes
16924 else
16925 echo "$as_me: failed program was:" >&5
16926 sed 's/^/| /' conftest.$ac_ext >&5
16928 ac_cv_type_ssize_t=no
16931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16933 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16934 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16935 if test $ac_cv_type_ssize_t = yes; then
16937 cat >>confdefs.h <<_ACEOF
16938 #define HAVE_SSIZE_T 1
16939 _ACEOF
16943 { echo "$as_me:$LINENO: checking for long long" >&5
16944 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16945 if test "${ac_cv_type_long_long+set}" = set; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16947 else
16948 cat >conftest.$ac_ext <<_ACEOF
16949 /* confdefs.h. */
16950 _ACEOF
16951 cat confdefs.h >>conftest.$ac_ext
16952 cat >>conftest.$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16954 $ac_includes_default
16955 typedef long long ac__type_new_;
16957 main ()
16959 if ((ac__type_new_ *) 0)
16960 return 0;
16961 if (sizeof (ac__type_new_))
16962 return 0;
16964 return 0;
16966 _ACEOF
16967 rm -f conftest.$ac_objext
16968 if { (ac_try="$ac_compile"
16969 case "(($ac_try" in
16970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16971 *) ac_try_echo=$ac_try;;
16972 esac
16973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16974 (eval "$ac_compile") 2>conftest.er1
16975 ac_status=$?
16976 grep -v '^ *+' conftest.er1 >conftest.err
16977 rm -f conftest.er1
16978 cat conftest.err >&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); } && {
16981 test -z "$ac_c_werror_flag" ||
16982 test ! -s conftest.err
16983 } && test -s conftest.$ac_objext; then
16984 ac_cv_type_long_long=yes
16985 else
16986 echo "$as_me: failed program was:" >&5
16987 sed 's/^/| /' conftest.$ac_ext >&5
16989 ac_cv_type_long_long=no
16992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16994 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16995 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16996 if test $ac_cv_type_long_long = yes; then
16998 cat >>confdefs.h <<_ACEOF
16999 #define HAVE_LONG_LONG 1
17000 _ACEOF
17004 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17005 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17006 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17007 echo $ECHO_N "(cached) $ECHO_C" >&6
17008 else
17009 cat >conftest.$ac_ext <<_ACEOF
17010 /* confdefs.h. */
17011 _ACEOF
17012 cat confdefs.h >>conftest.$ac_ext
17013 cat >>conftest.$ac_ext <<_ACEOF
17014 /* end confdefs.h. */
17015 $ac_includes_default
17016 typedef fsblkcnt_t ac__type_new_;
17018 main ()
17020 if ((ac__type_new_ *) 0)
17021 return 0;
17022 if (sizeof (ac__type_new_))
17023 return 0;
17025 return 0;
17027 _ACEOF
17028 rm -f conftest.$ac_objext
17029 if { (ac_try="$ac_compile"
17030 case "(($ac_try" in
17031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17032 *) ac_try_echo=$ac_try;;
17033 esac
17034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17035 (eval "$ac_compile") 2>conftest.er1
17036 ac_status=$?
17037 grep -v '^ *+' conftest.er1 >conftest.err
17038 rm -f conftest.er1
17039 cat conftest.err >&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); } && {
17042 test -z "$ac_c_werror_flag" ||
17043 test ! -s conftest.err
17044 } && test -s conftest.$ac_objext; then
17045 ac_cv_type_fsblkcnt_t=yes
17046 else
17047 echo "$as_me: failed program was:" >&5
17048 sed 's/^/| /' conftest.$ac_ext >&5
17050 ac_cv_type_fsblkcnt_t=no
17053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17055 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17056 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17057 if test $ac_cv_type_fsblkcnt_t = yes; then
17059 cat >>confdefs.h <<_ACEOF
17060 #define HAVE_FSBLKCNT_T 1
17061 _ACEOF
17065 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17066 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17067 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 else
17070 cat >conftest.$ac_ext <<_ACEOF
17071 /* confdefs.h. */
17072 _ACEOF
17073 cat confdefs.h >>conftest.$ac_ext
17074 cat >>conftest.$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17076 $ac_includes_default
17077 typedef fsfilcnt_t ac__type_new_;
17079 main ()
17081 if ((ac__type_new_ *) 0)
17082 return 0;
17083 if (sizeof (ac__type_new_))
17084 return 0;
17086 return 0;
17088 _ACEOF
17089 rm -f conftest.$ac_objext
17090 if { (ac_try="$ac_compile"
17091 case "(($ac_try" in
17092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17094 esac
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_compile") 2>conftest.er1
17097 ac_status=$?
17098 grep -v '^ *+' conftest.er1 >conftest.err
17099 rm -f conftest.er1
17100 cat conftest.err >&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } && {
17103 test -z "$ac_c_werror_flag" ||
17104 test ! -s conftest.err
17105 } && test -s conftest.$ac_objext; then
17106 ac_cv_type_fsfilcnt_t=yes
17107 else
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17111 ac_cv_type_fsfilcnt_t=no
17114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17116 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17117 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17118 if test $ac_cv_type_fsfilcnt_t = yes; then
17120 cat >>confdefs.h <<_ACEOF
17121 #define HAVE_FSFILCNT_T 1
17122 _ACEOF
17127 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17128 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17129 if test "${ac_cv_type_sigset_t+set}" = set; then
17130 echo $ECHO_N "(cached) $ECHO_C" >&6
17131 else
17132 cat >conftest.$ac_ext <<_ACEOF
17133 /* confdefs.h. */
17134 _ACEOF
17135 cat confdefs.h >>conftest.$ac_ext
17136 cat >>conftest.$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 #include <signal.h>
17140 typedef sigset_t ac__type_new_;
17142 main ()
17144 if ((ac__type_new_ *) 0)
17145 return 0;
17146 if (sizeof (ac__type_new_))
17147 return 0;
17149 return 0;
17151 _ACEOF
17152 rm -f conftest.$ac_objext
17153 if { (ac_try="$ac_compile"
17154 case "(($ac_try" in
17155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17156 *) ac_try_echo=$ac_try;;
17157 esac
17158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17159 (eval "$ac_compile") 2>conftest.er1
17160 ac_status=$?
17161 grep -v '^ *+' conftest.er1 >conftest.err
17162 rm -f conftest.er1
17163 cat conftest.err >&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && {
17166 test -z "$ac_c_werror_flag" ||
17167 test ! -s conftest.err
17168 } && test -s conftest.$ac_objext; then
17169 ac_cv_type_sigset_t=yes
17170 else
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.$ac_ext >&5
17174 ac_cv_type_sigset_t=no
17177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17179 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17180 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17181 if test $ac_cv_type_sigset_t = yes; then
17183 cat >>confdefs.h <<_ACEOF
17184 #define HAVE_SIGSET_T 1
17185 _ACEOF
17190 { echo "$as_me:$LINENO: checking for request_sense" >&5
17191 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17192 if test "${ac_cv_type_request_sense+set}" = set; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17194 else
17195 cat >conftest.$ac_ext <<_ACEOF
17196 /* confdefs.h. */
17197 _ACEOF
17198 cat confdefs.h >>conftest.$ac_ext
17199 cat >>conftest.$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17201 #include <linux/cdrom.h>
17203 typedef request_sense ac__type_new_;
17205 main ()
17207 if ((ac__type_new_ *) 0)
17208 return 0;
17209 if (sizeof (ac__type_new_))
17210 return 0;
17212 return 0;
17214 _ACEOF
17215 rm -f conftest.$ac_objext
17216 if { (ac_try="$ac_compile"
17217 case "(($ac_try" in
17218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17219 *) ac_try_echo=$ac_try;;
17220 esac
17221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17222 (eval "$ac_compile") 2>conftest.er1
17223 ac_status=$?
17224 grep -v '^ *+' conftest.er1 >conftest.err
17225 rm -f conftest.er1
17226 cat conftest.err >&5
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); } && {
17229 test -z "$ac_c_werror_flag" ||
17230 test ! -s conftest.err
17231 } && test -s conftest.$ac_objext; then
17232 ac_cv_type_request_sense=yes
17233 else
17234 echo "$as_me: failed program was:" >&5
17235 sed 's/^/| /' conftest.$ac_ext >&5
17237 ac_cv_type_request_sense=no
17240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17242 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17243 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17244 if test $ac_cv_type_request_sense = yes; then
17246 cat >>confdefs.h <<_ACEOF
17247 #define HAVE_REQUEST_SENSE 1
17248 _ACEOF
17254 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17255 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17256 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17257 echo $ECHO_N "(cached) $ECHO_C" >&6
17258 else
17259 cat >conftest.$ac_ext <<_ACEOF
17260 /* confdefs.h. */
17261 _ACEOF
17262 cat confdefs.h >>conftest.$ac_ext
17263 cat >>conftest.$ac_ext <<_ACEOF
17264 /* end confdefs.h. */
17265 #ifdef HAVE_LINUX_INPUT_H
17266 #include <linux/input.h>
17267 #endif
17270 main ()
17272 static struct ff_effect ac_aggr;
17273 if (ac_aggr.direction)
17274 return 0;
17276 return 0;
17278 _ACEOF
17279 rm -f conftest.$ac_objext
17280 if { (ac_try="$ac_compile"
17281 case "(($ac_try" in
17282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17283 *) ac_try_echo=$ac_try;;
17284 esac
17285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17286 (eval "$ac_compile") 2>conftest.er1
17287 ac_status=$?
17288 grep -v '^ *+' conftest.er1 >conftest.err
17289 rm -f conftest.er1
17290 cat conftest.err >&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); } && {
17293 test -z "$ac_c_werror_flag" ||
17294 test ! -s conftest.err
17295 } && test -s conftest.$ac_objext; then
17296 ac_cv_member_struct_ff_effect_direction=yes
17297 else
17298 echo "$as_me: failed program was:" >&5
17299 sed 's/^/| /' conftest.$ac_ext >&5
17301 cat >conftest.$ac_ext <<_ACEOF
17302 /* confdefs.h. */
17303 _ACEOF
17304 cat confdefs.h >>conftest.$ac_ext
17305 cat >>conftest.$ac_ext <<_ACEOF
17306 /* end confdefs.h. */
17307 #ifdef HAVE_LINUX_INPUT_H
17308 #include <linux/input.h>
17309 #endif
17312 main ()
17314 static struct ff_effect ac_aggr;
17315 if (sizeof ac_aggr.direction)
17316 return 0;
17318 return 0;
17320 _ACEOF
17321 rm -f conftest.$ac_objext
17322 if { (ac_try="$ac_compile"
17323 case "(($ac_try" in
17324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17325 *) ac_try_echo=$ac_try;;
17326 esac
17327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17328 (eval "$ac_compile") 2>conftest.er1
17329 ac_status=$?
17330 grep -v '^ *+' conftest.er1 >conftest.err
17331 rm -f conftest.er1
17332 cat conftest.err >&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); } && {
17335 test -z "$ac_c_werror_flag" ||
17336 test ! -s conftest.err
17337 } && test -s conftest.$ac_objext; then
17338 ac_cv_member_struct_ff_effect_direction=yes
17339 else
17340 echo "$as_me: failed program was:" >&5
17341 sed 's/^/| /' conftest.$ac_ext >&5
17343 ac_cv_member_struct_ff_effect_direction=no
17346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17351 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17352 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17353 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17355 cat >>confdefs.h <<_ACEOF
17356 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17357 _ACEOF
17363 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17364 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17365 if test "${wine_cv_have_sigaddset+set}" = set; then
17366 echo $ECHO_N "(cached) $ECHO_C" >&6
17367 else
17368 cat >conftest.$ac_ext <<_ACEOF
17369 /* confdefs.h. */
17370 _ACEOF
17371 cat confdefs.h >>conftest.$ac_ext
17372 cat >>conftest.$ac_ext <<_ACEOF
17373 /* end confdefs.h. */
17374 #include <signal.h>
17376 main ()
17378 sigset_t set; sigaddset(&set,SIGTERM);
17380 return 0;
17382 _ACEOF
17383 rm -f conftest.$ac_objext conftest$ac_exeext
17384 if { (ac_try="$ac_link"
17385 case "(($ac_try" in
17386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17387 *) ac_try_echo=$ac_try;;
17388 esac
17389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17390 (eval "$ac_link") 2>conftest.er1
17391 ac_status=$?
17392 grep -v '^ *+' conftest.er1 >conftest.err
17393 rm -f conftest.er1
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } && {
17397 test -z "$ac_c_werror_flag" ||
17398 test ! -s conftest.err
17399 } && test -s conftest$ac_exeext &&
17400 $as_test_x conftest$ac_exeext; then
17401 wine_cv_have_sigaddset=yes
17402 else
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17406 wine_cv_have_sigaddset=no
17409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17410 conftest$ac_exeext conftest.$ac_ext
17412 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17413 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17414 if test "$wine_cv_have_sigaddset" = "yes"
17415 then
17417 cat >>confdefs.h <<\_ACEOF
17418 #define HAVE_SIGADDSET 1
17419 _ACEOF
17424 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17425 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17426 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 else
17429 cat >conftest.$ac_ext <<_ACEOF
17430 /* confdefs.h. */
17431 _ACEOF
17432 cat confdefs.h >>conftest.$ac_ext
17433 cat >>conftest.$ac_ext <<_ACEOF
17434 /* end confdefs.h. */
17435 #include <netdb.h>
17437 main ()
17440 char *name=NULL;
17441 struct hostent he;
17442 struct hostent *result;
17443 char *buf=NULL;
17444 int bufsize=0;
17445 int res,errnr;
17446 char *addr=NULL;
17447 int addrlen=0;
17448 int addrtype=0;
17449 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17450 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17453 return 0;
17455 _ACEOF
17456 rm -f conftest.$ac_objext conftest$ac_exeext
17457 if { (ac_try="$ac_link"
17458 case "(($ac_try" in
17459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17460 *) ac_try_echo=$ac_try;;
17461 esac
17462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17463 (eval "$ac_link") 2>conftest.er1
17464 ac_status=$?
17465 grep -v '^ *+' conftest.er1 >conftest.err
17466 rm -f conftest.er1
17467 cat conftest.err >&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } && {
17470 test -z "$ac_c_werror_flag" ||
17471 test ! -s conftest.err
17472 } && test -s conftest$ac_exeext &&
17473 $as_test_x conftest$ac_exeext; then
17474 wine_cv_linux_gethostbyname_r_6=yes
17475 else
17476 echo "$as_me: failed program was:" >&5
17477 sed 's/^/| /' conftest.$ac_ext >&5
17479 wine_cv_linux_gethostbyname_r_6=no
17483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17484 conftest$ac_exeext conftest.$ac_ext
17487 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17488 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17489 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17490 then
17492 cat >>confdefs.h <<\_ACEOF
17493 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17494 _ACEOF
17498 if test "$ac_cv_header_linux_joystick_h" = "yes"
17499 then
17500 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17501 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17502 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17503 echo $ECHO_N "(cached) $ECHO_C" >&6
17504 else
17505 cat >conftest.$ac_ext <<_ACEOF
17506 /* confdefs.h. */
17507 _ACEOF
17508 cat confdefs.h >>conftest.$ac_ext
17509 cat >>conftest.$ac_ext <<_ACEOF
17510 /* end confdefs.h. */
17512 #include <sys/ioctl.h>
17513 #include <sys/types.h>
17514 #include <linux/joystick.h>
17516 struct js_event blub;
17517 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17518 #error "no 2.2 header"
17519 #endif
17522 main ()
17524 /*empty*/
17526 return 0;
17528 _ACEOF
17529 rm -f conftest.$ac_objext
17530 if { (ac_try="$ac_compile"
17531 case "(($ac_try" in
17532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17533 *) ac_try_echo=$ac_try;;
17534 esac
17535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17536 (eval "$ac_compile") 2>conftest.er1
17537 ac_status=$?
17538 grep -v '^ *+' conftest.er1 >conftest.err
17539 rm -f conftest.er1
17540 cat conftest.err >&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } && {
17543 test -z "$ac_c_werror_flag" ||
17544 test ! -s conftest.err
17545 } && test -s conftest.$ac_objext; then
17546 wine_cv_linux_joystick_22_api=yes
17547 else
17548 echo "$as_me: failed program was:" >&5
17549 sed 's/^/| /' conftest.$ac_ext >&5
17551 wine_cv_linux_joystick_22_api=no
17554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17557 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17558 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17559 if test "$wine_cv_linux_joystick_22_api" = "yes"
17560 then
17562 cat >>confdefs.h <<\_ACEOF
17563 #define HAVE_LINUX_22_JOYSTICK_API 1
17564 _ACEOF
17570 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17571 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17572 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17573 echo $ECHO_N "(cached) $ECHO_C" >&6
17574 else
17575 cat >conftest.$ac_ext <<_ACEOF
17576 /* confdefs.h. */
17577 _ACEOF
17578 cat confdefs.h >>conftest.$ac_ext
17579 cat >>conftest.$ac_ext <<_ACEOF
17580 /* end confdefs.h. */
17581 #include <sys/types.h>
17582 #ifdef HAVE_SYS_PARAM_H
17583 # include <sys/param.h>
17584 #endif
17585 #ifdef HAVE_SYS_MOUNT_H
17586 # include <sys/mount.h>
17587 #endif
17588 #ifdef HAVE_SYS_VFS_H
17589 # include <sys/vfs.h>
17590 #endif
17591 #ifdef HAVE_SYS_STATFS_H
17592 # include <sys/statfs.h>
17593 #endif
17596 main ()
17598 static struct statfs ac_aggr;
17599 if (ac_aggr.f_bfree)
17600 return 0;
17602 return 0;
17604 _ACEOF
17605 rm -f conftest.$ac_objext
17606 if { (ac_try="$ac_compile"
17607 case "(($ac_try" in
17608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17609 *) ac_try_echo=$ac_try;;
17610 esac
17611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17612 (eval "$ac_compile") 2>conftest.er1
17613 ac_status=$?
17614 grep -v '^ *+' conftest.er1 >conftest.err
17615 rm -f conftest.er1
17616 cat conftest.err >&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); } && {
17619 test -z "$ac_c_werror_flag" ||
17620 test ! -s conftest.err
17621 } && test -s conftest.$ac_objext; then
17622 ac_cv_member_struct_statfs_f_bfree=yes
17623 else
17624 echo "$as_me: failed program was:" >&5
17625 sed 's/^/| /' conftest.$ac_ext >&5
17627 cat >conftest.$ac_ext <<_ACEOF
17628 /* confdefs.h. */
17629 _ACEOF
17630 cat confdefs.h >>conftest.$ac_ext
17631 cat >>conftest.$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17633 #include <sys/types.h>
17634 #ifdef HAVE_SYS_PARAM_H
17635 # include <sys/param.h>
17636 #endif
17637 #ifdef HAVE_SYS_MOUNT_H
17638 # include <sys/mount.h>
17639 #endif
17640 #ifdef HAVE_SYS_VFS_H
17641 # include <sys/vfs.h>
17642 #endif
17643 #ifdef HAVE_SYS_STATFS_H
17644 # include <sys/statfs.h>
17645 #endif
17648 main ()
17650 static struct statfs ac_aggr;
17651 if (sizeof ac_aggr.f_bfree)
17652 return 0;
17654 return 0;
17656 _ACEOF
17657 rm -f conftest.$ac_objext
17658 if { (ac_try="$ac_compile"
17659 case "(($ac_try" in
17660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17661 *) ac_try_echo=$ac_try;;
17662 esac
17663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17664 (eval "$ac_compile") 2>conftest.er1
17665 ac_status=$?
17666 grep -v '^ *+' conftest.er1 >conftest.err
17667 rm -f conftest.er1
17668 cat conftest.err >&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); } && {
17671 test -z "$ac_c_werror_flag" ||
17672 test ! -s conftest.err
17673 } && test -s conftest.$ac_objext; then
17674 ac_cv_member_struct_statfs_f_bfree=yes
17675 else
17676 echo "$as_me: failed program was:" >&5
17677 sed 's/^/| /' conftest.$ac_ext >&5
17679 ac_cv_member_struct_statfs_f_bfree=no
17682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17687 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17688 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17689 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17691 cat >>confdefs.h <<_ACEOF
17692 #define HAVE_STRUCT_STATFS_F_BFREE 1
17693 _ACEOF
17697 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17698 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17699 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17700 echo $ECHO_N "(cached) $ECHO_C" >&6
17701 else
17702 cat >conftest.$ac_ext <<_ACEOF
17703 /* confdefs.h. */
17704 _ACEOF
17705 cat confdefs.h >>conftest.$ac_ext
17706 cat >>conftest.$ac_ext <<_ACEOF
17707 /* end confdefs.h. */
17708 #include <sys/types.h>
17709 #ifdef HAVE_SYS_PARAM_H
17710 # include <sys/param.h>
17711 #endif
17712 #ifdef HAVE_SYS_MOUNT_H
17713 # include <sys/mount.h>
17714 #endif
17715 #ifdef HAVE_SYS_VFS_H
17716 # include <sys/vfs.h>
17717 #endif
17718 #ifdef HAVE_SYS_STATFS_H
17719 # include <sys/statfs.h>
17720 #endif
17723 main ()
17725 static struct statfs ac_aggr;
17726 if (ac_aggr.f_bavail)
17727 return 0;
17729 return 0;
17731 _ACEOF
17732 rm -f conftest.$ac_objext
17733 if { (ac_try="$ac_compile"
17734 case "(($ac_try" in
17735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17736 *) ac_try_echo=$ac_try;;
17737 esac
17738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17739 (eval "$ac_compile") 2>conftest.er1
17740 ac_status=$?
17741 grep -v '^ *+' conftest.er1 >conftest.err
17742 rm -f conftest.er1
17743 cat conftest.err >&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); } && {
17746 test -z "$ac_c_werror_flag" ||
17747 test ! -s conftest.err
17748 } && test -s conftest.$ac_objext; then
17749 ac_cv_member_struct_statfs_f_bavail=yes
17750 else
17751 echo "$as_me: failed program was:" >&5
17752 sed 's/^/| /' conftest.$ac_ext >&5
17754 cat >conftest.$ac_ext <<_ACEOF
17755 /* confdefs.h. */
17756 _ACEOF
17757 cat confdefs.h >>conftest.$ac_ext
17758 cat >>conftest.$ac_ext <<_ACEOF
17759 /* end confdefs.h. */
17760 #include <sys/types.h>
17761 #ifdef HAVE_SYS_PARAM_H
17762 # include <sys/param.h>
17763 #endif
17764 #ifdef HAVE_SYS_MOUNT_H
17765 # include <sys/mount.h>
17766 #endif
17767 #ifdef HAVE_SYS_VFS_H
17768 # include <sys/vfs.h>
17769 #endif
17770 #ifdef HAVE_SYS_STATFS_H
17771 # include <sys/statfs.h>
17772 #endif
17775 main ()
17777 static struct statfs ac_aggr;
17778 if (sizeof ac_aggr.f_bavail)
17779 return 0;
17781 return 0;
17783 _ACEOF
17784 rm -f conftest.$ac_objext
17785 if { (ac_try="$ac_compile"
17786 case "(($ac_try" in
17787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17788 *) ac_try_echo=$ac_try;;
17789 esac
17790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17791 (eval "$ac_compile") 2>conftest.er1
17792 ac_status=$?
17793 grep -v '^ *+' conftest.er1 >conftest.err
17794 rm -f conftest.er1
17795 cat conftest.err >&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); } && {
17798 test -z "$ac_c_werror_flag" ||
17799 test ! -s conftest.err
17800 } && test -s conftest.$ac_objext; then
17801 ac_cv_member_struct_statfs_f_bavail=yes
17802 else
17803 echo "$as_me: failed program was:" >&5
17804 sed 's/^/| /' conftest.$ac_ext >&5
17806 ac_cv_member_struct_statfs_f_bavail=no
17809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17814 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17815 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17816 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17818 cat >>confdefs.h <<_ACEOF
17819 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17820 _ACEOF
17824 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17825 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17826 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17827 echo $ECHO_N "(cached) $ECHO_C" >&6
17828 else
17829 cat >conftest.$ac_ext <<_ACEOF
17830 /* confdefs.h. */
17831 _ACEOF
17832 cat confdefs.h >>conftest.$ac_ext
17833 cat >>conftest.$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17835 #include <sys/types.h>
17836 #ifdef HAVE_SYS_PARAM_H
17837 # include <sys/param.h>
17838 #endif
17839 #ifdef HAVE_SYS_MOUNT_H
17840 # include <sys/mount.h>
17841 #endif
17842 #ifdef HAVE_SYS_VFS_H
17843 # include <sys/vfs.h>
17844 #endif
17845 #ifdef HAVE_SYS_STATFS_H
17846 # include <sys/statfs.h>
17847 #endif
17850 main ()
17852 static struct statfs ac_aggr;
17853 if (ac_aggr.f_frsize)
17854 return 0;
17856 return 0;
17858 _ACEOF
17859 rm -f conftest.$ac_objext
17860 if { (ac_try="$ac_compile"
17861 case "(($ac_try" in
17862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17863 *) ac_try_echo=$ac_try;;
17864 esac
17865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17866 (eval "$ac_compile") 2>conftest.er1
17867 ac_status=$?
17868 grep -v '^ *+' conftest.er1 >conftest.err
17869 rm -f conftest.er1
17870 cat conftest.err >&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); } && {
17873 test -z "$ac_c_werror_flag" ||
17874 test ! -s conftest.err
17875 } && test -s conftest.$ac_objext; then
17876 ac_cv_member_struct_statfs_f_frsize=yes
17877 else
17878 echo "$as_me: failed program was:" >&5
17879 sed 's/^/| /' conftest.$ac_ext >&5
17881 cat >conftest.$ac_ext <<_ACEOF
17882 /* confdefs.h. */
17883 _ACEOF
17884 cat confdefs.h >>conftest.$ac_ext
17885 cat >>conftest.$ac_ext <<_ACEOF
17886 /* end confdefs.h. */
17887 #include <sys/types.h>
17888 #ifdef HAVE_SYS_PARAM_H
17889 # include <sys/param.h>
17890 #endif
17891 #ifdef HAVE_SYS_MOUNT_H
17892 # include <sys/mount.h>
17893 #endif
17894 #ifdef HAVE_SYS_VFS_H
17895 # include <sys/vfs.h>
17896 #endif
17897 #ifdef HAVE_SYS_STATFS_H
17898 # include <sys/statfs.h>
17899 #endif
17902 main ()
17904 static struct statfs ac_aggr;
17905 if (sizeof ac_aggr.f_frsize)
17906 return 0;
17908 return 0;
17910 _ACEOF
17911 rm -f conftest.$ac_objext
17912 if { (ac_try="$ac_compile"
17913 case "(($ac_try" in
17914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17915 *) ac_try_echo=$ac_try;;
17916 esac
17917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17918 (eval "$ac_compile") 2>conftest.er1
17919 ac_status=$?
17920 grep -v '^ *+' conftest.er1 >conftest.err
17921 rm -f conftest.er1
17922 cat conftest.err >&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); } && {
17925 test -z "$ac_c_werror_flag" ||
17926 test ! -s conftest.err
17927 } && test -s conftest.$ac_objext; then
17928 ac_cv_member_struct_statfs_f_frsize=yes
17929 else
17930 echo "$as_me: failed program was:" >&5
17931 sed 's/^/| /' conftest.$ac_ext >&5
17933 ac_cv_member_struct_statfs_f_frsize=no
17936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17941 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17942 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17943 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17945 cat >>confdefs.h <<_ACEOF
17946 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17947 _ACEOF
17951 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17952 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17953 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17954 echo $ECHO_N "(cached) $ECHO_C" >&6
17955 else
17956 cat >conftest.$ac_ext <<_ACEOF
17957 /* confdefs.h. */
17958 _ACEOF
17959 cat confdefs.h >>conftest.$ac_ext
17960 cat >>conftest.$ac_ext <<_ACEOF
17961 /* end confdefs.h. */
17962 #include <sys/types.h>
17963 #ifdef HAVE_SYS_PARAM_H
17964 # include <sys/param.h>
17965 #endif
17966 #ifdef HAVE_SYS_MOUNT_H
17967 # include <sys/mount.h>
17968 #endif
17969 #ifdef HAVE_SYS_VFS_H
17970 # include <sys/vfs.h>
17971 #endif
17972 #ifdef HAVE_SYS_STATFS_H
17973 # include <sys/statfs.h>
17974 #endif
17977 main ()
17979 static struct statfs ac_aggr;
17980 if (ac_aggr.f_ffree)
17981 return 0;
17983 return 0;
17985 _ACEOF
17986 rm -f conftest.$ac_objext
17987 if { (ac_try="$ac_compile"
17988 case "(($ac_try" in
17989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17990 *) ac_try_echo=$ac_try;;
17991 esac
17992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17993 (eval "$ac_compile") 2>conftest.er1
17994 ac_status=$?
17995 grep -v '^ *+' conftest.er1 >conftest.err
17996 rm -f conftest.er1
17997 cat conftest.err >&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); } && {
18000 test -z "$ac_c_werror_flag" ||
18001 test ! -s conftest.err
18002 } && test -s conftest.$ac_objext; then
18003 ac_cv_member_struct_statfs_f_ffree=yes
18004 else
18005 echo "$as_me: failed program was:" >&5
18006 sed 's/^/| /' conftest.$ac_ext >&5
18008 cat >conftest.$ac_ext <<_ACEOF
18009 /* confdefs.h. */
18010 _ACEOF
18011 cat confdefs.h >>conftest.$ac_ext
18012 cat >>conftest.$ac_ext <<_ACEOF
18013 /* end confdefs.h. */
18014 #include <sys/types.h>
18015 #ifdef HAVE_SYS_PARAM_H
18016 # include <sys/param.h>
18017 #endif
18018 #ifdef HAVE_SYS_MOUNT_H
18019 # include <sys/mount.h>
18020 #endif
18021 #ifdef HAVE_SYS_VFS_H
18022 # include <sys/vfs.h>
18023 #endif
18024 #ifdef HAVE_SYS_STATFS_H
18025 # include <sys/statfs.h>
18026 #endif
18029 main ()
18031 static struct statfs ac_aggr;
18032 if (sizeof ac_aggr.f_ffree)
18033 return 0;
18035 return 0;
18037 _ACEOF
18038 rm -f conftest.$ac_objext
18039 if { (ac_try="$ac_compile"
18040 case "(($ac_try" in
18041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18042 *) ac_try_echo=$ac_try;;
18043 esac
18044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18045 (eval "$ac_compile") 2>conftest.er1
18046 ac_status=$?
18047 grep -v '^ *+' conftest.er1 >conftest.err
18048 rm -f conftest.er1
18049 cat conftest.err >&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } && {
18052 test -z "$ac_c_werror_flag" ||
18053 test ! -s conftest.err
18054 } && test -s conftest.$ac_objext; then
18055 ac_cv_member_struct_statfs_f_ffree=yes
18056 else
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.$ac_ext >&5
18060 ac_cv_member_struct_statfs_f_ffree=no
18063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18068 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18069 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18070 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18072 cat >>confdefs.h <<_ACEOF
18073 #define HAVE_STRUCT_STATFS_F_FFREE 1
18074 _ACEOF
18078 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18079 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18080 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18081 echo $ECHO_N "(cached) $ECHO_C" >&6
18082 else
18083 cat >conftest.$ac_ext <<_ACEOF
18084 /* confdefs.h. */
18085 _ACEOF
18086 cat confdefs.h >>conftest.$ac_ext
18087 cat >>conftest.$ac_ext <<_ACEOF
18088 /* end confdefs.h. */
18089 #include <sys/types.h>
18090 #ifdef HAVE_SYS_PARAM_H
18091 # include <sys/param.h>
18092 #endif
18093 #ifdef HAVE_SYS_MOUNT_H
18094 # include <sys/mount.h>
18095 #endif
18096 #ifdef HAVE_SYS_VFS_H
18097 # include <sys/vfs.h>
18098 #endif
18099 #ifdef HAVE_SYS_STATFS_H
18100 # include <sys/statfs.h>
18101 #endif
18104 main ()
18106 static struct statfs ac_aggr;
18107 if (ac_aggr.f_favail)
18108 return 0;
18110 return 0;
18112 _ACEOF
18113 rm -f conftest.$ac_objext
18114 if { (ac_try="$ac_compile"
18115 case "(($ac_try" in
18116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18117 *) ac_try_echo=$ac_try;;
18118 esac
18119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18120 (eval "$ac_compile") 2>conftest.er1
18121 ac_status=$?
18122 grep -v '^ *+' conftest.er1 >conftest.err
18123 rm -f conftest.er1
18124 cat conftest.err >&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } && {
18127 test -z "$ac_c_werror_flag" ||
18128 test ! -s conftest.err
18129 } && test -s conftest.$ac_objext; then
18130 ac_cv_member_struct_statfs_f_favail=yes
18131 else
18132 echo "$as_me: failed program was:" >&5
18133 sed 's/^/| /' conftest.$ac_ext >&5
18135 cat >conftest.$ac_ext <<_ACEOF
18136 /* confdefs.h. */
18137 _ACEOF
18138 cat confdefs.h >>conftest.$ac_ext
18139 cat >>conftest.$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18141 #include <sys/types.h>
18142 #ifdef HAVE_SYS_PARAM_H
18143 # include <sys/param.h>
18144 #endif
18145 #ifdef HAVE_SYS_MOUNT_H
18146 # include <sys/mount.h>
18147 #endif
18148 #ifdef HAVE_SYS_VFS_H
18149 # include <sys/vfs.h>
18150 #endif
18151 #ifdef HAVE_SYS_STATFS_H
18152 # include <sys/statfs.h>
18153 #endif
18156 main ()
18158 static struct statfs ac_aggr;
18159 if (sizeof ac_aggr.f_favail)
18160 return 0;
18162 return 0;
18164 _ACEOF
18165 rm -f conftest.$ac_objext
18166 if { (ac_try="$ac_compile"
18167 case "(($ac_try" in
18168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18169 *) ac_try_echo=$ac_try;;
18170 esac
18171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18172 (eval "$ac_compile") 2>conftest.er1
18173 ac_status=$?
18174 grep -v '^ *+' conftest.er1 >conftest.err
18175 rm -f conftest.er1
18176 cat conftest.err >&5
18177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); } && {
18179 test -z "$ac_c_werror_flag" ||
18180 test ! -s conftest.err
18181 } && test -s conftest.$ac_objext; then
18182 ac_cv_member_struct_statfs_f_favail=yes
18183 else
18184 echo "$as_me: failed program was:" >&5
18185 sed 's/^/| /' conftest.$ac_ext >&5
18187 ac_cv_member_struct_statfs_f_favail=no
18190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18195 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18196 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18197 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18199 cat >>confdefs.h <<_ACEOF
18200 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18201 _ACEOF
18205 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18206 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18207 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18208 echo $ECHO_N "(cached) $ECHO_C" >&6
18209 else
18210 cat >conftest.$ac_ext <<_ACEOF
18211 /* confdefs.h. */
18212 _ACEOF
18213 cat confdefs.h >>conftest.$ac_ext
18214 cat >>conftest.$ac_ext <<_ACEOF
18215 /* end confdefs.h. */
18216 #include <sys/types.h>
18217 #ifdef HAVE_SYS_PARAM_H
18218 # include <sys/param.h>
18219 #endif
18220 #ifdef HAVE_SYS_MOUNT_H
18221 # include <sys/mount.h>
18222 #endif
18223 #ifdef HAVE_SYS_VFS_H
18224 # include <sys/vfs.h>
18225 #endif
18226 #ifdef HAVE_SYS_STATFS_H
18227 # include <sys/statfs.h>
18228 #endif
18231 main ()
18233 static struct statfs ac_aggr;
18234 if (ac_aggr.f_namelen)
18235 return 0;
18237 return 0;
18239 _ACEOF
18240 rm -f conftest.$ac_objext
18241 if { (ac_try="$ac_compile"
18242 case "(($ac_try" in
18243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18244 *) ac_try_echo=$ac_try;;
18245 esac
18246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18247 (eval "$ac_compile") 2>conftest.er1
18248 ac_status=$?
18249 grep -v '^ *+' conftest.er1 >conftest.err
18250 rm -f conftest.er1
18251 cat conftest.err >&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); } && {
18254 test -z "$ac_c_werror_flag" ||
18255 test ! -s conftest.err
18256 } && test -s conftest.$ac_objext; then
18257 ac_cv_member_struct_statfs_f_namelen=yes
18258 else
18259 echo "$as_me: failed program was:" >&5
18260 sed 's/^/| /' conftest.$ac_ext >&5
18262 cat >conftest.$ac_ext <<_ACEOF
18263 /* confdefs.h. */
18264 _ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18268 #include <sys/types.h>
18269 #ifdef HAVE_SYS_PARAM_H
18270 # include <sys/param.h>
18271 #endif
18272 #ifdef HAVE_SYS_MOUNT_H
18273 # include <sys/mount.h>
18274 #endif
18275 #ifdef HAVE_SYS_VFS_H
18276 # include <sys/vfs.h>
18277 #endif
18278 #ifdef HAVE_SYS_STATFS_H
18279 # include <sys/statfs.h>
18280 #endif
18283 main ()
18285 static struct statfs ac_aggr;
18286 if (sizeof ac_aggr.f_namelen)
18287 return 0;
18289 return 0;
18291 _ACEOF
18292 rm -f conftest.$ac_objext
18293 if { (ac_try="$ac_compile"
18294 case "(($ac_try" in
18295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18296 *) ac_try_echo=$ac_try;;
18297 esac
18298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18299 (eval "$ac_compile") 2>conftest.er1
18300 ac_status=$?
18301 grep -v '^ *+' conftest.er1 >conftest.err
18302 rm -f conftest.er1
18303 cat conftest.err >&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); } && {
18306 test -z "$ac_c_werror_flag" ||
18307 test ! -s conftest.err
18308 } && test -s conftest.$ac_objext; then
18309 ac_cv_member_struct_statfs_f_namelen=yes
18310 else
18311 echo "$as_me: failed program was:" >&5
18312 sed 's/^/| /' conftest.$ac_ext >&5
18314 ac_cv_member_struct_statfs_f_namelen=no
18317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18322 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18323 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18324 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18326 cat >>confdefs.h <<_ACEOF
18327 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18328 _ACEOF
18334 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18335 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18336 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18337 echo $ECHO_N "(cached) $ECHO_C" >&6
18338 else
18339 cat >conftest.$ac_ext <<_ACEOF
18340 /* confdefs.h. */
18341 _ACEOF
18342 cat confdefs.h >>conftest.$ac_ext
18343 cat >>conftest.$ac_ext <<_ACEOF
18344 /* end confdefs.h. */
18345 #ifdef HAVE_SYS_STATVFS_H
18346 #include <sys/statvfs.h>
18347 #endif
18350 main ()
18352 static struct statvfs ac_aggr;
18353 if (ac_aggr.f_blocks)
18354 return 0;
18356 return 0;
18358 _ACEOF
18359 rm -f conftest.$ac_objext
18360 if { (ac_try="$ac_compile"
18361 case "(($ac_try" in
18362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18363 *) ac_try_echo=$ac_try;;
18364 esac
18365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18366 (eval "$ac_compile") 2>conftest.er1
18367 ac_status=$?
18368 grep -v '^ *+' conftest.er1 >conftest.err
18369 rm -f conftest.er1
18370 cat conftest.err >&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); } && {
18373 test -z "$ac_c_werror_flag" ||
18374 test ! -s conftest.err
18375 } && test -s conftest.$ac_objext; then
18376 ac_cv_member_struct_statvfs_f_blocks=yes
18377 else
18378 echo "$as_me: failed program was:" >&5
18379 sed 's/^/| /' conftest.$ac_ext >&5
18381 cat >conftest.$ac_ext <<_ACEOF
18382 /* confdefs.h. */
18383 _ACEOF
18384 cat confdefs.h >>conftest.$ac_ext
18385 cat >>conftest.$ac_ext <<_ACEOF
18386 /* end confdefs.h. */
18387 #ifdef HAVE_SYS_STATVFS_H
18388 #include <sys/statvfs.h>
18389 #endif
18392 main ()
18394 static struct statvfs ac_aggr;
18395 if (sizeof ac_aggr.f_blocks)
18396 return 0;
18398 return 0;
18400 _ACEOF
18401 rm -f conftest.$ac_objext
18402 if { (ac_try="$ac_compile"
18403 case "(($ac_try" in
18404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18405 *) ac_try_echo=$ac_try;;
18406 esac
18407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18408 (eval "$ac_compile") 2>conftest.er1
18409 ac_status=$?
18410 grep -v '^ *+' conftest.er1 >conftest.err
18411 rm -f conftest.er1
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } && {
18415 test -z "$ac_c_werror_flag" ||
18416 test ! -s conftest.err
18417 } && test -s conftest.$ac_objext; then
18418 ac_cv_member_struct_statvfs_f_blocks=yes
18419 else
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.$ac_ext >&5
18423 ac_cv_member_struct_statvfs_f_blocks=no
18426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18431 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18432 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18433 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18435 cat >>confdefs.h <<_ACEOF
18436 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18437 _ACEOF
18443 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18444 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18445 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18446 echo $ECHO_N "(cached) $ECHO_C" >&6
18447 else
18448 cat >conftest.$ac_ext <<_ACEOF
18449 /* confdefs.h. */
18450 _ACEOF
18451 cat confdefs.h >>conftest.$ac_ext
18452 cat >>conftest.$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18454 #include <sys/types.h>
18455 #ifdef HAVE_SYS_SOCKET_H
18456 # include <sys/socket.h>
18457 #endif
18458 #ifdef HAVE_SYS_UN_H
18459 # include <sys/un.h>
18460 #endif
18463 main ()
18465 static struct msghdr ac_aggr;
18466 if (ac_aggr.msg_accrights)
18467 return 0;
18469 return 0;
18471 _ACEOF
18472 rm -f conftest.$ac_objext
18473 if { (ac_try="$ac_compile"
18474 case "(($ac_try" in
18475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18476 *) ac_try_echo=$ac_try;;
18477 esac
18478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18479 (eval "$ac_compile") 2>conftest.er1
18480 ac_status=$?
18481 grep -v '^ *+' conftest.er1 >conftest.err
18482 rm -f conftest.er1
18483 cat conftest.err >&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } && {
18486 test -z "$ac_c_werror_flag" ||
18487 test ! -s conftest.err
18488 } && test -s conftest.$ac_objext; then
18489 ac_cv_member_struct_msghdr_msg_accrights=yes
18490 else
18491 echo "$as_me: failed program was:" >&5
18492 sed 's/^/| /' conftest.$ac_ext >&5
18494 cat >conftest.$ac_ext <<_ACEOF
18495 /* confdefs.h. */
18496 _ACEOF
18497 cat confdefs.h >>conftest.$ac_ext
18498 cat >>conftest.$ac_ext <<_ACEOF
18499 /* end confdefs.h. */
18500 #include <sys/types.h>
18501 #ifdef HAVE_SYS_SOCKET_H
18502 # include <sys/socket.h>
18503 #endif
18504 #ifdef HAVE_SYS_UN_H
18505 # include <sys/un.h>
18506 #endif
18509 main ()
18511 static struct msghdr ac_aggr;
18512 if (sizeof ac_aggr.msg_accrights)
18513 return 0;
18515 return 0;
18517 _ACEOF
18518 rm -f conftest.$ac_objext
18519 if { (ac_try="$ac_compile"
18520 case "(($ac_try" in
18521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18522 *) ac_try_echo=$ac_try;;
18523 esac
18524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18525 (eval "$ac_compile") 2>conftest.er1
18526 ac_status=$?
18527 grep -v '^ *+' conftest.er1 >conftest.err
18528 rm -f conftest.er1
18529 cat conftest.err >&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } && {
18532 test -z "$ac_c_werror_flag" ||
18533 test ! -s conftest.err
18534 } && test -s conftest.$ac_objext; then
18535 ac_cv_member_struct_msghdr_msg_accrights=yes
18536 else
18537 echo "$as_me: failed program was:" >&5
18538 sed 's/^/| /' conftest.$ac_ext >&5
18540 ac_cv_member_struct_msghdr_msg_accrights=no
18543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18548 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18549 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18550 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18552 cat >>confdefs.h <<_ACEOF
18553 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18554 _ACEOF
18558 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18559 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18560 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18561 echo $ECHO_N "(cached) $ECHO_C" >&6
18562 else
18563 cat >conftest.$ac_ext <<_ACEOF
18564 /* confdefs.h. */
18565 _ACEOF
18566 cat confdefs.h >>conftest.$ac_ext
18567 cat >>conftest.$ac_ext <<_ACEOF
18568 /* end confdefs.h. */
18569 #include <sys/types.h>
18570 #ifdef HAVE_SYS_SOCKET_H
18571 # include <sys/socket.h>
18572 #endif
18573 #ifdef HAVE_SYS_UN_H
18574 # include <sys/un.h>
18575 #endif
18578 main ()
18580 static struct sockaddr ac_aggr;
18581 if (ac_aggr.sa_len)
18582 return 0;
18584 return 0;
18586 _ACEOF
18587 rm -f conftest.$ac_objext
18588 if { (ac_try="$ac_compile"
18589 case "(($ac_try" in
18590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18591 *) ac_try_echo=$ac_try;;
18592 esac
18593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18594 (eval "$ac_compile") 2>conftest.er1
18595 ac_status=$?
18596 grep -v '^ *+' conftest.er1 >conftest.err
18597 rm -f conftest.er1
18598 cat conftest.err >&5
18599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600 (exit $ac_status); } && {
18601 test -z "$ac_c_werror_flag" ||
18602 test ! -s conftest.err
18603 } && test -s conftest.$ac_objext; then
18604 ac_cv_member_struct_sockaddr_sa_len=yes
18605 else
18606 echo "$as_me: failed program was:" >&5
18607 sed 's/^/| /' conftest.$ac_ext >&5
18609 cat >conftest.$ac_ext <<_ACEOF
18610 /* confdefs.h. */
18611 _ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 #include <sys/types.h>
18616 #ifdef HAVE_SYS_SOCKET_H
18617 # include <sys/socket.h>
18618 #endif
18619 #ifdef HAVE_SYS_UN_H
18620 # include <sys/un.h>
18621 #endif
18624 main ()
18626 static struct sockaddr ac_aggr;
18627 if (sizeof ac_aggr.sa_len)
18628 return 0;
18630 return 0;
18632 _ACEOF
18633 rm -f conftest.$ac_objext
18634 if { (ac_try="$ac_compile"
18635 case "(($ac_try" in
18636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18637 *) ac_try_echo=$ac_try;;
18638 esac
18639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18640 (eval "$ac_compile") 2>conftest.er1
18641 ac_status=$?
18642 grep -v '^ *+' conftest.er1 >conftest.err
18643 rm -f conftest.er1
18644 cat conftest.err >&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } && {
18647 test -z "$ac_c_werror_flag" ||
18648 test ! -s conftest.err
18649 } && test -s conftest.$ac_objext; then
18650 ac_cv_member_struct_sockaddr_sa_len=yes
18651 else
18652 echo "$as_me: failed program was:" >&5
18653 sed 's/^/| /' conftest.$ac_ext >&5
18655 ac_cv_member_struct_sockaddr_sa_len=no
18658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18663 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18664 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18665 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18667 cat >>confdefs.h <<_ACEOF
18668 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18669 _ACEOF
18673 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18674 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18675 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18676 echo $ECHO_N "(cached) $ECHO_C" >&6
18677 else
18678 cat >conftest.$ac_ext <<_ACEOF
18679 /* confdefs.h. */
18680 _ACEOF
18681 cat confdefs.h >>conftest.$ac_ext
18682 cat >>conftest.$ac_ext <<_ACEOF
18683 /* end confdefs.h. */
18684 #include <sys/types.h>
18685 #ifdef HAVE_SYS_SOCKET_H
18686 # include <sys/socket.h>
18687 #endif
18688 #ifdef HAVE_SYS_UN_H
18689 # include <sys/un.h>
18690 #endif
18693 main ()
18695 static struct sockaddr_un ac_aggr;
18696 if (ac_aggr.sun_len)
18697 return 0;
18699 return 0;
18701 _ACEOF
18702 rm -f conftest.$ac_objext
18703 if { (ac_try="$ac_compile"
18704 case "(($ac_try" in
18705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18706 *) ac_try_echo=$ac_try;;
18707 esac
18708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18709 (eval "$ac_compile") 2>conftest.er1
18710 ac_status=$?
18711 grep -v '^ *+' conftest.er1 >conftest.err
18712 rm -f conftest.er1
18713 cat conftest.err >&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } && {
18716 test -z "$ac_c_werror_flag" ||
18717 test ! -s conftest.err
18718 } && test -s conftest.$ac_objext; then
18719 ac_cv_member_struct_sockaddr_un_sun_len=yes
18720 else
18721 echo "$as_me: failed program was:" >&5
18722 sed 's/^/| /' conftest.$ac_ext >&5
18724 cat >conftest.$ac_ext <<_ACEOF
18725 /* confdefs.h. */
18726 _ACEOF
18727 cat confdefs.h >>conftest.$ac_ext
18728 cat >>conftest.$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18730 #include <sys/types.h>
18731 #ifdef HAVE_SYS_SOCKET_H
18732 # include <sys/socket.h>
18733 #endif
18734 #ifdef HAVE_SYS_UN_H
18735 # include <sys/un.h>
18736 #endif
18739 main ()
18741 static struct sockaddr_un ac_aggr;
18742 if (sizeof ac_aggr.sun_len)
18743 return 0;
18745 return 0;
18747 _ACEOF
18748 rm -f conftest.$ac_objext
18749 if { (ac_try="$ac_compile"
18750 case "(($ac_try" in
18751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18752 *) ac_try_echo=$ac_try;;
18753 esac
18754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18755 (eval "$ac_compile") 2>conftest.er1
18756 ac_status=$?
18757 grep -v '^ *+' conftest.er1 >conftest.err
18758 rm -f conftest.er1
18759 cat conftest.err >&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); } && {
18762 test -z "$ac_c_werror_flag" ||
18763 test ! -s conftest.err
18764 } && test -s conftest.$ac_objext; then
18765 ac_cv_member_struct_sockaddr_un_sun_len=yes
18766 else
18767 echo "$as_me: failed program was:" >&5
18768 sed 's/^/| /' conftest.$ac_ext >&5
18770 ac_cv_member_struct_sockaddr_un_sun_len=no
18773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18778 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18779 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18780 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18782 cat >>confdefs.h <<_ACEOF
18783 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18784 _ACEOF
18790 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18791 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18792 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18793 echo $ECHO_N "(cached) $ECHO_C" >&6
18794 else
18795 cat >conftest.$ac_ext <<_ACEOF
18796 /* confdefs.h. */
18797 _ACEOF
18798 cat confdefs.h >>conftest.$ac_ext
18799 cat >>conftest.$ac_ext <<_ACEOF
18800 /* end confdefs.h. */
18801 #include <sys/types.h>
18802 #ifdef HAVE_SCSI_SG_H
18803 #include <scsi/sg.h>
18804 #endif
18807 main ()
18809 static scsireq_t ac_aggr;
18810 if (ac_aggr.cmd)
18811 return 0;
18813 return 0;
18815 _ACEOF
18816 rm -f conftest.$ac_objext
18817 if { (ac_try="$ac_compile"
18818 case "(($ac_try" in
18819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18820 *) ac_try_echo=$ac_try;;
18821 esac
18822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18823 (eval "$ac_compile") 2>conftest.er1
18824 ac_status=$?
18825 grep -v '^ *+' conftest.er1 >conftest.err
18826 rm -f conftest.er1
18827 cat conftest.err >&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); } && {
18830 test -z "$ac_c_werror_flag" ||
18831 test ! -s conftest.err
18832 } && test -s conftest.$ac_objext; then
18833 ac_cv_member_scsireq_t_cmd=yes
18834 else
18835 echo "$as_me: failed program was:" >&5
18836 sed 's/^/| /' conftest.$ac_ext >&5
18838 cat >conftest.$ac_ext <<_ACEOF
18839 /* confdefs.h. */
18840 _ACEOF
18841 cat confdefs.h >>conftest.$ac_ext
18842 cat >>conftest.$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18844 #include <sys/types.h>
18845 #ifdef HAVE_SCSI_SG_H
18846 #include <scsi/sg.h>
18847 #endif
18850 main ()
18852 static scsireq_t ac_aggr;
18853 if (sizeof ac_aggr.cmd)
18854 return 0;
18856 return 0;
18858 _ACEOF
18859 rm -f conftest.$ac_objext
18860 if { (ac_try="$ac_compile"
18861 case "(($ac_try" in
18862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18863 *) ac_try_echo=$ac_try;;
18864 esac
18865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18866 (eval "$ac_compile") 2>conftest.er1
18867 ac_status=$?
18868 grep -v '^ *+' conftest.er1 >conftest.err
18869 rm -f conftest.er1
18870 cat conftest.err >&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); } && {
18873 test -z "$ac_c_werror_flag" ||
18874 test ! -s conftest.err
18875 } && test -s conftest.$ac_objext; then
18876 ac_cv_member_scsireq_t_cmd=yes
18877 else
18878 echo "$as_me: failed program was:" >&5
18879 sed 's/^/| /' conftest.$ac_ext >&5
18881 ac_cv_member_scsireq_t_cmd=no
18884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18889 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18890 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18891 if test $ac_cv_member_scsireq_t_cmd = yes; then
18893 cat >>confdefs.h <<_ACEOF
18894 #define HAVE_SCSIREQ_T_CMD 1
18895 _ACEOF
18899 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18900 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18901 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18902 echo $ECHO_N "(cached) $ECHO_C" >&6
18903 else
18904 cat >conftest.$ac_ext <<_ACEOF
18905 /* confdefs.h. */
18906 _ACEOF
18907 cat confdefs.h >>conftest.$ac_ext
18908 cat >>conftest.$ac_ext <<_ACEOF
18909 /* end confdefs.h. */
18910 #include <sys/types.h>
18911 #ifdef HAVE_SCSI_SG_H
18912 #include <scsi/sg.h>
18913 #endif
18916 main ()
18918 static sg_io_hdr_t ac_aggr;
18919 if (ac_aggr.interface_id)
18920 return 0;
18922 return 0;
18924 _ACEOF
18925 rm -f conftest.$ac_objext
18926 if { (ac_try="$ac_compile"
18927 case "(($ac_try" in
18928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18929 *) ac_try_echo=$ac_try;;
18930 esac
18931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18932 (eval "$ac_compile") 2>conftest.er1
18933 ac_status=$?
18934 grep -v '^ *+' conftest.er1 >conftest.err
18935 rm -f conftest.er1
18936 cat conftest.err >&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); } && {
18939 test -z "$ac_c_werror_flag" ||
18940 test ! -s conftest.err
18941 } && test -s conftest.$ac_objext; then
18942 ac_cv_member_sg_io_hdr_t_interface_id=yes
18943 else
18944 echo "$as_me: failed program was:" >&5
18945 sed 's/^/| /' conftest.$ac_ext >&5
18947 cat >conftest.$ac_ext <<_ACEOF
18948 /* confdefs.h. */
18949 _ACEOF
18950 cat confdefs.h >>conftest.$ac_ext
18951 cat >>conftest.$ac_ext <<_ACEOF
18952 /* end confdefs.h. */
18953 #include <sys/types.h>
18954 #ifdef HAVE_SCSI_SG_H
18955 #include <scsi/sg.h>
18956 #endif
18959 main ()
18961 static sg_io_hdr_t ac_aggr;
18962 if (sizeof ac_aggr.interface_id)
18963 return 0;
18965 return 0;
18967 _ACEOF
18968 rm -f conftest.$ac_objext
18969 if { (ac_try="$ac_compile"
18970 case "(($ac_try" in
18971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18972 *) ac_try_echo=$ac_try;;
18973 esac
18974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18975 (eval "$ac_compile") 2>conftest.er1
18976 ac_status=$?
18977 grep -v '^ *+' conftest.er1 >conftest.err
18978 rm -f conftest.er1
18979 cat conftest.err >&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); } && {
18982 test -z "$ac_c_werror_flag" ||
18983 test ! -s conftest.err
18984 } && test -s conftest.$ac_objext; then
18985 ac_cv_member_sg_io_hdr_t_interface_id=yes
18986 else
18987 echo "$as_me: failed program was:" >&5
18988 sed 's/^/| /' conftest.$ac_ext >&5
18990 ac_cv_member_sg_io_hdr_t_interface_id=no
18993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18998 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18999 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19000 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19002 cat >>confdefs.h <<_ACEOF
19003 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19004 _ACEOF
19010 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19011 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19012 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19013 echo $ECHO_N "(cached) $ECHO_C" >&6
19014 else
19015 cat >conftest.$ac_ext <<_ACEOF
19016 /* confdefs.h. */
19017 _ACEOF
19018 cat confdefs.h >>conftest.$ac_ext
19019 cat >>conftest.$ac_ext <<_ACEOF
19020 /* end confdefs.h. */
19021 #include <signal.h>
19024 main ()
19026 static siginfo_t ac_aggr;
19027 if (ac_aggr.si_fd)
19028 return 0;
19030 return 0;
19032 _ACEOF
19033 rm -f conftest.$ac_objext
19034 if { (ac_try="$ac_compile"
19035 case "(($ac_try" in
19036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19037 *) ac_try_echo=$ac_try;;
19038 esac
19039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19040 (eval "$ac_compile") 2>conftest.er1
19041 ac_status=$?
19042 grep -v '^ *+' conftest.er1 >conftest.err
19043 rm -f conftest.er1
19044 cat conftest.err >&5
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); } && {
19047 test -z "$ac_c_werror_flag" ||
19048 test ! -s conftest.err
19049 } && test -s conftest.$ac_objext; then
19050 ac_cv_member_siginfo_t_si_fd=yes
19051 else
19052 echo "$as_me: failed program was:" >&5
19053 sed 's/^/| /' conftest.$ac_ext >&5
19055 cat >conftest.$ac_ext <<_ACEOF
19056 /* confdefs.h. */
19057 _ACEOF
19058 cat confdefs.h >>conftest.$ac_ext
19059 cat >>conftest.$ac_ext <<_ACEOF
19060 /* end confdefs.h. */
19061 #include <signal.h>
19064 main ()
19066 static siginfo_t ac_aggr;
19067 if (sizeof ac_aggr.si_fd)
19068 return 0;
19070 return 0;
19072 _ACEOF
19073 rm -f conftest.$ac_objext
19074 if { (ac_try="$ac_compile"
19075 case "(($ac_try" in
19076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19077 *) ac_try_echo=$ac_try;;
19078 esac
19079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19080 (eval "$ac_compile") 2>conftest.er1
19081 ac_status=$?
19082 grep -v '^ *+' conftest.er1 >conftest.err
19083 rm -f conftest.er1
19084 cat conftest.err >&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); } && {
19087 test -z "$ac_c_werror_flag" ||
19088 test ! -s conftest.err
19089 } && test -s conftest.$ac_objext; then
19090 ac_cv_member_siginfo_t_si_fd=yes
19091 else
19092 echo "$as_me: failed program was:" >&5
19093 sed 's/^/| /' conftest.$ac_ext >&5
19095 ac_cv_member_siginfo_t_si_fd=no
19098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19103 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19104 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19105 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19107 cat >>confdefs.h <<_ACEOF
19108 #define HAVE_SIGINFO_T_SI_FD 1
19109 _ACEOF
19115 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19116 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19117 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19118 echo $ECHO_N "(cached) $ECHO_C" >&6
19119 else
19120 cat >conftest.$ac_ext <<_ACEOF
19121 /* confdefs.h. */
19122 _ACEOF
19123 cat confdefs.h >>conftest.$ac_ext
19124 cat >>conftest.$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19126 #include <sys/types.h>
19127 #ifdef HAVE_SYS_MTIO_H
19128 #include <sys/mtio.h>
19129 #endif
19132 main ()
19134 static struct mtget ac_aggr;
19135 if (ac_aggr.mt_blksiz)
19136 return 0;
19138 return 0;
19140 _ACEOF
19141 rm -f conftest.$ac_objext
19142 if { (ac_try="$ac_compile"
19143 case "(($ac_try" in
19144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19145 *) ac_try_echo=$ac_try;;
19146 esac
19147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19148 (eval "$ac_compile") 2>conftest.er1
19149 ac_status=$?
19150 grep -v '^ *+' conftest.er1 >conftest.err
19151 rm -f conftest.er1
19152 cat conftest.err >&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); } && {
19155 test -z "$ac_c_werror_flag" ||
19156 test ! -s conftest.err
19157 } && test -s conftest.$ac_objext; then
19158 ac_cv_member_struct_mtget_mt_blksiz=yes
19159 else
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.$ac_ext >&5
19163 cat >conftest.$ac_ext <<_ACEOF
19164 /* confdefs.h. */
19165 _ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 #include <sys/types.h>
19170 #ifdef HAVE_SYS_MTIO_H
19171 #include <sys/mtio.h>
19172 #endif
19175 main ()
19177 static struct mtget ac_aggr;
19178 if (sizeof ac_aggr.mt_blksiz)
19179 return 0;
19181 return 0;
19183 _ACEOF
19184 rm -f conftest.$ac_objext
19185 if { (ac_try="$ac_compile"
19186 case "(($ac_try" in
19187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19188 *) ac_try_echo=$ac_try;;
19189 esac
19190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_compile") 2>conftest.er1
19192 ac_status=$?
19193 grep -v '^ *+' conftest.er1 >conftest.err
19194 rm -f conftest.er1
19195 cat conftest.err >&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } && {
19198 test -z "$ac_c_werror_flag" ||
19199 test ! -s conftest.err
19200 } && test -s conftest.$ac_objext; then
19201 ac_cv_member_struct_mtget_mt_blksiz=yes
19202 else
19203 echo "$as_me: failed program was:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19206 ac_cv_member_struct_mtget_mt_blksiz=no
19209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19214 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19215 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19216 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19218 cat >>confdefs.h <<_ACEOF
19219 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19220 _ACEOF
19224 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19225 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19226 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19227 echo $ECHO_N "(cached) $ECHO_C" >&6
19228 else
19229 cat >conftest.$ac_ext <<_ACEOF
19230 /* confdefs.h. */
19231 _ACEOF
19232 cat confdefs.h >>conftest.$ac_ext
19233 cat >>conftest.$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19235 #include <sys/types.h>
19236 #ifdef HAVE_SYS_MTIO_H
19237 #include <sys/mtio.h>
19238 #endif
19241 main ()
19243 static struct mtget ac_aggr;
19244 if (ac_aggr.mt_gstat)
19245 return 0;
19247 return 0;
19249 _ACEOF
19250 rm -f conftest.$ac_objext
19251 if { (ac_try="$ac_compile"
19252 case "(($ac_try" in
19253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19254 *) ac_try_echo=$ac_try;;
19255 esac
19256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19257 (eval "$ac_compile") 2>conftest.er1
19258 ac_status=$?
19259 grep -v '^ *+' conftest.er1 >conftest.err
19260 rm -f conftest.er1
19261 cat conftest.err >&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); } && {
19264 test -z "$ac_c_werror_flag" ||
19265 test ! -s conftest.err
19266 } && test -s conftest.$ac_objext; then
19267 ac_cv_member_struct_mtget_mt_gstat=yes
19268 else
19269 echo "$as_me: failed program was:" >&5
19270 sed 's/^/| /' conftest.$ac_ext >&5
19272 cat >conftest.$ac_ext <<_ACEOF
19273 /* confdefs.h. */
19274 _ACEOF
19275 cat confdefs.h >>conftest.$ac_ext
19276 cat >>conftest.$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19278 #include <sys/types.h>
19279 #ifdef HAVE_SYS_MTIO_H
19280 #include <sys/mtio.h>
19281 #endif
19284 main ()
19286 static struct mtget ac_aggr;
19287 if (sizeof ac_aggr.mt_gstat)
19288 return 0;
19290 return 0;
19292 _ACEOF
19293 rm -f conftest.$ac_objext
19294 if { (ac_try="$ac_compile"
19295 case "(($ac_try" in
19296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19297 *) ac_try_echo=$ac_try;;
19298 esac
19299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19300 (eval "$ac_compile") 2>conftest.er1
19301 ac_status=$?
19302 grep -v '^ *+' conftest.er1 >conftest.err
19303 rm -f conftest.er1
19304 cat conftest.err >&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); } && {
19307 test -z "$ac_c_werror_flag" ||
19308 test ! -s conftest.err
19309 } && test -s conftest.$ac_objext; then
19310 ac_cv_member_struct_mtget_mt_gstat=yes
19311 else
19312 echo "$as_me: failed program was:" >&5
19313 sed 's/^/| /' conftest.$ac_ext >&5
19315 ac_cv_member_struct_mtget_mt_gstat=no
19318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19323 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19324 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19325 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19327 cat >>confdefs.h <<_ACEOF
19328 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19329 _ACEOF
19333 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19334 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19335 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19336 echo $ECHO_N "(cached) $ECHO_C" >&6
19337 else
19338 cat >conftest.$ac_ext <<_ACEOF
19339 /* confdefs.h. */
19340 _ACEOF
19341 cat confdefs.h >>conftest.$ac_ext
19342 cat >>conftest.$ac_ext <<_ACEOF
19343 /* end confdefs.h. */
19344 #include <sys/types.h>
19345 #ifdef HAVE_SYS_MTIO_H
19346 #include <sys/mtio.h>
19347 #endif
19350 main ()
19352 static struct mtget ac_aggr;
19353 if (ac_aggr.mt_blkno)
19354 return 0;
19356 return 0;
19358 _ACEOF
19359 rm -f conftest.$ac_objext
19360 if { (ac_try="$ac_compile"
19361 case "(($ac_try" in
19362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19363 *) ac_try_echo=$ac_try;;
19364 esac
19365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19366 (eval "$ac_compile") 2>conftest.er1
19367 ac_status=$?
19368 grep -v '^ *+' conftest.er1 >conftest.err
19369 rm -f conftest.er1
19370 cat conftest.err >&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); } && {
19373 test -z "$ac_c_werror_flag" ||
19374 test ! -s conftest.err
19375 } && test -s conftest.$ac_objext; then
19376 ac_cv_member_struct_mtget_mt_blkno=yes
19377 else
19378 echo "$as_me: failed program was:" >&5
19379 sed 's/^/| /' conftest.$ac_ext >&5
19381 cat >conftest.$ac_ext <<_ACEOF
19382 /* confdefs.h. */
19383 _ACEOF
19384 cat confdefs.h >>conftest.$ac_ext
19385 cat >>conftest.$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19387 #include <sys/types.h>
19388 #ifdef HAVE_SYS_MTIO_H
19389 #include <sys/mtio.h>
19390 #endif
19393 main ()
19395 static struct mtget ac_aggr;
19396 if (sizeof ac_aggr.mt_blkno)
19397 return 0;
19399 return 0;
19401 _ACEOF
19402 rm -f conftest.$ac_objext
19403 if { (ac_try="$ac_compile"
19404 case "(($ac_try" in
19405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19406 *) ac_try_echo=$ac_try;;
19407 esac
19408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19409 (eval "$ac_compile") 2>conftest.er1
19410 ac_status=$?
19411 grep -v '^ *+' conftest.er1 >conftest.err
19412 rm -f conftest.er1
19413 cat conftest.err >&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); } && {
19416 test -z "$ac_c_werror_flag" ||
19417 test ! -s conftest.err
19418 } && test -s conftest.$ac_objext; then
19419 ac_cv_member_struct_mtget_mt_blkno=yes
19420 else
19421 echo "$as_me: failed program was:" >&5
19422 sed 's/^/| /' conftest.$ac_ext >&5
19424 ac_cv_member_struct_mtget_mt_blkno=no
19427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19432 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19433 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19434 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19436 cat >>confdefs.h <<_ACEOF
19437 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19438 _ACEOF
19444 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19445 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19446 if test "${ac_cv_member_struct_option_name+set}" = set; then
19447 echo $ECHO_N "(cached) $ECHO_C" >&6
19448 else
19449 cat >conftest.$ac_ext <<_ACEOF
19450 /* confdefs.h. */
19451 _ACEOF
19452 cat confdefs.h >>conftest.$ac_ext
19453 cat >>conftest.$ac_ext <<_ACEOF
19454 /* end confdefs.h. */
19455 #ifdef HAVE_GETOPT_H
19456 #include <getopt.h>
19457 #endif
19460 main ()
19462 static struct option ac_aggr;
19463 if (ac_aggr.name)
19464 return 0;
19466 return 0;
19468 _ACEOF
19469 rm -f conftest.$ac_objext
19470 if { (ac_try="$ac_compile"
19471 case "(($ac_try" in
19472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19473 *) ac_try_echo=$ac_try;;
19474 esac
19475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19476 (eval "$ac_compile") 2>conftest.er1
19477 ac_status=$?
19478 grep -v '^ *+' conftest.er1 >conftest.err
19479 rm -f conftest.er1
19480 cat conftest.err >&5
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); } && {
19483 test -z "$ac_c_werror_flag" ||
19484 test ! -s conftest.err
19485 } && test -s conftest.$ac_objext; then
19486 ac_cv_member_struct_option_name=yes
19487 else
19488 echo "$as_me: failed program was:" >&5
19489 sed 's/^/| /' conftest.$ac_ext >&5
19491 cat >conftest.$ac_ext <<_ACEOF
19492 /* confdefs.h. */
19493 _ACEOF
19494 cat confdefs.h >>conftest.$ac_ext
19495 cat >>conftest.$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19497 #ifdef HAVE_GETOPT_H
19498 #include <getopt.h>
19499 #endif
19502 main ()
19504 static struct option ac_aggr;
19505 if (sizeof ac_aggr.name)
19506 return 0;
19508 return 0;
19510 _ACEOF
19511 rm -f conftest.$ac_objext
19512 if { (ac_try="$ac_compile"
19513 case "(($ac_try" in
19514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19515 *) ac_try_echo=$ac_try;;
19516 esac
19517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19518 (eval "$ac_compile") 2>conftest.er1
19519 ac_status=$?
19520 grep -v '^ *+' conftest.er1 >conftest.err
19521 rm -f conftest.er1
19522 cat conftest.err >&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } && {
19525 test -z "$ac_c_werror_flag" ||
19526 test ! -s conftest.err
19527 } && test -s conftest.$ac_objext; then
19528 ac_cv_member_struct_option_name=yes
19529 else
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19533 ac_cv_member_struct_option_name=no
19536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19541 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19542 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19543 if test $ac_cv_member_struct_option_name = yes; then
19545 cat >>confdefs.h <<_ACEOF
19546 #define HAVE_STRUCT_OPTION_NAME 1
19547 _ACEOF
19553 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19554 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19555 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19556 echo $ECHO_N "(cached) $ECHO_C" >&6
19557 else
19558 cat >conftest.$ac_ext <<_ACEOF
19559 /* confdefs.h. */
19560 _ACEOF
19561 cat confdefs.h >>conftest.$ac_ext
19562 cat >>conftest.$ac_ext <<_ACEOF
19563 /* end confdefs.h. */
19564 $ac_includes_default
19566 main ()
19568 static struct stat ac_aggr;
19569 if (ac_aggr.st_blocks)
19570 return 0;
19572 return 0;
19574 _ACEOF
19575 rm -f conftest.$ac_objext
19576 if { (ac_try="$ac_compile"
19577 case "(($ac_try" in
19578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19579 *) ac_try_echo=$ac_try;;
19580 esac
19581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19582 (eval "$ac_compile") 2>conftest.er1
19583 ac_status=$?
19584 grep -v '^ *+' conftest.er1 >conftest.err
19585 rm -f conftest.er1
19586 cat conftest.err >&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); } && {
19589 test -z "$ac_c_werror_flag" ||
19590 test ! -s conftest.err
19591 } && test -s conftest.$ac_objext; then
19592 ac_cv_member_struct_stat_st_blocks=yes
19593 else
19594 echo "$as_me: failed program was:" >&5
19595 sed 's/^/| /' conftest.$ac_ext >&5
19597 cat >conftest.$ac_ext <<_ACEOF
19598 /* confdefs.h. */
19599 _ACEOF
19600 cat confdefs.h >>conftest.$ac_ext
19601 cat >>conftest.$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603 $ac_includes_default
19605 main ()
19607 static struct stat ac_aggr;
19608 if (sizeof ac_aggr.st_blocks)
19609 return 0;
19611 return 0;
19613 _ACEOF
19614 rm -f conftest.$ac_objext
19615 if { (ac_try="$ac_compile"
19616 case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19619 esac
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_compile") 2>conftest.er1
19622 ac_status=$?
19623 grep -v '^ *+' conftest.er1 >conftest.err
19624 rm -f conftest.er1
19625 cat conftest.err >&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } && {
19628 test -z "$ac_c_werror_flag" ||
19629 test ! -s conftest.err
19630 } && test -s conftest.$ac_objext; then
19631 ac_cv_member_struct_stat_st_blocks=yes
19632 else
19633 echo "$as_me: failed program was:" >&5
19634 sed 's/^/| /' conftest.$ac_ext >&5
19636 ac_cv_member_struct_stat_st_blocks=no
19639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19644 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19645 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19646 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19648 cat >>confdefs.h <<_ACEOF
19649 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19650 _ACEOF
19656 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19657 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19658 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19659 echo $ECHO_N "(cached) $ECHO_C" >&6
19660 else
19661 cat >conftest.$ac_ext <<_ACEOF
19662 /* confdefs.h. */
19663 _ACEOF
19664 cat confdefs.h >>conftest.$ac_ext
19665 cat >>conftest.$ac_ext <<_ACEOF
19666 /* end confdefs.h. */
19667 #ifdef HAVE_SYS_TYPES_H
19668 #include <sys/types.h>
19669 #endif
19670 #ifdef HAVE_NETINET_IN_H
19671 #include <netinet/in.h>
19672 #endif
19675 main ()
19677 static struct sockaddr_in6 ac_aggr;
19678 if (ac_aggr.sin6_scope_id)
19679 return 0;
19681 return 0;
19683 _ACEOF
19684 rm -f conftest.$ac_objext
19685 if { (ac_try="$ac_compile"
19686 case "(($ac_try" in
19687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19688 *) ac_try_echo=$ac_try;;
19689 esac
19690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19691 (eval "$ac_compile") 2>conftest.er1
19692 ac_status=$?
19693 grep -v '^ *+' conftest.er1 >conftest.err
19694 rm -f conftest.er1
19695 cat conftest.err >&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); } && {
19698 test -z "$ac_c_werror_flag" ||
19699 test ! -s conftest.err
19700 } && test -s conftest.$ac_objext; then
19701 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19702 else
19703 echo "$as_me: failed program was:" >&5
19704 sed 's/^/| /' conftest.$ac_ext >&5
19706 cat >conftest.$ac_ext <<_ACEOF
19707 /* confdefs.h. */
19708 _ACEOF
19709 cat confdefs.h >>conftest.$ac_ext
19710 cat >>conftest.$ac_ext <<_ACEOF
19711 /* end confdefs.h. */
19712 #ifdef HAVE_SYS_TYPES_H
19713 #include <sys/types.h>
19714 #endif
19715 #ifdef HAVE_NETINET_IN_H
19716 #include <netinet/in.h>
19717 #endif
19720 main ()
19722 static struct sockaddr_in6 ac_aggr;
19723 if (sizeof ac_aggr.sin6_scope_id)
19724 return 0;
19726 return 0;
19728 _ACEOF
19729 rm -f conftest.$ac_objext
19730 if { (ac_try="$ac_compile"
19731 case "(($ac_try" in
19732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;;
19734 esac
19735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19736 (eval "$ac_compile") 2>conftest.er1
19737 ac_status=$?
19738 grep -v '^ *+' conftest.er1 >conftest.err
19739 rm -f conftest.er1
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } && {
19743 test -z "$ac_c_werror_flag" ||
19744 test ! -s conftest.err
19745 } && test -s conftest.$ac_objext; then
19746 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19747 else
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19751 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19759 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19760 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19761 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19763 cat >>confdefs.h <<_ACEOF
19764 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19765 _ACEOF
19771 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19772 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19773 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19775 else
19776 cat >conftest.$ac_ext <<_ACEOF
19777 /* confdefs.h. */
19778 _ACEOF
19779 cat confdefs.h >>conftest.$ac_ext
19780 cat >>conftest.$ac_ext <<_ACEOF
19781 /* end confdefs.h. */
19782 #ifdef HAVE_SYS_TYPES_H
19783 #include <sys/types.h>
19784 #endif
19785 #ifdef HAVE_NETINET_IN_H
19786 # include <netinet/in.h>
19787 #endif
19788 #ifdef HAVE_ARPA_NAMESER_H
19789 # include <arpa/nameser.h>
19790 #endif
19793 main ()
19795 static ns_msg ac_aggr;
19796 if (ac_aggr._msg_ptr)
19797 return 0;
19799 return 0;
19801 _ACEOF
19802 rm -f conftest.$ac_objext
19803 if { (ac_try="$ac_compile"
19804 case "(($ac_try" in
19805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19806 *) ac_try_echo=$ac_try;;
19807 esac
19808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19809 (eval "$ac_compile") 2>conftest.er1
19810 ac_status=$?
19811 grep -v '^ *+' conftest.er1 >conftest.err
19812 rm -f conftest.er1
19813 cat conftest.err >&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); } && {
19816 test -z "$ac_c_werror_flag" ||
19817 test ! -s conftest.err
19818 } && test -s conftest.$ac_objext; then
19819 ac_cv_member_ns_msg__msg_ptr=yes
19820 else
19821 echo "$as_me: failed program was:" >&5
19822 sed 's/^/| /' conftest.$ac_ext >&5
19824 cat >conftest.$ac_ext <<_ACEOF
19825 /* confdefs.h. */
19826 _ACEOF
19827 cat confdefs.h >>conftest.$ac_ext
19828 cat >>conftest.$ac_ext <<_ACEOF
19829 /* end confdefs.h. */
19830 #ifdef HAVE_SYS_TYPES_H
19831 #include <sys/types.h>
19832 #endif
19833 #ifdef HAVE_NETINET_IN_H
19834 # include <netinet/in.h>
19835 #endif
19836 #ifdef HAVE_ARPA_NAMESER_H
19837 # include <arpa/nameser.h>
19838 #endif
19841 main ()
19843 static ns_msg ac_aggr;
19844 if (sizeof ac_aggr._msg_ptr)
19845 return 0;
19847 return 0;
19849 _ACEOF
19850 rm -f conftest.$ac_objext
19851 if { (ac_try="$ac_compile"
19852 case "(($ac_try" in
19853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19854 *) ac_try_echo=$ac_try;;
19855 esac
19856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19857 (eval "$ac_compile") 2>conftest.er1
19858 ac_status=$?
19859 grep -v '^ *+' conftest.er1 >conftest.err
19860 rm -f conftest.er1
19861 cat conftest.err >&5
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); } && {
19864 test -z "$ac_c_werror_flag" ||
19865 test ! -s conftest.err
19866 } && test -s conftest.$ac_objext; then
19867 ac_cv_member_ns_msg__msg_ptr=yes
19868 else
19869 echo "$as_me: failed program was:" >&5
19870 sed 's/^/| /' conftest.$ac_ext >&5
19872 ac_cv_member_ns_msg__msg_ptr=no
19875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19880 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19881 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19882 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19884 cat >>confdefs.h <<_ACEOF
19885 #define HAVE_NS_MSG__MSG_PTR 1
19886 _ACEOF
19892 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19893 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19894 if test "${ac_cv_have_timezone+set}" = set; then
19895 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 else
19897 cat >conftest.$ac_ext <<_ACEOF
19898 /* confdefs.h. */
19899 _ACEOF
19900 cat confdefs.h >>conftest.$ac_ext
19901 cat >>conftest.$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19903 #include <time.h>
19905 main ()
19907 timezone = 1
19909 return 0;
19911 _ACEOF
19912 rm -f conftest.$ac_objext conftest$ac_exeext
19913 if { (ac_try="$ac_link"
19914 case "(($ac_try" in
19915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19916 *) ac_try_echo=$ac_try;;
19917 esac
19918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19919 (eval "$ac_link") 2>conftest.er1
19920 ac_status=$?
19921 grep -v '^ *+' conftest.er1 >conftest.err
19922 rm -f conftest.er1
19923 cat conftest.err >&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); } && {
19926 test -z "$ac_c_werror_flag" ||
19927 test ! -s conftest.err
19928 } && test -s conftest$ac_exeext &&
19929 $as_test_x conftest$ac_exeext; then
19930 ac_cv_have_timezone="yes"
19931 else
19932 echo "$as_me: failed program was:" >&5
19933 sed 's/^/| /' conftest.$ac_ext >&5
19935 ac_cv_have_timezone="no"
19938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19939 conftest$ac_exeext conftest.$ac_ext
19941 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19942 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19943 if test "$ac_cv_have_timezone" = "yes"
19944 then
19946 cat >>confdefs.h <<\_ACEOF
19947 #define HAVE_TIMEZONE 1
19948 _ACEOF
19951 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19952 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19953 if test "${ac_cv_have_daylight+set}" = set; then
19954 echo $ECHO_N "(cached) $ECHO_C" >&6
19955 else
19956 cat >conftest.$ac_ext <<_ACEOF
19957 /* confdefs.h. */
19958 _ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 #include <time.h>
19964 main ()
19966 daylight = 1
19968 return 0;
19970 _ACEOF
19971 rm -f conftest.$ac_objext conftest$ac_exeext
19972 if { (ac_try="$ac_link"
19973 case "(($ac_try" in
19974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19975 *) ac_try_echo=$ac_try;;
19976 esac
19977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19978 (eval "$ac_link") 2>conftest.er1
19979 ac_status=$?
19980 grep -v '^ *+' conftest.er1 >conftest.err
19981 rm -f conftest.er1
19982 cat conftest.err >&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); } && {
19985 test -z "$ac_c_werror_flag" ||
19986 test ! -s conftest.err
19987 } && test -s conftest$ac_exeext &&
19988 $as_test_x conftest$ac_exeext; then
19989 ac_cv_have_daylight="yes"
19990 else
19991 echo "$as_me: failed program was:" >&5
19992 sed 's/^/| /' conftest.$ac_ext >&5
19994 ac_cv_have_daylight="no"
19997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19998 conftest$ac_exeext conftest.$ac_ext
20000 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20001 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20002 if test "$ac_cv_have_daylight" = "yes"
20003 then
20005 cat >>confdefs.h <<\_ACEOF
20006 #define HAVE_DAYLIGHT 1
20007 _ACEOF
20012 case $host_cpu in
20013 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20014 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20015 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20016 echo $ECHO_N "(cached) $ECHO_C" >&6
20017 else
20018 cat >conftest.$ac_ext <<_ACEOF
20019 /* confdefs.h. */
20020 _ACEOF
20021 cat confdefs.h >>conftest.$ac_ext
20022 cat >>conftest.$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20024 #ifndef __i386__
20026 #endif
20027 _ACEOF
20028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20029 $EGREP "yes" >/dev/null 2>&1; then
20030 ac_cv_cpp_def___i386__=yes
20031 else
20032 ac_cv_cpp_def___i386__=no
20034 rm -f conftest*
20037 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20038 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20039 if test $ac_cv_cpp_def___i386__ = yes; then
20040 CFLAGS="$CFLAGS -D__i386__"
20041 LINTFLAGS="$LINTFLAGS -D__i386__"
20044 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20045 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20046 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20047 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 else
20049 cat >conftest.$ac_ext <<_ACEOF
20050 /* confdefs.h. */
20051 _ACEOF
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055 #ifndef __x86_64__
20057 #endif
20058 _ACEOF
20059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20060 $EGREP "yes" >/dev/null 2>&1; then
20061 ac_cv_cpp_def___x86_64__=yes
20062 else
20063 ac_cv_cpp_def___x86_64__=no
20065 rm -f conftest*
20068 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20069 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20070 if test $ac_cv_cpp_def___x86_64__ = yes; then
20071 CFLAGS="$CFLAGS -D__x86_64__"
20072 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20075 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20076 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20077 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20078 echo $ECHO_N "(cached) $ECHO_C" >&6
20079 else
20080 cat >conftest.$ac_ext <<_ACEOF
20081 /* confdefs.h. */
20082 _ACEOF
20083 cat confdefs.h >>conftest.$ac_ext
20084 cat >>conftest.$ac_ext <<_ACEOF
20085 /* end confdefs.h. */
20086 #ifndef __ALPHA__
20088 #endif
20089 _ACEOF
20090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20091 $EGREP "yes" >/dev/null 2>&1; then
20092 ac_cv_cpp_def___ALPHA__=yes
20093 else
20094 ac_cv_cpp_def___ALPHA__=no
20096 rm -f conftest*
20099 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20100 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20101 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20102 CFLAGS="$CFLAGS -D__ALPHA__"
20103 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20106 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20107 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20108 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20109 echo $ECHO_N "(cached) $ECHO_C" >&6
20110 else
20111 cat >conftest.$ac_ext <<_ACEOF
20112 /* confdefs.h. */
20113 _ACEOF
20114 cat confdefs.h >>conftest.$ac_ext
20115 cat >>conftest.$ac_ext <<_ACEOF
20116 /* end confdefs.h. */
20117 #ifndef __sparc__
20119 #endif
20120 _ACEOF
20121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20122 $EGREP "yes" >/dev/null 2>&1; then
20123 ac_cv_cpp_def___sparc__=yes
20124 else
20125 ac_cv_cpp_def___sparc__=no
20127 rm -f conftest*
20130 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20131 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20132 if test $ac_cv_cpp_def___sparc__ = yes; then
20133 CFLAGS="$CFLAGS -D__sparc__"
20134 LINTFLAGS="$LINTFLAGS -D__sparc__"
20137 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20138 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20139 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20140 echo $ECHO_N "(cached) $ECHO_C" >&6
20141 else
20142 cat >conftest.$ac_ext <<_ACEOF
20143 /* confdefs.h. */
20144 _ACEOF
20145 cat confdefs.h >>conftest.$ac_ext
20146 cat >>conftest.$ac_ext <<_ACEOF
20147 /* end confdefs.h. */
20148 #ifndef __powerpc__
20150 #endif
20151 _ACEOF
20152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20153 $EGREP "yes" >/dev/null 2>&1; then
20154 ac_cv_cpp_def___powerpc__=yes
20155 else
20156 ac_cv_cpp_def___powerpc__=no
20158 rm -f conftest*
20161 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20162 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20163 if test $ac_cv_cpp_def___powerpc__ = yes; then
20164 CFLAGS="$CFLAGS -D__powerpc__"
20165 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20168 esac
20170 case $host_vendor in
20171 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20172 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20173 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20174 echo $ECHO_N "(cached) $ECHO_C" >&6
20175 else
20176 cat >conftest.$ac_ext <<_ACEOF
20177 /* confdefs.h. */
20178 _ACEOF
20179 cat confdefs.h >>conftest.$ac_ext
20180 cat >>conftest.$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20182 #ifndef __sun__
20184 #endif
20185 _ACEOF
20186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20187 $EGREP "yes" >/dev/null 2>&1; then
20188 ac_cv_cpp_def___sun__=yes
20189 else
20190 ac_cv_cpp_def___sun__=no
20192 rm -f conftest*
20195 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20196 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20197 if test $ac_cv_cpp_def___sun__ = yes; then
20198 CFLAGS="$CFLAGS -D__sun__"
20199 LINTFLAGS="$LINTFLAGS -D__sun__"
20202 esac
20205 DEPENDENCIES="### Dependencies:
20207 .INIT: Makefile
20208 .BEGIN: Makefile
20209 Makefile: dummy
20210 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20212 \$(OBJS): \$(IDL_GEN_HEADERS)
20213 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20214 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20215 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20221 ac_config_commands="$ac_config_commands include/stamp-h"
20224 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20226 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20228 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20230 ac_config_commands="$ac_config_commands dlls/user32/resources"
20232 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20234 ac_config_commands="$ac_config_commands include/wine"
20237 MAKE_RULES=Make.rules
20240 MAKE_DLL_RULES=dlls/Makedll.rules
20243 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20246 MAKE_TEST_RULES=dlls/Maketest.rules
20249 MAKE_PROG_RULES=programs/Makeprog.rules
20252 ac_config_files="$ac_config_files Make.rules"
20254 ac_config_files="$ac_config_files dlls/Makedll.rules"
20256 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20258 ac_config_files="$ac_config_files dlls/Maketest.rules"
20260 ac_config_files="$ac_config_files programs/Makeprog.rules"
20262 ac_config_files="$ac_config_files Makefile"
20264 ac_config_files="$ac_config_files dlls/Makefile"
20266 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20268 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20270 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20272 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20274 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20276 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20278 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20280 ac_config_files="$ac_config_files dlls/atl/Makefile"
20282 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20284 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20286 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20288 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20290 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20292 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20294 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20296 ac_config_files="$ac_config_files dlls/cards/Makefile"
20298 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20300 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20302 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20304 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20306 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20308 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20310 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20312 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20314 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20316 ac_config_files="$ac_config_files dlls/credui/Makefile"
20318 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20320 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20322 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20324 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20326 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20328 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20330 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20332 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20334 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20336 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20338 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20340 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20342 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20344 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20346 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20348 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20350 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20352 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20354 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20356 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20358 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20360 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20362 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20364 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20366 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20368 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20370 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20372 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20374 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20376 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20378 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20380 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20382 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20384 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20386 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20388 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20390 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20392 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20394 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20396 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20398 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20400 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20402 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20404 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20406 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20408 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20410 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20412 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20414 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20416 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20418 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20420 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20422 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20424 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20426 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20428 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20430 ac_config_files="$ac_config_files dlls/hal/Makefile"
20432 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20434 ac_config_files="$ac_config_files dlls/hid/Makefile"
20436 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20438 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20440 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20442 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20444 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20446 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20448 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20450 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20452 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20454 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20456 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20458 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20460 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20462 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20464 ac_config_files="$ac_config_files dlls/itss/Makefile"
20466 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20468 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20470 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20472 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20474 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20476 ac_config_files="$ac_config_files dlls/localui/Makefile"
20478 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20480 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20482 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20484 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20486 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20488 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20490 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20492 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20494 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20496 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20498 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20500 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20502 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20504 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20506 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20508 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20510 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20512 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20514 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20516 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20518 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20520 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20522 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20524 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20526 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20528 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20530 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20532 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20534 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20536 ac_config_files="$ac_config_files dlls/msi/Makefile"
20538 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20540 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20542 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20544 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20546 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20548 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20550 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20552 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20554 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20556 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20558 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20560 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20562 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20564 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20566 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20568 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20570 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20572 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20574 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20576 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20578 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20580 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20582 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20584 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20586 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20588 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20590 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20592 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20594 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20596 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20598 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20600 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20602 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20604 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20606 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20608 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20610 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20612 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20614 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20616 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20618 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20620 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20622 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20624 ac_config_files="$ac_config_files dlls/printui/Makefile"
20626 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20628 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20630 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20632 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20634 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20636 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20638 ac_config_files="$ac_config_files dlls/query/Makefile"
20640 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20642 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20644 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20646 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20648 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20650 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20652 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20654 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20656 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20658 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20660 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20662 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20664 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20666 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20668 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20670 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20672 ac_config_files="$ac_config_files dlls/security/Makefile"
20674 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20676 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20678 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20680 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20682 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20684 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20686 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20688 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20690 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20692 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20694 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20696 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20698 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20700 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20702 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20704 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20706 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20708 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20710 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20712 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20714 ac_config_files="$ac_config_files dlls/sti/Makefile"
20716 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20718 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20720 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20722 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20724 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20726 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20728 ac_config_files="$ac_config_files dlls/url/Makefile"
20730 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20732 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20734 ac_config_files="$ac_config_files dlls/user32/Makefile"
20736 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20738 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20740 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20742 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20744 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20746 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20748 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20750 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20752 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20754 ac_config_files="$ac_config_files dlls/version/Makefile"
20756 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20758 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20760 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20762 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20764 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20766 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20768 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20770 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20772 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20774 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20776 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20778 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20780 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20782 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20784 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20786 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20788 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20790 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20792 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20794 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20796 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20798 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20800 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20802 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
20804 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20806 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20808 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20810 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20812 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20814 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20816 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20818 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20820 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20822 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20824 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20826 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20828 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20830 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20832 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20834 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20836 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20838 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20840 ac_config_files="$ac_config_files documentation/Makefile"
20842 ac_config_files="$ac_config_files fonts/Makefile"
20844 ac_config_files="$ac_config_files include/Makefile"
20846 ac_config_files="$ac_config_files libs/Makefile"
20848 ac_config_files="$ac_config_files libs/port/Makefile"
20850 ac_config_files="$ac_config_files libs/wine/Makefile"
20852 ac_config_files="$ac_config_files libs/wpp/Makefile"
20854 ac_config_files="$ac_config_files loader/Makefile"
20856 ac_config_files="$ac_config_files programs/Makefile"
20858 ac_config_files="$ac_config_files programs/clock/Makefile"
20860 ac_config_files="$ac_config_files programs/cmd/Makefile"
20862 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20864 ac_config_files="$ac_config_files programs/control/Makefile"
20866 ac_config_files="$ac_config_files programs/eject/Makefile"
20868 ac_config_files="$ac_config_files programs/expand/Makefile"
20870 ac_config_files="$ac_config_files programs/explorer/Makefile"
20872 ac_config_files="$ac_config_files programs/hh/Makefile"
20874 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20876 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20878 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20880 ac_config_files="$ac_config_files programs/net/Makefile"
20882 ac_config_files="$ac_config_files programs/notepad/Makefile"
20884 ac_config_files="$ac_config_files programs/oleview/Makefile"
20886 ac_config_files="$ac_config_files programs/progman/Makefile"
20888 ac_config_files="$ac_config_files programs/regedit/Makefile"
20890 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20892 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20894 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20896 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20898 ac_config_files="$ac_config_files programs/start/Makefile"
20900 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20902 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20904 ac_config_files="$ac_config_files programs/view/Makefile"
20906 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20908 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20910 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20912 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20914 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20916 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20918 ac_config_files="$ac_config_files programs/winefile/Makefile"
20920 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20922 ac_config_files="$ac_config_files programs/winemine/Makefile"
20924 ac_config_files="$ac_config_files programs/winepath/Makefile"
20926 ac_config_files="$ac_config_files programs/winetest/Makefile"
20928 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20930 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20932 ac_config_files="$ac_config_files programs/winver/Makefile"
20934 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20936 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20938 ac_config_files="$ac_config_files server/Makefile"
20940 ac_config_files="$ac_config_files tools/Makefile"
20942 ac_config_files="$ac_config_files tools/widl/Makefile"
20944 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20946 ac_config_files="$ac_config_files tools/winedump/Makefile"
20948 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20950 ac_config_files="$ac_config_files tools/wmc/Makefile"
20952 ac_config_files="$ac_config_files tools/wrc/Makefile"
20955 cat >confcache <<\_ACEOF
20956 # This file is a shell script that caches the results of configure
20957 # tests run on this system so they can be shared between configure
20958 # scripts and configure runs, see configure's option --config-cache.
20959 # It is not useful on other systems. If it contains results you don't
20960 # want to keep, you may remove or edit it.
20962 # config.status only pays attention to the cache file if you give it
20963 # the --recheck option to rerun configure.
20965 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20966 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20967 # following values.
20969 _ACEOF
20971 # The following way of writing the cache mishandles newlines in values,
20972 # but we know of no workaround that is simple, portable, and efficient.
20973 # So, we kill variables containing newlines.
20974 # Ultrix sh set writes to stderr and can't be redirected directly,
20975 # and sets the high bit in the cache file unless we assign to the vars.
20977 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20978 eval ac_val=\$$ac_var
20979 case $ac_val in #(
20980 *${as_nl}*)
20981 case $ac_var in #(
20982 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20983 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20984 esac
20985 case $ac_var in #(
20986 _ | IFS | as_nl) ;; #(
20987 *) $as_unset $ac_var ;;
20988 esac ;;
20989 esac
20990 done
20992 (set) 2>&1 |
20993 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20994 *${as_nl}ac_space=\ *)
20995 # `set' does not quote correctly, so add quotes (double-quote
20996 # substitution turns \\\\ into \\, and sed turns \\ into \).
20997 sed -n \
20998 "s/'/'\\\\''/g;
20999 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21000 ;; #(
21002 # `set' quotes correctly as required by POSIX, so do not add quotes.
21003 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21005 esac |
21006 sort
21008 sed '
21009 /^ac_cv_env_/b end
21010 t clear
21011 :clear
21012 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21013 t end
21014 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21015 :end' >>confcache
21016 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21017 if test -w "$cache_file"; then
21018 test "x$cache_file" != "x/dev/null" &&
21019 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21020 echo "$as_me: updating cache $cache_file" >&6;}
21021 cat confcache >$cache_file
21022 else
21023 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21024 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21027 rm -f confcache
21029 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21030 # Let make expand exec_prefix.
21031 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21033 DEFS=-DHAVE_CONFIG_H
21035 ac_libobjs=
21036 ac_ltlibobjs=
21037 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21038 # 1. Remove the extension, and $U if already installed.
21039 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21040 ac_i=`echo "$ac_i" | sed "$ac_script"`
21041 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21042 # will be set to the directory where LIBOBJS objects are built.
21043 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21044 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21045 done
21046 LIBOBJS=$ac_libobjs
21048 LTLIBOBJS=$ac_ltlibobjs
21052 : ${CONFIG_STATUS=./config.status}
21053 ac_clean_files_save=$ac_clean_files
21054 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21055 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21056 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21057 cat >$CONFIG_STATUS <<_ACEOF
21058 #! $SHELL
21059 # Generated by $as_me.
21060 # Run this file to recreate the current configuration.
21061 # Compiler output produced by configure, useful for debugging
21062 # configure, is in config.log if it exists.
21064 debug=false
21065 ac_cs_recheck=false
21066 ac_cs_silent=false
21067 SHELL=\${CONFIG_SHELL-$SHELL}
21068 _ACEOF
21070 cat >>$CONFIG_STATUS <<\_ACEOF
21071 ## --------------------- ##
21072 ## M4sh Initialization. ##
21073 ## --------------------- ##
21075 # Be more Bourne compatible
21076 DUALCASE=1; export DUALCASE # for MKS sh
21077 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21078 emulate sh
21079 NULLCMD=:
21080 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21081 # is contrary to our usage. Disable this feature.
21082 alias -g '${1+"$@"}'='"$@"'
21083 setopt NO_GLOB_SUBST
21084 else
21085 case `(set -o) 2>/dev/null` in
21086 *posix*) set -o posix ;;
21087 esac
21094 # PATH needs CR
21095 # Avoid depending upon Character Ranges.
21096 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21097 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21098 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21099 as_cr_digits='0123456789'
21100 as_cr_alnum=$as_cr_Letters$as_cr_digits
21102 # The user is always right.
21103 if test "${PATH_SEPARATOR+set}" != set; then
21104 echo "#! /bin/sh" >conf$$.sh
21105 echo "exit 0" >>conf$$.sh
21106 chmod +x conf$$.sh
21107 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21108 PATH_SEPARATOR=';'
21109 else
21110 PATH_SEPARATOR=:
21112 rm -f conf$$.sh
21115 # Support unset when possible.
21116 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21117 as_unset=unset
21118 else
21119 as_unset=false
21123 # IFS
21124 # We need space, tab and new line, in precisely that order. Quoting is
21125 # there to prevent editors from complaining about space-tab.
21126 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21127 # splitting by setting IFS to empty value.)
21128 as_nl='
21130 IFS=" "" $as_nl"
21132 # Find who we are. Look in the path if we contain no directory separator.
21133 case $0 in
21134 *[\\/]* ) as_myself=$0 ;;
21135 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21136 for as_dir in $PATH
21138 IFS=$as_save_IFS
21139 test -z "$as_dir" && as_dir=.
21140 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21141 done
21142 IFS=$as_save_IFS
21145 esac
21146 # We did not find ourselves, most probably we were run as `sh COMMAND'
21147 # in which case we are not to be found in the path.
21148 if test "x$as_myself" = x; then
21149 as_myself=$0
21151 if test ! -f "$as_myself"; then
21152 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21153 { (exit 1); exit 1; }
21156 # Work around bugs in pre-3.0 UWIN ksh.
21157 for as_var in ENV MAIL MAILPATH
21158 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21159 done
21160 PS1='$ '
21161 PS2='> '
21162 PS4='+ '
21164 # NLS nuisances.
21165 for as_var in \
21166 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21167 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21168 LC_TELEPHONE LC_TIME
21170 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21171 eval $as_var=C; export $as_var
21172 else
21173 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21175 done
21177 # Required to use basename.
21178 if expr a : '\(a\)' >/dev/null 2>&1 &&
21179 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21180 as_expr=expr
21181 else
21182 as_expr=false
21185 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21186 as_basename=basename
21187 else
21188 as_basename=false
21192 # Name of the executable.
21193 as_me=`$as_basename -- "$0" ||
21194 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21195 X"$0" : 'X\(//\)$' \| \
21196 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21197 echo X/"$0" |
21198 sed '/^.*\/\([^/][^/]*\)\/*$/{
21199 s//\1/
21202 /^X\/\(\/\/\)$/{
21203 s//\1/
21206 /^X\/\(\/\).*/{
21207 s//\1/
21210 s/.*/./; q'`
21212 # CDPATH.
21213 $as_unset CDPATH
21217 as_lineno_1=$LINENO
21218 as_lineno_2=$LINENO
21219 test "x$as_lineno_1" != "x$as_lineno_2" &&
21220 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21222 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21223 # uniformly replaced by the line number. The first 'sed' inserts a
21224 # line-number line after each line using $LINENO; the second 'sed'
21225 # does the real work. The second script uses 'N' to pair each
21226 # line-number line with the line containing $LINENO, and appends
21227 # trailing '-' during substitution so that $LINENO is not a special
21228 # case at line end.
21229 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21230 # scripts with optimization help from Paolo Bonzini. Blame Lee
21231 # E. McMahon (1931-1989) for sed's syntax. :-)
21232 sed -n '
21234 /[$]LINENO/=
21235 ' <$as_myself |
21236 sed '
21237 s/[$]LINENO.*/&-/
21238 t lineno
21240 :lineno
21242 :loop
21243 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21244 t loop
21245 s/-\n.*//
21246 ' >$as_me.lineno &&
21247 chmod +x "$as_me.lineno" ||
21248 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21249 { (exit 1); exit 1; }; }
21251 # Don't try to exec as it changes $[0], causing all sort of problems
21252 # (the dirname of $[0] is not the place where we might find the
21253 # original and so on. Autoconf is especially sensitive to this).
21254 . "./$as_me.lineno"
21255 # Exit status is that of the last command.
21256 exit
21260 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21261 as_dirname=dirname
21262 else
21263 as_dirname=false
21266 ECHO_C= ECHO_N= ECHO_T=
21267 case `echo -n x` in
21268 -n*)
21269 case `echo 'x\c'` in
21270 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21271 *) ECHO_C='\c';;
21272 esac;;
21274 ECHO_N='-n';;
21275 esac
21277 if expr a : '\(a\)' >/dev/null 2>&1 &&
21278 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21279 as_expr=expr
21280 else
21281 as_expr=false
21284 rm -f conf$$ conf$$.exe conf$$.file
21285 if test -d conf$$.dir; then
21286 rm -f conf$$.dir/conf$$.file
21287 else
21288 rm -f conf$$.dir
21289 mkdir conf$$.dir
21291 echo >conf$$.file
21292 if ln -s conf$$.file conf$$ 2>/dev/null; then
21293 as_ln_s='ln -s'
21294 # ... but there are two gotchas:
21295 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21296 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21297 # In both cases, we have to default to `cp -p'.
21298 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21299 as_ln_s='cp -p'
21300 elif ln conf$$.file conf$$ 2>/dev/null; then
21301 as_ln_s=ln
21302 else
21303 as_ln_s='cp -p'
21305 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21306 rmdir conf$$.dir 2>/dev/null
21308 if mkdir -p . 2>/dev/null; then
21309 as_mkdir_p=:
21310 else
21311 test -d ./-p && rmdir ./-p
21312 as_mkdir_p=false
21315 if test -x / >/dev/null 2>&1; then
21316 as_test_x='test -x'
21317 else
21318 if ls -dL / >/dev/null 2>&1; then
21319 as_ls_L_option=L
21320 else
21321 as_ls_L_option=
21323 as_test_x='
21324 eval sh -c '\''
21325 if test -d "$1"; then
21326 test -d "$1/.";
21327 else
21328 case $1 in
21329 -*)set "./$1";;
21330 esac;
21331 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21332 ???[sx]*):;;*)false;;esac;fi
21333 '\'' sh
21336 as_executable_p=$as_test_x
21338 # Sed expression to map a string onto a valid CPP name.
21339 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21341 # Sed expression to map a string onto a valid variable name.
21342 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21345 exec 6>&1
21347 # Save the log message, to keep $[0] and so on meaningful, and to
21348 # report actual input values of CONFIG_FILES etc. instead of their
21349 # values after options handling.
21350 ac_log="
21351 This file was extended by Wine $as_me 0.9.42, which was
21352 generated by GNU Autoconf 2.61. Invocation command line was
21354 CONFIG_FILES = $CONFIG_FILES
21355 CONFIG_HEADERS = $CONFIG_HEADERS
21356 CONFIG_LINKS = $CONFIG_LINKS
21357 CONFIG_COMMANDS = $CONFIG_COMMANDS
21358 $ $0 $@
21360 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21363 _ACEOF
21365 cat >>$CONFIG_STATUS <<_ACEOF
21366 # Files that config.status was made for.
21367 config_files="$ac_config_files"
21368 config_headers="$ac_config_headers"
21369 config_commands="$ac_config_commands"
21371 _ACEOF
21373 cat >>$CONFIG_STATUS <<\_ACEOF
21374 ac_cs_usage="\
21375 \`$as_me' instantiates files from templates according to the
21376 current configuration.
21378 Usage: $0 [OPTIONS] [FILE]...
21380 -h, --help print this help, then exit
21381 -V, --version print version number and configuration settings, then exit
21382 -q, --quiet do not print progress messages
21383 -d, --debug don't remove temporary files
21384 --recheck update $as_me by reconfiguring in the same conditions
21385 --file=FILE[:TEMPLATE]
21386 instantiate the configuration file FILE
21387 --header=FILE[:TEMPLATE]
21388 instantiate the configuration header FILE
21390 Configuration files:
21391 $config_files
21393 Configuration headers:
21394 $config_headers
21396 Configuration commands:
21397 $config_commands
21399 Report bugs to <bug-autoconf@gnu.org>."
21401 _ACEOF
21402 cat >>$CONFIG_STATUS <<_ACEOF
21403 ac_cs_version="\\
21404 Wine config.status 0.9.42
21405 configured by $0, generated by GNU Autoconf 2.61,
21406 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21408 Copyright (C) 2006 Free Software Foundation, Inc.
21409 This config.status script is free software; the Free Software Foundation
21410 gives unlimited permission to copy, distribute and modify it."
21412 ac_pwd='$ac_pwd'
21413 srcdir='$srcdir'
21414 INSTALL='$INSTALL'
21415 _ACEOF
21417 cat >>$CONFIG_STATUS <<\_ACEOF
21418 # If no file are specified by the user, then we need to provide default
21419 # value. By we need to know if files were specified by the user.
21420 ac_need_defaults=:
21421 while test $# != 0
21423 case $1 in
21424 --*=*)
21425 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21426 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21427 ac_shift=:
21430 ac_option=$1
21431 ac_optarg=$2
21432 ac_shift=shift
21434 esac
21436 case $ac_option in
21437 # Handling of the options.
21438 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21439 ac_cs_recheck=: ;;
21440 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21441 echo "$ac_cs_version"; exit ;;
21442 --debug | --debu | --deb | --de | --d | -d )
21443 debug=: ;;
21444 --file | --fil | --fi | --f )
21445 $ac_shift
21446 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21447 ac_need_defaults=false;;
21448 --header | --heade | --head | --hea )
21449 $ac_shift
21450 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21451 ac_need_defaults=false;;
21452 --he | --h)
21453 # Conflict between --help and --header
21454 { echo "$as_me: error: ambiguous option: $1
21455 Try \`$0 --help' for more information." >&2
21456 { (exit 1); exit 1; }; };;
21457 --help | --hel | -h )
21458 echo "$ac_cs_usage"; exit ;;
21459 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21460 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21461 ac_cs_silent=: ;;
21463 # This is an error.
21464 -*) { echo "$as_me: error: unrecognized option: $1
21465 Try \`$0 --help' for more information." >&2
21466 { (exit 1); exit 1; }; } ;;
21468 *) ac_config_targets="$ac_config_targets $1"
21469 ac_need_defaults=false ;;
21471 esac
21472 shift
21473 done
21475 ac_configure_extra_args=
21477 if $ac_cs_silent; then
21478 exec 6>/dev/null
21479 ac_configure_extra_args="$ac_configure_extra_args --silent"
21482 _ACEOF
21483 cat >>$CONFIG_STATUS <<_ACEOF
21484 if \$ac_cs_recheck; then
21485 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21486 CONFIG_SHELL=$SHELL
21487 export CONFIG_SHELL
21488 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21491 _ACEOF
21492 cat >>$CONFIG_STATUS <<\_ACEOF
21493 exec 5>>config.log
21495 echo
21496 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21497 ## Running $as_me. ##
21498 _ASBOX
21499 echo "$ac_log"
21500 } >&5
21502 _ACEOF
21503 cat >>$CONFIG_STATUS <<_ACEOF
21504 _ACEOF
21506 cat >>$CONFIG_STATUS <<\_ACEOF
21508 # Handling of arguments.
21509 for ac_config_target in $ac_config_targets
21511 case $ac_config_target in
21512 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21513 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21514 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21515 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21516 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21517 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21518 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21519 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21520 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21521 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21522 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21523 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21524 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21525 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21526 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21527 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21528 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21529 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21530 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21531 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21532 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21533 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21534 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21535 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21536 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21537 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21538 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21539 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21540 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21541 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21542 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21543 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21544 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21545 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21546 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21547 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21548 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21549 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21550 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21551 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21552 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21553 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21554 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21555 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21556 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21557 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21558 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21559 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21560 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21561 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21562 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21563 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21564 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21565 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21566 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21567 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21568 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21569 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21570 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21571 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21572 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21573 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21574 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21575 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21576 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21577 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21578 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21579 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21580 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21581 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21582 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21583 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21584 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21585 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21586 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21587 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21588 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21589 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21590 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21591 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21592 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21593 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21594 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21595 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21596 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21597 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21598 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21599 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21600 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21601 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21602 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21603 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21604 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21605 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21606 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21607 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21608 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21609 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21610 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21611 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21612 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21613 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21614 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21615 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21616 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21617 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21618 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21619 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21620 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21621 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21622 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21623 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21624 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21625 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21626 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21627 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21628 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21629 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21630 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21631 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21632 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21633 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21634 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21635 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21636 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21637 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21638 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21639 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21640 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21641 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21642 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21643 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21644 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21645 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21646 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21647 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21648 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21649 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21650 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21651 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21652 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21653 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21654 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21655 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21656 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21657 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21658 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21659 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21660 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21661 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21662 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21663 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21664 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21665 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21666 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21667 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21668 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21669 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21670 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21671 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21672 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21673 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21674 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21675 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21676 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21677 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21678 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21679 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21680 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21681 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21682 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21683 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21684 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21685 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21686 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21687 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21688 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21689 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21690 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21691 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21692 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21693 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21694 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21695 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21696 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21697 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21698 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21699 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21700 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21701 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21702 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21703 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21704 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21705 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21706 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21707 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21708 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21709 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21710 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21711 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21712 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21713 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21714 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21715 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21716 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21717 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21718 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21719 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21720 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21721 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21722 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21723 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21724 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21725 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21726 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21727 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21728 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21729 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21730 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21731 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21732 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21733 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21734 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21735 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21736 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21737 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21738 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21739 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21740 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21741 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21742 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21743 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21744 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21745 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21746 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21747 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21748 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21749 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21750 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21751 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21752 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21753 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21754 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21755 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21756 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21757 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21758 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21759 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21760 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21761 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21762 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21763 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21764 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21765 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21766 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21767 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21768 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21769 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21770 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21771 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21772 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21773 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21774 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21775 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21776 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21777 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21778 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21779 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21780 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21781 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21782 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21783 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21784 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21785 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21786 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21787 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21788 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21789 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21790 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21791 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21792 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21793 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21794 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21795 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21796 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21797 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21798 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21799 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21800 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21801 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21802 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21803 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21804 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21805 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21806 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21807 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21808 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21809 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21810 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21811 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21812 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21813 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21814 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21815 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21816 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21817 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21818 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21819 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21820 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21821 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21822 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21823 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21824 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21825 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21826 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21827 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21828 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21829 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21830 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21831 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21832 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21833 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21834 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21835 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21836 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21837 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21838 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21839 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21840 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21841 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21842 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21843 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21844 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21845 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21846 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21847 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21848 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21849 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21850 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21851 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21852 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21853 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21854 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21855 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21856 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21857 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21858 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21859 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21860 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21861 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21862 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21863 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21864 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21865 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21866 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21867 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21868 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21869 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21870 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21872 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21873 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21874 { (exit 1); exit 1; }; };;
21875 esac
21876 done
21879 # If the user did not use the arguments to specify the items to instantiate,
21880 # then the envvar interface is used. Set only those that are not.
21881 # We use the long form for the default assignment because of an extremely
21882 # bizarre bug on SunOS 4.1.3.
21883 if $ac_need_defaults; then
21884 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21885 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21886 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21889 # Have a temporary directory for convenience. Make it in the build tree
21890 # simply because there is no reason against having it here, and in addition,
21891 # creating and moving files from /tmp can sometimes cause problems.
21892 # Hook for its removal unless debugging.
21893 # Note that there is a small window in which the directory will not be cleaned:
21894 # after its creation but before its name has been assigned to `$tmp'.
21895 $debug ||
21897 tmp=
21898 trap 'exit_status=$?
21899 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21901 trap '{ (exit 1); exit 1; }' 1 2 13 15
21903 # Create a (secure) tmp directory for tmp files.
21906 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21907 test -n "$tmp" && test -d "$tmp"
21908 } ||
21910 tmp=./conf$$-$RANDOM
21911 (umask 077 && mkdir "$tmp")
21912 } ||
21914 echo "$me: cannot create a temporary directory in ." >&2
21915 { (exit 1); exit 1; }
21919 # Set up the sed scripts for CONFIG_FILES section.
21922 # No need to generate the scripts if there are no CONFIG_FILES.
21923 # This happens for instance when ./config.status config.h
21924 if test -n "$CONFIG_FILES"; then
21926 _ACEOF
21928 # Create sed commands to just substitute file output variables.
21930 # Remaining file output variables are in a fragment that also has non-file
21931 # output varibles.
21935 ac_delim='%!_!# '
21936 for ac_last_try in false false false false false :; do
21937 cat >conf$$subs.sed <<_ACEOF
21938 SHELL!$SHELL$ac_delim
21939 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21940 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21941 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21942 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21943 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21944 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21945 exec_prefix!$exec_prefix$ac_delim
21946 prefix!$prefix$ac_delim
21947 program_transform_name!$program_transform_name$ac_delim
21948 bindir!$bindir$ac_delim
21949 sbindir!$sbindir$ac_delim
21950 libexecdir!$libexecdir$ac_delim
21951 datarootdir!$datarootdir$ac_delim
21952 datadir!$datadir$ac_delim
21953 sysconfdir!$sysconfdir$ac_delim
21954 sharedstatedir!$sharedstatedir$ac_delim
21955 localstatedir!$localstatedir$ac_delim
21956 includedir!$includedir$ac_delim
21957 oldincludedir!$oldincludedir$ac_delim
21958 docdir!$docdir$ac_delim
21959 infodir!$infodir$ac_delim
21960 htmldir!$htmldir$ac_delim
21961 dvidir!$dvidir$ac_delim
21962 pdfdir!$pdfdir$ac_delim
21963 psdir!$psdir$ac_delim
21964 libdir!$libdir$ac_delim
21965 localedir!$localedir$ac_delim
21966 mandir!$mandir$ac_delim
21967 DEFS!$DEFS$ac_delim
21968 ECHO_C!$ECHO_C$ac_delim
21969 ECHO_N!$ECHO_N$ac_delim
21970 ECHO_T!$ECHO_T$ac_delim
21971 LIBS!$LIBS$ac_delim
21972 build_alias!$build_alias$ac_delim
21973 host_alias!$host_alias$ac_delim
21974 target_alias!$target_alias$ac_delim
21975 build!$build$ac_delim
21976 build_cpu!$build_cpu$ac_delim
21977 build_vendor!$build_vendor$ac_delim
21978 build_os!$build_os$ac_delim
21979 host!$host$ac_delim
21980 host_cpu!$host_cpu$ac_delim
21981 host_vendor!$host_vendor$ac_delim
21982 host_os!$host_os$ac_delim
21983 WIN16_FILES!$WIN16_FILES$ac_delim
21984 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21985 SET_MAKE!$SET_MAKE$ac_delim
21986 CC!$CC$ac_delim
21987 CFLAGS!$CFLAGS$ac_delim
21988 LDFLAGS!$LDFLAGS$ac_delim
21989 CPPFLAGS!$CPPFLAGS$ac_delim
21990 ac_ct_CC!$ac_ct_CC$ac_delim
21991 EXEEXT!$EXEEXT$ac_delim
21992 OBJEXT!$OBJEXT$ac_delim
21993 CXX!$CXX$ac_delim
21994 CXXFLAGS!$CXXFLAGS$ac_delim
21995 ac_ct_CXX!$ac_ct_CXX$ac_delim
21996 CPPBIN!$CPPBIN$ac_delim
21997 TOOLSDIR!$TOOLSDIR$ac_delim
21998 XMKMF!$XMKMF$ac_delim
21999 CPP!$CPP$ac_delim
22000 X_CFLAGS!$X_CFLAGS$ac_delim
22001 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22002 X_LIBS!$X_LIBS$ac_delim
22003 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22004 FLEX!$FLEX$ac_delim
22005 BISON!$BISON$ac_delim
22006 AS!$AS$ac_delim
22007 ac_ct_AS!$ac_ct_AS$ac_delim
22008 LD!$LD$ac_delim
22009 AR!$AR$ac_delim
22010 RANLIB!$RANLIB$ac_delim
22011 STRIP!$STRIP$ac_delim
22012 WINDRES!$WINDRES$ac_delim
22013 LN_S!$LN_S$ac_delim
22014 LN!$LN$ac_delim
22015 GREP!$GREP$ac_delim
22016 EGREP!$EGREP$ac_delim
22017 LDCONFIG!$LDCONFIG$ac_delim
22018 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22019 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22020 _ACEOF
22022 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22023 break
22024 elif $ac_last_try; then
22025 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22026 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22027 { (exit 1); exit 1; }; }
22028 else
22029 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22031 done
22033 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22034 if test -n "$ac_eof"; then
22035 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22036 ac_eof=`expr $ac_eof + 1`
22039 cat >>$CONFIG_STATUS <<_ACEOF
22040 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22041 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22042 /^[ ]*@MAKE_RULES@[ ]*$/{
22043 r $MAKE_RULES
22046 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22047 r $MAKE_DLL_RULES
22050 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22051 r $MAKE_IMPLIB_RULES
22054 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22055 r $MAKE_TEST_RULES
22058 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22059 r $MAKE_PROG_RULES
22062 _ACEOF
22063 sed '
22064 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22065 s/^/s,@/; s/!/@,|#_!!_#|/
22068 s/'"$ac_delim"'$/,g/; t
22069 s/$/\\/; p
22070 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22071 ' >>$CONFIG_STATUS <conf$$subs.sed
22072 rm -f conf$$subs.sed
22073 cat >>$CONFIG_STATUS <<_ACEOF
22074 CEOF$ac_eof
22075 _ACEOF
22078 ac_delim='%!_!# '
22079 for ac_last_try in false false false false false :; do
22080 cat >conf$$subs.sed <<_ACEOF
22081 INSTALL_DATA!$INSTALL_DATA$ac_delim
22082 LINT!$LINT$ac_delim
22083 LINTFLAGS!$LINTFLAGS$ac_delim
22084 FONTFORGE!$FONTFORGE$ac_delim
22085 PKG_CONFIG!$PKG_CONFIG$ac_delim
22086 PRELINK!$PRELINK$ac_delim
22087 LIBPTHREAD!$LIBPTHREAD$ac_delim
22088 XLIB!$XLIB$ac_delim
22089 XFILES!$XFILES$ac_delim
22090 OPENGLFILES!$OPENGLFILES$ac_delim
22091 GLU32FILES!$GLU32FILES$ac_delim
22092 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22093 QUARTZFILES!$QUARTZFILES$ac_delim
22094 DLLEXT!$DLLEXT$ac_delim
22095 DLLFLAGS!$DLLFLAGS$ac_delim
22096 LDSHARED!$LDSHARED$ac_delim
22097 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22098 LIBEXT!$LIBEXT$ac_delim
22099 IMPLIBEXT!$IMPLIBEXT$ac_delim
22100 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22101 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22102 LDD!$LDD$ac_delim
22103 DLLTOOL!$DLLTOOL$ac_delim
22104 DLLWRAP!$DLLWRAP$ac_delim
22105 MINGWAR!$MINGWAR$ac_delim
22106 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22107 IOKITLIB!$IOKITLIB$ac_delim
22108 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22109 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22110 COREAUDIO!$COREAUDIO$ac_delim
22111 CARBONLIB!$CARBONLIB$ac_delim
22112 CROSSTEST!$CROSSTEST$ac_delim
22113 CROSSCC!$CROSSCC$ac_delim
22114 CROSSWINDRES!$CROSSWINDRES$ac_delim
22115 NASLIBS!$NASLIBS$ac_delim
22116 XML2LIBS!$XML2LIBS$ac_delim
22117 XML2INCL!$XML2INCL$ac_delim
22118 XSLTLIBS!$XSLTLIBS$ac_delim
22119 XSLTINCL!$XSLTINCL$ac_delim
22120 HALINCL!$HALINCL$ac_delim
22121 sane_devel!$sane_devel$ac_delim
22122 SANEINCL!$SANEINCL$ac_delim
22123 gphoto2_devel!$gphoto2_devel$ac_delim
22124 gphoto2port_devel!$gphoto2port_devel$ac_delim
22125 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22126 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22127 ICULIBS!$ICULIBS$ac_delim
22128 RESOLVLIBS!$RESOLVLIBS$ac_delim
22129 LCMSLIBS!$LCMSLIBS$ac_delim
22130 LDAPLIBS!$LDAPLIBS$ac_delim
22131 ft_devel!$ft_devel$ac_delim
22132 FREETYPELIBS!$FREETYPELIBS$ac_delim
22133 FREETYPEINCL!$FREETYPEINCL$ac_delim
22134 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22135 ESDCONFIG!$ESDCONFIG$ac_delim
22136 ESDLIBS!$ESDLIBS$ac_delim
22137 ESDINCL!$ESDINCL$ac_delim
22138 ALSALIBS!$ALSALIBS$ac_delim
22139 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22140 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22141 BUILTINFLAG!$BUILTINFLAG$ac_delim
22142 LDPATH!$LDPATH$ac_delim
22143 CRTLIBS!$CRTLIBS$ac_delim
22144 SOCKETLIBS!$SOCKETLIBS$ac_delim
22145 MAIN_BINARY!$MAIN_BINARY$ac_delim
22146 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22147 LIBDL!$LIBDL$ac_delim
22148 LIBPOLL!$LIBPOLL$ac_delim
22149 DEPENDENCIES!$DEPENDENCIES$ac_delim
22150 LIBOBJS!$LIBOBJS$ac_delim
22151 LTLIBOBJS!$LTLIBOBJS$ac_delim
22152 _ACEOF
22154 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
22155 break
22156 elif $ac_last_try; then
22157 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22158 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22159 { (exit 1); exit 1; }; }
22160 else
22161 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22163 done
22165 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22166 if test -n "$ac_eof"; then
22167 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22168 ac_eof=`expr $ac_eof + 1`
22171 cat >>$CONFIG_STATUS <<_ACEOF
22172 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22173 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22174 _ACEOF
22175 sed '
22176 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22177 s/^/s,@/; s/!/@,|#_!!_#|/
22180 s/'"$ac_delim"'$/,g/; t
22181 s/$/\\/; p
22182 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22183 ' >>$CONFIG_STATUS <conf$$subs.sed
22184 rm -f conf$$subs.sed
22185 cat >>$CONFIG_STATUS <<_ACEOF
22186 :end
22187 s/|#_!!_#|//g
22188 CEOF$ac_eof
22189 _ACEOF
22192 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22193 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22194 # trailing colons and then remove the whole line if VPATH becomes empty
22195 # (actually we leave an empty line to preserve line numbers).
22196 if test "x$srcdir" = x.; then
22197 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22198 s/:*\$(srcdir):*/:/
22199 s/:*\${srcdir}:*/:/
22200 s/:*@srcdir@:*/:/
22201 s/^\([^=]*=[ ]*\):*/\1/
22202 s/:*$//
22203 s/^[^=]*=[ ]*$//
22207 cat >>$CONFIG_STATUS <<\_ACEOF
22208 fi # test -n "$CONFIG_FILES"
22211 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22213 case $ac_tag in
22214 :[FHLC]) ac_mode=$ac_tag; continue;;
22215 esac
22216 case $ac_mode$ac_tag in
22217 :[FHL]*:*);;
22218 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22219 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22220 { (exit 1); exit 1; }; };;
22221 :[FH]-) ac_tag=-:-;;
22222 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22223 esac
22224 ac_save_IFS=$IFS
22225 IFS=:
22226 set x $ac_tag
22227 IFS=$ac_save_IFS
22228 shift
22229 ac_file=$1
22230 shift
22232 case $ac_mode in
22233 :L) ac_source=$1;;
22234 :[FH])
22235 ac_file_inputs=
22236 for ac_f
22238 case $ac_f in
22239 -) ac_f="$tmp/stdin";;
22240 *) # Look for the file first in the build tree, then in the source tree
22241 # (if the path is not absolute). The absolute path cannot be DOS-style,
22242 # because $ac_f cannot contain `:'.
22243 test -f "$ac_f" ||
22244 case $ac_f in
22245 [\\/$]*) false;;
22246 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22247 esac ||
22248 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22249 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22250 { (exit 1); exit 1; }; };;
22251 esac
22252 ac_file_inputs="$ac_file_inputs $ac_f"
22253 done
22255 # Let's still pretend it is `configure' which instantiates (i.e., don't
22256 # use $as_me), people would be surprised to read:
22257 # /* config.h. Generated by config.status. */
22258 configure_input="Generated from "`IFS=:
22259 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22260 if test x"$ac_file" != x-; then
22261 configure_input="$ac_file. $configure_input"
22262 { echo "$as_me:$LINENO: creating $ac_file" >&5
22263 echo "$as_me: creating $ac_file" >&6;}
22266 case $ac_tag in
22267 *:-:* | *:-) cat >"$tmp/stdin";;
22268 esac
22270 esac
22272 ac_dir=`$as_dirname -- "$ac_file" ||
22273 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22274 X"$ac_file" : 'X\(//\)[^/]' \| \
22275 X"$ac_file" : 'X\(//\)$' \| \
22276 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22277 echo X"$ac_file" |
22278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22279 s//\1/
22282 /^X\(\/\/\)[^/].*/{
22283 s//\1/
22286 /^X\(\/\/\)$/{
22287 s//\1/
22290 /^X\(\/\).*/{
22291 s//\1/
22294 s/.*/./; q'`
22295 { as_dir="$ac_dir"
22296 case $as_dir in #(
22297 -*) as_dir=./$as_dir;;
22298 esac
22299 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22300 as_dirs=
22301 while :; do
22302 case $as_dir in #(
22303 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22304 *) as_qdir=$as_dir;;
22305 esac
22306 as_dirs="'$as_qdir' $as_dirs"
22307 as_dir=`$as_dirname -- "$as_dir" ||
22308 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22309 X"$as_dir" : 'X\(//\)[^/]' \| \
22310 X"$as_dir" : 'X\(//\)$' \| \
22311 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22312 echo X"$as_dir" |
22313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22314 s//\1/
22317 /^X\(\/\/\)[^/].*/{
22318 s//\1/
22321 /^X\(\/\/\)$/{
22322 s//\1/
22325 /^X\(\/\).*/{
22326 s//\1/
22329 s/.*/./; q'`
22330 test -d "$as_dir" && break
22331 done
22332 test -z "$as_dirs" || eval "mkdir $as_dirs"
22333 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22334 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22335 { (exit 1); exit 1; }; }; }
22336 ac_builddir=.
22338 case "$ac_dir" in
22339 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22341 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22342 # A ".." for each directory in $ac_dir_suffix.
22343 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22344 case $ac_top_builddir_sub in
22345 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22346 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22347 esac ;;
22348 esac
22349 ac_abs_top_builddir=$ac_pwd
22350 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22351 # for backward compatibility:
22352 ac_top_builddir=$ac_top_build_prefix
22354 case $srcdir in
22355 .) # We are building in place.
22356 ac_srcdir=.
22357 ac_top_srcdir=$ac_top_builddir_sub
22358 ac_abs_top_srcdir=$ac_pwd ;;
22359 [\\/]* | ?:[\\/]* ) # Absolute name.
22360 ac_srcdir=$srcdir$ac_dir_suffix;
22361 ac_top_srcdir=$srcdir
22362 ac_abs_top_srcdir=$srcdir ;;
22363 *) # Relative name.
22364 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22365 ac_top_srcdir=$ac_top_build_prefix$srcdir
22366 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22367 esac
22368 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22371 case $ac_mode in
22374 # CONFIG_FILE
22377 case $INSTALL in
22378 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22379 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22380 esac
22381 _ACEOF
22383 cat >>$CONFIG_STATUS <<\_ACEOF
22384 # If the template does not know about datarootdir, expand it.
22385 # FIXME: This hack should be removed a few years after 2.60.
22386 ac_datarootdir_hack=; ac_datarootdir_seen=
22388 case `sed -n '/datarootdir/ {
22392 /@datadir@/p
22393 /@docdir@/p
22394 /@infodir@/p
22395 /@localedir@/p
22396 /@mandir@/p
22397 ' $ac_file_inputs` in
22398 *datarootdir*) ac_datarootdir_seen=yes;;
22399 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22400 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22401 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22402 _ACEOF
22403 cat >>$CONFIG_STATUS <<_ACEOF
22404 ac_datarootdir_hack='
22405 s&@datadir@&$datadir&g
22406 s&@docdir@&$docdir&g
22407 s&@infodir@&$infodir&g
22408 s&@localedir@&$localedir&g
22409 s&@mandir@&$mandir&g
22410 s&\\\${datarootdir}&$datarootdir&g' ;;
22411 esac
22412 _ACEOF
22414 # Neutralize VPATH when `$srcdir' = `.'.
22415 # Shell code in configure.ac might set extrasub.
22416 # FIXME: do we really want to maintain this feature?
22417 cat >>$CONFIG_STATUS <<_ACEOF
22418 sed "$ac_vpsub
22419 $extrasub
22420 _ACEOF
22421 cat >>$CONFIG_STATUS <<\_ACEOF
22423 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22424 s&@configure_input@&$configure_input&;t t
22425 s&@top_builddir@&$ac_top_builddir_sub&;t t
22426 s&@srcdir@&$ac_srcdir&;t t
22427 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22428 s&@top_srcdir@&$ac_top_srcdir&;t t
22429 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22430 s&@builddir@&$ac_builddir&;t t
22431 s&@abs_builddir@&$ac_abs_builddir&;t t
22432 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22433 s&@INSTALL@&$ac_INSTALL&;t t
22434 $ac_datarootdir_hack
22435 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22437 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22438 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22439 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22440 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22441 which seems to be undefined. Please make sure it is defined." >&5
22442 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22443 which seems to be undefined. Please make sure it is defined." >&2;}
22445 rm -f "$tmp/stdin"
22446 case $ac_file in
22447 -) cat "$tmp/out"; rm -f "$tmp/out";;
22448 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22449 esac
22453 # CONFIG_HEADER
22455 _ACEOF
22457 # Transform confdefs.h into a sed script `conftest.defines', that
22458 # substitutes the proper values into config.h.in to produce config.h.
22459 rm -f conftest.defines conftest.tail
22460 # First, append a space to every undef/define line, to ease matching.
22461 echo 's/$/ /' >conftest.defines
22462 # Then, protect against being on the right side of a sed subst, or in
22463 # an unquoted here document, in config.status. If some macros were
22464 # called several times there might be several #defines for the same
22465 # symbol, which is useless. But do not sort them, since the last
22466 # AC_DEFINE must be honored.
22467 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22468 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22469 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22470 # PARAMS is the parameter list in the macro definition--in most cases, it's
22471 # just an empty string.
22472 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22473 ac_dB='\\)[ (].*,\\1define\\2'
22474 ac_dC=' '
22475 ac_dD=' ,'
22477 uniq confdefs.h |
22478 sed -n '
22479 t rset
22480 :rset
22481 s/^[ ]*#[ ]*define[ ][ ]*//
22482 t ok
22485 s/[\\&,]/\\&/g
22486 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22487 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22488 ' >>conftest.defines
22490 # Remove the space that was appended to ease matching.
22491 # Then replace #undef with comments. This is necessary, for
22492 # example, in the case of _POSIX_SOURCE, which is predefined and required
22493 # on some systems where configure will not decide to define it.
22494 # (The regexp can be short, since the line contains either #define or #undef.)
22495 echo 's/ $//
22496 s,^[ #]*u.*,/* & */,' >>conftest.defines
22498 # Break up conftest.defines:
22499 ac_max_sed_lines=50
22501 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22502 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22503 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22504 # et cetera.
22505 ac_in='$ac_file_inputs'
22506 ac_out='"$tmp/out1"'
22507 ac_nxt='"$tmp/out2"'
22509 while :
22511 # Write a here document:
22512 cat >>$CONFIG_STATUS <<_ACEOF
22513 # First, check the format of the line:
22514 cat >"\$tmp/defines.sed" <<\\CEOF
22515 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22516 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22518 :def
22519 _ACEOF
22520 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22521 echo 'CEOF
22522 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22523 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22524 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22525 grep . conftest.tail >/dev/null || break
22526 rm -f conftest.defines
22527 mv conftest.tail conftest.defines
22528 done
22529 rm -f conftest.defines conftest.tail
22531 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22532 cat >>$CONFIG_STATUS <<\_ACEOF
22533 if test x"$ac_file" != x-; then
22534 echo "/* $configure_input */" >"$tmp/config.h"
22535 cat "$ac_result" >>"$tmp/config.h"
22536 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22537 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22538 echo "$as_me: $ac_file is unchanged" >&6;}
22539 else
22540 rm -f $ac_file
22541 mv "$tmp/config.h" $ac_file
22543 else
22544 echo "/* $configure_input */"
22545 cat "$ac_result"
22547 rm -f "$tmp/out12"
22550 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22551 echo "$as_me: executing $ac_file commands" >&6;}
22553 esac
22556 case $ac_file$ac_mode in
22557 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22558 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22559 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22560 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22561 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22562 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22563 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22564 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22565 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22566 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22567 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22568 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22569 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22571 esac
22572 done # for ac_tag
22575 { (exit 0); exit 0; }
22576 _ACEOF
22577 chmod +x $CONFIG_STATUS
22578 ac_clean_files=$ac_clean_files_save
22581 # configure is writing to config.log, and then calls config.status.
22582 # config.status does its own redirection, appending to config.log.
22583 # Unfortunately, on DOS this fails, as config.log is still kept open
22584 # by configure, so config.status won't be able to write to it; its
22585 # output is simply discarded. So we exec the FD to /dev/null,
22586 # effectively closing config.log, so it can be properly (re)opened and
22587 # appended to by config.status. When coming back to configure, we
22588 # need to make the FD available again.
22589 if test "$no_create" != yes; then
22590 ac_cs_success=:
22591 ac_config_status_args=
22592 test "$silent" = yes &&
22593 ac_config_status_args="$ac_config_status_args --quiet"
22594 exec 5>/dev/null
22595 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22596 exec 5>>config.log
22597 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22598 # would make configure fail if this is the last instruction.
22599 $ac_cs_success || { (exit 1); exit 1; }
22603 if test "$no_create" = "yes"
22604 then
22605 exit 0
22608 ac_save_IFS="$IFS"
22609 IFS="|"
22610 if test "$verbose" = "yes"; then
22611 for msg in $wine_notices; do
22612 if test -n "$msg"; then
22613 echo >&2
22614 { echo "$as_me:$LINENO: $msg" >&5
22615 echo "$as_me: $msg" >&6;}
22617 done
22619 for msg in $wine_warnings; do
22620 if test -n "$msg"; then
22621 echo >&2
22622 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22623 echo "$as_me: WARNING: $msg" >&2;}
22625 done
22626 IFS="$ac_save_IFS"
22628 echo
22629 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22630 echo