configure: Merge the libXrender existence check with the soname check.
[wine/multimedia.git] / configure
bloba1e264f51192fec4024f065486949d5f55cb835c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.40.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.40'
578 PACKAGE_STRING='Wine 0.9.40'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 SET_MAKE
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
687 ac_ct_AS
690 RANLIB
691 STRIP
692 WINDRES
693 LN_S
695 GREP
696 EGREP
697 LDCONFIG
698 INSTALL_PROGRAM
699 INSTALL_SCRIPT
700 INSTALL_DATA
701 LINT
702 LINTFLAGS
703 FONTFORGE
704 PKG_CONFIG
705 PRELINK
706 LIBPTHREAD
707 XLIB
708 XFILES
709 OPENGLFILES
710 GLU32FILES
711 OPENGL_LIBS
712 QUARTZFILES
713 DLLEXT
714 DLLFLAGS
715 LDSHARED
716 LDDLLFLAGS
717 LIBEXT
718 IMPLIBEXT
719 LDRPATH_INSTALL
720 LDRPATH_LOCAL
722 DLLTOOL
723 DLLWRAP
724 MINGWAR
725 COREFOUNDATIONLIB
726 IOKITLIB
727 LDEXECFLAGS
728 DISKARBITRATIONLIB
729 COREAUDIO
730 CARBONLIB
731 CROSSTEST
732 CROSSCC
733 CROSSWINDRES
734 NASLIBS
735 XML2LIBS
736 XML2INCL
737 XSLTLIBS
738 XSLTINCL
739 HALINCL
740 sane_devel
741 SANEINCL
742 gphoto2_devel
743 gphoto2port_devel
744 GPHOTO2LIBS
745 GPHOTO2INCL
746 ICULIBS
747 RESOLVLIBS
748 LCMSLIBS
749 LDAPLIBS
750 FREETYPELIBS
751 FREETYPEINCL
752 ft_devel
753 ft_devel2
754 FONTSSUBDIRS
755 ESDCONFIG
756 ESDLIBS
757 ESDINCL
758 ALSALIBS
759 AUDIOIOLIBS
760 EXTRACFLAGS
761 BUILTINFLAG
762 LDPATH
763 CRTLIBS
764 SOCKETLIBS
765 MAIN_BINARY
766 EXTRA_BINARIES
767 LIBDL
768 LIBPOLL
769 DEPENDENCIES
770 LIBOBJS
771 LTLIBOBJS'
772 ac_subst_files='MAKE_RULES
773 MAKE_DLL_RULES
774 MAKE_IMPLIB_RULES
775 MAKE_TEST_RULES
776 MAKE_PROG_RULES'
777 ac_precious_vars='build_alias
778 host_alias
779 target_alias
781 CFLAGS
782 LDFLAGS
783 LIBS
784 CPPFLAGS
786 CXXFLAGS
788 XMKMF
789 CPP'
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
797 cache_file=/dev/null
798 exec_prefix=NONE
799 no_create=
800 no_recursion=
801 prefix=NONE
802 program_prefix=NONE
803 program_suffix=NONE
804 program_transform_name=s,x,x,
805 silent=
806 site=
807 srcdir=
808 verbose=
809 x_includes=NONE
810 x_libraries=NONE
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
830 htmldir='${docdir}'
831 dvidir='${docdir}'
832 pdfdir='${docdir}'
833 psdir='${docdir}'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
838 ac_prev=
839 ac_dashdash=
840 for ac_option
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
845 ac_prev=
846 continue
849 case $ac_option in
850 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 *) ac_optarg=yes ;;
852 esac
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
858 ac_dashdash=yes ;;
860 -bindir | --bindir | --bindi | --bind | --bin | --bi)
861 ac_prev=bindir ;;
862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
863 bindir=$ac_optarg ;;
865 -build | --build | --buil | --bui | --bu)
866 ac_prev=build_alias ;;
867 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 build_alias=$ac_optarg ;;
870 -cache-file | --cache-file | --cache-fil | --cache-fi \
871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872 ac_prev=cache_file ;;
873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 cache_file=$ac_optarg ;;
877 --config-cache | -C)
878 cache_file=config.cache ;;
880 -datadir | --datadir | --datadi | --datad)
881 ac_prev=datadir ;;
882 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 datadir=$ac_optarg ;;
885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886 | --dataroo | --dataro | --datar)
887 ac_prev=datarootdir ;;
888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 datarootdir=$ac_optarg ;;
892 -disable-* | --disable-*)
893 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897 { (exit 1); exit 1; }; }
898 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
899 eval enable_$ac_feature=no ;;
901 -docdir | --docdir | --docdi | --doc | --do)
902 ac_prev=docdir ;;
903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
904 docdir=$ac_optarg ;;
906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 ac_prev=dvidir ;;
908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
909 dvidir=$ac_optarg ;;
911 -enable-* | --enable-*)
912 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916 { (exit 1); exit 1; }; }
917 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
918 eval enable_$ac_feature=\$ac_optarg ;;
920 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922 | --exec | --exe | --ex)
923 ac_prev=exec_prefix ;;
924 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926 | --exec=* | --exe=* | --ex=*)
927 exec_prefix=$ac_optarg ;;
929 -gas | --gas | --ga | --g)
930 # Obsolete; use --with-gas.
931 with_gas=yes ;;
933 -help | --help | --hel | --he | -h)
934 ac_init_help=long ;;
935 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936 ac_init_help=recursive ;;
937 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938 ac_init_help=short ;;
940 -host | --host | --hos | --ho)
941 ac_prev=host_alias ;;
942 -host=* | --host=* | --hos=* | --ho=*)
943 host_alias=$ac_optarg ;;
945 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
946 ac_prev=htmldir ;;
947 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
948 | --ht=*)
949 htmldir=$ac_optarg ;;
951 -includedir | --includedir | --includedi | --included | --include \
952 | --includ | --inclu | --incl | --inc)
953 ac_prev=includedir ;;
954 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955 | --includ=* | --inclu=* | --incl=* | --inc=*)
956 includedir=$ac_optarg ;;
958 -infodir | --infodir | --infodi | --infod | --info | --inf)
959 ac_prev=infodir ;;
960 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961 infodir=$ac_optarg ;;
963 -libdir | --libdir | --libdi | --libd)
964 ac_prev=libdir ;;
965 -libdir=* | --libdir=* | --libdi=* | --libd=*)
966 libdir=$ac_optarg ;;
968 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969 | --libexe | --libex | --libe)
970 ac_prev=libexecdir ;;
971 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972 | --libexe=* | --libex=* | --libe=*)
973 libexecdir=$ac_optarg ;;
975 -localedir | --localedir | --localedi | --localed | --locale)
976 ac_prev=localedir ;;
977 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978 localedir=$ac_optarg ;;
980 -localstatedir | --localstatedir | --localstatedi | --localstated \
981 | --localstate | --localstat | --localsta | --localst | --locals)
982 ac_prev=localstatedir ;;
983 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985 localstatedir=$ac_optarg ;;
987 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
988 ac_prev=mandir ;;
989 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
990 mandir=$ac_optarg ;;
992 -nfp | --nfp | --nf)
993 # Obsolete; use --without-fp.
994 with_fp=no ;;
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n)
998 no_create=yes ;;
1000 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1002 no_recursion=yes ;;
1004 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006 | --oldin | --oldi | --old | --ol | --o)
1007 ac_prev=oldincludedir ;;
1008 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011 oldincludedir=$ac_optarg ;;
1013 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1014 ac_prev=prefix ;;
1015 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016 prefix=$ac_optarg ;;
1018 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1019 | --program-pre | --program-pr | --program-p)
1020 ac_prev=program_prefix ;;
1021 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1022 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023 program_prefix=$ac_optarg ;;
1025 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1026 | --program-suf | --program-su | --program-s)
1027 ac_prev=program_suffix ;;
1028 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1029 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030 program_suffix=$ac_optarg ;;
1032 -program-transform-name | --program-transform-name \
1033 | --program-transform-nam | --program-transform-na \
1034 | --program-transform-n | --program-transform- \
1035 | --program-transform | --program-transfor \
1036 | --program-transfo | --program-transf \
1037 | --program-trans | --program-tran \
1038 | --progr-tra | --program-tr | --program-t)
1039 ac_prev=program_transform_name ;;
1040 -program-transform-name=* | --program-transform-name=* \
1041 | --program-transform-nam=* | --program-transform-na=* \
1042 | --program-transform-n=* | --program-transform-=* \
1043 | --program-transform=* | --program-transfor=* \
1044 | --program-transfo=* | --program-transf=* \
1045 | --program-trans=* | --program-tran=* \
1046 | --progr-tra=* | --program-tr=* | --program-t=*)
1047 program_transform_name=$ac_optarg ;;
1049 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1050 ac_prev=pdfdir ;;
1051 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052 pdfdir=$ac_optarg ;;
1054 -psdir | --psdir | --psdi | --psd | --ps)
1055 ac_prev=psdir ;;
1056 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1057 psdir=$ac_optarg ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1061 silent=yes ;;
1063 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064 ac_prev=sbindir ;;
1065 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1066 | --sbi=* | --sb=*)
1067 sbindir=$ac_optarg ;;
1069 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1070 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071 | --sharedst | --shareds | --shared | --share | --shar \
1072 | --sha | --sh)
1073 ac_prev=sharedstatedir ;;
1074 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1077 | --sha=* | --sh=*)
1078 sharedstatedir=$ac_optarg ;;
1080 -site | --site | --sit)
1081 ac_prev=site ;;
1082 -site=* | --site=* | --sit=*)
1083 site=$ac_optarg ;;
1085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1086 ac_prev=srcdir ;;
1087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088 srcdir=$ac_optarg ;;
1090 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091 | --syscon | --sysco | --sysc | --sys | --sy)
1092 ac_prev=sysconfdir ;;
1093 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095 sysconfdir=$ac_optarg ;;
1097 -target | --target | --targe | --targ | --tar | --ta | --t)
1098 ac_prev=target_alias ;;
1099 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100 target_alias=$ac_optarg ;;
1102 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1103 verbose=yes ;;
1105 -version | --version | --versio | --versi | --vers | -V)
1106 ac_init_version=: ;;
1108 -with-* | --with-*)
1109 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_$ac_package=\$ac_optarg ;;
1117 -without-* | --without-*)
1118 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_$ac_package=no ;;
1126 --x)
1127 # Obsolete; use --with-x.
1128 with_x=yes ;;
1130 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1131 | --x-incl | --x-inc | --x-in | --x-i)
1132 ac_prev=x_includes ;;
1133 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1134 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1135 x_includes=$ac_optarg ;;
1137 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1138 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1139 ac_prev=x_libraries ;;
1140 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1141 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1142 x_libraries=$ac_optarg ;;
1144 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146 { (exit 1); exit 1; }; }
1149 *=*)
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { (exit 1); exit 1; }; }
1155 eval $ac_envvar=\$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1166 esac
1167 done
1169 if test -n "$ac_prev"; then
1170 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1171 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { (exit 1); exit 1; }; }
1175 # Be sure to have absolute directory names.
1176 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val=\$$ac_var
1182 case $ac_val in
1183 [\\/$]* | ?:[\\/]* ) continue;;
1184 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185 esac
1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1188 done
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1193 build=$build_alias
1194 host=$host_alias
1195 target=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x; then
1199 if test "x$build_alias" = x; then
1200 cross_compiling=maybe
1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1204 cross_compiling=yes
1208 ac_tool_prefix=
1209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1211 test "$silent" = yes && exec 6>/dev/null
1214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di=`ls -di .` &&
1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217 { echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$0" : 'X\(//\)[^/]' \| \
1231 X"$0" : 'X\(//\)$' \| \
1232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1233 echo X"$0" |
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1235 s//\1/
1238 /^X\(\/\/\)[^/].*/{
1239 s//\1/
1242 /^X\(\/\/\)$/{
1243 s//\1/
1246 /^X\(\/\).*/{
1247 s//\1/
1250 s/.*/./; q'`
1251 srcdir=$ac_confdir
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 srcdir=..
1255 else
1256 ac_srcdir_defaulted=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 ac_abs_confdir=`(
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1267 pwd)`
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270 srcdir=.
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1275 case $srcdir in
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 esac
1278 for ac_var in $ac_precious_vars; do
1279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_${ac_var}_value=\$${ac_var}
1281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 done
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1291 cat <<_ACEOF
1292 \`configure' configures Wine 0.9.40 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1301 Configuration:
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1316 [PREFIX]
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1345 _ACEOF
1347 cat <<\_ACEOF
1349 X features:
1350 --x-includes=DIR X include files are in DIR
1351 --x-libraries=DIR X library files are in DIR
1353 System types:
1354 --build=BUILD configure for building on BUILD [guessed]
1355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1356 _ACEOF
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive ) echo "Configuration of Wine 0.9.40:";;
1362 esac
1363 cat <<\_ACEOF
1365 Optional Features:
1366 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1368 --disable-win16 do not include Win16 support
1369 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1370 binaries)
1372 Optional Packages:
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --without-opengl do not use OpenGL
1376 --with-wine-tools=<dir> use Wine tools from directory <dir>
1377 --with-x use the X Window System
1379 Some influential environment variables:
1380 CC C compiler command
1381 CFLAGS C compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CXX C++ compiler command
1388 CXXFLAGS C++ compiler flags
1389 XMKMF Path to xmkmf, Makefile generator for X Window System
1390 CPP C preprocessor
1392 Use these variables to override the choices made by `configure' or to help
1393 it to find libraries and programs with nonstandard names/locations.
1395 Report bugs to <wine-devel@winehq.org>.
1396 _ACEOF
1397 ac_status=$?
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403 test -d "$ac_dir" || continue
1404 ac_builddir=.
1406 case "$ac_dir" in
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1415 esac ;;
1416 esac
1417 ac_abs_top_builddir=$ac_pwd
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir=$ac_top_build_prefix
1422 case $srcdir in
1423 .) # We are building in place.
1424 ac_srcdir=.
1425 ac_top_srcdir=$ac_top_builddir_sub
1426 ac_abs_top_srcdir=$ac_pwd ;;
1427 [\\/]* | ?:[\\/]* ) # Absolute name.
1428 ac_srcdir=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir=$srcdir
1430 ac_abs_top_srcdir=$srcdir ;;
1431 *) # Relative name.
1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435 esac
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" || { ac_status=$?; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1441 echo &&
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1444 echo &&
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1446 else
1447 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 fi || ac_status=$?
1449 cd "$ac_pwd" || { ac_status=$?; break; }
1450 done
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1455 cat <<\_ACEOF
1456 Wine configure 0.9.40
1457 generated by GNU Autoconf 2.61
1459 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1463 _ACEOF
1464 exit
1466 cat >config.log <<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1470 It was created by Wine $as_me 0.9.40, which was
1471 generated by GNU Autoconf 2.61. Invocation command line was
1473 $ $0 $@
1475 _ACEOF
1476 exec 5>>config.log
1478 cat <<_ASUNAME
1479 ## --------- ##
1480 ## Platform. ##
1481 ## --------- ##
1483 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1489 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1490 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1492 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1493 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1494 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1495 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1496 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1497 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1498 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1500 _ASUNAME
1502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1503 for as_dir in $PATH
1505 IFS=$as_save_IFS
1506 test -z "$as_dir" && as_dir=.
1507 echo "PATH: $as_dir"
1508 done
1509 IFS=$as_save_IFS
1511 } >&5
1513 cat >&5 <<_ACEOF
1516 ## ----------- ##
1517 ## Core tests. ##
1518 ## ----------- ##
1520 _ACEOF
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1528 ac_configure_args=
1529 ac_configure_args0=
1530 ac_configure_args1=
1531 ac_must_keep_next=false
1532 for ac_pass in 1 2
1534 for ac_arg
1536 case $ac_arg in
1537 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1539 | -silent | --silent | --silen | --sile | --sil)
1540 continue ;;
1541 *\'*)
1542 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1543 esac
1544 case $ac_pass in
1545 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1547 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1548 if test $ac_must_keep_next = true; then
1549 ac_must_keep_next=false # Got value, back to normal.
1550 else
1551 case $ac_arg in
1552 *=* | --config-cache | -C | -disable-* | --disable-* \
1553 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1554 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1555 | -with-* | --with-* | -without-* | --without-* | --x)
1556 case "$ac_configure_args0 " in
1557 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1558 esac
1560 -* ) ac_must_keep_next=true ;;
1561 esac
1563 ac_configure_args="$ac_configure_args '$ac_arg'"
1565 esac
1566 done
1567 done
1568 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1569 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log. We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1579 echo
1581 cat <<\_ASBOX
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1585 _ASBOX
1586 echo
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1591 case $ac_val in #(
1592 *${as_nl}*)
1593 case $ac_var in #(
1594 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1595 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1596 esac
1597 case $ac_var in #(
1598 _ | IFS | as_nl) ;; #(
1599 *) $as_unset $ac_var ;;
1600 esac ;;
1601 esac
1602 done
1603 (set) 2>&1 |
1604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1605 *${as_nl}ac_space=\ *)
1606 sed -n \
1607 "s/'\''/'\''\\\\'\'''\''/g;
1608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1609 ;; #(
1611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1613 esac |
1614 sort
1616 echo
1618 cat <<\_ASBOX
1619 ## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##
1622 _ASBOX
1623 echo
1624 for ac_var in $ac_subst_vars
1626 eval ac_val=\$$ac_var
1627 case $ac_val in
1628 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629 esac
1630 echo "$ac_var='\''$ac_val'\''"
1631 done | sort
1632 echo
1634 if test -n "$ac_subst_files"; then
1635 cat <<\_ASBOX
1636 ## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##
1639 _ASBOX
1640 echo
1641 for ac_var in $ac_subst_files
1643 eval ac_val=\$$ac_var
1644 case $ac_val in
1645 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646 esac
1647 echo "$ac_var='\''$ac_val'\''"
1648 done | sort
1649 echo
1652 if test -s confdefs.h; then
1653 cat <<\_ASBOX
1654 ## ----------- ##
1655 ## confdefs.h. ##
1656 ## ----------- ##
1657 _ASBOX
1658 echo
1659 cat confdefs.h
1660 echo
1662 test "$ac_signal" != 0 &&
1663 echo "$as_me: caught signal $ac_signal"
1664 echo "$as_me: exit $exit_status"
1665 } >&5
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1668 exit $exit_status
1670 for ac_signal in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1672 done
1673 ac_signal=0
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest* confdefs.h
1678 # Predefined preprocessor variables.
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_NAME "$PACKAGE_NAME"
1682 _ACEOF
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1687 _ACEOF
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1692 _ACEOF
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_STRING "$PACKAGE_STRING"
1697 _ACEOF
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1702 _ACEOF
1705 # Let the site file select an alternate cache file if it wants to.
1706 # Prefer explicitly selected file to automatically selected ones.
1707 if test -n "$CONFIG_SITE"; then
1708 set x "$CONFIG_SITE"
1709 elif test "x$prefix" != xNONE; then
1710 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1711 else
1712 set x "$ac_default_prefix/share/config.site" \
1713 "$ac_default_prefix/etc/config.site"
1715 shift
1716 for ac_site_file
1718 if test -r "$ac_site_file"; then
1719 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1720 echo "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1722 . "$ac_site_file"
1724 done
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special
1728 # files actually), so we avoid doing that.
1729 if test -f "$cache_file"; then
1730 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1731 echo "$as_me: loading cache $cache_file" >&6;}
1732 case $cache_file in
1733 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1734 *) . "./$cache_file";;
1735 esac
1737 else
1738 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1739 echo "$as_me: creating cache $cache_file" >&6;}
1740 >$cache_file
1743 # Check that the precious variables saved in the cache have kept the same
1744 # value.
1745 ac_cache_corrupted=false
1746 for ac_var in $ac_precious_vars; do
1747 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1748 eval ac_new_set=\$ac_env_${ac_var}_set
1749 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1750 eval ac_new_val=\$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1752 set,)
1753 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted=: ;;
1756 ,set)
1757 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1758 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1760 ,);;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1765 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1766 echo "$as_me: former value: $ac_old_val" >&2;}
1767 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1768 echo "$as_me: current value: $ac_new_val" >&2;}
1769 ac_cache_corrupted=:
1770 fi;;
1771 esac
1772 # Pass precious variables to config.status.
1773 if test "$ac_new_set" = set; then
1774 case $ac_new_val in
1775 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1776 *) ac_arg=$ac_var=$ac_new_val ;;
1777 esac
1778 case " $ac_configure_args " in
1779 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1780 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1781 esac
1783 done
1784 if $ac_cache_corrupted; then
1785 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1786 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1787 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1788 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1789 { (exit 1); exit 1; }; }
1816 ac_ext=c
1817 ac_cpp='$CPP $CPPFLAGS'
1818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1824 ac_config_headers="$ac_config_headers include/config.h"
1826 ac_aux_dir=
1827 for ac_dir in tools "$srcdir"/tools; do
1828 if test -f "$ac_dir/install-sh"; then
1829 ac_aux_dir=$ac_dir
1830 ac_install_sh="$ac_aux_dir/install-sh -c"
1831 break
1832 elif test -f "$ac_dir/install.sh"; then
1833 ac_aux_dir=$ac_dir
1834 ac_install_sh="$ac_aux_dir/install.sh -c"
1835 break
1836 elif test -f "$ac_dir/shtool"; then
1837 ac_aux_dir=$ac_dir
1838 ac_install_sh="$ac_aux_dir/shtool install -c"
1839 break
1841 done
1842 if test -z "$ac_aux_dir"; then
1843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1844 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1853 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1854 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1859 # Check whether --enable-win16 was given.
1860 if test "${enable_win16+set}" = set; then
1861 enableval=$enable_win16;
1864 # Check whether --enable-win64 was given.
1865 if test "${enable_win64+set}" = set; then
1866 enableval=$enable_win64;
1871 # Check whether --with-opengl was given.
1872 if test "${with_opengl+set}" = set; then
1873 withval=$with_opengl;
1877 # Check whether --with-wine-tools was given.
1878 if test "${with_wine_tools+set}" = set; then
1879 withval=$with_wine_tools;
1883 # Make sure we can run config.sub.
1884 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1885 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1886 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1887 { (exit 1); exit 1; }; }
1889 { echo "$as_me:$LINENO: checking build system type" >&5
1890 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1891 if test "${ac_cv_build+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 else
1894 ac_build_alias=$build_alias
1895 test "x$ac_build_alias" = x &&
1896 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1897 test "x$ac_build_alias" = x &&
1898 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1899 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1900 { (exit 1); exit 1; }; }
1901 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1902 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1903 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1904 { (exit 1); exit 1; }; }
1907 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1908 echo "${ECHO_T}$ac_cv_build" >&6; }
1909 case $ac_cv_build in
1910 *-*-*) ;;
1911 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1912 echo "$as_me: error: invalid value of canonical build" >&2;}
1913 { (exit 1); exit 1; }; };;
1914 esac
1915 build=$ac_cv_build
1916 ac_save_IFS=$IFS; IFS='-'
1917 set x $ac_cv_build
1918 shift
1919 build_cpu=$1
1920 build_vendor=$2
1921 shift; shift
1922 # Remember, the first character of IFS is used to create $*,
1923 # except with old shells:
1924 build_os=$*
1925 IFS=$ac_save_IFS
1926 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1929 { echo "$as_me:$LINENO: checking host system type" >&5
1930 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1931 if test "${ac_cv_host+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test "x$host_alias" = x; then
1935 ac_cv_host=$ac_cv_build
1936 else
1937 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1938 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1940 { (exit 1); exit 1; }; }
1944 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1945 echo "${ECHO_T}$ac_cv_host" >&6; }
1946 case $ac_cv_host in
1947 *-*-*) ;;
1948 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1949 echo "$as_me: error: invalid value of canonical host" >&2;}
1950 { (exit 1); exit 1; }; };;
1951 esac
1952 host=$ac_cv_host
1953 ac_save_IFS=$IFS; IFS='-'
1954 set x $ac_cv_host
1955 shift
1956 host_cpu=$1
1957 host_vendor=$2
1958 shift; shift
1959 # Remember, the first character of IFS is used to create $*,
1960 # except with old shells:
1961 host_os=$*
1962 IFS=$ac_save_IFS
1963 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1966 case $host in
1967 x86_64*linux*)
1968 if test "x$enable_win64" != "xyes"
1969 then
1970 test -n "$CC" || CC="gcc -m32"
1971 test -n "$LD" || LD="ld -m elf_i386"
1972 test -n "$AS" || AS="as --32"
1973 host_cpu="i386"
1976 esac
1978 case $host_cpu in
1979 *i[3456789]86*)
1980 if test "x$enable_win16" != "xno"
1981 then
1982 enable_win16="yes"
1985 esac
1987 WIN16_FILES="\$(WIN16_FILES)"
1989 WIN16_INSTALL="\$(WIN16_INSTALL)"
1991 if test "x$enable_win16" != "xyes"
1992 then
1993 WIN16_FILES=""
1994 WIN16_INSTALL=""
1997 case "$srcdir" in
1998 .) ;;
1999 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2000 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2001 You need to run 'make distclean' in the source tree first." >&5
2002 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2003 You need to run 'make distclean' in the source tree first." >&2;}
2004 { (exit 1); exit 1; }; }
2005 fi ;;
2006 esac
2009 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2011 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2012 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015 cat >conftest.make <<\_ACEOF
2016 SHELL = /bin/sh
2017 all:
2018 @echo '@@@%%%=$(MAKE)=@@@%%%'
2019 _ACEOF
2020 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2021 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2022 *@@@%%%=?*=@@@%%%*)
2023 eval ac_cv_prog_make_${ac_make}_set=yes;;
2025 eval ac_cv_prog_make_${ac_make}_set=no;;
2026 esac
2027 rm -f conftest.make
2029 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2030 { echo "$as_me:$LINENO: result: yes" >&5
2031 echo "${ECHO_T}yes" >&6; }
2032 SET_MAKE=
2033 else
2034 { echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6; }
2036 SET_MAKE="MAKE=${MAKE-make}"
2039 ac_ext=c
2040 ac_cpp='$CPP $CPPFLAGS'
2041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2044 if test -n "$ac_tool_prefix"; then
2045 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2046 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2049 if test "${ac_cv_prog_CC+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 else
2052 if test -n "$CC"; then
2053 ac_cv_prog_CC="$CC" # Let the user override the test.
2054 else
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 for as_dir in $PATH
2058 IFS=$as_save_IFS
2059 test -z "$as_dir" && as_dir=.
2060 for ac_exec_ext in '' $ac_executable_extensions; do
2061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2062 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 break 2
2066 done
2067 done
2068 IFS=$as_save_IFS
2072 CC=$ac_cv_prog_CC
2073 if test -n "$CC"; then
2074 { echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6; }
2076 else
2077 { echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6; }
2083 if test -z "$ac_cv_prog_CC"; then
2084 ac_ct_CC=$CC
2085 # Extract the first word of "gcc", so it can be a program name with args.
2086 set dummy gcc; ac_word=$2
2087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 else
2092 if test -n "$ac_ct_CC"; then
2093 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2094 else
2095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 for as_dir in $PATH
2098 IFS=$as_save_IFS
2099 test -z "$as_dir" && as_dir=.
2100 for ac_exec_ext in '' $ac_executable_extensions; do
2101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2102 ac_cv_prog_ac_ct_CC="gcc"
2103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 break 2
2106 done
2107 done
2108 IFS=$as_save_IFS
2112 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2113 if test -n "$ac_ct_CC"; then
2114 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2115 echo "${ECHO_T}$ac_ct_CC" >&6; }
2116 else
2117 { echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6; }
2121 if test "x$ac_ct_CC" = x; then
2122 CC=""
2123 else
2124 case $cross_compiling:$ac_tool_warned in
2125 yes:)
2126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2127 whose name does not start with the host triplet. If you think this
2128 configuration is useful to you, please write to autoconf@gnu.org." >&5
2129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2130 whose name does not start with the host triplet. If you think this
2131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2132 ac_tool_warned=yes ;;
2133 esac
2134 CC=$ac_ct_CC
2136 else
2137 CC="$ac_cv_prog_CC"
2140 if test -z "$CC"; then
2141 if test -n "$ac_tool_prefix"; then
2142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2143 set dummy ${ac_tool_prefix}cc; ac_word=$2
2144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 else
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC="$CC" # Let the user override the test.
2151 else
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH
2155 IFS=$as_save_IFS
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2159 ac_cv_prog_CC="${ac_tool_prefix}cc"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 break 2
2163 done
2164 done
2165 IFS=$as_save_IFS
2169 CC=$ac_cv_prog_CC
2170 if test -n "$CC"; then
2171 { echo "$as_me:$LINENO: result: $CC" >&5
2172 echo "${ECHO_T}$CC" >&6; }
2173 else
2174 { echo "$as_me:$LINENO: result: no" >&5
2175 echo "${ECHO_T}no" >&6; }
2181 if test -z "$CC"; then
2182 # Extract the first word of "cc", so it can be a program name with args.
2183 set dummy cc; ac_word=$2
2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2186 if test "${ac_cv_prog_CC+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 else
2189 if test -n "$CC"; then
2190 ac_cv_prog_CC="$CC" # Let the user override the test.
2191 else
2192 ac_prog_rejected=no
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 for as_dir in $PATH
2196 IFS=$as_save_IFS
2197 test -z "$as_dir" && as_dir=.
2198 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2201 ac_prog_rejected=yes
2202 continue
2204 ac_cv_prog_CC="cc"
2205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 break 2
2208 done
2209 done
2210 IFS=$as_save_IFS
2212 if test $ac_prog_rejected = yes; then
2213 # We found a bogon in the path, so make sure we never use it.
2214 set dummy $ac_cv_prog_CC
2215 shift
2216 if test $# != 0; then
2217 # We chose a different compiler from the bogus one.
2218 # However, it has the same basename, so the bogon will be chosen
2219 # first if we set CC to just the basename; use the full file name.
2220 shift
2221 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2226 CC=$ac_cv_prog_CC
2227 if test -n "$CC"; then
2228 { echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6; }
2230 else
2231 { echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6; }
2237 if test -z "$CC"; then
2238 if test -n "$ac_tool_prefix"; then
2239 for ac_prog in cl.exe
2241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2245 if test "${ac_cv_prog_CC+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 else
2248 if test -n "$CC"; then
2249 ac_cv_prog_CC="$CC" # Let the user override the test.
2250 else
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 for as_dir in $PATH
2254 IFS=$as_save_IFS
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2260 break 2
2262 done
2263 done
2264 IFS=$as_save_IFS
2268 CC=$ac_cv_prog_CC
2269 if test -n "$CC"; then
2270 { echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6; }
2272 else
2273 { echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6; }
2278 test -n "$CC" && break
2279 done
2281 if test -z "$CC"; then
2282 ac_ct_CC=$CC
2283 for ac_prog in cl.exe
2285 # Extract the first word of "$ac_prog", so it can be a program name with args.
2286 set dummy $ac_prog; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 else
2292 if test -n "$ac_ct_CC"; then
2293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2294 else
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 for as_dir in $PATH
2298 IFS=$as_save_IFS
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_ac_ct_CC="$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 break 2
2306 done
2307 done
2308 IFS=$as_save_IFS
2312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2313 if test -n "$ac_ct_CC"; then
2314 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2315 echo "${ECHO_T}$ac_ct_CC" >&6; }
2316 else
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2322 test -n "$ac_ct_CC" && break
2323 done
2325 if test "x$ac_ct_CC" = x; then
2326 CC=""
2327 else
2328 case $cross_compiling:$ac_tool_warned in
2329 yes:)
2330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2331 whose name does not start with the host triplet. If you think this
2332 configuration is useful to you, please write to autoconf@gnu.org." >&5
2333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2334 whose name does not start with the host triplet. If you think this
2335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2336 ac_tool_warned=yes ;;
2337 esac
2338 CC=$ac_ct_CC
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349 { (exit 1); exit 1; }; }
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO: checking for C compiler version" >&5
2353 ac_compiler=`set X $ac_compile; echo $2`
2354 { (ac_try="$ac_compiler --version >&5"
2355 case "(($ac_try" in
2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2358 esac
2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2360 (eval "$ac_compiler --version >&5") 2>&5
2361 ac_status=$?
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }
2364 { (ac_try="$ac_compiler -v >&5"
2365 case "(($ac_try" in
2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2368 esac
2369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2370 (eval "$ac_compiler -v >&5") 2>&5
2371 ac_status=$?
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }
2374 { (ac_try="$ac_compiler -V >&5"
2375 case "(($ac_try" in
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2378 esac
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler -V >&5") 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2385 cat >conftest.$ac_ext <<_ACEOF
2386 /* confdefs.h. */
2387 _ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2393 main ()
2397 return 0;
2399 _ACEOF
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2404 # of exeext.
2405 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2407 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2409 # List of possible output files, starting from the most likely.
2410 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2411 # only as a last resort. b.out is created by i960 compilers.
2412 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2414 # The IRIX 6 linker writes into existing files which may not be
2415 # executable, retaining their permissions. Remove them first so a
2416 # subsequent execution test works.
2417 ac_rmfiles=
2418 for ac_file in $ac_files
2420 case $ac_file in
2421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2422 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2423 esac
2424 done
2425 rm -f $ac_rmfiles
2427 if { (ac_try="$ac_link_default"
2428 case "(($ac_try" in
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2431 esac
2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_link_default") 2>&5
2434 ac_status=$?
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; then
2437 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2439 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2440 # so that the user can short-circuit this test for compilers unknown to
2441 # Autoconf.
2442 for ac_file in $ac_files ''
2444 test -f "$ac_file" || continue
2445 case $ac_file in
2446 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2448 [ab].out )
2449 # We found the default executable, but exeext='' is most
2450 # certainly right.
2451 break;;
2452 *.* )
2453 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2454 then :; else
2455 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2457 # We set ac_cv_exeext here because the later test for it is not
2458 # safe: cross compilers may not add the suffix if given an `-o'
2459 # argument, so we may need to know it at that point already.
2460 # Even if this section looks crufty: it has the advantage of
2461 # actually working.
2462 break;;
2464 break;;
2465 esac
2466 done
2467 test "$ac_cv_exeext" = no && ac_cv_exeext=
2469 else
2470 ac_file=''
2473 { echo "$as_me:$LINENO: result: $ac_file" >&5
2474 echo "${ECHO_T}$ac_file" >&6; }
2475 if test -z "$ac_file"; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2479 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&2;}
2483 { (exit 77); exit 77; }; }
2486 ac_exeext=$ac_cv_exeext
2488 # Check that the compiler produces executables we can run. If not, either
2489 # the compiler is broken, or we cross compile.
2490 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2491 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2492 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2493 # If not cross compiling, check that we can run a simple program.
2494 if test "$cross_compiling" != yes; then
2495 if { ac_try='./$ac_file'
2496 { (case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2499 esac
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_try") 2>&5
2502 ac_status=$?
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; }; then
2505 cross_compiling=no
2506 else
2507 if test "$cross_compiling" = maybe; then
2508 cross_compiling=yes
2509 else
2510 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details." >&5
2513 echo "$as_me: error: cannot run C compiled programs.
2514 If you meant to cross compile, use \`--host'.
2515 See \`config.log' for more details." >&2;}
2516 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6; }
2523 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2524 ac_clean_files=$ac_clean_files_save
2525 # Check that the compiler produces executables we can run. If not, either
2526 # the compiler is broken, or we cross compile.
2527 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2528 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2529 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2530 echo "${ECHO_T}$cross_compiling" >&6; }
2532 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2533 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2534 if { (ac_try="$ac_link"
2535 case "(($ac_try" in
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2538 esac
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2540 (eval "$ac_link") 2>&5
2541 ac_status=$?
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; then
2544 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2545 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2546 # work properly (i.e., refer to `conftest.exe'), while it won't with
2547 # `rm'.
2548 for ac_file in conftest.exe conftest conftest.*; do
2549 test -f "$ac_file" || continue
2550 case $ac_file in
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2552 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 break;;
2554 * ) break;;
2555 esac
2556 done
2557 else
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2565 rm -f conftest$ac_cv_exeext
2566 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2567 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2569 rm -f conftest.$ac_ext
2570 EXEEXT=$ac_cv_exeext
2571 ac_exeext=$EXEEXT
2572 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2573 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2574 if test "${ac_cv_objext+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 else
2577 cat >conftest.$ac_ext <<_ACEOF
2578 /* confdefs.h. */
2579 _ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2585 main ()
2589 return 0;
2591 _ACEOF
2592 rm -f conftest.o conftest.obj
2593 if { (ac_try="$ac_compile"
2594 case "(($ac_try" in
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2597 esac
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_compile") 2>&5
2600 ac_status=$?
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 for ac_file in conftest.o conftest.obj conftest.*; do
2604 test -f "$ac_file" || continue;
2605 case $ac_file in
2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2607 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2608 break;;
2609 esac
2610 done
2611 else
2612 echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2615 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&2;}
2619 { (exit 1); exit 1; }; }
2622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2624 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2625 echo "${ECHO_T}$ac_cv_objext" >&6; }
2626 OBJEXT=$ac_cv_objext
2627 ac_objext=$OBJEXT
2628 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2629 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2630 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 else
2633 cat >conftest.$ac_ext <<_ACEOF
2634 /* confdefs.h. */
2635 _ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2641 main ()
2643 #ifndef __GNUC__
2644 choke me
2645 #endif
2648 return 0;
2650 _ACEOF
2651 rm -f conftest.$ac_objext
2652 if { (ac_try="$ac_compile"
2653 case "(($ac_try" in
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2656 esac
2657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2658 (eval "$ac_compile") 2>conftest.er1
2659 ac_status=$?
2660 grep -v '^ *+' conftest.er1 >conftest.err
2661 rm -f conftest.er1
2662 cat conftest.err >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext; then
2668 ac_compiler_gnu=yes
2669 else
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 ac_compiler_gnu=no
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2682 GCC=`test $ac_compiler_gnu = yes && echo yes`
2683 ac_test_CFLAGS=${CFLAGS+set}
2684 ac_save_CFLAGS=$CFLAGS
2685 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690 ac_save_c_werror_flag=$ac_c_werror_flag
2691 ac_c_werror_flag=yes
2692 ac_cv_prog_cc_g=no
2693 CFLAGS="-g"
2694 cat >conftest.$ac_ext <<_ACEOF
2695 /* confdefs.h. */
2696 _ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2702 main ()
2706 return 0;
2708 _ACEOF
2709 rm -f conftest.$ac_objext
2710 if { (ac_try="$ac_compile"
2711 case "(($ac_try" in
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2714 esac
2715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_compile") 2>conftest.er1
2717 ac_status=$?
2718 grep -v '^ *+' conftest.er1 >conftest.err
2719 rm -f conftest.er1
2720 cat conftest.err >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } && {
2723 test -z "$ac_c_werror_flag" ||
2724 test ! -s conftest.err
2725 } && test -s conftest.$ac_objext; then
2726 ac_cv_prog_cc_g=yes
2727 else
2728 echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2731 CFLAGS=""
2732 cat >conftest.$ac_ext <<_ACEOF
2733 /* confdefs.h. */
2734 _ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2740 main ()
2744 return 0;
2746 _ACEOF
2747 rm -f conftest.$ac_objext
2748 if { (ac_try="$ac_compile"
2749 case "(($ac_try" in
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2752 esac
2753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754 (eval "$ac_compile") 2>conftest.er1
2755 ac_status=$?
2756 grep -v '^ *+' conftest.er1 >conftest.err
2757 rm -f conftest.er1
2758 cat conftest.err >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); } && {
2761 test -z "$ac_c_werror_flag" ||
2762 test ! -s conftest.err
2763 } && test -s conftest.$ac_objext; then
2765 else
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2769 ac_c_werror_flag=$ac_save_c_werror_flag
2770 CFLAGS="-g"
2771 cat >conftest.$ac_ext <<_ACEOF
2772 /* confdefs.h. */
2773 _ACEOF
2774 cat confdefs.h >>conftest.$ac_ext
2775 cat >>conftest.$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2779 main ()
2783 return 0;
2785 _ACEOF
2786 rm -f conftest.$ac_objext
2787 if { (ac_try="$ac_compile"
2788 case "(($ac_try" in
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2791 esac
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_compile") 2>conftest.er1
2794 ac_status=$?
2795 grep -v '^ *+' conftest.er1 >conftest.err
2796 rm -f conftest.er1
2797 cat conftest.err >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } && {
2800 test -z "$ac_c_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest.$ac_objext; then
2803 ac_cv_prog_cc_g=yes
2804 else
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 ac_c_werror_flag=$ac_save_c_werror_flag
2820 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2821 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2822 if test "$ac_test_CFLAGS" = set; then
2823 CFLAGS=$ac_save_CFLAGS
2824 elif test $ac_cv_prog_cc_g = yes; then
2825 if test "$GCC" = yes; then
2826 CFLAGS="-g -O2"
2827 else
2828 CFLAGS="-g"
2830 else
2831 if test "$GCC" = yes; then
2832 CFLAGS="-O2"
2833 else
2834 CFLAGS=
2837 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2838 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2839 if test "${ac_cv_prog_cc_c89+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 else
2842 ac_cv_prog_cc_c89=no
2843 ac_save_CC=$CC
2844 cat >conftest.$ac_ext <<_ACEOF
2845 /* confdefs.h. */
2846 _ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2850 #include <stdarg.h>
2851 #include <stdio.h>
2852 #include <sys/types.h>
2853 #include <sys/stat.h>
2854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2855 struct buf { int x; };
2856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2857 static char *e (p, i)
2858 char **p;
2859 int i;
2861 return p[i];
2863 static char *f (char * (*g) (char **, int), char **p, ...)
2865 char *s;
2866 va_list v;
2867 va_start (v,p);
2868 s = g (p, va_arg (v,int));
2869 va_end (v);
2870 return s;
2873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2874 function prototypes and stuff, but not '\xHH' hex character constants.
2875 These don't provoke an error unfortunately, instead are silently treated
2876 as 'x'. The following induces an error, until -std is added to get
2877 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2878 array size at least. It's necessary to write '\x00'==0 to get something
2879 that's true only with -std. */
2880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2883 inside strings and character constants. */
2884 #define FOO(x) 'x'
2885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2887 int test (int i, double x);
2888 struct s1 {int (*f) (int a);};
2889 struct s2 {int (*f) (double a);};
2890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2891 int argc;
2892 char **argv;
2894 main ()
2896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2898 return 0;
2900 _ACEOF
2901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2902 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2904 CC="$ac_save_CC $ac_arg"
2905 rm -f conftest.$ac_objext
2906 if { (ac_try="$ac_compile"
2907 case "(($ac_try" in
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2910 esac
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_compile") 2>conftest.er1
2913 ac_status=$?
2914 grep -v '^ *+' conftest.er1 >conftest.err
2915 rm -f conftest.er1
2916 cat conftest.err >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); } && {
2919 test -z "$ac_c_werror_flag" ||
2920 test ! -s conftest.err
2921 } && test -s conftest.$ac_objext; then
2922 ac_cv_prog_cc_c89=$ac_arg
2923 else
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2930 rm -f core conftest.err conftest.$ac_objext
2931 test "x$ac_cv_prog_cc_c89" != "xno" && break
2932 done
2933 rm -f conftest.$ac_ext
2934 CC=$ac_save_CC
2937 # AC_CACHE_VAL
2938 case "x$ac_cv_prog_cc_c89" in
2940 { echo "$as_me:$LINENO: result: none needed" >&5
2941 echo "${ECHO_T}none needed" >&6; } ;;
2942 xno)
2943 { echo "$as_me:$LINENO: result: unsupported" >&5
2944 echo "${ECHO_T}unsupported" >&6; } ;;
2946 CC="$CC $ac_cv_prog_cc_c89"
2947 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2948 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2949 esac
2952 ac_ext=c
2953 ac_cpp='$CPP $CPPFLAGS'
2954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2958 ac_ext=cpp
2959 ac_cpp='$CXXCPP $CPPFLAGS'
2960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2963 if test -z "$CXX"; then
2964 if test -n "$CCC"; then
2965 CXX=$CCC
2966 else
2967 if test -n "$ac_tool_prefix"; then
2968 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2974 if test "${ac_cv_prog_CXX+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 else
2977 if test -n "$CXX"; then
2978 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2979 else
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH
2983 IFS=$as_save_IFS
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 break 2
2991 done
2992 done
2993 IFS=$as_save_IFS
2997 CXX=$ac_cv_prog_CXX
2998 if test -n "$CXX"; then
2999 { echo "$as_me:$LINENO: result: $CXX" >&5
3000 echo "${ECHO_T}$CXX" >&6; }
3001 else
3002 { echo "$as_me:$LINENO: result: no" >&5
3003 echo "${ECHO_T}no" >&6; }
3007 test -n "$CXX" && break
3008 done
3010 if test -z "$CXX"; then
3011 ac_ct_CXX=$CXX
3012 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3014 # Extract the first word of "$ac_prog", so it can be a program name with args.
3015 set dummy $ac_prog; ac_word=$2
3016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3018 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021 if test -n "$ac_ct_CXX"; then
3022 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3023 else
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 for as_dir in $PATH
3027 IFS=$as_save_IFS
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031 ac_cv_prog_ac_ct_CXX="$ac_prog"
3032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3033 break 2
3035 done
3036 done
3037 IFS=$as_save_IFS
3041 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3042 if test -n "$ac_ct_CXX"; then
3043 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3044 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3045 else
3046 { echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6; }
3051 test -n "$ac_ct_CXX" && break
3052 done
3054 if test "x$ac_ct_CXX" = x; then
3055 CXX="g++"
3056 else
3057 case $cross_compiling:$ac_tool_warned in
3058 yes:)
3059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3060 whose name does not start with the host triplet. If you think this
3061 configuration is useful to you, please write to autoconf@gnu.org." >&5
3062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3063 whose name does not start with the host triplet. If you think this
3064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3065 ac_tool_warned=yes ;;
3066 esac
3067 CXX=$ac_ct_CXX
3073 # Provide some information about the compiler.
3074 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3075 ac_compiler=`set X $ac_compile; echo $2`
3076 { (ac_try="$ac_compiler --version >&5"
3077 case "(($ac_try" in
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3080 esac
3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3082 (eval "$ac_compiler --version >&5") 2>&5
3083 ac_status=$?
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }
3086 { (ac_try="$ac_compiler -v >&5"
3087 case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3090 esac
3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compiler -v >&5") 2>&5
3093 ac_status=$?
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }
3096 { (ac_try="$ac_compiler -V >&5"
3097 case "(($ac_try" in
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3100 esac
3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler -V >&5") 2>&5
3103 ac_status=$?
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }
3107 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3108 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3109 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 else
3112 cat >conftest.$ac_ext <<_ACEOF
3113 /* confdefs.h. */
3114 _ACEOF
3115 cat confdefs.h >>conftest.$ac_ext
3116 cat >>conftest.$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3120 main ()
3122 #ifndef __GNUC__
3123 choke me
3124 #endif
3127 return 0;
3129 _ACEOF
3130 rm -f conftest.$ac_objext
3131 if { (ac_try="$ac_compile"
3132 case "(($ac_try" in
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3135 esac
3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3137 (eval "$ac_compile") 2>conftest.er1
3138 ac_status=$?
3139 grep -v '^ *+' conftest.er1 >conftest.err
3140 rm -f conftest.er1
3141 cat conftest.err >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } && {
3144 test -z "$ac_cxx_werror_flag" ||
3145 test ! -s conftest.err
3146 } && test -s conftest.$ac_objext; then
3147 ac_compiler_gnu=yes
3148 else
3149 echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3152 ac_compiler_gnu=no
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3159 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3160 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3161 GXX=`test $ac_compiler_gnu = yes && echo yes`
3162 ac_test_CXXFLAGS=${CXXFLAGS+set}
3163 ac_save_CXXFLAGS=$CXXFLAGS
3164 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3165 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3166 if test "${ac_cv_prog_cxx_g+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 else
3169 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3170 ac_cxx_werror_flag=yes
3171 ac_cv_prog_cxx_g=no
3172 CXXFLAGS="-g"
3173 cat >conftest.$ac_ext <<_ACEOF
3174 /* confdefs.h. */
3175 _ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3181 main ()
3185 return 0;
3187 _ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (ac_try="$ac_compile"
3190 case "(($ac_try" in
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3193 esac
3194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3195 (eval "$ac_compile") 2>conftest.er1
3196 ac_status=$?
3197 grep -v '^ *+' conftest.er1 >conftest.err
3198 rm -f conftest.er1
3199 cat conftest.err >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); } && {
3202 test -z "$ac_cxx_werror_flag" ||
3203 test ! -s conftest.err
3204 } && test -s conftest.$ac_objext; then
3205 ac_cv_prog_cxx_g=yes
3206 else
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3210 CXXFLAGS=""
3211 cat >conftest.$ac_ext <<_ACEOF
3212 /* confdefs.h. */
3213 _ACEOF
3214 cat confdefs.h >>conftest.$ac_ext
3215 cat >>conftest.$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3219 main ()
3223 return 0;
3225 _ACEOF
3226 rm -f conftest.$ac_objext
3227 if { (ac_try="$ac_compile"
3228 case "(($ac_try" in
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3231 esac
3232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3233 (eval "$ac_compile") 2>conftest.er1
3234 ac_status=$?
3235 grep -v '^ *+' conftest.er1 >conftest.err
3236 rm -f conftest.er1
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_cxx_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest.$ac_objext; then
3244 else
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3248 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3249 CXXFLAGS="-g"
3250 cat >conftest.$ac_ext <<_ACEOF
3251 /* confdefs.h. */
3252 _ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3258 main ()
3262 return 0;
3264 _ACEOF
3265 rm -f conftest.$ac_objext
3266 if { (ac_try="$ac_compile"
3267 case "(($ac_try" in
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3270 esac
3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3273 ac_status=$?
3274 grep -v '^ *+' conftest.er1 >conftest.err
3275 rm -f conftest.er1
3276 cat conftest.err >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_cxx_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3282 ac_cv_prog_cxx_g=yes
3283 else
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3299 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3300 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3301 if test "$ac_test_CXXFLAGS" = set; then
3302 CXXFLAGS=$ac_save_CXXFLAGS
3303 elif test $ac_cv_prog_cxx_g = yes; then
3304 if test "$GXX" = yes; then
3305 CXXFLAGS="-g -O2"
3306 else
3307 CXXFLAGS="-g"
3309 else
3310 if test "$GXX" = yes; then
3311 CXXFLAGS="-O2"
3312 else
3313 CXXFLAGS=
3316 ac_ext=c
3317 ac_cpp='$CPP $CPPFLAGS'
3318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 if test -n "$ac_tool_prefix"; then
3323 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3324 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3327 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 else
3330 if test -n "$CPPBIN"; then
3331 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3332 else
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 for as_dir in $PATH
3336 IFS=$as_save_IFS
3337 test -z "$as_dir" && as_dir=.
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3342 break 2
3344 done
3345 done
3346 IFS=$as_save_IFS
3350 CPPBIN=$ac_cv_prog_CPPBIN
3351 if test -n "$CPPBIN"; then
3352 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3353 echo "${ECHO_T}$CPPBIN" >&6; }
3354 else
3355 { echo "$as_me:$LINENO: result: no" >&5
3356 echo "${ECHO_T}no" >&6; }
3361 if test -z "$ac_cv_prog_CPPBIN"; then
3362 ac_ct_CPPBIN=$CPPBIN
3363 # Extract the first word of "cpp", so it can be a program name with args.
3364 set dummy cpp; ac_word=$2
3365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3367 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3369 else
3370 if test -n "$ac_ct_CPPBIN"; then
3371 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_ac_ct_CPPBIN="cpp"
3381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 break 2
3384 done
3385 done
3386 IFS=$as_save_IFS
3390 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3391 if test -n "$ac_ct_CPPBIN"; then
3392 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3393 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3394 else
3395 { echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6; }
3399 if test "x$ac_ct_CPPBIN" = x; then
3400 CPPBIN="cpp"
3401 else
3402 case $cross_compiling:$ac_tool_warned in
3403 yes:)
3404 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3405 whose name does not start with the host triplet. If you think this
3406 configuration is useful to you, please write to autoconf@gnu.org." >&5
3407 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3408 whose name does not start with the host triplet. If you think this
3409 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3410 ac_tool_warned=yes ;;
3411 esac
3412 CPPBIN=$ac_ct_CPPBIN
3414 else
3415 CPPBIN="$ac_cv_prog_CPPBIN"
3419 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3420 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3421 if test "${wine_cv_toolsdir+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 else
3424 if test -z "$with_wine_tools"; then
3425 if test "$cross_compiling" = "yes"; then
3426 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3427 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3428 { (exit 1); exit 1; }; }
3429 else
3430 wine_cv_toolsdir="\$(TOPOBJDIR)"
3432 elif test -d "$with_wine_tools/tools/winebuild"; then
3433 case $with_wine_tools in
3434 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3435 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3436 esac
3437 else
3438 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3439 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3440 { (exit 1); exit 1; }; }
3443 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3444 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3445 TOOLSDIR=$wine_cv_toolsdir
3449 ac_ext=c
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3455 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3456 # On Suns, sometimes $CPP names a directory.
3457 if test -n "$CPP" && test -d "$CPP"; then
3458 CPP=
3460 if test -z "$CPP"; then
3461 if test "${ac_cv_prog_CPP+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 else
3464 # Double quotes because CPP needs to be expanded
3465 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3467 ac_preproc_ok=false
3468 for ac_c_preproc_warn_flag in '' yes
3470 # Use a header file that comes with gcc, so configuring glibc
3471 # with a fresh cross-compiler works.
3472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3473 # <limits.h> exists even on freestanding compilers.
3474 # On the NeXT, cc -E runs the code through the compiler's parser,
3475 # not just through cpp. "Syntax error" is here to catch this case.
3476 cat >conftest.$ac_ext <<_ACEOF
3477 /* confdefs.h. */
3478 _ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3482 #ifdef __STDC__
3483 # include <limits.h>
3484 #else
3485 # include <assert.h>
3486 #endif
3487 Syntax error
3488 _ACEOF
3489 if { (ac_try="$ac_cpp conftest.$ac_ext"
3490 case "(($ac_try" in
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3493 esac
3494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3496 ac_status=$?
3497 grep -v '^ *+' conftest.er1 >conftest.err
3498 rm -f conftest.er1
3499 cat conftest.err >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } >/dev/null && {
3502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3503 test ! -s conftest.err
3504 }; then
3506 else
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 # Broken: fails on valid input.
3511 continue
3514 rm -f conftest.err conftest.$ac_ext
3516 # OK, works on sane cases. Now check whether nonexistent headers
3517 # can be detected and how.
3518 cat >conftest.$ac_ext <<_ACEOF
3519 /* confdefs.h. */
3520 _ACEOF
3521 cat confdefs.h >>conftest.$ac_ext
3522 cat >>conftest.$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3524 #include <ac_nonexistent.h>
3525 _ACEOF
3526 if { (ac_try="$ac_cpp conftest.$ac_ext"
3527 case "(($ac_try" in
3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3530 esac
3531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3533 ac_status=$?
3534 grep -v '^ *+' conftest.er1 >conftest.err
3535 rm -f conftest.er1
3536 cat conftest.err >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } >/dev/null && {
3539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3540 test ! -s conftest.err
3541 }; then
3542 # Broken: success on invalid input.
3543 continue
3544 else
3545 echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3548 # Passes both tests.
3549 ac_preproc_ok=:
3550 break
3553 rm -f conftest.err conftest.$ac_ext
3555 done
3556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3557 rm -f conftest.err conftest.$ac_ext
3558 if $ac_preproc_ok; then
3559 break
3562 done
3563 ac_cv_prog_CPP=$CPP
3566 CPP=$ac_cv_prog_CPP
3567 else
3568 ac_cv_prog_CPP=$CPP
3570 { echo "$as_me:$LINENO: result: $CPP" >&5
3571 echo "${ECHO_T}$CPP" >&6; }
3572 ac_preproc_ok=false
3573 for ac_c_preproc_warn_flag in '' yes
3575 # Use a header file that comes with gcc, so configuring glibc
3576 # with a fresh cross-compiler works.
3577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3578 # <limits.h> exists even on freestanding compilers.
3579 # On the NeXT, cc -E runs the code through the compiler's parser,
3580 # not just through cpp. "Syntax error" is here to catch this case.
3581 cat >conftest.$ac_ext <<_ACEOF
3582 /* confdefs.h. */
3583 _ACEOF
3584 cat confdefs.h >>conftest.$ac_ext
3585 cat >>conftest.$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3587 #ifdef __STDC__
3588 # include <limits.h>
3589 #else
3590 # include <assert.h>
3591 #endif
3592 Syntax error
3593 _ACEOF
3594 if { (ac_try="$ac_cpp conftest.$ac_ext"
3595 case "(($ac_try" in
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3598 esac
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3601 ac_status=$?
3602 grep -v '^ *+' conftest.er1 >conftest.err
3603 rm -f conftest.er1
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } >/dev/null && {
3607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3609 }; then
3611 else
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3615 # Broken: fails on valid input.
3616 continue
3619 rm -f conftest.err conftest.$ac_ext
3621 # OK, works on sane cases. Now check whether nonexistent headers
3622 # can be detected and how.
3623 cat >conftest.$ac_ext <<_ACEOF
3624 /* confdefs.h. */
3625 _ACEOF
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3629 #include <ac_nonexistent.h>
3630 _ACEOF
3631 if { (ac_try="$ac_cpp conftest.$ac_ext"
3632 case "(($ac_try" in
3633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3635 esac
3636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3638 ac_status=$?
3639 grep -v '^ *+' conftest.er1 >conftest.err
3640 rm -f conftest.er1
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } >/dev/null && {
3644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3645 test ! -s conftest.err
3646 }; then
3647 # Broken: success on invalid input.
3648 continue
3649 else
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 # Passes both tests.
3654 ac_preproc_ok=:
3655 break
3658 rm -f conftest.err conftest.$ac_ext
3660 done
3661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3662 rm -f conftest.err conftest.$ac_ext
3663 if $ac_preproc_ok; then
3665 else
3666 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3667 See \`config.log' for more details." >&5
3668 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log' for more details." >&2;}
3670 { (exit 1); exit 1; }; }
3673 ac_ext=c
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking for X" >&5
3681 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3684 # Check whether --with-x was given.
3685 if test "${with_x+set}" = set; then
3686 withval=$with_x;
3689 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3690 if test "x$with_x" = xno; then
3691 # The user explicitly disabled X.
3692 have_x=disabled
3693 else
3694 case $x_includes,$x_libraries in #(
3695 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3696 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3697 { (exit 1); exit 1; }; };; #(
3698 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else
3701 # One or both of the vars are not set, and there is no cached value.
3702 ac_x_includes=no ac_x_libraries=no
3703 rm -f -r conftest.dir
3704 if mkdir conftest.dir; then
3705 cd conftest.dir
3706 cat >Imakefile <<'_ACEOF'
3707 incroot:
3708 @echo incroot='${INCROOT}'
3709 usrlibdir:
3710 @echo usrlibdir='${USRLIBDIR}'
3711 libdir:
3712 @echo libdir='${LIBDIR}'
3713 _ACEOF
3714 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3716 for ac_var in incroot usrlibdir libdir; do
3717 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3718 done
3719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3720 for ac_extension in a so sl; do
3721 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3722 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3723 ac_im_usrlibdir=$ac_im_libdir; break
3725 done
3726 # Screen out bogus values from the imake configuration. They are
3727 # bogus both because they are the default anyway, and because
3728 # using them would break gcc on systems where it needs fixed includes.
3729 case $ac_im_incroot in
3730 /usr/include) ac_x_includes= ;;
3731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3732 esac
3733 case $ac_im_usrlibdir in
3734 /usr/lib | /lib) ;;
3735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3736 esac
3738 cd ..
3739 rm -f -r conftest.dir
3742 # Standard set of common directories for X headers.
3743 # Check X11 before X11Rn because it is often a symlink to the current release.
3744 ac_x_header_dirs='
3745 /usr/X11/include
3746 /usr/X11R6/include
3747 /usr/X11R5/include
3748 /usr/X11R4/include
3750 /usr/include/X11
3751 /usr/include/X11R6
3752 /usr/include/X11R5
3753 /usr/include/X11R4
3755 /usr/local/X11/include
3756 /usr/local/X11R6/include
3757 /usr/local/X11R5/include
3758 /usr/local/X11R4/include
3760 /usr/local/include/X11
3761 /usr/local/include/X11R6
3762 /usr/local/include/X11R5
3763 /usr/local/include/X11R4
3765 /usr/X386/include
3766 /usr/x386/include
3767 /usr/XFree86/include/X11
3769 /usr/include
3770 /usr/local/include
3771 /usr/unsupported/include
3772 /usr/athena/include
3773 /usr/local/x11r5/include
3774 /usr/lpp/Xamples/include
3776 /usr/openwin/include
3777 /usr/openwin/share/include'
3779 if test "$ac_x_includes" = no; then
3780 # Guess where to find include files, by looking for Xlib.h.
3781 # First, try using that file with no special directory specified.
3782 cat >conftest.$ac_ext <<_ACEOF
3783 /* confdefs.h. */
3784 _ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <X11/Xlib.h>
3789 _ACEOF
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3791 case "(($ac_try" in
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3794 esac
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3797 ac_status=$?
3798 grep -v '^ *+' conftest.er1 >conftest.err
3799 rm -f conftest.er1
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } >/dev/null && {
3803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3805 }; then
3806 # We can compile using X headers with no special include directory.
3807 ac_x_includes=
3808 else
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3812 for ac_dir in $ac_x_header_dirs; do
3813 if test -r "$ac_dir/X11/Xlib.h"; then
3814 ac_x_includes=$ac_dir
3815 break
3817 done
3820 rm -f conftest.err conftest.$ac_ext
3821 fi # $ac_x_includes = no
3823 if test "$ac_x_libraries" = no; then
3824 # Check for the libraries.
3825 # See if we find them without any special options.
3826 # Don't add to $LIBS permanently.
3827 ac_save_LIBS=$LIBS
3828 LIBS="-lX11 $LIBS"
3829 cat >conftest.$ac_ext <<_ACEOF
3830 /* confdefs.h. */
3831 _ACEOF
3832 cat confdefs.h >>conftest.$ac_ext
3833 cat >>conftest.$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3835 #include <X11/Xlib.h>
3837 main ()
3839 XrmInitialize ()
3841 return 0;
3843 _ACEOF
3844 rm -f conftest.$ac_objext conftest$ac_exeext
3845 if { (ac_try="$ac_link"
3846 case "(($ac_try" in
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3849 esac
3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3851 (eval "$ac_link") 2>conftest.er1
3852 ac_status=$?
3853 grep -v '^ *+' conftest.er1 >conftest.err
3854 rm -f conftest.er1
3855 cat conftest.err >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } && {
3858 test -z "$ac_c_werror_flag" ||
3859 test ! -s conftest.err
3860 } && test -s conftest$ac_exeext &&
3861 $as_test_x conftest$ac_exeext; then
3862 LIBS=$ac_save_LIBS
3863 # We can link X programs with no special library path.
3864 ac_x_libraries=
3865 else
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.$ac_ext >&5
3869 LIBS=$ac_save_LIBS
3870 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3872 # Don't even attempt the hair of trying to link an X program!
3873 for ac_extension in a so sl; do
3874 if test -r "$ac_dir/libX11.$ac_extension"; then
3875 ac_x_libraries=$ac_dir
3876 break 2
3878 done
3879 done
3882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3883 conftest$ac_exeext conftest.$ac_ext
3884 fi # $ac_x_libraries = no
3886 case $ac_x_includes,$ac_x_libraries in #(
3887 no,* | *,no | *\'*)
3888 # Didn't find X, or a directory has "'" in its name.
3889 ac_cv_have_x="have_x=no";; #(
3891 # Record where we found X for the cache.
3892 ac_cv_have_x="have_x=yes\
3893 ac_x_includes='$ac_x_includes'\
3894 ac_x_libraries='$ac_x_libraries'"
3895 esac
3897 ;; #(
3898 *) have_x=yes;;
3899 esac
3900 eval "$ac_cv_have_x"
3901 fi # $with_x != no
3903 if test "$have_x" != yes; then
3904 { echo "$as_me:$LINENO: result: $have_x" >&5
3905 echo "${ECHO_T}$have_x" >&6; }
3906 no_x=yes
3907 else
3908 # If each of the values was on the command line, it overrides each guess.
3909 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3910 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3911 # Update the cache value to reflect the command line values.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$x_includes'\
3914 ac_x_libraries='$x_libraries'"
3915 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3916 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3919 if test "$no_x" = yes; then
3920 # Not all programs may use this symbol, but it does not hurt to define it.
3922 cat >>confdefs.h <<\_ACEOF
3923 #define X_DISPLAY_MISSING 1
3924 _ACEOF
3926 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3927 else
3928 if test -n "$x_includes"; then
3929 X_CFLAGS="$X_CFLAGS -I$x_includes"
3932 # It would also be nice to do this for all -L options, not just this one.
3933 if test -n "$x_libraries"; then
3934 X_LIBS="$X_LIBS -L$x_libraries"
3935 # For Solaris; some versions of Sun CC require a space after -R and
3936 # others require no space. Words are not sufficient . . . .
3937 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3938 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3939 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3940 ac_xsave_c_werror_flag=$ac_c_werror_flag
3941 ac_c_werror_flag=yes
3942 cat >conftest.$ac_ext <<_ACEOF
3943 /* confdefs.h. */
3944 _ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3950 main ()
3954 return 0;
3956 _ACEOF
3957 rm -f conftest.$ac_objext conftest$ac_exeext
3958 if { (ac_try="$ac_link"
3959 case "(($ac_try" in
3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961 *) ac_try_echo=$ac_try;;
3962 esac
3963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3964 (eval "$ac_link") 2>conftest.er1
3965 ac_status=$?
3966 grep -v '^ *+' conftest.er1 >conftest.err
3967 rm -f conftest.er1
3968 cat conftest.err >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); } && {
3971 test -z "$ac_c_werror_flag" ||
3972 test ! -s conftest.err
3973 } && test -s conftest$ac_exeext &&
3974 $as_test_x conftest$ac_exeext; then
3975 { echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6; }
3977 X_LIBS="$X_LIBS -R$x_libraries"
3978 else
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3982 LIBS="$ac_xsave_LIBS -R $x_libraries"
3983 cat >conftest.$ac_ext <<_ACEOF
3984 /* confdefs.h. */
3985 _ACEOF
3986 cat confdefs.h >>conftest.$ac_ext
3987 cat >>conftest.$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3991 main ()
3995 return 0;
3997 _ACEOF
3998 rm -f conftest.$ac_objext conftest$ac_exeext
3999 if { (ac_try="$ac_link"
4000 case "(($ac_try" in
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4003 esac
4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4005 (eval "$ac_link") 2>conftest.er1
4006 ac_status=$?
4007 grep -v '^ *+' conftest.er1 >conftest.err
4008 rm -f conftest.er1
4009 cat conftest.err >&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } && {
4012 test -z "$ac_c_werror_flag" ||
4013 test ! -s conftest.err
4014 } && test -s conftest$ac_exeext &&
4015 $as_test_x conftest$ac_exeext; then
4016 { echo "$as_me:$LINENO: result: yes" >&5
4017 echo "${ECHO_T}yes" >&6; }
4018 X_LIBS="$X_LIBS -R $x_libraries"
4019 else
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 { echo "$as_me:$LINENO: result: neither works" >&5
4024 echo "${ECHO_T}neither works" >&6; }
4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4028 conftest$ac_exeext conftest.$ac_ext
4031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4032 conftest$ac_exeext conftest.$ac_ext
4033 ac_c_werror_flag=$ac_xsave_c_werror_flag
4034 LIBS=$ac_xsave_LIBS
4037 # Check for system-dependent libraries X programs must link with.
4038 # Do this before checking for the system-independent R6 libraries
4039 # (-lICE), since we may need -lsocket or whatever for X linking.
4041 if test "$ISC" = yes; then
4042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4043 else
4044 # Martyn Johnson says this is needed for Ultrix, if the X
4045 # libraries were built with DECnet support. And Karl Berry says
4046 # the Alpha needs dnet_stub (dnet does not exist).
4047 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4048 cat >conftest.$ac_ext <<_ACEOF
4049 /* confdefs.h. */
4050 _ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4055 /* Override any GCC internal prototype to avoid an error.
4056 Use char because int might match the return type of a GCC
4057 builtin and then its argument prototype would still apply. */
4058 #ifdef __cplusplus
4059 extern "C"
4060 #endif
4061 char XOpenDisplay ();
4063 main ()
4065 return XOpenDisplay ();
4067 return 0;
4069 _ACEOF
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4072 case "(($ac_try" in
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4075 esac
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4078 ac_status=$?
4079 grep -v '^ *+' conftest.er1 >conftest.err
4080 rm -f conftest.er1
4081 cat conftest.err >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest$ac_exeext &&
4087 $as_test_x conftest$ac_exeext; then
4089 else
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4093 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4094 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4095 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 else
4098 ac_check_lib_save_LIBS=$LIBS
4099 LIBS="-ldnet $LIBS"
4100 cat >conftest.$ac_ext <<_ACEOF
4101 /* confdefs.h. */
4102 _ACEOF
4103 cat confdefs.h >>conftest.$ac_ext
4104 cat >>conftest.$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4107 /* Override any GCC internal prototype to avoid an error.
4108 Use char because int might match the return type of a GCC
4109 builtin and then its argument prototype would still apply. */
4110 #ifdef __cplusplus
4111 extern "C"
4112 #endif
4113 char dnet_ntoa ();
4115 main ()
4117 return dnet_ntoa ();
4119 return 0;
4121 _ACEOF
4122 rm -f conftest.$ac_objext conftest$ac_exeext
4123 if { (ac_try="$ac_link"
4124 case "(($ac_try" in
4125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4126 *) ac_try_echo=$ac_try;;
4127 esac
4128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4129 (eval "$ac_link") 2>conftest.er1
4130 ac_status=$?
4131 grep -v '^ *+' conftest.er1 >conftest.err
4132 rm -f conftest.er1
4133 cat conftest.err >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } && {
4136 test -z "$ac_c_werror_flag" ||
4137 test ! -s conftest.err
4138 } && test -s conftest$ac_exeext &&
4139 $as_test_x conftest$ac_exeext; then
4140 ac_cv_lib_dnet_dnet_ntoa=yes
4141 else
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.$ac_ext >&5
4145 ac_cv_lib_dnet_dnet_ntoa=no
4148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4149 conftest$ac_exeext conftest.$ac_ext
4150 LIBS=$ac_check_lib_save_LIBS
4152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4158 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4159 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 else
4164 ac_check_lib_save_LIBS=$LIBS
4165 LIBS="-ldnet_stub $LIBS"
4166 cat >conftest.$ac_ext <<_ACEOF
4167 /* confdefs.h. */
4168 _ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4173 /* Override any GCC internal prototype to avoid an error.
4174 Use char because int might match the return type of a GCC
4175 builtin and then its argument prototype would still apply. */
4176 #ifdef __cplusplus
4177 extern "C"
4178 #endif
4179 char dnet_ntoa ();
4181 main ()
4183 return dnet_ntoa ();
4185 return 0;
4187 _ACEOF
4188 rm -f conftest.$ac_objext conftest$ac_exeext
4189 if { (ac_try="$ac_link"
4190 case "(($ac_try" in
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4193 esac
4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195 (eval "$ac_link") 2>conftest.er1
4196 ac_status=$?
4197 grep -v '^ *+' conftest.er1 >conftest.err
4198 rm -f conftest.er1
4199 cat conftest.err >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } && {
4202 test -z "$ac_c_werror_flag" ||
4203 test ! -s conftest.err
4204 } && test -s conftest$ac_exeext &&
4205 $as_test_x conftest$ac_exeext; then
4206 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4207 else
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4211 ac_cv_lib_dnet_stub_dnet_ntoa=no
4214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4215 conftest$ac_exeext conftest.$ac_ext
4216 LIBS=$ac_check_lib_save_LIBS
4218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4219 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4220 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4221 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4228 conftest$ac_exeext conftest.$ac_ext
4229 LIBS="$ac_xsave_LIBS"
4231 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4232 # to get the SysV transport functions.
4233 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4234 # needs -lnsl.
4235 # The nsl library prevents programs from opening the X display
4236 # on Irix 5.2, according to T.E. Dickey.
4237 # The functions gethostbyname, getservbyname, and inet_addr are
4238 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4239 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4241 if test "${ac_cv_func_gethostbyname+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 else
4244 cat >conftest.$ac_ext <<_ACEOF
4245 /* confdefs.h. */
4246 _ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4252 #define gethostbyname innocuous_gethostbyname
4254 /* System header to define __stub macros and hopefully few prototypes,
4255 which can conflict with char gethostbyname (); below.
4256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4257 <limits.h> exists even on freestanding compilers. */
4259 #ifdef __STDC__
4260 # include <limits.h>
4261 #else
4262 # include <assert.h>
4263 #endif
4265 #undef gethostbyname
4267 /* Override any GCC internal prototype to avoid an error.
4268 Use char because int might match the return type of a GCC
4269 builtin and then its argument prototype would still apply. */
4270 #ifdef __cplusplus
4271 extern "C"
4272 #endif
4273 char gethostbyname ();
4274 /* The GNU C library defines this for functions which it implements
4275 to always fail with ENOSYS. Some functions are actually named
4276 something starting with __ and the normal name is an alias. */
4277 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4278 choke me
4279 #endif
4282 main ()
4284 return gethostbyname ();
4286 return 0;
4288 _ACEOF
4289 rm -f conftest.$ac_objext conftest$ac_exeext
4290 if { (ac_try="$ac_link"
4291 case "(($ac_try" in
4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4294 esac
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_link") 2>conftest.er1
4297 ac_status=$?
4298 grep -v '^ *+' conftest.er1 >conftest.err
4299 rm -f conftest.er1
4300 cat conftest.err >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } && {
4303 test -z "$ac_c_werror_flag" ||
4304 test ! -s conftest.err
4305 } && test -s conftest$ac_exeext &&
4306 $as_test_x conftest$ac_exeext; then
4307 ac_cv_func_gethostbyname=yes
4308 else
4309 echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5
4312 ac_cv_func_gethostbyname=no
4315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4316 conftest$ac_exeext conftest.$ac_ext
4318 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4319 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4321 if test $ac_cv_func_gethostbyname = no; then
4322 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4323 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4324 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 else
4327 ac_check_lib_save_LIBS=$LIBS
4328 LIBS="-lnsl $LIBS"
4329 cat >conftest.$ac_ext <<_ACEOF
4330 /* confdefs.h. */
4331 _ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4336 /* Override any GCC internal prototype to avoid an error.
4337 Use char because int might match the return type of a GCC
4338 builtin and then its argument prototype would still apply. */
4339 #ifdef __cplusplus
4340 extern "C"
4341 #endif
4342 char gethostbyname ();
4344 main ()
4346 return gethostbyname ();
4348 return 0;
4350 _ACEOF
4351 rm -f conftest.$ac_objext conftest$ac_exeext
4352 if { (ac_try="$ac_link"
4353 case "(($ac_try" in
4354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4355 *) ac_try_echo=$ac_try;;
4356 esac
4357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4358 (eval "$ac_link") 2>conftest.er1
4359 ac_status=$?
4360 grep -v '^ *+' conftest.er1 >conftest.err
4361 rm -f conftest.er1
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } && {
4365 test -z "$ac_c_werror_flag" ||
4366 test ! -s conftest.err
4367 } && test -s conftest$ac_exeext &&
4368 $as_test_x conftest$ac_exeext; then
4369 ac_cv_lib_nsl_gethostbyname=yes
4370 else
4371 echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.$ac_ext >&5
4374 ac_cv_lib_nsl_gethostbyname=no
4377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4378 conftest$ac_exeext conftest.$ac_ext
4379 LIBS=$ac_check_lib_save_LIBS
4381 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4382 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4383 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4387 if test $ac_cv_lib_nsl_gethostbyname = no; then
4388 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4389 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4390 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 else
4393 ac_check_lib_save_LIBS=$LIBS
4394 LIBS="-lbsd $LIBS"
4395 cat >conftest.$ac_ext <<_ACEOF
4396 /* confdefs.h. */
4397 _ACEOF
4398 cat confdefs.h >>conftest.$ac_ext
4399 cat >>conftest.$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4402 /* Override any GCC internal prototype to avoid an error.
4403 Use char because int might match the return type of a GCC
4404 builtin and then its argument prototype would still apply. */
4405 #ifdef __cplusplus
4406 extern "C"
4407 #endif
4408 char gethostbyname ();
4410 main ()
4412 return gethostbyname ();
4414 return 0;
4416 _ACEOF
4417 rm -f conftest.$ac_objext conftest$ac_exeext
4418 if { (ac_try="$ac_link"
4419 case "(($ac_try" in
4420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4421 *) ac_try_echo=$ac_try;;
4422 esac
4423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4424 (eval "$ac_link") 2>conftest.er1
4425 ac_status=$?
4426 grep -v '^ *+' conftest.er1 >conftest.err
4427 rm -f conftest.er1
4428 cat conftest.err >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } && {
4431 test -z "$ac_c_werror_flag" ||
4432 test ! -s conftest.err
4433 } && test -s conftest$ac_exeext &&
4434 $as_test_x conftest$ac_exeext; then
4435 ac_cv_lib_bsd_gethostbyname=yes
4436 else
4437 echo "$as_me: failed program was:" >&5
4438 sed 's/^/| /' conftest.$ac_ext >&5
4440 ac_cv_lib_bsd_gethostbyname=no
4443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4444 conftest$ac_exeext conftest.$ac_ext
4445 LIBS=$ac_check_lib_save_LIBS
4447 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4448 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4449 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4457 # socket/setsockopt and other routines are undefined under SCO ODT
4458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4459 # on later versions), says Simon Leinen: it contains gethostby*
4460 # variants that don't use the name server (or something). -lsocket
4461 # must be given before -lnsl if both are needed. We assume that
4462 # if connect needs -lnsl, so does gethostbyname.
4463 { echo "$as_me:$LINENO: checking for connect" >&5
4464 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4465 if test "${ac_cv_func_connect+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 else
4468 cat >conftest.$ac_ext <<_ACEOF
4469 /* confdefs.h. */
4470 _ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4474 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4476 #define connect innocuous_connect
4478 /* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char connect (); below.
4480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 <limits.h> exists even on freestanding compilers. */
4483 #ifdef __STDC__
4484 # include <limits.h>
4485 #else
4486 # include <assert.h>
4487 #endif
4489 #undef connect
4491 /* Override any GCC internal prototype to avoid an error.
4492 Use char because int might match the return type of a GCC
4493 builtin and then its argument prototype would still apply. */
4494 #ifdef __cplusplus
4495 extern "C"
4496 #endif
4497 char connect ();
4498 /* The GNU C library defines this for functions which it implements
4499 to always fail with ENOSYS. Some functions are actually named
4500 something starting with __ and the normal name is an alias. */
4501 #if defined __stub_connect || defined __stub___connect
4502 choke me
4503 #endif
4506 main ()
4508 return connect ();
4510 return 0;
4512 _ACEOF
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (ac_try="$ac_link"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520 (eval "$ac_link") 2>conftest.er1
4521 ac_status=$?
4522 grep -v '^ *+' conftest.er1 >conftest.err
4523 rm -f conftest.er1
4524 cat conftest.err >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } && {
4527 test -z "$ac_c_werror_flag" ||
4528 test ! -s conftest.err
4529 } && test -s conftest$ac_exeext &&
4530 $as_test_x conftest$ac_exeext; then
4531 ac_cv_func_connect=yes
4532 else
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 ac_cv_func_connect=no
4539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4540 conftest$ac_exeext conftest.$ac_ext
4542 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4543 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4545 if test $ac_cv_func_connect = no; then
4546 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4547 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4548 if test "${ac_cv_lib_socket_connect+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 else
4551 ac_check_lib_save_LIBS=$LIBS
4552 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4553 cat >conftest.$ac_ext <<_ACEOF
4554 /* confdefs.h. */
4555 _ACEOF
4556 cat confdefs.h >>conftest.$ac_ext
4557 cat >>conftest.$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4560 /* Override any GCC internal prototype to avoid an error.
4561 Use char because int might match the return type of a GCC
4562 builtin and then its argument prototype would still apply. */
4563 #ifdef __cplusplus
4564 extern "C"
4565 #endif
4566 char connect ();
4568 main ()
4570 return connect ();
4572 return 0;
4574 _ACEOF
4575 rm -f conftest.$ac_objext conftest$ac_exeext
4576 if { (ac_try="$ac_link"
4577 case "(($ac_try" in
4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4580 esac
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_link") 2>conftest.er1
4583 ac_status=$?
4584 grep -v '^ *+' conftest.er1 >conftest.err
4585 rm -f conftest.er1
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } && {
4589 test -z "$ac_c_werror_flag" ||
4590 test ! -s conftest.err
4591 } && test -s conftest$ac_exeext &&
4592 $as_test_x conftest$ac_exeext; then
4593 ac_cv_lib_socket_connect=yes
4594 else
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_lib_socket_connect=no
4601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602 conftest$ac_exeext conftest.$ac_ext
4603 LIBS=$ac_check_lib_save_LIBS
4605 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4607 if test $ac_cv_lib_socket_connect = yes; then
4608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4613 # Guillermo Gomez says -lposix is necessary on A/UX.
4614 { echo "$as_me:$LINENO: checking for remove" >&5
4615 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4616 if test "${ac_cv_func_remove+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 else
4619 cat >conftest.$ac_ext <<_ACEOF
4620 /* confdefs.h. */
4621 _ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4625 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4627 #define remove innocuous_remove
4629 /* System header to define __stub macros and hopefully few prototypes,
4630 which can conflict with char remove (); below.
4631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632 <limits.h> exists even on freestanding compilers. */
4634 #ifdef __STDC__
4635 # include <limits.h>
4636 #else
4637 # include <assert.h>
4638 #endif
4640 #undef remove
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4645 #ifdef __cplusplus
4646 extern "C"
4647 #endif
4648 char remove ();
4649 /* The GNU C library defines this for functions which it implements
4650 to always fail with ENOSYS. Some functions are actually named
4651 something starting with __ and the normal name is an alias. */
4652 #if defined __stub_remove || defined __stub___remove
4653 choke me
4654 #endif
4657 main ()
4659 return remove ();
4661 return 0;
4663 _ACEOF
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (ac_try="$ac_link"
4666 case "(($ac_try" in
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4669 esac
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4672 ac_status=$?
4673 grep -v '^ *+' conftest.er1 >conftest.err
4674 rm -f conftest.er1
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_func_remove=yes
4683 else
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_func_remove=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4693 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4694 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4696 if test $ac_cv_func_remove = no; then
4697 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4698 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4699 if test "${ac_cv_lib_posix_remove+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 else
4702 ac_check_lib_save_LIBS=$LIBS
4703 LIBS="-lposix $LIBS"
4704 cat >conftest.$ac_ext <<_ACEOF
4705 /* confdefs.h. */
4706 _ACEOF
4707 cat confdefs.h >>conftest.$ac_ext
4708 cat >>conftest.$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4711 /* Override any GCC internal prototype to avoid an error.
4712 Use char because int might match the return type of a GCC
4713 builtin and then its argument prototype would still apply. */
4714 #ifdef __cplusplus
4715 extern "C"
4716 #endif
4717 char remove ();
4719 main ()
4721 return remove ();
4723 return 0;
4725 _ACEOF
4726 rm -f conftest.$ac_objext conftest$ac_exeext
4727 if { (ac_try="$ac_link"
4728 case "(($ac_try" in
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4731 esac
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733 (eval "$ac_link") 2>conftest.er1
4734 ac_status=$?
4735 grep -v '^ *+' conftest.er1 >conftest.err
4736 rm -f conftest.er1
4737 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } && {
4740 test -z "$ac_c_werror_flag" ||
4741 test ! -s conftest.err
4742 } && test -s conftest$ac_exeext &&
4743 $as_test_x conftest$ac_exeext; then
4744 ac_cv_lib_posix_remove=yes
4745 else
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 ac_cv_lib_posix_remove=no
4752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4753 conftest$ac_exeext conftest.$ac_ext
4754 LIBS=$ac_check_lib_save_LIBS
4756 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4757 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4758 if test $ac_cv_lib_posix_remove = yes; then
4759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4764 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4765 { echo "$as_me:$LINENO: checking for shmat" >&5
4766 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4767 if test "${ac_cv_func_shmat+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 else
4770 cat >conftest.$ac_ext <<_ACEOF
4771 /* confdefs.h. */
4772 _ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4778 #define shmat innocuous_shmat
4780 /* System header to define __stub macros and hopefully few prototypes,
4781 which can conflict with char shmat (); below.
4782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4783 <limits.h> exists even on freestanding compilers. */
4785 #ifdef __STDC__
4786 # include <limits.h>
4787 #else
4788 # include <assert.h>
4789 #endif
4791 #undef shmat
4793 /* Override any GCC internal prototype to avoid an error.
4794 Use char because int might match the return type of a GCC
4795 builtin and then its argument prototype would still apply. */
4796 #ifdef __cplusplus
4797 extern "C"
4798 #endif
4799 char shmat ();
4800 /* The GNU C library defines this for functions which it implements
4801 to always fail with ENOSYS. Some functions are actually named
4802 something starting with __ and the normal name is an alias. */
4803 #if defined __stub_shmat || defined __stub___shmat
4804 choke me
4805 #endif
4808 main ()
4810 return shmat ();
4812 return 0;
4814 _ACEOF
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4817 case "(($ac_try" in
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4820 esac
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4823 ac_status=$?
4824 grep -v '^ *+' conftest.er1 >conftest.err
4825 rm -f conftest.er1
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest$ac_exeext &&
4832 $as_test_x conftest$ac_exeext; then
4833 ac_cv_func_shmat=yes
4834 else
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 ac_cv_func_shmat=no
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842 conftest$ac_exeext conftest.$ac_ext
4844 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4845 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4847 if test $ac_cv_func_shmat = no; then
4848 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4849 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4850 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 else
4853 ac_check_lib_save_LIBS=$LIBS
4854 LIBS="-lipc $LIBS"
4855 cat >conftest.$ac_ext <<_ACEOF
4856 /* confdefs.h. */
4857 _ACEOF
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4862 /* Override any GCC internal prototype to avoid an error.
4863 Use char because int might match the return type of a GCC
4864 builtin and then its argument prototype would still apply. */
4865 #ifdef __cplusplus
4866 extern "C"
4867 #endif
4868 char shmat ();
4870 main ()
4872 return shmat ();
4874 return 0;
4876 _ACEOF
4877 rm -f conftest.$ac_objext conftest$ac_exeext
4878 if { (ac_try="$ac_link"
4879 case "(($ac_try" in
4880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4881 *) ac_try_echo=$ac_try;;
4882 esac
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884 (eval "$ac_link") 2>conftest.er1
4885 ac_status=$?
4886 grep -v '^ *+' conftest.er1 >conftest.err
4887 rm -f conftest.er1
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } && {
4891 test -z "$ac_c_werror_flag" ||
4892 test ! -s conftest.err
4893 } && test -s conftest$ac_exeext &&
4894 $as_test_x conftest$ac_exeext; then
4895 ac_cv_lib_ipc_shmat=yes
4896 else
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 ac_cv_lib_ipc_shmat=no
4903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4904 conftest$ac_exeext conftest.$ac_ext
4905 LIBS=$ac_check_lib_save_LIBS
4907 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4908 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4909 if test $ac_cv_lib_ipc_shmat = yes; then
4910 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4916 # Check for libraries that X11R6 Xt/Xaw programs need.
4917 ac_save_LDFLAGS=$LDFLAGS
4918 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4919 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4920 # check for ICE first), but we must link in the order -lSM -lICE or
4921 # we get undefined symbols. So assume we have SM if we have ICE.
4922 # These have to be linked with before -lX11, unlike the other
4923 # libraries we check for below, so use a different variable.
4924 # John Interrante, Karl Berry
4925 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4926 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4927 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4929 else
4930 ac_check_lib_save_LIBS=$LIBS
4931 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4932 cat >conftest.$ac_ext <<_ACEOF
4933 /* confdefs.h. */
4934 _ACEOF
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4939 /* Override any GCC internal prototype to avoid an error.
4940 Use char because int might match the return type of a GCC
4941 builtin and then its argument prototype would still apply. */
4942 #ifdef __cplusplus
4943 extern "C"
4944 #endif
4945 char IceConnectionNumber ();
4947 main ()
4949 return IceConnectionNumber ();
4951 return 0;
4953 _ACEOF
4954 rm -f conftest.$ac_objext conftest$ac_exeext
4955 if { (ac_try="$ac_link"
4956 case "(($ac_try" in
4957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4959 esac
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 (eval "$ac_link") 2>conftest.er1
4962 ac_status=$?
4963 grep -v '^ *+' conftest.er1 >conftest.err
4964 rm -f conftest.er1
4965 cat conftest.err >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } && {
4968 test -z "$ac_c_werror_flag" ||
4969 test ! -s conftest.err
4970 } && test -s conftest$ac_exeext &&
4971 $as_test_x conftest$ac_exeext; then
4972 ac_cv_lib_ICE_IceConnectionNumber=yes
4973 else
4974 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4977 ac_cv_lib_ICE_IceConnectionNumber=no
4980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4981 conftest$ac_exeext conftest.$ac_ext
4982 LIBS=$ac_check_lib_save_LIBS
4984 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4987 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4990 LDFLAGS=$ac_save_LDFLAGS
4995 for ac_prog in flex
4997 # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy $ac_prog; ac_word=$2
4999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5001 if test "${ac_cv_prog_FLEX+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 else
5004 if test -n "$FLEX"; then
5005 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5006 else
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 for as_dir in $PATH
5010 IFS=$as_save_IFS
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014 ac_cv_prog_FLEX="$ac_prog"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 break 2
5018 done
5019 done
5020 IFS=$as_save_IFS
5024 FLEX=$ac_cv_prog_FLEX
5025 if test -n "$FLEX"; then
5026 { echo "$as_me:$LINENO: result: $FLEX" >&5
5027 echo "${ECHO_T}$FLEX" >&6; }
5028 else
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5034 test -n "$FLEX" && break
5035 done
5036 test -n "$FLEX" || FLEX="none"
5038 if test "$FLEX" = "none"
5039 then
5040 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5041 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5042 { (exit 1); exit 1; }; }
5045 for ac_prog in bison
5047 # Extract the first word of "$ac_prog", so it can be a program name with args.
5048 set dummy $ac_prog; ac_word=$2
5049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5051 if test "${ac_cv_prog_BISON+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5053 else
5054 if test -n "$BISON"; then
5055 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5056 else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5060 IFS=$as_save_IFS
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_prog_BISON="$ac_prog"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 break 2
5068 done
5069 done
5070 IFS=$as_save_IFS
5074 BISON=$ac_cv_prog_BISON
5075 if test -n "$BISON"; then
5076 { echo "$as_me:$LINENO: result: $BISON" >&5
5077 echo "${ECHO_T}$BISON" >&6; }
5078 else
5079 { echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6; }
5084 test -n "$BISON" && break
5085 done
5086 test -n "$BISON" || BISON="none"
5088 if test "$BISON" = "none"
5089 then
5090 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5091 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5092 { (exit 1); exit 1; }; }
5095 if test -n "$ac_tool_prefix"; then
5096 for ac_prog in gas as
5098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5102 if test "${ac_cv_prog_AS+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 else
5105 if test -n "$AS"; then
5106 ac_cv_prog_AS="$AS" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5111 IFS=$as_save_IFS
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 break 2
5119 done
5120 done
5121 IFS=$as_save_IFS
5125 AS=$ac_cv_prog_AS
5126 if test -n "$AS"; then
5127 { echo "$as_me:$LINENO: result: $AS" >&5
5128 echo "${ECHO_T}$AS" >&6; }
5129 else
5130 { echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6; }
5135 test -n "$AS" && break
5136 done
5138 if test -z "$AS"; then
5139 ac_ct_AS=$AS
5140 for ac_prog in gas as
5142 # Extract the first word of "$ac_prog", so it can be a program name with args.
5143 set dummy $ac_prog; ac_word=$2
5144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5146 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 else
5149 if test -n "$ac_ct_AS"; then
5150 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5151 else
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5155 IFS=$as_save_IFS
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159 ac_cv_prog_ac_ct_AS="$ac_prog"
5160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 break 2
5163 done
5164 done
5165 IFS=$as_save_IFS
5169 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5170 if test -n "$ac_ct_AS"; then
5171 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5172 echo "${ECHO_T}$ac_ct_AS" >&6; }
5173 else
5174 { echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6; }
5179 test -n "$ac_ct_AS" && break
5180 done
5182 if test "x$ac_ct_AS" = x; then
5183 AS="as"
5184 else
5185 case $cross_compiling:$ac_tool_warned in
5186 yes:)
5187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5188 whose name does not start with the host triplet. If you think this
5189 configuration is useful to you, please write to autoconf@gnu.org." >&5
5190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5191 whose name does not start with the host triplet. If you think this
5192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5193 ac_tool_warned=yes ;;
5194 esac
5195 AS=$ac_ct_AS
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5201 set dummy ${ac_tool_prefix}ld; ac_word=$2
5202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5204 if test "${ac_cv_prog_LD+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 else
5207 if test -n "$LD"; then
5208 ac_cv_prog_LD="$LD" # Let the user override the test.
5209 else
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 for as_dir in $PATH
5213 IFS=$as_save_IFS
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217 ac_cv_prog_LD="${ac_tool_prefix}ld"
5218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 break 2
5221 done
5222 done
5223 IFS=$as_save_IFS
5227 LD=$ac_cv_prog_LD
5228 if test -n "$LD"; then
5229 { echo "$as_me:$LINENO: result: $LD" >&5
5230 echo "${ECHO_T}$LD" >&6; }
5231 else
5232 { echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6; }
5238 if test -z "$ac_cv_prog_LD"; then
5239 ac_ct_LD=$LD
5240 # Extract the first word of "ld", so it can be a program name with args.
5241 set dummy ld; ac_word=$2
5242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5244 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 else
5247 if test -n "$ac_ct_LD"; then
5248 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5249 else
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5253 IFS=$as_save_IFS
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_prog_ac_ct_LD="ld"
5258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 break 2
5261 done
5262 done
5263 IFS=$as_save_IFS
5267 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5268 if test -n "$ac_ct_LD"; then
5269 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5270 echo "${ECHO_T}$ac_ct_LD" >&6; }
5271 else
5272 { echo "$as_me:$LINENO: result: no" >&5
5273 echo "${ECHO_T}no" >&6; }
5276 if test "x$ac_ct_LD" = x; then
5277 LD="ld"
5278 else
5279 case $cross_compiling:$ac_tool_warned in
5280 yes:)
5281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5282 whose name does not start with the host triplet. If you think this
5283 configuration is useful to you, please write to autoconf@gnu.org." >&5
5284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5285 whose name does not start with the host triplet. If you think this
5286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5287 ac_tool_warned=yes ;;
5288 esac
5289 LD=$ac_ct_LD
5291 else
5292 LD="$ac_cv_prog_LD"
5295 if test -n "$ac_tool_prefix"; then
5296 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5297 set dummy ${ac_tool_prefix}ar; ac_word=$2
5298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5300 if test "${ac_cv_prog_AR+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 else
5303 if test -n "$AR"; then
5304 ac_cv_prog_AR="$AR" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5309 IFS=$as_save_IFS
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_AR="${ac_tool_prefix}ar"
5314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 break 2
5317 done
5318 done
5319 IFS=$as_save_IFS
5323 AR=$ac_cv_prog_AR
5324 if test -n "$AR"; then
5325 { echo "$as_me:$LINENO: result: $AR" >&5
5326 echo "${ECHO_T}$AR" >&6; }
5327 else
5328 { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5334 if test -z "$ac_cv_prog_AR"; then
5335 ac_ct_AR=$AR
5336 # Extract the first word of "ar", so it can be a program name with args.
5337 set dummy ar; ac_word=$2
5338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5340 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 else
5343 if test -n "$ac_ct_AR"; then
5344 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5345 else
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 for as_dir in $PATH
5349 IFS=$as_save_IFS
5350 test -z "$as_dir" && as_dir=.
5351 for ac_exec_ext in '' $ac_executable_extensions; do
5352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5353 ac_cv_prog_ac_ct_AR="ar"
5354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 break 2
5357 done
5358 done
5359 IFS=$as_save_IFS
5363 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5364 if test -n "$ac_ct_AR"; then
5365 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5366 echo "${ECHO_T}$ac_ct_AR" >&6; }
5367 else
5368 { echo "$as_me:$LINENO: result: no" >&5
5369 echo "${ECHO_T}no" >&6; }
5372 if test "x$ac_ct_AR" = x; then
5373 AR="ar"
5374 else
5375 case $cross_compiling:$ac_tool_warned in
5376 yes:)
5377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5378 whose name does not start with the host triplet. If you think this
5379 configuration is useful to you, please write to autoconf@gnu.org." >&5
5380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5381 whose name does not start with the host triplet. If you think this
5382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5383 ac_tool_warned=yes ;;
5384 esac
5385 AR=$ac_ct_AR
5387 else
5388 AR="$ac_cv_prog_AR"
5391 if test -n "$ac_tool_prefix"; then
5392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5396 if test "${ac_cv_prog_RANLIB+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 else
5399 if test -n "$RANLIB"; then
5400 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2
5413 done
5414 done
5415 IFS=$as_save_IFS
5419 RANLIB=$ac_cv_prog_RANLIB
5420 if test -n "$RANLIB"; then
5421 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5422 echo "${ECHO_T}$RANLIB" >&6; }
5423 else
5424 { echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6; }
5430 if test -z "$ac_cv_prog_RANLIB"; then
5431 ac_ct_RANLIB=$RANLIB
5432 # Extract the first word of "ranlib", so it can be a program name with args.
5433 set dummy ranlib; ac_word=$2
5434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 else
5439 if test -n "$ac_ct_RANLIB"; then
5440 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5441 else
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in $PATH
5445 IFS=$as_save_IFS
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449 ac_cv_prog_ac_ct_RANLIB="ranlib"
5450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 break 2
5453 done
5454 done
5455 IFS=$as_save_IFS
5459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5460 if test -n "$ac_ct_RANLIB"; then
5461 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5462 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5463 else
5464 { echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6; }
5468 if test "x$ac_ct_RANLIB" = x; then
5469 RANLIB=":"
5470 else
5471 case $cross_compiling:$ac_tool_warned in
5472 yes:)
5473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5474 whose name does not start with the host triplet. If you think this
5475 configuration is useful to you, please write to autoconf@gnu.org." >&5
5476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5477 whose name does not start with the host triplet. If you think this
5478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5479 ac_tool_warned=yes ;;
5480 esac
5481 RANLIB=$ac_ct_RANLIB
5483 else
5484 RANLIB="$ac_cv_prog_RANLIB"
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}strip; ac_word=$2
5490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5492 if test "${ac_cv_prog_STRIP+set}" = set; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5494 else
5495 if test -n "$STRIP"; then
5496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 break 2
5509 done
5510 done
5511 IFS=$as_save_IFS
5515 STRIP=$ac_cv_prog_STRIP
5516 if test -n "$STRIP"; then
5517 { echo "$as_me:$LINENO: result: $STRIP" >&5
5518 echo "${ECHO_T}$STRIP" >&6; }
5519 else
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5526 if test -z "$ac_cv_prog_STRIP"; then
5527 ac_ct_STRIP=$STRIP
5528 # Extract the first word of "strip", so it can be a program name with args.
5529 set dummy strip; ac_word=$2
5530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5533 echo $ECHO_N "(cached) $ECHO_C" >&6
5534 else
5535 if test -n "$ac_ct_STRIP"; then
5536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545 ac_cv_prog_ac_ct_STRIP="strip"
5546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5556 if test -n "$ac_ct_STRIP"; then
5557 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5558 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5559 else
5560 { echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6; }
5564 if test "x$ac_ct_STRIP" = x; then
5565 STRIP="strip"
5566 else
5567 case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5570 whose name does not start with the host triplet. If you think this
5571 configuration is useful to you, please write to autoconf@gnu.org." >&5
5572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5573 whose name does not start with the host triplet. If you think this
5574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5575 ac_tool_warned=yes ;;
5576 esac
5577 STRIP=$ac_ct_STRIP
5579 else
5580 STRIP="$ac_cv_prog_STRIP"
5583 if test -n "$ac_tool_prefix"; then
5584 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5585 set dummy ${ac_tool_prefix}windres; ac_word=$2
5586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5588 if test "${ac_cv_prog_WINDRES+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 else
5591 if test -n "$WINDRES"; then
5592 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5593 else
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595 for as_dir in $PATH
5597 IFS=$as_save_IFS
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5601 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 break 2
5605 done
5606 done
5607 IFS=$as_save_IFS
5611 WINDRES=$ac_cv_prog_WINDRES
5612 if test -n "$WINDRES"; then
5613 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5614 echo "${ECHO_T}$WINDRES" >&6; }
5615 else
5616 { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5622 if test -z "$ac_cv_prog_WINDRES"; then
5623 ac_ct_WINDRES=$WINDRES
5624 # Extract the first word of "windres", so it can be a program name with args.
5625 set dummy windres; ac_word=$2
5626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5628 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 else
5631 if test -n "$ac_ct_WINDRES"; then
5632 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5633 else
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635 for as_dir in $PATH
5637 IFS=$as_save_IFS
5638 test -z "$as_dir" && as_dir=.
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5641 ac_cv_prog_ac_ct_WINDRES="windres"
5642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 break 2
5645 done
5646 done
5647 IFS=$as_save_IFS
5651 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5652 if test -n "$ac_ct_WINDRES"; then
5653 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5654 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5655 else
5656 { echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6; }
5660 if test "x$ac_ct_WINDRES" = x; then
5661 WINDRES="false"
5662 else
5663 case $cross_compiling:$ac_tool_warned in
5664 yes:)
5665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5666 whose name does not start with the host triplet. If you think this
5667 configuration is useful to you, please write to autoconf@gnu.org." >&5
5668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5669 whose name does not start with the host triplet. If you think this
5670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5671 ac_tool_warned=yes ;;
5672 esac
5673 WINDRES=$ac_ct_WINDRES
5675 else
5676 WINDRES="$ac_cv_prog_WINDRES"
5679 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5680 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5681 LN_S=$as_ln_s
5682 if test "$LN_S" = "ln -s"; then
5683 { echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6; }
5685 else
5686 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5687 echo "${ECHO_T}no, using $LN_S" >&6; }
5690 { echo "$as_me:$LINENO: checking whether ln works" >&5
5691 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5692 rm -f conf$$ conf$$.file
5693 echo >conf$$.file
5694 if ln conf$$.file conf$$ 2>/dev/null; then
5695 LN=ln
5697 { echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6; }
5699 else
5700 LN="cp -p"
5702 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5703 echo "${ECHO_T}no, using $LN" >&6; }
5705 rm -f conf$$ conf$$.file
5706 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5707 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5708 if test "${ac_cv_path_GREP+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 else
5711 # Extract the first word of "grep ggrep" to use in msg output
5712 if test -z "$GREP"; then
5713 set dummy grep ggrep; ac_prog_name=$2
5714 if test "${ac_cv_path_GREP+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 else
5717 ac_path_GREP_found=false
5718 # Loop through the user's path and test for each of PROGNAME-LIST
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_prog in grep ggrep; do
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5727 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5728 # Check for GNU ac_path_GREP and select it if it is found.
5729 # Check for GNU $ac_path_GREP
5730 case `"$ac_path_GREP" --version 2>&1` in
5731 *GNU*)
5732 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5734 ac_count=0
5735 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5736 while :
5738 cat "conftest.in" "conftest.in" >"conftest.tmp"
5739 mv "conftest.tmp" "conftest.in"
5740 cp "conftest.in" "conftest.nl"
5741 echo 'GREP' >> "conftest.nl"
5742 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5743 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5744 ac_count=`expr $ac_count + 1`
5745 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5746 # Best one so far, save it but keep looking for a better one
5747 ac_cv_path_GREP="$ac_path_GREP"
5748 ac_path_GREP_max=$ac_count
5750 # 10*(2^10) chars as input seems more than enough
5751 test $ac_count -gt 10 && break
5752 done
5753 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5754 esac
5757 $ac_path_GREP_found && break 3
5758 done
5759 done
5761 done
5762 IFS=$as_save_IFS
5767 GREP="$ac_cv_path_GREP"
5768 if test -z "$GREP"; then
5769 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5770 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5771 { (exit 1); exit 1; }; }
5774 else
5775 ac_cv_path_GREP=$GREP
5780 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5781 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5782 GREP="$ac_cv_path_GREP"
5785 { echo "$as_me:$LINENO: checking for egrep" >&5
5786 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5787 if test "${ac_cv_path_EGREP+set}" = set; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5789 else
5790 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5791 then ac_cv_path_EGREP="$GREP -E"
5792 else
5793 # Extract the first word of "egrep" to use in msg output
5794 if test -z "$EGREP"; then
5795 set dummy egrep; ac_prog_name=$2
5796 if test "${ac_cv_path_EGREP+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 else
5799 ac_path_EGREP_found=false
5800 # Loop through the user's path and test for each of PROGNAME-LIST
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5804 IFS=$as_save_IFS
5805 test -z "$as_dir" && as_dir=.
5806 for ac_prog in egrep; do
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5809 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5810 # Check for GNU ac_path_EGREP and select it if it is found.
5811 # Check for GNU $ac_path_EGREP
5812 case `"$ac_path_EGREP" --version 2>&1` in
5813 *GNU*)
5814 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5816 ac_count=0
5817 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5818 while :
5820 cat "conftest.in" "conftest.in" >"conftest.tmp"
5821 mv "conftest.tmp" "conftest.in"
5822 cp "conftest.in" "conftest.nl"
5823 echo 'EGREP' >> "conftest.nl"
5824 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5825 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5826 ac_count=`expr $ac_count + 1`
5827 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5828 # Best one so far, save it but keep looking for a better one
5829 ac_cv_path_EGREP="$ac_path_EGREP"
5830 ac_path_EGREP_max=$ac_count
5832 # 10*(2^10) chars as input seems more than enough
5833 test $ac_count -gt 10 && break
5834 done
5835 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5836 esac
5839 $ac_path_EGREP_found && break 3
5840 done
5841 done
5843 done
5844 IFS=$as_save_IFS
5849 EGREP="$ac_cv_path_EGREP"
5850 if test -z "$EGREP"; then
5851 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5852 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5853 { (exit 1); exit 1; }; }
5856 else
5857 ac_cv_path_EGREP=$EGREP
5863 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5864 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5865 EGREP="$ac_cv_path_EGREP"
5868 # Extract the first word of "ldconfig", so it can be a program name with args.
5869 set dummy ldconfig; ac_word=$2
5870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5872 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5874 else
5875 case $LDCONFIG in
5876 [\\/]* | ?:[\\/]*)
5877 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in /sbin /usr/sbin $PATH
5883 IFS=$as_save_IFS
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 break 2
5891 done
5892 done
5893 IFS=$as_save_IFS
5895 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5897 esac
5899 LDCONFIG=$ac_cv_path_LDCONFIG
5900 if test -n "$LDCONFIG"; then
5901 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5902 echo "${ECHO_T}$LDCONFIG" >&6; }
5903 else
5904 { echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6; }
5909 # Find a good install program. We prefer a C program (faster),
5910 # so one script is as good as another. But avoid the broken or
5911 # incompatible versions:
5912 # SysV /etc/install, /usr/sbin/install
5913 # SunOS /usr/etc/install
5914 # IRIX /sbin/install
5915 # AIX /bin/install
5916 # AmigaOS /C/install, which installs bootblocks on floppy discs
5917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5920 # OS/2's system install, which has a completely different semantic
5921 # ./install, which can be erroneously created by make from ./install.sh.
5922 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5923 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5924 if test -z "$INSTALL"; then
5925 if test "${ac_cv_path_install+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 else
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5931 IFS=$as_save_IFS
5932 test -z "$as_dir" && as_dir=.
5933 # Account for people who put trailing slashes in PATH elements.
5934 case $as_dir/ in
5935 ./ | .// | /cC/* | \
5936 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5937 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5938 /usr/ucb/* ) ;;
5940 # OSF1 and SCO ODT 3.0 have their own names for install.
5941 # Don't use installbsd from OSF since it installs stuff as root
5942 # by default.
5943 for ac_prog in ginstall scoinst install; do
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5946 if test $ac_prog = install &&
5947 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5948 # AIX install. It has an incompatible calling convention.
5950 elif test $ac_prog = install &&
5951 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5952 # program-specific install script used by HP pwplus--don't use.
5954 else
5955 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5956 break 3
5959 done
5960 done
5962 esac
5963 done
5964 IFS=$as_save_IFS
5968 if test "${ac_cv_path_install+set}" = set; then
5969 INSTALL=$ac_cv_path_install
5970 else
5971 # As a last resort, use the slow shell script. Don't cache a
5972 # value for INSTALL within a source directory, because that will
5973 # break other packages using the cache if that directory is
5974 # removed, or if the value is a relative name.
5975 INSTALL=$ac_install_sh
5978 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5979 echo "${ECHO_T}$INSTALL" >&6; }
5981 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5982 # It thinks the first close brace ends the variable substitution.
5983 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5985 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5987 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5989 case "$INSTALL" in
5990 [\\/$]* | ?:[\\/]* ) ;;
5991 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5992 esac
5994 for ac_prog in lclint lint
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy $ac_prog; ac_word=$2
5998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000 if test "${ac_cv_prog_LINT+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 else
6003 if test -n "$LINT"; then
6004 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6005 else
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 for as_dir in $PATH
6009 IFS=$as_save_IFS
6010 test -z "$as_dir" && as_dir=.
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013 ac_cv_prog_LINT="$ac_prog"
6014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 break 2
6017 done
6018 done
6019 IFS=$as_save_IFS
6023 LINT=$ac_cv_prog_LINT
6024 if test -n "$LINT"; then
6025 { echo "$as_me:$LINENO: result: $LINT" >&5
6026 echo "${ECHO_T}$LINT" >&6; }
6027 else
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6033 test -n "$LINT" && break
6034 done
6036 if test "$LINT" = "lint"
6037 then
6038 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6043 for ac_prog in fontforge
6045 # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy $ac_prog; ac_word=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 else
6052 if test -n "$FONTFORGE"; then
6053 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_FONTFORGE="$ac_prog"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 break 2
6066 done
6067 done
6068 IFS=$as_save_IFS
6072 FONTFORGE=$ac_cv_prog_FONTFORGE
6073 if test -n "$FONTFORGE"; then
6074 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6075 echo "${ECHO_T}$FONTFORGE" >&6; }
6076 else
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6082 test -n "$FONTFORGE" && break
6083 done
6084 test -n "$FONTFORGE" || FONTFORGE="false"
6086 for ac_prog in pkg-config
6088 # Extract the first word of "$ac_prog", so it can be a program name with args.
6089 set dummy $ac_prog; ac_word=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 else
6095 if test -n "$PKG_CONFIG"; then
6096 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_PKG_CONFIG="$ac_prog"
6106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6116 if test -n "$PKG_CONFIG"; then
6117 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6118 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6119 else
6120 { echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6; }
6125 test -n "$PKG_CONFIG" && break
6126 done
6127 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6130 case $host_cpu in
6131 *i[3456789]86*)
6132 # Extract the first word of "prelink", so it can be a program name with args.
6133 set dummy prelink; ac_word=$2
6134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6136 if test "${ac_cv_path_PRELINK+set}" = set; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 else
6139 case $PRELINK in
6140 [\\/]* | ?:[\\/]*)
6141 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in /sbin /usr/sbin $PATH
6147 IFS=$as_save_IFS
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 break 2
6155 done
6156 done
6157 IFS=$as_save_IFS
6159 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6161 esac
6163 PRELINK=$ac_cv_path_PRELINK
6164 if test -n "$PRELINK"; then
6165 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6166 echo "${ECHO_T}$PRELINK" >&6; }
6167 else
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6174 esac
6178 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6179 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6180 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 else
6183 ac_check_lib_save_LIBS=$LIBS
6184 LIBS="-li386 $LIBS"
6185 cat >conftest.$ac_ext <<_ACEOF
6186 /* confdefs.h. */
6187 _ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6192 /* Override any GCC internal prototype to avoid an error.
6193 Use char because int might match the return type of a GCC
6194 builtin and then its argument prototype would still apply. */
6195 #ifdef __cplusplus
6196 extern "C"
6197 #endif
6198 char i386_set_ldt ();
6200 main ()
6202 return i386_set_ldt ();
6204 return 0;
6206 _ACEOF
6207 rm -f conftest.$ac_objext conftest$ac_exeext
6208 if { (ac_try="$ac_link"
6209 case "(($ac_try" in
6210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6211 *) ac_try_echo=$ac_try;;
6212 esac
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_link") 2>conftest.er1
6215 ac_status=$?
6216 grep -v '^ *+' conftest.er1 >conftest.err
6217 rm -f conftest.er1
6218 cat conftest.err >&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } && {
6221 test -z "$ac_c_werror_flag" ||
6222 test ! -s conftest.err
6223 } && test -s conftest$ac_exeext &&
6224 $as_test_x conftest$ac_exeext; then
6225 ac_cv_lib_i386_i386_set_ldt=yes
6226 else
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.$ac_ext >&5
6230 ac_cv_lib_i386_i386_set_ldt=no
6233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6234 conftest$ac_exeext conftest.$ac_ext
6235 LIBS=$ac_check_lib_save_LIBS
6237 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6238 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6239 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6240 cat >>confdefs.h <<_ACEOF
6241 #define HAVE_LIBI386 1
6242 _ACEOF
6244 LIBS="-li386 $LIBS"
6249 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6250 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6251 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 else
6254 ac_check_lib_save_LIBS=$LIBS
6255 LIBS="-lossaudio $LIBS"
6256 cat >conftest.$ac_ext <<_ACEOF
6257 /* confdefs.h. */
6258 _ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6263 /* Override any GCC internal prototype to avoid an error.
6264 Use char because int might match the return type of a GCC
6265 builtin and then its argument prototype would still apply. */
6266 #ifdef __cplusplus
6267 extern "C"
6268 #endif
6269 char _oss_ioctl ();
6271 main ()
6273 return _oss_ioctl ();
6275 return 0;
6277 _ACEOF
6278 rm -f conftest.$ac_objext conftest$ac_exeext
6279 if { (ac_try="$ac_link"
6280 case "(($ac_try" in
6281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6282 *) ac_try_echo=$ac_try;;
6283 esac
6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6285 (eval "$ac_link") 2>conftest.er1
6286 ac_status=$?
6287 grep -v '^ *+' conftest.er1 >conftest.err
6288 rm -f conftest.er1
6289 cat conftest.err >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } && {
6292 test -z "$ac_c_werror_flag" ||
6293 test ! -s conftest.err
6294 } && test -s conftest$ac_exeext &&
6295 $as_test_x conftest$ac_exeext; then
6296 ac_cv_lib_ossaudio__oss_ioctl=yes
6297 else
6298 echo "$as_me: failed program was:" >&5
6299 sed 's/^/| /' conftest.$ac_ext >&5
6301 ac_cv_lib_ossaudio__oss_ioctl=no
6304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6305 conftest$ac_exeext conftest.$ac_ext
6306 LIBS=$ac_check_lib_save_LIBS
6308 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6309 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6310 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6311 cat >>confdefs.h <<_ACEOF
6312 #define HAVE_LIBOSSAUDIO 1
6313 _ACEOF
6315 LIBS="-lossaudio $LIBS"
6320 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6321 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6322 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 else
6325 ac_check_lib_save_LIBS=$LIBS
6326 LIBS="-lxpg4 $LIBS"
6327 cat >conftest.$ac_ext <<_ACEOF
6328 /* confdefs.h. */
6329 _ACEOF
6330 cat confdefs.h >>conftest.$ac_ext
6331 cat >>conftest.$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6337 #ifdef __cplusplus
6338 extern "C"
6339 #endif
6340 char _xpg4_setrunelocale ();
6342 main ()
6344 return _xpg4_setrunelocale ();
6346 return 0;
6348 _ACEOF
6349 rm -f conftest.$ac_objext conftest$ac_exeext
6350 if { (ac_try="$ac_link"
6351 case "(($ac_try" in
6352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6353 *) ac_try_echo=$ac_try;;
6354 esac
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356 (eval "$ac_link") 2>conftest.er1
6357 ac_status=$?
6358 grep -v '^ *+' conftest.er1 >conftest.err
6359 rm -f conftest.er1
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && {
6363 test -z "$ac_c_werror_flag" ||
6364 test ! -s conftest.err
6365 } && test -s conftest$ac_exeext &&
6366 $as_test_x conftest$ac_exeext; then
6367 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6368 else
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6372 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6376 conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6379 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6380 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6381 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6382 cat >>confdefs.h <<_ACEOF
6383 #define HAVE_LIBXPG4 1
6384 _ACEOF
6386 LIBS="-lxpg4 $LIBS"
6390 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6391 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6392 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6394 else
6395 ac_check_lib_save_LIBS=$LIBS
6396 LIBS="-lpthread $LIBS"
6397 cat >conftest.$ac_ext <<_ACEOF
6398 /* confdefs.h. */
6399 _ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6404 /* Override any GCC internal prototype to avoid an error.
6405 Use char because int might match the return type of a GCC
6406 builtin and then its argument prototype would still apply. */
6407 #ifdef __cplusplus
6408 extern "C"
6409 #endif
6410 char pthread_create ();
6412 main ()
6414 return pthread_create ();
6416 return 0;
6418 _ACEOF
6419 rm -f conftest.$ac_objext conftest$ac_exeext
6420 if { (ac_try="$ac_link"
6421 case "(($ac_try" in
6422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6423 *) ac_try_echo=$ac_try;;
6424 esac
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426 (eval "$ac_link") 2>conftest.er1
6427 ac_status=$?
6428 grep -v '^ *+' conftest.er1 >conftest.err
6429 rm -f conftest.er1
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } && {
6433 test -z "$ac_c_werror_flag" ||
6434 test ! -s conftest.err
6435 } && test -s conftest$ac_exeext &&
6436 $as_test_x conftest$ac_exeext; then
6437 ac_cv_lib_pthread_pthread_create=yes
6438 else
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 ac_cv_lib_pthread_pthread_create=no
6445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6446 conftest$ac_exeext conftest.$ac_ext
6447 LIBS=$ac_check_lib_save_LIBS
6449 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6450 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6451 if test $ac_cv_lib_pthread_pthread_create = yes; then
6452 LIBPTHREAD="-lpthread"
6457 XLIB=""
6459 XFILES=""
6461 OPENGLFILES=""
6463 GLU32FILES=""
6465 OPENGL_LIBS=""
6467 QUARTZFILES=""
6471 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6472 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6473 if test "${ac_cv_header_stdc+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6475 else
6476 cat >conftest.$ac_ext <<_ACEOF
6477 /* confdefs.h. */
6478 _ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6482 #include <stdlib.h>
6483 #include <stdarg.h>
6484 #include <string.h>
6485 #include <float.h>
6488 main ()
6492 return 0;
6494 _ACEOF
6495 rm -f conftest.$ac_objext
6496 if { (ac_try="$ac_compile"
6497 case "(($ac_try" in
6498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6499 *) ac_try_echo=$ac_try;;
6500 esac
6501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6502 (eval "$ac_compile") 2>conftest.er1
6503 ac_status=$?
6504 grep -v '^ *+' conftest.er1 >conftest.err
6505 rm -f conftest.er1
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } && {
6509 test -z "$ac_c_werror_flag" ||
6510 test ! -s conftest.err
6511 } && test -s conftest.$ac_objext; then
6512 ac_cv_header_stdc=yes
6513 else
6514 echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.$ac_ext >&5
6517 ac_cv_header_stdc=no
6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6522 if test $ac_cv_header_stdc = yes; then
6523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6524 cat >conftest.$ac_ext <<_ACEOF
6525 /* confdefs.h. */
6526 _ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6530 #include <string.h>
6532 _ACEOF
6533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6534 $EGREP "memchr" >/dev/null 2>&1; then
6536 else
6537 ac_cv_header_stdc=no
6539 rm -f conftest*
6543 if test $ac_cv_header_stdc = yes; then
6544 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6545 cat >conftest.$ac_ext <<_ACEOF
6546 /* confdefs.h. */
6547 _ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6551 #include <stdlib.h>
6553 _ACEOF
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555 $EGREP "free" >/dev/null 2>&1; then
6557 else
6558 ac_cv_header_stdc=no
6560 rm -f conftest*
6564 if test $ac_cv_header_stdc = yes; then
6565 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6566 if test "$cross_compiling" = yes; then
6568 else
6569 cat >conftest.$ac_ext <<_ACEOF
6570 /* confdefs.h. */
6571 _ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6575 #include <ctype.h>
6576 #include <stdlib.h>
6577 #if ((' ' & 0x0FF) == 0x020)
6578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6580 #else
6581 # define ISLOWER(c) \
6582 (('a' <= (c) && (c) <= 'i') \
6583 || ('j' <= (c) && (c) <= 'r') \
6584 || ('s' <= (c) && (c) <= 'z'))
6585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6586 #endif
6588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6590 main ()
6592 int i;
6593 for (i = 0; i < 256; i++)
6594 if (XOR (islower (i), ISLOWER (i))
6595 || toupper (i) != TOUPPER (i))
6596 return 2;
6597 return 0;
6599 _ACEOF
6600 rm -f conftest$ac_exeext
6601 if { (ac_try="$ac_link"
6602 case "(($ac_try" in
6603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6604 *) ac_try_echo=$ac_try;;
6605 esac
6606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6607 (eval "$ac_link") 2>&5
6608 ac_status=$?
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6611 { (case "(($ac_try" in
6612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6613 *) ac_try_echo=$ac_try;;
6614 esac
6615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6616 (eval "$ac_try") 2>&5
6617 ac_status=$?
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6621 else
6622 echo "$as_me: program exited with status $ac_status" >&5
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 ( exit $ac_status )
6627 ac_cv_header_stdc=no
6629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6635 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6636 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6637 if test $ac_cv_header_stdc = yes; then
6639 cat >>confdefs.h <<\_ACEOF
6640 #define STDC_HEADERS 1
6641 _ACEOF
6645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6655 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6656 inttypes.h stdint.h unistd.h
6658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 else
6664 cat >conftest.$ac_ext <<_ACEOF
6665 /* confdefs.h. */
6666 _ACEOF
6667 cat confdefs.h >>conftest.$ac_ext
6668 cat >>conftest.$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6670 $ac_includes_default
6672 #include <$ac_header>
6673 _ACEOF
6674 rm -f conftest.$ac_objext
6675 if { (ac_try="$ac_compile"
6676 case "(($ac_try" in
6677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6678 *) ac_try_echo=$ac_try;;
6679 esac
6680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6681 (eval "$ac_compile") 2>conftest.er1
6682 ac_status=$?
6683 grep -v '^ *+' conftest.er1 >conftest.err
6684 rm -f conftest.er1
6685 cat conftest.err >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } && {
6688 test -z "$ac_c_werror_flag" ||
6689 test ! -s conftest.err
6690 } && test -s conftest.$ac_objext; then
6691 eval "$as_ac_Header=yes"
6692 else
6693 echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.$ac_ext >&5
6696 eval "$as_ac_Header=no"
6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6701 ac_res=`eval echo '${'$as_ac_Header'}'`
6702 { echo "$as_me:$LINENO: result: $ac_res" >&5
6703 echo "${ECHO_T}$ac_res" >&6; }
6704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6705 cat >>confdefs.h <<_ACEOF
6706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6707 _ACEOF
6711 done
6824 for ac_header in \
6825 AudioUnit/AudioUnit.h \
6826 Carbon/Carbon.h \
6827 CoreAudio/CoreAudio.h \
6828 DiskArbitration/DiskArbitration.h \
6829 IOKit/IOKitLib.h \
6830 alsa/asoundlib.h \
6831 arpa/inet.h \
6832 arpa/nameser.h \
6833 asm/types.h \
6834 capi20.h \
6835 cups/cups.h \
6836 curses.h \
6837 direct.h \
6838 dlfcn.h \
6839 elf.h \
6840 float.h \
6841 fontconfig/fontconfig.h \
6842 getopt.h \
6843 ieeefp.h \
6844 io.h \
6845 jack/jack.h \
6846 jpeglib.h \
6847 lber.h \
6848 lcms.h \
6849 lcms/lcms.h \
6850 ldap.h \
6851 libaudioio.h \
6852 link.h \
6853 linux/cdrom.h \
6854 linux/compiler.h \
6855 linux/hdreg.h \
6856 linux/input.h \
6857 linux/ioctl.h \
6858 linux/joystick.h \
6859 linux/major.h \
6860 linux/param.h \
6861 linux/serial.h \
6862 linux/ucdrom.h \
6863 mach/mach.h \
6864 mach/machine.h \
6865 machine/cpu.h \
6866 machine/limits.h \
6867 machine/soundcard.h \
6868 mntent.h \
6869 ncurses.h \
6870 netdb.h \
6871 netinet/in.h \
6872 netinet/in_systm.h \
6873 netinet/tcp.h \
6874 netinet/tcp_fsm.h \
6875 openssl/err.h \
6876 openssl/ssl.h \
6877 png.h \
6878 poll.h \
6879 process.h \
6880 pthread.h \
6881 pwd.h \
6882 regex.h \
6883 sched.h \
6884 scsi/scsi.h \
6885 scsi/scsi_ioctl.h \
6886 scsi/sg.h \
6887 soundcard.h \
6888 stdint.h \
6889 strings.h \
6890 sys/asoundlib.h \
6891 sys/cdio.h \
6892 sys/elf32.h \
6893 sys/epoll.h \
6894 sys/errno.h \
6895 sys/event.h \
6896 sys/exec_elf.h \
6897 sys/filio.h \
6898 sys/ioctl.h \
6899 sys/ipc.h \
6900 sys/limits.h \
6901 sys/link.h \
6902 sys/lwp.h \
6903 sys/mman.h \
6904 sys/modem.h \
6905 sys/msg.h \
6906 sys/mtio.h \
6907 sys/param.h \
6908 sys/poll.h \
6909 sys/prctl.h \
6910 sys/ptrace.h \
6911 sys/reg.h \
6912 sys/resource.h \
6913 sys/scsiio.h \
6914 sys/shm.h \
6915 sys/signal.h \
6916 sys/socket.h \
6917 sys/sockio.h \
6918 sys/soundcard.h \
6919 sys/statvfs.h \
6920 sys/strtio.h \
6921 sys/syscall.h \
6922 sys/sysctl.h \
6923 sys/time.h \
6924 sys/times.h \
6925 sys/uio.h \
6926 sys/un.h \
6927 sys/vm86.h \
6928 sys/wait.h \
6929 syscall.h \
6930 termios.h \
6931 unicode/ubidi.h \
6932 unistd.h \
6933 utime.h \
6934 valgrind/memcheck.h
6937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6939 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 ac_res=`eval echo '${'$as_ac_Header'}'`
6945 { echo "$as_me:$LINENO: result: $ac_res" >&5
6946 echo "${ECHO_T}$ac_res" >&6; }
6947 else
6948 # Is the header compilable?
6949 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6951 cat >conftest.$ac_ext <<_ACEOF
6952 /* confdefs.h. */
6953 _ACEOF
6954 cat confdefs.h >>conftest.$ac_ext
6955 cat >>conftest.$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6957 $ac_includes_default
6958 #include <$ac_header>
6959 _ACEOF
6960 rm -f conftest.$ac_objext
6961 if { (ac_try="$ac_compile"
6962 case "(($ac_try" in
6963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6964 *) ac_try_echo=$ac_try;;
6965 esac
6966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6967 (eval "$ac_compile") 2>conftest.er1
6968 ac_status=$?
6969 grep -v '^ *+' conftest.er1 >conftest.err
6970 rm -f conftest.er1
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } && {
6974 test -z "$ac_c_werror_flag" ||
6975 test ! -s conftest.err
6976 } && test -s conftest.$ac_objext; then
6977 ac_header_compiler=yes
6978 else
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.$ac_ext >&5
6982 ac_header_compiler=no
6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6986 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6987 echo "${ECHO_T}$ac_header_compiler" >&6; }
6989 # Is the header present?
6990 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6992 cat >conftest.$ac_ext <<_ACEOF
6993 /* confdefs.h. */
6994 _ACEOF
6995 cat confdefs.h >>conftest.$ac_ext
6996 cat >>conftest.$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 #include <$ac_header>
6999 _ACEOF
7000 if { (ac_try="$ac_cpp conftest.$ac_ext"
7001 case "(($ac_try" in
7002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7003 *) ac_try_echo=$ac_try;;
7004 esac
7005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7007 ac_status=$?
7008 grep -v '^ *+' conftest.er1 >conftest.err
7009 rm -f conftest.er1
7010 cat conftest.err >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } >/dev/null && {
7013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7014 test ! -s conftest.err
7015 }; then
7016 ac_header_preproc=yes
7017 else
7018 echo "$as_me: failed program was:" >&5
7019 sed 's/^/| /' conftest.$ac_ext >&5
7021 ac_header_preproc=no
7024 rm -f conftest.err conftest.$ac_ext
7025 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7026 echo "${ECHO_T}$ac_header_preproc" >&6; }
7028 # So? What about this header?
7029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7030 yes:no: )
7031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7035 ac_header_preproc=yes
7037 no:yes:* )
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7044 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7045 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7048 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7050 ( cat <<\_ASBOX
7051 ## ------------------------------------ ##
7052 ## Report this to wine-devel@winehq.org ##
7053 ## ------------------------------------ ##
7054 _ASBOX
7055 ) | sed "s/^/$as_me: WARNING: /" >&2
7057 esac
7058 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7061 echo $ECHO_N "(cached) $ECHO_C" >&6
7062 else
7063 eval "$as_ac_Header=\$ac_header_preproc"
7065 ac_res=`eval echo '${'$as_ac_Header'}'`
7066 { echo "$as_me:$LINENO: result: $ac_res" >&5
7067 echo "${ECHO_T}$ac_res" >&6; }
7070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7071 cat >>confdefs.h <<_ACEOF
7072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7073 _ACEOF
7077 done
7079 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7080 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7081 if test "${ac_cv_header_stat_broken+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7083 else
7084 cat >conftest.$ac_ext <<_ACEOF
7085 /* confdefs.h. */
7086 _ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 #include <sys/types.h>
7091 #include <sys/stat.h>
7093 #if defined S_ISBLK && defined S_IFDIR
7094 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7095 #endif
7097 #if defined S_ISBLK && defined S_IFCHR
7098 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7099 #endif
7101 #if defined S_ISLNK && defined S_IFREG
7102 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7103 #endif
7105 #if defined S_ISSOCK && defined S_IFREG
7106 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7107 #endif
7109 _ACEOF
7110 rm -f conftest.$ac_objext
7111 if { (ac_try="$ac_compile"
7112 case "(($ac_try" in
7113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7114 *) ac_try_echo=$ac_try;;
7115 esac
7116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7117 (eval "$ac_compile") 2>conftest.er1
7118 ac_status=$?
7119 grep -v '^ *+' conftest.er1 >conftest.err
7120 rm -f conftest.er1
7121 cat conftest.err >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } && {
7124 test -z "$ac_c_werror_flag" ||
7125 test ! -s conftest.err
7126 } && test -s conftest.$ac_objext; then
7127 ac_cv_header_stat_broken=no
7128 else
7129 echo "$as_me: failed program was:" >&5
7130 sed 's/^/| /' conftest.$ac_ext >&5
7132 ac_cv_header_stat_broken=yes
7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7137 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7138 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7139 if test $ac_cv_header_stat_broken = yes; then
7141 cat >>confdefs.h <<\_ACEOF
7142 #define STAT_MACROS_BROKEN 1
7143 _ACEOF
7153 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 else
7161 cat >conftest.$ac_ext <<_ACEOF
7162 /* confdefs.h. */
7163 _ACEOF
7164 cat confdefs.h >>conftest.$ac_ext
7165 cat >>conftest.$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7167 #include <sys/types.h>
7168 #if HAVE_SYS_PARAM_H
7169 # include <sys/param.h>
7170 #endif
7172 #include <$ac_header>
7173 _ACEOF
7174 rm -f conftest.$ac_objext
7175 if { (ac_try="$ac_compile"
7176 case "(($ac_try" in
7177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7178 *) ac_try_echo=$ac_try;;
7179 esac
7180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7181 (eval "$ac_compile") 2>conftest.er1
7182 ac_status=$?
7183 grep -v '^ *+' conftest.er1 >conftest.err
7184 rm -f conftest.er1
7185 cat conftest.err >&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } && {
7188 test -z "$ac_c_werror_flag" ||
7189 test ! -s conftest.err
7190 } && test -s conftest.$ac_objext; then
7191 eval "$as_ac_Header=yes"
7192 else
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.$ac_ext >&5
7196 eval "$as_ac_Header=no"
7199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7201 ac_res=`eval echo '${'$as_ac_Header'}'`
7202 { echo "$as_me:$LINENO: result: $ac_res" >&5
7203 echo "${ECHO_T}$ac_res" >&6; }
7204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7205 cat >>confdefs.h <<_ACEOF
7206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7207 _ACEOF
7211 done
7220 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7227 else
7228 cat >conftest.$ac_ext <<_ACEOF
7229 /* confdefs.h. */
7230 _ACEOF
7231 cat confdefs.h >>conftest.$ac_ext
7232 cat >>conftest.$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #if HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7237 #endif
7239 #include <$ac_header>
7240 _ACEOF
7241 rm -f conftest.$ac_objext
7242 if { (ac_try="$ac_compile"
7243 case "(($ac_try" in
7244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7245 *) ac_try_echo=$ac_try;;
7246 esac
7247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7248 (eval "$ac_compile") 2>conftest.er1
7249 ac_status=$?
7250 grep -v '^ *+' conftest.er1 >conftest.err
7251 rm -f conftest.er1
7252 cat conftest.err >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } && {
7255 test -z "$ac_c_werror_flag" ||
7256 test ! -s conftest.err
7257 } && test -s conftest.$ac_objext; then
7258 eval "$as_ac_Header=yes"
7259 else
7260 echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.$ac_ext >&5
7263 eval "$as_ac_Header=no"
7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7268 ac_res=`eval echo '${'$as_ac_Header'}'`
7269 { echo "$as_me:$LINENO: result: $ac_res" >&5
7270 echo "${ECHO_T}$ac_res" >&6; }
7271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7272 cat >>confdefs.h <<_ACEOF
7273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7274 _ACEOF
7278 done
7282 for ac_header in linux/ipx.h
7284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7288 echo $ECHO_N "(cached) $ECHO_C" >&6
7289 else
7290 cat >conftest.$ac_ext <<_ACEOF
7291 /* confdefs.h. */
7292 _ACEOF
7293 cat confdefs.h >>conftest.$ac_ext
7294 cat >>conftest.$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7296 #include <sys/types.h>
7297 #ifdef HAVE_ASM_TYPES_H
7298 # include <asm/types.h>
7299 #endif
7300 #if HAVE_SYS_SOCKET_H
7301 # include <sys/socket.h>
7302 #endif
7304 #include <$ac_header>
7305 _ACEOF
7306 rm -f conftest.$ac_objext
7307 if { (ac_try="$ac_compile"
7308 case "(($ac_try" in
7309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7310 *) ac_try_echo=$ac_try;;
7311 esac
7312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7313 (eval "$ac_compile") 2>conftest.er1
7314 ac_status=$?
7315 grep -v '^ *+' conftest.er1 >conftest.err
7316 rm -f conftest.er1
7317 cat conftest.err >&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } && {
7320 test -z "$ac_c_werror_flag" ||
7321 test ! -s conftest.err
7322 } && test -s conftest.$ac_objext; then
7323 eval "$as_ac_Header=yes"
7324 else
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.$ac_ext >&5
7328 eval "$as_ac_Header=no"
7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7333 ac_res=`eval echo '${'$as_ac_Header'}'`
7334 { echo "$as_me:$LINENO: result: $ac_res" >&5
7335 echo "${ECHO_T}$ac_res" >&6; }
7336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7337 cat >>confdefs.h <<_ACEOF
7338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7339 _ACEOF
7343 done
7347 for ac_header in resolv.h
7349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 else
7355 cat >conftest.$ac_ext <<_ACEOF
7356 /* confdefs.h. */
7357 _ACEOF
7358 cat confdefs.h >>conftest.$ac_ext
7359 cat >>conftest.$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 #include <sys/types.h>
7362 #if HAVE_SYS_SOCKET_H
7363 # include <sys/socket.h>
7364 #endif
7365 #if HAVE_NETINET_IN_H
7366 # include <netinet/in.h>
7367 #endif
7368 #if HAVE_ARPA_NAMESER_H
7369 # include <arpa/nameser.h>
7370 #endif
7372 #include <$ac_header>
7373 _ACEOF
7374 rm -f conftest.$ac_objext
7375 if { (ac_try="$ac_compile"
7376 case "(($ac_try" in
7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7379 esac
7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381 (eval "$ac_compile") 2>conftest.er1
7382 ac_status=$?
7383 grep -v '^ *+' conftest.er1 >conftest.err
7384 rm -f conftest.er1
7385 cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); } && {
7388 test -z "$ac_c_werror_flag" ||
7389 test ! -s conftest.err
7390 } && test -s conftest.$ac_objext; then
7391 eval "$as_ac_Header=yes"
7392 else
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 eval "$as_ac_Header=no"
7399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7401 ac_res=`eval echo '${'$as_ac_Header'}'`
7402 { echo "$as_me:$LINENO: result: $ac_res" >&5
7403 echo "${ECHO_T}$ac_res" >&6; }
7404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7405 cat >>confdefs.h <<_ACEOF
7406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7407 _ACEOF
7411 done
7415 for ac_header in ucontext.h
7417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6
7422 else
7423 cat >conftest.$ac_ext <<_ACEOF
7424 /* confdefs.h. */
7425 _ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7429 #include <signal.h>
7431 #include <$ac_header>
7432 _ACEOF
7433 rm -f conftest.$ac_objext
7434 if { (ac_try="$ac_compile"
7435 case "(($ac_try" in
7436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7437 *) ac_try_echo=$ac_try;;
7438 esac
7439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440 (eval "$ac_compile") 2>conftest.er1
7441 ac_status=$?
7442 grep -v '^ *+' conftest.er1 >conftest.err
7443 rm -f conftest.er1
7444 cat conftest.err >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && {
7447 test -z "$ac_c_werror_flag" ||
7448 test ! -s conftest.err
7449 } && test -s conftest.$ac_objext; then
7450 eval "$as_ac_Header=yes"
7451 else
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7455 eval "$as_ac_Header=no"
7458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7460 ac_res=`eval echo '${'$as_ac_Header'}'`
7461 { echo "$as_me:$LINENO: result: $ac_res" >&5
7462 echo "${ECHO_T}$ac_res" >&6; }
7463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7464 cat >>confdefs.h <<_ACEOF
7465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7466 _ACEOF
7470 done
7474 for ac_header in pthread_np.h
7476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7477 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7481 else
7482 cat >conftest.$ac_ext <<_ACEOF
7483 /* confdefs.h. */
7484 _ACEOF
7485 cat confdefs.h >>conftest.$ac_ext
7486 cat >>conftest.$ac_ext <<_ACEOF
7487 /* end confdefs.h. */
7488 #ifdef HAVE_PTHREAD_H
7489 #include <pthread.h>
7490 #endif
7492 #include <$ac_header>
7493 _ACEOF
7494 rm -f conftest.$ac_objext
7495 if { (ac_try="$ac_compile"
7496 case "(($ac_try" in
7497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7498 *) ac_try_echo=$ac_try;;
7499 esac
7500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7501 (eval "$ac_compile") 2>conftest.er1
7502 ac_status=$?
7503 grep -v '^ *+' conftest.er1 >conftest.err
7504 rm -f conftest.er1
7505 cat conftest.err >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } && {
7508 test -z "$ac_c_werror_flag" ||
7509 test ! -s conftest.err
7510 } && test -s conftest.$ac_objext; then
7511 eval "$as_ac_Header=yes"
7512 else
7513 echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7516 eval "$as_ac_Header=no"
7519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7521 ac_res=`eval echo '${'$as_ac_Header'}'`
7522 { echo "$as_me:$LINENO: result: $ac_res" >&5
7523 echo "${ECHO_T}$ac_res" >&6; }
7524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7525 cat >>confdefs.h <<_ACEOF
7526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7527 _ACEOF
7531 done
7535 for ac_header in linux/videodev.h
7537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7541 echo $ECHO_N "(cached) $ECHO_C" >&6
7542 else
7543 cat >conftest.$ac_ext <<_ACEOF
7544 /* confdefs.h. */
7545 _ACEOF
7546 cat confdefs.h >>conftest.$ac_ext
7547 cat >>conftest.$ac_ext <<_ACEOF
7548 /* end confdefs.h. */
7549 #ifdef HAVE_SYS_TIME_H
7550 #include <sys/time.h>
7551 #endif
7552 #include <sys/types.h>
7553 #ifdef HAVE_ASM_TYPES_H
7554 #include <asm/types.h>
7555 #endif
7557 #include <$ac_header>
7558 _ACEOF
7559 rm -f conftest.$ac_objext
7560 if { (ac_try="$ac_compile"
7561 case "(($ac_try" in
7562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7563 *) ac_try_echo=$ac_try;;
7564 esac
7565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7566 (eval "$ac_compile") 2>conftest.er1
7567 ac_status=$?
7568 grep -v '^ *+' conftest.er1 >conftest.err
7569 rm -f conftest.er1
7570 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } && {
7573 test -z "$ac_c_werror_flag" ||
7574 test ! -s conftest.err
7575 } && test -s conftest.$ac_objext; then
7576 eval "$as_ac_Header=yes"
7577 else
7578 echo "$as_me: failed program was:" >&5
7579 sed 's/^/| /' conftest.$ac_ext >&5
7581 eval "$as_ac_Header=no"
7584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7586 ac_res=`eval echo '${'$as_ac_Header'}'`
7587 { echo "$as_me:$LINENO: result: $ac_res" >&5
7588 echo "${ECHO_T}$ac_res" >&6; }
7589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7590 cat >>confdefs.h <<_ACEOF
7591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7592 _ACEOF
7596 done
7600 for ac_header in linux/capi.h
7602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7607 else
7608 cat >conftest.$ac_ext <<_ACEOF
7609 /* confdefs.h. */
7610 _ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7614 #define __user
7616 #include <$ac_header>
7617 _ACEOF
7618 rm -f conftest.$ac_objext
7619 if { (ac_try="$ac_compile"
7620 case "(($ac_try" in
7621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7622 *) ac_try_echo=$ac_try;;
7623 esac
7624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7625 (eval "$ac_compile") 2>conftest.er1
7626 ac_status=$?
7627 grep -v '^ *+' conftest.er1 >conftest.err
7628 rm -f conftest.er1
7629 cat conftest.err >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } && {
7632 test -z "$ac_c_werror_flag" ||
7633 test ! -s conftest.err
7634 } && test -s conftest.$ac_objext; then
7635 eval "$as_ac_Header=yes"
7636 else
7637 echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 eval "$as_ac_Header=no"
7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7645 ac_res=`eval echo '${'$as_ac_Header'}'`
7646 { echo "$as_me:$LINENO: result: $ac_res" >&5
7647 echo "${ECHO_T}$ac_res" >&6; }
7648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7651 _ACEOF
7655 done
7659 DLLEXT=""
7661 DLLFLAGS="-D_REENTRANT"
7663 LDSHARED=""
7665 LDDLLFLAGS=""
7667 LIBEXT="so"
7669 IMPLIBEXT="def"
7671 LDRPATH_INSTALL=""
7673 LDRPATH_LOCAL=""
7675 # Extract the first word of "ldd", so it can be a program name with args.
7676 set dummy ldd; ac_word=$2
7677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7679 if test "${ac_cv_path_LDD+set}" = set; then
7680 echo $ECHO_N "(cached) $ECHO_C" >&6
7681 else
7682 case $LDD in
7683 [\\/]* | ?:[\\/]*)
7684 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688 as_dummy="/sbin:/usr/sbin:$PATH"
7689 for as_dir in $as_dummy
7691 IFS=$as_save_IFS
7692 test -z "$as_dir" && as_dir=.
7693 for ac_exec_ext in '' $ac_executable_extensions; do
7694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7695 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7697 break 2
7699 done
7700 done
7701 IFS=$as_save_IFS
7703 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7705 esac
7707 LDD=$ac_cv_path_LDD
7708 if test -n "$LDD"; then
7709 { echo "$as_me:$LINENO: result: $LDD" >&5
7710 echo "${ECHO_T}$LDD" >&6; }
7711 else
7712 { echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6; }
7718 case $host_os in
7719 cygwin*|mingw32*)
7720 if test -n "$ac_tool_prefix"; then
7721 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7722 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7725 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7726 echo $ECHO_N "(cached) $ECHO_C" >&6
7727 else
7728 if test -n "$DLLTOOL"; then
7729 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7730 else
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732 for as_dir in $PATH
7734 IFS=$as_save_IFS
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7740 break 2
7742 done
7743 done
7744 IFS=$as_save_IFS
7748 DLLTOOL=$ac_cv_prog_DLLTOOL
7749 if test -n "$DLLTOOL"; then
7750 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7751 echo "${ECHO_T}$DLLTOOL" >&6; }
7752 else
7753 { echo "$as_me:$LINENO: result: no" >&5
7754 echo "${ECHO_T}no" >&6; }
7759 if test -z "$ac_cv_prog_DLLTOOL"; then
7760 ac_ct_DLLTOOL=$DLLTOOL
7761 # Extract the first word of "dlltool", so it can be a program name with args.
7762 set dummy dlltool; ac_word=$2
7763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7765 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7766 echo $ECHO_N "(cached) $ECHO_C" >&6
7767 else
7768 if test -n "$ac_ct_DLLTOOL"; then
7769 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7770 else
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772 for as_dir in $PATH
7774 IFS=$as_save_IFS
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7778 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 break 2
7782 done
7783 done
7784 IFS=$as_save_IFS
7788 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7789 if test -n "$ac_ct_DLLTOOL"; then
7790 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7791 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7792 else
7793 { echo "$as_me:$LINENO: result: no" >&5
7794 echo "${ECHO_T}no" >&6; }
7797 if test "x$ac_ct_DLLTOOL" = x; then
7798 DLLTOOL="false"
7799 else
7800 case $cross_compiling:$ac_tool_warned in
7801 yes:)
7802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7803 whose name does not start with the host triplet. If you think this
7804 configuration is useful to you, please write to autoconf@gnu.org." >&5
7805 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7806 whose name does not start with the host triplet. If you think this
7807 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7808 ac_tool_warned=yes ;;
7809 esac
7810 DLLTOOL=$ac_ct_DLLTOOL
7812 else
7813 DLLTOOL="$ac_cv_prog_DLLTOOL"
7816 if test -n "$ac_tool_prefix"; then
7817 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7818 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7821 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7822 echo $ECHO_N "(cached) $ECHO_C" >&6
7823 else
7824 if test -n "$DLLWRAP"; then
7825 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7826 else
7827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7828 for as_dir in $PATH
7830 IFS=$as_save_IFS
7831 test -z "$as_dir" && as_dir=.
7832 for ac_exec_ext in '' $ac_executable_extensions; do
7833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7834 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7836 break 2
7838 done
7839 done
7840 IFS=$as_save_IFS
7844 DLLWRAP=$ac_cv_prog_DLLWRAP
7845 if test -n "$DLLWRAP"; then
7846 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7847 echo "${ECHO_T}$DLLWRAP" >&6; }
7848 else
7849 { echo "$as_me:$LINENO: result: no" >&5
7850 echo "${ECHO_T}no" >&6; }
7855 if test -z "$ac_cv_prog_DLLWRAP"; then
7856 ac_ct_DLLWRAP=$DLLWRAP
7857 # Extract the first word of "dllwrap", so it can be a program name with args.
7858 set dummy dllwrap; ac_word=$2
7859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7861 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7862 echo $ECHO_N "(cached) $ECHO_C" >&6
7863 else
7864 if test -n "$ac_ct_DLLWRAP"; then
7865 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7866 else
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7868 for as_dir in $PATH
7870 IFS=$as_save_IFS
7871 test -z "$as_dir" && as_dir=.
7872 for ac_exec_ext in '' $ac_executable_extensions; do
7873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7874 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7876 break 2
7878 done
7879 done
7880 IFS=$as_save_IFS
7884 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7885 if test -n "$ac_ct_DLLWRAP"; then
7886 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7887 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7888 else
7889 { echo "$as_me:$LINENO: result: no" >&5
7890 echo "${ECHO_T}no" >&6; }
7893 if test "x$ac_ct_DLLWRAP" = x; then
7894 DLLWRAP="false"
7895 else
7896 case $cross_compiling:$ac_tool_warned in
7897 yes:)
7898 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7899 whose name does not start with the host triplet. If you think this
7900 configuration is useful to you, please write to autoconf@gnu.org." >&5
7901 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7902 whose name does not start with the host triplet. If you think this
7903 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7904 ac_tool_warned=yes ;;
7905 esac
7906 DLLWRAP=$ac_ct_DLLWRAP
7908 else
7909 DLLWRAP="$ac_cv_prog_DLLWRAP"
7912 if test -n "$ac_tool_prefix"; then
7913 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7914 set dummy ${ac_tool_prefix}ar; ac_word=$2
7915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7917 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7918 echo $ECHO_N "(cached) $ECHO_C" >&6
7919 else
7920 if test -n "$MINGWAR"; then
7921 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7922 else
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 for as_dir in $PATH
7926 IFS=$as_save_IFS
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7930 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
7931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 break 2
7934 done
7935 done
7936 IFS=$as_save_IFS
7940 MINGWAR=$ac_cv_prog_MINGWAR
7941 if test -n "$MINGWAR"; then
7942 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
7943 echo "${ECHO_T}$MINGWAR" >&6; }
7944 else
7945 { echo "$as_me:$LINENO: result: no" >&5
7946 echo "${ECHO_T}no" >&6; }
7951 if test -z "$ac_cv_prog_MINGWAR"; then
7952 ac_ct_MINGWAR=$MINGWAR
7953 # Extract the first word of "ar", so it can be a program name with args.
7954 set dummy ar; ac_word=$2
7955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7957 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
7958 echo $ECHO_N "(cached) $ECHO_C" >&6
7959 else
7960 if test -n "$ac_ct_MINGWAR"; then
7961 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
7962 else
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7964 for as_dir in $PATH
7966 IFS=$as_save_IFS
7967 test -z "$as_dir" && as_dir=.
7968 for ac_exec_ext in '' $ac_executable_extensions; do
7969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7970 ac_cv_prog_ac_ct_MINGWAR="ar"
7971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7972 break 2
7974 done
7975 done
7976 IFS=$as_save_IFS
7980 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
7981 if test -n "$ac_ct_MINGWAR"; then
7982 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
7983 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
7984 else
7985 { echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6; }
7989 if test "x$ac_ct_MINGWAR" = x; then
7990 MINGWAR="false"
7991 else
7992 case $cross_compiling:$ac_tool_warned in
7993 yes:)
7994 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7995 whose name does not start with the host triplet. If you think this
7996 configuration is useful to you, please write to autoconf@gnu.org." >&5
7997 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7998 whose name does not start with the host triplet. If you think this
7999 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8000 ac_tool_warned=yes ;;
8001 esac
8002 MINGWAR=$ac_ct_MINGWAR
8004 else
8005 MINGWAR="$ac_cv_prog_MINGWAR"
8008 if test "$DLLWRAP" = "false"; then
8009 LIBEXT="a"
8010 else
8011 LIBEXT="dll"
8013 IMPLIBEXT="a"
8014 WIN16_FILES=""
8015 WIN16_INSTALL=""
8017 darwin*|macosx*)
8018 DLLEXT=".so"
8019 LIBEXT="dylib"
8020 DLLFLAGS="$DLLFLAGS -fPIC"
8021 LDDLLFLAGS="-bundle -multiply_defined suppress"
8022 LIBWINE_LDFLAGS="-multiply_defined suppress"
8023 LDSHARED="\$(CC) -dynamiclib"
8024 STRIP="$STRIP -x"
8025 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8026 COREFOUNDATIONLIB="-framework CoreFoundation"
8028 IOKITLIB="-framework IOKit -framework CoreFoundation"
8030 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8032 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8033 then
8034 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8037 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8038 then
8039 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8042 case $host_cpu in
8043 *powerpc*)
8044 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8045 esac
8046 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8047 then
8048 CARBONLIB="-framework Carbon"
8050 QUARTZFILES='$(QUARTZFILES)'
8054 DLLFLAGS="$DLLFLAGS -fPIC"
8055 DLLEXT=".so"
8056 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8057 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8058 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8059 echo $ECHO_N "(cached) $ECHO_C" >&6
8060 else
8061 ac_wine_try_cflags_saved=$CFLAGS
8062 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8063 cat >conftest.$ac_ext <<_ACEOF
8064 void myfunc() {}
8065 _ACEOF
8066 rm -f conftest.$ac_objext conftest$ac_exeext
8067 if { (ac_try="$ac_link"
8068 case "(($ac_try" in
8069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8070 *) ac_try_echo=$ac_try;;
8071 esac
8072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8073 (eval "$ac_link") 2>conftest.er1
8074 ac_status=$?
8075 grep -v '^ *+' conftest.er1 >conftest.err
8076 rm -f conftest.er1
8077 cat conftest.err >&5
8078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); } && {
8080 test -z "$ac_c_werror_flag" ||
8081 test ! -s conftest.err
8082 } && test -s conftest$ac_exeext &&
8083 $as_test_x conftest$ac_exeext; then
8084 ac_cv_c_dll_gnuelf="yes"
8085 else
8086 echo "$as_me: failed program was:" >&5
8087 sed 's/^/| /' conftest.$ac_ext >&5
8089 ac_cv_c_dll_gnuelf="no"
8092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8093 conftest$ac_exeext conftest.$ac_ext
8094 CFLAGS=$ac_wine_try_cflags_saved
8096 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8097 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8098 if test "$ac_cv_c_dll_gnuelf" = "yes"
8099 then
8100 LDSHARED="\$(CC) -shared"
8101 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8102 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8103 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8104 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8106 else
8107 ac_wine_try_cflags_saved=$CFLAGS
8108 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8109 cat >conftest.$ac_ext <<_ACEOF
8110 /* confdefs.h. */
8111 _ACEOF
8112 cat confdefs.h >>conftest.$ac_ext
8113 cat >>conftest.$ac_ext <<_ACEOF
8114 /* end confdefs.h. */
8117 main ()
8121 return 0;
8123 _ACEOF
8124 rm -f conftest.$ac_objext conftest$ac_exeext
8125 if { (ac_try="$ac_link"
8126 case "(($ac_try" in
8127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8128 *) ac_try_echo=$ac_try;;
8129 esac
8130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8131 (eval "$ac_link") 2>conftest.er1
8132 ac_status=$?
8133 grep -v '^ *+' conftest.er1 >conftest.err
8134 rm -f conftest.er1
8135 cat conftest.err >&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); } && {
8138 test -z "$ac_c_werror_flag" ||
8139 test ! -s conftest.err
8140 } && test -s conftest$ac_exeext &&
8141 $as_test_x conftest$ac_exeext; then
8142 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8143 else
8144 echo "$as_me: failed program was:" >&5
8145 sed 's/^/| /' conftest.$ac_ext >&5
8147 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8151 conftest$ac_exeext conftest.$ac_ext
8152 CFLAGS=$ac_wine_try_cflags_saved
8154 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8155 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8156 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8157 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8158 else
8159 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8160 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8161 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8162 echo $ECHO_N "(cached) $ECHO_C" >&6
8163 else
8164 ac_wine_try_cflags_saved=$CFLAGS
8165 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8166 cat >conftest.$ac_ext <<_ACEOF
8167 /* confdefs.h. */
8168 _ACEOF
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8174 main ()
8178 return 0;
8180 _ACEOF
8181 rm -f conftest.$ac_objext conftest$ac_exeext
8182 if { (ac_try="$ac_link"
8183 case "(($ac_try" in
8184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8185 *) ac_try_echo=$ac_try;;
8186 esac
8187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8188 (eval "$ac_link") 2>conftest.er1
8189 ac_status=$?
8190 grep -v '^ *+' conftest.er1 >conftest.err
8191 rm -f conftest.er1
8192 cat conftest.err >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } && {
8195 test -z "$ac_c_werror_flag" ||
8196 test ! -s conftest.err
8197 } && test -s conftest$ac_exeext &&
8198 $as_test_x conftest$ac_exeext; then
8199 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8200 else
8201 echo "$as_me: failed program was:" >&5
8202 sed 's/^/| /' conftest.$ac_ext >&5
8204 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8208 conftest$ac_exeext conftest.$ac_ext
8209 CFLAGS=$ac_wine_try_cflags_saved
8211 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8212 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8213 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8214 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8220 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8221 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8222 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8223 echo $ECHO_N "(cached) $ECHO_C" >&6
8224 else
8225 ac_wine_try_cflags_saved=$CFLAGS
8226 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8227 cat >conftest.$ac_ext <<_ACEOF
8228 /* confdefs.h. */
8229 _ACEOF
8230 cat confdefs.h >>conftest.$ac_ext
8231 cat >>conftest.$ac_ext <<_ACEOF
8232 /* end confdefs.h. */
8235 main ()
8239 return 0;
8241 _ACEOF
8242 rm -f conftest.$ac_objext conftest$ac_exeext
8243 if { (ac_try="$ac_link"
8244 case "(($ac_try" in
8245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8246 *) ac_try_echo=$ac_try;;
8247 esac
8248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8249 (eval "$ac_link") 2>conftest.er1
8250 ac_status=$?
8251 grep -v '^ *+' conftest.er1 >conftest.err
8252 rm -f conftest.er1
8253 cat conftest.err >&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } && {
8256 test -z "$ac_c_werror_flag" ||
8257 test ! -s conftest.err
8258 } && test -s conftest$ac_exeext &&
8259 $as_test_x conftest$ac_exeext; then
8260 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8261 else
8262 echo "$as_me: failed program was:" >&5
8263 sed 's/^/| /' conftest.$ac_ext >&5
8265 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8269 conftest$ac_exeext conftest.$ac_ext
8270 CFLAGS=$ac_wine_try_cflags_saved
8272 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8273 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8274 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8275 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8279 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8280 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8281 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8282 echo $ECHO_N "(cached) $ECHO_C" >&6
8283 else
8284 ac_wine_try_cflags_saved=$CFLAGS
8285 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8286 cat >conftest.$ac_ext <<_ACEOF
8287 /* confdefs.h. */
8288 _ACEOF
8289 cat confdefs.h >>conftest.$ac_ext
8290 cat >>conftest.$ac_ext <<_ACEOF
8291 /* end confdefs.h. */
8294 main ()
8298 return 0;
8300 _ACEOF
8301 rm -f conftest.$ac_objext conftest$ac_exeext
8302 if { (ac_try="$ac_link"
8303 case "(($ac_try" in
8304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8305 *) ac_try_echo=$ac_try;;
8306 esac
8307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8308 (eval "$ac_link") 2>conftest.er1
8309 ac_status=$?
8310 grep -v '^ *+' conftest.er1 >conftest.err
8311 rm -f conftest.er1
8312 cat conftest.err >&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); } && {
8315 test -z "$ac_c_werror_flag" ||
8316 test ! -s conftest.err
8317 } && test -s conftest$ac_exeext &&
8318 $as_test_x conftest$ac_exeext; then
8319 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8320 else
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.$ac_ext >&5
8324 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8328 conftest$ac_exeext conftest.$ac_ext
8329 CFLAGS=$ac_wine_try_cflags_saved
8331 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8332 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8333 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8334 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8338 echo '{ global: *; };' >conftest.map
8339 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8340 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8341 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8342 echo $ECHO_N "(cached) $ECHO_C" >&6
8343 else
8344 ac_wine_try_cflags_saved=$CFLAGS
8345 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8346 cat >conftest.$ac_ext <<_ACEOF
8347 /* confdefs.h. */
8348 _ACEOF
8349 cat confdefs.h >>conftest.$ac_ext
8350 cat >>conftest.$ac_ext <<_ACEOF
8351 /* end confdefs.h. */
8354 main ()
8358 return 0;
8360 _ACEOF
8361 rm -f conftest.$ac_objext conftest$ac_exeext
8362 if { (ac_try="$ac_link"
8363 case "(($ac_try" in
8364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8365 *) ac_try_echo=$ac_try;;
8366 esac
8367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8368 (eval "$ac_link") 2>conftest.er1
8369 ac_status=$?
8370 grep -v '^ *+' conftest.er1 >conftest.err
8371 rm -f conftest.er1
8372 cat conftest.err >&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); } && {
8375 test -z "$ac_c_werror_flag" ||
8376 test ! -s conftest.err
8377 } && test -s conftest$ac_exeext &&
8378 $as_test_x conftest$ac_exeext; then
8379 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8380 else
8381 echo "$as_me: failed program was:" >&5
8382 sed 's/^/| /' conftest.$ac_ext >&5
8384 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8388 conftest$ac_exeext conftest.$ac_ext
8389 CFLAGS=$ac_wine_try_cflags_saved
8391 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8392 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8393 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8394 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8397 rm -f conftest.map
8399 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8400 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8401 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8402 echo $ECHO_N "(cached) $ECHO_C" >&6
8403 else
8404 ac_wine_try_cflags_saved=$CFLAGS
8405 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8406 cat >conftest.$ac_ext <<_ACEOF
8407 /* confdefs.h. */
8408 _ACEOF
8409 cat confdefs.h >>conftest.$ac_ext
8410 cat >>conftest.$ac_ext <<_ACEOF
8411 /* end confdefs.h. */
8414 main ()
8418 return 0;
8420 _ACEOF
8421 rm -f conftest.$ac_objext conftest$ac_exeext
8422 if { (ac_try="$ac_link"
8423 case "(($ac_try" in
8424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8425 *) ac_try_echo=$ac_try;;
8426 esac
8427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8428 (eval "$ac_link") 2>conftest.er1
8429 ac_status=$?
8430 grep -v '^ *+' conftest.er1 >conftest.err
8431 rm -f conftest.er1
8432 cat conftest.err >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); } && {
8435 test -z "$ac_c_werror_flag" ||
8436 test ! -s conftest.err
8437 } && test -s conftest$ac_exeext &&
8438 $as_test_x conftest$ac_exeext; then
8439 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8440 else
8441 echo "$as_me: failed program was:" >&5
8442 sed 's/^/| /' conftest.$ac_ext >&5
8444 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8448 conftest$ac_exeext conftest.$ac_ext
8449 CFLAGS=$ac_wine_try_cflags_saved
8451 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8452 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8453 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8454 LDEXECFLAGS="-Wl,--export-dynamic"
8459 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8460 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8461 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8462 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8463 echo $ECHO_N "(cached) $ECHO_C" >&6
8464 else
8465 ac_wine_try_cflags_saved=$CFLAGS
8466 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8467 cat >conftest.$ac_ext <<_ACEOF
8468 /* confdefs.h. */
8469 _ACEOF
8470 cat confdefs.h >>conftest.$ac_ext
8471 cat >>conftest.$ac_ext <<_ACEOF
8472 /* end confdefs.h. */
8475 main ()
8479 return 0;
8481 _ACEOF
8482 rm -f conftest.$ac_objext conftest$ac_exeext
8483 if { (ac_try="$ac_link"
8484 case "(($ac_try" in
8485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8486 *) ac_try_echo=$ac_try;;
8487 esac
8488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8489 (eval "$ac_link") 2>conftest.er1
8490 ac_status=$?
8491 grep -v '^ *+' conftest.er1 >conftest.err
8492 rm -f conftest.er1
8493 cat conftest.err >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); } && {
8496 test -z "$ac_c_werror_flag" ||
8497 test ! -s conftest.err
8498 } && test -s conftest$ac_exeext &&
8499 $as_test_x conftest$ac_exeext; then
8500 eval "$as_ac_var=yes"
8501 else
8502 echo "$as_me: failed program was:" >&5
8503 sed 's/^/| /' conftest.$ac_ext >&5
8505 eval "$as_ac_var=no"
8508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8509 conftest$ac_exeext conftest.$ac_ext
8510 CFLAGS=$ac_wine_try_cflags_saved
8512 ac_res=`eval echo '${'$as_ac_var'}'`
8513 { echo "$as_me:$LINENO: result: $ac_res" >&5
8514 echo "${ECHO_T}$ac_res" >&6; }
8515 if test `eval echo '${'$as_ac_var'}'` = yes; then
8516 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8517 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8518 else
8519 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8520 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8521 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8522 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8523 echo $ECHO_N "(cached) $ECHO_C" >&6
8524 else
8525 ac_wine_try_cflags_saved=$CFLAGS
8526 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8527 cat >conftest.$ac_ext <<_ACEOF
8528 /* confdefs.h. */
8529 _ACEOF
8530 cat confdefs.h >>conftest.$ac_ext
8531 cat >>conftest.$ac_ext <<_ACEOF
8532 /* end confdefs.h. */
8535 main ()
8539 return 0;
8541 _ACEOF
8542 rm -f conftest.$ac_objext conftest$ac_exeext
8543 if { (ac_try="$ac_link"
8544 case "(($ac_try" in
8545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8546 *) ac_try_echo=$ac_try;;
8547 esac
8548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8549 (eval "$ac_link") 2>conftest.er1
8550 ac_status=$?
8551 grep -v '^ *+' conftest.er1 >conftest.err
8552 rm -f conftest.er1
8553 cat conftest.err >&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); } && {
8556 test -z "$ac_c_werror_flag" ||
8557 test ! -s conftest.err
8558 } && test -s conftest$ac_exeext &&
8559 $as_test_x conftest$ac_exeext; then
8560 eval "$as_ac_var=yes"
8561 else
8562 echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.$ac_ext >&5
8565 eval "$as_ac_var=no"
8568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8569 conftest$ac_exeext conftest.$ac_ext
8570 CFLAGS=$ac_wine_try_cflags_saved
8572 ac_res=`eval echo '${'$as_ac_var'}'`
8573 { echo "$as_me:$LINENO: result: $ac_res" >&5
8574 echo "${ECHO_T}$ac_res" >&6; }
8575 if test `eval echo '${'$as_ac_var'}'` = yes; then
8576 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8577 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8583 case $host_cpu in
8584 *i[3456789]86* | x86_64)
8585 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8586 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8587 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8588 echo $ECHO_N "(cached) $ECHO_C" >&6
8589 else
8590 ac_wine_try_cflags_saved=$CFLAGS
8591 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8592 cat >conftest.$ac_ext <<_ACEOF
8593 /* confdefs.h. */
8594 _ACEOF
8595 cat confdefs.h >>conftest.$ac_ext
8596 cat >>conftest.$ac_ext <<_ACEOF
8597 /* end confdefs.h. */
8600 main ()
8604 return 0;
8606 _ACEOF
8607 rm -f conftest.$ac_objext conftest$ac_exeext
8608 if { (ac_try="$ac_link"
8609 case "(($ac_try" in
8610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8611 *) ac_try_echo=$ac_try;;
8612 esac
8613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8614 (eval "$ac_link") 2>conftest.er1
8615 ac_status=$?
8616 grep -v '^ *+' conftest.er1 >conftest.err
8617 rm -f conftest.er1
8618 cat conftest.err >&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); } && {
8621 test -z "$ac_c_werror_flag" ||
8622 test ! -s conftest.err
8623 } && test -s conftest$ac_exeext &&
8624 $as_test_x conftest$ac_exeext; then
8625 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8626 else
8627 echo "$as_me: failed program was:" >&5
8628 sed 's/^/| /' conftest.$ac_ext >&5
8630 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8634 conftest$ac_exeext conftest.$ac_ext
8635 CFLAGS=$ac_wine_try_cflags_saved
8637 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8638 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8639 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8640 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8644 esac
8646 else
8647 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8648 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8649 if test "${ac_cv_c_dll_unixware+set}" = set; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8651 else
8652 ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8654 cat >conftest.$ac_ext <<_ACEOF
8655 void myfunc() {}
8656 _ACEOF
8657 rm -f conftest.$ac_objext conftest$ac_exeext
8658 if { (ac_try="$ac_link"
8659 case "(($ac_try" in
8660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8661 *) ac_try_echo=$ac_try;;
8662 esac
8663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8664 (eval "$ac_link") 2>conftest.er1
8665 ac_status=$?
8666 grep -v '^ *+' conftest.er1 >conftest.err
8667 rm -f conftest.er1
8668 cat conftest.err >&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); } && {
8671 test -z "$ac_c_werror_flag" ||
8672 test ! -s conftest.err
8673 } && test -s conftest$ac_exeext &&
8674 $as_test_x conftest$ac_exeext; then
8675 ac_cv_c_dll_unixware="yes"
8676 else
8677 echo "$as_me: failed program was:" >&5
8678 sed 's/^/| /' conftest.$ac_ext >&5
8680 ac_cv_c_dll_unixware="no"
8683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8684 conftest$ac_exeext conftest.$ac_ext
8685 CFLAGS=$ac_wine_try_cflags_saved
8687 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8688 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8689 if test "$ac_cv_c_dll_unixware" = "yes"
8690 then
8691 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8692 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8694 else
8695 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8696 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8697 if test "${ac_cv_c_dll_hpux+set}" = set; then
8698 echo $ECHO_N "(cached) $ECHO_C" >&6
8699 else
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -shared"
8702 cat >conftest.$ac_ext <<_ACEOF
8703 void myfunc() {}
8704 _ACEOF
8705 rm -f conftest.$ac_objext conftest$ac_exeext
8706 if { (ac_try="$ac_link"
8707 case "(($ac_try" in
8708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8709 *) ac_try_echo=$ac_try;;
8710 esac
8711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8712 (eval "$ac_link") 2>conftest.er1
8713 ac_status=$?
8714 grep -v '^ *+' conftest.er1 >conftest.err
8715 rm -f conftest.er1
8716 cat conftest.err >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } && {
8719 test -z "$ac_c_werror_flag" ||
8720 test ! -s conftest.err
8721 } && test -s conftest$ac_exeext &&
8722 $as_test_x conftest$ac_exeext; then
8723 ac_cv_c_dll_hpux="yes"
8724 else
8725 echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.$ac_ext >&5
8728 ac_cv_c_dll_hpux="no"
8731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8732 conftest$ac_exeext conftest.$ac_ext
8733 CFLAGS=$ac_wine_try_cflags_saved
8735 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8736 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8737 if test "$ac_cv_c_dll_hpux" = "yes"
8738 then
8739 LIBEXT="sl"
8740 DLLEXT=".sl"
8741 LDDLLFLAGS="-shared -fPIC"
8742 LDSHARED="\$(CC) -shared"
8747 CROSSTEST=""
8749 if test "$cross_compiling" = "no"
8750 then
8751 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8753 # Extract the first word of "$ac_prog", so it can be a program name with args.
8754 set dummy $ac_prog; ac_word=$2
8755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8757 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8758 echo $ECHO_N "(cached) $ECHO_C" >&6
8759 else
8760 if test -n "$CROSSCC"; then
8761 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8762 else
8763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8764 for as_dir in $PATH
8766 IFS=$as_save_IFS
8767 test -z "$as_dir" && as_dir=.
8768 for ac_exec_ext in '' $ac_executable_extensions; do
8769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8770 ac_cv_prog_CROSSCC="$ac_prog"
8771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8772 break 2
8774 done
8775 done
8776 IFS=$as_save_IFS
8780 CROSSCC=$ac_cv_prog_CROSSCC
8781 if test -n "$CROSSCC"; then
8782 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8783 echo "${ECHO_T}$CROSSCC" >&6; }
8784 else
8785 { echo "$as_me:$LINENO: result: no" >&5
8786 echo "${ECHO_T}no" >&6; }
8790 test -n "$CROSSCC" && break
8791 done
8792 test -n "$CROSSCC" || CROSSCC="false"
8794 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8796 # Extract the first word of "$ac_prog", so it can be a program name with args.
8797 set dummy $ac_prog; ac_word=$2
8798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8800 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8801 echo $ECHO_N "(cached) $ECHO_C" >&6
8802 else
8803 if test -n "$DLLTOOL"; then
8804 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8805 else
8806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8807 for as_dir in $PATH
8809 IFS=$as_save_IFS
8810 test -z "$as_dir" && as_dir=.
8811 for ac_exec_ext in '' $ac_executable_extensions; do
8812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8813 ac_cv_prog_DLLTOOL="$ac_prog"
8814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8815 break 2
8817 done
8818 done
8819 IFS=$as_save_IFS
8823 DLLTOOL=$ac_cv_prog_DLLTOOL
8824 if test -n "$DLLTOOL"; then
8825 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8826 echo "${ECHO_T}$DLLTOOL" >&6; }
8827 else
8828 { echo "$as_me:$LINENO: result: no" >&5
8829 echo "${ECHO_T}no" >&6; }
8833 test -n "$DLLTOOL" && break
8834 done
8835 test -n "$DLLTOOL" || DLLTOOL="false"
8837 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8839 # Extract the first word of "$ac_prog", so it can be a program name with args.
8840 set dummy $ac_prog; ac_word=$2
8841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8843 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 else
8846 if test -n "$CROSSWINDRES"; then
8847 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8848 else
8849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8850 for as_dir in $PATH
8852 IFS=$as_save_IFS
8853 test -z "$as_dir" && as_dir=.
8854 for ac_exec_ext in '' $ac_executable_extensions; do
8855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8856 ac_cv_prog_CROSSWINDRES="$ac_prog"
8857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8858 break 2
8860 done
8861 done
8862 IFS=$as_save_IFS
8866 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8867 if test -n "$CROSSWINDRES"; then
8868 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8869 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8870 else
8871 { echo "$as_me:$LINENO: result: no" >&5
8872 echo "${ECHO_T}no" >&6; }
8876 test -n "$CROSSWINDRES" && break
8877 done
8878 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
8880 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
8882 # Extract the first word of "$ac_prog", so it can be a program name with args.
8883 set dummy $ac_prog; ac_word=$2
8884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8886 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8887 echo $ECHO_N "(cached) $ECHO_C" >&6
8888 else
8889 if test -n "$MINGWAR"; then
8890 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8891 else
8892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8893 for as_dir in $PATH
8895 IFS=$as_save_IFS
8896 test -z "$as_dir" && as_dir=.
8897 for ac_exec_ext in '' $ac_executable_extensions; do
8898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8899 ac_cv_prog_MINGWAR="$ac_prog"
8900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8901 break 2
8903 done
8904 done
8905 IFS=$as_save_IFS
8909 MINGWAR=$ac_cv_prog_MINGWAR
8910 if test -n "$MINGWAR"; then
8911 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8912 echo "${ECHO_T}$MINGWAR" >&6; }
8913 else
8914 { echo "$as_me:$LINENO: result: no" >&5
8915 echo "${ECHO_T}no" >&6; }
8919 test -n "$MINGWAR" && break
8920 done
8921 test -n "$MINGWAR" || MINGWAR="false"
8923 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
8926 esac
8928 if test "$LIBEXT" = "a"; then
8929 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
8930 It is currently not possible to build Wine without shared library
8931 (.so) support to allow transparent switch between .so and .dll files.
8932 If you are using Linux, you will need a newer binutils.
8933 " >&5
8934 echo "$as_me: error: could not find a way to build shared libraries.
8935 It is currently not possible to build Wine without shared library
8936 (.so) support to allow transparent switch between .so and .dll files.
8937 If you are using Linux, you will need a newer binutils.
8938 " >&2;}
8939 { (exit 1); exit 1; }; }
8943 if test "$have_x" = "yes"
8944 then
8945 XLIB="-lXext -lX11"
8946 ac_save_CPPFLAGS="$CPPFLAGS"
8947 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8960 for ac_header in X11/Xlib.h \
8961 X11/XKBlib.h \
8962 X11/Xutil.h \
8963 X11/Xcursor/Xcursor.h \
8964 X11/extensions/shape.h \
8965 X11/extensions/XInput.h \
8966 X11/extensions/XShm.h \
8967 X11/extensions/Xinerama.h \
8968 X11/extensions/Xrandr.h \
8969 X11/extensions/Xrender.h \
8970 X11/extensions/xf86vmode.h
8972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8975 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8977 else
8978 cat >conftest.$ac_ext <<_ACEOF
8979 /* confdefs.h. */
8980 _ACEOF
8981 cat confdefs.h >>conftest.$ac_ext
8982 cat >>conftest.$ac_ext <<_ACEOF
8983 /* end confdefs.h. */
8984 #ifdef HAVE_X11_XLIB_H
8985 # include <X11/Xlib.h>
8986 #endif
8987 #ifdef HAVE_X11_XUTIL_H
8988 # include <X11/Xutil.h>
8989 #endif
8991 #include <$ac_header>
8992 _ACEOF
8993 rm -f conftest.$ac_objext
8994 if { (ac_try="$ac_compile"
8995 case "(($ac_try" in
8996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8997 *) ac_try_echo=$ac_try;;
8998 esac
8999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9000 (eval "$ac_compile") 2>conftest.er1
9001 ac_status=$?
9002 grep -v '^ *+' conftest.er1 >conftest.err
9003 rm -f conftest.er1
9004 cat conftest.err >&5
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); } && {
9007 test -z "$ac_c_werror_flag" ||
9008 test ! -s conftest.err
9009 } && test -s conftest.$ac_objext; then
9010 eval "$as_ac_Header=yes"
9011 else
9012 echo "$as_me: failed program was:" >&5
9013 sed 's/^/| /' conftest.$ac_ext >&5
9015 eval "$as_ac_Header=no"
9018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9020 ac_res=`eval echo '${'$as_ac_Header'}'`
9021 { echo "$as_me:$LINENO: result: $ac_res" >&5
9022 echo "${ECHO_T}$ac_res" >&6; }
9023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9024 cat >>confdefs.h <<_ACEOF
9025 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9026 _ACEOF
9030 done
9033 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9034 then
9035 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9036 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9037 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9038 echo $ECHO_N "(cached) $ECHO_C" >&6
9039 else
9040 ac_check_lib_save_LIBS=$LIBS
9041 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9042 cat >conftest.$ac_ext <<_ACEOF
9043 /* confdefs.h. */
9044 _ACEOF
9045 cat confdefs.h >>conftest.$ac_ext
9046 cat >>conftest.$ac_ext <<_ACEOF
9047 /* end confdefs.h. */
9049 /* Override any GCC internal prototype to avoid an error.
9050 Use char because int might match the return type of a GCC
9051 builtin and then its argument prototype would still apply. */
9052 #ifdef __cplusplus
9053 extern "C"
9054 #endif
9055 char XkbQueryExtension ();
9057 main ()
9059 return XkbQueryExtension ();
9061 return 0;
9063 _ACEOF
9064 rm -f conftest.$ac_objext conftest$ac_exeext
9065 if { (ac_try="$ac_link"
9066 case "(($ac_try" in
9067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9068 *) ac_try_echo=$ac_try;;
9069 esac
9070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9071 (eval "$ac_link") 2>conftest.er1
9072 ac_status=$?
9073 grep -v '^ *+' conftest.er1 >conftest.err
9074 rm -f conftest.er1
9075 cat conftest.err >&5
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); } && {
9078 test -z "$ac_c_werror_flag" ||
9079 test ! -s conftest.err
9080 } && test -s conftest$ac_exeext &&
9081 $as_test_x conftest$ac_exeext; then
9082 ac_cv_lib_X11_XkbQueryExtension=yes
9083 else
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.$ac_ext >&5
9087 ac_cv_lib_X11_XkbQueryExtension=no
9090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9091 conftest$ac_exeext conftest.$ac_ext
9092 LIBS=$ac_check_lib_save_LIBS
9094 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9095 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9096 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9098 cat >>confdefs.h <<\_ACEOF
9099 #define HAVE_XKB 1
9100 _ACEOF
9106 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9107 then
9108 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9109 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9110 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9111 echo $ECHO_N "(cached) $ECHO_C" >&6
9112 else
9113 ac_check_lib_save_LIBS=$LIBS
9114 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9115 cat >conftest.$ac_ext <<_ACEOF
9116 /* confdefs.h. */
9117 _ACEOF
9118 cat confdefs.h >>conftest.$ac_ext
9119 cat >>conftest.$ac_ext <<_ACEOF
9120 /* end confdefs.h. */
9122 /* Override any GCC internal prototype to avoid an error.
9123 Use char because int might match the return type of a GCC
9124 builtin and then its argument prototype would still apply. */
9125 #ifdef __cplusplus
9126 extern "C"
9127 #endif
9128 char XShmQueryExtension ();
9130 main ()
9132 return XShmQueryExtension ();
9134 return 0;
9136 _ACEOF
9137 rm -f conftest.$ac_objext conftest$ac_exeext
9138 if { (ac_try="$ac_link"
9139 case "(($ac_try" in
9140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9141 *) ac_try_echo=$ac_try;;
9142 esac
9143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9144 (eval "$ac_link") 2>conftest.er1
9145 ac_status=$?
9146 grep -v '^ *+' conftest.er1 >conftest.err
9147 rm -f conftest.er1
9148 cat conftest.err >&5
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); } && {
9151 test -z "$ac_c_werror_flag" ||
9152 test ! -s conftest.err
9153 } && test -s conftest$ac_exeext &&
9154 $as_test_x conftest$ac_exeext; then
9155 ac_cv_lib_Xext_XShmQueryExtension=yes
9156 else
9157 echo "$as_me: failed program was:" >&5
9158 sed 's/^/| /' conftest.$ac_ext >&5
9160 ac_cv_lib_Xext_XShmQueryExtension=no
9163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9164 conftest$ac_exeext conftest.$ac_ext
9165 LIBS=$ac_check_lib_save_LIBS
9167 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9168 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9169 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9171 cat >>confdefs.h <<\_ACEOF
9172 #define HAVE_LIBXXSHM 1
9173 _ACEOF
9179 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9180 then
9181 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9182 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9183 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9184 echo $ECHO_N "(cached) $ECHO_C" >&6
9185 else
9186 ac_check_lib_save_LIBS=$LIBS
9187 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9188 cat >conftest.$ac_ext <<_ACEOF
9189 /* confdefs.h. */
9190 _ACEOF
9191 cat confdefs.h >>conftest.$ac_ext
9192 cat >>conftest.$ac_ext <<_ACEOF
9193 /* end confdefs.h. */
9195 /* Override any GCC internal prototype to avoid an error.
9196 Use char because int might match the return type of a GCC
9197 builtin and then its argument prototype would still apply. */
9198 #ifdef __cplusplus
9199 extern "C"
9200 #endif
9201 char XShapeQueryExtension ();
9203 main ()
9205 return XShapeQueryExtension ();
9207 return 0;
9209 _ACEOF
9210 rm -f conftest.$ac_objext conftest$ac_exeext
9211 if { (ac_try="$ac_link"
9212 case "(($ac_try" in
9213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9214 *) ac_try_echo=$ac_try;;
9215 esac
9216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9217 (eval "$ac_link") 2>conftest.er1
9218 ac_status=$?
9219 grep -v '^ *+' conftest.er1 >conftest.err
9220 rm -f conftest.er1
9221 cat conftest.err >&5
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); } && {
9224 test -z "$ac_c_werror_flag" ||
9225 test ! -s conftest.err
9226 } && test -s conftest$ac_exeext &&
9227 $as_test_x conftest$ac_exeext; then
9228 ac_cv_lib_Xext_XShapeQueryExtension=yes
9229 else
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.$ac_ext >&5
9233 ac_cv_lib_Xext_XShapeQueryExtension=no
9236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS=$ac_check_lib_save_LIBS
9240 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9241 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9242 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9244 cat >>confdefs.h <<\_ACEOF
9245 #define HAVE_LIBXSHAPE 1
9246 _ACEOF
9252 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9253 then
9254 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9255 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9256 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9257 echo $ECHO_N "(cached) $ECHO_C" >&6
9258 else
9259 ac_check_lib_save_LIBS=$LIBS
9260 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9261 cat >conftest.$ac_ext <<_ACEOF
9262 /* confdefs.h. */
9263 _ACEOF
9264 cat confdefs.h >>conftest.$ac_ext
9265 cat >>conftest.$ac_ext <<_ACEOF
9266 /* end confdefs.h. */
9268 /* Override any GCC internal prototype to avoid an error.
9269 Use char because int might match the return type of a GCC
9270 builtin and then its argument prototype would still apply. */
9271 #ifdef __cplusplus
9272 extern "C"
9273 #endif
9274 char XF86VidModeQueryExtension ();
9276 main ()
9278 return XF86VidModeQueryExtension ();
9280 return 0;
9282 _ACEOF
9283 rm -f conftest.$ac_objext conftest$ac_exeext
9284 if { (ac_try="$ac_link"
9285 case "(($ac_try" in
9286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9287 *) ac_try_echo=$ac_try;;
9288 esac
9289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9290 (eval "$ac_link") 2>conftest.er1
9291 ac_status=$?
9292 grep -v '^ *+' conftest.er1 >conftest.err
9293 rm -f conftest.er1
9294 cat conftest.err >&5
9295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9296 (exit $ac_status); } && {
9297 test -z "$ac_c_werror_flag" ||
9298 test ! -s conftest.err
9299 } && test -s conftest$ac_exeext &&
9300 $as_test_x conftest$ac_exeext; then
9301 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9302 else
9303 echo "$as_me: failed program was:" >&5
9304 sed 's/^/| /' conftest.$ac_ext >&5
9306 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9310 conftest$ac_exeext conftest.$ac_ext
9311 LIBS=$ac_check_lib_save_LIBS
9313 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9314 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9315 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9317 cat >>confdefs.h <<\_ACEOF
9318 #define HAVE_LIBXXF86VM 1
9319 _ACEOF
9321 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9327 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9328 then
9329 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9330 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9331 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9332 echo $ECHO_N "(cached) $ECHO_C" >&6
9333 else
9334 ac_check_soname_save_LIBS=$LIBS
9335 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9336 cat >conftest.$ac_ext <<_ACEOF
9337 /* confdefs.h. */
9338 _ACEOF
9339 cat confdefs.h >>conftest.$ac_ext
9340 cat >>conftest.$ac_ext <<_ACEOF
9341 /* end confdefs.h. */
9343 /* Override any GCC internal prototype to avoid an error.
9344 Use char because int might match the return type of a GCC
9345 builtin and then its argument prototype would still apply. */
9346 #ifdef __cplusplus
9347 extern "C"
9348 #endif
9349 char XRenderQueryExtension ();
9351 main ()
9353 return XRenderQueryExtension ();
9355 return 0;
9357 _ACEOF
9358 rm -f conftest.$ac_objext conftest$ac_exeext
9359 if { (ac_try="$ac_link"
9360 case "(($ac_try" in
9361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9362 *) ac_try_echo=$ac_try;;
9363 esac
9364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9365 (eval "$ac_link") 2>conftest.er1
9366 ac_status=$?
9367 grep -v '^ *+' conftest.er1 >conftest.err
9368 rm -f conftest.er1
9369 cat conftest.err >&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); } && {
9372 test -z "$ac_c_werror_flag" ||
9373 test ! -s conftest.err
9374 } && test -s conftest$ac_exeext &&
9375 $as_test_x conftest$ac_exeext; then
9376 case "$LIBEXT" in
9377 dll) ;;
9378 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'` ;;
9379 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9380 esac
9381 else
9382 echo "$as_me: failed program was:" >&5
9383 sed 's/^/| /' conftest.$ac_ext >&5
9388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9389 conftest$ac_exeext conftest.$ac_ext
9390 LIBS=$ac_check_soname_save_LIBS
9392 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9393 { echo "$as_me:$LINENO: result: not found" >&5
9394 echo "${ECHO_T}not found" >&6; }
9396 else
9397 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9398 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9400 cat >>confdefs.h <<_ACEOF
9401 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9402 _ACEOF
9404 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9405 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9406 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9407 echo $ECHO_N "(cached) $ECHO_C" >&6
9408 else
9409 ac_check_lib_save_LIBS=$LIBS
9410 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9411 cat >conftest.$ac_ext <<_ACEOF
9412 /* confdefs.h. */
9413 _ACEOF
9414 cat confdefs.h >>conftest.$ac_ext
9415 cat >>conftest.$ac_ext <<_ACEOF
9416 /* end confdefs.h. */
9418 /* Override any GCC internal prototype to avoid an error.
9419 Use char because int might match the return type of a GCC
9420 builtin and then its argument prototype would still apply. */
9421 #ifdef __cplusplus
9422 extern "C"
9423 #endif
9424 char XRenderSetPictureTransform ();
9426 main ()
9428 return XRenderSetPictureTransform ();
9430 return 0;
9432 _ACEOF
9433 rm -f conftest.$ac_objext conftest$ac_exeext
9434 if { (ac_try="$ac_link"
9435 case "(($ac_try" in
9436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9437 *) ac_try_echo=$ac_try;;
9438 esac
9439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9440 (eval "$ac_link") 2>conftest.er1
9441 ac_status=$?
9442 grep -v '^ *+' conftest.er1 >conftest.err
9443 rm -f conftest.er1
9444 cat conftest.err >&5
9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 (exit $ac_status); } && {
9447 test -z "$ac_c_werror_flag" ||
9448 test ! -s conftest.err
9449 } && test -s conftest$ac_exeext &&
9450 $as_test_x conftest$ac_exeext; then
9451 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9452 else
9453 echo "$as_me: failed program was:" >&5
9454 sed 's/^/| /' conftest.$ac_ext >&5
9456 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9460 conftest$ac_exeext conftest.$ac_ext
9461 LIBS=$ac_check_lib_save_LIBS
9463 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9464 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9465 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9467 cat >>confdefs.h <<\_ACEOF
9468 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9469 _ACEOF
9478 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9479 then
9480 cat >conftest.$ac_ext <<_ACEOF
9481 /* confdefs.h. */
9482 _ACEOF
9483 cat confdefs.h >>conftest.$ac_ext
9484 cat >>conftest.$ac_ext <<_ACEOF
9485 /* end confdefs.h. */
9486 #include <X11/Xlib.h>
9487 #include <X11/extensions/Xrandr.h>
9489 main ()
9491 static typeof(XRRSetScreenConfigAndRate) * func;
9493 return 0;
9495 _ACEOF
9496 rm -f conftest.$ac_objext
9497 if { (ac_try="$ac_compile"
9498 case "(($ac_try" in
9499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9500 *) ac_try_echo=$ac_try;;
9501 esac
9502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9503 (eval "$ac_compile") 2>conftest.er1
9504 ac_status=$?
9505 grep -v '^ *+' conftest.er1 >conftest.err
9506 rm -f conftest.er1
9507 cat conftest.err >&5
9508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 (exit $ac_status); } && {
9510 test -z "$ac_c_werror_flag" ||
9511 test ! -s conftest.err
9512 } && test -s conftest.$ac_objext; then
9513 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9514 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9515 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9516 echo $ECHO_N "(cached) $ECHO_C" >&6
9517 else
9518 ac_check_soname_save_LIBS=$LIBS
9519 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9520 cat >conftest.$ac_ext <<_ACEOF
9521 /* confdefs.h. */
9522 _ACEOF
9523 cat confdefs.h >>conftest.$ac_ext
9524 cat >>conftest.$ac_ext <<_ACEOF
9525 /* end confdefs.h. */
9527 /* Override any GCC internal prototype to avoid an error.
9528 Use char because int might match the return type of a GCC
9529 builtin and then its argument prototype would still apply. */
9530 #ifdef __cplusplus
9531 extern "C"
9532 #endif
9533 char XRRQueryExtension ();
9535 main ()
9537 return XRRQueryExtension ();
9539 return 0;
9541 _ACEOF
9542 rm -f conftest.$ac_objext conftest$ac_exeext
9543 if { (ac_try="$ac_link"
9544 case "(($ac_try" in
9545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9546 *) ac_try_echo=$ac_try;;
9547 esac
9548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9549 (eval "$ac_link") 2>conftest.er1
9550 ac_status=$?
9551 grep -v '^ *+' conftest.er1 >conftest.err
9552 rm -f conftest.er1
9553 cat conftest.err >&5
9554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555 (exit $ac_status); } && {
9556 test -z "$ac_c_werror_flag" ||
9557 test ! -s conftest.err
9558 } && test -s conftest$ac_exeext &&
9559 $as_test_x conftest$ac_exeext; then
9560 case "$LIBEXT" in
9561 dll) ;;
9562 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'` ;;
9563 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9564 esac
9565 else
9566 echo "$as_me: failed program was:" >&5
9567 sed 's/^/| /' conftest.$ac_ext >&5
9572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9573 conftest$ac_exeext conftest.$ac_ext
9574 LIBS=$ac_check_soname_save_LIBS
9576 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
9577 { echo "$as_me:$LINENO: result: not found" >&5
9578 echo "${ECHO_T}not found" >&6; }
9580 else
9581 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
9582 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
9584 cat >>confdefs.h <<_ACEOF
9585 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9586 _ACEOF
9591 else
9592 echo "$as_me: failed program was:" >&5
9593 sed 's/^/| /' conftest.$ac_ext >&5
9598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9601 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9602 then
9603 cat >conftest.$ac_ext <<_ACEOF
9604 /* confdefs.h. */
9605 _ACEOF
9606 cat confdefs.h >>conftest.$ac_ext
9607 cat >>conftest.$ac_ext <<_ACEOF
9608 /* end confdefs.h. */
9609 #include <X11/Xlib.h>
9610 #include <X11/extensions/Xinerama.h>
9612 main ()
9614 static typeof(XineramaQueryScreens) * func;
9616 return 0;
9618 _ACEOF
9619 rm -f conftest.$ac_objext
9620 if { (ac_try="$ac_compile"
9621 case "(($ac_try" in
9622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9623 *) ac_try_echo=$ac_try;;
9624 esac
9625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9626 (eval "$ac_compile") 2>conftest.er1
9627 ac_status=$?
9628 grep -v '^ *+' conftest.er1 >conftest.err
9629 rm -f conftest.er1
9630 cat conftest.err >&5
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); } && {
9633 test -z "$ac_c_werror_flag" ||
9634 test ! -s conftest.err
9635 } && test -s conftest.$ac_objext; then
9637 cat >>confdefs.h <<\_ACEOF
9638 #define HAVE_LIBXINERAMA 1
9639 _ACEOF
9641 else
9642 echo "$as_me: failed program was:" >&5
9643 sed 's/^/| /' conftest.$ac_ext >&5
9648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9652 if test "x$with_opengl" != "xno"
9653 then
9658 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9664 echo $ECHO_N "(cached) $ECHO_C" >&6
9665 else
9666 cat >conftest.$ac_ext <<_ACEOF
9667 /* confdefs.h. */
9668 _ACEOF
9669 cat confdefs.h >>conftest.$ac_ext
9670 cat >>conftest.$ac_ext <<_ACEOF
9671 /* end confdefs.h. */
9672 #ifdef HAVE_GL_GLX_H
9673 # include <GL/glx.h>
9674 #endif
9676 #include <$ac_header>
9677 _ACEOF
9678 rm -f conftest.$ac_objext
9679 if { (ac_try="$ac_compile"
9680 case "(($ac_try" in
9681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9682 *) ac_try_echo=$ac_try;;
9683 esac
9684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9685 (eval "$ac_compile") 2>conftest.er1
9686 ac_status=$?
9687 grep -v '^ *+' conftest.er1 >conftest.err
9688 rm -f conftest.er1
9689 cat conftest.err >&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); } && {
9692 test -z "$ac_c_werror_flag" ||
9693 test ! -s conftest.err
9694 } && test -s conftest.$ac_objext; then
9695 eval "$as_ac_Header=yes"
9696 else
9697 echo "$as_me: failed program was:" >&5
9698 sed 's/^/| /' conftest.$ac_ext >&5
9700 eval "$as_ac_Header=no"
9703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9705 ac_res=`eval echo '${'$as_ac_Header'}'`
9706 { echo "$as_me:$LINENO: result: $ac_res" >&5
9707 echo "${ECHO_T}$ac_res" >&6; }
9708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9709 cat >>confdefs.h <<_ACEOF
9710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9711 _ACEOF
9715 done
9717 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9718 then
9719 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9720 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9721 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 else
9724 cat >conftest.$ac_ext <<_ACEOF
9725 /* confdefs.h. */
9726 _ACEOF
9727 cat confdefs.h >>conftest.$ac_ext
9728 cat >>conftest.$ac_ext <<_ACEOF
9729 /* end confdefs.h. */
9730 #include <GL/gl.h>
9732 main ()
9734 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9736 return 0;
9738 _ACEOF
9739 rm -f conftest.$ac_objext
9740 if { (ac_try="$ac_compile"
9741 case "(($ac_try" in
9742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9743 *) ac_try_echo=$ac_try;;
9744 esac
9745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9746 (eval "$ac_compile") 2>conftest.er1
9747 ac_status=$?
9748 grep -v '^ *+' conftest.er1 >conftest.err
9749 rm -f conftest.er1
9750 cat conftest.err >&5
9751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752 (exit $ac_status); } && {
9753 test -z "$ac_c_werror_flag" ||
9754 test ! -s conftest.err
9755 } && test -s conftest.$ac_objext; then
9756 wine_cv_opengl_header_version_OK="yes"
9757 else
9758 echo "$as_me: failed program was:" >&5
9759 sed 's/^/| /' conftest.$ac_ext >&5
9761 wine_cv_opengl_header_version_OK="no"
9764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9766 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9767 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9769 if test "$wine_cv_opengl_header_version_OK" = "yes"
9770 then
9771 { echo "$as_me:$LINENO: checking for -lGL" >&5
9772 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
9773 if test "${ac_cv_lib_soname_GL+set}" = set; then
9774 echo $ECHO_N "(cached) $ECHO_C" >&6
9775 else
9776 ac_check_soname_save_LIBS=$LIBS
9777 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9778 cat >conftest.$ac_ext <<_ACEOF
9779 /* confdefs.h. */
9780 _ACEOF
9781 cat confdefs.h >>conftest.$ac_ext
9782 cat >>conftest.$ac_ext <<_ACEOF
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9788 #ifdef __cplusplus
9789 extern "C"
9790 #endif
9791 char glXCreateContext ();
9793 main ()
9795 return glXCreateContext ();
9797 return 0;
9799 _ACEOF
9800 rm -f conftest.$ac_objext conftest$ac_exeext
9801 if { (ac_try="$ac_link"
9802 case "(($ac_try" in
9803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9804 *) ac_try_echo=$ac_try;;
9805 esac
9806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9807 (eval "$ac_link") 2>conftest.er1
9808 ac_status=$?
9809 grep -v '^ *+' conftest.er1 >conftest.err
9810 rm -f conftest.er1
9811 cat conftest.err >&5
9812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813 (exit $ac_status); } && {
9814 test -z "$ac_c_werror_flag" ||
9815 test ! -s conftest.err
9816 } && test -s conftest$ac_exeext &&
9817 $as_test_x conftest$ac_exeext; then
9818 case "$LIBEXT" in
9819 dll) ;;
9820 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'` ;;
9821 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9822 esac
9823 else
9824 echo "$as_me: failed program was:" >&5
9825 sed 's/^/| /' conftest.$ac_ext >&5
9830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9831 conftest$ac_exeext conftest.$ac_ext
9832 LIBS=$ac_check_soname_save_LIBS
9834 if test "x$ac_cv_lib_soname_GL" = "x"; then
9835 { echo "$as_me:$LINENO: result: not found" >&5
9836 echo "${ECHO_T}not found" >&6; }
9838 else
9839 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
9840 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
9842 cat >>confdefs.h <<_ACEOF
9843 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9844 _ACEOF
9846 OPENGL_LIBS="-lGL"
9847 OPENGLFILES='$(OPENGLFILES)'
9849 cat >>confdefs.h <<\_ACEOF
9850 #define HAVE_OPENGL 1
9851 _ACEOF
9857 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9858 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9859 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9860 echo $ECHO_N "(cached) $ECHO_C" >&6
9861 else
9862 ac_check_lib_save_LIBS=$LIBS
9863 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9864 $LIBS"
9865 cat >conftest.$ac_ext <<_ACEOF
9866 /* confdefs.h. */
9867 _ACEOF
9868 cat confdefs.h >>conftest.$ac_ext
9869 cat >>conftest.$ac_ext <<_ACEOF
9870 /* end confdefs.h. */
9872 /* Override any GCC internal prototype to avoid an error.
9873 Use char because int might match the return type of a GCC
9874 builtin and then its argument prototype would still apply. */
9875 #ifdef __cplusplus
9876 extern "C"
9877 #endif
9878 char gluLookAt ();
9880 main ()
9882 return gluLookAt ();
9884 return 0;
9886 _ACEOF
9887 rm -f conftest.$ac_objext conftest$ac_exeext
9888 if { (ac_try="$ac_link"
9889 case "(($ac_try" in
9890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9891 *) ac_try_echo=$ac_try;;
9892 esac
9893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9894 (eval "$ac_link") 2>conftest.er1
9895 ac_status=$?
9896 grep -v '^ *+' conftest.er1 >conftest.err
9897 rm -f conftest.er1
9898 cat conftest.err >&5
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); } && {
9901 test -z "$ac_c_werror_flag" ||
9902 test ! -s conftest.err
9903 } && test -s conftest$ac_exeext &&
9904 $as_test_x conftest$ac_exeext; then
9905 ac_cv_lib_GLU_gluLookAt=yes
9906 else
9907 echo "$as_me: failed program was:" >&5
9908 sed 's/^/| /' conftest.$ac_ext >&5
9910 ac_cv_lib_GLU_gluLookAt=no
9913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9914 conftest$ac_exeext conftest.$ac_ext
9915 LIBS=$ac_check_lib_save_LIBS
9917 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9918 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9919 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9920 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9921 GLU32FILES='$(GLU32FILES)'
9926 else
9927 wine_cv_opengl_headers_found="no"
9930 NASLIBS=""
9933 for ac_header in audio/audiolib.h
9935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9937 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9940 echo $ECHO_N "(cached) $ECHO_C" >&6
9942 ac_res=`eval echo '${'$as_ac_Header'}'`
9943 { echo "$as_me:$LINENO: result: $ac_res" >&5
9944 echo "${ECHO_T}$ac_res" >&6; }
9945 else
9946 # Is the header compilable?
9947 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9949 cat >conftest.$ac_ext <<_ACEOF
9950 /* confdefs.h. */
9951 _ACEOF
9952 cat confdefs.h >>conftest.$ac_ext
9953 cat >>conftest.$ac_ext <<_ACEOF
9954 /* end confdefs.h. */
9955 $ac_includes_default
9956 #include <$ac_header>
9957 _ACEOF
9958 rm -f conftest.$ac_objext
9959 if { (ac_try="$ac_compile"
9960 case "(($ac_try" in
9961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9962 *) ac_try_echo=$ac_try;;
9963 esac
9964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9965 (eval "$ac_compile") 2>conftest.er1
9966 ac_status=$?
9967 grep -v '^ *+' conftest.er1 >conftest.err
9968 rm -f conftest.er1
9969 cat conftest.err >&5
9970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 (exit $ac_status); } && {
9972 test -z "$ac_c_werror_flag" ||
9973 test ! -s conftest.err
9974 } && test -s conftest.$ac_objext; then
9975 ac_header_compiler=yes
9976 else
9977 echo "$as_me: failed program was:" >&5
9978 sed 's/^/| /' conftest.$ac_ext >&5
9980 ac_header_compiler=no
9983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9984 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9985 echo "${ECHO_T}$ac_header_compiler" >&6; }
9987 # Is the header present?
9988 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9990 cat >conftest.$ac_ext <<_ACEOF
9991 /* confdefs.h. */
9992 _ACEOF
9993 cat confdefs.h >>conftest.$ac_ext
9994 cat >>conftest.$ac_ext <<_ACEOF
9995 /* end confdefs.h. */
9996 #include <$ac_header>
9997 _ACEOF
9998 if { (ac_try="$ac_cpp conftest.$ac_ext"
9999 case "(($ac_try" in
10000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10001 *) ac_try_echo=$ac_try;;
10002 esac
10003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10005 ac_status=$?
10006 grep -v '^ *+' conftest.er1 >conftest.err
10007 rm -f conftest.er1
10008 cat conftest.err >&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); } >/dev/null && {
10011 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10012 test ! -s conftest.err
10013 }; then
10014 ac_header_preproc=yes
10015 else
10016 echo "$as_me: failed program was:" >&5
10017 sed 's/^/| /' conftest.$ac_ext >&5
10019 ac_header_preproc=no
10022 rm -f conftest.err conftest.$ac_ext
10023 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10024 echo "${ECHO_T}$ac_header_preproc" >&6; }
10026 # So? What about this header?
10027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10028 yes:no: )
10029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10033 ac_header_preproc=yes
10035 no:yes:* )
10036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10040 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10042 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10043 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10046 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10048 ( cat <<\_ASBOX
10049 ## ------------------------------------ ##
10050 ## Report this to wine-devel@winehq.org ##
10051 ## ------------------------------------ ##
10052 _ASBOX
10053 ) | sed "s/^/$as_me: WARNING: /" >&2
10055 esac
10056 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10059 echo $ECHO_N "(cached) $ECHO_C" >&6
10060 else
10061 eval "$as_ac_Header=\$ac_header_preproc"
10063 ac_res=`eval echo '${'$as_ac_Header'}'`
10064 { echo "$as_me:$LINENO: result: $ac_res" >&5
10065 echo "${ECHO_T}$ac_res" >&6; }
10068 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10069 cat >>confdefs.h <<_ACEOF
10070 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10071 _ACEOF
10073 for ac_header in audio/soundlib.h
10075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10076 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10078 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10079 echo $ECHO_N "(cached) $ECHO_C" >&6
10080 else
10081 cat >conftest.$ac_ext <<_ACEOF
10082 /* confdefs.h. */
10083 _ACEOF
10084 cat confdefs.h >>conftest.$ac_ext
10085 cat >>conftest.$ac_ext <<_ACEOF
10086 /* end confdefs.h. */
10087 #include <audio/audiolib.h>
10089 #include <$ac_header>
10090 _ACEOF
10091 rm -f conftest.$ac_objext
10092 if { (ac_try="$ac_compile"
10093 case "(($ac_try" in
10094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10095 *) ac_try_echo=$ac_try;;
10096 esac
10097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10098 (eval "$ac_compile") 2>conftest.er1
10099 ac_status=$?
10100 grep -v '^ *+' conftest.er1 >conftest.err
10101 rm -f conftest.er1
10102 cat conftest.err >&5
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); } && {
10105 test -z "$ac_c_werror_flag" ||
10106 test ! -s conftest.err
10107 } && test -s conftest.$ac_objext; then
10108 eval "$as_ac_Header=yes"
10109 else
10110 echo "$as_me: failed program was:" >&5
10111 sed 's/^/| /' conftest.$ac_ext >&5
10113 eval "$as_ac_Header=no"
10116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10118 ac_res=`eval echo '${'$as_ac_Header'}'`
10119 { echo "$as_me:$LINENO: result: $ac_res" >&5
10120 echo "${ECHO_T}$ac_res" >&6; }
10121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10122 cat >>confdefs.h <<_ACEOF
10123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10124 _ACEOF
10128 done
10130 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10131 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10132 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10133 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 else
10135 ac_check_lib_save_LIBS=$LIBS
10136 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10137 cat >conftest.$ac_ext <<_ACEOF
10138 /* confdefs.h. */
10139 _ACEOF
10140 cat confdefs.h >>conftest.$ac_ext
10141 cat >>conftest.$ac_ext <<_ACEOF
10142 /* end confdefs.h. */
10144 /* Override any GCC internal prototype to avoid an error.
10145 Use char because int might match the return type of a GCC
10146 builtin and then its argument prototype would still apply. */
10147 #ifdef __cplusplus
10148 extern "C"
10149 #endif
10150 char AuCreateFlow ();
10152 main ()
10154 return AuCreateFlow ();
10156 return 0;
10158 _ACEOF
10159 rm -f conftest.$ac_objext conftest$ac_exeext
10160 if { (ac_try="$ac_link"
10161 case "(($ac_try" in
10162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10163 *) ac_try_echo=$ac_try;;
10164 esac
10165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10166 (eval "$ac_link") 2>conftest.er1
10167 ac_status=$?
10168 grep -v '^ *+' conftest.er1 >conftest.err
10169 rm -f conftest.er1
10170 cat conftest.err >&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } && {
10173 test -z "$ac_c_werror_flag" ||
10174 test ! -s conftest.err
10175 } && test -s conftest$ac_exeext &&
10176 $as_test_x conftest$ac_exeext; then
10177 ac_cv_lib_audio_AuCreateFlow=yes
10178 else
10179 echo "$as_me: failed program was:" >&5
10180 sed 's/^/| /' conftest.$ac_ext >&5
10182 ac_cv_lib_audio_AuCreateFlow=no
10185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10186 conftest$ac_exeext conftest.$ac_ext
10187 LIBS=$ac_check_lib_save_LIBS
10189 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10190 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10191 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10193 cat >>confdefs.h <<\_ACEOF
10194 #define HAVE_NAS 1
10195 _ACEOF
10197 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10198 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10199 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10200 echo $ECHO_N "(cached) $ECHO_C" >&6
10201 else
10202 ac_check_lib_save_LIBS=$LIBS
10203 LIBS="-lXau $X_LIBS $LIBS"
10204 cat >conftest.$ac_ext <<_ACEOF
10205 /* confdefs.h. */
10206 _ACEOF
10207 cat confdefs.h >>conftest.$ac_ext
10208 cat >>conftest.$ac_ext <<_ACEOF
10209 /* end confdefs.h. */
10211 /* Override any GCC internal prototype to avoid an error.
10212 Use char because int might match the return type of a GCC
10213 builtin and then its argument prototype would still apply. */
10214 #ifdef __cplusplus
10215 extern "C"
10216 #endif
10217 char XauGetBestAuthByAddr ();
10219 main ()
10221 return XauGetBestAuthByAddr ();
10223 return 0;
10225 _ACEOF
10226 rm -f conftest.$ac_objext conftest$ac_exeext
10227 if { (ac_try="$ac_link"
10228 case "(($ac_try" in
10229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10230 *) ac_try_echo=$ac_try;;
10231 esac
10232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10233 (eval "$ac_link") 2>conftest.er1
10234 ac_status=$?
10235 grep -v '^ *+' conftest.er1 >conftest.err
10236 rm -f conftest.er1
10237 cat conftest.err >&5
10238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10239 (exit $ac_status); } && {
10240 test -z "$ac_c_werror_flag" ||
10241 test ! -s conftest.err
10242 } && test -s conftest$ac_exeext &&
10243 $as_test_x conftest$ac_exeext; then
10244 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10245 else
10246 echo "$as_me: failed program was:" >&5
10247 sed 's/^/| /' conftest.$ac_ext >&5
10249 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10253 conftest$ac_exeext conftest.$ac_ext
10254 LIBS=$ac_check_lib_save_LIBS
10256 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10257 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10258 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10259 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10260 else
10261 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10269 done
10272 CPPFLAGS="$ac_save_CPPFLAGS"
10273 XFILES='$(XFILES)'
10274 else
10275 XLIB=""
10276 X_CFLAGS=""
10277 X_LIBS=""
10281 XML2LIBS=""
10283 XML2INCL=""
10285 XSLTLIBS=""
10287 XSLTINCL=""
10289 ac_save_CPPFLAGS="$CPPFLAGS"
10290 if test "$PKG_CONFIG" != "false"
10291 then
10292 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10293 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10294 else
10295 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10296 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10298 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10300 for ac_header in libxml/parser.h
10302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10304 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10306 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10307 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 ac_res=`eval echo '${'$as_ac_Header'}'`
10310 { echo "$as_me:$LINENO: result: $ac_res" >&5
10311 echo "${ECHO_T}$ac_res" >&6; }
10312 else
10313 # Is the header compilable?
10314 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10316 cat >conftest.$ac_ext <<_ACEOF
10317 /* confdefs.h. */
10318 _ACEOF
10319 cat confdefs.h >>conftest.$ac_ext
10320 cat >>conftest.$ac_ext <<_ACEOF
10321 /* end confdefs.h. */
10322 $ac_includes_default
10323 #include <$ac_header>
10324 _ACEOF
10325 rm -f conftest.$ac_objext
10326 if { (ac_try="$ac_compile"
10327 case "(($ac_try" in
10328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10329 *) ac_try_echo=$ac_try;;
10330 esac
10331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10332 (eval "$ac_compile") 2>conftest.er1
10333 ac_status=$?
10334 grep -v '^ *+' conftest.er1 >conftest.err
10335 rm -f conftest.er1
10336 cat conftest.err >&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); } && {
10339 test -z "$ac_c_werror_flag" ||
10340 test ! -s conftest.err
10341 } && test -s conftest.$ac_objext; then
10342 ac_header_compiler=yes
10343 else
10344 echo "$as_me: failed program was:" >&5
10345 sed 's/^/| /' conftest.$ac_ext >&5
10347 ac_header_compiler=no
10350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10351 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10352 echo "${ECHO_T}$ac_header_compiler" >&6; }
10354 # Is the header present?
10355 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10356 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10357 cat >conftest.$ac_ext <<_ACEOF
10358 /* confdefs.h. */
10359 _ACEOF
10360 cat confdefs.h >>conftest.$ac_ext
10361 cat >>conftest.$ac_ext <<_ACEOF
10362 /* end confdefs.h. */
10363 #include <$ac_header>
10364 _ACEOF
10365 if { (ac_try="$ac_cpp conftest.$ac_ext"
10366 case "(($ac_try" in
10367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10368 *) ac_try_echo=$ac_try;;
10369 esac
10370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10372 ac_status=$?
10373 grep -v '^ *+' conftest.er1 >conftest.err
10374 rm -f conftest.er1
10375 cat conftest.err >&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } >/dev/null && {
10378 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10379 test ! -s conftest.err
10380 }; then
10381 ac_header_preproc=yes
10382 else
10383 echo "$as_me: failed program was:" >&5
10384 sed 's/^/| /' conftest.$ac_ext >&5
10386 ac_header_preproc=no
10389 rm -f conftest.err conftest.$ac_ext
10390 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10391 echo "${ECHO_T}$ac_header_preproc" >&6; }
10393 # So? What about this header?
10394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10395 yes:no: )
10396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10400 ac_header_preproc=yes
10402 no:yes:* )
10403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10415 ( cat <<\_ASBOX
10416 ## ------------------------------------ ##
10417 ## Report this to wine-devel@winehq.org ##
10418 ## ------------------------------------ ##
10419 _ASBOX
10420 ) | sed "s/^/$as_me: WARNING: /" >&2
10422 esac
10423 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10426 echo $ECHO_N "(cached) $ECHO_C" >&6
10427 else
10428 eval "$as_ac_Header=\$ac_header_preproc"
10430 ac_res=`eval echo '${'$as_ac_Header'}'`
10431 { echo "$as_me:$LINENO: result: $ac_res" >&5
10432 echo "${ECHO_T}$ac_res" >&6; }
10435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10436 cat >>confdefs.h <<_ACEOF
10437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10438 _ACEOF
10439 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10440 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10441 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10442 echo $ECHO_N "(cached) $ECHO_C" >&6
10443 else
10444 ac_check_lib_save_LIBS=$LIBS
10445 LIBS="-lxml2 $ac_xml_libs $LIBS"
10446 cat >conftest.$ac_ext <<_ACEOF
10447 /* confdefs.h. */
10448 _ACEOF
10449 cat confdefs.h >>conftest.$ac_ext
10450 cat >>conftest.$ac_ext <<_ACEOF
10451 /* end confdefs.h. */
10453 /* Override any GCC internal prototype to avoid an error.
10454 Use char because int might match the return type of a GCC
10455 builtin and then its argument prototype would still apply. */
10456 #ifdef __cplusplus
10457 extern "C"
10458 #endif
10459 char xmlParseMemory ();
10461 main ()
10463 return xmlParseMemory ();
10465 return 0;
10467 _ACEOF
10468 rm -f conftest.$ac_objext conftest$ac_exeext
10469 if { (ac_try="$ac_link"
10470 case "(($ac_try" in
10471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10472 *) ac_try_echo=$ac_try;;
10473 esac
10474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10475 (eval "$ac_link") 2>conftest.er1
10476 ac_status=$?
10477 grep -v '^ *+' conftest.er1 >conftest.err
10478 rm -f conftest.er1
10479 cat conftest.err >&5
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); } && {
10482 test -z "$ac_c_werror_flag" ||
10483 test ! -s conftest.err
10484 } && test -s conftest$ac_exeext &&
10485 $as_test_x conftest$ac_exeext; then
10486 ac_cv_lib_xml2_xmlParseMemory=yes
10487 else
10488 echo "$as_me: failed program was:" >&5
10489 sed 's/^/| /' conftest.$ac_ext >&5
10491 ac_cv_lib_xml2_xmlParseMemory=no
10494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10495 conftest$ac_exeext conftest.$ac_ext
10496 LIBS=$ac_check_lib_save_LIBS
10498 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10499 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10500 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10502 cat >>confdefs.h <<\_ACEOF
10503 #define HAVE_LIBXML2 1
10504 _ACEOF
10506 XML2LIBS="$ac_xml_libs"
10507 XML2INCL="$ac_xml_cflags"
10510 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10511 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10512 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10513 echo $ECHO_N "(cached) $ECHO_C" >&6
10514 else
10515 ac_check_lib_save_LIBS=$LIBS
10516 LIBS="-lxml2 $ac_xml_libs $LIBS"
10517 cat >conftest.$ac_ext <<_ACEOF
10518 /* confdefs.h. */
10519 _ACEOF
10520 cat confdefs.h >>conftest.$ac_ext
10521 cat >>conftest.$ac_ext <<_ACEOF
10522 /* end confdefs.h. */
10524 /* Override any GCC internal prototype to avoid an error.
10525 Use char because int might match the return type of a GCC
10526 builtin and then its argument prototype would still apply. */
10527 #ifdef __cplusplus
10528 extern "C"
10529 #endif
10530 char xmlReadMemory ();
10532 main ()
10534 return xmlReadMemory ();
10536 return 0;
10538 _ACEOF
10539 rm -f conftest.$ac_objext conftest$ac_exeext
10540 if { (ac_try="$ac_link"
10541 case "(($ac_try" in
10542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10543 *) ac_try_echo=$ac_try;;
10544 esac
10545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10546 (eval "$ac_link") 2>conftest.er1
10547 ac_status=$?
10548 grep -v '^ *+' conftest.er1 >conftest.err
10549 rm -f conftest.er1
10550 cat conftest.err >&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); } && {
10553 test -z "$ac_c_werror_flag" ||
10554 test ! -s conftest.err
10555 } && test -s conftest$ac_exeext &&
10556 $as_test_x conftest$ac_exeext; then
10557 ac_cv_lib_xml2_xmlReadMemory=yes
10558 else
10559 echo "$as_me: failed program was:" >&5
10560 sed 's/^/| /' conftest.$ac_ext >&5
10562 ac_cv_lib_xml2_xmlReadMemory=no
10565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10566 conftest$ac_exeext conftest.$ac_ext
10567 LIBS=$ac_check_lib_save_LIBS
10569 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10570 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10571 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10573 cat >>confdefs.h <<\_ACEOF
10574 #define HAVE_XMLREADMEMORY 1
10575 _ACEOF
10579 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
10580 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
10581 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
10582 echo $ECHO_N "(cached) $ECHO_C" >&6
10583 else
10584 ac_check_lib_save_LIBS=$LIBS
10585 LIBS="-lxml2 $ac_xml_libs $LIBS"
10586 cat >conftest.$ac_ext <<_ACEOF
10587 /* confdefs.h. */
10588 _ACEOF
10589 cat confdefs.h >>conftest.$ac_ext
10590 cat >>conftest.$ac_ext <<_ACEOF
10591 /* end confdefs.h. */
10593 /* Override any GCC internal prototype to avoid an error.
10594 Use char because int might match the return type of a GCC
10595 builtin and then its argument prototype would still apply. */
10596 #ifdef __cplusplus
10597 extern "C"
10598 #endif
10599 char xmlNewDocPI ();
10601 main ()
10603 return xmlNewDocPI ();
10605 return 0;
10607 _ACEOF
10608 rm -f conftest.$ac_objext conftest$ac_exeext
10609 if { (ac_try="$ac_link"
10610 case "(($ac_try" in
10611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10612 *) ac_try_echo=$ac_try;;
10613 esac
10614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10615 (eval "$ac_link") 2>conftest.er1
10616 ac_status=$?
10617 grep -v '^ *+' conftest.er1 >conftest.err
10618 rm -f conftest.er1
10619 cat conftest.err >&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); } && {
10622 test -z "$ac_c_werror_flag" ||
10623 test ! -s conftest.err
10624 } && test -s conftest$ac_exeext &&
10625 $as_test_x conftest$ac_exeext; then
10626 ac_cv_lib_xml2_xmlNewDocPI=yes
10627 else
10628 echo "$as_me: failed program was:" >&5
10629 sed 's/^/| /' conftest.$ac_ext >&5
10631 ac_cv_lib_xml2_xmlNewDocPI=no
10634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10635 conftest$ac_exeext conftest.$ac_ext
10636 LIBS=$ac_check_lib_save_LIBS
10638 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10639 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10640 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
10642 cat >>confdefs.h <<\_ACEOF
10643 #define HAVE_XMLNEWDOCPI 1
10644 _ACEOF
10651 done
10653 CPPFLAGS="$ac_save_CPPFLAGS"
10654 if test "$PKG_CONFIG" != "false"
10655 then
10656 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10657 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10658 else
10659 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
10660 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
10662 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10665 for ac_header in libxslt/pattern.h libxslt/transform.h
10667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10668 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10671 echo $ECHO_N "(cached) $ECHO_C" >&6
10672 else
10673 cat >conftest.$ac_ext <<_ACEOF
10674 /* confdefs.h. */
10675 _ACEOF
10676 cat confdefs.h >>conftest.$ac_ext
10677 cat >>conftest.$ac_ext <<_ACEOF
10678 /* end confdefs.h. */
10679 #ifdef HAVE_LIBXSLT_PATTERN_H
10680 # include <libxslt/pattern.h>
10681 #endif
10683 #include <$ac_header>
10684 _ACEOF
10685 rm -f conftest.$ac_objext
10686 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
10702 eval "$as_ac_Header=yes"
10703 else
10704 echo "$as_me: failed program was:" >&5
10705 sed 's/^/| /' conftest.$ac_ext >&5
10707 eval "$as_ac_Header=no"
10710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10712 ac_res=`eval echo '${'$as_ac_Header'}'`
10713 { echo "$as_me:$LINENO: result: $ac_res" >&5
10714 echo "${ECHO_T}$ac_res" >&6; }
10715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10716 cat >>confdefs.h <<_ACEOF
10717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10718 _ACEOF
10719 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10720 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10721 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10722 echo $ECHO_N "(cached) $ECHO_C" >&6
10723 else
10724 ac_check_lib_save_LIBS=$LIBS
10725 LIBS="-lxslt $ac_xslt_libs $LIBS"
10726 cat >conftest.$ac_ext <<_ACEOF
10727 /* confdefs.h. */
10728 _ACEOF
10729 cat confdefs.h >>conftest.$ac_ext
10730 cat >>conftest.$ac_ext <<_ACEOF
10731 /* end confdefs.h. */
10733 /* Override any GCC internal prototype to avoid an error.
10734 Use char because int might match the return type of a GCC
10735 builtin and then its argument prototype would still apply. */
10736 #ifdef __cplusplus
10737 extern "C"
10738 #endif
10739 char xsltCompilePattern ();
10741 main ()
10743 return xsltCompilePattern ();
10745 return 0;
10747 _ACEOF
10748 rm -f conftest.$ac_objext conftest$ac_exeext
10749 if { (ac_try="$ac_link"
10750 case "(($ac_try" in
10751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10752 *) ac_try_echo=$ac_try;;
10753 esac
10754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10755 (eval "$ac_link") 2>conftest.er1
10756 ac_status=$?
10757 grep -v '^ *+' conftest.er1 >conftest.err
10758 rm -f conftest.er1
10759 cat conftest.err >&5
10760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10761 (exit $ac_status); } && {
10762 test -z "$ac_c_werror_flag" ||
10763 test ! -s conftest.err
10764 } && test -s conftest$ac_exeext &&
10765 $as_test_x conftest$ac_exeext; then
10766 ac_cv_lib_xslt_xsltCompilePattern=yes
10767 else
10768 echo "$as_me: failed program was:" >&5
10769 sed 's/^/| /' conftest.$ac_ext >&5
10771 ac_cv_lib_xslt_xsltCompilePattern=no
10774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_lib_save_LIBS
10778 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10779 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10780 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10782 cat >>confdefs.h <<\_ACEOF
10783 #define HAVE_LIBXSLT 1
10784 _ACEOF
10786 XSLTLIBS="$ac_xslt_libs"
10787 XSLTINCL="$ac_xslt_cflags"
10793 done
10795 CPPFLAGS="$ac_save_CPPFLAGS"
10797 HALINCL=""
10799 if test "$PKG_CONFIG" != "false"
10800 then
10801 ac_save_CPPFLAGS="$CPPFLAGS"
10802 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10803 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10804 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10807 for ac_header in dbus/dbus.h hal/libhal.h
10809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10810 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10811 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 ac_res=`eval echo '${'$as_ac_Header'}'`
10817 { echo "$as_me:$LINENO: result: $ac_res" >&5
10818 echo "${ECHO_T}$ac_res" >&6; }
10819 else
10820 # Is the header compilable?
10821 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10823 cat >conftest.$ac_ext <<_ACEOF
10824 /* confdefs.h. */
10825 _ACEOF
10826 cat confdefs.h >>conftest.$ac_ext
10827 cat >>conftest.$ac_ext <<_ACEOF
10828 /* end confdefs.h. */
10829 $ac_includes_default
10830 #include <$ac_header>
10831 _ACEOF
10832 rm -f conftest.$ac_objext
10833 if { (ac_try="$ac_compile"
10834 case "(($ac_try" in
10835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10836 *) ac_try_echo=$ac_try;;
10837 esac
10838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10839 (eval "$ac_compile") 2>conftest.er1
10840 ac_status=$?
10841 grep -v '^ *+' conftest.er1 >conftest.err
10842 rm -f conftest.er1
10843 cat conftest.err >&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } && {
10846 test -z "$ac_c_werror_flag" ||
10847 test ! -s conftest.err
10848 } && test -s conftest.$ac_objext; then
10849 ac_header_compiler=yes
10850 else
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.$ac_ext >&5
10854 ac_header_compiler=no
10857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10858 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10859 echo "${ECHO_T}$ac_header_compiler" >&6; }
10861 # Is the header present?
10862 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10864 cat >conftest.$ac_ext <<_ACEOF
10865 /* confdefs.h. */
10866 _ACEOF
10867 cat confdefs.h >>conftest.$ac_ext
10868 cat >>conftest.$ac_ext <<_ACEOF
10869 /* end confdefs.h. */
10870 #include <$ac_header>
10871 _ACEOF
10872 if { (ac_try="$ac_cpp conftest.$ac_ext"
10873 case "(($ac_try" in
10874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10875 *) ac_try_echo=$ac_try;;
10876 esac
10877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10878 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10879 ac_status=$?
10880 grep -v '^ *+' conftest.er1 >conftest.err
10881 rm -f conftest.er1
10882 cat conftest.err >&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } >/dev/null && {
10885 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10886 test ! -s conftest.err
10887 }; then
10888 ac_header_preproc=yes
10889 else
10890 echo "$as_me: failed program was:" >&5
10891 sed 's/^/| /' conftest.$ac_ext >&5
10893 ac_header_preproc=no
10896 rm -f conftest.err conftest.$ac_ext
10897 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10898 echo "${ECHO_T}$ac_header_preproc" >&6; }
10900 # So? What about this header?
10901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10902 yes:no: )
10903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10904 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10906 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10907 ac_header_preproc=yes
10909 no:yes:* )
10910 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10911 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10912 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10913 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10914 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10915 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10916 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10917 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10920 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10921 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10922 ( cat <<\_ASBOX
10923 ## ------------------------------------ ##
10924 ## Report this to wine-devel@winehq.org ##
10925 ## ------------------------------------ ##
10926 _ASBOX
10927 ) | sed "s/^/$as_me: WARNING: /" >&2
10929 esac
10930 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10932 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10933 echo $ECHO_N "(cached) $ECHO_C" >&6
10934 else
10935 eval "$as_ac_Header=\$ac_header_preproc"
10937 ac_res=`eval echo '${'$as_ac_Header'}'`
10938 { echo "$as_me:$LINENO: result: $ac_res" >&5
10939 echo "${ECHO_T}$ac_res" >&6; }
10942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10943 cat >>confdefs.h <<_ACEOF
10944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10945 _ACEOF
10949 done
10951 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10952 then
10953 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10954 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10955 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10956 echo $ECHO_N "(cached) $ECHO_C" >&6
10957 else
10958 ac_check_lib_save_LIBS=$LIBS
10959 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10960 cat >conftest.$ac_ext <<_ACEOF
10961 /* confdefs.h. */
10962 _ACEOF
10963 cat confdefs.h >>conftest.$ac_ext
10964 cat >>conftest.$ac_ext <<_ACEOF
10965 /* end confdefs.h. */
10967 /* Override any GCC internal prototype to avoid an error.
10968 Use char because int might match the return type of a GCC
10969 builtin and then its argument prototype would still apply. */
10970 #ifdef __cplusplus
10971 extern "C"
10972 #endif
10973 char dbus_connection_close ();
10975 main ()
10977 return dbus_connection_close ();
10979 return 0;
10981 _ACEOF
10982 rm -f conftest.$ac_objext conftest$ac_exeext
10983 if { (ac_try="$ac_link"
10984 case "(($ac_try" in
10985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10986 *) ac_try_echo=$ac_try;;
10987 esac
10988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10989 (eval "$ac_link") 2>conftest.er1
10990 ac_status=$?
10991 grep -v '^ *+' conftest.er1 >conftest.err
10992 rm -f conftest.er1
10993 cat conftest.err >&5
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); } && {
10996 test -z "$ac_c_werror_flag" ||
10997 test ! -s conftest.err
10998 } && test -s conftest$ac_exeext &&
10999 $as_test_x conftest$ac_exeext; then
11000 ac_cv_lib_dbus_1_dbus_connection_close=yes
11001 else
11002 echo "$as_me: failed program was:" >&5
11003 sed 's/^/| /' conftest.$ac_ext >&5
11005 ac_cv_lib_dbus_1_dbus_connection_close=no
11008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11009 conftest$ac_exeext conftest.$ac_ext
11010 LIBS=$ac_check_lib_save_LIBS
11012 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11013 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11014 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11015 { echo "$as_me:$LINENO: checking for -lhal" >&5
11016 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11017 if test "${ac_cv_lib_soname_hal+set}" = set; then
11018 echo $ECHO_N "(cached) $ECHO_C" >&6
11019 else
11020 ac_check_soname_save_LIBS=$LIBS
11021 LIBS="-lhal $ac_hal_libs $LIBS"
11022 cat >conftest.$ac_ext <<_ACEOF
11023 /* confdefs.h. */
11024 _ACEOF
11025 cat confdefs.h >>conftest.$ac_ext
11026 cat >>conftest.$ac_ext <<_ACEOF
11027 /* end confdefs.h. */
11029 /* Override any GCC internal prototype to avoid an error.
11030 Use char because int might match the return type of a GCC
11031 builtin and then its argument prototype would still apply. */
11032 #ifdef __cplusplus
11033 extern "C"
11034 #endif
11035 char libhal_ctx_new ();
11037 main ()
11039 return libhal_ctx_new ();
11041 return 0;
11043 _ACEOF
11044 rm -f conftest.$ac_objext conftest$ac_exeext
11045 if { (ac_try="$ac_link"
11046 case "(($ac_try" in
11047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11048 *) ac_try_echo=$ac_try;;
11049 esac
11050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11051 (eval "$ac_link") 2>conftest.er1
11052 ac_status=$?
11053 grep -v '^ *+' conftest.er1 >conftest.err
11054 rm -f conftest.er1
11055 cat conftest.err >&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); } && {
11058 test -z "$ac_c_werror_flag" ||
11059 test ! -s conftest.err
11060 } && test -s conftest$ac_exeext &&
11061 $as_test_x conftest$ac_exeext; then
11062 case "$LIBEXT" in
11063 dll) ;;
11064 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'` ;;
11065 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11066 esac
11067 else
11068 echo "$as_me: failed program was:" >&5
11069 sed 's/^/| /' conftest.$ac_ext >&5
11074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11075 conftest$ac_exeext conftest.$ac_ext
11076 LIBS=$ac_check_soname_save_LIBS
11078 if test "x$ac_cv_lib_soname_hal" = "x"; then
11079 { echo "$as_me:$LINENO: result: not found" >&5
11080 echo "${ECHO_T}not found" >&6; }
11082 else
11083 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11084 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11086 cat >>confdefs.h <<_ACEOF
11087 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11088 _ACEOF
11090 HALINCL="$ac_hal_cflags"
11096 CPPFLAGS="$ac_save_CPPFLAGS"
11099 CURSESLIBS=""
11100 if test "$ac_cv_header_ncurses_h" = "yes"
11101 then
11102 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11103 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11104 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11105 echo $ECHO_N "(cached) $ECHO_C" >&6
11106 else
11107 ac_check_soname_save_LIBS=$LIBS
11108 LIBS="-lncurses $LIBS"
11109 cat >conftest.$ac_ext <<_ACEOF
11110 /* confdefs.h. */
11111 _ACEOF
11112 cat confdefs.h >>conftest.$ac_ext
11113 cat >>conftest.$ac_ext <<_ACEOF
11114 /* end confdefs.h. */
11116 /* Override any GCC internal prototype to avoid an error.
11117 Use char because int might match the return type of a GCC
11118 builtin and then its argument prototype would still apply. */
11119 #ifdef __cplusplus
11120 extern "C"
11121 #endif
11122 char waddch ();
11124 main ()
11126 return waddch ();
11128 return 0;
11130 _ACEOF
11131 rm -f conftest.$ac_objext conftest$ac_exeext
11132 if { (ac_try="$ac_link"
11133 case "(($ac_try" in
11134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11135 *) ac_try_echo=$ac_try;;
11136 esac
11137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11138 (eval "$ac_link") 2>conftest.er1
11139 ac_status=$?
11140 grep -v '^ *+' conftest.er1 >conftest.err
11141 rm -f conftest.er1
11142 cat conftest.err >&5
11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144 (exit $ac_status); } && {
11145 test -z "$ac_c_werror_flag" ||
11146 test ! -s conftest.err
11147 } && test -s conftest$ac_exeext &&
11148 $as_test_x conftest$ac_exeext; then
11149 case "$LIBEXT" in
11150 dll) ;;
11151 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'` ;;
11152 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11153 esac
11154 else
11155 echo "$as_me: failed program was:" >&5
11156 sed 's/^/| /' conftest.$ac_ext >&5
11161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11162 conftest$ac_exeext conftest.$ac_ext
11163 LIBS=$ac_check_soname_save_LIBS
11165 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11166 { echo "$as_me:$LINENO: result: not found" >&5
11167 echo "${ECHO_T}not found" >&6; }
11169 else
11170 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11171 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11173 cat >>confdefs.h <<_ACEOF
11174 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11175 _ACEOF
11177 CURSESLIBS="-lncurses"
11180 elif test "$ac_cv_header_curses_h" = "yes"
11181 then
11182 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11183 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11184 if test "${ac_cv_lib_soname_curses+set}" = set; then
11185 echo $ECHO_N "(cached) $ECHO_C" >&6
11186 else
11187 ac_check_soname_save_LIBS=$LIBS
11188 LIBS="-lcurses $LIBS"
11189 cat >conftest.$ac_ext <<_ACEOF
11190 /* confdefs.h. */
11191 _ACEOF
11192 cat confdefs.h >>conftest.$ac_ext
11193 cat >>conftest.$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11196 /* Override any GCC internal prototype to avoid an error.
11197 Use char because int might match the return type of a GCC
11198 builtin and then its argument prototype would still apply. */
11199 #ifdef __cplusplus
11200 extern "C"
11201 #endif
11202 char waddch ();
11204 main ()
11206 return waddch ();
11208 return 0;
11210 _ACEOF
11211 rm -f conftest.$ac_objext conftest$ac_exeext
11212 if { (ac_try="$ac_link"
11213 case "(($ac_try" in
11214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11215 *) ac_try_echo=$ac_try;;
11216 esac
11217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11218 (eval "$ac_link") 2>conftest.er1
11219 ac_status=$?
11220 grep -v '^ *+' conftest.er1 >conftest.err
11221 rm -f conftest.er1
11222 cat conftest.err >&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } && {
11225 test -z "$ac_c_werror_flag" ||
11226 test ! -s conftest.err
11227 } && test -s conftest$ac_exeext &&
11228 $as_test_x conftest$ac_exeext; then
11229 case "$LIBEXT" in
11230 dll) ;;
11231 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'` ;;
11232 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11233 esac
11234 else
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.$ac_ext >&5
11241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11242 conftest$ac_exeext conftest.$ac_ext
11243 LIBS=$ac_check_soname_save_LIBS
11245 if test "x$ac_cv_lib_soname_curses" = "x"; then
11246 { echo "$as_me:$LINENO: result: not found" >&5
11247 echo "${ECHO_T}not found" >&6; }
11249 else
11250 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11251 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11253 cat >>confdefs.h <<_ACEOF
11254 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11255 _ACEOF
11257 CURSESLIBS="-lcurses"
11261 ac_save_LIBS="$LIBS"
11262 LIBS="$LIBS $CURSESLIBS"
11264 for ac_func in mousemask
11266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11267 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11269 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11270 echo $ECHO_N "(cached) $ECHO_C" >&6
11271 else
11272 cat >conftest.$ac_ext <<_ACEOF
11273 /* confdefs.h. */
11274 _ACEOF
11275 cat confdefs.h >>conftest.$ac_ext
11276 cat >>conftest.$ac_ext <<_ACEOF
11277 /* end confdefs.h. */
11278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11280 #define $ac_func innocuous_$ac_func
11282 /* System header to define __stub macros and hopefully few prototypes,
11283 which can conflict with char $ac_func (); below.
11284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11285 <limits.h> exists even on freestanding compilers. */
11287 #ifdef __STDC__
11288 # include <limits.h>
11289 #else
11290 # include <assert.h>
11291 #endif
11293 #undef $ac_func
11295 /* Override any GCC internal prototype to avoid an error.
11296 Use char because int might match the return type of a GCC
11297 builtin and then its argument prototype would still apply. */
11298 #ifdef __cplusplus
11299 extern "C"
11300 #endif
11301 char $ac_func ();
11302 /* The GNU C library defines this for functions which it implements
11303 to always fail with ENOSYS. Some functions are actually named
11304 something starting with __ and the normal name is an alias. */
11305 #if defined __stub_$ac_func || defined __stub___$ac_func
11306 choke me
11307 #endif
11310 main ()
11312 return $ac_func ();
11314 return 0;
11316 _ACEOF
11317 rm -f conftest.$ac_objext conftest$ac_exeext
11318 if { (ac_try="$ac_link"
11319 case "(($ac_try" in
11320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11321 *) ac_try_echo=$ac_try;;
11322 esac
11323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11324 (eval "$ac_link") 2>conftest.er1
11325 ac_status=$?
11326 grep -v '^ *+' conftest.er1 >conftest.err
11327 rm -f conftest.er1
11328 cat conftest.err >&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); } && {
11331 test -z "$ac_c_werror_flag" ||
11332 test ! -s conftest.err
11333 } && test -s conftest$ac_exeext &&
11334 $as_test_x conftest$ac_exeext; then
11335 eval "$as_ac_var=yes"
11336 else
11337 echo "$as_me: failed program was:" >&5
11338 sed 's/^/| /' conftest.$ac_ext >&5
11340 eval "$as_ac_var=no"
11343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11344 conftest$ac_exeext conftest.$ac_ext
11346 ac_res=`eval echo '${'$as_ac_var'}'`
11347 { echo "$as_me:$LINENO: result: $ac_res" >&5
11348 echo "${ECHO_T}$ac_res" >&6; }
11349 if test `eval echo '${'$as_ac_var'}'` = yes; then
11350 cat >>confdefs.h <<_ACEOF
11351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11352 _ACEOF
11355 done
11357 LIBS="$ac_save_LIBS"
11359 # Extract the first word of "sane-config", so it can be a program name with args.
11360 set dummy sane-config; ac_word=$2
11361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11363 if test "${ac_cv_prog_sane_devel+set}" = set; then
11364 echo $ECHO_N "(cached) $ECHO_C" >&6
11365 else
11366 if test -n "$sane_devel"; then
11367 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11368 else
11369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11370 for as_dir in $PATH
11372 IFS=$as_save_IFS
11373 test -z "$as_dir" && as_dir=.
11374 for ac_exec_ext in '' $ac_executable_extensions; do
11375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11376 ac_cv_prog_sane_devel="sane-config"
11377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11378 break 2
11380 done
11381 done
11382 IFS=$as_save_IFS
11384 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11387 sane_devel=$ac_cv_prog_sane_devel
11388 if test -n "$sane_devel"; then
11389 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11390 echo "${ECHO_T}$sane_devel" >&6; }
11391 else
11392 { echo "$as_me:$LINENO: result: no" >&5
11393 echo "${ECHO_T}no" >&6; }
11397 if test "$sane_devel" != "no"
11398 then
11399 ac_sane_incl="`$sane_devel --cflags`"
11400 ac_save_CPPFLAGS="$CPPFLAGS"
11401 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
11402 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11403 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11404 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11405 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11406 echo $ECHO_N "(cached) $ECHO_C" >&6
11408 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11409 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11410 else
11411 # Is the header compilable?
11412 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11413 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11414 cat >conftest.$ac_ext <<_ACEOF
11415 /* confdefs.h. */
11416 _ACEOF
11417 cat confdefs.h >>conftest.$ac_ext
11418 cat >>conftest.$ac_ext <<_ACEOF
11419 /* end confdefs.h. */
11420 $ac_includes_default
11421 #include <sane/sane.h>
11422 _ACEOF
11423 rm -f conftest.$ac_objext
11424 if { (ac_try="$ac_compile"
11425 case "(($ac_try" in
11426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11427 *) ac_try_echo=$ac_try;;
11428 esac
11429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11430 (eval "$ac_compile") 2>conftest.er1
11431 ac_status=$?
11432 grep -v '^ *+' conftest.er1 >conftest.err
11433 rm -f conftest.er1
11434 cat conftest.err >&5
11435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 (exit $ac_status); } && {
11437 test -z "$ac_c_werror_flag" ||
11438 test ! -s conftest.err
11439 } && test -s conftest.$ac_objext; then
11440 ac_header_compiler=yes
11441 else
11442 echo "$as_me: failed program was:" >&5
11443 sed 's/^/| /' conftest.$ac_ext >&5
11445 ac_header_compiler=no
11448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11449 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11450 echo "${ECHO_T}$ac_header_compiler" >&6; }
11452 # Is the header present?
11453 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11454 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11455 cat >conftest.$ac_ext <<_ACEOF
11456 /* confdefs.h. */
11457 _ACEOF
11458 cat confdefs.h >>conftest.$ac_ext
11459 cat >>conftest.$ac_ext <<_ACEOF
11460 /* end confdefs.h. */
11461 #include <sane/sane.h>
11462 _ACEOF
11463 if { (ac_try="$ac_cpp conftest.$ac_ext"
11464 case "(($ac_try" in
11465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11466 *) ac_try_echo=$ac_try;;
11467 esac
11468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11470 ac_status=$?
11471 grep -v '^ *+' conftest.er1 >conftest.err
11472 rm -f conftest.er1
11473 cat conftest.err >&5
11474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11475 (exit $ac_status); } >/dev/null && {
11476 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11477 test ! -s conftest.err
11478 }; then
11479 ac_header_preproc=yes
11480 else
11481 echo "$as_me: failed program was:" >&5
11482 sed 's/^/| /' conftest.$ac_ext >&5
11484 ac_header_preproc=no
11487 rm -f conftest.err conftest.$ac_ext
11488 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11489 echo "${ECHO_T}$ac_header_preproc" >&6; }
11491 # So? What about this header?
11492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11493 yes:no: )
11494 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11495 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11496 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11497 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11498 ac_header_preproc=yes
11500 no:yes:* )
11501 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11502 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11503 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11504 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11505 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11506 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11507 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11508 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11509 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11510 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11511 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11512 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11513 ( cat <<\_ASBOX
11514 ## ------------------------------------ ##
11515 ## Report this to wine-devel@winehq.org ##
11516 ## ------------------------------------ ##
11517 _ASBOX
11518 ) | sed "s/^/$as_me: WARNING: /" >&2
11520 esac
11521 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11522 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11523 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11524 echo $ECHO_N "(cached) $ECHO_C" >&6
11525 else
11526 ac_cv_header_sane_sane_h=$ac_header_preproc
11528 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11529 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11532 if test $ac_cv_header_sane_sane_h = yes; then
11533 { echo "$as_me:$LINENO: checking for -lsane" >&5
11534 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
11535 if test "${ac_cv_lib_soname_sane+set}" = set; then
11536 echo $ECHO_N "(cached) $ECHO_C" >&6
11537 else
11538 ac_check_soname_save_LIBS=$LIBS
11539 LIBS="-lsane $LIBS"
11540 cat >conftest.$ac_ext <<_ACEOF
11541 /* confdefs.h. */
11542 _ACEOF
11543 cat confdefs.h >>conftest.$ac_ext
11544 cat >>conftest.$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11550 #ifdef __cplusplus
11551 extern "C"
11552 #endif
11553 char sane_init ();
11555 main ()
11557 return sane_init ();
11559 return 0;
11561 _ACEOF
11562 rm -f conftest.$ac_objext conftest$ac_exeext
11563 if { (ac_try="$ac_link"
11564 case "(($ac_try" in
11565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11566 *) ac_try_echo=$ac_try;;
11567 esac
11568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11569 (eval "$ac_link") 2>conftest.er1
11570 ac_status=$?
11571 grep -v '^ *+' conftest.er1 >conftest.err
11572 rm -f conftest.er1
11573 cat conftest.err >&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); } && {
11576 test -z "$ac_c_werror_flag" ||
11577 test ! -s conftest.err
11578 } && test -s conftest$ac_exeext &&
11579 $as_test_x conftest$ac_exeext; then
11580 case "$LIBEXT" in
11581 dll) ;;
11582 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'` ;;
11583 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11584 esac
11585 else
11586 echo "$as_me: failed program was:" >&5
11587 sed 's/^/| /' conftest.$ac_ext >&5
11592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11593 conftest$ac_exeext conftest.$ac_ext
11594 LIBS=$ac_check_soname_save_LIBS
11596 if test "x$ac_cv_lib_soname_sane" = "x"; then
11597 { echo "$as_me:$LINENO: result: not found" >&5
11598 echo "${ECHO_T}not found" >&6; }
11600 else
11601 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
11602 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
11604 cat >>confdefs.h <<_ACEOF
11605 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11606 _ACEOF
11608 SANEINCL="$ac_sane_incl"
11615 CPPFLAGS="$ac_save_CPPFLAGS"
11618 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11619 set dummy gphoto2-config; ac_word=$2
11620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11622 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11623 echo $ECHO_N "(cached) $ECHO_C" >&6
11624 else
11625 if test -n "$gphoto2_devel"; then
11626 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11627 else
11628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11629 for as_dir in $PATH
11631 IFS=$as_save_IFS
11632 test -z "$as_dir" && as_dir=.
11633 for ac_exec_ext in '' $ac_executable_extensions; do
11634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11635 ac_cv_prog_gphoto2_devel="gphoto2-config"
11636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11637 break 2
11639 done
11640 done
11641 IFS=$as_save_IFS
11643 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11646 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11647 if test -n "$gphoto2_devel"; then
11648 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11649 echo "${ECHO_T}$gphoto2_devel" >&6; }
11650 else
11651 { echo "$as_me:$LINENO: result: no" >&5
11652 echo "${ECHO_T}no" >&6; }
11656 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11657 set dummy gphoto2-port-config; ac_word=$2
11658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11660 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11661 echo $ECHO_N "(cached) $ECHO_C" >&6
11662 else
11663 if test -n "$gphoto2port_devel"; then
11664 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11665 else
11666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11667 for as_dir in $PATH
11669 IFS=$as_save_IFS
11670 test -z "$as_dir" && as_dir=.
11671 for ac_exec_ext in '' $ac_executable_extensions; do
11672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11673 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11675 break 2
11677 done
11678 done
11679 IFS=$as_save_IFS
11681 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11684 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11685 if test -n "$gphoto2port_devel"; then
11686 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11687 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11688 else
11689 { echo "$as_me:$LINENO: result: no" >&5
11690 echo "${ECHO_T}no" >&6; }
11694 GPHOTO2LIBS=""
11696 GPHOTO2INCL=""
11698 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11699 then
11700 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11701 GPHOTO2LIBS=""
11702 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11704 case "$i" in
11705 -L/usr/lib|-L/usr/lib64) ;;
11706 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11707 esac
11708 done
11709 ac_save_CPPFLAGS="$CPPFLAGS"
11710 ac_save_LIBS="$LIBS"
11711 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11712 LIBS="$LIBS $GPHOTO2LIBS"
11713 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11714 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11715 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11716 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11717 echo $ECHO_N "(cached) $ECHO_C" >&6
11719 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11720 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11721 else
11722 # Is the header compilable?
11723 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11724 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11725 cat >conftest.$ac_ext <<_ACEOF
11726 /* confdefs.h. */
11727 _ACEOF
11728 cat confdefs.h >>conftest.$ac_ext
11729 cat >>conftest.$ac_ext <<_ACEOF
11730 /* end confdefs.h. */
11731 $ac_includes_default
11732 #include <gphoto2-camera.h>
11733 _ACEOF
11734 rm -f conftest.$ac_objext
11735 if { (ac_try="$ac_compile"
11736 case "(($ac_try" in
11737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11738 *) ac_try_echo=$ac_try;;
11739 esac
11740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11741 (eval "$ac_compile") 2>conftest.er1
11742 ac_status=$?
11743 grep -v '^ *+' conftest.er1 >conftest.err
11744 rm -f conftest.er1
11745 cat conftest.err >&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); } && {
11748 test -z "$ac_c_werror_flag" ||
11749 test ! -s conftest.err
11750 } && test -s conftest.$ac_objext; then
11751 ac_header_compiler=yes
11752 else
11753 echo "$as_me: failed program was:" >&5
11754 sed 's/^/| /' conftest.$ac_ext >&5
11756 ac_header_compiler=no
11759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11760 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11761 echo "${ECHO_T}$ac_header_compiler" >&6; }
11763 # Is the header present?
11764 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11765 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11766 cat >conftest.$ac_ext <<_ACEOF
11767 /* confdefs.h. */
11768 _ACEOF
11769 cat confdefs.h >>conftest.$ac_ext
11770 cat >>conftest.$ac_ext <<_ACEOF
11771 /* end confdefs.h. */
11772 #include <gphoto2-camera.h>
11773 _ACEOF
11774 if { (ac_try="$ac_cpp conftest.$ac_ext"
11775 case "(($ac_try" in
11776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11777 *) ac_try_echo=$ac_try;;
11778 esac
11779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11781 ac_status=$?
11782 grep -v '^ *+' conftest.er1 >conftest.err
11783 rm -f conftest.er1
11784 cat conftest.err >&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); } >/dev/null && {
11787 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11788 test ! -s conftest.err
11789 }; then
11790 ac_header_preproc=yes
11791 else
11792 echo "$as_me: failed program was:" >&5
11793 sed 's/^/| /' conftest.$ac_ext >&5
11795 ac_header_preproc=no
11798 rm -f conftest.err conftest.$ac_ext
11799 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11800 echo "${ECHO_T}$ac_header_preproc" >&6; }
11802 # So? What about this header?
11803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11804 yes:no: )
11805 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11806 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11807 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11808 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11809 ac_header_preproc=yes
11811 no:yes:* )
11812 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11813 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11814 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11815 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11816 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11817 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11818 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11819 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11820 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11821 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11822 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11823 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11824 ( cat <<\_ASBOX
11825 ## ------------------------------------ ##
11826 ## Report this to wine-devel@winehq.org ##
11827 ## ------------------------------------ ##
11828 _ASBOX
11829 ) | sed "s/^/$as_me: WARNING: /" >&2
11831 esac
11832 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11833 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11834 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11835 echo $ECHO_N "(cached) $ECHO_C" >&6
11836 else
11837 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11839 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11840 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11843 if test $ac_cv_header_gphoto2_camera_h = yes; then
11844 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11845 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11846 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11847 echo $ECHO_N "(cached) $ECHO_C" >&6
11848 else
11849 ac_check_lib_save_LIBS=$LIBS
11850 LIBS="-lgphoto2 $LIBS"
11851 cat >conftest.$ac_ext <<_ACEOF
11852 /* confdefs.h. */
11853 _ACEOF
11854 cat confdefs.h >>conftest.$ac_ext
11855 cat >>conftest.$ac_ext <<_ACEOF
11856 /* end confdefs.h. */
11858 /* Override any GCC internal prototype to avoid an error.
11859 Use char because int might match the return type of a GCC
11860 builtin and then its argument prototype would still apply. */
11861 #ifdef __cplusplus
11862 extern "C"
11863 #endif
11864 char gp_camera_new ();
11866 main ()
11868 return gp_camera_new ();
11870 return 0;
11872 _ACEOF
11873 rm -f conftest.$ac_objext conftest$ac_exeext
11874 if { (ac_try="$ac_link"
11875 case "(($ac_try" in
11876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11877 *) ac_try_echo=$ac_try;;
11878 esac
11879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11880 (eval "$ac_link") 2>conftest.er1
11881 ac_status=$?
11882 grep -v '^ *+' conftest.er1 >conftest.err
11883 rm -f conftest.er1
11884 cat conftest.err >&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } && {
11887 test -z "$ac_c_werror_flag" ||
11888 test ! -s conftest.err
11889 } && test -s conftest$ac_exeext &&
11890 $as_test_x conftest$ac_exeext; then
11891 ac_cv_lib_gphoto2_gp_camera_new=yes
11892 else
11893 echo "$as_me: failed program was:" >&5
11894 sed 's/^/| /' conftest.$ac_ext >&5
11896 ac_cv_lib_gphoto2_gp_camera_new=no
11899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11900 conftest$ac_exeext conftest.$ac_ext
11901 LIBS=$ac_check_lib_save_LIBS
11903 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11904 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11905 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11907 cat >>confdefs.h <<\_ACEOF
11908 #define HAVE_GPHOTO2 1
11909 _ACEOF
11911 else
11912 GPHOTO2LIBS=""
11913 GPHOTO2INCL=""
11916 else
11917 GPHOTO2LIBS=""
11918 GPHOTO2INCL=""
11922 LIBS="$ac_save_LIBS"
11923 CPPFLAGS="$ac_save_CPPFLAGS"
11926 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11927 then
11928 saved_libs="$LIBS"
11929 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
11930 if test -n "$ICU_LIB_DIR"
11931 then
11932 icu_libs="-L$ICU_LIB_DIR $icu_libs"
11934 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
11935 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
11936 LIBS="$saved_libs $icu_libs"
11937 if test "$cross_compiling" = yes; then
11938 { echo "$as_me:$LINENO: result: no" >&5
11939 echo "${ECHO_T}no" >&6; }
11940 else
11941 cat >conftest.$ac_ext <<_ACEOF
11942 /* confdefs.h. */
11943 _ACEOF
11944 cat confdefs.h >>conftest.$ac_ext
11945 cat >>conftest.$ac_ext <<_ACEOF
11946 /* end confdefs.h. */
11947 #include <unicode/ubidi.h>
11949 main ()
11951 ubidi_open()
11953 return 0;
11955 _ACEOF
11956 rm -f conftest$ac_exeext
11957 if { (ac_try="$ac_link"
11958 case "(($ac_try" in
11959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11960 *) ac_try_echo=$ac_try;;
11961 esac
11962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11963 (eval "$ac_link") 2>&5
11964 ac_status=$?
11965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11967 { (case "(($ac_try" in
11968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11969 *) ac_try_echo=$ac_try;;
11970 esac
11971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11972 (eval "$ac_try") 2>&5
11973 ac_status=$?
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; }; then
11977 cat >>confdefs.h <<\_ACEOF
11978 #define HAVE_ICU 1
11979 _ACEOF
11981 ICULIBS="$icu_libs"
11983 { echo "$as_me:$LINENO: result: yes" >&5
11984 echo "${ECHO_T}yes" >&6; }
11985 else
11986 echo "$as_me: program exited with status $ac_status" >&5
11987 echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11990 ( exit $ac_status )
11991 { echo "$as_me:$LINENO: result: no" >&5
11992 echo "${ECHO_T}no" >&6; }
11994 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11998 LIBS="$saved_libs"
12001 RESOLVLIBS=""
12003 if test "$ac_cv_header_resolv_h" = "yes"
12004 then
12005 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12006 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12007 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12008 echo $ECHO_N "(cached) $ECHO_C" >&6
12009 else
12010 ac_check_lib_save_LIBS=$LIBS
12011 LIBS="-lresolv $LIBS"
12012 cat >conftest.$ac_ext <<_ACEOF
12013 /* confdefs.h. */
12014 _ACEOF
12015 cat confdefs.h >>conftest.$ac_ext
12016 cat >>conftest.$ac_ext <<_ACEOF
12017 /* end confdefs.h. */
12019 /* Override any GCC internal prototype to avoid an error.
12020 Use char because int might match the return type of a GCC
12021 builtin and then its argument prototype would still apply. */
12022 #ifdef __cplusplus
12023 extern "C"
12024 #endif
12025 char res_query ();
12027 main ()
12029 return res_query ();
12031 return 0;
12033 _ACEOF
12034 rm -f conftest.$ac_objext conftest$ac_exeext
12035 if { (ac_try="$ac_link"
12036 case "(($ac_try" in
12037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12038 *) ac_try_echo=$ac_try;;
12039 esac
12040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12041 (eval "$ac_link") 2>conftest.er1
12042 ac_status=$?
12043 grep -v '^ *+' conftest.er1 >conftest.err
12044 rm -f conftest.er1
12045 cat conftest.err >&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); } && {
12048 test -z "$ac_c_werror_flag" ||
12049 test ! -s conftest.err
12050 } && test -s conftest$ac_exeext &&
12051 $as_test_x conftest$ac_exeext; then
12052 ac_cv_lib_resolv_res_query=yes
12053 else
12054 echo "$as_me: failed program was:" >&5
12055 sed 's/^/| /' conftest.$ac_ext >&5
12057 ac_cv_lib_resolv_res_query=no
12060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12061 conftest$ac_exeext conftest.$ac_ext
12062 LIBS=$ac_check_lib_save_LIBS
12064 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12065 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12066 if test $ac_cv_lib_resolv_res_query = yes; then
12068 cat >>confdefs.h <<\_ACEOF
12069 #define HAVE_RESOLV 1
12070 _ACEOF
12072 RESOLVLIBS="-lresolv"
12077 LCMSLIBS=""
12079 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12080 then
12081 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12082 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12083 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12085 else
12086 ac_check_lib_save_LIBS=$LIBS
12087 LIBS="-llcms $LIBS"
12088 cat >conftest.$ac_ext <<_ACEOF
12089 /* confdefs.h. */
12090 _ACEOF
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12098 #ifdef __cplusplus
12099 extern "C"
12100 #endif
12101 char cmsOpenProfileFromFile ();
12103 main ()
12105 return cmsOpenProfileFromFile ();
12107 return 0;
12109 _ACEOF
12110 rm -f conftest.$ac_objext conftest$ac_exeext
12111 if { (ac_try="$ac_link"
12112 case "(($ac_try" in
12113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12114 *) ac_try_echo=$ac_try;;
12115 esac
12116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12117 (eval "$ac_link") 2>conftest.er1
12118 ac_status=$?
12119 grep -v '^ *+' conftest.er1 >conftest.err
12120 rm -f conftest.er1
12121 cat conftest.err >&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } && {
12124 test -z "$ac_c_werror_flag" ||
12125 test ! -s conftest.err
12126 } && test -s conftest$ac_exeext &&
12127 $as_test_x conftest$ac_exeext; then
12128 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12129 else
12130 echo "$as_me: failed program was:" >&5
12131 sed 's/^/| /' conftest.$ac_ext >&5
12133 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12137 conftest$ac_exeext conftest.$ac_ext
12138 LIBS=$ac_check_lib_save_LIBS
12140 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12141 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12142 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12144 cat >>confdefs.h <<\_ACEOF
12145 #define HAVE_LCMS 1
12146 _ACEOF
12148 LCMSLIBS="-llcms"
12153 LDAPLIBS=""
12155 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12156 then
12157 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12158 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12159 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12160 echo $ECHO_N "(cached) $ECHO_C" >&6
12161 else
12162 ac_check_lib_save_LIBS=$LIBS
12163 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12164 cat >conftest.$ac_ext <<_ACEOF
12165 /* confdefs.h. */
12166 _ACEOF
12167 cat confdefs.h >>conftest.$ac_ext
12168 cat >>conftest.$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12174 #ifdef __cplusplus
12175 extern "C"
12176 #endif
12177 char ldap_initialize ();
12179 main ()
12181 return ldap_initialize ();
12183 return 0;
12185 _ACEOF
12186 rm -f conftest.$ac_objext conftest$ac_exeext
12187 if { (ac_try="$ac_link"
12188 case "(($ac_try" in
12189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12190 *) ac_try_echo=$ac_try;;
12191 esac
12192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12193 (eval "$ac_link") 2>conftest.er1
12194 ac_status=$?
12195 grep -v '^ *+' conftest.er1 >conftest.err
12196 rm -f conftest.er1
12197 cat conftest.err >&5
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); } && {
12200 test -z "$ac_c_werror_flag" ||
12201 test ! -s conftest.err
12202 } && test -s conftest$ac_exeext &&
12203 $as_test_x conftest$ac_exeext; then
12204 ac_cv_lib_ldap_r_ldap_initialize=yes
12205 else
12206 echo "$as_me: failed program was:" >&5
12207 sed 's/^/| /' conftest.$ac_ext >&5
12209 ac_cv_lib_ldap_r_ldap_initialize=no
12212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12213 conftest$ac_exeext conftest.$ac_ext
12214 LIBS=$ac_check_lib_save_LIBS
12216 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12217 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12218 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12219 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12220 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12221 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 else
12224 ac_check_lib_save_LIBS=$LIBS
12225 LIBS="-llber $LIBPTHREAD $LIBS"
12226 cat >conftest.$ac_ext <<_ACEOF
12227 /* confdefs.h. */
12228 _ACEOF
12229 cat confdefs.h >>conftest.$ac_ext
12230 cat >>conftest.$ac_ext <<_ACEOF
12231 /* end confdefs.h. */
12233 /* Override any GCC internal prototype to avoid an error.
12234 Use char because int might match the return type of a GCC
12235 builtin and then its argument prototype would still apply. */
12236 #ifdef __cplusplus
12237 extern "C"
12238 #endif
12239 char ber_init ();
12241 main ()
12243 return ber_init ();
12245 return 0;
12247 _ACEOF
12248 rm -f conftest.$ac_objext conftest$ac_exeext
12249 if { (ac_try="$ac_link"
12250 case "(($ac_try" in
12251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12252 *) ac_try_echo=$ac_try;;
12253 esac
12254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12255 (eval "$ac_link") 2>conftest.er1
12256 ac_status=$?
12257 grep -v '^ *+' conftest.er1 >conftest.err
12258 rm -f conftest.er1
12259 cat conftest.err >&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); } && {
12262 test -z "$ac_c_werror_flag" ||
12263 test ! -s conftest.err
12264 } && test -s conftest$ac_exeext &&
12265 $as_test_x conftest$ac_exeext; then
12266 ac_cv_lib_lber_ber_init=yes
12267 else
12268 echo "$as_me: failed program was:" >&5
12269 sed 's/^/| /' conftest.$ac_ext >&5
12271 ac_cv_lib_lber_ber_init=no
12274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12275 conftest$ac_exeext conftest.$ac_ext
12276 LIBS=$ac_check_lib_save_LIBS
12278 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12279 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12280 if test $ac_cv_lib_lber_ber_init = yes; then
12282 cat >>confdefs.h <<\_ACEOF
12283 #define HAVE_LDAP 1
12284 _ACEOF
12286 LDAPLIBS="-lldap_r -llber"
12291 ac_wine_check_funcs_save_LIBS="$LIBS"
12292 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12297 for ac_func in \
12298 ldap_count_references \
12299 ldap_first_reference \
12300 ldap_next_reference \
12301 ldap_parse_reference
12303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12306 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12308 else
12309 cat >conftest.$ac_ext <<_ACEOF
12310 /* confdefs.h. */
12311 _ACEOF
12312 cat confdefs.h >>conftest.$ac_ext
12313 cat >>conftest.$ac_ext <<_ACEOF
12314 /* end confdefs.h. */
12315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12317 #define $ac_func innocuous_$ac_func
12319 /* System header to define __stub macros and hopefully few prototypes,
12320 which can conflict with char $ac_func (); below.
12321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12322 <limits.h> exists even on freestanding compilers. */
12324 #ifdef __STDC__
12325 # include <limits.h>
12326 #else
12327 # include <assert.h>
12328 #endif
12330 #undef $ac_func
12332 /* Override any GCC internal prototype to avoid an error.
12333 Use char because int might match the return type of a GCC
12334 builtin and then its argument prototype would still apply. */
12335 #ifdef __cplusplus
12336 extern "C"
12337 #endif
12338 char $ac_func ();
12339 /* The GNU C library defines this for functions which it implements
12340 to always fail with ENOSYS. Some functions are actually named
12341 something starting with __ and the normal name is an alias. */
12342 #if defined __stub_$ac_func || defined __stub___$ac_func
12343 choke me
12344 #endif
12347 main ()
12349 return $ac_func ();
12351 return 0;
12353 _ACEOF
12354 rm -f conftest.$ac_objext conftest$ac_exeext
12355 if { (ac_try="$ac_link"
12356 case "(($ac_try" in
12357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12358 *) ac_try_echo=$ac_try;;
12359 esac
12360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12361 (eval "$ac_link") 2>conftest.er1
12362 ac_status=$?
12363 grep -v '^ *+' conftest.er1 >conftest.err
12364 rm -f conftest.er1
12365 cat conftest.err >&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); } && {
12368 test -z "$ac_c_werror_flag" ||
12369 test ! -s conftest.err
12370 } && test -s conftest$ac_exeext &&
12371 $as_test_x conftest$ac_exeext; then
12372 eval "$as_ac_var=yes"
12373 else
12374 echo "$as_me: failed program was:" >&5
12375 sed 's/^/| /' conftest.$ac_ext >&5
12377 eval "$as_ac_var=no"
12380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12381 conftest$ac_exeext conftest.$ac_ext
12383 ac_res=`eval echo '${'$as_ac_var'}'`
12384 { echo "$as_me:$LINENO: result: $ac_res" >&5
12385 echo "${ECHO_T}$ac_res" >&6; }
12386 if test `eval echo '${'$as_ac_var'}'` = yes; then
12387 cat >>confdefs.h <<_ACEOF
12388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12389 _ACEOF
12392 done
12394 LIBS="$ac_wine_check_funcs_save_LIBS"
12397 FREETYPELIBS=""
12399 FREETYPEINCL=""
12401 # Extract the first word of "freetype-config", so it can be a program name with args.
12402 set dummy freetype-config; ac_word=$2
12403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12405 if test "${ac_cv_prog_ft_devel+set}" = set; then
12406 echo $ECHO_N "(cached) $ECHO_C" >&6
12407 else
12408 if test -n "$ft_devel"; then
12409 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12410 else
12411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12412 for as_dir in $PATH
12414 IFS=$as_save_IFS
12415 test -z "$as_dir" && as_dir=.
12416 for ac_exec_ext in '' $ac_executable_extensions; do
12417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12418 ac_cv_prog_ft_devel="freetype-config"
12419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12420 break 2
12422 done
12423 done
12424 IFS=$as_save_IFS
12426 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12429 ft_devel=$ac_cv_prog_ft_devel
12430 if test -n "$ft_devel"; then
12431 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12432 echo "${ECHO_T}$ft_devel" >&6; }
12433 else
12434 { echo "$as_me:$LINENO: result: no" >&5
12435 echo "${ECHO_T}no" >&6; }
12439 if test "$ft_devel" = "no"
12440 then
12441 # Extract the first word of "freetype2-config", so it can be a program name with args.
12442 set dummy freetype2-config; ac_word=$2
12443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12445 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12446 echo $ECHO_N "(cached) $ECHO_C" >&6
12447 else
12448 if test -n "$ft_devel2"; then
12449 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12450 else
12451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12452 for as_dir in $PATH
12454 IFS=$as_save_IFS
12455 test -z "$as_dir" && as_dir=.
12456 for ac_exec_ext in '' $ac_executable_extensions; do
12457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12458 ac_cv_prog_ft_devel2="freetype2-config"
12459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12460 break 2
12462 done
12463 done
12464 IFS=$as_save_IFS
12466 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12469 ft_devel2=$ac_cv_prog_ft_devel2
12470 if test -n "$ft_devel2"; then
12471 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12472 echo "${ECHO_T}$ft_devel2" >&6; }
12473 else
12474 { echo "$as_me:$LINENO: result: no" >&5
12475 echo "${ECHO_T}no" >&6; }
12479 if test "$ft_devel2" = "freetype2-config"
12480 then
12481 ft_devel=$ft_devel2
12485 if test "$ft_devel" = "no"
12486 then
12487 wine_cv_msg_freetype=yes
12488 else
12489 FREETYPELIBS=`$ft_devel --libs`
12490 FREETYPEINCL=`$ft_devel --cflags`
12491 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12492 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12493 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12494 echo $ECHO_N "(cached) $ECHO_C" >&6
12495 else
12496 ac_check_lib_save_LIBS=$LIBS
12497 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12498 cat >conftest.$ac_ext <<_ACEOF
12499 /* confdefs.h. */
12500 _ACEOF
12501 cat confdefs.h >>conftest.$ac_ext
12502 cat >>conftest.$ac_ext <<_ACEOF
12503 /* end confdefs.h. */
12505 /* Override any GCC internal prototype to avoid an error.
12506 Use char because int might match the return type of a GCC
12507 builtin and then its argument prototype would still apply. */
12508 #ifdef __cplusplus
12509 extern "C"
12510 #endif
12511 char FT_Init_FreeType ();
12513 main ()
12515 return FT_Init_FreeType ();
12517 return 0;
12519 _ACEOF
12520 rm -f conftest.$ac_objext conftest$ac_exeext
12521 if { (ac_try="$ac_link"
12522 case "(($ac_try" in
12523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12524 *) ac_try_echo=$ac_try;;
12525 esac
12526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12527 (eval "$ac_link") 2>conftest.er1
12528 ac_status=$?
12529 grep -v '^ *+' conftest.er1 >conftest.err
12530 rm -f conftest.er1
12531 cat conftest.err >&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); } && {
12534 test -z "$ac_c_werror_flag" ||
12535 test ! -s conftest.err
12536 } && test -s conftest$ac_exeext &&
12537 $as_test_x conftest$ac_exeext; then
12538 ac_cv_lib_freetype_FT_Init_FreeType=yes
12539 else
12540 echo "$as_me: failed program was:" >&5
12541 sed 's/^/| /' conftest.$ac_ext >&5
12543 ac_cv_lib_freetype_FT_Init_FreeType=no
12546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12547 conftest$ac_exeext conftest.$ac_ext
12548 LIBS=$ac_check_lib_save_LIBS
12550 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12551 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12552 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12553 ft_lib=yes
12554 else
12555 ft_lib=no
12558 if test "$ft_lib" = "no"
12559 then
12560 wine_cv_msg_freetype=yes
12561 FREETYPELIBS=""
12562 FREETYPEINCL=""
12563 else
12564 ac_save_CPPFLAGS="$CPPFLAGS"
12565 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12577 for ac_header in ft2build.h \
12578 freetype/freetype.h \
12579 freetype/ftglyph.h \
12580 freetype/tttables.h \
12581 freetype/ftnames.h \
12582 freetype/ftsnames.h \
12583 freetype/ttnameid.h \
12584 freetype/ftoutln.h \
12585 freetype/ftwinfnt.h \
12586 freetype/ftmodapi.h \
12587 freetype/internal/sfnt.h
12589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12590 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12592 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12593 echo $ECHO_N "(cached) $ECHO_C" >&6
12594 else
12595 cat >conftest.$ac_ext <<_ACEOF
12596 /* confdefs.h. */
12597 _ACEOF
12598 cat confdefs.h >>conftest.$ac_ext
12599 cat >>conftest.$ac_ext <<_ACEOF
12600 /* end confdefs.h. */
12601 #if HAVE_FT2BUILD_H
12602 #include <ft2build.h>
12603 #endif
12605 #include <$ac_header>
12606 _ACEOF
12607 rm -f conftest.$ac_objext
12608 if { (ac_try="$ac_compile"
12609 case "(($ac_try" in
12610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12611 *) ac_try_echo=$ac_try;;
12612 esac
12613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12614 (eval "$ac_compile") 2>conftest.er1
12615 ac_status=$?
12616 grep -v '^ *+' conftest.er1 >conftest.err
12617 rm -f conftest.er1
12618 cat conftest.err >&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); } && {
12621 test -z "$ac_c_werror_flag" ||
12622 test ! -s conftest.err
12623 } && test -s conftest.$ac_objext; then
12624 eval "$as_ac_Header=yes"
12625 else
12626 echo "$as_me: failed program was:" >&5
12627 sed 's/^/| /' conftest.$ac_ext >&5
12629 eval "$as_ac_Header=no"
12632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12634 ac_res=`eval echo '${'$as_ac_Header'}'`
12635 { echo "$as_me:$LINENO: result: $ac_res" >&5
12636 echo "${ECHO_T}$ac_res" >&6; }
12637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12638 cat >>confdefs.h <<_ACEOF
12639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12640 _ACEOF
12644 done
12646 cat >conftest.$ac_ext <<_ACEOF
12647 /* confdefs.h. */
12648 _ACEOF
12649 cat confdefs.h >>conftest.$ac_ext
12650 cat >>conftest.$ac_ext <<_ACEOF
12651 /* end confdefs.h. */
12652 #include <ft2build.h>
12653 #include <freetype/fttrigon.h>
12654 _ACEOF
12655 if { (ac_try="$ac_cpp conftest.$ac_ext"
12656 case "(($ac_try" in
12657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12658 *) ac_try_echo=$ac_try;;
12659 esac
12660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12662 ac_status=$?
12663 grep -v '^ *+' conftest.er1 >conftest.err
12664 rm -f conftest.er1
12665 cat conftest.err >&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); } >/dev/null && {
12668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12669 test ! -s conftest.err
12670 }; then
12672 cat >>confdefs.h <<\_ACEOF
12673 #define HAVE_FREETYPE_FTTRIGON_H 1
12674 _ACEOF
12676 wine_cv_fttrigon=yes
12677 else
12678 echo "$as_me: failed program was:" >&5
12679 sed 's/^/| /' conftest.$ac_ext >&5
12681 wine_cv_fttrigon=no
12684 rm -f conftest.err conftest.$ac_ext
12685 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12686 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12687 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12688 echo $ECHO_N "(cached) $ECHO_C" >&6
12689 else
12690 cat >conftest.$ac_ext <<_ACEOF
12691 /* confdefs.h. */
12692 _ACEOF
12693 cat confdefs.h >>conftest.$ac_ext
12694 cat >>conftest.$ac_ext <<_ACEOF
12695 /* end confdefs.h. */
12696 #include <freetype/ftmodapi.h>
12698 typedef FT_TrueTypeEngineType ac__type_new_;
12700 main ()
12702 if ((ac__type_new_ *) 0)
12703 return 0;
12704 if (sizeof (ac__type_new_))
12705 return 0;
12707 return 0;
12709 _ACEOF
12710 rm -f conftest.$ac_objext
12711 if { (ac_try="$ac_compile"
12712 case "(($ac_try" in
12713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12714 *) ac_try_echo=$ac_try;;
12715 esac
12716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12717 (eval "$ac_compile") 2>conftest.er1
12718 ac_status=$?
12719 grep -v '^ *+' conftest.er1 >conftest.err
12720 rm -f conftest.er1
12721 cat conftest.err >&5
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); } && {
12724 test -z "$ac_c_werror_flag" ||
12725 test ! -s conftest.err
12726 } && test -s conftest.$ac_objext; then
12727 ac_cv_type_FT_TrueTypeEngineType=yes
12728 else
12729 echo "$as_me: failed program was:" >&5
12730 sed 's/^/| /' conftest.$ac_ext >&5
12732 ac_cv_type_FT_TrueTypeEngineType=no
12735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12737 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12738 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12739 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12741 cat >>confdefs.h <<_ACEOF
12742 #define HAVE_FT_TRUETYPEENGINETYPE 1
12743 _ACEOF
12748 ac_save_CFLAGS="$CFLAGS"
12749 CFLAGS="$CFLAGS $FREETYPELIBS"
12751 for ac_func in FT_Load_Sfnt_Table
12753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12754 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12756 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12757 echo $ECHO_N "(cached) $ECHO_C" >&6
12758 else
12759 cat >conftest.$ac_ext <<_ACEOF
12760 /* confdefs.h. */
12761 _ACEOF
12762 cat confdefs.h >>conftest.$ac_ext
12763 cat >>conftest.$ac_ext <<_ACEOF
12764 /* end confdefs.h. */
12765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12767 #define $ac_func innocuous_$ac_func
12769 /* System header to define __stub macros and hopefully few prototypes,
12770 which can conflict with char $ac_func (); below.
12771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12772 <limits.h> exists even on freestanding compilers. */
12774 #ifdef __STDC__
12775 # include <limits.h>
12776 #else
12777 # include <assert.h>
12778 #endif
12780 #undef $ac_func
12782 /* Override any GCC internal prototype to avoid an error.
12783 Use char because int might match the return type of a GCC
12784 builtin and then its argument prototype would still apply. */
12785 #ifdef __cplusplus
12786 extern "C"
12787 #endif
12788 char $ac_func ();
12789 /* The GNU C library defines this for functions which it implements
12790 to always fail with ENOSYS. Some functions are actually named
12791 something starting with __ and the normal name is an alias. */
12792 #if defined __stub_$ac_func || defined __stub___$ac_func
12793 choke me
12794 #endif
12797 main ()
12799 return $ac_func ();
12801 return 0;
12803 _ACEOF
12804 rm -f conftest.$ac_objext conftest$ac_exeext
12805 if { (ac_try="$ac_link"
12806 case "(($ac_try" in
12807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12808 *) ac_try_echo=$ac_try;;
12809 esac
12810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12811 (eval "$ac_link") 2>conftest.er1
12812 ac_status=$?
12813 grep -v '^ *+' conftest.er1 >conftest.err
12814 rm -f conftest.er1
12815 cat conftest.err >&5
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); } && {
12818 test -z "$ac_c_werror_flag" ||
12819 test ! -s conftest.err
12820 } && test -s conftest$ac_exeext &&
12821 $as_test_x conftest$ac_exeext; then
12822 eval "$as_ac_var=yes"
12823 else
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.$ac_ext >&5
12827 eval "$as_ac_var=no"
12830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12831 conftest$ac_exeext conftest.$ac_ext
12833 ac_res=`eval echo '${'$as_ac_var'}'`
12834 { echo "$as_me:$LINENO: result: $ac_res" >&5
12835 echo "${ECHO_T}$ac_res" >&6; }
12836 if test `eval echo '${'$as_ac_var'}'` = yes; then
12837 cat >>confdefs.h <<_ACEOF
12838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12839 _ACEOF
12842 done
12844 CFLAGS="$ac_save_CFLAGS"
12845 CPPFLAGS="$ac_save_CPPFLAGS"
12846 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12847 then
12849 cat >>confdefs.h <<\_ACEOF
12850 #define HAVE_FREETYPE 1
12851 _ACEOF
12853 wine_cv_msg_freetype=no
12854 else
12855 FREETYPELIBS=""
12856 FREETYPEINCL=""
12857 wine_cv_msg_freetype=yes
12862 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12863 then
12864 FONTSSUBDIRS="fonts"
12868 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12869 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12870 if test "${ac_cv_c_ppdev+set}" = set; then
12871 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 else
12873 cat >conftest.$ac_ext <<_ACEOF
12874 /* confdefs.h. */
12875 _ACEOF
12876 cat confdefs.h >>conftest.$ac_ext
12877 cat >>conftest.$ac_ext <<_ACEOF
12878 /* end confdefs.h. */
12879 #include <linux/ppdev.h>
12881 main ()
12883 ioctl (1,PPCLAIM,0)
12885 return 0;
12887 _ACEOF
12888 rm -f conftest.$ac_objext
12889 if { (ac_try="$ac_compile"
12890 case "(($ac_try" in
12891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12892 *) ac_try_echo=$ac_try;;
12893 esac
12894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12895 (eval "$ac_compile") 2>conftest.er1
12896 ac_status=$?
12897 grep -v '^ *+' conftest.er1 >conftest.err
12898 rm -f conftest.er1
12899 cat conftest.err >&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } && {
12902 test -z "$ac_c_werror_flag" ||
12903 test ! -s conftest.err
12904 } && test -s conftest.$ac_objext; then
12905 ac_cv_c_ppdev="yes"
12906 else
12907 echo "$as_me: failed program was:" >&5
12908 sed 's/^/| /' conftest.$ac_ext >&5
12910 ac_cv_c_ppdev="no"
12913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12915 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
12916 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
12917 if test "$ac_cv_c_ppdev" = "yes"
12918 then
12920 cat >>confdefs.h <<\_ACEOF
12921 #define HAVE_PPDEV 1
12922 _ACEOF
12926 { echo "$as_me:$LINENO: checking for va_copy" >&5
12927 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
12928 if test "${ac_cv_c_va_copy+set}" = set; then
12929 echo $ECHO_N "(cached) $ECHO_C" >&6
12930 else
12931 cat >conftest.$ac_ext <<_ACEOF
12932 /* confdefs.h. */
12933 _ACEOF
12934 cat confdefs.h >>conftest.$ac_ext
12935 cat >>conftest.$ac_ext <<_ACEOF
12936 /* end confdefs.h. */
12937 #include <stdarg.h>
12939 main ()
12941 va_list ap1, ap2; va_copy(ap1,ap2);
12943 return 0;
12945 _ACEOF
12946 rm -f conftest.$ac_objext conftest$ac_exeext
12947 if { (ac_try="$ac_link"
12948 case "(($ac_try" in
12949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12950 *) ac_try_echo=$ac_try;;
12951 esac
12952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12953 (eval "$ac_link") 2>conftest.er1
12954 ac_status=$?
12955 grep -v '^ *+' conftest.er1 >conftest.err
12956 rm -f conftest.er1
12957 cat conftest.err >&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); } && {
12960 test -z "$ac_c_werror_flag" ||
12961 test ! -s conftest.err
12962 } && test -s conftest$ac_exeext &&
12963 $as_test_x conftest$ac_exeext; then
12964 ac_cv_c_va_copy="yes"
12965 else
12966 echo "$as_me: failed program was:" >&5
12967 sed 's/^/| /' conftest.$ac_ext >&5
12969 ac_cv_c_va_copy="no"
12972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12973 conftest$ac_exeext conftest.$ac_ext
12976 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
12977 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
12978 if test "$ac_cv_c_va_copy" = "yes"
12979 then
12981 cat >>confdefs.h <<\_ACEOF
12982 #define HAVE_VA_COPY 1
12983 _ACEOF
12986 { echo "$as_me:$LINENO: checking for __va_copy" >&5
12987 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
12988 if test "${ac_cv_c___va_copy+set}" = set; then
12989 echo $ECHO_N "(cached) $ECHO_C" >&6
12990 else
12991 cat >conftest.$ac_ext <<_ACEOF
12992 /* confdefs.h. */
12993 _ACEOF
12994 cat confdefs.h >>conftest.$ac_ext
12995 cat >>conftest.$ac_ext <<_ACEOF
12996 /* end confdefs.h. */
12997 #include <stdarg.h>
12999 main ()
13001 va_list ap1, ap2; __va_copy(ap1,ap2);
13003 return 0;
13005 _ACEOF
13006 rm -f conftest.$ac_objext conftest$ac_exeext
13007 if { (ac_try="$ac_link"
13008 case "(($ac_try" in
13009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13010 *) ac_try_echo=$ac_try;;
13011 esac
13012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13013 (eval "$ac_link") 2>conftest.er1
13014 ac_status=$?
13015 grep -v '^ *+' conftest.er1 >conftest.err
13016 rm -f conftest.er1
13017 cat conftest.err >&5
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); } && {
13020 test -z "$ac_c_werror_flag" ||
13021 test ! -s conftest.err
13022 } && test -s conftest$ac_exeext &&
13023 $as_test_x conftest$ac_exeext; then
13024 ac_cv_c___va_copy="yes"
13025 else
13026 echo "$as_me: failed program was:" >&5
13027 sed 's/^/| /' conftest.$ac_ext >&5
13029 ac_cv_c___va_copy="no"
13032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13033 conftest$ac_exeext conftest.$ac_ext
13036 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13037 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13038 if test "$ac_cv_c___va_copy" = "yes"
13039 then
13041 cat >>confdefs.h <<\_ACEOF
13042 #define HAVE___VA_COPY 1
13043 _ACEOF
13047 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13048 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13049 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13050 echo $ECHO_N "(cached) $ECHO_C" >&6
13051 else
13052 cat >conftest.$ac_ext <<_ACEOF
13053 /* confdefs.h. */
13054 _ACEOF
13055 cat confdefs.h >>conftest.$ac_ext
13056 cat >>conftest.$ac_ext <<_ACEOF
13057 /* end confdefs.h. */
13058 #include <setjmp.h>
13060 main ()
13062 sigjmp_buf buf;
13063 sigsetjmp( buf, 1 );
13064 siglongjmp( buf, 1 );
13066 return 0;
13068 _ACEOF
13069 rm -f conftest.$ac_objext conftest$ac_exeext
13070 if { (ac_try="$ac_link"
13071 case "(($ac_try" in
13072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13073 *) ac_try_echo=$ac_try;;
13074 esac
13075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13076 (eval "$ac_link") 2>conftest.er1
13077 ac_status=$?
13078 grep -v '^ *+' conftest.er1 >conftest.err
13079 rm -f conftest.er1
13080 cat conftest.err >&5
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); } && {
13083 test -z "$ac_c_werror_flag" ||
13084 test ! -s conftest.err
13085 } && test -s conftest$ac_exeext &&
13086 $as_test_x conftest$ac_exeext; then
13087 ac_cv_c_sigsetjmp="yes"
13088 else
13089 echo "$as_me: failed program was:" >&5
13090 sed 's/^/| /' conftest.$ac_ext >&5
13092 ac_cv_c_sigsetjmp="no"
13095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13096 conftest$ac_exeext conftest.$ac_ext
13099 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13100 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13101 if test "$ac_cv_c_sigsetjmp" = "yes"
13102 then
13104 cat >>confdefs.h <<\_ACEOF
13105 #define HAVE_SIGSETJMP 1
13106 _ACEOF
13110 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13111 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13112 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13113 echo $ECHO_N "(cached) $ECHO_C" >&6
13114 else
13115 cat >conftest.$ac_ext <<_ACEOF
13116 /* confdefs.h. */
13117 _ACEOF
13118 cat confdefs.h >>conftest.$ac_ext
13119 cat >>conftest.$ac_ext <<_ACEOF
13120 /* end confdefs.h. */
13121 #define _GNU_SOURCE
13122 #include <pthread.h>
13124 typedef pthread_rwlock_t ac__type_new_;
13126 main ()
13128 if ((ac__type_new_ *) 0)
13129 return 0;
13130 if (sizeof (ac__type_new_))
13131 return 0;
13133 return 0;
13135 _ACEOF
13136 rm -f conftest.$ac_objext
13137 if { (ac_try="$ac_compile"
13138 case "(($ac_try" in
13139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13140 *) ac_try_echo=$ac_try;;
13141 esac
13142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13143 (eval "$ac_compile") 2>conftest.er1
13144 ac_status=$?
13145 grep -v '^ *+' conftest.er1 >conftest.err
13146 rm -f conftest.er1
13147 cat conftest.err >&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); } && {
13150 test -z "$ac_c_werror_flag" ||
13151 test ! -s conftest.err
13152 } && test -s conftest.$ac_objext; then
13153 ac_cv_type_pthread_rwlock_t=yes
13154 else
13155 echo "$as_me: failed program was:" >&5
13156 sed 's/^/| /' conftest.$ac_ext >&5
13158 ac_cv_type_pthread_rwlock_t=no
13161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13163 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13164 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13165 if test $ac_cv_type_pthread_rwlock_t = yes; then
13167 cat >>confdefs.h <<_ACEOF
13168 #define HAVE_PTHREAD_RWLOCK_T 1
13169 _ACEOF
13173 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13174 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13175 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13176 echo $ECHO_N "(cached) $ECHO_C" >&6
13177 else
13178 cat >conftest.$ac_ext <<_ACEOF
13179 /* confdefs.h. */
13180 _ACEOF
13181 cat confdefs.h >>conftest.$ac_ext
13182 cat >>conftest.$ac_ext <<_ACEOF
13183 /* end confdefs.h. */
13184 #define _GNU_SOURCE
13185 #include <pthread.h>
13187 typedef pthread_rwlockattr_t ac__type_new_;
13189 main ()
13191 if ((ac__type_new_ *) 0)
13192 return 0;
13193 if (sizeof (ac__type_new_))
13194 return 0;
13196 return 0;
13198 _ACEOF
13199 rm -f conftest.$ac_objext
13200 if { (ac_try="$ac_compile"
13201 case "(($ac_try" in
13202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13203 *) ac_try_echo=$ac_try;;
13204 esac
13205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13206 (eval "$ac_compile") 2>conftest.er1
13207 ac_status=$?
13208 grep -v '^ *+' conftest.er1 >conftest.err
13209 rm -f conftest.er1
13210 cat conftest.err >&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } && {
13213 test -z "$ac_c_werror_flag" ||
13214 test ! -s conftest.err
13215 } && test -s conftest.$ac_objext; then
13216 ac_cv_type_pthread_rwlockattr_t=yes
13217 else
13218 echo "$as_me: failed program was:" >&5
13219 sed 's/^/| /' conftest.$ac_ext >&5
13221 ac_cv_type_pthread_rwlockattr_t=no
13224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13226 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13227 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13228 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13230 cat >>confdefs.h <<_ACEOF
13231 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13232 _ACEOF
13238 ac_wine_check_funcs_save_LIBS="$LIBS"
13239 LIBS="$LIBS $LIBPTHREAD"
13244 for ac_func in \
13245 pthread_attr_get_np \
13246 pthread_getattr_np \
13247 pthread_get_stackaddr_np \
13248 pthread_get_stacksize_np
13250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13251 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13253 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13254 echo $ECHO_N "(cached) $ECHO_C" >&6
13255 else
13256 cat >conftest.$ac_ext <<_ACEOF
13257 /* confdefs.h. */
13258 _ACEOF
13259 cat confdefs.h >>conftest.$ac_ext
13260 cat >>conftest.$ac_ext <<_ACEOF
13261 /* end confdefs.h. */
13262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13264 #define $ac_func innocuous_$ac_func
13266 /* System header to define __stub macros and hopefully few prototypes,
13267 which can conflict with char $ac_func (); below.
13268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13269 <limits.h> exists even on freestanding compilers. */
13271 #ifdef __STDC__
13272 # include <limits.h>
13273 #else
13274 # include <assert.h>
13275 #endif
13277 #undef $ac_func
13279 /* Override any GCC internal prototype to avoid an error.
13280 Use char because int might match the return type of a GCC
13281 builtin and then its argument prototype would still apply. */
13282 #ifdef __cplusplus
13283 extern "C"
13284 #endif
13285 char $ac_func ();
13286 /* The GNU C library defines this for functions which it implements
13287 to always fail with ENOSYS. Some functions are actually named
13288 something starting with __ and the normal name is an alias. */
13289 #if defined __stub_$ac_func || defined __stub___$ac_func
13290 choke me
13291 #endif
13294 main ()
13296 return $ac_func ();
13298 return 0;
13300 _ACEOF
13301 rm -f conftest.$ac_objext conftest$ac_exeext
13302 if { (ac_try="$ac_link"
13303 case "(($ac_try" in
13304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13305 *) ac_try_echo=$ac_try;;
13306 esac
13307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13308 (eval "$ac_link") 2>conftest.er1
13309 ac_status=$?
13310 grep -v '^ *+' conftest.er1 >conftest.err
13311 rm -f conftest.er1
13312 cat conftest.err >&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); } && {
13315 test -z "$ac_c_werror_flag" ||
13316 test ! -s conftest.err
13317 } && test -s conftest$ac_exeext &&
13318 $as_test_x conftest$ac_exeext; then
13319 eval "$as_ac_var=yes"
13320 else
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13324 eval "$as_ac_var=no"
13327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13328 conftest$ac_exeext conftest.$ac_ext
13330 ac_res=`eval echo '${'$as_ac_var'}'`
13331 { echo "$as_me:$LINENO: result: $ac_res" >&5
13332 echo "${ECHO_T}$ac_res" >&6; }
13333 if test `eval echo '${'$as_ac_var'}'` = yes; then
13334 cat >>confdefs.h <<_ACEOF
13335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13336 _ACEOF
13339 done
13341 LIBS="$ac_wine_check_funcs_save_LIBS"
13343 # Extract the first word of "esd-config", so it can be a program name with args.
13344 set dummy esd-config; ac_word=$2
13345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13347 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13349 else
13350 case $ESDCONFIG in
13351 [\\/]* | ?:[\\/]*)
13352 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13356 for as_dir in $PATH
13358 IFS=$as_save_IFS
13359 test -z "$as_dir" && as_dir=.
13360 for ac_exec_ext in '' $ac_executable_extensions; do
13361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13362 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13364 break 2
13366 done
13367 done
13368 IFS=$as_save_IFS
13371 esac
13373 ESDCONFIG=$ac_cv_path_ESDCONFIG
13374 if test -n "$ESDCONFIG"; then
13375 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13376 echo "${ECHO_T}$ESDCONFIG" >&6; }
13377 else
13378 { echo "$as_me:$LINENO: result: no" >&5
13379 echo "${ECHO_T}no" >&6; }
13383 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13384 then
13385 ESD_CFLAGS=""
13386 for i in `$ESDCONFIG --cflags`
13388 case "$i" in
13389 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13390 esac
13391 done
13392 ESD_LIBS=`$ESDCONFIG --libs`
13393 save_CFLAGS="$CFLAGS"
13394 CFLAGS="$CFLAGS $ESD_CFLAGS"
13395 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13396 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13397 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13399 else
13400 ac_check_lib_save_LIBS=$LIBS
13401 LIBS="-lesd $LIBS"
13402 cat >conftest.$ac_ext <<_ACEOF
13403 /* confdefs.h. */
13404 _ACEOF
13405 cat confdefs.h >>conftest.$ac_ext
13406 cat >>conftest.$ac_ext <<_ACEOF
13407 /* end confdefs.h. */
13409 /* Override any GCC internal prototype to avoid an error.
13410 Use char because int might match the return type of a GCC
13411 builtin and then its argument prototype would still apply. */
13412 #ifdef __cplusplus
13413 extern "C"
13414 #endif
13415 char esd_open_sound ();
13417 main ()
13419 return esd_open_sound ();
13421 return 0;
13423 _ACEOF
13424 rm -f conftest.$ac_objext conftest$ac_exeext
13425 if { (ac_try="$ac_link"
13426 case "(($ac_try" in
13427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13428 *) ac_try_echo=$ac_try;;
13429 esac
13430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13431 (eval "$ac_link") 2>conftest.er1
13432 ac_status=$?
13433 grep -v '^ *+' conftest.er1 >conftest.err
13434 rm -f conftest.er1
13435 cat conftest.err >&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); } && {
13438 test -z "$ac_c_werror_flag" ||
13439 test ! -s conftest.err
13440 } && test -s conftest$ac_exeext &&
13441 $as_test_x conftest$ac_exeext; then
13442 ac_cv_lib_esd_esd_open_sound=yes
13443 else
13444 echo "$as_me: failed program was:" >&5
13445 sed 's/^/| /' conftest.$ac_ext >&5
13447 ac_cv_lib_esd_esd_open_sound=no
13450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13451 conftest$ac_exeext conftest.$ac_ext
13452 LIBS=$ac_check_lib_save_LIBS
13454 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13455 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13456 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13457 ESDLIBS=$ESD_LIBS
13459 ESDINCL=$ESD_CFLAGS
13462 cat >>confdefs.h <<\_ACEOF
13463 #define HAVE_ESD 1
13464 _ACEOF
13468 CFLAGS="$save_CFLAGS"
13471 ALSALIBS=""
13473 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13474 then
13475 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13476 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13477 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13478 echo $ECHO_N "(cached) $ECHO_C" >&6
13479 else
13480 ac_check_lib_save_LIBS=$LIBS
13481 LIBS="-lasound $LIBS"
13482 cat >conftest.$ac_ext <<_ACEOF
13483 /* confdefs.h. */
13484 _ACEOF
13485 cat confdefs.h >>conftest.$ac_ext
13486 cat >>conftest.$ac_ext <<_ACEOF
13487 /* end confdefs.h. */
13489 /* Override any GCC internal prototype to avoid an error.
13490 Use char because int might match the return type of a GCC
13491 builtin and then its argument prototype would still apply. */
13492 #ifdef __cplusplus
13493 extern "C"
13494 #endif
13495 char snd_pcm_hw_params_get_access ();
13497 main ()
13499 return snd_pcm_hw_params_get_access ();
13501 return 0;
13503 _ACEOF
13504 rm -f conftest.$ac_objext conftest$ac_exeext
13505 if { (ac_try="$ac_link"
13506 case "(($ac_try" in
13507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13508 *) ac_try_echo=$ac_try;;
13509 esac
13510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13511 (eval "$ac_link") 2>conftest.er1
13512 ac_status=$?
13513 grep -v '^ *+' conftest.er1 >conftest.err
13514 rm -f conftest.er1
13515 cat conftest.err >&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); } && {
13518 test -z "$ac_c_werror_flag" ||
13519 test ! -s conftest.err
13520 } && test -s conftest$ac_exeext &&
13521 $as_test_x conftest$ac_exeext; then
13522 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13523 else
13524 echo "$as_me: failed program was:" >&5
13525 sed 's/^/| /' conftest.$ac_ext >&5
13527 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13531 conftest$ac_exeext conftest.$ac_ext
13532 LIBS=$ac_check_lib_save_LIBS
13534 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13535 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13536 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13537 cat >conftest.$ac_ext <<_ACEOF
13538 /* confdefs.h. */
13539 _ACEOF
13540 cat confdefs.h >>conftest.$ac_ext
13541 cat >>conftest.$ac_ext <<_ACEOF
13542 /* end confdefs.h. */
13543 #ifdef HAVE_ALSA_ASOUNDLIB_H
13544 #include <alsa/asoundlib.h>
13545 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13546 #include <sys/asoundlib.h>
13547 #endif
13549 main ()
13551 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13553 return 0;
13555 _ACEOF
13556 rm -f conftest.$ac_objext
13557 if { (ac_try="$ac_compile"
13558 case "(($ac_try" in
13559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13560 *) ac_try_echo=$ac_try;;
13561 esac
13562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13563 (eval "$ac_compile") 2>conftest.er1
13564 ac_status=$?
13565 grep -v '^ *+' conftest.er1 >conftest.err
13566 rm -f conftest.er1
13567 cat conftest.err >&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); } && {
13570 test -z "$ac_c_werror_flag" ||
13571 test ! -s conftest.err
13572 } && test -s conftest.$ac_objext; then
13574 cat >>confdefs.h <<\_ACEOF
13575 #define HAVE_ALSA 1
13576 _ACEOF
13578 ALSALIBS="-lasound"
13579 else
13580 echo "$as_me: failed program was:" >&5
13581 sed 's/^/| /' conftest.$ac_ext >&5
13586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13592 AUDIOIOLIBS=""
13594 if test "$ac_cv_header_libaudioio_h" = "yes"
13595 then
13596 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
13597 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
13598 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
13599 echo $ECHO_N "(cached) $ECHO_C" >&6
13600 else
13601 ac_check_lib_save_LIBS=$LIBS
13602 LIBS="-laudioio $LIBS"
13603 cat >conftest.$ac_ext <<_ACEOF
13604 /* confdefs.h. */
13605 _ACEOF
13606 cat confdefs.h >>conftest.$ac_ext
13607 cat >>conftest.$ac_ext <<_ACEOF
13608 /* end confdefs.h. */
13610 /* Override any GCC internal prototype to avoid an error.
13611 Use char because int might match the return type of a GCC
13612 builtin and then its argument prototype would still apply. */
13613 #ifdef __cplusplus
13614 extern "C"
13615 #endif
13616 char AudioIOGetVersion ();
13618 main ()
13620 return AudioIOGetVersion ();
13622 return 0;
13624 _ACEOF
13625 rm -f conftest.$ac_objext conftest$ac_exeext
13626 if { (ac_try="$ac_link"
13627 case "(($ac_try" in
13628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13629 *) ac_try_echo=$ac_try;;
13630 esac
13631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13632 (eval "$ac_link") 2>conftest.er1
13633 ac_status=$?
13634 grep -v '^ *+' conftest.er1 >conftest.err
13635 rm -f conftest.er1
13636 cat conftest.err >&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); } && {
13639 test -z "$ac_c_werror_flag" ||
13640 test ! -s conftest.err
13641 } && test -s conftest$ac_exeext &&
13642 $as_test_x conftest$ac_exeext; then
13643 ac_cv_lib_audioio_AudioIOGetVersion=yes
13644 else
13645 echo "$as_me: failed program was:" >&5
13646 sed 's/^/| /' conftest.$ac_ext >&5
13648 ac_cv_lib_audioio_AudioIOGetVersion=no
13651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13652 conftest$ac_exeext conftest.$ac_ext
13653 LIBS=$ac_check_lib_save_LIBS
13655 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
13656 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
13657 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
13658 AUDIOIOLIBS="-laudioio"
13660 cat >>confdefs.h <<\_ACEOF
13661 #define HAVE_LIBAUDIOIO 1
13662 _ACEOF
13669 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13670 then
13671 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
13672 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
13673 if test "${ac_cv_lib_soname_capi20+set}" = set; then
13674 echo $ECHO_N "(cached) $ECHO_C" >&6
13675 else
13676 ac_check_soname_save_LIBS=$LIBS
13677 LIBS="-lcapi20 $LIBS"
13678 cat >conftest.$ac_ext <<_ACEOF
13679 /* confdefs.h. */
13680 _ACEOF
13681 cat confdefs.h >>conftest.$ac_ext
13682 cat >>conftest.$ac_ext <<_ACEOF
13683 /* end confdefs.h. */
13685 /* Override any GCC internal prototype to avoid an error.
13686 Use char because int might match the return type of a GCC
13687 builtin and then its argument prototype would still apply. */
13688 #ifdef __cplusplus
13689 extern "C"
13690 #endif
13691 char capi20_register ();
13693 main ()
13695 return capi20_register ();
13697 return 0;
13699 _ACEOF
13700 rm -f conftest.$ac_objext conftest$ac_exeext
13701 if { (ac_try="$ac_link"
13702 case "(($ac_try" in
13703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13704 *) ac_try_echo=$ac_try;;
13705 esac
13706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13707 (eval "$ac_link") 2>conftest.er1
13708 ac_status=$?
13709 grep -v '^ *+' conftest.er1 >conftest.err
13710 rm -f conftest.er1
13711 cat conftest.err >&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } && {
13714 test -z "$ac_c_werror_flag" ||
13715 test ! -s conftest.err
13716 } && test -s conftest$ac_exeext &&
13717 $as_test_x conftest$ac_exeext; then
13718 case "$LIBEXT" in
13719 dll) ;;
13720 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'` ;;
13721 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13722 esac
13723 else
13724 echo "$as_me: failed program was:" >&5
13725 sed 's/^/| /' conftest.$ac_ext >&5
13730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13731 conftest$ac_exeext conftest.$ac_ext
13732 LIBS=$ac_check_soname_save_LIBS
13734 if test "x$ac_cv_lib_soname_capi20" = "x"; then
13735 { echo "$as_me:$LINENO: result: not found" >&5
13736 echo "${ECHO_T}not found" >&6; }
13738 else
13739 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
13740 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
13742 cat >>confdefs.h <<_ACEOF
13743 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13744 _ACEOF
13751 if test "$ac_cv_header_cups_cups_h" = "yes"
13752 then
13753 { echo "$as_me:$LINENO: checking for -lcups" >&5
13754 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
13755 if test "${ac_cv_lib_soname_cups+set}" = set; then
13756 echo $ECHO_N "(cached) $ECHO_C" >&6
13757 else
13758 ac_check_soname_save_LIBS=$LIBS
13759 LIBS="-lcups $LIBS"
13760 cat >conftest.$ac_ext <<_ACEOF
13761 /* confdefs.h. */
13762 _ACEOF
13763 cat confdefs.h >>conftest.$ac_ext
13764 cat >>conftest.$ac_ext <<_ACEOF
13765 /* end confdefs.h. */
13767 /* Override any GCC internal prototype to avoid an error.
13768 Use char because int might match the return type of a GCC
13769 builtin and then its argument prototype would still apply. */
13770 #ifdef __cplusplus
13771 extern "C"
13772 #endif
13773 char cupsGetDefault ();
13775 main ()
13777 return cupsGetDefault ();
13779 return 0;
13781 _ACEOF
13782 rm -f conftest.$ac_objext conftest$ac_exeext
13783 if { (ac_try="$ac_link"
13784 case "(($ac_try" in
13785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13786 *) ac_try_echo=$ac_try;;
13787 esac
13788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13789 (eval "$ac_link") 2>conftest.er1
13790 ac_status=$?
13791 grep -v '^ *+' conftest.er1 >conftest.err
13792 rm -f conftest.er1
13793 cat conftest.err >&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); } && {
13796 test -z "$ac_c_werror_flag" ||
13797 test ! -s conftest.err
13798 } && test -s conftest$ac_exeext &&
13799 $as_test_x conftest$ac_exeext; then
13800 case "$LIBEXT" in
13801 dll) ;;
13802 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'` ;;
13803 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13804 esac
13805 else
13806 echo "$as_me: failed program was:" >&5
13807 sed 's/^/| /' conftest.$ac_ext >&5
13812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13813 conftest$ac_exeext conftest.$ac_ext
13814 LIBS=$ac_check_soname_save_LIBS
13816 if test "x$ac_cv_lib_soname_cups" = "x"; then
13817 { echo "$as_me:$LINENO: result: not found" >&5
13818 echo "${ECHO_T}not found" >&6; }
13820 else
13821 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
13822 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
13824 cat >>confdefs.h <<_ACEOF
13825 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13826 _ACEOF
13833 if test "$ac_cv_header_jack_jack_h" = "yes"
13834 then
13835 { echo "$as_me:$LINENO: checking for -ljack" >&5
13836 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
13837 if test "${ac_cv_lib_soname_jack+set}" = set; then
13838 echo $ECHO_N "(cached) $ECHO_C" >&6
13839 else
13840 ac_check_soname_save_LIBS=$LIBS
13841 LIBS="-ljack $LIBS"
13842 cat >conftest.$ac_ext <<_ACEOF
13843 /* confdefs.h. */
13844 _ACEOF
13845 cat confdefs.h >>conftest.$ac_ext
13846 cat >>conftest.$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13852 #ifdef __cplusplus
13853 extern "C"
13854 #endif
13855 char jack_client_new ();
13857 main ()
13859 return jack_client_new ();
13861 return 0;
13863 _ACEOF
13864 rm -f conftest.$ac_objext conftest$ac_exeext
13865 if { (ac_try="$ac_link"
13866 case "(($ac_try" in
13867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13868 *) ac_try_echo=$ac_try;;
13869 esac
13870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13871 (eval "$ac_link") 2>conftest.er1
13872 ac_status=$?
13873 grep -v '^ *+' conftest.er1 >conftest.err
13874 rm -f conftest.er1
13875 cat conftest.err >&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); } && {
13878 test -z "$ac_c_werror_flag" ||
13879 test ! -s conftest.err
13880 } && test -s conftest$ac_exeext &&
13881 $as_test_x conftest$ac_exeext; then
13882 case "$LIBEXT" in
13883 dll) ;;
13884 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'` ;;
13885 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13886 esac
13887 else
13888 echo "$as_me: failed program was:" >&5
13889 sed 's/^/| /' conftest.$ac_ext >&5
13894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13895 conftest$ac_exeext conftest.$ac_ext
13896 LIBS=$ac_check_soname_save_LIBS
13898 if test "x$ac_cv_lib_soname_jack" = "x"; then
13899 { echo "$as_me:$LINENO: result: not found" >&5
13900 echo "${ECHO_T}not found" >&6; }
13902 else
13903 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
13904 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
13906 cat >>confdefs.h <<_ACEOF
13907 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
13908 _ACEOF
13915 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13916 then
13917 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
13918 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
13919 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
13920 echo $ECHO_N "(cached) $ECHO_C" >&6
13921 else
13922 ac_check_soname_save_LIBS=$LIBS
13923 LIBS="-lfontconfig $LIBS"
13924 cat >conftest.$ac_ext <<_ACEOF
13925 /* confdefs.h. */
13926 _ACEOF
13927 cat confdefs.h >>conftest.$ac_ext
13928 cat >>conftest.$ac_ext <<_ACEOF
13929 /* end confdefs.h. */
13931 /* Override any GCC internal prototype to avoid an error.
13932 Use char because int might match the return type of a GCC
13933 builtin and then its argument prototype would still apply. */
13934 #ifdef __cplusplus
13935 extern "C"
13936 #endif
13937 char FcInit ();
13939 main ()
13941 return FcInit ();
13943 return 0;
13945 _ACEOF
13946 rm -f conftest.$ac_objext conftest$ac_exeext
13947 if { (ac_try="$ac_link"
13948 case "(($ac_try" in
13949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13950 *) ac_try_echo=$ac_try;;
13951 esac
13952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13953 (eval "$ac_link") 2>conftest.er1
13954 ac_status=$?
13955 grep -v '^ *+' conftest.er1 >conftest.err
13956 rm -f conftest.er1
13957 cat conftest.err >&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); } && {
13960 test -z "$ac_c_werror_flag" ||
13961 test ! -s conftest.err
13962 } && test -s conftest$ac_exeext &&
13963 $as_test_x conftest$ac_exeext; then
13964 case "$LIBEXT" in
13965 dll) ;;
13966 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'` ;;
13967 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13968 esac
13969 else
13970 echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.$ac_ext >&5
13976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13977 conftest$ac_exeext conftest.$ac_ext
13978 LIBS=$ac_check_soname_save_LIBS
13980 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
13981 { echo "$as_me:$LINENO: result: not found" >&5
13982 echo "${ECHO_T}not found" >&6; }
13984 else
13985 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
13986 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
13988 cat >>confdefs.h <<_ACEOF
13989 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13990 _ACEOF
13997 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
13998 then
13999 { echo "$as_me:$LINENO: checking for -lssl" >&5
14000 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14001 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14002 echo $ECHO_N "(cached) $ECHO_C" >&6
14003 else
14004 ac_check_soname_save_LIBS=$LIBS
14005 LIBS="-lssl $LIBS"
14006 cat >conftest.$ac_ext <<_ACEOF
14007 /* confdefs.h. */
14008 _ACEOF
14009 cat confdefs.h >>conftest.$ac_ext
14010 cat >>conftest.$ac_ext <<_ACEOF
14011 /* end confdefs.h. */
14013 /* Override any GCC internal prototype to avoid an error.
14014 Use char because int might match the return type of a GCC
14015 builtin and then its argument prototype would still apply. */
14016 #ifdef __cplusplus
14017 extern "C"
14018 #endif
14019 char SSL_library_init ();
14021 main ()
14023 return SSL_library_init ();
14025 return 0;
14027 _ACEOF
14028 rm -f conftest.$ac_objext conftest$ac_exeext
14029 if { (ac_try="$ac_link"
14030 case "(($ac_try" in
14031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14032 *) ac_try_echo=$ac_try;;
14033 esac
14034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14035 (eval "$ac_link") 2>conftest.er1
14036 ac_status=$?
14037 grep -v '^ *+' conftest.er1 >conftest.err
14038 rm -f conftest.er1
14039 cat conftest.err >&5
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); } && {
14042 test -z "$ac_c_werror_flag" ||
14043 test ! -s conftest.err
14044 } && test -s conftest$ac_exeext &&
14045 $as_test_x conftest$ac_exeext; then
14046 case "$LIBEXT" in
14047 dll) ;;
14048 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'` ;;
14049 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14050 esac
14051 else
14052 echo "$as_me: failed program was:" >&5
14053 sed 's/^/| /' conftest.$ac_ext >&5
14058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14059 conftest$ac_exeext conftest.$ac_ext
14060 LIBS=$ac_check_soname_save_LIBS
14062 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14063 { echo "$as_me:$LINENO: result: not found" >&5
14064 echo "${ECHO_T}not found" >&6; }
14066 else
14067 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14068 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14070 cat >>confdefs.h <<_ACEOF
14071 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14072 _ACEOF
14077 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14078 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14079 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14081 else
14082 ac_check_soname_save_LIBS=$LIBS
14083 LIBS="-lcrypto $LIBS"
14084 cat >conftest.$ac_ext <<_ACEOF
14085 /* confdefs.h. */
14086 _ACEOF
14087 cat confdefs.h >>conftest.$ac_ext
14088 cat >>conftest.$ac_ext <<_ACEOF
14089 /* end confdefs.h. */
14091 /* Override any GCC internal prototype to avoid an error.
14092 Use char because int might match the return type of a GCC
14093 builtin and then its argument prototype would still apply. */
14094 #ifdef __cplusplus
14095 extern "C"
14096 #endif
14097 char BIO_new_socket ();
14099 main ()
14101 return BIO_new_socket ();
14103 return 0;
14105 _ACEOF
14106 rm -f conftest.$ac_objext conftest$ac_exeext
14107 if { (ac_try="$ac_link"
14108 case "(($ac_try" in
14109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14110 *) ac_try_echo=$ac_try;;
14111 esac
14112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14113 (eval "$ac_link") 2>conftest.er1
14114 ac_status=$?
14115 grep -v '^ *+' conftest.er1 >conftest.err
14116 rm -f conftest.er1
14117 cat conftest.err >&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } && {
14120 test -z "$ac_c_werror_flag" ||
14121 test ! -s conftest.err
14122 } && test -s conftest$ac_exeext &&
14123 $as_test_x conftest$ac_exeext; then
14124 case "$LIBEXT" in
14125 dll) ;;
14126 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'` ;;
14127 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14128 esac
14129 else
14130 echo "$as_me: failed program was:" >&5
14131 sed 's/^/| /' conftest.$ac_ext >&5
14136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14137 conftest$ac_exeext conftest.$ac_ext
14138 LIBS=$ac_check_soname_save_LIBS
14140 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14141 { echo "$as_me:$LINENO: result: not found" >&5
14142 echo "${ECHO_T}not found" >&6; }
14144 else
14145 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14146 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14148 cat >>confdefs.h <<_ACEOF
14149 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14150 _ACEOF
14157 if test "$ac_cv_header_jpeglib_h" = "yes"
14158 then
14159 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14160 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14161 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14162 echo $ECHO_N "(cached) $ECHO_C" >&6
14163 else
14164 ac_check_soname_save_LIBS=$LIBS
14165 LIBS="-ljpeg $LIBS"
14166 cat >conftest.$ac_ext <<_ACEOF
14167 /* confdefs.h. */
14168 _ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14173 /* Override any GCC internal prototype to avoid an error.
14174 Use char because int might match the return type of a GCC
14175 builtin and then its argument prototype would still apply. */
14176 #ifdef __cplusplus
14177 extern "C"
14178 #endif
14179 char jpeg_start_decompress ();
14181 main ()
14183 return jpeg_start_decompress ();
14185 return 0;
14187 _ACEOF
14188 rm -f conftest.$ac_objext conftest$ac_exeext
14189 if { (ac_try="$ac_link"
14190 case "(($ac_try" in
14191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14192 *) ac_try_echo=$ac_try;;
14193 esac
14194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14195 (eval "$ac_link") 2>conftest.er1
14196 ac_status=$?
14197 grep -v '^ *+' conftest.er1 >conftest.err
14198 rm -f conftest.er1
14199 cat conftest.err >&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); } && {
14202 test -z "$ac_c_werror_flag" ||
14203 test ! -s conftest.err
14204 } && test -s conftest$ac_exeext &&
14205 $as_test_x conftest$ac_exeext; then
14206 case "$LIBEXT" in
14207 dll) ;;
14208 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'` ;;
14209 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14210 esac
14211 else
14212 echo "$as_me: failed program was:" >&5
14213 sed 's/^/| /' conftest.$ac_ext >&5
14218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14219 conftest$ac_exeext conftest.$ac_ext
14220 LIBS=$ac_check_soname_save_LIBS
14222 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14223 { echo "$as_me:$LINENO: result: not found" >&5
14224 echo "${ECHO_T}not found" >&6; }
14226 else
14227 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14228 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14230 cat >>confdefs.h <<_ACEOF
14231 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14232 _ACEOF
14239 if test "$ac_cv_header_png_h" = "yes"
14240 then
14241 { echo "$as_me:$LINENO: checking for -lpng" >&5
14242 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14243 if test "${ac_cv_lib_soname_png+set}" = set; then
14244 echo $ECHO_N "(cached) $ECHO_C" >&6
14245 else
14246 ac_check_soname_save_LIBS=$LIBS
14247 LIBS="-lpng $LIBS"
14248 cat >conftest.$ac_ext <<_ACEOF
14249 /* confdefs.h. */
14250 _ACEOF
14251 cat confdefs.h >>conftest.$ac_ext
14252 cat >>conftest.$ac_ext <<_ACEOF
14253 /* end confdefs.h. */
14255 /* Override any GCC internal prototype to avoid an error.
14256 Use char because int might match the return type of a GCC
14257 builtin and then its argument prototype would still apply. */
14258 #ifdef __cplusplus
14259 extern "C"
14260 #endif
14261 char png_create_read_struct ();
14263 main ()
14265 return png_create_read_struct ();
14267 return 0;
14269 _ACEOF
14270 rm -f conftest.$ac_objext conftest$ac_exeext
14271 if { (ac_try="$ac_link"
14272 case "(($ac_try" in
14273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14274 *) ac_try_echo=$ac_try;;
14275 esac
14276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14277 (eval "$ac_link") 2>conftest.er1
14278 ac_status=$?
14279 grep -v '^ *+' conftest.er1 >conftest.err
14280 rm -f conftest.er1
14281 cat conftest.err >&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); } && {
14284 test -z "$ac_c_werror_flag" ||
14285 test ! -s conftest.err
14286 } && test -s conftest$ac_exeext &&
14287 $as_test_x conftest$ac_exeext; then
14288 case "$LIBEXT" in
14289 dll) ;;
14290 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'` ;;
14291 *) 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'` ;;
14292 esac
14293 else
14294 echo "$as_me: failed program was:" >&5
14295 sed 's/^/| /' conftest.$ac_ext >&5
14300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14301 conftest$ac_exeext conftest.$ac_ext
14302 LIBS=$ac_check_soname_save_LIBS
14304 if test "x$ac_cv_lib_soname_png" = "x"; then
14305 { echo "$as_me:$LINENO: result: not found" >&5
14306 echo "${ECHO_T}not found" >&6; }
14308 else
14309 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14310 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14312 cat >>confdefs.h <<_ACEOF
14313 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14314 _ACEOF
14322 EXTRACFLAGS=""
14324 if test "x${GCC}" = "xyes"
14325 then
14326 EXTRACFLAGS="-Wall -pipe"
14328 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14329 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14330 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14331 echo $ECHO_N "(cached) $ECHO_C" >&6
14332 else
14333 if test "$cross_compiling" = yes; then
14334 ac_cv_c_gcc_strength_bug="yes"
14335 else
14336 cat >conftest.$ac_ext <<_ACEOF
14337 /* confdefs.h. */
14338 _ACEOF
14339 cat confdefs.h >>conftest.$ac_ext
14340 cat >>conftest.$ac_ext <<_ACEOF
14341 /* end confdefs.h. */
14342 int L[4] = {0,1,2,3};
14344 main ()
14346 static int Array[3];
14347 unsigned int B = 3;
14348 int i;
14349 for(i=0; i<B; i++) Array[i] = i - 3;
14350 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14351 L[i] = 4;
14352 exit( Array[1] != -2 || L[2] != 3)
14354 return 0;
14356 _ACEOF
14357 rm -f conftest$ac_exeext
14358 if { (ac_try="$ac_link"
14359 case "(($ac_try" in
14360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14361 *) ac_try_echo=$ac_try;;
14362 esac
14363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14364 (eval "$ac_link") 2>&5
14365 ac_status=$?
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14368 { (case "(($ac_try" in
14369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14370 *) ac_try_echo=$ac_try;;
14371 esac
14372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14373 (eval "$ac_try") 2>&5
14374 ac_status=$?
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14377 ac_cv_c_gcc_strength_bug="no"
14378 else
14379 echo "$as_me: program exited with status $ac_status" >&5
14380 echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.$ac_ext >&5
14383 ( exit $ac_status )
14384 ac_cv_c_gcc_strength_bug="yes"
14386 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14391 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14392 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14393 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14394 then
14395 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14399 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14400 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14401 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14402 echo $ECHO_N "(cached) $ECHO_C" >&6
14403 else
14404 ac_wine_try_cflags_saved=$CFLAGS
14405 CFLAGS="$CFLAGS -fshort-wchar"
14406 cat >conftest.$ac_ext <<_ACEOF
14407 /* confdefs.h. */
14408 _ACEOF
14409 cat confdefs.h >>conftest.$ac_ext
14410 cat >>conftest.$ac_ext <<_ACEOF
14411 /* end confdefs.h. */
14414 main ()
14418 return 0;
14420 _ACEOF
14421 rm -f conftest.$ac_objext conftest$ac_exeext
14422 if { (ac_try="$ac_link"
14423 case "(($ac_try" in
14424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14425 *) ac_try_echo=$ac_try;;
14426 esac
14427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14428 (eval "$ac_link") 2>conftest.er1
14429 ac_status=$?
14430 grep -v '^ *+' conftest.er1 >conftest.err
14431 rm -f conftest.er1
14432 cat conftest.err >&5
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); } && {
14435 test -z "$ac_c_werror_flag" ||
14436 test ! -s conftest.err
14437 } && test -s conftest$ac_exeext &&
14438 $as_test_x conftest$ac_exeext; then
14439 ac_cv_cflags__fshort_wchar=yes
14440 else
14441 echo "$as_me: failed program was:" >&5
14442 sed 's/^/| /' conftest.$ac_ext >&5
14444 ac_cv_cflags__fshort_wchar=no
14447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14448 conftest$ac_exeext conftest.$ac_ext
14449 CFLAGS=$ac_wine_try_cflags_saved
14451 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14452 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14453 if test $ac_cv_cflags__fshort_wchar = yes; then
14455 cat >>confdefs.h <<\_ACEOF
14456 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14457 _ACEOF
14461 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14462 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14463 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14464 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 else
14466 ac_wine_try_cflags_saved=$CFLAGS
14467 CFLAGS="$CFLAGS -fno-strict-aliasing"
14468 cat >conftest.$ac_ext <<_ACEOF
14469 /* confdefs.h. */
14470 _ACEOF
14471 cat confdefs.h >>conftest.$ac_ext
14472 cat >>conftest.$ac_ext <<_ACEOF
14473 /* end confdefs.h. */
14476 main ()
14480 return 0;
14482 _ACEOF
14483 rm -f conftest.$ac_objext conftest$ac_exeext
14484 if { (ac_try="$ac_link"
14485 case "(($ac_try" in
14486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14487 *) ac_try_echo=$ac_try;;
14488 esac
14489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14490 (eval "$ac_link") 2>conftest.er1
14491 ac_status=$?
14492 grep -v '^ *+' conftest.er1 >conftest.err
14493 rm -f conftest.er1
14494 cat conftest.err >&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); } && {
14497 test -z "$ac_c_werror_flag" ||
14498 test ! -s conftest.err
14499 } && test -s conftest$ac_exeext &&
14500 $as_test_x conftest$ac_exeext; then
14501 ac_cv_cflags__fno_strict_aliasing=yes
14502 else
14503 echo "$as_me: failed program was:" >&5
14504 sed 's/^/| /' conftest.$ac_ext >&5
14506 ac_cv_cflags__fno_strict_aliasing=no
14509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14510 conftest$ac_exeext conftest.$ac_ext
14511 CFLAGS=$ac_wine_try_cflags_saved
14513 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14514 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14515 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14516 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14519 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14520 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14521 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14522 echo $ECHO_N "(cached) $ECHO_C" >&6
14523 else
14524 ac_wine_try_cflags_saved=$CFLAGS
14525 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14526 cat >conftest.$ac_ext <<_ACEOF
14527 /* confdefs.h. */
14528 _ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14534 main ()
14538 return 0;
14540 _ACEOF
14541 rm -f conftest.$ac_objext conftest$ac_exeext
14542 if { (ac_try="$ac_link"
14543 case "(($ac_try" in
14544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14545 *) ac_try_echo=$ac_try;;
14546 esac
14547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14548 (eval "$ac_link") 2>conftest.er1
14549 ac_status=$?
14550 grep -v '^ *+' conftest.er1 >conftest.err
14551 rm -f conftest.er1
14552 cat conftest.err >&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } && {
14555 test -z "$ac_c_werror_flag" ||
14556 test ! -s conftest.err
14557 } && test -s conftest$ac_exeext &&
14558 $as_test_x conftest$ac_exeext; then
14559 ac_cv_cflags__Wdeclaration_after_statement=yes
14560 else
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14564 ac_cv_cflags__Wdeclaration_after_statement=no
14567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14568 conftest$ac_exeext conftest.$ac_ext
14569 CFLAGS=$ac_wine_try_cflags_saved
14571 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14572 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14573 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14574 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14577 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14578 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14579 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14580 echo $ECHO_N "(cached) $ECHO_C" >&6
14581 else
14582 ac_wine_try_cflags_saved=$CFLAGS
14583 CFLAGS="$CFLAGS -Wwrite-strings"
14584 cat >conftest.$ac_ext <<_ACEOF
14585 /* confdefs.h. */
14586 _ACEOF
14587 cat confdefs.h >>conftest.$ac_ext
14588 cat >>conftest.$ac_ext <<_ACEOF
14589 /* end confdefs.h. */
14592 main ()
14596 return 0;
14598 _ACEOF
14599 rm -f conftest.$ac_objext conftest$ac_exeext
14600 if { (ac_try="$ac_link"
14601 case "(($ac_try" in
14602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14603 *) ac_try_echo=$ac_try;;
14604 esac
14605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14606 (eval "$ac_link") 2>conftest.er1
14607 ac_status=$?
14608 grep -v '^ *+' conftest.er1 >conftest.err
14609 rm -f conftest.er1
14610 cat conftest.err >&5
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); } && {
14613 test -z "$ac_c_werror_flag" ||
14614 test ! -s conftest.err
14615 } && test -s conftest$ac_exeext &&
14616 $as_test_x conftest$ac_exeext; then
14617 ac_cv_cflags__Wwrite_strings=yes
14618 else
14619 echo "$as_me: failed program was:" >&5
14620 sed 's/^/| /' conftest.$ac_ext >&5
14622 ac_cv_cflags__Wwrite_strings=no
14625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14626 conftest$ac_exeext conftest.$ac_ext
14627 CFLAGS=$ac_wine_try_cflags_saved
14629 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14630 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14631 if test $ac_cv_cflags__Wwrite_strings = yes; then
14632 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14636 saved_CFLAGS="$CFLAGS"
14637 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14638 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14639 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14640 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14641 echo $ECHO_N "(cached) $ECHO_C" >&6
14642 else
14643 cat >conftest.$ac_ext <<_ACEOF
14644 /* confdefs.h. */
14645 _ACEOF
14646 cat confdefs.h >>conftest.$ac_ext
14647 cat >>conftest.$ac_ext <<_ACEOF
14648 /* end confdefs.h. */
14649 #include <string.h>
14651 main ()
14655 return 0;
14657 _ACEOF
14658 rm -f conftest.$ac_objext
14659 if { (ac_try="$ac_compile"
14660 case "(($ac_try" in
14661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14662 *) ac_try_echo=$ac_try;;
14663 esac
14664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14665 (eval "$ac_compile") 2>conftest.er1
14666 ac_status=$?
14667 grep -v '^ *+' conftest.er1 >conftest.err
14668 rm -f conftest.er1
14669 cat conftest.err >&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } && {
14672 test -z "$ac_c_werror_flag" ||
14673 test ! -s conftest.err
14674 } && test -s conftest.$ac_objext; then
14675 ac_cv_c_string_h_warnings=no
14676 else
14677 echo "$as_me: failed program was:" >&5
14678 sed 's/^/| /' conftest.$ac_ext >&5
14680 ac_cv_c_string_h_warnings=yes
14683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14685 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14686 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14687 CFLAGS="$saved_CFLAGS"
14688 if test "$ac_cv_c_string_h_warnings" = "no"
14689 then
14690 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14693 BUILTINFLAG=""
14695 saved_CFLAGS="$CFLAGS"
14696 CFLAGS="$CFLAGS -Werror"
14697 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14698 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14699 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14700 echo $ECHO_N "(cached) $ECHO_C" >&6
14701 else
14702 cat >conftest.$ac_ext <<_ACEOF
14703 /* confdefs.h. */
14704 _ACEOF
14705 cat confdefs.h >>conftest.$ac_ext
14706 cat >>conftest.$ac_ext <<_ACEOF
14707 /* end confdefs.h. */
14710 main ()
14712 int iswlower(unsigned short);
14714 return 0;
14716 _ACEOF
14717 rm -f conftest.$ac_objext
14718 if { (ac_try="$ac_compile"
14719 case "(($ac_try" in
14720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14721 *) ac_try_echo=$ac_try;;
14722 esac
14723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14724 (eval "$ac_compile") 2>conftest.er1
14725 ac_status=$?
14726 grep -v '^ *+' conftest.er1 >conftest.err
14727 rm -f conftest.er1
14728 cat conftest.err >&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); } && {
14731 test -z "$ac_c_werror_flag" ||
14732 test ! -s conftest.err
14733 } && test -s conftest.$ac_objext; then
14734 ac_cv_c_builtin_wchar_ctype=no
14735 else
14736 echo "$as_me: failed program was:" >&5
14737 sed 's/^/| /' conftest.$ac_ext >&5
14739 ac_cv_c_builtin_wchar_ctype=yes
14742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14744 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14745 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14746 CFLAGS="$saved_CFLAGS"
14747 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14748 then
14749 BUILTINFLAG="-fno-builtin"
14754 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14755 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14756 if test "${ac_cv_asm_func_def+set}" = set; then
14757 echo $ECHO_N "(cached) $ECHO_C" >&6
14758 else
14759 cat >conftest.$ac_ext <<_ACEOF
14760 /* confdefs.h. */
14761 _ACEOF
14762 cat confdefs.h >>conftest.$ac_ext
14763 cat >>conftest.$ac_ext <<_ACEOF
14764 /* end confdefs.h. */
14767 main ()
14769 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14771 return 0;
14773 _ACEOF
14774 rm -f conftest.$ac_objext conftest$ac_exeext
14775 if { (ac_try="$ac_link"
14776 case "(($ac_try" in
14777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14778 *) ac_try_echo=$ac_try;;
14779 esac
14780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14781 (eval "$ac_link") 2>conftest.er1
14782 ac_status=$?
14783 grep -v '^ *+' conftest.er1 >conftest.err
14784 rm -f conftest.er1
14785 cat conftest.err >&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); } && {
14788 test -z "$ac_c_werror_flag" ||
14789 test ! -s conftest.err
14790 } && test -s conftest$ac_exeext &&
14791 $as_test_x conftest$ac_exeext; then
14792 ac_cv_asm_func_def=".def"
14793 else
14794 echo "$as_me: failed program was:" >&5
14795 sed 's/^/| /' conftest.$ac_ext >&5
14797 cat >conftest.$ac_ext <<_ACEOF
14798 /* confdefs.h. */
14799 _ACEOF
14800 cat confdefs.h >>conftest.$ac_ext
14801 cat >>conftest.$ac_ext <<_ACEOF
14802 /* end confdefs.h. */
14805 main ()
14807 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14809 return 0;
14811 _ACEOF
14812 rm -f conftest.$ac_objext conftest$ac_exeext
14813 if { (ac_try="$ac_link"
14814 case "(($ac_try" in
14815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14816 *) ac_try_echo=$ac_try;;
14817 esac
14818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14819 (eval "$ac_link") 2>conftest.er1
14820 ac_status=$?
14821 grep -v '^ *+' conftest.er1 >conftest.err
14822 rm -f conftest.er1
14823 cat conftest.err >&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); } && {
14826 test -z "$ac_c_werror_flag" ||
14827 test ! -s conftest.err
14828 } && test -s conftest$ac_exeext &&
14829 $as_test_x conftest$ac_exeext; then
14830 ac_cv_asm_func_def=".type @function"
14831 else
14832 echo "$as_me: failed program was:" >&5
14833 sed 's/^/| /' conftest.$ac_ext >&5
14835 cat >conftest.$ac_ext <<_ACEOF
14836 /* confdefs.h. */
14837 _ACEOF
14838 cat confdefs.h >>conftest.$ac_ext
14839 cat >>conftest.$ac_ext <<_ACEOF
14840 /* end confdefs.h. */
14843 main ()
14845 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14847 return 0;
14849 _ACEOF
14850 rm -f conftest.$ac_objext conftest$ac_exeext
14851 if { (ac_try="$ac_link"
14852 case "(($ac_try" in
14853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14854 *) ac_try_echo=$ac_try;;
14855 esac
14856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14857 (eval "$ac_link") 2>conftest.er1
14858 ac_status=$?
14859 grep -v '^ *+' conftest.er1 >conftest.err
14860 rm -f conftest.er1
14861 cat conftest.err >&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); } && {
14864 test -z "$ac_c_werror_flag" ||
14865 test ! -s conftest.err
14866 } && test -s conftest$ac_exeext &&
14867 $as_test_x conftest$ac_exeext; then
14868 ac_cv_asm_func_def=".type 2"
14869 else
14870 echo "$as_me: failed program was:" >&5
14871 sed 's/^/| /' conftest.$ac_ext >&5
14873 ac_cv_asm_func_def="unknown"
14876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14877 conftest$ac_exeext conftest.$ac_ext
14880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14881 conftest$ac_exeext conftest.$ac_ext
14884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14885 conftest$ac_exeext conftest.$ac_ext
14887 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
14888 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
14892 case "$ac_cv_asm_func_def" in
14893 ".def")
14894 cat >>confdefs.h <<\_ACEOF
14895 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
14896 _ACEOF
14898 ".type @function")
14899 cat >>confdefs.h <<\_ACEOF
14900 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
14901 _ACEOF
14903 ".type 2")
14904 cat >>confdefs.h <<\_ACEOF
14905 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
14906 _ACEOF
14909 cat >>confdefs.h <<\_ACEOF
14910 #define __ASM_FUNC(name) ""
14911 _ACEOF
14913 esac
14916 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
14917 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
14918 if test "${ac_cv_c_extern_prefix+set}" = set; then
14919 echo $ECHO_N "(cached) $ECHO_C" >&6
14920 else
14921 cat >conftest.$ac_ext <<_ACEOF
14922 /* confdefs.h. */
14923 _ACEOF
14924 cat confdefs.h >>conftest.$ac_ext
14925 cat >>conftest.$ac_ext <<_ACEOF
14926 /* end confdefs.h. */
14927 extern int ac_test;
14929 main ()
14931 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14933 return 0;
14935 _ACEOF
14936 rm -f conftest.$ac_objext conftest$ac_exeext
14937 if { (ac_try="$ac_link"
14938 case "(($ac_try" in
14939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14940 *) ac_try_echo=$ac_try;;
14941 esac
14942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14943 (eval "$ac_link") 2>conftest.er1
14944 ac_status=$?
14945 grep -v '^ *+' conftest.er1 >conftest.err
14946 rm -f conftest.er1
14947 cat conftest.err >&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); } && {
14950 test -z "$ac_c_werror_flag" ||
14951 test ! -s conftest.err
14952 } && test -s conftest$ac_exeext &&
14953 $as_test_x conftest$ac_exeext; then
14954 ac_cv_c_extern_prefix="yes"
14955 else
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.$ac_ext >&5
14959 ac_cv_c_extern_prefix="no"
14962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14963 conftest$ac_exeext conftest.$ac_ext
14965 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
14966 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
14970 if test "$ac_cv_c_extern_prefix" = "yes"
14971 then
14972 cat >>confdefs.h <<\_ACEOF
14973 #define __ASM_NAME(name) "_" name
14974 _ACEOF
14976 else
14977 cat >>confdefs.h <<\_ACEOF
14978 #define __ASM_NAME(name) name
14979 _ACEOF
14984 LDPATH=""
14986 case $build_os in
14987 cygwin*|mingw32*)
14988 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14990 darwin*|macosx*)
14992 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
14993 then
14994 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14998 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15000 esac
15002 case $host_os in
15003 mingw32*)
15004 CRTLIBS="-lmsvcrt"
15006 SOCKETLIBS="-lws2_32"
15009 esac
15011 MAIN_BINARY="wine-pthread"
15012 case $host_cpu in
15013 *i[3456789]86*)
15014 case $host_os in
15015 linux* | k*bsd*-gnu)
15016 MAIN_BINARY="wine-glibc"
15018 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15020 esac
15022 esac
15026 cat >>confdefs.h <<_ACEOF
15027 #define SONAME_EXT ".$LIBEXT"
15028 _ACEOF
15031 { echo "$as_me:$LINENO: checking for -lX11" >&5
15032 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
15033 if test "${ac_cv_lib_soname_X11+set}" = set; then
15034 echo $ECHO_N "(cached) $ECHO_C" >&6
15035 else
15036 ac_check_soname_save_LIBS=$LIBS
15037 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
15038 cat >conftest.$ac_ext <<_ACEOF
15039 /* confdefs.h. */
15040 _ACEOF
15041 cat confdefs.h >>conftest.$ac_ext
15042 cat >>conftest.$ac_ext <<_ACEOF
15043 /* end confdefs.h. */
15045 /* Override any GCC internal prototype to avoid an error.
15046 Use char because int might match the return type of a GCC
15047 builtin and then its argument prototype would still apply. */
15048 #ifdef __cplusplus
15049 extern "C"
15050 #endif
15051 char XCreateWindow ();
15053 main ()
15055 return XCreateWindow ();
15057 return 0;
15059 _ACEOF
15060 rm -f conftest.$ac_objext conftest$ac_exeext
15061 if { (ac_try="$ac_link"
15062 case "(($ac_try" in
15063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15064 *) ac_try_echo=$ac_try;;
15065 esac
15066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15067 (eval "$ac_link") 2>conftest.er1
15068 ac_status=$?
15069 grep -v '^ *+' conftest.er1 >conftest.err
15070 rm -f conftest.er1
15071 cat conftest.err >&5
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 (exit $ac_status); } && {
15074 test -z "$ac_c_werror_flag" ||
15075 test ! -s conftest.err
15076 } && test -s conftest$ac_exeext &&
15077 $as_test_x conftest$ac_exeext; then
15078 case "$LIBEXT" in
15079 dll) ;;
15080 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'` ;;
15081 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15082 esac
15083 else
15084 echo "$as_me: failed program was:" >&5
15085 sed 's/^/| /' conftest.$ac_ext >&5
15090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15091 conftest$ac_exeext conftest.$ac_ext
15092 LIBS=$ac_check_soname_save_LIBS
15094 if test "x$ac_cv_lib_soname_X11" = "x"; then
15095 { echo "$as_me:$LINENO: result: not found" >&5
15096 echo "${ECHO_T}not found" >&6; }
15098 else
15099 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
15100 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
15102 cat >>confdefs.h <<_ACEOF
15103 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
15104 _ACEOF
15109 { echo "$as_me:$LINENO: checking for -lXext" >&5
15110 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
15111 if test "${ac_cv_lib_soname_Xext+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15113 else
15114 ac_check_soname_save_LIBS=$LIBS
15115 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
15116 cat >conftest.$ac_ext <<_ACEOF
15117 /* confdefs.h. */
15118 _ACEOF
15119 cat confdefs.h >>conftest.$ac_ext
15120 cat >>conftest.$ac_ext <<_ACEOF
15121 /* end confdefs.h. */
15123 /* Override any GCC internal prototype to avoid an error.
15124 Use char because int might match the return type of a GCC
15125 builtin and then its argument prototype would still apply. */
15126 #ifdef __cplusplus
15127 extern "C"
15128 #endif
15129 char XextCreateExtension ();
15131 main ()
15133 return XextCreateExtension ();
15135 return 0;
15137 _ACEOF
15138 rm -f conftest.$ac_objext conftest$ac_exeext
15139 if { (ac_try="$ac_link"
15140 case "(($ac_try" in
15141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15142 *) ac_try_echo=$ac_try;;
15143 esac
15144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15145 (eval "$ac_link") 2>conftest.er1
15146 ac_status=$?
15147 grep -v '^ *+' conftest.er1 >conftest.err
15148 rm -f conftest.er1
15149 cat conftest.err >&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); } && {
15152 test -z "$ac_c_werror_flag" ||
15153 test ! -s conftest.err
15154 } && test -s conftest$ac_exeext &&
15155 $as_test_x conftest$ac_exeext; then
15156 case "$LIBEXT" in
15157 dll) ;;
15158 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'` ;;
15159 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15160 esac
15161 else
15162 echo "$as_me: failed program was:" >&5
15163 sed 's/^/| /' conftest.$ac_ext >&5
15168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15169 conftest$ac_exeext conftest.$ac_ext
15170 LIBS=$ac_check_soname_save_LIBS
15172 if test "x$ac_cv_lib_soname_Xext" = "x"; then
15173 { echo "$as_me:$LINENO: result: not found" >&5
15174 echo "${ECHO_T}not found" >&6; }
15176 else
15177 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
15178 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
15180 cat >>confdefs.h <<_ACEOF
15181 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
15182 _ACEOF
15187 { echo "$as_me:$LINENO: checking for -lXi" >&5
15188 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
15189 if test "${ac_cv_lib_soname_Xi+set}" = set; then
15190 echo $ECHO_N "(cached) $ECHO_C" >&6
15191 else
15192 ac_check_soname_save_LIBS=$LIBS
15193 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15194 cat >conftest.$ac_ext <<_ACEOF
15195 /* confdefs.h. */
15196 _ACEOF
15197 cat confdefs.h >>conftest.$ac_ext
15198 cat >>conftest.$ac_ext <<_ACEOF
15199 /* end confdefs.h. */
15201 /* Override any GCC internal prototype to avoid an error.
15202 Use char because int might match the return type of a GCC
15203 builtin and then its argument prototype would still apply. */
15204 #ifdef __cplusplus
15205 extern "C"
15206 #endif
15207 char XOpenDevice ();
15209 main ()
15211 return XOpenDevice ();
15213 return 0;
15215 _ACEOF
15216 rm -f conftest.$ac_objext conftest$ac_exeext
15217 if { (ac_try="$ac_link"
15218 case "(($ac_try" in
15219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15220 *) ac_try_echo=$ac_try;;
15221 esac
15222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15223 (eval "$ac_link") 2>conftest.er1
15224 ac_status=$?
15225 grep -v '^ *+' conftest.er1 >conftest.err
15226 rm -f conftest.er1
15227 cat conftest.err >&5
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); } && {
15230 test -z "$ac_c_werror_flag" ||
15231 test ! -s conftest.err
15232 } && test -s conftest$ac_exeext &&
15233 $as_test_x conftest$ac_exeext; then
15234 case "$LIBEXT" in
15235 dll) ;;
15236 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'` ;;
15237 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15238 esac
15239 else
15240 echo "$as_me: failed program was:" >&5
15241 sed 's/^/| /' conftest.$ac_ext >&5
15246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15247 conftest$ac_exeext conftest.$ac_ext
15248 LIBS=$ac_check_soname_save_LIBS
15250 if test "x$ac_cv_lib_soname_Xi" = "x"; then
15251 { echo "$as_me:$LINENO: result: not found" >&5
15252 echo "${ECHO_T}not found" >&6; }
15254 else
15255 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
15256 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
15258 cat >>confdefs.h <<_ACEOF
15259 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
15260 _ACEOF
15265 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
15266 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
15267 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15269 else
15270 ac_check_soname_save_LIBS=$LIBS
15271 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15272 cat >conftest.$ac_ext <<_ACEOF
15273 /* confdefs.h. */
15274 _ACEOF
15275 cat confdefs.h >>conftest.$ac_ext
15276 cat >>conftest.$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15279 /* Override any GCC internal prototype to avoid an error.
15280 Use char because int might match the return type of a GCC
15281 builtin and then its argument prototype would still apply. */
15282 #ifdef __cplusplus
15283 extern "C"
15284 #endif
15285 char XineramaQueryScreens ();
15287 main ()
15289 return XineramaQueryScreens ();
15291 return 0;
15293 _ACEOF
15294 rm -f conftest.$ac_objext conftest$ac_exeext
15295 if { (ac_try="$ac_link"
15296 case "(($ac_try" in
15297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15298 *) ac_try_echo=$ac_try;;
15299 esac
15300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15301 (eval "$ac_link") 2>conftest.er1
15302 ac_status=$?
15303 grep -v '^ *+' conftest.er1 >conftest.err
15304 rm -f conftest.er1
15305 cat conftest.err >&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } && {
15308 test -z "$ac_c_werror_flag" ||
15309 test ! -s conftest.err
15310 } && test -s conftest$ac_exeext &&
15311 $as_test_x conftest$ac_exeext; then
15312 case "$LIBEXT" in
15313 dll) ;;
15314 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'` ;;
15315 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15316 esac
15317 else
15318 echo "$as_me: failed program was:" >&5
15319 sed 's/^/| /' conftest.$ac_ext >&5
15324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15325 conftest$ac_exeext conftest.$ac_ext
15326 LIBS=$ac_check_soname_save_LIBS
15328 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
15329 { echo "$as_me:$LINENO: result: not found" >&5
15330 echo "${ECHO_T}not found" >&6; }
15332 else
15333 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
15334 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
15336 cat >>confdefs.h <<_ACEOF
15337 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
15338 _ACEOF
15343 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
15344 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
15345 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 else
15348 ac_check_soname_save_LIBS=$LIBS
15349 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
15350 cat >conftest.$ac_ext <<_ACEOF
15351 /* confdefs.h. */
15352 _ACEOF
15353 cat confdefs.h >>conftest.$ac_ext
15354 cat >>conftest.$ac_ext <<_ACEOF
15355 /* end confdefs.h. */
15357 /* Override any GCC internal prototype to avoid an error.
15358 Use char because int might match the return type of a GCC
15359 builtin and then its argument prototype would still apply. */
15360 #ifdef __cplusplus
15361 extern "C"
15362 #endif
15363 char XcursorImageLoadCursor ();
15365 main ()
15367 return XcursorImageLoadCursor ();
15369 return 0;
15371 _ACEOF
15372 rm -f conftest.$ac_objext conftest$ac_exeext
15373 if { (ac_try="$ac_link"
15374 case "(($ac_try" in
15375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15376 *) ac_try_echo=$ac_try;;
15377 esac
15378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15379 (eval "$ac_link") 2>conftest.er1
15380 ac_status=$?
15381 grep -v '^ *+' conftest.er1 >conftest.err
15382 rm -f conftest.er1
15383 cat conftest.err >&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); } && {
15386 test -z "$ac_c_werror_flag" ||
15387 test ! -s conftest.err
15388 } && test -s conftest$ac_exeext &&
15389 $as_test_x conftest$ac_exeext; then
15390 case "$LIBEXT" in
15391 dll) ;;
15392 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'` ;;
15393 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15394 esac
15395 else
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.$ac_ext >&5
15402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15403 conftest$ac_exeext conftest.$ac_ext
15404 LIBS=$ac_check_soname_save_LIBS
15406 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
15407 { echo "$as_me:$LINENO: result: not found" >&5
15408 echo "${ECHO_T}not found" >&6; }
15410 else
15411 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
15412 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
15414 cat >>confdefs.h <<_ACEOF
15415 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
15416 _ACEOF
15421 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
15422 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
15423 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15424 echo $ECHO_N "(cached) $ECHO_C" >&6
15425 else
15426 ac_check_soname_save_LIBS=$LIBS
15427 LIBS="-lfreetype $X_LIBS $LIBS"
15428 cat >conftest.$ac_ext <<_ACEOF
15429 /* confdefs.h. */
15430 _ACEOF
15431 cat confdefs.h >>conftest.$ac_ext
15432 cat >>conftest.$ac_ext <<_ACEOF
15433 /* end confdefs.h. */
15435 /* Override any GCC internal prototype to avoid an error.
15436 Use char because int might match the return type of a GCC
15437 builtin and then its argument prototype would still apply. */
15438 #ifdef __cplusplus
15439 extern "C"
15440 #endif
15441 char FT_Init_FreeType ();
15443 main ()
15445 return FT_Init_FreeType ();
15447 return 0;
15449 _ACEOF
15450 rm -f conftest.$ac_objext conftest$ac_exeext
15451 if { (ac_try="$ac_link"
15452 case "(($ac_try" in
15453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15454 *) ac_try_echo=$ac_try;;
15455 esac
15456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15457 (eval "$ac_link") 2>conftest.er1
15458 ac_status=$?
15459 grep -v '^ *+' conftest.er1 >conftest.err
15460 rm -f conftest.er1
15461 cat conftest.err >&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } && {
15464 test -z "$ac_c_werror_flag" ||
15465 test ! -s conftest.err
15466 } && test -s conftest$ac_exeext &&
15467 $as_test_x conftest$ac_exeext; then
15468 case "$LIBEXT" in
15469 dll) ;;
15470 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'` ;;
15471 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15472 esac
15473 else
15474 echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.$ac_ext >&5
15480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15481 conftest$ac_exeext conftest.$ac_ext
15482 LIBS=$ac_check_soname_save_LIBS
15484 if test "x$ac_cv_lib_soname_freetype" = "x"; then
15485 { echo "$as_me:$LINENO: result: not found" >&5
15486 echo "${ECHO_T}not found" >&6; }
15488 else
15489 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15490 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
15492 cat >>confdefs.h <<_ACEOF
15493 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15494 _ACEOF
15499 { echo "$as_me:$LINENO: checking for -ltxc_dxtn" >&5
15500 echo $ECHO_N "checking for -ltxc_dxtn... $ECHO_C" >&6; }
15501 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15502 echo $ECHO_N "(cached) $ECHO_C" >&6
15503 else
15504 ac_check_soname_save_LIBS=$LIBS
15505 LIBS="-ltxc_dxtn $LIBS"
15506 cat >conftest.$ac_ext <<_ACEOF
15507 /* confdefs.h. */
15508 _ACEOF
15509 cat confdefs.h >>conftest.$ac_ext
15510 cat >>conftest.$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15513 /* Override any GCC internal prototype to avoid an error.
15514 Use char because int might match the return type of a GCC
15515 builtin and then its argument prototype would still apply. */
15516 #ifdef __cplusplus
15517 extern "C"
15518 #endif
15519 char fetch_2d_texel_rgba_dxt1 ();
15521 main ()
15523 return fetch_2d_texel_rgba_dxt1 ();
15525 return 0;
15527 _ACEOF
15528 rm -f conftest.$ac_objext conftest$ac_exeext
15529 if { (ac_try="$ac_link"
15530 case "(($ac_try" in
15531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15532 *) ac_try_echo=$ac_try;;
15533 esac
15534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15535 (eval "$ac_link") 2>conftest.er1
15536 ac_status=$?
15537 grep -v '^ *+' conftest.er1 >conftest.err
15538 rm -f conftest.er1
15539 cat conftest.err >&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); } && {
15542 test -z "$ac_c_werror_flag" ||
15543 test ! -s conftest.err
15544 } && test -s conftest$ac_exeext &&
15545 $as_test_x conftest$ac_exeext; then
15546 case "$LIBEXT" in
15547 dll) ;;
15548 dylib) ac_cv_lib_soname_txc_dxtn=`otool -L conftest$ac_exeext | grep "libtxc_dxtn\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtxc_dxtn\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15549 *) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtxc_dxtn\\.$LIBEXT" | sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15550 esac
15551 else
15552 echo "$as_me: failed program was:" >&5
15553 sed 's/^/| /' conftest.$ac_ext >&5
15558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15559 conftest$ac_exeext conftest.$ac_ext
15560 LIBS=$ac_check_soname_save_LIBS
15562 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"; then
15563 { echo "$as_me:$LINENO: result: not found" >&5
15564 echo "${ECHO_T}not found" >&6; }
15566 else
15567 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15568 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15570 cat >>confdefs.h <<_ACEOF
15571 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15572 _ACEOF
15641 for ac_func in \
15642 _pclose \
15643 _popen \
15644 _snprintf \
15645 _spawnvp \
15646 _stricmp \
15647 _strnicmp \
15648 _vsnprintf \
15649 asctime_r \
15650 chsize \
15651 clone \
15652 dlopen \
15653 epoll_create \
15654 ffs \
15655 finite \
15656 fork \
15657 fpclass \
15658 fstatfs \
15659 fstatvfs \
15660 ftruncate \
15661 futimes \
15662 futimesat \
15663 getdirentries \
15664 getopt_long \
15665 getpagesize \
15666 getpwuid \
15667 gettid \
15668 gettimeofday \
15669 getuid \
15670 inet_pton \
15671 kqueue \
15672 lstat \
15673 memmove \
15674 mmap \
15675 pclose \
15676 poll \
15677 popen \
15678 prctl \
15679 pread \
15680 pwrite \
15681 readlink \
15682 rfork \
15683 sched_yield \
15684 select \
15685 setrlimit \
15686 settimeofday \
15687 sigaltstack \
15688 sigprocmask \
15689 snprintf \
15690 spawnvp \
15691 statfs \
15692 statvfs \
15693 strcasecmp \
15694 strerror \
15695 strncasecmp \
15696 strtold \
15697 tcgetattr \
15698 timegm \
15699 usleep \
15700 vsnprintf \
15701 wait4 \
15702 waitpid \
15705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15706 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15708 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15709 echo $ECHO_N "(cached) $ECHO_C" >&6
15710 else
15711 cat >conftest.$ac_ext <<_ACEOF
15712 /* confdefs.h. */
15713 _ACEOF
15714 cat confdefs.h >>conftest.$ac_ext
15715 cat >>conftest.$ac_ext <<_ACEOF
15716 /* end confdefs.h. */
15717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15719 #define $ac_func innocuous_$ac_func
15721 /* System header to define __stub macros and hopefully few prototypes,
15722 which can conflict with char $ac_func (); below.
15723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15724 <limits.h> exists even on freestanding compilers. */
15726 #ifdef __STDC__
15727 # include <limits.h>
15728 #else
15729 # include <assert.h>
15730 #endif
15732 #undef $ac_func
15734 /* Override any GCC internal prototype to avoid an error.
15735 Use char because int might match the return type of a GCC
15736 builtin and then its argument prototype would still apply. */
15737 #ifdef __cplusplus
15738 extern "C"
15739 #endif
15740 char $ac_func ();
15741 /* The GNU C library defines this for functions which it implements
15742 to always fail with ENOSYS. Some functions are actually named
15743 something starting with __ and the normal name is an alias. */
15744 #if defined __stub_$ac_func || defined __stub___$ac_func
15745 choke me
15746 #endif
15749 main ()
15751 return $ac_func ();
15753 return 0;
15755 _ACEOF
15756 rm -f conftest.$ac_objext conftest$ac_exeext
15757 if { (ac_try="$ac_link"
15758 case "(($ac_try" in
15759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15760 *) ac_try_echo=$ac_try;;
15761 esac
15762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15763 (eval "$ac_link") 2>conftest.er1
15764 ac_status=$?
15765 grep -v '^ *+' conftest.er1 >conftest.err
15766 rm -f conftest.er1
15767 cat conftest.err >&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } && {
15770 test -z "$ac_c_werror_flag" ||
15771 test ! -s conftest.err
15772 } && test -s conftest$ac_exeext &&
15773 $as_test_x conftest$ac_exeext; then
15774 eval "$as_ac_var=yes"
15775 else
15776 echo "$as_me: failed program was:" >&5
15777 sed 's/^/| /' conftest.$ac_ext >&5
15779 eval "$as_ac_var=no"
15782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15783 conftest$ac_exeext conftest.$ac_ext
15785 ac_res=`eval echo '${'$as_ac_var'}'`
15786 { echo "$as_me:$LINENO: result: $ac_res" >&5
15787 echo "${ECHO_T}$ac_res" >&6; }
15788 if test `eval echo '${'$as_ac_var'}'` = yes; then
15789 cat >>confdefs.h <<_ACEOF
15790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15791 _ACEOF
15794 done
15797 if test "$ac_cv_func_dlopen" = no
15798 then
15799 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15800 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15801 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15802 echo $ECHO_N "(cached) $ECHO_C" >&6
15803 else
15804 ac_check_lib_save_LIBS=$LIBS
15805 LIBS="-ldl $LIBS"
15806 cat >conftest.$ac_ext <<_ACEOF
15807 /* confdefs.h. */
15808 _ACEOF
15809 cat confdefs.h >>conftest.$ac_ext
15810 cat >>conftest.$ac_ext <<_ACEOF
15811 /* end confdefs.h. */
15813 /* Override any GCC internal prototype to avoid an error.
15814 Use char because int might match the return type of a GCC
15815 builtin and then its argument prototype would still apply. */
15816 #ifdef __cplusplus
15817 extern "C"
15818 #endif
15819 char dlopen ();
15821 main ()
15823 return dlopen ();
15825 return 0;
15827 _ACEOF
15828 rm -f conftest.$ac_objext conftest$ac_exeext
15829 if { (ac_try="$ac_link"
15830 case "(($ac_try" in
15831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15832 *) ac_try_echo=$ac_try;;
15833 esac
15834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15835 (eval "$ac_link") 2>conftest.er1
15836 ac_status=$?
15837 grep -v '^ *+' conftest.er1 >conftest.err
15838 rm -f conftest.er1
15839 cat conftest.err >&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } && {
15842 test -z "$ac_c_werror_flag" ||
15843 test ! -s conftest.err
15844 } && test -s conftest$ac_exeext &&
15845 $as_test_x conftest$ac_exeext; then
15846 ac_cv_lib_dl_dlopen=yes
15847 else
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15851 ac_cv_lib_dl_dlopen=no
15854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15855 conftest$ac_exeext conftest.$ac_ext
15856 LIBS=$ac_check_lib_save_LIBS
15858 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15859 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15860 if test $ac_cv_lib_dl_dlopen = yes; then
15861 cat >>confdefs.h <<\_ACEOF
15862 #define HAVE_DLOPEN 1
15863 _ACEOF
15864 LIBDL="-ldl"
15869 ac_wine_check_funcs_save_LIBS="$LIBS"
15870 LIBS="$LIBS $LIBDL"
15872 for ac_func in dladdr
15874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15875 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15877 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15879 else
15880 cat >conftest.$ac_ext <<_ACEOF
15881 /* confdefs.h. */
15882 _ACEOF
15883 cat confdefs.h >>conftest.$ac_ext
15884 cat >>conftest.$ac_ext <<_ACEOF
15885 /* end confdefs.h. */
15886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15888 #define $ac_func innocuous_$ac_func
15890 /* System header to define __stub macros and hopefully few prototypes,
15891 which can conflict with char $ac_func (); below.
15892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15893 <limits.h> exists even on freestanding compilers. */
15895 #ifdef __STDC__
15896 # include <limits.h>
15897 #else
15898 # include <assert.h>
15899 #endif
15901 #undef $ac_func
15903 /* Override any GCC internal prototype to avoid an error.
15904 Use char because int might match the return type of a GCC
15905 builtin and then its argument prototype would still apply. */
15906 #ifdef __cplusplus
15907 extern "C"
15908 #endif
15909 char $ac_func ();
15910 /* The GNU C library defines this for functions which it implements
15911 to always fail with ENOSYS. Some functions are actually named
15912 something starting with __ and the normal name is an alias. */
15913 #if defined __stub_$ac_func || defined __stub___$ac_func
15914 choke me
15915 #endif
15918 main ()
15920 return $ac_func ();
15922 return 0;
15924 _ACEOF
15925 rm -f conftest.$ac_objext conftest$ac_exeext
15926 if { (ac_try="$ac_link"
15927 case "(($ac_try" in
15928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15929 *) ac_try_echo=$ac_try;;
15930 esac
15931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15932 (eval "$ac_link") 2>conftest.er1
15933 ac_status=$?
15934 grep -v '^ *+' conftest.er1 >conftest.err
15935 rm -f conftest.er1
15936 cat conftest.err >&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); } && {
15939 test -z "$ac_c_werror_flag" ||
15940 test ! -s conftest.err
15941 } && test -s conftest$ac_exeext &&
15942 $as_test_x conftest$ac_exeext; then
15943 eval "$as_ac_var=yes"
15944 else
15945 echo "$as_me: failed program was:" >&5
15946 sed 's/^/| /' conftest.$ac_ext >&5
15948 eval "$as_ac_var=no"
15951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15952 conftest$ac_exeext conftest.$ac_ext
15954 ac_res=`eval echo '${'$as_ac_var'}'`
15955 { echo "$as_me:$LINENO: result: $ac_res" >&5
15956 echo "${ECHO_T}$ac_res" >&6; }
15957 if test `eval echo '${'$as_ac_var'}'` = yes; then
15958 cat >>confdefs.h <<_ACEOF
15959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15960 _ACEOF
15963 done
15965 LIBS="$ac_wine_check_funcs_save_LIBS"
15967 if test "$ac_cv_func_poll" = no
15968 then
15969 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
15970 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
15971 if test "${ac_cv_lib_poll_poll+set}" = set; then
15972 echo $ECHO_N "(cached) $ECHO_C" >&6
15973 else
15974 ac_check_lib_save_LIBS=$LIBS
15975 LIBS="-lpoll $LIBS"
15976 cat >conftest.$ac_ext <<_ACEOF
15977 /* confdefs.h. */
15978 _ACEOF
15979 cat confdefs.h >>conftest.$ac_ext
15980 cat >>conftest.$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15983 /* Override any GCC internal prototype to avoid an error.
15984 Use char because int might match the return type of a GCC
15985 builtin and then its argument prototype would still apply. */
15986 #ifdef __cplusplus
15987 extern "C"
15988 #endif
15989 char poll ();
15991 main ()
15993 return poll ();
15995 return 0;
15997 _ACEOF
15998 rm -f conftest.$ac_objext conftest$ac_exeext
15999 if { (ac_try="$ac_link"
16000 case "(($ac_try" in
16001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16002 *) ac_try_echo=$ac_try;;
16003 esac
16004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16005 (eval "$ac_link") 2>conftest.er1
16006 ac_status=$?
16007 grep -v '^ *+' conftest.er1 >conftest.err
16008 rm -f conftest.er1
16009 cat conftest.err >&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); } && {
16012 test -z "$ac_c_werror_flag" ||
16013 test ! -s conftest.err
16014 } && test -s conftest$ac_exeext &&
16015 $as_test_x conftest$ac_exeext; then
16016 ac_cv_lib_poll_poll=yes
16017 else
16018 echo "$as_me: failed program was:" >&5
16019 sed 's/^/| /' conftest.$ac_ext >&5
16021 ac_cv_lib_poll_poll=no
16024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16025 conftest$ac_exeext conftest.$ac_ext
16026 LIBS=$ac_check_lib_save_LIBS
16028 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16029 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16030 if test $ac_cv_lib_poll_poll = yes; then
16031 cat >>confdefs.h <<\_ACEOF
16032 #define HAVE_POLL 1
16033 _ACEOF
16034 LIBPOLL="-lpoll"
16040 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16041 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16042 if test "${ac_cv_search_gethostbyname+set}" = set; then
16043 echo $ECHO_N "(cached) $ECHO_C" >&6
16044 else
16045 ac_func_search_save_LIBS=$LIBS
16046 cat >conftest.$ac_ext <<_ACEOF
16047 /* confdefs.h. */
16048 _ACEOF
16049 cat confdefs.h >>conftest.$ac_ext
16050 cat >>conftest.$ac_ext <<_ACEOF
16051 /* end confdefs.h. */
16053 /* Override any GCC internal prototype to avoid an error.
16054 Use char because int might match the return type of a GCC
16055 builtin and then its argument prototype would still apply. */
16056 #ifdef __cplusplus
16057 extern "C"
16058 #endif
16059 char gethostbyname ();
16061 main ()
16063 return gethostbyname ();
16065 return 0;
16067 _ACEOF
16068 for ac_lib in '' nsl; do
16069 if test -z "$ac_lib"; then
16070 ac_res="none required"
16071 else
16072 ac_res=-l$ac_lib
16073 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16075 rm -f conftest.$ac_objext conftest$ac_exeext
16076 if { (ac_try="$ac_link"
16077 case "(($ac_try" in
16078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16079 *) ac_try_echo=$ac_try;;
16080 esac
16081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16082 (eval "$ac_link") 2>conftest.er1
16083 ac_status=$?
16084 grep -v '^ *+' conftest.er1 >conftest.err
16085 rm -f conftest.er1
16086 cat conftest.err >&5
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); } && {
16089 test -z "$ac_c_werror_flag" ||
16090 test ! -s conftest.err
16091 } && test -s conftest$ac_exeext &&
16092 $as_test_x conftest$ac_exeext; then
16093 ac_cv_search_gethostbyname=$ac_res
16094 else
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16102 conftest$ac_exeext
16103 if test "${ac_cv_search_gethostbyname+set}" = set; then
16104 break
16106 done
16107 if test "${ac_cv_search_gethostbyname+set}" = set; then
16109 else
16110 ac_cv_search_gethostbyname=no
16112 rm conftest.$ac_ext
16113 LIBS=$ac_func_search_save_LIBS
16115 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16116 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16117 ac_res=$ac_cv_search_gethostbyname
16118 if test "$ac_res" != no; then
16119 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16124 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16125 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16126 if test "${ac_cv_search_connect+set}" = set; then
16127 echo $ECHO_N "(cached) $ECHO_C" >&6
16128 else
16129 ac_func_search_save_LIBS=$LIBS
16130 cat >conftest.$ac_ext <<_ACEOF
16131 /* confdefs.h. */
16132 _ACEOF
16133 cat confdefs.h >>conftest.$ac_ext
16134 cat >>conftest.$ac_ext <<_ACEOF
16135 /* end confdefs.h. */
16137 /* Override any GCC internal prototype to avoid an error.
16138 Use char because int might match the return type of a GCC
16139 builtin and then its argument prototype would still apply. */
16140 #ifdef __cplusplus
16141 extern "C"
16142 #endif
16143 char connect ();
16145 main ()
16147 return connect ();
16149 return 0;
16151 _ACEOF
16152 for ac_lib in '' socket; do
16153 if test -z "$ac_lib"; then
16154 ac_res="none required"
16155 else
16156 ac_res=-l$ac_lib
16157 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16159 rm -f conftest.$ac_objext conftest$ac_exeext
16160 if { (ac_try="$ac_link"
16161 case "(($ac_try" in
16162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16163 *) ac_try_echo=$ac_try;;
16164 esac
16165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16166 (eval "$ac_link") 2>conftest.er1
16167 ac_status=$?
16168 grep -v '^ *+' conftest.er1 >conftest.err
16169 rm -f conftest.er1
16170 cat conftest.err >&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); } && {
16173 test -z "$ac_c_werror_flag" ||
16174 test ! -s conftest.err
16175 } && test -s conftest$ac_exeext &&
16176 $as_test_x conftest$ac_exeext; then
16177 ac_cv_search_connect=$ac_res
16178 else
16179 echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.$ac_ext >&5
16185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16186 conftest$ac_exeext
16187 if test "${ac_cv_search_connect+set}" = set; then
16188 break
16190 done
16191 if test "${ac_cv_search_connect+set}" = set; then
16193 else
16194 ac_cv_search_connect=no
16196 rm conftest.$ac_ext
16197 LIBS=$ac_func_search_save_LIBS
16199 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16200 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16201 ac_res=$ac_cv_search_connect
16202 if test "$ac_res" != no; then
16203 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16208 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16209 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16210 if test "${ac_cv_search_inet_aton+set}" = set; then
16211 echo $ECHO_N "(cached) $ECHO_C" >&6
16212 else
16213 ac_func_search_save_LIBS=$LIBS
16214 cat >conftest.$ac_ext <<_ACEOF
16215 /* confdefs.h. */
16216 _ACEOF
16217 cat confdefs.h >>conftest.$ac_ext
16218 cat >>conftest.$ac_ext <<_ACEOF
16219 /* end confdefs.h. */
16221 /* Override any GCC internal prototype to avoid an error.
16222 Use char because int might match the return type of a GCC
16223 builtin and then its argument prototype would still apply. */
16224 #ifdef __cplusplus
16225 extern "C"
16226 #endif
16227 char inet_aton ();
16229 main ()
16231 return inet_aton ();
16233 return 0;
16235 _ACEOF
16236 for ac_lib in '' resolv; do
16237 if test -z "$ac_lib"; then
16238 ac_res="none required"
16239 else
16240 ac_res=-l$ac_lib
16241 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16243 rm -f conftest.$ac_objext 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>conftest.er1
16251 ac_status=$?
16252 grep -v '^ *+' conftest.er1 >conftest.err
16253 rm -f conftest.er1
16254 cat conftest.err >&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); } && {
16257 test -z "$ac_c_werror_flag" ||
16258 test ! -s conftest.err
16259 } && test -s conftest$ac_exeext &&
16260 $as_test_x conftest$ac_exeext; then
16261 ac_cv_search_inet_aton=$ac_res
16262 else
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16270 conftest$ac_exeext
16271 if test "${ac_cv_search_inet_aton+set}" = set; then
16272 break
16274 done
16275 if test "${ac_cv_search_inet_aton+set}" = set; then
16277 else
16278 ac_cv_search_inet_aton=no
16280 rm conftest.$ac_ext
16281 LIBS=$ac_func_search_save_LIBS
16283 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16284 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16285 ac_res=$ac_cv_search_inet_aton
16286 if test "$ac_res" != no; then
16287 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16300 for ac_func in \
16301 getaddrinfo \
16302 getnameinfo \
16303 getnetbyname \
16304 getprotobyname \
16305 getprotobynumber \
16306 getservbyport \
16307 inet_network \
16308 sendmsg \
16311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16312 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16314 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16315 echo $ECHO_N "(cached) $ECHO_C" >&6
16316 else
16317 cat >conftest.$ac_ext <<_ACEOF
16318 /* confdefs.h. */
16319 _ACEOF
16320 cat confdefs.h >>conftest.$ac_ext
16321 cat >>conftest.$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16325 #define $ac_func innocuous_$ac_func
16327 /* System header to define __stub macros and hopefully few prototypes,
16328 which can conflict with char $ac_func (); below.
16329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16330 <limits.h> exists even on freestanding compilers. */
16332 #ifdef __STDC__
16333 # include <limits.h>
16334 #else
16335 # include <assert.h>
16336 #endif
16338 #undef $ac_func
16340 /* Override any GCC internal prototype to avoid an error.
16341 Use char because int might match the return type of a GCC
16342 builtin and then its argument prototype would still apply. */
16343 #ifdef __cplusplus
16344 extern "C"
16345 #endif
16346 char $ac_func ();
16347 /* The GNU C library defines this for functions which it implements
16348 to always fail with ENOSYS. Some functions are actually named
16349 something starting with __ and the normal name is an alias. */
16350 #if defined __stub_$ac_func || defined __stub___$ac_func
16351 choke me
16352 #endif
16355 main ()
16357 return $ac_func ();
16359 return 0;
16361 _ACEOF
16362 rm -f conftest.$ac_objext conftest$ac_exeext
16363 if { (ac_try="$ac_link"
16364 case "(($ac_try" in
16365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16366 *) ac_try_echo=$ac_try;;
16367 esac
16368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16369 (eval "$ac_link") 2>conftest.er1
16370 ac_status=$?
16371 grep -v '^ *+' conftest.er1 >conftest.err
16372 rm -f conftest.er1
16373 cat conftest.err >&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); } && {
16376 test -z "$ac_c_werror_flag" ||
16377 test ! -s conftest.err
16378 } && test -s conftest$ac_exeext &&
16379 $as_test_x conftest$ac_exeext; then
16380 eval "$as_ac_var=yes"
16381 else
16382 echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.$ac_ext >&5
16385 eval "$as_ac_var=no"
16388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16389 conftest$ac_exeext conftest.$ac_ext
16391 ac_res=`eval echo '${'$as_ac_var'}'`
16392 { echo "$as_me:$LINENO: result: $ac_res" >&5
16393 echo "${ECHO_T}$ac_res" >&6; }
16394 if test `eval echo '${'$as_ac_var'}'` = yes; then
16395 cat >>confdefs.h <<_ACEOF
16396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16397 _ACEOF
16400 done
16404 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16405 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16406 if test "${ac_cv_c_const+set}" = set; then
16407 echo $ECHO_N "(cached) $ECHO_C" >&6
16408 else
16409 cat >conftest.$ac_ext <<_ACEOF
16410 /* confdefs.h. */
16411 _ACEOF
16412 cat confdefs.h >>conftest.$ac_ext
16413 cat >>conftest.$ac_ext <<_ACEOF
16414 /* end confdefs.h. */
16417 main ()
16419 /* FIXME: Include the comments suggested by Paul. */
16420 #ifndef __cplusplus
16421 /* Ultrix mips cc rejects this. */
16422 typedef int charset[2];
16423 const charset cs;
16424 /* SunOS 4.1.1 cc rejects this. */
16425 char const *const *pcpcc;
16426 char **ppc;
16427 /* NEC SVR4.0.2 mips cc rejects this. */
16428 struct point {int x, y;};
16429 static struct point const zero = {0,0};
16430 /* AIX XL C 1.02.0.0 rejects this.
16431 It does not let you subtract one const X* pointer from another in
16432 an arm of an if-expression whose if-part is not a constant
16433 expression */
16434 const char *g = "string";
16435 pcpcc = &g + (g ? g-g : 0);
16436 /* HPUX 7.0 cc rejects these. */
16437 ++pcpcc;
16438 ppc = (char**) pcpcc;
16439 pcpcc = (char const *const *) ppc;
16440 { /* SCO 3.2v4 cc rejects this. */
16441 char *t;
16442 char const *s = 0 ? (char *) 0 : (char const *) 0;
16444 *t++ = 0;
16445 if (s) return 0;
16447 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16448 int x[] = {25, 17};
16449 const int *foo = &x[0];
16450 ++foo;
16452 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16453 typedef const int *iptr;
16454 iptr p = 0;
16455 ++p;
16457 { /* AIX XL C 1.02.0.0 rejects this saying
16458 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16459 struct s { int j; const int *ap[3]; };
16460 struct s *b; b->j = 5;
16462 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16463 const int foo = 10;
16464 if (!foo) return 0;
16466 return !cs[0] && !zero.x;
16467 #endif
16470 return 0;
16472 _ACEOF
16473 rm -f conftest.$ac_objext
16474 if { (ac_try="$ac_compile"
16475 case "(($ac_try" in
16476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16477 *) ac_try_echo=$ac_try;;
16478 esac
16479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16480 (eval "$ac_compile") 2>conftest.er1
16481 ac_status=$?
16482 grep -v '^ *+' conftest.er1 >conftest.err
16483 rm -f conftest.er1
16484 cat conftest.err >&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } && {
16487 test -z "$ac_c_werror_flag" ||
16488 test ! -s conftest.err
16489 } && test -s conftest.$ac_objext; then
16490 ac_cv_c_const=yes
16491 else
16492 echo "$as_me: failed program was:" >&5
16493 sed 's/^/| /' conftest.$ac_ext >&5
16495 ac_cv_c_const=no
16498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16500 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16501 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16502 if test $ac_cv_c_const = no; then
16504 cat >>confdefs.h <<\_ACEOF
16505 #define const
16506 _ACEOF
16510 { echo "$as_me:$LINENO: checking for inline" >&5
16511 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16512 if test "${ac_cv_c_inline+set}" = set; then
16513 echo $ECHO_N "(cached) $ECHO_C" >&6
16514 else
16515 ac_cv_c_inline=no
16516 for ac_kw in inline __inline__ __inline; do
16517 cat >conftest.$ac_ext <<_ACEOF
16518 /* confdefs.h. */
16519 _ACEOF
16520 cat confdefs.h >>conftest.$ac_ext
16521 cat >>conftest.$ac_ext <<_ACEOF
16522 /* end confdefs.h. */
16523 #ifndef __cplusplus
16524 typedef int foo_t;
16525 static $ac_kw foo_t static_foo () {return 0; }
16526 $ac_kw foo_t foo () {return 0; }
16527 #endif
16529 _ACEOF
16530 rm -f conftest.$ac_objext
16531 if { (ac_try="$ac_compile"
16532 case "(($ac_try" in
16533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16534 *) ac_try_echo=$ac_try;;
16535 esac
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537 (eval "$ac_compile") 2>conftest.er1
16538 ac_status=$?
16539 grep -v '^ *+' conftest.er1 >conftest.err
16540 rm -f conftest.er1
16541 cat conftest.err >&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); } && {
16544 test -z "$ac_c_werror_flag" ||
16545 test ! -s conftest.err
16546 } && test -s conftest.$ac_objext; then
16547 ac_cv_c_inline=$ac_kw
16548 else
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.$ac_ext >&5
16555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16556 test "$ac_cv_c_inline" != no && break
16557 done
16560 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16561 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16564 case $ac_cv_c_inline in
16565 inline | yes) ;;
16567 case $ac_cv_c_inline in
16568 no) ac_val=;;
16569 *) ac_val=$ac_cv_c_inline;;
16570 esac
16571 cat >>confdefs.h <<_ACEOF
16572 #ifndef __cplusplus
16573 #define inline $ac_val
16574 #endif
16575 _ACEOF
16577 esac
16579 { echo "$as_me:$LINENO: checking for mode_t" >&5
16580 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16581 if test "${ac_cv_type_mode_t+set}" = set; then
16582 echo $ECHO_N "(cached) $ECHO_C" >&6
16583 else
16584 cat >conftest.$ac_ext <<_ACEOF
16585 /* confdefs.h. */
16586 _ACEOF
16587 cat confdefs.h >>conftest.$ac_ext
16588 cat >>conftest.$ac_ext <<_ACEOF
16589 /* end confdefs.h. */
16590 $ac_includes_default
16591 typedef mode_t ac__type_new_;
16593 main ()
16595 if ((ac__type_new_ *) 0)
16596 return 0;
16597 if (sizeof (ac__type_new_))
16598 return 0;
16600 return 0;
16602 _ACEOF
16603 rm -f conftest.$ac_objext
16604 if { (ac_try="$ac_compile"
16605 case "(($ac_try" in
16606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16607 *) ac_try_echo=$ac_try;;
16608 esac
16609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16610 (eval "$ac_compile") 2>conftest.er1
16611 ac_status=$?
16612 grep -v '^ *+' conftest.er1 >conftest.err
16613 rm -f conftest.er1
16614 cat conftest.err >&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); } && {
16617 test -z "$ac_c_werror_flag" ||
16618 test ! -s conftest.err
16619 } && test -s conftest.$ac_objext; then
16620 ac_cv_type_mode_t=yes
16621 else
16622 echo "$as_me: failed program was:" >&5
16623 sed 's/^/| /' conftest.$ac_ext >&5
16625 ac_cv_type_mode_t=no
16628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16630 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16631 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16632 if test $ac_cv_type_mode_t = yes; then
16634 cat >>confdefs.h <<_ACEOF
16635 #define HAVE_MODE_T 1
16636 _ACEOF
16640 { echo "$as_me:$LINENO: checking for off_t" >&5
16641 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16642 if test "${ac_cv_type_off_t+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 else
16645 cat >conftest.$ac_ext <<_ACEOF
16646 /* confdefs.h. */
16647 _ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651 $ac_includes_default
16652 typedef off_t ac__type_new_;
16654 main ()
16656 if ((ac__type_new_ *) 0)
16657 return 0;
16658 if (sizeof (ac__type_new_))
16659 return 0;
16661 return 0;
16663 _ACEOF
16664 rm -f conftest.$ac_objext
16665 if { (ac_try="$ac_compile"
16666 case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16669 esac
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compile") 2>conftest.er1
16672 ac_status=$?
16673 grep -v '^ *+' conftest.er1 >conftest.err
16674 rm -f conftest.er1
16675 cat conftest.err >&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && {
16678 test -z "$ac_c_werror_flag" ||
16679 test ! -s conftest.err
16680 } && test -s conftest.$ac_objext; then
16681 ac_cv_type_off_t=yes
16682 else
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16686 ac_cv_type_off_t=no
16689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16691 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16692 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16693 if test $ac_cv_type_off_t = yes; then
16695 cat >>confdefs.h <<_ACEOF
16696 #define HAVE_OFF_T 1
16697 _ACEOF
16701 { echo "$as_me:$LINENO: checking for pid_t" >&5
16702 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16703 if test "${ac_cv_type_pid_t+set}" = set; then
16704 echo $ECHO_N "(cached) $ECHO_C" >&6
16705 else
16706 cat >conftest.$ac_ext <<_ACEOF
16707 /* confdefs.h. */
16708 _ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16712 $ac_includes_default
16713 typedef pid_t ac__type_new_;
16715 main ()
16717 if ((ac__type_new_ *) 0)
16718 return 0;
16719 if (sizeof (ac__type_new_))
16720 return 0;
16722 return 0;
16724 _ACEOF
16725 rm -f conftest.$ac_objext
16726 if { (ac_try="$ac_compile"
16727 case "(($ac_try" in
16728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16730 esac
16731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16732 (eval "$ac_compile") 2>conftest.er1
16733 ac_status=$?
16734 grep -v '^ *+' conftest.er1 >conftest.err
16735 rm -f conftest.er1
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } && {
16739 test -z "$ac_c_werror_flag" ||
16740 test ! -s conftest.err
16741 } && test -s conftest.$ac_objext; then
16742 ac_cv_type_pid_t=yes
16743 else
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16747 ac_cv_type_pid_t=no
16750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16752 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16753 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16754 if test $ac_cv_type_pid_t = yes; then
16756 cat >>confdefs.h <<_ACEOF
16757 #define HAVE_PID_T 1
16758 _ACEOF
16762 { echo "$as_me:$LINENO: checking for size_t" >&5
16763 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16764 if test "${ac_cv_type_size_t+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16766 else
16767 cat >conftest.$ac_ext <<_ACEOF
16768 /* confdefs.h. */
16769 _ACEOF
16770 cat confdefs.h >>conftest.$ac_ext
16771 cat >>conftest.$ac_ext <<_ACEOF
16772 /* end confdefs.h. */
16773 $ac_includes_default
16774 typedef size_t ac__type_new_;
16776 main ()
16778 if ((ac__type_new_ *) 0)
16779 return 0;
16780 if (sizeof (ac__type_new_))
16781 return 0;
16783 return 0;
16785 _ACEOF
16786 rm -f conftest.$ac_objext
16787 if { (ac_try="$ac_compile"
16788 case "(($ac_try" in
16789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16790 *) ac_try_echo=$ac_try;;
16791 esac
16792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16793 (eval "$ac_compile") 2>conftest.er1
16794 ac_status=$?
16795 grep -v '^ *+' conftest.er1 >conftest.err
16796 rm -f conftest.er1
16797 cat conftest.err >&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); } && {
16800 test -z "$ac_c_werror_flag" ||
16801 test ! -s conftest.err
16802 } && test -s conftest.$ac_objext; then
16803 ac_cv_type_size_t=yes
16804 else
16805 echo "$as_me: failed program was:" >&5
16806 sed 's/^/| /' conftest.$ac_ext >&5
16808 ac_cv_type_size_t=no
16811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16813 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16814 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16815 if test $ac_cv_type_size_t = yes; then
16817 cat >>confdefs.h <<_ACEOF
16818 #define HAVE_SIZE_T 1
16819 _ACEOF
16823 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16824 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16825 if test "${ac_cv_type_ssize_t+set}" = set; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16827 else
16828 cat >conftest.$ac_ext <<_ACEOF
16829 /* confdefs.h. */
16830 _ACEOF
16831 cat confdefs.h >>conftest.$ac_ext
16832 cat >>conftest.$ac_ext <<_ACEOF
16833 /* end confdefs.h. */
16834 $ac_includes_default
16835 typedef ssize_t ac__type_new_;
16837 main ()
16839 if ((ac__type_new_ *) 0)
16840 return 0;
16841 if (sizeof (ac__type_new_))
16842 return 0;
16844 return 0;
16846 _ACEOF
16847 rm -f conftest.$ac_objext
16848 if { (ac_try="$ac_compile"
16849 case "(($ac_try" in
16850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16851 *) ac_try_echo=$ac_try;;
16852 esac
16853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16854 (eval "$ac_compile") 2>conftest.er1
16855 ac_status=$?
16856 grep -v '^ *+' conftest.er1 >conftest.err
16857 rm -f conftest.er1
16858 cat conftest.err >&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } && {
16861 test -z "$ac_c_werror_flag" ||
16862 test ! -s conftest.err
16863 } && test -s conftest.$ac_objext; then
16864 ac_cv_type_ssize_t=yes
16865 else
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.$ac_ext >&5
16869 ac_cv_type_ssize_t=no
16872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16875 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16876 if test $ac_cv_type_ssize_t = yes; then
16878 cat >>confdefs.h <<_ACEOF
16879 #define HAVE_SSIZE_T 1
16880 _ACEOF
16884 { echo "$as_me:$LINENO: checking for long long" >&5
16885 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16886 if test "${ac_cv_type_long_long+set}" = set; then
16887 echo $ECHO_N "(cached) $ECHO_C" >&6
16888 else
16889 cat >conftest.$ac_ext <<_ACEOF
16890 /* confdefs.h. */
16891 _ACEOF
16892 cat confdefs.h >>conftest.$ac_ext
16893 cat >>conftest.$ac_ext <<_ACEOF
16894 /* end confdefs.h. */
16895 $ac_includes_default
16896 typedef long long ac__type_new_;
16898 main ()
16900 if ((ac__type_new_ *) 0)
16901 return 0;
16902 if (sizeof (ac__type_new_))
16903 return 0;
16905 return 0;
16907 _ACEOF
16908 rm -f conftest.$ac_objext
16909 if { (ac_try="$ac_compile"
16910 case "(($ac_try" in
16911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16912 *) ac_try_echo=$ac_try;;
16913 esac
16914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16915 (eval "$ac_compile") 2>conftest.er1
16916 ac_status=$?
16917 grep -v '^ *+' conftest.er1 >conftest.err
16918 rm -f conftest.er1
16919 cat conftest.err >&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); } && {
16922 test -z "$ac_c_werror_flag" ||
16923 test ! -s conftest.err
16924 } && test -s conftest.$ac_objext; then
16925 ac_cv_type_long_long=yes
16926 else
16927 echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.$ac_ext >&5
16930 ac_cv_type_long_long=no
16933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16935 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16936 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16937 if test $ac_cv_type_long_long = yes; then
16939 cat >>confdefs.h <<_ACEOF
16940 #define HAVE_LONG_LONG 1
16941 _ACEOF
16945 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16946 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16947 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16948 echo $ECHO_N "(cached) $ECHO_C" >&6
16949 else
16950 cat >conftest.$ac_ext <<_ACEOF
16951 /* confdefs.h. */
16952 _ACEOF
16953 cat confdefs.h >>conftest.$ac_ext
16954 cat >>conftest.$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16956 $ac_includes_default
16957 typedef fsblkcnt_t ac__type_new_;
16959 main ()
16961 if ((ac__type_new_ *) 0)
16962 return 0;
16963 if (sizeof (ac__type_new_))
16964 return 0;
16966 return 0;
16968 _ACEOF
16969 rm -f conftest.$ac_objext
16970 if { (ac_try="$ac_compile"
16971 case "(($ac_try" in
16972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16973 *) ac_try_echo=$ac_try;;
16974 esac
16975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16976 (eval "$ac_compile") 2>conftest.er1
16977 ac_status=$?
16978 grep -v '^ *+' conftest.er1 >conftest.err
16979 rm -f conftest.er1
16980 cat conftest.err >&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } && {
16983 test -z "$ac_c_werror_flag" ||
16984 test ! -s conftest.err
16985 } && test -s conftest.$ac_objext; then
16986 ac_cv_type_fsblkcnt_t=yes
16987 else
16988 echo "$as_me: failed program was:" >&5
16989 sed 's/^/| /' conftest.$ac_ext >&5
16991 ac_cv_type_fsblkcnt_t=no
16994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16996 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16997 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
16998 if test $ac_cv_type_fsblkcnt_t = yes; then
17000 cat >>confdefs.h <<_ACEOF
17001 #define HAVE_FSBLKCNT_T 1
17002 _ACEOF
17006 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17007 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17008 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17009 echo $ECHO_N "(cached) $ECHO_C" >&6
17010 else
17011 cat >conftest.$ac_ext <<_ACEOF
17012 /* confdefs.h. */
17013 _ACEOF
17014 cat confdefs.h >>conftest.$ac_ext
17015 cat >>conftest.$ac_ext <<_ACEOF
17016 /* end confdefs.h. */
17017 $ac_includes_default
17018 typedef fsfilcnt_t ac__type_new_;
17020 main ()
17022 if ((ac__type_new_ *) 0)
17023 return 0;
17024 if (sizeof (ac__type_new_))
17025 return 0;
17027 return 0;
17029 _ACEOF
17030 rm -f conftest.$ac_objext
17031 if { (ac_try="$ac_compile"
17032 case "(($ac_try" in
17033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17034 *) ac_try_echo=$ac_try;;
17035 esac
17036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17037 (eval "$ac_compile") 2>conftest.er1
17038 ac_status=$?
17039 grep -v '^ *+' conftest.er1 >conftest.err
17040 rm -f conftest.er1
17041 cat conftest.err >&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); } && {
17044 test -z "$ac_c_werror_flag" ||
17045 test ! -s conftest.err
17046 } && test -s conftest.$ac_objext; then
17047 ac_cv_type_fsfilcnt_t=yes
17048 else
17049 echo "$as_me: failed program was:" >&5
17050 sed 's/^/| /' conftest.$ac_ext >&5
17052 ac_cv_type_fsfilcnt_t=no
17055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17057 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17058 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17059 if test $ac_cv_type_fsfilcnt_t = yes; then
17061 cat >>confdefs.h <<_ACEOF
17062 #define HAVE_FSFILCNT_T 1
17063 _ACEOF
17068 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17069 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17070 if test "${ac_cv_type_sigset_t+set}" = set; then
17071 echo $ECHO_N "(cached) $ECHO_C" >&6
17072 else
17073 cat >conftest.$ac_ext <<_ACEOF
17074 /* confdefs.h. */
17075 _ACEOF
17076 cat confdefs.h >>conftest.$ac_ext
17077 cat >>conftest.$ac_ext <<_ACEOF
17078 /* end confdefs.h. */
17079 #include <signal.h>
17081 typedef sigset_t ac__type_new_;
17083 main ()
17085 if ((ac__type_new_ *) 0)
17086 return 0;
17087 if (sizeof (ac__type_new_))
17088 return 0;
17090 return 0;
17092 _ACEOF
17093 rm -f conftest.$ac_objext
17094 if { (ac_try="$ac_compile"
17095 case "(($ac_try" in
17096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17097 *) ac_try_echo=$ac_try;;
17098 esac
17099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17100 (eval "$ac_compile") 2>conftest.er1
17101 ac_status=$?
17102 grep -v '^ *+' conftest.er1 >conftest.err
17103 rm -f conftest.er1
17104 cat conftest.err >&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); } && {
17107 test -z "$ac_c_werror_flag" ||
17108 test ! -s conftest.err
17109 } && test -s conftest.$ac_objext; then
17110 ac_cv_type_sigset_t=yes
17111 else
17112 echo "$as_me: failed program was:" >&5
17113 sed 's/^/| /' conftest.$ac_ext >&5
17115 ac_cv_type_sigset_t=no
17118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17120 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17121 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17122 if test $ac_cv_type_sigset_t = yes; then
17124 cat >>confdefs.h <<_ACEOF
17125 #define HAVE_SIGSET_T 1
17126 _ACEOF
17131 { echo "$as_me:$LINENO: checking for request_sense" >&5
17132 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17133 if test "${ac_cv_type_request_sense+set}" = set; then
17134 echo $ECHO_N "(cached) $ECHO_C" >&6
17135 else
17136 cat >conftest.$ac_ext <<_ACEOF
17137 /* confdefs.h. */
17138 _ACEOF
17139 cat confdefs.h >>conftest.$ac_ext
17140 cat >>conftest.$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17142 #include <linux/cdrom.h>
17144 typedef request_sense ac__type_new_;
17146 main ()
17148 if ((ac__type_new_ *) 0)
17149 return 0;
17150 if (sizeof (ac__type_new_))
17151 return 0;
17153 return 0;
17155 _ACEOF
17156 rm -f conftest.$ac_objext
17157 if { (ac_try="$ac_compile"
17158 case "(($ac_try" in
17159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17160 *) ac_try_echo=$ac_try;;
17161 esac
17162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17163 (eval "$ac_compile") 2>conftest.er1
17164 ac_status=$?
17165 grep -v '^ *+' conftest.er1 >conftest.err
17166 rm -f conftest.er1
17167 cat conftest.err >&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } && {
17170 test -z "$ac_c_werror_flag" ||
17171 test ! -s conftest.err
17172 } && test -s conftest.$ac_objext; then
17173 ac_cv_type_request_sense=yes
17174 else
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.$ac_ext >&5
17178 ac_cv_type_request_sense=no
17181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17183 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17184 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17185 if test $ac_cv_type_request_sense = yes; then
17187 cat >>confdefs.h <<_ACEOF
17188 #define HAVE_REQUEST_SENSE 1
17189 _ACEOF
17195 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17196 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17197 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17198 echo $ECHO_N "(cached) $ECHO_C" >&6
17199 else
17200 cat >conftest.$ac_ext <<_ACEOF
17201 /* confdefs.h. */
17202 _ACEOF
17203 cat confdefs.h >>conftest.$ac_ext
17204 cat >>conftest.$ac_ext <<_ACEOF
17205 /* end confdefs.h. */
17206 #ifdef HAVE_LINUX_INPUT_H
17207 #include <linux/input.h>
17208 #endif
17211 main ()
17213 static struct ff_effect ac_aggr;
17214 if (ac_aggr.direction)
17215 return 0;
17217 return 0;
17219 _ACEOF
17220 rm -f conftest.$ac_objext
17221 if { (ac_try="$ac_compile"
17222 case "(($ac_try" in
17223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17224 *) ac_try_echo=$ac_try;;
17225 esac
17226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17227 (eval "$ac_compile") 2>conftest.er1
17228 ac_status=$?
17229 grep -v '^ *+' conftest.er1 >conftest.err
17230 rm -f conftest.er1
17231 cat conftest.err >&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); } && {
17234 test -z "$ac_c_werror_flag" ||
17235 test ! -s conftest.err
17236 } && test -s conftest.$ac_objext; then
17237 ac_cv_member_struct_ff_effect_direction=yes
17238 else
17239 echo "$as_me: failed program was:" >&5
17240 sed 's/^/| /' conftest.$ac_ext >&5
17242 cat >conftest.$ac_ext <<_ACEOF
17243 /* confdefs.h. */
17244 _ACEOF
17245 cat confdefs.h >>conftest.$ac_ext
17246 cat >>conftest.$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17248 #ifdef HAVE_LINUX_INPUT_H
17249 #include <linux/input.h>
17250 #endif
17253 main ()
17255 static struct ff_effect ac_aggr;
17256 if (sizeof ac_aggr.direction)
17257 return 0;
17259 return 0;
17261 _ACEOF
17262 rm -f conftest.$ac_objext
17263 if { (ac_try="$ac_compile"
17264 case "(($ac_try" in
17265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17266 *) ac_try_echo=$ac_try;;
17267 esac
17268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17269 (eval "$ac_compile") 2>conftest.er1
17270 ac_status=$?
17271 grep -v '^ *+' conftest.er1 >conftest.err
17272 rm -f conftest.er1
17273 cat conftest.err >&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } && {
17276 test -z "$ac_c_werror_flag" ||
17277 test ! -s conftest.err
17278 } && test -s conftest.$ac_objext; then
17279 ac_cv_member_struct_ff_effect_direction=yes
17280 else
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.$ac_ext >&5
17284 ac_cv_member_struct_ff_effect_direction=no
17287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17292 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17293 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17294 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17296 cat >>confdefs.h <<_ACEOF
17297 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17298 _ACEOF
17304 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17305 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17306 if test "${wine_cv_have_sigaddset+set}" = set; then
17307 echo $ECHO_N "(cached) $ECHO_C" >&6
17308 else
17309 cat >conftest.$ac_ext <<_ACEOF
17310 /* confdefs.h. */
17311 _ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17315 #include <signal.h>
17317 main ()
17319 sigset_t set; sigaddset(&set,SIGTERM);
17321 return 0;
17323 _ACEOF
17324 rm -f conftest.$ac_objext conftest$ac_exeext
17325 if { (ac_try="$ac_link"
17326 case "(($ac_try" in
17327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17328 *) ac_try_echo=$ac_try;;
17329 esac
17330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17331 (eval "$ac_link") 2>conftest.er1
17332 ac_status=$?
17333 grep -v '^ *+' conftest.er1 >conftest.err
17334 rm -f conftest.er1
17335 cat conftest.err >&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); } && {
17338 test -z "$ac_c_werror_flag" ||
17339 test ! -s conftest.err
17340 } && test -s conftest$ac_exeext &&
17341 $as_test_x conftest$ac_exeext; then
17342 wine_cv_have_sigaddset=yes
17343 else
17344 echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.$ac_ext >&5
17347 wine_cv_have_sigaddset=no
17350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17351 conftest$ac_exeext conftest.$ac_ext
17353 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17354 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17355 if test "$wine_cv_have_sigaddset" = "yes"
17356 then
17358 cat >>confdefs.h <<\_ACEOF
17359 #define HAVE_SIGADDSET 1
17360 _ACEOF
17365 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17366 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17367 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17368 echo $ECHO_N "(cached) $ECHO_C" >&6
17369 else
17370 cat >conftest.$ac_ext <<_ACEOF
17371 /* confdefs.h. */
17372 _ACEOF
17373 cat confdefs.h >>conftest.$ac_ext
17374 cat >>conftest.$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17376 #include <netdb.h>
17378 main ()
17381 char *name=NULL;
17382 struct hostent he;
17383 struct hostent *result;
17384 char *buf=NULL;
17385 int bufsize=0;
17386 int res,errnr;
17387 char *addr=NULL;
17388 int addrlen=0;
17389 int addrtype=0;
17390 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17391 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17394 return 0;
17396 _ACEOF
17397 rm -f conftest.$ac_objext conftest$ac_exeext
17398 if { (ac_try="$ac_link"
17399 case "(($ac_try" in
17400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17401 *) ac_try_echo=$ac_try;;
17402 esac
17403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17404 (eval "$ac_link") 2>conftest.er1
17405 ac_status=$?
17406 grep -v '^ *+' conftest.er1 >conftest.err
17407 rm -f conftest.er1
17408 cat conftest.err >&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); } && {
17411 test -z "$ac_c_werror_flag" ||
17412 test ! -s conftest.err
17413 } && test -s conftest$ac_exeext &&
17414 $as_test_x conftest$ac_exeext; then
17415 wine_cv_linux_gethostbyname_r_6=yes
17416 else
17417 echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.$ac_ext >&5
17420 wine_cv_linux_gethostbyname_r_6=no
17424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17425 conftest$ac_exeext conftest.$ac_ext
17428 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17429 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17430 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17431 then
17433 cat >>confdefs.h <<\_ACEOF
17434 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17435 _ACEOF
17439 if test "$ac_cv_header_linux_joystick_h" = "yes"
17440 then
17441 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17442 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17443 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17444 echo $ECHO_N "(cached) $ECHO_C" >&6
17445 else
17446 cat >conftest.$ac_ext <<_ACEOF
17447 /* confdefs.h. */
17448 _ACEOF
17449 cat confdefs.h >>conftest.$ac_ext
17450 cat >>conftest.$ac_ext <<_ACEOF
17451 /* end confdefs.h. */
17453 #include <sys/ioctl.h>
17454 #include <sys/types.h>
17455 #include <linux/joystick.h>
17457 struct js_event blub;
17458 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17459 #error "no 2.2 header"
17460 #endif
17463 main ()
17465 /*empty*/
17467 return 0;
17469 _ACEOF
17470 rm -f conftest.$ac_objext
17471 if { (ac_try="$ac_compile"
17472 case "(($ac_try" in
17473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17474 *) ac_try_echo=$ac_try;;
17475 esac
17476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17477 (eval "$ac_compile") 2>conftest.er1
17478 ac_status=$?
17479 grep -v '^ *+' conftest.er1 >conftest.err
17480 rm -f conftest.er1
17481 cat conftest.err >&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); } && {
17484 test -z "$ac_c_werror_flag" ||
17485 test ! -s conftest.err
17486 } && test -s conftest.$ac_objext; then
17487 wine_cv_linux_joystick_22_api=yes
17488 else
17489 echo "$as_me: failed program was:" >&5
17490 sed 's/^/| /' conftest.$ac_ext >&5
17492 wine_cv_linux_joystick_22_api=no
17495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17498 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17499 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17500 if test "$wine_cv_linux_joystick_22_api" = "yes"
17501 then
17503 cat >>confdefs.h <<\_ACEOF
17504 #define HAVE_LINUX_22_JOYSTICK_API 1
17505 _ACEOF
17511 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17512 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17513 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17514 echo $ECHO_N "(cached) $ECHO_C" >&6
17515 else
17516 cat >conftest.$ac_ext <<_ACEOF
17517 /* confdefs.h. */
17518 _ACEOF
17519 cat confdefs.h >>conftest.$ac_ext
17520 cat >>conftest.$ac_ext <<_ACEOF
17521 /* end confdefs.h. */
17522 #include <sys/types.h>
17523 #ifdef HAVE_SYS_PARAM_H
17524 # include <sys/param.h>
17525 #endif
17526 #ifdef HAVE_SYS_MOUNT_H
17527 # include <sys/mount.h>
17528 #endif
17529 #ifdef HAVE_SYS_VFS_H
17530 # include <sys/vfs.h>
17531 #endif
17532 #ifdef HAVE_SYS_STATFS_H
17533 # include <sys/statfs.h>
17534 #endif
17537 main ()
17539 static struct statfs ac_aggr;
17540 if (ac_aggr.f_bfree)
17541 return 0;
17543 return 0;
17545 _ACEOF
17546 rm -f conftest.$ac_objext
17547 if { (ac_try="$ac_compile"
17548 case "(($ac_try" in
17549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17550 *) ac_try_echo=$ac_try;;
17551 esac
17552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17553 (eval "$ac_compile") 2>conftest.er1
17554 ac_status=$?
17555 grep -v '^ *+' conftest.er1 >conftest.err
17556 rm -f conftest.er1
17557 cat conftest.err >&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } && {
17560 test -z "$ac_c_werror_flag" ||
17561 test ! -s conftest.err
17562 } && test -s conftest.$ac_objext; then
17563 ac_cv_member_struct_statfs_f_bfree=yes
17564 else
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.$ac_ext >&5
17568 cat >conftest.$ac_ext <<_ACEOF
17569 /* confdefs.h. */
17570 _ACEOF
17571 cat confdefs.h >>conftest.$ac_ext
17572 cat >>conftest.$ac_ext <<_ACEOF
17573 /* end confdefs.h. */
17574 #include <sys/types.h>
17575 #ifdef HAVE_SYS_PARAM_H
17576 # include <sys/param.h>
17577 #endif
17578 #ifdef HAVE_SYS_MOUNT_H
17579 # include <sys/mount.h>
17580 #endif
17581 #ifdef HAVE_SYS_VFS_H
17582 # include <sys/vfs.h>
17583 #endif
17584 #ifdef HAVE_SYS_STATFS_H
17585 # include <sys/statfs.h>
17586 #endif
17589 main ()
17591 static struct statfs ac_aggr;
17592 if (sizeof ac_aggr.f_bfree)
17593 return 0;
17595 return 0;
17597 _ACEOF
17598 rm -f conftest.$ac_objext
17599 if { (ac_try="$ac_compile"
17600 case "(($ac_try" in
17601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17602 *) ac_try_echo=$ac_try;;
17603 esac
17604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17605 (eval "$ac_compile") 2>conftest.er1
17606 ac_status=$?
17607 grep -v '^ *+' conftest.er1 >conftest.err
17608 rm -f conftest.er1
17609 cat conftest.err >&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); } && {
17612 test -z "$ac_c_werror_flag" ||
17613 test ! -s conftest.err
17614 } && test -s conftest.$ac_objext; then
17615 ac_cv_member_struct_statfs_f_bfree=yes
17616 else
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17620 ac_cv_member_struct_statfs_f_bfree=no
17623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17628 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17629 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17630 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17632 cat >>confdefs.h <<_ACEOF
17633 #define HAVE_STRUCT_STATFS_F_BFREE 1
17634 _ACEOF
17638 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17639 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17640 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 else
17643 cat >conftest.$ac_ext <<_ACEOF
17644 /* confdefs.h. */
17645 _ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649 #include <sys/types.h>
17650 #ifdef HAVE_SYS_PARAM_H
17651 # include <sys/param.h>
17652 #endif
17653 #ifdef HAVE_SYS_MOUNT_H
17654 # include <sys/mount.h>
17655 #endif
17656 #ifdef HAVE_SYS_VFS_H
17657 # include <sys/vfs.h>
17658 #endif
17659 #ifdef HAVE_SYS_STATFS_H
17660 # include <sys/statfs.h>
17661 #endif
17664 main ()
17666 static struct statfs ac_aggr;
17667 if (ac_aggr.f_bavail)
17668 return 0;
17670 return 0;
17672 _ACEOF
17673 rm -f conftest.$ac_objext
17674 if { (ac_try="$ac_compile"
17675 case "(($ac_try" in
17676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17677 *) ac_try_echo=$ac_try;;
17678 esac
17679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17680 (eval "$ac_compile") 2>conftest.er1
17681 ac_status=$?
17682 grep -v '^ *+' conftest.er1 >conftest.err
17683 rm -f conftest.er1
17684 cat conftest.err >&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); } && {
17687 test -z "$ac_c_werror_flag" ||
17688 test ! -s conftest.err
17689 } && test -s conftest.$ac_objext; then
17690 ac_cv_member_struct_statfs_f_bavail=yes
17691 else
17692 echo "$as_me: failed program was:" >&5
17693 sed 's/^/| /' conftest.$ac_ext >&5
17695 cat >conftest.$ac_ext <<_ACEOF
17696 /* confdefs.h. */
17697 _ACEOF
17698 cat confdefs.h >>conftest.$ac_ext
17699 cat >>conftest.$ac_ext <<_ACEOF
17700 /* end confdefs.h. */
17701 #include <sys/types.h>
17702 #ifdef HAVE_SYS_PARAM_H
17703 # include <sys/param.h>
17704 #endif
17705 #ifdef HAVE_SYS_MOUNT_H
17706 # include <sys/mount.h>
17707 #endif
17708 #ifdef HAVE_SYS_VFS_H
17709 # include <sys/vfs.h>
17710 #endif
17711 #ifdef HAVE_SYS_STATFS_H
17712 # include <sys/statfs.h>
17713 #endif
17716 main ()
17718 static struct statfs ac_aggr;
17719 if (sizeof ac_aggr.f_bavail)
17720 return 0;
17722 return 0;
17724 _ACEOF
17725 rm -f conftest.$ac_objext
17726 if { (ac_try="$ac_compile"
17727 case "(($ac_try" in
17728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17729 *) ac_try_echo=$ac_try;;
17730 esac
17731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17732 (eval "$ac_compile") 2>conftest.er1
17733 ac_status=$?
17734 grep -v '^ *+' conftest.er1 >conftest.err
17735 rm -f conftest.er1
17736 cat conftest.err >&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); } && {
17739 test -z "$ac_c_werror_flag" ||
17740 test ! -s conftest.err
17741 } && test -s conftest.$ac_objext; then
17742 ac_cv_member_struct_statfs_f_bavail=yes
17743 else
17744 echo "$as_me: failed program was:" >&5
17745 sed 's/^/| /' conftest.$ac_ext >&5
17747 ac_cv_member_struct_statfs_f_bavail=no
17750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17756 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17757 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17759 cat >>confdefs.h <<_ACEOF
17760 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17761 _ACEOF
17765 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17766 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17767 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17768 echo $ECHO_N "(cached) $ECHO_C" >&6
17769 else
17770 cat >conftest.$ac_ext <<_ACEOF
17771 /* confdefs.h. */
17772 _ACEOF
17773 cat confdefs.h >>conftest.$ac_ext
17774 cat >>conftest.$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17776 #include <sys/types.h>
17777 #ifdef HAVE_SYS_PARAM_H
17778 # include <sys/param.h>
17779 #endif
17780 #ifdef HAVE_SYS_MOUNT_H
17781 # include <sys/mount.h>
17782 #endif
17783 #ifdef HAVE_SYS_VFS_H
17784 # include <sys/vfs.h>
17785 #endif
17786 #ifdef HAVE_SYS_STATFS_H
17787 # include <sys/statfs.h>
17788 #endif
17791 main ()
17793 static struct statfs ac_aggr;
17794 if (ac_aggr.f_frsize)
17795 return 0;
17797 return 0;
17799 _ACEOF
17800 rm -f conftest.$ac_objext
17801 if { (ac_try="$ac_compile"
17802 case "(($ac_try" in
17803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17804 *) ac_try_echo=$ac_try;;
17805 esac
17806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17807 (eval "$ac_compile") 2>conftest.er1
17808 ac_status=$?
17809 grep -v '^ *+' conftest.er1 >conftest.err
17810 rm -f conftest.er1
17811 cat conftest.err >&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); } && {
17814 test -z "$ac_c_werror_flag" ||
17815 test ! -s conftest.err
17816 } && test -s conftest.$ac_objext; then
17817 ac_cv_member_struct_statfs_f_frsize=yes
17818 else
17819 echo "$as_me: failed program was:" >&5
17820 sed 's/^/| /' conftest.$ac_ext >&5
17822 cat >conftest.$ac_ext <<_ACEOF
17823 /* confdefs.h. */
17824 _ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 #include <sys/types.h>
17829 #ifdef HAVE_SYS_PARAM_H
17830 # include <sys/param.h>
17831 #endif
17832 #ifdef HAVE_SYS_MOUNT_H
17833 # include <sys/mount.h>
17834 #endif
17835 #ifdef HAVE_SYS_VFS_H
17836 # include <sys/vfs.h>
17837 #endif
17838 #ifdef HAVE_SYS_STATFS_H
17839 # include <sys/statfs.h>
17840 #endif
17843 main ()
17845 static struct statfs ac_aggr;
17846 if (sizeof ac_aggr.f_frsize)
17847 return 0;
17849 return 0;
17851 _ACEOF
17852 rm -f conftest.$ac_objext
17853 if { (ac_try="$ac_compile"
17854 case "(($ac_try" in
17855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17856 *) ac_try_echo=$ac_try;;
17857 esac
17858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17859 (eval "$ac_compile") 2>conftest.er1
17860 ac_status=$?
17861 grep -v '^ *+' conftest.er1 >conftest.err
17862 rm -f conftest.er1
17863 cat conftest.err >&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } && {
17866 test -z "$ac_c_werror_flag" ||
17867 test ! -s conftest.err
17868 } && test -s conftest.$ac_objext; then
17869 ac_cv_member_struct_statfs_f_frsize=yes
17870 else
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.$ac_ext >&5
17874 ac_cv_member_struct_statfs_f_frsize=no
17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17882 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17883 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17884 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17886 cat >>confdefs.h <<_ACEOF
17887 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17888 _ACEOF
17892 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17893 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17894 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17895 echo $ECHO_N "(cached) $ECHO_C" >&6
17896 else
17897 cat >conftest.$ac_ext <<_ACEOF
17898 /* confdefs.h. */
17899 _ACEOF
17900 cat confdefs.h >>conftest.$ac_ext
17901 cat >>conftest.$ac_ext <<_ACEOF
17902 /* end confdefs.h. */
17903 #include <sys/types.h>
17904 #ifdef HAVE_SYS_PARAM_H
17905 # include <sys/param.h>
17906 #endif
17907 #ifdef HAVE_SYS_MOUNT_H
17908 # include <sys/mount.h>
17909 #endif
17910 #ifdef HAVE_SYS_VFS_H
17911 # include <sys/vfs.h>
17912 #endif
17913 #ifdef HAVE_SYS_STATFS_H
17914 # include <sys/statfs.h>
17915 #endif
17918 main ()
17920 static struct statfs ac_aggr;
17921 if (ac_aggr.f_ffree)
17922 return 0;
17924 return 0;
17926 _ACEOF
17927 rm -f conftest.$ac_objext
17928 if { (ac_try="$ac_compile"
17929 case "(($ac_try" in
17930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17931 *) ac_try_echo=$ac_try;;
17932 esac
17933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17934 (eval "$ac_compile") 2>conftest.er1
17935 ac_status=$?
17936 grep -v '^ *+' conftest.er1 >conftest.err
17937 rm -f conftest.er1
17938 cat conftest.err >&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); } && {
17941 test -z "$ac_c_werror_flag" ||
17942 test ! -s conftest.err
17943 } && test -s conftest.$ac_objext; then
17944 ac_cv_member_struct_statfs_f_ffree=yes
17945 else
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17949 cat >conftest.$ac_ext <<_ACEOF
17950 /* confdefs.h. */
17951 _ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955 #include <sys/types.h>
17956 #ifdef HAVE_SYS_PARAM_H
17957 # include <sys/param.h>
17958 #endif
17959 #ifdef HAVE_SYS_MOUNT_H
17960 # include <sys/mount.h>
17961 #endif
17962 #ifdef HAVE_SYS_VFS_H
17963 # include <sys/vfs.h>
17964 #endif
17965 #ifdef HAVE_SYS_STATFS_H
17966 # include <sys/statfs.h>
17967 #endif
17970 main ()
17972 static struct statfs ac_aggr;
17973 if (sizeof ac_aggr.f_ffree)
17974 return 0;
17976 return 0;
17978 _ACEOF
17979 rm -f conftest.$ac_objext
17980 if { (ac_try="$ac_compile"
17981 case "(($ac_try" in
17982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17983 *) ac_try_echo=$ac_try;;
17984 esac
17985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17986 (eval "$ac_compile") 2>conftest.er1
17987 ac_status=$?
17988 grep -v '^ *+' conftest.er1 >conftest.err
17989 rm -f conftest.er1
17990 cat conftest.err >&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); } && {
17993 test -z "$ac_c_werror_flag" ||
17994 test ! -s conftest.err
17995 } && test -s conftest.$ac_objext; then
17996 ac_cv_member_struct_statfs_f_ffree=yes
17997 else
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18001 ac_cv_member_struct_statfs_f_ffree=no
18004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18009 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18010 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18011 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18013 cat >>confdefs.h <<_ACEOF
18014 #define HAVE_STRUCT_STATFS_F_FFREE 1
18015 _ACEOF
18019 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18020 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18021 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18022 echo $ECHO_N "(cached) $ECHO_C" >&6
18023 else
18024 cat >conftest.$ac_ext <<_ACEOF
18025 /* confdefs.h. */
18026 _ACEOF
18027 cat confdefs.h >>conftest.$ac_ext
18028 cat >>conftest.$ac_ext <<_ACEOF
18029 /* end confdefs.h. */
18030 #include <sys/types.h>
18031 #ifdef HAVE_SYS_PARAM_H
18032 # include <sys/param.h>
18033 #endif
18034 #ifdef HAVE_SYS_MOUNT_H
18035 # include <sys/mount.h>
18036 #endif
18037 #ifdef HAVE_SYS_VFS_H
18038 # include <sys/vfs.h>
18039 #endif
18040 #ifdef HAVE_SYS_STATFS_H
18041 # include <sys/statfs.h>
18042 #endif
18045 main ()
18047 static struct statfs ac_aggr;
18048 if (ac_aggr.f_favail)
18049 return 0;
18051 return 0;
18053 _ACEOF
18054 rm -f conftest.$ac_objext
18055 if { (ac_try="$ac_compile"
18056 case "(($ac_try" in
18057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18058 *) ac_try_echo=$ac_try;;
18059 esac
18060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18061 (eval "$ac_compile") 2>conftest.er1
18062 ac_status=$?
18063 grep -v '^ *+' conftest.er1 >conftest.err
18064 rm -f conftest.er1
18065 cat conftest.err >&5
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); } && {
18068 test -z "$ac_c_werror_flag" ||
18069 test ! -s conftest.err
18070 } && test -s conftest.$ac_objext; then
18071 ac_cv_member_struct_statfs_f_favail=yes
18072 else
18073 echo "$as_me: failed program was:" >&5
18074 sed 's/^/| /' conftest.$ac_ext >&5
18076 cat >conftest.$ac_ext <<_ACEOF
18077 /* confdefs.h. */
18078 _ACEOF
18079 cat confdefs.h >>conftest.$ac_ext
18080 cat >>conftest.$ac_ext <<_ACEOF
18081 /* end confdefs.h. */
18082 #include <sys/types.h>
18083 #ifdef HAVE_SYS_PARAM_H
18084 # include <sys/param.h>
18085 #endif
18086 #ifdef HAVE_SYS_MOUNT_H
18087 # include <sys/mount.h>
18088 #endif
18089 #ifdef HAVE_SYS_VFS_H
18090 # include <sys/vfs.h>
18091 #endif
18092 #ifdef HAVE_SYS_STATFS_H
18093 # include <sys/statfs.h>
18094 #endif
18097 main ()
18099 static struct statfs ac_aggr;
18100 if (sizeof ac_aggr.f_favail)
18101 return 0;
18103 return 0;
18105 _ACEOF
18106 rm -f conftest.$ac_objext
18107 if { (ac_try="$ac_compile"
18108 case "(($ac_try" in
18109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18110 *) ac_try_echo=$ac_try;;
18111 esac
18112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18113 (eval "$ac_compile") 2>conftest.er1
18114 ac_status=$?
18115 grep -v '^ *+' conftest.er1 >conftest.err
18116 rm -f conftest.er1
18117 cat conftest.err >&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); } && {
18120 test -z "$ac_c_werror_flag" ||
18121 test ! -s conftest.err
18122 } && test -s conftest.$ac_objext; then
18123 ac_cv_member_struct_statfs_f_favail=yes
18124 else
18125 echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.$ac_ext >&5
18128 ac_cv_member_struct_statfs_f_favail=no
18131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18137 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18138 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18140 cat >>confdefs.h <<_ACEOF
18141 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18142 _ACEOF
18146 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18147 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18148 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18149 echo $ECHO_N "(cached) $ECHO_C" >&6
18150 else
18151 cat >conftest.$ac_ext <<_ACEOF
18152 /* confdefs.h. */
18153 _ACEOF
18154 cat confdefs.h >>conftest.$ac_ext
18155 cat >>conftest.$ac_ext <<_ACEOF
18156 /* end confdefs.h. */
18157 #include <sys/types.h>
18158 #ifdef HAVE_SYS_PARAM_H
18159 # include <sys/param.h>
18160 #endif
18161 #ifdef HAVE_SYS_MOUNT_H
18162 # include <sys/mount.h>
18163 #endif
18164 #ifdef HAVE_SYS_VFS_H
18165 # include <sys/vfs.h>
18166 #endif
18167 #ifdef HAVE_SYS_STATFS_H
18168 # include <sys/statfs.h>
18169 #endif
18172 main ()
18174 static struct statfs ac_aggr;
18175 if (ac_aggr.f_namelen)
18176 return 0;
18178 return 0;
18180 _ACEOF
18181 rm -f conftest.$ac_objext
18182 if { (ac_try="$ac_compile"
18183 case "(($ac_try" in
18184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18185 *) ac_try_echo=$ac_try;;
18186 esac
18187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18188 (eval "$ac_compile") 2>conftest.er1
18189 ac_status=$?
18190 grep -v '^ *+' conftest.er1 >conftest.err
18191 rm -f conftest.er1
18192 cat conftest.err >&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } && {
18195 test -z "$ac_c_werror_flag" ||
18196 test ! -s conftest.err
18197 } && test -s conftest.$ac_objext; then
18198 ac_cv_member_struct_statfs_f_namelen=yes
18199 else
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.$ac_ext >&5
18203 cat >conftest.$ac_ext <<_ACEOF
18204 /* confdefs.h. */
18205 _ACEOF
18206 cat confdefs.h >>conftest.$ac_ext
18207 cat >>conftest.$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18209 #include <sys/types.h>
18210 #ifdef HAVE_SYS_PARAM_H
18211 # include <sys/param.h>
18212 #endif
18213 #ifdef HAVE_SYS_MOUNT_H
18214 # include <sys/mount.h>
18215 #endif
18216 #ifdef HAVE_SYS_VFS_H
18217 # include <sys/vfs.h>
18218 #endif
18219 #ifdef HAVE_SYS_STATFS_H
18220 # include <sys/statfs.h>
18221 #endif
18224 main ()
18226 static struct statfs ac_aggr;
18227 if (sizeof ac_aggr.f_namelen)
18228 return 0;
18230 return 0;
18232 _ACEOF
18233 rm -f conftest.$ac_objext
18234 if { (ac_try="$ac_compile"
18235 case "(($ac_try" in
18236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18237 *) ac_try_echo=$ac_try;;
18238 esac
18239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18240 (eval "$ac_compile") 2>conftest.er1
18241 ac_status=$?
18242 grep -v '^ *+' conftest.er1 >conftest.err
18243 rm -f conftest.er1
18244 cat conftest.err >&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } && {
18247 test -z "$ac_c_werror_flag" ||
18248 test ! -s conftest.err
18249 } && test -s conftest.$ac_objext; then
18250 ac_cv_member_struct_statfs_f_namelen=yes
18251 else
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.$ac_ext >&5
18255 ac_cv_member_struct_statfs_f_namelen=no
18258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18263 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18264 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18265 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18267 cat >>confdefs.h <<_ACEOF
18268 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18269 _ACEOF
18275 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18276 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18277 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18278 echo $ECHO_N "(cached) $ECHO_C" >&6
18279 else
18280 cat >conftest.$ac_ext <<_ACEOF
18281 /* confdefs.h. */
18282 _ACEOF
18283 cat confdefs.h >>conftest.$ac_ext
18284 cat >>conftest.$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18286 #ifdef HAVE_SYS_STATVFS_H
18287 #include <sys/statvfs.h>
18288 #endif
18291 main ()
18293 static struct statvfs ac_aggr;
18294 if (ac_aggr.f_blocks)
18295 return 0;
18297 return 0;
18299 _ACEOF
18300 rm -f conftest.$ac_objext
18301 if { (ac_try="$ac_compile"
18302 case "(($ac_try" in
18303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18304 *) ac_try_echo=$ac_try;;
18305 esac
18306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18307 (eval "$ac_compile") 2>conftest.er1
18308 ac_status=$?
18309 grep -v '^ *+' conftest.er1 >conftest.err
18310 rm -f conftest.er1
18311 cat conftest.err >&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } && {
18314 test -z "$ac_c_werror_flag" ||
18315 test ! -s conftest.err
18316 } && test -s conftest.$ac_objext; then
18317 ac_cv_member_struct_statvfs_f_blocks=yes
18318 else
18319 echo "$as_me: failed program was:" >&5
18320 sed 's/^/| /' conftest.$ac_ext >&5
18322 cat >conftest.$ac_ext <<_ACEOF
18323 /* confdefs.h. */
18324 _ACEOF
18325 cat confdefs.h >>conftest.$ac_ext
18326 cat >>conftest.$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18328 #ifdef HAVE_SYS_STATVFS_H
18329 #include <sys/statvfs.h>
18330 #endif
18333 main ()
18335 static struct statvfs ac_aggr;
18336 if (sizeof ac_aggr.f_blocks)
18337 return 0;
18339 return 0;
18341 _ACEOF
18342 rm -f conftest.$ac_objext
18343 if { (ac_try="$ac_compile"
18344 case "(($ac_try" in
18345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18346 *) ac_try_echo=$ac_try;;
18347 esac
18348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18349 (eval "$ac_compile") 2>conftest.er1
18350 ac_status=$?
18351 grep -v '^ *+' conftest.er1 >conftest.err
18352 rm -f conftest.er1
18353 cat conftest.err >&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); } && {
18356 test -z "$ac_c_werror_flag" ||
18357 test ! -s conftest.err
18358 } && test -s conftest.$ac_objext; then
18359 ac_cv_member_struct_statvfs_f_blocks=yes
18360 else
18361 echo "$as_me: failed program was:" >&5
18362 sed 's/^/| /' conftest.$ac_ext >&5
18364 ac_cv_member_struct_statvfs_f_blocks=no
18367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18372 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18373 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18374 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18376 cat >>confdefs.h <<_ACEOF
18377 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18378 _ACEOF
18384 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18385 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18386 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18387 echo $ECHO_N "(cached) $ECHO_C" >&6
18388 else
18389 cat >conftest.$ac_ext <<_ACEOF
18390 /* confdefs.h. */
18391 _ACEOF
18392 cat confdefs.h >>conftest.$ac_ext
18393 cat >>conftest.$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18395 #include <sys/types.h>
18396 #ifdef HAVE_SYS_SOCKET_H
18397 # include <sys/socket.h>
18398 #endif
18399 #ifdef HAVE_SYS_UN_H
18400 # include <sys/un.h>
18401 #endif
18404 main ()
18406 static struct msghdr ac_aggr;
18407 if (ac_aggr.msg_accrights)
18408 return 0;
18410 return 0;
18412 _ACEOF
18413 rm -f conftest.$ac_objext
18414 if { (ac_try="$ac_compile"
18415 case "(($ac_try" in
18416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18417 *) ac_try_echo=$ac_try;;
18418 esac
18419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18420 (eval "$ac_compile") 2>conftest.er1
18421 ac_status=$?
18422 grep -v '^ *+' conftest.er1 >conftest.err
18423 rm -f conftest.er1
18424 cat conftest.err >&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); } && {
18427 test -z "$ac_c_werror_flag" ||
18428 test ! -s conftest.err
18429 } && test -s conftest.$ac_objext; then
18430 ac_cv_member_struct_msghdr_msg_accrights=yes
18431 else
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.$ac_ext >&5
18435 cat >conftest.$ac_ext <<_ACEOF
18436 /* confdefs.h. */
18437 _ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #include <sys/types.h>
18442 #ifdef HAVE_SYS_SOCKET_H
18443 # include <sys/socket.h>
18444 #endif
18445 #ifdef HAVE_SYS_UN_H
18446 # include <sys/un.h>
18447 #endif
18450 main ()
18452 static struct msghdr ac_aggr;
18453 if (sizeof ac_aggr.msg_accrights)
18454 return 0;
18456 return 0;
18458 _ACEOF
18459 rm -f conftest.$ac_objext
18460 if { (ac_try="$ac_compile"
18461 case "(($ac_try" in
18462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18463 *) ac_try_echo=$ac_try;;
18464 esac
18465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18466 (eval "$ac_compile") 2>conftest.er1
18467 ac_status=$?
18468 grep -v '^ *+' conftest.er1 >conftest.err
18469 rm -f conftest.er1
18470 cat conftest.err >&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); } && {
18473 test -z "$ac_c_werror_flag" ||
18474 test ! -s conftest.err
18475 } && test -s conftest.$ac_objext; then
18476 ac_cv_member_struct_msghdr_msg_accrights=yes
18477 else
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.$ac_ext >&5
18481 ac_cv_member_struct_msghdr_msg_accrights=no
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18489 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18490 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18491 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18493 cat >>confdefs.h <<_ACEOF
18494 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18495 _ACEOF
18499 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18500 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18501 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18502 echo $ECHO_N "(cached) $ECHO_C" >&6
18503 else
18504 cat >conftest.$ac_ext <<_ACEOF
18505 /* confdefs.h. */
18506 _ACEOF
18507 cat confdefs.h >>conftest.$ac_ext
18508 cat >>conftest.$ac_ext <<_ACEOF
18509 /* end confdefs.h. */
18510 #include <sys/types.h>
18511 #ifdef HAVE_SYS_SOCKET_H
18512 # include <sys/socket.h>
18513 #endif
18514 #ifdef HAVE_SYS_UN_H
18515 # include <sys/un.h>
18516 #endif
18519 main ()
18521 static struct sockaddr ac_aggr;
18522 if (ac_aggr.sa_len)
18523 return 0;
18525 return 0;
18527 _ACEOF
18528 rm -f conftest.$ac_objext
18529 if { (ac_try="$ac_compile"
18530 case "(($ac_try" in
18531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18532 *) ac_try_echo=$ac_try;;
18533 esac
18534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18535 (eval "$ac_compile") 2>conftest.er1
18536 ac_status=$?
18537 grep -v '^ *+' conftest.er1 >conftest.err
18538 rm -f conftest.er1
18539 cat conftest.err >&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } && {
18542 test -z "$ac_c_werror_flag" ||
18543 test ! -s conftest.err
18544 } && test -s conftest.$ac_objext; then
18545 ac_cv_member_struct_sockaddr_sa_len=yes
18546 else
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.$ac_ext >&5
18550 cat >conftest.$ac_ext <<_ACEOF
18551 /* confdefs.h. */
18552 _ACEOF
18553 cat confdefs.h >>conftest.$ac_ext
18554 cat >>conftest.$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 #include <sys/types.h>
18557 #ifdef HAVE_SYS_SOCKET_H
18558 # include <sys/socket.h>
18559 #endif
18560 #ifdef HAVE_SYS_UN_H
18561 # include <sys/un.h>
18562 #endif
18565 main ()
18567 static struct sockaddr ac_aggr;
18568 if (sizeof ac_aggr.sa_len)
18569 return 0;
18571 return 0;
18573 _ACEOF
18574 rm -f conftest.$ac_objext
18575 if { (ac_try="$ac_compile"
18576 case "(($ac_try" in
18577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18578 *) ac_try_echo=$ac_try;;
18579 esac
18580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18581 (eval "$ac_compile") 2>conftest.er1
18582 ac_status=$?
18583 grep -v '^ *+' conftest.er1 >conftest.err
18584 rm -f conftest.er1
18585 cat conftest.err >&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); } && {
18588 test -z "$ac_c_werror_flag" ||
18589 test ! -s conftest.err
18590 } && test -s conftest.$ac_objext; then
18591 ac_cv_member_struct_sockaddr_sa_len=yes
18592 else
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18596 ac_cv_member_struct_sockaddr_sa_len=no
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18604 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18605 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18606 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18608 cat >>confdefs.h <<_ACEOF
18609 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18610 _ACEOF
18614 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18615 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18616 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18617 echo $ECHO_N "(cached) $ECHO_C" >&6
18618 else
18619 cat >conftest.$ac_ext <<_ACEOF
18620 /* confdefs.h. */
18621 _ACEOF
18622 cat confdefs.h >>conftest.$ac_ext
18623 cat >>conftest.$ac_ext <<_ACEOF
18624 /* end confdefs.h. */
18625 #include <sys/types.h>
18626 #ifdef HAVE_SYS_SOCKET_H
18627 # include <sys/socket.h>
18628 #endif
18629 #ifdef HAVE_SYS_UN_H
18630 # include <sys/un.h>
18631 #endif
18634 main ()
18636 static struct sockaddr_un ac_aggr;
18637 if (ac_aggr.sun_len)
18638 return 0;
18640 return 0;
18642 _ACEOF
18643 rm -f conftest.$ac_objext
18644 if { (ac_try="$ac_compile"
18645 case "(($ac_try" in
18646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18647 *) ac_try_echo=$ac_try;;
18648 esac
18649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18650 (eval "$ac_compile") 2>conftest.er1
18651 ac_status=$?
18652 grep -v '^ *+' conftest.er1 >conftest.err
18653 rm -f conftest.er1
18654 cat conftest.err >&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); } && {
18657 test -z "$ac_c_werror_flag" ||
18658 test ! -s conftest.err
18659 } && test -s conftest.$ac_objext; then
18660 ac_cv_member_struct_sockaddr_un_sun_len=yes
18661 else
18662 echo "$as_me: failed program was:" >&5
18663 sed 's/^/| /' conftest.$ac_ext >&5
18665 cat >conftest.$ac_ext <<_ACEOF
18666 /* confdefs.h. */
18667 _ACEOF
18668 cat confdefs.h >>conftest.$ac_ext
18669 cat >>conftest.$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18671 #include <sys/types.h>
18672 #ifdef HAVE_SYS_SOCKET_H
18673 # include <sys/socket.h>
18674 #endif
18675 #ifdef HAVE_SYS_UN_H
18676 # include <sys/un.h>
18677 #endif
18680 main ()
18682 static struct sockaddr_un ac_aggr;
18683 if (sizeof ac_aggr.sun_len)
18684 return 0;
18686 return 0;
18688 _ACEOF
18689 rm -f conftest.$ac_objext
18690 if { (ac_try="$ac_compile"
18691 case "(($ac_try" in
18692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18693 *) ac_try_echo=$ac_try;;
18694 esac
18695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18696 (eval "$ac_compile") 2>conftest.er1
18697 ac_status=$?
18698 grep -v '^ *+' conftest.er1 >conftest.err
18699 rm -f conftest.er1
18700 cat conftest.err >&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } && {
18703 test -z "$ac_c_werror_flag" ||
18704 test ! -s conftest.err
18705 } && test -s conftest.$ac_objext; then
18706 ac_cv_member_struct_sockaddr_un_sun_len=yes
18707 else
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.$ac_ext >&5
18711 ac_cv_member_struct_sockaddr_un_sun_len=no
18714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18720 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18721 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18723 cat >>confdefs.h <<_ACEOF
18724 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18725 _ACEOF
18731 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18732 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18733 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18735 else
18736 cat >conftest.$ac_ext <<_ACEOF
18737 /* confdefs.h. */
18738 _ACEOF
18739 cat confdefs.h >>conftest.$ac_ext
18740 cat >>conftest.$ac_ext <<_ACEOF
18741 /* end confdefs.h. */
18742 #include <sys/types.h>
18743 #ifdef HAVE_SCSI_SG_H
18744 #include <scsi/sg.h>
18745 #endif
18748 main ()
18750 static scsireq_t ac_aggr;
18751 if (ac_aggr.cmd)
18752 return 0;
18754 return 0;
18756 _ACEOF
18757 rm -f conftest.$ac_objext
18758 if { (ac_try="$ac_compile"
18759 case "(($ac_try" in
18760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18761 *) ac_try_echo=$ac_try;;
18762 esac
18763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18764 (eval "$ac_compile") 2>conftest.er1
18765 ac_status=$?
18766 grep -v '^ *+' conftest.er1 >conftest.err
18767 rm -f conftest.er1
18768 cat conftest.err >&5
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); } && {
18771 test -z "$ac_c_werror_flag" ||
18772 test ! -s conftest.err
18773 } && test -s conftest.$ac_objext; then
18774 ac_cv_member_scsireq_t_cmd=yes
18775 else
18776 echo "$as_me: failed program was:" >&5
18777 sed 's/^/| /' conftest.$ac_ext >&5
18779 cat >conftest.$ac_ext <<_ACEOF
18780 /* confdefs.h. */
18781 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 #include <sys/types.h>
18786 #ifdef HAVE_SCSI_SG_H
18787 #include <scsi/sg.h>
18788 #endif
18791 main ()
18793 static scsireq_t ac_aggr;
18794 if (sizeof ac_aggr.cmd)
18795 return 0;
18797 return 0;
18799 _ACEOF
18800 rm -f conftest.$ac_objext
18801 if { (ac_try="$ac_compile"
18802 case "(($ac_try" in
18803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18804 *) ac_try_echo=$ac_try;;
18805 esac
18806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18807 (eval "$ac_compile") 2>conftest.er1
18808 ac_status=$?
18809 grep -v '^ *+' conftest.er1 >conftest.err
18810 rm -f conftest.er1
18811 cat conftest.err >&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); } && {
18814 test -z "$ac_c_werror_flag" ||
18815 test ! -s conftest.err
18816 } && test -s conftest.$ac_objext; then
18817 ac_cv_member_scsireq_t_cmd=yes
18818 else
18819 echo "$as_me: failed program was:" >&5
18820 sed 's/^/| /' conftest.$ac_ext >&5
18822 ac_cv_member_scsireq_t_cmd=no
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18830 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18831 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18832 if test $ac_cv_member_scsireq_t_cmd = yes; then
18834 cat >>confdefs.h <<_ACEOF
18835 #define HAVE_SCSIREQ_T_CMD 1
18836 _ACEOF
18840 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18841 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18842 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18843 echo $ECHO_N "(cached) $ECHO_C" >&6
18844 else
18845 cat >conftest.$ac_ext <<_ACEOF
18846 /* confdefs.h. */
18847 _ACEOF
18848 cat confdefs.h >>conftest.$ac_ext
18849 cat >>conftest.$ac_ext <<_ACEOF
18850 /* end confdefs.h. */
18851 #include <sys/types.h>
18852 #ifdef HAVE_SCSI_SG_H
18853 #include <scsi/sg.h>
18854 #endif
18857 main ()
18859 static sg_io_hdr_t ac_aggr;
18860 if (ac_aggr.interface_id)
18861 return 0;
18863 return 0;
18865 _ACEOF
18866 rm -f conftest.$ac_objext
18867 if { (ac_try="$ac_compile"
18868 case "(($ac_try" in
18869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18870 *) ac_try_echo=$ac_try;;
18871 esac
18872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18873 (eval "$ac_compile") 2>conftest.er1
18874 ac_status=$?
18875 grep -v '^ *+' conftest.er1 >conftest.err
18876 rm -f conftest.er1
18877 cat conftest.err >&5
18878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18879 (exit $ac_status); } && {
18880 test -z "$ac_c_werror_flag" ||
18881 test ! -s conftest.err
18882 } && test -s conftest.$ac_objext; then
18883 ac_cv_member_sg_io_hdr_t_interface_id=yes
18884 else
18885 echo "$as_me: failed program was:" >&5
18886 sed 's/^/| /' conftest.$ac_ext >&5
18888 cat >conftest.$ac_ext <<_ACEOF
18889 /* confdefs.h. */
18890 _ACEOF
18891 cat confdefs.h >>conftest.$ac_ext
18892 cat >>conftest.$ac_ext <<_ACEOF
18893 /* end confdefs.h. */
18894 #include <sys/types.h>
18895 #ifdef HAVE_SCSI_SG_H
18896 #include <scsi/sg.h>
18897 #endif
18900 main ()
18902 static sg_io_hdr_t ac_aggr;
18903 if (sizeof ac_aggr.interface_id)
18904 return 0;
18906 return 0;
18908 _ACEOF
18909 rm -f conftest.$ac_objext
18910 if { (ac_try="$ac_compile"
18911 case "(($ac_try" in
18912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18913 *) ac_try_echo=$ac_try;;
18914 esac
18915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18916 (eval "$ac_compile") 2>conftest.er1
18917 ac_status=$?
18918 grep -v '^ *+' conftest.er1 >conftest.err
18919 rm -f conftest.er1
18920 cat conftest.err >&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } && {
18923 test -z "$ac_c_werror_flag" ||
18924 test ! -s conftest.err
18925 } && test -s conftest.$ac_objext; then
18926 ac_cv_member_sg_io_hdr_t_interface_id=yes
18927 else
18928 echo "$as_me: failed program was:" >&5
18929 sed 's/^/| /' conftest.$ac_ext >&5
18931 ac_cv_member_sg_io_hdr_t_interface_id=no
18934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18939 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18940 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18941 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18943 cat >>confdefs.h <<_ACEOF
18944 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18945 _ACEOF
18951 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18952 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18953 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18954 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 else
18956 cat >conftest.$ac_ext <<_ACEOF
18957 /* confdefs.h. */
18958 _ACEOF
18959 cat confdefs.h >>conftest.$ac_ext
18960 cat >>conftest.$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18962 #include <signal.h>
18965 main ()
18967 static siginfo_t ac_aggr;
18968 if (ac_aggr.si_fd)
18969 return 0;
18971 return 0;
18973 _ACEOF
18974 rm -f conftest.$ac_objext
18975 if { (ac_try="$ac_compile"
18976 case "(($ac_try" in
18977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18978 *) ac_try_echo=$ac_try;;
18979 esac
18980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18981 (eval "$ac_compile") 2>conftest.er1
18982 ac_status=$?
18983 grep -v '^ *+' conftest.er1 >conftest.err
18984 rm -f conftest.er1
18985 cat conftest.err >&5
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); } && {
18988 test -z "$ac_c_werror_flag" ||
18989 test ! -s conftest.err
18990 } && test -s conftest.$ac_objext; then
18991 ac_cv_member_siginfo_t_si_fd=yes
18992 else
18993 echo "$as_me: failed program was:" >&5
18994 sed 's/^/| /' conftest.$ac_ext >&5
18996 cat >conftest.$ac_ext <<_ACEOF
18997 /* confdefs.h. */
18998 _ACEOF
18999 cat confdefs.h >>conftest.$ac_ext
19000 cat >>conftest.$ac_ext <<_ACEOF
19001 /* end confdefs.h. */
19002 #include <signal.h>
19005 main ()
19007 static siginfo_t ac_aggr;
19008 if (sizeof ac_aggr.si_fd)
19009 return 0;
19011 return 0;
19013 _ACEOF
19014 rm -f conftest.$ac_objext
19015 if { (ac_try="$ac_compile"
19016 case "(($ac_try" in
19017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19018 *) ac_try_echo=$ac_try;;
19019 esac
19020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19021 (eval "$ac_compile") 2>conftest.er1
19022 ac_status=$?
19023 grep -v '^ *+' conftest.er1 >conftest.err
19024 rm -f conftest.er1
19025 cat conftest.err >&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); } && {
19028 test -z "$ac_c_werror_flag" ||
19029 test ! -s conftest.err
19030 } && test -s conftest.$ac_objext; then
19031 ac_cv_member_siginfo_t_si_fd=yes
19032 else
19033 echo "$as_me: failed program was:" >&5
19034 sed 's/^/| /' conftest.$ac_ext >&5
19036 ac_cv_member_siginfo_t_si_fd=no
19039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19044 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19045 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19046 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19048 cat >>confdefs.h <<_ACEOF
19049 #define HAVE_SIGINFO_T_SI_FD 1
19050 _ACEOF
19056 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19057 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19058 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19059 echo $ECHO_N "(cached) $ECHO_C" >&6
19060 else
19061 cat >conftest.$ac_ext <<_ACEOF
19062 /* confdefs.h. */
19063 _ACEOF
19064 cat confdefs.h >>conftest.$ac_ext
19065 cat >>conftest.$ac_ext <<_ACEOF
19066 /* end confdefs.h. */
19067 #include <sys/types.h>
19068 #ifdef HAVE_SYS_MTIO_H
19069 #include <sys/mtio.h>
19070 #endif
19073 main ()
19075 static struct mtget ac_aggr;
19076 if (ac_aggr.mt_blksiz)
19077 return 0;
19079 return 0;
19081 _ACEOF
19082 rm -f conftest.$ac_objext
19083 if { (ac_try="$ac_compile"
19084 case "(($ac_try" in
19085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19086 *) ac_try_echo=$ac_try;;
19087 esac
19088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19089 (eval "$ac_compile") 2>conftest.er1
19090 ac_status=$?
19091 grep -v '^ *+' conftest.er1 >conftest.err
19092 rm -f conftest.er1
19093 cat conftest.err >&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); } && {
19096 test -z "$ac_c_werror_flag" ||
19097 test ! -s conftest.err
19098 } && test -s conftest.$ac_objext; then
19099 ac_cv_member_struct_mtget_mt_blksiz=yes
19100 else
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.$ac_ext >&5
19104 cat >conftest.$ac_ext <<_ACEOF
19105 /* confdefs.h. */
19106 _ACEOF
19107 cat confdefs.h >>conftest.$ac_ext
19108 cat >>conftest.$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19110 #include <sys/types.h>
19111 #ifdef HAVE_SYS_MTIO_H
19112 #include <sys/mtio.h>
19113 #endif
19116 main ()
19118 static struct mtget ac_aggr;
19119 if (sizeof ac_aggr.mt_blksiz)
19120 return 0;
19122 return 0;
19124 _ACEOF
19125 rm -f conftest.$ac_objext
19126 if { (ac_try="$ac_compile"
19127 case "(($ac_try" in
19128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19129 *) ac_try_echo=$ac_try;;
19130 esac
19131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19132 (eval "$ac_compile") 2>conftest.er1
19133 ac_status=$?
19134 grep -v '^ *+' conftest.er1 >conftest.err
19135 rm -f conftest.er1
19136 cat conftest.err >&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); } && {
19139 test -z "$ac_c_werror_flag" ||
19140 test ! -s conftest.err
19141 } && test -s conftest.$ac_objext; then
19142 ac_cv_member_struct_mtget_mt_blksiz=yes
19143 else
19144 echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.$ac_ext >&5
19147 ac_cv_member_struct_mtget_mt_blksiz=no
19150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19155 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19156 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19157 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19159 cat >>confdefs.h <<_ACEOF
19160 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19161 _ACEOF
19165 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19166 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19167 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19168 echo $ECHO_N "(cached) $ECHO_C" >&6
19169 else
19170 cat >conftest.$ac_ext <<_ACEOF
19171 /* confdefs.h. */
19172 _ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 #include <sys/types.h>
19177 #ifdef HAVE_SYS_MTIO_H
19178 #include <sys/mtio.h>
19179 #endif
19182 main ()
19184 static struct mtget ac_aggr;
19185 if (ac_aggr.mt_gstat)
19186 return 0;
19188 return 0;
19190 _ACEOF
19191 rm -f conftest.$ac_objext
19192 if { (ac_try="$ac_compile"
19193 case "(($ac_try" in
19194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19195 *) ac_try_echo=$ac_try;;
19196 esac
19197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19198 (eval "$ac_compile") 2>conftest.er1
19199 ac_status=$?
19200 grep -v '^ *+' conftest.er1 >conftest.err
19201 rm -f conftest.er1
19202 cat conftest.err >&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } && {
19205 test -z "$ac_c_werror_flag" ||
19206 test ! -s conftest.err
19207 } && test -s conftest.$ac_objext; then
19208 ac_cv_member_struct_mtget_mt_gstat=yes
19209 else
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19213 cat >conftest.$ac_ext <<_ACEOF
19214 /* confdefs.h. */
19215 _ACEOF
19216 cat confdefs.h >>conftest.$ac_ext
19217 cat >>conftest.$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19219 #include <sys/types.h>
19220 #ifdef HAVE_SYS_MTIO_H
19221 #include <sys/mtio.h>
19222 #endif
19225 main ()
19227 static struct mtget ac_aggr;
19228 if (sizeof ac_aggr.mt_gstat)
19229 return 0;
19231 return 0;
19233 _ACEOF
19234 rm -f conftest.$ac_objext
19235 if { (ac_try="$ac_compile"
19236 case "(($ac_try" in
19237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19238 *) ac_try_echo=$ac_try;;
19239 esac
19240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19241 (eval "$ac_compile") 2>conftest.er1
19242 ac_status=$?
19243 grep -v '^ *+' conftest.er1 >conftest.err
19244 rm -f conftest.er1
19245 cat conftest.err >&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); } && {
19248 test -z "$ac_c_werror_flag" ||
19249 test ! -s conftest.err
19250 } && test -s conftest.$ac_objext; then
19251 ac_cv_member_struct_mtget_mt_gstat=yes
19252 else
19253 echo "$as_me: failed program was:" >&5
19254 sed 's/^/| /' conftest.$ac_ext >&5
19256 ac_cv_member_struct_mtget_mt_gstat=no
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19264 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19265 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19266 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19268 cat >>confdefs.h <<_ACEOF
19269 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19270 _ACEOF
19274 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19275 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19276 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19277 echo $ECHO_N "(cached) $ECHO_C" >&6
19278 else
19279 cat >conftest.$ac_ext <<_ACEOF
19280 /* confdefs.h. */
19281 _ACEOF
19282 cat confdefs.h >>conftest.$ac_ext
19283 cat >>conftest.$ac_ext <<_ACEOF
19284 /* end confdefs.h. */
19285 #include <sys/types.h>
19286 #ifdef HAVE_SYS_MTIO_H
19287 #include <sys/mtio.h>
19288 #endif
19291 main ()
19293 static struct mtget ac_aggr;
19294 if (ac_aggr.mt_blkno)
19295 return 0;
19297 return 0;
19299 _ACEOF
19300 rm -f conftest.$ac_objext
19301 if { (ac_try="$ac_compile"
19302 case "(($ac_try" in
19303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19304 *) ac_try_echo=$ac_try;;
19305 esac
19306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19307 (eval "$ac_compile") 2>conftest.er1
19308 ac_status=$?
19309 grep -v '^ *+' conftest.er1 >conftest.err
19310 rm -f conftest.er1
19311 cat conftest.err >&5
19312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19313 (exit $ac_status); } && {
19314 test -z "$ac_c_werror_flag" ||
19315 test ! -s conftest.err
19316 } && test -s conftest.$ac_objext; then
19317 ac_cv_member_struct_mtget_mt_blkno=yes
19318 else
19319 echo "$as_me: failed program was:" >&5
19320 sed 's/^/| /' conftest.$ac_ext >&5
19322 cat >conftest.$ac_ext <<_ACEOF
19323 /* confdefs.h. */
19324 _ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 #include <sys/types.h>
19329 #ifdef HAVE_SYS_MTIO_H
19330 #include <sys/mtio.h>
19331 #endif
19334 main ()
19336 static struct mtget ac_aggr;
19337 if (sizeof ac_aggr.mt_blkno)
19338 return 0;
19340 return 0;
19342 _ACEOF
19343 rm -f conftest.$ac_objext
19344 if { (ac_try="$ac_compile"
19345 case "(($ac_try" in
19346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19347 *) ac_try_echo=$ac_try;;
19348 esac
19349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19350 (eval "$ac_compile") 2>conftest.er1
19351 ac_status=$?
19352 grep -v '^ *+' conftest.er1 >conftest.err
19353 rm -f conftest.er1
19354 cat conftest.err >&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } && {
19357 test -z "$ac_c_werror_flag" ||
19358 test ! -s conftest.err
19359 } && test -s conftest.$ac_objext; then
19360 ac_cv_member_struct_mtget_mt_blkno=yes
19361 else
19362 echo "$as_me: failed program was:" >&5
19363 sed 's/^/| /' conftest.$ac_ext >&5
19365 ac_cv_member_struct_mtget_mt_blkno=no
19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19373 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19374 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19375 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19377 cat >>confdefs.h <<_ACEOF
19378 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19379 _ACEOF
19385 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19386 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19387 if test "${ac_cv_member_struct_option_name+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19389 else
19390 cat >conftest.$ac_ext <<_ACEOF
19391 /* confdefs.h. */
19392 _ACEOF
19393 cat confdefs.h >>conftest.$ac_ext
19394 cat >>conftest.$ac_ext <<_ACEOF
19395 /* end confdefs.h. */
19396 #ifdef HAVE_GETOPT_H
19397 #include <getopt.h>
19398 #endif
19401 main ()
19403 static struct option ac_aggr;
19404 if (ac_aggr.name)
19405 return 0;
19407 return 0;
19409 _ACEOF
19410 rm -f conftest.$ac_objext
19411 if { (ac_try="$ac_compile"
19412 case "(($ac_try" in
19413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19414 *) ac_try_echo=$ac_try;;
19415 esac
19416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19417 (eval "$ac_compile") 2>conftest.er1
19418 ac_status=$?
19419 grep -v '^ *+' conftest.er1 >conftest.err
19420 rm -f conftest.er1
19421 cat conftest.err >&5
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); } && {
19424 test -z "$ac_c_werror_flag" ||
19425 test ! -s conftest.err
19426 } && test -s conftest.$ac_objext; then
19427 ac_cv_member_struct_option_name=yes
19428 else
19429 echo "$as_me: failed program was:" >&5
19430 sed 's/^/| /' conftest.$ac_ext >&5
19432 cat >conftest.$ac_ext <<_ACEOF
19433 /* confdefs.h. */
19434 _ACEOF
19435 cat confdefs.h >>conftest.$ac_ext
19436 cat >>conftest.$ac_ext <<_ACEOF
19437 /* end confdefs.h. */
19438 #ifdef HAVE_GETOPT_H
19439 #include <getopt.h>
19440 #endif
19443 main ()
19445 static struct option ac_aggr;
19446 if (sizeof ac_aggr.name)
19447 return 0;
19449 return 0;
19451 _ACEOF
19452 rm -f conftest.$ac_objext
19453 if { (ac_try="$ac_compile"
19454 case "(($ac_try" in
19455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19456 *) ac_try_echo=$ac_try;;
19457 esac
19458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19459 (eval "$ac_compile") 2>conftest.er1
19460 ac_status=$?
19461 grep -v '^ *+' conftest.er1 >conftest.err
19462 rm -f conftest.er1
19463 cat conftest.err >&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } && {
19466 test -z "$ac_c_werror_flag" ||
19467 test ! -s conftest.err
19468 } && test -s conftest.$ac_objext; then
19469 ac_cv_member_struct_option_name=yes
19470 else
19471 echo "$as_me: failed program was:" >&5
19472 sed 's/^/| /' conftest.$ac_ext >&5
19474 ac_cv_member_struct_option_name=no
19477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19482 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19483 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19484 if test $ac_cv_member_struct_option_name = yes; then
19486 cat >>confdefs.h <<_ACEOF
19487 #define HAVE_STRUCT_OPTION_NAME 1
19488 _ACEOF
19494 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19495 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19496 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19497 echo $ECHO_N "(cached) $ECHO_C" >&6
19498 else
19499 cat >conftest.$ac_ext <<_ACEOF
19500 /* confdefs.h. */
19501 _ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505 $ac_includes_default
19507 main ()
19509 static struct stat ac_aggr;
19510 if (ac_aggr.st_blocks)
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_stat_st_blocks=yes
19534 else
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19538 cat >conftest.$ac_ext <<_ACEOF
19539 /* confdefs.h. */
19540 _ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544 $ac_includes_default
19546 main ()
19548 static struct stat ac_aggr;
19549 if (sizeof ac_aggr.st_blocks)
19550 return 0;
19552 return 0;
19554 _ACEOF
19555 rm -f conftest.$ac_objext
19556 if { (ac_try="$ac_compile"
19557 case "(($ac_try" in
19558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19559 *) ac_try_echo=$ac_try;;
19560 esac
19561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19562 (eval "$ac_compile") 2>conftest.er1
19563 ac_status=$?
19564 grep -v '^ *+' conftest.er1 >conftest.err
19565 rm -f conftest.er1
19566 cat conftest.err >&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } && {
19569 test -z "$ac_c_werror_flag" ||
19570 test ! -s conftest.err
19571 } && test -s conftest.$ac_objext; then
19572 ac_cv_member_struct_stat_st_blocks=yes
19573 else
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.$ac_ext >&5
19577 ac_cv_member_struct_stat_st_blocks=no
19580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19586 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19587 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19589 cat >>confdefs.h <<_ACEOF
19590 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19591 _ACEOF
19597 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19598 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19599 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 else
19602 cat >conftest.$ac_ext <<_ACEOF
19603 /* confdefs.h. */
19604 _ACEOF
19605 cat confdefs.h >>conftest.$ac_ext
19606 cat >>conftest.$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 #ifdef HAVE_SYS_TYPES_H
19609 #include <sys/types.h>
19610 #endif
19611 #ifdef HAVE_NETINET_IN_H
19612 #include <netinet/in.h>
19613 #endif
19616 main ()
19618 static struct sockaddr_in6 ac_aggr;
19619 if (ac_aggr.sin6_scope_id)
19620 return 0;
19622 return 0;
19624 _ACEOF
19625 rm -f conftest.$ac_objext
19626 if { (ac_try="$ac_compile"
19627 case "(($ac_try" in
19628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19629 *) ac_try_echo=$ac_try;;
19630 esac
19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19632 (eval "$ac_compile") 2>conftest.er1
19633 ac_status=$?
19634 grep -v '^ *+' conftest.er1 >conftest.err
19635 rm -f conftest.er1
19636 cat conftest.err >&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } && {
19639 test -z "$ac_c_werror_flag" ||
19640 test ! -s conftest.err
19641 } && test -s conftest.$ac_objext; then
19642 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19643 else
19644 echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.$ac_ext >&5
19647 cat >conftest.$ac_ext <<_ACEOF
19648 /* confdefs.h. */
19649 _ACEOF
19650 cat confdefs.h >>conftest.$ac_ext
19651 cat >>conftest.$ac_ext <<_ACEOF
19652 /* end confdefs.h. */
19653 #ifdef HAVE_SYS_TYPES_H
19654 #include <sys/types.h>
19655 #endif
19656 #ifdef HAVE_NETINET_IN_H
19657 #include <netinet/in.h>
19658 #endif
19661 main ()
19663 static struct sockaddr_in6 ac_aggr;
19664 if (sizeof ac_aggr.sin6_scope_id)
19665 return 0;
19667 return 0;
19669 _ACEOF
19670 rm -f conftest.$ac_objext
19671 if { (ac_try="$ac_compile"
19672 case "(($ac_try" in
19673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19674 *) ac_try_echo=$ac_try;;
19675 esac
19676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19677 (eval "$ac_compile") 2>conftest.er1
19678 ac_status=$?
19679 grep -v '^ *+' conftest.er1 >conftest.err
19680 rm -f conftest.er1
19681 cat conftest.err >&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); } && {
19684 test -z "$ac_c_werror_flag" ||
19685 test ! -s conftest.err
19686 } && test -s conftest.$ac_objext; then
19687 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19688 else
19689 echo "$as_me: failed program was:" >&5
19690 sed 's/^/| /' conftest.$ac_ext >&5
19692 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19700 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19701 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19702 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19704 cat >>confdefs.h <<_ACEOF
19705 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19706 _ACEOF
19712 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19713 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19714 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19716 else
19717 cat >conftest.$ac_ext <<_ACEOF
19718 /* confdefs.h. */
19719 _ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 #ifdef HAVE_SYS_TYPES_H
19724 #include <sys/types.h>
19725 #endif
19726 #ifdef HAVE_NETINET_IN_H
19727 # include <netinet/in.h>
19728 #endif
19729 #ifdef HAVE_ARPA_NAMESER_H
19730 # include <arpa/nameser.h>
19731 #endif
19734 main ()
19736 static ns_msg ac_aggr;
19737 if (ac_aggr._msg_ptr)
19738 return 0;
19740 return 0;
19742 _ACEOF
19743 rm -f conftest.$ac_objext
19744 if { (ac_try="$ac_compile"
19745 case "(($ac_try" in
19746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19747 *) ac_try_echo=$ac_try;;
19748 esac
19749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19750 (eval "$ac_compile") 2>conftest.er1
19751 ac_status=$?
19752 grep -v '^ *+' conftest.er1 >conftest.err
19753 rm -f conftest.er1
19754 cat conftest.err >&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } && {
19757 test -z "$ac_c_werror_flag" ||
19758 test ! -s conftest.err
19759 } && test -s conftest.$ac_objext; then
19760 ac_cv_member_ns_msg__msg_ptr=yes
19761 else
19762 echo "$as_me: failed program was:" >&5
19763 sed 's/^/| /' conftest.$ac_ext >&5
19765 cat >conftest.$ac_ext <<_ACEOF
19766 /* confdefs.h. */
19767 _ACEOF
19768 cat confdefs.h >>conftest.$ac_ext
19769 cat >>conftest.$ac_ext <<_ACEOF
19770 /* end confdefs.h. */
19771 #ifdef HAVE_SYS_TYPES_H
19772 #include <sys/types.h>
19773 #endif
19774 #ifdef HAVE_NETINET_IN_H
19775 # include <netinet/in.h>
19776 #endif
19777 #ifdef HAVE_ARPA_NAMESER_H
19778 # include <arpa/nameser.h>
19779 #endif
19782 main ()
19784 static ns_msg ac_aggr;
19785 if (sizeof ac_aggr._msg_ptr)
19786 return 0;
19788 return 0;
19790 _ACEOF
19791 rm -f conftest.$ac_objext
19792 if { (ac_try="$ac_compile"
19793 case "(($ac_try" in
19794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19795 *) ac_try_echo=$ac_try;;
19796 esac
19797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19798 (eval "$ac_compile") 2>conftest.er1
19799 ac_status=$?
19800 grep -v '^ *+' conftest.er1 >conftest.err
19801 rm -f conftest.er1
19802 cat conftest.err >&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); } && {
19805 test -z "$ac_c_werror_flag" ||
19806 test ! -s conftest.err
19807 } && test -s conftest.$ac_objext; then
19808 ac_cv_member_ns_msg__msg_ptr=yes
19809 else
19810 echo "$as_me: failed program was:" >&5
19811 sed 's/^/| /' conftest.$ac_ext >&5
19813 ac_cv_member_ns_msg__msg_ptr=no
19816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19821 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19822 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19823 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19825 cat >>confdefs.h <<_ACEOF
19826 #define HAVE_NS_MSG__MSG_PTR 1
19827 _ACEOF
19833 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19834 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19835 if test "${ac_cv_have_timezone+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19837 else
19838 cat >conftest.$ac_ext <<_ACEOF
19839 /* confdefs.h. */
19840 _ACEOF
19841 cat confdefs.h >>conftest.$ac_ext
19842 cat >>conftest.$ac_ext <<_ACEOF
19843 /* end confdefs.h. */
19844 #include <time.h>
19846 main ()
19848 timezone = 1
19850 return 0;
19852 _ACEOF
19853 rm -f conftest.$ac_objext conftest$ac_exeext
19854 if { (ac_try="$ac_link"
19855 case "(($ac_try" in
19856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19857 *) ac_try_echo=$ac_try;;
19858 esac
19859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19860 (eval "$ac_link") 2>conftest.er1
19861 ac_status=$?
19862 grep -v '^ *+' conftest.er1 >conftest.err
19863 rm -f conftest.er1
19864 cat conftest.err >&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } && {
19867 test -z "$ac_c_werror_flag" ||
19868 test ! -s conftest.err
19869 } && test -s conftest$ac_exeext &&
19870 $as_test_x conftest$ac_exeext; then
19871 ac_cv_have_timezone="yes"
19872 else
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.$ac_ext >&5
19876 ac_cv_have_timezone="no"
19879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19880 conftest$ac_exeext conftest.$ac_ext
19882 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19883 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19884 if test "$ac_cv_have_timezone" = "yes"
19885 then
19887 cat >>confdefs.h <<\_ACEOF
19888 #define HAVE_TIMEZONE 1
19889 _ACEOF
19892 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19893 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19894 if test "${ac_cv_have_daylight+set}" = set; then
19895 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 else
19897 cat >conftest.$ac_ext <<_ACEOF
19898 /* confdefs.h. */
19899 _ACEOF
19900 cat confdefs.h >>conftest.$ac_ext
19901 cat >>conftest.$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19903 #include <time.h>
19905 main ()
19907 daylight = 1
19909 return 0;
19911 _ACEOF
19912 rm -f conftest.$ac_objext conftest$ac_exeext
19913 if { (ac_try="$ac_link"
19914 case "(($ac_try" in
19915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19916 *) ac_try_echo=$ac_try;;
19917 esac
19918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19919 (eval "$ac_link") 2>conftest.er1
19920 ac_status=$?
19921 grep -v '^ *+' conftest.er1 >conftest.err
19922 rm -f conftest.er1
19923 cat conftest.err >&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); } && {
19926 test -z "$ac_c_werror_flag" ||
19927 test ! -s conftest.err
19928 } && test -s conftest$ac_exeext &&
19929 $as_test_x conftest$ac_exeext; then
19930 ac_cv_have_daylight="yes"
19931 else
19932 echo "$as_me: failed program was:" >&5
19933 sed 's/^/| /' conftest.$ac_ext >&5
19935 ac_cv_have_daylight="no"
19938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19939 conftest$ac_exeext conftest.$ac_ext
19941 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19942 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19943 if test "$ac_cv_have_daylight" = "yes"
19944 then
19946 cat >>confdefs.h <<\_ACEOF
19947 #define HAVE_DAYLIGHT 1
19948 _ACEOF
19953 case $host_cpu in
19954 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19955 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19956 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 else
19959 cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h. */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 #ifndef __i386__
19967 #endif
19968 _ACEOF
19969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19970 $EGREP "yes" >/dev/null 2>&1; then
19971 ac_cv_cpp_def___i386__=yes
19972 else
19973 ac_cv_cpp_def___i386__=no
19975 rm -f conftest*
19978 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19979 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
19980 if test $ac_cv_cpp_def___i386__ = yes; then
19981 CFLAGS="$CFLAGS -D__i386__"
19982 LINTFLAGS="$LINTFLAGS -D__i386__"
19985 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19986 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
19987 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19988 echo $ECHO_N "(cached) $ECHO_C" >&6
19989 else
19990 cat >conftest.$ac_ext <<_ACEOF
19991 /* confdefs.h. */
19992 _ACEOF
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 #ifndef __x86_64__
19998 #endif
19999 _ACEOF
20000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20001 $EGREP "yes" >/dev/null 2>&1; then
20002 ac_cv_cpp_def___x86_64__=yes
20003 else
20004 ac_cv_cpp_def___x86_64__=no
20006 rm -f conftest*
20009 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20010 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20011 if test $ac_cv_cpp_def___x86_64__ = yes; then
20012 CFLAGS="$CFLAGS -D__x86_64__"
20013 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20016 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20017 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20018 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20019 echo $ECHO_N "(cached) $ECHO_C" >&6
20020 else
20021 cat >conftest.$ac_ext <<_ACEOF
20022 /* confdefs.h. */
20023 _ACEOF
20024 cat confdefs.h >>conftest.$ac_ext
20025 cat >>conftest.$ac_ext <<_ACEOF
20026 /* end confdefs.h. */
20027 #ifndef __ALPHA__
20029 #endif
20030 _ACEOF
20031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20032 $EGREP "yes" >/dev/null 2>&1; then
20033 ac_cv_cpp_def___ALPHA__=yes
20034 else
20035 ac_cv_cpp_def___ALPHA__=no
20037 rm -f conftest*
20040 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20041 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20042 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20043 CFLAGS="$CFLAGS -D__ALPHA__"
20044 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20047 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20048 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20049 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20050 echo $ECHO_N "(cached) $ECHO_C" >&6
20051 else
20052 cat >conftest.$ac_ext <<_ACEOF
20053 /* confdefs.h. */
20054 _ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20058 #ifndef __sparc__
20060 #endif
20061 _ACEOF
20062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20063 $EGREP "yes" >/dev/null 2>&1; then
20064 ac_cv_cpp_def___sparc__=yes
20065 else
20066 ac_cv_cpp_def___sparc__=no
20068 rm -f conftest*
20071 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20072 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20073 if test $ac_cv_cpp_def___sparc__ = yes; then
20074 CFLAGS="$CFLAGS -D__sparc__"
20075 LINTFLAGS="$LINTFLAGS -D__sparc__"
20078 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20079 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20080 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20081 echo $ECHO_N "(cached) $ECHO_C" >&6
20082 else
20083 cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 #ifndef __powerpc__
20091 #endif
20092 _ACEOF
20093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20094 $EGREP "yes" >/dev/null 2>&1; then
20095 ac_cv_cpp_def___powerpc__=yes
20096 else
20097 ac_cv_cpp_def___powerpc__=no
20099 rm -f conftest*
20102 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20103 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20104 if test $ac_cv_cpp_def___powerpc__ = yes; then
20105 CFLAGS="$CFLAGS -D__powerpc__"
20106 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20109 esac
20111 case $host_vendor in
20112 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20113 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20114 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20115 echo $ECHO_N "(cached) $ECHO_C" >&6
20116 else
20117 cat >conftest.$ac_ext <<_ACEOF
20118 /* confdefs.h. */
20119 _ACEOF
20120 cat confdefs.h >>conftest.$ac_ext
20121 cat >>conftest.$ac_ext <<_ACEOF
20122 /* end confdefs.h. */
20123 #ifndef __sun__
20125 #endif
20126 _ACEOF
20127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20128 $EGREP "yes" >/dev/null 2>&1; then
20129 ac_cv_cpp_def___sun__=yes
20130 else
20131 ac_cv_cpp_def___sun__=no
20133 rm -f conftest*
20136 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20137 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20138 if test $ac_cv_cpp_def___sun__ = yes; then
20139 CFLAGS="$CFLAGS -D__sun__"
20140 LINTFLAGS="$LINTFLAGS -D__sun__"
20143 esac
20146 DEPENDENCIES="### Dependencies:
20148 .INIT: Makefile
20149 .BEGIN: Makefile
20150 Makefile: dummy
20151 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20153 \$(OBJS): \$(IDL_GEN_HEADERS)
20154 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20155 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20156 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20162 ac_config_commands="$ac_config_commands include/stamp-h"
20165 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20167 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20169 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20171 ac_config_commands="$ac_config_commands dlls/user32/resources"
20173 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20175 ac_config_commands="$ac_config_commands include/wine"
20178 MAKE_RULES=Make.rules
20181 MAKE_DLL_RULES=dlls/Makedll.rules
20184 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20187 MAKE_TEST_RULES=dlls/Maketest.rules
20190 MAKE_PROG_RULES=programs/Makeprog.rules
20193 ac_config_files="$ac_config_files Make.rules"
20195 ac_config_files="$ac_config_files dlls/Makedll.rules"
20197 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20199 ac_config_files="$ac_config_files dlls/Maketest.rules"
20201 ac_config_files="$ac_config_files programs/Makeprog.rules"
20203 ac_config_files="$ac_config_files Makefile"
20205 ac_config_files="$ac_config_files dlls/Makefile"
20207 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20209 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20211 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20213 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20215 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20217 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20219 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20221 ac_config_files="$ac_config_files dlls/atl/Makefile"
20223 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20225 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20227 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20229 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20231 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20233 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20235 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20237 ac_config_files="$ac_config_files dlls/cards/Makefile"
20239 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20241 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20243 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20245 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20247 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20249 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20251 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20253 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20255 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20257 ac_config_files="$ac_config_files dlls/credui/Makefile"
20259 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20261 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20263 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20265 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20267 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20269 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20271 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20273 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20275 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20277 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20279 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20281 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20283 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20285 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20287 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20289 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20291 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20293 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20295 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20297 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20299 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20301 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20303 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20305 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20307 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20309 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20311 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20313 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20315 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20317 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20319 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20321 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20323 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20325 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20327 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20329 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20331 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20333 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20335 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20337 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20339 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20341 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20343 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20345 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20347 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20349 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20351 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20353 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20355 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20357 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20359 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20361 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20363 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20365 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20367 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20369 ac_config_files="$ac_config_files dlls/hal/Makefile"
20371 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20373 ac_config_files="$ac_config_files dlls/hid/Makefile"
20375 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20377 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20379 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20381 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20383 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20385 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20387 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20389 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20391 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20393 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20395 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20397 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20399 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20401 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20403 ac_config_files="$ac_config_files dlls/itss/Makefile"
20405 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20407 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20409 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20411 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20413 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20415 ac_config_files="$ac_config_files dlls/localui/Makefile"
20417 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20419 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20421 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20423 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20425 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20427 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20429 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20431 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20433 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20435 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20437 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20439 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20441 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20443 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20445 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20447 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20449 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20451 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20453 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20455 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20457 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20459 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20461 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20463 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20465 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20467 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20469 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20471 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20473 ac_config_files="$ac_config_files dlls/msi/Makefile"
20475 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20477 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20479 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20481 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20483 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20485 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20487 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20489 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20491 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20493 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20495 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20497 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20499 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20501 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20503 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20505 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20507 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20509 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20511 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20513 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20515 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20517 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20519 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20521 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20523 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20525 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20527 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20529 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20531 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20533 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20535 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20537 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20539 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20541 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20543 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20545 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20547 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20549 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20551 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20553 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20555 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20557 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20559 ac_config_files="$ac_config_files dlls/printui/Makefile"
20561 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20563 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20565 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20567 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20569 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20571 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20573 ac_config_files="$ac_config_files dlls/query/Makefile"
20575 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20577 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20579 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20581 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20583 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20585 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20587 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20589 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20591 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20593 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20595 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20597 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20599 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20601 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20603 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20605 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20607 ac_config_files="$ac_config_files dlls/security/Makefile"
20609 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20611 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20613 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20615 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20617 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20619 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20621 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20623 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20625 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20627 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20629 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20631 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20633 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20635 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20637 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20639 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20641 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20643 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20645 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20647 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20649 ac_config_files="$ac_config_files dlls/sti/Makefile"
20651 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20653 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20655 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20657 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20659 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20661 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20663 ac_config_files="$ac_config_files dlls/url/Makefile"
20665 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20667 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20669 ac_config_files="$ac_config_files dlls/user32/Makefile"
20671 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20673 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20675 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20677 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20679 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20681 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20683 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20685 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20687 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20689 ac_config_files="$ac_config_files dlls/version/Makefile"
20691 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20693 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20695 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20697 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20699 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20701 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20703 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20705 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20707 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20709 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20711 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20713 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20715 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20717 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20719 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20721 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20723 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20725 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20727 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20729 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20731 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20733 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20735 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20737 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20739 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20741 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20743 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20745 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20747 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20749 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20751 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20753 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20755 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20757 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20759 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20761 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20763 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20765 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20767 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20769 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20771 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20773 ac_config_files="$ac_config_files documentation/Makefile"
20775 ac_config_files="$ac_config_files fonts/Makefile"
20777 ac_config_files="$ac_config_files include/Makefile"
20779 ac_config_files="$ac_config_files libs/Makefile"
20781 ac_config_files="$ac_config_files libs/port/Makefile"
20783 ac_config_files="$ac_config_files libs/wine/Makefile"
20785 ac_config_files="$ac_config_files libs/wpp/Makefile"
20787 ac_config_files="$ac_config_files loader/Makefile"
20789 ac_config_files="$ac_config_files programs/Makefile"
20791 ac_config_files="$ac_config_files programs/clock/Makefile"
20793 ac_config_files="$ac_config_files programs/cmd/Makefile"
20795 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20797 ac_config_files="$ac_config_files programs/control/Makefile"
20799 ac_config_files="$ac_config_files programs/eject/Makefile"
20801 ac_config_files="$ac_config_files programs/expand/Makefile"
20803 ac_config_files="$ac_config_files programs/explorer/Makefile"
20805 ac_config_files="$ac_config_files programs/hh/Makefile"
20807 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20809 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20811 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20813 ac_config_files="$ac_config_files programs/net/Makefile"
20815 ac_config_files="$ac_config_files programs/notepad/Makefile"
20817 ac_config_files="$ac_config_files programs/oleview/Makefile"
20819 ac_config_files="$ac_config_files programs/progman/Makefile"
20821 ac_config_files="$ac_config_files programs/regedit/Makefile"
20823 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20825 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20827 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20829 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20831 ac_config_files="$ac_config_files programs/start/Makefile"
20833 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20835 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20837 ac_config_files="$ac_config_files programs/view/Makefile"
20839 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20841 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20843 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20845 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20847 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20849 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20851 ac_config_files="$ac_config_files programs/winefile/Makefile"
20853 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20855 ac_config_files="$ac_config_files programs/winemine/Makefile"
20857 ac_config_files="$ac_config_files programs/winepath/Makefile"
20859 ac_config_files="$ac_config_files programs/winetest/Makefile"
20861 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20863 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20865 ac_config_files="$ac_config_files programs/winver/Makefile"
20867 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20869 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20871 ac_config_files="$ac_config_files server/Makefile"
20873 ac_config_files="$ac_config_files tools/Makefile"
20875 ac_config_files="$ac_config_files tools/widl/Makefile"
20877 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20879 ac_config_files="$ac_config_files tools/winedump/Makefile"
20881 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20883 ac_config_files="$ac_config_files tools/wmc/Makefile"
20885 ac_config_files="$ac_config_files tools/wrc/Makefile"
20888 cat >confcache <<\_ACEOF
20889 # This file is a shell script that caches the results of configure
20890 # tests run on this system so they can be shared between configure
20891 # scripts and configure runs, see configure's option --config-cache.
20892 # It is not useful on other systems. If it contains results you don't
20893 # want to keep, you may remove or edit it.
20895 # config.status only pays attention to the cache file if you give it
20896 # the --recheck option to rerun configure.
20898 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20899 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20900 # following values.
20902 _ACEOF
20904 # The following way of writing the cache mishandles newlines in values,
20905 # but we know of no workaround that is simple, portable, and efficient.
20906 # So, we kill variables containing newlines.
20907 # Ultrix sh set writes to stderr and can't be redirected directly,
20908 # and sets the high bit in the cache file unless we assign to the vars.
20910 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20911 eval ac_val=\$$ac_var
20912 case $ac_val in #(
20913 *${as_nl}*)
20914 case $ac_var in #(
20915 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20916 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20917 esac
20918 case $ac_var in #(
20919 _ | IFS | as_nl) ;; #(
20920 *) $as_unset $ac_var ;;
20921 esac ;;
20922 esac
20923 done
20925 (set) 2>&1 |
20926 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20927 *${as_nl}ac_space=\ *)
20928 # `set' does not quote correctly, so add quotes (double-quote
20929 # substitution turns \\\\ into \\, and sed turns \\ into \).
20930 sed -n \
20931 "s/'/'\\\\''/g;
20932 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20933 ;; #(
20935 # `set' quotes correctly as required by POSIX, so do not add quotes.
20936 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20938 esac |
20939 sort
20941 sed '
20942 /^ac_cv_env_/b end
20943 t clear
20944 :clear
20945 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20946 t end
20947 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20948 :end' >>confcache
20949 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20950 if test -w "$cache_file"; then
20951 test "x$cache_file" != "x/dev/null" &&
20952 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20953 echo "$as_me: updating cache $cache_file" >&6;}
20954 cat confcache >$cache_file
20955 else
20956 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20957 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20960 rm -f confcache
20962 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20963 # Let make expand exec_prefix.
20964 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20966 DEFS=-DHAVE_CONFIG_H
20968 ac_libobjs=
20969 ac_ltlibobjs=
20970 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20971 # 1. Remove the extension, and $U if already installed.
20972 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20973 ac_i=`echo "$ac_i" | sed "$ac_script"`
20974 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20975 # will be set to the directory where LIBOBJS objects are built.
20976 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20977 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20978 done
20979 LIBOBJS=$ac_libobjs
20981 LTLIBOBJS=$ac_ltlibobjs
20985 : ${CONFIG_STATUS=./config.status}
20986 ac_clean_files_save=$ac_clean_files
20987 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20988 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20989 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20990 cat >$CONFIG_STATUS <<_ACEOF
20991 #! $SHELL
20992 # Generated by $as_me.
20993 # Run this file to recreate the current configuration.
20994 # Compiler output produced by configure, useful for debugging
20995 # configure, is in config.log if it exists.
20997 debug=false
20998 ac_cs_recheck=false
20999 ac_cs_silent=false
21000 SHELL=\${CONFIG_SHELL-$SHELL}
21001 _ACEOF
21003 cat >>$CONFIG_STATUS <<\_ACEOF
21004 ## --------------------- ##
21005 ## M4sh Initialization. ##
21006 ## --------------------- ##
21008 # Be more Bourne compatible
21009 DUALCASE=1; export DUALCASE # for MKS sh
21010 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21011 emulate sh
21012 NULLCMD=:
21013 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21014 # is contrary to our usage. Disable this feature.
21015 alias -g '${1+"$@"}'='"$@"'
21016 setopt NO_GLOB_SUBST
21017 else
21018 case `(set -o) 2>/dev/null` in
21019 *posix*) set -o posix ;;
21020 esac
21027 # PATH needs CR
21028 # Avoid depending upon Character Ranges.
21029 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21030 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21031 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21032 as_cr_digits='0123456789'
21033 as_cr_alnum=$as_cr_Letters$as_cr_digits
21035 # The user is always right.
21036 if test "${PATH_SEPARATOR+set}" != set; then
21037 echo "#! /bin/sh" >conf$$.sh
21038 echo "exit 0" >>conf$$.sh
21039 chmod +x conf$$.sh
21040 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21041 PATH_SEPARATOR=';'
21042 else
21043 PATH_SEPARATOR=:
21045 rm -f conf$$.sh
21048 # Support unset when possible.
21049 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21050 as_unset=unset
21051 else
21052 as_unset=false
21056 # IFS
21057 # We need space, tab and new line, in precisely that order. Quoting is
21058 # there to prevent editors from complaining about space-tab.
21059 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21060 # splitting by setting IFS to empty value.)
21061 as_nl='
21063 IFS=" "" $as_nl"
21065 # Find who we are. Look in the path if we contain no directory separator.
21066 case $0 in
21067 *[\\/]* ) as_myself=$0 ;;
21068 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21069 for as_dir in $PATH
21071 IFS=$as_save_IFS
21072 test -z "$as_dir" && as_dir=.
21073 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21074 done
21075 IFS=$as_save_IFS
21078 esac
21079 # We did not find ourselves, most probably we were run as `sh COMMAND'
21080 # in which case we are not to be found in the path.
21081 if test "x$as_myself" = x; then
21082 as_myself=$0
21084 if test ! -f "$as_myself"; then
21085 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21086 { (exit 1); exit 1; }
21089 # Work around bugs in pre-3.0 UWIN ksh.
21090 for as_var in ENV MAIL MAILPATH
21091 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21092 done
21093 PS1='$ '
21094 PS2='> '
21095 PS4='+ '
21097 # NLS nuisances.
21098 for as_var in \
21099 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21100 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21101 LC_TELEPHONE LC_TIME
21103 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21104 eval $as_var=C; export $as_var
21105 else
21106 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21108 done
21110 # Required to use basename.
21111 if expr a : '\(a\)' >/dev/null 2>&1 &&
21112 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21113 as_expr=expr
21114 else
21115 as_expr=false
21118 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21119 as_basename=basename
21120 else
21121 as_basename=false
21125 # Name of the executable.
21126 as_me=`$as_basename -- "$0" ||
21127 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21128 X"$0" : 'X\(//\)$' \| \
21129 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21130 echo X/"$0" |
21131 sed '/^.*\/\([^/][^/]*\)\/*$/{
21132 s//\1/
21135 /^X\/\(\/\/\)$/{
21136 s//\1/
21139 /^X\/\(\/\).*/{
21140 s//\1/
21143 s/.*/./; q'`
21145 # CDPATH.
21146 $as_unset CDPATH
21150 as_lineno_1=$LINENO
21151 as_lineno_2=$LINENO
21152 test "x$as_lineno_1" != "x$as_lineno_2" &&
21153 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21155 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21156 # uniformly replaced by the line number. The first 'sed' inserts a
21157 # line-number line after each line using $LINENO; the second 'sed'
21158 # does the real work. The second script uses 'N' to pair each
21159 # line-number line with the line containing $LINENO, and appends
21160 # trailing '-' during substitution so that $LINENO is not a special
21161 # case at line end.
21162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21163 # scripts with optimization help from Paolo Bonzini. Blame Lee
21164 # E. McMahon (1931-1989) for sed's syntax. :-)
21165 sed -n '
21167 /[$]LINENO/=
21168 ' <$as_myself |
21169 sed '
21170 s/[$]LINENO.*/&-/
21171 t lineno
21173 :lineno
21175 :loop
21176 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21177 t loop
21178 s/-\n.*//
21179 ' >$as_me.lineno &&
21180 chmod +x "$as_me.lineno" ||
21181 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21182 { (exit 1); exit 1; }; }
21184 # Don't try to exec as it changes $[0], causing all sort of problems
21185 # (the dirname of $[0] is not the place where we might find the
21186 # original and so on. Autoconf is especially sensitive to this).
21187 . "./$as_me.lineno"
21188 # Exit status is that of the last command.
21189 exit
21193 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21194 as_dirname=dirname
21195 else
21196 as_dirname=false
21199 ECHO_C= ECHO_N= ECHO_T=
21200 case `echo -n x` in
21201 -n*)
21202 case `echo 'x\c'` in
21203 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21204 *) ECHO_C='\c';;
21205 esac;;
21207 ECHO_N='-n';;
21208 esac
21210 if expr a : '\(a\)' >/dev/null 2>&1 &&
21211 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21212 as_expr=expr
21213 else
21214 as_expr=false
21217 rm -f conf$$ conf$$.exe conf$$.file
21218 if test -d conf$$.dir; then
21219 rm -f conf$$.dir/conf$$.file
21220 else
21221 rm -f conf$$.dir
21222 mkdir conf$$.dir
21224 echo >conf$$.file
21225 if ln -s conf$$.file conf$$ 2>/dev/null; then
21226 as_ln_s='ln -s'
21227 # ... but there are two gotchas:
21228 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21229 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21230 # In both cases, we have to default to `cp -p'.
21231 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21232 as_ln_s='cp -p'
21233 elif ln conf$$.file conf$$ 2>/dev/null; then
21234 as_ln_s=ln
21235 else
21236 as_ln_s='cp -p'
21238 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21239 rmdir conf$$.dir 2>/dev/null
21241 if mkdir -p . 2>/dev/null; then
21242 as_mkdir_p=:
21243 else
21244 test -d ./-p && rmdir ./-p
21245 as_mkdir_p=false
21248 if test -x / >/dev/null 2>&1; then
21249 as_test_x='test -x'
21250 else
21251 if ls -dL / >/dev/null 2>&1; then
21252 as_ls_L_option=L
21253 else
21254 as_ls_L_option=
21256 as_test_x='
21257 eval sh -c '\''
21258 if test -d "$1"; then
21259 test -d "$1/.";
21260 else
21261 case $1 in
21262 -*)set "./$1";;
21263 esac;
21264 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21265 ???[sx]*):;;*)false;;esac;fi
21266 '\'' sh
21269 as_executable_p=$as_test_x
21271 # Sed expression to map a string onto a valid CPP name.
21272 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21274 # Sed expression to map a string onto a valid variable name.
21275 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21278 exec 6>&1
21280 # Save the log message, to keep $[0] and so on meaningful, and to
21281 # report actual input values of CONFIG_FILES etc. instead of their
21282 # values after options handling.
21283 ac_log="
21284 This file was extended by Wine $as_me 0.9.40, which was
21285 generated by GNU Autoconf 2.61. Invocation command line was
21287 CONFIG_FILES = $CONFIG_FILES
21288 CONFIG_HEADERS = $CONFIG_HEADERS
21289 CONFIG_LINKS = $CONFIG_LINKS
21290 CONFIG_COMMANDS = $CONFIG_COMMANDS
21291 $ $0 $@
21293 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21296 _ACEOF
21298 cat >>$CONFIG_STATUS <<_ACEOF
21299 # Files that config.status was made for.
21300 config_files="$ac_config_files"
21301 config_headers="$ac_config_headers"
21302 config_commands="$ac_config_commands"
21304 _ACEOF
21306 cat >>$CONFIG_STATUS <<\_ACEOF
21307 ac_cs_usage="\
21308 \`$as_me' instantiates files from templates according to the
21309 current configuration.
21311 Usage: $0 [OPTIONS] [FILE]...
21313 -h, --help print this help, then exit
21314 -V, --version print version number and configuration settings, then exit
21315 -q, --quiet do not print progress messages
21316 -d, --debug don't remove temporary files
21317 --recheck update $as_me by reconfiguring in the same conditions
21318 --file=FILE[:TEMPLATE]
21319 instantiate the configuration file FILE
21320 --header=FILE[:TEMPLATE]
21321 instantiate the configuration header FILE
21323 Configuration files:
21324 $config_files
21326 Configuration headers:
21327 $config_headers
21329 Configuration commands:
21330 $config_commands
21332 Report bugs to <bug-autoconf@gnu.org>."
21334 _ACEOF
21335 cat >>$CONFIG_STATUS <<_ACEOF
21336 ac_cs_version="\\
21337 Wine config.status 0.9.40
21338 configured by $0, generated by GNU Autoconf 2.61,
21339 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21341 Copyright (C) 2006 Free Software Foundation, Inc.
21342 This config.status script is free software; the Free Software Foundation
21343 gives unlimited permission to copy, distribute and modify it."
21345 ac_pwd='$ac_pwd'
21346 srcdir='$srcdir'
21347 INSTALL='$INSTALL'
21348 _ACEOF
21350 cat >>$CONFIG_STATUS <<\_ACEOF
21351 # If no file are specified by the user, then we need to provide default
21352 # value. By we need to know if files were specified by the user.
21353 ac_need_defaults=:
21354 while test $# != 0
21356 case $1 in
21357 --*=*)
21358 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21359 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21360 ac_shift=:
21363 ac_option=$1
21364 ac_optarg=$2
21365 ac_shift=shift
21367 esac
21369 case $ac_option in
21370 # Handling of the options.
21371 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21372 ac_cs_recheck=: ;;
21373 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21374 echo "$ac_cs_version"; exit ;;
21375 --debug | --debu | --deb | --de | --d | -d )
21376 debug=: ;;
21377 --file | --fil | --fi | --f )
21378 $ac_shift
21379 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21380 ac_need_defaults=false;;
21381 --header | --heade | --head | --hea )
21382 $ac_shift
21383 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21384 ac_need_defaults=false;;
21385 --he | --h)
21386 # Conflict between --help and --header
21387 { echo "$as_me: error: ambiguous option: $1
21388 Try \`$0 --help' for more information." >&2
21389 { (exit 1); exit 1; }; };;
21390 --help | --hel | -h )
21391 echo "$ac_cs_usage"; exit ;;
21392 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21393 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21394 ac_cs_silent=: ;;
21396 # This is an error.
21397 -*) { echo "$as_me: error: unrecognized option: $1
21398 Try \`$0 --help' for more information." >&2
21399 { (exit 1); exit 1; }; } ;;
21401 *) ac_config_targets="$ac_config_targets $1"
21402 ac_need_defaults=false ;;
21404 esac
21405 shift
21406 done
21408 ac_configure_extra_args=
21410 if $ac_cs_silent; then
21411 exec 6>/dev/null
21412 ac_configure_extra_args="$ac_configure_extra_args --silent"
21415 _ACEOF
21416 cat >>$CONFIG_STATUS <<_ACEOF
21417 if \$ac_cs_recheck; then
21418 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21419 CONFIG_SHELL=$SHELL
21420 export CONFIG_SHELL
21421 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21424 _ACEOF
21425 cat >>$CONFIG_STATUS <<\_ACEOF
21426 exec 5>>config.log
21428 echo
21429 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21430 ## Running $as_me. ##
21431 _ASBOX
21432 echo "$ac_log"
21433 } >&5
21435 _ACEOF
21436 cat >>$CONFIG_STATUS <<_ACEOF
21437 _ACEOF
21439 cat >>$CONFIG_STATUS <<\_ACEOF
21441 # Handling of arguments.
21442 for ac_config_target in $ac_config_targets
21444 case $ac_config_target in
21445 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21446 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21447 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21448 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21449 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21450 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21451 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21452 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21453 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21454 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21455 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21456 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21457 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21458 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21459 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21460 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21461 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21462 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21463 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21464 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21465 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21466 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21467 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21468 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21469 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21470 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21471 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21472 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21473 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21474 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21475 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21476 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21477 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21478 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21479 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21480 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21481 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21482 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21483 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21484 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21485 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21486 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21487 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21488 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21489 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21490 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21491 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21492 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21493 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21494 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21495 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21496 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21497 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21498 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21499 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21500 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21501 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21502 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21503 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21504 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21505 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21506 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21507 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21508 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21509 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21510 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21511 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21512 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21513 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21514 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21515 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21516 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21517 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21518 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21519 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21520 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21521 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21522 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21523 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21524 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21525 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21526 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21527 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21528 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21529 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21530 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21531 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21532 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21533 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21534 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21535 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21536 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21537 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21538 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21539 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21540 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21541 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21542 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21543 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21544 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21545 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21546 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21547 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21548 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21549 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21550 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21551 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21552 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21553 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21554 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21555 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21556 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21557 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21558 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21559 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21560 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21561 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21562 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21563 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21564 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21565 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21566 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21567 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21568 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21569 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21570 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21571 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21572 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21573 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21574 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21575 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21576 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21577 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21578 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21579 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21580 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21581 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21582 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21583 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21584 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21585 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21586 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21587 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21588 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21589 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21590 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21591 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21592 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21593 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21594 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21595 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21596 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21597 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21598 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21599 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21600 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21601 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21602 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21603 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21604 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21605 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21606 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21607 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21608 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21609 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21610 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21611 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21612 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21613 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21614 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21615 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21616 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21617 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21618 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21619 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21620 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21621 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21622 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21623 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21624 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21625 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21626 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21627 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21628 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21629 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21630 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21631 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21632 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21633 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21634 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21635 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21636 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21637 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21638 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21639 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21640 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21641 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21642 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21643 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21644 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21645 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21646 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21647 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21648 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21649 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21650 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21651 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21652 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21653 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21654 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21655 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21656 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21657 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21658 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21659 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21660 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21661 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21662 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21663 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21664 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21665 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21666 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21667 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21668 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21669 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21670 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21671 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21672 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21673 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21674 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21675 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21676 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21677 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21678 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21679 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21680 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21681 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21682 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21683 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21684 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21685 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21686 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21687 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21688 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21689 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21690 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21691 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21692 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21693 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21694 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21695 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21696 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21697 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21698 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21699 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21700 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21701 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21702 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21703 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21704 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21705 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21706 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21707 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21708 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21709 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21710 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21711 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21712 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21713 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21714 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21715 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21716 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21717 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21718 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21719 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21720 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21721 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21722 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21723 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21724 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21725 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21726 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21727 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21728 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21729 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21730 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21731 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21732 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21733 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21734 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21735 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21736 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21737 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21738 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21739 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21740 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21741 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21742 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21743 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21744 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21745 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21746 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21747 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21748 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21749 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21750 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21751 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21752 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21753 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21754 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21755 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21756 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21757 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21758 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21759 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21760 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21761 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21762 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21763 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21764 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21765 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21766 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21767 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21768 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21769 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21770 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21771 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21772 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21773 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21774 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21775 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21776 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21777 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21778 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21779 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21780 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21781 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21782 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21783 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21784 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21785 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21786 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21787 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21788 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21789 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21790 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21791 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21792 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21793 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21794 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21795 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21796 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21797 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21798 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21799 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21801 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21802 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21803 { (exit 1); exit 1; }; };;
21804 esac
21805 done
21808 # If the user did not use the arguments to specify the items to instantiate,
21809 # then the envvar interface is used. Set only those that are not.
21810 # We use the long form for the default assignment because of an extremely
21811 # bizarre bug on SunOS 4.1.3.
21812 if $ac_need_defaults; then
21813 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21814 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21815 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21818 # Have a temporary directory for convenience. Make it in the build tree
21819 # simply because there is no reason against having it here, and in addition,
21820 # creating and moving files from /tmp can sometimes cause problems.
21821 # Hook for its removal unless debugging.
21822 # Note that there is a small window in which the directory will not be cleaned:
21823 # after its creation but before its name has been assigned to `$tmp'.
21824 $debug ||
21826 tmp=
21827 trap 'exit_status=$?
21828 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21830 trap '{ (exit 1); exit 1; }' 1 2 13 15
21832 # Create a (secure) tmp directory for tmp files.
21835 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21836 test -n "$tmp" && test -d "$tmp"
21837 } ||
21839 tmp=./conf$$-$RANDOM
21840 (umask 077 && mkdir "$tmp")
21841 } ||
21843 echo "$me: cannot create a temporary directory in ." >&2
21844 { (exit 1); exit 1; }
21848 # Set up the sed scripts for CONFIG_FILES section.
21851 # No need to generate the scripts if there are no CONFIG_FILES.
21852 # This happens for instance when ./config.status config.h
21853 if test -n "$CONFIG_FILES"; then
21855 _ACEOF
21857 # Create sed commands to just substitute file output variables.
21859 # Remaining file output variables are in a fragment that also has non-file
21860 # output varibles.
21864 ac_delim='%!_!# '
21865 for ac_last_try in false false false false false :; do
21866 cat >conf$$subs.sed <<_ACEOF
21867 SHELL!$SHELL$ac_delim
21868 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21869 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21870 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21871 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21872 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21873 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21874 exec_prefix!$exec_prefix$ac_delim
21875 prefix!$prefix$ac_delim
21876 program_transform_name!$program_transform_name$ac_delim
21877 bindir!$bindir$ac_delim
21878 sbindir!$sbindir$ac_delim
21879 libexecdir!$libexecdir$ac_delim
21880 datarootdir!$datarootdir$ac_delim
21881 datadir!$datadir$ac_delim
21882 sysconfdir!$sysconfdir$ac_delim
21883 sharedstatedir!$sharedstatedir$ac_delim
21884 localstatedir!$localstatedir$ac_delim
21885 includedir!$includedir$ac_delim
21886 oldincludedir!$oldincludedir$ac_delim
21887 docdir!$docdir$ac_delim
21888 infodir!$infodir$ac_delim
21889 htmldir!$htmldir$ac_delim
21890 dvidir!$dvidir$ac_delim
21891 pdfdir!$pdfdir$ac_delim
21892 psdir!$psdir$ac_delim
21893 libdir!$libdir$ac_delim
21894 localedir!$localedir$ac_delim
21895 mandir!$mandir$ac_delim
21896 DEFS!$DEFS$ac_delim
21897 ECHO_C!$ECHO_C$ac_delim
21898 ECHO_N!$ECHO_N$ac_delim
21899 ECHO_T!$ECHO_T$ac_delim
21900 LIBS!$LIBS$ac_delim
21901 build_alias!$build_alias$ac_delim
21902 host_alias!$host_alias$ac_delim
21903 target_alias!$target_alias$ac_delim
21904 build!$build$ac_delim
21905 build_cpu!$build_cpu$ac_delim
21906 build_vendor!$build_vendor$ac_delim
21907 build_os!$build_os$ac_delim
21908 host!$host$ac_delim
21909 host_cpu!$host_cpu$ac_delim
21910 host_vendor!$host_vendor$ac_delim
21911 host_os!$host_os$ac_delim
21912 WIN16_FILES!$WIN16_FILES$ac_delim
21913 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21914 SET_MAKE!$SET_MAKE$ac_delim
21915 CC!$CC$ac_delim
21916 CFLAGS!$CFLAGS$ac_delim
21917 LDFLAGS!$LDFLAGS$ac_delim
21918 CPPFLAGS!$CPPFLAGS$ac_delim
21919 ac_ct_CC!$ac_ct_CC$ac_delim
21920 EXEEXT!$EXEEXT$ac_delim
21921 OBJEXT!$OBJEXT$ac_delim
21922 CXX!$CXX$ac_delim
21923 CXXFLAGS!$CXXFLAGS$ac_delim
21924 ac_ct_CXX!$ac_ct_CXX$ac_delim
21925 CPPBIN!$CPPBIN$ac_delim
21926 TOOLSDIR!$TOOLSDIR$ac_delim
21927 XMKMF!$XMKMF$ac_delim
21928 CPP!$CPP$ac_delim
21929 X_CFLAGS!$X_CFLAGS$ac_delim
21930 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21931 X_LIBS!$X_LIBS$ac_delim
21932 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21933 FLEX!$FLEX$ac_delim
21934 BISON!$BISON$ac_delim
21935 AS!$AS$ac_delim
21936 ac_ct_AS!$ac_ct_AS$ac_delim
21937 LD!$LD$ac_delim
21938 AR!$AR$ac_delim
21939 RANLIB!$RANLIB$ac_delim
21940 STRIP!$STRIP$ac_delim
21941 WINDRES!$WINDRES$ac_delim
21942 LN_S!$LN_S$ac_delim
21943 LN!$LN$ac_delim
21944 GREP!$GREP$ac_delim
21945 EGREP!$EGREP$ac_delim
21946 LDCONFIG!$LDCONFIG$ac_delim
21947 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21948 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21949 _ACEOF
21951 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21952 break
21953 elif $ac_last_try; then
21954 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21955 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21956 { (exit 1); exit 1; }; }
21957 else
21958 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21960 done
21962 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21963 if test -n "$ac_eof"; then
21964 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21965 ac_eof=`expr $ac_eof + 1`
21968 cat >>$CONFIG_STATUS <<_ACEOF
21969 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21970 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21971 /^[ ]*@MAKE_RULES@[ ]*$/{
21972 r $MAKE_RULES
21975 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21976 r $MAKE_DLL_RULES
21979 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21980 r $MAKE_IMPLIB_RULES
21983 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21984 r $MAKE_TEST_RULES
21987 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21988 r $MAKE_PROG_RULES
21991 _ACEOF
21992 sed '
21993 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21994 s/^/s,@/; s/!/@,|#_!!_#|/
21997 s/'"$ac_delim"'$/,g/; t
21998 s/$/\\/; p
21999 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22000 ' >>$CONFIG_STATUS <conf$$subs.sed
22001 rm -f conf$$subs.sed
22002 cat >>$CONFIG_STATUS <<_ACEOF
22003 CEOF$ac_eof
22004 _ACEOF
22007 ac_delim='%!_!# '
22008 for ac_last_try in false false false false false :; do
22009 cat >conf$$subs.sed <<_ACEOF
22010 INSTALL_DATA!$INSTALL_DATA$ac_delim
22011 LINT!$LINT$ac_delim
22012 LINTFLAGS!$LINTFLAGS$ac_delim
22013 FONTFORGE!$FONTFORGE$ac_delim
22014 PKG_CONFIG!$PKG_CONFIG$ac_delim
22015 PRELINK!$PRELINK$ac_delim
22016 LIBPTHREAD!$LIBPTHREAD$ac_delim
22017 XLIB!$XLIB$ac_delim
22018 XFILES!$XFILES$ac_delim
22019 OPENGLFILES!$OPENGLFILES$ac_delim
22020 GLU32FILES!$GLU32FILES$ac_delim
22021 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22022 QUARTZFILES!$QUARTZFILES$ac_delim
22023 DLLEXT!$DLLEXT$ac_delim
22024 DLLFLAGS!$DLLFLAGS$ac_delim
22025 LDSHARED!$LDSHARED$ac_delim
22026 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22027 LIBEXT!$LIBEXT$ac_delim
22028 IMPLIBEXT!$IMPLIBEXT$ac_delim
22029 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22030 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22031 LDD!$LDD$ac_delim
22032 DLLTOOL!$DLLTOOL$ac_delim
22033 DLLWRAP!$DLLWRAP$ac_delim
22034 MINGWAR!$MINGWAR$ac_delim
22035 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22036 IOKITLIB!$IOKITLIB$ac_delim
22037 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22038 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22039 COREAUDIO!$COREAUDIO$ac_delim
22040 CARBONLIB!$CARBONLIB$ac_delim
22041 CROSSTEST!$CROSSTEST$ac_delim
22042 CROSSCC!$CROSSCC$ac_delim
22043 CROSSWINDRES!$CROSSWINDRES$ac_delim
22044 NASLIBS!$NASLIBS$ac_delim
22045 XML2LIBS!$XML2LIBS$ac_delim
22046 XML2INCL!$XML2INCL$ac_delim
22047 XSLTLIBS!$XSLTLIBS$ac_delim
22048 XSLTINCL!$XSLTINCL$ac_delim
22049 HALINCL!$HALINCL$ac_delim
22050 sane_devel!$sane_devel$ac_delim
22051 SANEINCL!$SANEINCL$ac_delim
22052 gphoto2_devel!$gphoto2_devel$ac_delim
22053 gphoto2port_devel!$gphoto2port_devel$ac_delim
22054 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22055 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22056 ICULIBS!$ICULIBS$ac_delim
22057 RESOLVLIBS!$RESOLVLIBS$ac_delim
22058 LCMSLIBS!$LCMSLIBS$ac_delim
22059 LDAPLIBS!$LDAPLIBS$ac_delim
22060 FREETYPELIBS!$FREETYPELIBS$ac_delim
22061 FREETYPEINCL!$FREETYPEINCL$ac_delim
22062 ft_devel!$ft_devel$ac_delim
22063 ft_devel2!$ft_devel2$ac_delim
22064 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22065 ESDCONFIG!$ESDCONFIG$ac_delim
22066 ESDLIBS!$ESDLIBS$ac_delim
22067 ESDINCL!$ESDINCL$ac_delim
22068 ALSALIBS!$ALSALIBS$ac_delim
22069 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22070 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22071 BUILTINFLAG!$BUILTINFLAG$ac_delim
22072 LDPATH!$LDPATH$ac_delim
22073 CRTLIBS!$CRTLIBS$ac_delim
22074 SOCKETLIBS!$SOCKETLIBS$ac_delim
22075 MAIN_BINARY!$MAIN_BINARY$ac_delim
22076 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22077 LIBDL!$LIBDL$ac_delim
22078 LIBPOLL!$LIBPOLL$ac_delim
22079 DEPENDENCIES!$DEPENDENCIES$ac_delim
22080 LIBOBJS!$LIBOBJS$ac_delim
22081 LTLIBOBJS!$LTLIBOBJS$ac_delim
22082 _ACEOF
22084 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22085 break
22086 elif $ac_last_try; then
22087 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22088 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22089 { (exit 1); exit 1; }; }
22090 else
22091 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22093 done
22095 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22096 if test -n "$ac_eof"; then
22097 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22098 ac_eof=`expr $ac_eof + 1`
22101 cat >>$CONFIG_STATUS <<_ACEOF
22102 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22103 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22104 _ACEOF
22105 sed '
22106 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22107 s/^/s,@/; s/!/@,|#_!!_#|/
22110 s/'"$ac_delim"'$/,g/; t
22111 s/$/\\/; p
22112 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22113 ' >>$CONFIG_STATUS <conf$$subs.sed
22114 rm -f conf$$subs.sed
22115 cat >>$CONFIG_STATUS <<_ACEOF
22116 :end
22117 s/|#_!!_#|//g
22118 CEOF$ac_eof
22119 _ACEOF
22122 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22123 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22124 # trailing colons and then remove the whole line if VPATH becomes empty
22125 # (actually we leave an empty line to preserve line numbers).
22126 if test "x$srcdir" = x.; then
22127 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22128 s/:*\$(srcdir):*/:/
22129 s/:*\${srcdir}:*/:/
22130 s/:*@srcdir@:*/:/
22131 s/^\([^=]*=[ ]*\):*/\1/
22132 s/:*$//
22133 s/^[^=]*=[ ]*$//
22137 cat >>$CONFIG_STATUS <<\_ACEOF
22138 fi # test -n "$CONFIG_FILES"
22141 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22143 case $ac_tag in
22144 :[FHLC]) ac_mode=$ac_tag; continue;;
22145 esac
22146 case $ac_mode$ac_tag in
22147 :[FHL]*:*);;
22148 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22149 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22150 { (exit 1); exit 1; }; };;
22151 :[FH]-) ac_tag=-:-;;
22152 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22153 esac
22154 ac_save_IFS=$IFS
22155 IFS=:
22156 set x $ac_tag
22157 IFS=$ac_save_IFS
22158 shift
22159 ac_file=$1
22160 shift
22162 case $ac_mode in
22163 :L) ac_source=$1;;
22164 :[FH])
22165 ac_file_inputs=
22166 for ac_f
22168 case $ac_f in
22169 -) ac_f="$tmp/stdin";;
22170 *) # Look for the file first in the build tree, then in the source tree
22171 # (if the path is not absolute). The absolute path cannot be DOS-style,
22172 # because $ac_f cannot contain `:'.
22173 test -f "$ac_f" ||
22174 case $ac_f in
22175 [\\/$]*) false;;
22176 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22177 esac ||
22178 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22179 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22180 { (exit 1); exit 1; }; };;
22181 esac
22182 ac_file_inputs="$ac_file_inputs $ac_f"
22183 done
22185 # Let's still pretend it is `configure' which instantiates (i.e., don't
22186 # use $as_me), people would be surprised to read:
22187 # /* config.h. Generated by config.status. */
22188 configure_input="Generated from "`IFS=:
22189 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22190 if test x"$ac_file" != x-; then
22191 configure_input="$ac_file. $configure_input"
22192 { echo "$as_me:$LINENO: creating $ac_file" >&5
22193 echo "$as_me: creating $ac_file" >&6;}
22196 case $ac_tag in
22197 *:-:* | *:-) cat >"$tmp/stdin";;
22198 esac
22200 esac
22202 ac_dir=`$as_dirname -- "$ac_file" ||
22203 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22204 X"$ac_file" : 'X\(//\)[^/]' \| \
22205 X"$ac_file" : 'X\(//\)$' \| \
22206 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22207 echo X"$ac_file" |
22208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22209 s//\1/
22212 /^X\(\/\/\)[^/].*/{
22213 s//\1/
22216 /^X\(\/\/\)$/{
22217 s//\1/
22220 /^X\(\/\).*/{
22221 s//\1/
22224 s/.*/./; q'`
22225 { as_dir="$ac_dir"
22226 case $as_dir in #(
22227 -*) as_dir=./$as_dir;;
22228 esac
22229 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22230 as_dirs=
22231 while :; do
22232 case $as_dir in #(
22233 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22234 *) as_qdir=$as_dir;;
22235 esac
22236 as_dirs="'$as_qdir' $as_dirs"
22237 as_dir=`$as_dirname -- "$as_dir" ||
22238 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22239 X"$as_dir" : 'X\(//\)[^/]' \| \
22240 X"$as_dir" : 'X\(//\)$' \| \
22241 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22242 echo X"$as_dir" |
22243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22244 s//\1/
22247 /^X\(\/\/\)[^/].*/{
22248 s//\1/
22251 /^X\(\/\/\)$/{
22252 s//\1/
22255 /^X\(\/\).*/{
22256 s//\1/
22259 s/.*/./; q'`
22260 test -d "$as_dir" && break
22261 done
22262 test -z "$as_dirs" || eval "mkdir $as_dirs"
22263 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22264 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22265 { (exit 1); exit 1; }; }; }
22266 ac_builddir=.
22268 case "$ac_dir" in
22269 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22271 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22272 # A ".." for each directory in $ac_dir_suffix.
22273 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22274 case $ac_top_builddir_sub in
22275 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22276 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22277 esac ;;
22278 esac
22279 ac_abs_top_builddir=$ac_pwd
22280 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22281 # for backward compatibility:
22282 ac_top_builddir=$ac_top_build_prefix
22284 case $srcdir in
22285 .) # We are building in place.
22286 ac_srcdir=.
22287 ac_top_srcdir=$ac_top_builddir_sub
22288 ac_abs_top_srcdir=$ac_pwd ;;
22289 [\\/]* | ?:[\\/]* ) # Absolute name.
22290 ac_srcdir=$srcdir$ac_dir_suffix;
22291 ac_top_srcdir=$srcdir
22292 ac_abs_top_srcdir=$srcdir ;;
22293 *) # Relative name.
22294 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22295 ac_top_srcdir=$ac_top_build_prefix$srcdir
22296 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22297 esac
22298 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22301 case $ac_mode in
22304 # CONFIG_FILE
22307 case $INSTALL in
22308 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22309 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22310 esac
22311 _ACEOF
22313 cat >>$CONFIG_STATUS <<\_ACEOF
22314 # If the template does not know about datarootdir, expand it.
22315 # FIXME: This hack should be removed a few years after 2.60.
22316 ac_datarootdir_hack=; ac_datarootdir_seen=
22318 case `sed -n '/datarootdir/ {
22322 /@datadir@/p
22323 /@docdir@/p
22324 /@infodir@/p
22325 /@localedir@/p
22326 /@mandir@/p
22327 ' $ac_file_inputs` in
22328 *datarootdir*) ac_datarootdir_seen=yes;;
22329 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22330 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22331 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22332 _ACEOF
22333 cat >>$CONFIG_STATUS <<_ACEOF
22334 ac_datarootdir_hack='
22335 s&@datadir@&$datadir&g
22336 s&@docdir@&$docdir&g
22337 s&@infodir@&$infodir&g
22338 s&@localedir@&$localedir&g
22339 s&@mandir@&$mandir&g
22340 s&\\\${datarootdir}&$datarootdir&g' ;;
22341 esac
22342 _ACEOF
22344 # Neutralize VPATH when `$srcdir' = `.'.
22345 # Shell code in configure.ac might set extrasub.
22346 # FIXME: do we really want to maintain this feature?
22347 cat >>$CONFIG_STATUS <<_ACEOF
22348 sed "$ac_vpsub
22349 $extrasub
22350 _ACEOF
22351 cat >>$CONFIG_STATUS <<\_ACEOF
22353 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22354 s&@configure_input@&$configure_input&;t t
22355 s&@top_builddir@&$ac_top_builddir_sub&;t t
22356 s&@srcdir@&$ac_srcdir&;t t
22357 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22358 s&@top_srcdir@&$ac_top_srcdir&;t t
22359 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22360 s&@builddir@&$ac_builddir&;t t
22361 s&@abs_builddir@&$ac_abs_builddir&;t t
22362 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22363 s&@INSTALL@&$ac_INSTALL&;t t
22364 $ac_datarootdir_hack
22365 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22367 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22368 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22369 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22370 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22371 which seems to be undefined. Please make sure it is defined." >&5
22372 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22373 which seems to be undefined. Please make sure it is defined." >&2;}
22375 rm -f "$tmp/stdin"
22376 case $ac_file in
22377 -) cat "$tmp/out"; rm -f "$tmp/out";;
22378 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22379 esac
22383 # CONFIG_HEADER
22385 _ACEOF
22387 # Transform confdefs.h into a sed script `conftest.defines', that
22388 # substitutes the proper values into config.h.in to produce config.h.
22389 rm -f conftest.defines conftest.tail
22390 # First, append a space to every undef/define line, to ease matching.
22391 echo 's/$/ /' >conftest.defines
22392 # Then, protect against being on the right side of a sed subst, or in
22393 # an unquoted here document, in config.status. If some macros were
22394 # called several times there might be several #defines for the same
22395 # symbol, which is useless. But do not sort them, since the last
22396 # AC_DEFINE must be honored.
22397 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22398 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22399 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22400 # PARAMS is the parameter list in the macro definition--in most cases, it's
22401 # just an empty string.
22402 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22403 ac_dB='\\)[ (].*,\\1define\\2'
22404 ac_dC=' '
22405 ac_dD=' ,'
22407 uniq confdefs.h |
22408 sed -n '
22409 t rset
22410 :rset
22411 s/^[ ]*#[ ]*define[ ][ ]*//
22412 t ok
22415 s/[\\&,]/\\&/g
22416 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22417 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22418 ' >>conftest.defines
22420 # Remove the space that was appended to ease matching.
22421 # Then replace #undef with comments. This is necessary, for
22422 # example, in the case of _POSIX_SOURCE, which is predefined and required
22423 # on some systems where configure will not decide to define it.
22424 # (The regexp can be short, since the line contains either #define or #undef.)
22425 echo 's/ $//
22426 s,^[ #]*u.*,/* & */,' >>conftest.defines
22428 # Break up conftest.defines:
22429 ac_max_sed_lines=50
22431 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22432 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22433 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22434 # et cetera.
22435 ac_in='$ac_file_inputs'
22436 ac_out='"$tmp/out1"'
22437 ac_nxt='"$tmp/out2"'
22439 while :
22441 # Write a here document:
22442 cat >>$CONFIG_STATUS <<_ACEOF
22443 # First, check the format of the line:
22444 cat >"\$tmp/defines.sed" <<\\CEOF
22445 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22446 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22448 :def
22449 _ACEOF
22450 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22451 echo 'CEOF
22452 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22453 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22454 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22455 grep . conftest.tail >/dev/null || break
22456 rm -f conftest.defines
22457 mv conftest.tail conftest.defines
22458 done
22459 rm -f conftest.defines conftest.tail
22461 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22462 cat >>$CONFIG_STATUS <<\_ACEOF
22463 if test x"$ac_file" != x-; then
22464 echo "/* $configure_input */" >"$tmp/config.h"
22465 cat "$ac_result" >>"$tmp/config.h"
22466 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22467 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22468 echo "$as_me: $ac_file is unchanged" >&6;}
22469 else
22470 rm -f $ac_file
22471 mv "$tmp/config.h" $ac_file
22473 else
22474 echo "/* $configure_input */"
22475 cat "$ac_result"
22477 rm -f "$tmp/out12"
22480 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22481 echo "$as_me: executing $ac_file commands" >&6;}
22483 esac
22486 case $ac_file$ac_mode in
22487 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22488 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22489 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22490 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22491 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22492 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22493 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22494 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22495 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22496 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22497 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22498 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22499 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22501 esac
22502 done # for ac_tag
22505 { (exit 0); exit 0; }
22506 _ACEOF
22507 chmod +x $CONFIG_STATUS
22508 ac_clean_files=$ac_clean_files_save
22511 # configure is writing to config.log, and then calls config.status.
22512 # config.status does its own redirection, appending to config.log.
22513 # Unfortunately, on DOS this fails, as config.log is still kept open
22514 # by configure, so config.status won't be able to write to it; its
22515 # output is simply discarded. So we exec the FD to /dev/null,
22516 # effectively closing config.log, so it can be properly (re)opened and
22517 # appended to by config.status. When coming back to configure, we
22518 # need to make the FD available again.
22519 if test "$no_create" != yes; then
22520 ac_cs_success=:
22521 ac_config_status_args=
22522 test "$silent" = yes &&
22523 ac_config_status_args="$ac_config_status_args --quiet"
22524 exec 5>/dev/null
22525 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22526 exec 5>>config.log
22527 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22528 # would make configure fail if this is the last instruction.
22529 $ac_cs_success || { (exit 1); exit 1; }
22534 if test "$no_create" = "yes"
22535 then
22536 exit 0
22539 if test "$verbose" = "yes"
22540 then
22541 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22542 then
22543 echo >&2
22544 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22545 echo "$as_me: libcapi20 development files not found." >&6;}
22546 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22547 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22550 if test "$ac_cv_header_cups_cups_h" != "yes"
22551 then
22552 echo >&2
22553 { echo "$as_me:$LINENO: libcups development files not found." >&5
22554 echo "$as_me: libcups development files not found." >&6;}
22555 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22556 echo "$as_me: Wine will be built without CUPS support." >&6;}
22560 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22561 then
22562 echo >&2
22563 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22564 echo "$as_me: libgphoto2 development files not found." >&6;}
22565 if test "$ac_cv_header_sane_sane_h" = "yes"
22566 then
22567 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22568 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22569 else
22570 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22571 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22575 if test "$ac_cv_header_hal_libhal_h" != "yes"
22576 then
22577 echo >&2
22578 { echo "$as_me:$LINENO: libhal development files not found." >&5
22579 echo "$as_me: libhal development files not found." >&6;}
22580 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22581 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22584 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22585 then
22586 echo >&2
22587 { echo "$as_me:$LINENO: libicu development files not found." >&5
22588 echo "$as_me: libicu development files not found." >&6;}
22589 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22590 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22593 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22594 then
22595 echo >&2
22596 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22597 echo "$as_me: liblcms development files not found." >&6;}
22598 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22599 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22602 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22603 then
22604 echo >&2
22605 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22606 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22607 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22608 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22611 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22612 then
22613 echo >&2
22614 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22615 echo "$as_me: lib(n)curses development files not found." >&6;}
22616 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22617 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22620 if test "$ac_cv_header_sane_sane_h" != "yes"
22621 then
22622 echo >&2
22623 { echo "$as_me:$LINENO: libsane development files not found." >&5
22624 echo "$as_me: libsane development files not found." >&6;}
22625 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22626 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22629 if test "$have_x" = "yes"
22630 then
22631 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22632 then
22633 echo >&2
22634 { echo "$as_me:$LINENO: libxext development files not found." >&5
22635 echo "$as_me: libxext development files not found." >&6;}
22636 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22637 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22640 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22641 then
22642 echo >&2
22643 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22644 echo "$as_me: libXrandr development files not found." >&6;}
22645 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22646 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22649 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22650 then
22651 echo >&2
22652 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22653 echo "$as_me: libXrender development files not found." >&6;}
22654 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22655 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22658 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22659 then
22660 echo >&2
22661 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22662 echo "$as_me: libXxf86vm development files not found." >&6;}
22663 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22664 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22668 if test "$ac_cv_header_libxml_parser_h" != "yes"
22669 then
22670 echo >&2
22671 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22672 echo "$as_me: libxml2 development files not found." >&6;}
22673 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22674 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22677 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22678 then
22679 echo >&2
22680 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22681 echo "$as_me: libxslt development files not found." >&6;}
22682 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22683 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22688 if test "$have_x" = "no"
22689 then
22690 echo >&2
22691 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22692 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22693 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22694 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22695 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22696 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22697 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22698 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22701 if test -z "$OPENGLFILES"
22702 then
22703 echo >&2
22704 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22705 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22706 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22707 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22708 if test "$wine_cv_opengl_headers_found" = "no"
22709 then
22710 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22711 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22713 if test "$wine_cv_opengl_header_version_OK" = "no"
22714 then
22715 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22716 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22717 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22718 then
22719 if test -f /usr/X11R6/lib/libGL.a
22720 then
22721 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22722 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22723 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22724 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22725 else
22726 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22727 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22732 if test "$wine_cv_msg_freetype" = "yes"
22733 then
22734 echo >&2
22735 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22736 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22737 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22738 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22739 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22740 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22741 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22742 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22745 if test -z "$FONTSSUBDIRS"
22746 then
22747 echo >&2
22748 if test "$FONTFORGE" = "false"
22749 then
22750 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22751 echo "$as_me: WARNING: FontForge is missing." >&2;}
22752 else
22753 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22754 echo "$as_me: WARNING: FreeType is missing." >&2;}
22756 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22757 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22760 if test -z "$ALSALIBS" -a \
22761 -z "$AUDIOIOLIBS" -a \
22762 -z "$NASLIBS" -a \
22763 -z "$ESD_LIBS" -a \
22764 -z "$ac_cv_lib_soname_jack" -a \
22765 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22766 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22767 "$ac_cv_header_soundcard_h" != "yes"
22768 then
22769 echo >&2
22770 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22771 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22772 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22773 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22774 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22775 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22778 echo
22779 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22780 echo