richedit: Null pointer check missing on optional parameter.
[wine.git] / configure
blob2f13aa885c128b267895fbdf7f4108dd175530f2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.0.
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='1.0'
578 PACKAGE_STRING='Wine 1.0'
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 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 SET_MAKE
668 CFLAGS
669 LDFLAGS
670 CPPFLAGS
671 ac_ct_CC
672 EXEEXT
673 OBJEXT
675 CXXFLAGS
676 ac_ct_CXX
677 CPPBIN
678 TOOLSDIR
679 XMKMF
681 X_CFLAGS
682 X_PRE_LIBS
683 X_LIBS
684 X_EXTRA_LIBS
685 FLEX
686 BISON
688 ac_ct_AS
690 ac_ct_LD
692 ac_ct_NM
694 ac_ct_AR
695 ARFLAGS
696 RANLIB
697 STRIP
698 WINDRES
699 LN_S
701 GREP
702 EGREP
703 LDCONFIG
704 INSTALL_PROGRAM
705 INSTALL_SCRIPT
706 INSTALL_DATA
707 LINT
708 LINTFLAGS
709 FONTFORGE
710 PKG_CONFIG
711 RSVG
712 ICOTOOL
713 PRELINK
714 LIBPTHREAD
715 XLIB
716 XFILES
717 OPENGLFILES
718 GLU32FILES
719 OPENGL_LIBS
720 QUARTZFILES
721 DLLEXT
722 DLLFLAGS
723 LDSHARED
724 LDDLLFLAGS
725 LIBEXT
726 IMPLIBEXT
727 LDRPATH_INSTALL
728 LDRPATH_LOCAL
730 DLLTOOL
731 DLLWRAP
732 MINGWAR
733 SECURITYLIB
734 COREFOUNDATIONLIB
735 IOKITLIB
736 LDEXECFLAGS
737 DISKARBITRATIONLIB
738 COREAUDIO
739 CARBONLIB
740 CROSSTEST
741 CROSSCC
742 CROSSWINDRES
743 NASLIBS
744 XML2LIBS
745 XML2INCL
746 XSLTLIBS
747 XSLTINCL
748 HALINCL
749 sane_devel
750 SANEINCL
751 gphoto2_devel
752 gphoto2port_devel
753 GPHOTO2LIBS
754 GPHOTO2INCL
755 RESOLVLIBS
756 LCMSLIBS
757 LDAPLIBS
758 ft_devel
759 FREETYPELIBS
760 FREETYPEINCL
761 FONTSSUBDIRS
762 ESDCONFIG
763 ESDLIBS
764 ESDINCL
765 ALSALIBS
766 AUDIOIOLIBS
767 FONTCONFIGINCL
768 EXTRACFLAGS
769 BUILTINFLAG
770 LDPATH
771 CRTLIBS
772 SOCKETLIBS
773 MAIN_BINARY
774 EXTRA_BINARIES
775 LIBDL
776 LIBPOLL
777 DEPENDENCIES
778 LIBOBJS
779 LTLIBOBJS'
780 ac_subst_files='MAKE_RULES
781 MAKE_DLL_RULES
782 MAKE_IMPLIB_RULES
783 MAKE_TEST_RULES
784 MAKE_PROG_RULES'
785 ac_precious_vars='build_alias
786 host_alias
787 target_alias
789 CFLAGS
790 LDFLAGS
791 LIBS
792 CPPFLAGS
794 CXXFLAGS
796 XMKMF
797 CPP'
800 # Initialize some variables set by options.
801 ac_init_help=
802 ac_init_version=false
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
805 cache_file=/dev/null
806 exec_prefix=NONE
807 no_create=
808 no_recursion=
809 prefix=NONE
810 program_prefix=NONE
811 program_suffix=NONE
812 program_transform_name=s,x,x,
813 silent=
814 site=
815 srcdir=
816 verbose=
817 x_includes=NONE
818 x_libraries=NONE
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir='${exec_prefix}/bin'
827 sbindir='${exec_prefix}/sbin'
828 libexecdir='${exec_prefix}/libexec'
829 datarootdir='${prefix}/share'
830 datadir='${datarootdir}'
831 sysconfdir='${prefix}/etc'
832 sharedstatedir='${prefix}/com'
833 localstatedir='${prefix}/var'
834 includedir='${prefix}/include'
835 oldincludedir='/usr/include'
836 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
837 infodir='${datarootdir}/info'
838 htmldir='${docdir}'
839 dvidir='${docdir}'
840 pdfdir='${docdir}'
841 psdir='${docdir}'
842 libdir='${exec_prefix}/lib'
843 localedir='${datarootdir}/locale'
844 mandir='${datarootdir}/man'
846 ac_prev=
847 ac_dashdash=
848 for ac_option
850 # If the previous option needs an argument, assign it.
851 if test -n "$ac_prev"; then
852 eval $ac_prev=\$ac_option
853 ac_prev=
854 continue
857 case $ac_option in
858 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
859 *) ac_optarg=yes ;;
860 esac
862 # Accept the important Cygnus configure options, so we can diagnose typos.
864 case $ac_dashdash$ac_option in
866 ac_dashdash=yes ;;
868 -bindir | --bindir | --bindi | --bind | --bin | --bi)
869 ac_prev=bindir ;;
870 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
871 bindir=$ac_optarg ;;
873 -build | --build | --buil | --bui | --bu)
874 ac_prev=build_alias ;;
875 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
876 build_alias=$ac_optarg ;;
878 -cache-file | --cache-file | --cache-fil | --cache-fi \
879 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
880 ac_prev=cache_file ;;
881 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
882 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
883 cache_file=$ac_optarg ;;
885 --config-cache | -C)
886 cache_file=config.cache ;;
888 -datadir | --datadir | --datadi | --datad)
889 ac_prev=datadir ;;
890 -datadir=* | --datadir=* | --datadi=* | --datad=*)
891 datadir=$ac_optarg ;;
893 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
894 | --dataroo | --dataro | --datar)
895 ac_prev=datarootdir ;;
896 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
897 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
898 datarootdir=$ac_optarg ;;
900 -disable-* | --disable-*)
901 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
904 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
905 { (exit 1); exit 1; }; }
906 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
907 eval enable_$ac_feature=no ;;
909 -docdir | --docdir | --docdi | --doc | --do)
910 ac_prev=docdir ;;
911 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
912 docdir=$ac_optarg ;;
914 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
915 ac_prev=dvidir ;;
916 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
917 dvidir=$ac_optarg ;;
919 -enable-* | --enable-*)
920 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
923 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
924 { (exit 1); exit 1; }; }
925 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
926 eval enable_$ac_feature=\$ac_optarg ;;
928 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
929 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
930 | --exec | --exe | --ex)
931 ac_prev=exec_prefix ;;
932 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
933 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
934 | --exec=* | --exe=* | --ex=*)
935 exec_prefix=$ac_optarg ;;
937 -gas | --gas | --ga | --g)
938 # Obsolete; use --with-gas.
939 with_gas=yes ;;
941 -help | --help | --hel | --he | -h)
942 ac_init_help=long ;;
943 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
944 ac_init_help=recursive ;;
945 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
946 ac_init_help=short ;;
948 -host | --host | --hos | --ho)
949 ac_prev=host_alias ;;
950 -host=* | --host=* | --hos=* | --ho=*)
951 host_alias=$ac_optarg ;;
953 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
954 ac_prev=htmldir ;;
955 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
956 | --ht=*)
957 htmldir=$ac_optarg ;;
959 -includedir | --includedir | --includedi | --included | --include \
960 | --includ | --inclu | --incl | --inc)
961 ac_prev=includedir ;;
962 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
963 | --includ=* | --inclu=* | --incl=* | --inc=*)
964 includedir=$ac_optarg ;;
966 -infodir | --infodir | --infodi | --infod | --info | --inf)
967 ac_prev=infodir ;;
968 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
969 infodir=$ac_optarg ;;
971 -libdir | --libdir | --libdi | --libd)
972 ac_prev=libdir ;;
973 -libdir=* | --libdir=* | --libdi=* | --libd=*)
974 libdir=$ac_optarg ;;
976 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
977 | --libexe | --libex | --libe)
978 ac_prev=libexecdir ;;
979 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
980 | --libexe=* | --libex=* | --libe=*)
981 libexecdir=$ac_optarg ;;
983 -localedir | --localedir | --localedi | --localed | --locale)
984 ac_prev=localedir ;;
985 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
986 localedir=$ac_optarg ;;
988 -localstatedir | --localstatedir | --localstatedi | --localstated \
989 | --localstate | --localstat | --localsta | --localst | --locals)
990 ac_prev=localstatedir ;;
991 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
992 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
993 localstatedir=$ac_optarg ;;
995 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
996 ac_prev=mandir ;;
997 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
998 mandir=$ac_optarg ;;
1000 -nfp | --nfp | --nf)
1001 # Obsolete; use --without-fp.
1002 with_fp=no ;;
1004 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1005 | --no-cr | --no-c | -n)
1006 no_create=yes ;;
1008 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1009 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1010 no_recursion=yes ;;
1012 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1013 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1014 | --oldin | --oldi | --old | --ol | --o)
1015 ac_prev=oldincludedir ;;
1016 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1017 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1018 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1019 oldincludedir=$ac_optarg ;;
1021 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1022 ac_prev=prefix ;;
1023 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1024 prefix=$ac_optarg ;;
1026 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1027 | --program-pre | --program-pr | --program-p)
1028 ac_prev=program_prefix ;;
1029 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1030 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1031 program_prefix=$ac_optarg ;;
1033 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1034 | --program-suf | --program-su | --program-s)
1035 ac_prev=program_suffix ;;
1036 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1037 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1038 program_suffix=$ac_optarg ;;
1040 -program-transform-name | --program-transform-name \
1041 | --program-transform-nam | --program-transform-na \
1042 | --program-transform-n | --program-transform- \
1043 | --program-transform | --program-transfor \
1044 | --program-transfo | --program-transf \
1045 | --program-trans | --program-tran \
1046 | --progr-tra | --program-tr | --program-t)
1047 ac_prev=program_transform_name ;;
1048 -program-transform-name=* | --program-transform-name=* \
1049 | --program-transform-nam=* | --program-transform-na=* \
1050 | --program-transform-n=* | --program-transform-=* \
1051 | --program-transform=* | --program-transfor=* \
1052 | --program-transfo=* | --program-transf=* \
1053 | --program-trans=* | --program-tran=* \
1054 | --progr-tra=* | --program-tr=* | --program-t=*)
1055 program_transform_name=$ac_optarg ;;
1057 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1058 ac_prev=pdfdir ;;
1059 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1060 pdfdir=$ac_optarg ;;
1062 -psdir | --psdir | --psdi | --psd | --ps)
1063 ac_prev=psdir ;;
1064 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1065 psdir=$ac_optarg ;;
1067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068 | -silent | --silent | --silen | --sile | --sil)
1069 silent=yes ;;
1071 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1072 ac_prev=sbindir ;;
1073 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1074 | --sbi=* | --sb=*)
1075 sbindir=$ac_optarg ;;
1077 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1078 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1079 | --sharedst | --shareds | --shared | --share | --shar \
1080 | --sha | --sh)
1081 ac_prev=sharedstatedir ;;
1082 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1083 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1084 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1085 | --sha=* | --sh=*)
1086 sharedstatedir=$ac_optarg ;;
1088 -site | --site | --sit)
1089 ac_prev=site ;;
1090 -site=* | --site=* | --sit=*)
1091 site=$ac_optarg ;;
1093 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1094 ac_prev=srcdir ;;
1095 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1096 srcdir=$ac_optarg ;;
1098 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1099 | --syscon | --sysco | --sysc | --sys | --sy)
1100 ac_prev=sysconfdir ;;
1101 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1102 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1103 sysconfdir=$ac_optarg ;;
1105 -target | --target | --targe | --targ | --tar | --ta | --t)
1106 ac_prev=target_alias ;;
1107 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1108 target_alias=$ac_optarg ;;
1110 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1111 verbose=yes ;;
1113 -version | --version | --versio | --versi | --vers | -V)
1114 ac_init_version=: ;;
1116 -with-* | --with-*)
1117 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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=\$ac_optarg ;;
1125 -without-* | --without-*)
1126 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129 { echo "$as_me: error: invalid package name: $ac_package" >&2
1130 { (exit 1); exit 1; }; }
1131 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1132 eval with_$ac_package=no ;;
1134 --x)
1135 # Obsolete; use --with-x.
1136 with_x=yes ;;
1138 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1139 | --x-incl | --x-inc | --x-in | --x-i)
1140 ac_prev=x_includes ;;
1141 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1142 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1143 x_includes=$ac_optarg ;;
1145 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1146 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1147 ac_prev=x_libraries ;;
1148 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1149 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1150 x_libraries=$ac_optarg ;;
1152 -*) { echo "$as_me: error: unrecognized option: $ac_option
1153 Try \`$0 --help' for more information." >&2
1154 { (exit 1); exit 1; }; }
1157 *=*)
1158 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1161 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1162 { (exit 1); exit 1; }; }
1163 eval $ac_envvar=\$ac_optarg
1164 export $ac_envvar ;;
1167 # FIXME: should be removed in autoconf 3.0.
1168 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1169 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1170 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1171 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1174 esac
1175 done
1177 if test -n "$ac_prev"; then
1178 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1179 { echo "$as_me: error: missing argument to $ac_option" >&2
1180 { (exit 1); exit 1; }; }
1183 # Be sure to have absolute directory names.
1184 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val=\$$ac_var
1190 case $ac_val in
1191 [\\/$]* | ?:[\\/]* ) continue;;
1192 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1193 esac
1194 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1195 { (exit 1); exit 1; }; }
1196 done
1198 # There might be people who depend on the old broken behavior: `$host'
1199 # used to hold the argument of --host etc.
1200 # FIXME: To remove some day.
1201 build=$build_alias
1202 host=$host_alias
1203 target=$target_alias
1205 # FIXME: To remove some day.
1206 if test "x$host_alias" != x; then
1207 if test "x$build_alias" = x; then
1208 cross_compiling=maybe
1209 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1210 If a cross compiler is detected then cross compile mode will be used." >&2
1211 elif test "x$build_alias" != "x$host_alias"; then
1212 cross_compiling=yes
1216 ac_tool_prefix=
1217 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1219 test "$silent" = yes && exec 6>/dev/null
1222 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1223 ac_ls_di=`ls -di .` &&
1224 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1225 { echo "$as_me: error: Working directory cannot be determined" >&2
1226 { (exit 1); exit 1; }; }
1227 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1228 { echo "$as_me: error: pwd does not report name of working directory" >&2
1229 { (exit 1); exit 1; }; }
1232 # Find the source files, if location was not specified.
1233 if test -z "$srcdir"; then
1234 ac_srcdir_defaulted=yes
1235 # Try the directory containing this script, then the parent directory.
1236 ac_confdir=`$as_dirname -- "$0" ||
1237 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238 X"$0" : 'X\(//\)[^/]' \| \
1239 X"$0" : 'X\(//\)$' \| \
1240 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1241 echo X"$0" |
1242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1243 s//\1/
1246 /^X\(\/\/\)[^/].*/{
1247 s//\1/
1250 /^X\(\/\/\)$/{
1251 s//\1/
1254 /^X\(\/\).*/{
1255 s//\1/
1258 s/.*/./; q'`
1259 srcdir=$ac_confdir
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 srcdir=..
1263 else
1264 ac_srcdir_defaulted=no
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1267 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1268 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1269 { (exit 1); exit 1; }; }
1271 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1272 ac_abs_confdir=`(
1273 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1274 { (exit 1); exit 1; }; }
1275 pwd)`
1276 # When building in place, set srcdir=.
1277 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278 srcdir=.
1280 # Remove unnecessary trailing slashes from srcdir.
1281 # Double slashes in file names in object file debugging info
1282 # mess up M-x gdb in Emacs.
1283 case $srcdir in
1284 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1285 esac
1286 for ac_var in $ac_precious_vars; do
1287 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_env_${ac_var}_value=\$${ac_var}
1289 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1291 done
1294 # Report the --help message.
1296 if test "$ac_init_help" = "long"; then
1297 # Omit some internal or obsolete options to make the list less imposing.
1298 # This message is too long to be a string in the A/UX 3.1 sh.
1299 cat <<_ACEOF
1300 \`configure' configures Wine 1.0 to adapt to many kinds of systems.
1302 Usage: $0 [OPTION]... [VAR=VALUE]...
1304 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1305 VAR=VALUE. See below for descriptions of some of the useful variables.
1307 Defaults for the options are specified in brackets.
1309 Configuration:
1310 -h, --help display this help and exit
1311 --help=short display options specific to this package
1312 --help=recursive display the short help of all the included packages
1313 -V, --version display version information and exit
1314 -q, --quiet, --silent do not print \`checking...' messages
1315 --cache-file=FILE cache test results in FILE [disabled]
1316 -C, --config-cache alias for \`--cache-file=config.cache'
1317 -n, --no-create do not create output files
1318 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1320 Installation directories:
1321 --prefix=PREFIX install architecture-independent files in PREFIX
1322 [$ac_default_prefix]
1323 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1324 [PREFIX]
1326 By default, \`make install' will install all the files in
1327 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1328 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1329 for instance \`--prefix=\$HOME'.
1331 For better control, use the options below.
1333 Fine tuning of the installation directories:
1334 --bindir=DIR user executables [EPREFIX/bin]
1335 --sbindir=DIR system admin executables [EPREFIX/sbin]
1336 --libexecdir=DIR program executables [EPREFIX/libexec]
1337 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1338 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1339 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1340 --libdir=DIR object code libraries [EPREFIX/lib]
1341 --includedir=DIR C header files [PREFIX/include]
1342 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1343 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1344 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1345 --infodir=DIR info documentation [DATAROOTDIR/info]
1346 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1347 --mandir=DIR man documentation [DATAROOTDIR/man]
1348 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1349 --htmldir=DIR html documentation [DOCDIR]
1350 --dvidir=DIR dvi documentation [DOCDIR]
1351 --pdfdir=DIR pdf documentation [DOCDIR]
1352 --psdir=DIR ps documentation [DOCDIR]
1353 _ACEOF
1355 cat <<\_ACEOF
1357 X features:
1358 --x-includes=DIR X include files are in DIR
1359 --x-libraries=DIR X library files are in DIR
1361 System types:
1362 --build=BUILD configure for building on BUILD [guessed]
1363 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1364 _ACEOF
1367 if test -n "$ac_init_help"; then
1368 case $ac_init_help in
1369 short | recursive ) echo "Configuration of Wine 1.0:";;
1370 esac
1371 cat <<\_ACEOF
1373 Optional Features:
1374 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1375 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1376 --disable-win16 do not include Win16 support
1377 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1378 binaries)
1379 --enable-maintainer-mode
1380 enable maintainer-specific build rules
1382 Optional Packages:
1383 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1384 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1385 --without-alsa do not use the Alsa sound support
1386 --without-audioio do not use the AudioIO sound support
1387 --without-capi do not use CAPI (ISDN support)
1388 --without-cms do not use CMS (color management support)
1389 --without-coreaudio do not use the CoreAudio sound support
1390 --without-cups do not use CUPS
1391 --without-curses do not use (n)curses
1392 --without-esd do not use the EsounD sound support
1393 --without-fontconfig do not use fontconfig
1394 --without-freetype do not use the FreeType library
1395 --without-gphoto do not use gphoto (Digital Camera support)
1396 --without-glu do not use the GLU library
1397 --without-hal do not use HAL (dynamic device support)
1398 --without-jack do not use the Jack sound support
1399 --without-jpeg do not use JPEG
1400 --without-ldap do not use LDAP
1401 --without-nas do not use the NAS sound support
1402 --without-opengl do not use OpenGL
1403 --without-openssl do not use OpenSSL
1404 --without-oss do not use the OSS sound support
1405 --without-png do not use PNG
1406 --without-sane do not use SANE (scanner support)
1407 --without-xcomposite do not use the Xcomposite extension
1408 --without-xcursor do not use the Xcursor extension
1409 --without-xinerama do not use Xinerama (multi-monitor support)
1410 --without-xinput do not use the Xinput extension
1411 --without-xml do not use XML
1412 --without-xrandr do not use Xrandr (resolution changes)
1413 --without-xrender do not use the Xrender extension
1414 --without-xshape do not use the Xshape extension
1415 --without-xshm do not use XShm (shared memory extension)
1416 --without-xslt do not use XSLT
1417 --without-xvidmode do not use XFree video mode extension
1418 --with-wine-tools=DIR use Wine tools from directory DIR
1419 --with-x use the X Window System
1421 Some influential environment variables:
1422 CC C compiler command
1423 CFLAGS C compiler flags
1424 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1425 nonstandard directory <lib dir>
1426 LIBS libraries to pass to the linker, e.g. -l<library>
1427 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1428 you have headers in a nonstandard directory <include dir>
1429 CXX C++ compiler command
1430 CXXFLAGS C++ compiler flags
1431 XMKMF Path to xmkmf, Makefile generator for X Window System
1432 CPP C preprocessor
1434 Use these variables to override the choices made by `configure' or to help
1435 it to find libraries and programs with nonstandard names/locations.
1437 Report bugs to <wine-devel@winehq.org>.
1438 _ACEOF
1439 ac_status=$?
1442 if test "$ac_init_help" = "recursive"; then
1443 # If there are subdirs, report their specific --help.
1444 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1445 test -d "$ac_dir" || continue
1446 ac_builddir=.
1448 case "$ac_dir" in
1449 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1452 # A ".." for each directory in $ac_dir_suffix.
1453 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1454 case $ac_top_builddir_sub in
1455 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1456 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1457 esac ;;
1458 esac
1459 ac_abs_top_builddir=$ac_pwd
1460 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1461 # for backward compatibility:
1462 ac_top_builddir=$ac_top_build_prefix
1464 case $srcdir in
1465 .) # We are building in place.
1466 ac_srcdir=.
1467 ac_top_srcdir=$ac_top_builddir_sub
1468 ac_abs_top_srcdir=$ac_pwd ;;
1469 [\\/]* | ?:[\\/]* ) # Absolute name.
1470 ac_srcdir=$srcdir$ac_dir_suffix;
1471 ac_top_srcdir=$srcdir
1472 ac_abs_top_srcdir=$srcdir ;;
1473 *) # Relative name.
1474 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1475 ac_top_srcdir=$ac_top_build_prefix$srcdir
1476 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1477 esac
1478 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1480 cd "$ac_dir" || { ac_status=$?; continue; }
1481 # Check for guested configure.
1482 if test -f "$ac_srcdir/configure.gnu"; then
1483 echo &&
1484 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1485 elif test -f "$ac_srcdir/configure"; then
1486 echo &&
1487 $SHELL "$ac_srcdir/configure" --help=recursive
1488 else
1489 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1490 fi || ac_status=$?
1491 cd "$ac_pwd" || { ac_status=$?; break; }
1492 done
1495 test -n "$ac_init_help" && exit $ac_status
1496 if $ac_init_version; then
1497 cat <<\_ACEOF
1498 Wine configure 1.0
1499 generated by GNU Autoconf 2.61
1501 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1502 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1503 This configure script is free software; the Free Software Foundation
1504 gives unlimited permission to copy, distribute and modify it.
1505 _ACEOF
1506 exit
1508 cat >config.log <<_ACEOF
1509 This file contains any messages produced by compilers while
1510 running configure, to aid debugging if configure makes a mistake.
1512 It was created by Wine $as_me 1.0, which was
1513 generated by GNU Autoconf 2.61. Invocation command line was
1515 $ $0 $@
1517 _ACEOF
1518 exec 5>>config.log
1520 cat <<_ASUNAME
1521 ## --------- ##
1522 ## Platform. ##
1523 ## --------- ##
1525 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1526 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1527 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1528 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1529 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1531 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1532 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1534 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1535 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1536 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1537 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1538 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1539 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1540 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1542 _ASUNAME
1544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1545 for as_dir in $PATH
1547 IFS=$as_save_IFS
1548 test -z "$as_dir" && as_dir=.
1549 echo "PATH: $as_dir"
1550 done
1551 IFS=$as_save_IFS
1553 } >&5
1555 cat >&5 <<_ACEOF
1558 ## ----------- ##
1559 ## Core tests. ##
1560 ## ----------- ##
1562 _ACEOF
1565 # Keep a trace of the command line.
1566 # Strip out --no-create and --no-recursion so they do not pile up.
1567 # Strip out --silent because we don't want to record it for future runs.
1568 # Also quote any args containing shell meta-characters.
1569 # Make two passes to allow for proper duplicate-argument suppression.
1570 ac_configure_args=
1571 ac_configure_args0=
1572 ac_configure_args1=
1573 ac_must_keep_next=false
1574 for ac_pass in 1 2
1576 for ac_arg
1578 case $ac_arg in
1579 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1580 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1581 | -silent | --silent | --silen | --sile | --sil)
1582 continue ;;
1583 *\'*)
1584 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1585 esac
1586 case $ac_pass in
1587 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1589 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1590 if test $ac_must_keep_next = true; then
1591 ac_must_keep_next=false # Got value, back to normal.
1592 else
1593 case $ac_arg in
1594 *=* | --config-cache | -C | -disable-* | --disable-* \
1595 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1596 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1597 | -with-* | --with-* | -without-* | --without-* | --x)
1598 case "$ac_configure_args0 " in
1599 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1600 esac
1602 -* ) ac_must_keep_next=true ;;
1603 esac
1605 ac_configure_args="$ac_configure_args '$ac_arg'"
1607 esac
1608 done
1609 done
1610 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1611 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1613 # When interrupted or exit'd, cleanup temporary files, and complete
1614 # config.log. We remove comments because anyway the quotes in there
1615 # would cause problems or look ugly.
1616 # WARNING: Use '\'' to represent an apostrophe within the trap.
1617 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1618 trap 'exit_status=$?
1619 # Save into config.log some information that might help in debugging.
1621 echo
1623 cat <<\_ASBOX
1624 ## ---------------- ##
1625 ## Cache variables. ##
1626 ## ---------------- ##
1627 _ASBOX
1628 echo
1629 # The following way of writing the cache mishandles newlines in values,
1631 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1632 eval ac_val=\$$ac_var
1633 case $ac_val in #(
1634 *${as_nl}*)
1635 case $ac_var in #(
1636 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1637 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1638 esac
1639 case $ac_var in #(
1640 _ | IFS | as_nl) ;; #(
1641 *) $as_unset $ac_var ;;
1642 esac ;;
1643 esac
1644 done
1645 (set) 2>&1 |
1646 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1647 *${as_nl}ac_space=\ *)
1648 sed -n \
1649 "s/'\''/'\''\\\\'\'''\''/g;
1650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1651 ;; #(
1653 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1655 esac |
1656 sort
1658 echo
1660 cat <<\_ASBOX
1661 ## ----------------- ##
1662 ## Output variables. ##
1663 ## ----------------- ##
1664 _ASBOX
1665 echo
1666 for ac_var in $ac_subst_vars
1668 eval ac_val=\$$ac_var
1669 case $ac_val in
1670 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1671 esac
1672 echo "$ac_var='\''$ac_val'\''"
1673 done | sort
1674 echo
1676 if test -n "$ac_subst_files"; then
1677 cat <<\_ASBOX
1678 ## ------------------- ##
1679 ## File substitutions. ##
1680 ## ------------------- ##
1681 _ASBOX
1682 echo
1683 for ac_var in $ac_subst_files
1685 eval ac_val=\$$ac_var
1686 case $ac_val in
1687 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1688 esac
1689 echo "$ac_var='\''$ac_val'\''"
1690 done | sort
1691 echo
1694 if test -s confdefs.h; then
1695 cat <<\_ASBOX
1696 ## ----------- ##
1697 ## confdefs.h. ##
1698 ## ----------- ##
1699 _ASBOX
1700 echo
1701 cat confdefs.h
1702 echo
1704 test "$ac_signal" != 0 &&
1705 echo "$as_me: caught signal $ac_signal"
1706 echo "$as_me: exit $exit_status"
1707 } >&5
1708 rm -f core *.core core.conftest.* &&
1709 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1710 exit $exit_status
1712 for ac_signal in 1 2 13 15; do
1713 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1714 done
1715 ac_signal=0
1717 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1718 rm -f -r conftest* confdefs.h
1720 # Predefined preprocessor variables.
1722 cat >>confdefs.h <<_ACEOF
1723 #define PACKAGE_NAME "$PACKAGE_NAME"
1724 _ACEOF
1727 cat >>confdefs.h <<_ACEOF
1728 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1729 _ACEOF
1732 cat >>confdefs.h <<_ACEOF
1733 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1734 _ACEOF
1737 cat >>confdefs.h <<_ACEOF
1738 #define PACKAGE_STRING "$PACKAGE_STRING"
1739 _ACEOF
1742 cat >>confdefs.h <<_ACEOF
1743 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1744 _ACEOF
1747 # Let the site file select an alternate cache file if it wants to.
1748 # Prefer explicitly selected file to automatically selected ones.
1749 if test -n "$CONFIG_SITE"; then
1750 set x "$CONFIG_SITE"
1751 elif test "x$prefix" != xNONE; then
1752 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1753 else
1754 set x "$ac_default_prefix/share/config.site" \
1755 "$ac_default_prefix/etc/config.site"
1757 shift
1758 for ac_site_file
1760 if test -r "$ac_site_file"; then
1761 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1762 echo "$as_me: loading site script $ac_site_file" >&6;}
1763 sed 's/^/| /' "$ac_site_file" >&5
1764 . "$ac_site_file"
1766 done
1768 if test -r "$cache_file"; then
1769 # Some versions of bash will fail to source /dev/null (special
1770 # files actually), so we avoid doing that.
1771 if test -f "$cache_file"; then
1772 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1773 echo "$as_me: loading cache $cache_file" >&6;}
1774 case $cache_file in
1775 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1776 *) . "./$cache_file";;
1777 esac
1779 else
1780 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1781 echo "$as_me: creating cache $cache_file" >&6;}
1782 >$cache_file
1785 # Check that the precious variables saved in the cache have kept the same
1786 # value.
1787 ac_cache_corrupted=false
1788 for ac_var in $ac_precious_vars; do
1789 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1790 eval ac_new_set=\$ac_env_${ac_var}_set
1791 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1792 eval ac_new_val=\$ac_env_${ac_var}_value
1793 case $ac_old_set,$ac_new_set in
1794 set,)
1795 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1796 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1797 ac_cache_corrupted=: ;;
1798 ,set)
1799 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1800 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1801 ac_cache_corrupted=: ;;
1802 ,);;
1804 if test "x$ac_old_val" != "x$ac_new_val"; then
1805 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1806 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1807 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1808 echo "$as_me: former value: $ac_old_val" >&2;}
1809 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1810 echo "$as_me: current value: $ac_new_val" >&2;}
1811 ac_cache_corrupted=:
1812 fi;;
1813 esac
1814 # Pass precious variables to config.status.
1815 if test "$ac_new_set" = set; then
1816 case $ac_new_val in
1817 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1818 *) ac_arg=$ac_var=$ac_new_val ;;
1819 esac
1820 case " $ac_configure_args " in
1821 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1822 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1823 esac
1825 done
1826 if $ac_cache_corrupted; then
1827 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1828 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1829 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1830 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1831 { (exit 1); exit 1; }; }
1858 ac_ext=c
1859 ac_cpp='$CPP $CPPFLAGS'
1860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1866 ac_config_headers="$ac_config_headers include/config.h"
1868 ac_aux_dir=
1869 for ac_dir in tools "$srcdir"/tools; do
1870 if test -f "$ac_dir/install-sh"; then
1871 ac_aux_dir=$ac_dir
1872 ac_install_sh="$ac_aux_dir/install-sh -c"
1873 break
1874 elif test -f "$ac_dir/install.sh"; then
1875 ac_aux_dir=$ac_dir
1876 ac_install_sh="$ac_aux_dir/install.sh -c"
1877 break
1878 elif test -f "$ac_dir/shtool"; then
1879 ac_aux_dir=$ac_dir
1880 ac_install_sh="$ac_aux_dir/shtool install -c"
1881 break
1883 done
1884 if test -z "$ac_aux_dir"; then
1885 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1886 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1887 { (exit 1); exit 1; }; }
1890 # These three variables are undocumented and unsupported,
1891 # and are intended to be withdrawn in a future Autoconf release.
1892 # They can cause serious problems if a builder's source tree is in a directory
1893 # whose full name contains unusual characters.
1894 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1895 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1896 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1901 # Check whether --enable-win16 was given.
1902 if test "${enable_win16+set}" = set; then
1903 enableval=$enable_win16;
1906 # Check whether --enable-win64 was given.
1907 if test "${enable_win64+set}" = set; then
1908 enableval=$enable_win64;
1911 # Check whether --enable-maintainer-mode was given.
1912 if test "${enable_maintainer_mode+set}" = set; then
1913 enableval=$enable_maintainer_mode;
1914 else
1915 MAINTAINER_MODE=\#
1921 # Check whether --with-alsa was given.
1922 if test "${with_alsa+set}" = set; then
1923 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1927 # Check whether --with-audioio was given.
1928 if test "${with_audioio+set}" = set; then
1929 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1933 # Check whether --with-capi was given.
1934 if test "${with_capi+set}" = set; then
1935 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1939 # Check whether --with-cms was given.
1940 if test "${with_cms+set}" = set; then
1941 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1945 # Check whether --with-coreaudio was given.
1946 if test "${with_coreaudio+set}" = set; then
1947 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1951 # Check whether --with-cups was given.
1952 if test "${with_cups+set}" = set; then
1953 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1957 # Check whether --with-curses was given.
1958 if test "${with_curses+set}" = set; then
1959 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1963 # Check whether --with-esd was given.
1964 if test "${with_esd+set}" = set; then
1965 withval=$with_esd;
1969 # Check whether --with-fontconfig was given.
1970 if test "${with_fontconfig+set}" = set; then
1971 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1975 # Check whether --with-freetype was given.
1976 if test "${with_freetype+set}" = set; then
1977 withval=$with_freetype;
1981 # Check whether --with-gphoto was given.
1982 if test "${with_gphoto+set}" = set; then
1983 withval=$with_gphoto;
1987 # Check whether --with-glu was given.
1988 if test "${with_glu+set}" = set; then
1989 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1993 # Check whether --with-hal was given.
1994 if test "${with_hal+set}" = set; then
1995 withval=$with_hal;
1999 # Check whether --with-jack was given.
2000 if test "${with_jack+set}" = set; then
2001 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2005 # Check whether --with-jpeg was given.
2006 if test "${with_jpeg+set}" = set; then
2007 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2011 # Check whether --with-ldap was given.
2012 if test "${with_ldap+set}" = set; then
2013 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2017 # Check whether --with-nas was given.
2018 if test "${with_nas+set}" = set; then
2019 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2023 # Check whether --with-opengl was given.
2024 if test "${with_opengl+set}" = set; then
2025 withval=$with_opengl;
2029 # Check whether --with-openssl was given.
2030 if test "${with_openssl+set}" = set; then
2031 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2035 # Check whether --with-oss was given.
2036 if test "${with_oss+set}" = set; then
2037 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2041 # Check whether --with-png was given.
2042 if test "${with_png+set}" = set; then
2043 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2047 # Check whether --with-sane was given.
2048 if test "${with_sane+set}" = set; then
2049 withval=$with_sane;
2053 # Check whether --with-xcomposite was given.
2054 if test "${with_xcomposite+set}" = set; then
2055 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2059 # Check whether --with-xcursor was given.
2060 if test "${with_xcursor+set}" = set; then
2061 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2065 # Check whether --with-xinerama was given.
2066 if test "${with_xinerama+set}" = set; then
2067 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2071 # Check whether --with-xinput was given.
2072 if test "${with_xinput+set}" = set; then
2073 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2077 # Check whether --with-xml was given.
2078 if test "${with_xml+set}" = set; then
2079 withval=$with_xml;
2083 # Check whether --with-xrandr was given.
2084 if test "${with_xrandr+set}" = set; then
2085 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2089 # Check whether --with-xrender was given.
2090 if test "${with_xrender+set}" = set; then
2091 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2095 # Check whether --with-xshape was given.
2096 if test "${with_xshape+set}" = set; then
2097 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2101 # Check whether --with-xshm was given.
2102 if test "${with_xshm+set}" = set; then
2103 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2107 # Check whether --with-xslt was given.
2108 if test "${with_xslt+set}" = set; then
2109 withval=$with_xslt;
2113 # Check whether --with-xvidmode was given.
2114 if test "${with_xvidmode+set}" = set; then
2115 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2120 # Check whether --with-wine-tools was given.
2121 if test "${with_wine_tools+set}" = set; then
2122 withval=$with_wine_tools;
2126 # Make sure we can run config.sub.
2127 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2128 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2129 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2130 { (exit 1); exit 1; }; }
2132 { echo "$as_me:$LINENO: checking build system type" >&5
2133 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2134 if test "${ac_cv_build+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 else
2137 ac_build_alias=$build_alias
2138 test "x$ac_build_alias" = x &&
2139 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2140 test "x$ac_build_alias" = x &&
2141 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2142 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2143 { (exit 1); exit 1; }; }
2144 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2145 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2146 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2147 { (exit 1); exit 1; }; }
2150 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2151 echo "${ECHO_T}$ac_cv_build" >&6; }
2152 case $ac_cv_build in
2153 *-*-*) ;;
2154 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2155 echo "$as_me: error: invalid value of canonical build" >&2;}
2156 { (exit 1); exit 1; }; };;
2157 esac
2158 build=$ac_cv_build
2159 ac_save_IFS=$IFS; IFS='-'
2160 set x $ac_cv_build
2161 shift
2162 build_cpu=$1
2163 build_vendor=$2
2164 shift; shift
2165 # Remember, the first character of IFS is used to create $*,
2166 # except with old shells:
2167 build_os=$*
2168 IFS=$ac_save_IFS
2169 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2172 { echo "$as_me:$LINENO: checking host system type" >&5
2173 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2174 if test "${ac_cv_host+set}" = set; then
2175 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 else
2177 if test "x$host_alias" = x; then
2178 ac_cv_host=$ac_cv_build
2179 else
2180 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2181 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2182 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2183 { (exit 1); exit 1; }; }
2187 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2188 echo "${ECHO_T}$ac_cv_host" >&6; }
2189 case $ac_cv_host in
2190 *-*-*) ;;
2191 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2192 echo "$as_me: error: invalid value of canonical host" >&2;}
2193 { (exit 1); exit 1; }; };;
2194 esac
2195 host=$ac_cv_host
2196 ac_save_IFS=$IFS; IFS='-'
2197 set x $ac_cv_host
2198 shift
2199 host_cpu=$1
2200 host_vendor=$2
2201 shift; shift
2202 # Remember, the first character of IFS is used to create $*,
2203 # except with old shells:
2204 host_os=$*
2205 IFS=$ac_save_IFS
2206 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2209 case $host in
2210 x86_64*linux*)
2211 if test "x$enable_win64" != "xyes"
2212 then
2213 test -n "$CC" || CC="gcc -m32"
2214 test -n "$CXX"|| CXX="g++ -m32"
2215 test -n "$LD" || LD="ld -m elf_i386"
2216 test -n "$AS" || AS="as --32"
2217 host_cpu="i386"
2220 esac
2222 case $host_cpu in
2223 *i[3456789]86*)
2224 if test "x$enable_win16" != "xno"
2225 then
2226 enable_win16="yes"
2229 esac
2231 WIN16_FILES="\$(WIN16_FILES)"
2233 WIN16_INSTALL="\$(WIN16_INSTALL)"
2235 if test "x$enable_win16" != "xyes"
2236 then
2237 WIN16_FILES=""
2238 WIN16_INSTALL=""
2241 case "$srcdir" in
2242 .) ;;
2243 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2244 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2245 You need to run 'make distclean' in the source tree first." >&5
2246 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2247 You need to run 'make distclean' in the source tree first." >&2;}
2248 { (exit 1); exit 1; }; }
2249 fi ;;
2250 esac
2253 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2254 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2255 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2256 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 else
2259 cat >conftest.make <<\_ACEOF
2260 SHELL = /bin/sh
2261 all:
2262 @echo '@@@%%%=$(MAKE)=@@@%%%'
2263 _ACEOF
2264 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2265 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2266 *@@@%%%=?*=@@@%%%*)
2267 eval ac_cv_prog_make_${ac_make}_set=yes;;
2269 eval ac_cv_prog_make_${ac_make}_set=no;;
2270 esac
2271 rm -f conftest.make
2273 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2274 { echo "$as_me:$LINENO: result: yes" >&5
2275 echo "${ECHO_T}yes" >&6; }
2276 SET_MAKE=
2277 else
2278 { echo "$as_me:$LINENO: result: no" >&5
2279 echo "${ECHO_T}no" >&6; }
2280 SET_MAKE="MAKE=${MAKE-make}"
2283 ac_ext=c
2284 ac_cpp='$CPP $CPPFLAGS'
2285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2288 if test -n "$ac_tool_prefix"; then
2289 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2290 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2293 if test "${ac_cv_prog_CC+set}" = set; then
2294 echo $ECHO_N "(cached) $ECHO_C" >&6
2295 else
2296 if test -n "$CC"; then
2297 ac_cv_prog_CC="$CC" # Let the user override the test.
2298 else
2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300 for as_dir in $PATH
2302 IFS=$as_save_IFS
2303 test -z "$as_dir" && as_dir=.
2304 for ac_exec_ext in '' $ac_executable_extensions; do
2305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2306 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 break 2
2310 done
2311 done
2312 IFS=$as_save_IFS
2316 CC=$ac_cv_prog_CC
2317 if test -n "$CC"; then
2318 { echo "$as_me:$LINENO: result: $CC" >&5
2319 echo "${ECHO_T}$CC" >&6; }
2320 else
2321 { echo "$as_me:$LINENO: result: no" >&5
2322 echo "${ECHO_T}no" >&6; }
2327 if test -z "$ac_cv_prog_CC"; then
2328 ac_ct_CC=$CC
2329 # Extract the first word of "gcc", so it can be a program name with args.
2330 set dummy gcc; ac_word=$2
2331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2333 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2335 else
2336 if test -n "$ac_ct_CC"; then
2337 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2338 else
2339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2340 for as_dir in $PATH
2342 IFS=$as_save_IFS
2343 test -z "$as_dir" && as_dir=.
2344 for ac_exec_ext in '' $ac_executable_extensions; do
2345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2346 ac_cv_prog_ac_ct_CC="gcc"
2347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2348 break 2
2350 done
2351 done
2352 IFS=$as_save_IFS
2356 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2357 if test -n "$ac_ct_CC"; then
2358 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2359 echo "${ECHO_T}$ac_ct_CC" >&6; }
2360 else
2361 { echo "$as_me:$LINENO: result: no" >&5
2362 echo "${ECHO_T}no" >&6; }
2365 if test "x$ac_ct_CC" = x; then
2366 CC=""
2367 else
2368 case $cross_compiling:$ac_tool_warned in
2369 yes:)
2370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2371 whose name does not start with the host triplet. If you think this
2372 configuration is useful to you, please write to autoconf@gnu.org." >&5
2373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2374 whose name does not start with the host triplet. If you think this
2375 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2376 ac_tool_warned=yes ;;
2377 esac
2378 CC=$ac_ct_CC
2380 else
2381 CC="$ac_cv_prog_CC"
2384 if test -z "$CC"; then
2385 if test -n "$ac_tool_prefix"; then
2386 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2387 set dummy ${ac_tool_prefix}cc; ac_word=$2
2388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2390 if test "${ac_cv_prog_CC+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2392 else
2393 if test -n "$CC"; then
2394 ac_cv_prog_CC="$CC" # Let the user override the test.
2395 else
2396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397 for as_dir in $PATH
2399 IFS=$as_save_IFS
2400 test -z "$as_dir" && as_dir=.
2401 for ac_exec_ext in '' $ac_executable_extensions; do
2402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2403 ac_cv_prog_CC="${ac_tool_prefix}cc"
2404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2405 break 2
2407 done
2408 done
2409 IFS=$as_save_IFS
2413 CC=$ac_cv_prog_CC
2414 if test -n "$CC"; then
2415 { echo "$as_me:$LINENO: result: $CC" >&5
2416 echo "${ECHO_T}$CC" >&6; }
2417 else
2418 { echo "$as_me:$LINENO: result: no" >&5
2419 echo "${ECHO_T}no" >&6; }
2425 if test -z "$CC"; then
2426 # Extract the first word of "cc", so it can be a program name with args.
2427 set dummy cc; ac_word=$2
2428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2430 if test "${ac_cv_prog_CC+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 else
2433 if test -n "$CC"; then
2434 ac_cv_prog_CC="$CC" # Let the user override the test.
2435 else
2436 ac_prog_rejected=no
2437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2438 for as_dir in $PATH
2440 IFS=$as_save_IFS
2441 test -z "$as_dir" && as_dir=.
2442 for ac_exec_ext in '' $ac_executable_extensions; do
2443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2444 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2445 ac_prog_rejected=yes
2446 continue
2448 ac_cv_prog_CC="cc"
2449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 break 2
2452 done
2453 done
2454 IFS=$as_save_IFS
2456 if test $ac_prog_rejected = yes; then
2457 # We found a bogon in the path, so make sure we never use it.
2458 set dummy $ac_cv_prog_CC
2459 shift
2460 if test $# != 0; then
2461 # We chose a different compiler from the bogus one.
2462 # However, it has the same basename, so the bogon will be chosen
2463 # first if we set CC to just the basename; use the full file name.
2464 shift
2465 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2470 CC=$ac_cv_prog_CC
2471 if test -n "$CC"; then
2472 { echo "$as_me:$LINENO: result: $CC" >&5
2473 echo "${ECHO_T}$CC" >&6; }
2474 else
2475 { echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6; }
2481 if test -z "$CC"; then
2482 if test -n "$ac_tool_prefix"; then
2483 for ac_prog in cl.exe
2485 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2486 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2489 if test "${ac_cv_prog_CC+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 else
2492 if test -n "$CC"; then
2493 ac_cv_prog_CC="$CC" # Let the user override the test.
2494 else
2495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2496 for as_dir in $PATH
2498 IFS=$as_save_IFS
2499 test -z "$as_dir" && as_dir=.
2500 for ac_exec_ext in '' $ac_executable_extensions; do
2501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2502 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 break 2
2506 done
2507 done
2508 IFS=$as_save_IFS
2512 CC=$ac_cv_prog_CC
2513 if test -n "$CC"; then
2514 { echo "$as_me:$LINENO: result: $CC" >&5
2515 echo "${ECHO_T}$CC" >&6; }
2516 else
2517 { echo "$as_me:$LINENO: result: no" >&5
2518 echo "${ECHO_T}no" >&6; }
2522 test -n "$CC" && break
2523 done
2525 if test -z "$CC"; then
2526 ac_ct_CC=$CC
2527 for ac_prog in cl.exe
2529 # Extract the first word of "$ac_prog", so it can be a program name with args.
2530 set dummy $ac_prog; ac_word=$2
2531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2533 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 else
2536 if test -n "$ac_ct_CC"; then
2537 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2538 else
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540 for as_dir in $PATH
2542 IFS=$as_save_IFS
2543 test -z "$as_dir" && as_dir=.
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2546 ac_cv_prog_ac_ct_CC="$ac_prog"
2547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 break 2
2550 done
2551 done
2552 IFS=$as_save_IFS
2556 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2557 if test -n "$ac_ct_CC"; then
2558 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2559 echo "${ECHO_T}$ac_ct_CC" >&6; }
2560 else
2561 { echo "$as_me:$LINENO: result: no" >&5
2562 echo "${ECHO_T}no" >&6; }
2566 test -n "$ac_ct_CC" && break
2567 done
2569 if test "x$ac_ct_CC" = x; then
2570 CC=""
2571 else
2572 case $cross_compiling:$ac_tool_warned in
2573 yes:)
2574 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2575 whose name does not start with the host triplet. If you think this
2576 configuration is useful to you, please write to autoconf@gnu.org." >&5
2577 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2578 whose name does not start with the host triplet. If you think this
2579 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2580 ac_tool_warned=yes ;;
2581 esac
2582 CC=$ac_ct_CC
2589 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2590 See \`config.log' for more details." >&5
2591 echo "$as_me: error: no acceptable C compiler found in \$PATH
2592 See \`config.log' for more details." >&2;}
2593 { (exit 1); exit 1; }; }
2595 # Provide some information about the compiler.
2596 echo "$as_me:$LINENO: checking for C compiler version" >&5
2597 ac_compiler=`set X $ac_compile; echo $2`
2598 { (ac_try="$ac_compiler --version >&5"
2599 case "(($ac_try" in
2600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2601 *) ac_try_echo=$ac_try;;
2602 esac
2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2604 (eval "$ac_compiler --version >&5") 2>&5
2605 ac_status=$?
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }
2608 { (ac_try="$ac_compiler -v >&5"
2609 case "(($ac_try" in
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2612 esac
2613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614 (eval "$ac_compiler -v >&5") 2>&5
2615 ac_status=$?
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }
2618 { (ac_try="$ac_compiler -V >&5"
2619 case "(($ac_try" in
2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2622 esac
2623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2624 (eval "$ac_compiler -V >&5") 2>&5
2625 ac_status=$?
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); }
2629 cat >conftest.$ac_ext <<_ACEOF
2630 /* confdefs.h. */
2631 _ACEOF
2632 cat confdefs.h >>conftest.$ac_ext
2633 cat >>conftest.$ac_ext <<_ACEOF
2634 /* end confdefs.h. */
2637 main ()
2641 return 0;
2643 _ACEOF
2644 ac_clean_files_save=$ac_clean_files
2645 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2646 # Try to create an executable without -o first, disregard a.out.
2647 # It will help us diagnose broken compilers, and finding out an intuition
2648 # of exeext.
2649 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2650 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2651 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2653 # List of possible output files, starting from the most likely.
2654 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2655 # only as a last resort. b.out is created by i960 compilers.
2656 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2658 # The IRIX 6 linker writes into existing files which may not be
2659 # executable, retaining their permissions. Remove them first so a
2660 # subsequent execution test works.
2661 ac_rmfiles=
2662 for ac_file in $ac_files
2664 case $ac_file in
2665 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2666 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2667 esac
2668 done
2669 rm -f $ac_rmfiles
2671 if { (ac_try="$ac_link_default"
2672 case "(($ac_try" in
2673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2675 esac
2676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2677 (eval "$ac_link_default") 2>&5
2678 ac_status=$?
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; then
2681 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2682 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2683 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2684 # so that the user can short-circuit this test for compilers unknown to
2685 # Autoconf.
2686 for ac_file in $ac_files ''
2688 test -f "$ac_file" || continue
2689 case $ac_file in
2690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2692 [ab].out )
2693 # We found the default executable, but exeext='' is most
2694 # certainly right.
2695 break;;
2696 *.* )
2697 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2698 then :; else
2699 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2701 # We set ac_cv_exeext here because the later test for it is not
2702 # safe: cross compilers may not add the suffix if given an `-o'
2703 # argument, so we may need to know it at that point already.
2704 # Even if this section looks crufty: it has the advantage of
2705 # actually working.
2706 break;;
2708 break;;
2709 esac
2710 done
2711 test "$ac_cv_exeext" = no && ac_cv_exeext=
2713 else
2714 ac_file=''
2717 { echo "$as_me:$LINENO: result: $ac_file" >&5
2718 echo "${ECHO_T}$ac_file" >&6; }
2719 if test -z "$ac_file"; then
2720 echo "$as_me: failed program was:" >&5
2721 sed 's/^/| /' conftest.$ac_ext >&5
2723 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2724 See \`config.log' for more details." >&5
2725 echo "$as_me: error: C compiler cannot create executables
2726 See \`config.log' for more details." >&2;}
2727 { (exit 77); exit 77; }; }
2730 ac_exeext=$ac_cv_exeext
2732 # Check that the compiler produces executables we can run. If not, either
2733 # the compiler is broken, or we cross compile.
2734 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2735 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2736 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2737 # If not cross compiling, check that we can run a simple program.
2738 if test "$cross_compiling" != yes; then
2739 if { ac_try='./$ac_file'
2740 { (case "(($ac_try" in
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2743 esac
2744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2745 (eval "$ac_try") 2>&5
2746 ac_status=$?
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then
2749 cross_compiling=no
2750 else
2751 if test "$cross_compiling" = maybe; then
2752 cross_compiling=yes
2753 else
2754 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2755 If you meant to cross compile, use \`--host'.
2756 See \`config.log' for more details." >&5
2757 echo "$as_me: error: cannot run C compiled programs.
2758 If you meant to cross compile, use \`--host'.
2759 See \`config.log' for more details." >&2;}
2760 { (exit 1); exit 1; }; }
2764 { echo "$as_me:$LINENO: result: yes" >&5
2765 echo "${ECHO_T}yes" >&6; }
2767 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2768 ac_clean_files=$ac_clean_files_save
2769 # Check that the compiler produces executables we can run. If not, either
2770 # the compiler is broken, or we cross compile.
2771 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2772 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2773 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2774 echo "${ECHO_T}$cross_compiling" >&6; }
2776 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2777 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2778 if { (ac_try="$ac_link"
2779 case "(($ac_try" in
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2782 esac
2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2784 (eval "$ac_link") 2>&5
2785 ac_status=$?
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; then
2788 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2789 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2790 # work properly (i.e., refer to `conftest.exe'), while it won't with
2791 # `rm'.
2792 for ac_file in conftest.exe conftest conftest.*; do
2793 test -f "$ac_file" || continue
2794 case $ac_file in
2795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2796 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2797 break;;
2798 * ) break;;
2799 esac
2800 done
2801 else
2802 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2803 See \`config.log' for more details." >&5
2804 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2805 See \`config.log' for more details." >&2;}
2806 { (exit 1); exit 1; }; }
2809 rm -f conftest$ac_cv_exeext
2810 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2811 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2813 rm -f conftest.$ac_ext
2814 EXEEXT=$ac_cv_exeext
2815 ac_exeext=$EXEEXT
2816 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2817 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2818 if test "${ac_cv_objext+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2820 else
2821 cat >conftest.$ac_ext <<_ACEOF
2822 /* confdefs.h. */
2823 _ACEOF
2824 cat confdefs.h >>conftest.$ac_ext
2825 cat >>conftest.$ac_ext <<_ACEOF
2826 /* end confdefs.h. */
2829 main ()
2833 return 0;
2835 _ACEOF
2836 rm -f conftest.o conftest.obj
2837 if { (ac_try="$ac_compile"
2838 case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2841 esac
2842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2843 (eval "$ac_compile") 2>&5
2844 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; then
2847 for ac_file in conftest.o conftest.obj conftest.*; do
2848 test -f "$ac_file" || continue;
2849 case $ac_file in
2850 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2851 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2852 break;;
2853 esac
2854 done
2855 else
2856 echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2859 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2860 See \`config.log' for more details." >&5
2861 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2862 See \`config.log' for more details." >&2;}
2863 { (exit 1); exit 1; }; }
2866 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2868 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2869 echo "${ECHO_T}$ac_cv_objext" >&6; }
2870 OBJEXT=$ac_cv_objext
2871 ac_objext=$OBJEXT
2872 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2873 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2874 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 else
2877 cat >conftest.$ac_ext <<_ACEOF
2878 /* confdefs.h. */
2879 _ACEOF
2880 cat confdefs.h >>conftest.$ac_ext
2881 cat >>conftest.$ac_ext <<_ACEOF
2882 /* end confdefs.h. */
2885 main ()
2887 #ifndef __GNUC__
2888 choke me
2889 #endif
2892 return 0;
2894 _ACEOF
2895 rm -f conftest.$ac_objext
2896 if { (ac_try="$ac_compile"
2897 case "(($ac_try" in
2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899 *) ac_try_echo=$ac_try;;
2900 esac
2901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2902 (eval "$ac_compile") 2>conftest.er1
2903 ac_status=$?
2904 grep -v '^ *+' conftest.er1 >conftest.err
2905 rm -f conftest.er1
2906 cat conftest.err >&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); } && {
2909 test -z "$ac_c_werror_flag" ||
2910 test ! -s conftest.err
2911 } && test -s conftest.$ac_objext; then
2912 ac_compiler_gnu=yes
2913 else
2914 echo "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.$ac_ext >&5
2917 ac_compiler_gnu=no
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2924 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2925 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2926 GCC=`test $ac_compiler_gnu = yes && echo yes`
2927 ac_test_CFLAGS=${CFLAGS+set}
2928 ac_save_CFLAGS=$CFLAGS
2929 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2930 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2931 if test "${ac_cv_prog_cc_g+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2933 else
2934 ac_save_c_werror_flag=$ac_c_werror_flag
2935 ac_c_werror_flag=yes
2936 ac_cv_prog_cc_g=no
2937 CFLAGS="-g"
2938 cat >conftest.$ac_ext <<_ACEOF
2939 /* confdefs.h. */
2940 _ACEOF
2941 cat confdefs.h >>conftest.$ac_ext
2942 cat >>conftest.$ac_ext <<_ACEOF
2943 /* end confdefs.h. */
2946 main ()
2950 return 0;
2952 _ACEOF
2953 rm -f conftest.$ac_objext
2954 if { (ac_try="$ac_compile"
2955 case "(($ac_try" in
2956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957 *) ac_try_echo=$ac_try;;
2958 esac
2959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2960 (eval "$ac_compile") 2>conftest.er1
2961 ac_status=$?
2962 grep -v '^ *+' conftest.er1 >conftest.err
2963 rm -f conftest.er1
2964 cat conftest.err >&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); } && {
2967 test -z "$ac_c_werror_flag" ||
2968 test ! -s conftest.err
2969 } && test -s conftest.$ac_objext; then
2970 ac_cv_prog_cc_g=yes
2971 else
2972 echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2975 CFLAGS=""
2976 cat >conftest.$ac_ext <<_ACEOF
2977 /* confdefs.h. */
2978 _ACEOF
2979 cat confdefs.h >>conftest.$ac_ext
2980 cat >>conftest.$ac_ext <<_ACEOF
2981 /* end confdefs.h. */
2984 main ()
2988 return 0;
2990 _ACEOF
2991 rm -f conftest.$ac_objext
2992 if { (ac_try="$ac_compile"
2993 case "(($ac_try" in
2994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2995 *) ac_try_echo=$ac_try;;
2996 esac
2997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2998 (eval "$ac_compile") 2>conftest.er1
2999 ac_status=$?
3000 grep -v '^ *+' conftest.er1 >conftest.err
3001 rm -f conftest.er1
3002 cat conftest.err >&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); } && {
3005 test -z "$ac_c_werror_flag" ||
3006 test ! -s conftest.err
3007 } && test -s conftest.$ac_objext; then
3009 else
3010 echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3013 ac_c_werror_flag=$ac_save_c_werror_flag
3014 CFLAGS="-g"
3015 cat >conftest.$ac_ext <<_ACEOF
3016 /* confdefs.h. */
3017 _ACEOF
3018 cat confdefs.h >>conftest.$ac_ext
3019 cat >>conftest.$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3023 main ()
3027 return 0;
3029 _ACEOF
3030 rm -f conftest.$ac_objext
3031 if { (ac_try="$ac_compile"
3032 case "(($ac_try" in
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3035 esac
3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3037 (eval "$ac_compile") 2>conftest.er1
3038 ac_status=$?
3039 grep -v '^ *+' conftest.er1 >conftest.err
3040 rm -f conftest.er1
3041 cat conftest.err >&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); } && {
3044 test -z "$ac_c_werror_flag" ||
3045 test ! -s conftest.err
3046 } && test -s conftest.$ac_objext; then
3047 ac_cv_prog_cc_g=yes
3048 else
3049 echo "$as_me: failed program was:" >&5
3050 sed 's/^/| /' conftest.$ac_ext >&5
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 ac_c_werror_flag=$ac_save_c_werror_flag
3064 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3065 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3066 if test "$ac_test_CFLAGS" = set; then
3067 CFLAGS=$ac_save_CFLAGS
3068 elif test $ac_cv_prog_cc_g = yes; then
3069 if test "$GCC" = yes; then
3070 CFLAGS="-g -O2"
3071 else
3072 CFLAGS="-g"
3074 else
3075 if test "$GCC" = yes; then
3076 CFLAGS="-O2"
3077 else
3078 CFLAGS=
3081 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3082 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3083 if test "${ac_cv_prog_cc_c89+set}" = set; then
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
3085 else
3086 ac_cv_prog_cc_c89=no
3087 ac_save_CC=$CC
3088 cat >conftest.$ac_ext <<_ACEOF
3089 /* confdefs.h. */
3090 _ACEOF
3091 cat confdefs.h >>conftest.$ac_ext
3092 cat >>conftest.$ac_ext <<_ACEOF
3093 /* end confdefs.h. */
3094 #include <stdarg.h>
3095 #include <stdio.h>
3096 #include <sys/types.h>
3097 #include <sys/stat.h>
3098 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3099 struct buf { int x; };
3100 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3101 static char *e (p, i)
3102 char **p;
3103 int i;
3105 return p[i];
3107 static char *f (char * (*g) (char **, int), char **p, ...)
3109 char *s;
3110 va_list v;
3111 va_start (v,p);
3112 s = g (p, va_arg (v,int));
3113 va_end (v);
3114 return s;
3117 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3118 function prototypes and stuff, but not '\xHH' hex character constants.
3119 These don't provoke an error unfortunately, instead are silently treated
3120 as 'x'. The following induces an error, until -std is added to get
3121 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3122 array size at least. It's necessary to write '\x00'==0 to get something
3123 that's true only with -std. */
3124 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3126 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3127 inside strings and character constants. */
3128 #define FOO(x) 'x'
3129 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3131 int test (int i, double x);
3132 struct s1 {int (*f) (int a);};
3133 struct s2 {int (*f) (double a);};
3134 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3135 int argc;
3136 char **argv;
3138 main ()
3140 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3142 return 0;
3144 _ACEOF
3145 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3146 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3148 CC="$ac_save_CC $ac_arg"
3149 rm -f conftest.$ac_objext
3150 if { (ac_try="$ac_compile"
3151 case "(($ac_try" in
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3154 esac
3155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3156 (eval "$ac_compile") 2>conftest.er1
3157 ac_status=$?
3158 grep -v '^ *+' conftest.er1 >conftest.err
3159 rm -f conftest.er1
3160 cat conftest.err >&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); } && {
3163 test -z "$ac_c_werror_flag" ||
3164 test ! -s conftest.err
3165 } && test -s conftest.$ac_objext; then
3166 ac_cv_prog_cc_c89=$ac_arg
3167 else
3168 echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3174 rm -f core conftest.err conftest.$ac_objext
3175 test "x$ac_cv_prog_cc_c89" != "xno" && break
3176 done
3177 rm -f conftest.$ac_ext
3178 CC=$ac_save_CC
3181 # AC_CACHE_VAL
3182 case "x$ac_cv_prog_cc_c89" in
3184 { echo "$as_me:$LINENO: result: none needed" >&5
3185 echo "${ECHO_T}none needed" >&6; } ;;
3186 xno)
3187 { echo "$as_me:$LINENO: result: unsupported" >&5
3188 echo "${ECHO_T}unsupported" >&6; } ;;
3190 CC="$CC $ac_cv_prog_cc_c89"
3191 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3192 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3193 esac
3196 ac_ext=c
3197 ac_cpp='$CPP $CPPFLAGS'
3198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3202 ac_ext=cpp
3203 ac_cpp='$CXXCPP $CPPFLAGS'
3204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3207 if test -z "$CXX"; then
3208 if test -n "$CCC"; then
3209 CXX=$CCC
3210 else
3211 if test -n "$ac_tool_prefix"; then
3212 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3218 if test "${ac_cv_prog_CXX+set}" = set; then
3219 echo $ECHO_N "(cached) $ECHO_C" >&6
3220 else
3221 if test -n "$CXX"; then
3222 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3223 else
3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3225 for as_dir in $PATH
3227 IFS=$as_save_IFS
3228 test -z "$as_dir" && as_dir=.
3229 for ac_exec_ext in '' $ac_executable_extensions; do
3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3231 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 break 2
3235 done
3236 done
3237 IFS=$as_save_IFS
3241 CXX=$ac_cv_prog_CXX
3242 if test -n "$CXX"; then
3243 { echo "$as_me:$LINENO: result: $CXX" >&5
3244 echo "${ECHO_T}$CXX" >&6; }
3245 else
3246 { echo "$as_me:$LINENO: result: no" >&5
3247 echo "${ECHO_T}no" >&6; }
3251 test -n "$CXX" && break
3252 done
3254 if test -z "$CXX"; then
3255 ac_ct_CXX=$CXX
3256 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3258 # Extract the first word of "$ac_prog", so it can be a program name with args.
3259 set dummy $ac_prog; ac_word=$2
3260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3262 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3264 else
3265 if test -n "$ac_ct_CXX"; then
3266 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3267 else
3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3269 for as_dir in $PATH
3271 IFS=$as_save_IFS
3272 test -z "$as_dir" && as_dir=.
3273 for ac_exec_ext in '' $ac_executable_extensions; do
3274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3275 ac_cv_prog_ac_ct_CXX="$ac_prog"
3276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 break 2
3279 done
3280 done
3281 IFS=$as_save_IFS
3285 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3286 if test -n "$ac_ct_CXX"; then
3287 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3288 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3289 else
3290 { echo "$as_me:$LINENO: result: no" >&5
3291 echo "${ECHO_T}no" >&6; }
3295 test -n "$ac_ct_CXX" && break
3296 done
3298 if test "x$ac_ct_CXX" = x; then
3299 CXX="g++"
3300 else
3301 case $cross_compiling:$ac_tool_warned in
3302 yes:)
3303 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3304 whose name does not start with the host triplet. If you think this
3305 configuration is useful to you, please write to autoconf@gnu.org." >&5
3306 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3307 whose name does not start with the host triplet. If you think this
3308 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3309 ac_tool_warned=yes ;;
3310 esac
3311 CXX=$ac_ct_CXX
3317 # Provide some information about the compiler.
3318 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3319 ac_compiler=`set X $ac_compile; echo $2`
3320 { (ac_try="$ac_compiler --version >&5"
3321 case "(($ac_try" in
3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3324 esac
3325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3326 (eval "$ac_compiler --version >&5") 2>&5
3327 ac_status=$?
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }
3330 { (ac_try="$ac_compiler -v >&5"
3331 case "(($ac_try" in
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3334 esac
3335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_compiler -v >&5") 2>&5
3337 ac_status=$?
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }
3340 { (ac_try="$ac_compiler -V >&5"
3341 case "(($ac_try" in
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3344 esac
3345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3346 (eval "$ac_compiler -V >&5") 2>&5
3347 ac_status=$?
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); }
3351 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3352 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3353 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3354 echo $ECHO_N "(cached) $ECHO_C" >&6
3355 else
3356 cat >conftest.$ac_ext <<_ACEOF
3357 /* confdefs.h. */
3358 _ACEOF
3359 cat confdefs.h >>conftest.$ac_ext
3360 cat >>conftest.$ac_ext <<_ACEOF
3361 /* end confdefs.h. */
3364 main ()
3366 #ifndef __GNUC__
3367 choke me
3368 #endif
3371 return 0;
3373 _ACEOF
3374 rm -f conftest.$ac_objext
3375 if { (ac_try="$ac_compile"
3376 case "(($ac_try" in
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3379 esac
3380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3381 (eval "$ac_compile") 2>conftest.er1
3382 ac_status=$?
3383 grep -v '^ *+' conftest.er1 >conftest.err
3384 rm -f conftest.er1
3385 cat conftest.err >&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); } && {
3388 test -z "$ac_cxx_werror_flag" ||
3389 test ! -s conftest.err
3390 } && test -s conftest.$ac_objext; then
3391 ac_compiler_gnu=yes
3392 else
3393 echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5
3396 ac_compiler_gnu=no
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3403 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3404 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3405 GXX=`test $ac_compiler_gnu = yes && echo yes`
3406 ac_test_CXXFLAGS=${CXXFLAGS+set}
3407 ac_save_CXXFLAGS=$CXXFLAGS
3408 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3409 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3410 if test "${ac_cv_prog_cxx_g+set}" = set; then
3411 echo $ECHO_N "(cached) $ECHO_C" >&6
3412 else
3413 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3414 ac_cxx_werror_flag=yes
3415 ac_cv_prog_cxx_g=no
3416 CXXFLAGS="-g"
3417 cat >conftest.$ac_ext <<_ACEOF
3418 /* confdefs.h. */
3419 _ACEOF
3420 cat confdefs.h >>conftest.$ac_ext
3421 cat >>conftest.$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3425 main ()
3429 return 0;
3431 _ACEOF
3432 rm -f conftest.$ac_objext
3433 if { (ac_try="$ac_compile"
3434 case "(($ac_try" in
3435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3436 *) ac_try_echo=$ac_try;;
3437 esac
3438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3439 (eval "$ac_compile") 2>conftest.er1
3440 ac_status=$?
3441 grep -v '^ *+' conftest.er1 >conftest.err
3442 rm -f conftest.er1
3443 cat conftest.err >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); } && {
3446 test -z "$ac_cxx_werror_flag" ||
3447 test ! -s conftest.err
3448 } && test -s conftest.$ac_objext; then
3449 ac_cv_prog_cxx_g=yes
3450 else
3451 echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.$ac_ext >&5
3454 CXXFLAGS=""
3455 cat >conftest.$ac_ext <<_ACEOF
3456 /* confdefs.h. */
3457 _ACEOF
3458 cat confdefs.h >>conftest.$ac_ext
3459 cat >>conftest.$ac_ext <<_ACEOF
3460 /* end confdefs.h. */
3463 main ()
3467 return 0;
3469 _ACEOF
3470 rm -f conftest.$ac_objext
3471 if { (ac_try="$ac_compile"
3472 case "(($ac_try" in
3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3475 esac
3476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3477 (eval "$ac_compile") 2>conftest.er1
3478 ac_status=$?
3479 grep -v '^ *+' conftest.er1 >conftest.err
3480 rm -f conftest.er1
3481 cat conftest.err >&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } && {
3484 test -z "$ac_cxx_werror_flag" ||
3485 test ! -s conftest.err
3486 } && test -s conftest.$ac_objext; then
3488 else
3489 echo "$as_me: failed program was:" >&5
3490 sed 's/^/| /' conftest.$ac_ext >&5
3492 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3493 CXXFLAGS="-g"
3494 cat >conftest.$ac_ext <<_ACEOF
3495 /* confdefs.h. */
3496 _ACEOF
3497 cat confdefs.h >>conftest.$ac_ext
3498 cat >>conftest.$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3502 main ()
3506 return 0;
3508 _ACEOF
3509 rm -f conftest.$ac_objext
3510 if { (ac_try="$ac_compile"
3511 case "(($ac_try" in
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3514 esac
3515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_compile") 2>conftest.er1
3517 ac_status=$?
3518 grep -v '^ *+' conftest.er1 >conftest.err
3519 rm -f conftest.er1
3520 cat conftest.err >&5
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); } && {
3523 test -z "$ac_cxx_werror_flag" ||
3524 test ! -s conftest.err
3525 } && test -s conftest.$ac_objext; then
3526 ac_cv_prog_cxx_g=yes
3527 else
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3543 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3544 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3545 if test "$ac_test_CXXFLAGS" = set; then
3546 CXXFLAGS=$ac_save_CXXFLAGS
3547 elif test $ac_cv_prog_cxx_g = yes; then
3548 if test "$GXX" = yes; then
3549 CXXFLAGS="-g -O2"
3550 else
3551 CXXFLAGS="-g"
3553 else
3554 if test "$GXX" = yes; then
3555 CXXFLAGS="-O2"
3556 else
3557 CXXFLAGS=
3560 ac_ext=c
3561 ac_cpp='$CPP $CPPFLAGS'
3562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3566 if test -n "$ac_tool_prefix"; then
3567 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3568 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3571 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3573 else
3574 if test -n "$CPPBIN"; then
3575 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3576 else
3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578 for as_dir in $PATH
3580 IFS=$as_save_IFS
3581 test -z "$as_dir" && as_dir=.
3582 for ac_exec_ext in '' $ac_executable_extensions; do
3583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3584 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3586 break 2
3588 done
3589 done
3590 IFS=$as_save_IFS
3594 CPPBIN=$ac_cv_prog_CPPBIN
3595 if test -n "$CPPBIN"; then
3596 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3597 echo "${ECHO_T}$CPPBIN" >&6; }
3598 else
3599 { echo "$as_me:$LINENO: result: no" >&5
3600 echo "${ECHO_T}no" >&6; }
3605 if test -z "$ac_cv_prog_CPPBIN"; then
3606 ac_ct_CPPBIN=$CPPBIN
3607 # Extract the first word of "cpp", so it can be a program name with args.
3608 set dummy cpp; ac_word=$2
3609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3611 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3612 echo $ECHO_N "(cached) $ECHO_C" >&6
3613 else
3614 if test -n "$ac_ct_CPPBIN"; then
3615 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3616 else
3617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3618 for as_dir in $PATH
3620 IFS=$as_save_IFS
3621 test -z "$as_dir" && as_dir=.
3622 for ac_exec_ext in '' $ac_executable_extensions; do
3623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3624 ac_cv_prog_ac_ct_CPPBIN="cpp"
3625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3626 break 2
3628 done
3629 done
3630 IFS=$as_save_IFS
3634 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3635 if test -n "$ac_ct_CPPBIN"; then
3636 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3637 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3638 else
3639 { echo "$as_me:$LINENO: result: no" >&5
3640 echo "${ECHO_T}no" >&6; }
3643 if test "x$ac_ct_CPPBIN" = x; then
3644 CPPBIN="cpp"
3645 else
3646 case $cross_compiling:$ac_tool_warned in
3647 yes:)
3648 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3649 whose name does not start with the host triplet. If you think this
3650 configuration is useful to you, please write to autoconf@gnu.org." >&5
3651 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3652 whose name does not start with the host triplet. If you think this
3653 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3654 ac_tool_warned=yes ;;
3655 esac
3656 CPPBIN=$ac_ct_CPPBIN
3658 else
3659 CPPBIN="$ac_cv_prog_CPPBIN"
3663 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3664 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3665 if test "${wine_cv_toolsdir+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 else
3668 if test -z "$with_wine_tools"; then
3669 if test "$cross_compiling" = "yes"; then
3670 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3671 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3672 { (exit 1); exit 1; }; }
3673 else
3674 wine_cv_toolsdir="\$(TOPOBJDIR)"
3676 elif test -d "$with_wine_tools/tools/winebuild"; then
3677 case $with_wine_tools in
3678 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3679 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3680 esac
3681 else
3682 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3683 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3684 { (exit 1); exit 1; }; }
3687 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3688 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3689 TOOLSDIR=$wine_cv_toolsdir
3693 ac_ext=c
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3698 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3699 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3700 # On Suns, sometimes $CPP names a directory.
3701 if test -n "$CPP" && test -d "$CPP"; then
3702 CPP=
3704 if test -z "$CPP"; then
3705 if test "${ac_cv_prog_CPP+set}" = set; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3707 else
3708 # Double quotes because CPP needs to be expanded
3709 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3711 ac_preproc_ok=false
3712 for ac_c_preproc_warn_flag in '' yes
3714 # Use a header file that comes with gcc, so configuring glibc
3715 # with a fresh cross-compiler works.
3716 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3717 # <limits.h> exists even on freestanding compilers.
3718 # On the NeXT, cc -E runs the code through the compiler's parser,
3719 # not just through cpp. "Syntax error" is here to catch this case.
3720 cat >conftest.$ac_ext <<_ACEOF
3721 /* confdefs.h. */
3722 _ACEOF
3723 cat confdefs.h >>conftest.$ac_ext
3724 cat >>conftest.$ac_ext <<_ACEOF
3725 /* end confdefs.h. */
3726 #ifdef __STDC__
3727 # include <limits.h>
3728 #else
3729 # include <assert.h>
3730 #endif
3731 Syntax error
3732 _ACEOF
3733 if { (ac_try="$ac_cpp conftest.$ac_ext"
3734 case "(($ac_try" in
3735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3736 *) ac_try_echo=$ac_try;;
3737 esac
3738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3740 ac_status=$?
3741 grep -v '^ *+' conftest.er1 >conftest.err
3742 rm -f conftest.er1
3743 cat conftest.err >&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } >/dev/null && {
3746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3747 test ! -s conftest.err
3748 }; then
3750 else
3751 echo "$as_me: failed program was:" >&5
3752 sed 's/^/| /' conftest.$ac_ext >&5
3754 # Broken: fails on valid input.
3755 continue
3758 rm -f conftest.err conftest.$ac_ext
3760 # OK, works on sane cases. Now check whether nonexistent headers
3761 # can be detected and how.
3762 cat >conftest.$ac_ext <<_ACEOF
3763 /* confdefs.h. */
3764 _ACEOF
3765 cat confdefs.h >>conftest.$ac_ext
3766 cat >>conftest.$ac_ext <<_ACEOF
3767 /* end confdefs.h. */
3768 #include <ac_nonexistent.h>
3769 _ACEOF
3770 if { (ac_try="$ac_cpp conftest.$ac_ext"
3771 case "(($ac_try" in
3772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773 *) ac_try_echo=$ac_try;;
3774 esac
3775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3777 ac_status=$?
3778 grep -v '^ *+' conftest.er1 >conftest.err
3779 rm -f conftest.er1
3780 cat conftest.err >&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); } >/dev/null && {
3783 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3784 test ! -s conftest.err
3785 }; then
3786 # Broken: success on invalid input.
3787 continue
3788 else
3789 echo "$as_me: failed program was:" >&5
3790 sed 's/^/| /' conftest.$ac_ext >&5
3792 # Passes both tests.
3793 ac_preproc_ok=:
3794 break
3797 rm -f conftest.err conftest.$ac_ext
3799 done
3800 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3801 rm -f conftest.err conftest.$ac_ext
3802 if $ac_preproc_ok; then
3803 break
3806 done
3807 ac_cv_prog_CPP=$CPP
3810 CPP=$ac_cv_prog_CPP
3811 else
3812 ac_cv_prog_CPP=$CPP
3814 { echo "$as_me:$LINENO: result: $CPP" >&5
3815 echo "${ECHO_T}$CPP" >&6; }
3816 ac_preproc_ok=false
3817 for ac_c_preproc_warn_flag in '' yes
3819 # Use a header file that comes with gcc, so configuring glibc
3820 # with a fresh cross-compiler works.
3821 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3822 # <limits.h> exists even on freestanding compilers.
3823 # On the NeXT, cc -E runs the code through the compiler's parser,
3824 # not just through cpp. "Syntax error" is here to catch this case.
3825 cat >conftest.$ac_ext <<_ACEOF
3826 /* confdefs.h. */
3827 _ACEOF
3828 cat confdefs.h >>conftest.$ac_ext
3829 cat >>conftest.$ac_ext <<_ACEOF
3830 /* end confdefs.h. */
3831 #ifdef __STDC__
3832 # include <limits.h>
3833 #else
3834 # include <assert.h>
3835 #endif
3836 Syntax error
3837 _ACEOF
3838 if { (ac_try="$ac_cpp conftest.$ac_ext"
3839 case "(($ac_try" in
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3842 esac
3843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3845 ac_status=$?
3846 grep -v '^ *+' conftest.er1 >conftest.err
3847 rm -f conftest.er1
3848 cat conftest.err >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); } >/dev/null && {
3851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3852 test ! -s conftest.err
3853 }; then
3855 else
3856 echo "$as_me: failed program was:" >&5
3857 sed 's/^/| /' conftest.$ac_ext >&5
3859 # Broken: fails on valid input.
3860 continue
3863 rm -f conftest.err conftest.$ac_ext
3865 # OK, works on sane cases. Now check whether nonexistent headers
3866 # can be detected and how.
3867 cat >conftest.$ac_ext <<_ACEOF
3868 /* confdefs.h. */
3869 _ACEOF
3870 cat confdefs.h >>conftest.$ac_ext
3871 cat >>conftest.$ac_ext <<_ACEOF
3872 /* end confdefs.h. */
3873 #include <ac_nonexistent.h>
3874 _ACEOF
3875 if { (ac_try="$ac_cpp conftest.$ac_ext"
3876 case "(($ac_try" in
3877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3878 *) ac_try_echo=$ac_try;;
3879 esac
3880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3881 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3882 ac_status=$?
3883 grep -v '^ *+' conftest.er1 >conftest.err
3884 rm -f conftest.er1
3885 cat conftest.err >&5
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); } >/dev/null && {
3888 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3889 test ! -s conftest.err
3890 }; then
3891 # Broken: success on invalid input.
3892 continue
3893 else
3894 echo "$as_me: failed program was:" >&5
3895 sed 's/^/| /' conftest.$ac_ext >&5
3897 # Passes both tests.
3898 ac_preproc_ok=:
3899 break
3902 rm -f conftest.err conftest.$ac_ext
3904 done
3905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3906 rm -f conftest.err conftest.$ac_ext
3907 if $ac_preproc_ok; then
3909 else
3910 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3911 See \`config.log' for more details." >&5
3912 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3913 See \`config.log' for more details." >&2;}
3914 { (exit 1); exit 1; }; }
3917 ac_ext=c
3918 ac_cpp='$CPP $CPPFLAGS'
3919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3924 { echo "$as_me:$LINENO: checking for X" >&5
3925 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3928 # Check whether --with-x was given.
3929 if test "${with_x+set}" = set; then
3930 withval=$with_x;
3933 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3934 if test "x$with_x" = xno; then
3935 # The user explicitly disabled X.
3936 have_x=disabled
3937 else
3938 case $x_includes,$x_libraries in #(
3939 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3940 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3941 { (exit 1); exit 1; }; };; #(
3942 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 else
3945 # One or both of the vars are not set, and there is no cached value.
3946 ac_x_includes=no ac_x_libraries=no
3947 rm -f -r conftest.dir
3948 if mkdir conftest.dir; then
3949 cd conftest.dir
3950 cat >Imakefile <<'_ACEOF'
3951 incroot:
3952 @echo incroot='${INCROOT}'
3953 usrlibdir:
3954 @echo usrlibdir='${USRLIBDIR}'
3955 libdir:
3956 @echo libdir='${LIBDIR}'
3957 _ACEOF
3958 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3959 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3960 for ac_var in incroot usrlibdir libdir; do
3961 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3962 done
3963 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3964 for ac_extension in a so sl; do
3965 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3966 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3967 ac_im_usrlibdir=$ac_im_libdir; break
3969 done
3970 # Screen out bogus values from the imake configuration. They are
3971 # bogus both because they are the default anyway, and because
3972 # using them would break gcc on systems where it needs fixed includes.
3973 case $ac_im_incroot in
3974 /usr/include) ac_x_includes= ;;
3975 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3976 esac
3977 case $ac_im_usrlibdir in
3978 /usr/lib | /lib) ;;
3979 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3980 esac
3982 cd ..
3983 rm -f -r conftest.dir
3986 # Standard set of common directories for X headers.
3987 # Check X11 before X11Rn because it is often a symlink to the current release.
3988 ac_x_header_dirs='
3989 /usr/X11/include
3990 /usr/X11R6/include
3991 /usr/X11R5/include
3992 /usr/X11R4/include
3994 /usr/include/X11
3995 /usr/include/X11R6
3996 /usr/include/X11R5
3997 /usr/include/X11R4
3999 /usr/local/X11/include
4000 /usr/local/X11R6/include
4001 /usr/local/X11R5/include
4002 /usr/local/X11R4/include
4004 /usr/local/include/X11
4005 /usr/local/include/X11R6
4006 /usr/local/include/X11R5
4007 /usr/local/include/X11R4
4009 /usr/X386/include
4010 /usr/x386/include
4011 /usr/XFree86/include/X11
4013 /usr/include
4014 /usr/local/include
4015 /usr/unsupported/include
4016 /usr/athena/include
4017 /usr/local/x11r5/include
4018 /usr/lpp/Xamples/include
4020 /usr/openwin/include
4021 /usr/openwin/share/include'
4023 if test "$ac_x_includes" = no; then
4024 # Guess where to find include files, by looking for Xlib.h.
4025 # First, try using that file with no special directory specified.
4026 cat >conftest.$ac_ext <<_ACEOF
4027 /* confdefs.h. */
4028 _ACEOF
4029 cat confdefs.h >>conftest.$ac_ext
4030 cat >>conftest.$ac_ext <<_ACEOF
4031 /* end confdefs.h. */
4032 #include <X11/Xlib.h>
4033 _ACEOF
4034 if { (ac_try="$ac_cpp conftest.$ac_ext"
4035 case "(($ac_try" in
4036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037 *) ac_try_echo=$ac_try;;
4038 esac
4039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4041 ac_status=$?
4042 grep -v '^ *+' conftest.er1 >conftest.err
4043 rm -f conftest.er1
4044 cat conftest.err >&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); } >/dev/null && {
4047 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4048 test ! -s conftest.err
4049 }; then
4050 # We can compile using X headers with no special include directory.
4051 ac_x_includes=
4052 else
4053 echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.$ac_ext >&5
4056 for ac_dir in $ac_x_header_dirs; do
4057 if test -r "$ac_dir/X11/Xlib.h"; then
4058 ac_x_includes=$ac_dir
4059 break
4061 done
4064 rm -f conftest.err conftest.$ac_ext
4065 fi # $ac_x_includes = no
4067 if test "$ac_x_libraries" = no; then
4068 # Check for the libraries.
4069 # See if we find them without any special options.
4070 # Don't add to $LIBS permanently.
4071 ac_save_LIBS=$LIBS
4072 LIBS="-lX11 $LIBS"
4073 cat >conftest.$ac_ext <<_ACEOF
4074 /* confdefs.h. */
4075 _ACEOF
4076 cat confdefs.h >>conftest.$ac_ext
4077 cat >>conftest.$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4079 #include <X11/Xlib.h>
4081 main ()
4083 XrmInitialize ()
4085 return 0;
4087 _ACEOF
4088 rm -f conftest.$ac_objext conftest$ac_exeext
4089 if { (ac_try="$ac_link"
4090 case "(($ac_try" in
4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4093 esac
4094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4095 (eval "$ac_link") 2>conftest.er1
4096 ac_status=$?
4097 grep -v '^ *+' conftest.er1 >conftest.err
4098 rm -f conftest.er1
4099 cat conftest.err >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } && {
4102 test -z "$ac_c_werror_flag" ||
4103 test ! -s conftest.err
4104 } && test -s conftest$ac_exeext &&
4105 $as_test_x conftest$ac_exeext; then
4106 LIBS=$ac_save_LIBS
4107 # We can link X programs with no special library path.
4108 ac_x_libraries=
4109 else
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4113 LIBS=$ac_save_LIBS
4114 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4116 # Don't even attempt the hair of trying to link an X program!
4117 for ac_extension in a so sl; do
4118 if test -r "$ac_dir/libX11.$ac_extension"; then
4119 ac_x_libraries=$ac_dir
4120 break 2
4122 done
4123 done
4126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4127 conftest$ac_exeext conftest.$ac_ext
4128 fi # $ac_x_libraries = no
4130 case $ac_x_includes,$ac_x_libraries in #(
4131 no,* | *,no | *\'*)
4132 # Didn't find X, or a directory has "'" in its name.
4133 ac_cv_have_x="have_x=no";; #(
4135 # Record where we found X for the cache.
4136 ac_cv_have_x="have_x=yes\
4137 ac_x_includes='$ac_x_includes'\
4138 ac_x_libraries='$ac_x_libraries'"
4139 esac
4141 ;; #(
4142 *) have_x=yes;;
4143 esac
4144 eval "$ac_cv_have_x"
4145 fi # $with_x != no
4147 if test "$have_x" != yes; then
4148 { echo "$as_me:$LINENO: result: $have_x" >&5
4149 echo "${ECHO_T}$have_x" >&6; }
4150 no_x=yes
4151 else
4152 # If each of the values was on the command line, it overrides each guess.
4153 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4154 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4155 # Update the cache value to reflect the command line values.
4156 ac_cv_have_x="have_x=yes\
4157 ac_x_includes='$x_includes'\
4158 ac_x_libraries='$x_libraries'"
4159 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4160 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4163 if test "$no_x" = yes; then
4164 # Not all programs may use this symbol, but it does not hurt to define it.
4166 cat >>confdefs.h <<\_ACEOF
4167 #define X_DISPLAY_MISSING 1
4168 _ACEOF
4170 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4171 else
4172 if test -n "$x_includes"; then
4173 X_CFLAGS="$X_CFLAGS -I$x_includes"
4176 # It would also be nice to do this for all -L options, not just this one.
4177 if test -n "$x_libraries"; then
4178 X_LIBS="$X_LIBS -L$x_libraries"
4179 # For Solaris; some versions of Sun CC require a space after -R and
4180 # others require no space. Words are not sufficient . . . .
4181 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4182 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4183 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4184 ac_xsave_c_werror_flag=$ac_c_werror_flag
4185 ac_c_werror_flag=yes
4186 cat >conftest.$ac_ext <<_ACEOF
4187 /* confdefs.h. */
4188 _ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4194 main ()
4198 return 0;
4200 _ACEOF
4201 rm -f conftest.$ac_objext conftest$ac_exeext
4202 if { (ac_try="$ac_link"
4203 case "(($ac_try" in
4204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4205 *) ac_try_echo=$ac_try;;
4206 esac
4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4208 (eval "$ac_link") 2>conftest.er1
4209 ac_status=$?
4210 grep -v '^ *+' conftest.er1 >conftest.err
4211 rm -f conftest.er1
4212 cat conftest.err >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } && {
4215 test -z "$ac_c_werror_flag" ||
4216 test ! -s conftest.err
4217 } && test -s conftest$ac_exeext &&
4218 $as_test_x conftest$ac_exeext; then
4219 { echo "$as_me:$LINENO: result: no" >&5
4220 echo "${ECHO_T}no" >&6; }
4221 X_LIBS="$X_LIBS -R$x_libraries"
4222 else
4223 echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.$ac_ext >&5
4226 LIBS="$ac_xsave_LIBS -R $x_libraries"
4227 cat >conftest.$ac_ext <<_ACEOF
4228 /* confdefs.h. */
4229 _ACEOF
4230 cat confdefs.h >>conftest.$ac_ext
4231 cat >>conftest.$ac_ext <<_ACEOF
4232 /* end confdefs.h. */
4235 main ()
4239 return 0;
4241 _ACEOF
4242 rm -f conftest.$ac_objext conftest$ac_exeext
4243 if { (ac_try="$ac_link"
4244 case "(($ac_try" in
4245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4246 *) ac_try_echo=$ac_try;;
4247 esac
4248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4249 (eval "$ac_link") 2>conftest.er1
4250 ac_status=$?
4251 grep -v '^ *+' conftest.er1 >conftest.err
4252 rm -f conftest.er1
4253 cat conftest.err >&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); } && {
4256 test -z "$ac_c_werror_flag" ||
4257 test ! -s conftest.err
4258 } && test -s conftest$ac_exeext &&
4259 $as_test_x conftest$ac_exeext; then
4260 { echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6; }
4262 X_LIBS="$X_LIBS -R $x_libraries"
4263 else
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.$ac_ext >&5
4267 { echo "$as_me:$LINENO: result: neither works" >&5
4268 echo "${ECHO_T}neither works" >&6; }
4271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4272 conftest$ac_exeext conftest.$ac_ext
4275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4276 conftest$ac_exeext conftest.$ac_ext
4277 ac_c_werror_flag=$ac_xsave_c_werror_flag
4278 LIBS=$ac_xsave_LIBS
4281 # Check for system-dependent libraries X programs must link with.
4282 # Do this before checking for the system-independent R6 libraries
4283 # (-lICE), since we may need -lsocket or whatever for X linking.
4285 if test "$ISC" = yes; then
4286 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4287 else
4288 # Martyn Johnson says this is needed for Ultrix, if the X
4289 # libraries were built with DECnet support. And Karl Berry says
4290 # the Alpha needs dnet_stub (dnet does not exist).
4291 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4292 cat >conftest.$ac_ext <<_ACEOF
4293 /* confdefs.h. */
4294 _ACEOF
4295 cat confdefs.h >>conftest.$ac_ext
4296 cat >>conftest.$ac_ext <<_ACEOF
4297 /* end confdefs.h. */
4299 /* Override any GCC internal prototype to avoid an error.
4300 Use char because int might match the return type of a GCC
4301 builtin and then its argument prototype would still apply. */
4302 #ifdef __cplusplus
4303 extern "C"
4304 #endif
4305 char XOpenDisplay ();
4307 main ()
4309 return XOpenDisplay ();
4311 return 0;
4313 _ACEOF
4314 rm -f conftest.$ac_objext conftest$ac_exeext
4315 if { (ac_try="$ac_link"
4316 case "(($ac_try" in
4317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4318 *) ac_try_echo=$ac_try;;
4319 esac
4320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4321 (eval "$ac_link") 2>conftest.er1
4322 ac_status=$?
4323 grep -v '^ *+' conftest.er1 >conftest.err
4324 rm -f conftest.er1
4325 cat conftest.err >&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } && {
4328 test -z "$ac_c_werror_flag" ||
4329 test ! -s conftest.err
4330 } && test -s conftest$ac_exeext &&
4331 $as_test_x conftest$ac_exeext; then
4333 else
4334 echo "$as_me: failed program was:" >&5
4335 sed 's/^/| /' conftest.$ac_ext >&5
4337 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4338 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4339 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4340 echo $ECHO_N "(cached) $ECHO_C" >&6
4341 else
4342 ac_check_lib_save_LIBS=$LIBS
4343 LIBS="-ldnet $LIBS"
4344 cat >conftest.$ac_ext <<_ACEOF
4345 /* confdefs.h. */
4346 _ACEOF
4347 cat confdefs.h >>conftest.$ac_ext
4348 cat >>conftest.$ac_ext <<_ACEOF
4349 /* end confdefs.h. */
4351 /* Override any GCC internal prototype to avoid an error.
4352 Use char because int might match the return type of a GCC
4353 builtin and then its argument prototype would still apply. */
4354 #ifdef __cplusplus
4355 extern "C"
4356 #endif
4357 char dnet_ntoa ();
4359 main ()
4361 return dnet_ntoa ();
4363 return 0;
4365 _ACEOF
4366 rm -f conftest.$ac_objext conftest$ac_exeext
4367 if { (ac_try="$ac_link"
4368 case "(($ac_try" in
4369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4370 *) ac_try_echo=$ac_try;;
4371 esac
4372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4373 (eval "$ac_link") 2>conftest.er1
4374 ac_status=$?
4375 grep -v '^ *+' conftest.er1 >conftest.err
4376 rm -f conftest.er1
4377 cat conftest.err >&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); } && {
4380 test -z "$ac_c_werror_flag" ||
4381 test ! -s conftest.err
4382 } && test -s conftest$ac_exeext &&
4383 $as_test_x conftest$ac_exeext; then
4384 ac_cv_lib_dnet_dnet_ntoa=yes
4385 else
4386 echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.$ac_ext >&5
4389 ac_cv_lib_dnet_dnet_ntoa=no
4392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4393 conftest$ac_exeext conftest.$ac_ext
4394 LIBS=$ac_check_lib_save_LIBS
4396 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4397 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4398 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4399 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4402 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4403 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4404 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4405 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4406 echo $ECHO_N "(cached) $ECHO_C" >&6
4407 else
4408 ac_check_lib_save_LIBS=$LIBS
4409 LIBS="-ldnet_stub $LIBS"
4410 cat >conftest.$ac_ext <<_ACEOF
4411 /* confdefs.h. */
4412 _ACEOF
4413 cat confdefs.h >>conftest.$ac_ext
4414 cat >>conftest.$ac_ext <<_ACEOF
4415 /* end confdefs.h. */
4417 /* Override any GCC internal prototype to avoid an error.
4418 Use char because int might match the return type of a GCC
4419 builtin and then its argument prototype would still apply. */
4420 #ifdef __cplusplus
4421 extern "C"
4422 #endif
4423 char dnet_ntoa ();
4425 main ()
4427 return dnet_ntoa ();
4429 return 0;
4431 _ACEOF
4432 rm -f conftest.$ac_objext conftest$ac_exeext
4433 if { (ac_try="$ac_link"
4434 case "(($ac_try" in
4435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4436 *) ac_try_echo=$ac_try;;
4437 esac
4438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4439 (eval "$ac_link") 2>conftest.er1
4440 ac_status=$?
4441 grep -v '^ *+' conftest.er1 >conftest.err
4442 rm -f conftest.er1
4443 cat conftest.err >&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); } && {
4446 test -z "$ac_c_werror_flag" ||
4447 test ! -s conftest.err
4448 } && test -s conftest$ac_exeext &&
4449 $as_test_x conftest$ac_exeext; then
4450 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4451 else
4452 echo "$as_me: failed program was:" >&5
4453 sed 's/^/| /' conftest.$ac_ext >&5
4455 ac_cv_lib_dnet_stub_dnet_ntoa=no
4458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4459 conftest$ac_exeext conftest.$ac_ext
4460 LIBS=$ac_check_lib_save_LIBS
4462 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4463 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4464 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4465 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4472 conftest$ac_exeext conftest.$ac_ext
4473 LIBS="$ac_xsave_LIBS"
4475 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4476 # to get the SysV transport functions.
4477 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4478 # needs -lnsl.
4479 # The nsl library prevents programs from opening the X display
4480 # on Irix 5.2, according to T.E. Dickey.
4481 # The functions gethostbyname, getservbyname, and inet_addr are
4482 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4483 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4484 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4485 if test "${ac_cv_func_gethostbyname+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4487 else
4488 cat >conftest.$ac_ext <<_ACEOF
4489 /* confdefs.h. */
4490 _ACEOF
4491 cat confdefs.h >>conftest.$ac_ext
4492 cat >>conftest.$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4494 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4496 #define gethostbyname innocuous_gethostbyname
4498 /* System header to define __stub macros and hopefully few prototypes,
4499 which can conflict with char gethostbyname (); below.
4500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4501 <limits.h> exists even on freestanding compilers. */
4503 #ifdef __STDC__
4504 # include <limits.h>
4505 #else
4506 # include <assert.h>
4507 #endif
4509 #undef gethostbyname
4511 /* Override any GCC internal prototype to avoid an error.
4512 Use char because int might match the return type of a GCC
4513 builtin and then its argument prototype would still apply. */
4514 #ifdef __cplusplus
4515 extern "C"
4516 #endif
4517 char gethostbyname ();
4518 /* The GNU C library defines this for functions which it implements
4519 to always fail with ENOSYS. Some functions are actually named
4520 something starting with __ and the normal name is an alias. */
4521 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4522 choke me
4523 #endif
4526 main ()
4528 return gethostbyname ();
4530 return 0;
4532 _ACEOF
4533 rm -f conftest.$ac_objext conftest$ac_exeext
4534 if { (ac_try="$ac_link"
4535 case "(($ac_try" in
4536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4537 *) ac_try_echo=$ac_try;;
4538 esac
4539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4540 (eval "$ac_link") 2>conftest.er1
4541 ac_status=$?
4542 grep -v '^ *+' conftest.er1 >conftest.err
4543 rm -f conftest.er1
4544 cat conftest.err >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } && {
4547 test -z "$ac_c_werror_flag" ||
4548 test ! -s conftest.err
4549 } && test -s conftest$ac_exeext &&
4550 $as_test_x conftest$ac_exeext; then
4551 ac_cv_func_gethostbyname=yes
4552 else
4553 echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.$ac_ext >&5
4556 ac_cv_func_gethostbyname=no
4559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4560 conftest$ac_exeext conftest.$ac_ext
4562 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4563 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4565 if test $ac_cv_func_gethostbyname = no; then
4566 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4567 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4568 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4570 else
4571 ac_check_lib_save_LIBS=$LIBS
4572 LIBS="-lnsl $LIBS"
4573 cat >conftest.$ac_ext <<_ACEOF
4574 /* confdefs.h. */
4575 _ACEOF
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4580 /* Override any GCC internal prototype to avoid an error.
4581 Use char because int might match the return type of a GCC
4582 builtin and then its argument prototype would still apply. */
4583 #ifdef __cplusplus
4584 extern "C"
4585 #endif
4586 char gethostbyname ();
4588 main ()
4590 return gethostbyname ();
4592 return 0;
4594 _ACEOF
4595 rm -f conftest.$ac_objext conftest$ac_exeext
4596 if { (ac_try="$ac_link"
4597 case "(($ac_try" in
4598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4600 esac
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_link") 2>conftest.er1
4603 ac_status=$?
4604 grep -v '^ *+' conftest.er1 >conftest.err
4605 rm -f conftest.er1
4606 cat conftest.err >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } && {
4609 test -z "$ac_c_werror_flag" ||
4610 test ! -s conftest.err
4611 } && test -s conftest$ac_exeext &&
4612 $as_test_x conftest$ac_exeext; then
4613 ac_cv_lib_nsl_gethostbyname=yes
4614 else
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.$ac_ext >&5
4618 ac_cv_lib_nsl_gethostbyname=no
4621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4622 conftest$ac_exeext conftest.$ac_ext
4623 LIBS=$ac_check_lib_save_LIBS
4625 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4626 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4627 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4628 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4631 if test $ac_cv_lib_nsl_gethostbyname = no; then
4632 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4633 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4634 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4635 echo $ECHO_N "(cached) $ECHO_C" >&6
4636 else
4637 ac_check_lib_save_LIBS=$LIBS
4638 LIBS="-lbsd $LIBS"
4639 cat >conftest.$ac_ext <<_ACEOF
4640 /* confdefs.h. */
4641 _ACEOF
4642 cat confdefs.h >>conftest.$ac_ext
4643 cat >>conftest.$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4646 /* Override any GCC internal prototype to avoid an error.
4647 Use char because int might match the return type of a GCC
4648 builtin and then its argument prototype would still apply. */
4649 #ifdef __cplusplus
4650 extern "C"
4651 #endif
4652 char gethostbyname ();
4654 main ()
4656 return gethostbyname ();
4658 return 0;
4660 _ACEOF
4661 rm -f conftest.$ac_objext conftest$ac_exeext
4662 if { (ac_try="$ac_link"
4663 case "(($ac_try" in
4664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4665 *) ac_try_echo=$ac_try;;
4666 esac
4667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4668 (eval "$ac_link") 2>conftest.er1
4669 ac_status=$?
4670 grep -v '^ *+' conftest.er1 >conftest.err
4671 rm -f conftest.er1
4672 cat conftest.err >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); } && {
4675 test -z "$ac_c_werror_flag" ||
4676 test ! -s conftest.err
4677 } && test -s conftest$ac_exeext &&
4678 $as_test_x conftest$ac_exeext; then
4679 ac_cv_lib_bsd_gethostbyname=yes
4680 else
4681 echo "$as_me: failed program was:" >&5
4682 sed 's/^/| /' conftest.$ac_ext >&5
4684 ac_cv_lib_bsd_gethostbyname=no
4687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4688 conftest$ac_exeext conftest.$ac_ext
4689 LIBS=$ac_check_lib_save_LIBS
4691 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4692 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4693 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4694 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4700 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4701 # socket/setsockopt and other routines are undefined under SCO ODT
4702 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4703 # on later versions), says Simon Leinen: it contains gethostby*
4704 # variants that don't use the name server (or something). -lsocket
4705 # must be given before -lnsl if both are needed. We assume that
4706 # if connect needs -lnsl, so does gethostbyname.
4707 { echo "$as_me:$LINENO: checking for connect" >&5
4708 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4709 if test "${ac_cv_func_connect+set}" = set; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6
4711 else
4712 cat >conftest.$ac_ext <<_ACEOF
4713 /* confdefs.h. */
4714 _ACEOF
4715 cat confdefs.h >>conftest.$ac_ext
4716 cat >>conftest.$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4718 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4720 #define connect innocuous_connect
4722 /* System header to define __stub macros and hopefully few prototypes,
4723 which can conflict with char connect (); below.
4724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4725 <limits.h> exists even on freestanding compilers. */
4727 #ifdef __STDC__
4728 # include <limits.h>
4729 #else
4730 # include <assert.h>
4731 #endif
4733 #undef connect
4735 /* Override any GCC internal prototype to avoid an error.
4736 Use char because int might match the return type of a GCC
4737 builtin and then its argument prototype would still apply. */
4738 #ifdef __cplusplus
4739 extern "C"
4740 #endif
4741 char connect ();
4742 /* The GNU C library defines this for functions which it implements
4743 to always fail with ENOSYS. Some functions are actually named
4744 something starting with __ and the normal name is an alias. */
4745 #if defined __stub_connect || defined __stub___connect
4746 choke me
4747 #endif
4750 main ()
4752 return connect ();
4754 return 0;
4756 _ACEOF
4757 rm -f conftest.$ac_objext conftest$ac_exeext
4758 if { (ac_try="$ac_link"
4759 case "(($ac_try" in
4760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4761 *) ac_try_echo=$ac_try;;
4762 esac
4763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4764 (eval "$ac_link") 2>conftest.er1
4765 ac_status=$?
4766 grep -v '^ *+' conftest.er1 >conftest.err
4767 rm -f conftest.er1
4768 cat conftest.err >&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); } && {
4771 test -z "$ac_c_werror_flag" ||
4772 test ! -s conftest.err
4773 } && test -s conftest$ac_exeext &&
4774 $as_test_x conftest$ac_exeext; then
4775 ac_cv_func_connect=yes
4776 else
4777 echo "$as_me: failed program was:" >&5
4778 sed 's/^/| /' conftest.$ac_ext >&5
4780 ac_cv_func_connect=no
4783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4784 conftest$ac_exeext conftest.$ac_ext
4786 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4787 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4789 if test $ac_cv_func_connect = no; then
4790 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4791 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4792 if test "${ac_cv_lib_socket_connect+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4794 else
4795 ac_check_lib_save_LIBS=$LIBS
4796 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4797 cat >conftest.$ac_ext <<_ACEOF
4798 /* confdefs.h. */
4799 _ACEOF
4800 cat confdefs.h >>conftest.$ac_ext
4801 cat >>conftest.$ac_ext <<_ACEOF
4802 /* end confdefs.h. */
4804 /* Override any GCC internal prototype to avoid an error.
4805 Use char because int might match the return type of a GCC
4806 builtin and then its argument prototype would still apply. */
4807 #ifdef __cplusplus
4808 extern "C"
4809 #endif
4810 char connect ();
4812 main ()
4814 return connect ();
4816 return 0;
4818 _ACEOF
4819 rm -f conftest.$ac_objext conftest$ac_exeext
4820 if { (ac_try="$ac_link"
4821 case "(($ac_try" in
4822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4823 *) ac_try_echo=$ac_try;;
4824 esac
4825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4826 (eval "$ac_link") 2>conftest.er1
4827 ac_status=$?
4828 grep -v '^ *+' conftest.er1 >conftest.err
4829 rm -f conftest.er1
4830 cat conftest.err >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } && {
4833 test -z "$ac_c_werror_flag" ||
4834 test ! -s conftest.err
4835 } && test -s conftest$ac_exeext &&
4836 $as_test_x conftest$ac_exeext; then
4837 ac_cv_lib_socket_connect=yes
4838 else
4839 echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4842 ac_cv_lib_socket_connect=no
4845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4846 conftest$ac_exeext conftest.$ac_ext
4847 LIBS=$ac_check_lib_save_LIBS
4849 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4850 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4851 if test $ac_cv_lib_socket_connect = yes; then
4852 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4857 # Guillermo Gomez says -lposix is necessary on A/UX.
4858 { echo "$as_me:$LINENO: checking for remove" >&5
4859 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4860 if test "${ac_cv_func_remove+set}" = set; then
4861 echo $ECHO_N "(cached) $ECHO_C" >&6
4862 else
4863 cat >conftest.$ac_ext <<_ACEOF
4864 /* confdefs.h. */
4865 _ACEOF
4866 cat confdefs.h >>conftest.$ac_ext
4867 cat >>conftest.$ac_ext <<_ACEOF
4868 /* end confdefs.h. */
4869 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4871 #define remove innocuous_remove
4873 /* System header to define __stub macros and hopefully few prototypes,
4874 which can conflict with char remove (); below.
4875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4876 <limits.h> exists even on freestanding compilers. */
4878 #ifdef __STDC__
4879 # include <limits.h>
4880 #else
4881 # include <assert.h>
4882 #endif
4884 #undef remove
4886 /* Override any GCC internal prototype to avoid an error.
4887 Use char because int might match the return type of a GCC
4888 builtin and then its argument prototype would still apply. */
4889 #ifdef __cplusplus
4890 extern "C"
4891 #endif
4892 char remove ();
4893 /* The GNU C library defines this for functions which it implements
4894 to always fail with ENOSYS. Some functions are actually named
4895 something starting with __ and the normal name is an alias. */
4896 #if defined __stub_remove || defined __stub___remove
4897 choke me
4898 #endif
4901 main ()
4903 return remove ();
4905 return 0;
4907 _ACEOF
4908 rm -f conftest.$ac_objext conftest$ac_exeext
4909 if { (ac_try="$ac_link"
4910 case "(($ac_try" in
4911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4912 *) ac_try_echo=$ac_try;;
4913 esac
4914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4915 (eval "$ac_link") 2>conftest.er1
4916 ac_status=$?
4917 grep -v '^ *+' conftest.er1 >conftest.err
4918 rm -f conftest.er1
4919 cat conftest.err >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } && {
4922 test -z "$ac_c_werror_flag" ||
4923 test ! -s conftest.err
4924 } && test -s conftest$ac_exeext &&
4925 $as_test_x conftest$ac_exeext; then
4926 ac_cv_func_remove=yes
4927 else
4928 echo "$as_me: failed program was:" >&5
4929 sed 's/^/| /' conftest.$ac_ext >&5
4931 ac_cv_func_remove=no
4934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4935 conftest$ac_exeext conftest.$ac_ext
4937 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4938 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4940 if test $ac_cv_func_remove = no; then
4941 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4942 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4943 if test "${ac_cv_lib_posix_remove+set}" = set; then
4944 echo $ECHO_N "(cached) $ECHO_C" >&6
4945 else
4946 ac_check_lib_save_LIBS=$LIBS
4947 LIBS="-lposix $LIBS"
4948 cat >conftest.$ac_ext <<_ACEOF
4949 /* confdefs.h. */
4950 _ACEOF
4951 cat confdefs.h >>conftest.$ac_ext
4952 cat >>conftest.$ac_ext <<_ACEOF
4953 /* end confdefs.h. */
4955 /* Override any GCC internal prototype to avoid an error.
4956 Use char because int might match the return type of a GCC
4957 builtin and then its argument prototype would still apply. */
4958 #ifdef __cplusplus
4959 extern "C"
4960 #endif
4961 char remove ();
4963 main ()
4965 return remove ();
4967 return 0;
4969 _ACEOF
4970 rm -f conftest.$ac_objext conftest$ac_exeext
4971 if { (ac_try="$ac_link"
4972 case "(($ac_try" in
4973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4974 *) ac_try_echo=$ac_try;;
4975 esac
4976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4977 (eval "$ac_link") 2>conftest.er1
4978 ac_status=$?
4979 grep -v '^ *+' conftest.er1 >conftest.err
4980 rm -f conftest.er1
4981 cat conftest.err >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); } && {
4984 test -z "$ac_c_werror_flag" ||
4985 test ! -s conftest.err
4986 } && test -s conftest$ac_exeext &&
4987 $as_test_x conftest$ac_exeext; then
4988 ac_cv_lib_posix_remove=yes
4989 else
4990 echo "$as_me: failed program was:" >&5
4991 sed 's/^/| /' conftest.$ac_ext >&5
4993 ac_cv_lib_posix_remove=no
4996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4997 conftest$ac_exeext conftest.$ac_ext
4998 LIBS=$ac_check_lib_save_LIBS
5000 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5001 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5002 if test $ac_cv_lib_posix_remove = yes; then
5003 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5008 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5009 { echo "$as_me:$LINENO: checking for shmat" >&5
5010 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5011 if test "${ac_cv_func_shmat+set}" = set; then
5012 echo $ECHO_N "(cached) $ECHO_C" >&6
5013 else
5014 cat >conftest.$ac_ext <<_ACEOF
5015 /* confdefs.h. */
5016 _ACEOF
5017 cat confdefs.h >>conftest.$ac_ext
5018 cat >>conftest.$ac_ext <<_ACEOF
5019 /* end confdefs.h. */
5020 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5022 #define shmat innocuous_shmat
5024 /* System header to define __stub macros and hopefully few prototypes,
5025 which can conflict with char shmat (); below.
5026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5027 <limits.h> exists even on freestanding compilers. */
5029 #ifdef __STDC__
5030 # include <limits.h>
5031 #else
5032 # include <assert.h>
5033 #endif
5035 #undef shmat
5037 /* Override any GCC internal prototype to avoid an error.
5038 Use char because int might match the return type of a GCC
5039 builtin and then its argument prototype would still apply. */
5040 #ifdef __cplusplus
5041 extern "C"
5042 #endif
5043 char shmat ();
5044 /* The GNU C library defines this for functions which it implements
5045 to always fail with ENOSYS. Some functions are actually named
5046 something starting with __ and the normal name is an alias. */
5047 #if defined __stub_shmat || defined __stub___shmat
5048 choke me
5049 #endif
5052 main ()
5054 return shmat ();
5056 return 0;
5058 _ACEOF
5059 rm -f conftest.$ac_objext conftest$ac_exeext
5060 if { (ac_try="$ac_link"
5061 case "(($ac_try" in
5062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5063 *) ac_try_echo=$ac_try;;
5064 esac
5065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5066 (eval "$ac_link") 2>conftest.er1
5067 ac_status=$?
5068 grep -v '^ *+' conftest.er1 >conftest.err
5069 rm -f conftest.er1
5070 cat conftest.err >&5
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); } && {
5073 test -z "$ac_c_werror_flag" ||
5074 test ! -s conftest.err
5075 } && test -s conftest$ac_exeext &&
5076 $as_test_x conftest$ac_exeext; then
5077 ac_cv_func_shmat=yes
5078 else
5079 echo "$as_me: failed program was:" >&5
5080 sed 's/^/| /' conftest.$ac_ext >&5
5082 ac_cv_func_shmat=no
5085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5086 conftest$ac_exeext conftest.$ac_ext
5088 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5089 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5091 if test $ac_cv_func_shmat = no; then
5092 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5093 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5094 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5095 echo $ECHO_N "(cached) $ECHO_C" >&6
5096 else
5097 ac_check_lib_save_LIBS=$LIBS
5098 LIBS="-lipc $LIBS"
5099 cat >conftest.$ac_ext <<_ACEOF
5100 /* confdefs.h. */
5101 _ACEOF
5102 cat confdefs.h >>conftest.$ac_ext
5103 cat >>conftest.$ac_ext <<_ACEOF
5104 /* end confdefs.h. */
5106 /* Override any GCC internal prototype to avoid an error.
5107 Use char because int might match the return type of a GCC
5108 builtin and then its argument prototype would still apply. */
5109 #ifdef __cplusplus
5110 extern "C"
5111 #endif
5112 char shmat ();
5114 main ()
5116 return shmat ();
5118 return 0;
5120 _ACEOF
5121 rm -f conftest.$ac_objext conftest$ac_exeext
5122 if { (ac_try="$ac_link"
5123 case "(($ac_try" in
5124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5125 *) ac_try_echo=$ac_try;;
5126 esac
5127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5128 (eval "$ac_link") 2>conftest.er1
5129 ac_status=$?
5130 grep -v '^ *+' conftest.er1 >conftest.err
5131 rm -f conftest.er1
5132 cat conftest.err >&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); } && {
5135 test -z "$ac_c_werror_flag" ||
5136 test ! -s conftest.err
5137 } && test -s conftest$ac_exeext &&
5138 $as_test_x conftest$ac_exeext; then
5139 ac_cv_lib_ipc_shmat=yes
5140 else
5141 echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5144 ac_cv_lib_ipc_shmat=no
5147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5148 conftest$ac_exeext conftest.$ac_ext
5149 LIBS=$ac_check_lib_save_LIBS
5151 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5152 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5153 if test $ac_cv_lib_ipc_shmat = yes; then
5154 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5160 # Check for libraries that X11R6 Xt/Xaw programs need.
5161 ac_save_LDFLAGS=$LDFLAGS
5162 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5163 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5164 # check for ICE first), but we must link in the order -lSM -lICE or
5165 # we get undefined symbols. So assume we have SM if we have ICE.
5166 # These have to be linked with before -lX11, unlike the other
5167 # libraries we check for below, so use a different variable.
5168 # John Interrante, Karl Berry
5169 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5170 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5171 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5172 echo $ECHO_N "(cached) $ECHO_C" >&6
5173 else
5174 ac_check_lib_save_LIBS=$LIBS
5175 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5176 cat >conftest.$ac_ext <<_ACEOF
5177 /* confdefs.h. */
5178 _ACEOF
5179 cat confdefs.h >>conftest.$ac_ext
5180 cat >>conftest.$ac_ext <<_ACEOF
5181 /* end confdefs.h. */
5183 /* Override any GCC internal prototype to avoid an error.
5184 Use char because int might match the return type of a GCC
5185 builtin and then its argument prototype would still apply. */
5186 #ifdef __cplusplus
5187 extern "C"
5188 #endif
5189 char IceConnectionNumber ();
5191 main ()
5193 return IceConnectionNumber ();
5195 return 0;
5197 _ACEOF
5198 rm -f conftest.$ac_objext conftest$ac_exeext
5199 if { (ac_try="$ac_link"
5200 case "(($ac_try" in
5201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5202 *) ac_try_echo=$ac_try;;
5203 esac
5204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5205 (eval "$ac_link") 2>conftest.er1
5206 ac_status=$?
5207 grep -v '^ *+' conftest.er1 >conftest.err
5208 rm -f conftest.er1
5209 cat conftest.err >&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); } && {
5212 test -z "$ac_c_werror_flag" ||
5213 test ! -s conftest.err
5214 } && test -s conftest$ac_exeext &&
5215 $as_test_x conftest$ac_exeext; then
5216 ac_cv_lib_ICE_IceConnectionNumber=yes
5217 else
5218 echo "$as_me: failed program was:" >&5
5219 sed 's/^/| /' conftest.$ac_ext >&5
5221 ac_cv_lib_ICE_IceConnectionNumber=no
5224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5225 conftest$ac_exeext conftest.$ac_ext
5226 LIBS=$ac_check_lib_save_LIBS
5228 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5229 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5230 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5231 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5234 LDFLAGS=$ac_save_LDFLAGS
5239 for ac_prog in flex
5241 # Extract the first word of "$ac_prog", so it can be a program name with args.
5242 set dummy $ac_prog; ac_word=$2
5243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5245 if test "${ac_cv_prog_FLEX+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 else
5248 if test -n "$FLEX"; then
5249 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5250 else
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH
5254 IFS=$as_save_IFS
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258 ac_cv_prog_FLEX="$ac_prog"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 break 2
5262 done
5263 done
5264 IFS=$as_save_IFS
5268 FLEX=$ac_cv_prog_FLEX
5269 if test -n "$FLEX"; then
5270 { echo "$as_me:$LINENO: result: $FLEX" >&5
5271 echo "${ECHO_T}$FLEX" >&6; }
5272 else
5273 { echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6; }
5278 test -n "$FLEX" && break
5279 done
5280 test -n "$FLEX" || FLEX="none"
5282 if test "$FLEX" = "none"
5283 then
5284 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5285 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5286 { (exit 1); exit 1; }; }
5289 for ac_prog in bison
5291 # Extract the first word of "$ac_prog", so it can be a program name with args.
5292 set dummy $ac_prog; ac_word=$2
5293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5295 if test "${ac_cv_prog_BISON+set}" = set; then
5296 echo $ECHO_N "(cached) $ECHO_C" >&6
5297 else
5298 if test -n "$BISON"; then
5299 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5300 else
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302 for as_dir in $PATH
5304 IFS=$as_save_IFS
5305 test -z "$as_dir" && as_dir=.
5306 for ac_exec_ext in '' $ac_executable_extensions; do
5307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5308 ac_cv_prog_BISON="$ac_prog"
5309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5310 break 2
5312 done
5313 done
5314 IFS=$as_save_IFS
5318 BISON=$ac_cv_prog_BISON
5319 if test -n "$BISON"; then
5320 { echo "$as_me:$LINENO: result: $BISON" >&5
5321 echo "${ECHO_T}$BISON" >&6; }
5322 else
5323 { echo "$as_me:$LINENO: result: no" >&5
5324 echo "${ECHO_T}no" >&6; }
5328 test -n "$BISON" && break
5329 done
5330 test -n "$BISON" || BISON="none"
5332 if test "$BISON" = "none"
5333 then
5334 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5335 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5336 { (exit 1); exit 1; }; }
5339 if test -n "$ac_tool_prefix"; then
5340 for ac_prog in gas as
5342 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5346 if test "${ac_cv_prog_AS+set}" = set; then
5347 echo $ECHO_N "(cached) $ECHO_C" >&6
5348 else
5349 if test -n "$AS"; then
5350 ac_cv_prog_AS="$AS" # Let the user override the test.
5351 else
5352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 for as_dir in $PATH
5355 IFS=$as_save_IFS
5356 test -z "$as_dir" && as_dir=.
5357 for ac_exec_ext in '' $ac_executable_extensions; do
5358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5359 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5361 break 2
5363 done
5364 done
5365 IFS=$as_save_IFS
5369 AS=$ac_cv_prog_AS
5370 if test -n "$AS"; then
5371 { echo "$as_me:$LINENO: result: $AS" >&5
5372 echo "${ECHO_T}$AS" >&6; }
5373 else
5374 { echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6; }
5379 test -n "$AS" && break
5380 done
5382 if test -z "$AS"; then
5383 ac_ct_AS=$AS
5384 for ac_prog in gas as
5386 # Extract the first word of "$ac_prog", so it can be a program name with args.
5387 set dummy $ac_prog; ac_word=$2
5388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5390 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5391 echo $ECHO_N "(cached) $ECHO_C" >&6
5392 else
5393 if test -n "$ac_ct_AS"; then
5394 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5395 else
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 for as_dir in $PATH
5399 IFS=$as_save_IFS
5400 test -z "$as_dir" && as_dir=.
5401 for ac_exec_ext in '' $ac_executable_extensions; do
5402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5403 ac_cv_prog_ac_ct_AS="$ac_prog"
5404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5405 break 2
5407 done
5408 done
5409 IFS=$as_save_IFS
5413 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5414 if test -n "$ac_ct_AS"; then
5415 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5416 echo "${ECHO_T}$ac_ct_AS" >&6; }
5417 else
5418 { echo "$as_me:$LINENO: result: no" >&5
5419 echo "${ECHO_T}no" >&6; }
5423 test -n "$ac_ct_AS" && break
5424 done
5426 if test "x$ac_ct_AS" = x; then
5427 AS="as"
5428 else
5429 case $cross_compiling:$ac_tool_warned in
5430 yes:)
5431 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5432 whose name does not start with the host triplet. If you think this
5433 configuration is useful to you, please write to autoconf@gnu.org." >&5
5434 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5435 whose name does not start with the host triplet. If you think this
5436 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5437 ac_tool_warned=yes ;;
5438 esac
5439 AS=$ac_ct_AS
5443 if test -n "$ac_tool_prefix"; then
5444 for ac_prog in ld gld
5446 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5447 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5450 if test "${ac_cv_prog_LD+set}" = set; then
5451 echo $ECHO_N "(cached) $ECHO_C" >&6
5452 else
5453 if test -n "$LD"; then
5454 ac_cv_prog_LD="$LD" # Let the user override the test.
5455 else
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH
5459 IFS=$as_save_IFS
5460 test -z "$as_dir" && as_dir=.
5461 for ac_exec_ext in '' $ac_executable_extensions; do
5462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5463 ac_cv_prog_LD="$ac_tool_prefix$ac_prog"
5464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 break 2
5467 done
5468 done
5469 IFS=$as_save_IFS
5473 LD=$ac_cv_prog_LD
5474 if test -n "$LD"; then
5475 { echo "$as_me:$LINENO: result: $LD" >&5
5476 echo "${ECHO_T}$LD" >&6; }
5477 else
5478 { echo "$as_me:$LINENO: result: no" >&5
5479 echo "${ECHO_T}no" >&6; }
5483 test -n "$LD" && break
5484 done
5486 if test -z "$LD"; then
5487 ac_ct_LD=$LD
5488 for ac_prog in ld gld
5490 # Extract the first word of "$ac_prog", so it can be a program name with args.
5491 set dummy $ac_prog; ac_word=$2
5492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5494 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5496 else
5497 if test -n "$ac_ct_LD"; then
5498 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5499 else
5500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 for as_dir in $PATH
5503 IFS=$as_save_IFS
5504 test -z "$as_dir" && as_dir=.
5505 for ac_exec_ext in '' $ac_executable_extensions; do
5506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5507 ac_cv_prog_ac_ct_LD="$ac_prog"
5508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5509 break 2
5511 done
5512 done
5513 IFS=$as_save_IFS
5517 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5518 if test -n "$ac_ct_LD"; then
5519 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5520 echo "${ECHO_T}$ac_ct_LD" >&6; }
5521 else
5522 { echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6; }
5527 test -n "$ac_ct_LD" && break
5528 done
5530 if test "x$ac_ct_LD" = x; then
5531 LD="ld"
5532 else
5533 case $cross_compiling:$ac_tool_warned in
5534 yes:)
5535 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5536 whose name does not start with the host triplet. If you think this
5537 configuration is useful to you, please write to autoconf@gnu.org." >&5
5538 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5539 whose name does not start with the host triplet. If you think this
5540 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5541 ac_tool_warned=yes ;;
5542 esac
5543 LD=$ac_ct_LD
5547 if test -n "$ac_tool_prefix"; then
5548 for ac_prog in nm gnm
5550 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5551 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5554 if test "${ac_cv_prog_NM+set}" = set; then
5555 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 else
5557 if test -n "$NM"; then
5558 ac_cv_prog_NM="$NM" # Let the user override the test.
5559 else
5560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561 for as_dir in $PATH
5563 IFS=$as_save_IFS
5564 test -z "$as_dir" && as_dir=.
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5567 ac_cv_prog_NM="$ac_tool_prefix$ac_prog"
5568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 break 2
5571 done
5572 done
5573 IFS=$as_save_IFS
5577 NM=$ac_cv_prog_NM
5578 if test -n "$NM"; then
5579 { echo "$as_me:$LINENO: result: $NM" >&5
5580 echo "${ECHO_T}$NM" >&6; }
5581 else
5582 { echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6; }
5587 test -n "$NM" && break
5588 done
5590 if test -z "$NM"; then
5591 ac_ct_NM=$NM
5592 for ac_prog in nm gnm
5594 # Extract the first word of "$ac_prog", so it can be a program name with args.
5595 set dummy $ac_prog; ac_word=$2
5596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5598 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6
5600 else
5601 if test -n "$ac_ct_NM"; then
5602 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
5603 else
5604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5605 for as_dir in $PATH
5607 IFS=$as_save_IFS
5608 test -z "$as_dir" && as_dir=.
5609 for ac_exec_ext in '' $ac_executable_extensions; do
5610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5611 ac_cv_prog_ac_ct_NM="$ac_prog"
5612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 break 2
5615 done
5616 done
5617 IFS=$as_save_IFS
5621 ac_ct_NM=$ac_cv_prog_ac_ct_NM
5622 if test -n "$ac_ct_NM"; then
5623 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5624 echo "${ECHO_T}$ac_ct_NM" >&6; }
5625 else
5626 { echo "$as_me:$LINENO: result: no" >&5
5627 echo "${ECHO_T}no" >&6; }
5631 test -n "$ac_ct_NM" && break
5632 done
5634 if test "x$ac_ct_NM" = x; then
5635 NM="nm"
5636 else
5637 case $cross_compiling:$ac_tool_warned in
5638 yes:)
5639 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5640 whose name does not start with the host triplet. If you think this
5641 configuration is useful to you, please write to autoconf@gnu.org." >&5
5642 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5643 whose name does not start with the host triplet. If you think this
5644 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5645 ac_tool_warned=yes ;;
5646 esac
5647 NM=$ac_ct_NM
5651 if test -n "$ac_tool_prefix"; then
5652 for ac_prog in ar gar
5654 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5655 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5658 if test "${ac_cv_prog_AR+set}" = set; then
5659 echo $ECHO_N "(cached) $ECHO_C" >&6
5660 else
5661 if test -n "$AR"; then
5662 ac_cv_prog_AR="$AR" # Let the user override the test.
5663 else
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 for as_dir in $PATH
5667 IFS=$as_save_IFS
5668 test -z "$as_dir" && as_dir=.
5669 for ac_exec_ext in '' $ac_executable_extensions; do
5670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5671 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5673 break 2
5675 done
5676 done
5677 IFS=$as_save_IFS
5681 AR=$ac_cv_prog_AR
5682 if test -n "$AR"; then
5683 { echo "$as_me:$LINENO: result: $AR" >&5
5684 echo "${ECHO_T}$AR" >&6; }
5685 else
5686 { echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6; }
5691 test -n "$AR" && break
5692 done
5694 if test -z "$AR"; then
5695 ac_ct_AR=$AR
5696 for ac_prog in ar gar
5698 # Extract the first word of "$ac_prog", so it can be a program name with args.
5699 set dummy $ac_prog; ac_word=$2
5700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5702 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5704 else
5705 if test -n "$ac_ct_AR"; then
5706 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5707 else
5708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 for as_dir in $PATH
5711 IFS=$as_save_IFS
5712 test -z "$as_dir" && as_dir=.
5713 for ac_exec_ext in '' $ac_executable_extensions; do
5714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5715 ac_cv_prog_ac_ct_AR="$ac_prog"
5716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5717 break 2
5719 done
5720 done
5721 IFS=$as_save_IFS
5725 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5726 if test -n "$ac_ct_AR"; then
5727 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5728 echo "${ECHO_T}$ac_ct_AR" >&6; }
5729 else
5730 { echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6; }
5735 test -n "$ac_ct_AR" && break
5736 done
5738 if test "x$ac_ct_AR" = x; then
5739 AR="ar"
5740 else
5741 case $cross_compiling:$ac_tool_warned in
5742 yes:)
5743 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5744 whose name does not start with the host triplet. If you think this
5745 configuration is useful to you, please write to autoconf@gnu.org." >&5
5746 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5747 whose name does not start with the host triplet. If you think this
5748 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5749 ac_tool_warned=yes ;;
5750 esac
5751 AR=$ac_ct_AR
5755 ARFLAGS=rc
5757 if test -n "$ac_tool_prefix"; then
5758 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5759 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5762 if test "${ac_cv_prog_RANLIB+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5764 else
5765 if test -n "$RANLIB"; then
5766 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5767 else
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 for as_dir in $PATH
5771 IFS=$as_save_IFS
5772 test -z "$as_dir" && as_dir=.
5773 for ac_exec_ext in '' $ac_executable_extensions; do
5774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5775 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5777 break 2
5779 done
5780 done
5781 IFS=$as_save_IFS
5785 RANLIB=$ac_cv_prog_RANLIB
5786 if test -n "$RANLIB"; then
5787 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5788 echo "${ECHO_T}$RANLIB" >&6; }
5789 else
5790 { echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6; }
5796 if test -z "$ac_cv_prog_RANLIB"; then
5797 ac_ct_RANLIB=$RANLIB
5798 # Extract the first word of "ranlib", so it can be a program name with args.
5799 set dummy ranlib; ac_word=$2
5800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5802 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 else
5805 if test -n "$ac_ct_RANLIB"; then
5806 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5807 else
5808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 for as_dir in $PATH
5811 IFS=$as_save_IFS
5812 test -z "$as_dir" && as_dir=.
5813 for ac_exec_ext in '' $ac_executable_extensions; do
5814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5815 ac_cv_prog_ac_ct_RANLIB="ranlib"
5816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 break 2
5819 done
5820 done
5821 IFS=$as_save_IFS
5825 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5826 if test -n "$ac_ct_RANLIB"; then
5827 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5828 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5829 else
5830 { echo "$as_me:$LINENO: result: no" >&5
5831 echo "${ECHO_T}no" >&6; }
5834 if test "x$ac_ct_RANLIB" = x; then
5835 RANLIB=":"
5836 else
5837 case $cross_compiling:$ac_tool_warned in
5838 yes:)
5839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5840 whose name does not start with the host triplet. If you think this
5841 configuration is useful to you, please write to autoconf@gnu.org." >&5
5842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5843 whose name does not start with the host triplet. If you think this
5844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5845 ac_tool_warned=yes ;;
5846 esac
5847 RANLIB=$ac_ct_RANLIB
5849 else
5850 RANLIB="$ac_cv_prog_RANLIB"
5853 if test -n "$ac_tool_prefix"; then
5854 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5855 set dummy ${ac_tool_prefix}strip; ac_word=$2
5856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5858 if test "${ac_cv_prog_STRIP+set}" = set; then
5859 echo $ECHO_N "(cached) $ECHO_C" >&6
5860 else
5861 if test -n "$STRIP"; then
5862 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5863 else
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 for as_dir in $PATH
5867 IFS=$as_save_IFS
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5871 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 break 2
5875 done
5876 done
5877 IFS=$as_save_IFS
5881 STRIP=$ac_cv_prog_STRIP
5882 if test -n "$STRIP"; then
5883 { echo "$as_me:$LINENO: result: $STRIP" >&5
5884 echo "${ECHO_T}$STRIP" >&6; }
5885 else
5886 { echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6; }
5892 if test -z "$ac_cv_prog_STRIP"; then
5893 ac_ct_STRIP=$STRIP
5894 # Extract the first word of "strip", so it can be a program name with args.
5895 set dummy strip; ac_word=$2
5896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5898 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5899 echo $ECHO_N "(cached) $ECHO_C" >&6
5900 else
5901 if test -n "$ac_ct_STRIP"; then
5902 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5903 else
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905 for as_dir in $PATH
5907 IFS=$as_save_IFS
5908 test -z "$as_dir" && as_dir=.
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5911 ac_cv_prog_ac_ct_STRIP="strip"
5912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5913 break 2
5915 done
5916 done
5917 IFS=$as_save_IFS
5921 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5922 if test -n "$ac_ct_STRIP"; then
5923 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5924 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5925 else
5926 { echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6; }
5930 if test "x$ac_ct_STRIP" = x; then
5931 STRIP="strip"
5932 else
5933 case $cross_compiling:$ac_tool_warned in
5934 yes:)
5935 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5936 whose name does not start with the host triplet. If you think this
5937 configuration is useful to you, please write to autoconf@gnu.org." >&5
5938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5939 whose name does not start with the host triplet. If you think this
5940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5941 ac_tool_warned=yes ;;
5942 esac
5943 STRIP=$ac_ct_STRIP
5945 else
5946 STRIP="$ac_cv_prog_STRIP"
5949 if test -n "$ac_tool_prefix"; then
5950 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5951 set dummy ${ac_tool_prefix}windres; ac_word=$2
5952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5954 if test "${ac_cv_prog_WINDRES+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 else
5957 if test -n "$WINDRES"; then
5958 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5963 IFS=$as_save_IFS
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 break 2
5971 done
5972 done
5973 IFS=$as_save_IFS
5977 WINDRES=$ac_cv_prog_WINDRES
5978 if test -n "$WINDRES"; then
5979 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5980 echo "${ECHO_T}$WINDRES" >&6; }
5981 else
5982 { echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6; }
5988 if test -z "$ac_cv_prog_WINDRES"; then
5989 ac_ct_WINDRES=$WINDRES
5990 # Extract the first word of "windres", so it can be a program name with args.
5991 set dummy windres; ac_word=$2
5992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5994 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5995 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 else
5997 if test -n "$ac_ct_WINDRES"; then
5998 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5999 else
6000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001 for as_dir in $PATH
6003 IFS=$as_save_IFS
6004 test -z "$as_dir" && as_dir=.
6005 for ac_exec_ext in '' $ac_executable_extensions; do
6006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6007 ac_cv_prog_ac_ct_WINDRES="windres"
6008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6009 break 2
6011 done
6012 done
6013 IFS=$as_save_IFS
6017 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6018 if test -n "$ac_ct_WINDRES"; then
6019 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6020 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6021 else
6022 { echo "$as_me:$LINENO: result: no" >&5
6023 echo "${ECHO_T}no" >&6; }
6026 if test "x$ac_ct_WINDRES" = x; then
6027 WINDRES="false"
6028 else
6029 case $cross_compiling:$ac_tool_warned in
6030 yes:)
6031 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6032 whose name does not start with the host triplet. If you think this
6033 configuration is useful to you, please write to autoconf@gnu.org." >&5
6034 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6035 whose name does not start with the host triplet. If you think this
6036 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6037 ac_tool_warned=yes ;;
6038 esac
6039 WINDRES=$ac_ct_WINDRES
6041 else
6042 WINDRES="$ac_cv_prog_WINDRES"
6045 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6046 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6047 LN_S=$as_ln_s
6048 if test "$LN_S" = "ln -s"; then
6049 { echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6; }
6051 else
6052 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6053 echo "${ECHO_T}no, using $LN_S" >&6; }
6056 { echo "$as_me:$LINENO: checking whether ln works" >&5
6057 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6058 rm -f conf$$ conf$$.file
6059 echo >conf$$.file
6060 if ln conf$$.file conf$$ 2>/dev/null; then
6061 LN=ln
6063 { echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6; }
6065 else
6066 LN="cp -p"
6068 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6069 echo "${ECHO_T}no, using $LN" >&6; }
6071 rm -f conf$$ conf$$.file
6072 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6073 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6074 if test "${ac_cv_path_GREP+set}" = set; then
6075 echo $ECHO_N "(cached) $ECHO_C" >&6
6076 else
6077 # Extract the first word of "grep ggrep" to use in msg output
6078 if test -z "$GREP"; then
6079 set dummy grep ggrep; ac_prog_name=$2
6080 if test "${ac_cv_path_GREP+set}" = set; then
6081 echo $ECHO_N "(cached) $ECHO_C" >&6
6082 else
6083 ac_path_GREP_found=false
6084 # Loop through the user's path and test for each of PROGNAME-LIST
6085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6086 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6088 IFS=$as_save_IFS
6089 test -z "$as_dir" && as_dir=.
6090 for ac_prog in grep ggrep; do
6091 for ac_exec_ext in '' $ac_executable_extensions; do
6092 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6093 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6094 # Check for GNU ac_path_GREP and select it if it is found.
6095 # Check for GNU $ac_path_GREP
6096 case `"$ac_path_GREP" --version 2>&1` in
6097 *GNU*)
6098 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6100 ac_count=0
6101 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6102 while :
6104 cat "conftest.in" "conftest.in" >"conftest.tmp"
6105 mv "conftest.tmp" "conftest.in"
6106 cp "conftest.in" "conftest.nl"
6107 echo 'GREP' >> "conftest.nl"
6108 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6109 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6110 ac_count=`expr $ac_count + 1`
6111 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6112 # Best one so far, save it but keep looking for a better one
6113 ac_cv_path_GREP="$ac_path_GREP"
6114 ac_path_GREP_max=$ac_count
6116 # 10*(2^10) chars as input seems more than enough
6117 test $ac_count -gt 10 && break
6118 done
6119 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6120 esac
6123 $ac_path_GREP_found && break 3
6124 done
6125 done
6127 done
6128 IFS=$as_save_IFS
6133 GREP="$ac_cv_path_GREP"
6134 if test -z "$GREP"; then
6135 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6136 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6137 { (exit 1); exit 1; }; }
6140 else
6141 ac_cv_path_GREP=$GREP
6146 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6147 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6148 GREP="$ac_cv_path_GREP"
6151 { echo "$as_me:$LINENO: checking for egrep" >&5
6152 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6153 if test "${ac_cv_path_EGREP+set}" = set; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6155 else
6156 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6157 then ac_cv_path_EGREP="$GREP -E"
6158 else
6159 # Extract the first word of "egrep" to use in msg output
6160 if test -z "$EGREP"; then
6161 set dummy egrep; ac_prog_name=$2
6162 if test "${ac_cv_path_EGREP+set}" = set; then
6163 echo $ECHO_N "(cached) $ECHO_C" >&6
6164 else
6165 ac_path_EGREP_found=false
6166 # Loop through the user's path and test for each of PROGNAME-LIST
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6170 IFS=$as_save_IFS
6171 test -z "$as_dir" && as_dir=.
6172 for ac_prog in egrep; do
6173 for ac_exec_ext in '' $ac_executable_extensions; do
6174 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6175 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6176 # Check for GNU ac_path_EGREP and select it if it is found.
6177 # Check for GNU $ac_path_EGREP
6178 case `"$ac_path_EGREP" --version 2>&1` in
6179 *GNU*)
6180 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6182 ac_count=0
6183 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6184 while :
6186 cat "conftest.in" "conftest.in" >"conftest.tmp"
6187 mv "conftest.tmp" "conftest.in"
6188 cp "conftest.in" "conftest.nl"
6189 echo 'EGREP' >> "conftest.nl"
6190 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6191 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6192 ac_count=`expr $ac_count + 1`
6193 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6194 # Best one so far, save it but keep looking for a better one
6195 ac_cv_path_EGREP="$ac_path_EGREP"
6196 ac_path_EGREP_max=$ac_count
6198 # 10*(2^10) chars as input seems more than enough
6199 test $ac_count -gt 10 && break
6200 done
6201 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6202 esac
6205 $ac_path_EGREP_found && break 3
6206 done
6207 done
6209 done
6210 IFS=$as_save_IFS
6215 EGREP="$ac_cv_path_EGREP"
6216 if test -z "$EGREP"; then
6217 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6218 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6219 { (exit 1); exit 1; }; }
6222 else
6223 ac_cv_path_EGREP=$EGREP
6229 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6230 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6231 EGREP="$ac_cv_path_EGREP"
6234 # Extract the first word of "ldconfig", so it can be a program name with args.
6235 set dummy ldconfig; ac_word=$2
6236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6238 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6239 echo $ECHO_N "(cached) $ECHO_C" >&6
6240 else
6241 case $LDCONFIG in
6242 [\\/]* | ?:[\\/]*)
6243 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 for as_dir in /sbin /usr/sbin $PATH
6249 IFS=$as_save_IFS
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6255 break 2
6257 done
6258 done
6259 IFS=$as_save_IFS
6261 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6263 esac
6265 LDCONFIG=$ac_cv_path_LDCONFIG
6266 if test -n "$LDCONFIG"; then
6267 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6268 echo "${ECHO_T}$LDCONFIG" >&6; }
6269 else
6270 { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6275 # Find a good install program. We prefer a C program (faster),
6276 # so one script is as good as another. But avoid the broken or
6277 # incompatible versions:
6278 # SysV /etc/install, /usr/sbin/install
6279 # SunOS /usr/etc/install
6280 # IRIX /sbin/install
6281 # AIX /bin/install
6282 # AmigaOS /C/install, which installs bootblocks on floppy discs
6283 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6284 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6285 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6286 # OS/2's system install, which has a completely different semantic
6287 # ./install, which can be erroneously created by make from ./install.sh.
6288 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6289 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6290 if test -z "$INSTALL"; then
6291 if test "${ac_cv_path_install+set}" = set; then
6292 echo $ECHO_N "(cached) $ECHO_C" >&6
6293 else
6294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6295 for as_dir in $PATH
6297 IFS=$as_save_IFS
6298 test -z "$as_dir" && as_dir=.
6299 # Account for people who put trailing slashes in PATH elements.
6300 case $as_dir/ in
6301 ./ | .// | /cC/* | \
6302 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6303 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6304 /usr/ucb/* ) ;;
6306 # OSF1 and SCO ODT 3.0 have their own names for install.
6307 # Don't use installbsd from OSF since it installs stuff as root
6308 # by default.
6309 for ac_prog in ginstall scoinst install; do
6310 for ac_exec_ext in '' $ac_executable_extensions; do
6311 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6312 if test $ac_prog = install &&
6313 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6314 # AIX install. It has an incompatible calling convention.
6316 elif test $ac_prog = install &&
6317 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6318 # program-specific install script used by HP pwplus--don't use.
6320 else
6321 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6322 break 3
6325 done
6326 done
6328 esac
6329 done
6330 IFS=$as_save_IFS
6334 if test "${ac_cv_path_install+set}" = set; then
6335 INSTALL=$ac_cv_path_install
6336 else
6337 # As a last resort, use the slow shell script. Don't cache a
6338 # value for INSTALL within a source directory, because that will
6339 # break other packages using the cache if that directory is
6340 # removed, or if the value is a relative name.
6341 INSTALL=$ac_install_sh
6344 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6345 echo "${ECHO_T}$INSTALL" >&6; }
6347 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6348 # It thinks the first close brace ends the variable substitution.
6349 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6351 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6353 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6355 case "$INSTALL" in
6356 [\\/$]* | ?:[\\/]* ) ;;
6357 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6358 esac
6360 for ac_prog in lclint lint
6362 # Extract the first word of "$ac_prog", so it can be a program name with args.
6363 set dummy $ac_prog; ac_word=$2
6364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6366 if test "${ac_cv_prog_LINT+set}" = set; then
6367 echo $ECHO_N "(cached) $ECHO_C" >&6
6368 else
6369 if test -n "$LINT"; then
6370 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6371 else
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373 for as_dir in $PATH
6375 IFS=$as_save_IFS
6376 test -z "$as_dir" && as_dir=.
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6379 ac_cv_prog_LINT="$ac_prog"
6380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6381 break 2
6383 done
6384 done
6385 IFS=$as_save_IFS
6389 LINT=$ac_cv_prog_LINT
6390 if test -n "$LINT"; then
6391 { echo "$as_me:$LINENO: result: $LINT" >&5
6392 echo "${ECHO_T}$LINT" >&6; }
6393 else
6394 { echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6; }
6399 test -n "$LINT" && break
6400 done
6402 if test "$LINT" = "lint"
6403 then
6404 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6409 for ac_prog in fontforge
6411 # Extract the first word of "$ac_prog", so it can be a program name with args.
6412 set dummy $ac_prog; ac_word=$2
6413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6415 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6416 echo $ECHO_N "(cached) $ECHO_C" >&6
6417 else
6418 if test -n "$FONTFORGE"; then
6419 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6420 else
6421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6422 for as_dir in $PATH
6424 IFS=$as_save_IFS
6425 test -z "$as_dir" && as_dir=.
6426 for ac_exec_ext in '' $ac_executable_extensions; do
6427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6428 ac_cv_prog_FONTFORGE="$ac_prog"
6429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6430 break 2
6432 done
6433 done
6434 IFS=$as_save_IFS
6438 FONTFORGE=$ac_cv_prog_FONTFORGE
6439 if test -n "$FONTFORGE"; then
6440 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6441 echo "${ECHO_T}$FONTFORGE" >&6; }
6442 else
6443 { echo "$as_me:$LINENO: result: no" >&5
6444 echo "${ECHO_T}no" >&6; }
6448 test -n "$FONTFORGE" && break
6449 done
6450 test -n "$FONTFORGE" || FONTFORGE="false"
6452 for ac_prog in pkg-config
6454 # Extract the first word of "$ac_prog", so it can be a program name with args.
6455 set dummy $ac_prog; ac_word=$2
6456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6458 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6460 else
6461 if test -n "$PKG_CONFIG"; then
6462 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6463 else
6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465 for as_dir in $PATH
6467 IFS=$as_save_IFS
6468 test -z "$as_dir" && as_dir=.
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471 ac_cv_prog_PKG_CONFIG="$ac_prog"
6472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6473 break 2
6475 done
6476 done
6477 IFS=$as_save_IFS
6481 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6482 if test -n "$PKG_CONFIG"; then
6483 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6484 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6485 else
6486 { echo "$as_me:$LINENO: result: no" >&5
6487 echo "${ECHO_T}no" >&6; }
6491 test -n "$PKG_CONFIG" && break
6492 done
6493 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6495 for ac_prog in rsvg
6497 # Extract the first word of "$ac_prog", so it can be a program name with args.
6498 set dummy $ac_prog; ac_word=$2
6499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6501 if test "${ac_cv_prog_RSVG+set}" = set; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6503 else
6504 if test -n "$RSVG"; then
6505 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6506 else
6507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508 for as_dir in $PATH
6510 IFS=$as_save_IFS
6511 test -z "$as_dir" && as_dir=.
6512 for ac_exec_ext in '' $ac_executable_extensions; do
6513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6514 ac_cv_prog_RSVG="$ac_prog"
6515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6516 break 2
6518 done
6519 done
6520 IFS=$as_save_IFS
6524 RSVG=$ac_cv_prog_RSVG
6525 if test -n "$RSVG"; then
6526 { echo "$as_me:$LINENO: result: $RSVG" >&5
6527 echo "${ECHO_T}$RSVG" >&6; }
6528 else
6529 { echo "$as_me:$LINENO: result: no" >&5
6530 echo "${ECHO_T}no" >&6; }
6534 test -n "$RSVG" && break
6535 done
6536 test -n "$RSVG" || RSVG="false"
6538 for ac_prog in icotool
6540 # Extract the first word of "$ac_prog", so it can be a program name with args.
6541 set dummy $ac_prog; ac_word=$2
6542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6544 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6545 echo $ECHO_N "(cached) $ECHO_C" >&6
6546 else
6547 if test -n "$ICOTOOL"; then
6548 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6549 else
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $PATH
6553 IFS=$as_save_IFS
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_ICOTOOL="$ac_prog"
6558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 break 2
6561 done
6562 done
6563 IFS=$as_save_IFS
6567 ICOTOOL=$ac_cv_prog_ICOTOOL
6568 if test -n "$ICOTOOL"; then
6569 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6570 echo "${ECHO_T}$ICOTOOL" >&6; }
6571 else
6572 { echo "$as_me:$LINENO: result: no" >&5
6573 echo "${ECHO_T}no" >&6; }
6577 test -n "$ICOTOOL" && break
6578 done
6579 test -n "$ICOTOOL" || ICOTOOL="false"
6582 if test "${enable_maintainer_mode+set}" = set
6583 then
6584 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6585 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6586 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6589 case $host_cpu in
6590 *i[3456789]86*)
6591 # Extract the first word of "prelink", so it can be a program name with args.
6592 set dummy prelink; ac_word=$2
6593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6595 if test "${ac_cv_path_PRELINK+set}" = set; then
6596 echo $ECHO_N "(cached) $ECHO_C" >&6
6597 else
6598 case $PRELINK in
6599 [\\/]* | ?:[\\/]*)
6600 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604 for as_dir in /sbin /usr/sbin $PATH
6606 IFS=$as_save_IFS
6607 test -z "$as_dir" && as_dir=.
6608 for ac_exec_ext in '' $ac_executable_extensions; do
6609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6610 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6612 break 2
6614 done
6615 done
6616 IFS=$as_save_IFS
6618 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6620 esac
6622 PRELINK=$ac_cv_path_PRELINK
6623 if test -n "$PRELINK"; then
6624 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6625 echo "${ECHO_T}$PRELINK" >&6; }
6626 else
6627 { echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6; }
6633 esac
6637 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6638 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6639 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6641 else
6642 ac_check_lib_save_LIBS=$LIBS
6643 LIBS="-li386 $LIBS"
6644 cat >conftest.$ac_ext <<_ACEOF
6645 /* confdefs.h. */
6646 _ACEOF
6647 cat confdefs.h >>conftest.$ac_ext
6648 cat >>conftest.$ac_ext <<_ACEOF
6649 /* end confdefs.h. */
6651 /* Override any GCC internal prototype to avoid an error.
6652 Use char because int might match the return type of a GCC
6653 builtin and then its argument prototype would still apply. */
6654 #ifdef __cplusplus
6655 extern "C"
6656 #endif
6657 char i386_set_ldt ();
6659 main ()
6661 return i386_set_ldt ();
6663 return 0;
6665 _ACEOF
6666 rm -f conftest.$ac_objext conftest$ac_exeext
6667 if { (ac_try="$ac_link"
6668 case "(($ac_try" in
6669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6670 *) ac_try_echo=$ac_try;;
6671 esac
6672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6673 (eval "$ac_link") 2>conftest.er1
6674 ac_status=$?
6675 grep -v '^ *+' conftest.er1 >conftest.err
6676 rm -f conftest.er1
6677 cat conftest.err >&5
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); } && {
6680 test -z "$ac_c_werror_flag" ||
6681 test ! -s conftest.err
6682 } && test -s conftest$ac_exeext &&
6683 $as_test_x conftest$ac_exeext; then
6684 ac_cv_lib_i386_i386_set_ldt=yes
6685 else
6686 echo "$as_me: failed program was:" >&5
6687 sed 's/^/| /' conftest.$ac_ext >&5
6689 ac_cv_lib_i386_i386_set_ldt=no
6692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6693 conftest$ac_exeext conftest.$ac_ext
6694 LIBS=$ac_check_lib_save_LIBS
6696 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6697 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6698 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6699 cat >>confdefs.h <<_ACEOF
6700 #define HAVE_LIBI386 1
6701 _ACEOF
6703 LIBS="-li386 $LIBS"
6708 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6709 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6710 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6711 echo $ECHO_N "(cached) $ECHO_C" >&6
6712 else
6713 ac_check_lib_save_LIBS=$LIBS
6714 LIBS="-lossaudio $LIBS"
6715 cat >conftest.$ac_ext <<_ACEOF
6716 /* confdefs.h. */
6717 _ACEOF
6718 cat confdefs.h >>conftest.$ac_ext
6719 cat >>conftest.$ac_ext <<_ACEOF
6720 /* end confdefs.h. */
6722 /* Override any GCC internal prototype to avoid an error.
6723 Use char because int might match the return type of a GCC
6724 builtin and then its argument prototype would still apply. */
6725 #ifdef __cplusplus
6726 extern "C"
6727 #endif
6728 char _oss_ioctl ();
6730 main ()
6732 return _oss_ioctl ();
6734 return 0;
6736 _ACEOF
6737 rm -f conftest.$ac_objext conftest$ac_exeext
6738 if { (ac_try="$ac_link"
6739 case "(($ac_try" in
6740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6741 *) ac_try_echo=$ac_try;;
6742 esac
6743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6744 (eval "$ac_link") 2>conftest.er1
6745 ac_status=$?
6746 grep -v '^ *+' conftest.er1 >conftest.err
6747 rm -f conftest.er1
6748 cat conftest.err >&5
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); } && {
6751 test -z "$ac_c_werror_flag" ||
6752 test ! -s conftest.err
6753 } && test -s conftest$ac_exeext &&
6754 $as_test_x conftest$ac_exeext; then
6755 ac_cv_lib_ossaudio__oss_ioctl=yes
6756 else
6757 echo "$as_me: failed program was:" >&5
6758 sed 's/^/| /' conftest.$ac_ext >&5
6760 ac_cv_lib_ossaudio__oss_ioctl=no
6763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6764 conftest$ac_exeext conftest.$ac_ext
6765 LIBS=$ac_check_lib_save_LIBS
6767 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6768 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6769 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6770 cat >>confdefs.h <<_ACEOF
6771 #define HAVE_LIBOSSAUDIO 1
6772 _ACEOF
6774 LIBS="-lossaudio $LIBS"
6778 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6779 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6780 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6781 echo $ECHO_N "(cached) $ECHO_C" >&6
6782 else
6783 ac_check_lib_save_LIBS=$LIBS
6784 LIBS="-lpthread $LIBS"
6785 cat >conftest.$ac_ext <<_ACEOF
6786 /* confdefs.h. */
6787 _ACEOF
6788 cat confdefs.h >>conftest.$ac_ext
6789 cat >>conftest.$ac_ext <<_ACEOF
6790 /* end confdefs.h. */
6792 /* Override any GCC internal prototype to avoid an error.
6793 Use char because int might match the return type of a GCC
6794 builtin and then its argument prototype would still apply. */
6795 #ifdef __cplusplus
6796 extern "C"
6797 #endif
6798 char pthread_create ();
6800 main ()
6802 return pthread_create ();
6804 return 0;
6806 _ACEOF
6807 rm -f conftest.$ac_objext conftest$ac_exeext
6808 if { (ac_try="$ac_link"
6809 case "(($ac_try" in
6810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6811 *) ac_try_echo=$ac_try;;
6812 esac
6813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6814 (eval "$ac_link") 2>conftest.er1
6815 ac_status=$?
6816 grep -v '^ *+' conftest.er1 >conftest.err
6817 rm -f conftest.er1
6818 cat conftest.err >&5
6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); } && {
6821 test -z "$ac_c_werror_flag" ||
6822 test ! -s conftest.err
6823 } && test -s conftest$ac_exeext &&
6824 $as_test_x conftest$ac_exeext; then
6825 ac_cv_lib_pthread_pthread_create=yes
6826 else
6827 echo "$as_me: failed program was:" >&5
6828 sed 's/^/| /' conftest.$ac_ext >&5
6830 ac_cv_lib_pthread_pthread_create=no
6833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6834 conftest$ac_exeext conftest.$ac_ext
6835 LIBS=$ac_check_lib_save_LIBS
6837 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6838 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6839 if test $ac_cv_lib_pthread_pthread_create = yes; then
6840 LIBPTHREAD="-lpthread"
6845 XLIB=""
6847 XFILES=""
6849 OPENGLFILES=""
6851 GLU32FILES=""
6853 OPENGL_LIBS=""
6855 QUARTZFILES=""
6859 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6860 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6861 if test "${ac_cv_header_stdc+set}" = set; then
6862 echo $ECHO_N "(cached) $ECHO_C" >&6
6863 else
6864 cat >conftest.$ac_ext <<_ACEOF
6865 /* confdefs.h. */
6866 _ACEOF
6867 cat confdefs.h >>conftest.$ac_ext
6868 cat >>conftest.$ac_ext <<_ACEOF
6869 /* end confdefs.h. */
6870 #include <stdlib.h>
6871 #include <stdarg.h>
6872 #include <string.h>
6873 #include <float.h>
6876 main ()
6880 return 0;
6882 _ACEOF
6883 rm -f conftest.$ac_objext
6884 if { (ac_try="$ac_compile"
6885 case "(($ac_try" in
6886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6887 *) ac_try_echo=$ac_try;;
6888 esac
6889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6890 (eval "$ac_compile") 2>conftest.er1
6891 ac_status=$?
6892 grep -v '^ *+' conftest.er1 >conftest.err
6893 rm -f conftest.er1
6894 cat conftest.err >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } && {
6897 test -z "$ac_c_werror_flag" ||
6898 test ! -s conftest.err
6899 } && test -s conftest.$ac_objext; then
6900 ac_cv_header_stdc=yes
6901 else
6902 echo "$as_me: failed program was:" >&5
6903 sed 's/^/| /' conftest.$ac_ext >&5
6905 ac_cv_header_stdc=no
6908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6910 if test $ac_cv_header_stdc = yes; then
6911 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6912 cat >conftest.$ac_ext <<_ACEOF
6913 /* confdefs.h. */
6914 _ACEOF
6915 cat confdefs.h >>conftest.$ac_ext
6916 cat >>conftest.$ac_ext <<_ACEOF
6917 /* end confdefs.h. */
6918 #include <string.h>
6920 _ACEOF
6921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6922 $EGREP "memchr" >/dev/null 2>&1; then
6924 else
6925 ac_cv_header_stdc=no
6927 rm -f conftest*
6931 if test $ac_cv_header_stdc = yes; then
6932 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6933 cat >conftest.$ac_ext <<_ACEOF
6934 /* confdefs.h. */
6935 _ACEOF
6936 cat confdefs.h >>conftest.$ac_ext
6937 cat >>conftest.$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6939 #include <stdlib.h>
6941 _ACEOF
6942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6943 $EGREP "free" >/dev/null 2>&1; then
6945 else
6946 ac_cv_header_stdc=no
6948 rm -f conftest*
6952 if test $ac_cv_header_stdc = yes; then
6953 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6954 if test "$cross_compiling" = yes; then
6956 else
6957 cat >conftest.$ac_ext <<_ACEOF
6958 /* confdefs.h. */
6959 _ACEOF
6960 cat confdefs.h >>conftest.$ac_ext
6961 cat >>conftest.$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6963 #include <ctype.h>
6964 #include <stdlib.h>
6965 #if ((' ' & 0x0FF) == 0x020)
6966 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6967 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6968 #else
6969 # define ISLOWER(c) \
6970 (('a' <= (c) && (c) <= 'i') \
6971 || ('j' <= (c) && (c) <= 'r') \
6972 || ('s' <= (c) && (c) <= 'z'))
6973 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6974 #endif
6976 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6978 main ()
6980 int i;
6981 for (i = 0; i < 256; i++)
6982 if (XOR (islower (i), ISLOWER (i))
6983 || toupper (i) != TOUPPER (i))
6984 return 2;
6985 return 0;
6987 _ACEOF
6988 rm -f conftest$ac_exeext
6989 if { (ac_try="$ac_link"
6990 case "(($ac_try" in
6991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6992 *) ac_try_echo=$ac_try;;
6993 esac
6994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6995 (eval "$ac_link") 2>&5
6996 ac_status=$?
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6999 { (case "(($ac_try" in
7000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7001 *) ac_try_echo=$ac_try;;
7002 esac
7003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7004 (eval "$ac_try") 2>&5
7005 ac_status=$?
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); }; }; then
7009 else
7010 echo "$as_me: program exited with status $ac_status" >&5
7011 echo "$as_me: failed program was:" >&5
7012 sed 's/^/| /' conftest.$ac_ext >&5
7014 ( exit $ac_status )
7015 ac_cv_header_stdc=no
7017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7023 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7024 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7025 if test $ac_cv_header_stdc = yes; then
7027 cat >>confdefs.h <<\_ACEOF
7028 #define STDC_HEADERS 1
7029 _ACEOF
7033 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7043 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7044 inttypes.h stdint.h unistd.h
7046 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7047 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7049 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7050 echo $ECHO_N "(cached) $ECHO_C" >&6
7051 else
7052 cat >conftest.$ac_ext <<_ACEOF
7053 /* confdefs.h. */
7054 _ACEOF
7055 cat confdefs.h >>conftest.$ac_ext
7056 cat >>conftest.$ac_ext <<_ACEOF
7057 /* end confdefs.h. */
7058 $ac_includes_default
7060 #include <$ac_header>
7061 _ACEOF
7062 rm -f conftest.$ac_objext
7063 if { (ac_try="$ac_compile"
7064 case "(($ac_try" in
7065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7066 *) ac_try_echo=$ac_try;;
7067 esac
7068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7069 (eval "$ac_compile") 2>conftest.er1
7070 ac_status=$?
7071 grep -v '^ *+' conftest.er1 >conftest.err
7072 rm -f conftest.er1
7073 cat conftest.err >&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); } && {
7076 test -z "$ac_c_werror_flag" ||
7077 test ! -s conftest.err
7078 } && test -s conftest.$ac_objext; then
7079 eval "$as_ac_Header=yes"
7080 else
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7084 eval "$as_ac_Header=no"
7087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7089 ac_res=`eval echo '${'$as_ac_Header'}'`
7090 { echo "$as_me:$LINENO: result: $ac_res" >&5
7091 echo "${ECHO_T}$ac_res" >&6; }
7092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7093 cat >>confdefs.h <<_ACEOF
7094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7095 _ACEOF
7099 done
7216 for ac_header in \
7217 AudioUnit/AudioUnit.h \
7218 Carbon/Carbon.h \
7219 CoreAudio/CoreAudio.h \
7220 DiskArbitration/DiskArbitration.h \
7221 IOKit/IOKitLib.h \
7222 alias.h \
7223 alsa/asoundlib.h \
7224 arpa/inet.h \
7225 arpa/nameser.h \
7226 asm/types.h \
7227 capi20.h \
7228 cups/cups.h \
7229 curses.h \
7230 direct.h \
7231 dlfcn.h \
7232 elf.h \
7233 float.h \
7234 fontconfig/fontconfig.h \
7235 getopt.h \
7236 ieeefp.h \
7237 io.h \
7238 jack/jack.h \
7239 jpeglib.h \
7240 lber.h \
7241 lcms.h \
7242 lcms/lcms.h \
7243 ldap.h \
7244 libaudioio.h \
7245 link.h \
7246 linux/cdrom.h \
7247 linux/compiler.h \
7248 linux/hdreg.h \
7249 linux/input.h \
7250 linux/ioctl.h \
7251 linux/joystick.h \
7252 linux/major.h \
7253 linux/param.h \
7254 linux/serial.h \
7255 linux/ucdrom.h \
7256 mach/mach.h \
7257 mach/machine.h \
7258 machine/cpu.h \
7259 machine/limits.h \
7260 machine/soundcard.h \
7261 mntent.h \
7262 ncurses.h \
7263 netdb.h \
7264 netinet/if_ether.h \
7265 netinet/in.h \
7266 netinet/in_systm.h \
7267 netinet/ip_icmp.h \
7268 netinet/tcp.h \
7269 netinet/tcp_fsm.h \
7270 netinet/udp.h \
7271 openssl/err.h \
7272 openssl/ssl.h \
7273 png.h \
7274 poll.h \
7275 process.h \
7276 pthread.h \
7277 pwd.h \
7278 regex.h \
7279 sched.h \
7280 scsi/scsi.h \
7281 scsi/scsi_ioctl.h \
7282 scsi/sg.h \
7283 soundcard.h \
7284 stdint.h \
7285 strings.h \
7286 sys/asoundlib.h \
7287 sys/cdio.h \
7288 sys/elf32.h \
7289 sys/epoll.h \
7290 sys/errno.h \
7291 sys/event.h \
7292 sys/exec_elf.h \
7293 sys/filio.h \
7294 sys/ioctl.h \
7295 sys/ipc.h \
7296 sys/limits.h \
7297 sys/link.h \
7298 sys/lwp.h \
7299 sys/mman.h \
7300 sys/modem.h \
7301 sys/msg.h \
7302 sys/mtio.h \
7303 sys/param.h \
7304 sys/poll.h \
7305 sys/prctl.h \
7306 sys/ptrace.h \
7307 sys/reg.h \
7308 sys/resource.h \
7309 sys/scsiio.h \
7310 sys/shm.h \
7311 sys/signal.h \
7312 sys/socket.h \
7313 sys/socketvar.h \
7314 sys/sockio.h \
7315 sys/soundcard.h \
7316 sys/statvfs.h \
7317 sys/strtio.h \
7318 sys/syscall.h \
7319 sys/sysctl.h \
7320 sys/time.h \
7321 sys/times.h \
7322 sys/uio.h \
7323 sys/un.h \
7324 sys/vm86.h \
7325 sys/wait.h \
7326 syscall.h \
7327 termios.h \
7328 unistd.h \
7329 utime.h \
7330 valgrind/memcheck.h
7333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7334 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7335 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7338 echo $ECHO_N "(cached) $ECHO_C" >&6
7340 ac_res=`eval echo '${'$as_ac_Header'}'`
7341 { echo "$as_me:$LINENO: result: $ac_res" >&5
7342 echo "${ECHO_T}$ac_res" >&6; }
7343 else
7344 # Is the header compilable?
7345 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7347 cat >conftest.$ac_ext <<_ACEOF
7348 /* confdefs.h. */
7349 _ACEOF
7350 cat confdefs.h >>conftest.$ac_ext
7351 cat >>conftest.$ac_ext <<_ACEOF
7352 /* end confdefs.h. */
7353 $ac_includes_default
7354 #include <$ac_header>
7355 _ACEOF
7356 rm -f conftest.$ac_objext
7357 if { (ac_try="$ac_compile"
7358 case "(($ac_try" in
7359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7360 *) ac_try_echo=$ac_try;;
7361 esac
7362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7363 (eval "$ac_compile") 2>conftest.er1
7364 ac_status=$?
7365 grep -v '^ *+' conftest.er1 >conftest.err
7366 rm -f conftest.er1
7367 cat conftest.err >&5
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); } && {
7370 test -z "$ac_c_werror_flag" ||
7371 test ! -s conftest.err
7372 } && test -s conftest.$ac_objext; then
7373 ac_header_compiler=yes
7374 else
7375 echo "$as_me: failed program was:" >&5
7376 sed 's/^/| /' conftest.$ac_ext >&5
7378 ac_header_compiler=no
7381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7382 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7383 echo "${ECHO_T}$ac_header_compiler" >&6; }
7385 # Is the header present?
7386 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7387 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7388 cat >conftest.$ac_ext <<_ACEOF
7389 /* confdefs.h. */
7390 _ACEOF
7391 cat confdefs.h >>conftest.$ac_ext
7392 cat >>conftest.$ac_ext <<_ACEOF
7393 /* end confdefs.h. */
7394 #include <$ac_header>
7395 _ACEOF
7396 if { (ac_try="$ac_cpp conftest.$ac_ext"
7397 case "(($ac_try" in
7398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7399 *) ac_try_echo=$ac_try;;
7400 esac
7401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7402 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7403 ac_status=$?
7404 grep -v '^ *+' conftest.er1 >conftest.err
7405 rm -f conftest.er1
7406 cat conftest.err >&5
7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 (exit $ac_status); } >/dev/null && {
7409 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7410 test ! -s conftest.err
7411 }; then
7412 ac_header_preproc=yes
7413 else
7414 echo "$as_me: failed program was:" >&5
7415 sed 's/^/| /' conftest.$ac_ext >&5
7417 ac_header_preproc=no
7420 rm -f conftest.err conftest.$ac_ext
7421 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7422 echo "${ECHO_T}$ac_header_preproc" >&6; }
7424 # So? What about this header?
7425 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7426 yes:no: )
7427 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7428 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7430 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7431 ac_header_preproc=yes
7433 no:yes:* )
7434 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7435 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7436 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7437 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7438 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7439 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7440 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7441 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7443 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7444 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7445 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7446 ( cat <<\_ASBOX
7447 ## ------------------------------------ ##
7448 ## Report this to wine-devel@winehq.org ##
7449 ## ------------------------------------ ##
7450 _ASBOX
7451 ) | sed "s/^/$as_me: WARNING: /" >&2
7453 esac
7454 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7456 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7457 echo $ECHO_N "(cached) $ECHO_C" >&6
7458 else
7459 eval "$as_ac_Header=\$ac_header_preproc"
7461 ac_res=`eval echo '${'$as_ac_Header'}'`
7462 { echo "$as_me:$LINENO: result: $ac_res" >&5
7463 echo "${ECHO_T}$ac_res" >&6; }
7466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7467 cat >>confdefs.h <<_ACEOF
7468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7469 _ACEOF
7473 done
7475 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7476 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7477 if test "${ac_cv_header_stat_broken+set}" = set; then
7478 echo $ECHO_N "(cached) $ECHO_C" >&6
7479 else
7480 cat >conftest.$ac_ext <<_ACEOF
7481 /* confdefs.h. */
7482 _ACEOF
7483 cat confdefs.h >>conftest.$ac_ext
7484 cat >>conftest.$ac_ext <<_ACEOF
7485 /* end confdefs.h. */
7486 #include <sys/types.h>
7487 #include <sys/stat.h>
7489 #if defined S_ISBLK && defined S_IFDIR
7490 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7491 #endif
7493 #if defined S_ISBLK && defined S_IFCHR
7494 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7495 #endif
7497 #if defined S_ISLNK && defined S_IFREG
7498 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7499 #endif
7501 #if defined S_ISSOCK && defined S_IFREG
7502 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7503 #endif
7505 _ACEOF
7506 rm -f conftest.$ac_objext
7507 if { (ac_try="$ac_compile"
7508 case "(($ac_try" in
7509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7510 *) ac_try_echo=$ac_try;;
7511 esac
7512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7513 (eval "$ac_compile") 2>conftest.er1
7514 ac_status=$?
7515 grep -v '^ *+' conftest.er1 >conftest.err
7516 rm -f conftest.er1
7517 cat conftest.err >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } && {
7520 test -z "$ac_c_werror_flag" ||
7521 test ! -s conftest.err
7522 } && test -s conftest.$ac_objext; then
7523 ac_cv_header_stat_broken=no
7524 else
7525 echo "$as_me: failed program was:" >&5
7526 sed 's/^/| /' conftest.$ac_ext >&5
7528 ac_cv_header_stat_broken=yes
7531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7533 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7534 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7535 if test $ac_cv_header_stat_broken = yes; then
7537 cat >>confdefs.h <<\_ACEOF
7538 #define STAT_MACROS_BROKEN 1
7539 _ACEOF
7549 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7551 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7552 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7554 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7555 echo $ECHO_N "(cached) $ECHO_C" >&6
7556 else
7557 cat >conftest.$ac_ext <<_ACEOF
7558 /* confdefs.h. */
7559 _ACEOF
7560 cat confdefs.h >>conftest.$ac_ext
7561 cat >>conftest.$ac_ext <<_ACEOF
7562 /* end confdefs.h. */
7563 #include <sys/types.h>
7564 #ifdef HAVE_SYS_PARAM_H
7565 # include <sys/param.h>
7566 #endif
7568 #include <$ac_header>
7569 _ACEOF
7570 rm -f conftest.$ac_objext
7571 if { (ac_try="$ac_compile"
7572 case "(($ac_try" in
7573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7574 *) ac_try_echo=$ac_try;;
7575 esac
7576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7577 (eval "$ac_compile") 2>conftest.er1
7578 ac_status=$?
7579 grep -v '^ *+' conftest.er1 >conftest.err
7580 rm -f conftest.er1
7581 cat conftest.err >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); } && {
7584 test -z "$ac_c_werror_flag" ||
7585 test ! -s conftest.err
7586 } && test -s conftest.$ac_objext; then
7587 eval "$as_ac_Header=yes"
7588 else
7589 echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.$ac_ext >&5
7592 eval "$as_ac_Header=no"
7595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7597 ac_res=`eval echo '${'$as_ac_Header'}'`
7598 { echo "$as_me:$LINENO: result: $ac_res" >&5
7599 echo "${ECHO_T}$ac_res" >&6; }
7600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7601 cat >>confdefs.h <<_ACEOF
7602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7603 _ACEOF
7607 done
7618 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
7620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7625 else
7626 cat >conftest.$ac_ext <<_ACEOF
7627 /* confdefs.h. */
7628 _ACEOF
7629 cat confdefs.h >>conftest.$ac_ext
7630 cat >>conftest.$ac_ext <<_ACEOF
7631 /* end confdefs.h. */
7632 #include <sys/types.h>
7633 #ifdef HAVE_SYS_SOCKET_H
7634 # include <sys/socket.h>
7635 #endif
7636 #ifdef HAVE_SYS_SOCKETVAR_H
7637 # include <sys/socketvar.h>
7638 #endif
7639 #ifdef HAVE_NETINET_IN_H
7640 # include <netinet/in.h>
7641 #endif
7643 #include <$ac_header>
7644 _ACEOF
7645 rm -f conftest.$ac_objext
7646 if { (ac_try="$ac_compile"
7647 case "(($ac_try" in
7648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7649 *) ac_try_echo=$ac_try;;
7650 esac
7651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7652 (eval "$ac_compile") 2>conftest.er1
7653 ac_status=$?
7654 grep -v '^ *+' conftest.er1 >conftest.err
7655 rm -f conftest.er1
7656 cat conftest.err >&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); } && {
7659 test -z "$ac_c_werror_flag" ||
7660 test ! -s conftest.err
7661 } && test -s conftest.$ac_objext; then
7662 eval "$as_ac_Header=yes"
7663 else
7664 echo "$as_me: failed program was:" >&5
7665 sed 's/^/| /' conftest.$ac_ext >&5
7667 eval "$as_ac_Header=no"
7670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7672 ac_res=`eval echo '${'$as_ac_Header'}'`
7673 { echo "$as_me:$LINENO: result: $ac_res" >&5
7674 echo "${ECHO_T}$ac_res" >&6; }
7675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7676 cat >>confdefs.h <<_ACEOF
7677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7678 _ACEOF
7682 done
7689 for ac_header in netinet/tcp_var.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_timer.h
7691 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7692 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7695 echo $ECHO_N "(cached) $ECHO_C" >&6
7696 else
7697 cat >conftest.$ac_ext <<_ACEOF
7698 /* confdefs.h. */
7699 _ACEOF
7700 cat confdefs.h >>conftest.$ac_ext
7701 cat >>conftest.$ac_ext <<_ACEOF
7702 /* end confdefs.h. */
7703 #include <sys/types.h>
7704 #ifdef HAVE_ALIAS_H
7705 # include <alias.h>
7706 #endif
7707 #ifdef HAVE_SYS_SOCKET_H
7708 # include <sys/socket.h>
7709 #endif
7710 #ifdef HAVE_SYS_SOCKETVAR_H
7711 # include <sys/socketvar.h>
7712 #endif
7713 #ifdef HAVE_NETINET_IN_H
7714 # include <netinet/in.h>
7715 #endif
7716 #ifdef HAVE_NETINET_IP_VAR_H
7717 # include <netinet/ip_var.h>
7718 #endif
7719 #ifdef HAVE_NETINET_IP_ICMP_H
7720 # include <netinet/ip_icmp.h>
7721 #endif
7722 #ifdef HAVE_NETINET_UDP_H
7723 # include <netinet/udp.h>
7724 #endif
7725 #ifdef HAVE_NETINET_TCP_H
7726 # include <netinet/tcp.h>
7727 #endif
7729 #include <$ac_header>
7730 _ACEOF
7731 rm -f conftest.$ac_objext
7732 if { (ac_try="$ac_compile"
7733 case "(($ac_try" in
7734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7735 *) ac_try_echo=$ac_try;;
7736 esac
7737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7738 (eval "$ac_compile") 2>conftest.er1
7739 ac_status=$?
7740 grep -v '^ *+' conftest.er1 >conftest.err
7741 rm -f conftest.er1
7742 cat conftest.err >&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); } && {
7745 test -z "$ac_c_werror_flag" ||
7746 test ! -s conftest.err
7747 } && test -s conftest.$ac_objext; then
7748 eval "$as_ac_Header=yes"
7749 else
7750 echo "$as_me: failed program was:" >&5
7751 sed 's/^/| /' conftest.$ac_ext >&5
7753 eval "$as_ac_Header=no"
7756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7758 ac_res=`eval echo '${'$as_ac_Header'}'`
7759 { echo "$as_me:$LINENO: result: $ac_res" >&5
7760 echo "${ECHO_T}$ac_res" >&6; }
7761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7762 cat >>confdefs.h <<_ACEOF
7763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7764 _ACEOF
7768 done
7772 for ac_header in linux/ipx.h
7774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7778 echo $ECHO_N "(cached) $ECHO_C" >&6
7779 else
7780 cat >conftest.$ac_ext <<_ACEOF
7781 /* confdefs.h. */
7782 _ACEOF
7783 cat confdefs.h >>conftest.$ac_ext
7784 cat >>conftest.$ac_ext <<_ACEOF
7785 /* end confdefs.h. */
7786 #include <sys/types.h>
7787 #ifdef HAVE_ASM_TYPES_H
7788 # include <asm/types.h>
7789 #endif
7790 #ifdef HAVE_SYS_SOCKET_H
7791 # include <sys/socket.h>
7792 #endif
7794 #include <$ac_header>
7795 _ACEOF
7796 rm -f conftest.$ac_objext
7797 if { (ac_try="$ac_compile"
7798 case "(($ac_try" in
7799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7800 *) ac_try_echo=$ac_try;;
7801 esac
7802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7803 (eval "$ac_compile") 2>conftest.er1
7804 ac_status=$?
7805 grep -v '^ *+' conftest.er1 >conftest.err
7806 rm -f conftest.er1
7807 cat conftest.err >&5
7808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809 (exit $ac_status); } && {
7810 test -z "$ac_c_werror_flag" ||
7811 test ! -s conftest.err
7812 } && test -s conftest.$ac_objext; then
7813 eval "$as_ac_Header=yes"
7814 else
7815 echo "$as_me: failed program was:" >&5
7816 sed 's/^/| /' conftest.$ac_ext >&5
7818 eval "$as_ac_Header=no"
7821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7823 ac_res=`eval echo '${'$as_ac_Header'}'`
7824 { echo "$as_me:$LINENO: result: $ac_res" >&5
7825 echo "${ECHO_T}$ac_res" >&6; }
7826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7827 cat >>confdefs.h <<_ACEOF
7828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7829 _ACEOF
7833 done
7837 for ac_header in resolv.h
7839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7840 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7842 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7844 else
7845 cat >conftest.$ac_ext <<_ACEOF
7846 /* confdefs.h. */
7847 _ACEOF
7848 cat confdefs.h >>conftest.$ac_ext
7849 cat >>conftest.$ac_ext <<_ACEOF
7850 /* end confdefs.h. */
7851 #include <sys/types.h>
7852 #ifdef HAVE_SYS_SOCKET_H
7853 # include <sys/socket.h>
7854 #endif
7855 #ifdef HAVE_NETINET_IN_H
7856 # include <netinet/in.h>
7857 #endif
7858 #ifdef HAVE_ARPA_NAMESER_H
7859 # include <arpa/nameser.h>
7860 #endif
7862 #include <$ac_header>
7863 _ACEOF
7864 rm -f conftest.$ac_objext
7865 if { (ac_try="$ac_compile"
7866 case "(($ac_try" in
7867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7868 *) ac_try_echo=$ac_try;;
7869 esac
7870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7871 (eval "$ac_compile") 2>conftest.er1
7872 ac_status=$?
7873 grep -v '^ *+' conftest.er1 >conftest.err
7874 rm -f conftest.er1
7875 cat conftest.err >&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); } && {
7878 test -z "$ac_c_werror_flag" ||
7879 test ! -s conftest.err
7880 } && test -s conftest.$ac_objext; then
7881 eval "$as_ac_Header=yes"
7882 else
7883 echo "$as_me: failed program was:" >&5
7884 sed 's/^/| /' conftest.$ac_ext >&5
7886 eval "$as_ac_Header=no"
7889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7891 ac_res=`eval echo '${'$as_ac_Header'}'`
7892 { echo "$as_me:$LINENO: result: $ac_res" >&5
7893 echo "${ECHO_T}$ac_res" >&6; }
7894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7895 cat >>confdefs.h <<_ACEOF
7896 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7897 _ACEOF
7901 done
7905 for ac_header in ucontext.h
7907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7908 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7910 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7911 echo $ECHO_N "(cached) $ECHO_C" >&6
7912 else
7913 cat >conftest.$ac_ext <<_ACEOF
7914 /* confdefs.h. */
7915 _ACEOF
7916 cat confdefs.h >>conftest.$ac_ext
7917 cat >>conftest.$ac_ext <<_ACEOF
7918 /* end confdefs.h. */
7919 #include <signal.h>
7921 #include <$ac_header>
7922 _ACEOF
7923 rm -f conftest.$ac_objext
7924 if { (ac_try="$ac_compile"
7925 case "(($ac_try" in
7926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7927 *) ac_try_echo=$ac_try;;
7928 esac
7929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7930 (eval "$ac_compile") 2>conftest.er1
7931 ac_status=$?
7932 grep -v '^ *+' conftest.er1 >conftest.err
7933 rm -f conftest.er1
7934 cat conftest.err >&5
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); } && {
7937 test -z "$ac_c_werror_flag" ||
7938 test ! -s conftest.err
7939 } && test -s conftest.$ac_objext; then
7940 eval "$as_ac_Header=yes"
7941 else
7942 echo "$as_me: failed program was:" >&5
7943 sed 's/^/| /' conftest.$ac_ext >&5
7945 eval "$as_ac_Header=no"
7948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7950 ac_res=`eval echo '${'$as_ac_Header'}'`
7951 { echo "$as_me:$LINENO: result: $ac_res" >&5
7952 echo "${ECHO_T}$ac_res" >&6; }
7953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7954 cat >>confdefs.h <<_ACEOF
7955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7956 _ACEOF
7960 done
7964 for ac_header in sys/thr.h
7966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7967 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7969 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7970 echo $ECHO_N "(cached) $ECHO_C" >&6
7971 else
7972 cat >conftest.$ac_ext <<_ACEOF
7973 /* confdefs.h. */
7974 _ACEOF
7975 cat confdefs.h >>conftest.$ac_ext
7976 cat >>conftest.$ac_ext <<_ACEOF
7977 /* end confdefs.h. */
7978 #include <sys/types.h>
7979 #ifdef HAVE_UCONTEXT_H
7980 #include <ucontext.h>
7981 #endif
7983 #include <$ac_header>
7984 _ACEOF
7985 rm -f conftest.$ac_objext
7986 if { (ac_try="$ac_compile"
7987 case "(($ac_try" in
7988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7989 *) ac_try_echo=$ac_try;;
7990 esac
7991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7992 (eval "$ac_compile") 2>conftest.er1
7993 ac_status=$?
7994 grep -v '^ *+' conftest.er1 >conftest.err
7995 rm -f conftest.er1
7996 cat conftest.err >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); } && {
7999 test -z "$ac_c_werror_flag" ||
8000 test ! -s conftest.err
8001 } && test -s conftest.$ac_objext; then
8002 eval "$as_ac_Header=yes"
8003 else
8004 echo "$as_me: failed program was:" >&5
8005 sed 's/^/| /' conftest.$ac_ext >&5
8007 eval "$as_ac_Header=no"
8010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8012 ac_res=`eval echo '${'$as_ac_Header'}'`
8013 { echo "$as_me:$LINENO: result: $ac_res" >&5
8014 echo "${ECHO_T}$ac_res" >&6; }
8015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8016 cat >>confdefs.h <<_ACEOF
8017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8018 _ACEOF
8022 done
8026 for ac_header in pthread_np.h
8028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8029 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8032 echo $ECHO_N "(cached) $ECHO_C" >&6
8033 else
8034 cat >conftest.$ac_ext <<_ACEOF
8035 /* confdefs.h. */
8036 _ACEOF
8037 cat confdefs.h >>conftest.$ac_ext
8038 cat >>conftest.$ac_ext <<_ACEOF
8039 /* end confdefs.h. */
8040 #ifdef HAVE_PTHREAD_H
8041 #include <pthread.h>
8042 #endif
8044 #include <$ac_header>
8045 _ACEOF
8046 rm -f conftest.$ac_objext
8047 if { (ac_try="$ac_compile"
8048 case "(($ac_try" in
8049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8050 *) ac_try_echo=$ac_try;;
8051 esac
8052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8053 (eval "$ac_compile") 2>conftest.er1
8054 ac_status=$?
8055 grep -v '^ *+' conftest.er1 >conftest.err
8056 rm -f conftest.er1
8057 cat conftest.err >&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); } && {
8060 test -z "$ac_c_werror_flag" ||
8061 test ! -s conftest.err
8062 } && test -s conftest.$ac_objext; then
8063 eval "$as_ac_Header=yes"
8064 else
8065 echo "$as_me: failed program was:" >&5
8066 sed 's/^/| /' conftest.$ac_ext >&5
8068 eval "$as_ac_Header=no"
8071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8073 ac_res=`eval echo '${'$as_ac_Header'}'`
8074 { echo "$as_me:$LINENO: result: $ac_res" >&5
8075 echo "${ECHO_T}$ac_res" >&6; }
8076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8077 cat >>confdefs.h <<_ACEOF
8078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8079 _ACEOF
8083 done
8087 for ac_header in linux/videodev.h
8089 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8090 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8092 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8093 echo $ECHO_N "(cached) $ECHO_C" >&6
8094 else
8095 cat >conftest.$ac_ext <<_ACEOF
8096 /* confdefs.h. */
8097 _ACEOF
8098 cat confdefs.h >>conftest.$ac_ext
8099 cat >>conftest.$ac_ext <<_ACEOF
8100 /* end confdefs.h. */
8101 #ifdef HAVE_SYS_TIME_H
8102 #include <sys/time.h>
8103 #endif
8104 #include <sys/types.h>
8105 #ifdef HAVE_ASM_TYPES_H
8106 #include <asm/types.h>
8107 #endif
8109 #include <$ac_header>
8110 _ACEOF
8111 rm -f conftest.$ac_objext
8112 if { (ac_try="$ac_compile"
8113 case "(($ac_try" in
8114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8115 *) ac_try_echo=$ac_try;;
8116 esac
8117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8118 (eval "$ac_compile") 2>conftest.er1
8119 ac_status=$?
8120 grep -v '^ *+' conftest.er1 >conftest.err
8121 rm -f conftest.er1
8122 cat conftest.err >&5
8123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8124 (exit $ac_status); } && {
8125 test -z "$ac_c_werror_flag" ||
8126 test ! -s conftest.err
8127 } && test -s conftest.$ac_objext; then
8128 eval "$as_ac_Header=yes"
8129 else
8130 echo "$as_me: failed program was:" >&5
8131 sed 's/^/| /' conftest.$ac_ext >&5
8133 eval "$as_ac_Header=no"
8136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8138 ac_res=`eval echo '${'$as_ac_Header'}'`
8139 { echo "$as_me:$LINENO: result: $ac_res" >&5
8140 echo "${ECHO_T}$ac_res" >&6; }
8141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8142 cat >>confdefs.h <<_ACEOF
8143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8144 _ACEOF
8148 done
8152 for ac_header in linux/capi.h
8154 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8155 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8158 echo $ECHO_N "(cached) $ECHO_C" >&6
8159 else
8160 cat >conftest.$ac_ext <<_ACEOF
8161 /* confdefs.h. */
8162 _ACEOF
8163 cat confdefs.h >>conftest.$ac_ext
8164 cat >>conftest.$ac_ext <<_ACEOF
8165 /* end confdefs.h. */
8166 #define __user
8168 #include <$ac_header>
8169 _ACEOF
8170 rm -f conftest.$ac_objext
8171 if { (ac_try="$ac_compile"
8172 case "(($ac_try" in
8173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8174 *) ac_try_echo=$ac_try;;
8175 esac
8176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8177 (eval "$ac_compile") 2>conftest.er1
8178 ac_status=$?
8179 grep -v '^ *+' conftest.er1 >conftest.err
8180 rm -f conftest.er1
8181 cat conftest.err >&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); } && {
8184 test -z "$ac_c_werror_flag" ||
8185 test ! -s conftest.err
8186 } && test -s conftest.$ac_objext; then
8187 eval "$as_ac_Header=yes"
8188 else
8189 echo "$as_me: failed program was:" >&5
8190 sed 's/^/| /' conftest.$ac_ext >&5
8192 eval "$as_ac_Header=no"
8195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8197 ac_res=`eval echo '${'$as_ac_Header'}'`
8198 { echo "$as_me:$LINENO: result: $ac_res" >&5
8199 echo "${ECHO_T}$ac_res" >&6; }
8200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8201 cat >>confdefs.h <<_ACEOF
8202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8203 _ACEOF
8207 done
8211 DLLEXT=""
8213 DLLFLAGS="-D_REENTRANT"
8215 LDSHARED=""
8217 LDDLLFLAGS=""
8219 LIBEXT="so"
8221 IMPLIBEXT="def"
8223 LDRPATH_INSTALL=""
8225 LDRPATH_LOCAL=""
8227 # Extract the first word of "ldd", so it can be a program name with args.
8228 set dummy ldd; ac_word=$2
8229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8231 if test "${ac_cv_path_LDD+set}" = set; then
8232 echo $ECHO_N "(cached) $ECHO_C" >&6
8233 else
8234 case $LDD in
8235 [\\/]* | ?:[\\/]*)
8236 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8240 as_dummy="/sbin:/usr/sbin:$PATH"
8241 for as_dir in $as_dummy
8243 IFS=$as_save_IFS
8244 test -z "$as_dir" && as_dir=.
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8247 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8249 break 2
8251 done
8252 done
8253 IFS=$as_save_IFS
8255 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8257 esac
8259 LDD=$ac_cv_path_LDD
8260 if test -n "$LDD"; then
8261 { echo "$as_me:$LINENO: result: $LDD" >&5
8262 echo "${ECHO_T}$LDD" >&6; }
8263 else
8264 { echo "$as_me:$LINENO: result: no" >&5
8265 echo "${ECHO_T}no" >&6; }
8270 case $host_os in
8271 cygwin*|mingw32*)
8272 if test -n "$ac_tool_prefix"; then
8273 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8274 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8277 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8278 echo $ECHO_N "(cached) $ECHO_C" >&6
8279 else
8280 if test -n "$DLLTOOL"; then
8281 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8282 else
8283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8284 for as_dir in $PATH
8286 IFS=$as_save_IFS
8287 test -z "$as_dir" && as_dir=.
8288 for ac_exec_ext in '' $ac_executable_extensions; do
8289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8290 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8292 break 2
8294 done
8295 done
8296 IFS=$as_save_IFS
8300 DLLTOOL=$ac_cv_prog_DLLTOOL
8301 if test -n "$DLLTOOL"; then
8302 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8303 echo "${ECHO_T}$DLLTOOL" >&6; }
8304 else
8305 { echo "$as_me:$LINENO: result: no" >&5
8306 echo "${ECHO_T}no" >&6; }
8311 if test -z "$ac_cv_prog_DLLTOOL"; then
8312 ac_ct_DLLTOOL=$DLLTOOL
8313 # Extract the first word of "dlltool", so it can be a program name with args.
8314 set dummy dlltool; ac_word=$2
8315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8317 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8318 echo $ECHO_N "(cached) $ECHO_C" >&6
8319 else
8320 if test -n "$ac_ct_DLLTOOL"; then
8321 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8322 else
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8324 for as_dir in $PATH
8326 IFS=$as_save_IFS
8327 test -z "$as_dir" && as_dir=.
8328 for ac_exec_ext in '' $ac_executable_extensions; do
8329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8330 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8332 break 2
8334 done
8335 done
8336 IFS=$as_save_IFS
8340 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8341 if test -n "$ac_ct_DLLTOOL"; then
8342 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8343 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8344 else
8345 { echo "$as_me:$LINENO: result: no" >&5
8346 echo "${ECHO_T}no" >&6; }
8349 if test "x$ac_ct_DLLTOOL" = x; then
8350 DLLTOOL="false"
8351 else
8352 case $cross_compiling:$ac_tool_warned in
8353 yes:)
8354 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8355 whose name does not start with the host triplet. If you think this
8356 configuration is useful to you, please write to autoconf@gnu.org." >&5
8357 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8358 whose name does not start with the host triplet. If you think this
8359 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8360 ac_tool_warned=yes ;;
8361 esac
8362 DLLTOOL=$ac_ct_DLLTOOL
8364 else
8365 DLLTOOL="$ac_cv_prog_DLLTOOL"
8368 if test -n "$ac_tool_prefix"; then
8369 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8370 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8373 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8374 echo $ECHO_N "(cached) $ECHO_C" >&6
8375 else
8376 if test -n "$DLLWRAP"; then
8377 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8378 else
8379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8380 for as_dir in $PATH
8382 IFS=$as_save_IFS
8383 test -z "$as_dir" && as_dir=.
8384 for ac_exec_ext in '' $ac_executable_extensions; do
8385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8386 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8388 break 2
8390 done
8391 done
8392 IFS=$as_save_IFS
8396 DLLWRAP=$ac_cv_prog_DLLWRAP
8397 if test -n "$DLLWRAP"; then
8398 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8399 echo "${ECHO_T}$DLLWRAP" >&6; }
8400 else
8401 { echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6; }
8407 if test -z "$ac_cv_prog_DLLWRAP"; then
8408 ac_ct_DLLWRAP=$DLLWRAP
8409 # Extract the first word of "dllwrap", so it can be a program name with args.
8410 set dummy dllwrap; ac_word=$2
8411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8413 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8414 echo $ECHO_N "(cached) $ECHO_C" >&6
8415 else
8416 if test -n "$ac_ct_DLLWRAP"; then
8417 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8418 else
8419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8420 for as_dir in $PATH
8422 IFS=$as_save_IFS
8423 test -z "$as_dir" && as_dir=.
8424 for ac_exec_ext in '' $ac_executable_extensions; do
8425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8426 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8428 break 2
8430 done
8431 done
8432 IFS=$as_save_IFS
8436 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8437 if test -n "$ac_ct_DLLWRAP"; then
8438 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8439 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8440 else
8441 { echo "$as_me:$LINENO: result: no" >&5
8442 echo "${ECHO_T}no" >&6; }
8445 if test "x$ac_ct_DLLWRAP" = x; then
8446 DLLWRAP="false"
8447 else
8448 case $cross_compiling:$ac_tool_warned in
8449 yes:)
8450 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8451 whose name does not start with the host triplet. If you think this
8452 configuration is useful to you, please write to autoconf@gnu.org." >&5
8453 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8454 whose name does not start with the host triplet. If you think this
8455 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8456 ac_tool_warned=yes ;;
8457 esac
8458 DLLWRAP=$ac_ct_DLLWRAP
8460 else
8461 DLLWRAP="$ac_cv_prog_DLLWRAP"
8464 if test -n "$ac_tool_prefix"; then
8465 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8466 set dummy ${ac_tool_prefix}ar; ac_word=$2
8467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8469 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8470 echo $ECHO_N "(cached) $ECHO_C" >&6
8471 else
8472 if test -n "$MINGWAR"; then
8473 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8474 else
8475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8476 for as_dir in $PATH
8478 IFS=$as_save_IFS
8479 test -z "$as_dir" && as_dir=.
8480 for ac_exec_ext in '' $ac_executable_extensions; do
8481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8482 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8484 break 2
8486 done
8487 done
8488 IFS=$as_save_IFS
8492 MINGWAR=$ac_cv_prog_MINGWAR
8493 if test -n "$MINGWAR"; then
8494 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8495 echo "${ECHO_T}$MINGWAR" >&6; }
8496 else
8497 { echo "$as_me:$LINENO: result: no" >&5
8498 echo "${ECHO_T}no" >&6; }
8503 if test -z "$ac_cv_prog_MINGWAR"; then
8504 ac_ct_MINGWAR=$MINGWAR
8505 # Extract the first word of "ar", so it can be a program name with args.
8506 set dummy ar; ac_word=$2
8507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8509 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8510 echo $ECHO_N "(cached) $ECHO_C" >&6
8511 else
8512 if test -n "$ac_ct_MINGWAR"; then
8513 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8514 else
8515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8516 for as_dir in $PATH
8518 IFS=$as_save_IFS
8519 test -z "$as_dir" && as_dir=.
8520 for ac_exec_ext in '' $ac_executable_extensions; do
8521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8522 ac_cv_prog_ac_ct_MINGWAR="ar"
8523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8524 break 2
8526 done
8527 done
8528 IFS=$as_save_IFS
8532 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8533 if test -n "$ac_ct_MINGWAR"; then
8534 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8535 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8536 else
8537 { echo "$as_me:$LINENO: result: no" >&5
8538 echo "${ECHO_T}no" >&6; }
8541 if test "x$ac_ct_MINGWAR" = x; then
8542 MINGWAR="false"
8543 else
8544 case $cross_compiling:$ac_tool_warned in
8545 yes:)
8546 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8547 whose name does not start with the host triplet. If you think this
8548 configuration is useful to you, please write to autoconf@gnu.org." >&5
8549 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8550 whose name does not start with the host triplet. If you think this
8551 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8552 ac_tool_warned=yes ;;
8553 esac
8554 MINGWAR=$ac_ct_MINGWAR
8556 else
8557 MINGWAR="$ac_cv_prog_MINGWAR"
8560 if test "$DLLWRAP" = "false"; then
8561 LIBEXT="a"
8562 else
8563 LIBEXT="dll"
8565 IMPLIBEXT="a"
8566 WIN16_FILES=""
8567 WIN16_INSTALL=""
8569 darwin*|macosx*)
8570 DLLEXT=".so"
8571 LIBEXT="dylib"
8572 DLLFLAGS="$DLLFLAGS -fPIC"
8573 LDDLLFLAGS="-bundle -multiply_defined suppress"
8574 LIBWINE_LDFLAGS="-multiply_defined suppress"
8575 LDSHARED="\$(CC) -dynamiclib"
8576 STRIP="$STRIP -x"
8577 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8578 SECURITYLIB="-framework Security -framework CoreFoundation"
8580 COREFOUNDATIONLIB="-framework CoreFoundation"
8582 IOKITLIB="-framework IOKit -framework CoreFoundation"
8584 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8586 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8587 then
8588 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8591 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8592 then
8593 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8596 case $host_cpu in
8597 *powerpc*)
8598 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8599 esac
8600 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8601 then
8602 CARBONLIB="-framework Carbon"
8604 QUARTZFILES='$(QUARTZFILES)'
8608 DLLFLAGS="$DLLFLAGS -fPIC"
8609 DLLEXT=".so"
8610 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8611 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8612 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8613 echo $ECHO_N "(cached) $ECHO_C" >&6
8614 else
8615 ac_wine_try_cflags_saved=$CFLAGS
8616 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8617 cat >conftest.$ac_ext <<_ACEOF
8618 void myfunc() {}
8619 _ACEOF
8620 rm -f conftest.$ac_objext conftest$ac_exeext
8621 if { (ac_try="$ac_link"
8622 case "(($ac_try" in
8623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8624 *) ac_try_echo=$ac_try;;
8625 esac
8626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8627 (eval "$ac_link") 2>conftest.er1
8628 ac_status=$?
8629 grep -v '^ *+' conftest.er1 >conftest.err
8630 rm -f conftest.er1
8631 cat conftest.err >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); } && {
8634 test -z "$ac_c_werror_flag" ||
8635 test ! -s conftest.err
8636 } && test -s conftest$ac_exeext &&
8637 $as_test_x conftest$ac_exeext; then
8638 ac_cv_c_dll_gnuelf="yes"
8639 else
8640 echo "$as_me: failed program was:" >&5
8641 sed 's/^/| /' conftest.$ac_ext >&5
8643 ac_cv_c_dll_gnuelf="no"
8646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8647 conftest$ac_exeext conftest.$ac_ext
8648 CFLAGS=$ac_wine_try_cflags_saved
8650 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8651 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8652 if test "$ac_cv_c_dll_gnuelf" = "yes"
8653 then
8654 LDSHARED="\$(CC) -shared"
8655 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8656 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8657 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8658 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8659 echo $ECHO_N "(cached) $ECHO_C" >&6
8660 else
8661 ac_wine_try_cflags_saved=$CFLAGS
8662 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8663 cat >conftest.$ac_ext <<_ACEOF
8664 /* confdefs.h. */
8665 _ACEOF
8666 cat confdefs.h >>conftest.$ac_ext
8667 cat >>conftest.$ac_ext <<_ACEOF
8668 /* end confdefs.h. */
8671 main ()
8675 return 0;
8677 _ACEOF
8678 rm -f conftest.$ac_objext conftest$ac_exeext
8679 if { (ac_try="$ac_link"
8680 case "(($ac_try" in
8681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8682 *) ac_try_echo=$ac_try;;
8683 esac
8684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8685 (eval "$ac_link") 2>conftest.er1
8686 ac_status=$?
8687 grep -v '^ *+' conftest.er1 >conftest.err
8688 rm -f conftest.er1
8689 cat conftest.err >&5
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); } && {
8692 test -z "$ac_c_werror_flag" ||
8693 test ! -s conftest.err
8694 } && test -s conftest$ac_exeext &&
8695 $as_test_x conftest$ac_exeext; then
8696 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8697 else
8698 echo "$as_me: failed program was:" >&5
8699 sed 's/^/| /' conftest.$ac_ext >&5
8701 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8705 conftest$ac_exeext conftest.$ac_ext
8706 CFLAGS=$ac_wine_try_cflags_saved
8708 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8709 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8710 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8711 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8712 else
8713 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8714 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8715 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8716 echo $ECHO_N "(cached) $ECHO_C" >&6
8717 else
8718 ac_wine_try_cflags_saved=$CFLAGS
8719 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8720 cat >conftest.$ac_ext <<_ACEOF
8721 /* confdefs.h. */
8722 _ACEOF
8723 cat confdefs.h >>conftest.$ac_ext
8724 cat >>conftest.$ac_ext <<_ACEOF
8725 /* end confdefs.h. */
8728 main ()
8732 return 0;
8734 _ACEOF
8735 rm -f conftest.$ac_objext conftest$ac_exeext
8736 if { (ac_try="$ac_link"
8737 case "(($ac_try" in
8738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8739 *) ac_try_echo=$ac_try;;
8740 esac
8741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8742 (eval "$ac_link") 2>conftest.er1
8743 ac_status=$?
8744 grep -v '^ *+' conftest.er1 >conftest.err
8745 rm -f conftest.er1
8746 cat conftest.err >&5
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); } && {
8749 test -z "$ac_c_werror_flag" ||
8750 test ! -s conftest.err
8751 } && test -s conftest$ac_exeext &&
8752 $as_test_x conftest$ac_exeext; then
8753 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8754 else
8755 echo "$as_me: failed program was:" >&5
8756 sed 's/^/| /' conftest.$ac_ext >&5
8758 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8762 conftest$ac_exeext conftest.$ac_ext
8763 CFLAGS=$ac_wine_try_cflags_saved
8765 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8766 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8767 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8768 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8774 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8775 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8776 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8777 echo $ECHO_N "(cached) $ECHO_C" >&6
8778 else
8779 ac_wine_try_cflags_saved=$CFLAGS
8780 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8781 cat >conftest.$ac_ext <<_ACEOF
8782 /* confdefs.h. */
8783 _ACEOF
8784 cat confdefs.h >>conftest.$ac_ext
8785 cat >>conftest.$ac_ext <<_ACEOF
8786 /* end confdefs.h. */
8789 main ()
8793 return 0;
8795 _ACEOF
8796 rm -f conftest.$ac_objext conftest$ac_exeext
8797 if { (ac_try="$ac_link"
8798 case "(($ac_try" in
8799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8800 *) ac_try_echo=$ac_try;;
8801 esac
8802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8803 (eval "$ac_link") 2>conftest.er1
8804 ac_status=$?
8805 grep -v '^ *+' conftest.er1 >conftest.err
8806 rm -f conftest.er1
8807 cat conftest.err >&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); } && {
8810 test -z "$ac_c_werror_flag" ||
8811 test ! -s conftest.err
8812 } && test -s conftest$ac_exeext &&
8813 $as_test_x conftest$ac_exeext; then
8814 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8815 else
8816 echo "$as_me: failed program was:" >&5
8817 sed 's/^/| /' conftest.$ac_ext >&5
8819 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8823 conftest$ac_exeext conftest.$ac_ext
8824 CFLAGS=$ac_wine_try_cflags_saved
8826 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8827 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8828 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8829 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8833 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8834 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8835 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8836 echo $ECHO_N "(cached) $ECHO_C" >&6
8837 else
8838 ac_wine_try_cflags_saved=$CFLAGS
8839 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8840 cat >conftest.$ac_ext <<_ACEOF
8841 /* confdefs.h. */
8842 _ACEOF
8843 cat confdefs.h >>conftest.$ac_ext
8844 cat >>conftest.$ac_ext <<_ACEOF
8845 /* end confdefs.h. */
8848 main ()
8852 return 0;
8854 _ACEOF
8855 rm -f conftest.$ac_objext conftest$ac_exeext
8856 if { (ac_try="$ac_link"
8857 case "(($ac_try" in
8858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8859 *) ac_try_echo=$ac_try;;
8860 esac
8861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8862 (eval "$ac_link") 2>conftest.er1
8863 ac_status=$?
8864 grep -v '^ *+' conftest.er1 >conftest.err
8865 rm -f conftest.er1
8866 cat conftest.err >&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } && {
8869 test -z "$ac_c_werror_flag" ||
8870 test ! -s conftest.err
8871 } && test -s conftest$ac_exeext &&
8872 $as_test_x conftest$ac_exeext; then
8873 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8874 else
8875 echo "$as_me: failed program was:" >&5
8876 sed 's/^/| /' conftest.$ac_ext >&5
8878 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8882 conftest$ac_exeext conftest.$ac_ext
8883 CFLAGS=$ac_wine_try_cflags_saved
8885 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8886 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8887 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8888 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8892 echo '{ global: *; };' >conftest.map
8893 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8894 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8895 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8896 echo $ECHO_N "(cached) $ECHO_C" >&6
8897 else
8898 ac_wine_try_cflags_saved=$CFLAGS
8899 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8900 cat >conftest.$ac_ext <<_ACEOF
8901 /* confdefs.h. */
8902 _ACEOF
8903 cat confdefs.h >>conftest.$ac_ext
8904 cat >>conftest.$ac_ext <<_ACEOF
8905 /* end confdefs.h. */
8908 main ()
8912 return 0;
8914 _ACEOF
8915 rm -f conftest.$ac_objext conftest$ac_exeext
8916 if { (ac_try="$ac_link"
8917 case "(($ac_try" in
8918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8919 *) ac_try_echo=$ac_try;;
8920 esac
8921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8922 (eval "$ac_link") 2>conftest.er1
8923 ac_status=$?
8924 grep -v '^ *+' conftest.er1 >conftest.err
8925 rm -f conftest.er1
8926 cat conftest.err >&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); } && {
8929 test -z "$ac_c_werror_flag" ||
8930 test ! -s conftest.err
8931 } && test -s conftest$ac_exeext &&
8932 $as_test_x conftest$ac_exeext; then
8933 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8934 else
8935 echo "$as_me: failed program was:" >&5
8936 sed 's/^/| /' conftest.$ac_ext >&5
8938 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8942 conftest$ac_exeext conftest.$ac_ext
8943 CFLAGS=$ac_wine_try_cflags_saved
8945 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8946 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8947 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8948 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8951 rm -f conftest.map
8953 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8954 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8955 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8956 echo $ECHO_N "(cached) $ECHO_C" >&6
8957 else
8958 ac_wine_try_cflags_saved=$CFLAGS
8959 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8960 cat >conftest.$ac_ext <<_ACEOF
8961 /* confdefs.h. */
8962 _ACEOF
8963 cat confdefs.h >>conftest.$ac_ext
8964 cat >>conftest.$ac_ext <<_ACEOF
8965 /* end confdefs.h. */
8968 main ()
8972 return 0;
8974 _ACEOF
8975 rm -f conftest.$ac_objext conftest$ac_exeext
8976 if { (ac_try="$ac_link"
8977 case "(($ac_try" in
8978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8979 *) ac_try_echo=$ac_try;;
8980 esac
8981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8982 (eval "$ac_link") 2>conftest.er1
8983 ac_status=$?
8984 grep -v '^ *+' conftest.er1 >conftest.err
8985 rm -f conftest.er1
8986 cat conftest.err >&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); } && {
8989 test -z "$ac_c_werror_flag" ||
8990 test ! -s conftest.err
8991 } && test -s conftest$ac_exeext &&
8992 $as_test_x conftest$ac_exeext; then
8993 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8994 else
8995 echo "$as_me: failed program was:" >&5
8996 sed 's/^/| /' conftest.$ac_ext >&5
8998 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9002 conftest$ac_exeext conftest.$ac_ext
9003 CFLAGS=$ac_wine_try_cflags_saved
9005 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9006 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9007 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
9008 LDEXECFLAGS="-Wl,--export-dynamic"
9013 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
9014 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9015 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
9016 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6
9018 else
9019 ac_wine_try_cflags_saved=$CFLAGS
9020 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9021 cat >conftest.$ac_ext <<_ACEOF
9022 /* confdefs.h. */
9023 _ACEOF
9024 cat confdefs.h >>conftest.$ac_ext
9025 cat >>conftest.$ac_ext <<_ACEOF
9026 /* end confdefs.h. */
9029 main ()
9033 return 0;
9035 _ACEOF
9036 rm -f conftest.$ac_objext conftest$ac_exeext
9037 if { (ac_try="$ac_link"
9038 case "(($ac_try" in
9039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9040 *) ac_try_echo=$ac_try;;
9041 esac
9042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9043 (eval "$ac_link") 2>conftest.er1
9044 ac_status=$?
9045 grep -v '^ *+' conftest.er1 >conftest.err
9046 rm -f conftest.er1
9047 cat conftest.err >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); } && {
9050 test -z "$ac_c_werror_flag" ||
9051 test ! -s conftest.err
9052 } && test -s conftest$ac_exeext &&
9053 $as_test_x conftest$ac_exeext; then
9054 eval "$as_ac_var=yes"
9055 else
9056 echo "$as_me: failed program was:" >&5
9057 sed 's/^/| /' conftest.$ac_ext >&5
9059 eval "$as_ac_var=no"
9062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9063 conftest$ac_exeext conftest.$ac_ext
9064 CFLAGS=$ac_wine_try_cflags_saved
9066 ac_res=`eval echo '${'$as_ac_var'}'`
9067 { echo "$as_me:$LINENO: result: $ac_res" >&5
9068 echo "${ECHO_T}$ac_res" >&6; }
9069 if test `eval echo '${'$as_ac_var'}'` = yes; then
9070 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9071 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9072 else
9073 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
9074 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9075 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
9076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9077 echo $ECHO_N "(cached) $ECHO_C" >&6
9078 else
9079 ac_wine_try_cflags_saved=$CFLAGS
9080 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9081 cat >conftest.$ac_ext <<_ACEOF
9082 /* confdefs.h. */
9083 _ACEOF
9084 cat confdefs.h >>conftest.$ac_ext
9085 cat >>conftest.$ac_ext <<_ACEOF
9086 /* end confdefs.h. */
9089 main ()
9093 return 0;
9095 _ACEOF
9096 rm -f conftest.$ac_objext conftest$ac_exeext
9097 if { (ac_try="$ac_link"
9098 case "(($ac_try" in
9099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9100 *) ac_try_echo=$ac_try;;
9101 esac
9102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9103 (eval "$ac_link") 2>conftest.er1
9104 ac_status=$?
9105 grep -v '^ *+' conftest.er1 >conftest.err
9106 rm -f conftest.er1
9107 cat conftest.err >&5
9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9109 (exit $ac_status); } && {
9110 test -z "$ac_c_werror_flag" ||
9111 test ! -s conftest.err
9112 } && test -s conftest$ac_exeext &&
9113 $as_test_x conftest$ac_exeext; then
9114 eval "$as_ac_var=yes"
9115 else
9116 echo "$as_me: failed program was:" >&5
9117 sed 's/^/| /' conftest.$ac_ext >&5
9119 eval "$as_ac_var=no"
9122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9123 conftest$ac_exeext conftest.$ac_ext
9124 CFLAGS=$ac_wine_try_cflags_saved
9126 ac_res=`eval echo '${'$as_ac_var'}'`
9127 { echo "$as_me:$LINENO: result: $ac_res" >&5
9128 echo "${ECHO_T}$ac_res" >&6; }
9129 if test `eval echo '${'$as_ac_var'}'` = yes; then
9130 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9131 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9137 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9138 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9139 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9140 echo $ECHO_N "(cached) $ECHO_C" >&6
9141 else
9142 ac_wine_try_cflags_saved=$CFLAGS
9143 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9144 cat >conftest.$ac_ext <<_ACEOF
9145 /* confdefs.h. */
9146 _ACEOF
9147 cat confdefs.h >>conftest.$ac_ext
9148 cat >>conftest.$ac_ext <<_ACEOF
9149 /* end confdefs.h. */
9152 main ()
9156 return 0;
9158 _ACEOF
9159 rm -f conftest.$ac_objext conftest$ac_exeext
9160 if { (ac_try="$ac_link"
9161 case "(($ac_try" in
9162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9163 *) ac_try_echo=$ac_try;;
9164 esac
9165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9166 (eval "$ac_link") 2>conftest.er1
9167 ac_status=$?
9168 grep -v '^ *+' conftest.er1 >conftest.err
9169 rm -f conftest.er1
9170 cat conftest.err >&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); } && {
9173 test -z "$ac_c_werror_flag" ||
9174 test ! -s conftest.err
9175 } && test -s conftest$ac_exeext &&
9176 $as_test_x conftest$ac_exeext; then
9177 ac_cv_cflags__Wl___enable_new_dtags=yes
9178 else
9179 echo "$as_me: failed program was:" >&5
9180 sed 's/^/| /' conftest.$ac_ext >&5
9182 ac_cv_cflags__Wl___enable_new_dtags=no
9185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9186 conftest$ac_exeext conftest.$ac_ext
9187 CFLAGS=$ac_wine_try_cflags_saved
9189 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9190 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9191 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9192 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9196 case $host_cpu in
9197 *i[3456789]86* | x86_64)
9198 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9199 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9200 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9202 else
9203 ac_wine_try_cflags_saved=$CFLAGS
9204 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9205 cat >conftest.$ac_ext <<_ACEOF
9206 /* confdefs.h. */
9207 _ACEOF
9208 cat confdefs.h >>conftest.$ac_ext
9209 cat >>conftest.$ac_ext <<_ACEOF
9210 /* end confdefs.h. */
9213 main ()
9217 return 0;
9219 _ACEOF
9220 rm -f conftest.$ac_objext conftest$ac_exeext
9221 if { (ac_try="$ac_link"
9222 case "(($ac_try" in
9223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9224 *) ac_try_echo=$ac_try;;
9225 esac
9226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9227 (eval "$ac_link") 2>conftest.er1
9228 ac_status=$?
9229 grep -v '^ *+' conftest.er1 >conftest.err
9230 rm -f conftest.er1
9231 cat conftest.err >&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); } && {
9234 test -z "$ac_c_werror_flag" ||
9235 test ! -s conftest.err
9236 } && test -s conftest$ac_exeext &&
9237 $as_test_x conftest$ac_exeext; then
9238 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9239 else
9240 echo "$as_me: failed program was:" >&5
9241 sed 's/^/| /' conftest.$ac_ext >&5
9243 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9247 conftest$ac_exeext conftest.$ac_ext
9248 CFLAGS=$ac_wine_try_cflags_saved
9250 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9251 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9252 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9253 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9257 esac
9259 else
9260 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9261 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9262 if test "${ac_cv_c_dll_unixware+set}" = set; then
9263 echo $ECHO_N "(cached) $ECHO_C" >&6
9264 else
9265 ac_wine_try_cflags_saved=$CFLAGS
9266 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9267 cat >conftest.$ac_ext <<_ACEOF
9268 void myfunc() {}
9269 _ACEOF
9270 rm -f conftest.$ac_objext conftest$ac_exeext
9271 if { (ac_try="$ac_link"
9272 case "(($ac_try" in
9273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9274 *) ac_try_echo=$ac_try;;
9275 esac
9276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9277 (eval "$ac_link") 2>conftest.er1
9278 ac_status=$?
9279 grep -v '^ *+' conftest.er1 >conftest.err
9280 rm -f conftest.er1
9281 cat conftest.err >&5
9282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9283 (exit $ac_status); } && {
9284 test -z "$ac_c_werror_flag" ||
9285 test ! -s conftest.err
9286 } && test -s conftest$ac_exeext &&
9287 $as_test_x conftest$ac_exeext; then
9288 ac_cv_c_dll_unixware="yes"
9289 else
9290 echo "$as_me: failed program was:" >&5
9291 sed 's/^/| /' conftest.$ac_ext >&5
9293 ac_cv_c_dll_unixware="no"
9296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9297 conftest$ac_exeext conftest.$ac_ext
9298 CFLAGS=$ac_wine_try_cflags_saved
9300 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9301 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9302 if test "$ac_cv_c_dll_unixware" = "yes"
9303 then
9304 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9305 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9307 else
9308 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9309 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9310 if test "${ac_cv_c_dll_hpux+set}" = set; then
9311 echo $ECHO_N "(cached) $ECHO_C" >&6
9312 else
9313 ac_wine_try_cflags_saved=$CFLAGS
9314 CFLAGS="$CFLAGS -shared"
9315 cat >conftest.$ac_ext <<_ACEOF
9316 void myfunc() {}
9317 _ACEOF
9318 rm -f conftest.$ac_objext conftest$ac_exeext
9319 if { (ac_try="$ac_link"
9320 case "(($ac_try" in
9321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9322 *) ac_try_echo=$ac_try;;
9323 esac
9324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9325 (eval "$ac_link") 2>conftest.er1
9326 ac_status=$?
9327 grep -v '^ *+' conftest.er1 >conftest.err
9328 rm -f conftest.er1
9329 cat conftest.err >&5
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); } && {
9332 test -z "$ac_c_werror_flag" ||
9333 test ! -s conftest.err
9334 } && test -s conftest$ac_exeext &&
9335 $as_test_x conftest$ac_exeext; then
9336 ac_cv_c_dll_hpux="yes"
9337 else
9338 echo "$as_me: failed program was:" >&5
9339 sed 's/^/| /' conftest.$ac_ext >&5
9341 ac_cv_c_dll_hpux="no"
9344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9345 conftest$ac_exeext conftest.$ac_ext
9346 CFLAGS=$ac_wine_try_cflags_saved
9348 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9349 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9350 if test "$ac_cv_c_dll_hpux" = "yes"
9351 then
9352 LIBEXT="sl"
9353 DLLEXT=".sl"
9354 LDDLLFLAGS="-shared -fPIC"
9355 LDSHARED="\$(CC) -shared"
9360 CROSSTEST=""
9362 if test "$cross_compiling" = "no"
9363 then
9364 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9366 # Extract the first word of "$ac_prog", so it can be a program name with args.
9367 set dummy $ac_prog; ac_word=$2
9368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9370 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9371 echo $ECHO_N "(cached) $ECHO_C" >&6
9372 else
9373 if test -n "$CROSSCC"; then
9374 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9375 else
9376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9377 for as_dir in $PATH
9379 IFS=$as_save_IFS
9380 test -z "$as_dir" && as_dir=.
9381 for ac_exec_ext in '' $ac_executable_extensions; do
9382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9383 ac_cv_prog_CROSSCC="$ac_prog"
9384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9385 break 2
9387 done
9388 done
9389 IFS=$as_save_IFS
9393 CROSSCC=$ac_cv_prog_CROSSCC
9394 if test -n "$CROSSCC"; then
9395 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9396 echo "${ECHO_T}$CROSSCC" >&6; }
9397 else
9398 { echo "$as_me:$LINENO: result: no" >&5
9399 echo "${ECHO_T}no" >&6; }
9403 test -n "$CROSSCC" && break
9404 done
9405 test -n "$CROSSCC" || CROSSCC="false"
9407 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9409 # Extract the first word of "$ac_prog", so it can be a program name with args.
9410 set dummy $ac_prog; ac_word=$2
9411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9413 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9414 echo $ECHO_N "(cached) $ECHO_C" >&6
9415 else
9416 if test -n "$DLLTOOL"; then
9417 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9418 else
9419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9420 for as_dir in $PATH
9422 IFS=$as_save_IFS
9423 test -z "$as_dir" && as_dir=.
9424 for ac_exec_ext in '' $ac_executable_extensions; do
9425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9426 ac_cv_prog_DLLTOOL="$ac_prog"
9427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9428 break 2
9430 done
9431 done
9432 IFS=$as_save_IFS
9436 DLLTOOL=$ac_cv_prog_DLLTOOL
9437 if test -n "$DLLTOOL"; then
9438 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9439 echo "${ECHO_T}$DLLTOOL" >&6; }
9440 else
9441 { echo "$as_me:$LINENO: result: no" >&5
9442 echo "${ECHO_T}no" >&6; }
9446 test -n "$DLLTOOL" && break
9447 done
9448 test -n "$DLLTOOL" || DLLTOOL="false"
9450 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9452 # Extract the first word of "$ac_prog", so it can be a program name with args.
9453 set dummy $ac_prog; ac_word=$2
9454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9456 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9457 echo $ECHO_N "(cached) $ECHO_C" >&6
9458 else
9459 if test -n "$CROSSWINDRES"; then
9460 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9461 else
9462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9463 for as_dir in $PATH
9465 IFS=$as_save_IFS
9466 test -z "$as_dir" && as_dir=.
9467 for ac_exec_ext in '' $ac_executable_extensions; do
9468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9469 ac_cv_prog_CROSSWINDRES="$ac_prog"
9470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9471 break 2
9473 done
9474 done
9475 IFS=$as_save_IFS
9479 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9480 if test -n "$CROSSWINDRES"; then
9481 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9482 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9483 else
9484 { echo "$as_me:$LINENO: result: no" >&5
9485 echo "${ECHO_T}no" >&6; }
9489 test -n "$CROSSWINDRES" && break
9490 done
9491 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9493 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9495 # Extract the first word of "$ac_prog", so it can be a program name with args.
9496 set dummy $ac_prog; ac_word=$2
9497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9499 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9500 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 else
9502 if test -n "$MINGWAR"; then
9503 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9504 else
9505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9506 for as_dir in $PATH
9508 IFS=$as_save_IFS
9509 test -z "$as_dir" && as_dir=.
9510 for ac_exec_ext in '' $ac_executable_extensions; do
9511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9512 ac_cv_prog_MINGWAR="$ac_prog"
9513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9514 break 2
9516 done
9517 done
9518 IFS=$as_save_IFS
9522 MINGWAR=$ac_cv_prog_MINGWAR
9523 if test -n "$MINGWAR"; then
9524 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9525 echo "${ECHO_T}$MINGWAR" >&6; }
9526 else
9527 { echo "$as_me:$LINENO: result: no" >&5
9528 echo "${ECHO_T}no" >&6; }
9532 test -n "$MINGWAR" && break
9533 done
9534 test -n "$MINGWAR" || MINGWAR="false"
9536 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9539 esac
9541 if test "$LIBEXT" = "a"; then
9542 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9543 It is currently not possible to build Wine without shared library
9544 (.so) support to allow transparent switch between .so and .dll files.
9545 If you are using Linux, you will need a newer binutils.
9546 " >&5
9547 echo "$as_me: error: could not find a way to build shared libraries.
9548 It is currently not possible to build Wine without shared library
9549 (.so) support to allow transparent switch between .so and .dll files.
9550 If you are using Linux, you will need a newer binutils.
9551 " >&2;}
9552 { (exit 1); exit 1; }; }
9556 if test "$have_x" = "yes"
9557 then
9558 XLIB="-lXext -lX11"
9559 ac_save_CPPFLAGS="$CPPFLAGS"
9560 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9562 { echo "$as_me:$LINENO: checking for -lX11" >&5
9563 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9564 if test "${ac_cv_lib_soname_X11+set}" = set; then
9565 echo $ECHO_N "(cached) $ECHO_C" >&6
9566 else
9567 ac_check_soname_save_LIBS=$LIBS
9568 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9569 cat >conftest.$ac_ext <<_ACEOF
9570 /* confdefs.h. */
9571 _ACEOF
9572 cat confdefs.h >>conftest.$ac_ext
9573 cat >>conftest.$ac_ext <<_ACEOF
9574 /* end confdefs.h. */
9576 /* Override any GCC internal prototype to avoid an error.
9577 Use char because int might match the return type of a GCC
9578 builtin and then its argument prototype would still apply. */
9579 #ifdef __cplusplus
9580 extern "C"
9581 #endif
9582 char XCreateWindow ();
9584 main ()
9586 return XCreateWindow ();
9588 return 0;
9590 _ACEOF
9591 rm -f conftest.$ac_objext conftest$ac_exeext
9592 if { (ac_try="$ac_link"
9593 case "(($ac_try" in
9594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9595 *) ac_try_echo=$ac_try;;
9596 esac
9597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9598 (eval "$ac_link") 2>conftest.er1
9599 ac_status=$?
9600 grep -v '^ *+' conftest.er1 >conftest.err
9601 rm -f conftest.er1
9602 cat conftest.err >&5
9603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 (exit $ac_status); } && {
9605 test -z "$ac_c_werror_flag" ||
9606 test ! -s conftest.err
9607 } && test -s conftest$ac_exeext &&
9608 $as_test_x conftest$ac_exeext; then
9609 case "$LIBEXT" in
9610 dll) ;;
9611 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'` ;;
9612 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9613 esac
9614 else
9615 echo "$as_me: failed program was:" >&5
9616 sed 's/^/| /' conftest.$ac_ext >&5
9621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9622 conftest$ac_exeext conftest.$ac_ext
9623 LIBS=$ac_check_soname_save_LIBS
9625 if test "x$ac_cv_lib_soname_X11" = "x"; then
9626 { echo "$as_me:$LINENO: result: not found" >&5
9627 echo "${ECHO_T}not found" >&6; }
9629 else
9630 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9631 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9633 cat >>confdefs.h <<_ACEOF
9634 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9635 _ACEOF
9640 { echo "$as_me:$LINENO: checking for -lXext" >&5
9641 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9642 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9643 echo $ECHO_N "(cached) $ECHO_C" >&6
9644 else
9645 ac_check_soname_save_LIBS=$LIBS
9646 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9647 cat >conftest.$ac_ext <<_ACEOF
9648 /* confdefs.h. */
9649 _ACEOF
9650 cat confdefs.h >>conftest.$ac_ext
9651 cat >>conftest.$ac_ext <<_ACEOF
9652 /* end confdefs.h. */
9654 /* Override any GCC internal prototype to avoid an error.
9655 Use char because int might match the return type of a GCC
9656 builtin and then its argument prototype would still apply. */
9657 #ifdef __cplusplus
9658 extern "C"
9659 #endif
9660 char XextCreateExtension ();
9662 main ()
9664 return XextCreateExtension ();
9666 return 0;
9668 _ACEOF
9669 rm -f conftest.$ac_objext conftest$ac_exeext
9670 if { (ac_try="$ac_link"
9671 case "(($ac_try" in
9672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9673 *) ac_try_echo=$ac_try;;
9674 esac
9675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9676 (eval "$ac_link") 2>conftest.er1
9677 ac_status=$?
9678 grep -v '^ *+' conftest.er1 >conftest.err
9679 rm -f conftest.er1
9680 cat conftest.err >&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); } && {
9683 test -z "$ac_c_werror_flag" ||
9684 test ! -s conftest.err
9685 } && test -s conftest$ac_exeext &&
9686 $as_test_x conftest$ac_exeext; then
9687 case "$LIBEXT" in
9688 dll) ;;
9689 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'` ;;
9690 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9691 esac
9692 else
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.$ac_ext >&5
9699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9700 conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_soname_save_LIBS
9703 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9704 { echo "$as_me:$LINENO: result: not found" >&5
9705 echo "${ECHO_T}not found" >&6; }
9707 else
9708 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9709 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9711 cat >>confdefs.h <<_ACEOF
9712 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9713 _ACEOF
9731 for ac_header in X11/Xlib.h \
9732 X11/XKBlib.h \
9733 X11/Xutil.h \
9734 X11/Xcursor/Xcursor.h \
9735 X11/extensions/shape.h \
9736 X11/extensions/XInput.h \
9737 X11/extensions/XShm.h \
9738 X11/extensions/Xcomposite.h \
9739 X11/extensions/Xinerama.h \
9740 X11/extensions/Xrandr.h \
9741 X11/extensions/Xrender.h \
9742 X11/extensions/xf86vmode.h
9744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9745 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9748 echo $ECHO_N "(cached) $ECHO_C" >&6
9749 else
9750 cat >conftest.$ac_ext <<_ACEOF
9751 /* confdefs.h. */
9752 _ACEOF
9753 cat confdefs.h >>conftest.$ac_ext
9754 cat >>conftest.$ac_ext <<_ACEOF
9755 /* end confdefs.h. */
9756 #ifdef HAVE_X11_XLIB_H
9757 # include <X11/Xlib.h>
9758 #endif
9759 #ifdef HAVE_X11_XUTIL_H
9760 # include <X11/Xutil.h>
9761 #endif
9763 #include <$ac_header>
9764 _ACEOF
9765 rm -f conftest.$ac_objext
9766 if { (ac_try="$ac_compile"
9767 case "(($ac_try" in
9768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9769 *) ac_try_echo=$ac_try;;
9770 esac
9771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9772 (eval "$ac_compile") 2>conftest.er1
9773 ac_status=$?
9774 grep -v '^ *+' conftest.er1 >conftest.err
9775 rm -f conftest.er1
9776 cat conftest.err >&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); } && {
9779 test -z "$ac_c_werror_flag" ||
9780 test ! -s conftest.err
9781 } && test -s conftest.$ac_objext; then
9782 eval "$as_ac_Header=yes"
9783 else
9784 echo "$as_me: failed program was:" >&5
9785 sed 's/^/| /' conftest.$ac_ext >&5
9787 eval "$as_ac_Header=no"
9790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9792 ac_res=`eval echo '${'$as_ac_Header'}'`
9793 { echo "$as_me:$LINENO: result: $ac_res" >&5
9794 echo "${ECHO_T}$ac_res" >&6; }
9795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9796 cat >>confdefs.h <<_ACEOF
9797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9798 _ACEOF
9802 done
9805 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9806 then
9807 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9808 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9809 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9810 echo $ECHO_N "(cached) $ECHO_C" >&6
9811 else
9812 ac_check_lib_save_LIBS=$LIBS
9813 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9814 cat >conftest.$ac_ext <<_ACEOF
9815 /* confdefs.h. */
9816 _ACEOF
9817 cat confdefs.h >>conftest.$ac_ext
9818 cat >>conftest.$ac_ext <<_ACEOF
9819 /* end confdefs.h. */
9821 /* Override any GCC internal prototype to avoid an error.
9822 Use char because int might match the return type of a GCC
9823 builtin and then its argument prototype would still apply. */
9824 #ifdef __cplusplus
9825 extern "C"
9826 #endif
9827 char XkbQueryExtension ();
9829 main ()
9831 return XkbQueryExtension ();
9833 return 0;
9835 _ACEOF
9836 rm -f conftest.$ac_objext conftest$ac_exeext
9837 if { (ac_try="$ac_link"
9838 case "(($ac_try" in
9839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9840 *) ac_try_echo=$ac_try;;
9841 esac
9842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9843 (eval "$ac_link") 2>conftest.er1
9844 ac_status=$?
9845 grep -v '^ *+' conftest.er1 >conftest.err
9846 rm -f conftest.er1
9847 cat conftest.err >&5
9848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9849 (exit $ac_status); } && {
9850 test -z "$ac_c_werror_flag" ||
9851 test ! -s conftest.err
9852 } && test -s conftest$ac_exeext &&
9853 $as_test_x conftest$ac_exeext; then
9854 ac_cv_lib_X11_XkbQueryExtension=yes
9855 else
9856 echo "$as_me: failed program was:" >&5
9857 sed 's/^/| /' conftest.$ac_ext >&5
9859 ac_cv_lib_X11_XkbQueryExtension=no
9862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9863 conftest$ac_exeext conftest.$ac_ext
9864 LIBS=$ac_check_lib_save_LIBS
9866 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9867 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9868 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9870 cat >>confdefs.h <<\_ACEOF
9871 #define HAVE_XKB 1
9872 _ACEOF
9878 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9879 then
9880 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9881 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9882 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9883 echo $ECHO_N "(cached) $ECHO_C" >&6
9884 else
9885 ac_check_soname_save_LIBS=$LIBS
9886 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9887 cat >conftest.$ac_ext <<_ACEOF
9888 /* confdefs.h. */
9889 _ACEOF
9890 cat confdefs.h >>conftest.$ac_ext
9891 cat >>conftest.$ac_ext <<_ACEOF
9892 /* end confdefs.h. */
9894 /* Override any GCC internal prototype to avoid an error.
9895 Use char because int might match the return type of a GCC
9896 builtin and then its argument prototype would still apply. */
9897 #ifdef __cplusplus
9898 extern "C"
9899 #endif
9900 char XcursorImageLoadCursor ();
9902 main ()
9904 return XcursorImageLoadCursor ();
9906 return 0;
9908 _ACEOF
9909 rm -f conftest.$ac_objext conftest$ac_exeext
9910 if { (ac_try="$ac_link"
9911 case "(($ac_try" in
9912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9913 *) ac_try_echo=$ac_try;;
9914 esac
9915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9916 (eval "$ac_link") 2>conftest.er1
9917 ac_status=$?
9918 grep -v '^ *+' conftest.er1 >conftest.err
9919 rm -f conftest.er1
9920 cat conftest.err >&5
9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 (exit $ac_status); } && {
9923 test -z "$ac_c_werror_flag" ||
9924 test ! -s conftest.err
9925 } && test -s conftest$ac_exeext &&
9926 $as_test_x conftest$ac_exeext; then
9927 case "$LIBEXT" in
9928 dll) ;;
9929 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'` ;;
9930 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9931 esac
9932 else
9933 echo "$as_me: failed program was:" >&5
9934 sed 's/^/| /' conftest.$ac_ext >&5
9939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9940 conftest$ac_exeext conftest.$ac_ext
9941 LIBS=$ac_check_soname_save_LIBS
9943 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9944 { echo "$as_me:$LINENO: result: not found" >&5
9945 echo "${ECHO_T}not found" >&6; }
9947 else
9948 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9949 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9951 cat >>confdefs.h <<_ACEOF
9952 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9953 _ACEOF
9959 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9960 case "x$with_xcursor" in
9961 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9962 xno) ;;
9963 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9964 This is an error since --with-xcursor was requested." >&5
9965 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9966 This is an error since --with-xcursor was requested." >&2;}
9967 { (exit 1); exit 1; }; } ;;
9968 esac
9972 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9973 then
9974 { echo "$as_me:$LINENO: checking for -lXi" >&5
9975 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9976 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9978 else
9979 ac_check_soname_save_LIBS=$LIBS
9980 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9981 cat >conftest.$ac_ext <<_ACEOF
9982 /* confdefs.h. */
9983 _ACEOF
9984 cat confdefs.h >>conftest.$ac_ext
9985 cat >>conftest.$ac_ext <<_ACEOF
9986 /* end confdefs.h. */
9988 /* Override any GCC internal prototype to avoid an error.
9989 Use char because int might match the return type of a GCC
9990 builtin and then its argument prototype would still apply. */
9991 #ifdef __cplusplus
9992 extern "C"
9993 #endif
9994 char XOpenDevice ();
9996 main ()
9998 return XOpenDevice ();
10000 return 0;
10002 _ACEOF
10003 rm -f conftest.$ac_objext conftest$ac_exeext
10004 if { (ac_try="$ac_link"
10005 case "(($ac_try" in
10006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10007 *) ac_try_echo=$ac_try;;
10008 esac
10009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10010 (eval "$ac_link") 2>conftest.er1
10011 ac_status=$?
10012 grep -v '^ *+' conftest.er1 >conftest.err
10013 rm -f conftest.er1
10014 cat conftest.err >&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); } && {
10017 test -z "$ac_c_werror_flag" ||
10018 test ! -s conftest.err
10019 } && test -s conftest$ac_exeext &&
10020 $as_test_x conftest$ac_exeext; then
10021 case "$LIBEXT" in
10022 dll) ;;
10023 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'` ;;
10024 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10025 esac
10026 else
10027 echo "$as_me: failed program was:" >&5
10028 sed 's/^/| /' conftest.$ac_ext >&5
10033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10034 conftest$ac_exeext conftest.$ac_ext
10035 LIBS=$ac_check_soname_save_LIBS
10037 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10038 { echo "$as_me:$LINENO: result: not found" >&5
10039 echo "${ECHO_T}not found" >&6; }
10041 else
10042 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
10043 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
10045 cat >>confdefs.h <<_ACEOF
10046 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10047 _ACEOF
10053 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10054 case "x$with_xinput" in
10055 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
10056 xno) ;;
10057 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
10058 This is an error since --with-xinput was requested." >&5
10059 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
10060 This is an error since --with-xinput was requested." >&2;}
10061 { (exit 1); exit 1; }; } ;;
10062 esac
10066 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10067 then
10068 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10069 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10070 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10071 echo $ECHO_N "(cached) $ECHO_C" >&6
10072 else
10073 ac_check_lib_save_LIBS=$LIBS
10074 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10075 cat >conftest.$ac_ext <<_ACEOF
10076 /* confdefs.h. */
10077 _ACEOF
10078 cat confdefs.h >>conftest.$ac_ext
10079 cat >>conftest.$ac_ext <<_ACEOF
10080 /* end confdefs.h. */
10082 /* Override any GCC internal prototype to avoid an error.
10083 Use char because int might match the return type of a GCC
10084 builtin and then its argument prototype would still apply. */
10085 #ifdef __cplusplus
10086 extern "C"
10087 #endif
10088 char XShmQueryExtension ();
10090 main ()
10092 return XShmQueryExtension ();
10094 return 0;
10096 _ACEOF
10097 rm -f conftest.$ac_objext conftest$ac_exeext
10098 if { (ac_try="$ac_link"
10099 case "(($ac_try" in
10100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10101 *) ac_try_echo=$ac_try;;
10102 esac
10103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10104 (eval "$ac_link") 2>conftest.er1
10105 ac_status=$?
10106 grep -v '^ *+' conftest.er1 >conftest.err
10107 rm -f conftest.er1
10108 cat conftest.err >&5
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); } && {
10111 test -z "$ac_c_werror_flag" ||
10112 test ! -s conftest.err
10113 } && test -s conftest$ac_exeext &&
10114 $as_test_x conftest$ac_exeext; then
10115 ac_cv_lib_Xext_XShmQueryExtension=yes
10116 else
10117 echo "$as_me: failed program was:" >&5
10118 sed 's/^/| /' conftest.$ac_ext >&5
10120 ac_cv_lib_Xext_XShmQueryExtension=no
10123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10124 conftest$ac_exeext conftest.$ac_ext
10125 LIBS=$ac_check_lib_save_LIBS
10127 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10128 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10129 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10131 cat >>confdefs.h <<\_ACEOF
10132 #define HAVE_LIBXXSHM 1
10133 _ACEOF
10138 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10139 case "x$with_xshm" in
10140 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10141 xno) ;;
10142 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10143 This is an error since --with-xshm was requested." >&5
10144 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10145 This is an error since --with-xshm was requested." >&2;}
10146 { (exit 1); exit 1; }; } ;;
10147 esac
10151 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10152 then
10153 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10154 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10155 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10156 echo $ECHO_N "(cached) $ECHO_C" >&6
10157 else
10158 ac_check_lib_save_LIBS=$LIBS
10159 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10160 cat >conftest.$ac_ext <<_ACEOF
10161 /* confdefs.h. */
10162 _ACEOF
10163 cat confdefs.h >>conftest.$ac_ext
10164 cat >>conftest.$ac_ext <<_ACEOF
10165 /* end confdefs.h. */
10167 /* Override any GCC internal prototype to avoid an error.
10168 Use char because int might match the return type of a GCC
10169 builtin and then its argument prototype would still apply. */
10170 #ifdef __cplusplus
10171 extern "C"
10172 #endif
10173 char XShapeQueryExtension ();
10175 main ()
10177 return XShapeQueryExtension ();
10179 return 0;
10181 _ACEOF
10182 rm -f conftest.$ac_objext conftest$ac_exeext
10183 if { (ac_try="$ac_link"
10184 case "(($ac_try" in
10185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10186 *) ac_try_echo=$ac_try;;
10187 esac
10188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10189 (eval "$ac_link") 2>conftest.er1
10190 ac_status=$?
10191 grep -v '^ *+' conftest.er1 >conftest.err
10192 rm -f conftest.er1
10193 cat conftest.err >&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); } && {
10196 test -z "$ac_c_werror_flag" ||
10197 test ! -s conftest.err
10198 } && test -s conftest$ac_exeext &&
10199 $as_test_x conftest$ac_exeext; then
10200 ac_cv_lib_Xext_XShapeQueryExtension=yes
10201 else
10202 echo "$as_me: failed program was:" >&5
10203 sed 's/^/| /' conftest.$ac_ext >&5
10205 ac_cv_lib_Xext_XShapeQueryExtension=no
10208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10209 conftest$ac_exeext conftest.$ac_ext
10210 LIBS=$ac_check_lib_save_LIBS
10212 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10213 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10214 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10216 cat >>confdefs.h <<\_ACEOF
10217 #define HAVE_LIBXSHAPE 1
10218 _ACEOF
10223 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10224 case "x$with_xshape" in
10225 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10226 xno) ;;
10227 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10228 This is an error since --with-xshape was requested." >&5
10229 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10230 This is an error since --with-xshape was requested." >&2;}
10231 { (exit 1); exit 1; }; } ;;
10232 esac
10236 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10237 then
10238 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10239 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10240 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10241 echo $ECHO_N "(cached) $ECHO_C" >&6
10242 else
10243 ac_check_lib_save_LIBS=$LIBS
10244 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10245 cat >conftest.$ac_ext <<_ACEOF
10246 /* confdefs.h. */
10247 _ACEOF
10248 cat confdefs.h >>conftest.$ac_ext
10249 cat >>conftest.$ac_ext <<_ACEOF
10250 /* end confdefs.h. */
10252 /* Override any GCC internal prototype to avoid an error.
10253 Use char because int might match the return type of a GCC
10254 builtin and then its argument prototype would still apply. */
10255 #ifdef __cplusplus
10256 extern "C"
10257 #endif
10258 char XF86VidModeQueryExtension ();
10260 main ()
10262 return XF86VidModeQueryExtension ();
10264 return 0;
10266 _ACEOF
10267 rm -f conftest.$ac_objext conftest$ac_exeext
10268 if { (ac_try="$ac_link"
10269 case "(($ac_try" in
10270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10271 *) ac_try_echo=$ac_try;;
10272 esac
10273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10274 (eval "$ac_link") 2>conftest.er1
10275 ac_status=$?
10276 grep -v '^ *+' conftest.er1 >conftest.err
10277 rm -f conftest.er1
10278 cat conftest.err >&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); } && {
10281 test -z "$ac_c_werror_flag" ||
10282 test ! -s conftest.err
10283 } && test -s conftest$ac_exeext &&
10284 $as_test_x conftest$ac_exeext; then
10285 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10286 else
10287 echo "$as_me: failed program was:" >&5
10288 sed 's/^/| /' conftest.$ac_ext >&5
10290 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10294 conftest$ac_exeext conftest.$ac_ext
10295 LIBS=$ac_check_lib_save_LIBS
10297 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10298 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10299 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10301 cat >>confdefs.h <<\_ACEOF
10302 #define HAVE_LIBXXF86VM 1
10303 _ACEOF
10305 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10310 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10311 case "x$with_xvidmode" in
10312 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10313 xno) ;;
10314 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10315 This is an error since --with-xvidmode was requested." >&5
10316 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10317 This is an error since --with-xvidmode was requested." >&2;}
10318 { (exit 1); exit 1; }; } ;;
10319 esac
10323 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"
10324 then
10325 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10326 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10327 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10328 echo $ECHO_N "(cached) $ECHO_C" >&6
10329 else
10330 ac_check_soname_save_LIBS=$LIBS
10331 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10332 cat >conftest.$ac_ext <<_ACEOF
10333 /* confdefs.h. */
10334 _ACEOF
10335 cat confdefs.h >>conftest.$ac_ext
10336 cat >>conftest.$ac_ext <<_ACEOF
10337 /* end confdefs.h. */
10339 /* Override any GCC internal prototype to avoid an error.
10340 Use char because int might match the return type of a GCC
10341 builtin and then its argument prototype would still apply. */
10342 #ifdef __cplusplus
10343 extern "C"
10344 #endif
10345 char XRenderQueryExtension ();
10347 main ()
10349 return XRenderQueryExtension ();
10351 return 0;
10353 _ACEOF
10354 rm -f conftest.$ac_objext conftest$ac_exeext
10355 if { (ac_try="$ac_link"
10356 case "(($ac_try" in
10357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10358 *) ac_try_echo=$ac_try;;
10359 esac
10360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10361 (eval "$ac_link") 2>conftest.er1
10362 ac_status=$?
10363 grep -v '^ *+' conftest.er1 >conftest.err
10364 rm -f conftest.er1
10365 cat conftest.err >&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); } && {
10368 test -z "$ac_c_werror_flag" ||
10369 test ! -s conftest.err
10370 } && test -s conftest$ac_exeext &&
10371 $as_test_x conftest$ac_exeext; then
10372 case "$LIBEXT" in
10373 dll) ;;
10374 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'` ;;
10375 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10376 esac
10377 else
10378 echo "$as_me: failed program was:" >&5
10379 sed 's/^/| /' conftest.$ac_ext >&5
10384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10385 conftest$ac_exeext conftest.$ac_ext
10386 LIBS=$ac_check_soname_save_LIBS
10388 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10389 { echo "$as_me:$LINENO: result: not found" >&5
10390 echo "${ECHO_T}not found" >&6; }
10392 else
10393 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10394 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10396 cat >>confdefs.h <<_ACEOF
10397 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10398 _ACEOF
10400 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10401 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10402 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10404 else
10405 ac_check_lib_save_LIBS=$LIBS
10406 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10407 cat >conftest.$ac_ext <<_ACEOF
10408 /* confdefs.h. */
10409 _ACEOF
10410 cat confdefs.h >>conftest.$ac_ext
10411 cat >>conftest.$ac_ext <<_ACEOF
10412 /* end confdefs.h. */
10414 /* Override any GCC internal prototype to avoid an error.
10415 Use char because int might match the return type of a GCC
10416 builtin and then its argument prototype would still apply. */
10417 #ifdef __cplusplus
10418 extern "C"
10419 #endif
10420 char XRenderSetPictureTransform ();
10422 main ()
10424 return XRenderSetPictureTransform ();
10426 return 0;
10428 _ACEOF
10429 rm -f conftest.$ac_objext conftest$ac_exeext
10430 if { (ac_try="$ac_link"
10431 case "(($ac_try" in
10432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10433 *) ac_try_echo=$ac_try;;
10434 esac
10435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10436 (eval "$ac_link") 2>conftest.er1
10437 ac_status=$?
10438 grep -v '^ *+' conftest.er1 >conftest.err
10439 rm -f conftest.er1
10440 cat conftest.err >&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); } && {
10443 test -z "$ac_c_werror_flag" ||
10444 test ! -s conftest.err
10445 } && test -s conftest$ac_exeext &&
10446 $as_test_x conftest$ac_exeext; then
10447 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10448 else
10449 echo "$as_me: failed program was:" >&5
10450 sed 's/^/| /' conftest.$ac_ext >&5
10452 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10456 conftest$ac_exeext conftest.$ac_ext
10457 LIBS=$ac_check_lib_save_LIBS
10459 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10460 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10461 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10463 cat >>confdefs.h <<\_ACEOF
10464 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10465 _ACEOF
10473 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10474 case "x$with_xrender" in
10475 x) wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10476 xno) ;;
10477 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10478 This is an error since --with-xrender was requested." >&5
10479 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10480 This is an error since --with-xrender was requested." >&2;}
10481 { (exit 1); exit 1; }; } ;;
10482 esac
10486 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10487 then
10488 cat >conftest.$ac_ext <<_ACEOF
10489 /* confdefs.h. */
10490 _ACEOF
10491 cat confdefs.h >>conftest.$ac_ext
10492 cat >>conftest.$ac_ext <<_ACEOF
10493 /* end confdefs.h. */
10494 #include <X11/Xlib.h>
10495 #include <X11/extensions/Xrandr.h>
10497 main ()
10499 static typeof(XRRSetScreenConfigAndRate) * func;
10501 return 0;
10503 _ACEOF
10504 rm -f conftest.$ac_objext
10505 if { (ac_try="$ac_compile"
10506 case "(($ac_try" in
10507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10508 *) ac_try_echo=$ac_try;;
10509 esac
10510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10511 (eval "$ac_compile") 2>conftest.er1
10512 ac_status=$?
10513 grep -v '^ *+' conftest.er1 >conftest.err
10514 rm -f conftest.er1
10515 cat conftest.err >&5
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); } && {
10518 test -z "$ac_c_werror_flag" ||
10519 test ! -s conftest.err
10520 } && test -s conftest.$ac_objext; then
10521 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10522 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10523 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10524 echo $ECHO_N "(cached) $ECHO_C" >&6
10525 else
10526 ac_check_soname_save_LIBS=$LIBS
10527 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10528 cat >conftest.$ac_ext <<_ACEOF
10529 /* confdefs.h. */
10530 _ACEOF
10531 cat confdefs.h >>conftest.$ac_ext
10532 cat >>conftest.$ac_ext <<_ACEOF
10533 /* end confdefs.h. */
10535 /* Override any GCC internal prototype to avoid an error.
10536 Use char because int might match the return type of a GCC
10537 builtin and then its argument prototype would still apply. */
10538 #ifdef __cplusplus
10539 extern "C"
10540 #endif
10541 char XRRQueryExtension ();
10543 main ()
10545 return XRRQueryExtension ();
10547 return 0;
10549 _ACEOF
10550 rm -f conftest.$ac_objext conftest$ac_exeext
10551 if { (ac_try="$ac_link"
10552 case "(($ac_try" in
10553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10554 *) ac_try_echo=$ac_try;;
10555 esac
10556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10557 (eval "$ac_link") 2>conftest.er1
10558 ac_status=$?
10559 grep -v '^ *+' conftest.er1 >conftest.err
10560 rm -f conftest.er1
10561 cat conftest.err >&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); } && {
10564 test -z "$ac_c_werror_flag" ||
10565 test ! -s conftest.err
10566 } && test -s conftest$ac_exeext &&
10567 $as_test_x conftest$ac_exeext; then
10568 case "$LIBEXT" in
10569 dll) ;;
10570 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'` ;;
10571 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10572 esac
10573 else
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.$ac_ext >&5
10580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10581 conftest$ac_exeext conftest.$ac_ext
10582 LIBS=$ac_check_soname_save_LIBS
10584 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10585 { echo "$as_me:$LINENO: result: not found" >&5
10586 echo "${ECHO_T}not found" >&6; }
10588 else
10589 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10590 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10592 cat >>confdefs.h <<_ACEOF
10593 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10594 _ACEOF
10599 else
10600 echo "$as_me: failed program was:" >&5
10601 sed 's/^/| /' conftest.$ac_ext >&5
10606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10608 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10609 case "x$with_xrandr" in
10610 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10611 xno) ;;
10612 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10613 This is an error since --with-xrandr was requested." >&5
10614 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10615 This is an error since --with-xrandr was requested." >&2;}
10616 { (exit 1); exit 1; }; } ;;
10617 esac
10621 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10622 then
10623 cat >conftest.$ac_ext <<_ACEOF
10624 /* confdefs.h. */
10625 _ACEOF
10626 cat confdefs.h >>conftest.$ac_ext
10627 cat >>conftest.$ac_ext <<_ACEOF
10628 /* end confdefs.h. */
10629 #include <X11/Xlib.h>
10630 #include <X11/extensions/Xinerama.h>
10632 main ()
10634 static typeof(XineramaQueryScreens) * func;
10636 return 0;
10638 _ACEOF
10639 rm -f conftest.$ac_objext
10640 if { (ac_try="$ac_compile"
10641 case "(($ac_try" in
10642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10643 *) ac_try_echo=$ac_try;;
10644 esac
10645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10646 (eval "$ac_compile") 2>conftest.er1
10647 ac_status=$?
10648 grep -v '^ *+' conftest.er1 >conftest.err
10649 rm -f conftest.er1
10650 cat conftest.err >&5
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); } && {
10653 test -z "$ac_c_werror_flag" ||
10654 test ! -s conftest.err
10655 } && test -s conftest.$ac_objext; then
10656 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10657 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10658 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10659 echo $ECHO_N "(cached) $ECHO_C" >&6
10660 else
10661 ac_check_soname_save_LIBS=$LIBS
10662 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10663 cat >conftest.$ac_ext <<_ACEOF
10664 /* confdefs.h. */
10665 _ACEOF
10666 cat confdefs.h >>conftest.$ac_ext
10667 cat >>conftest.$ac_ext <<_ACEOF
10668 /* end confdefs.h. */
10670 /* Override any GCC internal prototype to avoid an error.
10671 Use char because int might match the return type of a GCC
10672 builtin and then its argument prototype would still apply. */
10673 #ifdef __cplusplus
10674 extern "C"
10675 #endif
10676 char XineramaQueryScreens ();
10678 main ()
10680 return XineramaQueryScreens ();
10682 return 0;
10684 _ACEOF
10685 rm -f conftest.$ac_objext conftest$ac_exeext
10686 if { (ac_try="$ac_link"
10687 case "(($ac_try" in
10688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10689 *) ac_try_echo=$ac_try;;
10690 esac
10691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10692 (eval "$ac_link") 2>conftest.er1
10693 ac_status=$?
10694 grep -v '^ *+' conftest.er1 >conftest.err
10695 rm -f conftest.er1
10696 cat conftest.err >&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); } && {
10699 test -z "$ac_c_werror_flag" ||
10700 test ! -s conftest.err
10701 } && test -s conftest$ac_exeext &&
10702 $as_test_x conftest$ac_exeext; then
10703 case "$LIBEXT" in
10704 dll) ;;
10705 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'` ;;
10706 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10707 esac
10708 else
10709 echo "$as_me: failed program was:" >&5
10710 sed 's/^/| /' conftest.$ac_ext >&5
10715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10716 conftest$ac_exeext conftest.$ac_ext
10717 LIBS=$ac_check_soname_save_LIBS
10719 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10720 { echo "$as_me:$LINENO: result: not found" >&5
10721 echo "${ECHO_T}not found" >&6; }
10723 else
10724 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10725 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10727 cat >>confdefs.h <<_ACEOF
10728 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10729 _ACEOF
10734 else
10735 echo "$as_me: failed program was:" >&5
10736 sed 's/^/| /' conftest.$ac_ext >&5
10741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10743 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10744 case "x$with_xinerama" in
10745 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10746 xno) ;;
10747 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10748 This is an error since --with-xinerama was requested." >&5
10749 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10750 This is an error since --with-xinerama was requested." >&2;}
10751 { (exit 1); exit 1; }; } ;;
10752 esac
10756 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10757 then
10758 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10759 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10760 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10762 else
10763 ac_check_soname_save_LIBS=$LIBS
10764 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10765 cat >conftest.$ac_ext <<_ACEOF
10766 /* confdefs.h. */
10767 _ACEOF
10768 cat confdefs.h >>conftest.$ac_ext
10769 cat >>conftest.$ac_ext <<_ACEOF
10770 /* end confdefs.h. */
10772 /* Override any GCC internal prototype to avoid an error.
10773 Use char because int might match the return type of a GCC
10774 builtin and then its argument prototype would still apply. */
10775 #ifdef __cplusplus
10776 extern "C"
10777 #endif
10778 char XCompositeRedirectWindow ();
10780 main ()
10782 return XCompositeRedirectWindow ();
10784 return 0;
10786 _ACEOF
10787 rm -f conftest.$ac_objext conftest$ac_exeext
10788 if { (ac_try="$ac_link"
10789 case "(($ac_try" in
10790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10791 *) ac_try_echo=$ac_try;;
10792 esac
10793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10794 (eval "$ac_link") 2>conftest.er1
10795 ac_status=$?
10796 grep -v '^ *+' conftest.er1 >conftest.err
10797 rm -f conftest.er1
10798 cat conftest.err >&5
10799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 (exit $ac_status); } && {
10801 test -z "$ac_c_werror_flag" ||
10802 test ! -s conftest.err
10803 } && test -s conftest$ac_exeext &&
10804 $as_test_x conftest$ac_exeext; then
10805 case "$LIBEXT" in
10806 dll) ;;
10807 dylib) ac_cv_lib_soname_Xcomposite=`otool -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10808 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10809 esac
10810 else
10811 echo "$as_me: failed program was:" >&5
10812 sed 's/^/| /' conftest.$ac_ext >&5
10817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10818 conftest$ac_exeext conftest.$ac_ext
10819 LIBS=$ac_check_soname_save_LIBS
10821 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10822 { echo "$as_me:$LINENO: result: not found" >&5
10823 echo "${ECHO_T}not found" >&6; }
10825 else
10826 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10827 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10829 cat >>confdefs.h <<_ACEOF
10830 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10831 _ACEOF
10837 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10838 case "x$with_xcomposite" in
10839 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10840 xno) ;;
10841 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10842 This is an error since --with-xcomposite was requested." >&5
10843 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10844 This is an error since --with-xcomposite was requested." >&2;}
10845 { (exit 1); exit 1; }; } ;;
10846 esac
10850 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10851 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10852 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10853 echo $ECHO_N "(cached) $ECHO_C" >&6
10854 else
10855 cat >conftest.$ac_ext <<_ACEOF
10856 /* confdefs.h. */
10857 _ACEOF
10858 cat confdefs.h >>conftest.$ac_ext
10859 cat >>conftest.$ac_ext <<_ACEOF
10860 /* end confdefs.h. */
10861 #ifdef HAVE_X11_XLIB_H
10862 #include <X11/Xlib.h>
10863 #endif
10866 main ()
10868 static XICCallback ac_aggr;
10869 if (ac_aggr.callback)
10870 return 0;
10872 return 0;
10874 _ACEOF
10875 rm -f conftest.$ac_objext
10876 if { (ac_try="$ac_compile"
10877 case "(($ac_try" in
10878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10879 *) ac_try_echo=$ac_try;;
10880 esac
10881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10882 (eval "$ac_compile") 2>conftest.er1
10883 ac_status=$?
10884 grep -v '^ *+' conftest.er1 >conftest.err
10885 rm -f conftest.er1
10886 cat conftest.err >&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); } && {
10889 test -z "$ac_c_werror_flag" ||
10890 test ! -s conftest.err
10891 } && test -s conftest.$ac_objext; then
10892 ac_cv_member_XICCallback_callback=yes
10893 else
10894 echo "$as_me: failed program was:" >&5
10895 sed 's/^/| /' conftest.$ac_ext >&5
10897 cat >conftest.$ac_ext <<_ACEOF
10898 /* confdefs.h. */
10899 _ACEOF
10900 cat confdefs.h >>conftest.$ac_ext
10901 cat >>conftest.$ac_ext <<_ACEOF
10902 /* end confdefs.h. */
10903 #ifdef HAVE_X11_XLIB_H
10904 #include <X11/Xlib.h>
10905 #endif
10908 main ()
10910 static XICCallback ac_aggr;
10911 if (sizeof ac_aggr.callback)
10912 return 0;
10914 return 0;
10916 _ACEOF
10917 rm -f conftest.$ac_objext
10918 if { (ac_try="$ac_compile"
10919 case "(($ac_try" in
10920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10921 *) ac_try_echo=$ac_try;;
10922 esac
10923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10924 (eval "$ac_compile") 2>conftest.er1
10925 ac_status=$?
10926 grep -v '^ *+' conftest.er1 >conftest.err
10927 rm -f conftest.er1
10928 cat conftest.err >&5
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); } && {
10931 test -z "$ac_c_werror_flag" ||
10932 test ! -s conftest.err
10933 } && test -s conftest.$ac_objext; then
10934 ac_cv_member_XICCallback_callback=yes
10935 else
10936 echo "$as_me: failed program was:" >&5
10937 sed 's/^/| /' conftest.$ac_ext >&5
10939 ac_cv_member_XICCallback_callback=no
10942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10947 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10948 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10949 if test $ac_cv_member_XICCallback_callback = yes; then
10951 cat >>confdefs.h <<_ACEOF
10952 #define HAVE_XICCALLBACK_CALLBACK 1
10953 _ACEOF
10960 opengl_msg=""
10961 if test "x$with_opengl" != "xno"
10962 then
10967 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10969 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10970 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10972 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10973 echo $ECHO_N "(cached) $ECHO_C" >&6
10974 else
10975 cat >conftest.$ac_ext <<_ACEOF
10976 /* confdefs.h. */
10977 _ACEOF
10978 cat confdefs.h >>conftest.$ac_ext
10979 cat >>conftest.$ac_ext <<_ACEOF
10980 /* end confdefs.h. */
10981 #ifdef HAVE_GL_GLX_H
10982 # include <GL/glx.h>
10983 #endif
10985 #include <$ac_header>
10986 _ACEOF
10987 rm -f conftest.$ac_objext
10988 if { (ac_try="$ac_compile"
10989 case "(($ac_try" in
10990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10991 *) ac_try_echo=$ac_try;;
10992 esac
10993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10994 (eval "$ac_compile") 2>conftest.er1
10995 ac_status=$?
10996 grep -v '^ *+' conftest.er1 >conftest.err
10997 rm -f conftest.er1
10998 cat conftest.err >&5
10999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 (exit $ac_status); } && {
11001 test -z "$ac_c_werror_flag" ||
11002 test ! -s conftest.err
11003 } && test -s conftest.$ac_objext; then
11004 eval "$as_ac_Header=yes"
11005 else
11006 echo "$as_me: failed program was:" >&5
11007 sed 's/^/| /' conftest.$ac_ext >&5
11009 eval "$as_ac_Header=no"
11012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11014 ac_res=`eval echo '${'$as_ac_Header'}'`
11015 { echo "$as_me:$LINENO: result: $ac_res" >&5
11016 echo "${ECHO_T}$ac_res" >&6; }
11017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11018 cat >>confdefs.h <<_ACEOF
11019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11020 _ACEOF
11024 done
11026 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
11027 then
11028 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
11029 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
11030 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11032 else
11033 cat >conftest.$ac_ext <<_ACEOF
11034 /* confdefs.h. */
11035 _ACEOF
11036 cat confdefs.h >>conftest.$ac_ext
11037 cat >>conftest.$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11039 #include <GL/gl.h>
11041 main ()
11043 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
11045 return 0;
11047 _ACEOF
11048 rm -f conftest.$ac_objext
11049 if { (ac_try="$ac_compile"
11050 case "(($ac_try" in
11051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11052 *) ac_try_echo=$ac_try;;
11053 esac
11054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11055 (eval "$ac_compile") 2>conftest.er1
11056 ac_status=$?
11057 grep -v '^ *+' conftest.er1 >conftest.err
11058 rm -f conftest.er1
11059 cat conftest.err >&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); } && {
11062 test -z "$ac_c_werror_flag" ||
11063 test ! -s conftest.err
11064 } && test -s conftest.$ac_objext; then
11065 wine_cv_opengl_header_version_OK="yes"
11066 else
11067 echo "$as_me: failed program was:" >&5
11068 sed 's/^/| /' conftest.$ac_ext >&5
11070 wine_cv_opengl_header_version_OK="no"
11073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11075 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
11076 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
11078 if test "$wine_cv_opengl_header_version_OK" = "yes"
11079 then
11080 { echo "$as_me:$LINENO: checking for -lGL" >&5
11081 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11082 if test "${ac_cv_lib_soname_GL+set}" = set; then
11083 echo $ECHO_N "(cached) $ECHO_C" >&6
11084 else
11085 ac_check_soname_save_LIBS=$LIBS
11086 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11087 cat >conftest.$ac_ext <<_ACEOF
11088 /* confdefs.h. */
11089 _ACEOF
11090 cat confdefs.h >>conftest.$ac_ext
11091 cat >>conftest.$ac_ext <<_ACEOF
11092 /* end confdefs.h. */
11094 /* Override any GCC internal prototype to avoid an error.
11095 Use char because int might match the return type of a GCC
11096 builtin and then its argument prototype would still apply. */
11097 #ifdef __cplusplus
11098 extern "C"
11099 #endif
11100 char glXCreateContext ();
11102 main ()
11104 return glXCreateContext ();
11106 return 0;
11108 _ACEOF
11109 rm -f conftest.$ac_objext conftest$ac_exeext
11110 if { (ac_try="$ac_link"
11111 case "(($ac_try" in
11112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11113 *) ac_try_echo=$ac_try;;
11114 esac
11115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11116 (eval "$ac_link") 2>conftest.er1
11117 ac_status=$?
11118 grep -v '^ *+' conftest.er1 >conftest.err
11119 rm -f conftest.er1
11120 cat conftest.err >&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); } && {
11123 test -z "$ac_c_werror_flag" ||
11124 test ! -s conftest.err
11125 } && test -s conftest$ac_exeext &&
11126 $as_test_x conftest$ac_exeext; then
11127 case "$LIBEXT" in
11128 dll) ;;
11129 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'` ;;
11130 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11131 esac
11132 else
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.$ac_ext >&5
11139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11140 conftest$ac_exeext conftest.$ac_ext
11141 LIBS=$ac_check_soname_save_LIBS
11143 if test "x$ac_cv_lib_soname_GL" = "x"; then
11144 { echo "$as_me:$LINENO: result: not found" >&5
11145 echo "${ECHO_T}not found" >&6; }
11146 { echo "$as_me:$LINENO: checking for -lGL" >&5
11147 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11148 if test "${ac_cv_lib_soname_GL+set}" = set; then
11149 echo $ECHO_N "(cached) $ECHO_C" >&6
11150 else
11151 ac_check_soname_save_LIBS=$LIBS
11152 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
11153 cat >conftest.$ac_ext <<_ACEOF
11154 /* confdefs.h. */
11155 _ACEOF
11156 cat confdefs.h >>conftest.$ac_ext
11157 cat >>conftest.$ac_ext <<_ACEOF
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11163 #ifdef __cplusplus
11164 extern "C"
11165 #endif
11166 char glXCreateContext ();
11168 main ()
11170 return glXCreateContext ();
11172 return 0;
11174 _ACEOF
11175 rm -f conftest.$ac_objext conftest$ac_exeext
11176 if { (ac_try="$ac_link"
11177 case "(($ac_try" in
11178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11179 *) ac_try_echo=$ac_try;;
11180 esac
11181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11182 (eval "$ac_link") 2>conftest.er1
11183 ac_status=$?
11184 grep -v '^ *+' conftest.er1 >conftest.err
11185 rm -f conftest.er1
11186 cat conftest.err >&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } && {
11189 test -z "$ac_c_werror_flag" ||
11190 test ! -s conftest.err
11191 } && test -s conftest$ac_exeext &&
11192 $as_test_x conftest$ac_exeext; then
11193 case "$LIBEXT" in
11194 dll) ;;
11195 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'` ;;
11196 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11197 esac
11198 else
11199 echo "$as_me: failed program was:" >&5
11200 sed 's/^/| /' conftest.$ac_ext >&5
11205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11206 conftest$ac_exeext conftest.$ac_ext
11207 LIBS=$ac_check_soname_save_LIBS
11209 if test "x$ac_cv_lib_soname_GL" = "x"; then
11210 { echo "$as_me:$LINENO: result: not found" >&5
11211 echo "${ECHO_T}not found" >&6; }
11212 if test -f /usr/X11R6/lib/libGL.a
11213 then
11214 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11215 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11216 else
11217 opengl_msg="No OpenGL library found on this system."
11219 else
11220 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11221 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11223 cat >>confdefs.h <<_ACEOF
11224 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11225 _ACEOF
11227 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
11228 OPENGLFILES='$(OPENGLFILES)'
11230 cat >>confdefs.h <<\_ACEOF
11231 #define HAVE_OPENGL 1
11232 _ACEOF
11236 else
11237 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11238 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11240 cat >>confdefs.h <<_ACEOF
11241 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11242 _ACEOF
11244 OPENGL_LIBS="-lGL"
11245 OPENGLFILES='$(OPENGLFILES)'
11247 cat >>confdefs.h <<\_ACEOF
11248 #define HAVE_OPENGL 1
11249 _ACEOF
11253 if test "$ac_cv_header_GL_glu_h" = "yes"
11254 then
11255 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11256 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11257 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11258 echo $ECHO_N "(cached) $ECHO_C" >&6
11259 else
11260 ac_check_soname_save_LIBS=$LIBS
11261 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11262 cat >conftest.$ac_ext <<_ACEOF
11263 /* confdefs.h. */
11264 _ACEOF
11265 cat confdefs.h >>conftest.$ac_ext
11266 cat >>conftest.$ac_ext <<_ACEOF
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11272 #ifdef __cplusplus
11273 extern "C"
11274 #endif
11275 char gluLookAt ();
11277 main ()
11279 return gluLookAt ();
11281 return 0;
11283 _ACEOF
11284 rm -f conftest.$ac_objext conftest$ac_exeext
11285 if { (ac_try="$ac_link"
11286 case "(($ac_try" in
11287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11288 *) ac_try_echo=$ac_try;;
11289 esac
11290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11291 (eval "$ac_link") 2>conftest.er1
11292 ac_status=$?
11293 grep -v '^ *+' conftest.er1 >conftest.err
11294 rm -f conftest.er1
11295 cat conftest.err >&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } && {
11298 test -z "$ac_c_werror_flag" ||
11299 test ! -s conftest.err
11300 } && test -s conftest$ac_exeext &&
11301 $as_test_x conftest$ac_exeext; then
11302 case "$LIBEXT" in
11303 dll) ;;
11304 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11305 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11306 esac
11307 else
11308 echo "$as_me: failed program was:" >&5
11309 sed 's/^/| /' conftest.$ac_ext >&5
11314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11315 conftest$ac_exeext conftest.$ac_ext
11316 LIBS=$ac_check_soname_save_LIBS
11318 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11319 { echo "$as_me:$LINENO: result: not found" >&5
11320 echo "${ECHO_T}not found" >&6; }
11322 else
11323 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11324 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11326 cat >>confdefs.h <<_ACEOF
11327 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11328 _ACEOF
11330 GLU32FILES='$(GLU32FILES)'
11334 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11335 case "x$with_glu" in
11336 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11337 xno) ;;
11338 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11339 This is an error since --with-glu was requested." >&5
11340 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11341 This is an error since --with-glu was requested." >&2;}
11342 { (exit 1); exit 1; }; } ;;
11343 esac
11346 else
11347 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11349 else
11350 opengl_msg="OpenGL development headers not found."
11353 if test -n "$opengl_msg"; then
11354 case "x$with_opengl" in
11355 x) wine_warnings="$wine_warnings|$opengl_msg
11356 OpenGL and Direct3D won't be supported." ;;
11357 xno) ;;
11358 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11359 OpenGL and Direct3D won't be supported.
11360 This is an error since --with-opengl was requested." >&5
11361 echo "$as_me: error: $opengl_msg
11362 OpenGL and Direct3D won't be supported.
11363 This is an error since --with-opengl was requested." >&2;}
11364 { (exit 1); exit 1; }; } ;;
11365 esac
11369 NASLIBS=""
11372 for ac_header in audio/audiolib.h
11374 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11375 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11376 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11378 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11379 echo $ECHO_N "(cached) $ECHO_C" >&6
11381 ac_res=`eval echo '${'$as_ac_Header'}'`
11382 { echo "$as_me:$LINENO: result: $ac_res" >&5
11383 echo "${ECHO_T}$ac_res" >&6; }
11384 else
11385 # Is the header compilable?
11386 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11387 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11388 cat >conftest.$ac_ext <<_ACEOF
11389 /* confdefs.h. */
11390 _ACEOF
11391 cat confdefs.h >>conftest.$ac_ext
11392 cat >>conftest.$ac_ext <<_ACEOF
11393 /* end confdefs.h. */
11394 $ac_includes_default
11395 #include <$ac_header>
11396 _ACEOF
11397 rm -f conftest.$ac_objext
11398 if { (ac_try="$ac_compile"
11399 case "(($ac_try" in
11400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11401 *) ac_try_echo=$ac_try;;
11402 esac
11403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11404 (eval "$ac_compile") 2>conftest.er1
11405 ac_status=$?
11406 grep -v '^ *+' conftest.er1 >conftest.err
11407 rm -f conftest.er1
11408 cat conftest.err >&5
11409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410 (exit $ac_status); } && {
11411 test -z "$ac_c_werror_flag" ||
11412 test ! -s conftest.err
11413 } && test -s conftest.$ac_objext; then
11414 ac_header_compiler=yes
11415 else
11416 echo "$as_me: failed program was:" >&5
11417 sed 's/^/| /' conftest.$ac_ext >&5
11419 ac_header_compiler=no
11422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11423 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11424 echo "${ECHO_T}$ac_header_compiler" >&6; }
11426 # Is the header present?
11427 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11429 cat >conftest.$ac_ext <<_ACEOF
11430 /* confdefs.h. */
11431 _ACEOF
11432 cat confdefs.h >>conftest.$ac_ext
11433 cat >>conftest.$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11435 #include <$ac_header>
11436 _ACEOF
11437 if { (ac_try="$ac_cpp conftest.$ac_ext"
11438 case "(($ac_try" in
11439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11440 *) ac_try_echo=$ac_try;;
11441 esac
11442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11443 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11444 ac_status=$?
11445 grep -v '^ *+' conftest.er1 >conftest.err
11446 rm -f conftest.er1
11447 cat conftest.err >&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } >/dev/null && {
11450 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11451 test ! -s conftest.err
11452 }; then
11453 ac_header_preproc=yes
11454 else
11455 echo "$as_me: failed program was:" >&5
11456 sed 's/^/| /' conftest.$ac_ext >&5
11458 ac_header_preproc=no
11461 rm -f conftest.err conftest.$ac_ext
11462 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11463 echo "${ECHO_T}$ac_header_preproc" >&6; }
11465 # So? What about this header?
11466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11467 yes:no: )
11468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11472 ac_header_preproc=yes
11474 no:yes:* )
11475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11487 ( cat <<\_ASBOX
11488 ## ------------------------------------ ##
11489 ## Report this to wine-devel@winehq.org ##
11490 ## ------------------------------------ ##
11491 _ASBOX
11492 ) | sed "s/^/$as_me: WARNING: /" >&2
11494 esac
11495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11498 echo $ECHO_N "(cached) $ECHO_C" >&6
11499 else
11500 eval "$as_ac_Header=\$ac_header_preproc"
11502 ac_res=`eval echo '${'$as_ac_Header'}'`
11503 { echo "$as_me:$LINENO: result: $ac_res" >&5
11504 echo "${ECHO_T}$ac_res" >&6; }
11507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11508 cat >>confdefs.h <<_ACEOF
11509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11510 _ACEOF
11512 for ac_header in audio/soundlib.h
11514 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11515 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11517 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 else
11520 cat >conftest.$ac_ext <<_ACEOF
11521 /* confdefs.h. */
11522 _ACEOF
11523 cat confdefs.h >>conftest.$ac_ext
11524 cat >>conftest.$ac_ext <<_ACEOF
11525 /* end confdefs.h. */
11526 #include <audio/audiolib.h>
11528 #include <$ac_header>
11529 _ACEOF
11530 rm -f conftest.$ac_objext
11531 if { (ac_try="$ac_compile"
11532 case "(($ac_try" in
11533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11534 *) ac_try_echo=$ac_try;;
11535 esac
11536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11537 (eval "$ac_compile") 2>conftest.er1
11538 ac_status=$?
11539 grep -v '^ *+' conftest.er1 >conftest.err
11540 rm -f conftest.er1
11541 cat conftest.err >&5
11542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11543 (exit $ac_status); } && {
11544 test -z "$ac_c_werror_flag" ||
11545 test ! -s conftest.err
11546 } && test -s conftest.$ac_objext; then
11547 eval "$as_ac_Header=yes"
11548 else
11549 echo "$as_me: failed program was:" >&5
11550 sed 's/^/| /' conftest.$ac_ext >&5
11552 eval "$as_ac_Header=no"
11555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11557 ac_res=`eval echo '${'$as_ac_Header'}'`
11558 { echo "$as_me:$LINENO: result: $ac_res" >&5
11559 echo "${ECHO_T}$ac_res" >&6; }
11560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11561 cat >>confdefs.h <<_ACEOF
11562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11563 _ACEOF
11567 done
11569 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11570 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11571 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11572 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 else
11574 ac_check_lib_save_LIBS=$LIBS
11575 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11576 cat >conftest.$ac_ext <<_ACEOF
11577 /* confdefs.h. */
11578 _ACEOF
11579 cat confdefs.h >>conftest.$ac_ext
11580 cat >>conftest.$ac_ext <<_ACEOF
11581 /* end confdefs.h. */
11583 /* Override any GCC internal prototype to avoid an error.
11584 Use char because int might match the return type of a GCC
11585 builtin and then its argument prototype would still apply. */
11586 #ifdef __cplusplus
11587 extern "C"
11588 #endif
11589 char AuCreateFlow ();
11591 main ()
11593 return AuCreateFlow ();
11595 return 0;
11597 _ACEOF
11598 rm -f conftest.$ac_objext conftest$ac_exeext
11599 if { (ac_try="$ac_link"
11600 case "(($ac_try" in
11601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11602 *) ac_try_echo=$ac_try;;
11603 esac
11604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11605 (eval "$ac_link") 2>conftest.er1
11606 ac_status=$?
11607 grep -v '^ *+' conftest.er1 >conftest.err
11608 rm -f conftest.er1
11609 cat conftest.err >&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); } && {
11612 test -z "$ac_c_werror_flag" ||
11613 test ! -s conftest.err
11614 } && test -s conftest$ac_exeext &&
11615 $as_test_x conftest$ac_exeext; then
11616 ac_cv_lib_audio_AuCreateFlow=yes
11617 else
11618 echo "$as_me: failed program was:" >&5
11619 sed 's/^/| /' conftest.$ac_ext >&5
11621 ac_cv_lib_audio_AuCreateFlow=no
11624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11625 conftest$ac_exeext conftest.$ac_ext
11626 LIBS=$ac_check_lib_save_LIBS
11628 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11629 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11630 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11632 cat >>confdefs.h <<\_ACEOF
11633 #define HAVE_NAS 1
11634 _ACEOF
11636 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11637 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11638 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 else
11641 ac_check_lib_save_LIBS=$LIBS
11642 LIBS="-lXau $X_LIBS $LIBS"
11643 cat >conftest.$ac_ext <<_ACEOF
11644 /* confdefs.h. */
11645 _ACEOF
11646 cat confdefs.h >>conftest.$ac_ext
11647 cat >>conftest.$ac_ext <<_ACEOF
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11653 #ifdef __cplusplus
11654 extern "C"
11655 #endif
11656 char XauGetBestAuthByAddr ();
11658 main ()
11660 return XauGetBestAuthByAddr ();
11662 return 0;
11664 _ACEOF
11665 rm -f conftest.$ac_objext conftest$ac_exeext
11666 if { (ac_try="$ac_link"
11667 case "(($ac_try" in
11668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11669 *) ac_try_echo=$ac_try;;
11670 esac
11671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11672 (eval "$ac_link") 2>conftest.er1
11673 ac_status=$?
11674 grep -v '^ *+' conftest.er1 >conftest.err
11675 rm -f conftest.er1
11676 cat conftest.err >&5
11677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678 (exit $ac_status); } && {
11679 test -z "$ac_c_werror_flag" ||
11680 test ! -s conftest.err
11681 } && test -s conftest$ac_exeext &&
11682 $as_test_x conftest$ac_exeext; then
11683 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11684 else
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.$ac_ext >&5
11688 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11692 conftest$ac_exeext conftest.$ac_ext
11693 LIBS=$ac_check_lib_save_LIBS
11695 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11696 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11697 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11698 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11699 else
11700 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11708 done
11711 CPPFLAGS="$ac_save_CPPFLAGS"
11712 XFILES='$(XFILES)'
11713 else
11714 XLIB=""
11715 X_CFLAGS=""
11716 X_LIBS=""
11718 if test "x$XLIB" = "x"; then
11719 case "x$with_x" in
11720 xno) ;;
11721 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11722 without X support, which probably isn't what you want. You will need to install
11723 development packages of Xlib/Xfree86 at the very least.
11724 Use the --without-x option if you really want this." >&5
11725 echo "$as_me: error: X development files not found. Wine will be built
11726 without X support, which probably isn't what you want. You will need to install
11727 development packages of Xlib/Xfree86 at the very least.
11728 Use the --without-x option if you really want this." >&2;}
11729 { (exit 1); exit 1; }; } ;;
11730 esac
11735 XML2LIBS=""
11737 XML2INCL=""
11739 XSLTLIBS=""
11741 XSLTINCL=""
11743 if test "x$with_xml" != "xno"
11744 then
11745 ac_save_CPPFLAGS="$CPPFLAGS"
11746 if test "$PKG_CONFIG" != "false"
11747 then
11748 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11749 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11750 else
11751 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11752 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11754 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11756 for ac_header in libxml/parser.h
11758 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11759 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11760 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11765 ac_res=`eval echo '${'$as_ac_Header'}'`
11766 { echo "$as_me:$LINENO: result: $ac_res" >&5
11767 echo "${ECHO_T}$ac_res" >&6; }
11768 else
11769 # Is the header compilable?
11770 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11772 cat >conftest.$ac_ext <<_ACEOF
11773 /* confdefs.h. */
11774 _ACEOF
11775 cat confdefs.h >>conftest.$ac_ext
11776 cat >>conftest.$ac_ext <<_ACEOF
11777 /* end confdefs.h. */
11778 $ac_includes_default
11779 #include <$ac_header>
11780 _ACEOF
11781 rm -f conftest.$ac_objext
11782 if { (ac_try="$ac_compile"
11783 case "(($ac_try" in
11784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11785 *) ac_try_echo=$ac_try;;
11786 esac
11787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11788 (eval "$ac_compile") 2>conftest.er1
11789 ac_status=$?
11790 grep -v '^ *+' conftest.er1 >conftest.err
11791 rm -f conftest.er1
11792 cat conftest.err >&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); } && {
11795 test -z "$ac_c_werror_flag" ||
11796 test ! -s conftest.err
11797 } && test -s conftest.$ac_objext; then
11798 ac_header_compiler=yes
11799 else
11800 echo "$as_me: failed program was:" >&5
11801 sed 's/^/| /' conftest.$ac_ext >&5
11803 ac_header_compiler=no
11806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11807 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11808 echo "${ECHO_T}$ac_header_compiler" >&6; }
11810 # Is the header present?
11811 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11812 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11813 cat >conftest.$ac_ext <<_ACEOF
11814 /* confdefs.h. */
11815 _ACEOF
11816 cat confdefs.h >>conftest.$ac_ext
11817 cat >>conftest.$ac_ext <<_ACEOF
11818 /* end confdefs.h. */
11819 #include <$ac_header>
11820 _ACEOF
11821 if { (ac_try="$ac_cpp conftest.$ac_ext"
11822 case "(($ac_try" in
11823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11824 *) ac_try_echo=$ac_try;;
11825 esac
11826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11828 ac_status=$?
11829 grep -v '^ *+' conftest.er1 >conftest.err
11830 rm -f conftest.er1
11831 cat conftest.err >&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); } >/dev/null && {
11834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11835 test ! -s conftest.err
11836 }; then
11837 ac_header_preproc=yes
11838 else
11839 echo "$as_me: failed program was:" >&5
11840 sed 's/^/| /' conftest.$ac_ext >&5
11842 ac_header_preproc=no
11845 rm -f conftest.err conftest.$ac_ext
11846 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11847 echo "${ECHO_T}$ac_header_preproc" >&6; }
11849 # So? What about this header?
11850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11851 yes:no: )
11852 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11853 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11855 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11856 ac_header_preproc=yes
11858 no:yes:* )
11859 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11860 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11861 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11862 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11863 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11864 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11865 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11866 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11868 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11869 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11870 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11871 ( cat <<\_ASBOX
11872 ## ------------------------------------ ##
11873 ## Report this to wine-devel@winehq.org ##
11874 ## ------------------------------------ ##
11875 _ASBOX
11876 ) | sed "s/^/$as_me: WARNING: /" >&2
11878 esac
11879 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11881 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11882 echo $ECHO_N "(cached) $ECHO_C" >&6
11883 else
11884 eval "$as_ac_Header=\$ac_header_preproc"
11886 ac_res=`eval echo '${'$as_ac_Header'}'`
11887 { echo "$as_me:$LINENO: result: $ac_res" >&5
11888 echo "${ECHO_T}$ac_res" >&6; }
11891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11892 cat >>confdefs.h <<_ACEOF
11893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11894 _ACEOF
11895 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11896 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11897 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11898 echo $ECHO_N "(cached) $ECHO_C" >&6
11899 else
11900 ac_check_lib_save_LIBS=$LIBS
11901 LIBS="-lxml2 $ac_xml_libs $LIBS"
11902 cat >conftest.$ac_ext <<_ACEOF
11903 /* confdefs.h. */
11904 _ACEOF
11905 cat confdefs.h >>conftest.$ac_ext
11906 cat >>conftest.$ac_ext <<_ACEOF
11907 /* end confdefs.h. */
11909 /* Override any GCC internal prototype to avoid an error.
11910 Use char because int might match the return type of a GCC
11911 builtin and then its argument prototype would still apply. */
11912 #ifdef __cplusplus
11913 extern "C"
11914 #endif
11915 char xmlParseMemory ();
11917 main ()
11919 return xmlParseMemory ();
11921 return 0;
11923 _ACEOF
11924 rm -f conftest.$ac_objext conftest$ac_exeext
11925 if { (ac_try="$ac_link"
11926 case "(($ac_try" in
11927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11928 *) ac_try_echo=$ac_try;;
11929 esac
11930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11931 (eval "$ac_link") 2>conftest.er1
11932 ac_status=$?
11933 grep -v '^ *+' conftest.er1 >conftest.err
11934 rm -f conftest.er1
11935 cat conftest.err >&5
11936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11937 (exit $ac_status); } && {
11938 test -z "$ac_c_werror_flag" ||
11939 test ! -s conftest.err
11940 } && test -s conftest$ac_exeext &&
11941 $as_test_x conftest$ac_exeext; then
11942 ac_cv_lib_xml2_xmlParseMemory=yes
11943 else
11944 echo "$as_me: failed program was:" >&5
11945 sed 's/^/| /' conftest.$ac_ext >&5
11947 ac_cv_lib_xml2_xmlParseMemory=no
11950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11951 conftest$ac_exeext conftest.$ac_ext
11952 LIBS=$ac_check_lib_save_LIBS
11954 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11955 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11956 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11958 cat >>confdefs.h <<\_ACEOF
11959 #define HAVE_LIBXML2 1
11960 _ACEOF
11962 XML2LIBS="$ac_xml_libs"
11963 XML2INCL="$ac_xml_cflags"
11966 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11967 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11968 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11969 echo $ECHO_N "(cached) $ECHO_C" >&6
11970 else
11971 ac_check_lib_save_LIBS=$LIBS
11972 LIBS="-lxml2 $ac_xml_libs $LIBS"
11973 cat >conftest.$ac_ext <<_ACEOF
11974 /* confdefs.h. */
11975 _ACEOF
11976 cat confdefs.h >>conftest.$ac_ext
11977 cat >>conftest.$ac_ext <<_ACEOF
11978 /* end confdefs.h. */
11980 /* Override any GCC internal prototype to avoid an error.
11981 Use char because int might match the return type of a GCC
11982 builtin and then its argument prototype would still apply. */
11983 #ifdef __cplusplus
11984 extern "C"
11985 #endif
11986 char xmlReadMemory ();
11988 main ()
11990 return xmlReadMemory ();
11992 return 0;
11994 _ACEOF
11995 rm -f conftest.$ac_objext conftest$ac_exeext
11996 if { (ac_try="$ac_link"
11997 case "(($ac_try" in
11998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11999 *) ac_try_echo=$ac_try;;
12000 esac
12001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12002 (eval "$ac_link") 2>conftest.er1
12003 ac_status=$?
12004 grep -v '^ *+' conftest.er1 >conftest.err
12005 rm -f conftest.er1
12006 cat conftest.err >&5
12007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12008 (exit $ac_status); } && {
12009 test -z "$ac_c_werror_flag" ||
12010 test ! -s conftest.err
12011 } && test -s conftest$ac_exeext &&
12012 $as_test_x conftest$ac_exeext; then
12013 ac_cv_lib_xml2_xmlReadMemory=yes
12014 else
12015 echo "$as_me: failed program was:" >&5
12016 sed 's/^/| /' conftest.$ac_ext >&5
12018 ac_cv_lib_xml2_xmlReadMemory=no
12021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12022 conftest$ac_exeext conftest.$ac_ext
12023 LIBS=$ac_check_lib_save_LIBS
12025 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12026 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12027 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
12029 cat >>confdefs.h <<\_ACEOF
12030 #define HAVE_XMLREADMEMORY 1
12031 _ACEOF
12035 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
12036 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
12037 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
12038 echo $ECHO_N "(cached) $ECHO_C" >&6
12039 else
12040 ac_check_lib_save_LIBS=$LIBS
12041 LIBS="-lxml2 $ac_xml_libs $LIBS"
12042 cat >conftest.$ac_ext <<_ACEOF
12043 /* confdefs.h. */
12044 _ACEOF
12045 cat confdefs.h >>conftest.$ac_ext
12046 cat >>conftest.$ac_ext <<_ACEOF
12047 /* end confdefs.h. */
12049 /* Override any GCC internal prototype to avoid an error.
12050 Use char because int might match the return type of a GCC
12051 builtin and then its argument prototype would still apply. */
12052 #ifdef __cplusplus
12053 extern "C"
12054 #endif
12055 char xmlNewDocPI ();
12057 main ()
12059 return xmlNewDocPI ();
12061 return 0;
12063 _ACEOF
12064 rm -f conftest.$ac_objext conftest$ac_exeext
12065 if { (ac_try="$ac_link"
12066 case "(($ac_try" in
12067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12068 *) ac_try_echo=$ac_try;;
12069 esac
12070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12071 (eval "$ac_link") 2>conftest.er1
12072 ac_status=$?
12073 grep -v '^ *+' conftest.er1 >conftest.err
12074 rm -f conftest.er1
12075 cat conftest.err >&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } && {
12078 test -z "$ac_c_werror_flag" ||
12079 test ! -s conftest.err
12080 } && test -s conftest$ac_exeext &&
12081 $as_test_x conftest$ac_exeext; then
12082 ac_cv_lib_xml2_xmlNewDocPI=yes
12083 else
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.$ac_ext >&5
12087 ac_cv_lib_xml2_xmlNewDocPI=no
12090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12091 conftest$ac_exeext conftest.$ac_ext
12092 LIBS=$ac_check_lib_save_LIBS
12094 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12095 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12096 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
12098 cat >>confdefs.h <<\_ACEOF
12099 #define HAVE_XMLNEWDOCPI 1
12100 _ACEOF
12107 done
12109 CPPFLAGS="$ac_save_CPPFLAGS"
12111 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
12112 case "x$with_xml" in
12113 x) wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
12114 xno) ;;
12115 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
12116 This is an error since --with-xml was requested." >&5
12117 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
12118 This is an error since --with-xml was requested." >&2;}
12119 { (exit 1); exit 1; }; } ;;
12120 esac
12124 if test "x$with_xslt" != "xno"
12125 then
12126 if test "$PKG_CONFIG" != "false"
12127 then
12128 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12129 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12130 else
12131 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
12132 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
12134 ac_save_CPPFLAGS="$CPPFLAGS"
12135 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
12138 for ac_header in libxslt/pattern.h libxslt/transform.h
12140 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12141 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12143 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12144 echo $ECHO_N "(cached) $ECHO_C" >&6
12145 else
12146 cat >conftest.$ac_ext <<_ACEOF
12147 /* confdefs.h. */
12148 _ACEOF
12149 cat confdefs.h >>conftest.$ac_ext
12150 cat >>conftest.$ac_ext <<_ACEOF
12151 /* end confdefs.h. */
12152 #ifdef HAVE_LIBXSLT_PATTERN_H
12153 # include <libxslt/pattern.h>
12154 #endif
12156 #include <$ac_header>
12157 _ACEOF
12158 rm -f conftest.$ac_objext
12159 if { (ac_try="$ac_compile"
12160 case "(($ac_try" in
12161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12162 *) ac_try_echo=$ac_try;;
12163 esac
12164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12165 (eval "$ac_compile") 2>conftest.er1
12166 ac_status=$?
12167 grep -v '^ *+' conftest.er1 >conftest.err
12168 rm -f conftest.er1
12169 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } && {
12172 test -z "$ac_c_werror_flag" ||
12173 test ! -s conftest.err
12174 } && test -s conftest.$ac_objext; then
12175 eval "$as_ac_Header=yes"
12176 else
12177 echo "$as_me: failed program was:" >&5
12178 sed 's/^/| /' conftest.$ac_ext >&5
12180 eval "$as_ac_Header=no"
12183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12185 ac_res=`eval echo '${'$as_ac_Header'}'`
12186 { echo "$as_me:$LINENO: result: $ac_res" >&5
12187 echo "${ECHO_T}$ac_res" >&6; }
12188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12189 cat >>confdefs.h <<_ACEOF
12190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12191 _ACEOF
12195 done
12197 CPPFLAGS="$ac_save_CPPFLAGS"
12198 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12199 then
12200 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12201 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12202 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12203 echo $ECHO_N "(cached) $ECHO_C" >&6
12204 else
12205 ac_check_lib_save_LIBS=$LIBS
12206 LIBS="-lxslt $ac_xslt_libs $LIBS"
12207 cat >conftest.$ac_ext <<_ACEOF
12208 /* confdefs.h. */
12209 _ACEOF
12210 cat confdefs.h >>conftest.$ac_ext
12211 cat >>conftest.$ac_ext <<_ACEOF
12212 /* end confdefs.h. */
12214 /* Override any GCC internal prototype to avoid an error.
12215 Use char because int might match the return type of a GCC
12216 builtin and then its argument prototype would still apply. */
12217 #ifdef __cplusplus
12218 extern "C"
12219 #endif
12220 char xsltCompilePattern ();
12222 main ()
12224 return xsltCompilePattern ();
12226 return 0;
12228 _ACEOF
12229 rm -f conftest.$ac_objext conftest$ac_exeext
12230 if { (ac_try="$ac_link"
12231 case "(($ac_try" in
12232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12233 *) ac_try_echo=$ac_try;;
12234 esac
12235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12236 (eval "$ac_link") 2>conftest.er1
12237 ac_status=$?
12238 grep -v '^ *+' conftest.er1 >conftest.err
12239 rm -f conftest.er1
12240 cat conftest.err >&5
12241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242 (exit $ac_status); } && {
12243 test -z "$ac_c_werror_flag" ||
12244 test ! -s conftest.err
12245 } && test -s conftest$ac_exeext &&
12246 $as_test_x conftest$ac_exeext; then
12247 ac_cv_lib_xslt_xsltCompilePattern=yes
12248 else
12249 echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.$ac_ext >&5
12252 ac_cv_lib_xslt_xsltCompilePattern=no
12255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12256 conftest$ac_exeext conftest.$ac_ext
12257 LIBS=$ac_check_lib_save_LIBS
12259 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12260 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12261 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12263 cat >>confdefs.h <<\_ACEOF
12264 #define HAVE_LIBXSLT 1
12265 _ACEOF
12267 XSLTLIBS="$ac_xslt_libs"
12268 XSLTINCL="$ac_xslt_cflags"
12269 ac_save_LIBS="$LIBS"
12270 LIBS="$LIBS $ac_xslt_libs"
12272 for ac_func in xsltInit
12274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12275 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12277 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12278 echo $ECHO_N "(cached) $ECHO_C" >&6
12279 else
12280 cat >conftest.$ac_ext <<_ACEOF
12281 /* confdefs.h. */
12282 _ACEOF
12283 cat confdefs.h >>conftest.$ac_ext
12284 cat >>conftest.$ac_ext <<_ACEOF
12285 /* end confdefs.h. */
12286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12288 #define $ac_func innocuous_$ac_func
12290 /* System header to define __stub macros and hopefully few prototypes,
12291 which can conflict with char $ac_func (); below.
12292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12293 <limits.h> exists even on freestanding compilers. */
12295 #ifdef __STDC__
12296 # include <limits.h>
12297 #else
12298 # include <assert.h>
12299 #endif
12301 #undef $ac_func
12303 /* Override any GCC internal prototype to avoid an error.
12304 Use char because int might match the return type of a GCC
12305 builtin and then its argument prototype would still apply. */
12306 #ifdef __cplusplus
12307 extern "C"
12308 #endif
12309 char $ac_func ();
12310 /* The GNU C library defines this for functions which it implements
12311 to always fail with ENOSYS. Some functions are actually named
12312 something starting with __ and the normal name is an alias. */
12313 #if defined __stub_$ac_func || defined __stub___$ac_func
12314 choke me
12315 #endif
12318 main ()
12320 return $ac_func ();
12322 return 0;
12324 _ACEOF
12325 rm -f conftest.$ac_objext conftest$ac_exeext
12326 if { (ac_try="$ac_link"
12327 case "(($ac_try" in
12328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12329 *) ac_try_echo=$ac_try;;
12330 esac
12331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12332 (eval "$ac_link") 2>conftest.er1
12333 ac_status=$?
12334 grep -v '^ *+' conftest.er1 >conftest.err
12335 rm -f conftest.er1
12336 cat conftest.err >&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); } && {
12339 test -z "$ac_c_werror_flag" ||
12340 test ! -s conftest.err
12341 } && test -s conftest$ac_exeext &&
12342 $as_test_x conftest$ac_exeext; then
12343 eval "$as_ac_var=yes"
12344 else
12345 echo "$as_me: failed program was:" >&5
12346 sed 's/^/| /' conftest.$ac_ext >&5
12348 eval "$as_ac_var=no"
12351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12352 conftest$ac_exeext conftest.$ac_ext
12354 ac_res=`eval echo '${'$as_ac_var'}'`
12355 { echo "$as_me:$LINENO: result: $ac_res" >&5
12356 echo "${ECHO_T}$ac_res" >&6; }
12357 if test `eval echo '${'$as_ac_var'}'` = yes; then
12358 cat >>confdefs.h <<_ACEOF
12359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12360 _ACEOF
12363 done
12365 LIBS="$ac_save_LIBS"
12370 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12371 case "x$with_xslt" in
12372 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12373 xno) ;;
12374 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12375 This is an error since --with-xslt was requested." >&5
12376 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12377 This is an error since --with-xslt was requested." >&2;}
12378 { (exit 1); exit 1; }; } ;;
12379 esac
12383 HALINCL=""
12385 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12386 then
12387 ac_save_CPPFLAGS="$CPPFLAGS"
12388 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12389 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12390 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12393 for ac_header in dbus/dbus.h hal/libhal.h
12395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12397 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12400 echo $ECHO_N "(cached) $ECHO_C" >&6
12402 ac_res=`eval echo '${'$as_ac_Header'}'`
12403 { echo "$as_me:$LINENO: result: $ac_res" >&5
12404 echo "${ECHO_T}$ac_res" >&6; }
12405 else
12406 # Is the header compilable?
12407 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12408 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12409 cat >conftest.$ac_ext <<_ACEOF
12410 /* confdefs.h. */
12411 _ACEOF
12412 cat confdefs.h >>conftest.$ac_ext
12413 cat >>conftest.$ac_ext <<_ACEOF
12414 /* end confdefs.h. */
12415 $ac_includes_default
12416 #include <$ac_header>
12417 _ACEOF
12418 rm -f conftest.$ac_objext
12419 if { (ac_try="$ac_compile"
12420 case "(($ac_try" in
12421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12422 *) ac_try_echo=$ac_try;;
12423 esac
12424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12425 (eval "$ac_compile") 2>conftest.er1
12426 ac_status=$?
12427 grep -v '^ *+' conftest.er1 >conftest.err
12428 rm -f conftest.er1
12429 cat conftest.err >&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } && {
12432 test -z "$ac_c_werror_flag" ||
12433 test ! -s conftest.err
12434 } && test -s conftest.$ac_objext; then
12435 ac_header_compiler=yes
12436 else
12437 echo "$as_me: failed program was:" >&5
12438 sed 's/^/| /' conftest.$ac_ext >&5
12440 ac_header_compiler=no
12443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12444 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12445 echo "${ECHO_T}$ac_header_compiler" >&6; }
12447 # Is the header present?
12448 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12450 cat >conftest.$ac_ext <<_ACEOF
12451 /* confdefs.h. */
12452 _ACEOF
12453 cat confdefs.h >>conftest.$ac_ext
12454 cat >>conftest.$ac_ext <<_ACEOF
12455 /* end confdefs.h. */
12456 #include <$ac_header>
12457 _ACEOF
12458 if { (ac_try="$ac_cpp conftest.$ac_ext"
12459 case "(($ac_try" in
12460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12461 *) ac_try_echo=$ac_try;;
12462 esac
12463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12464 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12465 ac_status=$?
12466 grep -v '^ *+' conftest.er1 >conftest.err
12467 rm -f conftest.er1
12468 cat conftest.err >&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); } >/dev/null && {
12471 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12472 test ! -s conftest.err
12473 }; then
12474 ac_header_preproc=yes
12475 else
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.$ac_ext >&5
12479 ac_header_preproc=no
12482 rm -f conftest.err conftest.$ac_ext
12483 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12484 echo "${ECHO_T}$ac_header_preproc" >&6; }
12486 # So? What about this header?
12487 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12488 yes:no: )
12489 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12490 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12492 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12493 ac_header_preproc=yes
12495 no:yes:* )
12496 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12497 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12498 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12499 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12500 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12501 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12502 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12503 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12506 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12507 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12508 ( cat <<\_ASBOX
12509 ## ------------------------------------ ##
12510 ## Report this to wine-devel@winehq.org ##
12511 ## ------------------------------------ ##
12512 _ASBOX
12513 ) | sed "s/^/$as_me: WARNING: /" >&2
12515 esac
12516 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12519 echo $ECHO_N "(cached) $ECHO_C" >&6
12520 else
12521 eval "$as_ac_Header=\$ac_header_preproc"
12523 ac_res=`eval echo '${'$as_ac_Header'}'`
12524 { echo "$as_me:$LINENO: result: $ac_res" >&5
12525 echo "${ECHO_T}$ac_res" >&6; }
12528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12529 cat >>confdefs.h <<_ACEOF
12530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12531 _ACEOF
12535 done
12537 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12538 then
12539 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12540 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12541 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12543 else
12544 ac_check_lib_save_LIBS=$LIBS
12545 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12546 cat >conftest.$ac_ext <<_ACEOF
12547 /* confdefs.h. */
12548 _ACEOF
12549 cat confdefs.h >>conftest.$ac_ext
12550 cat >>conftest.$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12553 /* Override any GCC internal prototype to avoid an error.
12554 Use char because int might match the return type of a GCC
12555 builtin and then its argument prototype would still apply. */
12556 #ifdef __cplusplus
12557 extern "C"
12558 #endif
12559 char dbus_connection_close ();
12561 main ()
12563 return dbus_connection_close ();
12565 return 0;
12567 _ACEOF
12568 rm -f conftest.$ac_objext conftest$ac_exeext
12569 if { (ac_try="$ac_link"
12570 case "(($ac_try" in
12571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12572 *) ac_try_echo=$ac_try;;
12573 esac
12574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12575 (eval "$ac_link") 2>conftest.er1
12576 ac_status=$?
12577 grep -v '^ *+' conftest.er1 >conftest.err
12578 rm -f conftest.er1
12579 cat conftest.err >&5
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); } && {
12582 test -z "$ac_c_werror_flag" ||
12583 test ! -s conftest.err
12584 } && test -s conftest$ac_exeext &&
12585 $as_test_x conftest$ac_exeext; then
12586 ac_cv_lib_dbus_1_dbus_connection_close=yes
12587 else
12588 echo "$as_me: failed program was:" >&5
12589 sed 's/^/| /' conftest.$ac_ext >&5
12591 ac_cv_lib_dbus_1_dbus_connection_close=no
12594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12595 conftest$ac_exeext conftest.$ac_ext
12596 LIBS=$ac_check_lib_save_LIBS
12598 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12599 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12600 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12601 { echo "$as_me:$LINENO: checking for -lhal" >&5
12602 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12603 if test "${ac_cv_lib_soname_hal+set}" = set; then
12604 echo $ECHO_N "(cached) $ECHO_C" >&6
12605 else
12606 ac_check_soname_save_LIBS=$LIBS
12607 LIBS="-lhal $ac_hal_libs $LIBS"
12608 cat >conftest.$ac_ext <<_ACEOF
12609 /* confdefs.h. */
12610 _ACEOF
12611 cat confdefs.h >>conftest.$ac_ext
12612 cat >>conftest.$ac_ext <<_ACEOF
12613 /* end confdefs.h. */
12615 /* Override any GCC internal prototype to avoid an error.
12616 Use char because int might match the return type of a GCC
12617 builtin and then its argument prototype would still apply. */
12618 #ifdef __cplusplus
12619 extern "C"
12620 #endif
12621 char libhal_ctx_new ();
12623 main ()
12625 return libhal_ctx_new ();
12627 return 0;
12629 _ACEOF
12630 rm -f conftest.$ac_objext conftest$ac_exeext
12631 if { (ac_try="$ac_link"
12632 case "(($ac_try" in
12633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12634 *) ac_try_echo=$ac_try;;
12635 esac
12636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12637 (eval "$ac_link") 2>conftest.er1
12638 ac_status=$?
12639 grep -v '^ *+' conftest.er1 >conftest.err
12640 rm -f conftest.er1
12641 cat conftest.err >&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); } && {
12644 test -z "$ac_c_werror_flag" ||
12645 test ! -s conftest.err
12646 } && test -s conftest$ac_exeext &&
12647 $as_test_x conftest$ac_exeext; then
12648 case "$LIBEXT" in
12649 dll) ;;
12650 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'` ;;
12651 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12652 esac
12653 else
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.$ac_ext >&5
12660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12661 conftest$ac_exeext conftest.$ac_ext
12662 LIBS=$ac_check_soname_save_LIBS
12664 if test "x$ac_cv_lib_soname_hal" = "x"; then
12665 { echo "$as_me:$LINENO: result: not found" >&5
12666 echo "${ECHO_T}not found" >&6; }
12668 else
12669 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12670 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12672 cat >>confdefs.h <<_ACEOF
12673 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12674 _ACEOF
12676 HALINCL="$ac_hal_cflags"
12682 CPPFLAGS="$ac_save_CPPFLAGS"
12684 if test "x$ac_cv_lib_soname_hal" = "x"; then
12685 case "x$with_hal" in
12686 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12687 xno) ;;
12688 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12689 This is an error since --with-hal was requested." >&5
12690 echo "$as_me: error: libhal development files not found, no dynamic device support.
12691 This is an error since --with-hal was requested." >&2;}
12692 { (exit 1); exit 1; }; } ;;
12693 esac
12697 CURSESLIBS=""
12698 if test "$ac_cv_header_ncurses_h" = "yes"
12699 then
12700 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12701 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12702 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12703 echo $ECHO_N "(cached) $ECHO_C" >&6
12704 else
12705 ac_check_soname_save_LIBS=$LIBS
12706 LIBS="-lncurses $LIBS"
12707 cat >conftest.$ac_ext <<_ACEOF
12708 /* confdefs.h. */
12709 _ACEOF
12710 cat confdefs.h >>conftest.$ac_ext
12711 cat >>conftest.$ac_ext <<_ACEOF
12712 /* end confdefs.h. */
12714 /* Override any GCC internal prototype to avoid an error.
12715 Use char because int might match the return type of a GCC
12716 builtin and then its argument prototype would still apply. */
12717 #ifdef __cplusplus
12718 extern "C"
12719 #endif
12720 char waddch ();
12722 main ()
12724 return waddch ();
12726 return 0;
12728 _ACEOF
12729 rm -f conftest.$ac_objext conftest$ac_exeext
12730 if { (ac_try="$ac_link"
12731 case "(($ac_try" in
12732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12733 *) ac_try_echo=$ac_try;;
12734 esac
12735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12736 (eval "$ac_link") 2>conftest.er1
12737 ac_status=$?
12738 grep -v '^ *+' conftest.er1 >conftest.err
12739 rm -f conftest.er1
12740 cat conftest.err >&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); } && {
12743 test -z "$ac_c_werror_flag" ||
12744 test ! -s conftest.err
12745 } && test -s conftest$ac_exeext &&
12746 $as_test_x conftest$ac_exeext; then
12747 case "$LIBEXT" in
12748 dll) ;;
12749 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'` ;;
12750 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12751 esac
12752 else
12753 echo "$as_me: failed program was:" >&5
12754 sed 's/^/| /' conftest.$ac_ext >&5
12759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12760 conftest$ac_exeext conftest.$ac_ext
12761 LIBS=$ac_check_soname_save_LIBS
12763 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12764 { echo "$as_me:$LINENO: result: not found" >&5
12765 echo "${ECHO_T}not found" >&6; }
12767 else
12768 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12769 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12771 cat >>confdefs.h <<_ACEOF
12772 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12773 _ACEOF
12775 CURSESLIBS="-lncurses"
12778 elif test "$ac_cv_header_curses_h" = "yes"
12779 then
12780 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12781 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12782 if test "${ac_cv_lib_soname_curses+set}" = set; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12784 else
12785 ac_check_soname_save_LIBS=$LIBS
12786 LIBS="-lcurses $LIBS"
12787 cat >conftest.$ac_ext <<_ACEOF
12788 /* confdefs.h. */
12789 _ACEOF
12790 cat confdefs.h >>conftest.$ac_ext
12791 cat >>conftest.$ac_ext <<_ACEOF
12792 /* end confdefs.h. */
12794 /* Override any GCC internal prototype to avoid an error.
12795 Use char because int might match the return type of a GCC
12796 builtin and then its argument prototype would still apply. */
12797 #ifdef __cplusplus
12798 extern "C"
12799 #endif
12800 char waddch ();
12802 main ()
12804 return waddch ();
12806 return 0;
12808 _ACEOF
12809 rm -f conftest.$ac_objext conftest$ac_exeext
12810 if { (ac_try="$ac_link"
12811 case "(($ac_try" in
12812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12813 *) ac_try_echo=$ac_try;;
12814 esac
12815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12816 (eval "$ac_link") 2>conftest.er1
12817 ac_status=$?
12818 grep -v '^ *+' conftest.er1 >conftest.err
12819 rm -f conftest.er1
12820 cat conftest.err >&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); } && {
12823 test -z "$ac_c_werror_flag" ||
12824 test ! -s conftest.err
12825 } && test -s conftest$ac_exeext &&
12826 $as_test_x conftest$ac_exeext; then
12827 case "$LIBEXT" in
12828 dll) ;;
12829 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'` ;;
12830 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12831 esac
12832 else
12833 echo "$as_me: failed program was:" >&5
12834 sed 's/^/| /' conftest.$ac_ext >&5
12839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12840 conftest$ac_exeext conftest.$ac_ext
12841 LIBS=$ac_check_soname_save_LIBS
12843 if test "x$ac_cv_lib_soname_curses" = "x"; then
12844 { echo "$as_me:$LINENO: result: not found" >&5
12845 echo "${ECHO_T}not found" >&6; }
12847 else
12848 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12849 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12851 cat >>confdefs.h <<_ACEOF
12852 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12853 _ACEOF
12855 CURSESLIBS="-lcurses"
12859 ac_save_LIBS="$LIBS"
12860 LIBS="$LIBS $CURSESLIBS"
12862 for ac_func in mousemask
12864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12865 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12867 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12868 echo $ECHO_N "(cached) $ECHO_C" >&6
12869 else
12870 cat >conftest.$ac_ext <<_ACEOF
12871 /* confdefs.h. */
12872 _ACEOF
12873 cat confdefs.h >>conftest.$ac_ext
12874 cat >>conftest.$ac_ext <<_ACEOF
12875 /* end confdefs.h. */
12876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12878 #define $ac_func innocuous_$ac_func
12880 /* System header to define __stub macros and hopefully few prototypes,
12881 which can conflict with char $ac_func (); below.
12882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12883 <limits.h> exists even on freestanding compilers. */
12885 #ifdef __STDC__
12886 # include <limits.h>
12887 #else
12888 # include <assert.h>
12889 #endif
12891 #undef $ac_func
12893 /* Override any GCC internal prototype to avoid an error.
12894 Use char because int might match the return type of a GCC
12895 builtin and then its argument prototype would still apply. */
12896 #ifdef __cplusplus
12897 extern "C"
12898 #endif
12899 char $ac_func ();
12900 /* The GNU C library defines this for functions which it implements
12901 to always fail with ENOSYS. Some functions are actually named
12902 something starting with __ and the normal name is an alias. */
12903 #if defined __stub_$ac_func || defined __stub___$ac_func
12904 choke me
12905 #endif
12908 main ()
12910 return $ac_func ();
12912 return 0;
12914 _ACEOF
12915 rm -f conftest.$ac_objext conftest$ac_exeext
12916 if { (ac_try="$ac_link"
12917 case "(($ac_try" in
12918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12919 *) ac_try_echo=$ac_try;;
12920 esac
12921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12922 (eval "$ac_link") 2>conftest.er1
12923 ac_status=$?
12924 grep -v '^ *+' conftest.er1 >conftest.err
12925 rm -f conftest.er1
12926 cat conftest.err >&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } && {
12929 test -z "$ac_c_werror_flag" ||
12930 test ! -s conftest.err
12931 } && test -s conftest$ac_exeext &&
12932 $as_test_x conftest$ac_exeext; then
12933 eval "$as_ac_var=yes"
12934 else
12935 echo "$as_me: failed program was:" >&5
12936 sed 's/^/| /' conftest.$ac_ext >&5
12938 eval "$as_ac_var=no"
12941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12942 conftest$ac_exeext conftest.$ac_ext
12944 ac_res=`eval echo '${'$as_ac_var'}'`
12945 { echo "$as_me:$LINENO: result: $ac_res" >&5
12946 echo "${ECHO_T}$ac_res" >&6; }
12947 if test `eval echo '${'$as_ac_var'}'` = yes; then
12948 cat >>confdefs.h <<_ACEOF
12949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12950 _ACEOF
12953 done
12955 LIBS="$ac_save_LIBS"
12956 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12957 case "x$with_curses" in
12958 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12959 xno) ;;
12960 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12961 This is an error since --with-curses was requested." >&5
12962 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12963 This is an error since --with-curses was requested." >&2;}
12964 { (exit 1); exit 1; }; } ;;
12965 esac
12969 # Extract the first word of "sane-config", so it can be a program name with args.
12970 set dummy sane-config; ac_word=$2
12971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12973 if test "${ac_cv_prog_sane_devel+set}" = set; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12975 else
12976 if test -n "$sane_devel"; then
12977 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12978 else
12979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12980 for as_dir in $PATH
12982 IFS=$as_save_IFS
12983 test -z "$as_dir" && as_dir=.
12984 for ac_exec_ext in '' $ac_executable_extensions; do
12985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12986 ac_cv_prog_sane_devel="sane-config"
12987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12988 break 2
12990 done
12991 done
12992 IFS=$as_save_IFS
12994 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12997 sane_devel=$ac_cv_prog_sane_devel
12998 if test -n "$sane_devel"; then
12999 { echo "$as_me:$LINENO: result: $sane_devel" >&5
13000 echo "${ECHO_T}$sane_devel" >&6; }
13001 else
13002 { echo "$as_me:$LINENO: result: no" >&5
13003 echo "${ECHO_T}no" >&6; }
13007 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
13008 then
13009 ac_sane_incl="`$sane_devel --cflags`"
13010 ac_save_CPPFLAGS="$CPPFLAGS"
13011 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
13012 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13013 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13014 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13015 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13016 echo $ECHO_N "(cached) $ECHO_C" >&6
13018 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13019 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13020 else
13021 # Is the header compilable?
13022 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
13023 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
13024 cat >conftest.$ac_ext <<_ACEOF
13025 /* confdefs.h. */
13026 _ACEOF
13027 cat confdefs.h >>conftest.$ac_ext
13028 cat >>conftest.$ac_ext <<_ACEOF
13029 /* end confdefs.h. */
13030 $ac_includes_default
13031 #include <sane/sane.h>
13032 _ACEOF
13033 rm -f conftest.$ac_objext
13034 if { (ac_try="$ac_compile"
13035 case "(($ac_try" in
13036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13037 *) ac_try_echo=$ac_try;;
13038 esac
13039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13040 (eval "$ac_compile") 2>conftest.er1
13041 ac_status=$?
13042 grep -v '^ *+' conftest.er1 >conftest.err
13043 rm -f conftest.er1
13044 cat conftest.err >&5
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); } && {
13047 test -z "$ac_c_werror_flag" ||
13048 test ! -s conftest.err
13049 } && test -s conftest.$ac_objext; then
13050 ac_header_compiler=yes
13051 else
13052 echo "$as_me: failed program was:" >&5
13053 sed 's/^/| /' conftest.$ac_ext >&5
13055 ac_header_compiler=no
13058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13059 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13060 echo "${ECHO_T}$ac_header_compiler" >&6; }
13062 # Is the header present?
13063 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
13064 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
13065 cat >conftest.$ac_ext <<_ACEOF
13066 /* confdefs.h. */
13067 _ACEOF
13068 cat confdefs.h >>conftest.$ac_ext
13069 cat >>conftest.$ac_ext <<_ACEOF
13070 /* end confdefs.h. */
13071 #include <sane/sane.h>
13072 _ACEOF
13073 if { (ac_try="$ac_cpp conftest.$ac_ext"
13074 case "(($ac_try" in
13075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13076 *) ac_try_echo=$ac_try;;
13077 esac
13078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13080 ac_status=$?
13081 grep -v '^ *+' conftest.er1 >conftest.err
13082 rm -f conftest.er1
13083 cat conftest.err >&5
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); } >/dev/null && {
13086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13087 test ! -s conftest.err
13088 }; then
13089 ac_header_preproc=yes
13090 else
13091 echo "$as_me: failed program was:" >&5
13092 sed 's/^/| /' conftest.$ac_ext >&5
13094 ac_header_preproc=no
13097 rm -f conftest.err conftest.$ac_ext
13098 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13099 echo "${ECHO_T}$ac_header_preproc" >&6; }
13101 # So? What about this header?
13102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13103 yes:no: )
13104 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
13105 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13106 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
13107 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
13108 ac_header_preproc=yes
13110 no:yes:* )
13111 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
13112 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
13113 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
13114 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
13115 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
13116 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
13117 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
13118 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
13119 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
13120 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
13121 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
13122 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
13123 ( cat <<\_ASBOX
13124 ## ------------------------------------ ##
13125 ## Report this to wine-devel@winehq.org ##
13126 ## ------------------------------------ ##
13127 _ASBOX
13128 ) | sed "s/^/$as_me: WARNING: /" >&2
13130 esac
13131 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13132 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13133 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13134 echo $ECHO_N "(cached) $ECHO_C" >&6
13135 else
13136 ac_cv_header_sane_sane_h=$ac_header_preproc
13138 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13139 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13142 if test $ac_cv_header_sane_sane_h = yes; then
13143 { echo "$as_me:$LINENO: checking for -lsane" >&5
13144 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13145 if test "${ac_cv_lib_soname_sane+set}" = set; then
13146 echo $ECHO_N "(cached) $ECHO_C" >&6
13147 else
13148 ac_check_soname_save_LIBS=$LIBS
13149 LIBS="-lsane $LIBS"
13150 cat >conftest.$ac_ext <<_ACEOF
13151 /* confdefs.h. */
13152 _ACEOF
13153 cat confdefs.h >>conftest.$ac_ext
13154 cat >>conftest.$ac_ext <<_ACEOF
13155 /* end confdefs.h. */
13157 /* Override any GCC internal prototype to avoid an error.
13158 Use char because int might match the return type of a GCC
13159 builtin and then its argument prototype would still apply. */
13160 #ifdef __cplusplus
13161 extern "C"
13162 #endif
13163 char sane_init ();
13165 main ()
13167 return sane_init ();
13169 return 0;
13171 _ACEOF
13172 rm -f conftest.$ac_objext conftest$ac_exeext
13173 if { (ac_try="$ac_link"
13174 case "(($ac_try" in
13175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13176 *) ac_try_echo=$ac_try;;
13177 esac
13178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13179 (eval "$ac_link") 2>conftest.er1
13180 ac_status=$?
13181 grep -v '^ *+' conftest.er1 >conftest.err
13182 rm -f conftest.er1
13183 cat conftest.err >&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); } && {
13186 test -z "$ac_c_werror_flag" ||
13187 test ! -s conftest.err
13188 } && test -s conftest$ac_exeext &&
13189 $as_test_x conftest$ac_exeext; then
13190 case "$LIBEXT" in
13191 dll) ;;
13192 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'` ;;
13193 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13194 esac
13195 else
13196 echo "$as_me: failed program was:" >&5
13197 sed 's/^/| /' conftest.$ac_ext >&5
13202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13203 conftest$ac_exeext conftest.$ac_ext
13204 LIBS=$ac_check_soname_save_LIBS
13206 if test "x$ac_cv_lib_soname_sane" = "x"; then
13207 { echo "$as_me:$LINENO: result: not found" >&5
13208 echo "${ECHO_T}not found" >&6; }
13210 else
13211 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13212 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13214 cat >>confdefs.h <<_ACEOF
13215 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13216 _ACEOF
13218 SANEINCL="$ac_sane_incl"
13225 CPPFLAGS="$ac_save_CPPFLAGS"
13227 if test "x$ac_cv_lib_soname_sane" = "x"; then
13228 case "x$with_sane" in
13229 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13230 xno) ;;
13231 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13232 This is an error since --with-sane was requested." >&5
13233 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13234 This is an error since --with-sane was requested." >&2;}
13235 { (exit 1); exit 1; }; } ;;
13236 esac
13240 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13241 set dummy gphoto2-config; ac_word=$2
13242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13244 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13245 echo $ECHO_N "(cached) $ECHO_C" >&6
13246 else
13247 if test -n "$gphoto2_devel"; then
13248 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13249 else
13250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13251 for as_dir in $PATH
13253 IFS=$as_save_IFS
13254 test -z "$as_dir" && as_dir=.
13255 for ac_exec_ext in '' $ac_executable_extensions; do
13256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13257 ac_cv_prog_gphoto2_devel="gphoto2-config"
13258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13259 break 2
13261 done
13262 done
13263 IFS=$as_save_IFS
13265 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13268 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13269 if test -n "$gphoto2_devel"; then
13270 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13271 echo "${ECHO_T}$gphoto2_devel" >&6; }
13272 else
13273 { echo "$as_me:$LINENO: result: no" >&5
13274 echo "${ECHO_T}no" >&6; }
13278 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13279 set dummy gphoto2-port-config; ac_word=$2
13280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13282 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13283 echo $ECHO_N "(cached) $ECHO_C" >&6
13284 else
13285 if test -n "$gphoto2port_devel"; then
13286 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13287 else
13288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13289 for as_dir in $PATH
13291 IFS=$as_save_IFS
13292 test -z "$as_dir" && as_dir=.
13293 for ac_exec_ext in '' $ac_executable_extensions; do
13294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13295 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13297 break 2
13299 done
13300 done
13301 IFS=$as_save_IFS
13303 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13306 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13307 if test -n "$gphoto2port_devel"; then
13308 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13309 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13310 else
13311 { echo "$as_me:$LINENO: result: no" >&5
13312 echo "${ECHO_T}no" >&6; }
13316 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13317 then
13318 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13319 ac_gphoto2_libs=""
13320 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13322 case "$i" in
13323 -L/usr/lib|-L/usr/lib64) ;;
13324 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13325 esac
13326 done
13327 ac_save_CPPFLAGS="$CPPFLAGS"
13328 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13329 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13330 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13331 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13332 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13333 echo $ECHO_N "(cached) $ECHO_C" >&6
13335 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13336 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13337 else
13338 # Is the header compilable?
13339 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13340 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13341 cat >conftest.$ac_ext <<_ACEOF
13342 /* confdefs.h. */
13343 _ACEOF
13344 cat confdefs.h >>conftest.$ac_ext
13345 cat >>conftest.$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13347 $ac_includes_default
13348 #include <gphoto2-camera.h>
13349 _ACEOF
13350 rm -f conftest.$ac_objext
13351 if { (ac_try="$ac_compile"
13352 case "(($ac_try" in
13353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13354 *) ac_try_echo=$ac_try;;
13355 esac
13356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13357 (eval "$ac_compile") 2>conftest.er1
13358 ac_status=$?
13359 grep -v '^ *+' conftest.er1 >conftest.err
13360 rm -f conftest.er1
13361 cat conftest.err >&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } && {
13364 test -z "$ac_c_werror_flag" ||
13365 test ! -s conftest.err
13366 } && test -s conftest.$ac_objext; then
13367 ac_header_compiler=yes
13368 else
13369 echo "$as_me: failed program was:" >&5
13370 sed 's/^/| /' conftest.$ac_ext >&5
13372 ac_header_compiler=no
13375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13376 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13377 echo "${ECHO_T}$ac_header_compiler" >&6; }
13379 # Is the header present?
13380 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13381 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13382 cat >conftest.$ac_ext <<_ACEOF
13383 /* confdefs.h. */
13384 _ACEOF
13385 cat confdefs.h >>conftest.$ac_ext
13386 cat >>conftest.$ac_ext <<_ACEOF
13387 /* end confdefs.h. */
13388 #include <gphoto2-camera.h>
13389 _ACEOF
13390 if { (ac_try="$ac_cpp conftest.$ac_ext"
13391 case "(($ac_try" in
13392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13393 *) ac_try_echo=$ac_try;;
13394 esac
13395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13396 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13397 ac_status=$?
13398 grep -v '^ *+' conftest.er1 >conftest.err
13399 rm -f conftest.er1
13400 cat conftest.err >&5
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); } >/dev/null && {
13403 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13404 test ! -s conftest.err
13405 }; then
13406 ac_header_preproc=yes
13407 else
13408 echo "$as_me: failed program was:" >&5
13409 sed 's/^/| /' conftest.$ac_ext >&5
13411 ac_header_preproc=no
13414 rm -f conftest.err conftest.$ac_ext
13415 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13416 echo "${ECHO_T}$ac_header_preproc" >&6; }
13418 # So? What about this header?
13419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13420 yes:no: )
13421 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13422 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13423 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13424 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13425 ac_header_preproc=yes
13427 no:yes:* )
13428 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13429 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13430 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13431 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13432 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13433 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13435 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13436 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13437 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13438 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13439 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13440 ( cat <<\_ASBOX
13441 ## ------------------------------------ ##
13442 ## Report this to wine-devel@winehq.org ##
13443 ## ------------------------------------ ##
13444 _ASBOX
13445 ) | sed "s/^/$as_me: WARNING: /" >&2
13447 esac
13448 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13449 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13450 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13451 echo $ECHO_N "(cached) $ECHO_C" >&6
13452 else
13453 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13455 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13456 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13459 if test $ac_cv_header_gphoto2_camera_h = yes; then
13460 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13461 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13462 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13463 echo $ECHO_N "(cached) $ECHO_C" >&6
13464 else
13465 ac_check_lib_save_LIBS=$LIBS
13466 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13467 cat >conftest.$ac_ext <<_ACEOF
13468 /* confdefs.h. */
13469 _ACEOF
13470 cat confdefs.h >>conftest.$ac_ext
13471 cat >>conftest.$ac_ext <<_ACEOF
13472 /* end confdefs.h. */
13474 /* Override any GCC internal prototype to avoid an error.
13475 Use char because int might match the return type of a GCC
13476 builtin and then its argument prototype would still apply. */
13477 #ifdef __cplusplus
13478 extern "C"
13479 #endif
13480 char gp_camera_new ();
13482 main ()
13484 return gp_camera_new ();
13486 return 0;
13488 _ACEOF
13489 rm -f conftest.$ac_objext conftest$ac_exeext
13490 if { (ac_try="$ac_link"
13491 case "(($ac_try" in
13492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13493 *) ac_try_echo=$ac_try;;
13494 esac
13495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13496 (eval "$ac_link") 2>conftest.er1
13497 ac_status=$?
13498 grep -v '^ *+' conftest.er1 >conftest.err
13499 rm -f conftest.er1
13500 cat conftest.err >&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); } && {
13503 test -z "$ac_c_werror_flag" ||
13504 test ! -s conftest.err
13505 } && test -s conftest$ac_exeext &&
13506 $as_test_x conftest$ac_exeext; then
13507 ac_cv_lib_gphoto2_gp_camera_new=yes
13508 else
13509 echo "$as_me: failed program was:" >&5
13510 sed 's/^/| /' conftest.$ac_ext >&5
13512 ac_cv_lib_gphoto2_gp_camera_new=no
13515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13516 conftest$ac_exeext conftest.$ac_ext
13517 LIBS=$ac_check_lib_save_LIBS
13519 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13520 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13521 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13523 cat >>confdefs.h <<\_ACEOF
13524 #define HAVE_GPHOTO2 1
13525 _ACEOF
13527 GPHOTO2LIBS="$ac_gphoto2_libs"
13529 GPHOTO2INCL="$ac_gphoto2_incl"
13536 CPPFLAGS="$ac_save_CPPFLAGS"
13538 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13539 case "x$with_gphoto" in
13540 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13541 xno) ;;
13542 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13543 This is an error since --with-gphoto was requested." >&5
13544 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13545 This is an error since --with-gphoto was requested." >&2;}
13546 { (exit 1); exit 1; }; } ;;
13547 esac
13552 RESOLVLIBS=""
13554 if test "$ac_cv_header_resolv_h" = "yes"
13555 then
13556 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13557 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13558 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13559 echo $ECHO_N "(cached) $ECHO_C" >&6
13560 else
13561 ac_check_lib_save_LIBS=$LIBS
13562 LIBS="-lresolv $LIBS"
13563 cat >conftest.$ac_ext <<_ACEOF
13564 /* confdefs.h. */
13565 _ACEOF
13566 cat confdefs.h >>conftest.$ac_ext
13567 cat >>conftest.$ac_ext <<_ACEOF
13568 /* end confdefs.h. */
13570 /* Override any GCC internal prototype to avoid an error.
13571 Use char because int might match the return type of a GCC
13572 builtin and then its argument prototype would still apply. */
13573 #ifdef __cplusplus
13574 extern "C"
13575 #endif
13576 char res_query ();
13578 main ()
13580 return res_query ();
13582 return 0;
13584 _ACEOF
13585 rm -f conftest.$ac_objext conftest$ac_exeext
13586 if { (ac_try="$ac_link"
13587 case "(($ac_try" in
13588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13589 *) ac_try_echo=$ac_try;;
13590 esac
13591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13592 (eval "$ac_link") 2>conftest.er1
13593 ac_status=$?
13594 grep -v '^ *+' conftest.er1 >conftest.err
13595 rm -f conftest.er1
13596 cat conftest.err >&5
13597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598 (exit $ac_status); } && {
13599 test -z "$ac_c_werror_flag" ||
13600 test ! -s conftest.err
13601 } && test -s conftest$ac_exeext &&
13602 $as_test_x conftest$ac_exeext; then
13603 ac_cv_lib_resolv_res_query=yes
13604 else
13605 echo "$as_me: failed program was:" >&5
13606 sed 's/^/| /' conftest.$ac_ext >&5
13608 ac_cv_lib_resolv_res_query=no
13611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13612 conftest$ac_exeext conftest.$ac_ext
13613 LIBS=$ac_check_lib_save_LIBS
13615 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13616 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13617 if test $ac_cv_lib_resolv_res_query = yes; then
13619 cat >>confdefs.h <<\_ACEOF
13620 #define HAVE_RESOLV 1
13621 _ACEOF
13623 RESOLVLIBS="-lresolv"
13628 LCMSLIBS=""
13630 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13631 then
13632 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13633 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13634 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6
13636 else
13637 ac_check_lib_save_LIBS=$LIBS
13638 LIBS="-llcms $LIBS"
13639 cat >conftest.$ac_ext <<_ACEOF
13640 /* confdefs.h. */
13641 _ACEOF
13642 cat confdefs.h >>conftest.$ac_ext
13643 cat >>conftest.$ac_ext <<_ACEOF
13644 /* end confdefs.h. */
13646 /* Override any GCC internal prototype to avoid an error.
13647 Use char because int might match the return type of a GCC
13648 builtin and then its argument prototype would still apply. */
13649 #ifdef __cplusplus
13650 extern "C"
13651 #endif
13652 char cmsOpenProfileFromFile ();
13654 main ()
13656 return cmsOpenProfileFromFile ();
13658 return 0;
13660 _ACEOF
13661 rm -f conftest.$ac_objext conftest$ac_exeext
13662 if { (ac_try="$ac_link"
13663 case "(($ac_try" in
13664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13665 *) ac_try_echo=$ac_try;;
13666 esac
13667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13668 (eval "$ac_link") 2>conftest.er1
13669 ac_status=$?
13670 grep -v '^ *+' conftest.er1 >conftest.err
13671 rm -f conftest.er1
13672 cat conftest.err >&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); } && {
13675 test -z "$ac_c_werror_flag" ||
13676 test ! -s conftest.err
13677 } && test -s conftest$ac_exeext &&
13678 $as_test_x conftest$ac_exeext; then
13679 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13680 else
13681 echo "$as_me: failed program was:" >&5
13682 sed 's/^/| /' conftest.$ac_ext >&5
13684 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13688 conftest$ac_exeext conftest.$ac_ext
13689 LIBS=$ac_check_lib_save_LIBS
13691 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13692 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13693 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13695 cat >>confdefs.h <<\_ACEOF
13696 #define HAVE_LCMS 1
13697 _ACEOF
13699 LCMSLIBS="-llcms"
13703 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13704 case "x$with_cms" in
13705 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13706 xno) ;;
13707 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13708 This is an error since --with-cms was requested." >&5
13709 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13710 This is an error since --with-cms was requested." >&2;}
13711 { (exit 1); exit 1; }; } ;;
13712 esac
13716 LDAPLIBS=""
13718 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13719 then
13720 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13721 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13722 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13723 echo $ECHO_N "(cached) $ECHO_C" >&6
13724 else
13725 ac_check_lib_save_LIBS=$LIBS
13726 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13727 cat >conftest.$ac_ext <<_ACEOF
13728 /* confdefs.h. */
13729 _ACEOF
13730 cat confdefs.h >>conftest.$ac_ext
13731 cat >>conftest.$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13734 /* Override any GCC internal prototype to avoid an error.
13735 Use char because int might match the return type of a GCC
13736 builtin and then its argument prototype would still apply. */
13737 #ifdef __cplusplus
13738 extern "C"
13739 #endif
13740 char ldap_initialize ();
13742 main ()
13744 return ldap_initialize ();
13746 return 0;
13748 _ACEOF
13749 rm -f conftest.$ac_objext conftest$ac_exeext
13750 if { (ac_try="$ac_link"
13751 case "(($ac_try" in
13752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13753 *) ac_try_echo=$ac_try;;
13754 esac
13755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13756 (eval "$ac_link") 2>conftest.er1
13757 ac_status=$?
13758 grep -v '^ *+' conftest.er1 >conftest.err
13759 rm -f conftest.er1
13760 cat conftest.err >&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); } && {
13763 test -z "$ac_c_werror_flag" ||
13764 test ! -s conftest.err
13765 } && test -s conftest$ac_exeext &&
13766 $as_test_x conftest$ac_exeext; then
13767 ac_cv_lib_ldap_r_ldap_initialize=yes
13768 else
13769 echo "$as_me: failed program was:" >&5
13770 sed 's/^/| /' conftest.$ac_ext >&5
13772 ac_cv_lib_ldap_r_ldap_initialize=no
13775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13776 conftest$ac_exeext conftest.$ac_ext
13777 LIBS=$ac_check_lib_save_LIBS
13779 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13780 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13781 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13782 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13783 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13784 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 else
13787 ac_check_lib_save_LIBS=$LIBS
13788 LIBS="-llber $LIBPTHREAD $LIBS"
13789 cat >conftest.$ac_ext <<_ACEOF
13790 /* confdefs.h. */
13791 _ACEOF
13792 cat confdefs.h >>conftest.$ac_ext
13793 cat >>conftest.$ac_ext <<_ACEOF
13794 /* end confdefs.h. */
13796 /* Override any GCC internal prototype to avoid an error.
13797 Use char because int might match the return type of a GCC
13798 builtin and then its argument prototype would still apply. */
13799 #ifdef __cplusplus
13800 extern "C"
13801 #endif
13802 char ber_init ();
13804 main ()
13806 return ber_init ();
13808 return 0;
13810 _ACEOF
13811 rm -f conftest.$ac_objext conftest$ac_exeext
13812 if { (ac_try="$ac_link"
13813 case "(($ac_try" in
13814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13815 *) ac_try_echo=$ac_try;;
13816 esac
13817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13818 (eval "$ac_link") 2>conftest.er1
13819 ac_status=$?
13820 grep -v '^ *+' conftest.er1 >conftest.err
13821 rm -f conftest.er1
13822 cat conftest.err >&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); } && {
13825 test -z "$ac_c_werror_flag" ||
13826 test ! -s conftest.err
13827 } && test -s conftest$ac_exeext &&
13828 $as_test_x conftest$ac_exeext; then
13829 ac_cv_lib_lber_ber_init=yes
13830 else
13831 echo "$as_me: failed program was:" >&5
13832 sed 's/^/| /' conftest.$ac_ext >&5
13834 ac_cv_lib_lber_ber_init=no
13837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13838 conftest$ac_exeext conftest.$ac_ext
13839 LIBS=$ac_check_lib_save_LIBS
13841 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13842 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13843 if test $ac_cv_lib_lber_ber_init = yes; then
13845 cat >>confdefs.h <<\_ACEOF
13846 #define HAVE_LDAP 1
13847 _ACEOF
13849 LDAPLIBS="-lldap_r -llber"
13854 ac_wine_check_funcs_save_LIBS="$LIBS"
13855 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13864 for ac_func in \
13865 ldap_count_references \
13866 ldap_first_reference \
13867 ldap_next_reference \
13868 ldap_parse_reference \
13869 ldap_parse_sort_control \
13870 ldap_parse_sortresponse_control \
13871 ldap_parse_vlv_control \
13872 ldap_parse_vlvresponse_control
13874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13875 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13877 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13878 echo $ECHO_N "(cached) $ECHO_C" >&6
13879 else
13880 cat >conftest.$ac_ext <<_ACEOF
13881 /* confdefs.h. */
13882 _ACEOF
13883 cat confdefs.h >>conftest.$ac_ext
13884 cat >>conftest.$ac_ext <<_ACEOF
13885 /* end confdefs.h. */
13886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13888 #define $ac_func innocuous_$ac_func
13890 /* System header to define __stub macros and hopefully few prototypes,
13891 which can conflict with char $ac_func (); below.
13892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13893 <limits.h> exists even on freestanding compilers. */
13895 #ifdef __STDC__
13896 # include <limits.h>
13897 #else
13898 # include <assert.h>
13899 #endif
13901 #undef $ac_func
13903 /* Override any GCC internal prototype to avoid an error.
13904 Use char because int might match the return type of a GCC
13905 builtin and then its argument prototype would still apply. */
13906 #ifdef __cplusplus
13907 extern "C"
13908 #endif
13909 char $ac_func ();
13910 /* The GNU C library defines this for functions which it implements
13911 to always fail with ENOSYS. Some functions are actually named
13912 something starting with __ and the normal name is an alias. */
13913 #if defined __stub_$ac_func || defined __stub___$ac_func
13914 choke me
13915 #endif
13918 main ()
13920 return $ac_func ();
13922 return 0;
13924 _ACEOF
13925 rm -f conftest.$ac_objext conftest$ac_exeext
13926 if { (ac_try="$ac_link"
13927 case "(($ac_try" in
13928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13929 *) ac_try_echo=$ac_try;;
13930 esac
13931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13932 (eval "$ac_link") 2>conftest.er1
13933 ac_status=$?
13934 grep -v '^ *+' conftest.er1 >conftest.err
13935 rm -f conftest.er1
13936 cat conftest.err >&5
13937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938 (exit $ac_status); } && {
13939 test -z "$ac_c_werror_flag" ||
13940 test ! -s conftest.err
13941 } && test -s conftest$ac_exeext &&
13942 $as_test_x conftest$ac_exeext; then
13943 eval "$as_ac_var=yes"
13944 else
13945 echo "$as_me: failed program was:" >&5
13946 sed 's/^/| /' conftest.$ac_ext >&5
13948 eval "$as_ac_var=no"
13951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13952 conftest$ac_exeext conftest.$ac_ext
13954 ac_res=`eval echo '${'$as_ac_var'}'`
13955 { echo "$as_me:$LINENO: result: $ac_res" >&5
13956 echo "${ECHO_T}$ac_res" >&6; }
13957 if test `eval echo '${'$as_ac_var'}'` = yes; then
13958 cat >>confdefs.h <<_ACEOF
13959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13960 _ACEOF
13963 done
13965 LIBS="$ac_wine_check_funcs_save_LIBS"
13967 if test "x$LDAPLIBS" = "x"; then
13968 case "x$with_ldap" in
13969 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13970 xno) ;;
13971 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13972 This is an error since --with-ldap was requested." >&5
13973 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13974 This is an error since --with-ldap was requested." >&2;}
13975 { (exit 1); exit 1; }; } ;;
13976 esac
13980 for ac_prog in freetype-config freetype2-config
13982 # Extract the first word of "$ac_prog", so it can be a program name with args.
13983 set dummy $ac_prog; ac_word=$2
13984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13986 if test "${ac_cv_prog_ft_devel+set}" = set; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13988 else
13989 if test -n "$ft_devel"; then
13990 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13991 else
13992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13993 for as_dir in $PATH
13995 IFS=$as_save_IFS
13996 test -z "$as_dir" && as_dir=.
13997 for ac_exec_ext in '' $ac_executable_extensions; do
13998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13999 ac_cv_prog_ft_devel="$ac_prog"
14000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14001 break 2
14003 done
14004 done
14005 IFS=$as_save_IFS
14009 ft_devel=$ac_cv_prog_ft_devel
14010 if test -n "$ft_devel"; then
14011 { echo "$as_me:$LINENO: result: $ft_devel" >&5
14012 echo "${ECHO_T}$ft_devel" >&6; }
14013 else
14014 { echo "$as_me:$LINENO: result: no" >&5
14015 echo "${ECHO_T}no" >&6; }
14019 test -n "$ft_devel" && break
14020 done
14021 test -n "$ft_devel" || ft_devel="false"
14023 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
14024 then
14025 ac_freetype_libs=`$ft_devel --libs`
14026 ac_freetype_incl=`$ft_devel --cflags`
14027 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
14028 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
14029 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14030 echo $ECHO_N "(cached) $ECHO_C" >&6
14031 else
14032 ac_check_soname_save_LIBS=$LIBS
14033 LIBS="-lfreetype $ac_freetype_libs $LIBS"
14034 cat >conftest.$ac_ext <<_ACEOF
14035 /* confdefs.h. */
14036 _ACEOF
14037 cat confdefs.h >>conftest.$ac_ext
14038 cat >>conftest.$ac_ext <<_ACEOF
14039 /* end confdefs.h. */
14041 /* Override any GCC internal prototype to avoid an error.
14042 Use char because int might match the return type of a GCC
14043 builtin and then its argument prototype would still apply. */
14044 #ifdef __cplusplus
14045 extern "C"
14046 #endif
14047 char FT_Init_FreeType ();
14049 main ()
14051 return FT_Init_FreeType ();
14053 return 0;
14055 _ACEOF
14056 rm -f conftest.$ac_objext conftest$ac_exeext
14057 if { (ac_try="$ac_link"
14058 case "(($ac_try" in
14059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14060 *) ac_try_echo=$ac_try;;
14061 esac
14062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14063 (eval "$ac_link") 2>conftest.er1
14064 ac_status=$?
14065 grep -v '^ *+' conftest.er1 >conftest.err
14066 rm -f conftest.er1
14067 cat conftest.err >&5
14068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); } && {
14070 test -z "$ac_c_werror_flag" ||
14071 test ! -s conftest.err
14072 } && test -s conftest$ac_exeext &&
14073 $as_test_x conftest$ac_exeext; then
14074 case "$LIBEXT" in
14075 dll) ;;
14076 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'` ;;
14077 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14078 esac
14079 else
14080 echo "$as_me: failed program was:" >&5
14081 sed 's/^/| /' conftest.$ac_ext >&5
14086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14087 conftest$ac_exeext conftest.$ac_ext
14088 LIBS=$ac_check_soname_save_LIBS
14090 if test "x$ac_cv_lib_soname_freetype" = "x"; then
14091 { echo "$as_me:$LINENO: result: not found" >&5
14092 echo "${ECHO_T}not found" >&6; }
14093 ft_lib=no
14094 else
14095 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14096 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14098 cat >>confdefs.h <<_ACEOF
14099 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14100 _ACEOF
14102 ft_lib=yes
14105 if test "$ft_lib" = "yes"
14106 then
14107 ac_save_CPPFLAGS="$CPPFLAGS"
14108 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
14121 for ac_header in ft2build.h \
14122 freetype/freetype.h \
14123 freetype/ftglyph.h \
14124 freetype/fttypes.h \
14125 freetype/tttables.h \
14126 freetype/ftnames.h \
14127 freetype/ftsnames.h \
14128 freetype/ttnameid.h \
14129 freetype/ftoutln.h \
14130 freetype/ftwinfnt.h \
14131 freetype/ftmodapi.h \
14132 freetype/internal/sfnt.h
14134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14135 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14138 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 else
14140 cat >conftest.$ac_ext <<_ACEOF
14141 /* confdefs.h. */
14142 _ACEOF
14143 cat confdefs.h >>conftest.$ac_ext
14144 cat >>conftest.$ac_ext <<_ACEOF
14145 /* end confdefs.h. */
14146 #ifdef HAVE_FT2BUILD_H
14147 # include <ft2build.h>
14148 #endif
14150 #include <$ac_header>
14151 _ACEOF
14152 rm -f conftest.$ac_objext
14153 if { (ac_try="$ac_compile"
14154 case "(($ac_try" in
14155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14156 *) ac_try_echo=$ac_try;;
14157 esac
14158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14159 (eval "$ac_compile") 2>conftest.er1
14160 ac_status=$?
14161 grep -v '^ *+' conftest.er1 >conftest.err
14162 rm -f conftest.er1
14163 cat conftest.err >&5
14164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14165 (exit $ac_status); } && {
14166 test -z "$ac_c_werror_flag" ||
14167 test ! -s conftest.err
14168 } && test -s conftest.$ac_objext; then
14169 eval "$as_ac_Header=yes"
14170 else
14171 echo "$as_me: failed program was:" >&5
14172 sed 's/^/| /' conftest.$ac_ext >&5
14174 eval "$as_ac_Header=no"
14177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14179 ac_res=`eval echo '${'$as_ac_Header'}'`
14180 { echo "$as_me:$LINENO: result: $ac_res" >&5
14181 echo "${ECHO_T}$ac_res" >&6; }
14182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14183 cat >>confdefs.h <<_ACEOF
14184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14185 _ACEOF
14189 done
14191 cat >conftest.$ac_ext <<_ACEOF
14192 /* confdefs.h. */
14193 _ACEOF
14194 cat confdefs.h >>conftest.$ac_ext
14195 cat >>conftest.$ac_ext <<_ACEOF
14196 /* end confdefs.h. */
14197 #include <ft2build.h>
14198 #include <freetype/fttrigon.h>
14199 _ACEOF
14200 if { (ac_try="$ac_cpp conftest.$ac_ext"
14201 case "(($ac_try" in
14202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14203 *) ac_try_echo=$ac_try;;
14204 esac
14205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14206 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14207 ac_status=$?
14208 grep -v '^ *+' conftest.er1 >conftest.err
14209 rm -f conftest.er1
14210 cat conftest.err >&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); } >/dev/null && {
14213 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14214 test ! -s conftest.err
14215 }; then
14217 cat >>confdefs.h <<\_ACEOF
14218 #define HAVE_FREETYPE_FTTRIGON_H 1
14219 _ACEOF
14221 wine_cv_fttrigon=yes
14222 else
14223 echo "$as_me: failed program was:" >&5
14224 sed 's/^/| /' conftest.$ac_ext >&5
14226 wine_cv_fttrigon=no
14229 rm -f conftest.err conftest.$ac_ext
14230 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14231 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14232 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14233 echo $ECHO_N "(cached) $ECHO_C" >&6
14234 else
14235 cat >conftest.$ac_ext <<_ACEOF
14236 /* confdefs.h. */
14237 _ACEOF
14238 cat confdefs.h >>conftest.$ac_ext
14239 cat >>conftest.$ac_ext <<_ACEOF
14240 /* end confdefs.h. */
14241 #include <freetype/ftmodapi.h>
14243 typedef FT_TrueTypeEngineType ac__type_new_;
14245 main ()
14247 if ((ac__type_new_ *) 0)
14248 return 0;
14249 if (sizeof (ac__type_new_))
14250 return 0;
14252 return 0;
14254 _ACEOF
14255 rm -f conftest.$ac_objext
14256 if { (ac_try="$ac_compile"
14257 case "(($ac_try" in
14258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14259 *) ac_try_echo=$ac_try;;
14260 esac
14261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14262 (eval "$ac_compile") 2>conftest.er1
14263 ac_status=$?
14264 grep -v '^ *+' conftest.er1 >conftest.err
14265 rm -f conftest.er1
14266 cat conftest.err >&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } && {
14269 test -z "$ac_c_werror_flag" ||
14270 test ! -s conftest.err
14271 } && test -s conftest.$ac_objext; then
14272 ac_cv_type_FT_TrueTypeEngineType=yes
14273 else
14274 echo "$as_me: failed program was:" >&5
14275 sed 's/^/| /' conftest.$ac_ext >&5
14277 ac_cv_type_FT_TrueTypeEngineType=no
14280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14282 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14283 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14284 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14286 cat >>confdefs.h <<_ACEOF
14287 #define HAVE_FT_TRUETYPEENGINETYPE 1
14288 _ACEOF
14293 ac_save_CFLAGS="$CFLAGS"
14294 CFLAGS="$CFLAGS $ac_freetype_libs"
14296 for ac_func in FT_Load_Sfnt_Table
14298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14299 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14301 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14302 echo $ECHO_N "(cached) $ECHO_C" >&6
14303 else
14304 cat >conftest.$ac_ext <<_ACEOF
14305 /* confdefs.h. */
14306 _ACEOF
14307 cat confdefs.h >>conftest.$ac_ext
14308 cat >>conftest.$ac_ext <<_ACEOF
14309 /* end confdefs.h. */
14310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14312 #define $ac_func innocuous_$ac_func
14314 /* System header to define __stub macros and hopefully few prototypes,
14315 which can conflict with char $ac_func (); below.
14316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14317 <limits.h> exists even on freestanding compilers. */
14319 #ifdef __STDC__
14320 # include <limits.h>
14321 #else
14322 # include <assert.h>
14323 #endif
14325 #undef $ac_func
14327 /* Override any GCC internal prototype to avoid an error.
14328 Use char because int might match the return type of a GCC
14329 builtin and then its argument prototype would still apply. */
14330 #ifdef __cplusplus
14331 extern "C"
14332 #endif
14333 char $ac_func ();
14334 /* The GNU C library defines this for functions which it implements
14335 to always fail with ENOSYS. Some functions are actually named
14336 something starting with __ and the normal name is an alias. */
14337 #if defined __stub_$ac_func || defined __stub___$ac_func
14338 choke me
14339 #endif
14342 main ()
14344 return $ac_func ();
14346 return 0;
14348 _ACEOF
14349 rm -f conftest.$ac_objext conftest$ac_exeext
14350 if { (ac_try="$ac_link"
14351 case "(($ac_try" in
14352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14353 *) ac_try_echo=$ac_try;;
14354 esac
14355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14356 (eval "$ac_link") 2>conftest.er1
14357 ac_status=$?
14358 grep -v '^ *+' conftest.er1 >conftest.err
14359 rm -f conftest.er1
14360 cat conftest.err >&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); } && {
14363 test -z "$ac_c_werror_flag" ||
14364 test ! -s conftest.err
14365 } && test -s conftest$ac_exeext &&
14366 $as_test_x conftest$ac_exeext; then
14367 eval "$as_ac_var=yes"
14368 else
14369 echo "$as_me: failed program was:" >&5
14370 sed 's/^/| /' conftest.$ac_ext >&5
14372 eval "$as_ac_var=no"
14375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14376 conftest$ac_exeext conftest.$ac_ext
14378 ac_res=`eval echo '${'$as_ac_var'}'`
14379 { echo "$as_me:$LINENO: result: $ac_res" >&5
14380 echo "${ECHO_T}$ac_res" >&6; }
14381 if test `eval echo '${'$as_ac_var'}'` = yes; then
14382 cat >>confdefs.h <<_ACEOF
14383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14384 _ACEOF
14387 done
14389 CFLAGS="$ac_save_CFLAGS"
14390 CPPFLAGS="$ac_save_CPPFLAGS"
14391 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14392 then
14394 cat >>confdefs.h <<\_ACEOF
14395 #define HAVE_FREETYPE 1
14396 _ACEOF
14398 FREETYPELIBS="$ac_freetype_libs"
14400 FREETYPEINCL="$ac_freetype_incl"
14402 FONTSSUBDIRS="fonts"
14407 if test "x$FREETYPELIBS" = "x"; then
14408 case "x$with_freetype" in
14409 xno) ;;
14410 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14411 Fonts will not be built. Dialog text may be invisible or unaligned.
14412 Use the --without-freetype option if you really want this." >&5
14413 echo "$as_me: error: FreeType development files not found.
14414 Fonts will not be built. Dialog text may be invisible or unaligned.
14415 Use the --without-freetype option if you really want this." >&2;}
14416 { (exit 1); exit 1; }; } ;;
14417 esac
14421 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14422 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14423 if test "${ac_cv_c_ppdev+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 else
14426 cat >conftest.$ac_ext <<_ACEOF
14427 /* confdefs.h. */
14428 _ACEOF
14429 cat confdefs.h >>conftest.$ac_ext
14430 cat >>conftest.$ac_ext <<_ACEOF
14431 /* end confdefs.h. */
14432 #include <linux/ppdev.h>
14434 main ()
14436 ioctl (1,PPCLAIM,0)
14438 return 0;
14440 _ACEOF
14441 rm -f conftest.$ac_objext
14442 if { (ac_try="$ac_compile"
14443 case "(($ac_try" in
14444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14445 *) ac_try_echo=$ac_try;;
14446 esac
14447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14448 (eval "$ac_compile") 2>conftest.er1
14449 ac_status=$?
14450 grep -v '^ *+' conftest.er1 >conftest.err
14451 rm -f conftest.er1
14452 cat conftest.err >&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); } && {
14455 test -z "$ac_c_werror_flag" ||
14456 test ! -s conftest.err
14457 } && test -s conftest.$ac_objext; then
14458 ac_cv_c_ppdev="yes"
14459 else
14460 echo "$as_me: failed program was:" >&5
14461 sed 's/^/| /' conftest.$ac_ext >&5
14463 ac_cv_c_ppdev="no"
14466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14468 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14469 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14470 if test "$ac_cv_c_ppdev" = "yes"
14471 then
14473 cat >>confdefs.h <<\_ACEOF
14474 #define HAVE_PPDEV 1
14475 _ACEOF
14479 { echo "$as_me:$LINENO: checking for va_copy" >&5
14480 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14481 if test "${ac_cv_c_va_copy+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14483 else
14484 cat >conftest.$ac_ext <<_ACEOF
14485 /* confdefs.h. */
14486 _ACEOF
14487 cat confdefs.h >>conftest.$ac_ext
14488 cat >>conftest.$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14490 #include <stdarg.h>
14492 main ()
14494 va_list ap1, ap2; va_copy(ap1,ap2);
14496 return 0;
14498 _ACEOF
14499 rm -f conftest.$ac_objext conftest$ac_exeext
14500 if { (ac_try="$ac_link"
14501 case "(($ac_try" in
14502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14503 *) ac_try_echo=$ac_try;;
14504 esac
14505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14506 (eval "$ac_link") 2>conftest.er1
14507 ac_status=$?
14508 grep -v '^ *+' conftest.er1 >conftest.err
14509 rm -f conftest.er1
14510 cat conftest.err >&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); } && {
14513 test -z "$ac_c_werror_flag" ||
14514 test ! -s conftest.err
14515 } && test -s conftest$ac_exeext &&
14516 $as_test_x conftest$ac_exeext; then
14517 ac_cv_c_va_copy="yes"
14518 else
14519 echo "$as_me: failed program was:" >&5
14520 sed 's/^/| /' conftest.$ac_ext >&5
14522 ac_cv_c_va_copy="no"
14525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14526 conftest$ac_exeext conftest.$ac_ext
14529 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14530 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14531 if test "$ac_cv_c_va_copy" = "yes"
14532 then
14534 cat >>confdefs.h <<\_ACEOF
14535 #define HAVE_VA_COPY 1
14536 _ACEOF
14539 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14540 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14541 if test "${ac_cv_c___va_copy+set}" = set; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 else
14544 cat >conftest.$ac_ext <<_ACEOF
14545 /* confdefs.h. */
14546 _ACEOF
14547 cat confdefs.h >>conftest.$ac_ext
14548 cat >>conftest.$ac_ext <<_ACEOF
14549 /* end confdefs.h. */
14550 #include <stdarg.h>
14552 main ()
14554 va_list ap1, ap2; __va_copy(ap1,ap2);
14556 return 0;
14558 _ACEOF
14559 rm -f conftest.$ac_objext conftest$ac_exeext
14560 if { (ac_try="$ac_link"
14561 case "(($ac_try" in
14562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14563 *) ac_try_echo=$ac_try;;
14564 esac
14565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14566 (eval "$ac_link") 2>conftest.er1
14567 ac_status=$?
14568 grep -v '^ *+' conftest.er1 >conftest.err
14569 rm -f conftest.er1
14570 cat conftest.err >&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); } && {
14573 test -z "$ac_c_werror_flag" ||
14574 test ! -s conftest.err
14575 } && test -s conftest$ac_exeext &&
14576 $as_test_x conftest$ac_exeext; then
14577 ac_cv_c___va_copy="yes"
14578 else
14579 echo "$as_me: failed program was:" >&5
14580 sed 's/^/| /' conftest.$ac_ext >&5
14582 ac_cv_c___va_copy="no"
14585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14586 conftest$ac_exeext conftest.$ac_ext
14589 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14590 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14591 if test "$ac_cv_c___va_copy" = "yes"
14592 then
14594 cat >>confdefs.h <<\_ACEOF
14595 #define HAVE___VA_COPY 1
14596 _ACEOF
14600 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14601 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14602 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14604 else
14605 cat >conftest.$ac_ext <<_ACEOF
14606 /* confdefs.h. */
14607 _ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611 #define _GNU_SOURCE
14612 #include <pthread.h>
14614 typedef pthread_rwlock_t ac__type_new_;
14616 main ()
14618 if ((ac__type_new_ *) 0)
14619 return 0;
14620 if (sizeof (ac__type_new_))
14621 return 0;
14623 return 0;
14625 _ACEOF
14626 rm -f conftest.$ac_objext
14627 if { (ac_try="$ac_compile"
14628 case "(($ac_try" in
14629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14630 *) ac_try_echo=$ac_try;;
14631 esac
14632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14633 (eval "$ac_compile") 2>conftest.er1
14634 ac_status=$?
14635 grep -v '^ *+' conftest.er1 >conftest.err
14636 rm -f conftest.er1
14637 cat conftest.err >&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } && {
14640 test -z "$ac_c_werror_flag" ||
14641 test ! -s conftest.err
14642 } && test -s conftest.$ac_objext; then
14643 ac_cv_type_pthread_rwlock_t=yes
14644 else
14645 echo "$as_me: failed program was:" >&5
14646 sed 's/^/| /' conftest.$ac_ext >&5
14648 ac_cv_type_pthread_rwlock_t=no
14651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14653 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14654 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14655 if test $ac_cv_type_pthread_rwlock_t = yes; then
14657 cat >>confdefs.h <<_ACEOF
14658 #define HAVE_PTHREAD_RWLOCK_T 1
14659 _ACEOF
14663 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14664 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14665 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14666 echo $ECHO_N "(cached) $ECHO_C" >&6
14667 else
14668 cat >conftest.$ac_ext <<_ACEOF
14669 /* confdefs.h. */
14670 _ACEOF
14671 cat confdefs.h >>conftest.$ac_ext
14672 cat >>conftest.$ac_ext <<_ACEOF
14673 /* end confdefs.h. */
14674 #define _GNU_SOURCE
14675 #include <pthread.h>
14677 typedef pthread_rwlockattr_t ac__type_new_;
14679 main ()
14681 if ((ac__type_new_ *) 0)
14682 return 0;
14683 if (sizeof (ac__type_new_))
14684 return 0;
14686 return 0;
14688 _ACEOF
14689 rm -f conftest.$ac_objext
14690 if { (ac_try="$ac_compile"
14691 case "(($ac_try" in
14692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14693 *) ac_try_echo=$ac_try;;
14694 esac
14695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14696 (eval "$ac_compile") 2>conftest.er1
14697 ac_status=$?
14698 grep -v '^ *+' conftest.er1 >conftest.err
14699 rm -f conftest.er1
14700 cat conftest.err >&5
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); } && {
14703 test -z "$ac_c_werror_flag" ||
14704 test ! -s conftest.err
14705 } && test -s conftest.$ac_objext; then
14706 ac_cv_type_pthread_rwlockattr_t=yes
14707 else
14708 echo "$as_me: failed program was:" >&5
14709 sed 's/^/| /' conftest.$ac_ext >&5
14711 ac_cv_type_pthread_rwlockattr_t=no
14714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14716 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14717 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14718 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14720 cat >>confdefs.h <<_ACEOF
14721 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14722 _ACEOF
14728 ac_wine_check_funcs_save_LIBS="$LIBS"
14729 LIBS="$LIBS $LIBPTHREAD"
14734 for ac_func in \
14735 pthread_attr_get_np \
14736 pthread_getattr_np \
14737 pthread_get_stackaddr_np \
14738 pthread_get_stacksize_np
14740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14741 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14743 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14744 echo $ECHO_N "(cached) $ECHO_C" >&6
14745 else
14746 cat >conftest.$ac_ext <<_ACEOF
14747 /* confdefs.h. */
14748 _ACEOF
14749 cat confdefs.h >>conftest.$ac_ext
14750 cat >>conftest.$ac_ext <<_ACEOF
14751 /* end confdefs.h. */
14752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14754 #define $ac_func innocuous_$ac_func
14756 /* System header to define __stub macros and hopefully few prototypes,
14757 which can conflict with char $ac_func (); below.
14758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14759 <limits.h> exists even on freestanding compilers. */
14761 #ifdef __STDC__
14762 # include <limits.h>
14763 #else
14764 # include <assert.h>
14765 #endif
14767 #undef $ac_func
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 $ac_func ();
14776 /* The GNU C library defines this for functions which it implements
14777 to always fail with ENOSYS. Some functions are actually named
14778 something starting with __ and the normal name is an alias. */
14779 #if defined __stub_$ac_func || defined __stub___$ac_func
14780 choke me
14781 #endif
14784 main ()
14786 return $ac_func ();
14788 return 0;
14790 _ACEOF
14791 rm -f conftest.$ac_objext conftest$ac_exeext
14792 if { (ac_try="$ac_link"
14793 case "(($ac_try" in
14794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14795 *) ac_try_echo=$ac_try;;
14796 esac
14797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14798 (eval "$ac_link") 2>conftest.er1
14799 ac_status=$?
14800 grep -v '^ *+' conftest.er1 >conftest.err
14801 rm -f conftest.er1
14802 cat conftest.err >&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); } && {
14805 test -z "$ac_c_werror_flag" ||
14806 test ! -s conftest.err
14807 } && test -s conftest$ac_exeext &&
14808 $as_test_x conftest$ac_exeext; then
14809 eval "$as_ac_var=yes"
14810 else
14811 echo "$as_me: failed program was:" >&5
14812 sed 's/^/| /' conftest.$ac_ext >&5
14814 eval "$as_ac_var=no"
14817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14818 conftest$ac_exeext conftest.$ac_ext
14820 ac_res=`eval echo '${'$as_ac_var'}'`
14821 { echo "$as_me:$LINENO: result: $ac_res" >&5
14822 echo "${ECHO_T}$ac_res" >&6; }
14823 if test `eval echo '${'$as_ac_var'}'` = yes; then
14824 cat >>confdefs.h <<_ACEOF
14825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14826 _ACEOF
14829 done
14831 LIBS="$ac_wine_check_funcs_save_LIBS"
14833 # Extract the first word of "esd-config", so it can be a program name with args.
14834 set dummy esd-config; ac_word=$2
14835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14837 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 else
14840 case $ESDCONFIG in
14841 [\\/]* | ?:[\\/]*)
14842 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14846 for as_dir in $PATH
14848 IFS=$as_save_IFS
14849 test -z "$as_dir" && as_dir=.
14850 for ac_exec_ext in '' $ac_executable_extensions; do
14851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14852 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14854 break 2
14856 done
14857 done
14858 IFS=$as_save_IFS
14861 esac
14863 ESDCONFIG=$ac_cv_path_ESDCONFIG
14864 if test -n "$ESDCONFIG"; then
14865 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14866 echo "${ECHO_T}$ESDCONFIG" >&6; }
14867 else
14868 { echo "$as_me:$LINENO: result: no" >&5
14869 echo "${ECHO_T}no" >&6; }
14873 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14874 then
14875 ESD_CFLAGS=""
14876 for i in `$ESDCONFIG --cflags`
14878 case "$i" in
14879 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14880 esac
14881 done
14882 ESD_LIBS=`$ESDCONFIG --libs`
14883 save_CFLAGS="$CFLAGS"
14884 CFLAGS="$CFLAGS $ESD_CFLAGS"
14885 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14886 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14887 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14888 echo $ECHO_N "(cached) $ECHO_C" >&6
14889 else
14890 ac_check_lib_save_LIBS=$LIBS
14891 LIBS="-lesd $LIBS"
14892 cat >conftest.$ac_ext <<_ACEOF
14893 /* confdefs.h. */
14894 _ACEOF
14895 cat confdefs.h >>conftest.$ac_ext
14896 cat >>conftest.$ac_ext <<_ACEOF
14897 /* end confdefs.h. */
14899 /* Override any GCC internal prototype to avoid an error.
14900 Use char because int might match the return type of a GCC
14901 builtin and then its argument prototype would still apply. */
14902 #ifdef __cplusplus
14903 extern "C"
14904 #endif
14905 char esd_open_sound ();
14907 main ()
14909 return esd_open_sound ();
14911 return 0;
14913 _ACEOF
14914 rm -f conftest.$ac_objext conftest$ac_exeext
14915 if { (ac_try="$ac_link"
14916 case "(($ac_try" in
14917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14918 *) ac_try_echo=$ac_try;;
14919 esac
14920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14921 (eval "$ac_link") 2>conftest.er1
14922 ac_status=$?
14923 grep -v '^ *+' conftest.er1 >conftest.err
14924 rm -f conftest.er1
14925 cat conftest.err >&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } && {
14928 test -z "$ac_c_werror_flag" ||
14929 test ! -s conftest.err
14930 } && test -s conftest$ac_exeext &&
14931 $as_test_x conftest$ac_exeext; then
14932 ac_cv_lib_esd_esd_open_sound=yes
14933 else
14934 echo "$as_me: failed program was:" >&5
14935 sed 's/^/| /' conftest.$ac_ext >&5
14937 ac_cv_lib_esd_esd_open_sound=no
14940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14941 conftest$ac_exeext conftest.$ac_ext
14942 LIBS=$ac_check_lib_save_LIBS
14944 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14945 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14946 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14947 ESDLIBS=$ESD_LIBS
14949 ESDINCL=$ESD_CFLAGS
14952 cat >>confdefs.h <<\_ACEOF
14953 #define HAVE_ESD 1
14954 _ACEOF
14958 CFLAGS="$save_CFLAGS"
14961 ALSALIBS=""
14963 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14964 then
14965 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14966 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14967 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14968 echo $ECHO_N "(cached) $ECHO_C" >&6
14969 else
14970 ac_check_lib_save_LIBS=$LIBS
14971 LIBS="-lasound $LIBS"
14972 cat >conftest.$ac_ext <<_ACEOF
14973 /* confdefs.h. */
14974 _ACEOF
14975 cat confdefs.h >>conftest.$ac_ext
14976 cat >>conftest.$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14979 /* Override any GCC internal prototype to avoid an error.
14980 Use char because int might match the return type of a GCC
14981 builtin and then its argument prototype would still apply. */
14982 #ifdef __cplusplus
14983 extern "C"
14984 #endif
14985 char snd_pcm_hw_params_get_access ();
14987 main ()
14989 return snd_pcm_hw_params_get_access ();
14991 return 0;
14993 _ACEOF
14994 rm -f conftest.$ac_objext conftest$ac_exeext
14995 if { (ac_try="$ac_link"
14996 case "(($ac_try" in
14997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14998 *) ac_try_echo=$ac_try;;
14999 esac
15000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15001 (eval "$ac_link") 2>conftest.er1
15002 ac_status=$?
15003 grep -v '^ *+' conftest.er1 >conftest.err
15004 rm -f conftest.er1
15005 cat conftest.err >&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); } && {
15008 test -z "$ac_c_werror_flag" ||
15009 test ! -s conftest.err
15010 } && test -s conftest$ac_exeext &&
15011 $as_test_x conftest$ac_exeext; then
15012 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
15013 else
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.$ac_ext >&5
15017 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
15020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15021 conftest$ac_exeext conftest.$ac_ext
15022 LIBS=$ac_check_lib_save_LIBS
15024 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
15025 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
15026 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
15027 cat >conftest.$ac_ext <<_ACEOF
15028 /* confdefs.h. */
15029 _ACEOF
15030 cat confdefs.h >>conftest.$ac_ext
15031 cat >>conftest.$ac_ext <<_ACEOF
15032 /* end confdefs.h. */
15033 #ifdef HAVE_ALSA_ASOUNDLIB_H
15034 #include <alsa/asoundlib.h>
15035 #elif defined(HAVE_SYS_ASOUNDLIB_H)
15036 #include <sys/asoundlib.h>
15037 #endif
15039 main ()
15041 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
15043 return 0;
15045 _ACEOF
15046 rm -f conftest.$ac_objext
15047 if { (ac_try="$ac_compile"
15048 case "(($ac_try" in
15049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15050 *) ac_try_echo=$ac_try;;
15051 esac
15052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15053 (eval "$ac_compile") 2>conftest.er1
15054 ac_status=$?
15055 grep -v '^ *+' conftest.er1 >conftest.err
15056 rm -f conftest.er1
15057 cat conftest.err >&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } && {
15060 test -z "$ac_c_werror_flag" ||
15061 test ! -s conftest.err
15062 } && test -s conftest.$ac_objext; then
15064 cat >>confdefs.h <<\_ACEOF
15065 #define HAVE_ALSA 1
15066 _ACEOF
15068 ALSALIBS="-lasound"
15069 else
15070 echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.$ac_ext >&5
15076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15081 AUDIOIOLIBS=""
15083 if test "$ac_cv_header_libaudioio_h" = "yes"
15084 then
15085 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
15086 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
15087 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
15088 echo $ECHO_N "(cached) $ECHO_C" >&6
15089 else
15090 ac_check_lib_save_LIBS=$LIBS
15091 LIBS="-laudioio $LIBS"
15092 cat >conftest.$ac_ext <<_ACEOF
15093 /* confdefs.h. */
15094 _ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15099 /* Override any GCC internal prototype to avoid an error.
15100 Use char because int might match the return type of a GCC
15101 builtin and then its argument prototype would still apply. */
15102 #ifdef __cplusplus
15103 extern "C"
15104 #endif
15105 char AudioIOGetVersion ();
15107 main ()
15109 return AudioIOGetVersion ();
15111 return 0;
15113 _ACEOF
15114 rm -f conftest.$ac_objext conftest$ac_exeext
15115 if { (ac_try="$ac_link"
15116 case "(($ac_try" in
15117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15118 *) ac_try_echo=$ac_try;;
15119 esac
15120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15121 (eval "$ac_link") 2>conftest.er1
15122 ac_status=$?
15123 grep -v '^ *+' conftest.er1 >conftest.err
15124 rm -f conftest.er1
15125 cat conftest.err >&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } && {
15128 test -z "$ac_c_werror_flag" ||
15129 test ! -s conftest.err
15130 } && test -s conftest$ac_exeext &&
15131 $as_test_x conftest$ac_exeext; then
15132 ac_cv_lib_audioio_AudioIOGetVersion=yes
15133 else
15134 echo "$as_me: failed program was:" >&5
15135 sed 's/^/| /' conftest.$ac_ext >&5
15137 ac_cv_lib_audioio_AudioIOGetVersion=no
15140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15141 conftest$ac_exeext conftest.$ac_ext
15142 LIBS=$ac_check_lib_save_LIBS
15144 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15145 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15146 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15147 AUDIOIOLIBS="-laudioio"
15149 cat >>confdefs.h <<\_ACEOF
15150 #define HAVE_LIBAUDIOIO 1
15151 _ACEOF
15158 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15159 then
15160 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15161 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15162 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 else
15165 ac_check_soname_save_LIBS=$LIBS
15166 LIBS="-lcapi20 $LIBS"
15167 cat >conftest.$ac_ext <<_ACEOF
15168 /* confdefs.h. */
15169 _ACEOF
15170 cat confdefs.h >>conftest.$ac_ext
15171 cat >>conftest.$ac_ext <<_ACEOF
15172 /* end confdefs.h. */
15174 /* Override any GCC internal prototype to avoid an error.
15175 Use char because int might match the return type of a GCC
15176 builtin and then its argument prototype would still apply. */
15177 #ifdef __cplusplus
15178 extern "C"
15179 #endif
15180 char capi20_register ();
15182 main ()
15184 return capi20_register ();
15186 return 0;
15188 _ACEOF
15189 rm -f conftest.$ac_objext conftest$ac_exeext
15190 if { (ac_try="$ac_link"
15191 case "(($ac_try" in
15192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15193 *) ac_try_echo=$ac_try;;
15194 esac
15195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15196 (eval "$ac_link") 2>conftest.er1
15197 ac_status=$?
15198 grep -v '^ *+' conftest.er1 >conftest.err
15199 rm -f conftest.er1
15200 cat conftest.err >&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); } && {
15203 test -z "$ac_c_werror_flag" ||
15204 test ! -s conftest.err
15205 } && test -s conftest$ac_exeext &&
15206 $as_test_x conftest$ac_exeext; then
15207 case "$LIBEXT" in
15208 dll) ;;
15209 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'` ;;
15210 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15211 esac
15212 else
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.$ac_ext >&5
15219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15220 conftest$ac_exeext conftest.$ac_ext
15221 LIBS=$ac_check_soname_save_LIBS
15223 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15224 { echo "$as_me:$LINENO: result: not found" >&5
15225 echo "${ECHO_T}not found" >&6; }
15227 else
15228 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15229 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15231 cat >>confdefs.h <<_ACEOF
15232 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15233 _ACEOF
15239 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15240 case "x$with_capi" in
15241 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15242 xno) ;;
15243 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15244 This is an error since --with-capi was requested." >&5
15245 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15246 This is an error since --with-capi was requested." >&2;}
15247 { (exit 1); exit 1; }; } ;;
15248 esac
15252 if test "$ac_cv_header_cups_cups_h" = "yes"
15253 then
15254 { echo "$as_me:$LINENO: checking for -lcups" >&5
15255 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15256 if test "${ac_cv_lib_soname_cups+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 else
15259 ac_check_soname_save_LIBS=$LIBS
15260 LIBS="-lcups $LIBS"
15261 cat >conftest.$ac_ext <<_ACEOF
15262 /* confdefs.h. */
15263 _ACEOF
15264 cat confdefs.h >>conftest.$ac_ext
15265 cat >>conftest.$ac_ext <<_ACEOF
15266 /* end confdefs.h. */
15268 /* Override any GCC internal prototype to avoid an error.
15269 Use char because int might match the return type of a GCC
15270 builtin and then its argument prototype would still apply. */
15271 #ifdef __cplusplus
15272 extern "C"
15273 #endif
15274 char cupsGetDefault ();
15276 main ()
15278 return cupsGetDefault ();
15280 return 0;
15282 _ACEOF
15283 rm -f conftest.$ac_objext conftest$ac_exeext
15284 if { (ac_try="$ac_link"
15285 case "(($ac_try" in
15286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15287 *) ac_try_echo=$ac_try;;
15288 esac
15289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15290 (eval "$ac_link") 2>conftest.er1
15291 ac_status=$?
15292 grep -v '^ *+' conftest.er1 >conftest.err
15293 rm -f conftest.er1
15294 cat conftest.err >&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); } && {
15297 test -z "$ac_c_werror_flag" ||
15298 test ! -s conftest.err
15299 } && test -s conftest$ac_exeext &&
15300 $as_test_x conftest$ac_exeext; then
15301 case "$LIBEXT" in
15302 dll) ;;
15303 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'` ;;
15304 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15305 esac
15306 else
15307 echo "$as_me: failed program was:" >&5
15308 sed 's/^/| /' conftest.$ac_ext >&5
15313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15314 conftest$ac_exeext conftest.$ac_ext
15315 LIBS=$ac_check_soname_save_LIBS
15317 if test "x$ac_cv_lib_soname_cups" = "x"; then
15318 { echo "$as_me:$LINENO: result: not found" >&5
15319 echo "${ECHO_T}not found" >&6; }
15321 else
15322 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15323 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15325 cat >>confdefs.h <<_ACEOF
15326 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15327 _ACEOF
15333 if test "x$ac_cv_lib_soname_cups" = "x"; then
15334 case "x$with_cups" in
15335 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15336 xno) ;;
15337 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15338 This is an error since --with-cups was requested." >&5
15339 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15340 This is an error since --with-cups was requested." >&2;}
15341 { (exit 1); exit 1; }; } ;;
15342 esac
15346 if test "$ac_cv_header_jack_jack_h" = "yes"
15347 then
15348 { echo "$as_me:$LINENO: checking for -ljack" >&5
15349 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15350 if test "${ac_cv_lib_soname_jack+set}" = set; then
15351 echo $ECHO_N "(cached) $ECHO_C" >&6
15352 else
15353 ac_check_soname_save_LIBS=$LIBS
15354 LIBS="-ljack $LIBS"
15355 cat >conftest.$ac_ext <<_ACEOF
15356 /* confdefs.h. */
15357 _ACEOF
15358 cat confdefs.h >>conftest.$ac_ext
15359 cat >>conftest.$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15362 /* Override any GCC internal prototype to avoid an error.
15363 Use char because int might match the return type of a GCC
15364 builtin and then its argument prototype would still apply. */
15365 #ifdef __cplusplus
15366 extern "C"
15367 #endif
15368 char jack_client_new ();
15370 main ()
15372 return jack_client_new ();
15374 return 0;
15376 _ACEOF
15377 rm -f conftest.$ac_objext conftest$ac_exeext
15378 if { (ac_try="$ac_link"
15379 case "(($ac_try" in
15380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15381 *) ac_try_echo=$ac_try;;
15382 esac
15383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15384 (eval "$ac_link") 2>conftest.er1
15385 ac_status=$?
15386 grep -v '^ *+' conftest.er1 >conftest.err
15387 rm -f conftest.er1
15388 cat conftest.err >&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); } && {
15391 test -z "$ac_c_werror_flag" ||
15392 test ! -s conftest.err
15393 } && test -s conftest$ac_exeext &&
15394 $as_test_x conftest$ac_exeext; then
15395 case "$LIBEXT" in
15396 dll) ;;
15397 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'` ;;
15398 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15399 esac
15400 else
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.$ac_ext >&5
15407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15408 conftest$ac_exeext conftest.$ac_ext
15409 LIBS=$ac_check_soname_save_LIBS
15411 if test "x$ac_cv_lib_soname_jack" = "x"; then
15412 { echo "$as_me:$LINENO: result: not found" >&5
15413 echo "${ECHO_T}not found" >&6; }
15415 else
15416 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15417 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15419 cat >>confdefs.h <<_ACEOF
15420 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15421 _ACEOF
15428 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15429 then
15430 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15431 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15432 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15434 else
15435 ac_check_soname_save_LIBS=$LIBS
15436 LIBS="-lfontconfig $LIBS"
15437 cat >conftest.$ac_ext <<_ACEOF
15438 /* confdefs.h. */
15439 _ACEOF
15440 cat confdefs.h >>conftest.$ac_ext
15441 cat >>conftest.$ac_ext <<_ACEOF
15442 /* end confdefs.h. */
15444 /* Override any GCC internal prototype to avoid an error.
15445 Use char because int might match the return type of a GCC
15446 builtin and then its argument prototype would still apply. */
15447 #ifdef __cplusplus
15448 extern "C"
15449 #endif
15450 char FcInit ();
15452 main ()
15454 return FcInit ();
15456 return 0;
15458 _ACEOF
15459 rm -f conftest.$ac_objext conftest$ac_exeext
15460 if { (ac_try="$ac_link"
15461 case "(($ac_try" in
15462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15463 *) ac_try_echo=$ac_try;;
15464 esac
15465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15466 (eval "$ac_link") 2>conftest.er1
15467 ac_status=$?
15468 grep -v '^ *+' conftest.er1 >conftest.err
15469 rm -f conftest.er1
15470 cat conftest.err >&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } && {
15473 test -z "$ac_c_werror_flag" ||
15474 test ! -s conftest.err
15475 } && test -s conftest$ac_exeext &&
15476 $as_test_x conftest$ac_exeext; then
15477 case "$LIBEXT" in
15478 dll) ;;
15479 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'` ;;
15480 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15481 esac
15482 else
15483 echo "$as_me: failed program was:" >&5
15484 sed 's/^/| /' conftest.$ac_ext >&5
15489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15490 conftest$ac_exeext conftest.$ac_ext
15491 LIBS=$ac_check_soname_save_LIBS
15493 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15494 { echo "$as_me:$LINENO: result: not found" >&5
15495 echo "${ECHO_T}not found" >&6; }
15497 else
15498 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15499 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15501 cat >>confdefs.h <<_ACEOF
15502 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15503 _ACEOF
15508 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15509 then
15510 ac_save_CPPFLAGS="$CPPFLAGS"
15511 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15512 $as_unset ac_cv_header_fontconfig_fontconfig_h
15514 for ac_header in fontconfig/fontconfig.h
15516 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15517 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15518 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15520 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15521 echo $ECHO_N "(cached) $ECHO_C" >&6
15523 ac_res=`eval echo '${'$as_ac_Header'}'`
15524 { echo "$as_me:$LINENO: result: $ac_res" >&5
15525 echo "${ECHO_T}$ac_res" >&6; }
15526 else
15527 # Is the header compilable?
15528 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15530 cat >conftest.$ac_ext <<_ACEOF
15531 /* confdefs.h. */
15532 _ACEOF
15533 cat confdefs.h >>conftest.$ac_ext
15534 cat >>conftest.$ac_ext <<_ACEOF
15535 /* end confdefs.h. */
15536 $ac_includes_default
15537 #include <$ac_header>
15538 _ACEOF
15539 rm -f conftest.$ac_objext
15540 if { (ac_try="$ac_compile"
15541 case "(($ac_try" in
15542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15543 *) ac_try_echo=$ac_try;;
15544 esac
15545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15546 (eval "$ac_compile") 2>conftest.er1
15547 ac_status=$?
15548 grep -v '^ *+' conftest.er1 >conftest.err
15549 rm -f conftest.er1
15550 cat conftest.err >&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); } && {
15553 test -z "$ac_c_werror_flag" ||
15554 test ! -s conftest.err
15555 } && test -s conftest.$ac_objext; then
15556 ac_header_compiler=yes
15557 else
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.$ac_ext >&5
15561 ac_header_compiler=no
15564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15565 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15566 echo "${ECHO_T}$ac_header_compiler" >&6; }
15568 # Is the header present?
15569 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15571 cat >conftest.$ac_ext <<_ACEOF
15572 /* confdefs.h. */
15573 _ACEOF
15574 cat confdefs.h >>conftest.$ac_ext
15575 cat >>conftest.$ac_ext <<_ACEOF
15576 /* end confdefs.h. */
15577 #include <$ac_header>
15578 _ACEOF
15579 if { (ac_try="$ac_cpp conftest.$ac_ext"
15580 case "(($ac_try" in
15581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15582 *) ac_try_echo=$ac_try;;
15583 esac
15584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15586 ac_status=$?
15587 grep -v '^ *+' conftest.er1 >conftest.err
15588 rm -f conftest.er1
15589 cat conftest.err >&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } >/dev/null && {
15592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15593 test ! -s conftest.err
15594 }; then
15595 ac_header_preproc=yes
15596 else
15597 echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.$ac_ext >&5
15600 ac_header_preproc=no
15603 rm -f conftest.err conftest.$ac_ext
15604 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15605 echo "${ECHO_T}$ac_header_preproc" >&6; }
15607 # So? What about this header?
15608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15609 yes:no: )
15610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15614 ac_header_preproc=yes
15616 no:yes:* )
15617 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15619 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15621 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15623 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15624 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15627 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15629 ( cat <<\_ASBOX
15630 ## ------------------------------------ ##
15631 ## Report this to wine-devel@winehq.org ##
15632 ## ------------------------------------ ##
15633 _ASBOX
15634 ) | sed "s/^/$as_me: WARNING: /" >&2
15636 esac
15637 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15639 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15640 echo $ECHO_N "(cached) $ECHO_C" >&6
15641 else
15642 eval "$as_ac_Header=\$ac_header_preproc"
15644 ac_res=`eval echo '${'$as_ac_Header'}'`
15645 { echo "$as_me:$LINENO: result: $ac_res" >&5
15646 echo "${ECHO_T}$ac_res" >&6; }
15649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15650 cat >>confdefs.h <<_ACEOF
15651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15652 _ACEOF
15656 done
15658 CPPFLAGS="$ac_save_CPPFLAGS"
15659 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15660 then
15661 FONTCONFIGINCL="$X_CFLAGS"
15663 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15664 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15665 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15666 echo $ECHO_N "(cached) $ECHO_C" >&6
15667 else
15668 ac_check_soname_save_LIBS=$LIBS
15669 LIBS="-lfontconfig $X_LIBS $LIBS"
15670 cat >conftest.$ac_ext <<_ACEOF
15671 /* confdefs.h. */
15672 _ACEOF
15673 cat confdefs.h >>conftest.$ac_ext
15674 cat >>conftest.$ac_ext <<_ACEOF
15675 /* end confdefs.h. */
15677 /* Override any GCC internal prototype to avoid an error.
15678 Use char because int might match the return type of a GCC
15679 builtin and then its argument prototype would still apply. */
15680 #ifdef __cplusplus
15681 extern "C"
15682 #endif
15683 char FcInit ();
15685 main ()
15687 return FcInit ();
15689 return 0;
15691 _ACEOF
15692 rm -f conftest.$ac_objext conftest$ac_exeext
15693 if { (ac_try="$ac_link"
15694 case "(($ac_try" in
15695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15696 *) ac_try_echo=$ac_try;;
15697 esac
15698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15699 (eval "$ac_link") 2>conftest.er1
15700 ac_status=$?
15701 grep -v '^ *+' conftest.er1 >conftest.err
15702 rm -f conftest.er1
15703 cat conftest.err >&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); } && {
15706 test -z "$ac_c_werror_flag" ||
15707 test ! -s conftest.err
15708 } && test -s conftest$ac_exeext &&
15709 $as_test_x conftest$ac_exeext; then
15710 case "$LIBEXT" in
15711 dll) ;;
15712 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'` ;;
15713 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15714 esac
15715 else
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.$ac_ext >&5
15722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15723 conftest$ac_exeext conftest.$ac_ext
15724 LIBS=$ac_check_soname_save_LIBS
15726 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15727 { echo "$as_me:$LINENO: result: not found" >&5
15728 echo "${ECHO_T}not found" >&6; }
15730 else
15731 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15732 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15734 cat >>confdefs.h <<_ACEOF
15735 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15736 _ACEOF
15743 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15744 case "x$with_fontconfig" in
15745 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15746 xno) ;;
15747 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15748 This is an error since --with-fontconfig was requested." >&5
15749 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15750 This is an error since --with-fontconfig was requested." >&2;}
15751 { (exit 1); exit 1; }; } ;;
15752 esac
15756 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15757 then
15758 { echo "$as_me:$LINENO: checking for -lssl" >&5
15759 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15760 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15761 echo $ECHO_N "(cached) $ECHO_C" >&6
15762 else
15763 ac_check_soname_save_LIBS=$LIBS
15764 LIBS="-lssl $LIBS"
15765 cat >conftest.$ac_ext <<_ACEOF
15766 /* confdefs.h. */
15767 _ACEOF
15768 cat confdefs.h >>conftest.$ac_ext
15769 cat >>conftest.$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15772 /* Override any GCC internal prototype to avoid an error.
15773 Use char because int might match the return type of a GCC
15774 builtin and then its argument prototype would still apply. */
15775 #ifdef __cplusplus
15776 extern "C"
15777 #endif
15778 char SSL_library_init ();
15780 main ()
15782 return SSL_library_init ();
15784 return 0;
15786 _ACEOF
15787 rm -f conftest.$ac_objext conftest$ac_exeext
15788 if { (ac_try="$ac_link"
15789 case "(($ac_try" in
15790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15791 *) ac_try_echo=$ac_try;;
15792 esac
15793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15794 (eval "$ac_link") 2>conftest.er1
15795 ac_status=$?
15796 grep -v '^ *+' conftest.er1 >conftest.err
15797 rm -f conftest.er1
15798 cat conftest.err >&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } && {
15801 test -z "$ac_c_werror_flag" ||
15802 test ! -s conftest.err
15803 } && test -s conftest$ac_exeext &&
15804 $as_test_x conftest$ac_exeext; then
15805 case "$LIBEXT" in
15806 dll) ;;
15807 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'` ;;
15808 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15809 esac
15810 else
15811 echo "$as_me: failed program was:" >&5
15812 sed 's/^/| /' conftest.$ac_ext >&5
15817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15818 conftest$ac_exeext conftest.$ac_ext
15819 LIBS=$ac_check_soname_save_LIBS
15821 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15822 { echo "$as_me:$LINENO: result: not found" >&5
15823 echo "${ECHO_T}not found" >&6; }
15825 else
15826 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15827 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15829 cat >>confdefs.h <<_ACEOF
15830 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15831 _ACEOF
15836 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15837 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15838 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15839 echo $ECHO_N "(cached) $ECHO_C" >&6
15840 else
15841 ac_check_soname_save_LIBS=$LIBS
15842 LIBS="-lcrypto $LIBS"
15843 cat >conftest.$ac_ext <<_ACEOF
15844 /* confdefs.h. */
15845 _ACEOF
15846 cat confdefs.h >>conftest.$ac_ext
15847 cat >>conftest.$ac_ext <<_ACEOF
15848 /* end confdefs.h. */
15850 /* Override any GCC internal prototype to avoid an error.
15851 Use char because int might match the return type of a GCC
15852 builtin and then its argument prototype would still apply. */
15853 #ifdef __cplusplus
15854 extern "C"
15855 #endif
15856 char BIO_new_socket ();
15858 main ()
15860 return BIO_new_socket ();
15862 return 0;
15864 _ACEOF
15865 rm -f conftest.$ac_objext conftest$ac_exeext
15866 if { (ac_try="$ac_link"
15867 case "(($ac_try" in
15868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15869 *) ac_try_echo=$ac_try;;
15870 esac
15871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15872 (eval "$ac_link") 2>conftest.er1
15873 ac_status=$?
15874 grep -v '^ *+' conftest.er1 >conftest.err
15875 rm -f conftest.er1
15876 cat conftest.err >&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } && {
15879 test -z "$ac_c_werror_flag" ||
15880 test ! -s conftest.err
15881 } && test -s conftest$ac_exeext &&
15882 $as_test_x conftest$ac_exeext; then
15883 case "$LIBEXT" in
15884 dll) ;;
15885 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'` ;;
15886 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15887 esac
15888 else
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15896 conftest$ac_exeext conftest.$ac_ext
15897 LIBS=$ac_check_soname_save_LIBS
15899 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15900 { echo "$as_me:$LINENO: result: not found" >&5
15901 echo "${ECHO_T}not found" >&6; }
15903 else
15904 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15905 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15907 cat >>confdefs.h <<_ACEOF
15908 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15909 _ACEOF
15915 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15916 case "x$with_openssl" in
15917 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15918 xno) ;;
15919 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15920 This is an error since --with-openssl was requested." >&5
15921 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15922 This is an error since --with-openssl was requested." >&2;}
15923 { (exit 1); exit 1; }; } ;;
15924 esac
15928 if test "$ac_cv_header_jpeglib_h" = "yes"
15929 then
15930 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15931 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15932 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15934 else
15935 ac_check_soname_save_LIBS=$LIBS
15936 LIBS="-ljpeg $LIBS"
15937 cat >conftest.$ac_ext <<_ACEOF
15938 /* confdefs.h. */
15939 _ACEOF
15940 cat confdefs.h >>conftest.$ac_ext
15941 cat >>conftest.$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15944 /* Override any GCC internal prototype to avoid an error.
15945 Use char because int might match the return type of a GCC
15946 builtin and then its argument prototype would still apply. */
15947 #ifdef __cplusplus
15948 extern "C"
15949 #endif
15950 char jpeg_start_decompress ();
15952 main ()
15954 return jpeg_start_decompress ();
15956 return 0;
15958 _ACEOF
15959 rm -f conftest.$ac_objext conftest$ac_exeext
15960 if { (ac_try="$ac_link"
15961 case "(($ac_try" in
15962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15963 *) ac_try_echo=$ac_try;;
15964 esac
15965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15966 (eval "$ac_link") 2>conftest.er1
15967 ac_status=$?
15968 grep -v '^ *+' conftest.er1 >conftest.err
15969 rm -f conftest.er1
15970 cat conftest.err >&5
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); } && {
15973 test -z "$ac_c_werror_flag" ||
15974 test ! -s conftest.err
15975 } && test -s conftest$ac_exeext &&
15976 $as_test_x conftest$ac_exeext; then
15977 case "$LIBEXT" in
15978 dll) ;;
15979 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'` ;;
15980 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15981 esac
15982 else
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.$ac_ext >&5
15989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15990 conftest$ac_exeext conftest.$ac_ext
15991 LIBS=$ac_check_soname_save_LIBS
15993 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15994 { echo "$as_me:$LINENO: result: not found" >&5
15995 echo "${ECHO_T}not found" >&6; }
15997 else
15998 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15999 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
16001 cat >>confdefs.h <<_ACEOF
16002 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16003 _ACEOF
16009 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
16010 case "x$with_jpeg" in
16011 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
16012 xno) ;;
16013 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
16014 This is an error since --with-jpeg was requested." >&5
16015 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
16016 This is an error since --with-jpeg was requested." >&2;}
16017 { (exit 1); exit 1; }; } ;;
16018 esac
16022 if test "$ac_cv_header_png_h" = "yes"
16023 then
16024 { echo "$as_me:$LINENO: checking for -lpng" >&5
16025 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
16026 if test "${ac_cv_lib_soname_png+set}" = set; then
16027 echo $ECHO_N "(cached) $ECHO_C" >&6
16028 else
16029 ac_check_soname_save_LIBS=$LIBS
16030 LIBS="-lpng $LIBS"
16031 cat >conftest.$ac_ext <<_ACEOF
16032 /* confdefs.h. */
16033 _ACEOF
16034 cat confdefs.h >>conftest.$ac_ext
16035 cat >>conftest.$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16038 /* Override any GCC internal prototype to avoid an error.
16039 Use char because int might match the return type of a GCC
16040 builtin and then its argument prototype would still apply. */
16041 #ifdef __cplusplus
16042 extern "C"
16043 #endif
16044 char png_create_read_struct ();
16046 main ()
16048 return png_create_read_struct ();
16050 return 0;
16052 _ACEOF
16053 rm -f conftest.$ac_objext conftest$ac_exeext
16054 if { (ac_try="$ac_link"
16055 case "(($ac_try" in
16056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16057 *) ac_try_echo=$ac_try;;
16058 esac
16059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16060 (eval "$ac_link") 2>conftest.er1
16061 ac_status=$?
16062 grep -v '^ *+' conftest.er1 >conftest.err
16063 rm -f conftest.er1
16064 cat conftest.err >&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); } && {
16067 test -z "$ac_c_werror_flag" ||
16068 test ! -s conftest.err
16069 } && test -s conftest$ac_exeext &&
16070 $as_test_x conftest$ac_exeext; then
16071 case "$LIBEXT" in
16072 dll) ;;
16073 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'` ;;
16074 *) 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'` ;;
16075 esac
16076 else
16077 echo "$as_me: failed program was:" >&5
16078 sed 's/^/| /' conftest.$ac_ext >&5
16083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16084 conftest$ac_exeext conftest.$ac_ext
16085 LIBS=$ac_check_soname_save_LIBS
16087 if test "x$ac_cv_lib_soname_png" = "x"; then
16088 { echo "$as_me:$LINENO: result: not found" >&5
16089 echo "${ECHO_T}not found" >&6; }
16091 else
16092 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16093 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16095 cat >>confdefs.h <<_ACEOF
16096 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16097 _ACEOF
16103 if test "x$ac_cv_lib_soname_png" = "x"; then
16104 case "x$with_png" in
16105 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
16106 xno) ;;
16107 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16108 This is an error since --with-png was requested." >&5
16109 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16110 This is an error since --with-png was requested." >&2;}
16111 { (exit 1); exit 1; }; } ;;
16112 esac
16116 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16117 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16118 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16119 echo $ECHO_N "(cached) $ECHO_C" >&6
16120 else
16121 ac_check_soname_save_LIBS=$LIBS
16122 LIBS="-lodbc $LIBS"
16123 cat >conftest.$ac_ext <<_ACEOF
16124 /* confdefs.h. */
16125 _ACEOF
16126 cat confdefs.h >>conftest.$ac_ext
16127 cat >>conftest.$ac_ext <<_ACEOF
16128 /* end confdefs.h. */
16130 /* Override any GCC internal prototype to avoid an error.
16131 Use char because int might match the return type of a GCC
16132 builtin and then its argument prototype would still apply. */
16133 #ifdef __cplusplus
16134 extern "C"
16135 #endif
16136 char SQLConnect ();
16138 main ()
16140 return SQLConnect ();
16142 return 0;
16144 _ACEOF
16145 rm -f conftest.$ac_objext conftest$ac_exeext
16146 if { (ac_try="$ac_link"
16147 case "(($ac_try" in
16148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16149 *) ac_try_echo=$ac_try;;
16150 esac
16151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16152 (eval "$ac_link") 2>conftest.er1
16153 ac_status=$?
16154 grep -v '^ *+' conftest.er1 >conftest.err
16155 rm -f conftest.er1
16156 cat conftest.err >&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); } && {
16159 test -z "$ac_c_werror_flag" ||
16160 test ! -s conftest.err
16161 } && test -s conftest$ac_exeext &&
16162 $as_test_x conftest$ac_exeext; then
16163 case "$LIBEXT" in
16164 dll) ;;
16165 dylib) ac_cv_lib_soname_odbc=`otool -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16166 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16167 esac
16168 else
16169 echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.$ac_ext >&5
16175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16176 conftest$ac_exeext conftest.$ac_ext
16177 LIBS=$ac_check_soname_save_LIBS
16179 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16180 { echo "$as_me:$LINENO: result: not found" >&5
16181 echo "${ECHO_T}not found" >&6; }
16182 cat >>confdefs.h <<_ACEOF
16183 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16184 _ACEOF
16186 else
16187 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16188 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16190 cat >>confdefs.h <<_ACEOF
16191 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16192 _ACEOF
16198 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16199 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16200 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16201 "$ac_cv_header_soundcard_h" != "yes" -a \
16202 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16203 then
16204 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16208 EXTRACFLAGS=""
16210 if test "x${GCC}" = "xyes"
16211 then
16212 EXTRACFLAGS="-Wall -pipe"
16214 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16215 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16216 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16218 else
16219 if test "$cross_compiling" = yes; then
16220 ac_cv_c_gcc_strength_bug="yes"
16221 else
16222 cat >conftest.$ac_ext <<_ACEOF
16223 /* confdefs.h. */
16224 _ACEOF
16225 cat confdefs.h >>conftest.$ac_ext
16226 cat >>conftest.$ac_ext <<_ACEOF
16227 /* end confdefs.h. */
16228 int L[4] = {0,1,2,3};
16230 main ()
16232 static int Array[3];
16233 unsigned int B = 3;
16234 int i;
16235 for(i=0; i<B; i++) Array[i] = i - 3;
16236 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16237 L[i] = 4;
16238 exit( Array[1] != -2 || L[2] != 3)
16240 return 0;
16242 _ACEOF
16243 rm -f conftest$ac_exeext
16244 if { (ac_try="$ac_link"
16245 case "(($ac_try" in
16246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16247 *) ac_try_echo=$ac_try;;
16248 esac
16249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16250 (eval "$ac_link") 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16254 { (case "(($ac_try" in
16255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16256 *) ac_try_echo=$ac_try;;
16257 esac
16258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16259 (eval "$ac_try") 2>&5
16260 ac_status=$?
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); }; }; then
16263 ac_cv_c_gcc_strength_bug="no"
16264 else
16265 echo "$as_me: program exited with status $ac_status" >&5
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.$ac_ext >&5
16269 ( exit $ac_status )
16270 ac_cv_c_gcc_strength_bug="yes"
16272 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16277 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16278 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16279 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16280 then
16281 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16285 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16286 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16287 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16288 echo $ECHO_N "(cached) $ECHO_C" >&6
16289 else
16290 ac_wine_try_cflags_saved=$CFLAGS
16291 CFLAGS="$CFLAGS -fshort-wchar"
16292 cat >conftest.$ac_ext <<_ACEOF
16293 /* confdefs.h. */
16294 _ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16300 main ()
16304 return 0;
16306 _ACEOF
16307 rm -f conftest.$ac_objext conftest$ac_exeext
16308 if { (ac_try="$ac_link"
16309 case "(($ac_try" in
16310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16311 *) ac_try_echo=$ac_try;;
16312 esac
16313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16314 (eval "$ac_link") 2>conftest.er1
16315 ac_status=$?
16316 grep -v '^ *+' conftest.er1 >conftest.err
16317 rm -f conftest.er1
16318 cat conftest.err >&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } && {
16321 test -z "$ac_c_werror_flag" ||
16322 test ! -s conftest.err
16323 } && test -s conftest$ac_exeext &&
16324 $as_test_x conftest$ac_exeext; then
16325 ac_cv_cflags__fshort_wchar=yes
16326 else
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16330 ac_cv_cflags__fshort_wchar=no
16333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16334 conftest$ac_exeext conftest.$ac_ext
16335 CFLAGS=$ac_wine_try_cflags_saved
16337 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16338 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16339 if test $ac_cv_cflags__fshort_wchar = yes; then
16341 cat >>confdefs.h <<\_ACEOF
16342 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16343 _ACEOF
16347 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16348 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16349 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16350 echo $ECHO_N "(cached) $ECHO_C" >&6
16351 else
16352 ac_wine_try_cflags_saved=$CFLAGS
16353 CFLAGS="$CFLAGS -fno-strict-aliasing"
16354 cat >conftest.$ac_ext <<_ACEOF
16355 /* confdefs.h. */
16356 _ACEOF
16357 cat confdefs.h >>conftest.$ac_ext
16358 cat >>conftest.$ac_ext <<_ACEOF
16359 /* end confdefs.h. */
16362 main ()
16366 return 0;
16368 _ACEOF
16369 rm -f conftest.$ac_objext conftest$ac_exeext
16370 if { (ac_try="$ac_link"
16371 case "(($ac_try" in
16372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16373 *) ac_try_echo=$ac_try;;
16374 esac
16375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16376 (eval "$ac_link") 2>conftest.er1
16377 ac_status=$?
16378 grep -v '^ *+' conftest.er1 >conftest.err
16379 rm -f conftest.er1
16380 cat conftest.err >&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } && {
16383 test -z "$ac_c_werror_flag" ||
16384 test ! -s conftest.err
16385 } && test -s conftest$ac_exeext &&
16386 $as_test_x conftest$ac_exeext; then
16387 ac_cv_cflags__fno_strict_aliasing=yes
16388 else
16389 echo "$as_me: failed program was:" >&5
16390 sed 's/^/| /' conftest.$ac_ext >&5
16392 ac_cv_cflags__fno_strict_aliasing=no
16395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16396 conftest$ac_exeext conftest.$ac_ext
16397 CFLAGS=$ac_wine_try_cflags_saved
16399 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16400 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16401 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16402 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16405 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16406 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16407 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16408 echo $ECHO_N "(cached) $ECHO_C" >&6
16409 else
16410 ac_wine_try_cflags_saved=$CFLAGS
16411 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16412 cat >conftest.$ac_ext <<_ACEOF
16413 /* confdefs.h. */
16414 _ACEOF
16415 cat confdefs.h >>conftest.$ac_ext
16416 cat >>conftest.$ac_ext <<_ACEOF
16417 /* end confdefs.h. */
16420 main ()
16424 return 0;
16426 _ACEOF
16427 rm -f conftest.$ac_objext conftest$ac_exeext
16428 if { (ac_try="$ac_link"
16429 case "(($ac_try" in
16430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16431 *) ac_try_echo=$ac_try;;
16432 esac
16433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16434 (eval "$ac_link") 2>conftest.er1
16435 ac_status=$?
16436 grep -v '^ *+' conftest.er1 >conftest.err
16437 rm -f conftest.er1
16438 cat conftest.err >&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } && {
16441 test -z "$ac_c_werror_flag" ||
16442 test ! -s conftest.err
16443 } && test -s conftest$ac_exeext &&
16444 $as_test_x conftest$ac_exeext; then
16445 ac_cv_cflags__Wdeclaration_after_statement=yes
16446 else
16447 echo "$as_me: failed program was:" >&5
16448 sed 's/^/| /' conftest.$ac_ext >&5
16450 ac_cv_cflags__Wdeclaration_after_statement=no
16453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16454 conftest$ac_exeext conftest.$ac_ext
16455 CFLAGS=$ac_wine_try_cflags_saved
16457 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16458 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16459 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16460 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16463 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16464 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16465 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16466 echo $ECHO_N "(cached) $ECHO_C" >&6
16467 else
16468 ac_wine_try_cflags_saved=$CFLAGS
16469 CFLAGS="$CFLAGS -Wwrite-strings"
16470 cat >conftest.$ac_ext <<_ACEOF
16471 /* confdefs.h. */
16472 _ACEOF
16473 cat confdefs.h >>conftest.$ac_ext
16474 cat >>conftest.$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16478 main ()
16482 return 0;
16484 _ACEOF
16485 rm -f conftest.$ac_objext conftest$ac_exeext
16486 if { (ac_try="$ac_link"
16487 case "(($ac_try" in
16488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16489 *) ac_try_echo=$ac_try;;
16490 esac
16491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16492 (eval "$ac_link") 2>conftest.er1
16493 ac_status=$?
16494 grep -v '^ *+' conftest.er1 >conftest.err
16495 rm -f conftest.er1
16496 cat conftest.err >&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } && {
16499 test -z "$ac_c_werror_flag" ||
16500 test ! -s conftest.err
16501 } && test -s conftest$ac_exeext &&
16502 $as_test_x conftest$ac_exeext; then
16503 ac_cv_cflags__Wwrite_strings=yes
16504 else
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.$ac_ext >&5
16508 ac_cv_cflags__Wwrite_strings=no
16511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16512 conftest$ac_exeext conftest.$ac_ext
16513 CFLAGS=$ac_wine_try_cflags_saved
16515 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16516 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16517 if test $ac_cv_cflags__Wwrite_strings = yes; then
16518 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16521 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16522 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16523 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16524 echo $ECHO_N "(cached) $ECHO_C" >&6
16525 else
16526 ac_wine_try_cflags_saved=$CFLAGS
16527 CFLAGS="$CFLAGS -Wtype-limits"
16528 cat >conftest.$ac_ext <<_ACEOF
16529 /* confdefs.h. */
16530 _ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16536 main ()
16540 return 0;
16542 _ACEOF
16543 rm -f conftest.$ac_objext conftest$ac_exeext
16544 if { (ac_try="$ac_link"
16545 case "(($ac_try" in
16546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16547 *) ac_try_echo=$ac_try;;
16548 esac
16549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16550 (eval "$ac_link") 2>conftest.er1
16551 ac_status=$?
16552 grep -v '^ *+' conftest.er1 >conftest.err
16553 rm -f conftest.er1
16554 cat conftest.err >&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } && {
16557 test -z "$ac_c_werror_flag" ||
16558 test ! -s conftest.err
16559 } && test -s conftest$ac_exeext &&
16560 $as_test_x conftest$ac_exeext; then
16561 ac_cv_cflags__Wtype_limits=yes
16562 else
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.$ac_ext >&5
16566 ac_cv_cflags__Wtype_limits=no
16569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16570 conftest$ac_exeext conftest.$ac_ext
16571 CFLAGS=$ac_wine_try_cflags_saved
16573 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16574 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16575 if test $ac_cv_cflags__Wtype_limits = yes; then
16576 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16580 saved_CFLAGS="$CFLAGS"
16581 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16582 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16583 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16584 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16586 else
16587 cat >conftest.$ac_ext <<_ACEOF
16588 /* confdefs.h. */
16589 _ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593 #include <string.h>
16595 main ()
16599 return 0;
16601 _ACEOF
16602 rm -f conftest.$ac_objext
16603 if { (ac_try="$ac_compile"
16604 case "(($ac_try" in
16605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16606 *) ac_try_echo=$ac_try;;
16607 esac
16608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16609 (eval "$ac_compile") 2>conftest.er1
16610 ac_status=$?
16611 grep -v '^ *+' conftest.er1 >conftest.err
16612 rm -f conftest.er1
16613 cat conftest.err >&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } && {
16616 test -z "$ac_c_werror_flag" ||
16617 test ! -s conftest.err
16618 } && test -s conftest.$ac_objext; then
16619 ac_cv_c_string_h_warnings=no
16620 else
16621 echo "$as_me: failed program was:" >&5
16622 sed 's/^/| /' conftest.$ac_ext >&5
16624 ac_cv_c_string_h_warnings=yes
16627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16629 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16630 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16631 CFLAGS="$saved_CFLAGS"
16632 if test "$ac_cv_c_string_h_warnings" = "no"
16633 then
16634 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16637 BUILTINFLAG=""
16639 saved_CFLAGS="$CFLAGS"
16640 CFLAGS="$CFLAGS -Werror"
16641 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16642 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16643 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 else
16646 cat >conftest.$ac_ext <<_ACEOF
16647 /* confdefs.h. */
16648 _ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16654 main ()
16656 int iswlower(unsigned short);
16658 return 0;
16660 _ACEOF
16661 rm -f conftest.$ac_objext
16662 if { (ac_try="$ac_compile"
16663 case "(($ac_try" in
16664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16665 *) ac_try_echo=$ac_try;;
16666 esac
16667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16668 (eval "$ac_compile") 2>conftest.er1
16669 ac_status=$?
16670 grep -v '^ *+' conftest.er1 >conftest.err
16671 rm -f conftest.er1
16672 cat conftest.err >&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } && {
16675 test -z "$ac_c_werror_flag" ||
16676 test ! -s conftest.err
16677 } && test -s conftest.$ac_objext; then
16678 ac_cv_c_builtin_wchar_ctype=no
16679 else
16680 echo "$as_me: failed program was:" >&5
16681 sed 's/^/| /' conftest.$ac_ext >&5
16683 ac_cv_c_builtin_wchar_ctype=yes
16686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16688 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16689 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16690 CFLAGS="$saved_CFLAGS"
16691 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16692 then
16693 BUILTINFLAG="-fno-builtin"
16698 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16699 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16700 if test "${ac_cv_asm_func_def+set}" = set; then
16701 echo $ECHO_N "(cached) $ECHO_C" >&6
16702 else
16703 cat >conftest.$ac_ext <<_ACEOF
16704 /* confdefs.h. */
16705 _ACEOF
16706 cat confdefs.h >>conftest.$ac_ext
16707 cat >>conftest.$ac_ext <<_ACEOF
16708 /* end confdefs.h. */
16711 main ()
16713 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16715 return 0;
16717 _ACEOF
16718 rm -f conftest.$ac_objext conftest$ac_exeext
16719 if { (ac_try="$ac_link"
16720 case "(($ac_try" in
16721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16722 *) ac_try_echo=$ac_try;;
16723 esac
16724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16725 (eval "$ac_link") 2>conftest.er1
16726 ac_status=$?
16727 grep -v '^ *+' conftest.er1 >conftest.err
16728 rm -f conftest.er1
16729 cat conftest.err >&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); } && {
16732 test -z "$ac_c_werror_flag" ||
16733 test ! -s conftest.err
16734 } && test -s conftest$ac_exeext &&
16735 $as_test_x conftest$ac_exeext; then
16736 ac_cv_asm_func_def=".def"
16737 else
16738 echo "$as_me: failed program was:" >&5
16739 sed 's/^/| /' conftest.$ac_ext >&5
16741 cat >conftest.$ac_ext <<_ACEOF
16742 /* confdefs.h. */
16743 _ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16749 main ()
16751 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16753 return 0;
16755 _ACEOF
16756 rm -f conftest.$ac_objext conftest$ac_exeext
16757 if { (ac_try="$ac_link"
16758 case "(($ac_try" in
16759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16760 *) ac_try_echo=$ac_try;;
16761 esac
16762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16763 (eval "$ac_link") 2>conftest.er1
16764 ac_status=$?
16765 grep -v '^ *+' conftest.er1 >conftest.err
16766 rm -f conftest.er1
16767 cat conftest.err >&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); } && {
16770 test -z "$ac_c_werror_flag" ||
16771 test ! -s conftest.err
16772 } && test -s conftest$ac_exeext &&
16773 $as_test_x conftest$ac_exeext; then
16774 ac_cv_asm_func_def=".type @function"
16775 else
16776 echo "$as_me: failed program was:" >&5
16777 sed 's/^/| /' conftest.$ac_ext >&5
16779 cat >conftest.$ac_ext <<_ACEOF
16780 /* confdefs.h. */
16781 _ACEOF
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16787 main ()
16789 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16791 return 0;
16793 _ACEOF
16794 rm -f conftest.$ac_objext conftest$ac_exeext
16795 if { (ac_try="$ac_link"
16796 case "(($ac_try" in
16797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16798 *) ac_try_echo=$ac_try;;
16799 esac
16800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16801 (eval "$ac_link") 2>conftest.er1
16802 ac_status=$?
16803 grep -v '^ *+' conftest.er1 >conftest.err
16804 rm -f conftest.er1
16805 cat conftest.err >&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); } && {
16808 test -z "$ac_c_werror_flag" ||
16809 test ! -s conftest.err
16810 } && test -s conftest$ac_exeext &&
16811 $as_test_x conftest$ac_exeext; then
16812 ac_cv_asm_func_def=".type 2"
16813 else
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.$ac_ext >&5
16817 ac_cv_asm_func_def="unknown"
16820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16821 conftest$ac_exeext conftest.$ac_ext
16824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16825 conftest$ac_exeext conftest.$ac_ext
16828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16829 conftest$ac_exeext conftest.$ac_ext
16831 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16832 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16836 case "$ac_cv_asm_func_def" in
16837 ".def")
16838 cat >>confdefs.h <<\_ACEOF
16839 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16840 _ACEOF
16842 ".type @function")
16843 cat >>confdefs.h <<\_ACEOF
16844 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16845 _ACEOF
16847 ".type 2")
16848 cat >>confdefs.h <<\_ACEOF
16849 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16850 _ACEOF
16853 cat >>confdefs.h <<\_ACEOF
16854 #define __ASM_FUNC(name) ""
16855 _ACEOF
16857 esac
16860 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16861 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16862 if test "${ac_cv_c_extern_prefix+set}" = set; then
16863 echo $ECHO_N "(cached) $ECHO_C" >&6
16864 else
16865 cat >conftest.$ac_ext <<_ACEOF
16866 /* confdefs.h. */
16867 _ACEOF
16868 cat confdefs.h >>conftest.$ac_ext
16869 cat >>conftest.$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16871 extern int ac_test;
16873 main ()
16875 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16877 return 0;
16879 _ACEOF
16880 rm -f conftest.$ac_objext conftest$ac_exeext
16881 if { (ac_try="$ac_link"
16882 case "(($ac_try" in
16883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16884 *) ac_try_echo=$ac_try;;
16885 esac
16886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16887 (eval "$ac_link") 2>conftest.er1
16888 ac_status=$?
16889 grep -v '^ *+' conftest.er1 >conftest.err
16890 rm -f conftest.er1
16891 cat conftest.err >&5
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); } && {
16894 test -z "$ac_c_werror_flag" ||
16895 test ! -s conftest.err
16896 } && test -s conftest$ac_exeext &&
16897 $as_test_x conftest$ac_exeext; then
16898 ac_cv_c_extern_prefix="yes"
16899 else
16900 echo "$as_me: failed program was:" >&5
16901 sed 's/^/| /' conftest.$ac_ext >&5
16903 ac_cv_c_extern_prefix="no"
16906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16907 conftest$ac_exeext conftest.$ac_ext
16909 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16910 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16914 if test "$ac_cv_c_extern_prefix" = "yes"
16915 then
16916 cat >>confdefs.h <<\_ACEOF
16917 #define __ASM_NAME(name) "_" name
16918 _ACEOF
16920 else
16921 cat >>confdefs.h <<\_ACEOF
16922 #define __ASM_NAME(name) name
16923 _ACEOF
16928 LDPATH=""
16930 case $build_os in
16931 cygwin*|mingw32*)
16932 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16934 darwin*|macosx*)
16936 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16937 then
16938 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16942 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16944 esac
16946 case $host_os in
16947 mingw32*)
16948 CRTLIBS="-lmsvcrt"
16950 SOCKETLIBS="-lws2_32"
16953 esac
16955 MAIN_BINARY="wine-pthread"
16956 case $host_cpu in
16957 *i[3456789]86*)
16958 case $host_os in
16959 linux* | k*bsd*-gnu)
16960 MAIN_BINARY="wine-glibc"
16962 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16964 freebsd*)
16965 MAIN_BINARY="wine-freebsd"
16967 EXTRA_BINARIES="wine-pthread"
16969 esac
16971 esac
17043 for ac_func in \
17044 _pclose \
17045 _popen \
17046 _snprintf \
17047 _spawnvp \
17048 _strdup \
17049 _stricmp \
17050 _strnicmp \
17051 _strtoi64 \
17052 _strtoui64 \
17053 _vsnprintf \
17054 asctime_r \
17055 chsize \
17056 clone \
17057 dlopen \
17058 epoll_create \
17059 ffs \
17060 finite \
17061 fork \
17062 fpclass \
17063 fstatfs \
17064 fstatvfs \
17065 ftruncate \
17066 futimes \
17067 futimesat \
17068 getdirentries \
17069 getopt_long \
17070 getpagesize \
17071 getpwuid \
17072 gettid \
17073 gettimeofday \
17074 getuid \
17075 inet_pton \
17076 kqueue \
17077 lstat \
17078 memmove \
17079 mmap \
17080 pclose \
17081 poll \
17082 popen \
17083 prctl \
17084 pread \
17085 pwrite \
17086 readlink \
17087 rfork \
17088 sched_yield \
17089 select \
17090 setproctitle \
17091 setrlimit \
17092 settimeofday \
17093 sigaltstack \
17094 sigprocmask \
17095 snprintf \
17096 spawnvp \
17097 statfs \
17098 statvfs \
17099 strcasecmp \
17100 strdup \
17101 strerror \
17102 strncasecmp \
17103 strtold \
17104 strtoll \
17105 strtoull \
17106 tcgetattr \
17107 thr_kill2 \
17108 timegm \
17109 usleep \
17110 vsnprintf \
17111 wait4 \
17112 waitpid \
17115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17116 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17118 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 else
17121 cat >conftest.$ac_ext <<_ACEOF
17122 /* confdefs.h. */
17123 _ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17129 #define $ac_func innocuous_$ac_func
17131 /* System header to define __stub macros and hopefully few prototypes,
17132 which can conflict with char $ac_func (); below.
17133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17134 <limits.h> exists even on freestanding compilers. */
17136 #ifdef __STDC__
17137 # include <limits.h>
17138 #else
17139 # include <assert.h>
17140 #endif
17142 #undef $ac_func
17144 /* Override any GCC internal prototype to avoid an error.
17145 Use char because int might match the return type of a GCC
17146 builtin and then its argument prototype would still apply. */
17147 #ifdef __cplusplus
17148 extern "C"
17149 #endif
17150 char $ac_func ();
17151 /* The GNU C library defines this for functions which it implements
17152 to always fail with ENOSYS. Some functions are actually named
17153 something starting with __ and the normal name is an alias. */
17154 #if defined __stub_$ac_func || defined __stub___$ac_func
17155 choke me
17156 #endif
17159 main ()
17161 return $ac_func ();
17163 return 0;
17165 _ACEOF
17166 rm -f conftest.$ac_objext conftest$ac_exeext
17167 if { (ac_try="$ac_link"
17168 case "(($ac_try" in
17169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17170 *) ac_try_echo=$ac_try;;
17171 esac
17172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17173 (eval "$ac_link") 2>conftest.er1
17174 ac_status=$?
17175 grep -v '^ *+' conftest.er1 >conftest.err
17176 rm -f conftest.er1
17177 cat conftest.err >&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); } && {
17180 test -z "$ac_c_werror_flag" ||
17181 test ! -s conftest.err
17182 } && test -s conftest$ac_exeext &&
17183 $as_test_x conftest$ac_exeext; then
17184 eval "$as_ac_var=yes"
17185 else
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.$ac_ext >&5
17189 eval "$as_ac_var=no"
17192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17193 conftest$ac_exeext conftest.$ac_ext
17195 ac_res=`eval echo '${'$as_ac_var'}'`
17196 { echo "$as_me:$LINENO: result: $ac_res" >&5
17197 echo "${ECHO_T}$ac_res" >&6; }
17198 if test `eval echo '${'$as_ac_var'}'` = yes; then
17199 cat >>confdefs.h <<_ACEOF
17200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17201 _ACEOF
17204 done
17207 if test "$ac_cv_func_dlopen" = no
17208 then
17209 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17210 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17211 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17212 echo $ECHO_N "(cached) $ECHO_C" >&6
17213 else
17214 ac_check_lib_save_LIBS=$LIBS
17215 LIBS="-ldl $LIBS"
17216 cat >conftest.$ac_ext <<_ACEOF
17217 /* confdefs.h. */
17218 _ACEOF
17219 cat confdefs.h >>conftest.$ac_ext
17220 cat >>conftest.$ac_ext <<_ACEOF
17221 /* end confdefs.h. */
17223 /* Override any GCC internal prototype to avoid an error.
17224 Use char because int might match the return type of a GCC
17225 builtin and then its argument prototype would still apply. */
17226 #ifdef __cplusplus
17227 extern "C"
17228 #endif
17229 char dlopen ();
17231 main ()
17233 return dlopen ();
17235 return 0;
17237 _ACEOF
17238 rm -f conftest.$ac_objext conftest$ac_exeext
17239 if { (ac_try="$ac_link"
17240 case "(($ac_try" in
17241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17242 *) ac_try_echo=$ac_try;;
17243 esac
17244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17245 (eval "$ac_link") 2>conftest.er1
17246 ac_status=$?
17247 grep -v '^ *+' conftest.er1 >conftest.err
17248 rm -f conftest.er1
17249 cat conftest.err >&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); } && {
17252 test -z "$ac_c_werror_flag" ||
17253 test ! -s conftest.err
17254 } && test -s conftest$ac_exeext &&
17255 $as_test_x conftest$ac_exeext; then
17256 ac_cv_lib_dl_dlopen=yes
17257 else
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.$ac_ext >&5
17261 ac_cv_lib_dl_dlopen=no
17264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17265 conftest$ac_exeext conftest.$ac_ext
17266 LIBS=$ac_check_lib_save_LIBS
17268 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17269 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17270 if test $ac_cv_lib_dl_dlopen = yes; then
17271 cat >>confdefs.h <<\_ACEOF
17272 #define HAVE_DLOPEN 1
17273 _ACEOF
17274 LIBDL="-ldl"
17279 ac_wine_check_funcs_save_LIBS="$LIBS"
17280 LIBS="$LIBS $LIBDL"
17282 for ac_func in dladdr
17284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17285 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17287 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 else
17290 cat >conftest.$ac_ext <<_ACEOF
17291 /* confdefs.h. */
17292 _ACEOF
17293 cat confdefs.h >>conftest.$ac_ext
17294 cat >>conftest.$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17298 #define $ac_func innocuous_$ac_func
17300 /* System header to define __stub macros and hopefully few prototypes,
17301 which can conflict with char $ac_func (); below.
17302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17303 <limits.h> exists even on freestanding compilers. */
17305 #ifdef __STDC__
17306 # include <limits.h>
17307 #else
17308 # include <assert.h>
17309 #endif
17311 #undef $ac_func
17313 /* Override any GCC internal prototype to avoid an error.
17314 Use char because int might match the return type of a GCC
17315 builtin and then its argument prototype would still apply. */
17316 #ifdef __cplusplus
17317 extern "C"
17318 #endif
17319 char $ac_func ();
17320 /* The GNU C library defines this for functions which it implements
17321 to always fail with ENOSYS. Some functions are actually named
17322 something starting with __ and the normal name is an alias. */
17323 #if defined __stub_$ac_func || defined __stub___$ac_func
17324 choke me
17325 #endif
17328 main ()
17330 return $ac_func ();
17332 return 0;
17334 _ACEOF
17335 rm -f conftest.$ac_objext conftest$ac_exeext
17336 if { (ac_try="$ac_link"
17337 case "(($ac_try" in
17338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17339 *) ac_try_echo=$ac_try;;
17340 esac
17341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17342 (eval "$ac_link") 2>conftest.er1
17343 ac_status=$?
17344 grep -v '^ *+' conftest.er1 >conftest.err
17345 rm -f conftest.er1
17346 cat conftest.err >&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } && {
17349 test -z "$ac_c_werror_flag" ||
17350 test ! -s conftest.err
17351 } && test -s conftest$ac_exeext &&
17352 $as_test_x conftest$ac_exeext; then
17353 eval "$as_ac_var=yes"
17354 else
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.$ac_ext >&5
17358 eval "$as_ac_var=no"
17361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17362 conftest$ac_exeext conftest.$ac_ext
17364 ac_res=`eval echo '${'$as_ac_var'}'`
17365 { echo "$as_me:$LINENO: result: $ac_res" >&5
17366 echo "${ECHO_T}$ac_res" >&6; }
17367 if test `eval echo '${'$as_ac_var'}'` = yes; then
17368 cat >>confdefs.h <<_ACEOF
17369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17370 _ACEOF
17373 done
17375 LIBS="$ac_wine_check_funcs_save_LIBS"
17377 if test "$ac_cv_func_poll" = no
17378 then
17379 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17380 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17381 if test "${ac_cv_lib_poll_poll+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17383 else
17384 ac_check_lib_save_LIBS=$LIBS
17385 LIBS="-lpoll $LIBS"
17386 cat >conftest.$ac_ext <<_ACEOF
17387 /* confdefs.h. */
17388 _ACEOF
17389 cat confdefs.h >>conftest.$ac_ext
17390 cat >>conftest.$ac_ext <<_ACEOF
17391 /* end confdefs.h. */
17393 /* Override any GCC internal prototype to avoid an error.
17394 Use char because int might match the return type of a GCC
17395 builtin and then its argument prototype would still apply. */
17396 #ifdef __cplusplus
17397 extern "C"
17398 #endif
17399 char poll ();
17401 main ()
17403 return poll ();
17405 return 0;
17407 _ACEOF
17408 rm -f conftest.$ac_objext conftest$ac_exeext
17409 if { (ac_try="$ac_link"
17410 case "(($ac_try" in
17411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17412 *) ac_try_echo=$ac_try;;
17413 esac
17414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17415 (eval "$ac_link") 2>conftest.er1
17416 ac_status=$?
17417 grep -v '^ *+' conftest.er1 >conftest.err
17418 rm -f conftest.er1
17419 cat conftest.err >&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); } && {
17422 test -z "$ac_c_werror_flag" ||
17423 test ! -s conftest.err
17424 } && test -s conftest$ac_exeext &&
17425 $as_test_x conftest$ac_exeext; then
17426 ac_cv_lib_poll_poll=yes
17427 else
17428 echo "$as_me: failed program was:" >&5
17429 sed 's/^/| /' conftest.$ac_ext >&5
17431 ac_cv_lib_poll_poll=no
17434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17435 conftest$ac_exeext conftest.$ac_ext
17436 LIBS=$ac_check_lib_save_LIBS
17438 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17439 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17440 if test $ac_cv_lib_poll_poll = yes; then
17441 cat >>confdefs.h <<\_ACEOF
17442 #define HAVE_POLL 1
17443 _ACEOF
17444 LIBPOLL="-lpoll"
17450 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17451 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17452 if test "${ac_cv_search_gethostbyname+set}" = set; then
17453 echo $ECHO_N "(cached) $ECHO_C" >&6
17454 else
17455 ac_func_search_save_LIBS=$LIBS
17456 cat >conftest.$ac_ext <<_ACEOF
17457 /* confdefs.h. */
17458 _ACEOF
17459 cat confdefs.h >>conftest.$ac_ext
17460 cat >>conftest.$ac_ext <<_ACEOF
17461 /* end confdefs.h. */
17463 /* Override any GCC internal prototype to avoid an error.
17464 Use char because int might match the return type of a GCC
17465 builtin and then its argument prototype would still apply. */
17466 #ifdef __cplusplus
17467 extern "C"
17468 #endif
17469 char gethostbyname ();
17471 main ()
17473 return gethostbyname ();
17475 return 0;
17477 _ACEOF
17478 for ac_lib in '' nsl; do
17479 if test -z "$ac_lib"; then
17480 ac_res="none required"
17481 else
17482 ac_res=-l$ac_lib
17483 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17485 rm -f conftest.$ac_objext conftest$ac_exeext
17486 if { (ac_try="$ac_link"
17487 case "(($ac_try" in
17488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17489 *) ac_try_echo=$ac_try;;
17490 esac
17491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17492 (eval "$ac_link") 2>conftest.er1
17493 ac_status=$?
17494 grep -v '^ *+' conftest.er1 >conftest.err
17495 rm -f conftest.er1
17496 cat conftest.err >&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } && {
17499 test -z "$ac_c_werror_flag" ||
17500 test ! -s conftest.err
17501 } && test -s conftest$ac_exeext &&
17502 $as_test_x conftest$ac_exeext; then
17503 ac_cv_search_gethostbyname=$ac_res
17504 else
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.$ac_ext >&5
17511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17512 conftest$ac_exeext
17513 if test "${ac_cv_search_gethostbyname+set}" = set; then
17514 break
17516 done
17517 if test "${ac_cv_search_gethostbyname+set}" = set; then
17519 else
17520 ac_cv_search_gethostbyname=no
17522 rm conftest.$ac_ext
17523 LIBS=$ac_func_search_save_LIBS
17525 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17526 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17527 ac_res=$ac_cv_search_gethostbyname
17528 if test "$ac_res" != no; then
17529 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17534 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17535 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17536 if test "${ac_cv_search_connect+set}" = set; then
17537 echo $ECHO_N "(cached) $ECHO_C" >&6
17538 else
17539 ac_func_search_save_LIBS=$LIBS
17540 cat >conftest.$ac_ext <<_ACEOF
17541 /* confdefs.h. */
17542 _ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17547 /* Override any GCC internal prototype to avoid an error.
17548 Use char because int might match the return type of a GCC
17549 builtin and then its argument prototype would still apply. */
17550 #ifdef __cplusplus
17551 extern "C"
17552 #endif
17553 char connect ();
17555 main ()
17557 return connect ();
17559 return 0;
17561 _ACEOF
17562 for ac_lib in '' socket; do
17563 if test -z "$ac_lib"; then
17564 ac_res="none required"
17565 else
17566 ac_res=-l$ac_lib
17567 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17569 rm -f conftest.$ac_objext conftest$ac_exeext
17570 if { (ac_try="$ac_link"
17571 case "(($ac_try" in
17572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17573 *) ac_try_echo=$ac_try;;
17574 esac
17575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17576 (eval "$ac_link") 2>conftest.er1
17577 ac_status=$?
17578 grep -v '^ *+' conftest.er1 >conftest.err
17579 rm -f conftest.er1
17580 cat conftest.err >&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } && {
17583 test -z "$ac_c_werror_flag" ||
17584 test ! -s conftest.err
17585 } && test -s conftest$ac_exeext &&
17586 $as_test_x conftest$ac_exeext; then
17587 ac_cv_search_connect=$ac_res
17588 else
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.$ac_ext >&5
17595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17596 conftest$ac_exeext
17597 if test "${ac_cv_search_connect+set}" = set; then
17598 break
17600 done
17601 if test "${ac_cv_search_connect+set}" = set; then
17603 else
17604 ac_cv_search_connect=no
17606 rm conftest.$ac_ext
17607 LIBS=$ac_func_search_save_LIBS
17609 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17610 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17611 ac_res=$ac_cv_search_connect
17612 if test "$ac_res" != no; then
17613 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17618 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17619 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17620 if test "${ac_cv_search_inet_aton+set}" = set; then
17621 echo $ECHO_N "(cached) $ECHO_C" >&6
17622 else
17623 ac_func_search_save_LIBS=$LIBS
17624 cat >conftest.$ac_ext <<_ACEOF
17625 /* confdefs.h. */
17626 _ACEOF
17627 cat confdefs.h >>conftest.$ac_ext
17628 cat >>conftest.$ac_ext <<_ACEOF
17629 /* end confdefs.h. */
17631 /* Override any GCC internal prototype to avoid an error.
17632 Use char because int might match the return type of a GCC
17633 builtin and then its argument prototype would still apply. */
17634 #ifdef __cplusplus
17635 extern "C"
17636 #endif
17637 char inet_aton ();
17639 main ()
17641 return inet_aton ();
17643 return 0;
17645 _ACEOF
17646 for ac_lib in '' resolv; do
17647 if test -z "$ac_lib"; then
17648 ac_res="none required"
17649 else
17650 ac_res=-l$ac_lib
17651 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17653 rm -f conftest.$ac_objext conftest$ac_exeext
17654 if { (ac_try="$ac_link"
17655 case "(($ac_try" in
17656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17657 *) ac_try_echo=$ac_try;;
17658 esac
17659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17660 (eval "$ac_link") 2>conftest.er1
17661 ac_status=$?
17662 grep -v '^ *+' conftest.er1 >conftest.err
17663 rm -f conftest.er1
17664 cat conftest.err >&5
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); } && {
17667 test -z "$ac_c_werror_flag" ||
17668 test ! -s conftest.err
17669 } && test -s conftest$ac_exeext &&
17670 $as_test_x conftest$ac_exeext; then
17671 ac_cv_search_inet_aton=$ac_res
17672 else
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.$ac_ext >&5
17679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17680 conftest$ac_exeext
17681 if test "${ac_cv_search_inet_aton+set}" = set; then
17682 break
17684 done
17685 if test "${ac_cv_search_inet_aton+set}" = set; then
17687 else
17688 ac_cv_search_inet_aton=no
17690 rm conftest.$ac_ext
17691 LIBS=$ac_func_search_save_LIBS
17693 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17694 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17695 ac_res=$ac_cv_search_inet_aton
17696 if test "$ac_res" != no; then
17697 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17710 for ac_func in \
17711 getaddrinfo \
17712 getnameinfo \
17713 getnetbyname \
17714 getprotobyname \
17715 getprotobynumber \
17716 getservbyport \
17717 inet_network \
17718 sendmsg \
17721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17722 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17724 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17726 else
17727 cat >conftest.$ac_ext <<_ACEOF
17728 /* confdefs.h. */
17729 _ACEOF
17730 cat confdefs.h >>conftest.$ac_ext
17731 cat >>conftest.$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17735 #define $ac_func innocuous_$ac_func
17737 /* System header to define __stub macros and hopefully few prototypes,
17738 which can conflict with char $ac_func (); below.
17739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17740 <limits.h> exists even on freestanding compilers. */
17742 #ifdef __STDC__
17743 # include <limits.h>
17744 #else
17745 # include <assert.h>
17746 #endif
17748 #undef $ac_func
17750 /* Override any GCC internal prototype to avoid an error.
17751 Use char because int might match the return type of a GCC
17752 builtin and then its argument prototype would still apply. */
17753 #ifdef __cplusplus
17754 extern "C"
17755 #endif
17756 char $ac_func ();
17757 /* The GNU C library defines this for functions which it implements
17758 to always fail with ENOSYS. Some functions are actually named
17759 something starting with __ and the normal name is an alias. */
17760 #if defined __stub_$ac_func || defined __stub___$ac_func
17761 choke me
17762 #endif
17765 main ()
17767 return $ac_func ();
17769 return 0;
17771 _ACEOF
17772 rm -f conftest.$ac_objext conftest$ac_exeext
17773 if { (ac_try="$ac_link"
17774 case "(($ac_try" in
17775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17776 *) ac_try_echo=$ac_try;;
17777 esac
17778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17779 (eval "$ac_link") 2>conftest.er1
17780 ac_status=$?
17781 grep -v '^ *+' conftest.er1 >conftest.err
17782 rm -f conftest.er1
17783 cat conftest.err >&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); } && {
17786 test -z "$ac_c_werror_flag" ||
17787 test ! -s conftest.err
17788 } && test -s conftest$ac_exeext &&
17789 $as_test_x conftest$ac_exeext; then
17790 eval "$as_ac_var=yes"
17791 else
17792 echo "$as_me: failed program was:" >&5
17793 sed 's/^/| /' conftest.$ac_ext >&5
17795 eval "$as_ac_var=no"
17798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17799 conftest$ac_exeext conftest.$ac_ext
17801 ac_res=`eval echo '${'$as_ac_var'}'`
17802 { echo "$as_me:$LINENO: result: $ac_res" >&5
17803 echo "${ECHO_T}$ac_res" >&6; }
17804 if test `eval echo '${'$as_ac_var'}'` = yes; then
17805 cat >>confdefs.h <<_ACEOF
17806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17807 _ACEOF
17810 done
17814 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17815 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17816 if test "${ac_cv_c_const+set}" = set; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17818 else
17819 cat >conftest.$ac_ext <<_ACEOF
17820 /* confdefs.h. */
17821 _ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17827 main ()
17829 /* FIXME: Include the comments suggested by Paul. */
17830 #ifndef __cplusplus
17831 /* Ultrix mips cc rejects this. */
17832 typedef int charset[2];
17833 const charset cs;
17834 /* SunOS 4.1.1 cc rejects this. */
17835 char const *const *pcpcc;
17836 char **ppc;
17837 /* NEC SVR4.0.2 mips cc rejects this. */
17838 struct point {int x, y;};
17839 static struct point const zero = {0,0};
17840 /* AIX XL C 1.02.0.0 rejects this.
17841 It does not let you subtract one const X* pointer from another in
17842 an arm of an if-expression whose if-part is not a constant
17843 expression */
17844 const char *g = "string";
17845 pcpcc = &g + (g ? g-g : 0);
17846 /* HPUX 7.0 cc rejects these. */
17847 ++pcpcc;
17848 ppc = (char**) pcpcc;
17849 pcpcc = (char const *const *) ppc;
17850 { /* SCO 3.2v4 cc rejects this. */
17851 char *t;
17852 char const *s = 0 ? (char *) 0 : (char const *) 0;
17854 *t++ = 0;
17855 if (s) return 0;
17857 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17858 int x[] = {25, 17};
17859 const int *foo = &x[0];
17860 ++foo;
17862 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17863 typedef const int *iptr;
17864 iptr p = 0;
17865 ++p;
17867 { /* AIX XL C 1.02.0.0 rejects this saying
17868 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17869 struct s { int j; const int *ap[3]; };
17870 struct s *b; b->j = 5;
17872 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17873 const int foo = 10;
17874 if (!foo) return 0;
17876 return !cs[0] && !zero.x;
17877 #endif
17880 return 0;
17882 _ACEOF
17883 rm -f conftest.$ac_objext
17884 if { (ac_try="$ac_compile"
17885 case "(($ac_try" in
17886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17887 *) ac_try_echo=$ac_try;;
17888 esac
17889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17890 (eval "$ac_compile") 2>conftest.er1
17891 ac_status=$?
17892 grep -v '^ *+' conftest.er1 >conftest.err
17893 rm -f conftest.er1
17894 cat conftest.err >&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); } && {
17897 test -z "$ac_c_werror_flag" ||
17898 test ! -s conftest.err
17899 } && test -s conftest.$ac_objext; then
17900 ac_cv_c_const=yes
17901 else
17902 echo "$as_me: failed program was:" >&5
17903 sed 's/^/| /' conftest.$ac_ext >&5
17905 ac_cv_c_const=no
17908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17910 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17911 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17912 if test $ac_cv_c_const = no; then
17914 cat >>confdefs.h <<\_ACEOF
17915 #define const
17916 _ACEOF
17920 { echo "$as_me:$LINENO: checking for inline" >&5
17921 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17922 if test "${ac_cv_c_inline+set}" = set; then
17923 echo $ECHO_N "(cached) $ECHO_C" >&6
17924 else
17925 ac_cv_c_inline=no
17926 for ac_kw in inline __inline__ __inline; do
17927 cat >conftest.$ac_ext <<_ACEOF
17928 /* confdefs.h. */
17929 _ACEOF
17930 cat confdefs.h >>conftest.$ac_ext
17931 cat >>conftest.$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 #ifndef __cplusplus
17934 typedef int foo_t;
17935 static $ac_kw foo_t static_foo () {return 0; }
17936 $ac_kw foo_t foo () {return 0; }
17937 #endif
17939 _ACEOF
17940 rm -f conftest.$ac_objext
17941 if { (ac_try="$ac_compile"
17942 case "(($ac_try" in
17943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17944 *) ac_try_echo=$ac_try;;
17945 esac
17946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17947 (eval "$ac_compile") 2>conftest.er1
17948 ac_status=$?
17949 grep -v '^ *+' conftest.er1 >conftest.err
17950 rm -f conftest.er1
17951 cat conftest.err >&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } && {
17954 test -z "$ac_c_werror_flag" ||
17955 test ! -s conftest.err
17956 } && test -s conftest.$ac_objext; then
17957 ac_cv_c_inline=$ac_kw
17958 else
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.$ac_ext >&5
17965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17966 test "$ac_cv_c_inline" != no && break
17967 done
17970 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17971 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17974 case $ac_cv_c_inline in
17975 inline | yes) ;;
17977 case $ac_cv_c_inline in
17978 no) ac_val=;;
17979 *) ac_val=$ac_cv_c_inline;;
17980 esac
17981 cat >>confdefs.h <<_ACEOF
17982 #ifndef __cplusplus
17983 #define inline $ac_val
17984 #endif
17985 _ACEOF
17987 esac
17989 { echo "$as_me:$LINENO: checking for mode_t" >&5
17990 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17991 if test "${ac_cv_type_mode_t+set}" = set; then
17992 echo $ECHO_N "(cached) $ECHO_C" >&6
17993 else
17994 cat >conftest.$ac_ext <<_ACEOF
17995 /* confdefs.h. */
17996 _ACEOF
17997 cat confdefs.h >>conftest.$ac_ext
17998 cat >>conftest.$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18000 $ac_includes_default
18001 typedef mode_t ac__type_new_;
18003 main ()
18005 if ((ac__type_new_ *) 0)
18006 return 0;
18007 if (sizeof (ac__type_new_))
18008 return 0;
18010 return 0;
18012 _ACEOF
18013 rm -f conftest.$ac_objext
18014 if { (ac_try="$ac_compile"
18015 case "(($ac_try" in
18016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18017 *) ac_try_echo=$ac_try;;
18018 esac
18019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18020 (eval "$ac_compile") 2>conftest.er1
18021 ac_status=$?
18022 grep -v '^ *+' conftest.er1 >conftest.err
18023 rm -f conftest.er1
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } && {
18027 test -z "$ac_c_werror_flag" ||
18028 test ! -s conftest.err
18029 } && test -s conftest.$ac_objext; then
18030 ac_cv_type_mode_t=yes
18031 else
18032 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.$ac_ext >&5
18035 ac_cv_type_mode_t=no
18038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18040 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
18041 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
18042 if test $ac_cv_type_mode_t = yes; then
18044 cat >>confdefs.h <<_ACEOF
18045 #define HAVE_MODE_T 1
18046 _ACEOF
18050 { echo "$as_me:$LINENO: checking for off_t" >&5
18051 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
18052 if test "${ac_cv_type_off_t+set}" = set; then
18053 echo $ECHO_N "(cached) $ECHO_C" >&6
18054 else
18055 cat >conftest.$ac_ext <<_ACEOF
18056 /* confdefs.h. */
18057 _ACEOF
18058 cat confdefs.h >>conftest.$ac_ext
18059 cat >>conftest.$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061 $ac_includes_default
18062 typedef off_t ac__type_new_;
18064 main ()
18066 if ((ac__type_new_ *) 0)
18067 return 0;
18068 if (sizeof (ac__type_new_))
18069 return 0;
18071 return 0;
18073 _ACEOF
18074 rm -f conftest.$ac_objext
18075 if { (ac_try="$ac_compile"
18076 case "(($ac_try" in
18077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18078 *) ac_try_echo=$ac_try;;
18079 esac
18080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18081 (eval "$ac_compile") 2>conftest.er1
18082 ac_status=$?
18083 grep -v '^ *+' conftest.er1 >conftest.err
18084 rm -f conftest.er1
18085 cat conftest.err >&5
18086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); } && {
18088 test -z "$ac_c_werror_flag" ||
18089 test ! -s conftest.err
18090 } && test -s conftest.$ac_objext; then
18091 ac_cv_type_off_t=yes
18092 else
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.$ac_ext >&5
18096 ac_cv_type_off_t=no
18099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18101 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18102 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18103 if test $ac_cv_type_off_t = yes; then
18105 cat >>confdefs.h <<_ACEOF
18106 #define HAVE_OFF_T 1
18107 _ACEOF
18111 { echo "$as_me:$LINENO: checking for pid_t" >&5
18112 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18113 if test "${ac_cv_type_pid_t+set}" = set; then
18114 echo $ECHO_N "(cached) $ECHO_C" >&6
18115 else
18116 cat >conftest.$ac_ext <<_ACEOF
18117 /* confdefs.h. */
18118 _ACEOF
18119 cat confdefs.h >>conftest.$ac_ext
18120 cat >>conftest.$ac_ext <<_ACEOF
18121 /* end confdefs.h. */
18122 $ac_includes_default
18123 typedef pid_t ac__type_new_;
18125 main ()
18127 if ((ac__type_new_ *) 0)
18128 return 0;
18129 if (sizeof (ac__type_new_))
18130 return 0;
18132 return 0;
18134 _ACEOF
18135 rm -f conftest.$ac_objext
18136 if { (ac_try="$ac_compile"
18137 case "(($ac_try" in
18138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18139 *) ac_try_echo=$ac_try;;
18140 esac
18141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18142 (eval "$ac_compile") 2>conftest.er1
18143 ac_status=$?
18144 grep -v '^ *+' conftest.er1 >conftest.err
18145 rm -f conftest.er1
18146 cat conftest.err >&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } && {
18149 test -z "$ac_c_werror_flag" ||
18150 test ! -s conftest.err
18151 } && test -s conftest.$ac_objext; then
18152 ac_cv_type_pid_t=yes
18153 else
18154 echo "$as_me: failed program was:" >&5
18155 sed 's/^/| /' conftest.$ac_ext >&5
18157 ac_cv_type_pid_t=no
18160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18162 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18163 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18164 if test $ac_cv_type_pid_t = yes; then
18166 cat >>confdefs.h <<_ACEOF
18167 #define HAVE_PID_T 1
18168 _ACEOF
18172 { echo "$as_me:$LINENO: checking for size_t" >&5
18173 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18174 if test "${ac_cv_type_size_t+set}" = set; then
18175 echo $ECHO_N "(cached) $ECHO_C" >&6
18176 else
18177 cat >conftest.$ac_ext <<_ACEOF
18178 /* confdefs.h. */
18179 _ACEOF
18180 cat confdefs.h >>conftest.$ac_ext
18181 cat >>conftest.$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183 $ac_includes_default
18184 typedef size_t ac__type_new_;
18186 main ()
18188 if ((ac__type_new_ *) 0)
18189 return 0;
18190 if (sizeof (ac__type_new_))
18191 return 0;
18193 return 0;
18195 _ACEOF
18196 rm -f conftest.$ac_objext
18197 if { (ac_try="$ac_compile"
18198 case "(($ac_try" in
18199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18200 *) ac_try_echo=$ac_try;;
18201 esac
18202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18203 (eval "$ac_compile") 2>conftest.er1
18204 ac_status=$?
18205 grep -v '^ *+' conftest.er1 >conftest.err
18206 rm -f conftest.er1
18207 cat conftest.err >&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); } && {
18210 test -z "$ac_c_werror_flag" ||
18211 test ! -s conftest.err
18212 } && test -s conftest.$ac_objext; then
18213 ac_cv_type_size_t=yes
18214 else
18215 echo "$as_me: failed program was:" >&5
18216 sed 's/^/| /' conftest.$ac_ext >&5
18218 ac_cv_type_size_t=no
18221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18223 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18224 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18225 if test $ac_cv_type_size_t = yes; then
18227 cat >>confdefs.h <<_ACEOF
18228 #define HAVE_SIZE_T 1
18229 _ACEOF
18233 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18234 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18235 if test "${ac_cv_type_ssize_t+set}" = set; then
18236 echo $ECHO_N "(cached) $ECHO_C" >&6
18237 else
18238 cat >conftest.$ac_ext <<_ACEOF
18239 /* confdefs.h. */
18240 _ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244 $ac_includes_default
18245 typedef ssize_t ac__type_new_;
18247 main ()
18249 if ((ac__type_new_ *) 0)
18250 return 0;
18251 if (sizeof (ac__type_new_))
18252 return 0;
18254 return 0;
18256 _ACEOF
18257 rm -f conftest.$ac_objext
18258 if { (ac_try="$ac_compile"
18259 case "(($ac_try" in
18260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18261 *) ac_try_echo=$ac_try;;
18262 esac
18263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18264 (eval "$ac_compile") 2>conftest.er1
18265 ac_status=$?
18266 grep -v '^ *+' conftest.er1 >conftest.err
18267 rm -f conftest.er1
18268 cat conftest.err >&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); } && {
18271 test -z "$ac_c_werror_flag" ||
18272 test ! -s conftest.err
18273 } && test -s conftest.$ac_objext; then
18274 ac_cv_type_ssize_t=yes
18275 else
18276 echo "$as_me: failed program was:" >&5
18277 sed 's/^/| /' conftest.$ac_ext >&5
18279 ac_cv_type_ssize_t=no
18282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18284 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18285 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18286 if test $ac_cv_type_ssize_t = yes; then
18288 cat >>confdefs.h <<_ACEOF
18289 #define HAVE_SSIZE_T 1
18290 _ACEOF
18294 { echo "$as_me:$LINENO: checking for long long" >&5
18295 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18296 if test "${ac_cv_type_long_long+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18298 else
18299 cat >conftest.$ac_ext <<_ACEOF
18300 /* confdefs.h. */
18301 _ACEOF
18302 cat confdefs.h >>conftest.$ac_ext
18303 cat >>conftest.$ac_ext <<_ACEOF
18304 /* end confdefs.h. */
18305 $ac_includes_default
18306 typedef long long ac__type_new_;
18308 main ()
18310 if ((ac__type_new_ *) 0)
18311 return 0;
18312 if (sizeof (ac__type_new_))
18313 return 0;
18315 return 0;
18317 _ACEOF
18318 rm -f conftest.$ac_objext
18319 if { (ac_try="$ac_compile"
18320 case "(($ac_try" in
18321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18322 *) ac_try_echo=$ac_try;;
18323 esac
18324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18325 (eval "$ac_compile") 2>conftest.er1
18326 ac_status=$?
18327 grep -v '^ *+' conftest.er1 >conftest.err
18328 rm -f conftest.er1
18329 cat conftest.err >&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } && {
18332 test -z "$ac_c_werror_flag" ||
18333 test ! -s conftest.err
18334 } && test -s conftest.$ac_objext; then
18335 ac_cv_type_long_long=yes
18336 else
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.$ac_ext >&5
18340 ac_cv_type_long_long=no
18343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18345 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18346 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18347 if test $ac_cv_type_long_long = yes; then
18349 cat >>confdefs.h <<_ACEOF
18350 #define HAVE_LONG_LONG 1
18351 _ACEOF
18355 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18356 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18357 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18358 echo $ECHO_N "(cached) $ECHO_C" >&6
18359 else
18360 cat >conftest.$ac_ext <<_ACEOF
18361 /* confdefs.h. */
18362 _ACEOF
18363 cat confdefs.h >>conftest.$ac_ext
18364 cat >>conftest.$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18366 $ac_includes_default
18367 typedef fsblkcnt_t ac__type_new_;
18369 main ()
18371 if ((ac__type_new_ *) 0)
18372 return 0;
18373 if (sizeof (ac__type_new_))
18374 return 0;
18376 return 0;
18378 _ACEOF
18379 rm -f conftest.$ac_objext
18380 if { (ac_try="$ac_compile"
18381 case "(($ac_try" in
18382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18383 *) ac_try_echo=$ac_try;;
18384 esac
18385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18386 (eval "$ac_compile") 2>conftest.er1
18387 ac_status=$?
18388 grep -v '^ *+' conftest.er1 >conftest.err
18389 rm -f conftest.er1
18390 cat conftest.err >&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); } && {
18393 test -z "$ac_c_werror_flag" ||
18394 test ! -s conftest.err
18395 } && test -s conftest.$ac_objext; then
18396 ac_cv_type_fsblkcnt_t=yes
18397 else
18398 echo "$as_me: failed program was:" >&5
18399 sed 's/^/| /' conftest.$ac_ext >&5
18401 ac_cv_type_fsblkcnt_t=no
18404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18406 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18407 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18408 if test $ac_cv_type_fsblkcnt_t = yes; then
18410 cat >>confdefs.h <<_ACEOF
18411 #define HAVE_FSBLKCNT_T 1
18412 _ACEOF
18416 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18417 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18418 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18419 echo $ECHO_N "(cached) $ECHO_C" >&6
18420 else
18421 cat >conftest.$ac_ext <<_ACEOF
18422 /* confdefs.h. */
18423 _ACEOF
18424 cat confdefs.h >>conftest.$ac_ext
18425 cat >>conftest.$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18427 $ac_includes_default
18428 typedef fsfilcnt_t ac__type_new_;
18430 main ()
18432 if ((ac__type_new_ *) 0)
18433 return 0;
18434 if (sizeof (ac__type_new_))
18435 return 0;
18437 return 0;
18439 _ACEOF
18440 rm -f conftest.$ac_objext
18441 if { (ac_try="$ac_compile"
18442 case "(($ac_try" in
18443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18444 *) ac_try_echo=$ac_try;;
18445 esac
18446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18447 (eval "$ac_compile") 2>conftest.er1
18448 ac_status=$?
18449 grep -v '^ *+' conftest.er1 >conftest.err
18450 rm -f conftest.er1
18451 cat conftest.err >&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } && {
18454 test -z "$ac_c_werror_flag" ||
18455 test ! -s conftest.err
18456 } && test -s conftest.$ac_objext; then
18457 ac_cv_type_fsfilcnt_t=yes
18458 else
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.$ac_ext >&5
18462 ac_cv_type_fsfilcnt_t=no
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18467 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18468 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18469 if test $ac_cv_type_fsfilcnt_t = yes; then
18471 cat >>confdefs.h <<_ACEOF
18472 #define HAVE_FSFILCNT_T 1
18473 _ACEOF
18478 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18479 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18480 if test "${ac_cv_type_sigset_t+set}" = set; then
18481 echo $ECHO_N "(cached) $ECHO_C" >&6
18482 else
18483 cat >conftest.$ac_ext <<_ACEOF
18484 /* confdefs.h. */
18485 _ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18489 #include <signal.h>
18491 typedef sigset_t ac__type_new_;
18493 main ()
18495 if ((ac__type_new_ *) 0)
18496 return 0;
18497 if (sizeof (ac__type_new_))
18498 return 0;
18500 return 0;
18502 _ACEOF
18503 rm -f conftest.$ac_objext
18504 if { (ac_try="$ac_compile"
18505 case "(($ac_try" in
18506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18507 *) ac_try_echo=$ac_try;;
18508 esac
18509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18510 (eval "$ac_compile") 2>conftest.er1
18511 ac_status=$?
18512 grep -v '^ *+' conftest.er1 >conftest.err
18513 rm -f conftest.er1
18514 cat conftest.err >&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); } && {
18517 test -z "$ac_c_werror_flag" ||
18518 test ! -s conftest.err
18519 } && test -s conftest.$ac_objext; then
18520 ac_cv_type_sigset_t=yes
18521 else
18522 echo "$as_me: failed program was:" >&5
18523 sed 's/^/| /' conftest.$ac_ext >&5
18525 ac_cv_type_sigset_t=no
18528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18530 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18531 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18532 if test $ac_cv_type_sigset_t = yes; then
18534 cat >>confdefs.h <<_ACEOF
18535 #define HAVE_SIGSET_T 1
18536 _ACEOF
18541 { echo "$as_me:$LINENO: checking for request_sense" >&5
18542 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18543 if test "${ac_cv_type_request_sense+set}" = set; then
18544 echo $ECHO_N "(cached) $ECHO_C" >&6
18545 else
18546 cat >conftest.$ac_ext <<_ACEOF
18547 /* confdefs.h. */
18548 _ACEOF
18549 cat confdefs.h >>conftest.$ac_ext
18550 cat >>conftest.$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552 #include <linux/cdrom.h>
18554 typedef request_sense ac__type_new_;
18556 main ()
18558 if ((ac__type_new_ *) 0)
18559 return 0;
18560 if (sizeof (ac__type_new_))
18561 return 0;
18563 return 0;
18565 _ACEOF
18566 rm -f conftest.$ac_objext
18567 if { (ac_try="$ac_compile"
18568 case "(($ac_try" in
18569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18570 *) ac_try_echo=$ac_try;;
18571 esac
18572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18573 (eval "$ac_compile") 2>conftest.er1
18574 ac_status=$?
18575 grep -v '^ *+' conftest.er1 >conftest.err
18576 rm -f conftest.er1
18577 cat conftest.err >&5
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); } && {
18580 test -z "$ac_c_werror_flag" ||
18581 test ! -s conftest.err
18582 } && test -s conftest.$ac_objext; then
18583 ac_cv_type_request_sense=yes
18584 else
18585 echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.$ac_ext >&5
18588 ac_cv_type_request_sense=no
18591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18593 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18594 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18595 if test $ac_cv_type_request_sense = yes; then
18597 cat >>confdefs.h <<_ACEOF
18598 #define HAVE_REQUEST_SENSE 1
18599 _ACEOF
18605 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18606 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18607 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18608 echo $ECHO_N "(cached) $ECHO_C" >&6
18609 else
18610 cat >conftest.$ac_ext <<_ACEOF
18611 /* confdefs.h. */
18612 _ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 #ifdef HAVE_LINUX_INPUT_H
18617 #include <linux/input.h>
18618 #endif
18621 main ()
18623 static struct ff_effect ac_aggr;
18624 if (ac_aggr.direction)
18625 return 0;
18627 return 0;
18629 _ACEOF
18630 rm -f conftest.$ac_objext
18631 if { (ac_try="$ac_compile"
18632 case "(($ac_try" in
18633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18634 *) ac_try_echo=$ac_try;;
18635 esac
18636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18637 (eval "$ac_compile") 2>conftest.er1
18638 ac_status=$?
18639 grep -v '^ *+' conftest.er1 >conftest.err
18640 rm -f conftest.er1
18641 cat conftest.err >&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } && {
18644 test -z "$ac_c_werror_flag" ||
18645 test ! -s conftest.err
18646 } && test -s conftest.$ac_objext; then
18647 ac_cv_member_struct_ff_effect_direction=yes
18648 else
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18652 cat >conftest.$ac_ext <<_ACEOF
18653 /* confdefs.h. */
18654 _ACEOF
18655 cat confdefs.h >>conftest.$ac_ext
18656 cat >>conftest.$ac_ext <<_ACEOF
18657 /* end confdefs.h. */
18658 #ifdef HAVE_LINUX_INPUT_H
18659 #include <linux/input.h>
18660 #endif
18663 main ()
18665 static struct ff_effect ac_aggr;
18666 if (sizeof ac_aggr.direction)
18667 return 0;
18669 return 0;
18671 _ACEOF
18672 rm -f conftest.$ac_objext
18673 if { (ac_try="$ac_compile"
18674 case "(($ac_try" in
18675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18676 *) ac_try_echo=$ac_try;;
18677 esac
18678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18679 (eval "$ac_compile") 2>conftest.er1
18680 ac_status=$?
18681 grep -v '^ *+' conftest.er1 >conftest.err
18682 rm -f conftest.er1
18683 cat conftest.err >&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } && {
18686 test -z "$ac_c_werror_flag" ||
18687 test ! -s conftest.err
18688 } && test -s conftest.$ac_objext; then
18689 ac_cv_member_struct_ff_effect_direction=yes
18690 else
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.$ac_ext >&5
18694 ac_cv_member_struct_ff_effect_direction=no
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18702 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18703 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18704 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18706 cat >>confdefs.h <<_ACEOF
18707 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18708 _ACEOF
18714 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18715 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18716 if test "${wine_cv_have_sigaddset+set}" = set; then
18717 echo $ECHO_N "(cached) $ECHO_C" >&6
18718 else
18719 cat >conftest.$ac_ext <<_ACEOF
18720 /* confdefs.h. */
18721 _ACEOF
18722 cat confdefs.h >>conftest.$ac_ext
18723 cat >>conftest.$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18725 #include <signal.h>
18727 main ()
18729 sigset_t set; sigaddset(&set,SIGTERM);
18731 return 0;
18733 _ACEOF
18734 rm -f conftest.$ac_objext conftest$ac_exeext
18735 if { (ac_try="$ac_link"
18736 case "(($ac_try" in
18737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18738 *) ac_try_echo=$ac_try;;
18739 esac
18740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18741 (eval "$ac_link") 2>conftest.er1
18742 ac_status=$?
18743 grep -v '^ *+' conftest.er1 >conftest.err
18744 rm -f conftest.er1
18745 cat conftest.err >&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); } && {
18748 test -z "$ac_c_werror_flag" ||
18749 test ! -s conftest.err
18750 } && test -s conftest$ac_exeext &&
18751 $as_test_x conftest$ac_exeext; then
18752 wine_cv_have_sigaddset=yes
18753 else
18754 echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.$ac_ext >&5
18757 wine_cv_have_sigaddset=no
18760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18761 conftest$ac_exeext conftest.$ac_ext
18763 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18764 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18765 if test "$wine_cv_have_sigaddset" = "yes"
18766 then
18768 cat >>confdefs.h <<\_ACEOF
18769 #define HAVE_SIGADDSET 1
18770 _ACEOF
18775 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18776 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18777 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18778 echo $ECHO_N "(cached) $ECHO_C" >&6
18779 else
18780 cat >conftest.$ac_ext <<_ACEOF
18781 /* confdefs.h. */
18782 _ACEOF
18783 cat confdefs.h >>conftest.$ac_ext
18784 cat >>conftest.$ac_ext <<_ACEOF
18785 /* end confdefs.h. */
18786 #include <netdb.h>
18788 main ()
18791 char *name=0;
18792 struct hostent he;
18793 struct hostent *result;
18794 char *buf=0;
18795 int bufsize=0;
18796 int res,errnr;
18797 char *addr=0;
18798 int addrlen=0;
18799 int addrtype=0;
18800 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18801 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18804 return 0;
18806 _ACEOF
18807 rm -f conftest.$ac_objext conftest$ac_exeext
18808 if { (ac_try="$ac_link"
18809 case "(($ac_try" in
18810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18811 *) ac_try_echo=$ac_try;;
18812 esac
18813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18814 (eval "$ac_link") 2>conftest.er1
18815 ac_status=$?
18816 grep -v '^ *+' conftest.er1 >conftest.err
18817 rm -f conftest.er1
18818 cat conftest.err >&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); } && {
18821 test -z "$ac_c_werror_flag" ||
18822 test ! -s conftest.err
18823 } && test -s conftest$ac_exeext &&
18824 $as_test_x conftest$ac_exeext; then
18825 wine_cv_linux_gethostbyname_r_6=yes
18826 else
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.$ac_ext >&5
18830 wine_cv_linux_gethostbyname_r_6=no
18834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18835 conftest$ac_exeext conftest.$ac_ext
18838 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18839 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18840 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18841 then
18843 cat >>confdefs.h <<\_ACEOF
18844 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18845 _ACEOF
18849 if test "$ac_cv_header_linux_joystick_h" = "yes"
18850 then
18851 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18852 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18853 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18854 echo $ECHO_N "(cached) $ECHO_C" >&6
18855 else
18856 cat >conftest.$ac_ext <<_ACEOF
18857 /* confdefs.h. */
18858 _ACEOF
18859 cat confdefs.h >>conftest.$ac_ext
18860 cat >>conftest.$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18863 #include <sys/ioctl.h>
18864 #include <sys/types.h>
18865 #include <linux/joystick.h>
18867 struct js_event blub;
18868 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18869 #error "no 2.2 header"
18870 #endif
18873 main ()
18875 /*empty*/
18877 return 0;
18879 _ACEOF
18880 rm -f conftest.$ac_objext
18881 if { (ac_try="$ac_compile"
18882 case "(($ac_try" in
18883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18884 *) ac_try_echo=$ac_try;;
18885 esac
18886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18887 (eval "$ac_compile") 2>conftest.er1
18888 ac_status=$?
18889 grep -v '^ *+' conftest.er1 >conftest.err
18890 rm -f conftest.er1
18891 cat conftest.err >&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } && {
18894 test -z "$ac_c_werror_flag" ||
18895 test ! -s conftest.err
18896 } && test -s conftest.$ac_objext; then
18897 wine_cv_linux_joystick_22_api=yes
18898 else
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.$ac_ext >&5
18902 wine_cv_linux_joystick_22_api=no
18905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18908 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18909 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18910 if test "$wine_cv_linux_joystick_22_api" = "yes"
18911 then
18913 cat >>confdefs.h <<\_ACEOF
18914 #define HAVE_LINUX_22_JOYSTICK_API 1
18915 _ACEOF
18921 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18922 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18923 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 else
18926 cat >conftest.$ac_ext <<_ACEOF
18927 /* confdefs.h. */
18928 _ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 #include <sys/types.h>
18933 #ifdef HAVE_SYS_PARAM_H
18934 # include <sys/param.h>
18935 #endif
18936 #ifdef HAVE_SYS_MOUNT_H
18937 # include <sys/mount.h>
18938 #endif
18939 #ifdef HAVE_SYS_VFS_H
18940 # include <sys/vfs.h>
18941 #endif
18942 #ifdef HAVE_SYS_STATFS_H
18943 # include <sys/statfs.h>
18944 #endif
18947 main ()
18949 static struct statfs ac_aggr;
18950 if (ac_aggr.f_bfree)
18951 return 0;
18953 return 0;
18955 _ACEOF
18956 rm -f conftest.$ac_objext
18957 if { (ac_try="$ac_compile"
18958 case "(($ac_try" in
18959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18960 *) ac_try_echo=$ac_try;;
18961 esac
18962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18963 (eval "$ac_compile") 2>conftest.er1
18964 ac_status=$?
18965 grep -v '^ *+' conftest.er1 >conftest.err
18966 rm -f conftest.er1
18967 cat conftest.err >&5
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); } && {
18970 test -z "$ac_c_werror_flag" ||
18971 test ! -s conftest.err
18972 } && test -s conftest.$ac_objext; then
18973 ac_cv_member_struct_statfs_f_bfree=yes
18974 else
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.$ac_ext >&5
18978 cat >conftest.$ac_ext <<_ACEOF
18979 /* confdefs.h. */
18980 _ACEOF
18981 cat confdefs.h >>conftest.$ac_ext
18982 cat >>conftest.$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18984 #include <sys/types.h>
18985 #ifdef HAVE_SYS_PARAM_H
18986 # include <sys/param.h>
18987 #endif
18988 #ifdef HAVE_SYS_MOUNT_H
18989 # include <sys/mount.h>
18990 #endif
18991 #ifdef HAVE_SYS_VFS_H
18992 # include <sys/vfs.h>
18993 #endif
18994 #ifdef HAVE_SYS_STATFS_H
18995 # include <sys/statfs.h>
18996 #endif
18999 main ()
19001 static struct statfs ac_aggr;
19002 if (sizeof ac_aggr.f_bfree)
19003 return 0;
19005 return 0;
19007 _ACEOF
19008 rm -f conftest.$ac_objext
19009 if { (ac_try="$ac_compile"
19010 case "(($ac_try" in
19011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19012 *) ac_try_echo=$ac_try;;
19013 esac
19014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19015 (eval "$ac_compile") 2>conftest.er1
19016 ac_status=$?
19017 grep -v '^ *+' conftest.er1 >conftest.err
19018 rm -f conftest.er1
19019 cat conftest.err >&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } && {
19022 test -z "$ac_c_werror_flag" ||
19023 test ! -s conftest.err
19024 } && test -s conftest.$ac_objext; then
19025 ac_cv_member_struct_statfs_f_bfree=yes
19026 else
19027 echo "$as_me: failed program was:" >&5
19028 sed 's/^/| /' conftest.$ac_ext >&5
19030 ac_cv_member_struct_statfs_f_bfree=no
19033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19038 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
19039 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
19040 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
19042 cat >>confdefs.h <<_ACEOF
19043 #define HAVE_STRUCT_STATFS_F_BFREE 1
19044 _ACEOF
19048 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
19049 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
19050 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
19051 echo $ECHO_N "(cached) $ECHO_C" >&6
19052 else
19053 cat >conftest.$ac_ext <<_ACEOF
19054 /* confdefs.h. */
19055 _ACEOF
19056 cat confdefs.h >>conftest.$ac_ext
19057 cat >>conftest.$ac_ext <<_ACEOF
19058 /* end confdefs.h. */
19059 #include <sys/types.h>
19060 #ifdef HAVE_SYS_PARAM_H
19061 # include <sys/param.h>
19062 #endif
19063 #ifdef HAVE_SYS_MOUNT_H
19064 # include <sys/mount.h>
19065 #endif
19066 #ifdef HAVE_SYS_VFS_H
19067 # include <sys/vfs.h>
19068 #endif
19069 #ifdef HAVE_SYS_STATFS_H
19070 # include <sys/statfs.h>
19071 #endif
19074 main ()
19076 static struct statfs ac_aggr;
19077 if (ac_aggr.f_bavail)
19078 return 0;
19080 return 0;
19082 _ACEOF
19083 rm -f conftest.$ac_objext
19084 if { (ac_try="$ac_compile"
19085 case "(($ac_try" in
19086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19087 *) ac_try_echo=$ac_try;;
19088 esac
19089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19090 (eval "$ac_compile") 2>conftest.er1
19091 ac_status=$?
19092 grep -v '^ *+' conftest.er1 >conftest.err
19093 rm -f conftest.er1
19094 cat conftest.err >&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); } && {
19097 test -z "$ac_c_werror_flag" ||
19098 test ! -s conftest.err
19099 } && test -s conftest.$ac_objext; then
19100 ac_cv_member_struct_statfs_f_bavail=yes
19101 else
19102 echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.$ac_ext >&5
19105 cat >conftest.$ac_ext <<_ACEOF
19106 /* confdefs.h. */
19107 _ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19111 #include <sys/types.h>
19112 #ifdef HAVE_SYS_PARAM_H
19113 # include <sys/param.h>
19114 #endif
19115 #ifdef HAVE_SYS_MOUNT_H
19116 # include <sys/mount.h>
19117 #endif
19118 #ifdef HAVE_SYS_VFS_H
19119 # include <sys/vfs.h>
19120 #endif
19121 #ifdef HAVE_SYS_STATFS_H
19122 # include <sys/statfs.h>
19123 #endif
19126 main ()
19128 static struct statfs ac_aggr;
19129 if (sizeof ac_aggr.f_bavail)
19130 return 0;
19132 return 0;
19134 _ACEOF
19135 rm -f conftest.$ac_objext
19136 if { (ac_try="$ac_compile"
19137 case "(($ac_try" in
19138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19139 *) ac_try_echo=$ac_try;;
19140 esac
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142 (eval "$ac_compile") 2>conftest.er1
19143 ac_status=$?
19144 grep -v '^ *+' conftest.er1 >conftest.err
19145 rm -f conftest.er1
19146 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } && {
19149 test -z "$ac_c_werror_flag" ||
19150 test ! -s conftest.err
19151 } && test -s conftest.$ac_objext; then
19152 ac_cv_member_struct_statfs_f_bavail=yes
19153 else
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.$ac_ext >&5
19157 ac_cv_member_struct_statfs_f_bavail=no
19160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19165 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19166 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19167 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19169 cat >>confdefs.h <<_ACEOF
19170 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19171 _ACEOF
19175 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19176 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19177 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19178 echo $ECHO_N "(cached) $ECHO_C" >&6
19179 else
19180 cat >conftest.$ac_ext <<_ACEOF
19181 /* confdefs.h. */
19182 _ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 #include <sys/types.h>
19187 #ifdef HAVE_SYS_PARAM_H
19188 # include <sys/param.h>
19189 #endif
19190 #ifdef HAVE_SYS_MOUNT_H
19191 # include <sys/mount.h>
19192 #endif
19193 #ifdef HAVE_SYS_VFS_H
19194 # include <sys/vfs.h>
19195 #endif
19196 #ifdef HAVE_SYS_STATFS_H
19197 # include <sys/statfs.h>
19198 #endif
19201 main ()
19203 static struct statfs ac_aggr;
19204 if (ac_aggr.f_frsize)
19205 return 0;
19207 return 0;
19209 _ACEOF
19210 rm -f conftest.$ac_objext
19211 if { (ac_try="$ac_compile"
19212 case "(($ac_try" in
19213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19214 *) ac_try_echo=$ac_try;;
19215 esac
19216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19217 (eval "$ac_compile") 2>conftest.er1
19218 ac_status=$?
19219 grep -v '^ *+' conftest.er1 >conftest.err
19220 rm -f conftest.er1
19221 cat conftest.err >&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } && {
19224 test -z "$ac_c_werror_flag" ||
19225 test ! -s conftest.err
19226 } && test -s conftest.$ac_objext; then
19227 ac_cv_member_struct_statfs_f_frsize=yes
19228 else
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.$ac_ext >&5
19232 cat >conftest.$ac_ext <<_ACEOF
19233 /* confdefs.h. */
19234 _ACEOF
19235 cat confdefs.h >>conftest.$ac_ext
19236 cat >>conftest.$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19238 #include <sys/types.h>
19239 #ifdef HAVE_SYS_PARAM_H
19240 # include <sys/param.h>
19241 #endif
19242 #ifdef HAVE_SYS_MOUNT_H
19243 # include <sys/mount.h>
19244 #endif
19245 #ifdef HAVE_SYS_VFS_H
19246 # include <sys/vfs.h>
19247 #endif
19248 #ifdef HAVE_SYS_STATFS_H
19249 # include <sys/statfs.h>
19250 #endif
19253 main ()
19255 static struct statfs ac_aggr;
19256 if (sizeof ac_aggr.f_frsize)
19257 return 0;
19259 return 0;
19261 _ACEOF
19262 rm -f conftest.$ac_objext
19263 if { (ac_try="$ac_compile"
19264 case "(($ac_try" in
19265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19266 *) ac_try_echo=$ac_try;;
19267 esac
19268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19269 (eval "$ac_compile") 2>conftest.er1
19270 ac_status=$?
19271 grep -v '^ *+' conftest.er1 >conftest.err
19272 rm -f conftest.er1
19273 cat conftest.err >&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); } && {
19276 test -z "$ac_c_werror_flag" ||
19277 test ! -s conftest.err
19278 } && test -s conftest.$ac_objext; then
19279 ac_cv_member_struct_statfs_f_frsize=yes
19280 else
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.$ac_ext >&5
19284 ac_cv_member_struct_statfs_f_frsize=no
19287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19292 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19293 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19294 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19296 cat >>confdefs.h <<_ACEOF
19297 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19298 _ACEOF
19302 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19303 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19304 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19306 else
19307 cat >conftest.$ac_ext <<_ACEOF
19308 /* confdefs.h. */
19309 _ACEOF
19310 cat confdefs.h >>conftest.$ac_ext
19311 cat >>conftest.$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 #include <sys/types.h>
19314 #ifdef HAVE_SYS_PARAM_H
19315 # include <sys/param.h>
19316 #endif
19317 #ifdef HAVE_SYS_MOUNT_H
19318 # include <sys/mount.h>
19319 #endif
19320 #ifdef HAVE_SYS_VFS_H
19321 # include <sys/vfs.h>
19322 #endif
19323 #ifdef HAVE_SYS_STATFS_H
19324 # include <sys/statfs.h>
19325 #endif
19328 main ()
19330 static struct statfs ac_aggr;
19331 if (ac_aggr.f_ffree)
19332 return 0;
19334 return 0;
19336 _ACEOF
19337 rm -f conftest.$ac_objext
19338 if { (ac_try="$ac_compile"
19339 case "(($ac_try" in
19340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19341 *) ac_try_echo=$ac_try;;
19342 esac
19343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19344 (eval "$ac_compile") 2>conftest.er1
19345 ac_status=$?
19346 grep -v '^ *+' conftest.er1 >conftest.err
19347 rm -f conftest.er1
19348 cat conftest.err >&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); } && {
19351 test -z "$ac_c_werror_flag" ||
19352 test ! -s conftest.err
19353 } && test -s conftest.$ac_objext; then
19354 ac_cv_member_struct_statfs_f_ffree=yes
19355 else
19356 echo "$as_me: failed program was:" >&5
19357 sed 's/^/| /' conftest.$ac_ext >&5
19359 cat >conftest.$ac_ext <<_ACEOF
19360 /* confdefs.h. */
19361 _ACEOF
19362 cat confdefs.h >>conftest.$ac_ext
19363 cat >>conftest.$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19365 #include <sys/types.h>
19366 #ifdef HAVE_SYS_PARAM_H
19367 # include <sys/param.h>
19368 #endif
19369 #ifdef HAVE_SYS_MOUNT_H
19370 # include <sys/mount.h>
19371 #endif
19372 #ifdef HAVE_SYS_VFS_H
19373 # include <sys/vfs.h>
19374 #endif
19375 #ifdef HAVE_SYS_STATFS_H
19376 # include <sys/statfs.h>
19377 #endif
19380 main ()
19382 static struct statfs ac_aggr;
19383 if (sizeof ac_aggr.f_ffree)
19384 return 0;
19386 return 0;
19388 _ACEOF
19389 rm -f conftest.$ac_objext
19390 if { (ac_try="$ac_compile"
19391 case "(($ac_try" in
19392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19393 *) ac_try_echo=$ac_try;;
19394 esac
19395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19396 (eval "$ac_compile") 2>conftest.er1
19397 ac_status=$?
19398 grep -v '^ *+' conftest.er1 >conftest.err
19399 rm -f conftest.er1
19400 cat conftest.err >&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } && {
19403 test -z "$ac_c_werror_flag" ||
19404 test ! -s conftest.err
19405 } && test -s conftest.$ac_objext; then
19406 ac_cv_member_struct_statfs_f_ffree=yes
19407 else
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.$ac_ext >&5
19411 ac_cv_member_struct_statfs_f_ffree=no
19414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19420 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19421 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19423 cat >>confdefs.h <<_ACEOF
19424 #define HAVE_STRUCT_STATFS_F_FFREE 1
19425 _ACEOF
19429 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19430 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19431 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19432 echo $ECHO_N "(cached) $ECHO_C" >&6
19433 else
19434 cat >conftest.$ac_ext <<_ACEOF
19435 /* confdefs.h. */
19436 _ACEOF
19437 cat confdefs.h >>conftest.$ac_ext
19438 cat >>conftest.$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19440 #include <sys/types.h>
19441 #ifdef HAVE_SYS_PARAM_H
19442 # include <sys/param.h>
19443 #endif
19444 #ifdef HAVE_SYS_MOUNT_H
19445 # include <sys/mount.h>
19446 #endif
19447 #ifdef HAVE_SYS_VFS_H
19448 # include <sys/vfs.h>
19449 #endif
19450 #ifdef HAVE_SYS_STATFS_H
19451 # include <sys/statfs.h>
19452 #endif
19455 main ()
19457 static struct statfs ac_aggr;
19458 if (ac_aggr.f_favail)
19459 return 0;
19461 return 0;
19463 _ACEOF
19464 rm -f conftest.$ac_objext
19465 if { (ac_try="$ac_compile"
19466 case "(($ac_try" in
19467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19468 *) ac_try_echo=$ac_try;;
19469 esac
19470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19471 (eval "$ac_compile") 2>conftest.er1
19472 ac_status=$?
19473 grep -v '^ *+' conftest.er1 >conftest.err
19474 rm -f conftest.er1
19475 cat conftest.err >&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); } && {
19478 test -z "$ac_c_werror_flag" ||
19479 test ! -s conftest.err
19480 } && test -s conftest.$ac_objext; then
19481 ac_cv_member_struct_statfs_f_favail=yes
19482 else
19483 echo "$as_me: failed program was:" >&5
19484 sed 's/^/| /' conftest.$ac_ext >&5
19486 cat >conftest.$ac_ext <<_ACEOF
19487 /* confdefs.h. */
19488 _ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492 #include <sys/types.h>
19493 #ifdef HAVE_SYS_PARAM_H
19494 # include <sys/param.h>
19495 #endif
19496 #ifdef HAVE_SYS_MOUNT_H
19497 # include <sys/mount.h>
19498 #endif
19499 #ifdef HAVE_SYS_VFS_H
19500 # include <sys/vfs.h>
19501 #endif
19502 #ifdef HAVE_SYS_STATFS_H
19503 # include <sys/statfs.h>
19504 #endif
19507 main ()
19509 static struct statfs ac_aggr;
19510 if (sizeof ac_aggr.f_favail)
19511 return 0;
19513 return 0;
19515 _ACEOF
19516 rm -f conftest.$ac_objext
19517 if { (ac_try="$ac_compile"
19518 case "(($ac_try" in
19519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19520 *) ac_try_echo=$ac_try;;
19521 esac
19522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19523 (eval "$ac_compile") 2>conftest.er1
19524 ac_status=$?
19525 grep -v '^ *+' conftest.er1 >conftest.err
19526 rm -f conftest.er1
19527 cat conftest.err >&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } && {
19530 test -z "$ac_c_werror_flag" ||
19531 test ! -s conftest.err
19532 } && test -s conftest.$ac_objext; then
19533 ac_cv_member_struct_statfs_f_favail=yes
19534 else
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19538 ac_cv_member_struct_statfs_f_favail=no
19541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19546 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19547 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19548 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19550 cat >>confdefs.h <<_ACEOF
19551 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19552 _ACEOF
19556 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19557 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19558 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19560 else
19561 cat >conftest.$ac_ext <<_ACEOF
19562 /* confdefs.h. */
19563 _ACEOF
19564 cat confdefs.h >>conftest.$ac_ext
19565 cat >>conftest.$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19567 #include <sys/types.h>
19568 #ifdef HAVE_SYS_PARAM_H
19569 # include <sys/param.h>
19570 #endif
19571 #ifdef HAVE_SYS_MOUNT_H
19572 # include <sys/mount.h>
19573 #endif
19574 #ifdef HAVE_SYS_VFS_H
19575 # include <sys/vfs.h>
19576 #endif
19577 #ifdef HAVE_SYS_STATFS_H
19578 # include <sys/statfs.h>
19579 #endif
19582 main ()
19584 static struct statfs ac_aggr;
19585 if (ac_aggr.f_namelen)
19586 return 0;
19588 return 0;
19590 _ACEOF
19591 rm -f conftest.$ac_objext
19592 if { (ac_try="$ac_compile"
19593 case "(($ac_try" in
19594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19595 *) ac_try_echo=$ac_try;;
19596 esac
19597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19598 (eval "$ac_compile") 2>conftest.er1
19599 ac_status=$?
19600 grep -v '^ *+' conftest.er1 >conftest.err
19601 rm -f conftest.er1
19602 cat conftest.err >&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } && {
19605 test -z "$ac_c_werror_flag" ||
19606 test ! -s conftest.err
19607 } && test -s conftest.$ac_objext; then
19608 ac_cv_member_struct_statfs_f_namelen=yes
19609 else
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.$ac_ext >&5
19613 cat >conftest.$ac_ext <<_ACEOF
19614 /* confdefs.h. */
19615 _ACEOF
19616 cat confdefs.h >>conftest.$ac_ext
19617 cat >>conftest.$ac_ext <<_ACEOF
19618 /* end confdefs.h. */
19619 #include <sys/types.h>
19620 #ifdef HAVE_SYS_PARAM_H
19621 # include <sys/param.h>
19622 #endif
19623 #ifdef HAVE_SYS_MOUNT_H
19624 # include <sys/mount.h>
19625 #endif
19626 #ifdef HAVE_SYS_VFS_H
19627 # include <sys/vfs.h>
19628 #endif
19629 #ifdef HAVE_SYS_STATFS_H
19630 # include <sys/statfs.h>
19631 #endif
19634 main ()
19636 static struct statfs ac_aggr;
19637 if (sizeof ac_aggr.f_namelen)
19638 return 0;
19640 return 0;
19642 _ACEOF
19643 rm -f conftest.$ac_objext
19644 if { (ac_try="$ac_compile"
19645 case "(($ac_try" in
19646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19647 *) ac_try_echo=$ac_try;;
19648 esac
19649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19650 (eval "$ac_compile") 2>conftest.er1
19651 ac_status=$?
19652 grep -v '^ *+' conftest.er1 >conftest.err
19653 rm -f conftest.er1
19654 cat conftest.err >&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } && {
19657 test -z "$ac_c_werror_flag" ||
19658 test ! -s conftest.err
19659 } && test -s conftest.$ac_objext; then
19660 ac_cv_member_struct_statfs_f_namelen=yes
19661 else
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.$ac_ext >&5
19665 ac_cv_member_struct_statfs_f_namelen=no
19668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19673 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19674 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19675 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19677 cat >>confdefs.h <<_ACEOF
19678 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19679 _ACEOF
19685 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19686 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19687 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19688 echo $ECHO_N "(cached) $ECHO_C" >&6
19689 else
19690 cat >conftest.$ac_ext <<_ACEOF
19691 /* confdefs.h. */
19692 _ACEOF
19693 cat confdefs.h >>conftest.$ac_ext
19694 cat >>conftest.$ac_ext <<_ACEOF
19695 /* end confdefs.h. */
19696 #ifdef HAVE_SYS_STATVFS_H
19697 #include <sys/statvfs.h>
19698 #endif
19701 main ()
19703 static struct statvfs ac_aggr;
19704 if (ac_aggr.f_blocks)
19705 return 0;
19707 return 0;
19709 _ACEOF
19710 rm -f conftest.$ac_objext
19711 if { (ac_try="$ac_compile"
19712 case "(($ac_try" in
19713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19714 *) ac_try_echo=$ac_try;;
19715 esac
19716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19717 (eval "$ac_compile") 2>conftest.er1
19718 ac_status=$?
19719 grep -v '^ *+' conftest.er1 >conftest.err
19720 rm -f conftest.er1
19721 cat conftest.err >&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } && {
19724 test -z "$ac_c_werror_flag" ||
19725 test ! -s conftest.err
19726 } && test -s conftest.$ac_objext; then
19727 ac_cv_member_struct_statvfs_f_blocks=yes
19728 else
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19732 cat >conftest.$ac_ext <<_ACEOF
19733 /* confdefs.h. */
19734 _ACEOF
19735 cat confdefs.h >>conftest.$ac_ext
19736 cat >>conftest.$ac_ext <<_ACEOF
19737 /* end confdefs.h. */
19738 #ifdef HAVE_SYS_STATVFS_H
19739 #include <sys/statvfs.h>
19740 #endif
19743 main ()
19745 static struct statvfs ac_aggr;
19746 if (sizeof ac_aggr.f_blocks)
19747 return 0;
19749 return 0;
19751 _ACEOF
19752 rm -f conftest.$ac_objext
19753 if { (ac_try="$ac_compile"
19754 case "(($ac_try" in
19755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19756 *) ac_try_echo=$ac_try;;
19757 esac
19758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19759 (eval "$ac_compile") 2>conftest.er1
19760 ac_status=$?
19761 grep -v '^ *+' conftest.er1 >conftest.err
19762 rm -f conftest.er1
19763 cat conftest.err >&5
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); } && {
19766 test -z "$ac_c_werror_flag" ||
19767 test ! -s conftest.err
19768 } && test -s conftest.$ac_objext; then
19769 ac_cv_member_struct_statvfs_f_blocks=yes
19770 else
19771 echo "$as_me: failed program was:" >&5
19772 sed 's/^/| /' conftest.$ac_ext >&5
19774 ac_cv_member_struct_statvfs_f_blocks=no
19777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19782 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19783 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19784 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19786 cat >>confdefs.h <<_ACEOF
19787 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19788 _ACEOF
19794 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19795 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19796 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19797 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 else
19799 cat >conftest.$ac_ext <<_ACEOF
19800 /* confdefs.h. */
19801 _ACEOF
19802 cat confdefs.h >>conftest.$ac_ext
19803 cat >>conftest.$ac_ext <<_ACEOF
19804 /* end confdefs.h. */
19805 #include <sys/types.h>
19806 #ifdef HAVE_SYS_SOCKET_H
19807 # include <sys/socket.h>
19808 #endif
19809 #ifdef HAVE_SYS_UN_H
19810 # include <sys/un.h>
19811 #endif
19814 main ()
19816 static struct msghdr ac_aggr;
19817 if (ac_aggr.msg_accrights)
19818 return 0;
19820 return 0;
19822 _ACEOF
19823 rm -f conftest.$ac_objext
19824 if { (ac_try="$ac_compile"
19825 case "(($ac_try" in
19826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19827 *) ac_try_echo=$ac_try;;
19828 esac
19829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19830 (eval "$ac_compile") 2>conftest.er1
19831 ac_status=$?
19832 grep -v '^ *+' conftest.er1 >conftest.err
19833 rm -f conftest.er1
19834 cat conftest.err >&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } && {
19837 test -z "$ac_c_werror_flag" ||
19838 test ! -s conftest.err
19839 } && test -s conftest.$ac_objext; then
19840 ac_cv_member_struct_msghdr_msg_accrights=yes
19841 else
19842 echo "$as_me: failed program was:" >&5
19843 sed 's/^/| /' conftest.$ac_ext >&5
19845 cat >conftest.$ac_ext <<_ACEOF
19846 /* confdefs.h. */
19847 _ACEOF
19848 cat confdefs.h >>conftest.$ac_ext
19849 cat >>conftest.$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 #include <sys/types.h>
19852 #ifdef HAVE_SYS_SOCKET_H
19853 # include <sys/socket.h>
19854 #endif
19855 #ifdef HAVE_SYS_UN_H
19856 # include <sys/un.h>
19857 #endif
19860 main ()
19862 static struct msghdr ac_aggr;
19863 if (sizeof ac_aggr.msg_accrights)
19864 return 0;
19866 return 0;
19868 _ACEOF
19869 rm -f conftest.$ac_objext
19870 if { (ac_try="$ac_compile"
19871 case "(($ac_try" in
19872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19873 *) ac_try_echo=$ac_try;;
19874 esac
19875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19876 (eval "$ac_compile") 2>conftest.er1
19877 ac_status=$?
19878 grep -v '^ *+' conftest.er1 >conftest.err
19879 rm -f conftest.er1
19880 cat conftest.err >&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } && {
19883 test -z "$ac_c_werror_flag" ||
19884 test ! -s conftest.err
19885 } && test -s conftest.$ac_objext; then
19886 ac_cv_member_struct_msghdr_msg_accrights=yes
19887 else
19888 echo "$as_me: failed program was:" >&5
19889 sed 's/^/| /' conftest.$ac_ext >&5
19891 ac_cv_member_struct_msghdr_msg_accrights=no
19894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19899 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19900 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19901 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19903 cat >>confdefs.h <<_ACEOF
19904 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19905 _ACEOF
19909 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19910 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19911 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19912 echo $ECHO_N "(cached) $ECHO_C" >&6
19913 else
19914 cat >conftest.$ac_ext <<_ACEOF
19915 /* confdefs.h. */
19916 _ACEOF
19917 cat confdefs.h >>conftest.$ac_ext
19918 cat >>conftest.$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19920 #include <sys/types.h>
19921 #ifdef HAVE_SYS_SOCKET_H
19922 # include <sys/socket.h>
19923 #endif
19924 #ifdef HAVE_SYS_UN_H
19925 # include <sys/un.h>
19926 #endif
19929 main ()
19931 static struct sockaddr ac_aggr;
19932 if (ac_aggr.sa_len)
19933 return 0;
19935 return 0;
19937 _ACEOF
19938 rm -f conftest.$ac_objext
19939 if { (ac_try="$ac_compile"
19940 case "(($ac_try" in
19941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19942 *) ac_try_echo=$ac_try;;
19943 esac
19944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19945 (eval "$ac_compile") 2>conftest.er1
19946 ac_status=$?
19947 grep -v '^ *+' conftest.er1 >conftest.err
19948 rm -f conftest.er1
19949 cat conftest.err >&5
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); } && {
19952 test -z "$ac_c_werror_flag" ||
19953 test ! -s conftest.err
19954 } && test -s conftest.$ac_objext; then
19955 ac_cv_member_struct_sockaddr_sa_len=yes
19956 else
19957 echo "$as_me: failed program was:" >&5
19958 sed 's/^/| /' conftest.$ac_ext >&5
19960 cat >conftest.$ac_ext <<_ACEOF
19961 /* confdefs.h. */
19962 _ACEOF
19963 cat confdefs.h >>conftest.$ac_ext
19964 cat >>conftest.$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19966 #include <sys/types.h>
19967 #ifdef HAVE_SYS_SOCKET_H
19968 # include <sys/socket.h>
19969 #endif
19970 #ifdef HAVE_SYS_UN_H
19971 # include <sys/un.h>
19972 #endif
19975 main ()
19977 static struct sockaddr ac_aggr;
19978 if (sizeof ac_aggr.sa_len)
19979 return 0;
19981 return 0;
19983 _ACEOF
19984 rm -f conftest.$ac_objext
19985 if { (ac_try="$ac_compile"
19986 case "(($ac_try" in
19987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19988 *) ac_try_echo=$ac_try;;
19989 esac
19990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19991 (eval "$ac_compile") 2>conftest.er1
19992 ac_status=$?
19993 grep -v '^ *+' conftest.er1 >conftest.err
19994 rm -f conftest.er1
19995 cat conftest.err >&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } && {
19998 test -z "$ac_c_werror_flag" ||
19999 test ! -s conftest.err
20000 } && test -s conftest.$ac_objext; then
20001 ac_cv_member_struct_sockaddr_sa_len=yes
20002 else
20003 echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.$ac_ext >&5
20006 ac_cv_member_struct_sockaddr_sa_len=no
20009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20014 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
20015 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
20016 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
20018 cat >>confdefs.h <<_ACEOF
20019 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
20020 _ACEOF
20024 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
20025 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
20026 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
20027 echo $ECHO_N "(cached) $ECHO_C" >&6
20028 else
20029 cat >conftest.$ac_ext <<_ACEOF
20030 /* confdefs.h. */
20031 _ACEOF
20032 cat confdefs.h >>conftest.$ac_ext
20033 cat >>conftest.$ac_ext <<_ACEOF
20034 /* end confdefs.h. */
20035 #include <sys/types.h>
20036 #ifdef HAVE_SYS_SOCKET_H
20037 # include <sys/socket.h>
20038 #endif
20039 #ifdef HAVE_SYS_UN_H
20040 # include <sys/un.h>
20041 #endif
20044 main ()
20046 static struct sockaddr_un ac_aggr;
20047 if (ac_aggr.sun_len)
20048 return 0;
20050 return 0;
20052 _ACEOF
20053 rm -f conftest.$ac_objext
20054 if { (ac_try="$ac_compile"
20055 case "(($ac_try" in
20056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20057 *) ac_try_echo=$ac_try;;
20058 esac
20059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20060 (eval "$ac_compile") 2>conftest.er1
20061 ac_status=$?
20062 grep -v '^ *+' conftest.er1 >conftest.err
20063 rm -f conftest.er1
20064 cat conftest.err >&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); } && {
20067 test -z "$ac_c_werror_flag" ||
20068 test ! -s conftest.err
20069 } && test -s conftest.$ac_objext; then
20070 ac_cv_member_struct_sockaddr_un_sun_len=yes
20071 else
20072 echo "$as_me: failed program was:" >&5
20073 sed 's/^/| /' conftest.$ac_ext >&5
20075 cat >conftest.$ac_ext <<_ACEOF
20076 /* confdefs.h. */
20077 _ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 #include <sys/types.h>
20082 #ifdef HAVE_SYS_SOCKET_H
20083 # include <sys/socket.h>
20084 #endif
20085 #ifdef HAVE_SYS_UN_H
20086 # include <sys/un.h>
20087 #endif
20090 main ()
20092 static struct sockaddr_un ac_aggr;
20093 if (sizeof ac_aggr.sun_len)
20094 return 0;
20096 return 0;
20098 _ACEOF
20099 rm -f conftest.$ac_objext
20100 if { (ac_try="$ac_compile"
20101 case "(($ac_try" in
20102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20103 *) ac_try_echo=$ac_try;;
20104 esac
20105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20106 (eval "$ac_compile") 2>conftest.er1
20107 ac_status=$?
20108 grep -v '^ *+' conftest.er1 >conftest.err
20109 rm -f conftest.er1
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } && {
20113 test -z "$ac_c_werror_flag" ||
20114 test ! -s conftest.err
20115 } && test -s conftest.$ac_objext; then
20116 ac_cv_member_struct_sockaddr_un_sun_len=yes
20117 else
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.$ac_ext >&5
20121 ac_cv_member_struct_sockaddr_un_sun_len=no
20124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20129 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20130 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20131 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20133 cat >>confdefs.h <<_ACEOF
20134 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20135 _ACEOF
20141 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20142 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20143 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20145 else
20146 cat >conftest.$ac_ext <<_ACEOF
20147 /* confdefs.h. */
20148 _ACEOF
20149 cat confdefs.h >>conftest.$ac_ext
20150 cat >>conftest.$ac_ext <<_ACEOF
20151 /* end confdefs.h. */
20152 #include <sys/types.h>
20153 #ifdef HAVE_SCSI_SG_H
20154 #include <scsi/sg.h>
20155 #endif
20158 main ()
20160 static scsireq_t ac_aggr;
20161 if (ac_aggr.cmd)
20162 return 0;
20164 return 0;
20166 _ACEOF
20167 rm -f conftest.$ac_objext
20168 if { (ac_try="$ac_compile"
20169 case "(($ac_try" in
20170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20171 *) ac_try_echo=$ac_try;;
20172 esac
20173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20174 (eval "$ac_compile") 2>conftest.er1
20175 ac_status=$?
20176 grep -v '^ *+' conftest.er1 >conftest.err
20177 rm -f conftest.er1
20178 cat conftest.err >&5
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); } && {
20181 test -z "$ac_c_werror_flag" ||
20182 test ! -s conftest.err
20183 } && test -s conftest.$ac_objext; then
20184 ac_cv_member_scsireq_t_cmd=yes
20185 else
20186 echo "$as_me: failed program was:" >&5
20187 sed 's/^/| /' conftest.$ac_ext >&5
20189 cat >conftest.$ac_ext <<_ACEOF
20190 /* confdefs.h. */
20191 _ACEOF
20192 cat confdefs.h >>conftest.$ac_ext
20193 cat >>conftest.$ac_ext <<_ACEOF
20194 /* end confdefs.h. */
20195 #include <sys/types.h>
20196 #ifdef HAVE_SCSI_SG_H
20197 #include <scsi/sg.h>
20198 #endif
20201 main ()
20203 static scsireq_t ac_aggr;
20204 if (sizeof ac_aggr.cmd)
20205 return 0;
20207 return 0;
20209 _ACEOF
20210 rm -f conftest.$ac_objext
20211 if { (ac_try="$ac_compile"
20212 case "(($ac_try" in
20213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20214 *) ac_try_echo=$ac_try;;
20215 esac
20216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20217 (eval "$ac_compile") 2>conftest.er1
20218 ac_status=$?
20219 grep -v '^ *+' conftest.er1 >conftest.err
20220 rm -f conftest.er1
20221 cat conftest.err >&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); } && {
20224 test -z "$ac_c_werror_flag" ||
20225 test ! -s conftest.err
20226 } && test -s conftest.$ac_objext; then
20227 ac_cv_member_scsireq_t_cmd=yes
20228 else
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.$ac_ext >&5
20232 ac_cv_member_scsireq_t_cmd=no
20235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20241 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20242 if test $ac_cv_member_scsireq_t_cmd = yes; then
20244 cat >>confdefs.h <<_ACEOF
20245 #define HAVE_SCSIREQ_T_CMD 1
20246 _ACEOF
20250 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20251 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20252 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20253 echo $ECHO_N "(cached) $ECHO_C" >&6
20254 else
20255 cat >conftest.$ac_ext <<_ACEOF
20256 /* confdefs.h. */
20257 _ACEOF
20258 cat confdefs.h >>conftest.$ac_ext
20259 cat >>conftest.$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20261 #include <sys/types.h>
20262 #ifdef HAVE_SCSI_SG_H
20263 #include <scsi/sg.h>
20264 #endif
20267 main ()
20269 static sg_io_hdr_t ac_aggr;
20270 if (ac_aggr.interface_id)
20271 return 0;
20273 return 0;
20275 _ACEOF
20276 rm -f conftest.$ac_objext
20277 if { (ac_try="$ac_compile"
20278 case "(($ac_try" in
20279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20280 *) ac_try_echo=$ac_try;;
20281 esac
20282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20283 (eval "$ac_compile") 2>conftest.er1
20284 ac_status=$?
20285 grep -v '^ *+' conftest.er1 >conftest.err
20286 rm -f conftest.er1
20287 cat conftest.err >&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } && {
20290 test -z "$ac_c_werror_flag" ||
20291 test ! -s conftest.err
20292 } && test -s conftest.$ac_objext; then
20293 ac_cv_member_sg_io_hdr_t_interface_id=yes
20294 else
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.$ac_ext >&5
20298 cat >conftest.$ac_ext <<_ACEOF
20299 /* confdefs.h. */
20300 _ACEOF
20301 cat confdefs.h >>conftest.$ac_ext
20302 cat >>conftest.$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20304 #include <sys/types.h>
20305 #ifdef HAVE_SCSI_SG_H
20306 #include <scsi/sg.h>
20307 #endif
20310 main ()
20312 static sg_io_hdr_t ac_aggr;
20313 if (sizeof ac_aggr.interface_id)
20314 return 0;
20316 return 0;
20318 _ACEOF
20319 rm -f conftest.$ac_objext
20320 if { (ac_try="$ac_compile"
20321 case "(($ac_try" in
20322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20323 *) ac_try_echo=$ac_try;;
20324 esac
20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_compile") 2>conftest.er1
20327 ac_status=$?
20328 grep -v '^ *+' conftest.er1 >conftest.err
20329 rm -f conftest.er1
20330 cat conftest.err >&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); } && {
20333 test -z "$ac_c_werror_flag" ||
20334 test ! -s conftest.err
20335 } && test -s conftest.$ac_objext; then
20336 ac_cv_member_sg_io_hdr_t_interface_id=yes
20337 else
20338 echo "$as_me: failed program was:" >&5
20339 sed 's/^/| /' conftest.$ac_ext >&5
20341 ac_cv_member_sg_io_hdr_t_interface_id=no
20344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20349 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20350 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20351 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20353 cat >>confdefs.h <<_ACEOF
20354 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20355 _ACEOF
20361 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20362 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20363 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20364 echo $ECHO_N "(cached) $ECHO_C" >&6
20365 else
20366 cat >conftest.$ac_ext <<_ACEOF
20367 /* confdefs.h. */
20368 _ACEOF
20369 cat confdefs.h >>conftest.$ac_ext
20370 cat >>conftest.$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372 #include <signal.h>
20375 main ()
20377 static siginfo_t ac_aggr;
20378 if (ac_aggr.si_fd)
20379 return 0;
20381 return 0;
20383 _ACEOF
20384 rm -f conftest.$ac_objext
20385 if { (ac_try="$ac_compile"
20386 case "(($ac_try" in
20387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20388 *) ac_try_echo=$ac_try;;
20389 esac
20390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20391 (eval "$ac_compile") 2>conftest.er1
20392 ac_status=$?
20393 grep -v '^ *+' conftest.er1 >conftest.err
20394 rm -f conftest.er1
20395 cat conftest.err >&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); } && {
20398 test -z "$ac_c_werror_flag" ||
20399 test ! -s conftest.err
20400 } && test -s conftest.$ac_objext; then
20401 ac_cv_member_siginfo_t_si_fd=yes
20402 else
20403 echo "$as_me: failed program was:" >&5
20404 sed 's/^/| /' conftest.$ac_ext >&5
20406 cat >conftest.$ac_ext <<_ACEOF
20407 /* confdefs.h. */
20408 _ACEOF
20409 cat confdefs.h >>conftest.$ac_ext
20410 cat >>conftest.$ac_ext <<_ACEOF
20411 /* end confdefs.h. */
20412 #include <signal.h>
20415 main ()
20417 static siginfo_t ac_aggr;
20418 if (sizeof ac_aggr.si_fd)
20419 return 0;
20421 return 0;
20423 _ACEOF
20424 rm -f conftest.$ac_objext
20425 if { (ac_try="$ac_compile"
20426 case "(($ac_try" in
20427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20428 *) ac_try_echo=$ac_try;;
20429 esac
20430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20431 (eval "$ac_compile") 2>conftest.er1
20432 ac_status=$?
20433 grep -v '^ *+' conftest.er1 >conftest.err
20434 rm -f conftest.er1
20435 cat conftest.err >&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); } && {
20438 test -z "$ac_c_werror_flag" ||
20439 test ! -s conftest.err
20440 } && test -s conftest.$ac_objext; then
20441 ac_cv_member_siginfo_t_si_fd=yes
20442 else
20443 echo "$as_me: failed program was:" >&5
20444 sed 's/^/| /' conftest.$ac_ext >&5
20446 ac_cv_member_siginfo_t_si_fd=no
20449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20454 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20455 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20456 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20458 cat >>confdefs.h <<_ACEOF
20459 #define HAVE_SIGINFO_T_SI_FD 1
20460 _ACEOF
20466 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20467 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20468 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20469 echo $ECHO_N "(cached) $ECHO_C" >&6
20470 else
20471 cat >conftest.$ac_ext <<_ACEOF
20472 /* confdefs.h. */
20473 _ACEOF
20474 cat confdefs.h >>conftest.$ac_ext
20475 cat >>conftest.$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20477 #include <sys/types.h>
20478 #ifdef HAVE_SYS_MTIO_H
20479 #include <sys/mtio.h>
20480 #endif
20483 main ()
20485 static struct mtget ac_aggr;
20486 if (ac_aggr.mt_blksiz)
20487 return 0;
20489 return 0;
20491 _ACEOF
20492 rm -f conftest.$ac_objext
20493 if { (ac_try="$ac_compile"
20494 case "(($ac_try" in
20495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20496 *) ac_try_echo=$ac_try;;
20497 esac
20498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20499 (eval "$ac_compile") 2>conftest.er1
20500 ac_status=$?
20501 grep -v '^ *+' conftest.er1 >conftest.err
20502 rm -f conftest.er1
20503 cat conftest.err >&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } && {
20506 test -z "$ac_c_werror_flag" ||
20507 test ! -s conftest.err
20508 } && test -s conftest.$ac_objext; then
20509 ac_cv_member_struct_mtget_mt_blksiz=yes
20510 else
20511 echo "$as_me: failed program was:" >&5
20512 sed 's/^/| /' conftest.$ac_ext >&5
20514 cat >conftest.$ac_ext <<_ACEOF
20515 /* confdefs.h. */
20516 _ACEOF
20517 cat confdefs.h >>conftest.$ac_ext
20518 cat >>conftest.$ac_ext <<_ACEOF
20519 /* end confdefs.h. */
20520 #include <sys/types.h>
20521 #ifdef HAVE_SYS_MTIO_H
20522 #include <sys/mtio.h>
20523 #endif
20526 main ()
20528 static struct mtget ac_aggr;
20529 if (sizeof ac_aggr.mt_blksiz)
20530 return 0;
20532 return 0;
20534 _ACEOF
20535 rm -f conftest.$ac_objext
20536 if { (ac_try="$ac_compile"
20537 case "(($ac_try" in
20538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20539 *) ac_try_echo=$ac_try;;
20540 esac
20541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20542 (eval "$ac_compile") 2>conftest.er1
20543 ac_status=$?
20544 grep -v '^ *+' conftest.er1 >conftest.err
20545 rm -f conftest.er1
20546 cat conftest.err >&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } && {
20549 test -z "$ac_c_werror_flag" ||
20550 test ! -s conftest.err
20551 } && test -s conftest.$ac_objext; then
20552 ac_cv_member_struct_mtget_mt_blksiz=yes
20553 else
20554 echo "$as_me: failed program was:" >&5
20555 sed 's/^/| /' conftest.$ac_ext >&5
20557 ac_cv_member_struct_mtget_mt_blksiz=no
20560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20565 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20566 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20567 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20569 cat >>confdefs.h <<_ACEOF
20570 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20571 _ACEOF
20575 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20576 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20577 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20578 echo $ECHO_N "(cached) $ECHO_C" >&6
20579 else
20580 cat >conftest.$ac_ext <<_ACEOF
20581 /* confdefs.h. */
20582 _ACEOF
20583 cat confdefs.h >>conftest.$ac_ext
20584 cat >>conftest.$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20586 #include <sys/types.h>
20587 #ifdef HAVE_SYS_MTIO_H
20588 #include <sys/mtio.h>
20589 #endif
20592 main ()
20594 static struct mtget ac_aggr;
20595 if (ac_aggr.mt_gstat)
20596 return 0;
20598 return 0;
20600 _ACEOF
20601 rm -f conftest.$ac_objext
20602 if { (ac_try="$ac_compile"
20603 case "(($ac_try" in
20604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20605 *) ac_try_echo=$ac_try;;
20606 esac
20607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20608 (eval "$ac_compile") 2>conftest.er1
20609 ac_status=$?
20610 grep -v '^ *+' conftest.er1 >conftest.err
20611 rm -f conftest.er1
20612 cat conftest.err >&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } && {
20615 test -z "$ac_c_werror_flag" ||
20616 test ! -s conftest.err
20617 } && test -s conftest.$ac_objext; then
20618 ac_cv_member_struct_mtget_mt_gstat=yes
20619 else
20620 echo "$as_me: failed program was:" >&5
20621 sed 's/^/| /' conftest.$ac_ext >&5
20623 cat >conftest.$ac_ext <<_ACEOF
20624 /* confdefs.h. */
20625 _ACEOF
20626 cat confdefs.h >>conftest.$ac_ext
20627 cat >>conftest.$ac_ext <<_ACEOF
20628 /* end confdefs.h. */
20629 #include <sys/types.h>
20630 #ifdef HAVE_SYS_MTIO_H
20631 #include <sys/mtio.h>
20632 #endif
20635 main ()
20637 static struct mtget ac_aggr;
20638 if (sizeof ac_aggr.mt_gstat)
20639 return 0;
20641 return 0;
20643 _ACEOF
20644 rm -f conftest.$ac_objext
20645 if { (ac_try="$ac_compile"
20646 case "(($ac_try" in
20647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20648 *) ac_try_echo=$ac_try;;
20649 esac
20650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20651 (eval "$ac_compile") 2>conftest.er1
20652 ac_status=$?
20653 grep -v '^ *+' conftest.er1 >conftest.err
20654 rm -f conftest.er1
20655 cat conftest.err >&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); } && {
20658 test -z "$ac_c_werror_flag" ||
20659 test ! -s conftest.err
20660 } && test -s conftest.$ac_objext; then
20661 ac_cv_member_struct_mtget_mt_gstat=yes
20662 else
20663 echo "$as_me: failed program was:" >&5
20664 sed 's/^/| /' conftest.$ac_ext >&5
20666 ac_cv_member_struct_mtget_mt_gstat=no
20669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20674 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20675 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20676 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20678 cat >>confdefs.h <<_ACEOF
20679 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20680 _ACEOF
20684 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20685 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20686 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20687 echo $ECHO_N "(cached) $ECHO_C" >&6
20688 else
20689 cat >conftest.$ac_ext <<_ACEOF
20690 /* confdefs.h. */
20691 _ACEOF
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h. */
20695 #include <sys/types.h>
20696 #ifdef HAVE_SYS_MTIO_H
20697 #include <sys/mtio.h>
20698 #endif
20701 main ()
20703 static struct mtget ac_aggr;
20704 if (ac_aggr.mt_blkno)
20705 return 0;
20707 return 0;
20709 _ACEOF
20710 rm -f conftest.$ac_objext
20711 if { (ac_try="$ac_compile"
20712 case "(($ac_try" in
20713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20714 *) ac_try_echo=$ac_try;;
20715 esac
20716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717 (eval "$ac_compile") 2>conftest.er1
20718 ac_status=$?
20719 grep -v '^ *+' conftest.er1 >conftest.err
20720 rm -f conftest.er1
20721 cat conftest.err >&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); } && {
20724 test -z "$ac_c_werror_flag" ||
20725 test ! -s conftest.err
20726 } && test -s conftest.$ac_objext; then
20727 ac_cv_member_struct_mtget_mt_blkno=yes
20728 else
20729 echo "$as_me: failed program was:" >&5
20730 sed 's/^/| /' conftest.$ac_ext >&5
20732 cat >conftest.$ac_ext <<_ACEOF
20733 /* confdefs.h. */
20734 _ACEOF
20735 cat confdefs.h >>conftest.$ac_ext
20736 cat >>conftest.$ac_ext <<_ACEOF
20737 /* end confdefs.h. */
20738 #include <sys/types.h>
20739 #ifdef HAVE_SYS_MTIO_H
20740 #include <sys/mtio.h>
20741 #endif
20744 main ()
20746 static struct mtget ac_aggr;
20747 if (sizeof ac_aggr.mt_blkno)
20748 return 0;
20750 return 0;
20752 _ACEOF
20753 rm -f conftest.$ac_objext
20754 if { (ac_try="$ac_compile"
20755 case "(($ac_try" in
20756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20757 *) ac_try_echo=$ac_try;;
20758 esac
20759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20760 (eval "$ac_compile") 2>conftest.er1
20761 ac_status=$?
20762 grep -v '^ *+' conftest.er1 >conftest.err
20763 rm -f conftest.er1
20764 cat conftest.err >&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } && {
20767 test -z "$ac_c_werror_flag" ||
20768 test ! -s conftest.err
20769 } && test -s conftest.$ac_objext; then
20770 ac_cv_member_struct_mtget_mt_blkno=yes
20771 else
20772 echo "$as_me: failed program was:" >&5
20773 sed 's/^/| /' conftest.$ac_ext >&5
20775 ac_cv_member_struct_mtget_mt_blkno=no
20778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20783 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20784 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20785 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20787 cat >>confdefs.h <<_ACEOF
20788 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20789 _ACEOF
20795 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20796 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20797 if test "${ac_cv_member_struct_option_name+set}" = set; then
20798 echo $ECHO_N "(cached) $ECHO_C" >&6
20799 else
20800 cat >conftest.$ac_ext <<_ACEOF
20801 /* confdefs.h. */
20802 _ACEOF
20803 cat confdefs.h >>conftest.$ac_ext
20804 cat >>conftest.$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20806 #ifdef HAVE_GETOPT_H
20807 #include <getopt.h>
20808 #endif
20811 main ()
20813 static struct option ac_aggr;
20814 if (ac_aggr.name)
20815 return 0;
20817 return 0;
20819 _ACEOF
20820 rm -f conftest.$ac_objext
20821 if { (ac_try="$ac_compile"
20822 case "(($ac_try" in
20823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20825 esac
20826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_compile") 2>conftest.er1
20828 ac_status=$?
20829 grep -v '^ *+' conftest.er1 >conftest.err
20830 rm -f conftest.er1
20831 cat conftest.err >&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } && {
20834 test -z "$ac_c_werror_flag" ||
20835 test ! -s conftest.err
20836 } && test -s conftest.$ac_objext; then
20837 ac_cv_member_struct_option_name=yes
20838 else
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.$ac_ext >&5
20842 cat >conftest.$ac_ext <<_ACEOF
20843 /* confdefs.h. */
20844 _ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 #ifdef HAVE_GETOPT_H
20849 #include <getopt.h>
20850 #endif
20853 main ()
20855 static struct option ac_aggr;
20856 if (sizeof ac_aggr.name)
20857 return 0;
20859 return 0;
20861 _ACEOF
20862 rm -f conftest.$ac_objext
20863 if { (ac_try="$ac_compile"
20864 case "(($ac_try" in
20865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20866 *) ac_try_echo=$ac_try;;
20867 esac
20868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20869 (eval "$ac_compile") 2>conftest.er1
20870 ac_status=$?
20871 grep -v '^ *+' conftest.er1 >conftest.err
20872 rm -f conftest.er1
20873 cat conftest.err >&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); } && {
20876 test -z "$ac_c_werror_flag" ||
20877 test ! -s conftest.err
20878 } && test -s conftest.$ac_objext; then
20879 ac_cv_member_struct_option_name=yes
20880 else
20881 echo "$as_me: failed program was:" >&5
20882 sed 's/^/| /' conftest.$ac_ext >&5
20884 ac_cv_member_struct_option_name=no
20887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20892 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20893 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20894 if test $ac_cv_member_struct_option_name = yes; then
20896 cat >>confdefs.h <<_ACEOF
20897 #define HAVE_STRUCT_OPTION_NAME 1
20898 _ACEOF
20904 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20905 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20906 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20907 echo $ECHO_N "(cached) $ECHO_C" >&6
20908 else
20909 cat >conftest.$ac_ext <<_ACEOF
20910 /* confdefs.h. */
20911 _ACEOF
20912 cat confdefs.h >>conftest.$ac_ext
20913 cat >>conftest.$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20915 $ac_includes_default
20917 main ()
20919 static struct stat ac_aggr;
20920 if (ac_aggr.st_blocks)
20921 return 0;
20923 return 0;
20925 _ACEOF
20926 rm -f conftest.$ac_objext
20927 if { (ac_try="$ac_compile"
20928 case "(($ac_try" in
20929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20930 *) ac_try_echo=$ac_try;;
20931 esac
20932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20933 (eval "$ac_compile") 2>conftest.er1
20934 ac_status=$?
20935 grep -v '^ *+' conftest.er1 >conftest.err
20936 rm -f conftest.er1
20937 cat conftest.err >&5
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); } && {
20940 test -z "$ac_c_werror_flag" ||
20941 test ! -s conftest.err
20942 } && test -s conftest.$ac_objext; then
20943 ac_cv_member_struct_stat_st_blocks=yes
20944 else
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.$ac_ext >&5
20948 cat >conftest.$ac_ext <<_ACEOF
20949 /* confdefs.h. */
20950 _ACEOF
20951 cat confdefs.h >>conftest.$ac_ext
20952 cat >>conftest.$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20956 main ()
20958 static struct stat ac_aggr;
20959 if (sizeof ac_aggr.st_blocks)
20960 return 0;
20962 return 0;
20964 _ACEOF
20965 rm -f conftest.$ac_objext
20966 if { (ac_try="$ac_compile"
20967 case "(($ac_try" in
20968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20969 *) ac_try_echo=$ac_try;;
20970 esac
20971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20972 (eval "$ac_compile") 2>conftest.er1
20973 ac_status=$?
20974 grep -v '^ *+' conftest.er1 >conftest.err
20975 rm -f conftest.er1
20976 cat conftest.err >&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } && {
20979 test -z "$ac_c_werror_flag" ||
20980 test ! -s conftest.err
20981 } && test -s conftest.$ac_objext; then
20982 ac_cv_member_struct_stat_st_blocks=yes
20983 else
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20987 ac_cv_member_struct_stat_st_blocks=no
20990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20995 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20996 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20997 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20999 cat >>confdefs.h <<_ACEOF
21000 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
21001 _ACEOF
21007 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
21008 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
21009 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
21010 echo $ECHO_N "(cached) $ECHO_C" >&6
21011 else
21012 cat >conftest.$ac_ext <<_ACEOF
21013 /* confdefs.h. */
21014 _ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 #ifdef HAVE_SYS_TYPES_H
21019 #include <sys/types.h>
21020 #endif
21021 #ifdef HAVE_NETINET_IN_H
21022 #include <netinet/in.h>
21023 #endif
21026 main ()
21028 static struct sockaddr_in6 ac_aggr;
21029 if (ac_aggr.sin6_scope_id)
21030 return 0;
21032 return 0;
21034 _ACEOF
21035 rm -f conftest.$ac_objext
21036 if { (ac_try="$ac_compile"
21037 case "(($ac_try" in
21038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21039 *) ac_try_echo=$ac_try;;
21040 esac
21041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21042 (eval "$ac_compile") 2>conftest.er1
21043 ac_status=$?
21044 grep -v '^ *+' conftest.er1 >conftest.err
21045 rm -f conftest.er1
21046 cat conftest.err >&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); } && {
21049 test -z "$ac_c_werror_flag" ||
21050 test ! -s conftest.err
21051 } && test -s conftest.$ac_objext; then
21052 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21053 else
21054 echo "$as_me: failed program was:" >&5
21055 sed 's/^/| /' conftest.$ac_ext >&5
21057 cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h. */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 #ifdef HAVE_SYS_TYPES_H
21064 #include <sys/types.h>
21065 #endif
21066 #ifdef HAVE_NETINET_IN_H
21067 #include <netinet/in.h>
21068 #endif
21071 main ()
21073 static struct sockaddr_in6 ac_aggr;
21074 if (sizeof ac_aggr.sin6_scope_id)
21075 return 0;
21077 return 0;
21079 _ACEOF
21080 rm -f conftest.$ac_objext
21081 if { (ac_try="$ac_compile"
21082 case "(($ac_try" in
21083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21084 *) ac_try_echo=$ac_try;;
21085 esac
21086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21087 (eval "$ac_compile") 2>conftest.er1
21088 ac_status=$?
21089 grep -v '^ *+' conftest.er1 >conftest.err
21090 rm -f conftest.er1
21091 cat conftest.err >&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } && {
21094 test -z "$ac_c_werror_flag" ||
21095 test ! -s conftest.err
21096 } && test -s conftest.$ac_objext; then
21097 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21098 else
21099 echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.$ac_ext >&5
21102 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21110 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21111 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21112 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21114 cat >>confdefs.h <<_ACEOF
21115 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21116 _ACEOF
21122 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21123 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21124 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21125 echo $ECHO_N "(cached) $ECHO_C" >&6
21126 else
21127 cat >conftest.$ac_ext <<_ACEOF
21128 /* confdefs.h. */
21129 _ACEOF
21130 cat confdefs.h >>conftest.$ac_ext
21131 cat >>conftest.$ac_ext <<_ACEOF
21132 /* end confdefs.h. */
21133 #ifdef HAVE_SYS_TYPES_H
21134 #include <sys/types.h>
21135 #endif
21136 #ifdef HAVE_NETINET_IN_H
21137 # include <netinet/in.h>
21138 #endif
21139 #ifdef HAVE_ARPA_NAMESER_H
21140 # include <arpa/nameser.h>
21141 #endif
21144 main ()
21146 static ns_msg ac_aggr;
21147 if (ac_aggr._msg_ptr)
21148 return 0;
21150 return 0;
21152 _ACEOF
21153 rm -f conftest.$ac_objext
21154 if { (ac_try="$ac_compile"
21155 case "(($ac_try" in
21156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21157 *) ac_try_echo=$ac_try;;
21158 esac
21159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21160 (eval "$ac_compile") 2>conftest.er1
21161 ac_status=$?
21162 grep -v '^ *+' conftest.er1 >conftest.err
21163 rm -f conftest.er1
21164 cat conftest.err >&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); } && {
21167 test -z "$ac_c_werror_flag" ||
21168 test ! -s conftest.err
21169 } && test -s conftest.$ac_objext; then
21170 ac_cv_member_ns_msg__msg_ptr=yes
21171 else
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.$ac_ext >&5
21175 cat >conftest.$ac_ext <<_ACEOF
21176 /* confdefs.h. */
21177 _ACEOF
21178 cat confdefs.h >>conftest.$ac_ext
21179 cat >>conftest.$ac_ext <<_ACEOF
21180 /* end confdefs.h. */
21181 #ifdef HAVE_SYS_TYPES_H
21182 #include <sys/types.h>
21183 #endif
21184 #ifdef HAVE_NETINET_IN_H
21185 # include <netinet/in.h>
21186 #endif
21187 #ifdef HAVE_ARPA_NAMESER_H
21188 # include <arpa/nameser.h>
21189 #endif
21192 main ()
21194 static ns_msg ac_aggr;
21195 if (sizeof ac_aggr._msg_ptr)
21196 return 0;
21198 return 0;
21200 _ACEOF
21201 rm -f conftest.$ac_objext
21202 if { (ac_try="$ac_compile"
21203 case "(($ac_try" in
21204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21205 *) ac_try_echo=$ac_try;;
21206 esac
21207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21208 (eval "$ac_compile") 2>conftest.er1
21209 ac_status=$?
21210 grep -v '^ *+' conftest.er1 >conftest.err
21211 rm -f conftest.er1
21212 cat conftest.err >&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); } && {
21215 test -z "$ac_c_werror_flag" ||
21216 test ! -s conftest.err
21217 } && test -s conftest.$ac_objext; then
21218 ac_cv_member_ns_msg__msg_ptr=yes
21219 else
21220 echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.$ac_ext >&5
21223 ac_cv_member_ns_msg__msg_ptr=no
21226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21231 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21232 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21233 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21235 cat >>confdefs.h <<_ACEOF
21236 #define HAVE_NS_MSG__MSG_PTR 1
21237 _ACEOF
21243 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21244 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21245 if test "${ac_cv_have_timezone+set}" = set; then
21246 echo $ECHO_N "(cached) $ECHO_C" >&6
21247 else
21248 cat >conftest.$ac_ext <<_ACEOF
21249 /* confdefs.h. */
21250 _ACEOF
21251 cat confdefs.h >>conftest.$ac_ext
21252 cat >>conftest.$ac_ext <<_ACEOF
21253 /* end confdefs.h. */
21254 #include <time.h>
21256 main ()
21258 timezone = 1
21260 return 0;
21262 _ACEOF
21263 rm -f conftest.$ac_objext conftest$ac_exeext
21264 if { (ac_try="$ac_link"
21265 case "(($ac_try" in
21266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21267 *) ac_try_echo=$ac_try;;
21268 esac
21269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21270 (eval "$ac_link") 2>conftest.er1
21271 ac_status=$?
21272 grep -v '^ *+' conftest.er1 >conftest.err
21273 rm -f conftest.er1
21274 cat conftest.err >&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); } && {
21277 test -z "$ac_c_werror_flag" ||
21278 test ! -s conftest.err
21279 } && test -s conftest$ac_exeext &&
21280 $as_test_x conftest$ac_exeext; then
21281 ac_cv_have_timezone="yes"
21282 else
21283 echo "$as_me: failed program was:" >&5
21284 sed 's/^/| /' conftest.$ac_ext >&5
21286 ac_cv_have_timezone="no"
21289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21290 conftest$ac_exeext conftest.$ac_ext
21292 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21293 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21294 if test "$ac_cv_have_timezone" = "yes"
21295 then
21297 cat >>confdefs.h <<\_ACEOF
21298 #define HAVE_TIMEZONE 1
21299 _ACEOF
21302 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21303 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21304 if test "${ac_cv_have_daylight+set}" = set; then
21305 echo $ECHO_N "(cached) $ECHO_C" >&6
21306 else
21307 cat >conftest.$ac_ext <<_ACEOF
21308 /* confdefs.h. */
21309 _ACEOF
21310 cat confdefs.h >>conftest.$ac_ext
21311 cat >>conftest.$ac_ext <<_ACEOF
21312 /* end confdefs.h. */
21313 #include <time.h>
21315 main ()
21317 daylight = 1
21319 return 0;
21321 _ACEOF
21322 rm -f conftest.$ac_objext conftest$ac_exeext
21323 if { (ac_try="$ac_link"
21324 case "(($ac_try" in
21325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21326 *) ac_try_echo=$ac_try;;
21327 esac
21328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21329 (eval "$ac_link") 2>conftest.er1
21330 ac_status=$?
21331 grep -v '^ *+' conftest.er1 >conftest.err
21332 rm -f conftest.er1
21333 cat conftest.err >&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); } && {
21336 test -z "$ac_c_werror_flag" ||
21337 test ! -s conftest.err
21338 } && test -s conftest$ac_exeext &&
21339 $as_test_x conftest$ac_exeext; then
21340 ac_cv_have_daylight="yes"
21341 else
21342 echo "$as_me: failed program was:" >&5
21343 sed 's/^/| /' conftest.$ac_ext >&5
21345 ac_cv_have_daylight="no"
21348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21349 conftest$ac_exeext conftest.$ac_ext
21351 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21352 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21353 if test "$ac_cv_have_daylight" = "yes"
21354 then
21356 cat >>confdefs.h <<\_ACEOF
21357 #define HAVE_DAYLIGHT 1
21358 _ACEOF
21362 { echo "$as_me:$LINENO: checking for isinf" >&5
21363 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21364 if test "${ac_cv_have_isinf+set}" = set; then
21365 echo $ECHO_N "(cached) $ECHO_C" >&6
21366 else
21367 cat >conftest.$ac_ext <<_ACEOF
21368 /* confdefs.h. */
21369 _ACEOF
21370 cat confdefs.h >>conftest.$ac_ext
21371 cat >>conftest.$ac_ext <<_ACEOF
21372 /* end confdefs.h. */
21373 #include <math.h>
21375 main ()
21377 float f = 0.0; int i=isinf(f)
21379 return 0;
21381 _ACEOF
21382 rm -f conftest.$ac_objext conftest$ac_exeext
21383 if { (ac_try="$ac_link"
21384 case "(($ac_try" in
21385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21386 *) ac_try_echo=$ac_try;;
21387 esac
21388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21389 (eval "$ac_link") 2>conftest.er1
21390 ac_status=$?
21391 grep -v '^ *+' conftest.er1 >conftest.err
21392 rm -f conftest.er1
21393 cat conftest.err >&5
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); } && {
21396 test -z "$ac_c_werror_flag" ||
21397 test ! -s conftest.err
21398 } && test -s conftest$ac_exeext &&
21399 $as_test_x conftest$ac_exeext; then
21400 ac_cv_have_isinf="yes"
21401 else
21402 echo "$as_me: failed program was:" >&5
21403 sed 's/^/| /' conftest.$ac_ext >&5
21405 ac_cv_have_isinf="no"
21408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21409 conftest$ac_exeext conftest.$ac_ext
21411 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21412 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21413 if test "$ac_cv_have_isinf" = "yes"
21414 then
21416 cat >>confdefs.h <<\_ACEOF
21417 #define HAVE_ISINF 1
21418 _ACEOF
21423 case $host_cpu in
21424 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21425 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21426 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21427 echo $ECHO_N "(cached) $ECHO_C" >&6
21428 else
21429 cat >conftest.$ac_ext <<_ACEOF
21430 /* confdefs.h. */
21431 _ACEOF
21432 cat confdefs.h >>conftest.$ac_ext
21433 cat >>conftest.$ac_ext <<_ACEOF
21434 /* end confdefs.h. */
21435 #ifndef __i386__
21437 #endif
21438 _ACEOF
21439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21440 $EGREP "yes" >/dev/null 2>&1; then
21441 ac_cv_cpp_def___i386__=yes
21442 else
21443 ac_cv_cpp_def___i386__=no
21445 rm -f conftest*
21448 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21449 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21450 if test $ac_cv_cpp_def___i386__ = yes; then
21451 CFLAGS="$CFLAGS -D__i386__"
21452 LINTFLAGS="$LINTFLAGS -D__i386__"
21455 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21456 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21457 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21458 echo $ECHO_N "(cached) $ECHO_C" >&6
21459 else
21460 cat >conftest.$ac_ext <<_ACEOF
21461 /* confdefs.h. */
21462 _ACEOF
21463 cat confdefs.h >>conftest.$ac_ext
21464 cat >>conftest.$ac_ext <<_ACEOF
21465 /* end confdefs.h. */
21466 #ifndef __x86_64__
21468 #endif
21469 _ACEOF
21470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21471 $EGREP "yes" >/dev/null 2>&1; then
21472 ac_cv_cpp_def___x86_64__=yes
21473 else
21474 ac_cv_cpp_def___x86_64__=no
21476 rm -f conftest*
21479 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21480 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21481 if test $ac_cv_cpp_def___x86_64__ = yes; then
21482 CFLAGS="$CFLAGS -D__x86_64__"
21483 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21486 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21487 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21488 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21489 echo $ECHO_N "(cached) $ECHO_C" >&6
21490 else
21491 cat >conftest.$ac_ext <<_ACEOF
21492 /* confdefs.h. */
21493 _ACEOF
21494 cat confdefs.h >>conftest.$ac_ext
21495 cat >>conftest.$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21497 #ifndef __ALPHA__
21499 #endif
21500 _ACEOF
21501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21502 $EGREP "yes" >/dev/null 2>&1; then
21503 ac_cv_cpp_def___ALPHA__=yes
21504 else
21505 ac_cv_cpp_def___ALPHA__=no
21507 rm -f conftest*
21510 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21511 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21512 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21513 CFLAGS="$CFLAGS -D__ALPHA__"
21514 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21517 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21518 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21519 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21520 echo $ECHO_N "(cached) $ECHO_C" >&6
21521 else
21522 cat >conftest.$ac_ext <<_ACEOF
21523 /* confdefs.h. */
21524 _ACEOF
21525 cat confdefs.h >>conftest.$ac_ext
21526 cat >>conftest.$ac_ext <<_ACEOF
21527 /* end confdefs.h. */
21528 #ifndef __sparc__
21530 #endif
21531 _ACEOF
21532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21533 $EGREP "yes" >/dev/null 2>&1; then
21534 ac_cv_cpp_def___sparc__=yes
21535 else
21536 ac_cv_cpp_def___sparc__=no
21538 rm -f conftest*
21541 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21542 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21543 if test $ac_cv_cpp_def___sparc__ = yes; then
21544 CFLAGS="$CFLAGS -D__sparc__"
21545 LINTFLAGS="$LINTFLAGS -D__sparc__"
21548 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21549 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21550 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21551 echo $ECHO_N "(cached) $ECHO_C" >&6
21552 else
21553 cat >conftest.$ac_ext <<_ACEOF
21554 /* confdefs.h. */
21555 _ACEOF
21556 cat confdefs.h >>conftest.$ac_ext
21557 cat >>conftest.$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559 #ifndef __powerpc__
21561 #endif
21562 _ACEOF
21563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21564 $EGREP "yes" >/dev/null 2>&1; then
21565 ac_cv_cpp_def___powerpc__=yes
21566 else
21567 ac_cv_cpp_def___powerpc__=no
21569 rm -f conftest*
21572 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21573 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21574 if test $ac_cv_cpp_def___powerpc__ = yes; then
21575 CFLAGS="$CFLAGS -D__powerpc__"
21576 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21579 esac
21581 case $host_vendor in
21582 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21583 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21584 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21585 echo $ECHO_N "(cached) $ECHO_C" >&6
21586 else
21587 cat >conftest.$ac_ext <<_ACEOF
21588 /* confdefs.h. */
21589 _ACEOF
21590 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21593 #ifndef __sun__
21595 #endif
21596 _ACEOF
21597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21598 $EGREP "yes" >/dev/null 2>&1; then
21599 ac_cv_cpp_def___sun__=yes
21600 else
21601 ac_cv_cpp_def___sun__=no
21603 rm -f conftest*
21606 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21607 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21608 if test $ac_cv_cpp_def___sun__ = yes; then
21609 CFLAGS="$CFLAGS -D__sun__"
21610 LINTFLAGS="$LINTFLAGS -D__sun__"
21613 esac
21616 DEPENDENCIES="### Dependencies:
21618 .INIT: Makefile
21619 .BEGIN: Makefile
21620 Makefile: dummy
21621 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21623 \$(OBJS): \$(IDL_GEN_HEADERS)
21624 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21625 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21626 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21627 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21633 ac_config_commands="$ac_config_commands include/stamp-h"
21636 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21638 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21640 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21642 ac_config_commands="$ac_config_commands dlls/user32/resources"
21644 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21646 ac_config_commands="$ac_config_commands include/wine"
21649 MAKE_RULES=Make.rules
21652 MAKE_DLL_RULES=dlls/Makedll.rules
21655 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21658 MAKE_TEST_RULES=dlls/Maketest.rules
21661 MAKE_PROG_RULES=programs/Makeprog.rules
21664 ac_config_files="$ac_config_files Make.rules"
21666 ac_config_files="$ac_config_files dlls/Makedll.rules"
21668 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21670 ac_config_files="$ac_config_files dlls/Maketest.rules"
21672 ac_config_files="$ac_config_files programs/Makeprog.rules"
21674 ac_config_files="$ac_config_files Makefile"
21676 ac_config_files="$ac_config_files dlls/Makefile"
21678 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21680 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21682 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21684 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21686 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21688 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21690 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21692 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21694 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21696 ac_config_files="$ac_config_files dlls/atl/Makefile"
21698 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21700 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21702 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21704 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21706 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21708 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21710 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21712 ac_config_files="$ac_config_files dlls/cards/Makefile"
21714 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21716 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21718 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21720 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21722 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21724 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21726 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21728 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21730 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21732 ac_config_files="$ac_config_files dlls/credui/Makefile"
21734 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21736 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21738 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21740 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21742 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21744 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21746 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21748 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21750 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21752 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21754 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21756 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21758 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21760 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21762 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21764 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21766 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21768 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21770 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21772 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21774 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21776 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21778 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21780 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21782 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21784 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21786 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21788 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21790 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21792 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21794 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21796 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21798 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21800 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21802 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21804 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21806 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21808 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21810 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21812 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21814 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21816 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21818 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21820 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21822 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21824 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21826 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21828 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21830 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21832 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21834 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21836 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21838 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21840 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21842 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21844 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21846 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21848 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21850 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21852 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21854 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21856 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21858 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21860 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21862 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21864 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21866 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21868 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21870 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21872 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21874 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21876 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21878 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21880 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21882 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21884 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21886 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21888 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21890 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21892 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21894 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21896 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21898 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21900 ac_config_files="$ac_config_files dlls/hal/Makefile"
21902 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21904 ac_config_files="$ac_config_files dlls/hid/Makefile"
21906 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21908 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21910 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21912 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21914 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21916 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21918 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21920 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21922 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21924 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21926 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21928 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21930 ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
21932 ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
21934 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21936 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21938 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21940 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21942 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21944 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21946 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21948 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21950 ac_config_files="$ac_config_files dlls/itss/Makefile"
21952 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21954 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21956 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21958 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21960 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21962 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21964 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21966 ac_config_files="$ac_config_files dlls/localui/Makefile"
21968 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21970 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21972 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21974 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21976 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21978 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21980 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21982 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21984 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21986 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21988 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21990 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21992 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21994 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21996 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21998 ac_config_files="$ac_config_files dlls/mpr/Makefile"
22000 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
22002 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
22004 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
22006 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
22008 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
22010 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
22012 ac_config_files="$ac_config_files dlls/mscms/Makefile"
22014 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
22016 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
22018 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
22020 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
22022 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
22024 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
22026 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
22028 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
22030 ac_config_files="$ac_config_files dlls/msi/Makefile"
22032 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
22034 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
22036 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
22038 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
22040 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
22042 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
22044 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
22046 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
22048 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
22050 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
22052 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
22054 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
22056 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
22058 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
22060 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
22062 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
22064 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
22066 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
22068 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
22070 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
22072 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
22074 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
22076 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
22078 ac_config_files="$ac_config_files dlls/newdev/Makefile"
22080 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
22082 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
22084 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
22086 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
22088 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22090 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
22092 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
22094 ac_config_files="$ac_config_files dlls/objsel/Makefile"
22096 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22098 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22100 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22102 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22104 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22106 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22108 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22110 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22112 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22114 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22116 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22118 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22120 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22122 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22124 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22126 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22128 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22130 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22132 ac_config_files="$ac_config_files dlls/printui/Makefile"
22134 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22136 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22138 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22140 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22142 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22144 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22146 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22148 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22150 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22152 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22154 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22156 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22158 ac_config_files="$ac_config_files dlls/query/Makefile"
22160 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22162 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22164 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22166 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22168 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22170 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22172 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22174 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22176 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22178 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22180 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22182 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22184 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22186 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22188 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22190 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22192 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22194 ac_config_files="$ac_config_files dlls/security/Makefile"
22196 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22198 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22200 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22202 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22204 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22206 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22208 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22210 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22212 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22214 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22216 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22218 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22220 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22222 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22224 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22226 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22228 ac_config_files="$ac_config_files dlls/slc/Makefile"
22230 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22232 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22234 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22236 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22238 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22240 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22242 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22244 ac_config_files="$ac_config_files dlls/sti/Makefile"
22246 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22248 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22250 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22252 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22254 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22256 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22258 ac_config_files="$ac_config_files dlls/url/Makefile"
22260 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22262 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22264 ac_config_files="$ac_config_files dlls/user32/Makefile"
22266 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22268 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22270 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22272 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22274 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22276 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22278 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22280 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22282 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22284 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22286 ac_config_files="$ac_config_files dlls/version/Makefile"
22288 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22290 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22292 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22294 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22296 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22298 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22300 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22302 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22304 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22306 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22308 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22310 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22312 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22314 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22316 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22318 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22320 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22322 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22324 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22326 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22328 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22330 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22332 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22334 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22336 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22338 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22340 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22342 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22344 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22346 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22348 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22350 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22352 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22354 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22356 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22358 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22360 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22362 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22364 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22366 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22368 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22370 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22372 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22374 ac_config_files="$ac_config_files documentation/Makefile"
22376 ac_config_files="$ac_config_files fonts/Makefile"
22378 ac_config_files="$ac_config_files include/Makefile"
22380 ac_config_files="$ac_config_files libs/Makefile"
22382 ac_config_files="$ac_config_files libs/port/Makefile"
22384 ac_config_files="$ac_config_files libs/wine/Makefile"
22386 ac_config_files="$ac_config_files libs/wpp/Makefile"
22388 ac_config_files="$ac_config_files loader/Makefile"
22390 ac_config_files="$ac_config_files programs/Makefile"
22392 ac_config_files="$ac_config_files programs/clock/Makefile"
22394 ac_config_files="$ac_config_files programs/cmd/Makefile"
22396 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22398 ac_config_files="$ac_config_files programs/control/Makefile"
22400 ac_config_files="$ac_config_files programs/eject/Makefile"
22402 ac_config_files="$ac_config_files programs/expand/Makefile"
22404 ac_config_files="$ac_config_files programs/explorer/Makefile"
22406 ac_config_files="$ac_config_files programs/hh/Makefile"
22408 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22410 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22412 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22414 ac_config_files="$ac_config_files programs/net/Makefile"
22416 ac_config_files="$ac_config_files programs/notepad/Makefile"
22418 ac_config_files="$ac_config_files programs/oleview/Makefile"
22420 ac_config_files="$ac_config_files programs/progman/Makefile"
22422 ac_config_files="$ac_config_files programs/reg/Makefile"
22424 ac_config_files="$ac_config_files programs/regedit/Makefile"
22426 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22428 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22430 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22432 ac_config_files="$ac_config_files programs/secedit/Makefile"
22434 ac_config_files="$ac_config_files programs/services/Makefile"
22436 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22438 ac_config_files="$ac_config_files programs/start/Makefile"
22440 ac_config_files="$ac_config_files programs/svchost/Makefile"
22442 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22444 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22446 ac_config_files="$ac_config_files programs/view/Makefile"
22448 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22450 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22452 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22454 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22456 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22458 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22460 ac_config_files="$ac_config_files programs/winefile/Makefile"
22462 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22464 ac_config_files="$ac_config_files programs/winemine/Makefile"
22466 ac_config_files="$ac_config_files programs/winepath/Makefile"
22468 ac_config_files="$ac_config_files programs/winetest/Makefile"
22470 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22472 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22474 ac_config_files="$ac_config_files programs/winver/Makefile"
22476 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22478 ac_config_files="$ac_config_files programs/write/Makefile"
22480 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22482 ac_config_files="$ac_config_files server/Makefile"
22484 ac_config_files="$ac_config_files tools/Makefile"
22486 ac_config_files="$ac_config_files tools/widl/Makefile"
22488 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22490 ac_config_files="$ac_config_files tools/winedump/Makefile"
22492 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22494 ac_config_files="$ac_config_files tools/wmc/Makefile"
22496 ac_config_files="$ac_config_files tools/wrc/Makefile"
22499 cat >confcache <<\_ACEOF
22500 # This file is a shell script that caches the results of configure
22501 # tests run on this system so they can be shared between configure
22502 # scripts and configure runs, see configure's option --config-cache.
22503 # It is not useful on other systems. If it contains results you don't
22504 # want to keep, you may remove or edit it.
22506 # config.status only pays attention to the cache file if you give it
22507 # the --recheck option to rerun configure.
22509 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22510 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22511 # following values.
22513 _ACEOF
22515 # The following way of writing the cache mishandles newlines in values,
22516 # but we know of no workaround that is simple, portable, and efficient.
22517 # So, we kill variables containing newlines.
22518 # Ultrix sh set writes to stderr and can't be redirected directly,
22519 # and sets the high bit in the cache file unless we assign to the vars.
22521 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22522 eval ac_val=\$$ac_var
22523 case $ac_val in #(
22524 *${as_nl}*)
22525 case $ac_var in #(
22526 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22527 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22528 esac
22529 case $ac_var in #(
22530 _ | IFS | as_nl) ;; #(
22531 *) $as_unset $ac_var ;;
22532 esac ;;
22533 esac
22534 done
22536 (set) 2>&1 |
22537 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22538 *${as_nl}ac_space=\ *)
22539 # `set' does not quote correctly, so add quotes (double-quote
22540 # substitution turns \\\\ into \\, and sed turns \\ into \).
22541 sed -n \
22542 "s/'/'\\\\''/g;
22543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22544 ;; #(
22546 # `set' quotes correctly as required by POSIX, so do not add quotes.
22547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22549 esac |
22550 sort
22552 sed '
22553 /^ac_cv_env_/b end
22554 t clear
22555 :clear
22556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22557 t end
22558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22559 :end' >>confcache
22560 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22561 if test -w "$cache_file"; then
22562 test "x$cache_file" != "x/dev/null" &&
22563 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22564 echo "$as_me: updating cache $cache_file" >&6;}
22565 cat confcache >$cache_file
22566 else
22567 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22568 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22571 rm -f confcache
22573 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22574 # Let make expand exec_prefix.
22575 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22577 DEFS=-DHAVE_CONFIG_H
22579 ac_libobjs=
22580 ac_ltlibobjs=
22581 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22582 # 1. Remove the extension, and $U if already installed.
22583 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22584 ac_i=`echo "$ac_i" | sed "$ac_script"`
22585 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22586 # will be set to the directory where LIBOBJS objects are built.
22587 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22588 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22589 done
22590 LIBOBJS=$ac_libobjs
22592 LTLIBOBJS=$ac_ltlibobjs
22596 : ${CONFIG_STATUS=./config.status}
22597 ac_clean_files_save=$ac_clean_files
22598 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22599 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22600 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22601 cat >$CONFIG_STATUS <<_ACEOF
22602 #! $SHELL
22603 # Generated by $as_me.
22604 # Run this file to recreate the current configuration.
22605 # Compiler output produced by configure, useful for debugging
22606 # configure, is in config.log if it exists.
22608 debug=false
22609 ac_cs_recheck=false
22610 ac_cs_silent=false
22611 SHELL=\${CONFIG_SHELL-$SHELL}
22612 _ACEOF
22614 cat >>$CONFIG_STATUS <<\_ACEOF
22615 ## --------------------- ##
22616 ## M4sh Initialization. ##
22617 ## --------------------- ##
22619 # Be more Bourne compatible
22620 DUALCASE=1; export DUALCASE # for MKS sh
22621 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22622 emulate sh
22623 NULLCMD=:
22624 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22625 # is contrary to our usage. Disable this feature.
22626 alias -g '${1+"$@"}'='"$@"'
22627 setopt NO_GLOB_SUBST
22628 else
22629 case `(set -o) 2>/dev/null` in
22630 *posix*) set -o posix ;;
22631 esac
22638 # PATH needs CR
22639 # Avoid depending upon Character Ranges.
22640 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22641 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22642 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22643 as_cr_digits='0123456789'
22644 as_cr_alnum=$as_cr_Letters$as_cr_digits
22646 # The user is always right.
22647 if test "${PATH_SEPARATOR+set}" != set; then
22648 echo "#! /bin/sh" >conf$$.sh
22649 echo "exit 0" >>conf$$.sh
22650 chmod +x conf$$.sh
22651 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22652 PATH_SEPARATOR=';'
22653 else
22654 PATH_SEPARATOR=:
22656 rm -f conf$$.sh
22659 # Support unset when possible.
22660 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22661 as_unset=unset
22662 else
22663 as_unset=false
22667 # IFS
22668 # We need space, tab and new line, in precisely that order. Quoting is
22669 # there to prevent editors from complaining about space-tab.
22670 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22671 # splitting by setting IFS to empty value.)
22672 as_nl='
22674 IFS=" "" $as_nl"
22676 # Find who we are. Look in the path if we contain no directory separator.
22677 case $0 in
22678 *[\\/]* ) as_myself=$0 ;;
22679 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22680 for as_dir in $PATH
22682 IFS=$as_save_IFS
22683 test -z "$as_dir" && as_dir=.
22684 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22685 done
22686 IFS=$as_save_IFS
22689 esac
22690 # We did not find ourselves, most probably we were run as `sh COMMAND'
22691 # in which case we are not to be found in the path.
22692 if test "x$as_myself" = x; then
22693 as_myself=$0
22695 if test ! -f "$as_myself"; then
22696 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22697 { (exit 1); exit 1; }
22700 # Work around bugs in pre-3.0 UWIN ksh.
22701 for as_var in ENV MAIL MAILPATH
22702 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22703 done
22704 PS1='$ '
22705 PS2='> '
22706 PS4='+ '
22708 # NLS nuisances.
22709 for as_var in \
22710 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22711 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22712 LC_TELEPHONE LC_TIME
22714 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22715 eval $as_var=C; export $as_var
22716 else
22717 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22719 done
22721 # Required to use basename.
22722 if expr a : '\(a\)' >/dev/null 2>&1 &&
22723 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22724 as_expr=expr
22725 else
22726 as_expr=false
22729 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22730 as_basename=basename
22731 else
22732 as_basename=false
22736 # Name of the executable.
22737 as_me=`$as_basename -- "$0" ||
22738 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22739 X"$0" : 'X\(//\)$' \| \
22740 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22741 echo X/"$0" |
22742 sed '/^.*\/\([^/][^/]*\)\/*$/{
22743 s//\1/
22746 /^X\/\(\/\/\)$/{
22747 s//\1/
22750 /^X\/\(\/\).*/{
22751 s//\1/
22754 s/.*/./; q'`
22756 # CDPATH.
22757 $as_unset CDPATH
22761 as_lineno_1=$LINENO
22762 as_lineno_2=$LINENO
22763 test "x$as_lineno_1" != "x$as_lineno_2" &&
22764 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22766 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22767 # uniformly replaced by the line number. The first 'sed' inserts a
22768 # line-number line after each line using $LINENO; the second 'sed'
22769 # does the real work. The second script uses 'N' to pair each
22770 # line-number line with the line containing $LINENO, and appends
22771 # trailing '-' during substitution so that $LINENO is not a special
22772 # case at line end.
22773 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22774 # scripts with optimization help from Paolo Bonzini. Blame Lee
22775 # E. McMahon (1931-1989) for sed's syntax. :-)
22776 sed -n '
22778 /[$]LINENO/=
22779 ' <$as_myself |
22780 sed '
22781 s/[$]LINENO.*/&-/
22782 t lineno
22784 :lineno
22786 :loop
22787 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22788 t loop
22789 s/-\n.*//
22790 ' >$as_me.lineno &&
22791 chmod +x "$as_me.lineno" ||
22792 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22793 { (exit 1); exit 1; }; }
22795 # Don't try to exec as it changes $[0], causing all sort of problems
22796 # (the dirname of $[0] is not the place where we might find the
22797 # original and so on. Autoconf is especially sensitive to this).
22798 . "./$as_me.lineno"
22799 # Exit status is that of the last command.
22800 exit
22804 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22805 as_dirname=dirname
22806 else
22807 as_dirname=false
22810 ECHO_C= ECHO_N= ECHO_T=
22811 case `echo -n x` in
22812 -n*)
22813 case `echo 'x\c'` in
22814 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22815 *) ECHO_C='\c';;
22816 esac;;
22818 ECHO_N='-n';;
22819 esac
22821 if expr a : '\(a\)' >/dev/null 2>&1 &&
22822 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22823 as_expr=expr
22824 else
22825 as_expr=false
22828 rm -f conf$$ conf$$.exe conf$$.file
22829 if test -d conf$$.dir; then
22830 rm -f conf$$.dir/conf$$.file
22831 else
22832 rm -f conf$$.dir
22833 mkdir conf$$.dir
22835 echo >conf$$.file
22836 if ln -s conf$$.file conf$$ 2>/dev/null; then
22837 as_ln_s='ln -s'
22838 # ... but there are two gotchas:
22839 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22840 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22841 # In both cases, we have to default to `cp -p'.
22842 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22843 as_ln_s='cp -p'
22844 elif ln conf$$.file conf$$ 2>/dev/null; then
22845 as_ln_s=ln
22846 else
22847 as_ln_s='cp -p'
22849 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22850 rmdir conf$$.dir 2>/dev/null
22852 if mkdir -p . 2>/dev/null; then
22853 as_mkdir_p=:
22854 else
22855 test -d ./-p && rmdir ./-p
22856 as_mkdir_p=false
22859 if test -x / >/dev/null 2>&1; then
22860 as_test_x='test -x'
22861 else
22862 if ls -dL / >/dev/null 2>&1; then
22863 as_ls_L_option=L
22864 else
22865 as_ls_L_option=
22867 as_test_x='
22868 eval sh -c '\''
22869 if test -d "$1"; then
22870 test -d "$1/.";
22871 else
22872 case $1 in
22873 -*)set "./$1";;
22874 esac;
22875 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22876 ???[sx]*):;;*)false;;esac;fi
22877 '\'' sh
22880 as_executable_p=$as_test_x
22882 # Sed expression to map a string onto a valid CPP name.
22883 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22885 # Sed expression to map a string onto a valid variable name.
22886 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22889 exec 6>&1
22891 # Save the log message, to keep $[0] and so on meaningful, and to
22892 # report actual input values of CONFIG_FILES etc. instead of their
22893 # values after options handling.
22894 ac_log="
22895 This file was extended by Wine $as_me 1.0, which was
22896 generated by GNU Autoconf 2.61. Invocation command line was
22898 CONFIG_FILES = $CONFIG_FILES
22899 CONFIG_HEADERS = $CONFIG_HEADERS
22900 CONFIG_LINKS = $CONFIG_LINKS
22901 CONFIG_COMMANDS = $CONFIG_COMMANDS
22902 $ $0 $@
22904 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22907 _ACEOF
22909 cat >>$CONFIG_STATUS <<_ACEOF
22910 # Files that config.status was made for.
22911 config_files="$ac_config_files"
22912 config_headers="$ac_config_headers"
22913 config_commands="$ac_config_commands"
22915 _ACEOF
22917 cat >>$CONFIG_STATUS <<\_ACEOF
22918 ac_cs_usage="\
22919 \`$as_me' instantiates files from templates according to the
22920 current configuration.
22922 Usage: $0 [OPTIONS] [FILE]...
22924 -h, --help print this help, then exit
22925 -V, --version print version number and configuration settings, then exit
22926 -q, --quiet do not print progress messages
22927 -d, --debug don't remove temporary files
22928 --recheck update $as_me by reconfiguring in the same conditions
22929 --file=FILE[:TEMPLATE]
22930 instantiate the configuration file FILE
22931 --header=FILE[:TEMPLATE]
22932 instantiate the configuration header FILE
22934 Configuration files:
22935 $config_files
22937 Configuration headers:
22938 $config_headers
22940 Configuration commands:
22941 $config_commands
22943 Report bugs to <bug-autoconf@gnu.org>."
22945 _ACEOF
22946 cat >>$CONFIG_STATUS <<_ACEOF
22947 ac_cs_version="\\
22948 Wine config.status 1.0
22949 configured by $0, generated by GNU Autoconf 2.61,
22950 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22952 Copyright (C) 2006 Free Software Foundation, Inc.
22953 This config.status script is free software; the Free Software Foundation
22954 gives unlimited permission to copy, distribute and modify it."
22956 ac_pwd='$ac_pwd'
22957 srcdir='$srcdir'
22958 INSTALL='$INSTALL'
22959 _ACEOF
22961 cat >>$CONFIG_STATUS <<\_ACEOF
22962 # If no file are specified by the user, then we need to provide default
22963 # value. By we need to know if files were specified by the user.
22964 ac_need_defaults=:
22965 while test $# != 0
22967 case $1 in
22968 --*=*)
22969 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22970 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22971 ac_shift=:
22974 ac_option=$1
22975 ac_optarg=$2
22976 ac_shift=shift
22978 esac
22980 case $ac_option in
22981 # Handling of the options.
22982 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22983 ac_cs_recheck=: ;;
22984 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22985 echo "$ac_cs_version"; exit ;;
22986 --debug | --debu | --deb | --de | --d | -d )
22987 debug=: ;;
22988 --file | --fil | --fi | --f )
22989 $ac_shift
22990 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22991 ac_need_defaults=false;;
22992 --header | --heade | --head | --hea )
22993 $ac_shift
22994 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22995 ac_need_defaults=false;;
22996 --he | --h)
22997 # Conflict between --help and --header
22998 { echo "$as_me: error: ambiguous option: $1
22999 Try \`$0 --help' for more information." >&2
23000 { (exit 1); exit 1; }; };;
23001 --help | --hel | -h )
23002 echo "$ac_cs_usage"; exit ;;
23003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23004 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23005 ac_cs_silent=: ;;
23007 # This is an error.
23008 -*) { echo "$as_me: error: unrecognized option: $1
23009 Try \`$0 --help' for more information." >&2
23010 { (exit 1); exit 1; }; } ;;
23012 *) ac_config_targets="$ac_config_targets $1"
23013 ac_need_defaults=false ;;
23015 esac
23016 shift
23017 done
23019 ac_configure_extra_args=
23021 if $ac_cs_silent; then
23022 exec 6>/dev/null
23023 ac_configure_extra_args="$ac_configure_extra_args --silent"
23026 _ACEOF
23027 cat >>$CONFIG_STATUS <<_ACEOF
23028 if \$ac_cs_recheck; then
23029 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23030 CONFIG_SHELL=$SHELL
23031 export CONFIG_SHELL
23032 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23035 _ACEOF
23036 cat >>$CONFIG_STATUS <<\_ACEOF
23037 exec 5>>config.log
23039 echo
23040 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23041 ## Running $as_me. ##
23042 _ASBOX
23043 echo "$ac_log"
23044 } >&5
23046 _ACEOF
23047 cat >>$CONFIG_STATUS <<_ACEOF
23048 _ACEOF
23050 cat >>$CONFIG_STATUS <<\_ACEOF
23052 # Handling of arguments.
23053 for ac_config_target in $ac_config_targets
23055 case $ac_config_target in
23056 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23057 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23058 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
23059 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
23060 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
23061 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
23062 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
23063 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
23064 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
23065 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
23066 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
23067 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
23068 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
23069 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23070 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
23071 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
23072 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
23073 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
23074 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
23075 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
23076 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
23077 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
23078 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
23079 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
23080 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
23081 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
23082 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
23083 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
23084 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
23085 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
23086 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
23087 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23088 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
23089 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23090 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23091 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
23092 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23093 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23094 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23095 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23096 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23097 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
23098 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
23099 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23100 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23101 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23102 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23103 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23104 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23105 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23106 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23107 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23108 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23109 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23110 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23111 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23112 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23113 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23114 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23115 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23116 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23117 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23118 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23119 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23120 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23121 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23122 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23123 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23124 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23125 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23126 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23127 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23128 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23129 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23130 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23131 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23132 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23133 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23134 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23135 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23136 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23137 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23138 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23139 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23140 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23141 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23142 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23143 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23144 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23145 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23146 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23147 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23148 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23149 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23150 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23151 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23152 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23153 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23154 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23155 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23156 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23157 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23158 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23159 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23160 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23161 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23162 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23163 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23164 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23165 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23166 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23167 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23168 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23169 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23170 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23171 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23172 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23173 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23174 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23175 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23176 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23177 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23178 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23179 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23180 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23181 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23182 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23183 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23184 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23185 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23186 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23187 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23188 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23189 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23190 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23191 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23192 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23193 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23194 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23195 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23196 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23197 "dlls/inetmib1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23198 "dlls/inetmib1/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23199 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23200 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23201 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23202 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23203 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23204 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23205 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23206 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23207 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23208 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23209 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23210 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23211 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23212 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23213 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23214 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23215 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23216 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23217 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23218 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23219 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23220 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23221 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23222 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23223 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23224 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23225 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23226 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23227 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23228 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23229 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23230 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23231 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23232 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23233 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23234 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23235 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23236 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23237 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23238 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23239 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23240 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23241 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23242 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23243 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23244 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23245 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23246 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23247 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23248 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23249 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23250 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23251 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23252 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23253 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23254 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23255 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23256 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23257 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23258 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23259 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23260 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23261 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23262 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23263 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23264 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23265 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23266 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23267 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23268 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23269 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23270 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23271 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23272 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23273 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23274 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23275 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23276 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23277 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23278 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23279 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23280 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23281 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23282 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23283 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23284 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23285 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23286 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23287 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23288 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23289 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23290 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23291 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23292 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23293 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23294 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23295 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23296 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23297 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23298 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23299 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23300 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23301 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23302 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23303 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23304 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23305 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23306 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23307 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23308 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23309 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23310 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23311 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23312 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23313 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23314 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23315 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23316 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23317 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23318 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23319 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23320 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23321 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23322 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23323 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23324 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23325 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23326 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23327 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23328 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23329 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23330 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23331 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23332 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23333 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23334 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23335 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23336 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23337 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23338 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23339 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23340 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23341 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23342 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23343 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23344 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23345 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23346 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23347 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23348 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23349 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23350 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23351 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23352 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23353 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23354 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23355 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23356 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23357 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23358 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23359 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23360 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23361 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23362 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23363 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23364 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23365 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23366 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23367 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23368 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23369 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23370 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23371 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23372 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23373 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23374 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23375 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23376 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23377 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23378 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23379 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23380 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23381 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23382 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23383 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23384 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23385 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23386 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23387 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23388 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23389 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23390 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23391 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23392 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23393 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23394 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23395 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23396 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23397 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23398 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23399 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23400 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23401 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23402 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23403 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23404 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23405 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23406 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23407 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23408 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23409 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23410 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23411 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23412 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23413 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23414 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23415 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23416 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23417 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23418 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23419 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23420 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23421 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23422 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23423 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23424 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23425 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23426 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23427 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23428 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23429 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23430 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23431 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23432 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23433 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23434 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23435 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23436 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23437 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23438 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23439 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23440 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23441 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23442 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23443 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23444 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23445 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23446 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23447 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23448 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23449 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23450 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23451 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23452 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23453 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23454 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23455 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23456 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23457 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23458 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23459 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23460 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23461 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23462 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23463 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23464 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23465 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23466 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23467 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23468 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23469 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23470 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23471 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23472 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23473 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23474 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23475 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23476 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23477 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23478 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23479 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23480 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23482 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23483 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23484 { (exit 1); exit 1; }; };;
23485 esac
23486 done
23489 # If the user did not use the arguments to specify the items to instantiate,
23490 # then the envvar interface is used. Set only those that are not.
23491 # We use the long form for the default assignment because of an extremely
23492 # bizarre bug on SunOS 4.1.3.
23493 if $ac_need_defaults; then
23494 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23495 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23496 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23499 # Have a temporary directory for convenience. Make it in the build tree
23500 # simply because there is no reason against having it here, and in addition,
23501 # creating and moving files from /tmp can sometimes cause problems.
23502 # Hook for its removal unless debugging.
23503 # Note that there is a small window in which the directory will not be cleaned:
23504 # after its creation but before its name has been assigned to `$tmp'.
23505 $debug ||
23507 tmp=
23508 trap 'exit_status=$?
23509 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23511 trap '{ (exit 1); exit 1; }' 1 2 13 15
23513 # Create a (secure) tmp directory for tmp files.
23516 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23517 test -n "$tmp" && test -d "$tmp"
23518 } ||
23520 tmp=./conf$$-$RANDOM
23521 (umask 077 && mkdir "$tmp")
23522 } ||
23524 echo "$me: cannot create a temporary directory in ." >&2
23525 { (exit 1); exit 1; }
23529 # Set up the sed scripts for CONFIG_FILES section.
23532 # No need to generate the scripts if there are no CONFIG_FILES.
23533 # This happens for instance when ./config.status config.h
23534 if test -n "$CONFIG_FILES"; then
23536 _ACEOF
23538 # Create sed commands to just substitute file output variables.
23540 # Remaining file output variables are in a fragment that also has non-file
23541 # output varibles.
23545 ac_delim='%!_!# '
23546 for ac_last_try in false false false false false :; do
23547 cat >conf$$subs.sed <<_ACEOF
23548 SHELL!$SHELL$ac_delim
23549 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23550 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23551 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23552 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23553 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23554 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23555 exec_prefix!$exec_prefix$ac_delim
23556 prefix!$prefix$ac_delim
23557 program_transform_name!$program_transform_name$ac_delim
23558 bindir!$bindir$ac_delim
23559 sbindir!$sbindir$ac_delim
23560 libexecdir!$libexecdir$ac_delim
23561 datarootdir!$datarootdir$ac_delim
23562 datadir!$datadir$ac_delim
23563 sysconfdir!$sysconfdir$ac_delim
23564 sharedstatedir!$sharedstatedir$ac_delim
23565 localstatedir!$localstatedir$ac_delim
23566 includedir!$includedir$ac_delim
23567 oldincludedir!$oldincludedir$ac_delim
23568 docdir!$docdir$ac_delim
23569 infodir!$infodir$ac_delim
23570 htmldir!$htmldir$ac_delim
23571 dvidir!$dvidir$ac_delim
23572 pdfdir!$pdfdir$ac_delim
23573 psdir!$psdir$ac_delim
23574 libdir!$libdir$ac_delim
23575 localedir!$localedir$ac_delim
23576 mandir!$mandir$ac_delim
23577 DEFS!$DEFS$ac_delim
23578 ECHO_C!$ECHO_C$ac_delim
23579 ECHO_N!$ECHO_N$ac_delim
23580 ECHO_T!$ECHO_T$ac_delim
23581 LIBS!$LIBS$ac_delim
23582 build_alias!$build_alias$ac_delim
23583 host_alias!$host_alias$ac_delim
23584 target_alias!$target_alias$ac_delim
23585 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23586 build!$build$ac_delim
23587 build_cpu!$build_cpu$ac_delim
23588 build_vendor!$build_vendor$ac_delim
23589 build_os!$build_os$ac_delim
23590 host!$host$ac_delim
23591 host_cpu!$host_cpu$ac_delim
23592 host_vendor!$host_vendor$ac_delim
23593 host_os!$host_os$ac_delim
23594 WIN16_FILES!$WIN16_FILES$ac_delim
23595 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23596 SET_MAKE!$SET_MAKE$ac_delim
23597 CC!$CC$ac_delim
23598 CFLAGS!$CFLAGS$ac_delim
23599 LDFLAGS!$LDFLAGS$ac_delim
23600 CPPFLAGS!$CPPFLAGS$ac_delim
23601 ac_ct_CC!$ac_ct_CC$ac_delim
23602 EXEEXT!$EXEEXT$ac_delim
23603 OBJEXT!$OBJEXT$ac_delim
23604 CXX!$CXX$ac_delim
23605 CXXFLAGS!$CXXFLAGS$ac_delim
23606 ac_ct_CXX!$ac_ct_CXX$ac_delim
23607 CPPBIN!$CPPBIN$ac_delim
23608 TOOLSDIR!$TOOLSDIR$ac_delim
23609 XMKMF!$XMKMF$ac_delim
23610 CPP!$CPP$ac_delim
23611 X_CFLAGS!$X_CFLAGS$ac_delim
23612 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23613 X_LIBS!$X_LIBS$ac_delim
23614 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23615 FLEX!$FLEX$ac_delim
23616 BISON!$BISON$ac_delim
23617 AS!$AS$ac_delim
23618 ac_ct_AS!$ac_ct_AS$ac_delim
23619 LD!$LD$ac_delim
23620 ac_ct_LD!$ac_ct_LD$ac_delim
23621 NM!$NM$ac_delim
23622 ac_ct_NM!$ac_ct_NM$ac_delim
23623 AR!$AR$ac_delim
23624 ac_ct_AR!$ac_ct_AR$ac_delim
23625 ARFLAGS!$ARFLAGS$ac_delim
23626 RANLIB!$RANLIB$ac_delim
23627 STRIP!$STRIP$ac_delim
23628 WINDRES!$WINDRES$ac_delim
23629 LN_S!$LN_S$ac_delim
23630 _ACEOF
23632 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23633 break
23634 elif $ac_last_try; then
23635 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23636 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23637 { (exit 1); exit 1; }; }
23638 else
23639 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23641 done
23643 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23644 if test -n "$ac_eof"; then
23645 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23646 ac_eof=`expr $ac_eof + 1`
23649 cat >>$CONFIG_STATUS <<_ACEOF
23650 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23651 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23652 /^[ ]*@MAKE_RULES@[ ]*$/{
23653 r $MAKE_RULES
23656 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23657 r $MAKE_DLL_RULES
23660 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23661 r $MAKE_IMPLIB_RULES
23664 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23665 r $MAKE_TEST_RULES
23668 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23669 r $MAKE_PROG_RULES
23672 _ACEOF
23673 sed '
23674 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23675 s/^/s,@/; s/!/@,|#_!!_#|/
23678 s/'"$ac_delim"'$/,g/; t
23679 s/$/\\/; p
23680 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23681 ' >>$CONFIG_STATUS <conf$$subs.sed
23682 rm -f conf$$subs.sed
23683 cat >>$CONFIG_STATUS <<_ACEOF
23684 CEOF$ac_eof
23685 _ACEOF
23688 ac_delim='%!_!# '
23689 for ac_last_try in false false false false false :; do
23690 cat >conf$$subs.sed <<_ACEOF
23691 LN!$LN$ac_delim
23692 GREP!$GREP$ac_delim
23693 EGREP!$EGREP$ac_delim
23694 LDCONFIG!$LDCONFIG$ac_delim
23695 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23696 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23697 INSTALL_DATA!$INSTALL_DATA$ac_delim
23698 LINT!$LINT$ac_delim
23699 LINTFLAGS!$LINTFLAGS$ac_delim
23700 FONTFORGE!$FONTFORGE$ac_delim
23701 PKG_CONFIG!$PKG_CONFIG$ac_delim
23702 RSVG!$RSVG$ac_delim
23703 ICOTOOL!$ICOTOOL$ac_delim
23704 PRELINK!$PRELINK$ac_delim
23705 LIBPTHREAD!$LIBPTHREAD$ac_delim
23706 XLIB!$XLIB$ac_delim
23707 XFILES!$XFILES$ac_delim
23708 OPENGLFILES!$OPENGLFILES$ac_delim
23709 GLU32FILES!$GLU32FILES$ac_delim
23710 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23711 QUARTZFILES!$QUARTZFILES$ac_delim
23712 DLLEXT!$DLLEXT$ac_delim
23713 DLLFLAGS!$DLLFLAGS$ac_delim
23714 LDSHARED!$LDSHARED$ac_delim
23715 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23716 LIBEXT!$LIBEXT$ac_delim
23717 IMPLIBEXT!$IMPLIBEXT$ac_delim
23718 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23719 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23720 LDD!$LDD$ac_delim
23721 DLLTOOL!$DLLTOOL$ac_delim
23722 DLLWRAP!$DLLWRAP$ac_delim
23723 MINGWAR!$MINGWAR$ac_delim
23724 SECURITYLIB!$SECURITYLIB$ac_delim
23725 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23726 IOKITLIB!$IOKITLIB$ac_delim
23727 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23728 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23729 COREAUDIO!$COREAUDIO$ac_delim
23730 CARBONLIB!$CARBONLIB$ac_delim
23731 CROSSTEST!$CROSSTEST$ac_delim
23732 CROSSCC!$CROSSCC$ac_delim
23733 CROSSWINDRES!$CROSSWINDRES$ac_delim
23734 NASLIBS!$NASLIBS$ac_delim
23735 XML2LIBS!$XML2LIBS$ac_delim
23736 XML2INCL!$XML2INCL$ac_delim
23737 XSLTLIBS!$XSLTLIBS$ac_delim
23738 XSLTINCL!$XSLTINCL$ac_delim
23739 HALINCL!$HALINCL$ac_delim
23740 sane_devel!$sane_devel$ac_delim
23741 SANEINCL!$SANEINCL$ac_delim
23742 gphoto2_devel!$gphoto2_devel$ac_delim
23743 gphoto2port_devel!$gphoto2port_devel$ac_delim
23744 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23745 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23746 RESOLVLIBS!$RESOLVLIBS$ac_delim
23747 LCMSLIBS!$LCMSLIBS$ac_delim
23748 LDAPLIBS!$LDAPLIBS$ac_delim
23749 ft_devel!$ft_devel$ac_delim
23750 FREETYPELIBS!$FREETYPELIBS$ac_delim
23751 FREETYPEINCL!$FREETYPEINCL$ac_delim
23752 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23753 ESDCONFIG!$ESDCONFIG$ac_delim
23754 ESDLIBS!$ESDLIBS$ac_delim
23755 ESDINCL!$ESDINCL$ac_delim
23756 ALSALIBS!$ALSALIBS$ac_delim
23757 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23758 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23759 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23760 BUILTINFLAG!$BUILTINFLAG$ac_delim
23761 LDPATH!$LDPATH$ac_delim
23762 CRTLIBS!$CRTLIBS$ac_delim
23763 SOCKETLIBS!$SOCKETLIBS$ac_delim
23764 MAIN_BINARY!$MAIN_BINARY$ac_delim
23765 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23766 LIBDL!$LIBDL$ac_delim
23767 LIBPOLL!$LIBPOLL$ac_delim
23768 DEPENDENCIES!$DEPENDENCIES$ac_delim
23769 LIBOBJS!$LIBOBJS$ac_delim
23770 LTLIBOBJS!$LTLIBOBJS$ac_delim
23771 _ACEOF
23773 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then
23774 break
23775 elif $ac_last_try; then
23776 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23777 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23778 { (exit 1); exit 1; }; }
23779 else
23780 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23782 done
23784 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23785 if test -n "$ac_eof"; then
23786 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23787 ac_eof=`expr $ac_eof + 1`
23790 cat >>$CONFIG_STATUS <<_ACEOF
23791 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23792 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23793 _ACEOF
23794 sed '
23795 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23796 s/^/s,@/; s/!/@,|#_!!_#|/
23799 s/'"$ac_delim"'$/,g/; t
23800 s/$/\\/; p
23801 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23802 ' >>$CONFIG_STATUS <conf$$subs.sed
23803 rm -f conf$$subs.sed
23804 cat >>$CONFIG_STATUS <<_ACEOF
23805 :end
23806 s/|#_!!_#|//g
23807 CEOF$ac_eof
23808 _ACEOF
23811 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23812 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23813 # trailing colons and then remove the whole line if VPATH becomes empty
23814 # (actually we leave an empty line to preserve line numbers).
23815 if test "x$srcdir" = x.; then
23816 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23817 s/:*\$(srcdir):*/:/
23818 s/:*\${srcdir}:*/:/
23819 s/:*@srcdir@:*/:/
23820 s/^\([^=]*=[ ]*\):*/\1/
23821 s/:*$//
23822 s/^[^=]*=[ ]*$//
23826 cat >>$CONFIG_STATUS <<\_ACEOF
23827 fi # test -n "$CONFIG_FILES"
23830 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23832 case $ac_tag in
23833 :[FHLC]) ac_mode=$ac_tag; continue;;
23834 esac
23835 case $ac_mode$ac_tag in
23836 :[FHL]*:*);;
23837 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23838 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23839 { (exit 1); exit 1; }; };;
23840 :[FH]-) ac_tag=-:-;;
23841 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23842 esac
23843 ac_save_IFS=$IFS
23844 IFS=:
23845 set x $ac_tag
23846 IFS=$ac_save_IFS
23847 shift
23848 ac_file=$1
23849 shift
23851 case $ac_mode in
23852 :L) ac_source=$1;;
23853 :[FH])
23854 ac_file_inputs=
23855 for ac_f
23857 case $ac_f in
23858 -) ac_f="$tmp/stdin";;
23859 *) # Look for the file first in the build tree, then in the source tree
23860 # (if the path is not absolute). The absolute path cannot be DOS-style,
23861 # because $ac_f cannot contain `:'.
23862 test -f "$ac_f" ||
23863 case $ac_f in
23864 [\\/$]*) false;;
23865 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23866 esac ||
23867 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23868 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23869 { (exit 1); exit 1; }; };;
23870 esac
23871 ac_file_inputs="$ac_file_inputs $ac_f"
23872 done
23874 # Let's still pretend it is `configure' which instantiates (i.e., don't
23875 # use $as_me), people would be surprised to read:
23876 # /* config.h. Generated by config.status. */
23877 configure_input="Generated from "`IFS=:
23878 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23879 if test x"$ac_file" != x-; then
23880 configure_input="$ac_file. $configure_input"
23881 { echo "$as_me:$LINENO: creating $ac_file" >&5
23882 echo "$as_me: creating $ac_file" >&6;}
23885 case $ac_tag in
23886 *:-:* | *:-) cat >"$tmp/stdin";;
23887 esac
23889 esac
23891 ac_dir=`$as_dirname -- "$ac_file" ||
23892 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23893 X"$ac_file" : 'X\(//\)[^/]' \| \
23894 X"$ac_file" : 'X\(//\)$' \| \
23895 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23896 echo X"$ac_file" |
23897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23898 s//\1/
23901 /^X\(\/\/\)[^/].*/{
23902 s//\1/
23905 /^X\(\/\/\)$/{
23906 s//\1/
23909 /^X\(\/\).*/{
23910 s//\1/
23913 s/.*/./; q'`
23914 { as_dir="$ac_dir"
23915 case $as_dir in #(
23916 -*) as_dir=./$as_dir;;
23917 esac
23918 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23919 as_dirs=
23920 while :; do
23921 case $as_dir in #(
23922 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23923 *) as_qdir=$as_dir;;
23924 esac
23925 as_dirs="'$as_qdir' $as_dirs"
23926 as_dir=`$as_dirname -- "$as_dir" ||
23927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23928 X"$as_dir" : 'X\(//\)[^/]' \| \
23929 X"$as_dir" : 'X\(//\)$' \| \
23930 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23931 echo X"$as_dir" |
23932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23933 s//\1/
23936 /^X\(\/\/\)[^/].*/{
23937 s//\1/
23940 /^X\(\/\/\)$/{
23941 s//\1/
23944 /^X\(\/\).*/{
23945 s//\1/
23948 s/.*/./; q'`
23949 test -d "$as_dir" && break
23950 done
23951 test -z "$as_dirs" || eval "mkdir $as_dirs"
23952 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23953 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23954 { (exit 1); exit 1; }; }; }
23955 ac_builddir=.
23957 case "$ac_dir" in
23958 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23960 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23961 # A ".." for each directory in $ac_dir_suffix.
23962 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23963 case $ac_top_builddir_sub in
23964 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23965 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23966 esac ;;
23967 esac
23968 ac_abs_top_builddir=$ac_pwd
23969 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23970 # for backward compatibility:
23971 ac_top_builddir=$ac_top_build_prefix
23973 case $srcdir in
23974 .) # We are building in place.
23975 ac_srcdir=.
23976 ac_top_srcdir=$ac_top_builddir_sub
23977 ac_abs_top_srcdir=$ac_pwd ;;
23978 [\\/]* | ?:[\\/]* ) # Absolute name.
23979 ac_srcdir=$srcdir$ac_dir_suffix;
23980 ac_top_srcdir=$srcdir
23981 ac_abs_top_srcdir=$srcdir ;;
23982 *) # Relative name.
23983 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23984 ac_top_srcdir=$ac_top_build_prefix$srcdir
23985 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23986 esac
23987 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23990 case $ac_mode in
23993 # CONFIG_FILE
23996 case $INSTALL in
23997 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23998 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23999 esac
24000 _ACEOF
24002 cat >>$CONFIG_STATUS <<\_ACEOF
24003 # If the template does not know about datarootdir, expand it.
24004 # FIXME: This hack should be removed a few years after 2.60.
24005 ac_datarootdir_hack=; ac_datarootdir_seen=
24007 case `sed -n '/datarootdir/ {
24011 /@datadir@/p
24012 /@docdir@/p
24013 /@infodir@/p
24014 /@localedir@/p
24015 /@mandir@/p
24016 ' $ac_file_inputs` in
24017 *datarootdir*) ac_datarootdir_seen=yes;;
24018 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24019 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24020 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24021 _ACEOF
24022 cat >>$CONFIG_STATUS <<_ACEOF
24023 ac_datarootdir_hack='
24024 s&@datadir@&$datadir&g
24025 s&@docdir@&$docdir&g
24026 s&@infodir@&$infodir&g
24027 s&@localedir@&$localedir&g
24028 s&@mandir@&$mandir&g
24029 s&\\\${datarootdir}&$datarootdir&g' ;;
24030 esac
24031 _ACEOF
24033 # Neutralize VPATH when `$srcdir' = `.'.
24034 # Shell code in configure.ac might set extrasub.
24035 # FIXME: do we really want to maintain this feature?
24036 cat >>$CONFIG_STATUS <<_ACEOF
24037 sed "$ac_vpsub
24038 $extrasub
24039 _ACEOF
24040 cat >>$CONFIG_STATUS <<\_ACEOF
24042 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24043 s&@configure_input@&$configure_input&;t t
24044 s&@top_builddir@&$ac_top_builddir_sub&;t t
24045 s&@srcdir@&$ac_srcdir&;t t
24046 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24047 s&@top_srcdir@&$ac_top_srcdir&;t t
24048 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24049 s&@builddir@&$ac_builddir&;t t
24050 s&@abs_builddir@&$ac_abs_builddir&;t t
24051 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24052 s&@INSTALL@&$ac_INSTALL&;t t
24053 $ac_datarootdir_hack
24054 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24056 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24057 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24058 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24059 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24060 which seems to be undefined. Please make sure it is defined." >&5
24061 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24062 which seems to be undefined. Please make sure it is defined." >&2;}
24064 rm -f "$tmp/stdin"
24065 case $ac_file in
24066 -) cat "$tmp/out"; rm -f "$tmp/out";;
24067 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24068 esac
24072 # CONFIG_HEADER
24074 _ACEOF
24076 # Transform confdefs.h into a sed script `conftest.defines', that
24077 # substitutes the proper values into config.h.in to produce config.h.
24078 rm -f conftest.defines conftest.tail
24079 # First, append a space to every undef/define line, to ease matching.
24080 echo 's/$/ /' >conftest.defines
24081 # Then, protect against being on the right side of a sed subst, or in
24082 # an unquoted here document, in config.status. If some macros were
24083 # called several times there might be several #defines for the same
24084 # symbol, which is useless. But do not sort them, since the last
24085 # AC_DEFINE must be honored.
24086 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24087 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24088 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24089 # PARAMS is the parameter list in the macro definition--in most cases, it's
24090 # just an empty string.
24091 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24092 ac_dB='\\)[ (].*,\\1define\\2'
24093 ac_dC=' '
24094 ac_dD=' ,'
24096 uniq confdefs.h |
24097 sed -n '
24098 t rset
24099 :rset
24100 s/^[ ]*#[ ]*define[ ][ ]*//
24101 t ok
24104 s/[\\&,]/\\&/g
24105 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24106 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24107 ' >>conftest.defines
24109 # Remove the space that was appended to ease matching.
24110 # Then replace #undef with comments. This is necessary, for
24111 # example, in the case of _POSIX_SOURCE, which is predefined and required
24112 # on some systems where configure will not decide to define it.
24113 # (The regexp can be short, since the line contains either #define or #undef.)
24114 echo 's/ $//
24115 s,^[ #]*u.*,/* & */,' >>conftest.defines
24117 # Break up conftest.defines:
24118 ac_max_sed_lines=50
24120 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24121 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24122 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24123 # et cetera.
24124 ac_in='$ac_file_inputs'
24125 ac_out='"$tmp/out1"'
24126 ac_nxt='"$tmp/out2"'
24128 while :
24130 # Write a here document:
24131 cat >>$CONFIG_STATUS <<_ACEOF
24132 # First, check the format of the line:
24133 cat >"\$tmp/defines.sed" <<\\CEOF
24134 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24135 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24137 :def
24138 _ACEOF
24139 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24140 echo 'CEOF
24141 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24142 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24143 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24144 grep . conftest.tail >/dev/null || break
24145 rm -f conftest.defines
24146 mv conftest.tail conftest.defines
24147 done
24148 rm -f conftest.defines conftest.tail
24150 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24151 cat >>$CONFIG_STATUS <<\_ACEOF
24152 if test x"$ac_file" != x-; then
24153 echo "/* $configure_input */" >"$tmp/config.h"
24154 cat "$ac_result" >>"$tmp/config.h"
24155 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24156 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24157 echo "$as_me: $ac_file is unchanged" >&6;}
24158 else
24159 rm -f $ac_file
24160 mv "$tmp/config.h" $ac_file
24162 else
24163 echo "/* $configure_input */"
24164 cat "$ac_result"
24166 rm -f "$tmp/out12"
24169 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24170 echo "$as_me: executing $ac_file commands" >&6;}
24172 esac
24175 case $ac_file$ac_mode in
24176 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24177 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24178 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24179 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24180 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24181 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24182 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24183 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24184 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24185 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24186 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24187 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24188 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24190 esac
24191 done # for ac_tag
24194 { (exit 0); exit 0; }
24195 _ACEOF
24196 chmod +x $CONFIG_STATUS
24197 ac_clean_files=$ac_clean_files_save
24200 # configure is writing to config.log, and then calls config.status.
24201 # config.status does its own redirection, appending to config.log.
24202 # Unfortunately, on DOS this fails, as config.log is still kept open
24203 # by configure, so config.status won't be able to write to it; its
24204 # output is simply discarded. So we exec the FD to /dev/null,
24205 # effectively closing config.log, so it can be properly (re)opened and
24206 # appended to by config.status. When coming back to configure, we
24207 # need to make the FD available again.
24208 if test "$no_create" != yes; then
24209 ac_cs_success=:
24210 ac_config_status_args=
24211 test "$silent" = yes &&
24212 ac_config_status_args="$ac_config_status_args --quiet"
24213 exec 5>/dev/null
24214 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24215 exec 5>>config.log
24216 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24217 # would make configure fail if this is the last instruction.
24218 $ac_cs_success || { (exit 1); exit 1; }
24222 if test "$no_create" = "yes"
24223 then
24224 exit 0
24227 ac_save_IFS="$IFS"
24228 IFS="|"
24229 if test "x$wine_notices != "x; then
24230 echo >&6
24231 for msg in $wine_notices; do
24232 if test -n "$msg"; then
24233 { echo "$as_me:$LINENO: $msg" >&5
24234 echo "$as_me: $msg" >&6;}
24236 done
24238 for msg in $wine_warnings; do
24239 if test -n "$msg"; then
24240 echo >&2
24241 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24242 echo "$as_me: WARNING: $msg" >&2;}
24244 done
24245 IFS="$ac_save_IFS"
24247 echo "
24248 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
24249 " >&6