regedit: Write-strings warnings fix.
[wine/wine64.git] / configure
blobaec496cffbc01cb93d45ec4ed97198da3b0e87f0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.19.
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 Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
48 rm -f conf$$.sh
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
59 # IFS
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
64 as_nl='
66 IFS=" "" $as_nl"
68 # Find who we are. Look in the path if we contain no directory separator.
69 case $0 in
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72 for as_dir in $PATH
74 IFS=$as_save_IFS
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77 done
78 IFS=$as_save_IFS
81 esac
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x; then
85 as_myself=$0
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
89 { (exit 1); exit 1; }
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
95 done
96 PS1='$ '
97 PS2='> '
98 PS4='+ '
100 # NLS nuisances.
101 for as_var in \
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 LC_TELEPHONE LC_TIME
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
108 else
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 done
113 # Required to use basename.
114 if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
116 as_expr=expr
117 else
118 as_expr=false
121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
122 as_basename=basename
123 else
124 as_basename=false
128 # Name of the executable.
129 as_me=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133 echo X/"$0" |
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
135 s//\1/
138 /^X\/\(\/\/\)$/{
139 s//\1/
142 /^X\/\(\/\).*/{
143 s//\1/
146 s/.*/./; q'`
148 # CDPATH.
149 $as_unset CDPATH
152 if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
154 as_have_required=yes
155 else
156 as_have_required=no
159 if test $as_have_required = yes && (eval ":
160 (as_func_return () {
161 (exit \$1)
163 as_func_success () {
164 as_func_return 0
166 as_func_failure () {
167 as_func_return 1
169 as_func_ret_success () {
170 return 0
172 as_func_ret_failure () {
173 return 1
176 exitcode=0
177 if as_func_success; then
179 else
180 exitcode=1
181 echo as_func_success failed.
184 if as_func_failure; then
185 exitcode=1
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
191 else
192 exitcode=1
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
197 exitcode=1
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 else
204 exitcode=1
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
211 as_lineno_1=\$LINENO
212 as_lineno_2=\$LINENO
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev/null; then
217 else
218 as_candidate_shells=
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 case $as_dir in
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
228 done;;
229 esac
230 done
231 IFS=$as_save_IFS
234 for as_shell in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev/null <<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 BIN_SH=xpg4; export BIN_SH # for Tru64
250 DUALCASE=1; export DUALCASE # for MKS sh
253 _ASEOF
254 }; then
255 CONFIG_SHELL=$as_shell
256 as_have_required=yes
257 if { "$as_shell" 2> /dev/null <<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266 else
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 BIN_SH=xpg4; export BIN_SH # for Tru64
270 DUALCASE=1; export DUALCASE # for MKS sh
273 (as_func_return () {
274 (exit $1)
276 as_func_success () {
277 as_func_return 0
279 as_func_failure () {
280 as_func_return 1
282 as_func_ret_success () {
283 return 0
285 as_func_ret_failure () {
286 return 1
289 exitcode=0
290 if as_func_success; then
292 else
293 exitcode=1
294 echo as_func_success failed.
297 if as_func_failure; then
298 exitcode=1
299 echo as_func_failure succeeded.
302 if as_func_ret_success; then
304 else
305 exitcode=1
306 echo as_func_ret_success failed.
309 if as_func_ret_failure; then
310 exitcode=1
311 echo as_func_ret_failure succeeded.
314 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 else
317 exitcode=1
318 echo positional parameters were not saved.
321 test $exitcode = 0) || { (exit 1); exit 1; }
324 as_lineno_1=$LINENO
325 as_lineno_2=$LINENO
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
329 _ASEOF
330 }; then
331 break
336 done
338 if test "x$CONFIG_SHELL" != x; then
339 for as_var in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 done
342 export CONFIG_SHELL
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no; then
348 echo This script requires a shell more modern than all the
349 echo shells that I found on your system. Please install a
350 echo modern shell, or manually run the script under such a
351 echo shell if you do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
363 (exit \$1)
365 as_func_success () {
366 as_func_return 0
368 as_func_failure () {
369 as_func_return 1
371 as_func_ret_success () {
372 return 0
374 as_func_ret_failure () {
375 return 1
378 exitcode=0
379 if as_func_success; then
381 else
382 exitcode=1
383 echo as_func_success failed.
386 if as_func_failure; then
387 exitcode=1
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
393 else
394 exitcode=1
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
399 exitcode=1
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 else
406 exitcode=1
407 echo positional parameters were not saved.
410 test \$exitcode = 0") || {
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system,
413 echo including any error possibly output before this
414 echo message
419 as_lineno_1=$LINENO
420 as_lineno_2=$LINENO
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
430 # case at line end.
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
442 :lineno
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
456 . "./$as_me.lineno"
457 # Exit status is that of the last command.
458 exit
462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
463 as_dirname=dirname
464 else
465 as_dirname=false
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in
470 -n*)
471 case `echo 'x\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
473 *) ECHO_C='\c';;
474 esac;;
476 ECHO_N='-n';;
477 esac
479 if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
481 as_expr=expr
482 else
483 as_expr=false
486 rm -f conf$$ conf$$.exe conf$$.file
487 if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
489 else
490 rm -f conf$$.dir
491 mkdir conf$$.dir
493 echo >conf$$.file
494 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 as_ln_s='ln -s'
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 as_ln_s='cp -p'
502 elif ln conf$$.file conf$$ 2>/dev/null; then
503 as_ln_s=ln
504 else
505 as_ln_s='cp -p'
507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508 rmdir conf$$.dir 2>/dev/null
510 if mkdir -p . 2>/dev/null; then
511 as_mkdir_p=:
512 else
513 test -d ./-p && rmdir ./-p
514 as_mkdir_p=false
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.file <<_ASEOF
520 #! /bin/sh
521 exit 0
522 _ASEOF
523 chmod +x conf$$.file
524 if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
526 else
527 as_executable_p=:
529 rm -f conf$$.file
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev/null 6>&1
541 # Name of the host.
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 # Initializations.
549 ac_default_prefix=/usr/local
550 ac_clean_files=
551 ac_config_libobj_dir=.
552 LIBOBJS=
553 cross_compiling=no
554 subdirs=
555 MFLAGS=
556 MAKEFLAGS=
557 SHELL=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
560 PACKAGE_NAME='Wine'
561 PACKAGE_TARNAME='wine'
562 PACKAGE_VERSION='0.9.19'
563 PACKAGE_STRING='Wine 0.9.19'
564 PACKAGE_BUGREPORT='wine-devel@winehq.org'
566 ac_unique_file="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default="\
569 #include <stdio.h>
570 #if HAVE_SYS_TYPES_H
571 # include <sys/types.h>
572 #endif
573 #if HAVE_SYS_STAT_H
574 # include <sys/stat.h>
575 #endif
576 #if STDC_HEADERS
577 # include <stdlib.h>
578 # include <stddef.h>
579 #else
580 # if HAVE_STDLIB_H
581 # include <stdlib.h>
582 # endif
583 #endif
584 #if HAVE_STRING_H
585 # if !STDC_HEADERS && HAVE_MEMORY_H
586 # include <memory.h>
587 # endif
588 # include <string.h>
589 #endif
590 #if HAVE_STRINGS_H
591 # include <strings.h>
592 #endif
593 #if HAVE_INTTYPES_H
594 # include <inttypes.h>
595 #endif
596 #if HAVE_STDINT_H
597 # include <stdint.h>
598 #endif
599 #if HAVE_UNISTD_H
600 # include <unistd.h>
601 #endif"
603 ac_subst_vars='SHELL
604 PATH_SEPARATOR
605 PACKAGE_NAME
606 PACKAGE_TARNAME
607 PACKAGE_VERSION
608 PACKAGE_STRING
609 PACKAGE_BUGREPORT
610 exec_prefix
611 prefix
612 program_transform_name
613 bindir
614 sbindir
615 libexecdir
616 datarootdir
617 datadir
618 sysconfdir
619 sharedstatedir
620 localstatedir
621 includedir
622 oldincludedir
623 docdir
624 infodir
625 htmldir
626 dvidir
627 pdfdir
628 psdir
629 libdir
630 localedir
631 mandir
632 DEFS
633 ECHO_C
634 ECHO_N
635 ECHO_T
636 LIBS
637 build_alias
638 host_alias
639 target_alias
640 build
641 build_cpu
642 build_vendor
643 build_os
644 host
645 host_cpu
646 host_vendor
647 host_os
648 WIN16_FILES
649 WIN16_INSTALL
650 SET_MAKE
652 CFLAGS
653 LDFLAGS
654 CPPFLAGS
655 ac_ct_CC
656 EXEEXT
657 OBJEXT
659 CXXFLAGS
660 ac_ct_CXX
661 CPPBIN
662 TOOLSDIR
663 XMKMF
665 X_CFLAGS
666 X_PRE_LIBS
667 X_LIBS
668 X_EXTRA_LIBS
670 LEXLIB
671 LEX_OUTPUT_ROOT
672 XLEX
673 BISON
675 ac_ct_AS
678 RANLIB
679 STRIP
680 WINDRES
681 LN_S
683 GREP
684 EGREP
685 LDCONFIG
686 INSTALL_PROGRAM
687 INSTALL_SCRIPT
688 INSTALL_DATA
689 LINT
690 LINTFLAGS
691 FONTFORGE
692 PKG_CONFIG
693 PRELINK
694 LIBPTHREAD
695 XLIB
696 XFILES
697 OPENGLFILES
698 GLU32FILES
699 OPENGL_LIBS
700 GLUT_LIBS
701 GLUT32FILES
702 NASLIBS
703 XML2LIBS
704 XML2INCL
705 XSLTLIBS
706 XSLTINCL
707 HALINCL
708 CURSESLIBS
709 sane_devel
710 SANELIBS
711 SANEINCL
712 gphoto2_devel
713 gphoto2port_devel
714 GPHOTO2LIBS
715 GPHOTO2INCL
716 ICULIBS
717 RESOLVLIBS
718 LCMSLIBS
719 LDAPLIBS
720 FREETYPELIBS
721 FREETYPEINCL
722 ft_devel
723 ft_devel2
724 FONTSSUBDIRS
725 ARTSCCONFIG
726 ARTSLIBS
727 ARTSINCL
728 ESDCONFIG
729 ESDLIBS
730 ESDINCL
731 ALSALIBS
732 AUDIOIOLIBS
733 EXTRACFLAGS
734 BUILTINFLAG
735 DLLEXT
736 DLLFLAGS
737 DLLIBS
738 LDSHARED
739 LDDLLFLAGS
740 LIBEXT
741 IMPLIBEXT
742 DLLTOOL
743 DLLWRAP
744 LDEXECFLAGS
745 LDEXERPATH
746 LDDLLRPATH
747 COREFOUNDATIONLIB
748 IOKITLIB
749 COREAUDIO
750 CROSSTEST
751 CROSSCC
752 CROSSWINDRES
753 LDPATH
754 CRTLIBS
755 SOCKETLIBS
756 MAIN_BINARY
757 EXTRA_BINARIES
759 LIBOBJS
760 LTLIBOBJS'
761 ac_subst_files='MAKE_RULES
762 MAKE_DLL_RULES
763 MAKE_IMPLIB_RULES
764 MAKE_TEST_RULES
765 MAKE_PROG_RULES'
766 ac_precious_vars='build_alias
767 host_alias
768 target_alias
770 CFLAGS
771 LDFLAGS
772 CPPFLAGS
774 CXXFLAGS
776 XMKMF
777 CPP'
780 # Initialize some variables set by options.
781 ac_init_help=
782 ac_init_version=false
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
785 cache_file=/dev/null
786 exec_prefix=NONE
787 no_create=
788 no_recursion=
789 prefix=NONE
790 program_prefix=NONE
791 program_suffix=NONE
792 program_transform_name=s,x,x,
793 silent=
794 site=
795 srcdir=
796 verbose=
797 x_includes=NONE
798 x_libraries=NONE
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir='${exec_prefix}/bin'
807 sbindir='${exec_prefix}/sbin'
808 libexecdir='${exec_prefix}/libexec'
809 datarootdir='${prefix}/share'
810 datadir='${datarootdir}'
811 sysconfdir='${prefix}/etc'
812 sharedstatedir='${prefix}/com'
813 localstatedir='${prefix}/var'
814 includedir='${prefix}/include'
815 oldincludedir='/usr/include'
816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir='${datarootdir}/info'
818 htmldir='${docdir}'
819 dvidir='${docdir}'
820 pdfdir='${docdir}'
821 psdir='${docdir}'
822 libdir='${exec_prefix}/lib'
823 localedir='${datarootdir}/locale'
824 mandir='${datarootdir}/man'
826 ac_prev=
827 ac_dashdash=
828 for ac_option
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\$ac_option
833 ac_prev=
834 continue
837 case $ac_option in
838 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
839 *) ac_optarg=yes ;;
840 esac
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
846 ac_dashdash=yes ;;
848 -bindir | --bindir | --bindi | --bind | --bin | --bi)
849 ac_prev=bindir ;;
850 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
851 bindir=$ac_optarg ;;
853 -build | --build | --buil | --bui | --bu)
854 ac_prev=build_alias ;;
855 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856 build_alias=$ac_optarg ;;
858 -cache-file | --cache-file | --cache-fil | --cache-fi \
859 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860 ac_prev=cache_file ;;
861 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863 cache_file=$ac_optarg ;;
865 --config-cache | -C)
866 cache_file=config.cache ;;
868 -datadir | --datadir | --datadi | --datad)
869 ac_prev=datadir ;;
870 -datadir=* | --datadir=* | --datadi=* | --datad=*)
871 datadir=$ac_optarg ;;
873 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874 | --dataroo | --dataro | --datar)
875 ac_prev=datarootdir ;;
876 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878 datarootdir=$ac_optarg ;;
880 -disable-* | --disable-*)
881 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
884 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
885 { (exit 1); exit 1; }; }
886 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
887 eval enable_$ac_feature=no ;;
889 -docdir | --docdir | --docdi | --doc | --do)
890 ac_prev=docdir ;;
891 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
892 docdir=$ac_optarg ;;
894 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
895 ac_prev=dvidir ;;
896 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
897 dvidir=$ac_optarg ;;
899 -enable-* | --enable-*)
900 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
903 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
904 { (exit 1); exit 1; }; }
905 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
906 eval enable_$ac_feature=\$ac_optarg ;;
908 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
909 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
910 | --exec | --exe | --ex)
911 ac_prev=exec_prefix ;;
912 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
913 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
914 | --exec=* | --exe=* | --ex=*)
915 exec_prefix=$ac_optarg ;;
917 -gas | --gas | --ga | --g)
918 # Obsolete; use --with-gas.
919 with_gas=yes ;;
921 -help | --help | --hel | --he | -h)
922 ac_init_help=long ;;
923 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
924 ac_init_help=recursive ;;
925 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
926 ac_init_help=short ;;
928 -host | --host | --hos | --ho)
929 ac_prev=host_alias ;;
930 -host=* | --host=* | --hos=* | --ho=*)
931 host_alias=$ac_optarg ;;
933 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
934 ac_prev=htmldir ;;
935 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
936 | --ht=*)
937 htmldir=$ac_optarg ;;
939 -includedir | --includedir | --includedi | --included | --include \
940 | --includ | --inclu | --incl | --inc)
941 ac_prev=includedir ;;
942 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
943 | --includ=* | --inclu=* | --incl=* | --inc=*)
944 includedir=$ac_optarg ;;
946 -infodir | --infodir | --infodi | --infod | --info | --inf)
947 ac_prev=infodir ;;
948 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
949 infodir=$ac_optarg ;;
951 -libdir | --libdir | --libdi | --libd)
952 ac_prev=libdir ;;
953 -libdir=* | --libdir=* | --libdi=* | --libd=*)
954 libdir=$ac_optarg ;;
956 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
957 | --libexe | --libex | --libe)
958 ac_prev=libexecdir ;;
959 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
960 | --libexe=* | --libex=* | --libe=*)
961 libexecdir=$ac_optarg ;;
963 -localedir | --localedir | --localedi | --localed | --locale)
964 ac_prev=localedir ;;
965 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
966 localedir=$ac_optarg ;;
968 -localstatedir | --localstatedir | --localstatedi | --localstated \
969 | --localstate | --localstat | --localsta | --localst | --locals)
970 ac_prev=localstatedir ;;
971 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
972 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
973 localstatedir=$ac_optarg ;;
975 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
976 ac_prev=mandir ;;
977 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
978 mandir=$ac_optarg ;;
980 -nfp | --nfp | --nf)
981 # Obsolete; use --without-fp.
982 with_fp=no ;;
984 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
985 | --no-cr | --no-c | -n)
986 no_create=yes ;;
988 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
989 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
990 no_recursion=yes ;;
992 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
993 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
994 | --oldin | --oldi | --old | --ol | --o)
995 ac_prev=oldincludedir ;;
996 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
997 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
998 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
999 oldincludedir=$ac_optarg ;;
1001 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1002 ac_prev=prefix ;;
1003 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1004 prefix=$ac_optarg ;;
1006 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1007 | --program-pre | --program-pr | --program-p)
1008 ac_prev=program_prefix ;;
1009 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1010 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1011 program_prefix=$ac_optarg ;;
1013 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1014 | --program-suf | --program-su | --program-s)
1015 ac_prev=program_suffix ;;
1016 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1017 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1018 program_suffix=$ac_optarg ;;
1020 -program-transform-name | --program-transform-name \
1021 | --program-transform-nam | --program-transform-na \
1022 | --program-transform-n | --program-transform- \
1023 | --program-transform | --program-transfor \
1024 | --program-transfo | --program-transf \
1025 | --program-trans | --program-tran \
1026 | --progr-tra | --program-tr | --program-t)
1027 ac_prev=program_transform_name ;;
1028 -program-transform-name=* | --program-transform-name=* \
1029 | --program-transform-nam=* | --program-transform-na=* \
1030 | --program-transform-n=* | --program-transform-=* \
1031 | --program-transform=* | --program-transfor=* \
1032 | --program-transfo=* | --program-transf=* \
1033 | --program-trans=* | --program-tran=* \
1034 | --progr-tra=* | --program-tr=* | --program-t=*)
1035 program_transform_name=$ac_optarg ;;
1037 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1038 ac_prev=pdfdir ;;
1039 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1040 pdfdir=$ac_optarg ;;
1042 -psdir | --psdir | --psdi | --psd | --ps)
1043 ac_prev=psdir ;;
1044 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1045 psdir=$ac_optarg ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1049 silent=yes ;;
1051 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1052 ac_prev=sbindir ;;
1053 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1054 | --sbi=* | --sb=*)
1055 sbindir=$ac_optarg ;;
1057 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1058 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1059 | --sharedst | --shareds | --shared | --share | --shar \
1060 | --sha | --sh)
1061 ac_prev=sharedstatedir ;;
1062 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1063 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1064 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1065 | --sha=* | --sh=*)
1066 sharedstatedir=$ac_optarg ;;
1068 -site | --site | --sit)
1069 ac_prev=site ;;
1070 -site=* | --site=* | --sit=*)
1071 site=$ac_optarg ;;
1073 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1074 ac_prev=srcdir ;;
1075 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1076 srcdir=$ac_optarg ;;
1078 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1079 | --syscon | --sysco | --sysc | --sys | --sy)
1080 ac_prev=sysconfdir ;;
1081 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1082 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1083 sysconfdir=$ac_optarg ;;
1085 -target | --target | --targe | --targ | --tar | --ta | --t)
1086 ac_prev=target_alias ;;
1087 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1088 target_alias=$ac_optarg ;;
1090 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1091 verbose=yes ;;
1093 -version | --version | --versio | --versi | --vers | -V)
1094 ac_init_version=: ;;
1096 -with-* | --with-*)
1097 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1100 { echo "$as_me: error: invalid package name: $ac_package" >&2
1101 { (exit 1); exit 1; }; }
1102 ac_package=`echo $ac_package| sed 's/-/_/g'`
1103 eval with_$ac_package=\$ac_optarg ;;
1105 -without-* | --without-*)
1106 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1109 { echo "$as_me: error: invalid package name: $ac_package" >&2
1110 { (exit 1); exit 1; }; }
1111 ac_package=`echo $ac_package | sed 's/-/_/g'`
1112 eval with_$ac_package=no ;;
1114 --x)
1115 # Obsolete; use --with-x.
1116 with_x=yes ;;
1118 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1119 | --x-incl | --x-inc | --x-in | --x-i)
1120 ac_prev=x_includes ;;
1121 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1122 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1123 x_includes=$ac_optarg ;;
1125 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1126 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1127 ac_prev=x_libraries ;;
1128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1130 x_libraries=$ac_optarg ;;
1132 -*) { echo "$as_me: error: unrecognized option: $ac_option
1133 Try \`$0 --help' for more information." >&2
1134 { (exit 1); exit 1; }; }
1137 *=*)
1138 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1141 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1142 { (exit 1); exit 1; }; }
1143 eval $ac_envvar=\$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1150 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1154 esac
1155 done
1157 if test -n "$ac_prev"; then
1158 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1159 { echo "$as_me: error: missing argument to $ac_option" >&2
1160 { (exit 1); exit 1; }; }
1163 # Be sure to have absolute directory names.
1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1169 eval ac_val=\$$ac_var
1170 case $ac_val in
1171 [\\/$]* | ?:[\\/]* ) continue;;
1172 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1173 esac
1174 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1175 { (exit 1); exit 1; }; }
1176 done
1178 # There might be people who depend on the old broken behavior: `$host'
1179 # used to hold the argument of --host etc.
1180 # FIXME: To remove some day.
1181 build=$build_alias
1182 host=$host_alias
1183 target=$target_alias
1185 # FIXME: To remove some day.
1186 if test "x$host_alias" != x; then
1187 if test "x$build_alias" = x; then
1188 cross_compiling=maybe
1189 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1190 If a cross compiler is detected then cross compile mode will be used." >&2
1191 elif test "x$build_alias" != "x$host_alias"; then
1192 cross_compiling=yes
1196 ac_tool_prefix=
1197 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1199 test "$silent" = yes && exec 6>/dev/null
1202 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1203 ac_ls_di=`ls -di .` &&
1204 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1205 { echo "$as_me: error: Working directory cannot be determined" >&2
1206 { (exit 1); exit 1; }; }
1207 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1208 { echo "$as_me: error: pwd does not report name of working directory" >&2
1209 { (exit 1); exit 1; }; }
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir=`$as_dirname -- "$0" ||
1217 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$0" : 'X\(//\)[^/]' \| \
1219 X"$0" : 'X\(//\)$' \| \
1220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1221 echo X"$0" |
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1223 s//\1/
1226 /^X\(\/\/\)[^/].*/{
1227 s//\1/
1230 /^X\(\/\/\)$/{
1231 s//\1/
1234 /^X\(\/\).*/{
1235 s//\1/
1238 s/.*/./; q'`
1239 srcdir=$ac_confdir
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1241 srcdir=..
1243 else
1244 ac_srcdir_defaulted=no
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1248 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1249 { (exit 1); exit 1; }; }
1251 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1252 ac_abs_confdir=`(
1253 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1254 { (exit 1); exit 1; }; }
1255 pwd)`
1256 # When building in place, set srcdir=.
1257 if test "$ac_abs_confdir" = "$ac_pwd"; then
1258 srcdir=.
1260 # Remove unnecessary trailing slashes from srcdir.
1261 # Double slashes in file names in object file debugging info
1262 # mess up M-x gdb in Emacs.
1263 case $srcdir in
1264 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265 esac
1266 for ac_var in $ac_precious_vars; do
1267 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1268 eval ac_env_${ac_var}_value=\$${ac_var}
1269 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1270 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1271 done
1274 # Report the --help message.
1276 if test "$ac_init_help" = "long"; then
1277 # Omit some internal or obsolete options to make the list less imposing.
1278 # This message is too long to be a string in the A/UX 3.1 sh.
1279 cat <<_ACEOF
1280 \`configure' configures Wine 0.9.19 to adapt to many kinds of systems.
1282 Usage: $0 [OPTION]... [VAR=VALUE]...
1284 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1285 VAR=VALUE. See below for descriptions of some of the useful variables.
1287 Defaults for the options are specified in brackets.
1289 Configuration:
1290 -h, --help display this help and exit
1291 --help=short display options specific to this package
1292 --help=recursive display the short help of all the included packages
1293 -V, --version display version information and exit
1294 -q, --quiet, --silent do not print \`checking...' messages
1295 --cache-file=FILE cache test results in FILE [disabled]
1296 -C, --config-cache alias for \`--cache-file=config.cache'
1297 -n, --no-create do not create output files
1298 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1300 Installation directories:
1301 --prefix=PREFIX install architecture-independent files in PREFIX
1302 [$ac_default_prefix]
1303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1304 [PREFIX]
1306 By default, \`make install' will install all the files in
1307 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1308 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1309 for instance \`--prefix=\$HOME'.
1311 For better control, use the options below.
1313 Fine tuning of the installation directories:
1314 --bindir=DIR user executables [EPREFIX/bin]
1315 --sbindir=DIR system admin executables [EPREFIX/sbin]
1316 --libexecdir=DIR program executables [EPREFIX/libexec]
1317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1319 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1329 --htmldir=DIR html documentation [DOCDIR]
1330 --dvidir=DIR dvi documentation [DOCDIR]
1331 --pdfdir=DIR pdf documentation [DOCDIR]
1332 --psdir=DIR ps documentation [DOCDIR]
1333 _ACEOF
1335 cat <<\_ACEOF
1337 X features:
1338 --x-includes=DIR X include files are in DIR
1339 --x-libraries=DIR X library files are in DIR
1341 System types:
1342 --build=BUILD configure for building on BUILD [guessed]
1343 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1344 _ACEOF
1347 if test -n "$ac_init_help"; then
1348 case $ac_init_help in
1349 short | recursive ) echo "Configuration of Wine 0.9.19:";;
1350 esac
1351 cat <<\_ACEOF
1353 Optional Features:
1354 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1355 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1356 --disable-win16 do not include Win16 support
1357 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1358 binaries)
1360 Optional Packages:
1361 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1362 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1363 --without-opengl do not use OpenGL
1364 --without-curses do not use curses
1365 --with-wine-tools=<dir> use Wine tools from directory <dir>
1366 --with-x use the X Window System
1368 Some influential environment variables:
1369 CC C compiler command
1370 CFLAGS C compiler flags
1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1372 nonstandard directory <lib dir>
1373 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1374 you have headers in a nonstandard directory <include dir>
1375 CXX C++ compiler command
1376 CXXFLAGS C++ compiler flags
1377 XMKMF Path to xmkmf, Makefile generator for X Window System
1378 CPP C preprocessor
1380 Use these variables to override the choices made by `configure' or to help
1381 it to find libraries and programs with nonstandard names/locations.
1383 Report bugs to <wine-devel@winehq.org>.
1384 _ACEOF
1385 ac_status=$?
1388 if test "$ac_init_help" = "recursive"; then
1389 # If there are subdirs, report their specific --help.
1390 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1391 test -d "$ac_dir" || continue
1392 ac_builddir=.
1394 case "$ac_dir" in
1395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1398 # A ".." for each directory in $ac_dir_suffix.
1399 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1400 case $ac_top_builddir_sub in
1401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1403 esac ;;
1404 esac
1405 ac_abs_top_builddir=$ac_pwd
1406 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1407 # for backward compatibility:
1408 ac_top_builddir=$ac_top_build_prefix
1410 case $srcdir in
1411 .) # We are building in place.
1412 ac_srcdir=.
1413 ac_top_srcdir=$ac_top_builddir_sub
1414 ac_abs_top_srcdir=$ac_pwd ;;
1415 [\\/]* | ?:[\\/]* ) # Absolute name.
1416 ac_srcdir=$srcdir$ac_dir_suffix;
1417 ac_top_srcdir=$srcdir
1418 ac_abs_top_srcdir=$srcdir ;;
1419 *) # Relative name.
1420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1421 ac_top_srcdir=$ac_top_build_prefix$srcdir
1422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1423 esac
1424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1426 cd "$ac_dir" || { ac_status=$?; continue; }
1427 # Check for guested configure.
1428 if test -f "$ac_srcdir/configure.gnu"; then
1429 echo &&
1430 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1431 elif test -f "$ac_srcdir/configure"; then
1432 echo &&
1433 $SHELL "$ac_srcdir/configure" --help=recursive
1434 else
1435 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1436 fi || ac_status=$?
1437 cd "$ac_pwd" || { ac_status=$?; break; }
1438 done
1441 test -n "$ac_init_help" && exit $ac_status
1442 if $ac_init_version; then
1443 cat <<\_ACEOF
1444 Wine configure 0.9.19
1445 generated by GNU Autoconf 2.60a
1447 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1448 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1449 This configure script is free software; the Free Software Foundation
1450 gives unlimited permission to copy, distribute and modify it.
1451 _ACEOF
1452 exit
1454 cat >config.log <<_ACEOF
1455 This file contains any messages produced by compilers while
1456 running configure, to aid debugging if configure makes a mistake.
1458 It was created by Wine $as_me 0.9.19, which was
1459 generated by GNU Autoconf 2.60a. Invocation command line was
1461 $ $0 $@
1463 _ACEOF
1464 exec 5>>config.log
1466 cat <<_ASUNAME
1467 ## --------- ##
1468 ## Platform. ##
1469 ## --------- ##
1471 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1472 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1473 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1474 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1475 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1477 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1478 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1480 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1481 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1482 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1483 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1484 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1485 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1486 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1488 _ASUNAME
1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1491 for as_dir in $PATH
1493 IFS=$as_save_IFS
1494 test -z "$as_dir" && as_dir=.
1495 echo "PATH: $as_dir"
1496 done
1497 IFS=$as_save_IFS
1499 } >&5
1501 cat >&5 <<_ACEOF
1504 ## ----------- ##
1505 ## Core tests. ##
1506 ## ----------- ##
1508 _ACEOF
1511 # Keep a trace of the command line.
1512 # Strip out --no-create and --no-recursion so they do not pile up.
1513 # Strip out --silent because we don't want to record it for future runs.
1514 # Also quote any args containing shell meta-characters.
1515 # Make two passes to allow for proper duplicate-argument suppression.
1516 ac_configure_args=
1517 ac_configure_args0=
1518 ac_configure_args1=
1519 ac_must_keep_next=false
1520 for ac_pass in 1 2
1522 for ac_arg
1524 case $ac_arg in
1525 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1527 | -silent | --silent | --silen | --sile | --sil)
1528 continue ;;
1529 *\'*)
1530 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1531 esac
1532 case $ac_pass in
1533 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1535 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1536 if test $ac_must_keep_next = true; then
1537 ac_must_keep_next=false # Got value, back to normal.
1538 else
1539 case $ac_arg in
1540 *=* | --config-cache | -C | -disable-* | --disable-* \
1541 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1542 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1543 | -with-* | --with-* | -without-* | --without-* | --x)
1544 case "$ac_configure_args0 " in
1545 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1546 esac
1548 -* ) ac_must_keep_next=true ;;
1549 esac
1551 ac_configure_args="$ac_configure_args '$ac_arg'"
1553 esac
1554 done
1555 done
1556 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1557 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1559 # When interrupted or exit'd, cleanup temporary files, and complete
1560 # config.log. We remove comments because anyway the quotes in there
1561 # would cause problems or look ugly.
1562 # WARNING: Use '\'' to represent an apostrophe within the trap.
1563 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1564 trap 'exit_status=$?
1565 # Save into config.log some information that might help in debugging.
1567 echo
1569 cat <<\_ASBOX
1570 ## ---------------- ##
1571 ## Cache variables. ##
1572 ## ---------------- ##
1573 _ASBOX
1574 echo
1575 # The following way of writing the cache mishandles newlines in values,
1577 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1578 eval ac_val=\$$ac_var
1579 case $ac_val in #(
1580 *${as_nl}*)
1581 case $ac_var in #(
1582 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1583 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1584 esac
1585 case $ac_var in #(
1586 _ | IFS | as_nl) ;; #(
1587 *) $as_unset $ac_var ;;
1588 esac ;;
1589 esac
1590 done
1591 (set) 2>&1 |
1592 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1593 *${as_nl}ac_space=\ *)
1594 sed -n \
1595 "s/'\''/'\''\\\\'\'''\''/g;
1596 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1597 ;; #(
1599 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1601 esac |
1602 sort
1604 echo
1606 cat <<\_ASBOX
1607 ## ----------------- ##
1608 ## Output variables. ##
1609 ## ----------------- ##
1610 _ASBOX
1611 echo
1612 for ac_var in $ac_subst_vars
1614 eval ac_val=\$$ac_var
1615 case $ac_val in
1616 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1617 esac
1618 echo "$ac_var='\''$ac_val'\''"
1619 done | sort
1620 echo
1622 if test -n "$ac_subst_files"; then
1623 cat <<\_ASBOX
1624 ## ------------------- ##
1625 ## File substitutions. ##
1626 ## ------------------- ##
1627 _ASBOX
1628 echo
1629 for ac_var in $ac_subst_files
1631 eval ac_val=\$$ac_var
1632 case $ac_val in
1633 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 esac
1635 echo "$ac_var='\''$ac_val'\''"
1636 done | sort
1637 echo
1640 if test -s confdefs.h; then
1641 cat <<\_ASBOX
1642 ## ----------- ##
1643 ## confdefs.h. ##
1644 ## ----------- ##
1645 _ASBOX
1646 echo
1647 cat confdefs.h
1648 echo
1650 test "$ac_signal" != 0 &&
1651 echo "$as_me: caught signal $ac_signal"
1652 echo "$as_me: exit $exit_status"
1653 } >&5
1654 rm -f core *.core core.conftest.* &&
1655 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1656 exit $exit_status
1658 for ac_signal in 1 2 13 15; do
1659 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1660 done
1661 ac_signal=0
1663 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1664 rm -f -r conftest* confdefs.h
1666 # Predefined preprocessor variables.
1668 cat >>confdefs.h <<_ACEOF
1669 #define PACKAGE_NAME "$PACKAGE_NAME"
1670 _ACEOF
1673 cat >>confdefs.h <<_ACEOF
1674 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1675 _ACEOF
1678 cat >>confdefs.h <<_ACEOF
1679 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1680 _ACEOF
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_STRING "$PACKAGE_STRING"
1685 _ACEOF
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1690 _ACEOF
1693 # Let the site file select an alternate cache file if it wants to.
1694 # Prefer explicitly selected file to automatically selected ones.
1695 if test -n "$CONFIG_SITE"; then
1696 set x "$CONFIG_SITE"
1697 elif test "x$prefix" != xNONE; then
1698 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1699 else
1700 set x "$ac_default_prefix/share/config.site" \
1701 "$ac_default_prefix/etc/config.site"
1703 shift
1704 for ac_site_file
1706 if test -r "$ac_site_file"; then
1707 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1708 echo "$as_me: loading site script $ac_site_file" >&6;}
1709 sed 's/^/| /' "$ac_site_file" >&5
1710 . "$ac_site_file"
1712 done
1714 if test -r "$cache_file"; then
1715 # Some versions of bash will fail to source /dev/null (special
1716 # files actually), so we avoid doing that.
1717 if test -f "$cache_file"; then
1718 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1719 echo "$as_me: loading cache $cache_file" >&6;}
1720 case $cache_file in
1721 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1722 *) . "./$cache_file";;
1723 esac
1725 else
1726 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1727 echo "$as_me: creating cache $cache_file" >&6;}
1728 >$cache_file
1731 # Check that the precious variables saved in the cache have kept the same
1732 # value.
1733 ac_cache_corrupted=false
1734 for ac_var in $ac_precious_vars; do
1735 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1736 eval ac_new_set=\$ac_env_${ac_var}_set
1737 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1738 eval ac_new_val=\$ac_env_${ac_var}_value
1739 case $ac_old_set,$ac_new_set in
1740 set,)
1741 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1742 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1743 ac_cache_corrupted=: ;;
1744 ,set)
1745 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1746 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1747 ac_cache_corrupted=: ;;
1748 ,);;
1750 if test "x$ac_old_val" != "x$ac_new_val"; then
1751 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1752 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1753 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1754 echo "$as_me: former value: $ac_old_val" >&2;}
1755 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1756 echo "$as_me: current value: $ac_new_val" >&2;}
1757 ac_cache_corrupted=:
1758 fi;;
1759 esac
1760 # Pass precious variables to config.status.
1761 if test "$ac_new_set" = set; then
1762 case $ac_new_val in
1763 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1764 *) ac_arg=$ac_var=$ac_new_val ;;
1765 esac
1766 case " $ac_configure_args " in
1767 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1768 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1769 esac
1771 done
1772 if $ac_cache_corrupted; then
1773 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1774 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1775 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1776 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1777 { (exit 1); exit 1; }; }
1804 ac_ext=c
1805 ac_cpp='$CPP $CPPFLAGS'
1806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1812 ac_config_headers="$ac_config_headers include/config.h"
1814 ac_aux_dir=
1815 for ac_dir in tools "$srcdir"/tools; do
1816 if test -f "$ac_dir/install-sh"; then
1817 ac_aux_dir=$ac_dir
1818 ac_install_sh="$ac_aux_dir/install-sh -c"
1819 break
1820 elif test -f "$ac_dir/install.sh"; then
1821 ac_aux_dir=$ac_dir
1822 ac_install_sh="$ac_aux_dir/install.sh -c"
1823 break
1824 elif test -f "$ac_dir/shtool"; then
1825 ac_aux_dir=$ac_dir
1826 ac_install_sh="$ac_aux_dir/shtool install -c"
1827 break
1829 done
1830 if test -z "$ac_aux_dir"; then
1831 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1832 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1833 { (exit 1); exit 1; }; }
1836 # These three variables are undocumented and unsupported,
1837 # and are intended to be withdrawn in a future Autoconf release.
1838 # They can cause serious problems if a builder's source tree is in a directory
1839 # whose full name contains unusual characters.
1840 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1841 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1842 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1847 # Check whether --enable-win16 was given.
1848 if test "${enable_win16+set}" = set; then
1849 enableval=$enable_win16;
1852 # Check whether --enable-win64 was given.
1853 if test "${enable_win64+set}" = set; then
1854 enableval=$enable_win64;
1859 # Check whether --with-opengl was given.
1860 if test "${with_opengl+set}" = set; then
1861 withval=$with_opengl;
1865 # Check whether --with-curses was given.
1866 if test "${with_curses+set}" = set; then
1867 withval=$with_curses;
1871 # Check whether --with-wine-tools was given.
1872 if test "${with_wine_tools+set}" = set; then
1873 withval=$with_wine_tools;
1877 # Make sure we can run config.sub.
1878 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1879 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1880 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1881 { (exit 1); exit 1; }; }
1883 { echo "$as_me:$LINENO: checking build system type" >&5
1884 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1885 if test "${ac_cv_build+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 else
1888 ac_build_alias=$build_alias
1889 test "x$ac_build_alias" = x &&
1890 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1891 test "x$ac_build_alias" = x &&
1892 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1893 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1894 { (exit 1); exit 1; }; }
1895 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1896 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1897 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1898 { (exit 1); exit 1; }; }
1901 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1902 echo "${ECHO_T}$ac_cv_build" >&6; }
1903 case $ac_cv_build in
1904 *-*-*) ;;
1905 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1906 echo "$as_me: error: invalid value of canonical build" >&2;}
1907 { (exit 1); exit 1; }; };;
1908 esac
1909 build=$ac_cv_build
1910 ac_save_IFS=$IFS; IFS='-'
1911 set x $ac_cv_build
1912 shift
1913 build_cpu=$1
1914 build_vendor=$2
1915 shift; shift
1916 # Remember, the first character of IFS is used to create $*,
1917 # except with old shells:
1918 build_os=$*
1919 IFS=$ac_save_IFS
1920 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1923 { echo "$as_me:$LINENO: checking host system type" >&5
1924 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1925 if test "${ac_cv_host+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 else
1928 if test "x$host_alias" = x; then
1929 ac_cv_host=$ac_cv_build
1930 else
1931 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1932 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1933 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1934 { (exit 1); exit 1; }; }
1938 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1939 echo "${ECHO_T}$ac_cv_host" >&6; }
1940 case $ac_cv_host in
1941 *-*-*) ;;
1942 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1943 echo "$as_me: error: invalid value of canonical host" >&2;}
1944 { (exit 1); exit 1; }; };;
1945 esac
1946 host=$ac_cv_host
1947 ac_save_IFS=$IFS; IFS='-'
1948 set x $ac_cv_host
1949 shift
1950 host_cpu=$1
1951 host_vendor=$2
1952 shift; shift
1953 # Remember, the first character of IFS is used to create $*,
1954 # except with old shells:
1955 host_os=$*
1956 IFS=$ac_save_IFS
1957 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1960 case $host in
1961 x86_64*linux*)
1962 if test "x$enable_win64" != "xyes"
1963 then
1964 test -n "$CC" || CC="gcc -m32"
1965 test -n "$LD" || LD="ld -m elf_i386"
1966 test -n "$AS" || AS="as --32"
1967 host_cpu="i386"
1970 esac
1972 case $host_cpu in
1973 *i[3456789]86*)
1974 if test "x$enable_win16" != "xno"
1975 then
1976 enable_win16="yes"
1979 esac
1981 WIN16_FILES="\$(WIN16_FILES)"
1983 WIN16_INSTALL="\$(WIN16_INSTALL)"
1985 if test "x$enable_win16" != "xyes"
1986 then
1987 WIN16_FILES=""
1988 WIN16_INSTALL=""
1992 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1993 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1994 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1995 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1997 else
1998 cat >conftest.make <<\_ACEOF
1999 SHELL = /bin/sh
2000 all:
2001 @echo '@@@%%%=$(MAKE)=@@@%%%'
2002 _ACEOF
2003 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2004 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2005 *@@@%%%=?*=@@@%%%*)
2006 eval ac_cv_prog_make_${ac_make}_set=yes;;
2008 eval ac_cv_prog_make_${ac_make}_set=no;;
2009 esac
2010 rm -f conftest.make
2012 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2013 { echo "$as_me:$LINENO: result: yes" >&5
2014 echo "${ECHO_T}yes" >&6; }
2015 SET_MAKE=
2016 else
2017 { echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6; }
2019 SET_MAKE="MAKE=${MAKE-make}"
2022 ac_ext=c
2023 ac_cpp='$CPP $CPPFLAGS'
2024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2027 if test -n "$ac_tool_prefix"; then
2028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2029 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2032 if test "${ac_cv_prog_CC+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 else
2035 if test -n "$CC"; then
2036 ac_cv_prog_CC="$CC" # Let the user override the test.
2037 else
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 for as_dir in $PATH
2041 IFS=$as_save_IFS
2042 test -z "$as_dir" && as_dir=.
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2045 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2047 break 2
2049 done
2050 done
2051 IFS=$as_save_IFS
2055 CC=$ac_cv_prog_CC
2056 if test -n "$CC"; then
2057 { echo "$as_me:$LINENO: result: $CC" >&5
2058 echo "${ECHO_T}$CC" >&6; }
2059 else
2060 { echo "$as_me:$LINENO: result: no" >&5
2061 echo "${ECHO_T}no" >&6; }
2066 if test -z "$ac_cv_prog_CC"; then
2067 ac_ct_CC=$CC
2068 # Extract the first word of "gcc", so it can be a program name with args.
2069 set dummy gcc; ac_word=$2
2070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 else
2075 if test -n "$ac_ct_CC"; then
2076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2077 else
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 for as_dir in $PATH
2081 IFS=$as_save_IFS
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2085 ac_cv_prog_ac_ct_CC="gcc"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 break 2
2089 done
2090 done
2091 IFS=$as_save_IFS
2095 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2096 if test -n "$ac_ct_CC"; then
2097 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2098 echo "${ECHO_T}$ac_ct_CC" >&6; }
2099 else
2100 { echo "$as_me:$LINENO: result: no" >&5
2101 echo "${ECHO_T}no" >&6; }
2104 if test "x$ac_ct_CC" = x; then
2105 CC=""
2106 else
2107 case $cross_compiling:$ac_tool_warned in
2108 yes:)
2109 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2110 whose name does not start with the host triplet. If you think this
2111 configuration is useful to you, please write to autoconf@gnu.org." >&5
2112 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2113 whose name does not start with the host triplet. If you think this
2114 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2115 ac_tool_warned=yes ;;
2116 esac
2117 CC=$ac_ct_CC
2119 else
2120 CC="$ac_cv_prog_CC"
2123 if test -z "$CC"; then
2124 if test -n "$ac_tool_prefix"; then
2125 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2126 set dummy ${ac_tool_prefix}cc; ac_word=$2
2127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2129 if test "${ac_cv_prog_CC+set}" = set; then
2130 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 else
2132 if test -n "$CC"; then
2133 ac_cv_prog_CC="$CC" # Let the user override the test.
2134 else
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 for as_dir in $PATH
2138 IFS=$as_save_IFS
2139 test -z "$as_dir" && as_dir=.
2140 for ac_exec_ext in '' $ac_executable_extensions; do
2141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2142 ac_cv_prog_CC="${ac_tool_prefix}cc"
2143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144 break 2
2146 done
2147 done
2148 IFS=$as_save_IFS
2152 CC=$ac_cv_prog_CC
2153 if test -n "$CC"; then
2154 { echo "$as_me:$LINENO: result: $CC" >&5
2155 echo "${ECHO_T}$CC" >&6; }
2156 else
2157 { echo "$as_me:$LINENO: result: no" >&5
2158 echo "${ECHO_T}no" >&6; }
2164 if test -z "$CC"; then
2165 # Extract the first word of "cc", so it can be a program name with args.
2166 set dummy cc; ac_word=$2
2167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2169 if test "${ac_cv_prog_CC+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 else
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2174 else
2175 ac_prog_rejected=no
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 for as_dir in $PATH
2179 IFS=$as_save_IFS
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2183 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2184 ac_prog_rejected=yes
2185 continue
2187 ac_cv_prog_CC="cc"
2188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 break 2
2191 done
2192 done
2193 IFS=$as_save_IFS
2195 if test $ac_prog_rejected = yes; then
2196 # We found a bogon in the path, so make sure we never use it.
2197 set dummy $ac_cv_prog_CC
2198 shift
2199 if test $# != 0; then
2200 # We chose a different compiler from the bogus one.
2201 # However, it has the same basename, so the bogon will be chosen
2202 # first if we set CC to just the basename; use the full file name.
2203 shift
2204 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2209 CC=$ac_cv_prog_CC
2210 if test -n "$CC"; then
2211 { echo "$as_me:$LINENO: result: $CC" >&5
2212 echo "${ECHO_T}$CC" >&6; }
2213 else
2214 { echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6; }
2220 if test -z "$CC"; then
2221 if test -n "$ac_tool_prefix"; then
2222 for ac_prog in cl.exe
2224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2228 if test "${ac_cv_prog_CC+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 else
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC="$CC" # Let the user override the test.
2233 else
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 for as_dir in $PATH
2237 IFS=$as_save_IFS
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2241 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 break 2
2245 done
2246 done
2247 IFS=$as_save_IFS
2251 CC=$ac_cv_prog_CC
2252 if test -n "$CC"; then
2253 { echo "$as_me:$LINENO: result: $CC" >&5
2254 echo "${ECHO_T}$CC" >&6; }
2255 else
2256 { echo "$as_me:$LINENO: result: no" >&5
2257 echo "${ECHO_T}no" >&6; }
2261 test -n "$CC" && break
2262 done
2264 if test -z "$CC"; then
2265 ac_ct_CC=$CC
2266 for ac_prog in cl.exe
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy $ac_prog; ac_word=$2
2270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2274 else
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2277 else
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 for as_dir in $PATH
2281 IFS=$as_save_IFS
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2285 ac_cv_prog_ac_ct_CC="$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 break 2
2289 done
2290 done
2291 IFS=$as_save_IFS
2295 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2296 if test -n "$ac_ct_CC"; then
2297 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2298 echo "${ECHO_T}$ac_ct_CC" >&6; }
2299 else
2300 { echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6; }
2305 test -n "$ac_ct_CC" && break
2306 done
2308 if test "x$ac_ct_CC" = x; then
2309 CC=""
2310 else
2311 case $cross_compiling:$ac_tool_warned in
2312 yes:)
2313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2314 whose name does not start with the host triplet. If you think this
2315 configuration is useful to you, please write to autoconf@gnu.org." >&5
2316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2317 whose name does not start with the host triplet. If you think this
2318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2319 ac_tool_warned=yes ;;
2320 esac
2321 CC=$ac_ct_CC
2328 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2329 See \`config.log' for more details." >&5
2330 echo "$as_me: error: no acceptable C compiler found in \$PATH
2331 See \`config.log' for more details." >&2;}
2332 { (exit 1); exit 1; }; }
2334 # Provide some information about the compiler.
2335 echo "$as_me:$LINENO: checking for C compiler version" >&5
2336 ac_compiler=`set X $ac_compile; echo $2`
2337 { (ac_try="$ac_compiler --version >&5"
2338 case "(($ac_try" in
2339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2340 *) ac_try_echo=$ac_try;;
2341 esac
2342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2343 (eval "$ac_compiler --version >&5") 2>&5
2344 ac_status=$?
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }
2347 { (ac_try="$ac_compiler -v >&5"
2348 case "(($ac_try" in
2349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2350 *) ac_try_echo=$ac_try;;
2351 esac
2352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2353 (eval "$ac_compiler -v >&5") 2>&5
2354 ac_status=$?
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }
2357 { (ac_try="$ac_compiler -V >&5"
2358 case "(($ac_try" in
2359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2360 *) ac_try_echo=$ac_try;;
2361 esac
2362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2363 (eval "$ac_compiler -V >&5") 2>&5
2364 ac_status=$?
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2368 cat >conftest.$ac_ext <<_ACEOF
2369 /* confdefs.h. */
2370 _ACEOF
2371 cat confdefs.h >>conftest.$ac_ext
2372 cat >>conftest.$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2376 main ()
2380 return 0;
2382 _ACEOF
2383 ac_clean_files_save=$ac_clean_files
2384 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2385 # Try to create an executable without -o first, disregard a.out.
2386 # It will help us diagnose broken compilers, and finding out an intuition
2387 # of exeext.
2388 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2389 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2390 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2392 # List of possible output files, starting from the most likely.
2393 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2394 # only as a last resort. b.out is created by i960 compilers.
2395 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2397 # The IRIX 6 linker writes into existing files which may not be
2398 # executable, retaining their permissions. Remove them first so a
2399 # subsequent execution test works.
2400 ac_rmfiles=
2401 for ac_file in $ac_files
2403 case $ac_file in
2404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2405 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2406 esac
2407 done
2408 rm -f $ac_rmfiles
2410 if { (ac_try="$ac_link_default"
2411 case "(($ac_try" in
2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413 *) ac_try_echo=$ac_try;;
2414 esac
2415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2416 (eval "$ac_link_default") 2>&5
2417 ac_status=$?
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; then
2420 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2421 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2422 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2423 # so that the user can short-circuit this test for compilers unknown to
2424 # Autoconf.
2425 for ac_file in $ac_files
2427 test -f "$ac_file" || continue
2428 case $ac_file in
2429 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2431 [ab].out )
2432 # We found the default executable, but exeext='' is most
2433 # certainly right.
2434 break;;
2435 *.* )
2436 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2437 then :; else
2438 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2440 # We set ac_cv_exeext here because the later test for it is not
2441 # safe: cross compilers may not add the suffix if given an `-o'
2442 # argument, so we may need to know it at that point already.
2443 # Even if this section looks crufty: it has the advantage of
2444 # actually working.
2445 break;;
2447 break;;
2448 esac
2449 done
2450 test "$ac_cv_exeext" = no && ac_cv_exeext=
2452 else
2453 echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.$ac_ext >&5
2456 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2457 See \`config.log' for more details." >&5
2458 echo "$as_me: error: C compiler cannot create executables
2459 See \`config.log' for more details." >&2;}
2460 { (exit 77); exit 77; }; }
2463 ac_exeext=$ac_cv_exeext
2464 { echo "$as_me:$LINENO: result: $ac_file" >&5
2465 echo "${ECHO_T}$ac_file" >&6; }
2467 # Check that the compiler produces executables we can run. If not, either
2468 # the compiler is broken, or we cross compile.
2469 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2470 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2471 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2472 # If not cross compiling, check that we can run a simple program.
2473 if test "$cross_compiling" != yes; then
2474 if { ac_try='./$ac_file'
2475 { (case "(($ac_try" in
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2478 esac
2479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2480 (eval "$ac_try") 2>&5
2481 ac_status=$?
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); }; }; then
2484 cross_compiling=no
2485 else
2486 if test "$cross_compiling" = maybe; then
2487 cross_compiling=yes
2488 else
2489 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2490 If you meant to cross compile, use \`--host'.
2491 See \`config.log' for more details." >&5
2492 echo "$as_me: error: cannot run C compiled programs.
2493 If you meant to cross compile, use \`--host'.
2494 See \`config.log' for more details." >&2;}
2495 { (exit 1); exit 1; }; }
2499 { echo "$as_me:$LINENO: result: yes" >&5
2500 echo "${ECHO_T}yes" >&6; }
2502 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2503 ac_clean_files=$ac_clean_files_save
2504 # Check that the compiler produces executables we can run. If not, either
2505 # the compiler is broken, or we cross compile.
2506 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2507 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2508 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2509 echo "${ECHO_T}$cross_compiling" >&6; }
2511 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2512 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2513 if { (ac_try="$ac_link"
2514 case "(($ac_try" in
2515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2516 *) ac_try_echo=$ac_try;;
2517 esac
2518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2519 (eval "$ac_link") 2>&5
2520 ac_status=$?
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); }; then
2523 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2524 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2525 # work properly (i.e., refer to `conftest.exe'), while it won't with
2526 # `rm'.
2527 for ac_file in conftest.exe conftest conftest.*; do
2528 test -f "$ac_file" || continue
2529 case $ac_file in
2530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2531 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2532 break;;
2533 * ) break;;
2534 esac
2535 done
2536 else
2537 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&2;}
2541 { (exit 1); exit 1; }; }
2544 rm -f conftest$ac_cv_exeext
2545 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2546 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2548 rm -f conftest.$ac_ext
2549 EXEEXT=$ac_cv_exeext
2550 ac_exeext=$EXEEXT
2551 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2552 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2553 if test "${ac_cv_objext+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 else
2556 cat >conftest.$ac_ext <<_ACEOF
2557 /* confdefs.h. */
2558 _ACEOF
2559 cat confdefs.h >>conftest.$ac_ext
2560 cat >>conftest.$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2564 main ()
2568 return 0;
2570 _ACEOF
2571 rm -f conftest.o conftest.obj
2572 if { (ac_try="$ac_compile"
2573 case "(($ac_try" in
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2576 esac
2577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2578 (eval "$ac_compile") 2>&5
2579 ac_status=$?
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; then
2582 for ac_file in conftest.o conftest.obj conftest.*; do
2583 test -f "$ac_file" || continue;
2584 case $ac_file in
2585 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2586 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2587 break;;
2588 esac
2589 done
2590 else
2591 echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.$ac_ext >&5
2594 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2595 See \`config.log' for more details." >&5
2596 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2597 See \`config.log' for more details." >&2;}
2598 { (exit 1); exit 1; }; }
2601 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2603 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2604 echo "${ECHO_T}$ac_cv_objext" >&6; }
2605 OBJEXT=$ac_cv_objext
2606 ac_objext=$OBJEXT
2607 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2608 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2609 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2611 else
2612 cat >conftest.$ac_ext <<_ACEOF
2613 /* confdefs.h. */
2614 _ACEOF
2615 cat confdefs.h >>conftest.$ac_ext
2616 cat >>conftest.$ac_ext <<_ACEOF
2617 /* end confdefs.h. */
2620 main ()
2622 #ifndef __GNUC__
2623 choke me
2624 #endif
2627 return 0;
2629 _ACEOF
2630 rm -f conftest.$ac_objext
2631 if { (ac_try="$ac_compile"
2632 case "(($ac_try" in
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2635 esac
2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_compile") 2>conftest.er1
2638 ac_status=$?
2639 grep -v '^ *+' conftest.er1 >conftest.err
2640 rm -f conftest.er1
2641 cat conftest.err >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); } &&
2644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2645 { (case "(($ac_try" in
2646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2648 esac
2649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2650 (eval "$ac_try") 2>&5
2651 ac_status=$?
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }; } &&
2654 { ac_try='test -s conftest.$ac_objext'
2655 { (case "(($ac_try" in
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2658 esac
2659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2660 (eval "$ac_try") 2>&5
2661 ac_status=$?
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }; }; then
2664 ac_compiler_gnu=yes
2665 else
2666 echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.$ac_ext >&5
2669 ac_compiler_gnu=no
2672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2673 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2676 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2677 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2678 GCC=`test $ac_compiler_gnu = yes && echo yes`
2679 ac_test_CFLAGS=${CFLAGS+set}
2680 ac_save_CFLAGS=$CFLAGS
2681 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2682 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2683 if test "${ac_cv_prog_cc_g+set}" = set; then
2684 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 else
2686 ac_save_c_werror_flag=$ac_c_werror_flag
2687 ac_c_werror_flag=yes
2688 ac_cv_prog_cc_g=no
2689 CFLAGS="-g"
2690 cat >conftest.$ac_ext <<_ACEOF
2691 /* confdefs.h. */
2692 _ACEOF
2693 cat confdefs.h >>conftest.$ac_ext
2694 cat >>conftest.$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2698 main ()
2702 return 0;
2704 _ACEOF
2705 rm -f conftest.$ac_objext
2706 if { (ac_try="$ac_compile"
2707 case "(($ac_try" in
2708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709 *) ac_try_echo=$ac_try;;
2710 esac
2711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2712 (eval "$ac_compile") 2>conftest.er1
2713 ac_status=$?
2714 grep -v '^ *+' conftest.er1 >conftest.err
2715 rm -f conftest.er1
2716 cat conftest.err >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); } &&
2719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2720 { (case "(($ac_try" in
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2723 esac
2724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2725 (eval "$ac_try") 2>&5
2726 ac_status=$?
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; } &&
2729 { ac_try='test -s conftest.$ac_objext'
2730 { (case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2733 esac
2734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2735 (eval "$ac_try") 2>&5
2736 ac_status=$?
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; }; then
2739 ac_cv_prog_cc_g=yes
2740 else
2741 echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2744 CFLAGS=""
2745 cat >conftest.$ac_ext <<_ACEOF
2746 /* confdefs.h. */
2747 _ACEOF
2748 cat confdefs.h >>conftest.$ac_ext
2749 cat >>conftest.$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2753 main ()
2757 return 0;
2759 _ACEOF
2760 rm -f conftest.$ac_objext
2761 if { (ac_try="$ac_compile"
2762 case "(($ac_try" in
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2765 esac
2766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2767 (eval "$ac_compile") 2>conftest.er1
2768 ac_status=$?
2769 grep -v '^ *+' conftest.er1 >conftest.err
2770 rm -f conftest.er1
2771 cat conftest.err >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } &&
2774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2775 { (case "(($ac_try" in
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2778 esac
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_try") 2>&5
2781 ac_status=$?
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; } &&
2784 { ac_try='test -s conftest.$ac_objext'
2785 { (case "(($ac_try" in
2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2788 esac
2789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2790 (eval "$ac_try") 2>&5
2791 ac_status=$?
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; }; then
2795 else
2796 echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2799 ac_c_werror_flag=$ac_save_c_werror_flag
2800 CFLAGS="-g"
2801 cat >conftest.$ac_ext <<_ACEOF
2802 /* confdefs.h. */
2803 _ACEOF
2804 cat confdefs.h >>conftest.$ac_ext
2805 cat >>conftest.$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2809 main ()
2813 return 0;
2815 _ACEOF
2816 rm -f conftest.$ac_objext
2817 if { (ac_try="$ac_compile"
2818 case "(($ac_try" in
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2821 esac
2822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2823 (eval "$ac_compile") 2>conftest.er1
2824 ac_status=$?
2825 grep -v '^ *+' conftest.er1 >conftest.err
2826 rm -f conftest.er1
2827 cat conftest.err >&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); } &&
2830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2831 { (case "(($ac_try" in
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2834 esac
2835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2836 (eval "$ac_try") 2>&5
2837 ac_status=$?
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext'
2841 { (case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2844 esac
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_try") 2>&5
2847 ac_status=$?
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; }; then
2850 ac_cv_prog_cc_g=yes
2851 else
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 ac_c_werror_flag=$ac_save_c_werror_flag
2867 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2868 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2869 if test "$ac_test_CFLAGS" = set; then
2870 CFLAGS=$ac_save_CFLAGS
2871 elif test $ac_cv_prog_cc_g = yes; then
2872 if test "$GCC" = yes; then
2873 CFLAGS="-g -O2"
2874 else
2875 CFLAGS="-g"
2877 else
2878 if test "$GCC" = yes; then
2879 CFLAGS="-O2"
2880 else
2881 CFLAGS=
2884 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2885 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2886 if test "${ac_cv_prog_cc_c89+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2888 else
2889 ac_cv_prog_cc_c89=no
2890 ac_save_CC=$CC
2891 cat >conftest.$ac_ext <<_ACEOF
2892 /* confdefs.h. */
2893 _ACEOF
2894 cat confdefs.h >>conftest.$ac_ext
2895 cat >>conftest.$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2897 #include <stdarg.h>
2898 #include <stdio.h>
2899 #include <sys/types.h>
2900 #include <sys/stat.h>
2901 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2902 struct buf { int x; };
2903 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2904 static char *e (p, i)
2905 char **p;
2906 int i;
2908 return p[i];
2910 static char *f (char * (*g) (char **, int), char **p, ...)
2912 char *s;
2913 va_list v;
2914 va_start (v,p);
2915 s = g (p, va_arg (v,int));
2916 va_end (v);
2917 return s;
2920 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2921 function prototypes and stuff, but not '\xHH' hex character constants.
2922 These don't provoke an error unfortunately, instead are silently treated
2923 as 'x'. The following induces an error, until -std is added to get
2924 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2925 array size at least. It's necessary to write '\x00'==0 to get something
2926 that's true only with -std. */
2927 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2929 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2930 inside strings and character constants. */
2931 #define FOO(x) 'x'
2932 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2934 int test (int i, double x);
2935 struct s1 {int (*f) (int a);};
2936 struct s2 {int (*f) (double a);};
2937 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2938 int argc;
2939 char **argv;
2941 main ()
2943 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2945 return 0;
2947 _ACEOF
2948 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2949 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2951 CC="$ac_save_CC $ac_arg"
2952 rm -f conftest.$ac_objext
2953 if { (ac_try="$ac_compile"
2954 case "(($ac_try" in
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2957 esac
2958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2959 (eval "$ac_compile") 2>conftest.er1
2960 ac_status=$?
2961 grep -v '^ *+' conftest.er1 >conftest.err
2962 rm -f conftest.er1
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } &&
2966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2967 { (case "(($ac_try" in
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2970 esac
2971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2972 (eval "$ac_try") 2>&5
2973 ac_status=$?
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; } &&
2976 { ac_try='test -s conftest.$ac_objext'
2977 { (case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2980 esac
2981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2982 (eval "$ac_try") 2>&5
2983 ac_status=$?
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; }; then
2986 ac_cv_prog_cc_c89=$ac_arg
2987 else
2988 echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.$ac_ext >&5
2994 rm -f core conftest.err conftest.$ac_objext
2995 test "x$ac_cv_prog_cc_c89" != "xno" && break
2996 done
2997 rm -f conftest.$ac_ext
2998 CC=$ac_save_CC
3001 # AC_CACHE_VAL
3002 case "x$ac_cv_prog_cc_c89" in
3004 { echo "$as_me:$LINENO: result: none needed" >&5
3005 echo "${ECHO_T}none needed" >&6; } ;;
3006 xno)
3007 { echo "$as_me:$LINENO: result: unsupported" >&5
3008 echo "${ECHO_T}unsupported" >&6; } ;;
3010 CC="$CC $ac_cv_prog_cc_c89"
3011 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3012 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3013 esac
3016 ac_ext=c
3017 ac_cpp='$CPP $CPPFLAGS'
3018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3022 ac_ext=cpp
3023 ac_cpp='$CXXCPP $CPPFLAGS'
3024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3027 if test -z "$CXX"; then
3028 if test -n "$CCC"; then
3029 CXX=$CCC
3030 else
3031 if test -n "$ac_tool_prefix"; then
3032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3038 if test "${ac_cv_prog_CXX+set}" = set; then
3039 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 else
3041 if test -n "$CXX"; then
3042 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3043 else
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 for as_dir in $PATH
3047 IFS=$as_save_IFS
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 break 2
3055 done
3056 done
3057 IFS=$as_save_IFS
3061 CXX=$ac_cv_prog_CXX
3062 if test -n "$CXX"; then
3063 { echo "$as_me:$LINENO: result: $CXX" >&5
3064 echo "${ECHO_T}$CXX" >&6; }
3065 else
3066 { echo "$as_me:$LINENO: result: no" >&5
3067 echo "${ECHO_T}no" >&6; }
3071 test -n "$CXX" && break
3072 done
3074 if test -z "$CXX"; then
3075 ac_ct_CXX=$CXX
3076 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3078 # Extract the first word of "$ac_prog", so it can be a program name with args.
3079 set dummy $ac_prog; ac_word=$2
3080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3082 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3083 echo $ECHO_N "(cached) $ECHO_C" >&6
3084 else
3085 if test -n "$ac_ct_CXX"; then
3086 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3087 else
3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3089 for as_dir in $PATH
3091 IFS=$as_save_IFS
3092 test -z "$as_dir" && as_dir=.
3093 for ac_exec_ext in '' $ac_executable_extensions; do
3094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3095 ac_cv_prog_ac_ct_CXX="$ac_prog"
3096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 break 2
3099 done
3100 done
3101 IFS=$as_save_IFS
3105 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3106 if test -n "$ac_ct_CXX"; then
3107 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3108 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3109 else
3110 { echo "$as_me:$LINENO: result: no" >&5
3111 echo "${ECHO_T}no" >&6; }
3115 test -n "$ac_ct_CXX" && break
3116 done
3118 if test "x$ac_ct_CXX" = x; then
3119 CXX="g++"
3120 else
3121 case $cross_compiling:$ac_tool_warned in
3122 yes:)
3123 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3124 whose name does not start with the host triplet. If you think this
3125 configuration is useful to you, please write to autoconf@gnu.org." >&5
3126 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3127 whose name does not start with the host triplet. If you think this
3128 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3129 ac_tool_warned=yes ;;
3130 esac
3131 CXX=$ac_ct_CXX
3137 # Provide some information about the compiler.
3138 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3139 ac_compiler=`set X $ac_compile; echo $2`
3140 { (ac_try="$ac_compiler --version >&5"
3141 case "(($ac_try" in
3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3144 esac
3145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3146 (eval "$ac_compiler --version >&5") 2>&5
3147 ac_status=$?
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }
3150 { (ac_try="$ac_compiler -v >&5"
3151 case "(($ac_try" in
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3154 esac
3155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3156 (eval "$ac_compiler -v >&5") 2>&5
3157 ac_status=$?
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }
3160 { (ac_try="$ac_compiler -V >&5"
3161 case "(($ac_try" in
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3164 esac
3165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3166 (eval "$ac_compiler -V >&5") 2>&5
3167 ac_status=$?
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }
3171 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3172 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3173 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3175 else
3176 cat >conftest.$ac_ext <<_ACEOF
3177 /* confdefs.h. */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3184 main ()
3186 #ifndef __GNUC__
3187 choke me
3188 #endif
3191 return 0;
3193 _ACEOF
3194 rm -f conftest.$ac_objext
3195 if { (ac_try="$ac_compile"
3196 case "(($ac_try" in
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3199 esac
3200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3201 (eval "$ac_compile") 2>conftest.er1
3202 ac_status=$?
3203 grep -v '^ *+' conftest.er1 >conftest.err
3204 rm -f conftest.er1
3205 cat conftest.err >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } &&
3208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3209 { (case "(($ac_try" in
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3212 esac
3213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3214 (eval "$ac_try") 2>&5
3215 ac_status=$?
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; } &&
3218 { ac_try='test -s conftest.$ac_objext'
3219 { (case "(($ac_try" in
3220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3221 *) ac_try_echo=$ac_try;;
3222 esac
3223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3224 (eval "$ac_try") 2>&5
3225 ac_status=$?
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; }; then
3228 ac_compiler_gnu=yes
3229 else
3230 echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3233 ac_compiler_gnu=no
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3240 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3241 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3242 GXX=`test $ac_compiler_gnu = yes && echo yes`
3243 ac_test_CXXFLAGS=${CXXFLAGS+set}
3244 ac_save_CXXFLAGS=$CXXFLAGS
3245 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3246 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3247 if test "${ac_cv_prog_cxx_g+set}" = set; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 else
3250 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3251 ac_cxx_werror_flag=yes
3252 ac_cv_prog_cxx_g=no
3253 CXXFLAGS="-g"
3254 cat >conftest.$ac_ext <<_ACEOF
3255 /* confdefs.h. */
3256 _ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3262 main ()
3266 return 0;
3268 _ACEOF
3269 rm -f conftest.$ac_objext
3270 if { (ac_try="$ac_compile"
3271 case "(($ac_try" in
3272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3273 *) ac_try_echo=$ac_try;;
3274 esac
3275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3276 (eval "$ac_compile") 2>conftest.er1
3277 ac_status=$?
3278 grep -v '^ *+' conftest.er1 >conftest.err
3279 rm -f conftest.er1
3280 cat conftest.err >&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } &&
3283 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3284 { (case "(($ac_try" in
3285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3287 esac
3288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3289 (eval "$ac_try") 2>&5
3290 ac_status=$?
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); }; } &&
3293 { ac_try='test -s conftest.$ac_objext'
3294 { (case "(($ac_try" in
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3297 esac
3298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3299 (eval "$ac_try") 2>&5
3300 ac_status=$?
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); }; }; then
3303 ac_cv_prog_cxx_g=yes
3304 else
3305 echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3308 CXXFLAGS=""
3309 cat >conftest.$ac_ext <<_ACEOF
3310 /* confdefs.h. */
3311 _ACEOF
3312 cat confdefs.h >>conftest.$ac_ext
3313 cat >>conftest.$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3317 main ()
3321 return 0;
3323 _ACEOF
3324 rm -f conftest.$ac_objext
3325 if { (ac_try="$ac_compile"
3326 case "(($ac_try" in
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3329 esac
3330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3331 (eval "$ac_compile") 2>conftest.er1
3332 ac_status=$?
3333 grep -v '^ *+' conftest.er1 >conftest.err
3334 rm -f conftest.er1
3335 cat conftest.err >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } &&
3338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3339 { (case "(($ac_try" in
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3342 esac
3343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3344 (eval "$ac_try") 2>&5
3345 ac_status=$?
3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); }; } &&
3348 { ac_try='test -s conftest.$ac_objext'
3349 { (case "(($ac_try" in
3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351 *) ac_try_echo=$ac_try;;
3352 esac
3353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3354 (eval "$ac_try") 2>&5
3355 ac_status=$?
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); }; }; then
3359 else
3360 echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.$ac_ext >&5
3363 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3364 CXXFLAGS="-g"
3365 cat >conftest.$ac_ext <<_ACEOF
3366 /* confdefs.h. */
3367 _ACEOF
3368 cat confdefs.h >>conftest.$ac_ext
3369 cat >>conftest.$ac_ext <<_ACEOF
3370 /* end confdefs.h. */
3373 main ()
3377 return 0;
3379 _ACEOF
3380 rm -f conftest.$ac_objext
3381 if { (ac_try="$ac_compile"
3382 case "(($ac_try" in
3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3385 esac
3386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3387 (eval "$ac_compile") 2>conftest.er1
3388 ac_status=$?
3389 grep -v '^ *+' conftest.er1 >conftest.err
3390 rm -f conftest.er1
3391 cat conftest.err >&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); } &&
3394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3395 { (case "(($ac_try" in
3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3398 esac
3399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3400 (eval "$ac_try") 2>&5
3401 ac_status=$?
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); }; } &&
3404 { ac_try='test -s conftest.$ac_objext'
3405 { (case "(($ac_try" in
3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3407 *) ac_try_echo=$ac_try;;
3408 esac
3409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3410 (eval "$ac_try") 2>&5
3411 ac_status=$?
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); }; }; then
3414 ac_cv_prog_cxx_g=yes
3415 else
3416 echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3431 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3432 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3433 if test "$ac_test_CXXFLAGS" = set; then
3434 CXXFLAGS=$ac_save_CXXFLAGS
3435 elif test $ac_cv_prog_cxx_g = yes; then
3436 if test "$GXX" = yes; then
3437 CXXFLAGS="-g -O2"
3438 else
3439 CXXFLAGS="-g"
3441 else
3442 if test "$GXX" = yes; then
3443 CXXFLAGS="-O2"
3444 else
3445 CXXFLAGS=
3448 ac_ext=c
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 if test -n "$ac_tool_prefix"; then
3455 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3456 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3459 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3460 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 else
3462 if test -n "$CPPBIN"; then
3463 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3464 else
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 for as_dir in $PATH
3468 IFS=$as_save_IFS
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3472 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3474 break 2
3476 done
3477 done
3478 IFS=$as_save_IFS
3482 CPPBIN=$ac_cv_prog_CPPBIN
3483 if test -n "$CPPBIN"; then
3484 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3485 echo "${ECHO_T}$CPPBIN" >&6; }
3486 else
3487 { echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6; }
3493 if test -z "$ac_cv_prog_CPPBIN"; then
3494 ac_ct_CPPBIN=$CPPBIN
3495 # Extract the first word of "cpp", so it can be a program name with args.
3496 set dummy cpp; ac_word=$2
3497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3499 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3500 echo $ECHO_N "(cached) $ECHO_C" >&6
3501 else
3502 if test -n "$ac_ct_CPPBIN"; then
3503 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3504 else
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 for as_dir in $PATH
3508 IFS=$as_save_IFS
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3512 ac_cv_prog_ac_ct_CPPBIN="cpp"
3513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3514 break 2
3516 done
3517 done
3518 IFS=$as_save_IFS
3522 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3523 if test -n "$ac_ct_CPPBIN"; then
3524 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3525 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3526 else
3527 { echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6; }
3531 if test "x$ac_ct_CPPBIN" = x; then
3532 CPPBIN="cpp"
3533 else
3534 case $cross_compiling:$ac_tool_warned in
3535 yes:)
3536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3537 whose name does not start with the host triplet. If you think this
3538 configuration is useful to you, please write to autoconf@gnu.org." >&5
3539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3540 whose name does not start with the host triplet. If you think this
3541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3542 ac_tool_warned=yes ;;
3543 esac
3544 CPPBIN=$ac_ct_CPPBIN
3546 else
3547 CPPBIN="$ac_cv_prog_CPPBIN"
3551 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3552 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3553 if test "${wine_cv_toolsdir+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3555 else
3556 if test -z "$with_wine_tools"; then
3557 if test "$cross_compiling" = "yes"; then
3558 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3559 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3560 { (exit 1); exit 1; }; }
3561 else
3562 wine_cv_toolsdir="\$(TOPOBJDIR)"
3564 elif test -d "$with_wine_tools/tools/winebuild"; then
3565 case $with_wine_tools in
3566 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3567 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3568 esac
3569 else
3570 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3571 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3572 { (exit 1); exit 1; }; }
3575 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3576 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3577 TOOLSDIR=$wine_cv_toolsdir
3581 ac_ext=c
3582 ac_cpp='$CPP $CPPFLAGS'
3583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3586 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3587 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3588 # On Suns, sometimes $CPP names a directory.
3589 if test -n "$CPP" && test -d "$CPP"; then
3590 CPP=
3592 if test -z "$CPP"; then
3593 if test "${ac_cv_prog_CPP+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 else
3596 # Double quotes because CPP needs to be expanded
3597 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3599 ac_preproc_ok=false
3600 for ac_c_preproc_warn_flag in '' yes
3602 # Use a header file that comes with gcc, so configuring glibc
3603 # with a fresh cross-compiler works.
3604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3605 # <limits.h> exists even on freestanding compilers.
3606 # On the NeXT, cc -E runs the code through the compiler's parser,
3607 # not just through cpp. "Syntax error" is here to catch this case.
3608 cat >conftest.$ac_ext <<_ACEOF
3609 /* confdefs.h. */
3610 _ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3614 #ifdef __STDC__
3615 # include <limits.h>
3616 #else
3617 # include <assert.h>
3618 #endif
3619 Syntax error
3620 _ACEOF
3621 if { (ac_try="$ac_cpp conftest.$ac_ext"
3622 case "(($ac_try" in
3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624 *) ac_try_echo=$ac_try;;
3625 esac
3626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3628 ac_status=$?
3629 grep -v '^ *+' conftest.er1 >conftest.err
3630 rm -f conftest.er1
3631 cat conftest.err >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); } >/dev/null; then
3634 if test -s conftest.err; then
3635 ac_cpp_err=$ac_c_preproc_warn_flag
3636 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3637 else
3638 ac_cpp_err=
3640 else
3641 ac_cpp_err=yes
3643 if test -z "$ac_cpp_err"; then
3645 else
3646 echo "$as_me: failed program was:" >&5
3647 sed 's/^/| /' conftest.$ac_ext >&5
3649 # Broken: fails on valid input.
3650 continue
3653 rm -f conftest.err conftest.$ac_ext
3655 # OK, works on sane cases. Now check whether nonexistent headers
3656 # can be detected and how.
3657 cat >conftest.$ac_ext <<_ACEOF
3658 /* confdefs.h. */
3659 _ACEOF
3660 cat confdefs.h >>conftest.$ac_ext
3661 cat >>conftest.$ac_ext <<_ACEOF
3662 /* end confdefs.h. */
3663 #include <ac_nonexistent.h>
3664 _ACEOF
3665 if { (ac_try="$ac_cpp conftest.$ac_ext"
3666 case "(($ac_try" in
3667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668 *) ac_try_echo=$ac_try;;
3669 esac
3670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3672 ac_status=$?
3673 grep -v '^ *+' conftest.er1 >conftest.err
3674 rm -f conftest.er1
3675 cat conftest.err >&5
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); } >/dev/null; then
3678 if test -s conftest.err; then
3679 ac_cpp_err=$ac_c_preproc_warn_flag
3680 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3681 else
3682 ac_cpp_err=
3684 else
3685 ac_cpp_err=yes
3687 if test -z "$ac_cpp_err"; then
3688 # Broken: success on invalid input.
3689 continue
3690 else
3691 echo "$as_me: failed program was:" >&5
3692 sed 's/^/| /' conftest.$ac_ext >&5
3694 # Passes both tests.
3695 ac_preproc_ok=:
3696 break
3699 rm -f conftest.err conftest.$ac_ext
3701 done
3702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3703 rm -f conftest.err conftest.$ac_ext
3704 if $ac_preproc_ok; then
3705 break
3708 done
3709 ac_cv_prog_CPP=$CPP
3712 CPP=$ac_cv_prog_CPP
3713 else
3714 ac_cv_prog_CPP=$CPP
3716 { echo "$as_me:$LINENO: result: $CPP" >&5
3717 echo "${ECHO_T}$CPP" >&6; }
3718 ac_preproc_ok=false
3719 for ac_c_preproc_warn_flag in '' yes
3721 # Use a header file that comes with gcc, so configuring glibc
3722 # with a fresh cross-compiler works.
3723 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3724 # <limits.h> exists even on freestanding compilers.
3725 # On the NeXT, cc -E runs the code through the compiler's parser,
3726 # not just through cpp. "Syntax error" is here to catch this case.
3727 cat >conftest.$ac_ext <<_ACEOF
3728 /* confdefs.h. */
3729 _ACEOF
3730 cat confdefs.h >>conftest.$ac_ext
3731 cat >>conftest.$ac_ext <<_ACEOF
3732 /* end confdefs.h. */
3733 #ifdef __STDC__
3734 # include <limits.h>
3735 #else
3736 # include <assert.h>
3737 #endif
3738 Syntax error
3739 _ACEOF
3740 if { (ac_try="$ac_cpp conftest.$ac_ext"
3741 case "(($ac_try" in
3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743 *) ac_try_echo=$ac_try;;
3744 esac
3745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3746 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3747 ac_status=$?
3748 grep -v '^ *+' conftest.er1 >conftest.err
3749 rm -f conftest.er1
3750 cat conftest.err >&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); } >/dev/null; then
3753 if test -s conftest.err; then
3754 ac_cpp_err=$ac_c_preproc_warn_flag
3755 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3756 else
3757 ac_cpp_err=
3759 else
3760 ac_cpp_err=yes
3762 if test -z "$ac_cpp_err"; then
3764 else
3765 echo "$as_me: failed program was:" >&5
3766 sed 's/^/| /' conftest.$ac_ext >&5
3768 # Broken: fails on valid input.
3769 continue
3772 rm -f conftest.err conftest.$ac_ext
3774 # OK, works on sane cases. Now check whether nonexistent headers
3775 # can be detected and how.
3776 cat >conftest.$ac_ext <<_ACEOF
3777 /* confdefs.h. */
3778 _ACEOF
3779 cat confdefs.h >>conftest.$ac_ext
3780 cat >>conftest.$ac_ext <<_ACEOF
3781 /* end confdefs.h. */
3782 #include <ac_nonexistent.h>
3783 _ACEOF
3784 if { (ac_try="$ac_cpp conftest.$ac_ext"
3785 case "(($ac_try" in
3786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3787 *) ac_try_echo=$ac_try;;
3788 esac
3789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3791 ac_status=$?
3792 grep -v '^ *+' conftest.er1 >conftest.err
3793 rm -f conftest.er1
3794 cat conftest.err >&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); } >/dev/null; then
3797 if test -s conftest.err; then
3798 ac_cpp_err=$ac_c_preproc_warn_flag
3799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3800 else
3801 ac_cpp_err=
3803 else
3804 ac_cpp_err=yes
3806 if test -z "$ac_cpp_err"; then
3807 # Broken: success on invalid input.
3808 continue
3809 else
3810 echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.$ac_ext >&5
3813 # Passes both tests.
3814 ac_preproc_ok=:
3815 break
3818 rm -f conftest.err conftest.$ac_ext
3820 done
3821 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3822 rm -f conftest.err conftest.$ac_ext
3823 if $ac_preproc_ok; then
3825 else
3826 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3827 See \`config.log' for more details." >&5
3828 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3829 See \`config.log' for more details." >&2;}
3830 { (exit 1); exit 1; }; }
3833 ac_ext=c
3834 ac_cpp='$CPP $CPPFLAGS'
3835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840 { echo "$as_me:$LINENO: checking for X" >&5
3841 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3844 # Check whether --with-x was given.
3845 if test "${with_x+set}" = set; then
3846 withval=$with_x;
3849 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3850 if test "x$with_x" = xno; then
3851 # The user explicitly disabled X.
3852 have_x=disabled
3853 else
3854 case $x_includes,$x_libraries in #(
3855 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3856 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3857 { (exit 1); exit 1; }; };; #(
3858 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6
3860 else
3861 # One or both of the vars are not set, and there is no cached value.
3862 ac_x_includes=no ac_x_libraries=no
3863 rm -f -r conftest.dir
3864 if mkdir conftest.dir; then
3865 cd conftest.dir
3866 cat >Imakefile <<'_ACEOF'
3867 incroot:
3868 @echo incroot='${INCROOT}'
3869 usrlibdir:
3870 @echo usrlibdir='${USRLIBDIR}'
3871 libdir:
3872 @echo libdir='${LIBDIR}'
3873 _ACEOF
3874 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3875 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3876 for ac_var in incroot usrlibdir libdir; do
3877 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3878 done
3879 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3880 for ac_extension in a so sl; do
3881 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3882 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3883 ac_im_usrlibdir=$ac_im_libdir; break
3885 done
3886 # Screen out bogus values from the imake configuration. They are
3887 # bogus both because they are the default anyway, and because
3888 # using them would break gcc on systems where it needs fixed includes.
3889 case $ac_im_incroot in
3890 /usr/include) ac_x_includes= ;;
3891 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3892 esac
3893 case $ac_im_usrlibdir in
3894 /usr/lib | /lib) ;;
3895 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3896 esac
3898 cd ..
3899 rm -f -r conftest.dir
3902 # Standard set of common directories for X headers.
3903 # Check X11 before X11Rn because it is often a symlink to the current release.
3904 ac_x_header_dirs='
3905 /usr/X11/include
3906 /usr/X11R6/include
3907 /usr/X11R5/include
3908 /usr/X11R4/include
3910 /usr/include/X11
3911 /usr/include/X11R6
3912 /usr/include/X11R5
3913 /usr/include/X11R4
3915 /usr/local/X11/include
3916 /usr/local/X11R6/include
3917 /usr/local/X11R5/include
3918 /usr/local/X11R4/include
3920 /usr/local/include/X11
3921 /usr/local/include/X11R6
3922 /usr/local/include/X11R5
3923 /usr/local/include/X11R4
3925 /usr/X386/include
3926 /usr/x386/include
3927 /usr/XFree86/include/X11
3929 /usr/include
3930 /usr/local/include
3931 /usr/unsupported/include
3932 /usr/athena/include
3933 /usr/local/x11r5/include
3934 /usr/lpp/Xamples/include
3936 /usr/openwin/include
3937 /usr/openwin/share/include'
3939 if test "$ac_x_includes" = no; then
3940 # Guess where to find include files, by looking for Xlib.h.
3941 # First, try using that file with no special directory specified.
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. */
3948 #include <X11/Xlib.h>
3949 _ACEOF
3950 if { (ac_try="$ac_cpp conftest.$ac_ext"
3951 case "(($ac_try" in
3952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3953 *) ac_try_echo=$ac_try;;
3954 esac
3955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3957 ac_status=$?
3958 grep -v '^ *+' conftest.er1 >conftest.err
3959 rm -f conftest.er1
3960 cat conftest.err >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } >/dev/null; then
3963 if test -s conftest.err; then
3964 ac_cpp_err=$ac_c_preproc_warn_flag
3965 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3966 else
3967 ac_cpp_err=
3969 else
3970 ac_cpp_err=yes
3972 if test -z "$ac_cpp_err"; then
3973 # We can compile using X headers with no special include directory.
3974 ac_x_includes=
3975 else
3976 echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.$ac_ext >&5
3979 for ac_dir in $ac_x_header_dirs; do
3980 if test -r "$ac_dir/X11/Xlib.h"; then
3981 ac_x_includes=$ac_dir
3982 break
3984 done
3987 rm -f conftest.err conftest.$ac_ext
3988 fi # $ac_x_includes = no
3990 if test "$ac_x_libraries" = no; then
3991 # Check for the libraries.
3992 # See if we find them without any special options.
3993 # Don't add to $LIBS permanently.
3994 ac_save_LIBS=$LIBS
3995 LIBS="-lX11 $LIBS"
3996 cat >conftest.$ac_ext <<_ACEOF
3997 /* confdefs.h. */
3998 _ACEOF
3999 cat confdefs.h >>conftest.$ac_ext
4000 cat >>conftest.$ac_ext <<_ACEOF
4001 /* end confdefs.h. */
4002 #include <X11/Xlib.h>
4004 main ()
4006 XrmInitialize ()
4008 return 0;
4010 _ACEOF
4011 rm -f conftest.$ac_objext conftest$ac_exeext
4012 if { (ac_try="$ac_link"
4013 case "(($ac_try" in
4014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4016 esac
4017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4018 (eval "$ac_link") 2>conftest.er1
4019 ac_status=$?
4020 grep -v '^ *+' conftest.er1 >conftest.err
4021 rm -f conftest.er1
4022 cat conftest.err >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); } &&
4025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4026 { (case "(($ac_try" in
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4029 esac
4030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4031 (eval "$ac_try") 2>&5
4032 ac_status=$?
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); }; } &&
4035 { ac_try='test -s conftest$ac_exeext'
4036 { (case "(($ac_try" in
4037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4039 esac
4040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4041 (eval "$ac_try") 2>&5
4042 ac_status=$?
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; }; then
4045 LIBS=$ac_save_LIBS
4046 # We can link X programs with no special library path.
4047 ac_x_libraries=
4048 else
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4052 LIBS=$ac_save_LIBS
4053 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4055 # Don't even attempt the hair of trying to link an X program!
4056 for ac_extension in a so sl; do
4057 if test -r "$ac_dir/libX11.$ac_extension"; then
4058 ac_x_libraries=$ac_dir
4059 break 2
4061 done
4062 done
4065 rm -f core conftest.err conftest.$ac_objext \
4066 conftest$ac_exeext conftest.$ac_ext
4067 fi # $ac_x_libraries = no
4069 case $ac_x_includes,$ac_x_libraries in #(
4070 no,* | *,no | *\'*)
4071 # Didn't find X, or a directory has "'" in its name.
4072 ac_cv_have_x="have_x=no";; #(
4074 # Record where we found X for the cache.
4075 ac_cv_have_x="have_x=yes\
4076 ac_x_includes='$ac_x_includes'\
4077 ac_x_libraries='$ac_x_libraries'"
4078 esac
4080 ;; #(
4081 *) have_x=yes;;
4082 esac
4083 eval "$ac_cv_have_x"
4084 fi # $with_x != no
4086 if test "$have_x" != yes; then
4087 { echo "$as_me:$LINENO: result: $have_x" >&5
4088 echo "${ECHO_T}$have_x" >&6; }
4089 no_x=yes
4090 else
4091 # If each of the values was on the command line, it overrides each guess.
4092 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4093 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4094 # Update the cache value to reflect the command line values.
4095 ac_cv_have_x="have_x=yes\
4096 ac_x_includes='$x_includes'\
4097 ac_x_libraries='$x_libraries'"
4098 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4099 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4102 if test "$no_x" = yes; then
4103 # Not all programs may use this symbol, but it does not hurt to define it.
4105 cat >>confdefs.h <<\_ACEOF
4106 #define X_DISPLAY_MISSING 1
4107 _ACEOF
4109 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4110 else
4111 if test -n "$x_includes"; then
4112 X_CFLAGS="$X_CFLAGS -I$x_includes"
4115 # It would also be nice to do this for all -L options, not just this one.
4116 if test -n "$x_libraries"; then
4117 X_LIBS="$X_LIBS -L$x_libraries"
4118 # For Solaris; some versions of Sun CC require a space after -R and
4119 # others require no space. Words are not sufficient . . . .
4120 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4121 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4122 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4123 ac_xsave_c_werror_flag=$ac_c_werror_flag
4124 ac_c_werror_flag=yes
4125 cat >conftest.$ac_ext <<_ACEOF
4126 /* confdefs.h. */
4127 _ACEOF
4128 cat confdefs.h >>conftest.$ac_ext
4129 cat >>conftest.$ac_ext <<_ACEOF
4130 /* end confdefs.h. */
4133 main ()
4137 return 0;
4139 _ACEOF
4140 rm -f conftest.$ac_objext conftest$ac_exeext
4141 if { (ac_try="$ac_link"
4142 case "(($ac_try" in
4143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144 *) ac_try_echo=$ac_try;;
4145 esac
4146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4147 (eval "$ac_link") 2>conftest.er1
4148 ac_status=$?
4149 grep -v '^ *+' conftest.er1 >conftest.err
4150 rm -f conftest.er1
4151 cat conftest.err >&5
4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153 (exit $ac_status); } &&
4154 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4155 { (case "(($ac_try" in
4156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4157 *) ac_try_echo=$ac_try;;
4158 esac
4159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4160 (eval "$ac_try") 2>&5
4161 ac_status=$?
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); }; } &&
4164 { ac_try='test -s conftest$ac_exeext'
4165 { (case "(($ac_try" in
4166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4167 *) ac_try_echo=$ac_try;;
4168 esac
4169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4170 (eval "$ac_try") 2>&5
4171 ac_status=$?
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); }; }; then
4174 { echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6; }
4176 X_LIBS="$X_LIBS -R$x_libraries"
4177 else
4178 echo "$as_me: failed program was:" >&5
4179 sed 's/^/| /' conftest.$ac_ext >&5
4181 LIBS="$ac_xsave_LIBS -R $x_libraries"
4182 cat >conftest.$ac_ext <<_ACEOF
4183 /* confdefs.h. */
4184 _ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4190 main ()
4194 return 0;
4196 _ACEOF
4197 rm -f conftest.$ac_objext conftest$ac_exeext
4198 if { (ac_try="$ac_link"
4199 case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4202 esac
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204 (eval "$ac_link") 2>conftest.er1
4205 ac_status=$?
4206 grep -v '^ *+' conftest.er1 >conftest.err
4207 rm -f conftest.er1
4208 cat conftest.err >&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } &&
4211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4212 { (case "(($ac_try" in
4213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214 *) ac_try_echo=$ac_try;;
4215 esac
4216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4217 (eval "$ac_try") 2>&5
4218 ac_status=$?
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; } &&
4221 { ac_try='test -s conftest$ac_exeext'
4222 { (case "(($ac_try" in
4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4225 esac
4226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4227 (eval "$ac_try") 2>&5
4228 ac_status=$?
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); }; }; then
4231 { echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6; }
4233 X_LIBS="$X_LIBS -R $x_libraries"
4234 else
4235 echo "$as_me: failed program was:" >&5
4236 sed 's/^/| /' conftest.$ac_ext >&5
4238 { echo "$as_me:$LINENO: result: neither works" >&5
4239 echo "${ECHO_T}neither works" >&6; }
4242 rm -f core conftest.err conftest.$ac_objext \
4243 conftest$ac_exeext conftest.$ac_ext
4246 rm -f core conftest.err conftest.$ac_objext \
4247 conftest$ac_exeext conftest.$ac_ext
4248 ac_c_werror_flag=$ac_xsave_c_werror_flag
4249 LIBS=$ac_xsave_LIBS
4252 # Check for system-dependent libraries X programs must link with.
4253 # Do this before checking for the system-independent R6 libraries
4254 # (-lICE), since we may need -lsocket or whatever for X linking.
4256 if test "$ISC" = yes; then
4257 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4258 else
4259 # Martyn Johnson says this is needed for Ultrix, if the X
4260 # libraries were built with DECnet support. And Karl Berry says
4261 # the Alpha needs dnet_stub (dnet does not exist).
4262 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4263 cat >conftest.$ac_ext <<_ACEOF
4264 /* confdefs.h. */
4265 _ACEOF
4266 cat confdefs.h >>conftest.$ac_ext
4267 cat >>conftest.$ac_ext <<_ACEOF
4268 /* end confdefs.h. */
4270 /* Override any GCC internal prototype to avoid an error.
4271 Use char because int might match the return type of a GCC
4272 builtin and then its argument prototype would still apply. */
4273 #ifdef __cplusplus
4274 extern "C"
4275 #endif
4276 char XOpenDisplay ();
4278 main ()
4280 return XOpenDisplay ();
4282 return 0;
4284 _ACEOF
4285 rm -f conftest.$ac_objext conftest$ac_exeext
4286 if { (ac_try="$ac_link"
4287 case "(($ac_try" in
4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289 *) ac_try_echo=$ac_try;;
4290 esac
4291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4292 (eval "$ac_link") 2>conftest.er1
4293 ac_status=$?
4294 grep -v '^ *+' conftest.er1 >conftest.err
4295 rm -f conftest.er1
4296 cat conftest.err >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } &&
4299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4300 { (case "(($ac_try" in
4301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4302 *) ac_try_echo=$ac_try;;
4303 esac
4304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4305 (eval "$ac_try") 2>&5
4306 ac_status=$?
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); }; } &&
4309 { ac_try='test -s conftest$ac_exeext'
4310 { (case "(($ac_try" in
4311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4312 *) ac_try_echo=$ac_try;;
4313 esac
4314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4315 (eval "$ac_try") 2>&5
4316 ac_status=$?
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; }; then
4320 else
4321 echo "$as_me: failed program was:" >&5
4322 sed 's/^/| /' conftest.$ac_ext >&5
4324 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4325 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4326 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 else
4329 ac_check_lib_save_LIBS=$LIBS
4330 LIBS="-ldnet $LIBS"
4331 cat >conftest.$ac_ext <<_ACEOF
4332 /* confdefs.h. */
4333 _ACEOF
4334 cat confdefs.h >>conftest.$ac_ext
4335 cat >>conftest.$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4338 /* Override any GCC internal prototype to avoid an error.
4339 Use char because int might match the return type of a GCC
4340 builtin and then its argument prototype would still apply. */
4341 #ifdef __cplusplus
4342 extern "C"
4343 #endif
4344 char dnet_ntoa ();
4346 main ()
4348 return dnet_ntoa ();
4350 return 0;
4352 _ACEOF
4353 rm -f conftest.$ac_objext conftest$ac_exeext
4354 if { (ac_try="$ac_link"
4355 case "(($ac_try" in
4356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4357 *) ac_try_echo=$ac_try;;
4358 esac
4359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4360 (eval "$ac_link") 2>conftest.er1
4361 ac_status=$?
4362 grep -v '^ *+' conftest.er1 >conftest.err
4363 rm -f conftest.er1
4364 cat conftest.err >&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } &&
4367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4368 { (case "(($ac_try" in
4369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4370 *) ac_try_echo=$ac_try;;
4371 esac
4372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4373 (eval "$ac_try") 2>&5
4374 ac_status=$?
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); }; } &&
4377 { ac_try='test -s conftest$ac_exeext'
4378 { (case "(($ac_try" in
4379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4380 *) ac_try_echo=$ac_try;;
4381 esac
4382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4383 (eval "$ac_try") 2>&5
4384 ac_status=$?
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); }; }; then
4387 ac_cv_lib_dnet_dnet_ntoa=yes
4388 else
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4392 ac_cv_lib_dnet_dnet_ntoa=no
4395 rm -f core conftest.err conftest.$ac_objext \
4396 conftest$ac_exeext conftest.$ac_ext
4397 LIBS=$ac_check_lib_save_LIBS
4399 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4400 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4401 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4405 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4406 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4407 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4408 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 else
4411 ac_check_lib_save_LIBS=$LIBS
4412 LIBS="-ldnet_stub $LIBS"
4413 cat >conftest.$ac_ext <<_ACEOF
4414 /* confdefs.h. */
4415 _ACEOF
4416 cat confdefs.h >>conftest.$ac_ext
4417 cat >>conftest.$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4420 /* Override any GCC internal prototype to avoid an error.
4421 Use char because int might match the return type of a GCC
4422 builtin and then its argument prototype would still apply. */
4423 #ifdef __cplusplus
4424 extern "C"
4425 #endif
4426 char dnet_ntoa ();
4428 main ()
4430 return dnet_ntoa ();
4432 return 0;
4434 _ACEOF
4435 rm -f conftest.$ac_objext conftest$ac_exeext
4436 if { (ac_try="$ac_link"
4437 case "(($ac_try" in
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4440 esac
4441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4442 (eval "$ac_link") 2>conftest.er1
4443 ac_status=$?
4444 grep -v '^ *+' conftest.er1 >conftest.err
4445 rm -f conftest.er1
4446 cat conftest.err >&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); } &&
4449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4450 { (case "(($ac_try" in
4451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4452 *) ac_try_echo=$ac_try;;
4453 esac
4454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4455 (eval "$ac_try") 2>&5
4456 ac_status=$?
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; } &&
4459 { ac_try='test -s conftest$ac_exeext'
4460 { (case "(($ac_try" in
4461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4462 *) ac_try_echo=$ac_try;;
4463 esac
4464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4465 (eval "$ac_try") 2>&5
4466 ac_status=$?
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); }; }; then
4469 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4470 else
4471 echo "$as_me: failed program was:" >&5
4472 sed 's/^/| /' conftest.$ac_ext >&5
4474 ac_cv_lib_dnet_stub_dnet_ntoa=no
4477 rm -f core conftest.err conftest.$ac_objext \
4478 conftest$ac_exeext conftest.$ac_ext
4479 LIBS=$ac_check_lib_save_LIBS
4481 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4482 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4483 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4484 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4490 rm -f core conftest.err conftest.$ac_objext \
4491 conftest$ac_exeext conftest.$ac_ext
4492 LIBS="$ac_xsave_LIBS"
4494 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4495 # to get the SysV transport functions.
4496 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4497 # needs -lnsl.
4498 # The nsl library prevents programs from opening the X display
4499 # on Irix 5.2, according to T.E. Dickey.
4500 # The functions gethostbyname, getservbyname, and inet_addr are
4501 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4502 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4503 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4504 if test "${ac_cv_func_gethostbyname+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4506 else
4507 cat >conftest.$ac_ext <<_ACEOF
4508 /* confdefs.h. */
4509 _ACEOF
4510 cat confdefs.h >>conftest.$ac_ext
4511 cat >>conftest.$ac_ext <<_ACEOF
4512 /* end confdefs.h. */
4513 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4515 #define gethostbyname innocuous_gethostbyname
4517 /* System header to define __stub macros and hopefully few prototypes,
4518 which can conflict with char gethostbyname (); below.
4519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4520 <limits.h> exists even on freestanding compilers. */
4522 #ifdef __STDC__
4523 # include <limits.h>
4524 #else
4525 # include <assert.h>
4526 #endif
4528 #undef gethostbyname
4530 /* Override any GCC internal prototype to avoid an error.
4531 Use char because int might match the return type of a GCC
4532 builtin and then its argument prototype would still apply. */
4533 #ifdef __cplusplus
4534 extern "C"
4535 #endif
4536 char gethostbyname ();
4537 /* The GNU C library defines this for functions which it implements
4538 to always fail with ENOSYS. Some functions are actually named
4539 something starting with __ and the normal name is an alias. */
4540 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4541 choke me
4542 #endif
4545 main ()
4547 return gethostbyname ();
4549 return 0;
4551 _ACEOF
4552 rm -f conftest.$ac_objext conftest$ac_exeext
4553 if { (ac_try="$ac_link"
4554 case "(($ac_try" in
4555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556 *) ac_try_echo=$ac_try;;
4557 esac
4558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4559 (eval "$ac_link") 2>conftest.er1
4560 ac_status=$?
4561 grep -v '^ *+' conftest.er1 >conftest.err
4562 rm -f conftest.er1
4563 cat conftest.err >&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } &&
4566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4567 { (case "(($ac_try" in
4568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4569 *) ac_try_echo=$ac_try;;
4570 esac
4571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4572 (eval "$ac_try") 2>&5
4573 ac_status=$?
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; } &&
4576 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
4583 ac_status=$?
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); }; }; then
4586 ac_cv_func_gethostbyname=yes
4587 else
4588 echo "$as_me: failed program was:" >&5
4589 sed 's/^/| /' conftest.$ac_ext >&5
4591 ac_cv_func_gethostbyname=no
4594 rm -f core conftest.err conftest.$ac_objext \
4595 conftest$ac_exeext conftest.$ac_ext
4597 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4598 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4600 if test $ac_cv_func_gethostbyname = no; then
4601 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4602 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4603 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 else
4606 ac_check_lib_save_LIBS=$LIBS
4607 LIBS="-lnsl $LIBS"
4608 cat >conftest.$ac_ext <<_ACEOF
4609 /* confdefs.h. */
4610 _ACEOF
4611 cat confdefs.h >>conftest.$ac_ext
4612 cat >>conftest.$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4615 /* Override any GCC internal prototype to avoid an error.
4616 Use char because int might match the return type of a GCC
4617 builtin and then its argument prototype would still apply. */
4618 #ifdef __cplusplus
4619 extern "C"
4620 #endif
4621 char gethostbyname ();
4623 main ()
4625 return gethostbyname ();
4627 return 0;
4629 _ACEOF
4630 rm -f conftest.$ac_objext conftest$ac_exeext
4631 if { (ac_try="$ac_link"
4632 case "(($ac_try" in
4633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4634 *) ac_try_echo=$ac_try;;
4635 esac
4636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4637 (eval "$ac_link") 2>conftest.er1
4638 ac_status=$?
4639 grep -v '^ *+' conftest.er1 >conftest.err
4640 rm -f conftest.er1
4641 cat conftest.err >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } &&
4644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4645 { (case "(($ac_try" in
4646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4647 *) ac_try_echo=$ac_try;;
4648 esac
4649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4650 (eval "$ac_try") 2>&5
4651 ac_status=$?
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; } &&
4654 { ac_try='test -s conftest$ac_exeext'
4655 { (case "(($ac_try" in
4656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4657 *) ac_try_echo=$ac_try;;
4658 esac
4659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4660 (eval "$ac_try") 2>&5
4661 ac_status=$?
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); }; }; then
4664 ac_cv_lib_nsl_gethostbyname=yes
4665 else
4666 echo "$as_me: failed program was:" >&5
4667 sed 's/^/| /' conftest.$ac_ext >&5
4669 ac_cv_lib_nsl_gethostbyname=no
4672 rm -f core conftest.err conftest.$ac_objext \
4673 conftest$ac_exeext conftest.$ac_ext
4674 LIBS=$ac_check_lib_save_LIBS
4676 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4677 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4678 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4679 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4682 if test $ac_cv_lib_nsl_gethostbyname = no; then
4683 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4684 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4685 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4686 echo $ECHO_N "(cached) $ECHO_C" >&6
4687 else
4688 ac_check_lib_save_LIBS=$LIBS
4689 LIBS="-lbsd $LIBS"
4690 cat >conftest.$ac_ext <<_ACEOF
4691 /* confdefs.h. */
4692 _ACEOF
4693 cat confdefs.h >>conftest.$ac_ext
4694 cat >>conftest.$ac_ext <<_ACEOF
4695 /* end confdefs.h. */
4697 /* Override any GCC internal prototype to avoid an error.
4698 Use char because int might match the return type of a GCC
4699 builtin and then its argument prototype would still apply. */
4700 #ifdef __cplusplus
4701 extern "C"
4702 #endif
4703 char gethostbyname ();
4705 main ()
4707 return gethostbyname ();
4709 return 0;
4711 _ACEOF
4712 rm -f conftest.$ac_objext conftest$ac_exeext
4713 if { (ac_try="$ac_link"
4714 case "(($ac_try" in
4715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4716 *) ac_try_echo=$ac_try;;
4717 esac
4718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4719 (eval "$ac_link") 2>conftest.er1
4720 ac_status=$?
4721 grep -v '^ *+' conftest.er1 >conftest.err
4722 rm -f conftest.er1
4723 cat conftest.err >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); } &&
4726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4727 { (case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730 esac
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_try") 2>&5
4733 ac_status=$?
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); }; } &&
4736 { ac_try='test -s conftest$ac_exeext'
4737 { (case "(($ac_try" in
4738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4739 *) ac_try_echo=$ac_try;;
4740 esac
4741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4742 (eval "$ac_try") 2>&5
4743 ac_status=$?
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); }; }; then
4746 ac_cv_lib_bsd_gethostbyname=yes
4747 else
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 ac_cv_lib_bsd_gethostbyname=no
4754 rm -f core conftest.err conftest.$ac_objext \
4755 conftest$ac_exeext conftest.$ac_ext
4756 LIBS=$ac_check_lib_save_LIBS
4758 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4759 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4760 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4761 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4767 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4768 # socket/setsockopt and other routines are undefined under SCO ODT
4769 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4770 # on later versions), says Simon Leinen: it contains gethostby*
4771 # variants that don't use the name server (or something). -lsocket
4772 # must be given before -lnsl if both are needed. We assume that
4773 # if connect needs -lnsl, so does gethostbyname.
4774 { echo "$as_me:$LINENO: checking for connect" >&5
4775 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4776 if test "${ac_cv_func_connect+set}" = set; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4778 else
4779 cat >conftest.$ac_ext <<_ACEOF
4780 /* confdefs.h. */
4781 _ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4785 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4787 #define connect innocuous_connect
4789 /* System header to define __stub macros and hopefully few prototypes,
4790 which can conflict with char connect (); below.
4791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4792 <limits.h> exists even on freestanding compilers. */
4794 #ifdef __STDC__
4795 # include <limits.h>
4796 #else
4797 # include <assert.h>
4798 #endif
4800 #undef connect
4802 /* Override any GCC internal prototype to avoid an error.
4803 Use char because int might match the return type of a GCC
4804 builtin and then its argument prototype would still apply. */
4805 #ifdef __cplusplus
4806 extern "C"
4807 #endif
4808 char connect ();
4809 /* The GNU C library defines this for functions which it implements
4810 to always fail with ENOSYS. Some functions are actually named
4811 something starting with __ and the normal name is an alias. */
4812 #if defined __stub_connect || defined __stub___connect
4813 choke me
4814 #endif
4817 main ()
4819 return connect ();
4821 return 0;
4823 _ACEOF
4824 rm -f conftest.$ac_objext conftest$ac_exeext
4825 if { (ac_try="$ac_link"
4826 case "(($ac_try" in
4827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4828 *) ac_try_echo=$ac_try;;
4829 esac
4830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4831 (eval "$ac_link") 2>conftest.er1
4832 ac_status=$?
4833 grep -v '^ *+' conftest.er1 >conftest.err
4834 rm -f conftest.er1
4835 cat conftest.err >&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } &&
4838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4839 { (case "(($ac_try" in
4840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4841 *) ac_try_echo=$ac_try;;
4842 esac
4843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4844 (eval "$ac_try") 2>&5
4845 ac_status=$?
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); }; } &&
4848 { ac_try='test -s conftest$ac_exeext'
4849 { (case "(($ac_try" in
4850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851 *) ac_try_echo=$ac_try;;
4852 esac
4853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4854 (eval "$ac_try") 2>&5
4855 ac_status=$?
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); }; }; then
4858 ac_cv_func_connect=yes
4859 else
4860 echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.$ac_ext >&5
4863 ac_cv_func_connect=no
4866 rm -f core conftest.err conftest.$ac_objext \
4867 conftest$ac_exeext conftest.$ac_ext
4869 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4870 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4872 if test $ac_cv_func_connect = no; then
4873 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4874 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4875 if test "${ac_cv_lib_socket_connect+set}" = set; then
4876 echo $ECHO_N "(cached) $ECHO_C" >&6
4877 else
4878 ac_check_lib_save_LIBS=$LIBS
4879 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4880 cat >conftest.$ac_ext <<_ACEOF
4881 /* confdefs.h. */
4882 _ACEOF
4883 cat confdefs.h >>conftest.$ac_ext
4884 cat >>conftest.$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4887 /* Override any GCC internal prototype to avoid an error.
4888 Use char because int might match the return type of a GCC
4889 builtin and then its argument prototype would still apply. */
4890 #ifdef __cplusplus
4891 extern "C"
4892 #endif
4893 char connect ();
4895 main ()
4897 return connect ();
4899 return 0;
4901 _ACEOF
4902 rm -f conftest.$ac_objext conftest$ac_exeext
4903 if { (ac_try="$ac_link"
4904 case "(($ac_try" in
4905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4906 *) ac_try_echo=$ac_try;;
4907 esac
4908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4909 (eval "$ac_link") 2>conftest.er1
4910 ac_status=$?
4911 grep -v '^ *+' conftest.er1 >conftest.err
4912 rm -f conftest.er1
4913 cat conftest.err >&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); } &&
4916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4917 { (case "(($ac_try" in
4918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919 *) ac_try_echo=$ac_try;;
4920 esac
4921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4922 (eval "$ac_try") 2>&5
4923 ac_status=$?
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; } &&
4926 { ac_try='test -s conftest$ac_exeext'
4927 { (case "(($ac_try" in
4928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4929 *) ac_try_echo=$ac_try;;
4930 esac
4931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4932 (eval "$ac_try") 2>&5
4933 ac_status=$?
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); }; }; then
4936 ac_cv_lib_socket_connect=yes
4937 else
4938 echo "$as_me: failed program was:" >&5
4939 sed 's/^/| /' conftest.$ac_ext >&5
4941 ac_cv_lib_socket_connect=no
4944 rm -f core conftest.err conftest.$ac_objext \
4945 conftest$ac_exeext conftest.$ac_ext
4946 LIBS=$ac_check_lib_save_LIBS
4948 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4949 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4950 if test $ac_cv_lib_socket_connect = yes; then
4951 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4956 # Guillermo Gomez says -lposix is necessary on A/UX.
4957 { echo "$as_me:$LINENO: checking for remove" >&5
4958 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4959 if test "${ac_cv_func_remove+set}" = set; then
4960 echo $ECHO_N "(cached) $ECHO_C" >&6
4961 else
4962 cat >conftest.$ac_ext <<_ACEOF
4963 /* confdefs.h. */
4964 _ACEOF
4965 cat confdefs.h >>conftest.$ac_ext
4966 cat >>conftest.$ac_ext <<_ACEOF
4967 /* end confdefs.h. */
4968 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4970 #define remove innocuous_remove
4972 /* System header to define __stub macros and hopefully few prototypes,
4973 which can conflict with char remove (); below.
4974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4975 <limits.h> exists even on freestanding compilers. */
4977 #ifdef __STDC__
4978 # include <limits.h>
4979 #else
4980 # include <assert.h>
4981 #endif
4983 #undef remove
4985 /* Override any GCC internal prototype to avoid an error.
4986 Use char because int might match the return type of a GCC
4987 builtin and then its argument prototype would still apply. */
4988 #ifdef __cplusplus
4989 extern "C"
4990 #endif
4991 char remove ();
4992 /* The GNU C library defines this for functions which it implements
4993 to always fail with ENOSYS. Some functions are actually named
4994 something starting with __ and the normal name is an alias. */
4995 #if defined __stub_remove || defined __stub___remove
4996 choke me
4997 #endif
5000 main ()
5002 return remove ();
5004 return 0;
5006 _ACEOF
5007 rm -f conftest.$ac_objext conftest$ac_exeext
5008 if { (ac_try="$ac_link"
5009 case "(($ac_try" in
5010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5011 *) ac_try_echo=$ac_try;;
5012 esac
5013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5014 (eval "$ac_link") 2>conftest.er1
5015 ac_status=$?
5016 grep -v '^ *+' conftest.er1 >conftest.err
5017 rm -f conftest.er1
5018 cat conftest.err >&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); } &&
5021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5022 { (case "(($ac_try" in
5023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5024 *) ac_try_echo=$ac_try;;
5025 esac
5026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5027 (eval "$ac_try") 2>&5
5028 ac_status=$?
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; } &&
5031 { ac_try='test -s conftest$ac_exeext'
5032 { (case "(($ac_try" in
5033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5034 *) ac_try_echo=$ac_try;;
5035 esac
5036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5037 (eval "$ac_try") 2>&5
5038 ac_status=$?
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; }; then
5041 ac_cv_func_remove=yes
5042 else
5043 echo "$as_me: failed program was:" >&5
5044 sed 's/^/| /' conftest.$ac_ext >&5
5046 ac_cv_func_remove=no
5049 rm -f core conftest.err conftest.$ac_objext \
5050 conftest$ac_exeext conftest.$ac_ext
5052 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5053 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5055 if test $ac_cv_func_remove = no; then
5056 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5057 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5058 if test "${ac_cv_lib_posix_remove+set}" = set; then
5059 echo $ECHO_N "(cached) $ECHO_C" >&6
5060 else
5061 ac_check_lib_save_LIBS=$LIBS
5062 LIBS="-lposix $LIBS"
5063 cat >conftest.$ac_ext <<_ACEOF
5064 /* confdefs.h. */
5065 _ACEOF
5066 cat confdefs.h >>conftest.$ac_ext
5067 cat >>conftest.$ac_ext <<_ACEOF
5068 /* end confdefs.h. */
5070 /* Override any GCC internal prototype to avoid an error.
5071 Use char because int might match the return type of a GCC
5072 builtin and then its argument prototype would still apply. */
5073 #ifdef __cplusplus
5074 extern "C"
5075 #endif
5076 char remove ();
5078 main ()
5080 return remove ();
5082 return 0;
5084 _ACEOF
5085 rm -f conftest.$ac_objext conftest$ac_exeext
5086 if { (ac_try="$ac_link"
5087 case "(($ac_try" in
5088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5089 *) ac_try_echo=$ac_try;;
5090 esac
5091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5092 (eval "$ac_link") 2>conftest.er1
5093 ac_status=$?
5094 grep -v '^ *+' conftest.er1 >conftest.err
5095 rm -f conftest.er1
5096 cat conftest.err >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); } &&
5099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5100 { (case "(($ac_try" in
5101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5102 *) ac_try_echo=$ac_try;;
5103 esac
5104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5105 (eval "$ac_try") 2>&5
5106 ac_status=$?
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; } &&
5109 { ac_try='test -s conftest$ac_exeext'
5110 { (case "(($ac_try" in
5111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5112 *) ac_try_echo=$ac_try;;
5113 esac
5114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5115 (eval "$ac_try") 2>&5
5116 ac_status=$?
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); }; }; then
5119 ac_cv_lib_posix_remove=yes
5120 else
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.$ac_ext >&5
5124 ac_cv_lib_posix_remove=no
5127 rm -f core conftest.err conftest.$ac_objext \
5128 conftest$ac_exeext conftest.$ac_ext
5129 LIBS=$ac_check_lib_save_LIBS
5131 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5132 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5133 if test $ac_cv_lib_posix_remove = yes; then
5134 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5139 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5140 { echo "$as_me:$LINENO: checking for shmat" >&5
5141 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5142 if test "${ac_cv_func_shmat+set}" = set; then
5143 echo $ECHO_N "(cached) $ECHO_C" >&6
5144 else
5145 cat >conftest.$ac_ext <<_ACEOF
5146 /* confdefs.h. */
5147 _ACEOF
5148 cat confdefs.h >>conftest.$ac_ext
5149 cat >>conftest.$ac_ext <<_ACEOF
5150 /* end confdefs.h. */
5151 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5153 #define shmat innocuous_shmat
5155 /* System header to define __stub macros and hopefully few prototypes,
5156 which can conflict with char shmat (); below.
5157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5158 <limits.h> exists even on freestanding compilers. */
5160 #ifdef __STDC__
5161 # include <limits.h>
5162 #else
5163 # include <assert.h>
5164 #endif
5166 #undef shmat
5168 /* Override any GCC internal prototype to avoid an error.
5169 Use char because int might match the return type of a GCC
5170 builtin and then its argument prototype would still apply. */
5171 #ifdef __cplusplus
5172 extern "C"
5173 #endif
5174 char shmat ();
5175 /* The GNU C library defines this for functions which it implements
5176 to always fail with ENOSYS. Some functions are actually named
5177 something starting with __ and the normal name is an alias. */
5178 #if defined __stub_shmat || defined __stub___shmat
5179 choke me
5180 #endif
5183 main ()
5185 return shmat ();
5187 return 0;
5189 _ACEOF
5190 rm -f conftest.$ac_objext conftest$ac_exeext
5191 if { (ac_try="$ac_link"
5192 case "(($ac_try" in
5193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5194 *) ac_try_echo=$ac_try;;
5195 esac
5196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5197 (eval "$ac_link") 2>conftest.er1
5198 ac_status=$?
5199 grep -v '^ *+' conftest.er1 >conftest.err
5200 rm -f conftest.er1
5201 cat conftest.err >&5
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); } &&
5204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5205 { (case "(($ac_try" in
5206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5207 *) ac_try_echo=$ac_try;;
5208 esac
5209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5210 (eval "$ac_try") 2>&5
5211 ac_status=$?
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); }; } &&
5214 { ac_try='test -s conftest$ac_exeext'
5215 { (case "(($ac_try" in
5216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5217 *) ac_try_echo=$ac_try;;
5218 esac
5219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5220 (eval "$ac_try") 2>&5
5221 ac_status=$?
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); }; }; then
5224 ac_cv_func_shmat=yes
5225 else
5226 echo "$as_me: failed program was:" >&5
5227 sed 's/^/| /' conftest.$ac_ext >&5
5229 ac_cv_func_shmat=no
5232 rm -f core conftest.err conftest.$ac_objext \
5233 conftest$ac_exeext conftest.$ac_ext
5235 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5236 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5238 if test $ac_cv_func_shmat = no; then
5239 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5240 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5241 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 else
5244 ac_check_lib_save_LIBS=$LIBS
5245 LIBS="-lipc $LIBS"
5246 cat >conftest.$ac_ext <<_ACEOF
5247 /* confdefs.h. */
5248 _ACEOF
5249 cat confdefs.h >>conftest.$ac_ext
5250 cat >>conftest.$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5253 /* Override any GCC internal prototype to avoid an error.
5254 Use char because int might match the return type of a GCC
5255 builtin and then its argument prototype would still apply. */
5256 #ifdef __cplusplus
5257 extern "C"
5258 #endif
5259 char shmat ();
5261 main ()
5263 return shmat ();
5265 return 0;
5267 _ACEOF
5268 rm -f conftest.$ac_objext conftest$ac_exeext
5269 if { (ac_try="$ac_link"
5270 case "(($ac_try" in
5271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5272 *) ac_try_echo=$ac_try;;
5273 esac
5274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5275 (eval "$ac_link") 2>conftest.er1
5276 ac_status=$?
5277 grep -v '^ *+' conftest.er1 >conftest.err
5278 rm -f conftest.er1
5279 cat conftest.err >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } &&
5282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5283 { (case "(($ac_try" in
5284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5286 esac
5287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5288 (eval "$ac_try") 2>&5
5289 ac_status=$?
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); }; } &&
5292 { ac_try='test -s conftest$ac_exeext'
5293 { (case "(($ac_try" in
5294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5295 *) ac_try_echo=$ac_try;;
5296 esac
5297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5298 (eval "$ac_try") 2>&5
5299 ac_status=$?
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }; }; then
5302 ac_cv_lib_ipc_shmat=yes
5303 else
5304 echo "$as_me: failed program was:" >&5
5305 sed 's/^/| /' conftest.$ac_ext >&5
5307 ac_cv_lib_ipc_shmat=no
5310 rm -f core conftest.err conftest.$ac_objext \
5311 conftest$ac_exeext conftest.$ac_ext
5312 LIBS=$ac_check_lib_save_LIBS
5314 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5315 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5316 if test $ac_cv_lib_ipc_shmat = yes; then
5317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5323 # Check for libraries that X11R6 Xt/Xaw programs need.
5324 ac_save_LDFLAGS=$LDFLAGS
5325 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5326 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5327 # check for ICE first), but we must link in the order -lSM -lICE or
5328 # we get undefined symbols. So assume we have SM if we have ICE.
5329 # These have to be linked with before -lX11, unlike the other
5330 # libraries we check for below, so use a different variable.
5331 # John Interrante, Karl Berry
5332 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5333 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5334 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5335 echo $ECHO_N "(cached) $ECHO_C" >&6
5336 else
5337 ac_check_lib_save_LIBS=$LIBS
5338 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5339 cat >conftest.$ac_ext <<_ACEOF
5340 /* confdefs.h. */
5341 _ACEOF
5342 cat confdefs.h >>conftest.$ac_ext
5343 cat >>conftest.$ac_ext <<_ACEOF
5344 /* end confdefs.h. */
5346 /* Override any GCC internal prototype to avoid an error.
5347 Use char because int might match the return type of a GCC
5348 builtin and then its argument prototype would still apply. */
5349 #ifdef __cplusplus
5350 extern "C"
5351 #endif
5352 char IceConnectionNumber ();
5354 main ()
5356 return IceConnectionNumber ();
5358 return 0;
5360 _ACEOF
5361 rm -f conftest.$ac_objext conftest$ac_exeext
5362 if { (ac_try="$ac_link"
5363 case "(($ac_try" in
5364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5365 *) ac_try_echo=$ac_try;;
5366 esac
5367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5368 (eval "$ac_link") 2>conftest.er1
5369 ac_status=$?
5370 grep -v '^ *+' conftest.er1 >conftest.err
5371 rm -f conftest.er1
5372 cat conftest.err >&5
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); } &&
5375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5376 { (case "(($ac_try" in
5377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5378 *) ac_try_echo=$ac_try;;
5379 esac
5380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5381 (eval "$ac_try") 2>&5
5382 ac_status=$?
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); }; } &&
5385 { ac_try='test -s conftest$ac_exeext'
5386 { (case "(($ac_try" in
5387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5388 *) ac_try_echo=$ac_try;;
5389 esac
5390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5391 (eval "$ac_try") 2>&5
5392 ac_status=$?
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); }; }; then
5395 ac_cv_lib_ICE_IceConnectionNumber=yes
5396 else
5397 echo "$as_me: failed program was:" >&5
5398 sed 's/^/| /' conftest.$ac_ext >&5
5400 ac_cv_lib_ICE_IceConnectionNumber=no
5403 rm -f core conftest.err conftest.$ac_objext \
5404 conftest$ac_exeext conftest.$ac_ext
5405 LIBS=$ac_check_lib_save_LIBS
5407 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5408 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5409 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5410 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5413 LDFLAGS=$ac_save_LDFLAGS
5417 for ac_prog in flex lex
5419 # Extract the first word of "$ac_prog", so it can be a program name with args.
5420 set dummy $ac_prog; ac_word=$2
5421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5423 if test "${ac_cv_prog_LEX+set}" = set; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 else
5426 if test -n "$LEX"; then
5427 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5436 ac_cv_prog_LEX="$ac_prog"
5437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 LEX=$ac_cv_prog_LEX
5447 if test -n "$LEX"; then
5448 { echo "$as_me:$LINENO: result: $LEX" >&5
5449 echo "${ECHO_T}$LEX" >&6; }
5450 else
5451 { echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6; }
5456 test -n "$LEX" && break
5457 done
5458 test -n "$LEX" || LEX=":"
5460 if test -z "$LEXLIB"
5461 then
5462 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5463 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5464 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5465 echo $ECHO_N "(cached) $ECHO_C" >&6
5466 else
5467 ac_check_lib_save_LIBS=$LIBS
5468 LIBS="-lfl $LIBS"
5469 cat >conftest.$ac_ext <<_ACEOF
5470 /* confdefs.h. */
5471 _ACEOF
5472 cat confdefs.h >>conftest.$ac_ext
5473 cat >>conftest.$ac_ext <<_ACEOF
5474 /* end confdefs.h. */
5476 /* Override any GCC internal prototype to avoid an error.
5477 Use char because int might match the return type of a GCC
5478 builtin and then its argument prototype would still apply. */
5479 #ifdef __cplusplus
5480 extern "C"
5481 #endif
5482 char yywrap ();
5484 main ()
5486 return yywrap ();
5488 return 0;
5490 _ACEOF
5491 rm -f conftest.$ac_objext conftest$ac_exeext
5492 if { (ac_try="$ac_link"
5493 case "(($ac_try" in
5494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5495 *) ac_try_echo=$ac_try;;
5496 esac
5497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5498 (eval "$ac_link") 2>conftest.er1
5499 ac_status=$?
5500 grep -v '^ *+' conftest.er1 >conftest.err
5501 rm -f conftest.er1
5502 cat conftest.err >&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); } &&
5505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5506 { (case "(($ac_try" in
5507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5508 *) ac_try_echo=$ac_try;;
5509 esac
5510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5511 (eval "$ac_try") 2>&5
5512 ac_status=$?
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; } &&
5515 { ac_try='test -s conftest$ac_exeext'
5516 { (case "(($ac_try" in
5517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5518 *) ac_try_echo=$ac_try;;
5519 esac
5520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5521 (eval "$ac_try") 2>&5
5522 ac_status=$?
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); }; }; then
5525 ac_cv_lib_fl_yywrap=yes
5526 else
5527 echo "$as_me: failed program was:" >&5
5528 sed 's/^/| /' conftest.$ac_ext >&5
5530 ac_cv_lib_fl_yywrap=no
5533 rm -f core conftest.err conftest.$ac_objext \
5534 conftest$ac_exeext conftest.$ac_ext
5535 LIBS=$ac_check_lib_save_LIBS
5537 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5538 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5539 if test $ac_cv_lib_fl_yywrap = yes; then
5540 LEXLIB="-lfl"
5541 else
5542 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5543 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5544 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5546 else
5547 ac_check_lib_save_LIBS=$LIBS
5548 LIBS="-ll $LIBS"
5549 cat >conftest.$ac_ext <<_ACEOF
5550 /* confdefs.h. */
5551 _ACEOF
5552 cat confdefs.h >>conftest.$ac_ext
5553 cat >>conftest.$ac_ext <<_ACEOF
5554 /* end confdefs.h. */
5556 /* Override any GCC internal prototype to avoid an error.
5557 Use char because int might match the return type of a GCC
5558 builtin and then its argument prototype would still apply. */
5559 #ifdef __cplusplus
5560 extern "C"
5561 #endif
5562 char yywrap ();
5564 main ()
5566 return yywrap ();
5568 return 0;
5570 _ACEOF
5571 rm -f conftest.$ac_objext conftest$ac_exeext
5572 if { (ac_try="$ac_link"
5573 case "(($ac_try" in
5574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5575 *) ac_try_echo=$ac_try;;
5576 esac
5577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5578 (eval "$ac_link") 2>conftest.er1
5579 ac_status=$?
5580 grep -v '^ *+' conftest.er1 >conftest.err
5581 rm -f conftest.er1
5582 cat conftest.err >&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); } &&
5585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5586 { (case "(($ac_try" in
5587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5588 *) ac_try_echo=$ac_try;;
5589 esac
5590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5591 (eval "$ac_try") 2>&5
5592 ac_status=$?
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; } &&
5595 { ac_try='test -s conftest$ac_exeext'
5596 { (case "(($ac_try" in
5597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5598 *) ac_try_echo=$ac_try;;
5599 esac
5600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5601 (eval "$ac_try") 2>&5
5602 ac_status=$?
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); }; }; then
5605 ac_cv_lib_l_yywrap=yes
5606 else
5607 echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.$ac_ext >&5
5610 ac_cv_lib_l_yywrap=no
5613 rm -f core conftest.err conftest.$ac_objext \
5614 conftest$ac_exeext conftest.$ac_ext
5615 LIBS=$ac_check_lib_save_LIBS
5617 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5618 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5619 if test $ac_cv_lib_l_yywrap = yes; then
5620 LEXLIB="-ll"
5627 if test "x$LEX" != "x:"; then
5628 { echo "$as_me:$LINENO: checking lex output file root" >&5
5629 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5630 if test "${ac_cv_prog_lex_root+set}" = set; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 else
5633 # The minimal lex program is just a single line: %%. But some broken lexes
5634 # (Solaris, I think it was) want two %% lines, so accommodate them.
5635 cat >conftest.l <<_ACEOF
5638 _ACEOF
5639 { (ac_try="$LEX conftest.l"
5640 case "(($ac_try" in
5641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5642 *) ac_try_echo=$ac_try;;
5643 esac
5644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5645 (eval "$LEX conftest.l") 2>&5
5646 ac_status=$?
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); }
5649 if test -f lex.yy.c; then
5650 ac_cv_prog_lex_root=lex.yy
5651 elif test -f lexyy.c; then
5652 ac_cv_prog_lex_root=lexyy
5653 else
5654 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5655 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5656 { (exit 1); exit 1; }; }
5659 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5660 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5661 rm -f conftest.l
5662 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5664 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5665 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5666 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5667 echo $ECHO_N "(cached) $ECHO_C" >&6
5668 else
5669 # POSIX says lex can declare yytext either as a pointer or an array; the
5670 # default is implementation-dependent. Figure out which it is, since
5671 # not all implementations provide the %pointer and %array declarations.
5672 ac_cv_prog_lex_yytext_pointer=no
5673 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5674 ac_save_LIBS=$LIBS
5675 LIBS="$LIBS $LEXLIB"
5676 cat >conftest.$ac_ext <<_ACEOF
5677 `cat $LEX_OUTPUT_ROOT.c`
5678 _ACEOF
5679 rm -f conftest.$ac_objext conftest$ac_exeext
5680 if { (ac_try="$ac_link"
5681 case "(($ac_try" in
5682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5683 *) ac_try_echo=$ac_try;;
5684 esac
5685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5686 (eval "$ac_link") 2>conftest.er1
5687 ac_status=$?
5688 grep -v '^ *+' conftest.er1 >conftest.err
5689 rm -f conftest.er1
5690 cat conftest.err >&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); } &&
5693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5694 { (case "(($ac_try" in
5695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5696 *) ac_try_echo=$ac_try;;
5697 esac
5698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5699 (eval "$ac_try") 2>&5
5700 ac_status=$?
5701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702 (exit $ac_status); }; } &&
5703 { ac_try='test -s conftest$ac_exeext'
5704 { (case "(($ac_try" in
5705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5706 *) ac_try_echo=$ac_try;;
5707 esac
5708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5709 (eval "$ac_try") 2>&5
5710 ac_status=$?
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); }; }; then
5713 ac_cv_prog_lex_yytext_pointer=yes
5714 else
5715 echo "$as_me: failed program was:" >&5
5716 sed 's/^/| /' conftest.$ac_ext >&5
5721 rm -f core conftest.err conftest.$ac_objext \
5722 conftest$ac_exeext conftest.$ac_ext
5723 LIBS=$ac_save_LIBS
5724 rm -f "${LEX_OUTPUT_ROOT}.c"
5727 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5728 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5729 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5731 cat >>confdefs.h <<\_ACEOF
5732 #define YYTEXT_POINTER 1
5733 _ACEOF
5739 for ac_prog in $LEX flex lex
5741 # Extract the first word of "$ac_prog", so it can be a program name with args.
5742 set dummy $ac_prog; ac_word=$2
5743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5745 if test "${ac_cv_prog_XLEX+set}" = set; then
5746 echo $ECHO_N "(cached) $ECHO_C" >&6
5747 else
5748 if test -n "$XLEX"; then
5749 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5750 else
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 for as_dir in $PATH
5754 IFS=$as_save_IFS
5755 test -z "$as_dir" && as_dir=.
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5758 ac_cv_prog_XLEX="$ac_prog"
5759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5760 break 2
5762 done
5763 done
5764 IFS=$as_save_IFS
5768 XLEX=$ac_cv_prog_XLEX
5769 if test -n "$XLEX"; then
5770 { echo "$as_me:$LINENO: result: $XLEX" >&5
5771 echo "${ECHO_T}$XLEX" >&6; }
5772 else
5773 { echo "$as_me:$LINENO: result: no" >&5
5774 echo "${ECHO_T}no" >&6; }
5778 test -n "$XLEX" && break
5779 done
5780 test -n "$XLEX" || XLEX="none"
5782 if test "$XLEX" = "none"
5783 then
5784 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5785 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5786 { (exit 1); exit 1; }; }
5789 for ac_prog in bison
5791 # Extract the first word of "$ac_prog", so it can be a program name with args.
5792 set dummy $ac_prog; ac_word=$2
5793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5795 if test "${ac_cv_prog_BISON+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 else
5798 if test -n "$BISON"; then
5799 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5800 else
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH
5804 IFS=$as_save_IFS
5805 test -z "$as_dir" && as_dir=.
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5808 ac_cv_prog_BISON="$ac_prog"
5809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 break 2
5812 done
5813 done
5814 IFS=$as_save_IFS
5818 BISON=$ac_cv_prog_BISON
5819 if test -n "$BISON"; then
5820 { echo "$as_me:$LINENO: result: $BISON" >&5
5821 echo "${ECHO_T}$BISON" >&6; }
5822 else
5823 { echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6; }
5828 test -n "$BISON" && break
5829 done
5830 test -n "$BISON" || BISON="none"
5832 if test "$BISON" = "none"
5833 then
5834 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5835 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5836 { (exit 1); exit 1; }; }
5839 if test -n "$ac_tool_prefix"; then
5840 for ac_prog in gas as
5842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5843 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5846 if test "${ac_cv_prog_AS+set}" = set; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5848 else
5849 if test -n "$AS"; then
5850 ac_cv_prog_AS="$AS" # Let the user override the test.
5851 else
5852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 for as_dir in $PATH
5855 IFS=$as_save_IFS
5856 test -z "$as_dir" && as_dir=.
5857 for ac_exec_ext in '' $ac_executable_extensions; do
5858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5859 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 break 2
5863 done
5864 done
5865 IFS=$as_save_IFS
5869 AS=$ac_cv_prog_AS
5870 if test -n "$AS"; then
5871 { echo "$as_me:$LINENO: result: $AS" >&5
5872 echo "${ECHO_T}$AS" >&6; }
5873 else
5874 { echo "$as_me:$LINENO: result: no" >&5
5875 echo "${ECHO_T}no" >&6; }
5879 test -n "$AS" && break
5880 done
5882 if test -z "$AS"; then
5883 ac_ct_AS=$AS
5884 for ac_prog in gas as
5886 # Extract the first word of "$ac_prog", so it can be a program name with args.
5887 set dummy $ac_prog; ac_word=$2
5888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5890 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5891 echo $ECHO_N "(cached) $ECHO_C" >&6
5892 else
5893 if test -n "$ac_ct_AS"; then
5894 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5895 else
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 for as_dir in $PATH
5899 IFS=$as_save_IFS
5900 test -z "$as_dir" && as_dir=.
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5903 ac_cv_prog_ac_ct_AS="$ac_prog"
5904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5905 break 2
5907 done
5908 done
5909 IFS=$as_save_IFS
5913 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5914 if test -n "$ac_ct_AS"; then
5915 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5916 echo "${ECHO_T}$ac_ct_AS" >&6; }
5917 else
5918 { echo "$as_me:$LINENO: result: no" >&5
5919 echo "${ECHO_T}no" >&6; }
5923 test -n "$ac_ct_AS" && break
5924 done
5926 if test "x$ac_ct_AS" = x; then
5927 AS="as"
5928 else
5929 case $cross_compiling:$ac_tool_warned in
5930 yes:)
5931 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5932 whose name does not start with the host triplet. If you think this
5933 configuration is useful to you, please write to autoconf@gnu.org." >&5
5934 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5935 whose name does not start with the host triplet. If you think this
5936 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5937 ac_tool_warned=yes ;;
5938 esac
5939 AS=$ac_ct_AS
5943 if test -n "$ac_tool_prefix"; then
5944 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5945 set dummy ${ac_tool_prefix}ld; ac_word=$2
5946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5948 if test "${ac_cv_prog_LD+set}" = set; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5950 else
5951 if test -n "$LD"; then
5952 ac_cv_prog_LD="$LD" # Let the user override the test.
5953 else
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 for as_dir in $PATH
5957 IFS=$as_save_IFS
5958 test -z "$as_dir" && as_dir=.
5959 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5961 ac_cv_prog_LD="${ac_tool_prefix}ld"
5962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 break 2
5965 done
5966 done
5967 IFS=$as_save_IFS
5971 LD=$ac_cv_prog_LD
5972 if test -n "$LD"; then
5973 { echo "$as_me:$LINENO: result: $LD" >&5
5974 echo "${ECHO_T}$LD" >&6; }
5975 else
5976 { echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6; }
5982 if test -z "$ac_cv_prog_LD"; then
5983 ac_ct_LD=$LD
5984 # Extract the first word of "ld", so it can be a program name with args.
5985 set dummy ld; ac_word=$2
5986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5988 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5989 echo $ECHO_N "(cached) $ECHO_C" >&6
5990 else
5991 if test -n "$ac_ct_LD"; then
5992 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5993 else
5994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5995 for as_dir in $PATH
5997 IFS=$as_save_IFS
5998 test -z "$as_dir" && as_dir=.
5999 for ac_exec_ext in '' $ac_executable_extensions; do
6000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6001 ac_cv_prog_ac_ct_LD="ld"
6002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6003 break 2
6005 done
6006 done
6007 IFS=$as_save_IFS
6011 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6012 if test -n "$ac_ct_LD"; then
6013 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6014 echo "${ECHO_T}$ac_ct_LD" >&6; }
6015 else
6016 { echo "$as_me:$LINENO: result: no" >&5
6017 echo "${ECHO_T}no" >&6; }
6020 if test "x$ac_ct_LD" = x; then
6021 LD="ld"
6022 else
6023 case $cross_compiling:$ac_tool_warned in
6024 yes:)
6025 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6026 whose name does not start with the host triplet. If you think this
6027 configuration is useful to you, please write to autoconf@gnu.org." >&5
6028 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6029 whose name does not start with the host triplet. If you think this
6030 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6031 ac_tool_warned=yes ;;
6032 esac
6033 LD=$ac_ct_LD
6035 else
6036 LD="$ac_cv_prog_LD"
6039 if test -n "$ac_tool_prefix"; then
6040 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6041 set dummy ${ac_tool_prefix}ar; ac_word=$2
6042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6044 if test "${ac_cv_prog_AR+set}" = set; then
6045 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 else
6047 if test -n "$AR"; then
6048 ac_cv_prog_AR="$AR" # Let the user override the test.
6049 else
6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051 for as_dir in $PATH
6053 IFS=$as_save_IFS
6054 test -z "$as_dir" && as_dir=.
6055 for ac_exec_ext in '' $ac_executable_extensions; do
6056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6057 ac_cv_prog_AR="${ac_tool_prefix}ar"
6058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6059 break 2
6061 done
6062 done
6063 IFS=$as_save_IFS
6067 AR=$ac_cv_prog_AR
6068 if test -n "$AR"; then
6069 { echo "$as_me:$LINENO: result: $AR" >&5
6070 echo "${ECHO_T}$AR" >&6; }
6071 else
6072 { echo "$as_me:$LINENO: result: no" >&5
6073 echo "${ECHO_T}no" >&6; }
6078 if test -z "$ac_cv_prog_AR"; then
6079 ac_ct_AR=$AR
6080 # Extract the first word of "ar", so it can be a program name with args.
6081 set dummy ar; ac_word=$2
6082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6084 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6085 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 else
6087 if test -n "$ac_ct_AR"; then
6088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6089 else
6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 for as_dir in $PATH
6093 IFS=$as_save_IFS
6094 test -z "$as_dir" && as_dir=.
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6097 ac_cv_prog_ac_ct_AR="ar"
6098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 break 2
6101 done
6102 done
6103 IFS=$as_save_IFS
6107 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6108 if test -n "$ac_ct_AR"; then
6109 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6110 echo "${ECHO_T}$ac_ct_AR" >&6; }
6111 else
6112 { echo "$as_me:$LINENO: result: no" >&5
6113 echo "${ECHO_T}no" >&6; }
6116 if test "x$ac_ct_AR" = x; then
6117 AR="ar"
6118 else
6119 case $cross_compiling:$ac_tool_warned in
6120 yes:)
6121 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6122 whose name does not start with the host triplet. If you think this
6123 configuration is useful to you, please write to autoconf@gnu.org." >&5
6124 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6125 whose name does not start with the host triplet. If you think this
6126 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6127 ac_tool_warned=yes ;;
6128 esac
6129 AR=$ac_ct_AR
6131 else
6132 AR="$ac_cv_prog_AR"
6135 if test -n "$ac_tool_prefix"; then
6136 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6137 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6140 if test "${ac_cv_prog_RANLIB+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 else
6143 if test -n "$RANLIB"; then
6144 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6145 else
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 for as_dir in $PATH
6149 IFS=$as_save_IFS
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6153 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6155 break 2
6157 done
6158 done
6159 IFS=$as_save_IFS
6163 RANLIB=$ac_cv_prog_RANLIB
6164 if test -n "$RANLIB"; then
6165 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6166 echo "${ECHO_T}$RANLIB" >&6; }
6167 else
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6174 if test -z "$ac_cv_prog_RANLIB"; then
6175 ac_ct_RANLIB=$RANLIB
6176 # Extract the first word of "ranlib", so it can be a program name with args.
6177 set dummy ranlib; ac_word=$2
6178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6180 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 else
6183 if test -n "$ac_ct_RANLIB"; then
6184 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6185 else
6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187 for as_dir in $PATH
6189 IFS=$as_save_IFS
6190 test -z "$as_dir" && as_dir=.
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6193 ac_cv_prog_ac_ct_RANLIB="ranlib"
6194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6195 break 2
6197 done
6198 done
6199 IFS=$as_save_IFS
6203 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6204 if test -n "$ac_ct_RANLIB"; then
6205 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6206 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6207 else
6208 { echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6; }
6212 if test "x$ac_ct_RANLIB" = x; then
6213 RANLIB=":"
6214 else
6215 case $cross_compiling:$ac_tool_warned in
6216 yes:)
6217 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6218 whose name does not start with the host triplet. If you think this
6219 configuration is useful to you, please write to autoconf@gnu.org." >&5
6220 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6221 whose name does not start with the host triplet. If you think this
6222 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6223 ac_tool_warned=yes ;;
6224 esac
6225 RANLIB=$ac_ct_RANLIB
6227 else
6228 RANLIB="$ac_cv_prog_RANLIB"
6231 if test -n "$ac_tool_prefix"; then
6232 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6233 set dummy ${ac_tool_prefix}strip; ac_word=$2
6234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6236 if test "${ac_cv_prog_STRIP+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6238 else
6239 if test -n "$STRIP"; then
6240 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6241 else
6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6243 for as_dir in $PATH
6245 IFS=$as_save_IFS
6246 test -z "$as_dir" && as_dir=.
6247 for ac_exec_ext in '' $ac_executable_extensions; do
6248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6249 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 break 2
6253 done
6254 done
6255 IFS=$as_save_IFS
6259 STRIP=$ac_cv_prog_STRIP
6260 if test -n "$STRIP"; then
6261 { echo "$as_me:$LINENO: result: $STRIP" >&5
6262 echo "${ECHO_T}$STRIP" >&6; }
6263 else
6264 { echo "$as_me:$LINENO: result: no" >&5
6265 echo "${ECHO_T}no" >&6; }
6270 if test -z "$ac_cv_prog_STRIP"; then
6271 ac_ct_STRIP=$STRIP
6272 # Extract the first word of "strip", so it can be a program name with args.
6273 set dummy strip; ac_word=$2
6274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6276 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6277 echo $ECHO_N "(cached) $ECHO_C" >&6
6278 else
6279 if test -n "$ac_ct_STRIP"; then
6280 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6281 else
6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6283 for as_dir in $PATH
6285 IFS=$as_save_IFS
6286 test -z "$as_dir" && as_dir=.
6287 for ac_exec_ext in '' $ac_executable_extensions; do
6288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6289 ac_cv_prog_ac_ct_STRIP="strip"
6290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6291 break 2
6293 done
6294 done
6295 IFS=$as_save_IFS
6299 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6300 if test -n "$ac_ct_STRIP"; then
6301 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6302 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6303 else
6304 { echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6; }
6308 if test "x$ac_ct_STRIP" = x; then
6309 STRIP="strip"
6310 else
6311 case $cross_compiling:$ac_tool_warned in
6312 yes:)
6313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6314 whose name does not start with the host triplet. If you think this
6315 configuration is useful to you, please write to autoconf@gnu.org." >&5
6316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6317 whose name does not start with the host triplet. If you think this
6318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6319 ac_tool_warned=yes ;;
6320 esac
6321 STRIP=$ac_ct_STRIP
6323 else
6324 STRIP="$ac_cv_prog_STRIP"
6327 if test -n "$ac_tool_prefix"; then
6328 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6329 set dummy ${ac_tool_prefix}windres; ac_word=$2
6330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6332 if test "${ac_cv_prog_WINDRES+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6334 else
6335 if test -n "$WINDRES"; then
6336 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6337 else
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 for as_dir in $PATH
6341 IFS=$as_save_IFS
6342 test -z "$as_dir" && as_dir=.
6343 for ac_exec_ext in '' $ac_executable_extensions; do
6344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6345 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6347 break 2
6349 done
6350 done
6351 IFS=$as_save_IFS
6355 WINDRES=$ac_cv_prog_WINDRES
6356 if test -n "$WINDRES"; then
6357 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6358 echo "${ECHO_T}$WINDRES" >&6; }
6359 else
6360 { echo "$as_me:$LINENO: result: no" >&5
6361 echo "${ECHO_T}no" >&6; }
6366 if test -z "$ac_cv_prog_WINDRES"; then
6367 ac_ct_WINDRES=$WINDRES
6368 # Extract the first word of "windres", so it can be a program name with args.
6369 set dummy windres; ac_word=$2
6370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6372 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6374 else
6375 if test -n "$ac_ct_WINDRES"; then
6376 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6377 else
6378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6379 for as_dir in $PATH
6381 IFS=$as_save_IFS
6382 test -z "$as_dir" && as_dir=.
6383 for ac_exec_ext in '' $ac_executable_extensions; do
6384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6385 ac_cv_prog_ac_ct_WINDRES="windres"
6386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6387 break 2
6389 done
6390 done
6391 IFS=$as_save_IFS
6395 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6396 if test -n "$ac_ct_WINDRES"; then
6397 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6398 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6399 else
6400 { echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6; }
6404 if test "x$ac_ct_WINDRES" = x; then
6405 WINDRES="false"
6406 else
6407 case $cross_compiling:$ac_tool_warned in
6408 yes:)
6409 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6410 whose name does not start with the host triplet. If you think this
6411 configuration is useful to you, please write to autoconf@gnu.org." >&5
6412 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6413 whose name does not start with the host triplet. If you think this
6414 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6415 ac_tool_warned=yes ;;
6416 esac
6417 WINDRES=$ac_ct_WINDRES
6419 else
6420 WINDRES="$ac_cv_prog_WINDRES"
6423 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6424 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6425 LN_S=$as_ln_s
6426 if test "$LN_S" = "ln -s"; then
6427 { echo "$as_me:$LINENO: result: yes" >&5
6428 echo "${ECHO_T}yes" >&6; }
6429 else
6430 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6431 echo "${ECHO_T}no, using $LN_S" >&6; }
6434 { echo "$as_me:$LINENO: checking whether ln works" >&5
6435 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6436 rm -f conf$$ conf$$.file
6437 echo >conf$$.file
6438 if ln conf$$.file conf$$ 2>/dev/null; then
6439 LN=ln
6441 { echo "$as_me:$LINENO: result: yes" >&5
6442 echo "${ECHO_T}yes" >&6; }
6443 else
6444 LN="cp -p"
6446 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6447 echo "${ECHO_T}no, using $LN" >&6; }
6449 rm -f conf$$ conf$$.file
6450 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6451 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6452 if test "${ac_cv_path_GREP+set}" = set; then
6453 echo $ECHO_N "(cached) $ECHO_C" >&6
6454 else
6455 # Extract the first word of "grep ggrep" to use in msg output
6456 if test -z "$GREP"; then
6457 set dummy grep ggrep; ac_prog_name=$2
6458 if test "${ac_cv_path_GREP+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6460 else
6461 ac_path_GREP_found=false
6462 # Loop through the user's path and test for each of PROGNAME-LIST
6463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6464 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6466 IFS=$as_save_IFS
6467 test -z "$as_dir" && as_dir=.
6468 for ac_prog in grep ggrep; do
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6471 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6472 # Check for GNU ac_path_GREP and select it if it is found.
6473 # Check for GNU $ac_path_GREP
6474 case `"$ac_path_GREP" --version 2>&1` in
6475 *GNU*)
6476 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6478 ac_count=0
6479 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6480 while :
6482 cat "conftest.in" "conftest.in" >"conftest.tmp"
6483 mv "conftest.tmp" "conftest.in"
6484 cp "conftest.in" "conftest.nl"
6485 echo 'GREP' >> "conftest.nl"
6486 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6487 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6488 ac_count=`expr $ac_count + 1`
6489 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6490 # Best one so far, save it but keep looking for a better one
6491 ac_cv_path_GREP="$ac_path_GREP"
6492 ac_path_GREP_max=$ac_count
6494 # 10*(2^10) chars as input seems more than enough
6495 test $ac_count -gt 10 && break
6496 done
6497 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6498 esac
6501 $ac_path_GREP_found && break 3
6502 done
6503 done
6505 done
6506 IFS=$as_save_IFS
6511 GREP="$ac_cv_path_GREP"
6512 if test -z "$GREP"; then
6513 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6514 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6515 { (exit 1); exit 1; }; }
6518 else
6519 ac_cv_path_GREP=$GREP
6524 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6525 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6526 GREP="$ac_cv_path_GREP"
6529 { echo "$as_me:$LINENO: checking for egrep" >&5
6530 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6531 if test "${ac_cv_path_EGREP+set}" = set; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6533 else
6534 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6535 then ac_cv_path_EGREP="$GREP -E"
6536 else
6537 # Extract the first word of "egrep" to use in msg output
6538 if test -z "$EGREP"; then
6539 set dummy egrep; ac_prog_name=$2
6540 if test "${ac_cv_path_EGREP+set}" = set; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6542 else
6543 ac_path_EGREP_found=false
6544 # Loop through the user's path and test for each of PROGNAME-LIST
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6548 IFS=$as_save_IFS
6549 test -z "$as_dir" && as_dir=.
6550 for ac_prog in egrep; do
6551 for ac_exec_ext in '' $ac_executable_extensions; do
6552 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6553 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6554 # Check for GNU ac_path_EGREP and select it if it is found.
6555 # Check for GNU $ac_path_EGREP
6556 case `"$ac_path_EGREP" --version 2>&1` in
6557 *GNU*)
6558 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6560 ac_count=0
6561 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6562 while :
6564 cat "conftest.in" "conftest.in" >"conftest.tmp"
6565 mv "conftest.tmp" "conftest.in"
6566 cp "conftest.in" "conftest.nl"
6567 echo 'EGREP' >> "conftest.nl"
6568 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6569 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6570 ac_count=`expr $ac_count + 1`
6571 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6572 # Best one so far, save it but keep looking for a better one
6573 ac_cv_path_EGREP="$ac_path_EGREP"
6574 ac_path_EGREP_max=$ac_count
6576 # 10*(2^10) chars as input seems more than enough
6577 test $ac_count -gt 10 && break
6578 done
6579 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6580 esac
6583 $ac_path_EGREP_found && break 3
6584 done
6585 done
6587 done
6588 IFS=$as_save_IFS
6593 EGREP="$ac_cv_path_EGREP"
6594 if test -z "$EGREP"; then
6595 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6596 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6597 { (exit 1); exit 1; }; }
6600 else
6601 ac_cv_path_EGREP=$EGREP
6607 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6608 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6609 EGREP="$ac_cv_path_EGREP"
6612 # Extract the first word of "ldconfig", so it can be a program name with args.
6613 set dummy ldconfig; ac_word=$2
6614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6616 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6618 else
6619 case $LDCONFIG in
6620 [\\/]* | ?:[\\/]*)
6621 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in /sbin /usr/sbin $PATH
6627 IFS=$as_save_IFS
6628 test -z "$as_dir" && as_dir=.
6629 for ac_exec_ext in '' $ac_executable_extensions; do
6630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6631 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6633 break 2
6635 done
6636 done
6637 IFS=$as_save_IFS
6639 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6641 esac
6643 LDCONFIG=$ac_cv_path_LDCONFIG
6644 if test -n "$LDCONFIG"; then
6645 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6646 echo "${ECHO_T}$LDCONFIG" >&6; }
6647 else
6648 { echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6; }
6653 # Find a good install program. We prefer a C program (faster),
6654 # so one script is as good as another. But avoid the broken or
6655 # incompatible versions:
6656 # SysV /etc/install, /usr/sbin/install
6657 # SunOS /usr/etc/install
6658 # IRIX /sbin/install
6659 # AIX /bin/install
6660 # AmigaOS /C/install, which installs bootblocks on floppy discs
6661 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6662 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6663 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6664 # OS/2's system install, which has a completely different semantic
6665 # ./install, which can be erroneously created by make from ./install.sh.
6666 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6667 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6668 if test -z "$INSTALL"; then
6669 if test "${ac_cv_path_install+set}" = set; then
6670 echo $ECHO_N "(cached) $ECHO_C" >&6
6671 else
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 for as_dir in $PATH
6675 IFS=$as_save_IFS
6676 test -z "$as_dir" && as_dir=.
6677 # Account for people who put trailing slashes in PATH elements.
6678 case $as_dir/ in
6679 ./ | .// | /cC/* | \
6680 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6681 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6682 /usr/ucb/* ) ;;
6684 # OSF1 and SCO ODT 3.0 have their own names for install.
6685 # Don't use installbsd from OSF since it installs stuff as root
6686 # by default.
6687 for ac_prog in ginstall scoinst install; do
6688 for ac_exec_ext in '' $ac_executable_extensions; do
6689 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6690 if test $ac_prog = install &&
6691 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6692 # AIX install. It has an incompatible calling convention.
6694 elif test $ac_prog = install &&
6695 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6696 # program-specific install script used by HP pwplus--don't use.
6698 else
6699 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6700 break 3
6703 done
6704 done
6706 esac
6707 done
6708 IFS=$as_save_IFS
6712 if test "${ac_cv_path_install+set}" = set; then
6713 INSTALL=$ac_cv_path_install
6714 else
6715 # As a last resort, use the slow shell script. Don't cache a
6716 # value for INSTALL within a source directory, because that will
6717 # break other packages using the cache if that directory is
6718 # removed, or if the value is a relative name.
6719 INSTALL=$ac_install_sh
6722 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6723 echo "${ECHO_T}$INSTALL" >&6; }
6725 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6726 # It thinks the first close brace ends the variable substitution.
6727 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6729 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6731 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6733 case "$INSTALL" in
6734 [\\/$]* | ?:[\\/]* ) ;;
6735 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6736 esac
6738 for ac_prog in lclint lint
6740 # Extract the first word of "$ac_prog", so it can be a program name with args.
6741 set dummy $ac_prog; ac_word=$2
6742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6744 if test "${ac_cv_prog_LINT+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6746 else
6747 if test -n "$LINT"; then
6748 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6749 else
6750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6751 for as_dir in $PATH
6753 IFS=$as_save_IFS
6754 test -z "$as_dir" && as_dir=.
6755 for ac_exec_ext in '' $ac_executable_extensions; do
6756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6757 ac_cv_prog_LINT="$ac_prog"
6758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6759 break 2
6761 done
6762 done
6763 IFS=$as_save_IFS
6767 LINT=$ac_cv_prog_LINT
6768 if test -n "$LINT"; then
6769 { echo "$as_me:$LINENO: result: $LINT" >&5
6770 echo "${ECHO_T}$LINT" >&6; }
6771 else
6772 { echo "$as_me:$LINENO: result: no" >&5
6773 echo "${ECHO_T}no" >&6; }
6777 test -n "$LINT" && break
6778 done
6780 if test "$LINT" = "lint"
6781 then
6782 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6787 for ac_prog in fontforge
6789 # Extract the first word of "$ac_prog", so it can be a program name with args.
6790 set dummy $ac_prog; ac_word=$2
6791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6793 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6794 echo $ECHO_N "(cached) $ECHO_C" >&6
6795 else
6796 if test -n "$FONTFORGE"; then
6797 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6798 else
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 for as_dir in $PATH
6802 IFS=$as_save_IFS
6803 test -z "$as_dir" && as_dir=.
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6806 ac_cv_prog_FONTFORGE="$ac_prog"
6807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6808 break 2
6810 done
6811 done
6812 IFS=$as_save_IFS
6816 FONTFORGE=$ac_cv_prog_FONTFORGE
6817 if test -n "$FONTFORGE"; then
6818 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6819 echo "${ECHO_T}$FONTFORGE" >&6; }
6820 else
6821 { echo "$as_me:$LINENO: result: no" >&5
6822 echo "${ECHO_T}no" >&6; }
6826 test -n "$FONTFORGE" && break
6827 done
6828 test -n "$FONTFORGE" || FONTFORGE="false"
6830 for ac_prog in pkg-config
6832 # Extract the first word of "$ac_prog", so it can be a program name with args.
6833 set dummy $ac_prog; ac_word=$2
6834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6836 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6838 else
6839 if test -n "$PKG_CONFIG"; then
6840 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6841 else
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 for as_dir in $PATH
6845 IFS=$as_save_IFS
6846 test -z "$as_dir" && as_dir=.
6847 for ac_exec_ext in '' $ac_executable_extensions; do
6848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6849 ac_cv_prog_PKG_CONFIG="$ac_prog"
6850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6851 break 2
6853 done
6854 done
6855 IFS=$as_save_IFS
6859 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6860 if test -n "$PKG_CONFIG"; then
6861 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6862 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6863 else
6864 { echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6; }
6869 test -n "$PKG_CONFIG" && break
6870 done
6871 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6874 case $host_cpu in
6875 *i[3456789]86*)
6876 # Extract the first word of "prelink", so it can be a program name with args.
6877 set dummy prelink; ac_word=$2
6878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6880 if test "${ac_cv_path_PRELINK+set}" = set; then
6881 echo $ECHO_N "(cached) $ECHO_C" >&6
6882 else
6883 case $PRELINK in
6884 [\\/]* | ?:[\\/]*)
6885 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 for as_dir in /sbin /usr/sbin $PATH
6891 IFS=$as_save_IFS
6892 test -z "$as_dir" && as_dir=.
6893 for ac_exec_ext in '' $ac_executable_extensions; do
6894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6895 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6897 break 2
6899 done
6900 done
6901 IFS=$as_save_IFS
6903 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6905 esac
6907 PRELINK=$ac_cv_path_PRELINK
6908 if test -n "$PRELINK"; then
6909 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6910 echo "${ECHO_T}$PRELINK" >&6; }
6911 else
6912 { echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6; }
6918 esac
6922 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6923 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6924 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6925 echo $ECHO_N "(cached) $ECHO_C" >&6
6926 else
6927 ac_check_lib_save_LIBS=$LIBS
6928 LIBS="-li386 $LIBS"
6929 cat >conftest.$ac_ext <<_ACEOF
6930 /* confdefs.h. */
6931 _ACEOF
6932 cat confdefs.h >>conftest.$ac_ext
6933 cat >>conftest.$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6936 /* Override any GCC internal prototype to avoid an error.
6937 Use char because int might match the return type of a GCC
6938 builtin and then its argument prototype would still apply. */
6939 #ifdef __cplusplus
6940 extern "C"
6941 #endif
6942 char i386_set_ldt ();
6944 main ()
6946 return i386_set_ldt ();
6948 return 0;
6950 _ACEOF
6951 rm -f conftest.$ac_objext conftest$ac_exeext
6952 if { (ac_try="$ac_link"
6953 case "(($ac_try" in
6954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6955 *) ac_try_echo=$ac_try;;
6956 esac
6957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6958 (eval "$ac_link") 2>conftest.er1
6959 ac_status=$?
6960 grep -v '^ *+' conftest.er1 >conftest.err
6961 rm -f conftest.er1
6962 cat conftest.err >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } &&
6965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6966 { (case "(($ac_try" in
6967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6968 *) ac_try_echo=$ac_try;;
6969 esac
6970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6971 (eval "$ac_try") 2>&5
6972 ac_status=$?
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; } &&
6975 { ac_try='test -s conftest$ac_exeext'
6976 { (case "(($ac_try" in
6977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6978 *) ac_try_echo=$ac_try;;
6979 esac
6980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6981 (eval "$ac_try") 2>&5
6982 ac_status=$?
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); }; }; then
6985 ac_cv_lib_i386_i386_set_ldt=yes
6986 else
6987 echo "$as_me: failed program was:" >&5
6988 sed 's/^/| /' conftest.$ac_ext >&5
6990 ac_cv_lib_i386_i386_set_ldt=no
6993 rm -f core conftest.err conftest.$ac_objext \
6994 conftest$ac_exeext conftest.$ac_ext
6995 LIBS=$ac_check_lib_save_LIBS
6997 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6998 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6999 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7000 cat >>confdefs.h <<_ACEOF
7001 #define HAVE_LIBI386 1
7002 _ACEOF
7004 LIBS="-li386 $LIBS"
7009 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7010 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7011 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7012 echo $ECHO_N "(cached) $ECHO_C" >&6
7013 else
7014 ac_check_lib_save_LIBS=$LIBS
7015 LIBS="-lossaudio $LIBS"
7016 cat >conftest.$ac_ext <<_ACEOF
7017 /* confdefs.h. */
7018 _ACEOF
7019 cat confdefs.h >>conftest.$ac_ext
7020 cat >>conftest.$ac_ext <<_ACEOF
7021 /* end confdefs.h. */
7023 /* Override any GCC internal prototype to avoid an error.
7024 Use char because int might match the return type of a GCC
7025 builtin and then its argument prototype would still apply. */
7026 #ifdef __cplusplus
7027 extern "C"
7028 #endif
7029 char _oss_ioctl ();
7031 main ()
7033 return _oss_ioctl ();
7035 return 0;
7037 _ACEOF
7038 rm -f conftest.$ac_objext conftest$ac_exeext
7039 if { (ac_try="$ac_link"
7040 case "(($ac_try" in
7041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7042 *) ac_try_echo=$ac_try;;
7043 esac
7044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7045 (eval "$ac_link") 2>conftest.er1
7046 ac_status=$?
7047 grep -v '^ *+' conftest.er1 >conftest.err
7048 rm -f conftest.er1
7049 cat conftest.err >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); } &&
7052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7053 { (case "(($ac_try" in
7054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7055 *) ac_try_echo=$ac_try;;
7056 esac
7057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7058 (eval "$ac_try") 2>&5
7059 ac_status=$?
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); }; } &&
7062 { ac_try='test -s conftest$ac_exeext'
7063 { (case "(($ac_try" in
7064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7065 *) ac_try_echo=$ac_try;;
7066 esac
7067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7068 (eval "$ac_try") 2>&5
7069 ac_status=$?
7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); }; }; then
7072 ac_cv_lib_ossaudio__oss_ioctl=yes
7073 else
7074 echo "$as_me: failed program was:" >&5
7075 sed 's/^/| /' conftest.$ac_ext >&5
7077 ac_cv_lib_ossaudio__oss_ioctl=no
7080 rm -f core conftest.err conftest.$ac_objext \
7081 conftest$ac_exeext conftest.$ac_ext
7082 LIBS=$ac_check_lib_save_LIBS
7084 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7085 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7086 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7087 cat >>confdefs.h <<_ACEOF
7088 #define HAVE_LIBOSSAUDIO 1
7089 _ACEOF
7091 LIBS="-lossaudio $LIBS"
7096 for ac_func in gethostbyname
7098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7099 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7101 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7102 echo $ECHO_N "(cached) $ECHO_C" >&6
7103 else
7104 cat >conftest.$ac_ext <<_ACEOF
7105 /* confdefs.h. */
7106 _ACEOF
7107 cat confdefs.h >>conftest.$ac_ext
7108 cat >>conftest.$ac_ext <<_ACEOF
7109 /* end confdefs.h. */
7110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7112 #define $ac_func innocuous_$ac_func
7114 /* System header to define __stub macros and hopefully few prototypes,
7115 which can conflict with char $ac_func (); below.
7116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117 <limits.h> exists even on freestanding compilers. */
7119 #ifdef __STDC__
7120 # include <limits.h>
7121 #else
7122 # include <assert.h>
7123 #endif
7125 #undef $ac_func
7127 /* Override any GCC internal prototype to avoid an error.
7128 Use char because int might match the return type of a GCC
7129 builtin and then its argument prototype would still apply. */
7130 #ifdef __cplusplus
7131 extern "C"
7132 #endif
7133 char $ac_func ();
7134 /* The GNU C library defines this for functions which it implements
7135 to always fail with ENOSYS. Some functions are actually named
7136 something starting with __ and the normal name is an alias. */
7137 #if defined __stub_$ac_func || defined __stub___$ac_func
7138 choke me
7139 #endif
7142 main ()
7144 return $ac_func ();
7146 return 0;
7148 _ACEOF
7149 rm -f conftest.$ac_objext conftest$ac_exeext
7150 if { (ac_try="$ac_link"
7151 case "(($ac_try" in
7152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7153 *) ac_try_echo=$ac_try;;
7154 esac
7155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7156 (eval "$ac_link") 2>conftest.er1
7157 ac_status=$?
7158 grep -v '^ *+' conftest.er1 >conftest.err
7159 rm -f conftest.er1
7160 cat conftest.err >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } &&
7163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7164 { (case "(($ac_try" in
7165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7166 *) ac_try_echo=$ac_try;;
7167 esac
7168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7169 (eval "$ac_try") 2>&5
7170 ac_status=$?
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); }; } &&
7173 { ac_try='test -s conftest$ac_exeext'
7174 { (case "(($ac_try" in
7175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7176 *) ac_try_echo=$ac_try;;
7177 esac
7178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7179 (eval "$ac_try") 2>&5
7180 ac_status=$?
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); }; }; then
7183 eval "$as_ac_var=yes"
7184 else
7185 echo "$as_me: failed program was:" >&5
7186 sed 's/^/| /' conftest.$ac_ext >&5
7188 eval "$as_ac_var=no"
7191 rm -f core conftest.err conftest.$ac_objext \
7192 conftest$ac_exeext conftest.$ac_ext
7194 ac_res=`eval echo '${'$as_ac_var'}'`
7195 { echo "$as_me:$LINENO: result: $ac_res" >&5
7196 echo "${ECHO_T}$ac_res" >&6; }
7197 if test `eval echo '${'$as_ac_var'}'` = yes; then
7198 cat >>confdefs.h <<_ACEOF
7199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7200 _ACEOF
7202 else
7204 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7205 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7206 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 else
7209 ac_check_lib_save_LIBS=$LIBS
7210 LIBS="-lnsl $LIBS"
7211 cat >conftest.$ac_ext <<_ACEOF
7212 /* confdefs.h. */
7213 _ACEOF
7214 cat confdefs.h >>conftest.$ac_ext
7215 cat >>conftest.$ac_ext <<_ACEOF
7216 /* end confdefs.h. */
7218 /* Override any GCC internal prototype to avoid an error.
7219 Use char because int might match the return type of a GCC
7220 builtin and then its argument prototype would still apply. */
7221 #ifdef __cplusplus
7222 extern "C"
7223 #endif
7224 char gethostbyname ();
7226 main ()
7228 return gethostbyname ();
7230 return 0;
7232 _ACEOF
7233 rm -f conftest.$ac_objext conftest$ac_exeext
7234 if { (ac_try="$ac_link"
7235 case "(($ac_try" in
7236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7237 *) ac_try_echo=$ac_try;;
7238 esac
7239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7240 (eval "$ac_link") 2>conftest.er1
7241 ac_status=$?
7242 grep -v '^ *+' conftest.er1 >conftest.err
7243 rm -f conftest.er1
7244 cat conftest.err >&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); } &&
7247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7248 { (case "(($ac_try" in
7249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7250 *) ac_try_echo=$ac_try;;
7251 esac
7252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7253 (eval "$ac_try") 2>&5
7254 ac_status=$?
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; } &&
7257 { ac_try='test -s conftest$ac_exeext'
7258 { (case "(($ac_try" in
7259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7260 *) ac_try_echo=$ac_try;;
7261 esac
7262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7263 (eval "$ac_try") 2>&5
7264 ac_status=$?
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); }; }; then
7267 ac_cv_lib_nsl_gethostbyname=yes
7268 else
7269 echo "$as_me: failed program was:" >&5
7270 sed 's/^/| /' conftest.$ac_ext >&5
7272 ac_cv_lib_nsl_gethostbyname=no
7275 rm -f core conftest.err conftest.$ac_objext \
7276 conftest$ac_exeext conftest.$ac_ext
7277 LIBS=$ac_check_lib_save_LIBS
7279 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7280 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
7281 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7282 cat >>confdefs.h <<_ACEOF
7283 #define HAVE_LIBNSL 1
7284 _ACEOF
7286 LIBS="-lnsl $LIBS"
7291 done
7294 for ac_func in connect
7296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7299 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7301 else
7302 cat >conftest.$ac_ext <<_ACEOF
7303 /* confdefs.h. */
7304 _ACEOF
7305 cat confdefs.h >>conftest.$ac_ext
7306 cat >>conftest.$ac_ext <<_ACEOF
7307 /* end confdefs.h. */
7308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7310 #define $ac_func innocuous_$ac_func
7312 /* System header to define __stub macros and hopefully few prototypes,
7313 which can conflict with char $ac_func (); below.
7314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7315 <limits.h> exists even on freestanding compilers. */
7317 #ifdef __STDC__
7318 # include <limits.h>
7319 #else
7320 # include <assert.h>
7321 #endif
7323 #undef $ac_func
7325 /* Override any GCC internal prototype to avoid an error.
7326 Use char because int might match the return type of a GCC
7327 builtin and then its argument prototype would still apply. */
7328 #ifdef __cplusplus
7329 extern "C"
7330 #endif
7331 char $ac_func ();
7332 /* The GNU C library defines this for functions which it implements
7333 to always fail with ENOSYS. Some functions are actually named
7334 something starting with __ and the normal name is an alias. */
7335 #if defined __stub_$ac_func || defined __stub___$ac_func
7336 choke me
7337 #endif
7340 main ()
7342 return $ac_func ();
7344 return 0;
7346 _ACEOF
7347 rm -f conftest.$ac_objext conftest$ac_exeext
7348 if { (ac_try="$ac_link"
7349 case "(($ac_try" in
7350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7351 *) ac_try_echo=$ac_try;;
7352 esac
7353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7354 (eval "$ac_link") 2>conftest.er1
7355 ac_status=$?
7356 grep -v '^ *+' conftest.er1 >conftest.err
7357 rm -f conftest.er1
7358 cat conftest.err >&5
7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 (exit $ac_status); } &&
7361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7362 { (case "(($ac_try" in
7363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7364 *) ac_try_echo=$ac_try;;
7365 esac
7366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7367 (eval "$ac_try") 2>&5
7368 ac_status=$?
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; } &&
7371 { ac_try='test -s conftest$ac_exeext'
7372 { (case "(($ac_try" in
7373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7374 *) ac_try_echo=$ac_try;;
7375 esac
7376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7377 (eval "$ac_try") 2>&5
7378 ac_status=$?
7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); }; }; then
7381 eval "$as_ac_var=yes"
7382 else
7383 echo "$as_me: failed program was:" >&5
7384 sed 's/^/| /' conftest.$ac_ext >&5
7386 eval "$as_ac_var=no"
7389 rm -f core conftest.err conftest.$ac_objext \
7390 conftest$ac_exeext conftest.$ac_ext
7392 ac_res=`eval echo '${'$as_ac_var'}'`
7393 { echo "$as_me:$LINENO: result: $ac_res" >&5
7394 echo "${ECHO_T}$ac_res" >&6; }
7395 if test `eval echo '${'$as_ac_var'}'` = yes; then
7396 cat >>confdefs.h <<_ACEOF
7397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7398 _ACEOF
7400 else
7402 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7403 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
7404 if test "${ac_cv_lib_socket_connect+set}" = set; then
7405 echo $ECHO_N "(cached) $ECHO_C" >&6
7406 else
7407 ac_check_lib_save_LIBS=$LIBS
7408 LIBS="-lsocket $LIBS"
7409 cat >conftest.$ac_ext <<_ACEOF
7410 /* confdefs.h. */
7411 _ACEOF
7412 cat confdefs.h >>conftest.$ac_ext
7413 cat >>conftest.$ac_ext <<_ACEOF
7414 /* end confdefs.h. */
7416 /* Override any GCC internal prototype to avoid an error.
7417 Use char because int might match the return type of a GCC
7418 builtin and then its argument prototype would still apply. */
7419 #ifdef __cplusplus
7420 extern "C"
7421 #endif
7422 char connect ();
7424 main ()
7426 return connect ();
7428 return 0;
7430 _ACEOF
7431 rm -f conftest.$ac_objext conftest$ac_exeext
7432 if { (ac_try="$ac_link"
7433 case "(($ac_try" in
7434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7435 *) ac_try_echo=$ac_try;;
7436 esac
7437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7438 (eval "$ac_link") 2>conftest.er1
7439 ac_status=$?
7440 grep -v '^ *+' conftest.er1 >conftest.err
7441 rm -f conftest.er1
7442 cat conftest.err >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } &&
7445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7446 { (case "(($ac_try" in
7447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7448 *) ac_try_echo=$ac_try;;
7449 esac
7450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7451 (eval "$ac_try") 2>&5
7452 ac_status=$?
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; } &&
7455 { ac_try='test -s conftest$ac_exeext'
7456 { (case "(($ac_try" in
7457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7458 *) ac_try_echo=$ac_try;;
7459 esac
7460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7461 (eval "$ac_try") 2>&5
7462 ac_status=$?
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); }; }; then
7465 ac_cv_lib_socket_connect=yes
7466 else
7467 echo "$as_me: failed program was:" >&5
7468 sed 's/^/| /' conftest.$ac_ext >&5
7470 ac_cv_lib_socket_connect=no
7473 rm -f core conftest.err conftest.$ac_objext \
7474 conftest$ac_exeext conftest.$ac_ext
7475 LIBS=$ac_check_lib_save_LIBS
7477 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7478 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
7479 if test $ac_cv_lib_socket_connect = yes; then
7480 cat >>confdefs.h <<_ACEOF
7481 #define HAVE_LIBSOCKET 1
7482 _ACEOF
7484 LIBS="-lsocket $LIBS"
7489 done
7492 for ac_func in inet_aton
7494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7495 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7497 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7498 echo $ECHO_N "(cached) $ECHO_C" >&6
7499 else
7500 cat >conftest.$ac_ext <<_ACEOF
7501 /* confdefs.h. */
7502 _ACEOF
7503 cat confdefs.h >>conftest.$ac_ext
7504 cat >>conftest.$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7508 #define $ac_func innocuous_$ac_func
7510 /* System header to define __stub macros and hopefully few prototypes,
7511 which can conflict with char $ac_func (); below.
7512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7513 <limits.h> exists even on freestanding compilers. */
7515 #ifdef __STDC__
7516 # include <limits.h>
7517 #else
7518 # include <assert.h>
7519 #endif
7521 #undef $ac_func
7523 /* Override any GCC internal prototype to avoid an error.
7524 Use char because int might match the return type of a GCC
7525 builtin and then its argument prototype would still apply. */
7526 #ifdef __cplusplus
7527 extern "C"
7528 #endif
7529 char $ac_func ();
7530 /* The GNU C library defines this for functions which it implements
7531 to always fail with ENOSYS. Some functions are actually named
7532 something starting with __ and the normal name is an alias. */
7533 #if defined __stub_$ac_func || defined __stub___$ac_func
7534 choke me
7535 #endif
7538 main ()
7540 return $ac_func ();
7542 return 0;
7544 _ACEOF
7545 rm -f conftest.$ac_objext conftest$ac_exeext
7546 if { (ac_try="$ac_link"
7547 case "(($ac_try" in
7548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7549 *) ac_try_echo=$ac_try;;
7550 esac
7551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7552 (eval "$ac_link") 2>conftest.er1
7553 ac_status=$?
7554 grep -v '^ *+' conftest.er1 >conftest.err
7555 rm -f conftest.er1
7556 cat conftest.err >&5
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); } &&
7559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7560 { (case "(($ac_try" in
7561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7562 *) ac_try_echo=$ac_try;;
7563 esac
7564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7565 (eval "$ac_try") 2>&5
7566 ac_status=$?
7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568 (exit $ac_status); }; } &&
7569 { ac_try='test -s conftest$ac_exeext'
7570 { (case "(($ac_try" in
7571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7572 *) ac_try_echo=$ac_try;;
7573 esac
7574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7575 (eval "$ac_try") 2>&5
7576 ac_status=$?
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); }; }; then
7579 eval "$as_ac_var=yes"
7580 else
7581 echo "$as_me: failed program was:" >&5
7582 sed 's/^/| /' conftest.$ac_ext >&5
7584 eval "$as_ac_var=no"
7587 rm -f core conftest.err conftest.$ac_objext \
7588 conftest$ac_exeext conftest.$ac_ext
7590 ac_res=`eval echo '${'$as_ac_var'}'`
7591 { echo "$as_me:$LINENO: result: $ac_res" >&5
7592 echo "${ECHO_T}$ac_res" >&6; }
7593 if test `eval echo '${'$as_ac_var'}'` = yes; then
7594 cat >>confdefs.h <<_ACEOF
7595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7596 _ACEOF
7598 else
7600 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7601 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7602 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7604 else
7605 ac_check_lib_save_LIBS=$LIBS
7606 LIBS="-lresolv $LIBS"
7607 cat >conftest.$ac_ext <<_ACEOF
7608 /* confdefs.h. */
7609 _ACEOF
7610 cat confdefs.h >>conftest.$ac_ext
7611 cat >>conftest.$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7614 /* Override any GCC internal prototype to avoid an error.
7615 Use char because int might match the return type of a GCC
7616 builtin and then its argument prototype would still apply. */
7617 #ifdef __cplusplus
7618 extern "C"
7619 #endif
7620 char inet_aton ();
7622 main ()
7624 return inet_aton ();
7626 return 0;
7628 _ACEOF
7629 rm -f conftest.$ac_objext conftest$ac_exeext
7630 if { (ac_try="$ac_link"
7631 case "(($ac_try" in
7632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7633 *) ac_try_echo=$ac_try;;
7634 esac
7635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7636 (eval "$ac_link") 2>conftest.er1
7637 ac_status=$?
7638 grep -v '^ *+' conftest.er1 >conftest.err
7639 rm -f conftest.er1
7640 cat conftest.err >&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } &&
7643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7644 { (case "(($ac_try" in
7645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7646 *) ac_try_echo=$ac_try;;
7647 esac
7648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7649 (eval "$ac_try") 2>&5
7650 ac_status=$?
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); }; } &&
7653 { ac_try='test -s conftest$ac_exeext'
7654 { (case "(($ac_try" in
7655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7656 *) ac_try_echo=$ac_try;;
7657 esac
7658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7659 (eval "$ac_try") 2>&5
7660 ac_status=$?
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); }; }; then
7663 ac_cv_lib_resolv_inet_aton=yes
7664 else
7665 echo "$as_me: failed program was:" >&5
7666 sed 's/^/| /' conftest.$ac_ext >&5
7668 ac_cv_lib_resolv_inet_aton=no
7671 rm -f core conftest.err conftest.$ac_objext \
7672 conftest$ac_exeext conftest.$ac_ext
7673 LIBS=$ac_check_lib_save_LIBS
7675 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7676 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7677 if test $ac_cv_lib_resolv_inet_aton = yes; then
7678 cat >>confdefs.h <<_ACEOF
7679 #define HAVE_LIBRESOLV 1
7680 _ACEOF
7682 LIBS="-lresolv $LIBS"
7687 done
7690 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7691 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7692 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7694 else
7695 ac_check_lib_save_LIBS=$LIBS
7696 LIBS="-lxpg4 $LIBS"
7697 cat >conftest.$ac_ext <<_ACEOF
7698 /* confdefs.h. */
7699 _ACEOF
7700 cat confdefs.h >>conftest.$ac_ext
7701 cat >>conftest.$ac_ext <<_ACEOF
7702 /* end confdefs.h. */
7704 /* Override any GCC internal prototype to avoid an error.
7705 Use char because int might match the return type of a GCC
7706 builtin and then its argument prototype would still apply. */
7707 #ifdef __cplusplus
7708 extern "C"
7709 #endif
7710 char _xpg4_setrunelocale ();
7712 main ()
7714 return _xpg4_setrunelocale ();
7716 return 0;
7718 _ACEOF
7719 rm -f conftest.$ac_objext conftest$ac_exeext
7720 if { (ac_try="$ac_link"
7721 case "(($ac_try" in
7722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7723 *) ac_try_echo=$ac_try;;
7724 esac
7725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7726 (eval "$ac_link") 2>conftest.er1
7727 ac_status=$?
7728 grep -v '^ *+' conftest.er1 >conftest.err
7729 rm -f conftest.er1
7730 cat conftest.err >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } &&
7733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7734 { (case "(($ac_try" in
7735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7736 *) ac_try_echo=$ac_try;;
7737 esac
7738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7739 (eval "$ac_try") 2>&5
7740 ac_status=$?
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); }; } &&
7743 { ac_try='test -s conftest$ac_exeext'
7744 { (case "(($ac_try" in
7745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7746 *) ac_try_echo=$ac_try;;
7747 esac
7748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7749 (eval "$ac_try") 2>&5
7750 ac_status=$?
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); }; }; then
7753 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7754 else
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.$ac_ext >&5
7758 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7761 rm -f core conftest.err conftest.$ac_objext \
7762 conftest$ac_exeext conftest.$ac_ext
7763 LIBS=$ac_check_lib_save_LIBS
7765 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7766 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7767 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_LIBXPG4 1
7770 _ACEOF
7772 LIBS="-lxpg4 $LIBS"
7777 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
7778 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
7779 if test "${ac_cv_lib_poll_poll+set}" = set; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7781 else
7782 ac_check_lib_save_LIBS=$LIBS
7783 LIBS="-lpoll $LIBS"
7784 cat >conftest.$ac_ext <<_ACEOF
7785 /* confdefs.h. */
7786 _ACEOF
7787 cat confdefs.h >>conftest.$ac_ext
7788 cat >>conftest.$ac_ext <<_ACEOF
7789 /* end confdefs.h. */
7791 /* Override any GCC internal prototype to avoid an error.
7792 Use char because int might match the return type of a GCC
7793 builtin and then its argument prototype would still apply. */
7794 #ifdef __cplusplus
7795 extern "C"
7796 #endif
7797 char poll ();
7799 main ()
7801 return poll ();
7803 return 0;
7805 _ACEOF
7806 rm -f conftest.$ac_objext conftest$ac_exeext
7807 if { (ac_try="$ac_link"
7808 case "(($ac_try" in
7809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7810 *) ac_try_echo=$ac_try;;
7811 esac
7812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7813 (eval "$ac_link") 2>conftest.er1
7814 ac_status=$?
7815 grep -v '^ *+' conftest.er1 >conftest.err
7816 rm -f conftest.er1
7817 cat conftest.err >&5
7818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819 (exit $ac_status); } &&
7820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7821 { (case "(($ac_try" in
7822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7823 *) ac_try_echo=$ac_try;;
7824 esac
7825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7826 (eval "$ac_try") 2>&5
7827 ac_status=$?
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; } &&
7830 { ac_try='test -s conftest$ac_exeext'
7831 { (case "(($ac_try" in
7832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7833 *) ac_try_echo=$ac_try;;
7834 esac
7835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7836 (eval "$ac_try") 2>&5
7837 ac_status=$?
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); }; }; then
7840 ac_cv_lib_poll_poll=yes
7841 else
7842 echo "$as_me: failed program was:" >&5
7843 sed 's/^/| /' conftest.$ac_ext >&5
7845 ac_cv_lib_poll_poll=no
7848 rm -f core conftest.err conftest.$ac_objext \
7849 conftest$ac_exeext conftest.$ac_ext
7850 LIBS=$ac_check_lib_save_LIBS
7852 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
7853 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
7854 if test $ac_cv_lib_poll_poll = yes; then
7855 cat >>confdefs.h <<_ACEOF
7856 #define HAVE_LIBPOLL 1
7857 _ACEOF
7859 LIBS="-lpoll $LIBS"
7863 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7864 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7865 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7867 else
7868 ac_check_lib_save_LIBS=$LIBS
7869 LIBS="-lpthread $LIBS"
7870 cat >conftest.$ac_ext <<_ACEOF
7871 /* confdefs.h. */
7872 _ACEOF
7873 cat confdefs.h >>conftest.$ac_ext
7874 cat >>conftest.$ac_ext <<_ACEOF
7875 /* end confdefs.h. */
7877 /* Override any GCC internal prototype to avoid an error.
7878 Use char because int might match the return type of a GCC
7879 builtin and then its argument prototype would still apply. */
7880 #ifdef __cplusplus
7881 extern "C"
7882 #endif
7883 char pthread_create ();
7885 main ()
7887 return pthread_create ();
7889 return 0;
7891 _ACEOF
7892 rm -f conftest.$ac_objext conftest$ac_exeext
7893 if { (ac_try="$ac_link"
7894 case "(($ac_try" in
7895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7896 *) ac_try_echo=$ac_try;;
7897 esac
7898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7899 (eval "$ac_link") 2>conftest.er1
7900 ac_status=$?
7901 grep -v '^ *+' conftest.er1 >conftest.err
7902 rm -f conftest.er1
7903 cat conftest.err >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); } &&
7906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7907 { (case "(($ac_try" in
7908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7909 *) ac_try_echo=$ac_try;;
7910 esac
7911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7912 (eval "$ac_try") 2>&5
7913 ac_status=$?
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; } &&
7916 { ac_try='test -s conftest$ac_exeext'
7917 { (case "(($ac_try" in
7918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7919 *) ac_try_echo=$ac_try;;
7920 esac
7921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7922 (eval "$ac_try") 2>&5
7923 ac_status=$?
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); }; }; then
7926 ac_cv_lib_pthread_pthread_create=yes
7927 else
7928 echo "$as_me: failed program was:" >&5
7929 sed 's/^/| /' conftest.$ac_ext >&5
7931 ac_cv_lib_pthread_pthread_create=no
7934 rm -f core conftest.err conftest.$ac_objext \
7935 conftest$ac_exeext conftest.$ac_ext
7936 LIBS=$ac_check_lib_save_LIBS
7938 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7939 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7940 if test $ac_cv_lib_pthread_pthread_create = yes; then
7941 LIBPTHREAD="-lpthread"
7946 XLIB=""
7948 XFILES=""
7950 OPENGLFILES=""
7952 GLU32FILES=""
7954 OPENGL_LIBS=""
7958 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7959 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7960 if test "${ac_cv_header_stdc+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7962 else
7963 cat >conftest.$ac_ext <<_ACEOF
7964 /* confdefs.h. */
7965 _ACEOF
7966 cat confdefs.h >>conftest.$ac_ext
7967 cat >>conftest.$ac_ext <<_ACEOF
7968 /* end confdefs.h. */
7969 #include <stdlib.h>
7970 #include <stdarg.h>
7971 #include <string.h>
7972 #include <float.h>
7975 main ()
7979 return 0;
7981 _ACEOF
7982 rm -f conftest.$ac_objext
7983 if { (ac_try="$ac_compile"
7984 case "(($ac_try" in
7985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7986 *) ac_try_echo=$ac_try;;
7987 esac
7988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7989 (eval "$ac_compile") 2>conftest.er1
7990 ac_status=$?
7991 grep -v '^ *+' conftest.er1 >conftest.err
7992 rm -f conftest.er1
7993 cat conftest.err >&5
7994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995 (exit $ac_status); } &&
7996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7997 { (case "(($ac_try" in
7998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7999 *) ac_try_echo=$ac_try;;
8000 esac
8001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8002 (eval "$ac_try") 2>&5
8003 ac_status=$?
8004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 (exit $ac_status); }; } &&
8006 { ac_try='test -s conftest.$ac_objext'
8007 { (case "(($ac_try" in
8008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8009 *) ac_try_echo=$ac_try;;
8010 esac
8011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8012 (eval "$ac_try") 2>&5
8013 ac_status=$?
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); }; }; then
8016 ac_cv_header_stdc=yes
8017 else
8018 echo "$as_me: failed program was:" >&5
8019 sed 's/^/| /' conftest.$ac_ext >&5
8021 ac_cv_header_stdc=no
8024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8026 if test $ac_cv_header_stdc = yes; then
8027 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8028 cat >conftest.$ac_ext <<_ACEOF
8029 /* confdefs.h. */
8030 _ACEOF
8031 cat confdefs.h >>conftest.$ac_ext
8032 cat >>conftest.$ac_ext <<_ACEOF
8033 /* end confdefs.h. */
8034 #include <string.h>
8036 _ACEOF
8037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8038 $EGREP "memchr" >/dev/null 2>&1; then
8040 else
8041 ac_cv_header_stdc=no
8043 rm -f conftest*
8047 if test $ac_cv_header_stdc = yes; then
8048 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8049 cat >conftest.$ac_ext <<_ACEOF
8050 /* confdefs.h. */
8051 _ACEOF
8052 cat confdefs.h >>conftest.$ac_ext
8053 cat >>conftest.$ac_ext <<_ACEOF
8054 /* end confdefs.h. */
8055 #include <stdlib.h>
8057 _ACEOF
8058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8059 $EGREP "free" >/dev/null 2>&1; then
8061 else
8062 ac_cv_header_stdc=no
8064 rm -f conftest*
8068 if test $ac_cv_header_stdc = yes; then
8069 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8070 if test "$cross_compiling" = yes; then
8072 else
8073 cat >conftest.$ac_ext <<_ACEOF
8074 /* confdefs.h. */
8075 _ACEOF
8076 cat confdefs.h >>conftest.$ac_ext
8077 cat >>conftest.$ac_ext <<_ACEOF
8078 /* end confdefs.h. */
8079 #include <ctype.h>
8080 #include <stdlib.h>
8081 #if ((' ' & 0x0FF) == 0x020)
8082 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8083 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8084 #else
8085 # define ISLOWER(c) \
8086 (('a' <= (c) && (c) <= 'i') \
8087 || ('j' <= (c) && (c) <= 'r') \
8088 || ('s' <= (c) && (c) <= 'z'))
8089 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8090 #endif
8092 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8094 main ()
8096 int i;
8097 for (i = 0; i < 256; i++)
8098 if (XOR (islower (i), ISLOWER (i))
8099 || toupper (i) != TOUPPER (i))
8100 return 2;
8101 return 0;
8103 _ACEOF
8104 rm -f conftest$ac_exeext
8105 if { (ac_try="$ac_link"
8106 case "(($ac_try" in
8107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8108 *) ac_try_echo=$ac_try;;
8109 esac
8110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8111 (eval "$ac_link") 2>&5
8112 ac_status=$?
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8115 { (case "(($ac_try" in
8116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8117 *) ac_try_echo=$ac_try;;
8118 esac
8119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8120 (eval "$ac_try") 2>&5
8121 ac_status=$?
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; }; then
8125 else
8126 echo "$as_me: program exited with status $ac_status" >&5
8127 echo "$as_me: failed program was:" >&5
8128 sed 's/^/| /' conftest.$ac_ext >&5
8130 ( exit $ac_status )
8131 ac_cv_header_stdc=no
8133 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8139 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8140 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8141 if test $ac_cv_header_stdc = yes; then
8143 cat >>confdefs.h <<\_ACEOF
8144 #define STDC_HEADERS 1
8145 _ACEOF
8149 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8159 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8160 inttypes.h stdint.h unistd.h
8162 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8163 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8165 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8166 echo $ECHO_N "(cached) $ECHO_C" >&6
8167 else
8168 cat >conftest.$ac_ext <<_ACEOF
8169 /* confdefs.h. */
8170 _ACEOF
8171 cat confdefs.h >>conftest.$ac_ext
8172 cat >>conftest.$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8174 $ac_includes_default
8176 #include <$ac_header>
8177 _ACEOF
8178 rm -f conftest.$ac_objext
8179 if { (ac_try="$ac_compile"
8180 case "(($ac_try" in
8181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8182 *) ac_try_echo=$ac_try;;
8183 esac
8184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8185 (eval "$ac_compile") 2>conftest.er1
8186 ac_status=$?
8187 grep -v '^ *+' conftest.er1 >conftest.err
8188 rm -f conftest.er1
8189 cat conftest.err >&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); } &&
8192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8193 { (case "(($ac_try" in
8194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8195 *) ac_try_echo=$ac_try;;
8196 esac
8197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8198 (eval "$ac_try") 2>&5
8199 ac_status=$?
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); }; } &&
8202 { ac_try='test -s conftest.$ac_objext'
8203 { (case "(($ac_try" in
8204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8205 *) ac_try_echo=$ac_try;;
8206 esac
8207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8208 (eval "$ac_try") 2>&5
8209 ac_status=$?
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; }; then
8212 eval "$as_ac_Header=yes"
8213 else
8214 echo "$as_me: failed program was:" >&5
8215 sed 's/^/| /' conftest.$ac_ext >&5
8217 eval "$as_ac_Header=no"
8220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8222 ac_res=`eval echo '${'$as_ac_Header'}'`
8223 { echo "$as_me:$LINENO: result: $ac_res" >&5
8224 echo "${ECHO_T}$ac_res" >&6; }
8225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8226 cat >>confdefs.h <<_ACEOF
8227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8228 _ACEOF
8232 done
8343 for ac_header in \
8344 AudioUnit/AudioUnit.h \
8345 CoreAudio/CoreAudio.h \
8346 IOKit/IOKitLib.h \
8347 alsa/asoundlib.h \
8348 arpa/inet.h \
8349 arpa/nameser.h \
8350 asm/types.h \
8351 capi20.h \
8352 cups/cups.h \
8353 curses.h \
8354 direct.h \
8355 dlfcn.h \
8356 elf.h \
8357 float.h \
8358 fontconfig/fontconfig.h \
8359 getopt.h \
8360 gif_lib.h \
8361 ieeefp.h \
8362 io.h \
8363 jack/jack.h \
8364 jpeglib.h \
8365 lber.h \
8366 lcms.h \
8367 lcms/lcms.h \
8368 ldap.h \
8369 libaudioio.h \
8370 link.h \
8371 linux/cdrom.h \
8372 linux/compiler.h \
8373 linux/hdreg.h \
8374 linux/input.h \
8375 linux/ioctl.h \
8376 linux/joystick.h \
8377 linux/major.h \
8378 linux/param.h \
8379 linux/serial.h \
8380 linux/ucdrom.h \
8381 mach/machine.h \
8382 machine/cpu.h \
8383 machine/limits.h \
8384 machine/soundcard.h \
8385 mntent.h \
8386 ncurses.h \
8387 netdb.h \
8388 netinet/in.h \
8389 netinet/in_systm.h \
8390 netinet/tcp.h \
8391 netinet/tcp_fsm.h \
8392 openssl/err.h \
8393 openssl/ssl.h \
8394 poll.h \
8395 process.h \
8396 pthread.h \
8397 pthread_np.h \
8398 pwd.h \
8399 regex.h \
8400 sched.h \
8401 scsi/scsi.h \
8402 scsi/scsi_ioctl.h \
8403 scsi/sg.h \
8404 soundcard.h \
8405 stdint.h \
8406 strings.h \
8407 sys/asoundlib.h \
8408 sys/cdio.h \
8409 sys/elf32.h \
8410 sys/epoll.h \
8411 sys/errno.h \
8412 sys/event.h \
8413 sys/exec_elf.h \
8414 sys/filio.h \
8415 sys/ioctl.h \
8416 sys/ipc.h \
8417 sys/limits.h \
8418 sys/link.h \
8419 sys/lwp.h \
8420 sys/mman.h \
8421 sys/modem.h \
8422 sys/msg.h \
8423 sys/mtio.h \
8424 sys/param.h \
8425 sys/poll.h \
8426 sys/prctl.h \
8427 sys/ptrace.h \
8428 sys/reg.h \
8429 sys/resource.h \
8430 sys/scsiio.h \
8431 sys/shm.h \
8432 sys/signal.h \
8433 sys/socket.h \
8434 sys/sockio.h \
8435 sys/soundcard.h \
8436 sys/statvfs.h \
8437 sys/strtio.h \
8438 sys/syscall.h \
8439 sys/sysctl.h \
8440 sys/time.h \
8441 sys/times.h \
8442 sys/uio.h \
8443 sys/un.h \
8444 sys/vm86.h \
8445 sys/wait.h \
8446 syscall.h \
8447 termios.h \
8448 unicode/ubidi.h \
8449 unistd.h \
8450 utime.h \
8451 valgrind/memcheck.h
8454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8456 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8458 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8459 echo $ECHO_N "(cached) $ECHO_C" >&6
8461 ac_res=`eval echo '${'$as_ac_Header'}'`
8462 { echo "$as_me:$LINENO: result: $ac_res" >&5
8463 echo "${ECHO_T}$ac_res" >&6; }
8464 else
8465 # Is the header compilable?
8466 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8468 cat >conftest.$ac_ext <<_ACEOF
8469 /* confdefs.h. */
8470 _ACEOF
8471 cat confdefs.h >>conftest.$ac_ext
8472 cat >>conftest.$ac_ext <<_ACEOF
8473 /* end confdefs.h. */
8474 $ac_includes_default
8475 #include <$ac_header>
8476 _ACEOF
8477 rm -f conftest.$ac_objext
8478 if { (ac_try="$ac_compile"
8479 case "(($ac_try" in
8480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8481 *) ac_try_echo=$ac_try;;
8482 esac
8483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8484 (eval "$ac_compile") 2>conftest.er1
8485 ac_status=$?
8486 grep -v '^ *+' conftest.er1 >conftest.err
8487 rm -f conftest.er1
8488 cat conftest.err >&5
8489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 (exit $ac_status); } &&
8491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8492 { (case "(($ac_try" in
8493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8494 *) ac_try_echo=$ac_try;;
8495 esac
8496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8497 (eval "$ac_try") 2>&5
8498 ac_status=$?
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); }; } &&
8501 { ac_try='test -s conftest.$ac_objext'
8502 { (case "(($ac_try" in
8503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8504 *) ac_try_echo=$ac_try;;
8505 esac
8506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8507 (eval "$ac_try") 2>&5
8508 ac_status=$?
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); }; }; then
8511 ac_header_compiler=yes
8512 else
8513 echo "$as_me: failed program was:" >&5
8514 sed 's/^/| /' conftest.$ac_ext >&5
8516 ac_header_compiler=no
8519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8520 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8521 echo "${ECHO_T}$ac_header_compiler" >&6; }
8523 # Is the header present?
8524 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8525 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8526 cat >conftest.$ac_ext <<_ACEOF
8527 /* confdefs.h. */
8528 _ACEOF
8529 cat confdefs.h >>conftest.$ac_ext
8530 cat >>conftest.$ac_ext <<_ACEOF
8531 /* end confdefs.h. */
8532 #include <$ac_header>
8533 _ACEOF
8534 if { (ac_try="$ac_cpp conftest.$ac_ext"
8535 case "(($ac_try" in
8536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8537 *) ac_try_echo=$ac_try;;
8538 esac
8539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8541 ac_status=$?
8542 grep -v '^ *+' conftest.er1 >conftest.err
8543 rm -f conftest.er1
8544 cat conftest.err >&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); } >/dev/null; then
8547 if test -s conftest.err; then
8548 ac_cpp_err=$ac_c_preproc_warn_flag
8549 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8550 else
8551 ac_cpp_err=
8553 else
8554 ac_cpp_err=yes
8556 if test -z "$ac_cpp_err"; then
8557 ac_header_preproc=yes
8558 else
8559 echo "$as_me: failed program was:" >&5
8560 sed 's/^/| /' conftest.$ac_ext >&5
8562 ac_header_preproc=no
8565 rm -f conftest.err conftest.$ac_ext
8566 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8567 echo "${ECHO_T}$ac_header_preproc" >&6; }
8569 # So? What about this header?
8570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8571 yes:no: )
8572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8576 ac_header_preproc=yes
8578 no:yes:* )
8579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8591 ( cat <<\_ASBOX
8592 ## ------------------------------------ ##
8593 ## Report this to wine-devel@winehq.org ##
8594 ## ------------------------------------ ##
8595 _ASBOX
8596 ) | sed "s/^/$as_me: WARNING: /" >&2
8598 esac
8599 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8602 echo $ECHO_N "(cached) $ECHO_C" >&6
8603 else
8604 eval "$as_ac_Header=\$ac_header_preproc"
8606 ac_res=`eval echo '${'$as_ac_Header'}'`
8607 { echo "$as_me:$LINENO: result: $ac_res" >&5
8608 echo "${ECHO_T}$ac_res" >&6; }
8611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8612 cat >>confdefs.h <<_ACEOF
8613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8614 _ACEOF
8618 done
8620 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8621 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
8622 if test "${ac_cv_header_stat_broken+set}" = set; then
8623 echo $ECHO_N "(cached) $ECHO_C" >&6
8624 else
8625 cat >conftest.$ac_ext <<_ACEOF
8626 /* confdefs.h. */
8627 _ACEOF
8628 cat confdefs.h >>conftest.$ac_ext
8629 cat >>conftest.$ac_ext <<_ACEOF
8630 /* end confdefs.h. */
8631 #include <sys/types.h>
8632 #include <sys/stat.h>
8634 #if defined S_ISBLK && defined S_IFDIR
8635 # if S_ISBLK (S_IFDIR)
8636 You lose.
8637 # endif
8638 #endif
8640 #if defined S_ISBLK && defined S_IFCHR
8641 # if S_ISBLK (S_IFCHR)
8642 You lose.
8643 # endif
8644 #endif
8646 #if defined S_ISLNK && defined S_IFREG
8647 # if S_ISLNK (S_IFREG)
8648 You lose.
8649 # endif
8650 #endif
8652 #if defined S_ISSOCK && defined S_IFREG
8653 # if S_ISSOCK (S_IFREG)
8654 You lose.
8655 # endif
8656 #endif
8658 _ACEOF
8659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8660 $EGREP "You lose" >/dev/null 2>&1; then
8661 ac_cv_header_stat_broken=yes
8662 else
8663 ac_cv_header_stat_broken=no
8665 rm -f conftest*
8668 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8669 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
8670 if test $ac_cv_header_stat_broken = yes; then
8672 cat >>confdefs.h <<\_ACEOF
8673 #define STAT_MACROS_BROKEN 1
8674 _ACEOF
8684 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8690 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 else
8692 cat >conftest.$ac_ext <<_ACEOF
8693 /* confdefs.h. */
8694 _ACEOF
8695 cat confdefs.h >>conftest.$ac_ext
8696 cat >>conftest.$ac_ext <<_ACEOF
8697 /* end confdefs.h. */
8698 #include <sys/types.h>
8699 #if HAVE_SYS_PARAM_H
8700 # include <sys/param.h>
8701 #endif
8703 #include <$ac_header>
8704 _ACEOF
8705 rm -f conftest.$ac_objext
8706 if { (ac_try="$ac_compile"
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_compile") 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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8720 { (case "(($ac_try" in
8721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8722 *) ac_try_echo=$ac_try;;
8723 esac
8724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8725 (eval "$ac_try") 2>&5
8726 ac_status=$?
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; } &&
8729 { ac_try='test -s conftest.$ac_objext'
8730 { (case "(($ac_try" in
8731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8732 *) ac_try_echo=$ac_try;;
8733 esac
8734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8735 (eval "$ac_try") 2>&5
8736 ac_status=$?
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); }; }; then
8739 eval "$as_ac_Header=yes"
8740 else
8741 echo "$as_me: failed program was:" >&5
8742 sed 's/^/| /' conftest.$ac_ext >&5
8744 eval "$as_ac_Header=no"
8747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8749 ac_res=`eval echo '${'$as_ac_Header'}'`
8750 { echo "$as_me:$LINENO: result: $ac_res" >&5
8751 echo "${ECHO_T}$ac_res" >&6; }
8752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8753 cat >>confdefs.h <<_ACEOF
8754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8755 _ACEOF
8759 done
8768 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
8770 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8771 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8773 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8774 echo $ECHO_N "(cached) $ECHO_C" >&6
8775 else
8776 cat >conftest.$ac_ext <<_ACEOF
8777 /* confdefs.h. */
8778 _ACEOF
8779 cat confdefs.h >>conftest.$ac_ext
8780 cat >>conftest.$ac_ext <<_ACEOF
8781 /* end confdefs.h. */
8782 #include <sys/types.h>
8783 #if HAVE_SYS_SOCKET_H
8784 # include <sys/socket.h>
8785 #endif
8787 #include <$ac_header>
8788 _ACEOF
8789 rm -f conftest.$ac_objext
8790 if { (ac_try="$ac_compile"
8791 case "(($ac_try" in
8792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8793 *) ac_try_echo=$ac_try;;
8794 esac
8795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8796 (eval "$ac_compile") 2>conftest.er1
8797 ac_status=$?
8798 grep -v '^ *+' conftest.er1 >conftest.err
8799 rm -f conftest.er1
8800 cat conftest.err >&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } &&
8803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8804 { (case "(($ac_try" in
8805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8806 *) ac_try_echo=$ac_try;;
8807 esac
8808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8809 (eval "$ac_try") 2>&5
8810 ac_status=$?
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); }; } &&
8813 { ac_try='test -s conftest.$ac_objext'
8814 { (case "(($ac_try" in
8815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8816 *) ac_try_echo=$ac_try;;
8817 esac
8818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8819 (eval "$ac_try") 2>&5
8820 ac_status=$?
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); }; }; then
8823 eval "$as_ac_Header=yes"
8824 else
8825 echo "$as_me: failed program was:" >&5
8826 sed 's/^/| /' conftest.$ac_ext >&5
8828 eval "$as_ac_Header=no"
8831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8833 ac_res=`eval echo '${'$as_ac_Header'}'`
8834 { echo "$as_me:$LINENO: result: $ac_res" >&5
8835 echo "${ECHO_T}$ac_res" >&6; }
8836 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8837 cat >>confdefs.h <<_ACEOF
8838 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8839 _ACEOF
8843 done
8847 for ac_header in linux/ipx.h
8849 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8850 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8852 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8853 echo $ECHO_N "(cached) $ECHO_C" >&6
8854 else
8855 cat >conftest.$ac_ext <<_ACEOF
8856 /* confdefs.h. */
8857 _ACEOF
8858 cat confdefs.h >>conftest.$ac_ext
8859 cat >>conftest.$ac_ext <<_ACEOF
8860 /* end confdefs.h. */
8861 #include <sys/types.h>
8862 #ifdef HAVE_ASM_TYPES_H
8863 # include <asm/types.h>
8864 #endif
8865 #if HAVE_SYS_SOCKET_H
8866 # include <sys/socket.h>
8867 #endif
8869 #include <$ac_header>
8870 _ACEOF
8871 rm -f conftest.$ac_objext
8872 if { (ac_try="$ac_compile"
8873 case "(($ac_try" in
8874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8875 *) ac_try_echo=$ac_try;;
8876 esac
8877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8878 (eval "$ac_compile") 2>conftest.er1
8879 ac_status=$?
8880 grep -v '^ *+' conftest.er1 >conftest.err
8881 rm -f conftest.er1
8882 cat conftest.err >&5
8883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 (exit $ac_status); } &&
8885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8886 { (case "(($ac_try" in
8887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8888 *) ac_try_echo=$ac_try;;
8889 esac
8890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8891 (eval "$ac_try") 2>&5
8892 ac_status=$?
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); }; } &&
8895 { ac_try='test -s conftest.$ac_objext'
8896 { (case "(($ac_try" in
8897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8898 *) ac_try_echo=$ac_try;;
8899 esac
8900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8901 (eval "$ac_try") 2>&5
8902 ac_status=$?
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); }; }; then
8905 eval "$as_ac_Header=yes"
8906 else
8907 echo "$as_me: failed program was:" >&5
8908 sed 's/^/| /' conftest.$ac_ext >&5
8910 eval "$as_ac_Header=no"
8913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8915 ac_res=`eval echo '${'$as_ac_Header'}'`
8916 { echo "$as_me:$LINENO: result: $ac_res" >&5
8917 echo "${ECHO_T}$ac_res" >&6; }
8918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8919 cat >>confdefs.h <<_ACEOF
8920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8921 _ACEOF
8925 done
8929 for ac_header in resolv.h
8931 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8932 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8934 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8935 echo $ECHO_N "(cached) $ECHO_C" >&6
8936 else
8937 cat >conftest.$ac_ext <<_ACEOF
8938 /* confdefs.h. */
8939 _ACEOF
8940 cat confdefs.h >>conftest.$ac_ext
8941 cat >>conftest.$ac_ext <<_ACEOF
8942 /* end confdefs.h. */
8943 #include <sys/types.h>
8944 #if HAVE_SYS_SOCKET_H
8945 # include <sys/socket.h>
8946 #endif
8947 #if HAVE_NETINET_IN_H
8948 # include <netinet/in.h>
8949 #endif
8950 #if HAVE_ARPA_NAMESER_H
8951 # include <arpa/nameser.h>
8952 #endif
8954 #include <$ac_header>
8955 _ACEOF
8956 rm -f conftest.$ac_objext
8957 if { (ac_try="$ac_compile"
8958 case "(($ac_try" in
8959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8960 *) ac_try_echo=$ac_try;;
8961 esac
8962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8963 (eval "$ac_compile") 2>conftest.er1
8964 ac_status=$?
8965 grep -v '^ *+' conftest.er1 >conftest.err
8966 rm -f conftest.er1
8967 cat conftest.err >&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); } &&
8970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8971 { (case "(($ac_try" in
8972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8973 *) ac_try_echo=$ac_try;;
8974 esac
8975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8976 (eval "$ac_try") 2>&5
8977 ac_status=$?
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); }; } &&
8980 { ac_try='test -s conftest.$ac_objext'
8981 { (case "(($ac_try" in
8982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8983 *) ac_try_echo=$ac_try;;
8984 esac
8985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8986 (eval "$ac_try") 2>&5
8987 ac_status=$?
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; }; then
8990 eval "$as_ac_Header=yes"
8991 else
8992 echo "$as_me: failed program was:" >&5
8993 sed 's/^/| /' conftest.$ac_ext >&5
8995 eval "$as_ac_Header=no"
8998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9000 ac_res=`eval echo '${'$as_ac_Header'}'`
9001 { echo "$as_me:$LINENO: result: $ac_res" >&5
9002 echo "${ECHO_T}$ac_res" >&6; }
9003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9004 cat >>confdefs.h <<_ACEOF
9005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9006 _ACEOF
9010 done
9014 for ac_header in ucontext.h
9016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9017 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9020 echo $ECHO_N "(cached) $ECHO_C" >&6
9021 else
9022 cat >conftest.$ac_ext <<_ACEOF
9023 /* confdefs.h. */
9024 _ACEOF
9025 cat confdefs.h >>conftest.$ac_ext
9026 cat >>conftest.$ac_ext <<_ACEOF
9027 /* end confdefs.h. */
9028 #include <signal.h>
9030 #include <$ac_header>
9031 _ACEOF
9032 rm -f conftest.$ac_objext
9033 if { (ac_try="$ac_compile"
9034 case "(($ac_try" in
9035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9036 *) ac_try_echo=$ac_try;;
9037 esac
9038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9039 (eval "$ac_compile") 2>conftest.er1
9040 ac_status=$?
9041 grep -v '^ *+' conftest.er1 >conftest.err
9042 rm -f conftest.er1
9043 cat conftest.err >&5
9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045 (exit $ac_status); } &&
9046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9047 { (case "(($ac_try" in
9048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9049 *) ac_try_echo=$ac_try;;
9050 esac
9051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9052 (eval "$ac_try") 2>&5
9053 ac_status=$?
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); }; } &&
9056 { ac_try='test -s conftest.$ac_objext'
9057 { (case "(($ac_try" in
9058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9059 *) ac_try_echo=$ac_try;;
9060 esac
9061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9062 (eval "$ac_try") 2>&5
9063 ac_status=$?
9064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9065 (exit $ac_status); }; }; then
9066 eval "$as_ac_Header=yes"
9067 else
9068 echo "$as_me: failed program was:" >&5
9069 sed 's/^/| /' conftest.$ac_ext >&5
9071 eval "$as_ac_Header=no"
9074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9076 ac_res=`eval echo '${'$as_ac_Header'}'`
9077 { echo "$as_me:$LINENO: result: $ac_res" >&5
9078 echo "${ECHO_T}$ac_res" >&6; }
9079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9080 cat >>confdefs.h <<_ACEOF
9081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9082 _ACEOF
9086 done
9090 for ac_header in linux/videodev.h
9092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9093 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9095 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9096 echo $ECHO_N "(cached) $ECHO_C" >&6
9097 else
9098 cat >conftest.$ac_ext <<_ACEOF
9099 /* confdefs.h. */
9100 _ACEOF
9101 cat confdefs.h >>conftest.$ac_ext
9102 cat >>conftest.$ac_ext <<_ACEOF
9103 /* end confdefs.h. */
9104 #ifdef HAVE_SYS_TIME_H
9105 #include <sys/time.h>
9106 #endif
9107 #include <sys/types.h>
9108 #ifdef HAVE_ASM_TYPES_H
9109 #include <asm/types.h>
9110 #endif
9112 #include <$ac_header>
9113 _ACEOF
9114 rm -f conftest.$ac_objext
9115 if { (ac_try="$ac_compile"
9116 case "(($ac_try" in
9117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9118 *) ac_try_echo=$ac_try;;
9119 esac
9120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9121 (eval "$ac_compile") 2>conftest.er1
9122 ac_status=$?
9123 grep -v '^ *+' conftest.er1 >conftest.err
9124 rm -f conftest.er1
9125 cat conftest.err >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } &&
9128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9129 { (case "(($ac_try" in
9130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9131 *) ac_try_echo=$ac_try;;
9132 esac
9133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9134 (eval "$ac_try") 2>&5
9135 ac_status=$?
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); }; } &&
9138 { ac_try='test -s conftest.$ac_objext'
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_try") 2>&5
9145 ac_status=$?
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; }; then
9148 eval "$as_ac_Header=yes"
9149 else
9150 echo "$as_me: failed program was:" >&5
9151 sed 's/^/| /' conftest.$ac_ext >&5
9153 eval "$as_ac_Header=no"
9156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9158 ac_res=`eval echo '${'$as_ac_Header'}'`
9159 { echo "$as_me:$LINENO: result: $ac_res" >&5
9160 echo "${ECHO_T}$ac_res" >&6; }
9161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9162 cat >>confdefs.h <<_ACEOF
9163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9164 _ACEOF
9168 done
9172 for ac_header in linux/capi.h
9174 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9175 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9177 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9178 echo $ECHO_N "(cached) $ECHO_C" >&6
9179 else
9180 cat >conftest.$ac_ext <<_ACEOF
9181 /* confdefs.h. */
9182 _ACEOF
9183 cat confdefs.h >>conftest.$ac_ext
9184 cat >>conftest.$ac_ext <<_ACEOF
9185 /* end confdefs.h. */
9186 #define __user
9188 #include <$ac_header>
9189 _ACEOF
9190 rm -f conftest.$ac_objext
9191 if { (ac_try="$ac_compile"
9192 case "(($ac_try" in
9193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9194 *) ac_try_echo=$ac_try;;
9195 esac
9196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9197 (eval "$ac_compile") 2>conftest.er1
9198 ac_status=$?
9199 grep -v '^ *+' conftest.er1 >conftest.err
9200 rm -f conftest.er1
9201 cat conftest.err >&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); } &&
9204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9205 { (case "(($ac_try" in
9206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9207 *) ac_try_echo=$ac_try;;
9208 esac
9209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9210 (eval "$ac_try") 2>&5
9211 ac_status=$?
9212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213 (exit $ac_status); }; } &&
9214 { ac_try='test -s conftest.$ac_objext'
9215 { (case "(($ac_try" in
9216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9217 *) ac_try_echo=$ac_try;;
9218 esac
9219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9220 (eval "$ac_try") 2>&5
9221 ac_status=$?
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); }; }; then
9224 eval "$as_ac_Header=yes"
9225 else
9226 echo "$as_me: failed program was:" >&5
9227 sed 's/^/| /' conftest.$ac_ext >&5
9229 eval "$as_ac_Header=no"
9232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9234 ac_res=`eval echo '${'$as_ac_Header'}'`
9235 { echo "$as_me:$LINENO: result: $ac_res" >&5
9236 echo "${ECHO_T}$ac_res" >&6; }
9237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9238 cat >>confdefs.h <<_ACEOF
9239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9240 _ACEOF
9244 done
9248 if test "$have_x" = "yes"
9249 then
9250 XLIB="-lXext -lX11"
9251 ac_save_CPPFLAGS="$CPPFLAGS"
9252 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9263 for ac_header in X11/Xlib.h \
9264 X11/XKBlib.h \
9265 X11/Xutil.h \
9266 X11/extensions/shape.h \
9267 X11/extensions/XInput.h \
9268 X11/extensions/XShm.h \
9269 X11/extensions/Xrandr.h \
9270 X11/extensions/Xrender.h \
9271 X11/extensions/xf86vmode.h
9273 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9274 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9276 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9277 echo $ECHO_N "(cached) $ECHO_C" >&6
9278 else
9279 cat >conftest.$ac_ext <<_ACEOF
9280 /* confdefs.h. */
9281 _ACEOF
9282 cat confdefs.h >>conftest.$ac_ext
9283 cat >>conftest.$ac_ext <<_ACEOF
9284 /* end confdefs.h. */
9285 #ifdef HAVE_X11_XLIB_H
9286 # include <X11/Xlib.h>
9287 #endif
9288 #ifdef HAVE_X11_XUTIL_H
9289 # include <X11/Xutil.h>
9290 #endif
9292 #include <$ac_header>
9293 _ACEOF
9294 rm -f conftest.$ac_objext
9295 if { (ac_try="$ac_compile"
9296 case "(($ac_try" in
9297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9298 *) ac_try_echo=$ac_try;;
9299 esac
9300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9301 (eval "$ac_compile") 2>conftest.er1
9302 ac_status=$?
9303 grep -v '^ *+' conftest.er1 >conftest.err
9304 rm -f conftest.er1
9305 cat conftest.err >&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); } &&
9308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9309 { (case "(($ac_try" in
9310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9311 *) ac_try_echo=$ac_try;;
9312 esac
9313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9314 (eval "$ac_try") 2>&5
9315 ac_status=$?
9316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317 (exit $ac_status); }; } &&
9318 { ac_try='test -s conftest.$ac_objext'
9319 { (case "(($ac_try" in
9320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9321 *) ac_try_echo=$ac_try;;
9322 esac
9323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9324 (eval "$ac_try") 2>&5
9325 ac_status=$?
9326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327 (exit $ac_status); }; }; then
9328 eval "$as_ac_Header=yes"
9329 else
9330 echo "$as_me: failed program was:" >&5
9331 sed 's/^/| /' conftest.$ac_ext >&5
9333 eval "$as_ac_Header=no"
9336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9338 ac_res=`eval echo '${'$as_ac_Header'}'`
9339 { echo "$as_me:$LINENO: result: $ac_res" >&5
9340 echo "${ECHO_T}$ac_res" >&6; }
9341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9342 cat >>confdefs.h <<_ACEOF
9343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9344 _ACEOF
9348 done
9351 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9352 then
9353 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9354 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9355 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9356 echo $ECHO_N "(cached) $ECHO_C" >&6
9357 else
9358 ac_check_lib_save_LIBS=$LIBS
9359 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9360 cat >conftest.$ac_ext <<_ACEOF
9361 /* confdefs.h. */
9362 _ACEOF
9363 cat confdefs.h >>conftest.$ac_ext
9364 cat >>conftest.$ac_ext <<_ACEOF
9365 /* end confdefs.h. */
9367 /* Override any GCC internal prototype to avoid an error.
9368 Use char because int might match the return type of a GCC
9369 builtin and then its argument prototype would still apply. */
9370 #ifdef __cplusplus
9371 extern "C"
9372 #endif
9373 char XkbQueryExtension ();
9375 main ()
9377 return XkbQueryExtension ();
9379 return 0;
9381 _ACEOF
9382 rm -f conftest.$ac_objext conftest$ac_exeext
9383 if { (ac_try="$ac_link"
9384 case "(($ac_try" in
9385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9386 *) ac_try_echo=$ac_try;;
9387 esac
9388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9389 (eval "$ac_link") 2>conftest.er1
9390 ac_status=$?
9391 grep -v '^ *+' conftest.er1 >conftest.err
9392 rm -f conftest.er1
9393 cat conftest.err >&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); } &&
9396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9397 { (case "(($ac_try" in
9398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9399 *) ac_try_echo=$ac_try;;
9400 esac
9401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9402 (eval "$ac_try") 2>&5
9403 ac_status=$?
9404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405 (exit $ac_status); }; } &&
9406 { ac_try='test -s conftest$ac_exeext'
9407 { (case "(($ac_try" in
9408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9409 *) ac_try_echo=$ac_try;;
9410 esac
9411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9412 (eval "$ac_try") 2>&5
9413 ac_status=$?
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); }; }; then
9416 ac_cv_lib_X11_XkbQueryExtension=yes
9417 else
9418 echo "$as_me: failed program was:" >&5
9419 sed 's/^/| /' conftest.$ac_ext >&5
9421 ac_cv_lib_X11_XkbQueryExtension=no
9424 rm -f core conftest.err conftest.$ac_objext \
9425 conftest$ac_exeext conftest.$ac_ext
9426 LIBS=$ac_check_lib_save_LIBS
9428 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9429 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9430 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9432 cat >>confdefs.h <<\_ACEOF
9433 #define HAVE_XKB 1
9434 _ACEOF
9440 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9441 then
9442 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9443 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9444 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9445 echo $ECHO_N "(cached) $ECHO_C" >&6
9446 else
9447 ac_check_lib_save_LIBS=$LIBS
9448 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9449 cat >conftest.$ac_ext <<_ACEOF
9450 /* confdefs.h. */
9451 _ACEOF
9452 cat confdefs.h >>conftest.$ac_ext
9453 cat >>conftest.$ac_ext <<_ACEOF
9454 /* end confdefs.h. */
9456 /* Override any GCC internal prototype to avoid an error.
9457 Use char because int might match the return type of a GCC
9458 builtin and then its argument prototype would still apply. */
9459 #ifdef __cplusplus
9460 extern "C"
9461 #endif
9462 char XShmQueryExtension ();
9464 main ()
9466 return XShmQueryExtension ();
9468 return 0;
9470 _ACEOF
9471 rm -f conftest.$ac_objext conftest$ac_exeext
9472 if { (ac_try="$ac_link"
9473 case "(($ac_try" in
9474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9475 *) ac_try_echo=$ac_try;;
9476 esac
9477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9478 (eval "$ac_link") 2>conftest.er1
9479 ac_status=$?
9480 grep -v '^ *+' conftest.er1 >conftest.err
9481 rm -f conftest.er1
9482 cat conftest.err >&5
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); } &&
9485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9486 { (case "(($ac_try" in
9487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9488 *) ac_try_echo=$ac_try;;
9489 esac
9490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9491 (eval "$ac_try") 2>&5
9492 ac_status=$?
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); }; } &&
9495 { ac_try='test -s conftest$ac_exeext'
9496 { (case "(($ac_try" in
9497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9498 *) ac_try_echo=$ac_try;;
9499 esac
9500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9501 (eval "$ac_try") 2>&5
9502 ac_status=$?
9503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504 (exit $ac_status); }; }; then
9505 ac_cv_lib_Xext_XShmQueryExtension=yes
9506 else
9507 echo "$as_me: failed program was:" >&5
9508 sed 's/^/| /' conftest.$ac_ext >&5
9510 ac_cv_lib_Xext_XShmQueryExtension=no
9513 rm -f core conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9515 LIBS=$ac_check_lib_save_LIBS
9517 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9518 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9519 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9521 cat >>confdefs.h <<\_ACEOF
9522 #define HAVE_LIBXXSHM 1
9523 _ACEOF
9529 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9530 then
9531 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9532 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9533 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9534 echo $ECHO_N "(cached) $ECHO_C" >&6
9535 else
9536 ac_check_lib_save_LIBS=$LIBS
9537 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9538 cat >conftest.$ac_ext <<_ACEOF
9539 /* confdefs.h. */
9540 _ACEOF
9541 cat confdefs.h >>conftest.$ac_ext
9542 cat >>conftest.$ac_ext <<_ACEOF
9543 /* end confdefs.h. */
9545 /* Override any GCC internal prototype to avoid an error.
9546 Use char because int might match the return type of a GCC
9547 builtin and then its argument prototype would still apply. */
9548 #ifdef __cplusplus
9549 extern "C"
9550 #endif
9551 char XShapeQueryExtension ();
9553 main ()
9555 return XShapeQueryExtension ();
9557 return 0;
9559 _ACEOF
9560 rm -f conftest.$ac_objext conftest$ac_exeext
9561 if { (ac_try="$ac_link"
9562 case "(($ac_try" in
9563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9564 *) ac_try_echo=$ac_try;;
9565 esac
9566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9567 (eval "$ac_link") 2>conftest.er1
9568 ac_status=$?
9569 grep -v '^ *+' conftest.er1 >conftest.err
9570 rm -f conftest.er1
9571 cat conftest.err >&5
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 (exit $ac_status); } &&
9574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9575 { (case "(($ac_try" in
9576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9577 *) ac_try_echo=$ac_try;;
9578 esac
9579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9580 (eval "$ac_try") 2>&5
9581 ac_status=$?
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); }; } &&
9584 { ac_try='test -s conftest$ac_exeext'
9585 { (case "(($ac_try" in
9586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9587 *) ac_try_echo=$ac_try;;
9588 esac
9589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9590 (eval "$ac_try") 2>&5
9591 ac_status=$?
9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 (exit $ac_status); }; }; then
9594 ac_cv_lib_Xext_XShapeQueryExtension=yes
9595 else
9596 echo "$as_me: failed program was:" >&5
9597 sed 's/^/| /' conftest.$ac_ext >&5
9599 ac_cv_lib_Xext_XShapeQueryExtension=no
9602 rm -f core conftest.err conftest.$ac_objext \
9603 conftest$ac_exeext conftest.$ac_ext
9604 LIBS=$ac_check_lib_save_LIBS
9606 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9607 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9608 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9610 cat >>confdefs.h <<\_ACEOF
9611 #define HAVE_LIBXSHAPE 1
9612 _ACEOF
9618 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9619 then
9620 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9621 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9622 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9623 echo $ECHO_N "(cached) $ECHO_C" >&6
9624 else
9625 ac_check_lib_save_LIBS=$LIBS
9626 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9627 cat >conftest.$ac_ext <<_ACEOF
9628 /* confdefs.h. */
9629 _ACEOF
9630 cat confdefs.h >>conftest.$ac_ext
9631 cat >>conftest.$ac_ext <<_ACEOF
9632 /* end confdefs.h. */
9634 /* Override any GCC internal prototype to avoid an error.
9635 Use char because int might match the return type of a GCC
9636 builtin and then its argument prototype would still apply. */
9637 #ifdef __cplusplus
9638 extern "C"
9639 #endif
9640 char XF86VidModeQueryExtension ();
9642 main ()
9644 return XF86VidModeQueryExtension ();
9646 return 0;
9648 _ACEOF
9649 rm -f conftest.$ac_objext conftest$ac_exeext
9650 if { (ac_try="$ac_link"
9651 case "(($ac_try" in
9652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9653 *) ac_try_echo=$ac_try;;
9654 esac
9655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9656 (eval "$ac_link") 2>conftest.er1
9657 ac_status=$?
9658 grep -v '^ *+' conftest.er1 >conftest.err
9659 rm -f conftest.er1
9660 cat conftest.err >&5
9661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 (exit $ac_status); } &&
9663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9664 { (case "(($ac_try" in
9665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9666 *) ac_try_echo=$ac_try;;
9667 esac
9668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9669 (eval "$ac_try") 2>&5
9670 ac_status=$?
9671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672 (exit $ac_status); }; } &&
9673 { ac_try='test -s conftest$ac_exeext'
9674 { (case "(($ac_try" in
9675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9676 *) ac_try_echo=$ac_try;;
9677 esac
9678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9679 (eval "$ac_try") 2>&5
9680 ac_status=$?
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); }; }; then
9683 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9684 else
9685 echo "$as_me: failed program was:" >&5
9686 sed 's/^/| /' conftest.$ac_ext >&5
9688 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9691 rm -f core conftest.err conftest.$ac_objext \
9692 conftest$ac_exeext conftest.$ac_ext
9693 LIBS=$ac_check_lib_save_LIBS
9695 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9696 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9697 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9699 cat >>confdefs.h <<\_ACEOF
9700 #define HAVE_LIBXXF86VM 1
9701 _ACEOF
9703 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9709 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9710 then
9711 cat >conftest.$ac_ext <<_ACEOF
9712 /* confdefs.h. */
9713 _ACEOF
9714 cat confdefs.h >>conftest.$ac_ext
9715 cat >>conftest.$ac_ext <<_ACEOF
9716 /* end confdefs.h. */
9717 #include <X11/Xlib.h>
9718 #include <X11/extensions/Xrandr.h>
9720 main ()
9722 static typeof(XRRSetScreenConfigAndRate) * func;
9724 return 0;
9726 _ACEOF
9727 rm -f conftest.$ac_objext
9728 if { (ac_try="$ac_compile"
9729 case "(($ac_try" in
9730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9731 *) ac_try_echo=$ac_try;;
9732 esac
9733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9734 (eval "$ac_compile") 2>conftest.er1
9735 ac_status=$?
9736 grep -v '^ *+' conftest.er1 >conftest.err
9737 rm -f conftest.er1
9738 cat conftest.err >&5
9739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9740 (exit $ac_status); } &&
9741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9742 { (case "(($ac_try" in
9743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9744 *) ac_try_echo=$ac_try;;
9745 esac
9746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9747 (eval "$ac_try") 2>&5
9748 ac_status=$?
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); }; } &&
9751 { ac_try='test -s conftest.$ac_objext'
9752 { (case "(($ac_try" in
9753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9754 *) ac_try_echo=$ac_try;;
9755 esac
9756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9757 (eval "$ac_try") 2>&5
9758 ac_status=$?
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); }; }; then
9762 cat >>confdefs.h <<\_ACEOF
9763 #define HAVE_LIBXRANDR 1
9764 _ACEOF
9766 else
9767 echo "$as_me: failed program was:" >&5
9768 sed 's/^/| /' conftest.$ac_ext >&5
9773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9776 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9777 then
9778 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9779 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9780 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9781 echo $ECHO_N "(cached) $ECHO_C" >&6
9782 else
9783 ac_check_lib_save_LIBS=$LIBS
9784 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9785 cat >conftest.$ac_ext <<_ACEOF
9786 /* confdefs.h. */
9787 _ACEOF
9788 cat confdefs.h >>conftest.$ac_ext
9789 cat >>conftest.$ac_ext <<_ACEOF
9790 /* end confdefs.h. */
9792 /* Override any GCC internal prototype to avoid an error.
9793 Use char because int might match the return type of a GCC
9794 builtin and then its argument prototype would still apply. */
9795 #ifdef __cplusplus
9796 extern "C"
9797 #endif
9798 char XRenderSetPictureTransform ();
9800 main ()
9802 return XRenderSetPictureTransform ();
9804 return 0;
9806 _ACEOF
9807 rm -f conftest.$ac_objext conftest$ac_exeext
9808 if { (ac_try="$ac_link"
9809 case "(($ac_try" in
9810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9811 *) ac_try_echo=$ac_try;;
9812 esac
9813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9814 (eval "$ac_link") 2>conftest.er1
9815 ac_status=$?
9816 grep -v '^ *+' conftest.er1 >conftest.err
9817 rm -f conftest.er1
9818 cat conftest.err >&5
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); } &&
9821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9822 { (case "(($ac_try" in
9823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9824 *) ac_try_echo=$ac_try;;
9825 esac
9826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9827 (eval "$ac_try") 2>&5
9828 ac_status=$?
9829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830 (exit $ac_status); }; } &&
9831 { ac_try='test -s conftest$ac_exeext'
9832 { (case "(($ac_try" in
9833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9834 *) ac_try_echo=$ac_try;;
9835 esac
9836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9837 (eval "$ac_try") 2>&5
9838 ac_status=$?
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; }; then
9841 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9842 else
9843 echo "$as_me: failed program was:" >&5
9844 sed 's/^/| /' conftest.$ac_ext >&5
9846 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9849 rm -f core conftest.err conftest.$ac_objext \
9850 conftest$ac_exeext conftest.$ac_ext
9851 LIBS=$ac_check_lib_save_LIBS
9853 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9854 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9855 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9857 cat >>confdefs.h <<\_ACEOF
9858 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9859 _ACEOF
9865 if test "x$with_opengl" != "xno"
9866 then
9871 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9873 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9874 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9876 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9877 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 else
9879 cat >conftest.$ac_ext <<_ACEOF
9880 /* confdefs.h. */
9881 _ACEOF
9882 cat confdefs.h >>conftest.$ac_ext
9883 cat >>conftest.$ac_ext <<_ACEOF
9884 /* end confdefs.h. */
9885 #ifdef HAVE_GL_GLX_H
9886 # include <GL/glx.h>
9887 #endif
9889 #include <$ac_header>
9890 _ACEOF
9891 rm -f conftest.$ac_objext
9892 if { (ac_try="$ac_compile"
9893 case "(($ac_try" in
9894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9895 *) ac_try_echo=$ac_try;;
9896 esac
9897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9898 (eval "$ac_compile") 2>conftest.er1
9899 ac_status=$?
9900 grep -v '^ *+' conftest.er1 >conftest.err
9901 rm -f conftest.er1
9902 cat conftest.err >&5
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); } &&
9905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9906 { (case "(($ac_try" in
9907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9908 *) ac_try_echo=$ac_try;;
9909 esac
9910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9911 (eval "$ac_try") 2>&5
9912 ac_status=$?
9913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); }; } &&
9915 { ac_try='test -s conftest.$ac_objext'
9916 { (case "(($ac_try" in
9917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9918 *) ac_try_echo=$ac_try;;
9919 esac
9920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9921 (eval "$ac_try") 2>&5
9922 ac_status=$?
9923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9924 (exit $ac_status); }; }; then
9925 eval "$as_ac_Header=yes"
9926 else
9927 echo "$as_me: failed program was:" >&5
9928 sed 's/^/| /' conftest.$ac_ext >&5
9930 eval "$as_ac_Header=no"
9933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9935 ac_res=`eval echo '${'$as_ac_Header'}'`
9936 { echo "$as_me:$LINENO: result: $ac_res" >&5
9937 echo "${ECHO_T}$ac_res" >&6; }
9938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9939 cat >>confdefs.h <<_ACEOF
9940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9941 _ACEOF
9945 done
9947 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9948 then
9949 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9950 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9951 if test "${wine_cv_opengl_version_OK+set}" = set; then
9952 echo $ECHO_N "(cached) $ECHO_C" >&6
9953 else
9954 cat >conftest.$ac_ext <<_ACEOF
9955 /* confdefs.h. */
9956 _ACEOF
9957 cat confdefs.h >>conftest.$ac_ext
9958 cat >>conftest.$ac_ext <<_ACEOF
9959 /* end confdefs.h. */
9960 #include <GL/gl.h>
9962 main ()
9964 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9966 return 0;
9968 _ACEOF
9969 rm -f conftest.$ac_objext
9970 if { (ac_try="$ac_compile"
9971 case "(($ac_try" in
9972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9973 *) ac_try_echo=$ac_try;;
9974 esac
9975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9976 (eval "$ac_compile") 2>conftest.er1
9977 ac_status=$?
9978 grep -v '^ *+' conftest.er1 >conftest.err
9979 rm -f conftest.er1
9980 cat conftest.err >&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); } &&
9983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9984 { (case "(($ac_try" in
9985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9986 *) ac_try_echo=$ac_try;;
9987 esac
9988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9989 (eval "$ac_try") 2>&5
9990 ac_status=$?
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); }; } &&
9993 { ac_try='test -s conftest.$ac_objext'
9994 { (case "(($ac_try" in
9995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9996 *) ac_try_echo=$ac_try;;
9997 esac
9998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9999 (eval "$ac_try") 2>&5
10000 ac_status=$?
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); }; }; then
10003 wine_cv_opengl_version_OK="yes"
10004 else
10005 echo "$as_me: failed program was:" >&5
10006 sed 's/^/| /' conftest.$ac_ext >&5
10008 wine_cv_opengl_version_OK="no"
10012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10015 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
10016 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
10018 if test "$wine_cv_opengl_version_OK" = "yes"
10019 then
10020 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
10021 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
10022 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
10023 echo $ECHO_N "(cached) $ECHO_C" >&6
10024 else
10025 ac_check_lib_save_LIBS=$LIBS
10026 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10027 cat >conftest.$ac_ext <<_ACEOF
10028 /* confdefs.h. */
10029 _ACEOF
10030 cat confdefs.h >>conftest.$ac_ext
10031 cat >>conftest.$ac_ext <<_ACEOF
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10037 #ifdef __cplusplus
10038 extern "C"
10039 #endif
10040 char glXCreateContext ();
10042 main ()
10044 return glXCreateContext ();
10046 return 0;
10048 _ACEOF
10049 rm -f conftest.$ac_objext conftest$ac_exeext
10050 if { (ac_try="$ac_link"
10051 case "(($ac_try" in
10052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10053 *) ac_try_echo=$ac_try;;
10054 esac
10055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10056 (eval "$ac_link") 2>conftest.er1
10057 ac_status=$?
10058 grep -v '^ *+' conftest.er1 >conftest.err
10059 rm -f conftest.er1
10060 cat conftest.err >&5
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); } &&
10063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10064 { (case "(($ac_try" in
10065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10066 *) ac_try_echo=$ac_try;;
10067 esac
10068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10069 (eval "$ac_try") 2>&5
10070 ac_status=$?
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }; } &&
10073 { ac_try='test -s conftest$ac_exeext'
10074 { (case "(($ac_try" in
10075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10076 *) ac_try_echo=$ac_try;;
10077 esac
10078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10079 (eval "$ac_try") 2>&5
10080 ac_status=$?
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); }; }; then
10083 ac_cv_lib_GL_glXCreateContext=yes
10084 else
10085 echo "$as_me: failed program was:" >&5
10086 sed 's/^/| /' conftest.$ac_ext >&5
10088 ac_cv_lib_GL_glXCreateContext=no
10091 rm -f core conftest.err conftest.$ac_objext \
10092 conftest$ac_exeext conftest.$ac_ext
10093 LIBS=$ac_check_lib_save_LIBS
10095 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
10096 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
10097 if test $ac_cv_lib_GL_glXCreateContext = yes; then
10098 OPENGL_LIBS="-lGL"
10103 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
10104 then
10105 OPENGLFILES='$(OPENGLFILES)'
10107 cat >>confdefs.h <<\_ACEOF
10108 #define HAVE_OPENGL 1
10109 _ACEOF
10111 else
10112 if test -f /usr/X11R6/lib/libGL.a
10113 then
10114 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
10115 This prevents linking to OpenGL. Delete the file and restart configure." >&5
10116 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
10117 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
10118 { (exit 1); exit 1; }; }
10122 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10123 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10124 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10125 echo $ECHO_N "(cached) $ECHO_C" >&6
10126 else
10127 ac_check_lib_save_LIBS=$LIBS
10128 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
10129 $LIBS"
10130 cat >conftest.$ac_ext <<_ACEOF
10131 /* confdefs.h. */
10132 _ACEOF
10133 cat confdefs.h >>conftest.$ac_ext
10134 cat >>conftest.$ac_ext <<_ACEOF
10135 /* end confdefs.h. */
10137 /* Override any GCC internal prototype to avoid an error.
10138 Use char because int might match the return type of a GCC
10139 builtin and then its argument prototype would still apply. */
10140 #ifdef __cplusplus
10141 extern "C"
10142 #endif
10143 char gluLookAt ();
10145 main ()
10147 return gluLookAt ();
10149 return 0;
10151 _ACEOF
10152 rm -f conftest.$ac_objext conftest$ac_exeext
10153 if { (ac_try="$ac_link"
10154 case "(($ac_try" in
10155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10156 *) ac_try_echo=$ac_try;;
10157 esac
10158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10159 (eval "$ac_link") 2>conftest.er1
10160 ac_status=$?
10161 grep -v '^ *+' conftest.er1 >conftest.err
10162 rm -f conftest.er1
10163 cat conftest.err >&5
10164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10165 (exit $ac_status); } &&
10166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10167 { (case "(($ac_try" in
10168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10169 *) ac_try_echo=$ac_try;;
10170 esac
10171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10172 (eval "$ac_try") 2>&5
10173 ac_status=$?
10174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); }; } &&
10176 { ac_try='test -s conftest$ac_exeext'
10177 { (case "(($ac_try" in
10178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10179 *) ac_try_echo=$ac_try;;
10180 esac
10181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10182 (eval "$ac_try") 2>&5
10183 ac_status=$?
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); }; }; then
10186 ac_cv_lib_GLU_gluLookAt=yes
10187 else
10188 echo "$as_me: failed program was:" >&5
10189 sed 's/^/| /' conftest.$ac_ext >&5
10191 ac_cv_lib_GLU_gluLookAt=no
10194 rm -f core conftest.err conftest.$ac_objext \
10195 conftest$ac_exeext conftest.$ac_ext
10196 LIBS=$ac_check_lib_save_LIBS
10198 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10199 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10200 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10201 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10202 GLU32FILES='$(GLU32FILES)'
10208 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
10209 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
10210 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
10211 echo $ECHO_N "(cached) $ECHO_C" >&6
10212 else
10213 ac_check_lib_save_LIBS=$LIBS
10214 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
10215 cat >conftest.$ac_ext <<_ACEOF
10216 /* confdefs.h. */
10217 _ACEOF
10218 cat confdefs.h >>conftest.$ac_ext
10219 cat >>conftest.$ac_ext <<_ACEOF
10220 /* end confdefs.h. */
10222 /* Override any GCC internal prototype to avoid an error.
10223 Use char because int might match the return type of a GCC
10224 builtin and then its argument prototype would still apply. */
10225 #ifdef __cplusplus
10226 extern "C"
10227 #endif
10228 char glutMainLoop ();
10230 main ()
10232 return glutMainLoop ();
10234 return 0;
10236 _ACEOF
10237 rm -f conftest.$ac_objext conftest$ac_exeext
10238 if { (ac_try="$ac_link"
10239 case "(($ac_try" in
10240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10241 *) ac_try_echo=$ac_try;;
10242 esac
10243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10244 (eval "$ac_link") 2>conftest.er1
10245 ac_status=$?
10246 grep -v '^ *+' conftest.er1 >conftest.err
10247 rm -f conftest.er1
10248 cat conftest.err >&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); } &&
10251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10252 { (case "(($ac_try" in
10253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10254 *) ac_try_echo=$ac_try;;
10255 esac
10256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10257 (eval "$ac_try") 2>&5
10258 ac_status=$?
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; } &&
10261 { ac_try='test -s conftest$ac_exeext'
10262 { (case "(($ac_try" in
10263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10264 *) ac_try_echo=$ac_try;;
10265 esac
10266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10267 (eval "$ac_try") 2>&5
10268 ac_status=$?
10269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10270 (exit $ac_status); }; }; then
10271 ac_cv_lib_glut_glutMainLoop=yes
10272 else
10273 echo "$as_me: failed program was:" >&5
10274 sed 's/^/| /' conftest.$ac_ext >&5
10276 ac_cv_lib_glut_glutMainLoop=no
10279 rm -f core conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10281 LIBS=$ac_check_lib_save_LIBS
10283 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
10284 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
10285 if test $ac_cv_lib_glut_glutMainLoop = yes; then
10286 GLUT_LIBS="-lglut -lXmu -lXi"
10288 GLUT32FILES='$(GLUT32FILES)'
10295 NASLIBS=""
10298 for ac_header in audio/audiolib.h
10300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10301 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10302 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10304 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10305 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 ac_res=`eval echo '${'$as_ac_Header'}'`
10308 { echo "$as_me:$LINENO: result: $ac_res" >&5
10309 echo "${ECHO_T}$ac_res" >&6; }
10310 else
10311 # Is the header compilable?
10312 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10313 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10314 cat >conftest.$ac_ext <<_ACEOF
10315 /* confdefs.h. */
10316 _ACEOF
10317 cat confdefs.h >>conftest.$ac_ext
10318 cat >>conftest.$ac_ext <<_ACEOF
10319 /* end confdefs.h. */
10320 $ac_includes_default
10321 #include <$ac_header>
10322 _ACEOF
10323 rm -f conftest.$ac_objext
10324 if { (ac_try="$ac_compile"
10325 case "(($ac_try" in
10326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10327 *) ac_try_echo=$ac_try;;
10328 esac
10329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10330 (eval "$ac_compile") 2>conftest.er1
10331 ac_status=$?
10332 grep -v '^ *+' conftest.er1 >conftest.err
10333 rm -f conftest.er1
10334 cat conftest.err >&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); } &&
10337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10338 { (case "(($ac_try" in
10339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10340 *) ac_try_echo=$ac_try;;
10341 esac
10342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10343 (eval "$ac_try") 2>&5
10344 ac_status=$?
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; } &&
10347 { ac_try='test -s conftest.$ac_objext'
10348 { (case "(($ac_try" in
10349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10350 *) ac_try_echo=$ac_try;;
10351 esac
10352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10353 (eval "$ac_try") 2>&5
10354 ac_status=$?
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); }; }; then
10357 ac_header_compiler=yes
10358 else
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.$ac_ext >&5
10362 ac_header_compiler=no
10365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10366 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10367 echo "${ECHO_T}$ac_header_compiler" >&6; }
10369 # Is the header present?
10370 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10372 cat >conftest.$ac_ext <<_ACEOF
10373 /* confdefs.h. */
10374 _ACEOF
10375 cat confdefs.h >>conftest.$ac_ext
10376 cat >>conftest.$ac_ext <<_ACEOF
10377 /* end confdefs.h. */
10378 #include <$ac_header>
10379 _ACEOF
10380 if { (ac_try="$ac_cpp conftest.$ac_ext"
10381 case "(($ac_try" in
10382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10383 *) ac_try_echo=$ac_try;;
10384 esac
10385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10386 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10387 ac_status=$?
10388 grep -v '^ *+' conftest.er1 >conftest.err
10389 rm -f conftest.er1
10390 cat conftest.err >&5
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); } >/dev/null; then
10393 if test -s conftest.err; then
10394 ac_cpp_err=$ac_c_preproc_warn_flag
10395 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10396 else
10397 ac_cpp_err=
10399 else
10400 ac_cpp_err=yes
10402 if test -z "$ac_cpp_err"; then
10403 ac_header_preproc=yes
10404 else
10405 echo "$as_me: failed program was:" >&5
10406 sed 's/^/| /' conftest.$ac_ext >&5
10408 ac_header_preproc=no
10411 rm -f conftest.err conftest.$ac_ext
10412 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10413 echo "${ECHO_T}$ac_header_preproc" >&6; }
10415 # So? What about this header?
10416 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10417 yes:no: )
10418 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10419 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10421 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10422 ac_header_preproc=yes
10424 no:yes:* )
10425 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10426 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10427 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10428 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10429 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10430 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10431 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10432 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10435 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10436 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10437 ( cat <<\_ASBOX
10438 ## ------------------------------------ ##
10439 ## Report this to wine-devel@winehq.org ##
10440 ## ------------------------------------ ##
10441 _ASBOX
10442 ) | sed "s/^/$as_me: WARNING: /" >&2
10444 esac
10445 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10447 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10449 else
10450 eval "$as_ac_Header=\$ac_header_preproc"
10452 ac_res=`eval echo '${'$as_ac_Header'}'`
10453 { echo "$as_me:$LINENO: result: $ac_res" >&5
10454 echo "${ECHO_T}$ac_res" >&6; }
10457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10458 cat >>confdefs.h <<_ACEOF
10459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10460 _ACEOF
10462 for ac_header in audio/soundlib.h
10464 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10465 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10467 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10468 echo $ECHO_N "(cached) $ECHO_C" >&6
10469 else
10470 cat >conftest.$ac_ext <<_ACEOF
10471 /* confdefs.h. */
10472 _ACEOF
10473 cat confdefs.h >>conftest.$ac_ext
10474 cat >>conftest.$ac_ext <<_ACEOF
10475 /* end confdefs.h. */
10476 #include <audio/audiolib.h>
10478 #include <$ac_header>
10479 _ACEOF
10480 rm -f conftest.$ac_objext
10481 if { (ac_try="$ac_compile"
10482 case "(($ac_try" in
10483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10484 *) ac_try_echo=$ac_try;;
10485 esac
10486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10487 (eval "$ac_compile") 2>conftest.er1
10488 ac_status=$?
10489 grep -v '^ *+' conftest.er1 >conftest.err
10490 rm -f conftest.er1
10491 cat conftest.err >&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); } &&
10494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10495 { (case "(($ac_try" in
10496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10497 *) ac_try_echo=$ac_try;;
10498 esac
10499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10500 (eval "$ac_try") 2>&5
10501 ac_status=$?
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }; } &&
10504 { ac_try='test -s conftest.$ac_objext'
10505 { (case "(($ac_try" in
10506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10507 *) ac_try_echo=$ac_try;;
10508 esac
10509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10510 (eval "$ac_try") 2>&5
10511 ac_status=$?
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); }; }; then
10514 eval "$as_ac_Header=yes"
10515 else
10516 echo "$as_me: failed program was:" >&5
10517 sed 's/^/| /' conftest.$ac_ext >&5
10519 eval "$as_ac_Header=no"
10522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10524 ac_res=`eval echo '${'$as_ac_Header'}'`
10525 { echo "$as_me:$LINENO: result: $ac_res" >&5
10526 echo "${ECHO_T}$ac_res" >&6; }
10527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10528 cat >>confdefs.h <<_ACEOF
10529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10530 _ACEOF
10534 done
10536 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10537 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10538 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10539 echo $ECHO_N "(cached) $ECHO_C" >&6
10540 else
10541 ac_check_lib_save_LIBS=$LIBS
10542 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10543 cat >conftest.$ac_ext <<_ACEOF
10544 /* confdefs.h. */
10545 _ACEOF
10546 cat confdefs.h >>conftest.$ac_ext
10547 cat >>conftest.$ac_ext <<_ACEOF
10548 /* end confdefs.h. */
10550 /* Override any GCC internal prototype to avoid an error.
10551 Use char because int might match the return type of a GCC
10552 builtin and then its argument prototype would still apply. */
10553 #ifdef __cplusplus
10554 extern "C"
10555 #endif
10556 char AuCreateFlow ();
10558 main ()
10560 return AuCreateFlow ();
10562 return 0;
10564 _ACEOF
10565 rm -f conftest.$ac_objext conftest$ac_exeext
10566 if { (ac_try="$ac_link"
10567 case "(($ac_try" in
10568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10569 *) ac_try_echo=$ac_try;;
10570 esac
10571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10572 (eval "$ac_link") 2>conftest.er1
10573 ac_status=$?
10574 grep -v '^ *+' conftest.er1 >conftest.err
10575 rm -f conftest.er1
10576 cat conftest.err >&5
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); } &&
10579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10580 { (case "(($ac_try" in
10581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10582 *) ac_try_echo=$ac_try;;
10583 esac
10584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10585 (eval "$ac_try") 2>&5
10586 ac_status=$?
10587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588 (exit $ac_status); }; } &&
10589 { ac_try='test -s conftest$ac_exeext'
10590 { (case "(($ac_try" in
10591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10592 *) ac_try_echo=$ac_try;;
10593 esac
10594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10595 (eval "$ac_try") 2>&5
10596 ac_status=$?
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; }; then
10599 ac_cv_lib_audio_AuCreateFlow=yes
10600 else
10601 echo "$as_me: failed program was:" >&5
10602 sed 's/^/| /' conftest.$ac_ext >&5
10604 ac_cv_lib_audio_AuCreateFlow=no
10607 rm -f core conftest.err conftest.$ac_objext \
10608 conftest$ac_exeext conftest.$ac_ext
10609 LIBS=$ac_check_lib_save_LIBS
10611 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10612 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10613 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10615 cat >>confdefs.h <<\_ACEOF
10616 #define HAVE_NAS 1
10617 _ACEOF
10619 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10624 done
10627 CPPFLAGS="$ac_save_CPPFLAGS"
10628 XFILES='$(XFILES)'
10629 else
10630 XLIB=""
10631 X_CFLAGS=""
10632 X_LIBS=""
10636 XML2LIBS=""
10638 XML2INCL=""
10640 XSLTLIBS=""
10642 XSLTINCL=""
10644 if test "$PKG_CONFIG" != "false"
10645 then
10646 ac_save_CPPFLAGS="$CPPFLAGS"
10647 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10648 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10649 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10651 for ac_header in libxml/parser.h
10653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10655 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10657 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10658 echo $ECHO_N "(cached) $ECHO_C" >&6
10660 ac_res=`eval echo '${'$as_ac_Header'}'`
10661 { echo "$as_me:$LINENO: result: $ac_res" >&5
10662 echo "${ECHO_T}$ac_res" >&6; }
10663 else
10664 # Is the header compilable?
10665 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10667 cat >conftest.$ac_ext <<_ACEOF
10668 /* confdefs.h. */
10669 _ACEOF
10670 cat confdefs.h >>conftest.$ac_ext
10671 cat >>conftest.$ac_ext <<_ACEOF
10672 /* end confdefs.h. */
10673 $ac_includes_default
10674 #include <$ac_header>
10675 _ACEOF
10676 rm -f conftest.$ac_objext
10677 if { (ac_try="$ac_compile"
10678 case "(($ac_try" in
10679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10680 *) ac_try_echo=$ac_try;;
10681 esac
10682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10683 (eval "$ac_compile") 2>conftest.er1
10684 ac_status=$?
10685 grep -v '^ *+' conftest.er1 >conftest.err
10686 rm -f conftest.er1
10687 cat conftest.err >&5
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); } &&
10690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10691 { (case "(($ac_try" in
10692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10693 *) ac_try_echo=$ac_try;;
10694 esac
10695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10696 (eval "$ac_try") 2>&5
10697 ac_status=$?
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); }; } &&
10700 { ac_try='test -s conftest.$ac_objext'
10701 { (case "(($ac_try" in
10702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10703 *) ac_try_echo=$ac_try;;
10704 esac
10705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10706 (eval "$ac_try") 2>&5
10707 ac_status=$?
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); }; }; then
10710 ac_header_compiler=yes
10711 else
10712 echo "$as_me: failed program was:" >&5
10713 sed 's/^/| /' conftest.$ac_ext >&5
10715 ac_header_compiler=no
10718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10719 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10720 echo "${ECHO_T}$ac_header_compiler" >&6; }
10722 # Is the header present?
10723 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10724 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10725 cat >conftest.$ac_ext <<_ACEOF
10726 /* confdefs.h. */
10727 _ACEOF
10728 cat confdefs.h >>conftest.$ac_ext
10729 cat >>conftest.$ac_ext <<_ACEOF
10730 /* end confdefs.h. */
10731 #include <$ac_header>
10732 _ACEOF
10733 if { (ac_try="$ac_cpp conftest.$ac_ext"
10734 case "(($ac_try" in
10735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10736 *) ac_try_echo=$ac_try;;
10737 esac
10738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10740 ac_status=$?
10741 grep -v '^ *+' conftest.er1 >conftest.err
10742 rm -f conftest.er1
10743 cat conftest.err >&5
10744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10745 (exit $ac_status); } >/dev/null; then
10746 if test -s conftest.err; then
10747 ac_cpp_err=$ac_c_preproc_warn_flag
10748 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10749 else
10750 ac_cpp_err=
10752 else
10753 ac_cpp_err=yes
10755 if test -z "$ac_cpp_err"; then
10756 ac_header_preproc=yes
10757 else
10758 echo "$as_me: failed program was:" >&5
10759 sed 's/^/| /' conftest.$ac_ext >&5
10761 ac_header_preproc=no
10764 rm -f conftest.err conftest.$ac_ext
10765 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10766 echo "${ECHO_T}$ac_header_preproc" >&6; }
10768 # So? What about this header?
10769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10770 yes:no: )
10771 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10772 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10774 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10775 ac_header_preproc=yes
10777 no:yes:* )
10778 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10779 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10780 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10781 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10782 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10783 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10784 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10785 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10787 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10788 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10789 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10790 ( cat <<\_ASBOX
10791 ## ------------------------------------ ##
10792 ## Report this to wine-devel@winehq.org ##
10793 ## ------------------------------------ ##
10794 _ASBOX
10795 ) | sed "s/^/$as_me: WARNING: /" >&2
10797 esac
10798 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10800 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10801 echo $ECHO_N "(cached) $ECHO_C" >&6
10802 else
10803 eval "$as_ac_Header=\$ac_header_preproc"
10805 ac_res=`eval echo '${'$as_ac_Header'}'`
10806 { echo "$as_me:$LINENO: result: $ac_res" >&5
10807 echo "${ECHO_T}$ac_res" >&6; }
10810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10811 cat >>confdefs.h <<_ACEOF
10812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10813 _ACEOF
10814 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10815 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10816 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10817 echo $ECHO_N "(cached) $ECHO_C" >&6
10818 else
10819 ac_check_lib_save_LIBS=$LIBS
10820 LIBS="-lxml2 $ac_xml_libs $LIBS"
10821 cat >conftest.$ac_ext <<_ACEOF
10822 /* confdefs.h. */
10823 _ACEOF
10824 cat confdefs.h >>conftest.$ac_ext
10825 cat >>conftest.$ac_ext <<_ACEOF
10826 /* end confdefs.h. */
10828 /* Override any GCC internal prototype to avoid an error.
10829 Use char because int might match the return type of a GCC
10830 builtin and then its argument prototype would still apply. */
10831 #ifdef __cplusplus
10832 extern "C"
10833 #endif
10834 char xmlParseMemory ();
10836 main ()
10838 return xmlParseMemory ();
10840 return 0;
10842 _ACEOF
10843 rm -f conftest.$ac_objext conftest$ac_exeext
10844 if { (ac_try="$ac_link"
10845 case "(($ac_try" in
10846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10847 *) ac_try_echo=$ac_try;;
10848 esac
10849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10850 (eval "$ac_link") 2>conftest.er1
10851 ac_status=$?
10852 grep -v '^ *+' conftest.er1 >conftest.err
10853 rm -f conftest.er1
10854 cat conftest.err >&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); } &&
10857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10858 { (case "(($ac_try" in
10859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10860 *) ac_try_echo=$ac_try;;
10861 esac
10862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10863 (eval "$ac_try") 2>&5
10864 ac_status=$?
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); }; } &&
10867 { ac_try='test -s conftest$ac_exeext'
10868 { (case "(($ac_try" in
10869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10870 *) ac_try_echo=$ac_try;;
10871 esac
10872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10873 (eval "$ac_try") 2>&5
10874 ac_status=$?
10875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10876 (exit $ac_status); }; }; then
10877 ac_cv_lib_xml2_xmlParseMemory=yes
10878 else
10879 echo "$as_me: failed program was:" >&5
10880 sed 's/^/| /' conftest.$ac_ext >&5
10882 ac_cv_lib_xml2_xmlParseMemory=no
10885 rm -f core conftest.err conftest.$ac_objext \
10886 conftest$ac_exeext conftest.$ac_ext
10887 LIBS=$ac_check_lib_save_LIBS
10889 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10890 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10891 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10893 cat >>confdefs.h <<\_ACEOF
10894 #define HAVE_LIBXML2 1
10895 _ACEOF
10897 XML2LIBS="$ac_xml_libs"
10898 XML2INCL="$ac_xml_cflags"
10901 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10902 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10903 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10904 echo $ECHO_N "(cached) $ECHO_C" >&6
10905 else
10906 ac_check_lib_save_LIBS=$LIBS
10907 LIBS="-lxml2 $ac_xml_libs $LIBS"
10908 cat >conftest.$ac_ext <<_ACEOF
10909 /* confdefs.h. */
10910 _ACEOF
10911 cat confdefs.h >>conftest.$ac_ext
10912 cat >>conftest.$ac_ext <<_ACEOF
10913 /* end confdefs.h. */
10915 /* Override any GCC internal prototype to avoid an error.
10916 Use char because int might match the return type of a GCC
10917 builtin and then its argument prototype would still apply. */
10918 #ifdef __cplusplus
10919 extern "C"
10920 #endif
10921 char xmlReadMemory ();
10923 main ()
10925 return xmlReadMemory ();
10927 return 0;
10929 _ACEOF
10930 rm -f conftest.$ac_objext conftest$ac_exeext
10931 if { (ac_try="$ac_link"
10932 case "(($ac_try" in
10933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10934 *) ac_try_echo=$ac_try;;
10935 esac
10936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10937 (eval "$ac_link") 2>conftest.er1
10938 ac_status=$?
10939 grep -v '^ *+' conftest.er1 >conftest.err
10940 rm -f conftest.er1
10941 cat conftest.err >&5
10942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943 (exit $ac_status); } &&
10944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10945 { (case "(($ac_try" in
10946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10947 *) ac_try_echo=$ac_try;;
10948 esac
10949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10950 (eval "$ac_try") 2>&5
10951 ac_status=$?
10952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953 (exit $ac_status); }; } &&
10954 { ac_try='test -s conftest$ac_exeext'
10955 { (case "(($ac_try" in
10956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10957 *) ac_try_echo=$ac_try;;
10958 esac
10959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10960 (eval "$ac_try") 2>&5
10961 ac_status=$?
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); }; }; then
10964 ac_cv_lib_xml2_xmlReadMemory=yes
10965 else
10966 echo "$as_me: failed program was:" >&5
10967 sed 's/^/| /' conftest.$ac_ext >&5
10969 ac_cv_lib_xml2_xmlReadMemory=no
10972 rm -f core conftest.err conftest.$ac_objext \
10973 conftest$ac_exeext conftest.$ac_ext
10974 LIBS=$ac_check_lib_save_LIBS
10976 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10977 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10978 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10980 cat >>confdefs.h <<\_ACEOF
10981 #define HAVE_XMLREADMEMORY 1
10982 _ACEOF
10989 done
10991 CPPFLAGS="$ac_save_CPPFLAGS"
10992 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10993 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10994 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10997 for ac_header in libxslt/pattern.h libxslt/transform.h
10999 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11000 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11002 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11003 echo $ECHO_N "(cached) $ECHO_C" >&6
11004 else
11005 cat >conftest.$ac_ext <<_ACEOF
11006 /* confdefs.h. */
11007 _ACEOF
11008 cat confdefs.h >>conftest.$ac_ext
11009 cat >>conftest.$ac_ext <<_ACEOF
11010 /* end confdefs.h. */
11011 #ifdef HAVE_LIBXSLT_PATTERN_H
11012 # include <libxslt/pattern.h>
11013 #endif
11015 #include <$ac_header>
11016 _ACEOF
11017 rm -f conftest.$ac_objext
11018 if { (ac_try="$ac_compile"
11019 case "(($ac_try" in
11020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11021 *) ac_try_echo=$ac_try;;
11022 esac
11023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11024 (eval "$ac_compile") 2>conftest.er1
11025 ac_status=$?
11026 grep -v '^ *+' conftest.er1 >conftest.err
11027 rm -f conftest.er1
11028 cat conftest.err >&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); } &&
11031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11032 { (case "(($ac_try" in
11033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11034 *) ac_try_echo=$ac_try;;
11035 esac
11036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11037 (eval "$ac_try") 2>&5
11038 ac_status=$?
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); }; } &&
11041 { ac_try='test -s conftest.$ac_objext'
11042 { (case "(($ac_try" in
11043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11044 *) ac_try_echo=$ac_try;;
11045 esac
11046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11047 (eval "$ac_try") 2>&5
11048 ac_status=$?
11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050 (exit $ac_status); }; }; then
11051 eval "$as_ac_Header=yes"
11052 else
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.$ac_ext >&5
11056 eval "$as_ac_Header=no"
11059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11061 ac_res=`eval echo '${'$as_ac_Header'}'`
11062 { echo "$as_me:$LINENO: result: $ac_res" >&5
11063 echo "${ECHO_T}$ac_res" >&6; }
11064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11065 cat >>confdefs.h <<_ACEOF
11066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11067 _ACEOF
11068 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11069 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11070 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11071 echo $ECHO_N "(cached) $ECHO_C" >&6
11072 else
11073 ac_check_lib_save_LIBS=$LIBS
11074 LIBS="-lxslt $ac_xslt_libs $LIBS"
11075 cat >conftest.$ac_ext <<_ACEOF
11076 /* confdefs.h. */
11077 _ACEOF
11078 cat confdefs.h >>conftest.$ac_ext
11079 cat >>conftest.$ac_ext <<_ACEOF
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11085 #ifdef __cplusplus
11086 extern "C"
11087 #endif
11088 char xsltCompilePattern ();
11090 main ()
11092 return xsltCompilePattern ();
11094 return 0;
11096 _ACEOF
11097 rm -f conftest.$ac_objext conftest$ac_exeext
11098 if { (ac_try="$ac_link"
11099 case "(($ac_try" in
11100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11101 *) ac_try_echo=$ac_try;;
11102 esac
11103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11104 (eval "$ac_link") 2>conftest.er1
11105 ac_status=$?
11106 grep -v '^ *+' conftest.er1 >conftest.err
11107 rm -f conftest.er1
11108 cat conftest.err >&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); } &&
11111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11112 { (case "(($ac_try" in
11113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11114 *) ac_try_echo=$ac_try;;
11115 esac
11116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11117 (eval "$ac_try") 2>&5
11118 ac_status=$?
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); }; } &&
11121 { ac_try='test -s conftest$ac_exeext'
11122 { (case "(($ac_try" in
11123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11124 *) ac_try_echo=$ac_try;;
11125 esac
11126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11127 (eval "$ac_try") 2>&5
11128 ac_status=$?
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); }; }; then
11131 ac_cv_lib_xslt_xsltCompilePattern=yes
11132 else
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.$ac_ext >&5
11136 ac_cv_lib_xslt_xsltCompilePattern=no
11139 rm -f core conftest.err conftest.$ac_objext \
11140 conftest$ac_exeext conftest.$ac_ext
11141 LIBS=$ac_check_lib_save_LIBS
11143 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11144 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11145 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11147 cat >>confdefs.h <<\_ACEOF
11148 #define HAVE_LIBXSLT 1
11149 _ACEOF
11151 XSLTLIBS="$ac_xslt_libs"
11152 XSLTINCL="$ac_xslt_cflags"
11158 done
11160 CPPFLAGS="$ac_save_CPPFLAGS"
11163 HALINCL=""
11165 if test "$PKG_CONFIG" != "false"
11166 then
11167 ac_save_CPPFLAGS="$CPPFLAGS"
11168 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11169 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11170 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11173 for ac_header in dbus/dbus.h hal/libhal.h
11175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11177 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11180 echo $ECHO_N "(cached) $ECHO_C" >&6
11182 ac_res=`eval echo '${'$as_ac_Header'}'`
11183 { echo "$as_me:$LINENO: result: $ac_res" >&5
11184 echo "${ECHO_T}$ac_res" >&6; }
11185 else
11186 # Is the header compilable?
11187 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
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. */
11195 $ac_includes_default
11196 #include <$ac_header>
11197 _ACEOF
11198 rm -f conftest.$ac_objext
11199 if { (ac_try="$ac_compile"
11200 case "(($ac_try" in
11201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11202 *) ac_try_echo=$ac_try;;
11203 esac
11204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11205 (eval "$ac_compile") 2>conftest.er1
11206 ac_status=$?
11207 grep -v '^ *+' conftest.er1 >conftest.err
11208 rm -f conftest.er1
11209 cat conftest.err >&5
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); } &&
11212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
11219 ac_status=$?
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); }; } &&
11222 { ac_try='test -s conftest.$ac_objext'
11223 { (case "(($ac_try" in
11224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11225 *) ac_try_echo=$ac_try;;
11226 esac
11227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11228 (eval "$ac_try") 2>&5
11229 ac_status=$?
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); }; }; then
11232 ac_header_compiler=yes
11233 else
11234 echo "$as_me: failed program was:" >&5
11235 sed 's/^/| /' conftest.$ac_ext >&5
11237 ac_header_compiler=no
11240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11241 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11242 echo "${ECHO_T}$ac_header_compiler" >&6; }
11244 # Is the header present?
11245 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11246 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11247 cat >conftest.$ac_ext <<_ACEOF
11248 /* confdefs.h. */
11249 _ACEOF
11250 cat confdefs.h >>conftest.$ac_ext
11251 cat >>conftest.$ac_ext <<_ACEOF
11252 /* end confdefs.h. */
11253 #include <$ac_header>
11254 _ACEOF
11255 if { (ac_try="$ac_cpp conftest.$ac_ext"
11256 case "(($ac_try" in
11257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11258 *) ac_try_echo=$ac_try;;
11259 esac
11260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11261 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11262 ac_status=$?
11263 grep -v '^ *+' conftest.er1 >conftest.err
11264 rm -f conftest.er1
11265 cat conftest.err >&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); } >/dev/null; then
11268 if test -s conftest.err; then
11269 ac_cpp_err=$ac_c_preproc_warn_flag
11270 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11271 else
11272 ac_cpp_err=
11274 else
11275 ac_cpp_err=yes
11277 if test -z "$ac_cpp_err"; then
11278 ac_header_preproc=yes
11279 else
11280 echo "$as_me: failed program was:" >&5
11281 sed 's/^/| /' conftest.$ac_ext >&5
11283 ac_header_preproc=no
11286 rm -f conftest.err conftest.$ac_ext
11287 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11288 echo "${ECHO_T}$ac_header_preproc" >&6; }
11290 # So? What about this header?
11291 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11292 yes:no: )
11293 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11294 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11296 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11297 ac_header_preproc=yes
11299 no:yes:* )
11300 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11301 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11302 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11303 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11304 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11305 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11306 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11307 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11309 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11310 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11311 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11312 ( cat <<\_ASBOX
11313 ## ------------------------------------ ##
11314 ## Report this to wine-devel@winehq.org ##
11315 ## ------------------------------------ ##
11316 _ASBOX
11317 ) | sed "s/^/$as_me: WARNING: /" >&2
11319 esac
11320 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11322 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11324 else
11325 eval "$as_ac_Header=\$ac_header_preproc"
11327 ac_res=`eval echo '${'$as_ac_Header'}'`
11328 { echo "$as_me:$LINENO: result: $ac_res" >&5
11329 echo "${ECHO_T}$ac_res" >&6; }
11332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11333 cat >>confdefs.h <<_ACEOF
11334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11335 _ACEOF
11339 done
11341 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11342 then
11343 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
11344 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
11345 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-lhal $LIBS"
11350 cat >conftest.$ac_ext <<_ACEOF
11351 /* confdefs.h. */
11352 _ACEOF
11353 cat confdefs.h >>conftest.$ac_ext
11354 cat >>conftest.$ac_ext <<_ACEOF
11355 /* end confdefs.h. */
11357 /* Override any GCC internal prototype to avoid an error.
11358 Use char because int might match the return type of a GCC
11359 builtin and then its argument prototype would still apply. */
11360 #ifdef __cplusplus
11361 extern "C"
11362 #endif
11363 char libhal_ctx_new ();
11365 main ()
11367 return libhal_ctx_new ();
11369 return 0;
11371 _ACEOF
11372 rm -f conftest.$ac_objext conftest$ac_exeext
11373 if { (ac_try="$ac_link"
11374 case "(($ac_try" in
11375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11376 *) ac_try_echo=$ac_try;;
11377 esac
11378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11379 (eval "$ac_link") 2>conftest.er1
11380 ac_status=$?
11381 grep -v '^ *+' conftest.er1 >conftest.err
11382 rm -f conftest.er1
11383 cat conftest.err >&5
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); } &&
11386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11387 { (case "(($ac_try" in
11388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11389 *) ac_try_echo=$ac_try;;
11390 esac
11391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11392 (eval "$ac_try") 2>&5
11393 ac_status=$?
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); }; } &&
11396 { ac_try='test -s conftest$ac_exeext'
11397 { (case "(($ac_try" in
11398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11399 *) ac_try_echo=$ac_try;;
11400 esac
11401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11402 (eval "$ac_try") 2>&5
11403 ac_status=$?
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); }; }; then
11406 ac_cv_lib_hal_libhal_ctx_new=yes
11407 else
11408 echo "$as_me: failed program was:" >&5
11409 sed 's/^/| /' conftest.$ac_ext >&5
11411 ac_cv_lib_hal_libhal_ctx_new=no
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_lib_save_LIBS
11418 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
11419 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
11420 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
11421 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11422 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11423 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11425 else
11426 ac_check_lib_save_LIBS=$LIBS
11427 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11428 cat >conftest.$ac_ext <<_ACEOF
11429 /* confdefs.h. */
11430 _ACEOF
11431 cat confdefs.h >>conftest.$ac_ext
11432 cat >>conftest.$ac_ext <<_ACEOF
11433 /* end confdefs.h. */
11435 /* Override any GCC internal prototype to avoid an error.
11436 Use char because int might match the return type of a GCC
11437 builtin and then its argument prototype would still apply. */
11438 #ifdef __cplusplus
11439 extern "C"
11440 #endif
11441 char dbus_connection_close ();
11443 main ()
11445 return dbus_connection_close ();
11447 return 0;
11449 _ACEOF
11450 rm -f conftest.$ac_objext conftest$ac_exeext
11451 if { (ac_try="$ac_link"
11452 case "(($ac_try" in
11453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11454 *) ac_try_echo=$ac_try;;
11455 esac
11456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11457 (eval "$ac_link") 2>conftest.er1
11458 ac_status=$?
11459 grep -v '^ *+' conftest.er1 >conftest.err
11460 rm -f conftest.er1
11461 cat conftest.err >&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); } &&
11464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11465 { (case "(($ac_try" in
11466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11467 *) ac_try_echo=$ac_try;;
11468 esac
11469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11470 (eval "$ac_try") 2>&5
11471 ac_status=$?
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }; } &&
11474 { ac_try='test -s conftest$ac_exeext'
11475 { (case "(($ac_try" in
11476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11477 *) ac_try_echo=$ac_try;;
11478 esac
11479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11480 (eval "$ac_try") 2>&5
11481 ac_status=$?
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); }; }; then
11484 ac_cv_lib_dbus_1_dbus_connection_close=yes
11485 else
11486 echo "$as_me: failed program was:" >&5
11487 sed 's/^/| /' conftest.$ac_ext >&5
11489 ac_cv_lib_dbus_1_dbus_connection_close=no
11492 rm -f core conftest.err conftest.$ac_objext \
11493 conftest$ac_exeext conftest.$ac_ext
11494 LIBS=$ac_check_lib_save_LIBS
11496 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11497 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11498 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11500 cat >>confdefs.h <<\_ACEOF
11501 #define HAVE_LIBHAL 1
11502 _ACEOF
11504 HALINCL="$ac_hal_cflags"
11510 CPPFLAGS="$ac_save_CPPFLAGS"
11513 CURSESLIBS=""
11514 if test "x$with_curses" != "xno"
11515 then
11516 if test "$ac_cv_header_ncurses_h" = "yes"
11517 then
11518 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
11519 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
11520 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11522 else
11523 ac_check_lib_save_LIBS=$LIBS
11524 LIBS="-lncurses $LIBS"
11525 cat >conftest.$ac_ext <<_ACEOF
11526 /* confdefs.h. */
11527 _ACEOF
11528 cat confdefs.h >>conftest.$ac_ext
11529 cat >>conftest.$ac_ext <<_ACEOF
11530 /* end confdefs.h. */
11532 /* Override any GCC internal prototype to avoid an error.
11533 Use char because int might match the return type of a GCC
11534 builtin and then its argument prototype would still apply. */
11535 #ifdef __cplusplus
11536 extern "C"
11537 #endif
11538 char waddch ();
11540 main ()
11542 return waddch ();
11544 return 0;
11546 _ACEOF
11547 rm -f conftest.$ac_objext conftest$ac_exeext
11548 if { (ac_try="$ac_link"
11549 case "(($ac_try" in
11550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11551 *) ac_try_echo=$ac_try;;
11552 esac
11553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11554 (eval "$ac_link") 2>conftest.er1
11555 ac_status=$?
11556 grep -v '^ *+' conftest.er1 >conftest.err
11557 rm -f conftest.er1
11558 cat conftest.err >&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); } &&
11561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11562 { (case "(($ac_try" in
11563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11564 *) ac_try_echo=$ac_try;;
11565 esac
11566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11567 (eval "$ac_try") 2>&5
11568 ac_status=$?
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); }; } &&
11571 { ac_try='test -s conftest$ac_exeext'
11572 { (case "(($ac_try" in
11573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11574 *) ac_try_echo=$ac_try;;
11575 esac
11576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11577 (eval "$ac_try") 2>&5
11578 ac_status=$?
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); }; }; then
11581 ac_cv_lib_ncurses_waddch=yes
11582 else
11583 echo "$as_me: failed program was:" >&5
11584 sed 's/^/| /' conftest.$ac_ext >&5
11586 ac_cv_lib_ncurses_waddch=no
11589 rm -f core conftest.err conftest.$ac_objext \
11590 conftest$ac_exeext conftest.$ac_ext
11591 LIBS=$ac_check_lib_save_LIBS
11593 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11594 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11595 if test $ac_cv_lib_ncurses_waddch = yes; then
11597 cat >>confdefs.h <<\_ACEOF
11598 #define HAVE_LIBNCURSES 1
11599 _ACEOF
11601 CURSESLIBS="-lncurses"
11604 elif test "$ac_cv_header_curses_h" = "yes"
11605 then
11606 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11607 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11608 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11609 echo $ECHO_N "(cached) $ECHO_C" >&6
11610 else
11611 ac_check_lib_save_LIBS=$LIBS
11612 LIBS="-lcurses $LIBS"
11613 cat >conftest.$ac_ext <<_ACEOF
11614 /* confdefs.h. */
11615 _ACEOF
11616 cat confdefs.h >>conftest.$ac_ext
11617 cat >>conftest.$ac_ext <<_ACEOF
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11623 #ifdef __cplusplus
11624 extern "C"
11625 #endif
11626 char waddch ();
11628 main ()
11630 return waddch ();
11632 return 0;
11634 _ACEOF
11635 rm -f conftest.$ac_objext conftest$ac_exeext
11636 if { (ac_try="$ac_link"
11637 case "(($ac_try" in
11638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11639 *) ac_try_echo=$ac_try;;
11640 esac
11641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11642 (eval "$ac_link") 2>conftest.er1
11643 ac_status=$?
11644 grep -v '^ *+' conftest.er1 >conftest.err
11645 rm -f conftest.er1
11646 cat conftest.err >&5
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); } &&
11649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11650 { (case "(($ac_try" in
11651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11652 *) ac_try_echo=$ac_try;;
11653 esac
11654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11655 (eval "$ac_try") 2>&5
11656 ac_status=$?
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); }; } &&
11659 { ac_try='test -s conftest$ac_exeext'
11660 { (case "(($ac_try" in
11661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11662 *) ac_try_echo=$ac_try;;
11663 esac
11664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11665 (eval "$ac_try") 2>&5
11666 ac_status=$?
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); }; }; then
11669 ac_cv_lib_curses_waddch=yes
11670 else
11671 echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.$ac_ext >&5
11674 ac_cv_lib_curses_waddch=no
11677 rm -f core conftest.err conftest.$ac_objext \
11678 conftest$ac_exeext conftest.$ac_ext
11679 LIBS=$ac_check_lib_save_LIBS
11681 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11682 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11683 if test $ac_cv_lib_curses_waddch = yes; then
11685 cat >>confdefs.h <<\_ACEOF
11686 #define HAVE_LIBCURSES 1
11687 _ACEOF
11689 CURSESLIBS="-lcurses"
11693 ac_save_LIBS="$LIBS"
11694 LIBS="$LIBS $CURSESLIBS"
11696 for ac_func in mousemask
11698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11701 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11702 echo $ECHO_N "(cached) $ECHO_C" >&6
11703 else
11704 cat >conftest.$ac_ext <<_ACEOF
11705 /* confdefs.h. */
11706 _ACEOF
11707 cat confdefs.h >>conftest.$ac_ext
11708 cat >>conftest.$ac_ext <<_ACEOF
11709 /* end confdefs.h. */
11710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11712 #define $ac_func innocuous_$ac_func
11714 /* System header to define __stub macros and hopefully few prototypes,
11715 which can conflict with char $ac_func (); below.
11716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11717 <limits.h> exists even on freestanding compilers. */
11719 #ifdef __STDC__
11720 # include <limits.h>
11721 #else
11722 # include <assert.h>
11723 #endif
11725 #undef $ac_func
11727 /* Override any GCC internal prototype to avoid an error.
11728 Use char because int might match the return type of a GCC
11729 builtin and then its argument prototype would still apply. */
11730 #ifdef __cplusplus
11731 extern "C"
11732 #endif
11733 char $ac_func ();
11734 /* The GNU C library defines this for functions which it implements
11735 to always fail with ENOSYS. Some functions are actually named
11736 something starting with __ and the normal name is an alias. */
11737 #if defined __stub_$ac_func || defined __stub___$ac_func
11738 choke me
11739 #endif
11742 main ()
11744 return $ac_func ();
11746 return 0;
11748 _ACEOF
11749 rm -f conftest.$ac_objext conftest$ac_exeext
11750 if { (ac_try="$ac_link"
11751 case "(($ac_try" in
11752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11753 *) ac_try_echo=$ac_try;;
11754 esac
11755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11756 (eval "$ac_link") 2>conftest.er1
11757 ac_status=$?
11758 grep -v '^ *+' conftest.er1 >conftest.err
11759 rm -f conftest.er1
11760 cat conftest.err >&5
11761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11762 (exit $ac_status); } &&
11763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11764 { (case "(($ac_try" in
11765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11766 *) ac_try_echo=$ac_try;;
11767 esac
11768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11769 (eval "$ac_try") 2>&5
11770 ac_status=$?
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); }; } &&
11773 { ac_try='test -s conftest$ac_exeext'
11774 { (case "(($ac_try" in
11775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11776 *) ac_try_echo=$ac_try;;
11777 esac
11778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11779 (eval "$ac_try") 2>&5
11780 ac_status=$?
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; }; then
11783 eval "$as_ac_var=yes"
11784 else
11785 echo "$as_me: failed program was:" >&5
11786 sed 's/^/| /' conftest.$ac_ext >&5
11788 eval "$as_ac_var=no"
11791 rm -f core conftest.err conftest.$ac_objext \
11792 conftest$ac_exeext conftest.$ac_ext
11794 ac_res=`eval echo '${'$as_ac_var'}'`
11795 { echo "$as_me:$LINENO: result: $ac_res" >&5
11796 echo "${ECHO_T}$ac_res" >&6; }
11797 if test `eval echo '${'$as_ac_var'}'` = yes; then
11798 cat >>confdefs.h <<_ACEOF
11799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11800 _ACEOF
11803 done
11805 LIBS="$ac_save_LIBS"
11809 # Extract the first word of "sane-config", so it can be a program name with args.
11810 set dummy sane-config; ac_word=$2
11811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11813 if test "${ac_cv_prog_sane_devel+set}" = set; then
11814 echo $ECHO_N "(cached) $ECHO_C" >&6
11815 else
11816 if test -n "$sane_devel"; then
11817 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11818 else
11819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11820 for as_dir in $PATH
11822 IFS=$as_save_IFS
11823 test -z "$as_dir" && as_dir=.
11824 for ac_exec_ext in '' $ac_executable_extensions; do
11825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11826 ac_cv_prog_sane_devel="sane-config"
11827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11828 break 2
11830 done
11831 done
11832 IFS=$as_save_IFS
11834 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11837 sane_devel=$ac_cv_prog_sane_devel
11838 if test -n "$sane_devel"; then
11839 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11840 echo "${ECHO_T}$sane_devel" >&6; }
11841 else
11842 { echo "$as_me:$LINENO: result: no" >&5
11843 echo "${ECHO_T}no" >&6; }
11847 SANELIBS=""
11849 SANEINCL=""
11851 if test "$sane_devel" != "no"
11852 then
11853 SANELIBS="`$sane_devel --libs`"
11854 SANEINCL="`$sane_devel --cflags`"
11855 ac_save_CPPFLAGS="$CPPFLAGS"
11856 ac_save_LIBS="$LIBS"
11857 CPPFLAGS="$CPPFLAGS $SANEINCL"
11858 LIBS="$LIBS $SANELIBS"
11859 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11860 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11861 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11862 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11863 echo $ECHO_N "(cached) $ECHO_C" >&6
11865 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11866 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11867 else
11868 # Is the header compilable?
11869 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11870 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11871 cat >conftest.$ac_ext <<_ACEOF
11872 /* confdefs.h. */
11873 _ACEOF
11874 cat confdefs.h >>conftest.$ac_ext
11875 cat >>conftest.$ac_ext <<_ACEOF
11876 /* end confdefs.h. */
11877 $ac_includes_default
11878 #include <sane/sane.h>
11879 _ACEOF
11880 rm -f conftest.$ac_objext
11881 if { (ac_try="$ac_compile"
11882 case "(($ac_try" in
11883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11884 *) ac_try_echo=$ac_try;;
11885 esac
11886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11887 (eval "$ac_compile") 2>conftest.er1
11888 ac_status=$?
11889 grep -v '^ *+' conftest.er1 >conftest.err
11890 rm -f conftest.er1
11891 cat conftest.err >&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); } &&
11894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11895 { (case "(($ac_try" in
11896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11897 *) ac_try_echo=$ac_try;;
11898 esac
11899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11900 (eval "$ac_try") 2>&5
11901 ac_status=$?
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); }; } &&
11904 { ac_try='test -s conftest.$ac_objext'
11905 { (case "(($ac_try" in
11906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11907 *) ac_try_echo=$ac_try;;
11908 esac
11909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11910 (eval "$ac_try") 2>&5
11911 ac_status=$?
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); }; }; then
11914 ac_header_compiler=yes
11915 else
11916 echo "$as_me: failed program was:" >&5
11917 sed 's/^/| /' conftest.$ac_ext >&5
11919 ac_header_compiler=no
11922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11923 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11924 echo "${ECHO_T}$ac_header_compiler" >&6; }
11926 # Is the header present?
11927 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11928 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11929 cat >conftest.$ac_ext <<_ACEOF
11930 /* confdefs.h. */
11931 _ACEOF
11932 cat confdefs.h >>conftest.$ac_ext
11933 cat >>conftest.$ac_ext <<_ACEOF
11934 /* end confdefs.h. */
11935 #include <sane/sane.h>
11936 _ACEOF
11937 if { (ac_try="$ac_cpp conftest.$ac_ext"
11938 case "(($ac_try" in
11939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11940 *) ac_try_echo=$ac_try;;
11941 esac
11942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11943 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11944 ac_status=$?
11945 grep -v '^ *+' conftest.er1 >conftest.err
11946 rm -f conftest.er1
11947 cat conftest.err >&5
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); } >/dev/null; then
11950 if test -s conftest.err; then
11951 ac_cpp_err=$ac_c_preproc_warn_flag
11952 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11953 else
11954 ac_cpp_err=
11956 else
11957 ac_cpp_err=yes
11959 if test -z "$ac_cpp_err"; then
11960 ac_header_preproc=yes
11961 else
11962 echo "$as_me: failed program was:" >&5
11963 sed 's/^/| /' conftest.$ac_ext >&5
11965 ac_header_preproc=no
11968 rm -f conftest.err conftest.$ac_ext
11969 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11970 echo "${ECHO_T}$ac_header_preproc" >&6; }
11972 # So? What about this header?
11973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11974 yes:no: )
11975 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11976 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11977 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11978 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11979 ac_header_preproc=yes
11981 no:yes:* )
11982 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11983 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11984 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11985 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11986 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11987 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11988 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11989 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11990 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11991 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11992 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11993 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11994 ( cat <<\_ASBOX
11995 ## ------------------------------------ ##
11996 ## Report this to wine-devel@winehq.org ##
11997 ## ------------------------------------ ##
11998 _ASBOX
11999 ) | sed "s/^/$as_me: WARNING: /" >&2
12001 esac
12002 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12003 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12004 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12005 echo $ECHO_N "(cached) $ECHO_C" >&6
12006 else
12007 ac_cv_header_sane_sane_h=$ac_header_preproc
12009 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12010 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12013 if test $ac_cv_header_sane_sane_h = yes; then
12014 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
12015 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
12016 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12018 else
12019 ac_check_lib_save_LIBS=$LIBS
12020 LIBS="-lsane $LIBS"
12021 cat >conftest.$ac_ext <<_ACEOF
12022 /* confdefs.h. */
12023 _ACEOF
12024 cat confdefs.h >>conftest.$ac_ext
12025 cat >>conftest.$ac_ext <<_ACEOF
12026 /* end confdefs.h. */
12028 /* Override any GCC internal prototype to avoid an error.
12029 Use char because int might match the return type of a GCC
12030 builtin and then its argument prototype would still apply. */
12031 #ifdef __cplusplus
12032 extern "C"
12033 #endif
12034 char sane_open ();
12036 main ()
12038 return sane_open ();
12040 return 0;
12042 _ACEOF
12043 rm -f conftest.$ac_objext conftest$ac_exeext
12044 if { (ac_try="$ac_link"
12045 case "(($ac_try" in
12046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12047 *) ac_try_echo=$ac_try;;
12048 esac
12049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12050 (eval "$ac_link") 2>conftest.er1
12051 ac_status=$?
12052 grep -v '^ *+' conftest.er1 >conftest.err
12053 rm -f conftest.er1
12054 cat conftest.err >&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); } &&
12057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12058 { (case "(($ac_try" in
12059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12060 *) ac_try_echo=$ac_try;;
12061 esac
12062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12063 (eval "$ac_try") 2>&5
12064 ac_status=$?
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; } &&
12067 { ac_try='test -s conftest$ac_exeext'
12068 { (case "(($ac_try" in
12069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12070 *) ac_try_echo=$ac_try;;
12071 esac
12072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12073 (eval "$ac_try") 2>&5
12074 ac_status=$?
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); }; }; then
12077 ac_cv_lib_sane_sane_open=yes
12078 else
12079 echo "$as_me: failed program was:" >&5
12080 sed 's/^/| /' conftest.$ac_ext >&5
12082 ac_cv_lib_sane_sane_open=no
12085 rm -f core conftest.err conftest.$ac_objext \
12086 conftest$ac_exeext conftest.$ac_ext
12087 LIBS=$ac_check_lib_save_LIBS
12089 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
12090 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
12091 if test $ac_cv_lib_sane_sane_open = yes; then
12093 cat >>confdefs.h <<\_ACEOF
12094 #define HAVE_SANE 1
12095 _ACEOF
12097 else
12098 SANELIBS=""
12099 SANEINCL=""
12102 else
12103 SANELIBS=""
12104 SANEINCL=""
12108 LIBS="$ac_save_LIBS"
12109 CPPFLAGS="$ac_save_CPPFLAGS"
12112 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12113 set dummy gphoto2-config; ac_word=$2
12114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12116 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12117 echo $ECHO_N "(cached) $ECHO_C" >&6
12118 else
12119 if test -n "$gphoto2_devel"; then
12120 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12121 else
12122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12123 for as_dir in $PATH
12125 IFS=$as_save_IFS
12126 test -z "$as_dir" && as_dir=.
12127 for ac_exec_ext in '' $ac_executable_extensions; do
12128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12129 ac_cv_prog_gphoto2_devel="gphoto2-config"
12130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12131 break 2
12133 done
12134 done
12135 IFS=$as_save_IFS
12137 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12140 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12141 if test -n "$gphoto2_devel"; then
12142 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12143 echo "${ECHO_T}$gphoto2_devel" >&6; }
12144 else
12145 { echo "$as_me:$LINENO: result: no" >&5
12146 echo "${ECHO_T}no" >&6; }
12150 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12151 set dummy gphoto2-port-config; ac_word=$2
12152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12154 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12155 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 else
12157 if test -n "$gphoto2port_devel"; then
12158 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12159 else
12160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12161 for as_dir in $PATH
12163 IFS=$as_save_IFS
12164 test -z "$as_dir" && as_dir=.
12165 for ac_exec_ext in '' $ac_executable_extensions; do
12166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12167 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12169 break 2
12171 done
12172 done
12173 IFS=$as_save_IFS
12175 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12178 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12179 if test -n "$gphoto2port_devel"; then
12180 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12181 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12182 else
12183 { echo "$as_me:$LINENO: result: no" >&5
12184 echo "${ECHO_T}no" >&6; }
12188 GPHOTO2LIBS=""
12190 GPHOTO2INCL=""
12192 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12193 then
12194 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12195 GPHOTO2LIBS=""
12196 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12198 case "$i" in
12199 -L/usr/lib|-L/usr/lib64) ;;
12200 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
12201 esac
12202 done
12203 ac_save_CPPFLAGS="$CPPFLAGS"
12204 ac_save_LIBS="$LIBS"
12205 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
12206 LIBS="$LIBS $GPHOTO2LIBS"
12207 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12208 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12209 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12210 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12211 echo $ECHO_N "(cached) $ECHO_C" >&6
12213 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12214 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12215 else
12216 # Is the header compilable?
12217 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12218 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12219 cat >conftest.$ac_ext <<_ACEOF
12220 /* confdefs.h. */
12221 _ACEOF
12222 cat confdefs.h >>conftest.$ac_ext
12223 cat >>conftest.$ac_ext <<_ACEOF
12224 /* end confdefs.h. */
12225 $ac_includes_default
12226 #include <gphoto2-camera.h>
12227 _ACEOF
12228 rm -f conftest.$ac_objext
12229 if { (ac_try="$ac_compile"
12230 case "(($ac_try" in
12231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12232 *) ac_try_echo=$ac_try;;
12233 esac
12234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12235 (eval "$ac_compile") 2>conftest.er1
12236 ac_status=$?
12237 grep -v '^ *+' conftest.er1 >conftest.err
12238 rm -f conftest.er1
12239 cat conftest.err >&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); } &&
12242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12243 { (case "(($ac_try" in
12244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12245 *) ac_try_echo=$ac_try;;
12246 esac
12247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12248 (eval "$ac_try") 2>&5
12249 ac_status=$?
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); }; } &&
12252 { ac_try='test -s conftest.$ac_objext'
12253 { (case "(($ac_try" in
12254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12255 *) ac_try_echo=$ac_try;;
12256 esac
12257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12258 (eval "$ac_try") 2>&5
12259 ac_status=$?
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); }; }; then
12262 ac_header_compiler=yes
12263 else
12264 echo "$as_me: failed program was:" >&5
12265 sed 's/^/| /' conftest.$ac_ext >&5
12267 ac_header_compiler=no
12270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12271 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12272 echo "${ECHO_T}$ac_header_compiler" >&6; }
12274 # Is the header present?
12275 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12276 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12277 cat >conftest.$ac_ext <<_ACEOF
12278 /* confdefs.h. */
12279 _ACEOF
12280 cat confdefs.h >>conftest.$ac_ext
12281 cat >>conftest.$ac_ext <<_ACEOF
12282 /* end confdefs.h. */
12283 #include <gphoto2-camera.h>
12284 _ACEOF
12285 if { (ac_try="$ac_cpp conftest.$ac_ext"
12286 case "(($ac_try" in
12287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12288 *) ac_try_echo=$ac_try;;
12289 esac
12290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12292 ac_status=$?
12293 grep -v '^ *+' conftest.er1 >conftest.err
12294 rm -f conftest.er1
12295 cat conftest.err >&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); } >/dev/null; then
12298 if test -s conftest.err; then
12299 ac_cpp_err=$ac_c_preproc_warn_flag
12300 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12301 else
12302 ac_cpp_err=
12304 else
12305 ac_cpp_err=yes
12307 if test -z "$ac_cpp_err"; then
12308 ac_header_preproc=yes
12309 else
12310 echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.$ac_ext >&5
12313 ac_header_preproc=no
12316 rm -f conftest.err conftest.$ac_ext
12317 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12318 echo "${ECHO_T}$ac_header_preproc" >&6; }
12320 # So? What about this header?
12321 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12322 yes:no: )
12323 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12324 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12325 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12326 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12327 ac_header_preproc=yes
12329 no:yes:* )
12330 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12331 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12332 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12333 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12334 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12335 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12336 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12337 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12338 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12339 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12340 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12341 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12342 ( cat <<\_ASBOX
12343 ## ------------------------------------ ##
12344 ## Report this to wine-devel@winehq.org ##
12345 ## ------------------------------------ ##
12346 _ASBOX
12347 ) | sed "s/^/$as_me: WARNING: /" >&2
12349 esac
12350 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12351 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12352 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12353 echo $ECHO_N "(cached) $ECHO_C" >&6
12354 else
12355 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12357 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12358 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12361 if test $ac_cv_header_gphoto2_camera_h = yes; then
12362 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12363 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12364 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12365 echo $ECHO_N "(cached) $ECHO_C" >&6
12366 else
12367 ac_check_lib_save_LIBS=$LIBS
12368 LIBS="-lgphoto2 $LIBS"
12369 cat >conftest.$ac_ext <<_ACEOF
12370 /* confdefs.h. */
12371 _ACEOF
12372 cat confdefs.h >>conftest.$ac_ext
12373 cat >>conftest.$ac_ext <<_ACEOF
12374 /* end confdefs.h. */
12376 /* Override any GCC internal prototype to avoid an error.
12377 Use char because int might match the return type of a GCC
12378 builtin and then its argument prototype would still apply. */
12379 #ifdef __cplusplus
12380 extern "C"
12381 #endif
12382 char gp_camera_new ();
12384 main ()
12386 return gp_camera_new ();
12388 return 0;
12390 _ACEOF
12391 rm -f conftest.$ac_objext conftest$ac_exeext
12392 if { (ac_try="$ac_link"
12393 case "(($ac_try" in
12394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12395 *) ac_try_echo=$ac_try;;
12396 esac
12397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12398 (eval "$ac_link") 2>conftest.er1
12399 ac_status=$?
12400 grep -v '^ *+' conftest.er1 >conftest.err
12401 rm -f conftest.er1
12402 cat conftest.err >&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); } &&
12405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12406 { (case "(($ac_try" in
12407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12408 *) ac_try_echo=$ac_try;;
12409 esac
12410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12411 (eval "$ac_try") 2>&5
12412 ac_status=$?
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); }; } &&
12415 { ac_try='test -s conftest$ac_exeext'
12416 { (case "(($ac_try" in
12417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12418 *) ac_try_echo=$ac_try;;
12419 esac
12420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12421 (eval "$ac_try") 2>&5
12422 ac_status=$?
12423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12424 (exit $ac_status); }; }; then
12425 ac_cv_lib_gphoto2_gp_camera_new=yes
12426 else
12427 echo "$as_me: failed program was:" >&5
12428 sed 's/^/| /' conftest.$ac_ext >&5
12430 ac_cv_lib_gphoto2_gp_camera_new=no
12433 rm -f core conftest.err conftest.$ac_objext \
12434 conftest$ac_exeext conftest.$ac_ext
12435 LIBS=$ac_check_lib_save_LIBS
12437 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12438 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12439 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12441 cat >>confdefs.h <<\_ACEOF
12442 #define HAVE_GPHOTO2 1
12443 _ACEOF
12445 else
12446 GPHOTO2LIBS=""
12447 GPHOTO2INCL=""
12450 else
12451 GPHOTO2LIBS=""
12452 GPHOTO2INCL=""
12456 LIBS="$ac_save_LIBS"
12457 CPPFLAGS="$ac_save_CPPFLAGS"
12460 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12461 then
12462 saved_libs="$LIBS"
12463 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
12465 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
12466 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
12467 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
12468 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
12469 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12470 cat >conftest.$ac_ext <<_ACEOF
12471 /* confdefs.h. */
12472 _ACEOF
12473 cat confdefs.h >>conftest.$ac_ext
12474 cat >>conftest.$ac_ext <<_ACEOF
12475 /* end confdefs.h. */
12476 #include <unicode/ubidi.h>
12478 main ()
12480 ubidi_open()
12482 return 0;
12484 _ACEOF
12485 rm -f conftest.$ac_objext conftest$ac_exeext
12486 if { (ac_try="$ac_link"
12487 case "(($ac_try" in
12488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12489 *) ac_try_echo=$ac_try;;
12490 esac
12491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12492 (eval "$ac_link") 2>conftest.er1
12493 ac_status=$?
12494 grep -v '^ *+' conftest.er1 >conftest.err
12495 rm -f conftest.er1
12496 cat conftest.err >&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); } &&
12499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12500 { (case "(($ac_try" in
12501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12502 *) ac_try_echo=$ac_try;;
12503 esac
12504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12505 (eval "$ac_try") 2>&5
12506 ac_status=$?
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); }; } &&
12509 { ac_try='test -s conftest$ac_exeext'
12510 { (case "(($ac_try" in
12511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12512 *) ac_try_echo=$ac_try;;
12513 esac
12514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12515 (eval "$ac_try") 2>&5
12516 ac_status=$?
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); }; }; then
12520 cat >>confdefs.h <<\_ACEOF
12521 #define HAVE_ICU 1
12522 _ACEOF
12524 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12526 { echo "$as_me:$LINENO: result: yes" >&5
12527 echo "${ECHO_T}yes" >&6; }
12528 else
12529 echo "$as_me: failed program was:" >&5
12530 sed 's/^/| /' conftest.$ac_ext >&5
12532 { echo "$as_me:$LINENO: result: no" >&5
12533 echo "${ECHO_T}no" >&6; }
12536 rm -f core conftest.err conftest.$ac_objext \
12537 conftest$ac_exeext conftest.$ac_ext
12538 done
12539 LIBS="$saved_libs"
12542 RESOLVLIBS=""
12544 if test "$ac_cv_header_resolv_h" = "yes"
12545 then
12546 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12547 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12548 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12549 echo $ECHO_N "(cached) $ECHO_C" >&6
12550 else
12551 ac_check_lib_save_LIBS=$LIBS
12552 LIBS="-lresolv $LIBS"
12553 cat >conftest.$ac_ext <<_ACEOF
12554 /* confdefs.h. */
12555 _ACEOF
12556 cat confdefs.h >>conftest.$ac_ext
12557 cat >>conftest.$ac_ext <<_ACEOF
12558 /* end confdefs.h. */
12560 /* Override any GCC internal prototype to avoid an error.
12561 Use char because int might match the return type of a GCC
12562 builtin and then its argument prototype would still apply. */
12563 #ifdef __cplusplus
12564 extern "C"
12565 #endif
12566 char res_query ();
12568 main ()
12570 return res_query ();
12572 return 0;
12574 _ACEOF
12575 rm -f conftest.$ac_objext conftest$ac_exeext
12576 if { (ac_try="$ac_link"
12577 case "(($ac_try" in
12578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12579 *) ac_try_echo=$ac_try;;
12580 esac
12581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12582 (eval "$ac_link") 2>conftest.er1
12583 ac_status=$?
12584 grep -v '^ *+' conftest.er1 >conftest.err
12585 rm -f conftest.er1
12586 cat conftest.err >&5
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 (exit $ac_status); } &&
12589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12590 { (case "(($ac_try" in
12591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12592 *) ac_try_echo=$ac_try;;
12593 esac
12594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12595 (eval "$ac_try") 2>&5
12596 ac_status=$?
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; } &&
12599 { ac_try='test -s conftest$ac_exeext'
12600 { (case "(($ac_try" in
12601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12602 *) ac_try_echo=$ac_try;;
12603 esac
12604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12605 (eval "$ac_try") 2>&5
12606 ac_status=$?
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); }; }; then
12609 ac_cv_lib_resolv_res_query=yes
12610 else
12611 echo "$as_me: failed program was:" >&5
12612 sed 's/^/| /' conftest.$ac_ext >&5
12614 ac_cv_lib_resolv_res_query=no
12617 rm -f core conftest.err conftest.$ac_objext \
12618 conftest$ac_exeext conftest.$ac_ext
12619 LIBS=$ac_check_lib_save_LIBS
12621 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12622 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12623 if test $ac_cv_lib_resolv_res_query = yes; then
12625 cat >>confdefs.h <<\_ACEOF
12626 #define HAVE_RESOLV 1
12627 _ACEOF
12629 RESOLVLIBS="-lresolv"
12634 LCMSLIBS=""
12636 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12637 then
12638 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12639 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12640 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12642 else
12643 ac_check_lib_save_LIBS=$LIBS
12644 LIBS="-llcms $LIBS"
12645 cat >conftest.$ac_ext <<_ACEOF
12646 /* confdefs.h. */
12647 _ACEOF
12648 cat confdefs.h >>conftest.$ac_ext
12649 cat >>conftest.$ac_ext <<_ACEOF
12650 /* end confdefs.h. */
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12655 #ifdef __cplusplus
12656 extern "C"
12657 #endif
12658 char cmsOpenProfileFromFile ();
12660 main ()
12662 return cmsOpenProfileFromFile ();
12664 return 0;
12666 _ACEOF
12667 rm -f conftest.$ac_objext conftest$ac_exeext
12668 if { (ac_try="$ac_link"
12669 case "(($ac_try" in
12670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12671 *) ac_try_echo=$ac_try;;
12672 esac
12673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12674 (eval "$ac_link") 2>conftest.er1
12675 ac_status=$?
12676 grep -v '^ *+' conftest.er1 >conftest.err
12677 rm -f conftest.er1
12678 cat conftest.err >&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); } &&
12681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12682 { (case "(($ac_try" in
12683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12684 *) ac_try_echo=$ac_try;;
12685 esac
12686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12687 (eval "$ac_try") 2>&5
12688 ac_status=$?
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); }; } &&
12691 { ac_try='test -s conftest$ac_exeext'
12692 { (case "(($ac_try" in
12693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12694 *) ac_try_echo=$ac_try;;
12695 esac
12696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12697 (eval "$ac_try") 2>&5
12698 ac_status=$?
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); }; }; then
12701 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12702 else
12703 echo "$as_me: failed program was:" >&5
12704 sed 's/^/| /' conftest.$ac_ext >&5
12706 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12709 rm -f core conftest.err conftest.$ac_objext \
12710 conftest$ac_exeext conftest.$ac_ext
12711 LIBS=$ac_check_lib_save_LIBS
12713 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12714 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12715 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12717 cat >>confdefs.h <<\_ACEOF
12718 #define HAVE_LCMS 1
12719 _ACEOF
12721 LCMSLIBS="-llcms"
12726 LDAPLIBS=""
12728 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12729 then
12730 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12731 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12732 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12733 echo $ECHO_N "(cached) $ECHO_C" >&6
12734 else
12735 ac_check_lib_save_LIBS=$LIBS
12736 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12737 cat >conftest.$ac_ext <<_ACEOF
12738 /* confdefs.h. */
12739 _ACEOF
12740 cat confdefs.h >>conftest.$ac_ext
12741 cat >>conftest.$ac_ext <<_ACEOF
12742 /* end confdefs.h. */
12744 /* Override any GCC internal prototype to avoid an error.
12745 Use char because int might match the return type of a GCC
12746 builtin and then its argument prototype would still apply. */
12747 #ifdef __cplusplus
12748 extern "C"
12749 #endif
12750 char ldap_initialize ();
12752 main ()
12754 return ldap_initialize ();
12756 return 0;
12758 _ACEOF
12759 rm -f conftest.$ac_objext conftest$ac_exeext
12760 if { (ac_try="$ac_link"
12761 case "(($ac_try" in
12762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12763 *) ac_try_echo=$ac_try;;
12764 esac
12765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12766 (eval "$ac_link") 2>conftest.er1
12767 ac_status=$?
12768 grep -v '^ *+' conftest.er1 >conftest.err
12769 rm -f conftest.er1
12770 cat conftest.err >&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); } &&
12773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12774 { (case "(($ac_try" in
12775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12776 *) ac_try_echo=$ac_try;;
12777 esac
12778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12779 (eval "$ac_try") 2>&5
12780 ac_status=$?
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); }; } &&
12783 { ac_try='test -s conftest$ac_exeext'
12784 { (case "(($ac_try" in
12785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12786 *) ac_try_echo=$ac_try;;
12787 esac
12788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12789 (eval "$ac_try") 2>&5
12790 ac_status=$?
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); }; }; then
12793 ac_cv_lib_ldap_r_ldap_initialize=yes
12794 else
12795 echo "$as_me: failed program was:" >&5
12796 sed 's/^/| /' conftest.$ac_ext >&5
12798 ac_cv_lib_ldap_r_ldap_initialize=no
12801 rm -f core conftest.err conftest.$ac_objext \
12802 conftest$ac_exeext conftest.$ac_ext
12803 LIBS=$ac_check_lib_save_LIBS
12805 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12806 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12807 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12808 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12809 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12810 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12811 echo $ECHO_N "(cached) $ECHO_C" >&6
12812 else
12813 ac_check_lib_save_LIBS=$LIBS
12814 LIBS="-llber $LIBPTHREAD $LIBS"
12815 cat >conftest.$ac_ext <<_ACEOF
12816 /* confdefs.h. */
12817 _ACEOF
12818 cat confdefs.h >>conftest.$ac_ext
12819 cat >>conftest.$ac_ext <<_ACEOF
12820 /* end confdefs.h. */
12822 /* Override any GCC internal prototype to avoid an error.
12823 Use char because int might match the return type of a GCC
12824 builtin and then its argument prototype would still apply. */
12825 #ifdef __cplusplus
12826 extern "C"
12827 #endif
12828 char ber_init ();
12830 main ()
12832 return ber_init ();
12834 return 0;
12836 _ACEOF
12837 rm -f conftest.$ac_objext conftest$ac_exeext
12838 if { (ac_try="$ac_link"
12839 case "(($ac_try" in
12840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12841 *) ac_try_echo=$ac_try;;
12842 esac
12843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12844 (eval "$ac_link") 2>conftest.er1
12845 ac_status=$?
12846 grep -v '^ *+' conftest.er1 >conftest.err
12847 rm -f conftest.er1
12848 cat conftest.err >&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); } &&
12851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12852 { (case "(($ac_try" in
12853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12854 *) ac_try_echo=$ac_try;;
12855 esac
12856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12857 (eval "$ac_try") 2>&5
12858 ac_status=$?
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; } &&
12861 { ac_try='test -s conftest$ac_exeext'
12862 { (case "(($ac_try" in
12863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12864 *) ac_try_echo=$ac_try;;
12865 esac
12866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12867 (eval "$ac_try") 2>&5
12868 ac_status=$?
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); }; }; then
12871 ac_cv_lib_lber_ber_init=yes
12872 else
12873 echo "$as_me: failed program was:" >&5
12874 sed 's/^/| /' conftest.$ac_ext >&5
12876 ac_cv_lib_lber_ber_init=no
12879 rm -f core conftest.err conftest.$ac_objext \
12880 conftest$ac_exeext conftest.$ac_ext
12881 LIBS=$ac_check_lib_save_LIBS
12883 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12884 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12885 if test $ac_cv_lib_lber_ber_init = yes; then
12887 cat >>confdefs.h <<\_ACEOF
12888 #define HAVE_LDAP 1
12889 _ACEOF
12891 LDAPLIBS="-lldap_r -llber"
12896 ac_wine_check_funcs_save_LIBS="$LIBS"
12897 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12902 for ac_func in \
12903 ldap_count_references \
12904 ldap_first_reference \
12905 ldap_next_reference \
12906 ldap_parse_reference
12908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12909 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12911 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12912 echo $ECHO_N "(cached) $ECHO_C" >&6
12913 else
12914 cat >conftest.$ac_ext <<_ACEOF
12915 /* confdefs.h. */
12916 _ACEOF
12917 cat confdefs.h >>conftest.$ac_ext
12918 cat >>conftest.$ac_ext <<_ACEOF
12919 /* end confdefs.h. */
12920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12922 #define $ac_func innocuous_$ac_func
12924 /* System header to define __stub macros and hopefully few prototypes,
12925 which can conflict with char $ac_func (); below.
12926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12927 <limits.h> exists even on freestanding compilers. */
12929 #ifdef __STDC__
12930 # include <limits.h>
12931 #else
12932 # include <assert.h>
12933 #endif
12935 #undef $ac_func
12937 /* Override any GCC internal prototype to avoid an error.
12938 Use char because int might match the return type of a GCC
12939 builtin and then its argument prototype would still apply. */
12940 #ifdef __cplusplus
12941 extern "C"
12942 #endif
12943 char $ac_func ();
12944 /* The GNU C library defines this for functions which it implements
12945 to always fail with ENOSYS. Some functions are actually named
12946 something starting with __ and the normal name is an alias. */
12947 #if defined __stub_$ac_func || defined __stub___$ac_func
12948 choke me
12949 #endif
12952 main ()
12954 return $ac_func ();
12956 return 0;
12958 _ACEOF
12959 rm -f conftest.$ac_objext conftest$ac_exeext
12960 if { (ac_try="$ac_link"
12961 case "(($ac_try" in
12962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12963 *) ac_try_echo=$ac_try;;
12964 esac
12965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12966 (eval "$ac_link") 2>conftest.er1
12967 ac_status=$?
12968 grep -v '^ *+' conftest.er1 >conftest.err
12969 rm -f conftest.er1
12970 cat conftest.err >&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); } &&
12973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12974 { (case "(($ac_try" in
12975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12976 *) ac_try_echo=$ac_try;;
12977 esac
12978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12979 (eval "$ac_try") 2>&5
12980 ac_status=$?
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; } &&
12983 { ac_try='test -s conftest$ac_exeext'
12984 { (case "(($ac_try" in
12985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12986 *) ac_try_echo=$ac_try;;
12987 esac
12988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12989 (eval "$ac_try") 2>&5
12990 ac_status=$?
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; }; then
12993 eval "$as_ac_var=yes"
12994 else
12995 echo "$as_me: failed program was:" >&5
12996 sed 's/^/| /' conftest.$ac_ext >&5
12998 eval "$as_ac_var=no"
13001 rm -f core conftest.err conftest.$ac_objext \
13002 conftest$ac_exeext conftest.$ac_ext
13004 ac_res=`eval echo '${'$as_ac_var'}'`
13005 { echo "$as_me:$LINENO: result: $ac_res" >&5
13006 echo "${ECHO_T}$ac_res" >&6; }
13007 if test `eval echo '${'$as_ac_var'}'` = yes; then
13008 cat >>confdefs.h <<_ACEOF
13009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13010 _ACEOF
13013 done
13015 LIBS="$ac_wine_check_funcs_save_LIBS"
13018 FREETYPELIBS=""
13020 FREETYPEINCL=""
13022 # Extract the first word of "freetype-config", so it can be a program name with args.
13023 set dummy freetype-config; ac_word=$2
13024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13026 if test "${ac_cv_prog_ft_devel+set}" = set; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 else
13029 if test -n "$ft_devel"; then
13030 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13031 else
13032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13033 for as_dir in $PATH
13035 IFS=$as_save_IFS
13036 test -z "$as_dir" && as_dir=.
13037 for ac_exec_ext in '' $ac_executable_extensions; do
13038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13039 ac_cv_prog_ft_devel="freetype-config"
13040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13041 break 2
13043 done
13044 done
13045 IFS=$as_save_IFS
13047 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
13050 ft_devel=$ac_cv_prog_ft_devel
13051 if test -n "$ft_devel"; then
13052 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13053 echo "${ECHO_T}$ft_devel" >&6; }
13054 else
13055 { echo "$as_me:$LINENO: result: no" >&5
13056 echo "${ECHO_T}no" >&6; }
13060 if test "$ft_devel" = "no"
13061 then
13062 # Extract the first word of "freetype2-config", so it can be a program name with args.
13063 set dummy freetype2-config; ac_word=$2
13064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13066 if test "${ac_cv_prog_ft_devel2+set}" = set; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6
13068 else
13069 if test -n "$ft_devel2"; then
13070 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
13071 else
13072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13073 for as_dir in $PATH
13075 IFS=$as_save_IFS
13076 test -z "$as_dir" && as_dir=.
13077 for ac_exec_ext in '' $ac_executable_extensions; do
13078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13079 ac_cv_prog_ft_devel2="freetype2-config"
13080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13081 break 2
13083 done
13084 done
13085 IFS=$as_save_IFS
13087 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
13090 ft_devel2=$ac_cv_prog_ft_devel2
13091 if test -n "$ft_devel2"; then
13092 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
13093 echo "${ECHO_T}$ft_devel2" >&6; }
13094 else
13095 { echo "$as_me:$LINENO: result: no" >&5
13096 echo "${ECHO_T}no" >&6; }
13100 if test "$ft_devel2" = "freetype2-config"
13101 then
13102 ft_devel=$ft_devel2
13106 if test "$ft_devel" = "no"
13107 then
13108 wine_cv_msg_freetype=yes
13109 else
13110 FREETYPELIBS=`$ft_devel --libs`
13111 FREETYPEINCL=`$ft_devel --cflags`
13112 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
13113 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
13114 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
13115 echo $ECHO_N "(cached) $ECHO_C" >&6
13116 else
13117 ac_check_lib_save_LIBS=$LIBS
13118 LIBS="-lfreetype $FREETYPELIBS $LIBS"
13119 cat >conftest.$ac_ext <<_ACEOF
13120 /* confdefs.h. */
13121 _ACEOF
13122 cat confdefs.h >>conftest.$ac_ext
13123 cat >>conftest.$ac_ext <<_ACEOF
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13129 #ifdef __cplusplus
13130 extern "C"
13131 #endif
13132 char FT_Init_FreeType ();
13134 main ()
13136 return FT_Init_FreeType ();
13138 return 0;
13140 _ACEOF
13141 rm -f conftest.$ac_objext conftest$ac_exeext
13142 if { (ac_try="$ac_link"
13143 case "(($ac_try" in
13144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13145 *) ac_try_echo=$ac_try;;
13146 esac
13147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13148 (eval "$ac_link") 2>conftest.er1
13149 ac_status=$?
13150 grep -v '^ *+' conftest.er1 >conftest.err
13151 rm -f conftest.er1
13152 cat conftest.err >&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); } &&
13155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13156 { (case "(($ac_try" in
13157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13158 *) ac_try_echo=$ac_try;;
13159 esac
13160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13161 (eval "$ac_try") 2>&5
13162 ac_status=$?
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }; } &&
13165 { ac_try='test -s conftest$ac_exeext'
13166 { (case "(($ac_try" in
13167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13168 *) ac_try_echo=$ac_try;;
13169 esac
13170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13171 (eval "$ac_try") 2>&5
13172 ac_status=$?
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }; }; then
13175 ac_cv_lib_freetype_FT_Init_FreeType=yes
13176 else
13177 echo "$as_me: failed program was:" >&5
13178 sed 's/^/| /' conftest.$ac_ext >&5
13180 ac_cv_lib_freetype_FT_Init_FreeType=no
13183 rm -f core conftest.err conftest.$ac_objext \
13184 conftest$ac_exeext conftest.$ac_ext
13185 LIBS=$ac_check_lib_save_LIBS
13187 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
13188 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
13189 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
13190 ft_lib=yes
13191 else
13192 ft_lib=no
13195 if test "$ft_lib" = "no"
13196 then
13197 wine_cv_msg_freetype=yes
13198 FREETYPELIBS=""
13199 FREETYPEINCL=""
13200 else
13201 ac_save_CPPFLAGS="$CPPFLAGS"
13202 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
13214 for ac_header in ft2build.h \
13215 freetype/freetype.h \
13216 freetype/ftglyph.h \
13217 freetype/tttables.h \
13218 freetype/ftnames.h \
13219 freetype/ftsnames.h \
13220 freetype/ttnameid.h \
13221 freetype/ftoutln.h \
13222 freetype/ftwinfnt.h \
13223 freetype/ftmodapi.h \
13224 freetype/internal/sfnt.h
13226 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13227 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13230 echo $ECHO_N "(cached) $ECHO_C" >&6
13231 else
13232 cat >conftest.$ac_ext <<_ACEOF
13233 /* confdefs.h. */
13234 _ACEOF
13235 cat confdefs.h >>conftest.$ac_ext
13236 cat >>conftest.$ac_ext <<_ACEOF
13237 /* end confdefs.h. */
13238 #if HAVE_FT2BUILD_H
13239 #include <ft2build.h>
13240 #endif
13242 #include <$ac_header>
13243 _ACEOF
13244 rm -f conftest.$ac_objext
13245 if { (ac_try="$ac_compile"
13246 case "(($ac_try" in
13247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13248 *) ac_try_echo=$ac_try;;
13249 esac
13250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13251 (eval "$ac_compile") 2>conftest.er1
13252 ac_status=$?
13253 grep -v '^ *+' conftest.er1 >conftest.err
13254 rm -f conftest.er1
13255 cat conftest.err >&5
13256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257 (exit $ac_status); } &&
13258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13259 { (case "(($ac_try" in
13260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13261 *) ac_try_echo=$ac_try;;
13262 esac
13263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13264 (eval "$ac_try") 2>&5
13265 ac_status=$?
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); }; } &&
13268 { ac_try='test -s conftest.$ac_objext'
13269 { (case "(($ac_try" in
13270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13271 *) ac_try_echo=$ac_try;;
13272 esac
13273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13274 (eval "$ac_try") 2>&5
13275 ac_status=$?
13276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 (exit $ac_status); }; }; then
13278 eval "$as_ac_Header=yes"
13279 else
13280 echo "$as_me: failed program was:" >&5
13281 sed 's/^/| /' conftest.$ac_ext >&5
13283 eval "$as_ac_Header=no"
13286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13288 ac_res=`eval echo '${'$as_ac_Header'}'`
13289 { echo "$as_me:$LINENO: result: $ac_res" >&5
13290 echo "${ECHO_T}$ac_res" >&6; }
13291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13292 cat >>confdefs.h <<_ACEOF
13293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13294 _ACEOF
13298 done
13300 cat >conftest.$ac_ext <<_ACEOF
13301 /* confdefs.h. */
13302 _ACEOF
13303 cat confdefs.h >>conftest.$ac_ext
13304 cat >>conftest.$ac_ext <<_ACEOF
13305 /* end confdefs.h. */
13306 #include <ft2build.h>
13307 #include <freetype/fttrigon.h>
13308 _ACEOF
13309 if { (ac_try="$ac_cpp conftest.$ac_ext"
13310 case "(($ac_try" in
13311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13312 *) ac_try_echo=$ac_try;;
13313 esac
13314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13315 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13316 ac_status=$?
13317 grep -v '^ *+' conftest.er1 >conftest.err
13318 rm -f conftest.er1
13319 cat conftest.err >&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); } >/dev/null; then
13322 if test -s conftest.err; then
13323 ac_cpp_err=$ac_c_preproc_warn_flag
13324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13325 else
13326 ac_cpp_err=
13328 else
13329 ac_cpp_err=yes
13331 if test -z "$ac_cpp_err"; then
13333 cat >>confdefs.h <<\_ACEOF
13334 #define HAVE_FREETYPE_FTTRIGON_H 1
13335 _ACEOF
13337 wine_cv_fttrigon=yes
13338 else
13339 echo "$as_me: failed program was:" >&5
13340 sed 's/^/| /' conftest.$ac_ext >&5
13342 wine_cv_fttrigon=no
13345 rm -f conftest.err conftest.$ac_ext
13346 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13347 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13348 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13349 echo $ECHO_N "(cached) $ECHO_C" >&6
13350 else
13351 cat >conftest.$ac_ext <<_ACEOF
13352 /* confdefs.h. */
13353 _ACEOF
13354 cat confdefs.h >>conftest.$ac_ext
13355 cat >>conftest.$ac_ext <<_ACEOF
13356 /* end confdefs.h. */
13357 #include <freetype/ftmodapi.h>
13359 typedef FT_TrueTypeEngineType ac__type_new_;
13361 main ()
13363 if ((ac__type_new_ *) 0)
13364 return 0;
13365 if (sizeof (ac__type_new_))
13366 return 0;
13368 return 0;
13370 _ACEOF
13371 rm -f conftest.$ac_objext
13372 if { (ac_try="$ac_compile"
13373 case "(($ac_try" in
13374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13375 *) ac_try_echo=$ac_try;;
13376 esac
13377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13378 (eval "$ac_compile") 2>conftest.er1
13379 ac_status=$?
13380 grep -v '^ *+' conftest.er1 >conftest.err
13381 rm -f conftest.er1
13382 cat conftest.err >&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); } &&
13385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13386 { (case "(($ac_try" in
13387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13388 *) ac_try_echo=$ac_try;;
13389 esac
13390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13391 (eval "$ac_try") 2>&5
13392 ac_status=$?
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); }; } &&
13395 { ac_try='test -s conftest.$ac_objext'
13396 { (case "(($ac_try" in
13397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13398 *) ac_try_echo=$ac_try;;
13399 esac
13400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13401 (eval "$ac_try") 2>&5
13402 ac_status=$?
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; }; then
13405 ac_cv_type_FT_TrueTypeEngineType=yes
13406 else
13407 echo "$as_me: failed program was:" >&5
13408 sed 's/^/| /' conftest.$ac_ext >&5
13410 ac_cv_type_FT_TrueTypeEngineType=no
13413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13415 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13416 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13417 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13419 cat >>confdefs.h <<_ACEOF
13420 #define HAVE_FT_TRUETYPEENGINETYPE 1
13421 _ACEOF
13426 ac_save_CFLAGS="$CFLAGS"
13427 CFLAGS="$CFLAGS $FREETYPELIBS"
13429 for ac_func in FT_Load_Sfnt_Table
13431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13432 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13435 echo $ECHO_N "(cached) $ECHO_C" >&6
13436 else
13437 cat >conftest.$ac_ext <<_ACEOF
13438 /* confdefs.h. */
13439 _ACEOF
13440 cat confdefs.h >>conftest.$ac_ext
13441 cat >>conftest.$ac_ext <<_ACEOF
13442 /* end confdefs.h. */
13443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13445 #define $ac_func innocuous_$ac_func
13447 /* System header to define __stub macros and hopefully few prototypes,
13448 which can conflict with char $ac_func (); below.
13449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13450 <limits.h> exists even on freestanding compilers. */
13452 #ifdef __STDC__
13453 # include <limits.h>
13454 #else
13455 # include <assert.h>
13456 #endif
13458 #undef $ac_func
13460 /* Override any GCC internal prototype to avoid an error.
13461 Use char because int might match the return type of a GCC
13462 builtin and then its argument prototype would still apply. */
13463 #ifdef __cplusplus
13464 extern "C"
13465 #endif
13466 char $ac_func ();
13467 /* The GNU C library defines this for functions which it implements
13468 to always fail with ENOSYS. Some functions are actually named
13469 something starting with __ and the normal name is an alias. */
13470 #if defined __stub_$ac_func || defined __stub___$ac_func
13471 choke me
13472 #endif
13475 main ()
13477 return $ac_func ();
13479 return 0;
13481 _ACEOF
13482 rm -f conftest.$ac_objext conftest$ac_exeext
13483 if { (ac_try="$ac_link"
13484 case "(($ac_try" in
13485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13486 *) ac_try_echo=$ac_try;;
13487 esac
13488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13489 (eval "$ac_link") 2>conftest.er1
13490 ac_status=$?
13491 grep -v '^ *+' conftest.er1 >conftest.err
13492 rm -f conftest.er1
13493 cat conftest.err >&5
13494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 (exit $ac_status); } &&
13496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13497 { (case "(($ac_try" in
13498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13499 *) ac_try_echo=$ac_try;;
13500 esac
13501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13502 (eval "$ac_try") 2>&5
13503 ac_status=$?
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); }; } &&
13506 { ac_try='test -s conftest$ac_exeext'
13507 { (case "(($ac_try" in
13508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13509 *) ac_try_echo=$ac_try;;
13510 esac
13511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13512 (eval "$ac_try") 2>&5
13513 ac_status=$?
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); }; }; then
13516 eval "$as_ac_var=yes"
13517 else
13518 echo "$as_me: failed program was:" >&5
13519 sed 's/^/| /' conftest.$ac_ext >&5
13521 eval "$as_ac_var=no"
13524 rm -f core conftest.err conftest.$ac_objext \
13525 conftest$ac_exeext conftest.$ac_ext
13527 ac_res=`eval echo '${'$as_ac_var'}'`
13528 { echo "$as_me:$LINENO: result: $ac_res" >&5
13529 echo "${ECHO_T}$ac_res" >&6; }
13530 if test `eval echo '${'$as_ac_var'}'` = yes; then
13531 cat >>confdefs.h <<_ACEOF
13532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13533 _ACEOF
13536 done
13538 CFLAGS="$ac_save_CFLAGS"
13539 CPPFLAGS="$ac_save_CPPFLAGS"
13540 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13541 then
13543 cat >>confdefs.h <<\_ACEOF
13544 #define HAVE_FREETYPE 1
13545 _ACEOF
13547 wine_cv_msg_freetype=no
13548 else
13549 FREETYPELIBS=""
13550 FREETYPEINCL=""
13551 wine_cv_msg_freetype=yes
13556 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13557 then
13558 FONTSSUBDIRS="fonts"
13562 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13563 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13564 if test "${ac_cv_c_ppdev+set}" = set; then
13565 echo $ECHO_N "(cached) $ECHO_C" >&6
13566 else
13567 cat >conftest.$ac_ext <<_ACEOF
13568 /* confdefs.h. */
13569 _ACEOF
13570 cat confdefs.h >>conftest.$ac_ext
13571 cat >>conftest.$ac_ext <<_ACEOF
13572 /* end confdefs.h. */
13573 #include <linux/ppdev.h>
13575 main ()
13577 ioctl (1,PPCLAIM,0)
13579 return 0;
13581 _ACEOF
13582 rm -f conftest.$ac_objext
13583 if { (ac_try="$ac_compile"
13584 case "(($ac_try" in
13585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13586 *) ac_try_echo=$ac_try;;
13587 esac
13588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13589 (eval "$ac_compile") 2>conftest.er1
13590 ac_status=$?
13591 grep -v '^ *+' conftest.er1 >conftest.err
13592 rm -f conftest.er1
13593 cat conftest.err >&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 (exit $ac_status); } &&
13596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13597 { (case "(($ac_try" in
13598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13599 *) ac_try_echo=$ac_try;;
13600 esac
13601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13602 (eval "$ac_try") 2>&5
13603 ac_status=$?
13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605 (exit $ac_status); }; } &&
13606 { ac_try='test -s conftest.$ac_objext'
13607 { (case "(($ac_try" in
13608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13609 *) ac_try_echo=$ac_try;;
13610 esac
13611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13612 (eval "$ac_try") 2>&5
13613 ac_status=$?
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); }; }; then
13616 ac_cv_c_ppdev="yes"
13617 else
13618 echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.$ac_ext >&5
13621 ac_cv_c_ppdev="no"
13624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13627 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13628 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13629 if test "$ac_cv_c_ppdev" = "yes"
13630 then
13632 cat >>confdefs.h <<\_ACEOF
13633 #define HAVE_PPDEV 1
13634 _ACEOF
13638 { echo "$as_me:$LINENO: checking for va_copy" >&5
13639 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13640 if test "${ac_cv_c_va_copy+set}" = set; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13642 else
13643 cat >conftest.$ac_ext <<_ACEOF
13644 /* confdefs.h. */
13645 _ACEOF
13646 cat confdefs.h >>conftest.$ac_ext
13647 cat >>conftest.$ac_ext <<_ACEOF
13648 /* end confdefs.h. */
13649 #include <stdarg.h>
13651 main ()
13653 va_list ap1, ap2;
13654 va_copy(ap1,ap2);
13657 return 0;
13659 _ACEOF
13660 rm -f conftest.$ac_objext conftest$ac_exeext
13661 if { (ac_try="$ac_link"
13662 case "(($ac_try" in
13663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13664 *) ac_try_echo=$ac_try;;
13665 esac
13666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13667 (eval "$ac_link") 2>conftest.er1
13668 ac_status=$?
13669 grep -v '^ *+' conftest.er1 >conftest.err
13670 rm -f conftest.er1
13671 cat conftest.err >&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); } &&
13674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13675 { (case "(($ac_try" in
13676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13677 *) ac_try_echo=$ac_try;;
13678 esac
13679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13680 (eval "$ac_try") 2>&5
13681 ac_status=$?
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; } &&
13684 { ac_try='test -s conftest$ac_exeext'
13685 { (case "(($ac_try" in
13686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13687 *) ac_try_echo=$ac_try;;
13688 esac
13689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13690 (eval "$ac_try") 2>&5
13691 ac_status=$?
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); }; }; then
13694 ac_cv_c_va_copy="yes"
13695 else
13696 echo "$as_me: failed program was:" >&5
13697 sed 's/^/| /' conftest.$ac_ext >&5
13699 ac_cv_c_va_copy="no"
13702 rm -f core conftest.err conftest.$ac_objext \
13703 conftest$ac_exeext conftest.$ac_ext
13706 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13707 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13708 if test "$ac_cv_c_va_copy" = "yes"
13709 then
13711 cat >>confdefs.h <<\_ACEOF
13712 #define HAVE_VA_COPY 1
13713 _ACEOF
13716 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13717 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13718 if test "${ac_cv_c___va_copy+set}" = set; then
13719 echo $ECHO_N "(cached) $ECHO_C" >&6
13720 else
13721 cat >conftest.$ac_ext <<_ACEOF
13722 /* confdefs.h. */
13723 _ACEOF
13724 cat confdefs.h >>conftest.$ac_ext
13725 cat >>conftest.$ac_ext <<_ACEOF
13726 /* end confdefs.h. */
13727 #include <stdarg.h>
13729 main ()
13731 va_list ap1, ap2;
13732 __va_copy(ap1,ap2);
13735 return 0;
13737 _ACEOF
13738 rm -f conftest.$ac_objext conftest$ac_exeext
13739 if { (ac_try="$ac_link"
13740 case "(($ac_try" in
13741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13742 *) ac_try_echo=$ac_try;;
13743 esac
13744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13745 (eval "$ac_link") 2>conftest.er1
13746 ac_status=$?
13747 grep -v '^ *+' conftest.er1 >conftest.err
13748 rm -f conftest.er1
13749 cat conftest.err >&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); } &&
13752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13753 { (case "(($ac_try" in
13754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13755 *) ac_try_echo=$ac_try;;
13756 esac
13757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13758 (eval "$ac_try") 2>&5
13759 ac_status=$?
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); }; } &&
13762 { ac_try='test -s conftest$ac_exeext'
13763 { (case "(($ac_try" in
13764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13765 *) ac_try_echo=$ac_try;;
13766 esac
13767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13768 (eval "$ac_try") 2>&5
13769 ac_status=$?
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); }; }; then
13772 ac_cv_c___va_copy="yes"
13773 else
13774 echo "$as_me: failed program was:" >&5
13775 sed 's/^/| /' conftest.$ac_ext >&5
13777 ac_cv_c___va_copy="no"
13780 rm -f core conftest.err conftest.$ac_objext \
13781 conftest$ac_exeext conftest.$ac_ext
13784 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13785 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13786 if test "$ac_cv_c___va_copy" = "yes"
13787 then
13789 cat >>confdefs.h <<\_ACEOF
13790 #define HAVE___VA_COPY 1
13791 _ACEOF
13795 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13796 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13797 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13798 echo $ECHO_N "(cached) $ECHO_C" >&6
13799 else
13800 cat >conftest.$ac_ext <<_ACEOF
13801 /* confdefs.h. */
13802 _ACEOF
13803 cat confdefs.h >>conftest.$ac_ext
13804 cat >>conftest.$ac_ext <<_ACEOF
13805 /* end confdefs.h. */
13806 #include <setjmp.h>
13808 main ()
13810 sigjmp_buf buf;
13811 sigsetjmp( buf, 1 );
13812 siglongjmp( buf, 1 );
13814 return 0;
13816 _ACEOF
13817 rm -f conftest.$ac_objext conftest$ac_exeext
13818 if { (ac_try="$ac_link"
13819 case "(($ac_try" in
13820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13821 *) ac_try_echo=$ac_try;;
13822 esac
13823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13824 (eval "$ac_link") 2>conftest.er1
13825 ac_status=$?
13826 grep -v '^ *+' conftest.er1 >conftest.err
13827 rm -f conftest.er1
13828 cat conftest.err >&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); } &&
13831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13832 { (case "(($ac_try" in
13833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13834 *) ac_try_echo=$ac_try;;
13835 esac
13836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13837 (eval "$ac_try") 2>&5
13838 ac_status=$?
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; } &&
13841 { ac_try='test -s conftest$ac_exeext'
13842 { (case "(($ac_try" in
13843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13844 *) ac_try_echo=$ac_try;;
13845 esac
13846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13847 (eval "$ac_try") 2>&5
13848 ac_status=$?
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; }; then
13851 ac_cv_c_sigsetjmp="yes"
13852 else
13853 echo "$as_me: failed program was:" >&5
13854 sed 's/^/| /' conftest.$ac_ext >&5
13856 ac_cv_c_sigsetjmp="no"
13859 rm -f core conftest.err conftest.$ac_objext \
13860 conftest$ac_exeext conftest.$ac_ext
13863 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13864 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13865 if test "$ac_cv_c_sigsetjmp" = "yes"
13866 then
13868 cat >>confdefs.h <<\_ACEOF
13869 #define HAVE_SIGSETJMP 1
13870 _ACEOF
13874 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13875 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13876 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13878 else
13879 cat >conftest.$ac_ext <<_ACEOF
13880 /* confdefs.h. */
13881 _ACEOF
13882 cat confdefs.h >>conftest.$ac_ext
13883 cat >>conftest.$ac_ext <<_ACEOF
13884 /* end confdefs.h. */
13885 #define _GNU_SOURCE
13886 #include <pthread.h>
13888 typedef pthread_rwlock_t ac__type_new_;
13890 main ()
13892 if ((ac__type_new_ *) 0)
13893 return 0;
13894 if (sizeof (ac__type_new_))
13895 return 0;
13897 return 0;
13899 _ACEOF
13900 rm -f conftest.$ac_objext
13901 if { (ac_try="$ac_compile"
13902 case "(($ac_try" in
13903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13904 *) ac_try_echo=$ac_try;;
13905 esac
13906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13907 (eval "$ac_compile") 2>conftest.er1
13908 ac_status=$?
13909 grep -v '^ *+' conftest.er1 >conftest.err
13910 rm -f conftest.er1
13911 cat conftest.err >&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } &&
13914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13915 { (case "(($ac_try" in
13916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13917 *) ac_try_echo=$ac_try;;
13918 esac
13919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13920 (eval "$ac_try") 2>&5
13921 ac_status=$?
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; } &&
13924 { ac_try='test -s conftest.$ac_objext'
13925 { (case "(($ac_try" in
13926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13927 *) ac_try_echo=$ac_try;;
13928 esac
13929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13930 (eval "$ac_try") 2>&5
13931 ac_status=$?
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); }; }; then
13934 ac_cv_type_pthread_rwlock_t=yes
13935 else
13936 echo "$as_me: failed program was:" >&5
13937 sed 's/^/| /' conftest.$ac_ext >&5
13939 ac_cv_type_pthread_rwlock_t=no
13942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13944 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13945 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13946 if test $ac_cv_type_pthread_rwlock_t = yes; then
13948 cat >>confdefs.h <<_ACEOF
13949 #define HAVE_PTHREAD_RWLOCK_T 1
13950 _ACEOF
13954 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13955 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13956 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13957 echo $ECHO_N "(cached) $ECHO_C" >&6
13958 else
13959 cat >conftest.$ac_ext <<_ACEOF
13960 /* confdefs.h. */
13961 _ACEOF
13962 cat confdefs.h >>conftest.$ac_ext
13963 cat >>conftest.$ac_ext <<_ACEOF
13964 /* end confdefs.h. */
13965 #define _GNU_SOURCE
13966 #include <pthread.h>
13968 typedef pthread_rwlockattr_t ac__type_new_;
13970 main ()
13972 if ((ac__type_new_ *) 0)
13973 return 0;
13974 if (sizeof (ac__type_new_))
13975 return 0;
13977 return 0;
13979 _ACEOF
13980 rm -f conftest.$ac_objext
13981 if { (ac_try="$ac_compile"
13982 case "(($ac_try" in
13983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13984 *) ac_try_echo=$ac_try;;
13985 esac
13986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13987 (eval "$ac_compile") 2>conftest.er1
13988 ac_status=$?
13989 grep -v '^ *+' conftest.er1 >conftest.err
13990 rm -f conftest.er1
13991 cat conftest.err >&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } &&
13994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13995 { (case "(($ac_try" in
13996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13997 *) ac_try_echo=$ac_try;;
13998 esac
13999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14000 (eval "$ac_try") 2>&5
14001 ac_status=$?
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); }; } &&
14004 { ac_try='test -s conftest.$ac_objext'
14005 { (case "(($ac_try" in
14006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14007 *) ac_try_echo=$ac_try;;
14008 esac
14009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14010 (eval "$ac_try") 2>&5
14011 ac_status=$?
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); }; }; then
14014 ac_cv_type_pthread_rwlockattr_t=yes
14015 else
14016 echo "$as_me: failed program was:" >&5
14017 sed 's/^/| /' conftest.$ac_ext >&5
14019 ac_cv_type_pthread_rwlockattr_t=no
14022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14024 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14025 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14026 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14028 cat >>confdefs.h <<_ACEOF
14029 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14030 _ACEOF
14036 ac_wine_check_funcs_save_LIBS="$LIBS"
14037 LIBS="$LIBS $LIBPTHREAD"
14042 for ac_func in \
14043 pthread_attr_get_np \
14044 pthread_getattr_np \
14045 pthread_get_stackaddr_np \
14046 pthread_get_stacksize_np
14048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14049 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14051 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14052 echo $ECHO_N "(cached) $ECHO_C" >&6
14053 else
14054 cat >conftest.$ac_ext <<_ACEOF
14055 /* confdefs.h. */
14056 _ACEOF
14057 cat confdefs.h >>conftest.$ac_ext
14058 cat >>conftest.$ac_ext <<_ACEOF
14059 /* end confdefs.h. */
14060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14062 #define $ac_func innocuous_$ac_func
14064 /* System header to define __stub macros and hopefully few prototypes,
14065 which can conflict with char $ac_func (); below.
14066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14067 <limits.h> exists even on freestanding compilers. */
14069 #ifdef __STDC__
14070 # include <limits.h>
14071 #else
14072 # include <assert.h>
14073 #endif
14075 #undef $ac_func
14077 /* Override any GCC internal prototype to avoid an error.
14078 Use char because int might match the return type of a GCC
14079 builtin and then its argument prototype would still apply. */
14080 #ifdef __cplusplus
14081 extern "C"
14082 #endif
14083 char $ac_func ();
14084 /* The GNU C library defines this for functions which it implements
14085 to always fail with ENOSYS. Some functions are actually named
14086 something starting with __ and the normal name is an alias. */
14087 #if defined __stub_$ac_func || defined __stub___$ac_func
14088 choke me
14089 #endif
14092 main ()
14094 return $ac_func ();
14096 return 0;
14098 _ACEOF
14099 rm -f conftest.$ac_objext conftest$ac_exeext
14100 if { (ac_try="$ac_link"
14101 case "(($ac_try" in
14102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14103 *) ac_try_echo=$ac_try;;
14104 esac
14105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14106 (eval "$ac_link") 2>conftest.er1
14107 ac_status=$?
14108 grep -v '^ *+' conftest.er1 >conftest.err
14109 rm -f conftest.er1
14110 cat conftest.err >&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } &&
14113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14114 { (case "(($ac_try" in
14115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14116 *) ac_try_echo=$ac_try;;
14117 esac
14118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14119 (eval "$ac_try") 2>&5
14120 ac_status=$?
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); }; } &&
14123 { ac_try='test -s conftest$ac_exeext'
14124 { (case "(($ac_try" in
14125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14126 *) ac_try_echo=$ac_try;;
14127 esac
14128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14129 (eval "$ac_try") 2>&5
14130 ac_status=$?
14131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132 (exit $ac_status); }; }; then
14133 eval "$as_ac_var=yes"
14134 else
14135 echo "$as_me: failed program was:" >&5
14136 sed 's/^/| /' conftest.$ac_ext >&5
14138 eval "$as_ac_var=no"
14141 rm -f core conftest.err conftest.$ac_objext \
14142 conftest$ac_exeext conftest.$ac_ext
14144 ac_res=`eval echo '${'$as_ac_var'}'`
14145 { echo "$as_me:$LINENO: result: $ac_res" >&5
14146 echo "${ECHO_T}$ac_res" >&6; }
14147 if test `eval echo '${'$as_ac_var'}'` = yes; then
14148 cat >>confdefs.h <<_ACEOF
14149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14150 _ACEOF
14153 done
14155 LIBS="$ac_wine_check_funcs_save_LIBS"
14157 # Extract the first word of "artsc-config", so it can be a program name with args.
14158 set dummy artsc-config; ac_word=$2
14159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14161 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
14162 echo $ECHO_N "(cached) $ECHO_C" >&6
14163 else
14164 case $ARTSCCONFIG in
14165 [\\/]* | ?:[\\/]*)
14166 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
14169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14170 for as_dir in $PATH
14172 IFS=$as_save_IFS
14173 test -z "$as_dir" && as_dir=.
14174 for ac_exec_ext in '' $ac_executable_extensions; do
14175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14176 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
14177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14178 break 2
14180 done
14181 done
14182 IFS=$as_save_IFS
14185 esac
14187 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
14188 if test -n "$ARTSCCONFIG"; then
14189 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
14190 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
14191 else
14192 { echo "$as_me:$LINENO: result: no" >&5
14193 echo "${ECHO_T}no" >&6; }
14197 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
14198 then
14199 ARTSC_CFLAGS=""
14200 for i in `$ARTSCCONFIG --cflags`
14202 case "$i" in
14203 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
14204 esac
14205 done
14206 ARTSC_LIBS=""
14207 for i in `$ARTSCCONFIG --libs`
14209 case "$i" in
14210 -L/usr/lib|-L/usr/lib64) ;;
14211 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
14212 esac
14213 done
14214 save_CFLAGS="$CFLAGS"
14215 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
14216 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
14217 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
14218 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
14219 echo $ECHO_N "(cached) $ECHO_C" >&6
14220 else
14221 ac_check_lib_save_LIBS=$LIBS
14222 LIBS="-lartsc $ARTSC_LIBS $LIBS"
14223 cat >conftest.$ac_ext <<_ACEOF
14224 /* confdefs.h. */
14225 _ACEOF
14226 cat confdefs.h >>conftest.$ac_ext
14227 cat >>conftest.$ac_ext <<_ACEOF
14228 /* end confdefs.h. */
14230 /* Override any GCC internal prototype to avoid an error.
14231 Use char because int might match the return type of a GCC
14232 builtin and then its argument prototype would still apply. */
14233 #ifdef __cplusplus
14234 extern "C"
14235 #endif
14236 char arts_init ();
14238 main ()
14240 return arts_init ();
14242 return 0;
14244 _ACEOF
14245 rm -f conftest.$ac_objext conftest$ac_exeext
14246 if { (ac_try="$ac_link"
14247 case "(($ac_try" in
14248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14249 *) ac_try_echo=$ac_try;;
14250 esac
14251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14252 (eval "$ac_link") 2>conftest.er1
14253 ac_status=$?
14254 grep -v '^ *+' conftest.er1 >conftest.err
14255 rm -f conftest.er1
14256 cat conftest.err >&5
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); } &&
14259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14260 { (case "(($ac_try" in
14261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14262 *) ac_try_echo=$ac_try;;
14263 esac
14264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14265 (eval "$ac_try") 2>&5
14266 ac_status=$?
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); }; } &&
14269 { ac_try='test -s conftest$ac_exeext'
14270 { (case "(($ac_try" in
14271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14272 *) ac_try_echo=$ac_try;;
14273 esac
14274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14275 (eval "$ac_try") 2>&5
14276 ac_status=$?
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then
14279 ac_cv_lib_artsc_arts_init=yes
14280 else
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14284 ac_cv_lib_artsc_arts_init=no
14287 rm -f core conftest.err conftest.$ac_objext \
14288 conftest$ac_exeext conftest.$ac_ext
14289 LIBS=$ac_check_lib_save_LIBS
14291 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
14292 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
14293 if test $ac_cv_lib_artsc_arts_init = yes; then
14294 cat >conftest.$ac_ext <<_ACEOF
14295 /* confdefs.h. */
14296 _ACEOF
14297 cat confdefs.h >>conftest.$ac_ext
14298 cat >>conftest.$ac_ext <<_ACEOF
14299 /* end confdefs.h. */
14300 #include <artsc.h>
14302 main ()
14304 arts_stream_t stream;
14306 return 0;
14308 _ACEOF
14309 rm -f conftest.$ac_objext
14310 if { (ac_try="$ac_compile"
14311 case "(($ac_try" in
14312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14313 *) ac_try_echo=$ac_try;;
14314 esac
14315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14316 (eval "$ac_compile") 2>conftest.er1
14317 ac_status=$?
14318 grep -v '^ *+' conftest.er1 >conftest.err
14319 rm -f conftest.er1
14320 cat conftest.err >&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } &&
14323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14324 { (case "(($ac_try" in
14325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14326 *) ac_try_echo=$ac_try;;
14327 esac
14328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14329 (eval "$ac_try") 2>&5
14330 ac_status=$?
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); }; } &&
14333 { ac_try='test -s conftest.$ac_objext'
14334 { (case "(($ac_try" in
14335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14336 *) ac_try_echo=$ac_try;;
14337 esac
14338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14339 (eval "$ac_try") 2>&5
14340 ac_status=$?
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); }; }; then
14343 ARTSLIBS=$ARTSC_LIBS
14345 ARTSINCL=$ARTSC_CFLAGS
14348 cat >>confdefs.h <<\_ACEOF
14349 #define HAVE_ARTS 1
14350 _ACEOF
14352 else
14353 echo "$as_me: failed program was:" >&5
14354 sed 's/^/| /' conftest.$ac_ext >&5
14359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14362 CFLAGS="$save_CFLAGS"
14365 # Extract the first word of "esd-config", so it can be a program name with args.
14366 set dummy esd-config; ac_word=$2
14367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14369 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14370 echo $ECHO_N "(cached) $ECHO_C" >&6
14371 else
14372 case $ESDCONFIG in
14373 [\\/]* | ?:[\\/]*)
14374 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14378 for as_dir in $PATH
14380 IFS=$as_save_IFS
14381 test -z "$as_dir" && as_dir=.
14382 for ac_exec_ext in '' $ac_executable_extensions; do
14383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14384 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14386 break 2
14388 done
14389 done
14390 IFS=$as_save_IFS
14393 esac
14395 ESDCONFIG=$ac_cv_path_ESDCONFIG
14396 if test -n "$ESDCONFIG"; then
14397 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14398 echo "${ECHO_T}$ESDCONFIG" >&6; }
14399 else
14400 { echo "$as_me:$LINENO: result: no" >&5
14401 echo "${ECHO_T}no" >&6; }
14405 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
14406 then
14407 ESD_CFLAGS=""
14408 for i in `$ESDCONFIG --cflags`
14410 case "$i" in
14411 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14412 esac
14413 done
14414 ESD_LIBS=`$ESDCONFIG --libs`
14415 save_CFLAGS="$CFLAGS"
14416 CFLAGS="$CFLAGS $ESD_CFLAGS"
14417 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14418 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14419 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14420 echo $ECHO_N "(cached) $ECHO_C" >&6
14421 else
14422 ac_check_lib_save_LIBS=$LIBS
14423 LIBS="-lesd $LIBS"
14424 cat >conftest.$ac_ext <<_ACEOF
14425 /* confdefs.h. */
14426 _ACEOF
14427 cat confdefs.h >>conftest.$ac_ext
14428 cat >>conftest.$ac_ext <<_ACEOF
14429 /* end confdefs.h. */
14431 /* Override any GCC internal prototype to avoid an error.
14432 Use char because int might match the return type of a GCC
14433 builtin and then its argument prototype would still apply. */
14434 #ifdef __cplusplus
14435 extern "C"
14436 #endif
14437 char esd_open_sound ();
14439 main ()
14441 return esd_open_sound ();
14443 return 0;
14445 _ACEOF
14446 rm -f conftest.$ac_objext conftest$ac_exeext
14447 if { (ac_try="$ac_link"
14448 case "(($ac_try" in
14449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14450 *) ac_try_echo=$ac_try;;
14451 esac
14452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14453 (eval "$ac_link") 2>conftest.er1
14454 ac_status=$?
14455 grep -v '^ *+' conftest.er1 >conftest.err
14456 rm -f conftest.er1
14457 cat conftest.err >&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } &&
14460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14461 { (case "(($ac_try" in
14462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14463 *) ac_try_echo=$ac_try;;
14464 esac
14465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14466 (eval "$ac_try") 2>&5
14467 ac_status=$?
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; } &&
14470 { ac_try='test -s conftest$ac_exeext'
14471 { (case "(($ac_try" in
14472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14473 *) ac_try_echo=$ac_try;;
14474 esac
14475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14476 (eval "$ac_try") 2>&5
14477 ac_status=$?
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; }; then
14480 ac_cv_lib_esd_esd_open_sound=yes
14481 else
14482 echo "$as_me: failed program was:" >&5
14483 sed 's/^/| /' conftest.$ac_ext >&5
14485 ac_cv_lib_esd_esd_open_sound=no
14488 rm -f core conftest.err conftest.$ac_objext \
14489 conftest$ac_exeext conftest.$ac_ext
14490 LIBS=$ac_check_lib_save_LIBS
14492 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14493 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14494 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14495 ESDLIBS=$ESD_LIBS
14497 ESDINCL=$ESD_CFLAGS
14500 cat >>confdefs.h <<\_ACEOF
14501 #define HAVE_ESD 1
14502 _ACEOF
14506 CFLAGS="$save_CFLAGS"
14509 ALSALIBS=""
14511 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14512 then
14513 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14514 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14515 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14516 echo $ECHO_N "(cached) $ECHO_C" >&6
14517 else
14518 ac_check_lib_save_LIBS=$LIBS
14519 LIBS="-lasound $LIBS"
14520 cat >conftest.$ac_ext <<_ACEOF
14521 /* confdefs.h. */
14522 _ACEOF
14523 cat confdefs.h >>conftest.$ac_ext
14524 cat >>conftest.$ac_ext <<_ACEOF
14525 /* end confdefs.h. */
14527 /* Override any GCC internal prototype to avoid an error.
14528 Use char because int might match the return type of a GCC
14529 builtin and then its argument prototype would still apply. */
14530 #ifdef __cplusplus
14531 extern "C"
14532 #endif
14533 char snd_pcm_hw_params_get_access ();
14535 main ()
14537 return snd_pcm_hw_params_get_access ();
14539 return 0;
14541 _ACEOF
14542 rm -f conftest.$ac_objext conftest$ac_exeext
14543 if { (ac_try="$ac_link"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14547 esac
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_link") 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } &&
14556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14557 { (case "(($ac_try" in
14558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14559 *) ac_try_echo=$ac_try;;
14560 esac
14561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14562 (eval "$ac_try") 2>&5
14563 ac_status=$?
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; } &&
14566 { ac_try='test -s conftest$ac_exeext'
14567 { (case "(($ac_try" in
14568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14569 *) ac_try_echo=$ac_try;;
14570 esac
14571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14572 (eval "$ac_try") 2>&5
14573 ac_status=$?
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); }; }; then
14576 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14577 else
14578 echo "$as_me: failed program was:" >&5
14579 sed 's/^/| /' conftest.$ac_ext >&5
14581 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14584 rm -f core conftest.err conftest.$ac_objext \
14585 conftest$ac_exeext conftest.$ac_ext
14586 LIBS=$ac_check_lib_save_LIBS
14588 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14589 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14590 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14591 cat >conftest.$ac_ext <<_ACEOF
14592 /* confdefs.h. */
14593 _ACEOF
14594 cat confdefs.h >>conftest.$ac_ext
14595 cat >>conftest.$ac_ext <<_ACEOF
14596 /* end confdefs.h. */
14597 #ifdef HAVE_ALSA_ASOUNDLIB_H
14598 #include <alsa/asoundlib.h>
14599 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14600 #include <sys/asoundlib.h>
14601 #endif
14603 main ()
14605 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14607 return 0;
14609 _ACEOF
14610 rm -f conftest.$ac_objext
14611 if { (ac_try="$ac_compile"
14612 case "(($ac_try" in
14613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14614 *) ac_try_echo=$ac_try;;
14615 esac
14616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14617 (eval "$ac_compile") 2>conftest.er1
14618 ac_status=$?
14619 grep -v '^ *+' conftest.er1 >conftest.err
14620 rm -f conftest.er1
14621 cat conftest.err >&5
14622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); } &&
14624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14625 { (case "(($ac_try" in
14626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14627 *) ac_try_echo=$ac_try;;
14628 esac
14629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14630 (eval "$ac_try") 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; } &&
14634 { ac_try='test -s conftest.$ac_objext'
14635 { (case "(($ac_try" in
14636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14637 *) ac_try_echo=$ac_try;;
14638 esac
14639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14640 (eval "$ac_try") 2>&5
14641 ac_status=$?
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; }; then
14645 cat >>confdefs.h <<\_ACEOF
14646 #define HAVE_ALSA 1
14647 _ACEOF
14649 ALSALIBS="-lasound"
14650 else
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.$ac_ext >&5
14657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14663 AUDIOIOLIBS=""
14665 if test "$ac_cv_header_libaudioio_h" = "yes"
14666 then
14667 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14668 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14669 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14670 echo $ECHO_N "(cached) $ECHO_C" >&6
14671 else
14672 ac_check_lib_save_LIBS=$LIBS
14673 LIBS="-laudioio $LIBS"
14674 cat >conftest.$ac_ext <<_ACEOF
14675 /* confdefs.h. */
14676 _ACEOF
14677 cat confdefs.h >>conftest.$ac_ext
14678 cat >>conftest.$ac_ext <<_ACEOF
14679 /* end confdefs.h. */
14681 /* Override any GCC internal prototype to avoid an error.
14682 Use char because int might match the return type of a GCC
14683 builtin and then its argument prototype would still apply. */
14684 #ifdef __cplusplus
14685 extern "C"
14686 #endif
14687 char AudioIOGetVersion ();
14689 main ()
14691 return AudioIOGetVersion ();
14693 return 0;
14695 _ACEOF
14696 rm -f conftest.$ac_objext conftest$ac_exeext
14697 if { (ac_try="$ac_link"
14698 case "(($ac_try" in
14699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14700 *) ac_try_echo=$ac_try;;
14701 esac
14702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14703 (eval "$ac_link") 2>conftest.er1
14704 ac_status=$?
14705 grep -v '^ *+' conftest.er1 >conftest.err
14706 rm -f conftest.er1
14707 cat conftest.err >&5
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); } &&
14710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14711 { (case "(($ac_try" in
14712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14713 *) ac_try_echo=$ac_try;;
14714 esac
14715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14716 (eval "$ac_try") 2>&5
14717 ac_status=$?
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); }; } &&
14720 { ac_try='test -s conftest$ac_exeext'
14721 { (case "(($ac_try" in
14722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14723 *) ac_try_echo=$ac_try;;
14724 esac
14725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14726 (eval "$ac_try") 2>&5
14727 ac_status=$?
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; }; then
14730 ac_cv_lib_audioio_AudioIOGetVersion=yes
14731 else
14732 echo "$as_me: failed program was:" >&5
14733 sed 's/^/| /' conftest.$ac_ext >&5
14735 ac_cv_lib_audioio_AudioIOGetVersion=no
14738 rm -f core conftest.err conftest.$ac_objext \
14739 conftest$ac_exeext conftest.$ac_ext
14740 LIBS=$ac_check_lib_save_LIBS
14742 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14743 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14744 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14745 AUDIOIOLIBS="-laudioio"
14747 cat >>confdefs.h <<\_ACEOF
14748 #define HAVE_LIBAUDIOIO 1
14749 _ACEOF
14756 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14757 then
14758 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14759 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14760 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14761 echo $ECHO_N "(cached) $ECHO_C" >&6
14762 else
14763 ac_check_lib_save_LIBS=$LIBS
14764 LIBS="-lcapi20 $LIBS"
14765 cat >conftest.$ac_ext <<_ACEOF
14766 /* confdefs.h. */
14767 _ACEOF
14768 cat confdefs.h >>conftest.$ac_ext
14769 cat >>conftest.$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14772 /* Override any GCC internal prototype to avoid an error.
14773 Use char because int might match the return type of a GCC
14774 builtin and then its argument prototype would still apply. */
14775 #ifdef __cplusplus
14776 extern "C"
14777 #endif
14778 char capi20_register ();
14780 main ()
14782 return capi20_register ();
14784 return 0;
14786 _ACEOF
14787 rm -f conftest.$ac_objext conftest$ac_exeext
14788 if { (ac_try="$ac_link"
14789 case "(($ac_try" in
14790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14791 *) ac_try_echo=$ac_try;;
14792 esac
14793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14794 (eval "$ac_link") 2>conftest.er1
14795 ac_status=$?
14796 grep -v '^ *+' conftest.er1 >conftest.err
14797 rm -f conftest.er1
14798 cat conftest.err >&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); } &&
14801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14802 { (case "(($ac_try" in
14803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14804 *) ac_try_echo=$ac_try;;
14805 esac
14806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14807 (eval "$ac_try") 2>&5
14808 ac_status=$?
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); }; } &&
14811 { ac_try='test -s conftest$ac_exeext'
14812 { (case "(($ac_try" in
14813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14814 *) ac_try_echo=$ac_try;;
14815 esac
14816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14817 (eval "$ac_try") 2>&5
14818 ac_status=$?
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; }; then
14821 ac_cv_lib_capi20_capi20_register=yes
14822 else
14823 echo "$as_me: failed program was:" >&5
14824 sed 's/^/| /' conftest.$ac_ext >&5
14826 ac_cv_lib_capi20_capi20_register=no
14829 rm -f core conftest.err conftest.$ac_objext \
14830 conftest$ac_exeext conftest.$ac_ext
14831 LIBS=$ac_check_lib_save_LIBS
14833 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14834 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14835 if test $ac_cv_lib_capi20_capi20_register = yes; then
14837 cat >>confdefs.h <<\_ACEOF
14838 #define HAVE_CAPI4LINUX 1
14839 _ACEOF
14846 if test "$ac_cv_header_gif_lib_h" = "yes"
14847 then
14848 cat >conftest.$ac_ext <<_ACEOF
14849 /* confdefs.h. */
14850 _ACEOF
14851 cat confdefs.h >>conftest.$ac_ext
14852 cat >>conftest.$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14854 #include <gif_lib.h>
14856 main ()
14858 static typeof(DGifOpen) * func;
14860 return 0;
14862 _ACEOF
14863 rm -f conftest.$ac_objext
14864 if { (ac_try="$ac_compile"
14865 case "(($ac_try" in
14866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14867 *) ac_try_echo=$ac_try;;
14868 esac
14869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14870 (eval "$ac_compile") 2>conftest.er1
14871 ac_status=$?
14872 grep -v '^ *+' conftest.er1 >conftest.err
14873 rm -f conftest.er1
14874 cat conftest.err >&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); } &&
14877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14878 { (case "(($ac_try" in
14879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14880 *) ac_try_echo=$ac_try;;
14881 esac
14882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14883 (eval "$ac_try") 2>&5
14884 ac_status=$?
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; } &&
14887 { ac_try='test -s conftest.$ac_objext'
14888 { (case "(($ac_try" in
14889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14890 *) ac_try_echo=$ac_try;;
14891 esac
14892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14893 (eval "$ac_try") 2>&5
14894 ac_status=$?
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; }; then
14898 cat >>confdefs.h <<\_ACEOF
14899 #define HAVE_GIF 1
14900 _ACEOF
14902 else
14903 echo "$as_me: failed program was:" >&5
14904 sed 's/^/| /' conftest.$ac_ext >&5
14909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14913 EXTRACFLAGS=""
14915 if test "x${GCC}" = "xyes"
14916 then
14917 EXTRACFLAGS="-Wall -pipe"
14919 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14920 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14921 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14922 echo $ECHO_N "(cached) $ECHO_C" >&6
14923 else
14924 if test "$cross_compiling" = yes; then
14925 ac_cv_c_gcc_strength_bug="yes"
14926 else
14927 cat >conftest.$ac_ext <<_ACEOF
14928 /* confdefs.h. */
14929 _ACEOF
14930 cat confdefs.h >>conftest.$ac_ext
14931 cat >>conftest.$ac_ext <<_ACEOF
14932 /* end confdefs.h. */
14934 int L[4] = {0,1,2,3};
14935 int main(void) {
14936 static int Array[3];
14937 unsigned int B = 3;
14938 int i;
14939 for(i=0; i<B; i++) Array[i] = i - 3;
14940 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14941 L[i] = 4;
14943 exit( Array[1] != -2 || L[2] != 3);
14945 _ACEOF
14946 rm -f conftest$ac_exeext
14947 if { (ac_try="$ac_link"
14948 case "(($ac_try" in
14949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14950 *) ac_try_echo=$ac_try;;
14951 esac
14952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14953 (eval "$ac_link") 2>&5
14954 ac_status=$?
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14957 { (case "(($ac_try" in
14958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14959 *) ac_try_echo=$ac_try;;
14960 esac
14961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14962 (eval "$ac_try") 2>&5
14963 ac_status=$?
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); }; }; then
14966 ac_cv_c_gcc_strength_bug="no"
14967 else
14968 echo "$as_me: program exited with status $ac_status" >&5
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.$ac_ext >&5
14972 ( exit $ac_status )
14973 ac_cv_c_gcc_strength_bug="yes"
14975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14980 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14981 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14982 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14983 then
14984 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14987 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
14988 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
14989 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
14990 echo $ECHO_N "(cached) $ECHO_C" >&6
14991 else
14992 ac_wine_try_cflags_saved=$CFLAGS
14993 CFLAGS="$CFLAGS -fshort-wchar"
14994 cat >conftest.$ac_ext <<_ACEOF
14995 /* confdefs.h. */
14996 _ACEOF
14997 cat confdefs.h >>conftest.$ac_ext
14998 cat >>conftest.$ac_ext <<_ACEOF
14999 /* end confdefs.h. */
15002 main ()
15006 return 0;
15008 _ACEOF
15009 rm -f conftest.$ac_objext conftest$ac_exeext
15010 if { (ac_try="$ac_link"
15011 case "(($ac_try" in
15012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15013 *) ac_try_echo=$ac_try;;
15014 esac
15015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15016 (eval "$ac_link") 2>conftest.er1
15017 ac_status=$?
15018 grep -v '^ *+' conftest.er1 >conftest.err
15019 rm -f conftest.er1
15020 cat conftest.err >&5
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); } &&
15023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15024 { (case "(($ac_try" in
15025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15026 *) ac_try_echo=$ac_try;;
15027 esac
15028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15029 (eval "$ac_try") 2>&5
15030 ac_status=$?
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); }; } &&
15033 { ac_try='test -s conftest$ac_exeext'
15034 { (case "(($ac_try" in
15035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15036 *) ac_try_echo=$ac_try;;
15037 esac
15038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15039 (eval "$ac_try") 2>&5
15040 ac_status=$?
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); }; }; then
15043 ac_cv_c_gcc_fshort_wchar="yes"
15044 else
15045 echo "$as_me: failed program was:" >&5
15046 sed 's/^/| /' conftest.$ac_ext >&5
15048 ac_cv_c_gcc_fshort_wchar="no"
15051 rm -f core conftest.err conftest.$ac_objext \
15052 conftest$ac_exeext conftest.$ac_ext
15053 CFLAGS=$ac_wine_try_cflags_saved
15055 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
15056 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
15057 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
15058 then
15060 cat >>confdefs.h <<\_ACEOF
15061 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15062 _ACEOF
15066 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
15067 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
15068 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
15069 echo $ECHO_N "(cached) $ECHO_C" >&6
15070 else
15071 ac_wine_try_cflags_saved=$CFLAGS
15072 CFLAGS="$CFLAGS -fno-strict-aliasing"
15073 cat >conftest.$ac_ext <<_ACEOF
15074 /* confdefs.h. */
15075 _ACEOF
15076 cat confdefs.h >>conftest.$ac_ext
15077 cat >>conftest.$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15081 main ()
15085 return 0;
15087 _ACEOF
15088 rm -f conftest.$ac_objext conftest$ac_exeext
15089 if { (ac_try="$ac_link"
15090 case "(($ac_try" in
15091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15092 *) ac_try_echo=$ac_try;;
15093 esac
15094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15095 (eval "$ac_link") 2>conftest.er1
15096 ac_status=$?
15097 grep -v '^ *+' conftest.er1 >conftest.err
15098 rm -f conftest.er1
15099 cat conftest.err >&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); } &&
15102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15103 { (case "(($ac_try" in
15104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15106 esac
15107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15108 (eval "$ac_try") 2>&5
15109 ac_status=$?
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; } &&
15112 { ac_try='test -s conftest$ac_exeext'
15113 { (case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15115 *) ac_try_echo=$ac_try;;
15116 esac
15117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_try") 2>&5
15119 ac_status=$?
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }; }; then
15122 ac_cv_c_gcc_no_strict_aliasing="yes"
15123 else
15124 echo "$as_me: failed program was:" >&5
15125 sed 's/^/| /' conftest.$ac_ext >&5
15127 ac_cv_c_gcc_no_strict_aliasing="no"
15130 rm -f core conftest.err conftest.$ac_objext \
15131 conftest$ac_exeext conftest.$ac_ext
15132 CFLAGS=$ac_wine_try_cflags_saved
15134 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
15135 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
15136 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
15137 then
15138 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15141 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
15142 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
15143 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
15144 echo $ECHO_N "(cached) $ECHO_C" >&6
15145 else
15146 ac_wine_try_cflags_saved=$CFLAGS
15147 CFLAGS="$CFLAGS -gstabs+"
15148 cat >conftest.$ac_ext <<_ACEOF
15149 /* confdefs.h. */
15150 _ACEOF
15151 cat confdefs.h >>conftest.$ac_ext
15152 cat >>conftest.$ac_ext <<_ACEOF
15153 /* end confdefs.h. */
15156 main ()
15160 return 0;
15162 _ACEOF
15163 rm -f conftest.$ac_objext conftest$ac_exeext
15164 if { (ac_try="$ac_link"
15165 case "(($ac_try" in
15166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15167 *) ac_try_echo=$ac_try;;
15168 esac
15169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15170 (eval "$ac_link") 2>conftest.er1
15171 ac_status=$?
15172 grep -v '^ *+' conftest.er1 >conftest.err
15173 rm -f conftest.er1
15174 cat conftest.err >&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); } &&
15177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15178 { (case "(($ac_try" in
15179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15180 *) ac_try_echo=$ac_try;;
15181 esac
15182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15183 (eval "$ac_try") 2>&5
15184 ac_status=$?
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; } &&
15187 { ac_try='test -s conftest$ac_exeext'
15188 { (case "(($ac_try" in
15189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15190 *) ac_try_echo=$ac_try;;
15191 esac
15192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15193 (eval "$ac_try") 2>&5
15194 ac_status=$?
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); }; }; then
15197 ac_cv_c_gcc_gstabs="yes"
15198 else
15199 echo "$as_me: failed program was:" >&5
15200 sed 's/^/| /' conftest.$ac_ext >&5
15202 ac_cv_c_gcc_gstabs="no"
15205 rm -f core conftest.err conftest.$ac_objext \
15206 conftest$ac_exeext conftest.$ac_ext
15207 CFLAGS=$ac_wine_try_cflags_saved
15209 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
15210 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
15211 if test "$ac_cv_c_gcc_gstabs" = "yes"
15212 then
15213 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
15216 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
15217 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
15218 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
15219 echo $ECHO_N "(cached) $ECHO_C" >&6
15220 else
15221 ac_wine_try_cflags_saved=$CFLAGS
15222 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15223 cat >conftest.$ac_ext <<_ACEOF
15224 /* confdefs.h. */
15225 _ACEOF
15226 cat confdefs.h >>conftest.$ac_ext
15227 cat >>conftest.$ac_ext <<_ACEOF
15228 /* end confdefs.h. */
15231 main ()
15235 return 0;
15237 _ACEOF
15238 rm -f conftest.$ac_objext conftest$ac_exeext
15239 if { (ac_try="$ac_link"
15240 case "(($ac_try" in
15241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15242 *) ac_try_echo=$ac_try;;
15243 esac
15244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15245 (eval "$ac_link") 2>conftest.er1
15246 ac_status=$?
15247 grep -v '^ *+' conftest.er1 >conftest.err
15248 rm -f conftest.er1
15249 cat conftest.err >&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } &&
15252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15253 { (case "(($ac_try" in
15254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15255 *) ac_try_echo=$ac_try;;
15256 esac
15257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15258 (eval "$ac_try") 2>&5
15259 ac_status=$?
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; } &&
15262 { ac_try='test -s conftest$ac_exeext'
15263 { (case "(($ac_try" in
15264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15265 *) ac_try_echo=$ac_try;;
15266 esac
15267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15268 (eval "$ac_try") 2>&5
15269 ac_status=$?
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); }; }; then
15272 ac_cv_c_gcc_decl_after_statement="yes"
15273 else
15274 echo "$as_me: failed program was:" >&5
15275 sed 's/^/| /' conftest.$ac_ext >&5
15277 ac_cv_c_gcc_decl_after_statement="no"
15280 rm -f core conftest.err conftest.$ac_objext \
15281 conftest$ac_exeext conftest.$ac_ext
15282 CFLAGS=$ac_wine_try_cflags_saved
15284 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
15285 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
15286 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
15287 then
15288 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15291 saved_CFLAGS="$CFLAGS"
15292 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15293 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15294 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15295 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15296 echo $ECHO_N "(cached) $ECHO_C" >&6
15297 else
15298 cat >conftest.$ac_ext <<_ACEOF
15299 /* confdefs.h. */
15300 _ACEOF
15301 cat confdefs.h >>conftest.$ac_ext
15302 cat >>conftest.$ac_ext <<_ACEOF
15303 /* end confdefs.h. */
15304 #include <string.h>
15306 main ()
15310 return 0;
15312 _ACEOF
15313 rm -f conftest.$ac_objext
15314 if { (ac_try="$ac_compile"
15315 case "(($ac_try" in
15316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15317 *) ac_try_echo=$ac_try;;
15318 esac
15319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15320 (eval "$ac_compile") 2>conftest.er1
15321 ac_status=$?
15322 grep -v '^ *+' conftest.er1 >conftest.err
15323 rm -f conftest.er1
15324 cat conftest.err >&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); } &&
15327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15328 { (case "(($ac_try" in
15329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15330 *) ac_try_echo=$ac_try;;
15331 esac
15332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15333 (eval "$ac_try") 2>&5
15334 ac_status=$?
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); }; } &&
15337 { ac_try='test -s conftest.$ac_objext'
15338 { (case "(($ac_try" in
15339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15340 *) ac_try_echo=$ac_try;;
15341 esac
15342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15343 (eval "$ac_try") 2>&5
15344 ac_status=$?
15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 (exit $ac_status); }; }; then
15347 ac_cv_c_string_h_warnings=no
15348 else
15349 echo "$as_me: failed program was:" >&5
15350 sed 's/^/| /' conftest.$ac_ext >&5
15352 ac_cv_c_string_h_warnings=yes
15355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15357 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15358 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15359 CFLAGS="$saved_CFLAGS"
15360 if test "$ac_cv_c_string_h_warnings" = "no"
15361 then
15362 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15365 BUILTINFLAG=""
15367 saved_CFLAGS="$CFLAGS"
15368 CFLAGS="$CFLAGS -Werror"
15369 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15370 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15371 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15372 echo $ECHO_N "(cached) $ECHO_C" >&6
15373 else
15374 cat >conftest.$ac_ext <<_ACEOF
15375 /* confdefs.h. */
15376 _ACEOF
15377 cat confdefs.h >>conftest.$ac_ext
15378 cat >>conftest.$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15382 main ()
15384 int iswlower(unsigned short);
15386 return 0;
15388 _ACEOF
15389 rm -f conftest.$ac_objext
15390 if { (ac_try="$ac_compile"
15391 case "(($ac_try" in
15392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15393 *) ac_try_echo=$ac_try;;
15394 esac
15395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15396 (eval "$ac_compile") 2>conftest.er1
15397 ac_status=$?
15398 grep -v '^ *+' conftest.er1 >conftest.err
15399 rm -f conftest.er1
15400 cat conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } &&
15403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15404 { (case "(($ac_try" in
15405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15406 *) ac_try_echo=$ac_try;;
15407 esac
15408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15409 (eval "$ac_try") 2>&5
15410 ac_status=$?
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); }; } &&
15413 { ac_try='test -s conftest.$ac_objext'
15414 { (case "(($ac_try" in
15415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15416 *) ac_try_echo=$ac_try;;
15417 esac
15418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15419 (eval "$ac_try") 2>&5
15420 ac_status=$?
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); }; }; then
15423 ac_cv_c_builtin_wchar_ctype=no
15424 else
15425 echo "$as_me: failed program was:" >&5
15426 sed 's/^/| /' conftest.$ac_ext >&5
15428 ac_cv_c_builtin_wchar_ctype=yes
15431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15433 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15434 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15435 CFLAGS="$saved_CFLAGS"
15436 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15437 then
15438 BUILTINFLAG="-fno-builtin"
15443 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15444 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15445 if test "${ac_cv_asm_func_def+set}" = set; then
15446 echo $ECHO_N "(cached) $ECHO_C" >&6
15447 else
15448 cat >conftest.$ac_ext <<_ACEOF
15449 /* confdefs.h. */
15450 _ACEOF
15451 cat confdefs.h >>conftest.$ac_ext
15452 cat >>conftest.$ac_ext <<_ACEOF
15453 /* end confdefs.h. */
15454 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
15457 main ()
15461 return 0;
15463 _ACEOF
15464 rm -f conftest.$ac_objext conftest$ac_exeext
15465 if { (ac_try="$ac_link"
15466 case "(($ac_try" in
15467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15468 *) ac_try_echo=$ac_try;;
15469 esac
15470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15471 (eval "$ac_link") 2>conftest.er1
15472 ac_status=$?
15473 grep -v '^ *+' conftest.er1 >conftest.err
15474 rm -f conftest.er1
15475 cat conftest.err >&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); } &&
15478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15479 { (case "(($ac_try" in
15480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15481 *) ac_try_echo=$ac_try;;
15482 esac
15483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15484 (eval "$ac_try") 2>&5
15485 ac_status=$?
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; } &&
15488 { ac_try='test -s conftest$ac_exeext'
15489 { (case "(($ac_try" in
15490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15491 *) ac_try_echo=$ac_try;;
15492 esac
15493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15494 (eval "$ac_try") 2>&5
15495 ac_status=$?
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; }; then
15498 ac_cv_asm_func_def=".def"
15499 else
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.$ac_ext >&5
15503 cat >conftest.$ac_ext <<_ACEOF
15504 /* confdefs.h. */
15505 _ACEOF
15506 cat confdefs.h >>conftest.$ac_ext
15507 cat >>conftest.$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15509 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
15512 main ()
15516 return 0;
15518 _ACEOF
15519 rm -f conftest.$ac_objext conftest$ac_exeext
15520 if { (ac_try="$ac_link"
15521 case "(($ac_try" in
15522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15523 *) ac_try_echo=$ac_try;;
15524 esac
15525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15526 (eval "$ac_link") 2>conftest.er1
15527 ac_status=$?
15528 grep -v '^ *+' conftest.er1 >conftest.err
15529 rm -f conftest.er1
15530 cat conftest.err >&5
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } &&
15533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15534 { (case "(($ac_try" in
15535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15536 *) ac_try_echo=$ac_try;;
15537 esac
15538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15539 (eval "$ac_try") 2>&5
15540 ac_status=$?
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; } &&
15543 { ac_try='test -s conftest$ac_exeext'
15544 { (case "(($ac_try" in
15545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15546 *) ac_try_echo=$ac_try;;
15547 esac
15548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15549 (eval "$ac_try") 2>&5
15550 ac_status=$?
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); }; }; then
15553 ac_cv_asm_func_def=".type @function"
15554 else
15555 echo "$as_me: failed program was:" >&5
15556 sed 's/^/| /' conftest.$ac_ext >&5
15558 cat >conftest.$ac_ext <<_ACEOF
15559 /* confdefs.h. */
15560 _ACEOF
15561 cat confdefs.h >>conftest.$ac_ext
15562 cat >>conftest.$ac_ext <<_ACEOF
15563 /* end confdefs.h. */
15564 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
15567 main ()
15571 return 0;
15573 _ACEOF
15574 rm -f conftest.$ac_objext conftest$ac_exeext
15575 if { (ac_try="$ac_link"
15576 case "(($ac_try" in
15577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15578 *) ac_try_echo=$ac_try;;
15579 esac
15580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15581 (eval "$ac_link") 2>conftest.er1
15582 ac_status=$?
15583 grep -v '^ *+' conftest.er1 >conftest.err
15584 rm -f conftest.er1
15585 cat conftest.err >&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); } &&
15588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15589 { (case "(($ac_try" in
15590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15591 *) ac_try_echo=$ac_try;;
15592 esac
15593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15594 (eval "$ac_try") 2>&5
15595 ac_status=$?
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); }; } &&
15598 { ac_try='test -s conftest$ac_exeext'
15599 { (case "(($ac_try" in
15600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15601 *) ac_try_echo=$ac_try;;
15602 esac
15603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15604 (eval "$ac_try") 2>&5
15605 ac_status=$?
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; }; then
15608 ac_cv_asm_func_def=".type 2"
15609 else
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.$ac_ext >&5
15613 ac_cv_asm_func_def="unknown"
15616 rm -f core conftest.err conftest.$ac_objext \
15617 conftest$ac_exeext conftest.$ac_ext
15620 rm -f core conftest.err conftest.$ac_objext \
15621 conftest$ac_exeext conftest.$ac_ext
15624 rm -f core conftest.err conftest.$ac_objext \
15625 conftest$ac_exeext conftest.$ac_ext
15627 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15628 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15632 case "$ac_cv_asm_func_def" in
15633 ".def")
15634 cat >>confdefs.h <<\_ACEOF
15635 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15636 _ACEOF
15638 ".type @function")
15639 cat >>confdefs.h <<\_ACEOF
15640 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15641 _ACEOF
15643 ".type 2")
15644 cat >>confdefs.h <<\_ACEOF
15645 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15646 _ACEOF
15649 cat >>confdefs.h <<\_ACEOF
15650 #define __ASM_FUNC(name) ""
15651 _ACEOF
15653 esac
15656 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15657 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15658 if test "${ac_cv_c_extern_prefix+set}" = set; then
15659 echo $ECHO_N "(cached) $ECHO_C" >&6
15660 else
15661 cat >conftest.$ac_ext <<_ACEOF
15662 /* confdefs.h. */
15663 _ACEOF
15664 cat confdefs.h >>conftest.$ac_ext
15665 cat >>conftest.$ac_ext <<_ACEOF
15666 /* end confdefs.h. */
15667 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15668 extern int ac_test;
15670 main ()
15672 if (ac_test) return 1
15674 return 0;
15676 _ACEOF
15677 rm -f conftest.$ac_objext conftest$ac_exeext
15678 if { (ac_try="$ac_link"
15679 case "(($ac_try" in
15680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15681 *) ac_try_echo=$ac_try;;
15682 esac
15683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15684 (eval "$ac_link") 2>conftest.er1
15685 ac_status=$?
15686 grep -v '^ *+' conftest.er1 >conftest.err
15687 rm -f conftest.er1
15688 cat conftest.err >&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); } &&
15691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15692 { (case "(($ac_try" in
15693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15694 *) ac_try_echo=$ac_try;;
15695 esac
15696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15697 (eval "$ac_try") 2>&5
15698 ac_status=$?
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); }; } &&
15701 { ac_try='test -s conftest$ac_exeext'
15702 { (case "(($ac_try" in
15703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15704 *) ac_try_echo=$ac_try;;
15705 esac
15706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15707 (eval "$ac_try") 2>&5
15708 ac_status=$?
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); }; }; then
15711 ac_cv_c_extern_prefix="yes"
15712 else
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15716 ac_cv_c_extern_prefix="no"
15719 rm -f core conftest.err conftest.$ac_objext \
15720 conftest$ac_exeext conftest.$ac_ext
15722 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15723 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15727 if test "$ac_cv_c_extern_prefix" = "yes"
15728 then
15729 cat >>confdefs.h <<\_ACEOF
15730 #define __ASM_NAME(name) "_" name
15731 _ACEOF
15733 else
15734 cat >>confdefs.h <<\_ACEOF
15735 #define __ASM_NAME(name) name
15736 _ACEOF
15741 DLLEXT=""
15743 DLLFLAGS="-D_REENTRANT"
15745 DLLIBS=""
15747 LDSHARED=""
15749 LDDLLFLAGS=""
15751 LIBEXT="so"
15753 IMPLIBEXT="def"
15756 case $host_os in
15757 cygwin*|mingw32*)
15758 if test -n "$ac_tool_prefix"; then
15759 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15760 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15763 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15764 echo $ECHO_N "(cached) $ECHO_C" >&6
15765 else
15766 if test -n "$DLLTOOL"; then
15767 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15768 else
15769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15770 for as_dir in $PATH
15772 IFS=$as_save_IFS
15773 test -z "$as_dir" && as_dir=.
15774 for ac_exec_ext in '' $ac_executable_extensions; do
15775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15776 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15778 break 2
15780 done
15781 done
15782 IFS=$as_save_IFS
15786 DLLTOOL=$ac_cv_prog_DLLTOOL
15787 if test -n "$DLLTOOL"; then
15788 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15789 echo "${ECHO_T}$DLLTOOL" >&6; }
15790 else
15791 { echo "$as_me:$LINENO: result: no" >&5
15792 echo "${ECHO_T}no" >&6; }
15797 if test -z "$ac_cv_prog_DLLTOOL"; then
15798 ac_ct_DLLTOOL=$DLLTOOL
15799 # Extract the first word of "dlltool", so it can be a program name with args.
15800 set dummy dlltool; ac_word=$2
15801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15803 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15804 echo $ECHO_N "(cached) $ECHO_C" >&6
15805 else
15806 if test -n "$ac_ct_DLLTOOL"; then
15807 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15808 else
15809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15810 for as_dir in $PATH
15812 IFS=$as_save_IFS
15813 test -z "$as_dir" && as_dir=.
15814 for ac_exec_ext in '' $ac_executable_extensions; do
15815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15816 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15818 break 2
15820 done
15821 done
15822 IFS=$as_save_IFS
15826 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15827 if test -n "$ac_ct_DLLTOOL"; then
15828 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15829 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15830 else
15831 { echo "$as_me:$LINENO: result: no" >&5
15832 echo "${ECHO_T}no" >&6; }
15835 if test "x$ac_ct_DLLTOOL" = x; then
15836 DLLTOOL="false"
15837 else
15838 case $cross_compiling:$ac_tool_warned in
15839 yes:)
15840 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15841 whose name does not start with the host triplet. If you think this
15842 configuration is useful to you, please write to autoconf@gnu.org." >&5
15843 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15844 whose name does not start with the host triplet. If you think this
15845 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15846 ac_tool_warned=yes ;;
15847 esac
15848 DLLTOOL=$ac_ct_DLLTOOL
15850 else
15851 DLLTOOL="$ac_cv_prog_DLLTOOL"
15854 if test -n "$ac_tool_prefix"; then
15855 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15856 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15859 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15860 echo $ECHO_N "(cached) $ECHO_C" >&6
15861 else
15862 if test -n "$DLLWRAP"; then
15863 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15864 else
15865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15866 for as_dir in $PATH
15868 IFS=$as_save_IFS
15869 test -z "$as_dir" && as_dir=.
15870 for ac_exec_ext in '' $ac_executable_extensions; do
15871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15872 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15874 break 2
15876 done
15877 done
15878 IFS=$as_save_IFS
15882 DLLWRAP=$ac_cv_prog_DLLWRAP
15883 if test -n "$DLLWRAP"; then
15884 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15885 echo "${ECHO_T}$DLLWRAP" >&6; }
15886 else
15887 { echo "$as_me:$LINENO: result: no" >&5
15888 echo "${ECHO_T}no" >&6; }
15893 if test -z "$ac_cv_prog_DLLWRAP"; then
15894 ac_ct_DLLWRAP=$DLLWRAP
15895 # Extract the first word of "dllwrap", so it can be a program name with args.
15896 set dummy dllwrap; ac_word=$2
15897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15899 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15900 echo $ECHO_N "(cached) $ECHO_C" >&6
15901 else
15902 if test -n "$ac_ct_DLLWRAP"; then
15903 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15904 else
15905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15906 for as_dir in $PATH
15908 IFS=$as_save_IFS
15909 test -z "$as_dir" && as_dir=.
15910 for ac_exec_ext in '' $ac_executable_extensions; do
15911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15912 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15914 break 2
15916 done
15917 done
15918 IFS=$as_save_IFS
15922 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15923 if test -n "$ac_ct_DLLWRAP"; then
15924 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15925 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15926 else
15927 { echo "$as_me:$LINENO: result: no" >&5
15928 echo "${ECHO_T}no" >&6; }
15931 if test "x$ac_ct_DLLWRAP" = x; then
15932 DLLWRAP="false"
15933 else
15934 case $cross_compiling:$ac_tool_warned in
15935 yes:)
15936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15937 whose name does not start with the host triplet. If you think this
15938 configuration is useful to you, please write to autoconf@gnu.org." >&5
15939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15940 whose name does not start with the host triplet. If you think this
15941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15942 ac_tool_warned=yes ;;
15943 esac
15944 DLLWRAP=$ac_ct_DLLWRAP
15946 else
15947 DLLWRAP="$ac_cv_prog_DLLWRAP"
15950 if test "$DLLWRAP" = "false"; then
15951 LIBEXT="a"
15952 else
15953 LIBEXT="dll"
15955 IMPLIBEXT="a"
15956 WIN16_FILES=""
15957 WIN16_INSTALL=""
15960 if test "$ac_cv_header_dlfcn_h" = "yes"
15961 then
15963 for ac_func in dlopen
15965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15966 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 else
15971 cat >conftest.$ac_ext <<_ACEOF
15972 /* confdefs.h. */
15973 _ACEOF
15974 cat confdefs.h >>conftest.$ac_ext
15975 cat >>conftest.$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15979 #define $ac_func innocuous_$ac_func
15981 /* System header to define __stub macros and hopefully few prototypes,
15982 which can conflict with char $ac_func (); below.
15983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15984 <limits.h> exists even on freestanding compilers. */
15986 #ifdef __STDC__
15987 # include <limits.h>
15988 #else
15989 # include <assert.h>
15990 #endif
15992 #undef $ac_func
15994 /* Override any GCC internal prototype to avoid an error.
15995 Use char because int might match the return type of a GCC
15996 builtin and then its argument prototype would still apply. */
15997 #ifdef __cplusplus
15998 extern "C"
15999 #endif
16000 char $ac_func ();
16001 /* The GNU C library defines this for functions which it implements
16002 to always fail with ENOSYS. Some functions are actually named
16003 something starting with __ and the normal name is an alias. */
16004 #if defined __stub_$ac_func || defined __stub___$ac_func
16005 choke me
16006 #endif
16009 main ()
16011 return $ac_func ();
16013 return 0;
16015 _ACEOF
16016 rm -f conftest.$ac_objext conftest$ac_exeext
16017 if { (ac_try="$ac_link"
16018 case "(($ac_try" in
16019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16020 *) ac_try_echo=$ac_try;;
16021 esac
16022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16023 (eval "$ac_link") 2>conftest.er1
16024 ac_status=$?
16025 grep -v '^ *+' conftest.er1 >conftest.err
16026 rm -f conftest.er1
16027 cat conftest.err >&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); } &&
16030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16031 { (case "(($ac_try" in
16032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16033 *) ac_try_echo=$ac_try;;
16034 esac
16035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16036 (eval "$ac_try") 2>&5
16037 ac_status=$?
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; } &&
16040 { ac_try='test -s conftest$ac_exeext'
16041 { (case "(($ac_try" in
16042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16043 *) ac_try_echo=$ac_try;;
16044 esac
16045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16046 (eval "$ac_try") 2>&5
16047 ac_status=$?
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; }; then
16050 eval "$as_ac_var=yes"
16051 else
16052 echo "$as_me: failed program was:" >&5
16053 sed 's/^/| /' conftest.$ac_ext >&5
16055 eval "$as_ac_var=no"
16058 rm -f core conftest.err conftest.$ac_objext \
16059 conftest$ac_exeext conftest.$ac_ext
16061 ac_res=`eval echo '${'$as_ac_var'}'`
16062 { echo "$as_me:$LINENO: result: $ac_res" >&5
16063 echo "${ECHO_T}$ac_res" >&6; }
16064 if test `eval echo '${'$as_ac_var'}'` = yes; then
16065 cat >>confdefs.h <<_ACEOF
16066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16067 _ACEOF
16069 else
16070 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16071 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16072 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16073 echo $ECHO_N "(cached) $ECHO_C" >&6
16074 else
16075 ac_check_lib_save_LIBS=$LIBS
16076 LIBS="-ldl $LIBS"
16077 cat >conftest.$ac_ext <<_ACEOF
16078 /* confdefs.h. */
16079 _ACEOF
16080 cat confdefs.h >>conftest.$ac_ext
16081 cat >>conftest.$ac_ext <<_ACEOF
16082 /* end confdefs.h. */
16084 /* Override any GCC internal prototype to avoid an error.
16085 Use char because int might match the return type of a GCC
16086 builtin and then its argument prototype would still apply. */
16087 #ifdef __cplusplus
16088 extern "C"
16089 #endif
16090 char dlopen ();
16092 main ()
16094 return dlopen ();
16096 return 0;
16098 _ACEOF
16099 rm -f conftest.$ac_objext conftest$ac_exeext
16100 if { (ac_try="$ac_link"
16101 case "(($ac_try" in
16102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16103 *) ac_try_echo=$ac_try;;
16104 esac
16105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16106 (eval "$ac_link") 2>conftest.er1
16107 ac_status=$?
16108 grep -v '^ *+' conftest.er1 >conftest.err
16109 rm -f conftest.er1
16110 cat conftest.err >&5
16111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112 (exit $ac_status); } &&
16113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16114 { (case "(($ac_try" in
16115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16116 *) ac_try_echo=$ac_try;;
16117 esac
16118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16119 (eval "$ac_try") 2>&5
16120 ac_status=$?
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); }; } &&
16123 { ac_try='test -s conftest$ac_exeext'
16124 { (case "(($ac_try" in
16125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16126 *) ac_try_echo=$ac_try;;
16127 esac
16128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16129 (eval "$ac_try") 2>&5
16130 ac_status=$?
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); }; }; then
16133 ac_cv_lib_dl_dlopen=yes
16134 else
16135 echo "$as_me: failed program was:" >&5
16136 sed 's/^/| /' conftest.$ac_ext >&5
16138 ac_cv_lib_dl_dlopen=no
16141 rm -f core conftest.err conftest.$ac_objext \
16142 conftest$ac_exeext conftest.$ac_ext
16143 LIBS=$ac_check_lib_save_LIBS
16145 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16146 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16147 if test $ac_cv_lib_dl_dlopen = yes; then
16149 cat >>confdefs.h <<\_ACEOF
16150 #define HAVE_DLOPEN 1
16151 _ACEOF
16153 DLLIBS="-ldl"
16154 else
16155 LIBEXT="a"
16159 done
16161 ac_wine_check_funcs_save_LIBS="$LIBS"
16162 LIBS="$LIBS $DLLIBS"
16164 for ac_func in dladdr
16166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16167 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16169 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16170 echo $ECHO_N "(cached) $ECHO_C" >&6
16171 else
16172 cat >conftest.$ac_ext <<_ACEOF
16173 /* confdefs.h. */
16174 _ACEOF
16175 cat confdefs.h >>conftest.$ac_ext
16176 cat >>conftest.$ac_ext <<_ACEOF
16177 /* end confdefs.h. */
16178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16180 #define $ac_func innocuous_$ac_func
16182 /* System header to define __stub macros and hopefully few prototypes,
16183 which can conflict with char $ac_func (); below.
16184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16185 <limits.h> exists even on freestanding compilers. */
16187 #ifdef __STDC__
16188 # include <limits.h>
16189 #else
16190 # include <assert.h>
16191 #endif
16193 #undef $ac_func
16195 /* Override any GCC internal prototype to avoid an error.
16196 Use char because int might match the return type of a GCC
16197 builtin and then its argument prototype would still apply. */
16198 #ifdef __cplusplus
16199 extern "C"
16200 #endif
16201 char $ac_func ();
16202 /* The GNU C library defines this for functions which it implements
16203 to always fail with ENOSYS. Some functions are actually named
16204 something starting with __ and the normal name is an alias. */
16205 #if defined __stub_$ac_func || defined __stub___$ac_func
16206 choke me
16207 #endif
16210 main ()
16212 return $ac_func ();
16214 return 0;
16216 _ACEOF
16217 rm -f conftest.$ac_objext conftest$ac_exeext
16218 if { (ac_try="$ac_link"
16219 case "(($ac_try" in
16220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16221 *) ac_try_echo=$ac_try;;
16222 esac
16223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16224 (eval "$ac_link") 2>conftest.er1
16225 ac_status=$?
16226 grep -v '^ *+' conftest.er1 >conftest.err
16227 rm -f conftest.er1
16228 cat conftest.err >&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } &&
16231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16232 { (case "(($ac_try" in
16233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16234 *) ac_try_echo=$ac_try;;
16235 esac
16236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16237 (eval "$ac_try") 2>&5
16238 ac_status=$?
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); }; } &&
16241 { ac_try='test -s conftest$ac_exeext'
16242 { (case "(($ac_try" in
16243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16244 *) ac_try_echo=$ac_try;;
16245 esac
16246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16247 (eval "$ac_try") 2>&5
16248 ac_status=$?
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; }; then
16251 eval "$as_ac_var=yes"
16252 else
16253 echo "$as_me: failed program was:" >&5
16254 sed 's/^/| /' conftest.$ac_ext >&5
16256 eval "$as_ac_var=no"
16259 rm -f core conftest.err conftest.$ac_objext \
16260 conftest$ac_exeext conftest.$ac_ext
16262 ac_res=`eval echo '${'$as_ac_var'}'`
16263 { echo "$as_me:$LINENO: result: $ac_res" >&5
16264 echo "${ECHO_T}$ac_res" >&6; }
16265 if test `eval echo '${'$as_ac_var'}'` = yes; then
16266 cat >>confdefs.h <<_ACEOF
16267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16268 _ACEOF
16271 done
16273 LIBS="$ac_wine_check_funcs_save_LIBS"
16274 else
16275 LIBEXT="a"
16278 if test "$LIBEXT" = "so"
16279 then
16280 DLLFLAGS="$DLLFLAGS -fPIC"
16281 DLLEXT=".so"
16282 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
16283 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
16284 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 else
16287 ac_wine_try_cflags_saved=$CFLAGS
16288 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
16289 cat >conftest.$ac_ext <<_ACEOF
16290 void myfunc() {}
16291 _ACEOF
16292 rm -f conftest.$ac_objext conftest$ac_exeext
16293 if { (ac_try="$ac_link"
16294 case "(($ac_try" in
16295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16296 *) ac_try_echo=$ac_try;;
16297 esac
16298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16299 (eval "$ac_link") 2>conftest.er1
16300 ac_status=$?
16301 grep -v '^ *+' conftest.er1 >conftest.err
16302 rm -f conftest.er1
16303 cat conftest.err >&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); } &&
16306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16307 { (case "(($ac_try" in
16308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16309 *) ac_try_echo=$ac_try;;
16310 esac
16311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16312 (eval "$ac_try") 2>&5
16313 ac_status=$?
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }; } &&
16316 { ac_try='test -s conftest$ac_exeext'
16317 { (case "(($ac_try" in
16318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16319 *) ac_try_echo=$ac_try;;
16320 esac
16321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16322 (eval "$ac_try") 2>&5
16323 ac_status=$?
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; }; then
16326 ac_cv_c_dll_gnuelf="yes"
16327 else
16328 echo "$as_me: failed program was:" >&5
16329 sed 's/^/| /' conftest.$ac_ext >&5
16331 ac_cv_c_dll_gnuelf="no"
16334 rm -f core conftest.err conftest.$ac_objext \
16335 conftest$ac_exeext conftest.$ac_ext
16336 CFLAGS=$ac_wine_try_cflags_saved
16338 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
16339 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
16340 if test "$ac_cv_c_dll_gnuelf" = "yes"
16341 then
16342 LDSHARED="\$(CC) -shared"
16343 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
16344 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
16345 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
16346 if test "${ac_cv_c_sonames+set}" = set; then
16347 echo $ECHO_N "(cached) $ECHO_C" >&6
16348 else
16349 ac_wine_try_cflags_saved=$CFLAGS
16350 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
16351 cat >conftest.$ac_ext <<_ACEOF
16352 /* confdefs.h. */
16353 _ACEOF
16354 cat confdefs.h >>conftest.$ac_ext
16355 cat >>conftest.$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16359 main ()
16363 return 0;
16365 _ACEOF
16366 rm -f conftest.$ac_objext conftest$ac_exeext
16367 if { (ac_try="$ac_link"
16368 case "(($ac_try" in
16369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16370 *) ac_try_echo=$ac_try;;
16371 esac
16372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16373 (eval "$ac_link") 2>conftest.er1
16374 ac_status=$?
16375 grep -v '^ *+' conftest.er1 >conftest.err
16376 rm -f conftest.er1
16377 cat conftest.err >&5
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); } &&
16380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16381 { (case "(($ac_try" in
16382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16383 *) ac_try_echo=$ac_try;;
16384 esac
16385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16386 (eval "$ac_try") 2>&5
16387 ac_status=$?
16388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389 (exit $ac_status); }; } &&
16390 { ac_try='test -s conftest$ac_exeext'
16391 { (case "(($ac_try" in
16392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16393 *) ac_try_echo=$ac_try;;
16394 esac
16395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16396 (eval "$ac_try") 2>&5
16397 ac_status=$?
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); }; }; then
16400 ac_cv_c_sonames="yes"
16401 else
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.$ac_ext >&5
16405 ac_cv_c_sonames="no"
16408 rm -f core conftest.err conftest.$ac_objext \
16409 conftest$ac_exeext conftest.$ac_ext
16410 CFLAGS=$ac_wine_try_cflags_saved
16412 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
16413 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
16414 if test "$ac_cv_c_sonames" = "yes"
16415 then
16416 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
16417 else
16418 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
16419 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
16420 if test "${ac_cv_c_h_sonames+set}" = set; then
16421 echo $ECHO_N "(cached) $ECHO_C" >&6
16422 else
16423 ac_wine_try_cflags_saved=$CFLAGS
16424 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
16425 cat >conftest.$ac_ext <<_ACEOF
16426 /* confdefs.h. */
16427 _ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16433 main ()
16437 return 0;
16439 _ACEOF
16440 rm -f conftest.$ac_objext conftest$ac_exeext
16441 if { (ac_try="$ac_link"
16442 case "(($ac_try" in
16443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16445 esac
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_link") 2>conftest.er1
16448 ac_status=$?
16449 grep -v '^ *+' conftest.er1 >conftest.err
16450 rm -f conftest.er1
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } &&
16454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16455 { (case "(($ac_try" in
16456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16457 *) ac_try_echo=$ac_try;;
16458 esac
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_try") 2>&5
16461 ac_status=$?
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; } &&
16464 { ac_try='test -s conftest$ac_exeext'
16465 { (case "(($ac_try" in
16466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16467 *) ac_try_echo=$ac_try;;
16468 esac
16469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16470 (eval "$ac_try") 2>&5
16471 ac_status=$?
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); }; }; then
16474 ac_cv_c_h_sonames="yes"
16475 else
16476 echo "$as_me: failed program was:" >&5
16477 sed 's/^/| /' conftest.$ac_ext >&5
16479 ac_cv_c_h_sonames="no"
16482 rm -f core conftest.err conftest.$ac_objext \
16483 conftest$ac_exeext conftest.$ac_ext
16484 CFLAGS=$ac_wine_try_cflags_saved
16486 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
16487 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
16488 if test "$ac_cv_c_h_sonames" = "yes"
16489 then
16490 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
16494 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
16495 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
16496 if test "${ac_cv_c_dll_zdefs+set}" = set; then
16497 echo $ECHO_N "(cached) $ECHO_C" >&6
16498 else
16499 ac_wine_try_cflags_saved=$CFLAGS
16500 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
16501 cat >conftest.$ac_ext <<_ACEOF
16502 /* confdefs.h. */
16503 _ACEOF
16504 cat confdefs.h >>conftest.$ac_ext
16505 cat >>conftest.$ac_ext <<_ACEOF
16506 /* end confdefs.h. */
16509 main ()
16513 return 0;
16515 _ACEOF
16516 rm -f conftest.$ac_objext conftest$ac_exeext
16517 if { (ac_try="$ac_link"
16518 case "(($ac_try" in
16519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16520 *) ac_try_echo=$ac_try;;
16521 esac
16522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16523 (eval "$ac_link") 2>conftest.er1
16524 ac_status=$?
16525 grep -v '^ *+' conftest.er1 >conftest.err
16526 rm -f conftest.er1
16527 cat conftest.err >&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); } &&
16530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16531 { (case "(($ac_try" in
16532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16533 *) ac_try_echo=$ac_try;;
16534 esac
16535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16536 (eval "$ac_try") 2>&5
16537 ac_status=$?
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; } &&
16540 { ac_try='test -s conftest$ac_exeext'
16541 { (case "(($ac_try" in
16542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16543 *) ac_try_echo=$ac_try;;
16544 esac
16545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16546 (eval "$ac_try") 2>&5
16547 ac_status=$?
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; }; then
16550 ac_cv_c_dll_zdefs="yes"
16551 else
16552 echo "$as_me: failed program was:" >&5
16553 sed 's/^/| /' conftest.$ac_ext >&5
16555 ac_cv_c_dll_zdefs="no"
16558 rm -f core conftest.err conftest.$ac_objext \
16559 conftest$ac_exeext conftest.$ac_ext
16560 CFLAGS=$ac_wine_try_cflags_saved
16562 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
16563 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
16564 if test "$ac_cv_c_dll_zdefs" = "yes"
16565 then
16566 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
16569 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
16570 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
16571 if test "${ac_cv_c_dll_init_fini+set}" = set; then
16572 echo $ECHO_N "(cached) $ECHO_C" >&6
16573 else
16574 ac_wine_try_cflags_saved=$CFLAGS
16575 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
16576 cat >conftest.$ac_ext <<_ACEOF
16577 /* confdefs.h. */
16578 _ACEOF
16579 cat confdefs.h >>conftest.$ac_ext
16580 cat >>conftest.$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16584 main ()
16588 return 0;
16590 _ACEOF
16591 rm -f conftest.$ac_objext conftest$ac_exeext
16592 if { (ac_try="$ac_link"
16593 case "(($ac_try" in
16594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16595 *) ac_try_echo=$ac_try;;
16596 esac
16597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598 (eval "$ac_link") 2>conftest.er1
16599 ac_status=$?
16600 grep -v '^ *+' conftest.er1 >conftest.err
16601 rm -f conftest.er1
16602 cat conftest.err >&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } &&
16605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16606 { (case "(($ac_try" in
16607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16608 *) ac_try_echo=$ac_try;;
16609 esac
16610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16611 (eval "$ac_try") 2>&5
16612 ac_status=$?
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; } &&
16615 { ac_try='test -s conftest$ac_exeext'
16616 { (case "(($ac_try" in
16617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16618 *) ac_try_echo=$ac_try;;
16619 esac
16620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16621 (eval "$ac_try") 2>&5
16622 ac_status=$?
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; }; then
16625 ac_cv_c_dll_init_fini="yes"
16626 else
16627 echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16630 ac_cv_c_dll_init_fini="no"
16633 rm -f core conftest.err conftest.$ac_objext \
16634 conftest$ac_exeext conftest.$ac_ext
16635 CFLAGS=$ac_wine_try_cflags_saved
16637 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
16638 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
16639 if test "$ac_cv_c_dll_init_fini" = "yes"
16640 then
16641 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
16644 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
16645 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
16646 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
16647 echo $ECHO_N "(cached) $ECHO_C" >&6
16648 else
16649 echo '{ global: *; };' >conftest.map
16650 ac_wine_try_cflags_saved=$CFLAGS
16651 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
16652 cat >conftest.$ac_ext <<_ACEOF
16653 /* confdefs.h. */
16654 _ACEOF
16655 cat confdefs.h >>conftest.$ac_ext
16656 cat >>conftest.$ac_ext <<_ACEOF
16657 /* end confdefs.h. */
16660 main ()
16664 return 0;
16666 _ACEOF
16667 rm -f conftest.$ac_objext conftest$ac_exeext
16668 if { (ac_try="$ac_link"
16669 case "(($ac_try" in
16670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16671 *) ac_try_echo=$ac_try;;
16672 esac
16673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16674 (eval "$ac_link") 2>conftest.er1
16675 ac_status=$?
16676 grep -v '^ *+' conftest.er1 >conftest.err
16677 rm -f conftest.er1
16678 cat conftest.err >&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } &&
16681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16682 { (case "(($ac_try" in
16683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16684 *) ac_try_echo=$ac_try;;
16685 esac
16686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16687 (eval "$ac_try") 2>&5
16688 ac_status=$?
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; } &&
16691 { ac_try='test -s conftest$ac_exeext'
16692 { (case "(($ac_try" in
16693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16694 *) ac_try_echo=$ac_try;;
16695 esac
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_try") 2>&5
16698 ac_status=$?
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; }; then
16701 ac_cv_c_ld_version_scripts="yes"
16702 else
16703 echo "$as_me: failed program was:" >&5
16704 sed 's/^/| /' conftest.$ac_ext >&5
16706 ac_cv_c_ld_version_scripts="no"
16709 rm -f core conftest.err conftest.$ac_objext \
16710 conftest$ac_exeext conftest.$ac_ext
16711 CFLAGS=$ac_wine_try_cflags_saved
16712 rm -f conftest.map
16714 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
16715 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
16716 if test "$ac_cv_c_ld_version_scripts" = "yes"
16717 then
16718 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
16721 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
16722 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
16723 if test "${ac_cv_c_export_dynamic+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16725 else
16726 ac_wine_try_cflags_saved=$CFLAGS
16727 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
16728 cat >conftest.$ac_ext <<_ACEOF
16729 /* confdefs.h. */
16730 _ACEOF
16731 cat confdefs.h >>conftest.$ac_ext
16732 cat >>conftest.$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16736 main ()
16740 return 0;
16742 _ACEOF
16743 rm -f conftest.$ac_objext conftest$ac_exeext
16744 if { (ac_try="$ac_link"
16745 case "(($ac_try" in
16746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16747 *) ac_try_echo=$ac_try;;
16748 esac
16749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16750 (eval "$ac_link") 2>conftest.er1
16751 ac_status=$?
16752 grep -v '^ *+' conftest.er1 >conftest.err
16753 rm -f conftest.er1
16754 cat conftest.err >&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); } &&
16757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16758 { (case "(($ac_try" in
16759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16760 *) ac_try_echo=$ac_try;;
16761 esac
16762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16763 (eval "$ac_try") 2>&5
16764 ac_status=$?
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); }; } &&
16767 { ac_try='test -s conftest$ac_exeext'
16768 { (case "(($ac_try" in
16769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16770 *) ac_try_echo=$ac_try;;
16771 esac
16772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16773 (eval "$ac_try") 2>&5
16774 ac_status=$?
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 ac_cv_c_export_dynamic="yes"
16778 else
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16782 ac_cv_c_export_dynamic="no"
16785 rm -f core conftest.err conftest.$ac_objext \
16786 conftest$ac_exeext conftest.$ac_ext
16787 CFLAGS=$ac_wine_try_cflags_saved
16789 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
16790 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
16791 if test "$ac_cv_c_export_dynamic" = "yes"
16792 then
16793 LDEXECFLAGS="-Wl,--export-dynamic"
16797 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
16798 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
16799 if test "${ac_cv_ld_rpath+set}" = set; then
16800 echo $ECHO_N "(cached) $ECHO_C" >&6
16801 else
16802 ac_wine_try_cflags_saved=$CFLAGS
16803 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
16804 cat >conftest.$ac_ext <<_ACEOF
16805 /* confdefs.h. */
16806 _ACEOF
16807 cat confdefs.h >>conftest.$ac_ext
16808 cat >>conftest.$ac_ext <<_ACEOF
16809 /* end confdefs.h. */
16812 main ()
16816 return 0;
16818 _ACEOF
16819 rm -f conftest.$ac_objext conftest$ac_exeext
16820 if { (ac_try="$ac_link"
16821 case "(($ac_try" in
16822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16823 *) ac_try_echo=$ac_try;;
16824 esac
16825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16826 (eval "$ac_link") 2>conftest.er1
16827 ac_status=$?
16828 grep -v '^ *+' conftest.er1 >conftest.err
16829 rm -f conftest.er1
16830 cat conftest.err >&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); } &&
16833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16834 { (case "(($ac_try" in
16835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16836 *) ac_try_echo=$ac_try;;
16837 esac
16838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16839 (eval "$ac_try") 2>&5
16840 ac_status=$?
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; } &&
16843 { ac_try='test -s conftest$ac_exeext'
16844 { (case "(($ac_try" in
16845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16846 *) ac_try_echo=$ac_try;;
16847 esac
16848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16849 (eval "$ac_try") 2>&5
16850 ac_status=$?
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; }; then
16853 ac_cv_ld_rpath="yes"
16854 else
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16858 ac_cv_ld_rpath="no"
16861 rm -f core conftest.err conftest.$ac_objext \
16862 conftest$ac_exeext conftest.$ac_ext
16863 CFLAGS=$ac_wine_try_cflags_saved
16865 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
16866 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
16867 if test "$ac_cv_ld_rpath" = "yes"
16868 then
16869 LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
16871 LDDLLRPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
16875 case $host_cpu in
16876 *i[3456789]86* | x86_64)
16877 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
16878 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
16879 if test "${ac_cv_ld_reloc_exec+set}" = set; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 else
16882 ac_wine_try_cflags_saved=$CFLAGS
16883 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
16884 cat >conftest.$ac_ext <<_ACEOF
16885 /* confdefs.h. */
16886 _ACEOF
16887 cat confdefs.h >>conftest.$ac_ext
16888 cat >>conftest.$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16892 main ()
16896 return 0;
16898 _ACEOF
16899 rm -f conftest.$ac_objext conftest$ac_exeext
16900 if { (ac_try="$ac_link"
16901 case "(($ac_try" in
16902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16903 *) ac_try_echo=$ac_try;;
16904 esac
16905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16906 (eval "$ac_link") 2>conftest.er1
16907 ac_status=$?
16908 grep -v '^ *+' conftest.er1 >conftest.err
16909 rm -f conftest.er1
16910 cat conftest.err >&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } &&
16913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16914 { (case "(($ac_try" in
16915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16916 *) ac_try_echo=$ac_try;;
16917 esac
16918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16919 (eval "$ac_try") 2>&5
16920 ac_status=$?
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); }; } &&
16923 { ac_try='test -s conftest$ac_exeext'
16924 { (case "(($ac_try" in
16925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16926 *) ac_try_echo=$ac_try;;
16927 esac
16928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16929 (eval "$ac_try") 2>&5
16930 ac_status=$?
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; }; then
16933 ac_cv_ld_reloc_exec="yes"
16934 else
16935 echo "$as_me: failed program was:" >&5
16936 sed 's/^/| /' conftest.$ac_ext >&5
16938 ac_cv_ld_reloc_exec="no"
16941 rm -f core conftest.err conftest.$ac_objext \
16942 conftest$ac_exeext conftest.$ac_ext
16943 CFLAGS=$ac_wine_try_cflags_saved
16945 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
16946 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
16947 if test "$ac_cv_ld_reloc_exec" = "yes"
16948 then
16949 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16952 esac
16954 else
16955 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16956 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16957 if test "${ac_cv_c_dll_unixware+set}" = set; then
16958 echo $ECHO_N "(cached) $ECHO_C" >&6
16959 else
16960 ac_wine_try_cflags_saved=$CFLAGS
16961 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16962 cat >conftest.$ac_ext <<_ACEOF
16963 void myfunc() {}
16964 _ACEOF
16965 rm -f conftest.$ac_objext conftest$ac_exeext
16966 if { (ac_try="$ac_link"
16967 case "(($ac_try" in
16968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16969 *) ac_try_echo=$ac_try;;
16970 esac
16971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16972 (eval "$ac_link") 2>conftest.er1
16973 ac_status=$?
16974 grep -v '^ *+' conftest.er1 >conftest.err
16975 rm -f conftest.er1
16976 cat conftest.err >&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } &&
16979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16980 { (case "(($ac_try" in
16981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16982 *) ac_try_echo=$ac_try;;
16983 esac
16984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16985 (eval "$ac_try") 2>&5
16986 ac_status=$?
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; } &&
16989 { ac_try='test -s conftest$ac_exeext'
16990 { (case "(($ac_try" in
16991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16992 *) ac_try_echo=$ac_try;;
16993 esac
16994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16995 (eval "$ac_try") 2>&5
16996 ac_status=$?
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; }; then
16999 ac_cv_c_dll_unixware="yes"
17000 else
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17004 ac_cv_c_dll_unixware="no"
17007 rm -f core conftest.err conftest.$ac_objext \
17008 conftest$ac_exeext conftest.$ac_ext
17009 CFLAGS=$ac_wine_try_cflags_saved
17011 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
17012 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
17013 if test "$ac_cv_c_dll_unixware" = "yes"
17014 then
17015 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
17016 LDDLLFLAGS="-Wl,-G,-B,symbolic"
17018 else
17019 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
17020 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
17021 if test "${ac_cv_c_dll_macho+set}" = set; then
17022 echo $ECHO_N "(cached) $ECHO_C" >&6
17023 else
17024 ac_wine_try_cflags_saved=$CFLAGS
17025 CFLAGS="$CFLAGS -bundle"
17026 cat >conftest.$ac_ext <<_ACEOF
17027 void myfunc() {}
17028 _ACEOF
17029 rm -f conftest.$ac_objext conftest$ac_exeext
17030 if { (ac_try="$ac_link"
17031 case "(($ac_try" in
17032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17033 *) ac_try_echo=$ac_try;;
17034 esac
17035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17036 (eval "$ac_link") 2>conftest.er1
17037 ac_status=$?
17038 grep -v '^ *+' conftest.er1 >conftest.err
17039 rm -f conftest.er1
17040 cat conftest.err >&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); } &&
17043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17044 { (case "(($ac_try" in
17045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17046 *) ac_try_echo=$ac_try;;
17047 esac
17048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17049 (eval "$ac_try") 2>&5
17050 ac_status=$?
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; } &&
17053 { ac_try='test -s conftest$ac_exeext'
17054 { (case "(($ac_try" in
17055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17056 *) ac_try_echo=$ac_try;;
17057 esac
17058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17059 (eval "$ac_try") 2>&5
17060 ac_status=$?
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; }; then
17063 ac_cv_c_dll_macho="yes"
17064 else
17065 echo "$as_me: failed program was:" >&5
17066 sed 's/^/| /' conftest.$ac_ext >&5
17068 ac_cv_c_dll_macho="no"
17071 rm -f core conftest.err conftest.$ac_objext \
17072 conftest$ac_exeext conftest.$ac_ext
17073 CFLAGS=$ac_wine_try_cflags_saved
17075 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
17076 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
17077 if test "$ac_cv_c_dll_macho" = "yes"
17078 then
17079 LIBEXT="dylib"
17080 LDDLLFLAGS="-bundle"
17081 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
17082 STRIP="$STRIP -u -r"
17083 COREFOUNDATIONLIB="-framework CoreFoundation"
17085 IOKITLIB="-framework IOKit -framework CoreFoundation"
17087 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
17089 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
17090 then
17091 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
17094 case $host_cpu in
17095 *powerpc*)
17096 CFLAGS="$CFLAGS -ffixed-r13"
17097 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"
17099 esac
17101 else
17102 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
17103 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
17104 if test "${ac_cv_c_dll_hpux+set}" = set; then
17105 echo $ECHO_N "(cached) $ECHO_C" >&6
17106 else
17107 ac_wine_try_cflags_saved=$CFLAGS
17108 CFLAGS="$CFLAGS -shared"
17109 cat >conftest.$ac_ext <<_ACEOF
17110 void myfunc() {}
17111 _ACEOF
17112 rm -f conftest.$ac_objext conftest$ac_exeext
17113 if { (ac_try="$ac_link"
17114 case "(($ac_try" in
17115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17116 *) ac_try_echo=$ac_try;;
17117 esac
17118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17119 (eval "$ac_link") 2>conftest.er1
17120 ac_status=$?
17121 grep -v '^ *+' conftest.er1 >conftest.err
17122 rm -f conftest.er1
17123 cat conftest.err >&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); } &&
17126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17127 { (case "(($ac_try" in
17128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17129 *) ac_try_echo=$ac_try;;
17130 esac
17131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17132 (eval "$ac_try") 2>&5
17133 ac_status=$?
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); }; } &&
17136 { ac_try='test -s conftest$ac_exeext'
17137 { (case "(($ac_try" in
17138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17139 *) ac_try_echo=$ac_try;;
17140 esac
17141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17142 (eval "$ac_try") 2>&5
17143 ac_status=$?
17144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145 (exit $ac_status); }; }; then
17146 ac_cv_c_dll_hpux="yes"
17147 else
17148 echo "$as_me: failed program was:" >&5
17149 sed 's/^/| /' conftest.$ac_ext >&5
17151 ac_cv_c_dll_hpux="no"
17154 rm -f core conftest.err conftest.$ac_objext \
17155 conftest$ac_exeext conftest.$ac_ext
17156 CFLAGS=$ac_wine_try_cflags_saved
17158 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
17159 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
17160 if test "$ac_cv_c_dll_hpux" = "yes"
17161 then
17162 LIBEXT="sl"
17163 DLLEXT=".sl"
17164 LDDLLFLAGS="-shared -fPIC"
17165 LDSHARED="\$(CC) -shared"
17172 CROSSTEST=""
17174 if test "$cross_compiling" = "no"
17175 then
17176 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
17178 # Extract the first word of "$ac_prog", so it can be a program name with args.
17179 set dummy $ac_prog; ac_word=$2
17180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17182 if test "${ac_cv_prog_CROSSCC+set}" = set; then
17183 echo $ECHO_N "(cached) $ECHO_C" >&6
17184 else
17185 if test -n "$CROSSCC"; then
17186 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
17187 else
17188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17189 for as_dir in $PATH
17191 IFS=$as_save_IFS
17192 test -z "$as_dir" && as_dir=.
17193 for ac_exec_ext in '' $ac_executable_extensions; do
17194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17195 ac_cv_prog_CROSSCC="$ac_prog"
17196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17197 break 2
17199 done
17200 done
17201 IFS=$as_save_IFS
17205 CROSSCC=$ac_cv_prog_CROSSCC
17206 if test -n "$CROSSCC"; then
17207 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
17208 echo "${ECHO_T}$CROSSCC" >&6; }
17209 else
17210 { echo "$as_me:$LINENO: result: no" >&5
17211 echo "${ECHO_T}no" >&6; }
17215 test -n "$CROSSCC" && break
17216 done
17217 test -n "$CROSSCC" || CROSSCC="false"
17219 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
17221 # Extract the first word of "$ac_prog", so it can be a program name with args.
17222 set dummy $ac_prog; ac_word=$2
17223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17225 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 else
17228 if test -n "$DLLTOOL"; then
17229 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17230 else
17231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17232 for as_dir in $PATH
17234 IFS=$as_save_IFS
17235 test -z "$as_dir" && as_dir=.
17236 for ac_exec_ext in '' $ac_executable_extensions; do
17237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17238 ac_cv_prog_DLLTOOL="$ac_prog"
17239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17240 break 2
17242 done
17243 done
17244 IFS=$as_save_IFS
17248 DLLTOOL=$ac_cv_prog_DLLTOOL
17249 if test -n "$DLLTOOL"; then
17250 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17251 echo "${ECHO_T}$DLLTOOL" >&6; }
17252 else
17253 { echo "$as_me:$LINENO: result: no" >&5
17254 echo "${ECHO_T}no" >&6; }
17258 test -n "$DLLTOOL" && break
17259 done
17260 test -n "$DLLTOOL" || DLLTOOL="false"
17262 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
17264 # Extract the first word of "$ac_prog", so it can be a program name with args.
17265 set dummy $ac_prog; ac_word=$2
17266 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17268 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
17269 echo $ECHO_N "(cached) $ECHO_C" >&6
17270 else
17271 if test -n "$CROSSWINDRES"; then
17272 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
17273 else
17274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17275 for as_dir in $PATH
17277 IFS=$as_save_IFS
17278 test -z "$as_dir" && as_dir=.
17279 for ac_exec_ext in '' $ac_executable_extensions; do
17280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17281 ac_cv_prog_CROSSWINDRES="$ac_prog"
17282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17283 break 2
17285 done
17286 done
17287 IFS=$as_save_IFS
17291 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
17292 if test -n "$CROSSWINDRES"; then
17293 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
17294 echo "${ECHO_T}$CROSSWINDRES" >&6; }
17295 else
17296 { echo "$as_me:$LINENO: result: no" >&5
17297 echo "${ECHO_T}no" >&6; }
17301 test -n "$CROSSWINDRES" && break
17302 done
17303 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
17305 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
17308 esac
17310 if test "$LIBEXT" = "a"; then
17311 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
17312 It is currently not possible to build Wine without shared library
17313 (.so) support to allow transparent switch between .so and .dll files.
17314 If you are using Linux, you will need a newer binutils.
17315 " >&5
17316 echo "$as_me: error: could not find a way to build shared libraries.
17317 It is currently not possible to build Wine without shared library
17318 (.so) support to allow transparent switch between .so and .dll files.
17319 If you are using Linux, you will need a newer binutils.
17320 " >&2;}
17321 { (exit 1); exit 1; }; }
17324 case $build_os in
17325 cygwin*|mingw32*)
17326 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
17328 darwin*|macosx*)
17329 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
17332 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
17334 esac
17336 case $host_os in
17337 mingw32*)
17338 CRTLIBS="-lmsvcrt"
17340 SOCKETLIBS="-lws2_32"
17343 esac
17345 MAIN_BINARY="wine-pthread"
17346 case $host_cpu in
17347 *i[3456789]86*)
17348 case $host_os in
17349 linux* | k*bsd*-gnu)
17350 MAIN_BINARY="wine-glibc"
17352 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
17354 esac
17356 esac
17359 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
17360 then
17361 # Extract the first word of "ldd", so it can be a program name with args.
17362 set dummy ldd; ac_word=$2
17363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17365 if test "${ac_cv_path_LDD+set}" = set; then
17366 echo $ECHO_N "(cached) $ECHO_C" >&6
17367 else
17368 case $LDD in
17369 [\\/]* | ?:[\\/]*)
17370 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
17373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17374 as_dummy="/sbin:/usr/sbin:$PATH"
17375 for as_dir in $as_dummy
17377 IFS=$as_save_IFS
17378 test -z "$as_dir" && as_dir=.
17379 for ac_exec_ext in '' $ac_executable_extensions; do
17380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17381 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
17382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17383 break 2
17385 done
17386 done
17387 IFS=$as_save_IFS
17389 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
17391 esac
17393 LDD=$ac_cv_path_LDD
17394 if test -n "$LDD"; then
17395 { echo "$as_me:$LINENO: result: $LDD" >&5
17396 echo "${ECHO_T}$LDD" >&6; }
17397 else
17398 { echo "$as_me:$LINENO: result: no" >&5
17399 echo "${ECHO_T}no" >&6; }
17403 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
17404 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
17405 if test "${ac_cv_lib_soname_X11+set}" = set; then
17406 echo $ECHO_N "(cached) $ECHO_C" >&6
17407 else
17408 ac_get_soname_save_LIBS=$LIBS
17409 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
17410 cat >conftest.$ac_ext <<_ACEOF
17411 /* confdefs.h. */
17412 _ACEOF
17413 cat confdefs.h >>conftest.$ac_ext
17414 cat >>conftest.$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17417 /* Override any GCC internal prototype to avoid an error.
17418 Use char because int might match the return type of a GCC
17419 builtin and then its argument prototype would still apply. */
17420 #ifdef __cplusplus
17421 extern "C"
17422 #endif
17423 char XCreateWindow ();
17425 main ()
17427 return XCreateWindow ();
17429 return 0;
17431 _ACEOF
17432 rm -f conftest.$ac_objext conftest$ac_exeext
17433 if { (ac_try="$ac_link"
17434 case "(($ac_try" in
17435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17436 *) ac_try_echo=$ac_try;;
17437 esac
17438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17439 (eval "$ac_link") 2>conftest.er1
17440 ac_status=$?
17441 grep -v '^ *+' conftest.er1 >conftest.err
17442 rm -f conftest.er1
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } &&
17446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17447 { (case "(($ac_try" in
17448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17449 *) ac_try_echo=$ac_try;;
17450 esac
17451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17452 (eval "$ac_try") 2>&5
17453 ac_status=$?
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; } &&
17456 { ac_try='test -s conftest$ac_exeext'
17457 { (case "(($ac_try" in
17458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17459 *) ac_try_echo=$ac_try;;
17460 esac
17461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17462 (eval "$ac_try") 2>&5
17463 ac_status=$?
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; }; then
17466 case "$LIBEXT" in
17467 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'` ;;
17468 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17469 esac
17470 if test "x$ac_cv_lib_soname_X11" = "x"
17471 then
17472 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17474 else
17475 echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.$ac_ext >&5
17478 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17481 rm -f core conftest.err conftest.$ac_objext \
17482 conftest$ac_exeext conftest.$ac_ext
17483 LIBS=$ac_get_soname_save_LIBS
17485 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
17486 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
17487 if test "${ac_cv_lib_soname_X11+set}" = set; then
17489 cat >>confdefs.h <<_ACEOF
17490 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
17491 _ACEOF
17495 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
17496 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
17497 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17498 echo $ECHO_N "(cached) $ECHO_C" >&6
17499 else
17500 ac_get_soname_save_LIBS=$LIBS
17501 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
17502 cat >conftest.$ac_ext <<_ACEOF
17503 /* confdefs.h. */
17504 _ACEOF
17505 cat confdefs.h >>conftest.$ac_ext
17506 cat >>conftest.$ac_ext <<_ACEOF
17507 /* end confdefs.h. */
17509 /* Override any GCC internal prototype to avoid an error.
17510 Use char because int might match the return type of a GCC
17511 builtin and then its argument prototype would still apply. */
17512 #ifdef __cplusplus
17513 extern "C"
17514 #endif
17515 char XextCreateExtension ();
17517 main ()
17519 return XextCreateExtension ();
17521 return 0;
17523 _ACEOF
17524 rm -f conftest.$ac_objext conftest$ac_exeext
17525 if { (ac_try="$ac_link"
17526 case "(($ac_try" in
17527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17528 *) ac_try_echo=$ac_try;;
17529 esac
17530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17531 (eval "$ac_link") 2>conftest.er1
17532 ac_status=$?
17533 grep -v '^ *+' conftest.er1 >conftest.err
17534 rm -f conftest.er1
17535 cat conftest.err >&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } &&
17538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17539 { (case "(($ac_try" in
17540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17541 *) ac_try_echo=$ac_try;;
17542 esac
17543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17544 (eval "$ac_try") 2>&5
17545 ac_status=$?
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; } &&
17548 { ac_try='test -s conftest$ac_exeext'
17549 { (case "(($ac_try" in
17550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17551 *) ac_try_echo=$ac_try;;
17552 esac
17553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17554 (eval "$ac_try") 2>&5
17555 ac_status=$?
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; }; then
17558 case "$LIBEXT" in
17559 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'` ;;
17560 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17561 esac
17562 if test "x$ac_cv_lib_soname_Xext" = "x"
17563 then
17564 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17566 else
17567 echo "$as_me: failed program was:" >&5
17568 sed 's/^/| /' conftest.$ac_ext >&5
17570 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17573 rm -f core conftest.err conftest.$ac_objext \
17574 conftest$ac_exeext conftest.$ac_ext
17575 LIBS=$ac_get_soname_save_LIBS
17577 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
17578 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
17579 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17581 cat >>confdefs.h <<_ACEOF
17582 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
17583 _ACEOF
17587 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
17588 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
17589 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17590 echo $ECHO_N "(cached) $ECHO_C" >&6
17591 else
17592 ac_get_soname_save_LIBS=$LIBS
17593 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17594 cat >conftest.$ac_ext <<_ACEOF
17595 /* confdefs.h. */
17596 _ACEOF
17597 cat confdefs.h >>conftest.$ac_ext
17598 cat >>conftest.$ac_ext <<_ACEOF
17599 /* end confdefs.h. */
17601 /* Override any GCC internal prototype to avoid an error.
17602 Use char because int might match the return type of a GCC
17603 builtin and then its argument prototype would still apply. */
17604 #ifdef __cplusplus
17605 extern "C"
17606 #endif
17607 char XOpenDevice ();
17609 main ()
17611 return XOpenDevice ();
17613 return 0;
17615 _ACEOF
17616 rm -f conftest.$ac_objext conftest$ac_exeext
17617 if { (ac_try="$ac_link"
17618 case "(($ac_try" in
17619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17620 *) ac_try_echo=$ac_try;;
17621 esac
17622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17623 (eval "$ac_link") 2>conftest.er1
17624 ac_status=$?
17625 grep -v '^ *+' conftest.er1 >conftest.err
17626 rm -f conftest.er1
17627 cat conftest.err >&5
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); } &&
17630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17631 { (case "(($ac_try" in
17632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17633 *) ac_try_echo=$ac_try;;
17634 esac
17635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17636 (eval "$ac_try") 2>&5
17637 ac_status=$?
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; } &&
17640 { ac_try='test -s conftest$ac_exeext'
17641 { (case "(($ac_try" in
17642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17643 *) ac_try_echo=$ac_try;;
17644 esac
17645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17646 (eval "$ac_try") 2>&5
17647 ac_status=$?
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; }; then
17650 case "$LIBEXT" in
17651 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'` ;;
17652 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17653 esac
17654 if test "x$ac_cv_lib_soname_Xi" = "x"
17655 then
17656 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17658 else
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.$ac_ext >&5
17662 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17665 rm -f core conftest.err conftest.$ac_objext \
17666 conftest$ac_exeext conftest.$ac_ext
17667 LIBS=$ac_get_soname_save_LIBS
17669 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
17670 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
17671 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17673 cat >>confdefs.h <<_ACEOF
17674 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
17675 _ACEOF
17679 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
17680 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
17681 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17682 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 else
17684 ac_get_soname_save_LIBS=$LIBS
17685 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17686 cat >conftest.$ac_ext <<_ACEOF
17687 /* confdefs.h. */
17688 _ACEOF
17689 cat confdefs.h >>conftest.$ac_ext
17690 cat >>conftest.$ac_ext <<_ACEOF
17691 /* end confdefs.h. */
17693 /* Override any GCC internal prototype to avoid an error.
17694 Use char because int might match the return type of a GCC
17695 builtin and then its argument prototype would still apply. */
17696 #ifdef __cplusplus
17697 extern "C"
17698 #endif
17699 char XRenderQueryExtension ();
17701 main ()
17703 return XRenderQueryExtension ();
17705 return 0;
17707 _ACEOF
17708 rm -f conftest.$ac_objext conftest$ac_exeext
17709 if { (ac_try="$ac_link"
17710 case "(($ac_try" in
17711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17712 *) ac_try_echo=$ac_try;;
17713 esac
17714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17715 (eval "$ac_link") 2>conftest.er1
17716 ac_status=$?
17717 grep -v '^ *+' conftest.er1 >conftest.err
17718 rm -f conftest.er1
17719 cat conftest.err >&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } &&
17722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17723 { (case "(($ac_try" in
17724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17725 *) ac_try_echo=$ac_try;;
17726 esac
17727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17728 (eval "$ac_try") 2>&5
17729 ac_status=$?
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); }; } &&
17732 { ac_try='test -s conftest$ac_exeext'
17733 { (case "(($ac_try" in
17734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17735 *) ac_try_echo=$ac_try;;
17736 esac
17737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17738 (eval "$ac_try") 2>&5
17739 ac_status=$?
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); }; }; then
17742 case "$LIBEXT" in
17743 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'` ;;
17744 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17745 esac
17746 if test "x$ac_cv_lib_soname_Xrender" = "x"
17747 then
17748 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17750 else
17751 echo "$as_me: failed program was:" >&5
17752 sed 's/^/| /' conftest.$ac_ext >&5
17754 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17757 rm -f core conftest.err conftest.$ac_objext \
17758 conftest$ac_exeext conftest.$ac_ext
17759 LIBS=$ac_get_soname_save_LIBS
17761 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
17762 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
17763 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17765 cat >>confdefs.h <<_ACEOF
17766 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
17767 _ACEOF
17771 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
17772 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
17773 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17774 echo $ECHO_N "(cached) $ECHO_C" >&6
17775 else
17776 ac_get_soname_save_LIBS=$LIBS
17777 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17778 cat >conftest.$ac_ext <<_ACEOF
17779 /* confdefs.h. */
17780 _ACEOF
17781 cat confdefs.h >>conftest.$ac_ext
17782 cat >>conftest.$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17785 /* Override any GCC internal prototype to avoid an error.
17786 Use char because int might match the return type of a GCC
17787 builtin and then its argument prototype would still apply. */
17788 #ifdef __cplusplus
17789 extern "C"
17790 #endif
17791 char XRRQueryExtension ();
17793 main ()
17795 return XRRQueryExtension ();
17797 return 0;
17799 _ACEOF
17800 rm -f conftest.$ac_objext conftest$ac_exeext
17801 if { (ac_try="$ac_link"
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_link") 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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17815 { (case "(($ac_try" in
17816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17817 *) ac_try_echo=$ac_try;;
17818 esac
17819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17820 (eval "$ac_try") 2>&5
17821 ac_status=$?
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; } &&
17824 { ac_try='test -s conftest$ac_exeext'
17825 { (case "(($ac_try" in
17826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17827 *) ac_try_echo=$ac_try;;
17828 esac
17829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17830 (eval "$ac_try") 2>&5
17831 ac_status=$?
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); }; }; then
17834 case "$LIBEXT" in
17835 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'` ;;
17836 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17837 esac
17838 if test "x$ac_cv_lib_soname_Xrandr" = "x"
17839 then
17840 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17842 else
17843 echo "$as_me: failed program was:" >&5
17844 sed 's/^/| /' conftest.$ac_ext >&5
17846 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17849 rm -f core conftest.err conftest.$ac_objext \
17850 conftest$ac_exeext conftest.$ac_ext
17851 LIBS=$ac_get_soname_save_LIBS
17853 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
17854 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
17855 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17857 cat >>confdefs.h <<_ACEOF
17858 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
17859 _ACEOF
17863 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
17864 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
17865 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17866 echo $ECHO_N "(cached) $ECHO_C" >&6
17867 else
17868 ac_get_soname_save_LIBS=$LIBS
17869 LIBS="-lfreetype $X_LIBS $LIBS"
17870 cat >conftest.$ac_ext <<_ACEOF
17871 /* confdefs.h. */
17872 _ACEOF
17873 cat confdefs.h >>conftest.$ac_ext
17874 cat >>conftest.$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17877 /* Override any GCC internal prototype to avoid an error.
17878 Use char because int might match the return type of a GCC
17879 builtin and then its argument prototype would still apply. */
17880 #ifdef __cplusplus
17881 extern "C"
17882 #endif
17883 char FT_Init_FreeType ();
17885 main ()
17887 return FT_Init_FreeType ();
17889 return 0;
17891 _ACEOF
17892 rm -f conftest.$ac_objext conftest$ac_exeext
17893 if { (ac_try="$ac_link"
17894 case "(($ac_try" in
17895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17896 *) ac_try_echo=$ac_try;;
17897 esac
17898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17899 (eval "$ac_link") 2>conftest.er1
17900 ac_status=$?
17901 grep -v '^ *+' conftest.er1 >conftest.err
17902 rm -f conftest.er1
17903 cat conftest.err >&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); } &&
17906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17907 { (case "(($ac_try" in
17908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17909 *) ac_try_echo=$ac_try;;
17910 esac
17911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17912 (eval "$ac_try") 2>&5
17913 ac_status=$?
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; } &&
17916 { ac_try='test -s conftest$ac_exeext'
17917 { (case "(($ac_try" in
17918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17919 *) ac_try_echo=$ac_try;;
17920 esac
17921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17922 (eval "$ac_try") 2>&5
17923 ac_status=$?
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; }; then
17926 case "$LIBEXT" in
17927 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'` ;;
17928 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17929 esac
17930 if test "x$ac_cv_lib_soname_freetype" = "x"
17931 then
17932 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17934 else
17935 echo "$as_me: failed program was:" >&5
17936 sed 's/^/| /' conftest.$ac_ext >&5
17938 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17941 rm -f core conftest.err conftest.$ac_objext \
17942 conftest$ac_exeext conftest.$ac_ext
17943 LIBS=$ac_get_soname_save_LIBS
17945 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17946 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17947 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17949 cat >>confdefs.h <<_ACEOF
17950 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17951 _ACEOF
17955 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17956 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17957 if test "${ac_cv_lib_soname_GL+set}" = set; then
17958 echo $ECHO_N "(cached) $ECHO_C" >&6
17959 else
17960 ac_get_soname_save_LIBS=$LIBS
17961 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17962 cat >conftest.$ac_ext <<_ACEOF
17963 /* confdefs.h. */
17964 _ACEOF
17965 cat confdefs.h >>conftest.$ac_ext
17966 cat >>conftest.$ac_ext <<_ACEOF
17967 /* end confdefs.h. */
17969 /* Override any GCC internal prototype to avoid an error.
17970 Use char because int might match the return type of a GCC
17971 builtin and then its argument prototype would still apply. */
17972 #ifdef __cplusplus
17973 extern "C"
17974 #endif
17975 char glXQueryExtension ();
17977 main ()
17979 return glXQueryExtension ();
17981 return 0;
17983 _ACEOF
17984 rm -f conftest.$ac_objext conftest$ac_exeext
17985 if { (ac_try="$ac_link"
17986 case "(($ac_try" in
17987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17988 *) ac_try_echo=$ac_try;;
17989 esac
17990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17991 (eval "$ac_link") 2>conftest.er1
17992 ac_status=$?
17993 grep -v '^ *+' conftest.er1 >conftest.err
17994 rm -f conftest.er1
17995 cat conftest.err >&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); } &&
17998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17999 { (case "(($ac_try" in
18000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18001 *) ac_try_echo=$ac_try;;
18002 esac
18003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18004 (eval "$ac_try") 2>&5
18005 ac_status=$?
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); }; } &&
18008 { ac_try='test -s conftest$ac_exeext'
18009 { (case "(($ac_try" in
18010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18011 *) ac_try_echo=$ac_try;;
18012 esac
18013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18014 (eval "$ac_try") 2>&5
18015 ac_status=$?
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); }; }; then
18018 case "$LIBEXT" in
18019 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'` ;;
18020 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18021 esac
18022 if test "x$ac_cv_lib_soname_GL" = "x"
18023 then
18024 ac_cv_lib_soname_GL="libGL.$LIBEXT"
18026 else
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.$ac_ext >&5
18030 ac_cv_lib_soname_GL="libGL.$LIBEXT"
18033 rm -f core conftest.err conftest.$ac_objext \
18034 conftest$ac_exeext conftest.$ac_ext
18035 LIBS=$ac_get_soname_save_LIBS
18037 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
18038 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
18039 if test "${ac_cv_lib_soname_GL+set}" = set; then
18041 cat >>confdefs.h <<_ACEOF
18042 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
18043 _ACEOF
18047 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
18048 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
18049 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18050 echo $ECHO_N "(cached) $ECHO_C" >&6
18051 else
18052 ac_get_soname_save_LIBS=$LIBS
18053 LIBS="-ldbus-1 $LIBS"
18054 cat >conftest.$ac_ext <<_ACEOF
18055 /* confdefs.h. */
18056 _ACEOF
18057 cat confdefs.h >>conftest.$ac_ext
18058 cat >>conftest.$ac_ext <<_ACEOF
18059 /* end confdefs.h. */
18061 /* Override any GCC internal prototype to avoid an error.
18062 Use char because int might match the return type of a GCC
18063 builtin and then its argument prototype would still apply. */
18064 #ifdef __cplusplus
18065 extern "C"
18066 #endif
18067 char dbus_error_init ();
18069 main ()
18071 return dbus_error_init ();
18073 return 0;
18075 _ACEOF
18076 rm -f conftest.$ac_objext conftest$ac_exeext
18077 if { (ac_try="$ac_link"
18078 case "(($ac_try" in
18079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18080 *) ac_try_echo=$ac_try;;
18081 esac
18082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18083 (eval "$ac_link") 2>conftest.er1
18084 ac_status=$?
18085 grep -v '^ *+' conftest.er1 >conftest.err
18086 rm -f conftest.er1
18087 cat conftest.err >&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } &&
18090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18091 { (case "(($ac_try" in
18092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18093 *) ac_try_echo=$ac_try;;
18094 esac
18095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18096 (eval "$ac_try") 2>&5
18097 ac_status=$?
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }; } &&
18100 { ac_try='test -s conftest$ac_exeext'
18101 { (case "(($ac_try" in
18102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18103 *) ac_try_echo=$ac_try;;
18104 esac
18105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18106 (eval "$ac_try") 2>&5
18107 ac_status=$?
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); }; }; then
18110 case "$LIBEXT" in
18111 dylib) ac_cv_lib_soname_dbus_1=`otool -L conftest$ac_exeext | grep libdbus-1\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18112 so) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest$ac_exeext | grep libdbus-1\\.so | sed -e "s/^.*\(libdbus-1\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18113 esac
18114 if test "x$ac_cv_lib_soname_dbus_1" = "x"
18115 then
18116 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18118 else
18119 echo "$as_me: failed program was:" >&5
18120 sed 's/^/| /' conftest.$ac_ext >&5
18122 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18125 rm -f core conftest.err conftest.$ac_objext \
18126 conftest$ac_exeext conftest.$ac_ext
18127 LIBS=$ac_get_soname_save_LIBS
18129 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
18130 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
18131 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18133 cat >>confdefs.h <<_ACEOF
18134 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
18135 _ACEOF
18139 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
18140 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
18141 if test "${ac_cv_lib_soname_hal+set}" = set; then
18142 echo $ECHO_N "(cached) $ECHO_C" >&6
18143 else
18144 ac_get_soname_save_LIBS=$LIBS
18145 LIBS="-lhal $LIBS"
18146 cat >conftest.$ac_ext <<_ACEOF
18147 /* confdefs.h. */
18148 _ACEOF
18149 cat confdefs.h >>conftest.$ac_ext
18150 cat >>conftest.$ac_ext <<_ACEOF
18151 /* end confdefs.h. */
18153 /* Override any GCC internal prototype to avoid an error.
18154 Use char because int might match the return type of a GCC
18155 builtin and then its argument prototype would still apply. */
18156 #ifdef __cplusplus
18157 extern "C"
18158 #endif
18159 char libhal_ctx_new ();
18161 main ()
18163 return libhal_ctx_new ();
18165 return 0;
18167 _ACEOF
18168 rm -f conftest.$ac_objext conftest$ac_exeext
18169 if { (ac_try="$ac_link"
18170 case "(($ac_try" in
18171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18172 *) ac_try_echo=$ac_try;;
18173 esac
18174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18175 (eval "$ac_link") 2>conftest.er1
18176 ac_status=$?
18177 grep -v '^ *+' conftest.er1 >conftest.err
18178 rm -f conftest.er1
18179 cat conftest.err >&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } &&
18182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
18189 ac_status=$?
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); }; } &&
18192 { ac_try='test -s conftest$ac_exeext'
18193 { (case "(($ac_try" in
18194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18195 *) ac_try_echo=$ac_try;;
18196 esac
18197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18198 (eval "$ac_try") 2>&5
18199 ac_status=$?
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); }; }; then
18202 case "$LIBEXT" in
18203 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'` ;;
18204 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18205 esac
18206 if test "x$ac_cv_lib_soname_hal" = "x"
18207 then
18208 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18210 else
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18214 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18217 rm -f core conftest.err conftest.$ac_objext \
18218 conftest$ac_exeext conftest.$ac_ext
18219 LIBS=$ac_get_soname_save_LIBS
18221 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
18222 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
18223 if test "${ac_cv_lib_soname_hal+set}" = set; then
18225 cat >>confdefs.h <<_ACEOF
18226 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
18227 _ACEOF
18231 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
18232 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
18233 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18234 echo $ECHO_N "(cached) $ECHO_C" >&6
18235 else
18236 ac_get_soname_save_LIBS=$LIBS
18237 LIBS="-ltxc_dxtn $LIBS"
18238 cat >conftest.$ac_ext <<_ACEOF
18239 /* confdefs.h. */
18240 _ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18245 /* Override any GCC internal prototype to avoid an error.
18246 Use char because int might match the return type of a GCC
18247 builtin and then its argument prototype would still apply. */
18248 #ifdef __cplusplus
18249 extern "C"
18250 #endif
18251 char fetch_2d_texel_rgba_dxt1 ();
18253 main ()
18255 return fetch_2d_texel_rgba_dxt1 ();
18257 return 0;
18259 _ACEOF
18260 rm -f conftest.$ac_objext conftest$ac_exeext
18261 if { (ac_try="$ac_link"
18262 case "(($ac_try" in
18263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18264 *) ac_try_echo=$ac_try;;
18265 esac
18266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18267 (eval "$ac_link") 2>conftest.er1
18268 ac_status=$?
18269 grep -v '^ *+' conftest.er1 >conftest.err
18270 rm -f conftest.er1
18271 cat conftest.err >&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } &&
18274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18275 { (case "(($ac_try" in
18276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18277 *) ac_try_echo=$ac_try;;
18278 esac
18279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18280 (eval "$ac_try") 2>&5
18281 ac_status=$?
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; } &&
18284 { ac_try='test -s conftest$ac_exeext'
18285 { (case "(($ac_try" in
18286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18287 *) ac_try_echo=$ac_try;;
18288 esac
18289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18290 (eval "$ac_try") 2>&5
18291 ac_status=$?
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; }; then
18294 case "$LIBEXT" in
18295 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'` ;;
18296 so) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.so | sed -e "s/^.*\(libtxc_dxtn\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18297 esac
18298 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
18299 then
18300 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18302 else
18303 echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.$ac_ext >&5
18306 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18309 rm -f core conftest.err conftest.$ac_objext \
18310 conftest$ac_exeext conftest.$ac_ext
18311 LIBS=$ac_get_soname_save_LIBS
18313 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
18314 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
18315 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18317 cat >>confdefs.h <<_ACEOF
18318 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
18319 _ACEOF
18323 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
18324 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
18325 if test "${ac_cv_lib_soname_cups+set}" = set; then
18326 echo $ECHO_N "(cached) $ECHO_C" >&6
18327 else
18328 ac_get_soname_save_LIBS=$LIBS
18329 LIBS="-lcups $LIBS"
18330 cat >conftest.$ac_ext <<_ACEOF
18331 /* confdefs.h. */
18332 _ACEOF
18333 cat confdefs.h >>conftest.$ac_ext
18334 cat >>conftest.$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18337 /* Override any GCC internal prototype to avoid an error.
18338 Use char because int might match the return type of a GCC
18339 builtin and then its argument prototype would still apply. */
18340 #ifdef __cplusplus
18341 extern "C"
18342 #endif
18343 char cupsGetDefault ();
18345 main ()
18347 return cupsGetDefault ();
18349 return 0;
18351 _ACEOF
18352 rm -f conftest.$ac_objext conftest$ac_exeext
18353 if { (ac_try="$ac_link"
18354 case "(($ac_try" in
18355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18356 *) ac_try_echo=$ac_try;;
18357 esac
18358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18359 (eval "$ac_link") 2>conftest.er1
18360 ac_status=$?
18361 grep -v '^ *+' conftest.er1 >conftest.err
18362 rm -f conftest.er1
18363 cat conftest.err >&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } &&
18366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18367 { (case "(($ac_try" in
18368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18369 *) ac_try_echo=$ac_try;;
18370 esac
18371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18372 (eval "$ac_try") 2>&5
18373 ac_status=$?
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); }; } &&
18376 { ac_try='test -s conftest$ac_exeext'
18377 { (case "(($ac_try" in
18378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18379 *) ac_try_echo=$ac_try;;
18380 esac
18381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18382 (eval "$ac_try") 2>&5
18383 ac_status=$?
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; }; then
18386 case "$LIBEXT" in
18387 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'` ;;
18388 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18389 esac
18390 if test "x$ac_cv_lib_soname_cups" = "x"
18391 then
18392 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18394 else
18395 echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.$ac_ext >&5
18398 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18401 rm -f core conftest.err conftest.$ac_objext \
18402 conftest$ac_exeext conftest.$ac_ext
18403 LIBS=$ac_get_soname_save_LIBS
18405 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
18406 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
18407 if test "${ac_cv_lib_soname_cups+set}" = set; then
18409 cat >>confdefs.h <<_ACEOF
18410 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
18411 _ACEOF
18415 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
18416 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
18417 if test "${ac_cv_lib_soname_jack+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18419 else
18420 ac_get_soname_save_LIBS=$LIBS
18421 LIBS="-ljack $LIBS"
18422 cat >conftest.$ac_ext <<_ACEOF
18423 /* confdefs.h. */
18424 _ACEOF
18425 cat confdefs.h >>conftest.$ac_ext
18426 cat >>conftest.$ac_ext <<_ACEOF
18427 /* end confdefs.h. */
18429 /* Override any GCC internal prototype to avoid an error.
18430 Use char because int might match the return type of a GCC
18431 builtin and then its argument prototype would still apply. */
18432 #ifdef __cplusplus
18433 extern "C"
18434 #endif
18435 char jack_client_new ();
18437 main ()
18439 return jack_client_new ();
18441 return 0;
18443 _ACEOF
18444 rm -f conftest.$ac_objext conftest$ac_exeext
18445 if { (ac_try="$ac_link"
18446 case "(($ac_try" in
18447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18448 *) ac_try_echo=$ac_try;;
18449 esac
18450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18451 (eval "$ac_link") 2>conftest.er1
18452 ac_status=$?
18453 grep -v '^ *+' conftest.er1 >conftest.err
18454 rm -f conftest.er1
18455 cat conftest.err >&5
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); } &&
18458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18459 { (case "(($ac_try" in
18460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18461 *) ac_try_echo=$ac_try;;
18462 esac
18463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18464 (eval "$ac_try") 2>&5
18465 ac_status=$?
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); }; } &&
18468 { ac_try='test -s conftest$ac_exeext'
18469 { (case "(($ac_try" in
18470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18471 *) ac_try_echo=$ac_try;;
18472 esac
18473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18474 (eval "$ac_try") 2>&5
18475 ac_status=$?
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); }; }; then
18478 case "$LIBEXT" in
18479 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'` ;;
18480 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18481 esac
18482 if test "x$ac_cv_lib_soname_jack" = "x"
18483 then
18484 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18486 else
18487 echo "$as_me: failed program was:" >&5
18488 sed 's/^/| /' conftest.$ac_ext >&5
18490 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18493 rm -f core conftest.err conftest.$ac_objext \
18494 conftest$ac_exeext conftest.$ac_ext
18495 LIBS=$ac_get_soname_save_LIBS
18497 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
18498 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
18499 if test "${ac_cv_lib_soname_jack+set}" = set; then
18501 cat >>confdefs.h <<_ACEOF
18502 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
18503 _ACEOF
18507 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
18508 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
18509 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18510 echo $ECHO_N "(cached) $ECHO_C" >&6
18511 else
18512 ac_get_soname_save_LIBS=$LIBS
18513 LIBS="-lfontconfig $LIBS"
18514 cat >conftest.$ac_ext <<_ACEOF
18515 /* confdefs.h. */
18516 _ACEOF
18517 cat confdefs.h >>conftest.$ac_ext
18518 cat >>conftest.$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18521 /* Override any GCC internal prototype to avoid an error.
18522 Use char because int might match the return type of a GCC
18523 builtin and then its argument prototype would still apply. */
18524 #ifdef __cplusplus
18525 extern "C"
18526 #endif
18527 char FcInit ();
18529 main ()
18531 return FcInit ();
18533 return 0;
18535 _ACEOF
18536 rm -f conftest.$ac_objext conftest$ac_exeext
18537 if { (ac_try="$ac_link"
18538 case "(($ac_try" in
18539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18540 *) ac_try_echo=$ac_try;;
18541 esac
18542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18543 (eval "$ac_link") 2>conftest.er1
18544 ac_status=$?
18545 grep -v '^ *+' conftest.er1 >conftest.err
18546 rm -f conftest.er1
18547 cat conftest.err >&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } &&
18550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18551 { (case "(($ac_try" in
18552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18553 *) ac_try_echo=$ac_try;;
18554 esac
18555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18556 (eval "$ac_try") 2>&5
18557 ac_status=$?
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); }; } &&
18560 { ac_try='test -s conftest$ac_exeext'
18561 { (case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18564 esac
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_try") 2>&5
18567 ac_status=$?
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; }; then
18570 case "$LIBEXT" in
18571 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'` ;;
18572 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18573 esac
18574 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18575 then
18576 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18578 else
18579 echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.$ac_ext >&5
18582 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18585 rm -f core conftest.err conftest.$ac_objext \
18586 conftest$ac_exeext conftest.$ac_ext
18587 LIBS=$ac_get_soname_save_LIBS
18589 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
18590 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
18591 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18593 cat >>confdefs.h <<_ACEOF
18594 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
18595 _ACEOF
18599 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
18600 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
18601 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 else
18604 ac_get_soname_save_LIBS=$LIBS
18605 LIBS="-lssl $LIBS"
18606 cat >conftest.$ac_ext <<_ACEOF
18607 /* confdefs.h. */
18608 _ACEOF
18609 cat confdefs.h >>conftest.$ac_ext
18610 cat >>conftest.$ac_ext <<_ACEOF
18611 /* end confdefs.h. */
18613 /* Override any GCC internal prototype to avoid an error.
18614 Use char because int might match the return type of a GCC
18615 builtin and then its argument prototype would still apply. */
18616 #ifdef __cplusplus
18617 extern "C"
18618 #endif
18619 char SSL_library_init ();
18621 main ()
18623 return SSL_library_init ();
18625 return 0;
18627 _ACEOF
18628 rm -f conftest.$ac_objext conftest$ac_exeext
18629 if { (ac_try="$ac_link"
18630 case "(($ac_try" in
18631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18632 *) ac_try_echo=$ac_try;;
18633 esac
18634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18635 (eval "$ac_link") 2>conftest.er1
18636 ac_status=$?
18637 grep -v '^ *+' conftest.er1 >conftest.err
18638 rm -f conftest.er1
18639 cat conftest.err >&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); } &&
18642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18643 { (case "(($ac_try" in
18644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18645 *) ac_try_echo=$ac_try;;
18646 esac
18647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18648 (eval "$ac_try") 2>&5
18649 ac_status=$?
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); }; } &&
18652 { ac_try='test -s conftest$ac_exeext'
18653 { (case "(($ac_try" in
18654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18655 *) ac_try_echo=$ac_try;;
18656 esac
18657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18658 (eval "$ac_try") 2>&5
18659 ac_status=$?
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); }; }; then
18662 case "$LIBEXT" in
18663 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'` ;;
18664 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18665 esac
18666 if test "x$ac_cv_lib_soname_ssl" = "x"
18667 then
18668 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18670 else
18671 echo "$as_me: failed program was:" >&5
18672 sed 's/^/| /' conftest.$ac_ext >&5
18674 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18677 rm -f core conftest.err conftest.$ac_objext \
18678 conftest$ac_exeext conftest.$ac_ext
18679 LIBS=$ac_get_soname_save_LIBS
18681 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
18682 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
18683 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18685 cat >>confdefs.h <<_ACEOF
18686 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
18687 _ACEOF
18691 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
18692 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
18693 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18694 echo $ECHO_N "(cached) $ECHO_C" >&6
18695 else
18696 ac_get_soname_save_LIBS=$LIBS
18697 LIBS="-lcrypto $LIBS"
18698 cat >conftest.$ac_ext <<_ACEOF
18699 /* confdefs.h. */
18700 _ACEOF
18701 cat confdefs.h >>conftest.$ac_ext
18702 cat >>conftest.$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18705 /* Override any GCC internal prototype to avoid an error.
18706 Use char because int might match the return type of a GCC
18707 builtin and then its argument prototype would still apply. */
18708 #ifdef __cplusplus
18709 extern "C"
18710 #endif
18711 char BIO_new_socket ();
18713 main ()
18715 return BIO_new_socket ();
18717 return 0;
18719 _ACEOF
18720 rm -f conftest.$ac_objext conftest$ac_exeext
18721 if { (ac_try="$ac_link"
18722 case "(($ac_try" in
18723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18724 *) ac_try_echo=$ac_try;;
18725 esac
18726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18727 (eval "$ac_link") 2>conftest.er1
18728 ac_status=$?
18729 grep -v '^ *+' conftest.er1 >conftest.err
18730 rm -f conftest.er1
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
18734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18735 { (case "(($ac_try" in
18736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737 *) ac_try_echo=$ac_try;;
18738 esac
18739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18740 (eval "$ac_try") 2>&5
18741 ac_status=$?
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; } &&
18744 { ac_try='test -s conftest$ac_exeext'
18745 { (case "(($ac_try" in
18746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18747 *) ac_try_echo=$ac_try;;
18748 esac
18749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18750 (eval "$ac_try") 2>&5
18751 ac_status=$?
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); }; }; then
18754 case "$LIBEXT" in
18755 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'` ;;
18756 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18757 esac
18758 if test "x$ac_cv_lib_soname_crypto" = "x"
18759 then
18760 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18762 else
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.$ac_ext >&5
18766 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18769 rm -f core conftest.err conftest.$ac_objext \
18770 conftest$ac_exeext conftest.$ac_ext
18771 LIBS=$ac_get_soname_save_LIBS
18773 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
18774 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
18775 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18777 cat >>confdefs.h <<_ACEOF
18778 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
18779 _ACEOF
18783 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
18784 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
18785 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18786 echo $ECHO_N "(cached) $ECHO_C" >&6
18787 else
18788 ac_get_soname_save_LIBS=$LIBS
18789 LIBS="-lncurses $LIBS"
18790 cat >conftest.$ac_ext <<_ACEOF
18791 /* confdefs.h. */
18792 _ACEOF
18793 cat confdefs.h >>conftest.$ac_ext
18794 cat >>conftest.$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18797 /* Override any GCC internal prototype to avoid an error.
18798 Use char because int might match the return type of a GCC
18799 builtin and then its argument prototype would still apply. */
18800 #ifdef __cplusplus
18801 extern "C"
18802 #endif
18803 char waddch ();
18805 main ()
18807 return waddch ();
18809 return 0;
18811 _ACEOF
18812 rm -f conftest.$ac_objext conftest$ac_exeext
18813 if { (ac_try="$ac_link"
18814 case "(($ac_try" in
18815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18816 *) ac_try_echo=$ac_try;;
18817 esac
18818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18819 (eval "$ac_link") 2>conftest.er1
18820 ac_status=$?
18821 grep -v '^ *+' conftest.er1 >conftest.err
18822 rm -f conftest.er1
18823 cat conftest.err >&5
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); } &&
18826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18827 { (case "(($ac_try" in
18828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18829 *) ac_try_echo=$ac_try;;
18830 esac
18831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18832 (eval "$ac_try") 2>&5
18833 ac_status=$?
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; } &&
18836 { ac_try='test -s conftest$ac_exeext'
18837 { (case "(($ac_try" in
18838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18839 *) ac_try_echo=$ac_try;;
18840 esac
18841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18842 (eval "$ac_try") 2>&5
18843 ac_status=$?
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); }; }; then
18846 case "$LIBEXT" in
18847 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'` ;;
18848 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18849 esac
18850 if test "x$ac_cv_lib_soname_ncurses" = "x"
18851 then
18852 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18854 else
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.$ac_ext >&5
18858 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18861 rm -f core conftest.err conftest.$ac_objext \
18862 conftest$ac_exeext conftest.$ac_ext
18863 LIBS=$ac_get_soname_save_LIBS
18865 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
18866 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
18867 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18869 cat >>confdefs.h <<_ACEOF
18870 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
18871 _ACEOF
18875 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
18876 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
18877 if test "${ac_cv_lib_soname_curses+set}" = set; then
18878 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 else
18880 ac_get_soname_save_LIBS=$LIBS
18881 LIBS="-lcurses $LIBS"
18882 cat >conftest.$ac_ext <<_ACEOF
18883 /* confdefs.h. */
18884 _ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18889 /* Override any GCC internal prototype to avoid an error.
18890 Use char because int might match the return type of a GCC
18891 builtin and then its argument prototype would still apply. */
18892 #ifdef __cplusplus
18893 extern "C"
18894 #endif
18895 char waddch ();
18897 main ()
18899 return waddch ();
18901 return 0;
18903 _ACEOF
18904 rm -f conftest.$ac_objext conftest$ac_exeext
18905 if { (ac_try="$ac_link"
18906 case "(($ac_try" in
18907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18908 *) ac_try_echo=$ac_try;;
18909 esac
18910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18911 (eval "$ac_link") 2>conftest.er1
18912 ac_status=$?
18913 grep -v '^ *+' conftest.er1 >conftest.err
18914 rm -f conftest.er1
18915 cat conftest.err >&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); } &&
18918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18919 { (case "(($ac_try" in
18920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18921 *) ac_try_echo=$ac_try;;
18922 esac
18923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18924 (eval "$ac_try") 2>&5
18925 ac_status=$?
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); }; } &&
18928 { ac_try='test -s conftest$ac_exeext'
18929 { (case "(($ac_try" in
18930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18931 *) ac_try_echo=$ac_try;;
18932 esac
18933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18934 (eval "$ac_try") 2>&5
18935 ac_status=$?
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); }; }; then
18938 case "$LIBEXT" in
18939 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'` ;;
18940 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18941 esac
18942 if test "x$ac_cv_lib_soname_curses" = "x"
18943 then
18944 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18946 else
18947 echo "$as_me: failed program was:" >&5
18948 sed 's/^/| /' conftest.$ac_ext >&5
18950 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18953 rm -f core conftest.err conftest.$ac_objext \
18954 conftest$ac_exeext conftest.$ac_ext
18955 LIBS=$ac_get_soname_save_LIBS
18957 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
18958 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
18959 if test "${ac_cv_lib_soname_curses+set}" = set; then
18961 cat >>confdefs.h <<_ACEOF
18962 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
18963 _ACEOF
18967 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
18968 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
18969 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18970 echo $ECHO_N "(cached) $ECHO_C" >&6
18971 else
18972 ac_get_soname_save_LIBS=$LIBS
18973 LIBS="-ljpeg $LIBS"
18974 cat >conftest.$ac_ext <<_ACEOF
18975 /* confdefs.h. */
18976 _ACEOF
18977 cat confdefs.h >>conftest.$ac_ext
18978 cat >>conftest.$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18981 /* Override any GCC internal prototype to avoid an error.
18982 Use char because int might match the return type of a GCC
18983 builtin and then its argument prototype would still apply. */
18984 #ifdef __cplusplus
18985 extern "C"
18986 #endif
18987 char jpeg_start_decompress ();
18989 main ()
18991 return jpeg_start_decompress ();
18993 return 0;
18995 _ACEOF
18996 rm -f conftest.$ac_objext conftest$ac_exeext
18997 if { (ac_try="$ac_link"
18998 case "(($ac_try" in
18999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19000 *) ac_try_echo=$ac_try;;
19001 esac
19002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19003 (eval "$ac_link") 2>conftest.er1
19004 ac_status=$?
19005 grep -v '^ *+' conftest.er1 >conftest.err
19006 rm -f conftest.er1
19007 cat conftest.err >&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } &&
19010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19011 { (case "(($ac_try" in
19012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19013 *) ac_try_echo=$ac_try;;
19014 esac
19015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19016 (eval "$ac_try") 2>&5
19017 ac_status=$?
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; } &&
19020 { ac_try='test -s conftest$ac_exeext'
19021 { (case "(($ac_try" in
19022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19023 *) ac_try_echo=$ac_try;;
19024 esac
19025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19026 (eval "$ac_try") 2>&5
19027 ac_status=$?
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); }; }; then
19030 case "$LIBEXT" in
19031 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'` ;;
19032 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19033 esac
19034 if test "x$ac_cv_lib_soname_jpeg" = "x"
19035 then
19036 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
19038 else
19039 echo "$as_me: failed program was:" >&5
19040 sed 's/^/| /' conftest.$ac_ext >&5
19042 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
19045 rm -f core conftest.err conftest.$ac_objext \
19046 conftest$ac_exeext conftest.$ac_ext
19047 LIBS=$ac_get_soname_save_LIBS
19049 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
19050 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
19051 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
19053 cat >>confdefs.h <<_ACEOF
19054 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
19055 _ACEOF
19059 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
19060 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
19061 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19062 echo $ECHO_N "(cached) $ECHO_C" >&6
19063 else
19064 ac_get_soname_save_LIBS=$LIBS
19065 LIBS="-lungif $LIBS"
19066 cat >conftest.$ac_ext <<_ACEOF
19067 /* confdefs.h. */
19068 _ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19073 /* Override any GCC internal prototype to avoid an error.
19074 Use char because int might match the return type of a GCC
19075 builtin and then its argument prototype would still apply. */
19076 #ifdef __cplusplus
19077 extern "C"
19078 #endif
19079 char DGifOpen ();
19081 main ()
19083 return DGifOpen ();
19085 return 0;
19087 _ACEOF
19088 rm -f conftest.$ac_objext conftest$ac_exeext
19089 if { (ac_try="$ac_link"
19090 case "(($ac_try" in
19091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19092 *) ac_try_echo=$ac_try;;
19093 esac
19094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19095 (eval "$ac_link") 2>conftest.er1
19096 ac_status=$?
19097 grep -v '^ *+' conftest.er1 >conftest.err
19098 rm -f conftest.er1
19099 cat conftest.err >&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); } &&
19102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19103 { (case "(($ac_try" in
19104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19105 *) ac_try_echo=$ac_try;;
19106 esac
19107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19108 (eval "$ac_try") 2>&5
19109 ac_status=$?
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); }; } &&
19112 { ac_try='test -s conftest$ac_exeext'
19113 { (case "(($ac_try" in
19114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19115 *) ac_try_echo=$ac_try;;
19116 esac
19117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19118 (eval "$ac_try") 2>&5
19119 ac_status=$?
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); }; }; then
19122 case "$LIBEXT" in
19123 dylib) ac_cv_lib_soname_ungif=`otool -L conftest$ac_exeext | grep libungif\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libungif\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
19124 so) ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.so | sed -e "s/^.*\(libungif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19125 esac
19126 if test "x$ac_cv_lib_soname_ungif" = "x"
19127 then
19128 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
19130 else
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19134 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
19137 rm -f core conftest.err conftest.$ac_objext \
19138 conftest$ac_exeext conftest.$ac_ext
19139 LIBS=$ac_get_soname_save_LIBS
19141 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
19142 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
19143 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19145 cat >>confdefs.h <<_ACEOF
19146 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
19147 _ACEOF
19151 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
19152 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
19153 if test "${ac_cv_lib_soname_gif+set}" = set; then
19154 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 else
19156 ac_get_soname_save_LIBS=$LIBS
19157 LIBS="-lgif $LIBS"
19158 cat >conftest.$ac_ext <<_ACEOF
19159 /* confdefs.h. */
19160 _ACEOF
19161 cat confdefs.h >>conftest.$ac_ext
19162 cat >>conftest.$ac_ext <<_ACEOF
19163 /* end confdefs.h. */
19165 /* Override any GCC internal prototype to avoid an error.
19166 Use char because int might match the return type of a GCC
19167 builtin and then its argument prototype would still apply. */
19168 #ifdef __cplusplus
19169 extern "C"
19170 #endif
19171 char DGifOpen ();
19173 main ()
19175 return DGifOpen ();
19177 return 0;
19179 _ACEOF
19180 rm -f conftest.$ac_objext conftest$ac_exeext
19181 if { (ac_try="$ac_link"
19182 case "(($ac_try" in
19183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19184 *) ac_try_echo=$ac_try;;
19185 esac
19186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19187 (eval "$ac_link") 2>conftest.er1
19188 ac_status=$?
19189 grep -v '^ *+' conftest.er1 >conftest.err
19190 rm -f conftest.er1
19191 cat conftest.err >&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } &&
19194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19195 { (case "(($ac_try" in
19196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19197 *) ac_try_echo=$ac_try;;
19198 esac
19199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19200 (eval "$ac_try") 2>&5
19201 ac_status=$?
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; } &&
19204 { ac_try='test -s conftest$ac_exeext'
19205 { (case "(($ac_try" in
19206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19207 *) ac_try_echo=$ac_try;;
19208 esac
19209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_try") 2>&5
19211 ac_status=$?
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; }; then
19214 case "$LIBEXT" in
19215 dylib) ac_cv_lib_soname_gif=`otool -L conftest$ac_exeext | grep libgif\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libgif\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
19216 so) ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.so | sed -e "s/^.*\(libgif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19217 esac
19218 if test "x$ac_cv_lib_soname_gif" = "x"
19219 then
19220 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19222 else
19223 echo "$as_me: failed program was:" >&5
19224 sed 's/^/| /' conftest.$ac_ext >&5
19226 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19229 rm -f core conftest.err conftest.$ac_objext \
19230 conftest$ac_exeext conftest.$ac_ext
19231 LIBS=$ac_get_soname_save_LIBS
19233 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
19234 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
19235 if test "${ac_cv_lib_soname_gif+set}" = set; then
19237 cat >>confdefs.h <<_ACEOF
19238 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
19239 _ACEOF
19243 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
19244 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
19245 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19246 echo $ECHO_N "(cached) $ECHO_C" >&6
19247 else
19248 ac_get_soname_save_LIBS=$LIBS
19249 LIBS="-lcapi20 $LIBS"
19250 cat >conftest.$ac_ext <<_ACEOF
19251 /* confdefs.h. */
19252 _ACEOF
19253 cat confdefs.h >>conftest.$ac_ext
19254 cat >>conftest.$ac_ext <<_ACEOF
19255 /* end confdefs.h. */
19257 /* Override any GCC internal prototype to avoid an error.
19258 Use char because int might match the return type of a GCC
19259 builtin and then its argument prototype would still apply. */
19260 #ifdef __cplusplus
19261 extern "C"
19262 #endif
19263 char capi20_isinstalled ();
19265 main ()
19267 return capi20_isinstalled ();
19269 return 0;
19271 _ACEOF
19272 rm -f conftest.$ac_objext conftest$ac_exeext
19273 if { (ac_try="$ac_link"
19274 case "(($ac_try" in
19275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19276 *) ac_try_echo=$ac_try;;
19277 esac
19278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19279 (eval "$ac_link") 2>conftest.er1
19280 ac_status=$?
19281 grep -v '^ *+' conftest.er1 >conftest.err
19282 rm -f conftest.er1
19283 cat conftest.err >&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); } &&
19286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19287 { (case "(($ac_try" in
19288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19289 *) ac_try_echo=$ac_try;;
19290 esac
19291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19292 (eval "$ac_try") 2>&5
19293 ac_status=$?
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); }; } &&
19296 { ac_try='test -s conftest$ac_exeext'
19297 { (case "(($ac_try" in
19298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19299 *) ac_try_echo=$ac_try;;
19300 esac
19301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19302 (eval "$ac_try") 2>&5
19303 ac_status=$?
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; }; then
19306 case "$LIBEXT" in
19307 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'` ;;
19308 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19309 esac
19310 if test "x$ac_cv_lib_soname_capi20" = "x"
19311 then
19312 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19314 else
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19318 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19321 rm -f core conftest.err conftest.$ac_objext \
19322 conftest$ac_exeext conftest.$ac_ext
19323 LIBS=$ac_get_soname_save_LIBS
19325 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
19326 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
19327 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19329 cat >>confdefs.h <<_ACEOF
19330 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
19331 _ACEOF
19405 for ac_func in \
19406 _lwp_create \
19407 _lwp_self \
19408 _pclose \
19409 _popen \
19410 _snprintf \
19411 _spawnvp \
19412 _stricmp \
19413 _strnicmp \
19414 _vsnprintf \
19415 asctime_r \
19416 chsize \
19417 clone \
19418 epoll_create \
19419 ffs \
19420 finite \
19421 fork \
19422 fpclass \
19423 fstatfs \
19424 fstatvfs \
19425 ftruncate \
19426 futimes \
19427 futimesat \
19428 getaddrinfo \
19429 getnameinfo \
19430 getnetbyname \
19431 getopt_long \
19432 getpagesize \
19433 getprotobyname \
19434 getprotobynumber \
19435 getpwuid \
19436 getservbyport \
19437 gettid \
19438 gettimeofday \
19439 getuid \
19440 inet_network \
19441 kqueue \
19442 lstat \
19443 memmove \
19444 mmap \
19445 pclose \
19446 popen \
19447 prctl \
19448 pread \
19449 pwrite \
19450 readlink \
19451 rfork \
19452 sched_yield \
19453 select \
19454 sendmsg \
19455 setrlimit \
19456 settimeofday \
19457 sigaltstack \
19458 sigprocmask \
19459 snprintf \
19460 spawnvp \
19461 statfs \
19462 statvfs \
19463 strcasecmp \
19464 strerror \
19465 strncasecmp \
19466 tcgetattr \
19467 timegm \
19468 usleep \
19469 vsnprintf \
19470 wait4 \
19471 waitpid \
19474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19475 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19477 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19478 echo $ECHO_N "(cached) $ECHO_C" >&6
19479 else
19480 cat >conftest.$ac_ext <<_ACEOF
19481 /* confdefs.h. */
19482 _ACEOF
19483 cat confdefs.h >>conftest.$ac_ext
19484 cat >>conftest.$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19488 #define $ac_func innocuous_$ac_func
19490 /* System header to define __stub macros and hopefully few prototypes,
19491 which can conflict with char $ac_func (); below.
19492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19493 <limits.h> exists even on freestanding compilers. */
19495 #ifdef __STDC__
19496 # include <limits.h>
19497 #else
19498 # include <assert.h>
19499 #endif
19501 #undef $ac_func
19503 /* Override any GCC internal prototype to avoid an error.
19504 Use char because int might match the return type of a GCC
19505 builtin and then its argument prototype would still apply. */
19506 #ifdef __cplusplus
19507 extern "C"
19508 #endif
19509 char $ac_func ();
19510 /* The GNU C library defines this for functions which it implements
19511 to always fail with ENOSYS. Some functions are actually named
19512 something starting with __ and the normal name is an alias. */
19513 #if defined __stub_$ac_func || defined __stub___$ac_func
19514 choke me
19515 #endif
19518 main ()
19520 return $ac_func ();
19522 return 0;
19524 _ACEOF
19525 rm -f conftest.$ac_objext conftest$ac_exeext
19526 if { (ac_try="$ac_link"
19527 case "(($ac_try" in
19528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19529 *) ac_try_echo=$ac_try;;
19530 esac
19531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19532 (eval "$ac_link") 2>conftest.er1
19533 ac_status=$?
19534 grep -v '^ *+' conftest.er1 >conftest.err
19535 rm -f conftest.er1
19536 cat conftest.err >&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); } &&
19539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19540 { (case "(($ac_try" in
19541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19542 *) ac_try_echo=$ac_try;;
19543 esac
19544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19545 (eval "$ac_try") 2>&5
19546 ac_status=$?
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); }; } &&
19549 { ac_try='test -s conftest$ac_exeext'
19550 { (case "(($ac_try" in
19551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19552 *) ac_try_echo=$ac_try;;
19553 esac
19554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19555 (eval "$ac_try") 2>&5
19556 ac_status=$?
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; }; then
19559 eval "$as_ac_var=yes"
19560 else
19561 echo "$as_me: failed program was:" >&5
19562 sed 's/^/| /' conftest.$ac_ext >&5
19564 eval "$as_ac_var=no"
19567 rm -f core conftest.err conftest.$ac_objext \
19568 conftest$ac_exeext conftest.$ac_ext
19570 ac_res=`eval echo '${'$as_ac_var'}'`
19571 { echo "$as_me:$LINENO: result: $ac_res" >&5
19572 echo "${ECHO_T}$ac_res" >&6; }
19573 if test `eval echo '${'$as_ac_var'}'` = yes; then
19574 cat >>confdefs.h <<_ACEOF
19575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19576 _ACEOF
19579 done
19584 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19585 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19586 if test "${ac_cv_c_const+set}" = set; then
19587 echo $ECHO_N "(cached) $ECHO_C" >&6
19588 else
19589 cat >conftest.$ac_ext <<_ACEOF
19590 /* confdefs.h. */
19591 _ACEOF
19592 cat confdefs.h >>conftest.$ac_ext
19593 cat >>conftest.$ac_ext <<_ACEOF
19594 /* end confdefs.h. */
19597 main ()
19599 /* FIXME: Include the comments suggested by Paul. */
19600 #ifndef __cplusplus
19601 /* Ultrix mips cc rejects this. */
19602 typedef int charset[2];
19603 const charset x;
19604 /* SunOS 4.1.1 cc rejects this. */
19605 char const *const *ccp;
19606 char **p;
19607 /* NEC SVR4.0.2 mips cc rejects this. */
19608 struct point {int x, y;};
19609 static struct point const zero = {0,0};
19610 /* AIX XL C 1.02.0.0 rejects this.
19611 It does not let you subtract one const X* pointer from another in
19612 an arm of an if-expression whose if-part is not a constant
19613 expression */
19614 const char *g = "string";
19615 ccp = &g + (g ? g-g : 0);
19616 /* HPUX 7.0 cc rejects these. */
19617 ++ccp;
19618 p = (char**) ccp;
19619 ccp = (char const *const *) p;
19620 { /* SCO 3.2v4 cc rejects this. */
19621 char *t;
19622 char const *s = 0 ? (char *) 0 : (char const *) 0;
19624 *t++ = 0;
19625 if (s) return 0;
19627 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19628 int x[] = {25, 17};
19629 const int *foo = &x[0];
19630 ++foo;
19632 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19633 typedef const int *iptr;
19634 iptr p = 0;
19635 ++p;
19637 { /* AIX XL C 1.02.0.0 rejects this saying
19638 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19639 struct s { int j; const int *ap[3]; };
19640 struct s *b; b->j = 5;
19642 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19643 const int foo = 10;
19644 if (!foo) return 0;
19646 return !x[0] && !zero.x;
19647 #endif
19650 return 0;
19652 _ACEOF
19653 rm -f conftest.$ac_objext
19654 if { (ac_try="$ac_compile"
19655 case "(($ac_try" in
19656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19657 *) ac_try_echo=$ac_try;;
19658 esac
19659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19660 (eval "$ac_compile") 2>conftest.er1
19661 ac_status=$?
19662 grep -v '^ *+' conftest.er1 >conftest.err
19663 rm -f conftest.er1
19664 cat conftest.err >&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } &&
19667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19668 { (case "(($ac_try" in
19669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19670 *) ac_try_echo=$ac_try;;
19671 esac
19672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19673 (eval "$ac_try") 2>&5
19674 ac_status=$?
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; } &&
19677 { ac_try='test -s conftest.$ac_objext'
19678 { (case "(($ac_try" in
19679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19680 *) ac_try_echo=$ac_try;;
19681 esac
19682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19683 (eval "$ac_try") 2>&5
19684 ac_status=$?
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); }; }; then
19687 ac_cv_c_const=yes
19688 else
19689 echo "$as_me: failed program was:" >&5
19690 sed 's/^/| /' conftest.$ac_ext >&5
19692 ac_cv_c_const=no
19695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19697 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19698 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19699 if test $ac_cv_c_const = no; then
19701 cat >>confdefs.h <<\_ACEOF
19702 #define const
19703 _ACEOF
19707 { echo "$as_me:$LINENO: checking for inline" >&5
19708 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19709 if test "${ac_cv_c_inline+set}" = set; then
19710 echo $ECHO_N "(cached) $ECHO_C" >&6
19711 else
19712 ac_cv_c_inline=no
19713 for ac_kw in inline __inline__ __inline; do
19714 cat >conftest.$ac_ext <<_ACEOF
19715 /* confdefs.h. */
19716 _ACEOF
19717 cat confdefs.h >>conftest.$ac_ext
19718 cat >>conftest.$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 #ifndef __cplusplus
19721 typedef int foo_t;
19722 static $ac_kw foo_t static_foo () {return 0; }
19723 $ac_kw foo_t foo () {return 0; }
19724 #endif
19726 _ACEOF
19727 rm -f conftest.$ac_objext
19728 if { (ac_try="$ac_compile"
19729 case "(($ac_try" in
19730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19731 *) ac_try_echo=$ac_try;;
19732 esac
19733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19734 (eval "$ac_compile") 2>conftest.er1
19735 ac_status=$?
19736 grep -v '^ *+' conftest.er1 >conftest.err
19737 rm -f conftest.er1
19738 cat conftest.err >&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); } &&
19741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19742 { (case "(($ac_try" in
19743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19744 *) ac_try_echo=$ac_try;;
19745 esac
19746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19747 (eval "$ac_try") 2>&5
19748 ac_status=$?
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; } &&
19751 { ac_try='test -s conftest.$ac_objext'
19752 { (case "(($ac_try" in
19753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19754 *) ac_try_echo=$ac_try;;
19755 esac
19756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19757 (eval "$ac_try") 2>&5
19758 ac_status=$?
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); }; }; then
19761 ac_cv_c_inline=$ac_kw
19762 else
19763 echo "$as_me: failed program was:" >&5
19764 sed 's/^/| /' conftest.$ac_ext >&5
19769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19770 test "$ac_cv_c_inline" != no && break
19771 done
19774 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19775 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19778 case $ac_cv_c_inline in
19779 inline | yes) ;;
19781 case $ac_cv_c_inline in
19782 no) ac_val=;;
19783 *) ac_val=$ac_cv_c_inline;;
19784 esac
19785 cat >>confdefs.h <<_ACEOF
19786 #ifndef __cplusplus
19787 #define inline $ac_val
19788 #endif
19789 _ACEOF
19791 esac
19793 { echo "$as_me:$LINENO: checking for mode_t" >&5
19794 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19795 if test "${ac_cv_type_mode_t+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19797 else
19798 cat >conftest.$ac_ext <<_ACEOF
19799 /* confdefs.h. */
19800 _ACEOF
19801 cat confdefs.h >>conftest.$ac_ext
19802 cat >>conftest.$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19804 $ac_includes_default
19805 typedef mode_t ac__type_new_;
19807 main ()
19809 if ((ac__type_new_ *) 0)
19810 return 0;
19811 if (sizeof (ac__type_new_))
19812 return 0;
19814 return 0;
19816 _ACEOF
19817 rm -f conftest.$ac_objext
19818 if { (ac_try="$ac_compile"
19819 case "(($ac_try" in
19820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19821 *) ac_try_echo=$ac_try;;
19822 esac
19823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19824 (eval "$ac_compile") 2>conftest.er1
19825 ac_status=$?
19826 grep -v '^ *+' conftest.er1 >conftest.err
19827 rm -f conftest.er1
19828 cat conftest.err >&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); } &&
19831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19832 { (case "(($ac_try" in
19833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19834 *) ac_try_echo=$ac_try;;
19835 esac
19836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19837 (eval "$ac_try") 2>&5
19838 ac_status=$?
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try='test -s conftest.$ac_objext'
19842 { (case "(($ac_try" in
19843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19844 *) ac_try_echo=$ac_try;;
19845 esac
19846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19847 (eval "$ac_try") 2>&5
19848 ac_status=$?
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; }; then
19851 ac_cv_type_mode_t=yes
19852 else
19853 echo "$as_me: failed program was:" >&5
19854 sed 's/^/| /' conftest.$ac_ext >&5
19856 ac_cv_type_mode_t=no
19859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19861 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19862 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19863 if test $ac_cv_type_mode_t = yes; then
19865 cat >>confdefs.h <<_ACEOF
19866 #define HAVE_MODE_T 1
19867 _ACEOF
19871 { echo "$as_me:$LINENO: checking for off_t" >&5
19872 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19873 if test "${ac_cv_type_off_t+set}" = set; then
19874 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 else
19876 cat >conftest.$ac_ext <<_ACEOF
19877 /* confdefs.h. */
19878 _ACEOF
19879 cat confdefs.h >>conftest.$ac_ext
19880 cat >>conftest.$ac_ext <<_ACEOF
19881 /* end confdefs.h. */
19882 $ac_includes_default
19883 typedef off_t ac__type_new_;
19885 main ()
19887 if ((ac__type_new_ *) 0)
19888 return 0;
19889 if (sizeof (ac__type_new_))
19890 return 0;
19892 return 0;
19894 _ACEOF
19895 rm -f conftest.$ac_objext
19896 if { (ac_try="$ac_compile"
19897 case "(($ac_try" in
19898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19899 *) ac_try_echo=$ac_try;;
19900 esac
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19902 (eval "$ac_compile") 2>conftest.er1
19903 ac_status=$?
19904 grep -v '^ *+' conftest.er1 >conftest.err
19905 rm -f conftest.er1
19906 cat conftest.err >&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } &&
19909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19910 { (case "(($ac_try" in
19911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19912 *) ac_try_echo=$ac_try;;
19913 esac
19914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19915 (eval "$ac_try") 2>&5
19916 ac_status=$?
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; } &&
19919 { ac_try='test -s conftest.$ac_objext'
19920 { (case "(($ac_try" in
19921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19922 *) ac_try_echo=$ac_try;;
19923 esac
19924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19925 (eval "$ac_try") 2>&5
19926 ac_status=$?
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; }; then
19929 ac_cv_type_off_t=yes
19930 else
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19934 ac_cv_type_off_t=no
19937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19939 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19940 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19941 if test $ac_cv_type_off_t = yes; then
19943 cat >>confdefs.h <<_ACEOF
19944 #define HAVE_OFF_T 1
19945 _ACEOF
19949 { echo "$as_me:$LINENO: checking for pid_t" >&5
19950 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19951 if test "${ac_cv_type_pid_t+set}" = set; then
19952 echo $ECHO_N "(cached) $ECHO_C" >&6
19953 else
19954 cat >conftest.$ac_ext <<_ACEOF
19955 /* confdefs.h. */
19956 _ACEOF
19957 cat confdefs.h >>conftest.$ac_ext
19958 cat >>conftest.$ac_ext <<_ACEOF
19959 /* end confdefs.h. */
19960 $ac_includes_default
19961 typedef pid_t ac__type_new_;
19963 main ()
19965 if ((ac__type_new_ *) 0)
19966 return 0;
19967 if (sizeof (ac__type_new_))
19968 return 0;
19970 return 0;
19972 _ACEOF
19973 rm -f conftest.$ac_objext
19974 if { (ac_try="$ac_compile"
19975 case "(($ac_try" in
19976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19977 *) ac_try_echo=$ac_try;;
19978 esac
19979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19980 (eval "$ac_compile") 2>conftest.er1
19981 ac_status=$?
19982 grep -v '^ *+' conftest.er1 >conftest.err
19983 rm -f conftest.er1
19984 cat conftest.err >&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); } &&
19987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19988 { (case "(($ac_try" in
19989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19990 *) ac_try_echo=$ac_try;;
19991 esac
19992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19993 (eval "$ac_try") 2>&5
19994 ac_status=$?
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; } &&
19997 { ac_try='test -s conftest.$ac_objext'
19998 { (case "(($ac_try" in
19999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20000 *) ac_try_echo=$ac_try;;
20001 esac
20002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20003 (eval "$ac_try") 2>&5
20004 ac_status=$?
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); }; }; then
20007 ac_cv_type_pid_t=yes
20008 else
20009 echo "$as_me: failed program was:" >&5
20010 sed 's/^/| /' conftest.$ac_ext >&5
20012 ac_cv_type_pid_t=no
20015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20017 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20018 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
20019 if test $ac_cv_type_pid_t = yes; then
20021 cat >>confdefs.h <<_ACEOF
20022 #define HAVE_PID_T 1
20023 _ACEOF
20027 { echo "$as_me:$LINENO: checking for size_t" >&5
20028 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20029 if test "${ac_cv_type_size_t+set}" = set; then
20030 echo $ECHO_N "(cached) $ECHO_C" >&6
20031 else
20032 cat >conftest.$ac_ext <<_ACEOF
20033 /* confdefs.h. */
20034 _ACEOF
20035 cat confdefs.h >>conftest.$ac_ext
20036 cat >>conftest.$ac_ext <<_ACEOF
20037 /* end confdefs.h. */
20038 $ac_includes_default
20039 typedef size_t ac__type_new_;
20041 main ()
20043 if ((ac__type_new_ *) 0)
20044 return 0;
20045 if (sizeof (ac__type_new_))
20046 return 0;
20048 return 0;
20050 _ACEOF
20051 rm -f conftest.$ac_objext
20052 if { (ac_try="$ac_compile"
20053 case "(($ac_try" in
20054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20055 *) ac_try_echo=$ac_try;;
20056 esac
20057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20058 (eval "$ac_compile") 2>conftest.er1
20059 ac_status=$?
20060 grep -v '^ *+' conftest.er1 >conftest.err
20061 rm -f conftest.er1
20062 cat conftest.err >&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); } &&
20065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20066 { (case "(($ac_try" in
20067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20068 *) ac_try_echo=$ac_try;;
20069 esac
20070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20071 (eval "$ac_try") 2>&5
20072 ac_status=$?
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); }; } &&
20075 { ac_try='test -s conftest.$ac_objext'
20076 { (case "(($ac_try" in
20077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20078 *) ac_try_echo=$ac_try;;
20079 esac
20080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20081 (eval "$ac_try") 2>&5
20082 ac_status=$?
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); }; }; then
20085 ac_cv_type_size_t=yes
20086 else
20087 echo "$as_me: failed program was:" >&5
20088 sed 's/^/| /' conftest.$ac_ext >&5
20090 ac_cv_type_size_t=no
20093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20095 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20096 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20097 if test $ac_cv_type_size_t = yes; then
20099 cat >>confdefs.h <<_ACEOF
20100 #define HAVE_SIZE_T 1
20101 _ACEOF
20105 { echo "$as_me:$LINENO: checking for ssize_t" >&5
20106 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
20107 if test "${ac_cv_type_ssize_t+set}" = set; then
20108 echo $ECHO_N "(cached) $ECHO_C" >&6
20109 else
20110 cat >conftest.$ac_ext <<_ACEOF
20111 /* confdefs.h. */
20112 _ACEOF
20113 cat confdefs.h >>conftest.$ac_ext
20114 cat >>conftest.$ac_ext <<_ACEOF
20115 /* end confdefs.h. */
20116 $ac_includes_default
20117 typedef ssize_t ac__type_new_;
20119 main ()
20121 if ((ac__type_new_ *) 0)
20122 return 0;
20123 if (sizeof (ac__type_new_))
20124 return 0;
20126 return 0;
20128 _ACEOF
20129 rm -f conftest.$ac_objext
20130 if { (ac_try="$ac_compile"
20131 case "(($ac_try" in
20132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20133 *) ac_try_echo=$ac_try;;
20134 esac
20135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20136 (eval "$ac_compile") 2>conftest.er1
20137 ac_status=$?
20138 grep -v '^ *+' conftest.er1 >conftest.err
20139 rm -f conftest.er1
20140 cat conftest.err >&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); } &&
20143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20144 { (case "(($ac_try" in
20145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20146 *) ac_try_echo=$ac_try;;
20147 esac
20148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20149 (eval "$ac_try") 2>&5
20150 ac_status=$?
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); }; } &&
20153 { ac_try='test -s conftest.$ac_objext'
20154 { (case "(($ac_try" in
20155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20156 *) ac_try_echo=$ac_try;;
20157 esac
20158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20159 (eval "$ac_try") 2>&5
20160 ac_status=$?
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); }; }; then
20163 ac_cv_type_ssize_t=yes
20164 else
20165 echo "$as_me: failed program was:" >&5
20166 sed 's/^/| /' conftest.$ac_ext >&5
20168 ac_cv_type_ssize_t=no
20171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20173 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
20174 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
20175 if test $ac_cv_type_ssize_t = yes; then
20177 cat >>confdefs.h <<_ACEOF
20178 #define HAVE_SSIZE_T 1
20179 _ACEOF
20183 { echo "$as_me:$LINENO: checking for long long" >&5
20184 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20185 if test "${ac_cv_type_long_long+set}" = set; then
20186 echo $ECHO_N "(cached) $ECHO_C" >&6
20187 else
20188 cat >conftest.$ac_ext <<_ACEOF
20189 /* confdefs.h. */
20190 _ACEOF
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20194 $ac_includes_default
20195 typedef long long ac__type_new_;
20197 main ()
20199 if ((ac__type_new_ *) 0)
20200 return 0;
20201 if (sizeof (ac__type_new_))
20202 return 0;
20204 return 0;
20206 _ACEOF
20207 rm -f conftest.$ac_objext
20208 if { (ac_try="$ac_compile"
20209 case "(($ac_try" in
20210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20211 *) ac_try_echo=$ac_try;;
20212 esac
20213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20214 (eval "$ac_compile") 2>conftest.er1
20215 ac_status=$?
20216 grep -v '^ *+' conftest.er1 >conftest.err
20217 rm -f conftest.er1
20218 cat conftest.err >&5
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); } &&
20221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20222 { (case "(($ac_try" in
20223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20224 *) ac_try_echo=$ac_try;;
20225 esac
20226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20227 (eval "$ac_try") 2>&5
20228 ac_status=$?
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); }; } &&
20231 { ac_try='test -s conftest.$ac_objext'
20232 { (case "(($ac_try" in
20233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20234 *) ac_try_echo=$ac_try;;
20235 esac
20236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20237 (eval "$ac_try") 2>&5
20238 ac_status=$?
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); }; }; then
20241 ac_cv_type_long_long=yes
20242 else
20243 echo "$as_me: failed program was:" >&5
20244 sed 's/^/| /' conftest.$ac_ext >&5
20246 ac_cv_type_long_long=no
20249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20251 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20252 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20253 if test $ac_cv_type_long_long = yes; then
20255 cat >>confdefs.h <<_ACEOF
20256 #define HAVE_LONG_LONG 1
20257 _ACEOF
20261 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
20262 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
20263 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
20264 echo $ECHO_N "(cached) $ECHO_C" >&6
20265 else
20266 cat >conftest.$ac_ext <<_ACEOF
20267 /* confdefs.h. */
20268 _ACEOF
20269 cat confdefs.h >>conftest.$ac_ext
20270 cat >>conftest.$ac_ext <<_ACEOF
20271 /* end confdefs.h. */
20272 $ac_includes_default
20273 typedef fsblkcnt_t ac__type_new_;
20275 main ()
20277 if ((ac__type_new_ *) 0)
20278 return 0;
20279 if (sizeof (ac__type_new_))
20280 return 0;
20282 return 0;
20284 _ACEOF
20285 rm -f conftest.$ac_objext
20286 if { (ac_try="$ac_compile"
20287 case "(($ac_try" in
20288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20289 *) ac_try_echo=$ac_try;;
20290 esac
20291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20292 (eval "$ac_compile") 2>conftest.er1
20293 ac_status=$?
20294 grep -v '^ *+' conftest.er1 >conftest.err
20295 rm -f conftest.er1
20296 cat conftest.err >&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); } &&
20299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20300 { (case "(($ac_try" in
20301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20302 *) ac_try_echo=$ac_try;;
20303 esac
20304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20305 (eval "$ac_try") 2>&5
20306 ac_status=$?
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); }; } &&
20309 { ac_try='test -s conftest.$ac_objext'
20310 { (case "(($ac_try" in
20311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20312 *) ac_try_echo=$ac_try;;
20313 esac
20314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20315 (eval "$ac_try") 2>&5
20316 ac_status=$?
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); }; }; then
20319 ac_cv_type_fsblkcnt_t=yes
20320 else
20321 echo "$as_me: failed program was:" >&5
20322 sed 's/^/| /' conftest.$ac_ext >&5
20324 ac_cv_type_fsblkcnt_t=no
20327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20329 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
20330 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
20331 if test $ac_cv_type_fsblkcnt_t = yes; then
20333 cat >>confdefs.h <<_ACEOF
20334 #define HAVE_FSBLKCNT_T 1
20335 _ACEOF
20339 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
20340 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
20341 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
20342 echo $ECHO_N "(cached) $ECHO_C" >&6
20343 else
20344 cat >conftest.$ac_ext <<_ACEOF
20345 /* confdefs.h. */
20346 _ACEOF
20347 cat confdefs.h >>conftest.$ac_ext
20348 cat >>conftest.$ac_ext <<_ACEOF
20349 /* end confdefs.h. */
20350 $ac_includes_default
20351 typedef fsfilcnt_t ac__type_new_;
20353 main ()
20355 if ((ac__type_new_ *) 0)
20356 return 0;
20357 if (sizeof (ac__type_new_))
20358 return 0;
20360 return 0;
20362 _ACEOF
20363 rm -f conftest.$ac_objext
20364 if { (ac_try="$ac_compile"
20365 case "(($ac_try" in
20366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20367 *) ac_try_echo=$ac_try;;
20368 esac
20369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20370 (eval "$ac_compile") 2>conftest.er1
20371 ac_status=$?
20372 grep -v '^ *+' conftest.er1 >conftest.err
20373 rm -f conftest.er1
20374 cat conftest.err >&5
20375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376 (exit $ac_status); } &&
20377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20378 { (case "(($ac_try" in
20379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20380 *) ac_try_echo=$ac_try;;
20381 esac
20382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20383 (eval "$ac_try") 2>&5
20384 ac_status=$?
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); }; } &&
20387 { ac_try='test -s conftest.$ac_objext'
20388 { (case "(($ac_try" in
20389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20390 *) ac_try_echo=$ac_try;;
20391 esac
20392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20393 (eval "$ac_try") 2>&5
20394 ac_status=$?
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); }; }; then
20397 ac_cv_type_fsfilcnt_t=yes
20398 else
20399 echo "$as_me: failed program was:" >&5
20400 sed 's/^/| /' conftest.$ac_ext >&5
20402 ac_cv_type_fsfilcnt_t=no
20405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20407 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
20408 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
20409 if test $ac_cv_type_fsfilcnt_t = yes; then
20411 cat >>confdefs.h <<_ACEOF
20412 #define HAVE_FSFILCNT_T 1
20413 _ACEOF
20418 { echo "$as_me:$LINENO: checking for sigset_t" >&5
20419 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
20420 if test "${ac_cv_type_sigset_t+set}" = set; then
20421 echo $ECHO_N "(cached) $ECHO_C" >&6
20422 else
20423 cat >conftest.$ac_ext <<_ACEOF
20424 /* confdefs.h. */
20425 _ACEOF
20426 cat confdefs.h >>conftest.$ac_ext
20427 cat >>conftest.$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 #include <signal.h>
20431 typedef sigset_t ac__type_new_;
20433 main ()
20435 if ((ac__type_new_ *) 0)
20436 return 0;
20437 if (sizeof (ac__type_new_))
20438 return 0;
20440 return 0;
20442 _ACEOF
20443 rm -f conftest.$ac_objext
20444 if { (ac_try="$ac_compile"
20445 case "(($ac_try" in
20446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20447 *) ac_try_echo=$ac_try;;
20448 esac
20449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20450 (eval "$ac_compile") 2>conftest.er1
20451 ac_status=$?
20452 grep -v '^ *+' conftest.er1 >conftest.err
20453 rm -f conftest.er1
20454 cat conftest.err >&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); } &&
20457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20458 { (case "(($ac_try" in
20459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20460 *) ac_try_echo=$ac_try;;
20461 esac
20462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20463 (eval "$ac_try") 2>&5
20464 ac_status=$?
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); }; } &&
20467 { ac_try='test -s conftest.$ac_objext'
20468 { (case "(($ac_try" in
20469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20470 *) ac_try_echo=$ac_try;;
20471 esac
20472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20473 (eval "$ac_try") 2>&5
20474 ac_status=$?
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); }; }; then
20477 ac_cv_type_sigset_t=yes
20478 else
20479 echo "$as_me: failed program was:" >&5
20480 sed 's/^/| /' conftest.$ac_ext >&5
20482 ac_cv_type_sigset_t=no
20485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20487 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20488 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
20489 if test $ac_cv_type_sigset_t = yes; then
20491 cat >>confdefs.h <<_ACEOF
20492 #define HAVE_SIGSET_T 1
20493 _ACEOF
20498 { echo "$as_me:$LINENO: checking for request_sense" >&5
20499 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20500 if test "${ac_cv_type_request_sense+set}" = set; then
20501 echo $ECHO_N "(cached) $ECHO_C" >&6
20502 else
20503 cat >conftest.$ac_ext <<_ACEOF
20504 /* confdefs.h. */
20505 _ACEOF
20506 cat confdefs.h >>conftest.$ac_ext
20507 cat >>conftest.$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 #include <linux/cdrom.h>
20511 typedef request_sense ac__type_new_;
20513 main ()
20515 if ((ac__type_new_ *) 0)
20516 return 0;
20517 if (sizeof (ac__type_new_))
20518 return 0;
20520 return 0;
20522 _ACEOF
20523 rm -f conftest.$ac_objext
20524 if { (ac_try="$ac_compile"
20525 case "(($ac_try" in
20526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20527 *) ac_try_echo=$ac_try;;
20528 esac
20529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20530 (eval "$ac_compile") 2>conftest.er1
20531 ac_status=$?
20532 grep -v '^ *+' conftest.er1 >conftest.err
20533 rm -f conftest.er1
20534 cat conftest.err >&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); } &&
20537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20538 { (case "(($ac_try" in
20539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20540 *) ac_try_echo=$ac_try;;
20541 esac
20542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20543 (eval "$ac_try") 2>&5
20544 ac_status=$?
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); }; } &&
20547 { ac_try='test -s conftest.$ac_objext'
20548 { (case "(($ac_try" in
20549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20550 *) ac_try_echo=$ac_try;;
20551 esac
20552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20553 (eval "$ac_try") 2>&5
20554 ac_status=$?
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); }; }; then
20557 ac_cv_type_request_sense=yes
20558 else
20559 echo "$as_me: failed program was:" >&5
20560 sed 's/^/| /' conftest.$ac_ext >&5
20562 ac_cv_type_request_sense=no
20565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20567 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20568 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20569 if test $ac_cv_type_request_sense = yes; then
20571 cat >>confdefs.h <<_ACEOF
20572 #define HAVE_REQUEST_SENSE 1
20573 _ACEOF
20579 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20580 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20581 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20583 else
20584 cat >conftest.$ac_ext <<_ACEOF
20585 /* confdefs.h. */
20586 _ACEOF
20587 cat confdefs.h >>conftest.$ac_ext
20588 cat >>conftest.$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 #ifdef HAVE_LINUX_INPUT_H
20591 #include <linux/input.h>
20592 #endif
20595 main ()
20597 static struct ff_effect ac_aggr;
20598 if (ac_aggr.direction)
20599 return 0;
20601 return 0;
20603 _ACEOF
20604 rm -f conftest.$ac_objext
20605 if { (ac_try="$ac_compile"
20606 case "(($ac_try" in
20607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20608 *) ac_try_echo=$ac_try;;
20609 esac
20610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20611 (eval "$ac_compile") 2>conftest.er1
20612 ac_status=$?
20613 grep -v '^ *+' conftest.er1 >conftest.err
20614 rm -f conftest.er1
20615 cat conftest.err >&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); } &&
20618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20619 { (case "(($ac_try" in
20620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20621 *) ac_try_echo=$ac_try;;
20622 esac
20623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20624 (eval "$ac_try") 2>&5
20625 ac_status=$?
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); }; } &&
20628 { ac_try='test -s conftest.$ac_objext'
20629 { (case "(($ac_try" in
20630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20631 *) ac_try_echo=$ac_try;;
20632 esac
20633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20634 (eval "$ac_try") 2>&5
20635 ac_status=$?
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); }; }; then
20638 ac_cv_member_struct_ff_effect_direction=yes
20639 else
20640 echo "$as_me: failed program was:" >&5
20641 sed 's/^/| /' conftest.$ac_ext >&5
20643 cat >conftest.$ac_ext <<_ACEOF
20644 /* confdefs.h. */
20645 _ACEOF
20646 cat confdefs.h >>conftest.$ac_ext
20647 cat >>conftest.$ac_ext <<_ACEOF
20648 /* end confdefs.h. */
20649 #ifdef HAVE_LINUX_INPUT_H
20650 #include <linux/input.h>
20651 #endif
20654 main ()
20656 static struct ff_effect ac_aggr;
20657 if (sizeof ac_aggr.direction)
20658 return 0;
20660 return 0;
20662 _ACEOF
20663 rm -f conftest.$ac_objext
20664 if { (ac_try="$ac_compile"
20665 case "(($ac_try" in
20666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20667 *) ac_try_echo=$ac_try;;
20668 esac
20669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20670 (eval "$ac_compile") 2>conftest.er1
20671 ac_status=$?
20672 grep -v '^ *+' conftest.er1 >conftest.err
20673 rm -f conftest.er1
20674 cat conftest.err >&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); } &&
20677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20678 { (case "(($ac_try" in
20679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20680 *) ac_try_echo=$ac_try;;
20681 esac
20682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20683 (eval "$ac_try") 2>&5
20684 ac_status=$?
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); }; } &&
20687 { ac_try='test -s conftest.$ac_objext'
20688 { (case "(($ac_try" in
20689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20690 *) ac_try_echo=$ac_try;;
20691 esac
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_try") 2>&5
20694 ac_status=$?
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); }; }; then
20697 ac_cv_member_struct_ff_effect_direction=yes
20698 else
20699 echo "$as_me: failed program was:" >&5
20700 sed 's/^/| /' conftest.$ac_ext >&5
20702 ac_cv_member_struct_ff_effect_direction=no
20705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20710 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20711 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20712 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20714 cat >>confdefs.h <<_ACEOF
20715 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20716 _ACEOF
20722 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20723 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20724 if test "${wine_cv_have_sigaddset+set}" = set; then
20725 echo $ECHO_N "(cached) $ECHO_C" >&6
20726 else
20727 cat >conftest.$ac_ext <<_ACEOF
20728 /* confdefs.h. */
20729 _ACEOF
20730 cat confdefs.h >>conftest.$ac_ext
20731 cat >>conftest.$ac_ext <<_ACEOF
20732 /* end confdefs.h. */
20733 #include <signal.h>
20735 main ()
20737 sigset_t set; sigaddset(&set,SIGTERM);
20739 return 0;
20741 _ACEOF
20742 rm -f conftest.$ac_objext conftest$ac_exeext
20743 if { (ac_try="$ac_link"
20744 case "(($ac_try" in
20745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20746 *) ac_try_echo=$ac_try;;
20747 esac
20748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20749 (eval "$ac_link") 2>conftest.er1
20750 ac_status=$?
20751 grep -v '^ *+' conftest.er1 >conftest.err
20752 rm -f conftest.er1
20753 cat conftest.err >&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } &&
20756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20757 { (case "(($ac_try" in
20758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20759 *) ac_try_echo=$ac_try;;
20760 esac
20761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20762 (eval "$ac_try") 2>&5
20763 ac_status=$?
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); }; } &&
20766 { ac_try='test -s conftest$ac_exeext'
20767 { (case "(($ac_try" in
20768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20769 *) ac_try_echo=$ac_try;;
20770 esac
20771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20772 (eval "$ac_try") 2>&5
20773 ac_status=$?
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; }; then
20776 wine_cv_have_sigaddset=yes
20777 else
20778 echo "$as_me: failed program was:" >&5
20779 sed 's/^/| /' conftest.$ac_ext >&5
20781 wine_cv_have_sigaddset=no
20784 rm -f core conftest.err conftest.$ac_objext \
20785 conftest$ac_exeext conftest.$ac_ext
20787 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20788 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20789 if test "$wine_cv_have_sigaddset" = "yes"
20790 then
20792 cat >>confdefs.h <<\_ACEOF
20793 #define HAVE_SIGADDSET 1
20794 _ACEOF
20799 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20800 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20801 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20802 echo $ECHO_N "(cached) $ECHO_C" >&6
20803 else
20804 cat >conftest.$ac_ext <<_ACEOF
20805 /* confdefs.h. */
20806 _ACEOF
20807 cat confdefs.h >>conftest.$ac_ext
20808 cat >>conftest.$ac_ext <<_ACEOF
20809 /* end confdefs.h. */
20811 #include <netdb.h>
20814 main ()
20817 char *name=NULL;
20818 struct hostent he;
20819 struct hostent *result;
20820 char *buf=NULL;
20821 int bufsize=0;
20822 int res,errnr;
20823 char *addr=NULL;
20824 int addrlen=0;
20825 int addrtype=0;
20826 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20827 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20830 return 0;
20832 _ACEOF
20833 rm -f conftest.$ac_objext conftest$ac_exeext
20834 if { (ac_try="$ac_link"
20835 case "(($ac_try" in
20836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20837 *) ac_try_echo=$ac_try;;
20838 esac
20839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20840 (eval "$ac_link") 2>conftest.er1
20841 ac_status=$?
20842 grep -v '^ *+' conftest.er1 >conftest.err
20843 rm -f conftest.er1
20844 cat conftest.err >&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } &&
20847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20848 { (case "(($ac_try" in
20849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20850 *) ac_try_echo=$ac_try;;
20851 esac
20852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20853 (eval "$ac_try") 2>&5
20854 ac_status=$?
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); }; } &&
20857 { ac_try='test -s conftest$ac_exeext'
20858 { (case "(($ac_try" in
20859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20860 *) ac_try_echo=$ac_try;;
20861 esac
20862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20863 (eval "$ac_try") 2>&5
20864 ac_status=$?
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; }; then
20867 wine_cv_linux_gethostbyname_r_6=yes
20868 else
20869 echo "$as_me: failed program was:" >&5
20870 sed 's/^/| /' conftest.$ac_ext >&5
20872 wine_cv_linux_gethostbyname_r_6=no
20876 rm -f core conftest.err conftest.$ac_objext \
20877 conftest$ac_exeext conftest.$ac_ext
20880 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20881 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20882 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20883 then
20885 cat >>confdefs.h <<\_ACEOF
20886 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20887 _ACEOF
20891 if test "$ac_cv_header_linux_joystick_h" = "yes"
20892 then
20893 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20894 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20895 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20896 echo $ECHO_N "(cached) $ECHO_C" >&6
20897 else
20898 cat >conftest.$ac_ext <<_ACEOF
20899 /* confdefs.h. */
20900 _ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20905 #include <sys/ioctl.h>
20906 #include <linux/joystick.h>
20908 struct js_event blub;
20909 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20910 #error "no 2.2 header"
20911 #endif
20914 main ()
20916 /*empty*/
20918 return 0;
20920 _ACEOF
20921 rm -f conftest.$ac_objext
20922 if { (ac_try="$ac_compile"
20923 case "(($ac_try" in
20924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20925 *) ac_try_echo=$ac_try;;
20926 esac
20927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20928 (eval "$ac_compile") 2>conftest.er1
20929 ac_status=$?
20930 grep -v '^ *+' conftest.er1 >conftest.err
20931 rm -f conftest.er1
20932 cat conftest.err >&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); } &&
20935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20936 { (case "(($ac_try" in
20937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20938 *) ac_try_echo=$ac_try;;
20939 esac
20940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20941 (eval "$ac_try") 2>&5
20942 ac_status=$?
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); }; } &&
20945 { ac_try='test -s conftest.$ac_objext'
20946 { (case "(($ac_try" in
20947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20948 *) ac_try_echo=$ac_try;;
20949 esac
20950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20951 (eval "$ac_try") 2>&5
20952 ac_status=$?
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); }; }; then
20955 wine_cv_linux_joystick_22_api=yes
20956 else
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.$ac_ext >&5
20960 wine_cv_linux_joystick_22_api=no
20963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20966 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20967 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20968 if test "$wine_cv_linux_joystick_22_api" = "yes"
20969 then
20971 cat >>confdefs.h <<\_ACEOF
20972 #define HAVE_LINUX_22_JOYSTICK_API 1
20973 _ACEOF
20979 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20980 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20981 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20982 echo $ECHO_N "(cached) $ECHO_C" >&6
20983 else
20984 cat >conftest.$ac_ext <<_ACEOF
20985 /* confdefs.h. */
20986 _ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 #include <sys/types.h>
20991 #ifdef HAVE_SYS_PARAM_H
20992 # include <sys/param.h>
20993 #endif
20994 #ifdef HAVE_SYS_MOUNT_H
20995 # include <sys/mount.h>
20996 #endif
20997 #ifdef HAVE_SYS_VFS_H
20998 # include <sys/vfs.h>
20999 #endif
21000 #ifdef HAVE_SYS_STATFS_H
21001 # include <sys/statfs.h>
21002 #endif
21005 main ()
21007 static struct statfs ac_aggr;
21008 if (ac_aggr.f_bfree)
21009 return 0;
21011 return 0;
21013 _ACEOF
21014 rm -f conftest.$ac_objext
21015 if { (ac_try="$ac_compile"
21016 case "(($ac_try" in
21017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21018 *) ac_try_echo=$ac_try;;
21019 esac
21020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21021 (eval "$ac_compile") 2>conftest.er1
21022 ac_status=$?
21023 grep -v '^ *+' conftest.er1 >conftest.err
21024 rm -f conftest.er1
21025 cat conftest.err >&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); } &&
21028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21029 { (case "(($ac_try" in
21030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21031 *) ac_try_echo=$ac_try;;
21032 esac
21033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21034 (eval "$ac_try") 2>&5
21035 ac_status=$?
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; } &&
21038 { ac_try='test -s conftest.$ac_objext'
21039 { (case "(($ac_try" in
21040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21041 *) ac_try_echo=$ac_try;;
21042 esac
21043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21044 (eval "$ac_try") 2>&5
21045 ac_status=$?
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); }; }; then
21048 ac_cv_member_struct_statfs_f_bfree=yes
21049 else
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.$ac_ext >&5
21053 cat >conftest.$ac_ext <<_ACEOF
21054 /* confdefs.h. */
21055 _ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 #include <sys/types.h>
21060 #ifdef HAVE_SYS_PARAM_H
21061 # include <sys/param.h>
21062 #endif
21063 #ifdef HAVE_SYS_MOUNT_H
21064 # include <sys/mount.h>
21065 #endif
21066 #ifdef HAVE_SYS_VFS_H
21067 # include <sys/vfs.h>
21068 #endif
21069 #ifdef HAVE_SYS_STATFS_H
21070 # include <sys/statfs.h>
21071 #endif
21074 main ()
21076 static struct statfs ac_aggr;
21077 if (sizeof ac_aggr.f_bfree)
21078 return 0;
21080 return 0;
21082 _ACEOF
21083 rm -f conftest.$ac_objext
21084 if { (ac_try="$ac_compile"
21085 case "(($ac_try" in
21086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21087 *) ac_try_echo=$ac_try;;
21088 esac
21089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21090 (eval "$ac_compile") 2>conftest.er1
21091 ac_status=$?
21092 grep -v '^ *+' conftest.er1 >conftest.err
21093 rm -f conftest.er1
21094 cat conftest.err >&5
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); } &&
21097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21098 { (case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21101 esac
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_try") 2>&5
21104 ac_status=$?
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); }; } &&
21107 { ac_try='test -s conftest.$ac_objext'
21108 { (case "(($ac_try" in
21109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21110 *) ac_try_echo=$ac_try;;
21111 esac
21112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21113 (eval "$ac_try") 2>&5
21114 ac_status=$?
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); }; }; then
21117 ac_cv_member_struct_statfs_f_bfree=yes
21118 else
21119 echo "$as_me: failed program was:" >&5
21120 sed 's/^/| /' conftest.$ac_ext >&5
21122 ac_cv_member_struct_statfs_f_bfree=no
21125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21130 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
21131 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
21132 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
21134 cat >>confdefs.h <<_ACEOF
21135 #define HAVE_STRUCT_STATFS_F_BFREE 1
21136 _ACEOF
21140 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
21141 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
21142 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
21143 echo $ECHO_N "(cached) $ECHO_C" >&6
21144 else
21145 cat >conftest.$ac_ext <<_ACEOF
21146 /* confdefs.h. */
21147 _ACEOF
21148 cat confdefs.h >>conftest.$ac_ext
21149 cat >>conftest.$ac_ext <<_ACEOF
21150 /* end confdefs.h. */
21151 #include <sys/types.h>
21152 #ifdef HAVE_SYS_PARAM_H
21153 # include <sys/param.h>
21154 #endif
21155 #ifdef HAVE_SYS_MOUNT_H
21156 # include <sys/mount.h>
21157 #endif
21158 #ifdef HAVE_SYS_VFS_H
21159 # include <sys/vfs.h>
21160 #endif
21161 #ifdef HAVE_SYS_STATFS_H
21162 # include <sys/statfs.h>
21163 #endif
21166 main ()
21168 static struct statfs ac_aggr;
21169 if (ac_aggr.f_bavail)
21170 return 0;
21172 return 0;
21174 _ACEOF
21175 rm -f conftest.$ac_objext
21176 if { (ac_try="$ac_compile"
21177 case "(($ac_try" in
21178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21179 *) ac_try_echo=$ac_try;;
21180 esac
21181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21182 (eval "$ac_compile") 2>conftest.er1
21183 ac_status=$?
21184 grep -v '^ *+' conftest.er1 >conftest.err
21185 rm -f conftest.er1
21186 cat conftest.err >&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); } &&
21189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21190 { (case "(($ac_try" in
21191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21192 *) ac_try_echo=$ac_try;;
21193 esac
21194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21195 (eval "$ac_try") 2>&5
21196 ac_status=$?
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); }; } &&
21199 { ac_try='test -s conftest.$ac_objext'
21200 { (case "(($ac_try" in
21201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21202 *) ac_try_echo=$ac_try;;
21203 esac
21204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21205 (eval "$ac_try") 2>&5
21206 ac_status=$?
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); }; }; then
21209 ac_cv_member_struct_statfs_f_bavail=yes
21210 else
21211 echo "$as_me: failed program was:" >&5
21212 sed 's/^/| /' conftest.$ac_ext >&5
21214 cat >conftest.$ac_ext <<_ACEOF
21215 /* confdefs.h. */
21216 _ACEOF
21217 cat confdefs.h >>conftest.$ac_ext
21218 cat >>conftest.$ac_ext <<_ACEOF
21219 /* end confdefs.h. */
21220 #include <sys/types.h>
21221 #ifdef HAVE_SYS_PARAM_H
21222 # include <sys/param.h>
21223 #endif
21224 #ifdef HAVE_SYS_MOUNT_H
21225 # include <sys/mount.h>
21226 #endif
21227 #ifdef HAVE_SYS_VFS_H
21228 # include <sys/vfs.h>
21229 #endif
21230 #ifdef HAVE_SYS_STATFS_H
21231 # include <sys/statfs.h>
21232 #endif
21235 main ()
21237 static struct statfs ac_aggr;
21238 if (sizeof ac_aggr.f_bavail)
21239 return 0;
21241 return 0;
21243 _ACEOF
21244 rm -f conftest.$ac_objext
21245 if { (ac_try="$ac_compile"
21246 case "(($ac_try" in
21247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21248 *) ac_try_echo=$ac_try;;
21249 esac
21250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21251 (eval "$ac_compile") 2>conftest.er1
21252 ac_status=$?
21253 grep -v '^ *+' conftest.er1 >conftest.err
21254 rm -f conftest.er1
21255 cat conftest.err >&5
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); } &&
21258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21259 { (case "(($ac_try" in
21260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21261 *) ac_try_echo=$ac_try;;
21262 esac
21263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21264 (eval "$ac_try") 2>&5
21265 ac_status=$?
21266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267 (exit $ac_status); }; } &&
21268 { ac_try='test -s conftest.$ac_objext'
21269 { (case "(($ac_try" in
21270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21271 *) ac_try_echo=$ac_try;;
21272 esac
21273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21274 (eval "$ac_try") 2>&5
21275 ac_status=$?
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); }; }; then
21278 ac_cv_member_struct_statfs_f_bavail=yes
21279 else
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.$ac_ext >&5
21283 ac_cv_member_struct_statfs_f_bavail=no
21286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21291 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
21292 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
21293 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
21295 cat >>confdefs.h <<_ACEOF
21296 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
21297 _ACEOF
21301 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
21302 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
21303 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
21304 echo $ECHO_N "(cached) $ECHO_C" >&6
21305 else
21306 cat >conftest.$ac_ext <<_ACEOF
21307 /* confdefs.h. */
21308 _ACEOF
21309 cat confdefs.h >>conftest.$ac_ext
21310 cat >>conftest.$ac_ext <<_ACEOF
21311 /* end confdefs.h. */
21312 #include <sys/types.h>
21313 #ifdef HAVE_SYS_PARAM_H
21314 # include <sys/param.h>
21315 #endif
21316 #ifdef HAVE_SYS_MOUNT_H
21317 # include <sys/mount.h>
21318 #endif
21319 #ifdef HAVE_SYS_VFS_H
21320 # include <sys/vfs.h>
21321 #endif
21322 #ifdef HAVE_SYS_STATFS_H
21323 # include <sys/statfs.h>
21324 #endif
21327 main ()
21329 static struct statfs ac_aggr;
21330 if (ac_aggr.f_frsize)
21331 return 0;
21333 return 0;
21335 _ACEOF
21336 rm -f conftest.$ac_objext
21337 if { (ac_try="$ac_compile"
21338 case "(($ac_try" in
21339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21340 *) ac_try_echo=$ac_try;;
21341 esac
21342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21343 (eval "$ac_compile") 2>conftest.er1
21344 ac_status=$?
21345 grep -v '^ *+' conftest.er1 >conftest.err
21346 rm -f conftest.er1
21347 cat conftest.err >&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); } &&
21350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21351 { (case "(($ac_try" in
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353 *) ac_try_echo=$ac_try;;
21354 esac
21355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21356 (eval "$ac_try") 2>&5
21357 ac_status=$?
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; } &&
21360 { ac_try='test -s conftest.$ac_objext'
21361 { (case "(($ac_try" in
21362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21363 *) ac_try_echo=$ac_try;;
21364 esac
21365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21366 (eval "$ac_try") 2>&5
21367 ac_status=$?
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; }; then
21370 ac_cv_member_struct_statfs_f_frsize=yes
21371 else
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21375 cat >conftest.$ac_ext <<_ACEOF
21376 /* confdefs.h. */
21377 _ACEOF
21378 cat confdefs.h >>conftest.$ac_ext
21379 cat >>conftest.$ac_ext <<_ACEOF
21380 /* end confdefs.h. */
21381 #include <sys/types.h>
21382 #ifdef HAVE_SYS_PARAM_H
21383 # include <sys/param.h>
21384 #endif
21385 #ifdef HAVE_SYS_MOUNT_H
21386 # include <sys/mount.h>
21387 #endif
21388 #ifdef HAVE_SYS_VFS_H
21389 # include <sys/vfs.h>
21390 #endif
21391 #ifdef HAVE_SYS_STATFS_H
21392 # include <sys/statfs.h>
21393 #endif
21396 main ()
21398 static struct statfs ac_aggr;
21399 if (sizeof ac_aggr.f_frsize)
21400 return 0;
21402 return 0;
21404 _ACEOF
21405 rm -f conftest.$ac_objext
21406 if { (ac_try="$ac_compile"
21407 case "(($ac_try" in
21408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21409 *) ac_try_echo=$ac_try;;
21410 esac
21411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21412 (eval "$ac_compile") 2>conftest.er1
21413 ac_status=$?
21414 grep -v '^ *+' conftest.er1 >conftest.err
21415 rm -f conftest.er1
21416 cat conftest.err >&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); } &&
21419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21420 { (case "(($ac_try" in
21421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21422 *) ac_try_echo=$ac_try;;
21423 esac
21424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21425 (eval "$ac_try") 2>&5
21426 ac_status=$?
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; } &&
21429 { ac_try='test -s conftest.$ac_objext'
21430 { (case "(($ac_try" in
21431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21432 *) ac_try_echo=$ac_try;;
21433 esac
21434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21435 (eval "$ac_try") 2>&5
21436 ac_status=$?
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); }; }; then
21439 ac_cv_member_struct_statfs_f_frsize=yes
21440 else
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.$ac_ext >&5
21444 ac_cv_member_struct_statfs_f_frsize=no
21447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
21453 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
21454 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
21456 cat >>confdefs.h <<_ACEOF
21457 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
21458 _ACEOF
21462 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
21463 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
21464 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
21465 echo $ECHO_N "(cached) $ECHO_C" >&6
21466 else
21467 cat >conftest.$ac_ext <<_ACEOF
21468 /* confdefs.h. */
21469 _ACEOF
21470 cat confdefs.h >>conftest.$ac_ext
21471 cat >>conftest.$ac_ext <<_ACEOF
21472 /* end confdefs.h. */
21473 #include <sys/types.h>
21474 #ifdef HAVE_SYS_PARAM_H
21475 # include <sys/param.h>
21476 #endif
21477 #ifdef HAVE_SYS_MOUNT_H
21478 # include <sys/mount.h>
21479 #endif
21480 #ifdef HAVE_SYS_VFS_H
21481 # include <sys/vfs.h>
21482 #endif
21483 #ifdef HAVE_SYS_STATFS_H
21484 # include <sys/statfs.h>
21485 #endif
21488 main ()
21490 static struct statfs ac_aggr;
21491 if (ac_aggr.f_ffree)
21492 return 0;
21494 return 0;
21496 _ACEOF
21497 rm -f conftest.$ac_objext
21498 if { (ac_try="$ac_compile"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21502 esac
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_compile") 2>conftest.er1
21505 ac_status=$?
21506 grep -v '^ *+' conftest.er1 >conftest.err
21507 rm -f conftest.er1
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } &&
21511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21512 { (case "(($ac_try" in
21513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21514 *) ac_try_echo=$ac_try;;
21515 esac
21516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21517 (eval "$ac_try") 2>&5
21518 ac_status=$?
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); }; } &&
21521 { ac_try='test -s conftest.$ac_objext'
21522 { (case "(($ac_try" in
21523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21524 *) ac_try_echo=$ac_try;;
21525 esac
21526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21527 (eval "$ac_try") 2>&5
21528 ac_status=$?
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); }; }; then
21531 ac_cv_member_struct_statfs_f_ffree=yes
21532 else
21533 echo "$as_me: failed program was:" >&5
21534 sed 's/^/| /' conftest.$ac_ext >&5
21536 cat >conftest.$ac_ext <<_ACEOF
21537 /* confdefs.h. */
21538 _ACEOF
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21542 #include <sys/types.h>
21543 #ifdef HAVE_SYS_PARAM_H
21544 # include <sys/param.h>
21545 #endif
21546 #ifdef HAVE_SYS_MOUNT_H
21547 # include <sys/mount.h>
21548 #endif
21549 #ifdef HAVE_SYS_VFS_H
21550 # include <sys/vfs.h>
21551 #endif
21552 #ifdef HAVE_SYS_STATFS_H
21553 # include <sys/statfs.h>
21554 #endif
21557 main ()
21559 static struct statfs ac_aggr;
21560 if (sizeof ac_aggr.f_ffree)
21561 return 0;
21563 return 0;
21565 _ACEOF
21566 rm -f conftest.$ac_objext
21567 if { (ac_try="$ac_compile"
21568 case "(($ac_try" in
21569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21570 *) ac_try_echo=$ac_try;;
21571 esac
21572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21573 (eval "$ac_compile") 2>conftest.er1
21574 ac_status=$?
21575 grep -v '^ *+' conftest.er1 >conftest.err
21576 rm -f conftest.er1
21577 cat conftest.err >&5
21578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21579 (exit $ac_status); } &&
21580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21581 { (case "(($ac_try" in
21582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21583 *) ac_try_echo=$ac_try;;
21584 esac
21585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21586 (eval "$ac_try") 2>&5
21587 ac_status=$?
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); }; } &&
21590 { ac_try='test -s conftest.$ac_objext'
21591 { (case "(($ac_try" in
21592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21593 *) ac_try_echo=$ac_try;;
21594 esac
21595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21596 (eval "$ac_try") 2>&5
21597 ac_status=$?
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); }; }; then
21600 ac_cv_member_struct_statfs_f_ffree=yes
21601 else
21602 echo "$as_me: failed program was:" >&5
21603 sed 's/^/| /' conftest.$ac_ext >&5
21605 ac_cv_member_struct_statfs_f_ffree=no
21608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21613 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21614 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21615 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21617 cat >>confdefs.h <<_ACEOF
21618 #define HAVE_STRUCT_STATFS_F_FFREE 1
21619 _ACEOF
21623 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21624 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21625 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21626 echo $ECHO_N "(cached) $ECHO_C" >&6
21627 else
21628 cat >conftest.$ac_ext <<_ACEOF
21629 /* confdefs.h. */
21630 _ACEOF
21631 cat confdefs.h >>conftest.$ac_ext
21632 cat >>conftest.$ac_ext <<_ACEOF
21633 /* end confdefs.h. */
21634 #include <sys/types.h>
21635 #ifdef HAVE_SYS_PARAM_H
21636 # include <sys/param.h>
21637 #endif
21638 #ifdef HAVE_SYS_MOUNT_H
21639 # include <sys/mount.h>
21640 #endif
21641 #ifdef HAVE_SYS_VFS_H
21642 # include <sys/vfs.h>
21643 #endif
21644 #ifdef HAVE_SYS_STATFS_H
21645 # include <sys/statfs.h>
21646 #endif
21649 main ()
21651 static struct statfs ac_aggr;
21652 if (ac_aggr.f_favail)
21653 return 0;
21655 return 0;
21657 _ACEOF
21658 rm -f conftest.$ac_objext
21659 if { (ac_try="$ac_compile"
21660 case "(($ac_try" in
21661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21662 *) ac_try_echo=$ac_try;;
21663 esac
21664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21665 (eval "$ac_compile") 2>conftest.er1
21666 ac_status=$?
21667 grep -v '^ *+' conftest.er1 >conftest.err
21668 rm -f conftest.er1
21669 cat conftest.err >&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); } &&
21672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21673 { (case "(($ac_try" in
21674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21675 *) ac_try_echo=$ac_try;;
21676 esac
21677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21678 (eval "$ac_try") 2>&5
21679 ac_status=$?
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); }; } &&
21682 { ac_try='test -s conftest.$ac_objext'
21683 { (case "(($ac_try" in
21684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21685 *) ac_try_echo=$ac_try;;
21686 esac
21687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21688 (eval "$ac_try") 2>&5
21689 ac_status=$?
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); }; }; then
21692 ac_cv_member_struct_statfs_f_favail=yes
21693 else
21694 echo "$as_me: failed program was:" >&5
21695 sed 's/^/| /' conftest.$ac_ext >&5
21697 cat >conftest.$ac_ext <<_ACEOF
21698 /* confdefs.h. */
21699 _ACEOF
21700 cat confdefs.h >>conftest.$ac_ext
21701 cat >>conftest.$ac_ext <<_ACEOF
21702 /* end confdefs.h. */
21703 #include <sys/types.h>
21704 #ifdef HAVE_SYS_PARAM_H
21705 # include <sys/param.h>
21706 #endif
21707 #ifdef HAVE_SYS_MOUNT_H
21708 # include <sys/mount.h>
21709 #endif
21710 #ifdef HAVE_SYS_VFS_H
21711 # include <sys/vfs.h>
21712 #endif
21713 #ifdef HAVE_SYS_STATFS_H
21714 # include <sys/statfs.h>
21715 #endif
21718 main ()
21720 static struct statfs ac_aggr;
21721 if (sizeof ac_aggr.f_favail)
21722 return 0;
21724 return 0;
21726 _ACEOF
21727 rm -f conftest.$ac_objext
21728 if { (ac_try="$ac_compile"
21729 case "(($ac_try" in
21730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21731 *) ac_try_echo=$ac_try;;
21732 esac
21733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21734 (eval "$ac_compile") 2>conftest.er1
21735 ac_status=$?
21736 grep -v '^ *+' conftest.er1 >conftest.err
21737 rm -f conftest.er1
21738 cat conftest.err >&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); } &&
21741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21742 { (case "(($ac_try" in
21743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21744 *) ac_try_echo=$ac_try;;
21745 esac
21746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21747 (eval "$ac_try") 2>&5
21748 ac_status=$?
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); }; } &&
21751 { ac_try='test -s conftest.$ac_objext'
21752 { (case "(($ac_try" in
21753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21754 *) ac_try_echo=$ac_try;;
21755 esac
21756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21757 (eval "$ac_try") 2>&5
21758 ac_status=$?
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; }; then
21761 ac_cv_member_struct_statfs_f_favail=yes
21762 else
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21766 ac_cv_member_struct_statfs_f_favail=no
21769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21774 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21775 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21776 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21778 cat >>confdefs.h <<_ACEOF
21779 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21780 _ACEOF
21784 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21785 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21786 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21787 echo $ECHO_N "(cached) $ECHO_C" >&6
21788 else
21789 cat >conftest.$ac_ext <<_ACEOF
21790 /* confdefs.h. */
21791 _ACEOF
21792 cat confdefs.h >>conftest.$ac_ext
21793 cat >>conftest.$ac_ext <<_ACEOF
21794 /* end confdefs.h. */
21795 #include <sys/types.h>
21796 #ifdef HAVE_SYS_PARAM_H
21797 # include <sys/param.h>
21798 #endif
21799 #ifdef HAVE_SYS_MOUNT_H
21800 # include <sys/mount.h>
21801 #endif
21802 #ifdef HAVE_SYS_VFS_H
21803 # include <sys/vfs.h>
21804 #endif
21805 #ifdef HAVE_SYS_STATFS_H
21806 # include <sys/statfs.h>
21807 #endif
21810 main ()
21812 static struct statfs ac_aggr;
21813 if (ac_aggr.f_namelen)
21814 return 0;
21816 return 0;
21818 _ACEOF
21819 rm -f conftest.$ac_objext
21820 if { (ac_try="$ac_compile"
21821 case "(($ac_try" in
21822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21823 *) ac_try_echo=$ac_try;;
21824 esac
21825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21826 (eval "$ac_compile") 2>conftest.er1
21827 ac_status=$?
21828 grep -v '^ *+' conftest.er1 >conftest.err
21829 rm -f conftest.er1
21830 cat conftest.err >&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); } &&
21833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21834 { (case "(($ac_try" in
21835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21836 *) ac_try_echo=$ac_try;;
21837 esac
21838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21839 (eval "$ac_try") 2>&5
21840 ac_status=$?
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); }; } &&
21843 { ac_try='test -s conftest.$ac_objext'
21844 { (case "(($ac_try" in
21845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21846 *) ac_try_echo=$ac_try;;
21847 esac
21848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21849 (eval "$ac_try") 2>&5
21850 ac_status=$?
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; }; then
21853 ac_cv_member_struct_statfs_f_namelen=yes
21854 else
21855 echo "$as_me: failed program was:" >&5
21856 sed 's/^/| /' conftest.$ac_ext >&5
21858 cat >conftest.$ac_ext <<_ACEOF
21859 /* confdefs.h. */
21860 _ACEOF
21861 cat confdefs.h >>conftest.$ac_ext
21862 cat >>conftest.$ac_ext <<_ACEOF
21863 /* end confdefs.h. */
21864 #include <sys/types.h>
21865 #ifdef HAVE_SYS_PARAM_H
21866 # include <sys/param.h>
21867 #endif
21868 #ifdef HAVE_SYS_MOUNT_H
21869 # include <sys/mount.h>
21870 #endif
21871 #ifdef HAVE_SYS_VFS_H
21872 # include <sys/vfs.h>
21873 #endif
21874 #ifdef HAVE_SYS_STATFS_H
21875 # include <sys/statfs.h>
21876 #endif
21879 main ()
21881 static struct statfs ac_aggr;
21882 if (sizeof ac_aggr.f_namelen)
21883 return 0;
21885 return 0;
21887 _ACEOF
21888 rm -f conftest.$ac_objext
21889 if { (ac_try="$ac_compile"
21890 case "(($ac_try" in
21891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21892 *) ac_try_echo=$ac_try;;
21893 esac
21894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21895 (eval "$ac_compile") 2>conftest.er1
21896 ac_status=$?
21897 grep -v '^ *+' conftest.er1 >conftest.err
21898 rm -f conftest.er1
21899 cat conftest.err >&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } &&
21902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21903 { (case "(($ac_try" in
21904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21905 *) ac_try_echo=$ac_try;;
21906 esac
21907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21908 (eval "$ac_try") 2>&5
21909 ac_status=$?
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); }; } &&
21912 { ac_try='test -s conftest.$ac_objext'
21913 { (case "(($ac_try" in
21914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21915 *) ac_try_echo=$ac_try;;
21916 esac
21917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21918 (eval "$ac_try") 2>&5
21919 ac_status=$?
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); }; }; then
21922 ac_cv_member_struct_statfs_f_namelen=yes
21923 else
21924 echo "$as_me: failed program was:" >&5
21925 sed 's/^/| /' conftest.$ac_ext >&5
21927 ac_cv_member_struct_statfs_f_namelen=no
21930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21935 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21936 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21937 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21939 cat >>confdefs.h <<_ACEOF
21940 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21941 _ACEOF
21947 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21948 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21949 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21950 echo $ECHO_N "(cached) $ECHO_C" >&6
21951 else
21952 cat >conftest.$ac_ext <<_ACEOF
21953 /* confdefs.h. */
21954 _ACEOF
21955 cat confdefs.h >>conftest.$ac_ext
21956 cat >>conftest.$ac_ext <<_ACEOF
21957 /* end confdefs.h. */
21958 #ifdef HAVE_SYS_STATVFS_H
21959 #include <sys/statvfs.h>
21960 #endif
21963 main ()
21965 static struct statvfs ac_aggr;
21966 if (ac_aggr.f_blocks)
21967 return 0;
21969 return 0;
21971 _ACEOF
21972 rm -f conftest.$ac_objext
21973 if { (ac_try="$ac_compile"
21974 case "(($ac_try" in
21975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21976 *) ac_try_echo=$ac_try;;
21977 esac
21978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_compile") 2>conftest.er1
21980 ac_status=$?
21981 grep -v '^ *+' conftest.er1 >conftest.err
21982 rm -f conftest.er1
21983 cat conftest.err >&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); } &&
21986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21987 { (case "(($ac_try" in
21988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21989 *) ac_try_echo=$ac_try;;
21990 esac
21991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21992 (eval "$ac_try") 2>&5
21993 ac_status=$?
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; } &&
21996 { ac_try='test -s conftest.$ac_objext'
21997 { (case "(($ac_try" in
21998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21999 *) ac_try_echo=$ac_try;;
22000 esac
22001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22002 (eval "$ac_try") 2>&5
22003 ac_status=$?
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); }; }; then
22006 ac_cv_member_struct_statvfs_f_blocks=yes
22007 else
22008 echo "$as_me: failed program was:" >&5
22009 sed 's/^/| /' conftest.$ac_ext >&5
22011 cat >conftest.$ac_ext <<_ACEOF
22012 /* confdefs.h. */
22013 _ACEOF
22014 cat confdefs.h >>conftest.$ac_ext
22015 cat >>conftest.$ac_ext <<_ACEOF
22016 /* end confdefs.h. */
22017 #ifdef HAVE_SYS_STATVFS_H
22018 #include <sys/statvfs.h>
22019 #endif
22022 main ()
22024 static struct statvfs ac_aggr;
22025 if (sizeof ac_aggr.f_blocks)
22026 return 0;
22028 return 0;
22030 _ACEOF
22031 rm -f conftest.$ac_objext
22032 if { (ac_try="$ac_compile"
22033 case "(($ac_try" in
22034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22035 *) ac_try_echo=$ac_try;;
22036 esac
22037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22038 (eval "$ac_compile") 2>conftest.er1
22039 ac_status=$?
22040 grep -v '^ *+' conftest.er1 >conftest.err
22041 rm -f conftest.er1
22042 cat conftest.err >&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); } &&
22045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22046 { (case "(($ac_try" in
22047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22048 *) ac_try_echo=$ac_try;;
22049 esac
22050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22051 (eval "$ac_try") 2>&5
22052 ac_status=$?
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); }; } &&
22055 { ac_try='test -s conftest.$ac_objext'
22056 { (case "(($ac_try" in
22057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22058 *) ac_try_echo=$ac_try;;
22059 esac
22060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22061 (eval "$ac_try") 2>&5
22062 ac_status=$?
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); }; }; then
22065 ac_cv_member_struct_statvfs_f_blocks=yes
22066 else
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.$ac_ext >&5
22070 ac_cv_member_struct_statvfs_f_blocks=no
22073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22078 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
22079 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
22080 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
22082 cat >>confdefs.h <<_ACEOF
22083 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
22084 _ACEOF
22090 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
22091 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
22092 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
22093 echo $ECHO_N "(cached) $ECHO_C" >&6
22094 else
22095 cat >conftest.$ac_ext <<_ACEOF
22096 /* confdefs.h. */
22097 _ACEOF
22098 cat confdefs.h >>conftest.$ac_ext
22099 cat >>conftest.$ac_ext <<_ACEOF
22100 /* end confdefs.h. */
22101 #include <sys/types.h>
22102 #ifdef HAVE_SYS_SOCKET_H
22103 # include <sys/socket.h>
22104 #endif
22105 #ifdef HAVE_SYS_UN_H
22106 # include <sys/un.h>
22107 #endif
22110 main ()
22112 static struct msghdr ac_aggr;
22113 if (ac_aggr.msg_accrights)
22114 return 0;
22116 return 0;
22118 _ACEOF
22119 rm -f conftest.$ac_objext
22120 if { (ac_try="$ac_compile"
22121 case "(($ac_try" in
22122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22123 *) ac_try_echo=$ac_try;;
22124 esac
22125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22126 (eval "$ac_compile") 2>conftest.er1
22127 ac_status=$?
22128 grep -v '^ *+' conftest.er1 >conftest.err
22129 rm -f conftest.er1
22130 cat conftest.err >&5
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); } &&
22133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22134 { (case "(($ac_try" in
22135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22136 *) ac_try_echo=$ac_try;;
22137 esac
22138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22139 (eval "$ac_try") 2>&5
22140 ac_status=$?
22141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142 (exit $ac_status); }; } &&
22143 { ac_try='test -s conftest.$ac_objext'
22144 { (case "(($ac_try" in
22145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22146 *) ac_try_echo=$ac_try;;
22147 esac
22148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22149 (eval "$ac_try") 2>&5
22150 ac_status=$?
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; }; then
22153 ac_cv_member_struct_msghdr_msg_accrights=yes
22154 else
22155 echo "$as_me: failed program was:" >&5
22156 sed 's/^/| /' conftest.$ac_ext >&5
22158 cat >conftest.$ac_ext <<_ACEOF
22159 /* confdefs.h. */
22160 _ACEOF
22161 cat confdefs.h >>conftest.$ac_ext
22162 cat >>conftest.$ac_ext <<_ACEOF
22163 /* end confdefs.h. */
22164 #include <sys/types.h>
22165 #ifdef HAVE_SYS_SOCKET_H
22166 # include <sys/socket.h>
22167 #endif
22168 #ifdef HAVE_SYS_UN_H
22169 # include <sys/un.h>
22170 #endif
22173 main ()
22175 static struct msghdr ac_aggr;
22176 if (sizeof ac_aggr.msg_accrights)
22177 return 0;
22179 return 0;
22181 _ACEOF
22182 rm -f conftest.$ac_objext
22183 if { (ac_try="$ac_compile"
22184 case "(($ac_try" in
22185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22186 *) ac_try_echo=$ac_try;;
22187 esac
22188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22189 (eval "$ac_compile") 2>conftest.er1
22190 ac_status=$?
22191 grep -v '^ *+' conftest.er1 >conftest.err
22192 rm -f conftest.er1
22193 cat conftest.err >&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } &&
22196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22197 { (case "(($ac_try" in
22198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22199 *) ac_try_echo=$ac_try;;
22200 esac
22201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22202 (eval "$ac_try") 2>&5
22203 ac_status=$?
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); }; } &&
22206 { ac_try='test -s conftest.$ac_objext'
22207 { (case "(($ac_try" in
22208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22209 *) ac_try_echo=$ac_try;;
22210 esac
22211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22212 (eval "$ac_try") 2>&5
22213 ac_status=$?
22214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22215 (exit $ac_status); }; }; then
22216 ac_cv_member_struct_msghdr_msg_accrights=yes
22217 else
22218 echo "$as_me: failed program was:" >&5
22219 sed 's/^/| /' conftest.$ac_ext >&5
22221 ac_cv_member_struct_msghdr_msg_accrights=no
22224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22229 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
22230 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
22231 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
22233 cat >>confdefs.h <<_ACEOF
22234 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
22235 _ACEOF
22239 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
22240 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
22241 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
22242 echo $ECHO_N "(cached) $ECHO_C" >&6
22243 else
22244 cat >conftest.$ac_ext <<_ACEOF
22245 /* confdefs.h. */
22246 _ACEOF
22247 cat confdefs.h >>conftest.$ac_ext
22248 cat >>conftest.$ac_ext <<_ACEOF
22249 /* end confdefs.h. */
22250 #include <sys/types.h>
22251 #ifdef HAVE_SYS_SOCKET_H
22252 # include <sys/socket.h>
22253 #endif
22254 #ifdef HAVE_SYS_UN_H
22255 # include <sys/un.h>
22256 #endif
22259 main ()
22261 static struct sockaddr ac_aggr;
22262 if (ac_aggr.sa_len)
22263 return 0;
22265 return 0;
22267 _ACEOF
22268 rm -f conftest.$ac_objext
22269 if { (ac_try="$ac_compile"
22270 case "(($ac_try" in
22271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22272 *) ac_try_echo=$ac_try;;
22273 esac
22274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22275 (eval "$ac_compile") 2>conftest.er1
22276 ac_status=$?
22277 grep -v '^ *+' conftest.er1 >conftest.err
22278 rm -f conftest.er1
22279 cat conftest.err >&5
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); } &&
22282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22283 { (case "(($ac_try" in
22284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22285 *) ac_try_echo=$ac_try;;
22286 esac
22287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22288 (eval "$ac_try") 2>&5
22289 ac_status=$?
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); }; } &&
22292 { ac_try='test -s conftest.$ac_objext'
22293 { (case "(($ac_try" in
22294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22295 *) ac_try_echo=$ac_try;;
22296 esac
22297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22298 (eval "$ac_try") 2>&5
22299 ac_status=$?
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); }; }; then
22302 ac_cv_member_struct_sockaddr_sa_len=yes
22303 else
22304 echo "$as_me: failed program was:" >&5
22305 sed 's/^/| /' conftest.$ac_ext >&5
22307 cat >conftest.$ac_ext <<_ACEOF
22308 /* confdefs.h. */
22309 _ACEOF
22310 cat confdefs.h >>conftest.$ac_ext
22311 cat >>conftest.$ac_ext <<_ACEOF
22312 /* end confdefs.h. */
22313 #include <sys/types.h>
22314 #ifdef HAVE_SYS_SOCKET_H
22315 # include <sys/socket.h>
22316 #endif
22317 #ifdef HAVE_SYS_UN_H
22318 # include <sys/un.h>
22319 #endif
22322 main ()
22324 static struct sockaddr ac_aggr;
22325 if (sizeof ac_aggr.sa_len)
22326 return 0;
22328 return 0;
22330 _ACEOF
22331 rm -f conftest.$ac_objext
22332 if { (ac_try="$ac_compile"
22333 case "(($ac_try" in
22334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22335 *) ac_try_echo=$ac_try;;
22336 esac
22337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22338 (eval "$ac_compile") 2>conftest.er1
22339 ac_status=$?
22340 grep -v '^ *+' conftest.er1 >conftest.err
22341 rm -f conftest.er1
22342 cat conftest.err >&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); } &&
22345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22346 { (case "(($ac_try" in
22347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22348 *) ac_try_echo=$ac_try;;
22349 esac
22350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22351 (eval "$ac_try") 2>&5
22352 ac_status=$?
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); }; } &&
22355 { ac_try='test -s conftest.$ac_objext'
22356 { (case "(($ac_try" in
22357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22358 *) ac_try_echo=$ac_try;;
22359 esac
22360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22361 (eval "$ac_try") 2>&5
22362 ac_status=$?
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; }; then
22365 ac_cv_member_struct_sockaddr_sa_len=yes
22366 else
22367 echo "$as_me: failed program was:" >&5
22368 sed 's/^/| /' conftest.$ac_ext >&5
22370 ac_cv_member_struct_sockaddr_sa_len=no
22373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22378 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
22379 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
22380 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
22382 cat >>confdefs.h <<_ACEOF
22383 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
22384 _ACEOF
22388 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
22389 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
22390 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
22391 echo $ECHO_N "(cached) $ECHO_C" >&6
22392 else
22393 cat >conftest.$ac_ext <<_ACEOF
22394 /* confdefs.h. */
22395 _ACEOF
22396 cat confdefs.h >>conftest.$ac_ext
22397 cat >>conftest.$ac_ext <<_ACEOF
22398 /* end confdefs.h. */
22399 #include <sys/types.h>
22400 #ifdef HAVE_SYS_SOCKET_H
22401 # include <sys/socket.h>
22402 #endif
22403 #ifdef HAVE_SYS_UN_H
22404 # include <sys/un.h>
22405 #endif
22408 main ()
22410 static struct sockaddr_un ac_aggr;
22411 if (ac_aggr.sun_len)
22412 return 0;
22414 return 0;
22416 _ACEOF
22417 rm -f conftest.$ac_objext
22418 if { (ac_try="$ac_compile"
22419 case "(($ac_try" in
22420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22421 *) ac_try_echo=$ac_try;;
22422 esac
22423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22424 (eval "$ac_compile") 2>conftest.er1
22425 ac_status=$?
22426 grep -v '^ *+' conftest.er1 >conftest.err
22427 rm -f conftest.er1
22428 cat conftest.err >&5
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); } &&
22431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22432 { (case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22434 *) ac_try_echo=$ac_try;;
22435 esac
22436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22437 (eval "$ac_try") 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; } &&
22441 { ac_try='test -s conftest.$ac_objext'
22442 { (case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22445 esac
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_try") 2>&5
22448 ac_status=$?
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); }; }; then
22451 ac_cv_member_struct_sockaddr_un_sun_len=yes
22452 else
22453 echo "$as_me: failed program was:" >&5
22454 sed 's/^/| /' conftest.$ac_ext >&5
22456 cat >conftest.$ac_ext <<_ACEOF
22457 /* confdefs.h. */
22458 _ACEOF
22459 cat confdefs.h >>conftest.$ac_ext
22460 cat >>conftest.$ac_ext <<_ACEOF
22461 /* end confdefs.h. */
22462 #include <sys/types.h>
22463 #ifdef HAVE_SYS_SOCKET_H
22464 # include <sys/socket.h>
22465 #endif
22466 #ifdef HAVE_SYS_UN_H
22467 # include <sys/un.h>
22468 #endif
22471 main ()
22473 static struct sockaddr_un ac_aggr;
22474 if (sizeof ac_aggr.sun_len)
22475 return 0;
22477 return 0;
22479 _ACEOF
22480 rm -f conftest.$ac_objext
22481 if { (ac_try="$ac_compile"
22482 case "(($ac_try" in
22483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22484 *) ac_try_echo=$ac_try;;
22485 esac
22486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22487 (eval "$ac_compile") 2>conftest.er1
22488 ac_status=$?
22489 grep -v '^ *+' conftest.er1 >conftest.err
22490 rm -f conftest.er1
22491 cat conftest.err >&5
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); } &&
22494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22495 { (case "(($ac_try" in
22496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22497 *) ac_try_echo=$ac_try;;
22498 esac
22499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22500 (eval "$ac_try") 2>&5
22501 ac_status=$?
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); }; } &&
22504 { ac_try='test -s conftest.$ac_objext'
22505 { (case "(($ac_try" in
22506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22507 *) ac_try_echo=$ac_try;;
22508 esac
22509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22510 (eval "$ac_try") 2>&5
22511 ac_status=$?
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); }; }; then
22514 ac_cv_member_struct_sockaddr_un_sun_len=yes
22515 else
22516 echo "$as_me: failed program was:" >&5
22517 sed 's/^/| /' conftest.$ac_ext >&5
22519 ac_cv_member_struct_sockaddr_un_sun_len=no
22522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22527 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22528 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22529 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22531 cat >>confdefs.h <<_ACEOF
22532 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22533 _ACEOF
22539 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22540 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22541 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22543 else
22544 cat >conftest.$ac_ext <<_ACEOF
22545 /* confdefs.h. */
22546 _ACEOF
22547 cat confdefs.h >>conftest.$ac_ext
22548 cat >>conftest.$ac_ext <<_ACEOF
22549 /* end confdefs.h. */
22550 #include <sys/types.h>
22551 #ifdef HAVE_SCSI_SG_H
22552 #include <scsi/sg.h>
22553 #endif
22556 main ()
22558 static scsireq_t ac_aggr;
22559 if (ac_aggr.cmd)
22560 return 0;
22562 return 0;
22564 _ACEOF
22565 rm -f conftest.$ac_objext
22566 if { (ac_try="$ac_compile"
22567 case "(($ac_try" in
22568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22569 *) ac_try_echo=$ac_try;;
22570 esac
22571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22572 (eval "$ac_compile") 2>conftest.er1
22573 ac_status=$?
22574 grep -v '^ *+' conftest.er1 >conftest.err
22575 rm -f conftest.er1
22576 cat conftest.err >&5
22577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578 (exit $ac_status); } &&
22579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22580 { (case "(($ac_try" in
22581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22582 *) ac_try_echo=$ac_try;;
22583 esac
22584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22585 (eval "$ac_try") 2>&5
22586 ac_status=$?
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); }; } &&
22589 { ac_try='test -s conftest.$ac_objext'
22590 { (case "(($ac_try" in
22591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22593 esac
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_try") 2>&5
22596 ac_status=$?
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 ac_cv_member_scsireq_t_cmd=yes
22600 else
22601 echo "$as_me: failed program was:" >&5
22602 sed 's/^/| /' conftest.$ac_ext >&5
22604 cat >conftest.$ac_ext <<_ACEOF
22605 /* confdefs.h. */
22606 _ACEOF
22607 cat confdefs.h >>conftest.$ac_ext
22608 cat >>conftest.$ac_ext <<_ACEOF
22609 /* end confdefs.h. */
22610 #include <sys/types.h>
22611 #ifdef HAVE_SCSI_SG_H
22612 #include <scsi/sg.h>
22613 #endif
22616 main ()
22618 static scsireq_t ac_aggr;
22619 if (sizeof ac_aggr.cmd)
22620 return 0;
22622 return 0;
22624 _ACEOF
22625 rm -f conftest.$ac_objext
22626 if { (ac_try="$ac_compile"
22627 case "(($ac_try" in
22628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22629 *) ac_try_echo=$ac_try;;
22630 esac
22631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22632 (eval "$ac_compile") 2>conftest.er1
22633 ac_status=$?
22634 grep -v '^ *+' conftest.er1 >conftest.err
22635 rm -f conftest.er1
22636 cat conftest.err >&5
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); } &&
22639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22640 { (case "(($ac_try" in
22641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22642 *) ac_try_echo=$ac_try;;
22643 esac
22644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22645 (eval "$ac_try") 2>&5
22646 ac_status=$?
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); }; } &&
22649 { ac_try='test -s conftest.$ac_objext'
22650 { (case "(($ac_try" in
22651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22652 *) ac_try_echo=$ac_try;;
22653 esac
22654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22655 (eval "$ac_try") 2>&5
22656 ac_status=$?
22657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 (exit $ac_status); }; }; then
22659 ac_cv_member_scsireq_t_cmd=yes
22660 else
22661 echo "$as_me: failed program was:" >&5
22662 sed 's/^/| /' conftest.$ac_ext >&5
22664 ac_cv_member_scsireq_t_cmd=no
22667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22672 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22673 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22674 if test $ac_cv_member_scsireq_t_cmd = yes; then
22676 cat >>confdefs.h <<_ACEOF
22677 #define HAVE_SCSIREQ_T_CMD 1
22678 _ACEOF
22682 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22683 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22684 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22685 echo $ECHO_N "(cached) $ECHO_C" >&6
22686 else
22687 cat >conftest.$ac_ext <<_ACEOF
22688 /* confdefs.h. */
22689 _ACEOF
22690 cat confdefs.h >>conftest.$ac_ext
22691 cat >>conftest.$ac_ext <<_ACEOF
22692 /* end confdefs.h. */
22693 #include <sys/types.h>
22694 #ifdef HAVE_SCSI_SG_H
22695 #include <scsi/sg.h>
22696 #endif
22699 main ()
22701 static sg_io_hdr_t ac_aggr;
22702 if (ac_aggr.interface_id)
22703 return 0;
22705 return 0;
22707 _ACEOF
22708 rm -f conftest.$ac_objext
22709 if { (ac_try="$ac_compile"
22710 case "(($ac_try" in
22711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22712 *) ac_try_echo=$ac_try;;
22713 esac
22714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22715 (eval "$ac_compile") 2>conftest.er1
22716 ac_status=$?
22717 grep -v '^ *+' conftest.er1 >conftest.err
22718 rm -f conftest.er1
22719 cat conftest.err >&5
22720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721 (exit $ac_status); } &&
22722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22723 { (case "(($ac_try" in
22724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22725 *) ac_try_echo=$ac_try;;
22726 esac
22727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22728 (eval "$ac_try") 2>&5
22729 ac_status=$?
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; } &&
22732 { ac_try='test -s conftest.$ac_objext'
22733 { (case "(($ac_try" in
22734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22735 *) ac_try_echo=$ac_try;;
22736 esac
22737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22738 (eval "$ac_try") 2>&5
22739 ac_status=$?
22740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22741 (exit $ac_status); }; }; then
22742 ac_cv_member_sg_io_hdr_t_interface_id=yes
22743 else
22744 echo "$as_me: failed program was:" >&5
22745 sed 's/^/| /' conftest.$ac_ext >&5
22747 cat >conftest.$ac_ext <<_ACEOF
22748 /* confdefs.h. */
22749 _ACEOF
22750 cat confdefs.h >>conftest.$ac_ext
22751 cat >>conftest.$ac_ext <<_ACEOF
22752 /* end confdefs.h. */
22753 #include <sys/types.h>
22754 #ifdef HAVE_SCSI_SG_H
22755 #include <scsi/sg.h>
22756 #endif
22759 main ()
22761 static sg_io_hdr_t ac_aggr;
22762 if (sizeof ac_aggr.interface_id)
22763 return 0;
22765 return 0;
22767 _ACEOF
22768 rm -f conftest.$ac_objext
22769 if { (ac_try="$ac_compile"
22770 case "(($ac_try" in
22771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22772 *) ac_try_echo=$ac_try;;
22773 esac
22774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22775 (eval "$ac_compile") 2>conftest.er1
22776 ac_status=$?
22777 grep -v '^ *+' conftest.er1 >conftest.err
22778 rm -f conftest.er1
22779 cat conftest.err >&5
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); } &&
22782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22783 { (case "(($ac_try" in
22784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22785 *) ac_try_echo=$ac_try;;
22786 esac
22787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22788 (eval "$ac_try") 2>&5
22789 ac_status=$?
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); }; } &&
22792 { ac_try='test -s conftest.$ac_objext'
22793 { (case "(($ac_try" in
22794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22795 *) ac_try_echo=$ac_try;;
22796 esac
22797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22798 (eval "$ac_try") 2>&5
22799 ac_status=$?
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); }; }; then
22802 ac_cv_member_sg_io_hdr_t_interface_id=yes
22803 else
22804 echo "$as_me: failed program was:" >&5
22805 sed 's/^/| /' conftest.$ac_ext >&5
22807 ac_cv_member_sg_io_hdr_t_interface_id=no
22810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22815 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22816 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22817 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22819 cat >>confdefs.h <<_ACEOF
22820 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22821 _ACEOF
22827 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22828 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22829 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22830 echo $ECHO_N "(cached) $ECHO_C" >&6
22831 else
22832 cat >conftest.$ac_ext <<_ACEOF
22833 /* confdefs.h. */
22834 _ACEOF
22835 cat confdefs.h >>conftest.$ac_ext
22836 cat >>conftest.$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22838 #include <signal.h>
22841 main ()
22843 static siginfo_t ac_aggr;
22844 if (ac_aggr.si_fd)
22845 return 0;
22847 return 0;
22849 _ACEOF
22850 rm -f conftest.$ac_objext
22851 if { (ac_try="$ac_compile"
22852 case "(($ac_try" in
22853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22854 *) ac_try_echo=$ac_try;;
22855 esac
22856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22857 (eval "$ac_compile") 2>conftest.er1
22858 ac_status=$?
22859 grep -v '^ *+' conftest.er1 >conftest.err
22860 rm -f conftest.er1
22861 cat conftest.err >&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); } &&
22864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22865 { (case "(($ac_try" in
22866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22867 *) ac_try_echo=$ac_try;;
22868 esac
22869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22870 (eval "$ac_try") 2>&5
22871 ac_status=$?
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); }; } &&
22874 { ac_try='test -s conftest.$ac_objext'
22875 { (case "(($ac_try" in
22876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22877 *) ac_try_echo=$ac_try;;
22878 esac
22879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22880 (eval "$ac_try") 2>&5
22881 ac_status=$?
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); }; }; then
22884 ac_cv_member_siginfo_t_si_fd=yes
22885 else
22886 echo "$as_me: failed program was:" >&5
22887 sed 's/^/| /' conftest.$ac_ext >&5
22889 cat >conftest.$ac_ext <<_ACEOF
22890 /* confdefs.h. */
22891 _ACEOF
22892 cat confdefs.h >>conftest.$ac_ext
22893 cat >>conftest.$ac_ext <<_ACEOF
22894 /* end confdefs.h. */
22895 #include <signal.h>
22898 main ()
22900 static siginfo_t ac_aggr;
22901 if (sizeof ac_aggr.si_fd)
22902 return 0;
22904 return 0;
22906 _ACEOF
22907 rm -f conftest.$ac_objext
22908 if { (ac_try="$ac_compile"
22909 case "(($ac_try" in
22910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22911 *) ac_try_echo=$ac_try;;
22912 esac
22913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22914 (eval "$ac_compile") 2>conftest.er1
22915 ac_status=$?
22916 grep -v '^ *+' conftest.er1 >conftest.err
22917 rm -f conftest.er1
22918 cat conftest.err >&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); } &&
22921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22922 { (case "(($ac_try" in
22923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22924 *) ac_try_echo=$ac_try;;
22925 esac
22926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22927 (eval "$ac_try") 2>&5
22928 ac_status=$?
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); }; } &&
22931 { ac_try='test -s conftest.$ac_objext'
22932 { (case "(($ac_try" in
22933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22934 *) ac_try_echo=$ac_try;;
22935 esac
22936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22937 (eval "$ac_try") 2>&5
22938 ac_status=$?
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); }; }; then
22941 ac_cv_member_siginfo_t_si_fd=yes
22942 else
22943 echo "$as_me: failed program was:" >&5
22944 sed 's/^/| /' conftest.$ac_ext >&5
22946 ac_cv_member_siginfo_t_si_fd=no
22949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22954 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22955 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22956 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22958 cat >>confdefs.h <<_ACEOF
22959 #define HAVE_SIGINFO_T_SI_FD 1
22960 _ACEOF
22966 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22967 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22968 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22969 echo $ECHO_N "(cached) $ECHO_C" >&6
22970 else
22971 cat >conftest.$ac_ext <<_ACEOF
22972 /* confdefs.h. */
22973 _ACEOF
22974 cat confdefs.h >>conftest.$ac_ext
22975 cat >>conftest.$ac_ext <<_ACEOF
22976 /* end confdefs.h. */
22977 #include <sys/types.h>
22978 #ifdef HAVE_SYS_MTIO_H
22979 #include <sys/mtio.h>
22980 #endif
22983 main ()
22985 static struct mtget ac_aggr;
22986 if (ac_aggr.mt_blksiz)
22987 return 0;
22989 return 0;
22991 _ACEOF
22992 rm -f conftest.$ac_objext
22993 if { (ac_try="$ac_compile"
22994 case "(($ac_try" in
22995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22996 *) ac_try_echo=$ac_try;;
22997 esac
22998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22999 (eval "$ac_compile") 2>conftest.er1
23000 ac_status=$?
23001 grep -v '^ *+' conftest.er1 >conftest.err
23002 rm -f conftest.er1
23003 cat conftest.err >&5
23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005 (exit $ac_status); } &&
23006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23007 { (case "(($ac_try" in
23008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23009 *) ac_try_echo=$ac_try;;
23010 esac
23011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23012 (eval "$ac_try") 2>&5
23013 ac_status=$?
23014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23015 (exit $ac_status); }; } &&
23016 { ac_try='test -s conftest.$ac_objext'
23017 { (case "(($ac_try" in
23018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23019 *) ac_try_echo=$ac_try;;
23020 esac
23021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23022 (eval "$ac_try") 2>&5
23023 ac_status=$?
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); }; }; then
23026 ac_cv_member_struct_mtget_mt_blksiz=yes
23027 else
23028 echo "$as_me: failed program was:" >&5
23029 sed 's/^/| /' conftest.$ac_ext >&5
23031 cat >conftest.$ac_ext <<_ACEOF
23032 /* confdefs.h. */
23033 _ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037 #include <sys/types.h>
23038 #ifdef HAVE_SYS_MTIO_H
23039 #include <sys/mtio.h>
23040 #endif
23043 main ()
23045 static struct mtget ac_aggr;
23046 if (sizeof ac_aggr.mt_blksiz)
23047 return 0;
23049 return 0;
23051 _ACEOF
23052 rm -f conftest.$ac_objext
23053 if { (ac_try="$ac_compile"
23054 case "(($ac_try" in
23055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23056 *) ac_try_echo=$ac_try;;
23057 esac
23058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23059 (eval "$ac_compile") 2>conftest.er1
23060 ac_status=$?
23061 grep -v '^ *+' conftest.er1 >conftest.err
23062 rm -f conftest.er1
23063 cat conftest.err >&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); } &&
23066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23067 { (case "(($ac_try" in
23068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23069 *) ac_try_echo=$ac_try;;
23070 esac
23071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23072 (eval "$ac_try") 2>&5
23073 ac_status=$?
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); }; } &&
23076 { ac_try='test -s conftest.$ac_objext'
23077 { (case "(($ac_try" in
23078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23079 *) ac_try_echo=$ac_try;;
23080 esac
23081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23082 (eval "$ac_try") 2>&5
23083 ac_status=$?
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23086 ac_cv_member_struct_mtget_mt_blksiz=yes
23087 else
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.$ac_ext >&5
23091 ac_cv_member_struct_mtget_mt_blksiz=no
23094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23099 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
23100 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
23101 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
23103 cat >>confdefs.h <<_ACEOF
23104 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
23105 _ACEOF
23109 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
23110 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
23111 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
23112 echo $ECHO_N "(cached) $ECHO_C" >&6
23113 else
23114 cat >conftest.$ac_ext <<_ACEOF
23115 /* confdefs.h. */
23116 _ACEOF
23117 cat confdefs.h >>conftest.$ac_ext
23118 cat >>conftest.$ac_ext <<_ACEOF
23119 /* end confdefs.h. */
23120 #include <sys/types.h>
23121 #ifdef HAVE_SYS_MTIO_H
23122 #include <sys/mtio.h>
23123 #endif
23126 main ()
23128 static struct mtget ac_aggr;
23129 if (ac_aggr.mt_gstat)
23130 return 0;
23132 return 0;
23134 _ACEOF
23135 rm -f conftest.$ac_objext
23136 if { (ac_try="$ac_compile"
23137 case "(($ac_try" in
23138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23139 *) ac_try_echo=$ac_try;;
23140 esac
23141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23142 (eval "$ac_compile") 2>conftest.er1
23143 ac_status=$?
23144 grep -v '^ *+' conftest.er1 >conftest.err
23145 rm -f conftest.er1
23146 cat conftest.err >&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); } &&
23149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23150 { (case "(($ac_try" in
23151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23152 *) ac_try_echo=$ac_try;;
23153 esac
23154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23155 (eval "$ac_try") 2>&5
23156 ac_status=$?
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; } &&
23159 { ac_try='test -s conftest.$ac_objext'
23160 { (case "(($ac_try" in
23161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23162 *) ac_try_echo=$ac_try;;
23163 esac
23164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23165 (eval "$ac_try") 2>&5
23166 ac_status=$?
23167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23168 (exit $ac_status); }; }; then
23169 ac_cv_member_struct_mtget_mt_gstat=yes
23170 else
23171 echo "$as_me: failed program was:" >&5
23172 sed 's/^/| /' conftest.$ac_ext >&5
23174 cat >conftest.$ac_ext <<_ACEOF
23175 /* confdefs.h. */
23176 _ACEOF
23177 cat confdefs.h >>conftest.$ac_ext
23178 cat >>conftest.$ac_ext <<_ACEOF
23179 /* end confdefs.h. */
23180 #include <sys/types.h>
23181 #ifdef HAVE_SYS_MTIO_H
23182 #include <sys/mtio.h>
23183 #endif
23186 main ()
23188 static struct mtget ac_aggr;
23189 if (sizeof ac_aggr.mt_gstat)
23190 return 0;
23192 return 0;
23194 _ACEOF
23195 rm -f conftest.$ac_objext
23196 if { (ac_try="$ac_compile"
23197 case "(($ac_try" in
23198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23199 *) ac_try_echo=$ac_try;;
23200 esac
23201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23202 (eval "$ac_compile") 2>conftest.er1
23203 ac_status=$?
23204 grep -v '^ *+' conftest.er1 >conftest.err
23205 rm -f conftest.er1
23206 cat conftest.err >&5
23207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208 (exit $ac_status); } &&
23209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23210 { (case "(($ac_try" in
23211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23212 *) ac_try_echo=$ac_try;;
23213 esac
23214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23215 (eval "$ac_try") 2>&5
23216 ac_status=$?
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; } &&
23219 { ac_try='test -s conftest.$ac_objext'
23220 { (case "(($ac_try" in
23221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23222 *) ac_try_echo=$ac_try;;
23223 esac
23224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23225 (eval "$ac_try") 2>&5
23226 ac_status=$?
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); }; }; then
23229 ac_cv_member_struct_mtget_mt_gstat=yes
23230 else
23231 echo "$as_me: failed program was:" >&5
23232 sed 's/^/| /' conftest.$ac_ext >&5
23234 ac_cv_member_struct_mtget_mt_gstat=no
23237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23242 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
23243 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
23244 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
23246 cat >>confdefs.h <<_ACEOF
23247 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
23248 _ACEOF
23252 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
23253 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
23254 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
23255 echo $ECHO_N "(cached) $ECHO_C" >&6
23256 else
23257 cat >conftest.$ac_ext <<_ACEOF
23258 /* confdefs.h. */
23259 _ACEOF
23260 cat confdefs.h >>conftest.$ac_ext
23261 cat >>conftest.$ac_ext <<_ACEOF
23262 /* end confdefs.h. */
23263 #include <sys/types.h>
23264 #ifdef HAVE_SYS_MTIO_H
23265 #include <sys/mtio.h>
23266 #endif
23269 main ()
23271 static struct mtget ac_aggr;
23272 if (ac_aggr.mt_blkno)
23273 return 0;
23275 return 0;
23277 _ACEOF
23278 rm -f conftest.$ac_objext
23279 if { (ac_try="$ac_compile"
23280 case "(($ac_try" in
23281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23282 *) ac_try_echo=$ac_try;;
23283 esac
23284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23285 (eval "$ac_compile") 2>conftest.er1
23286 ac_status=$?
23287 grep -v '^ *+' conftest.er1 >conftest.err
23288 rm -f conftest.er1
23289 cat conftest.err >&5
23290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291 (exit $ac_status); } &&
23292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23293 { (case "(($ac_try" in
23294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23295 *) ac_try_echo=$ac_try;;
23296 esac
23297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23298 (eval "$ac_try") 2>&5
23299 ac_status=$?
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); }; } &&
23302 { ac_try='test -s conftest.$ac_objext'
23303 { (case "(($ac_try" in
23304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23305 *) ac_try_echo=$ac_try;;
23306 esac
23307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23308 (eval "$ac_try") 2>&5
23309 ac_status=$?
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); }; }; then
23312 ac_cv_member_struct_mtget_mt_blkno=yes
23313 else
23314 echo "$as_me: failed program was:" >&5
23315 sed 's/^/| /' conftest.$ac_ext >&5
23317 cat >conftest.$ac_ext <<_ACEOF
23318 /* confdefs.h. */
23319 _ACEOF
23320 cat confdefs.h >>conftest.$ac_ext
23321 cat >>conftest.$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23323 #include <sys/types.h>
23324 #ifdef HAVE_SYS_MTIO_H
23325 #include <sys/mtio.h>
23326 #endif
23329 main ()
23331 static struct mtget ac_aggr;
23332 if (sizeof ac_aggr.mt_blkno)
23333 return 0;
23335 return 0;
23337 _ACEOF
23338 rm -f conftest.$ac_objext
23339 if { (ac_try="$ac_compile"
23340 case "(($ac_try" in
23341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23342 *) ac_try_echo=$ac_try;;
23343 esac
23344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23345 (eval "$ac_compile") 2>conftest.er1
23346 ac_status=$?
23347 grep -v '^ *+' conftest.er1 >conftest.err
23348 rm -f conftest.er1
23349 cat conftest.err >&5
23350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23351 (exit $ac_status); } &&
23352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23353 { (case "(($ac_try" in
23354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23355 *) ac_try_echo=$ac_try;;
23356 esac
23357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23358 (eval "$ac_try") 2>&5
23359 ac_status=$?
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; } &&
23362 { ac_try='test -s conftest.$ac_objext'
23363 { (case "(($ac_try" in
23364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23365 *) ac_try_echo=$ac_try;;
23366 esac
23367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23368 (eval "$ac_try") 2>&5
23369 ac_status=$?
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); }; }; then
23372 ac_cv_member_struct_mtget_mt_blkno=yes
23373 else
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.$ac_ext >&5
23377 ac_cv_member_struct_mtget_mt_blkno=no
23380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23385 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
23386 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
23387 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
23389 cat >>confdefs.h <<_ACEOF
23390 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
23391 _ACEOF
23397 { echo "$as_me:$LINENO: checking for struct option.name" >&5
23398 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
23399 if test "${ac_cv_member_struct_option_name+set}" = set; then
23400 echo $ECHO_N "(cached) $ECHO_C" >&6
23401 else
23402 cat >conftest.$ac_ext <<_ACEOF
23403 /* confdefs.h. */
23404 _ACEOF
23405 cat confdefs.h >>conftest.$ac_ext
23406 cat >>conftest.$ac_ext <<_ACEOF
23407 /* end confdefs.h. */
23408 #ifdef HAVE_GETOPT_H
23409 #include <getopt.h>
23410 #endif
23413 main ()
23415 static struct option ac_aggr;
23416 if (ac_aggr.name)
23417 return 0;
23419 return 0;
23421 _ACEOF
23422 rm -f conftest.$ac_objext
23423 if { (ac_try="$ac_compile"
23424 case "(($ac_try" in
23425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23426 *) ac_try_echo=$ac_try;;
23427 esac
23428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23429 (eval "$ac_compile") 2>conftest.er1
23430 ac_status=$?
23431 grep -v '^ *+' conftest.er1 >conftest.err
23432 rm -f conftest.er1
23433 cat conftest.err >&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); } &&
23436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23437 { (case "(($ac_try" in
23438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23439 *) ac_try_echo=$ac_try;;
23440 esac
23441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23442 (eval "$ac_try") 2>&5
23443 ac_status=$?
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); }; } &&
23446 { ac_try='test -s conftest.$ac_objext'
23447 { (case "(($ac_try" in
23448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23449 *) ac_try_echo=$ac_try;;
23450 esac
23451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23452 (eval "$ac_try") 2>&5
23453 ac_status=$?
23454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455 (exit $ac_status); }; }; then
23456 ac_cv_member_struct_option_name=yes
23457 else
23458 echo "$as_me: failed program was:" >&5
23459 sed 's/^/| /' conftest.$ac_ext >&5
23461 cat >conftest.$ac_ext <<_ACEOF
23462 /* confdefs.h. */
23463 _ACEOF
23464 cat confdefs.h >>conftest.$ac_ext
23465 cat >>conftest.$ac_ext <<_ACEOF
23466 /* end confdefs.h. */
23467 #ifdef HAVE_GETOPT_H
23468 #include <getopt.h>
23469 #endif
23472 main ()
23474 static struct option ac_aggr;
23475 if (sizeof ac_aggr.name)
23476 return 0;
23478 return 0;
23480 _ACEOF
23481 rm -f conftest.$ac_objext
23482 if { (ac_try="$ac_compile"
23483 case "(($ac_try" in
23484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23485 *) ac_try_echo=$ac_try;;
23486 esac
23487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23488 (eval "$ac_compile") 2>conftest.er1
23489 ac_status=$?
23490 grep -v '^ *+' conftest.er1 >conftest.err
23491 rm -f conftest.er1
23492 cat conftest.err >&5
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); } &&
23495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23496 { (case "(($ac_try" in
23497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23498 *) ac_try_echo=$ac_try;;
23499 esac
23500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23501 (eval "$ac_try") 2>&5
23502 ac_status=$?
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); }; } &&
23505 { ac_try='test -s conftest.$ac_objext'
23506 { (case "(($ac_try" in
23507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23508 *) ac_try_echo=$ac_try;;
23509 esac
23510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23511 (eval "$ac_try") 2>&5
23512 ac_status=$?
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); }; }; then
23515 ac_cv_member_struct_option_name=yes
23516 else
23517 echo "$as_me: failed program was:" >&5
23518 sed 's/^/| /' conftest.$ac_ext >&5
23520 ac_cv_member_struct_option_name=no
23523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23528 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23529 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23530 if test $ac_cv_member_struct_option_name = yes; then
23532 cat >>confdefs.h <<_ACEOF
23533 #define HAVE_STRUCT_OPTION_NAME 1
23534 _ACEOF
23540 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23541 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23542 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23543 echo $ECHO_N "(cached) $ECHO_C" >&6
23544 else
23545 cat >conftest.$ac_ext <<_ACEOF
23546 /* confdefs.h. */
23547 _ACEOF
23548 cat confdefs.h >>conftest.$ac_ext
23549 cat >>conftest.$ac_ext <<_ACEOF
23550 /* end confdefs.h. */
23551 $ac_includes_default
23553 main ()
23555 static struct stat ac_aggr;
23556 if (ac_aggr.st_blocks)
23557 return 0;
23559 return 0;
23561 _ACEOF
23562 rm -f conftest.$ac_objext
23563 if { (ac_try="$ac_compile"
23564 case "(($ac_try" in
23565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23566 *) ac_try_echo=$ac_try;;
23567 esac
23568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23569 (eval "$ac_compile") 2>conftest.er1
23570 ac_status=$?
23571 grep -v '^ *+' conftest.er1 >conftest.err
23572 rm -f conftest.er1
23573 cat conftest.err >&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } &&
23576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23577 { (case "(($ac_try" in
23578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23579 *) ac_try_echo=$ac_try;;
23580 esac
23581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23582 (eval "$ac_try") 2>&5
23583 ac_status=$?
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); }; } &&
23586 { ac_try='test -s conftest.$ac_objext'
23587 { (case "(($ac_try" in
23588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23589 *) ac_try_echo=$ac_try;;
23590 esac
23591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23592 (eval "$ac_try") 2>&5
23593 ac_status=$?
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; }; then
23596 ac_cv_member_struct_stat_st_blocks=yes
23597 else
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23601 cat >conftest.$ac_ext <<_ACEOF
23602 /* confdefs.h. */
23603 _ACEOF
23604 cat confdefs.h >>conftest.$ac_ext
23605 cat >>conftest.$ac_ext <<_ACEOF
23606 /* end confdefs.h. */
23607 $ac_includes_default
23609 main ()
23611 static struct stat ac_aggr;
23612 if (sizeof ac_aggr.st_blocks)
23613 return 0;
23615 return 0;
23617 _ACEOF
23618 rm -f conftest.$ac_objext
23619 if { (ac_try="$ac_compile"
23620 case "(($ac_try" in
23621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23622 *) ac_try_echo=$ac_try;;
23623 esac
23624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23625 (eval "$ac_compile") 2>conftest.er1
23626 ac_status=$?
23627 grep -v '^ *+' conftest.er1 >conftest.err
23628 rm -f conftest.er1
23629 cat conftest.err >&5
23630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631 (exit $ac_status); } &&
23632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23633 { (case "(($ac_try" in
23634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23635 *) ac_try_echo=$ac_try;;
23636 esac
23637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23638 (eval "$ac_try") 2>&5
23639 ac_status=$?
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); }; } &&
23642 { ac_try='test -s conftest.$ac_objext'
23643 { (case "(($ac_try" in
23644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23645 *) ac_try_echo=$ac_try;;
23646 esac
23647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23648 (eval "$ac_try") 2>&5
23649 ac_status=$?
23650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651 (exit $ac_status); }; }; then
23652 ac_cv_member_struct_stat_st_blocks=yes
23653 else
23654 echo "$as_me: failed program was:" >&5
23655 sed 's/^/| /' conftest.$ac_ext >&5
23657 ac_cv_member_struct_stat_st_blocks=no
23660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23665 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23666 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23667 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23669 cat >>confdefs.h <<_ACEOF
23670 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23671 _ACEOF
23677 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23678 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23679 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23680 echo $ECHO_N "(cached) $ECHO_C" >&6
23681 else
23682 cat >conftest.$ac_ext <<_ACEOF
23683 /* confdefs.h. */
23684 _ACEOF
23685 cat confdefs.h >>conftest.$ac_ext
23686 cat >>conftest.$ac_ext <<_ACEOF
23687 /* end confdefs.h. */
23688 #ifdef HAVE_SYS_TYPES_H
23689 #include <sys/types.h>
23690 #endif
23691 #ifdef HAVE_NETINET_IN_H
23692 #include <netinet/in.h>
23693 #endif
23696 main ()
23698 static struct sockaddr_in6 ac_aggr;
23699 if (ac_aggr.sin6_scope_id)
23700 return 0;
23702 return 0;
23704 _ACEOF
23705 rm -f conftest.$ac_objext
23706 if { (ac_try="$ac_compile"
23707 case "(($ac_try" in
23708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23709 *) ac_try_echo=$ac_try;;
23710 esac
23711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23712 (eval "$ac_compile") 2>conftest.er1
23713 ac_status=$?
23714 grep -v '^ *+' conftest.er1 >conftest.err
23715 rm -f conftest.er1
23716 cat conftest.err >&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); } &&
23719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23720 { (case "(($ac_try" in
23721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23722 *) ac_try_echo=$ac_try;;
23723 esac
23724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23725 (eval "$ac_try") 2>&5
23726 ac_status=$?
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); }; } &&
23729 { ac_try='test -s conftest.$ac_objext'
23730 { (case "(($ac_try" in
23731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23732 *) ac_try_echo=$ac_try;;
23733 esac
23734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23735 (eval "$ac_try") 2>&5
23736 ac_status=$?
23737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738 (exit $ac_status); }; }; then
23739 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23740 else
23741 echo "$as_me: failed program was:" >&5
23742 sed 's/^/| /' conftest.$ac_ext >&5
23744 cat >conftest.$ac_ext <<_ACEOF
23745 /* confdefs.h. */
23746 _ACEOF
23747 cat confdefs.h >>conftest.$ac_ext
23748 cat >>conftest.$ac_ext <<_ACEOF
23749 /* end confdefs.h. */
23750 #ifdef HAVE_SYS_TYPES_H
23751 #include <sys/types.h>
23752 #endif
23753 #ifdef HAVE_NETINET_IN_H
23754 #include <netinet/in.h>
23755 #endif
23758 main ()
23760 static struct sockaddr_in6 ac_aggr;
23761 if (sizeof ac_aggr.sin6_scope_id)
23762 return 0;
23764 return 0;
23766 _ACEOF
23767 rm -f conftest.$ac_objext
23768 if { (ac_try="$ac_compile"
23769 case "(($ac_try" in
23770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23771 *) ac_try_echo=$ac_try;;
23772 esac
23773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23774 (eval "$ac_compile") 2>conftest.er1
23775 ac_status=$?
23776 grep -v '^ *+' conftest.er1 >conftest.err
23777 rm -f conftest.er1
23778 cat conftest.err >&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); } &&
23781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23782 { (case "(($ac_try" in
23783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23784 *) ac_try_echo=$ac_try;;
23785 esac
23786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23787 (eval "$ac_try") 2>&5
23788 ac_status=$?
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); }; } &&
23791 { ac_try='test -s conftest.$ac_objext'
23792 { (case "(($ac_try" in
23793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23794 *) ac_try_echo=$ac_try;;
23795 esac
23796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23797 (eval "$ac_try") 2>&5
23798 ac_status=$?
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); }; }; then
23801 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23802 else
23803 echo "$as_me: failed program was:" >&5
23804 sed 's/^/| /' conftest.$ac_ext >&5
23806 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23814 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23815 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23816 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23818 cat >>confdefs.h <<_ACEOF
23819 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23820 _ACEOF
23826 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23827 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23828 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23829 echo $ECHO_N "(cached) $ECHO_C" >&6
23830 else
23831 cat >conftest.$ac_ext <<_ACEOF
23832 /* confdefs.h. */
23833 _ACEOF
23834 cat confdefs.h >>conftest.$ac_ext
23835 cat >>conftest.$ac_ext <<_ACEOF
23836 /* end confdefs.h. */
23837 #ifdef HAVE_SYS_TYPES_H
23838 #include <sys/types.h>
23839 #endif
23840 #ifdef HAVE_NETINET_IN_H
23841 # include <netinet/in.h>
23842 #endif
23843 #ifdef HAVE_ARPA_NAMESER_H
23844 # include <arpa/nameser.h>
23845 #endif
23848 main ()
23850 static ns_msg ac_aggr;
23851 if (ac_aggr._msg_ptr)
23852 return 0;
23854 return 0;
23856 _ACEOF
23857 rm -f conftest.$ac_objext
23858 if { (ac_try="$ac_compile"
23859 case "(($ac_try" in
23860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23861 *) ac_try_echo=$ac_try;;
23862 esac
23863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23864 (eval "$ac_compile") 2>conftest.er1
23865 ac_status=$?
23866 grep -v '^ *+' conftest.er1 >conftest.err
23867 rm -f conftest.er1
23868 cat conftest.err >&5
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); } &&
23871 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23872 { (case "(($ac_try" in
23873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23874 *) ac_try_echo=$ac_try;;
23875 esac
23876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23877 (eval "$ac_try") 2>&5
23878 ac_status=$?
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; } &&
23881 { ac_try='test -s conftest.$ac_objext'
23882 { (case "(($ac_try" in
23883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23884 *) ac_try_echo=$ac_try;;
23885 esac
23886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23887 (eval "$ac_try") 2>&5
23888 ac_status=$?
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; }; then
23891 ac_cv_member_ns_msg__msg_ptr=yes
23892 else
23893 echo "$as_me: failed program was:" >&5
23894 sed 's/^/| /' conftest.$ac_ext >&5
23896 cat >conftest.$ac_ext <<_ACEOF
23897 /* confdefs.h. */
23898 _ACEOF
23899 cat confdefs.h >>conftest.$ac_ext
23900 cat >>conftest.$ac_ext <<_ACEOF
23901 /* end confdefs.h. */
23902 #ifdef HAVE_SYS_TYPES_H
23903 #include <sys/types.h>
23904 #endif
23905 #ifdef HAVE_NETINET_IN_H
23906 # include <netinet/in.h>
23907 #endif
23908 #ifdef HAVE_ARPA_NAMESER_H
23909 # include <arpa/nameser.h>
23910 #endif
23913 main ()
23915 static ns_msg ac_aggr;
23916 if (sizeof ac_aggr._msg_ptr)
23917 return 0;
23919 return 0;
23921 _ACEOF
23922 rm -f conftest.$ac_objext
23923 if { (ac_try="$ac_compile"
23924 case "(($ac_try" in
23925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23926 *) ac_try_echo=$ac_try;;
23927 esac
23928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23929 (eval "$ac_compile") 2>conftest.er1
23930 ac_status=$?
23931 grep -v '^ *+' conftest.er1 >conftest.err
23932 rm -f conftest.er1
23933 cat conftest.err >&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); } &&
23936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23937 { (case "(($ac_try" in
23938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23939 *) ac_try_echo=$ac_try;;
23940 esac
23941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23942 (eval "$ac_try") 2>&5
23943 ac_status=$?
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); }; } &&
23946 { ac_try='test -s conftest.$ac_objext'
23947 { (case "(($ac_try" in
23948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23949 *) ac_try_echo=$ac_try;;
23950 esac
23951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23952 (eval "$ac_try") 2>&5
23953 ac_status=$?
23954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955 (exit $ac_status); }; }; then
23956 ac_cv_member_ns_msg__msg_ptr=yes
23957 else
23958 echo "$as_me: failed program was:" >&5
23959 sed 's/^/| /' conftest.$ac_ext >&5
23961 ac_cv_member_ns_msg__msg_ptr=no
23964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23969 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23970 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23971 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23973 cat >>confdefs.h <<_ACEOF
23974 #define HAVE_NS_MSG__MSG_PTR 1
23975 _ACEOF
23981 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23982 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23983 if test "${ac_cv_have_timezone+set}" = set; then
23984 echo $ECHO_N "(cached) $ECHO_C" >&6
23985 else
23986 cat >conftest.$ac_ext <<_ACEOF
23987 /* confdefs.h. */
23988 _ACEOF
23989 cat confdefs.h >>conftest.$ac_ext
23990 cat >>conftest.$ac_ext <<_ACEOF
23991 /* end confdefs.h. */
23992 #include <time.h>
23994 main ()
23996 timezone;
23998 return 0;
24000 _ACEOF
24001 rm -f conftest.$ac_objext conftest$ac_exeext
24002 if { (ac_try="$ac_link"
24003 case "(($ac_try" in
24004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24005 *) ac_try_echo=$ac_try;;
24006 esac
24007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24008 (eval "$ac_link") 2>conftest.er1
24009 ac_status=$?
24010 grep -v '^ *+' conftest.er1 >conftest.err
24011 rm -f conftest.er1
24012 cat conftest.err >&5
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); } &&
24015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24016 { (case "(($ac_try" in
24017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24018 *) ac_try_echo=$ac_try;;
24019 esac
24020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24021 (eval "$ac_try") 2>&5
24022 ac_status=$?
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); }; } &&
24025 { ac_try='test -s conftest$ac_exeext'
24026 { (case "(($ac_try" in
24027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24028 *) ac_try_echo=$ac_try;;
24029 esac
24030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24031 (eval "$ac_try") 2>&5
24032 ac_status=$?
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); }; }; then
24035 ac_cv_have_timezone="yes"
24036 else
24037 echo "$as_me: failed program was:" >&5
24038 sed 's/^/| /' conftest.$ac_ext >&5
24040 ac_cv_have_timezone="no"
24043 rm -f core conftest.err conftest.$ac_objext \
24044 conftest$ac_exeext conftest.$ac_ext
24046 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
24047 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
24048 if test "$ac_cv_have_timezone" = "yes"
24049 then
24051 cat >>confdefs.h <<\_ACEOF
24052 #define HAVE_TIMEZONE 1
24053 _ACEOF
24056 { echo "$as_me:$LINENO: checking for daylight variable" >&5
24057 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
24058 if test "${ac_cv_have_daylight+set}" = set; then
24059 echo $ECHO_N "(cached) $ECHO_C" >&6
24060 else
24061 cat >conftest.$ac_ext <<_ACEOF
24062 /* confdefs.h. */
24063 _ACEOF
24064 cat confdefs.h >>conftest.$ac_ext
24065 cat >>conftest.$ac_ext <<_ACEOF
24066 /* end confdefs.h. */
24067 #include <time.h>
24069 main ()
24071 daylight;
24073 return 0;
24075 _ACEOF
24076 rm -f conftest.$ac_objext conftest$ac_exeext
24077 if { (ac_try="$ac_link"
24078 case "(($ac_try" in
24079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24080 *) ac_try_echo=$ac_try;;
24081 esac
24082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24083 (eval "$ac_link") 2>conftest.er1
24084 ac_status=$?
24085 grep -v '^ *+' conftest.er1 >conftest.err
24086 rm -f conftest.er1
24087 cat conftest.err >&5
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); } &&
24090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24091 { (case "(($ac_try" in
24092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24093 *) ac_try_echo=$ac_try;;
24094 esac
24095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24096 (eval "$ac_try") 2>&5
24097 ac_status=$?
24098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24099 (exit $ac_status); }; } &&
24100 { ac_try='test -s conftest$ac_exeext'
24101 { (case "(($ac_try" in
24102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24103 *) ac_try_echo=$ac_try;;
24104 esac
24105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24106 (eval "$ac_try") 2>&5
24107 ac_status=$?
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); }; }; then
24110 ac_cv_have_daylight="yes"
24111 else
24112 echo "$as_me: failed program was:" >&5
24113 sed 's/^/| /' conftest.$ac_ext >&5
24115 ac_cv_have_daylight="no"
24118 rm -f core conftest.err conftest.$ac_objext \
24119 conftest$ac_exeext conftest.$ac_ext
24121 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
24122 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
24123 if test "$ac_cv_have_daylight" = "yes"
24124 then
24126 cat >>confdefs.h <<\_ACEOF
24127 #define HAVE_DAYLIGHT 1
24128 _ACEOF
24133 case $host_cpu in
24134 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
24135 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
24136 if test "${ac_cv_cpp_def___i386__+set}" = set; then
24137 echo $ECHO_N "(cached) $ECHO_C" >&6
24138 else
24139 cat >conftest.$ac_ext <<_ACEOF
24140 /* confdefs.h. */
24141 _ACEOF
24142 cat confdefs.h >>conftest.$ac_ext
24143 cat >>conftest.$ac_ext <<_ACEOF
24144 /* end confdefs.h. */
24145 #ifndef __i386__
24147 #endif
24148 _ACEOF
24149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24150 $EGREP "yes" >/dev/null 2>&1; then
24151 ac_cv_cpp_def___i386__=yes
24152 else
24153 ac_cv_cpp_def___i386__=no
24155 rm -f conftest*
24158 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
24159 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
24160 if test $ac_cv_cpp_def___i386__ = yes; then
24161 CFLAGS="$CFLAGS -D__i386__"
24162 LINTFLAGS="$LINTFLAGS -D__i386__"
24165 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
24166 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
24167 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
24168 echo $ECHO_N "(cached) $ECHO_C" >&6
24169 else
24170 cat >conftest.$ac_ext <<_ACEOF
24171 /* confdefs.h. */
24172 _ACEOF
24173 cat confdefs.h >>conftest.$ac_ext
24174 cat >>conftest.$ac_ext <<_ACEOF
24175 /* end confdefs.h. */
24176 #ifndef __x86_64__
24178 #endif
24179 _ACEOF
24180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24181 $EGREP "yes" >/dev/null 2>&1; then
24182 ac_cv_cpp_def___x86_64__=yes
24183 else
24184 ac_cv_cpp_def___x86_64__=no
24186 rm -f conftest*
24189 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
24190 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
24191 if test $ac_cv_cpp_def___x86_64__ = yes; then
24192 CFLAGS="$CFLAGS -D__x86_64__"
24193 LINTFLAGS="$LINTFLAGS -D__x86_64__"
24196 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
24197 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
24198 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
24199 echo $ECHO_N "(cached) $ECHO_C" >&6
24200 else
24201 cat >conftest.$ac_ext <<_ACEOF
24202 /* confdefs.h. */
24203 _ACEOF
24204 cat confdefs.h >>conftest.$ac_ext
24205 cat >>conftest.$ac_ext <<_ACEOF
24206 /* end confdefs.h. */
24207 #ifndef _WIN64
24209 #endif
24210 _ACEOF
24211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24212 $EGREP "yes" >/dev/null 2>&1; then
24213 ac_cv_cpp_def__WIN64=yes
24214 else
24215 ac_cv_cpp_def__WIN64=no
24217 rm -f conftest*
24220 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
24221 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
24222 if test $ac_cv_cpp_def__WIN64 = yes; then
24223 CFLAGS="$CFLAGS -D_WIN64"
24224 LINTFLAGS="$LINTFLAGS -D_WIN64"
24227 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
24228 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
24229 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
24230 echo $ECHO_N "(cached) $ECHO_C" >&6
24231 else
24232 cat >conftest.$ac_ext <<_ACEOF
24233 /* confdefs.h. */
24234 _ACEOF
24235 cat confdefs.h >>conftest.$ac_ext
24236 cat >>conftest.$ac_ext <<_ACEOF
24237 /* end confdefs.h. */
24238 #ifndef __ALPHA__
24240 #endif
24241 _ACEOF
24242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24243 $EGREP "yes" >/dev/null 2>&1; then
24244 ac_cv_cpp_def___ALPHA__=yes
24245 else
24246 ac_cv_cpp_def___ALPHA__=no
24248 rm -f conftest*
24251 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
24252 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
24253 if test $ac_cv_cpp_def___ALPHA__ = yes; then
24254 CFLAGS="$CFLAGS -D__ALPHA__"
24255 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
24258 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
24259 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
24260 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
24261 echo $ECHO_N "(cached) $ECHO_C" >&6
24262 else
24263 cat >conftest.$ac_ext <<_ACEOF
24264 /* confdefs.h. */
24265 _ACEOF
24266 cat confdefs.h >>conftest.$ac_ext
24267 cat >>conftest.$ac_ext <<_ACEOF
24268 /* end confdefs.h. */
24269 #ifndef __sparc__
24271 #endif
24272 _ACEOF
24273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24274 $EGREP "yes" >/dev/null 2>&1; then
24275 ac_cv_cpp_def___sparc__=yes
24276 else
24277 ac_cv_cpp_def___sparc__=no
24279 rm -f conftest*
24282 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
24283 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
24284 if test $ac_cv_cpp_def___sparc__ = yes; then
24285 CFLAGS="$CFLAGS -D__sparc__"
24286 LINTFLAGS="$LINTFLAGS -D__sparc__"
24289 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
24290 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
24291 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
24292 echo $ECHO_N "(cached) $ECHO_C" >&6
24293 else
24294 cat >conftest.$ac_ext <<_ACEOF
24295 /* confdefs.h. */
24296 _ACEOF
24297 cat confdefs.h >>conftest.$ac_ext
24298 cat >>conftest.$ac_ext <<_ACEOF
24299 /* end confdefs.h. */
24300 #ifndef __powerpc__
24302 #endif
24303 _ACEOF
24304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24305 $EGREP "yes" >/dev/null 2>&1; then
24306 ac_cv_cpp_def___powerpc__=yes
24307 else
24308 ac_cv_cpp_def___powerpc__=no
24310 rm -f conftest*
24313 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
24314 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
24315 if test $ac_cv_cpp_def___powerpc__ = yes; then
24316 CFLAGS="$CFLAGS -D__powerpc__"
24317 LINTFLAGS="$LINTFLAGS -D__powerpc__"
24320 esac
24322 case $host_vendor in
24323 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
24324 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
24325 if test "${ac_cv_cpp_def___sun__+set}" = set; then
24326 echo $ECHO_N "(cached) $ECHO_C" >&6
24327 else
24328 cat >conftest.$ac_ext <<_ACEOF
24329 /* confdefs.h. */
24330 _ACEOF
24331 cat confdefs.h >>conftest.$ac_ext
24332 cat >>conftest.$ac_ext <<_ACEOF
24333 /* end confdefs.h. */
24334 #ifndef __sun__
24336 #endif
24337 _ACEOF
24338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24339 $EGREP "yes" >/dev/null 2>&1; then
24340 ac_cv_cpp_def___sun__=yes
24341 else
24342 ac_cv_cpp_def___sun__=no
24344 rm -f conftest*
24347 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
24348 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
24349 if test $ac_cv_cpp_def___sun__ = yes; then
24350 CFLAGS="$CFLAGS -D__sun__"
24351 LINTFLAGS="$LINTFLAGS -D__sun__"
24354 esac
24360 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
24362 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
24364 ac_config_commands="$ac_config_commands dlls/kernel/messages"
24366 ac_config_commands="$ac_config_commands dlls/user/resources"
24368 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
24370 ac_config_commands="$ac_config_commands include/wine"
24373 MAKE_RULES=Make.rules
24376 MAKE_DLL_RULES=dlls/Makedll.rules
24379 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
24382 MAKE_TEST_RULES=dlls/Maketest.rules
24385 MAKE_PROG_RULES=programs/Makeprog.rules
24388 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
24391 cat >confcache <<\_ACEOF
24392 # This file is a shell script that caches the results of configure
24393 # tests run on this system so they can be shared between configure
24394 # scripts and configure runs, see configure's option --config-cache.
24395 # It is not useful on other systems. If it contains results you don't
24396 # want to keep, you may remove or edit it.
24398 # config.status only pays attention to the cache file if you give it
24399 # the --recheck option to rerun configure.
24401 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24402 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24403 # following values.
24405 _ACEOF
24407 # The following way of writing the cache mishandles newlines in values,
24408 # but we know of no workaround that is simple, portable, and efficient.
24409 # So, we kill variables containing newlines.
24410 # Ultrix sh set writes to stderr and can't be redirected directly,
24411 # and sets the high bit in the cache file unless we assign to the vars.
24413 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24414 eval ac_val=\$$ac_var
24415 case $ac_val in #(
24416 *${as_nl}*)
24417 case $ac_var in #(
24418 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24419 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24420 esac
24421 case $ac_var in #(
24422 _ | IFS | as_nl) ;; #(
24423 *) $as_unset $ac_var ;;
24424 esac ;;
24425 esac
24426 done
24428 (set) 2>&1 |
24429 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24430 *${as_nl}ac_space=\ *)
24431 # `set' does not quote correctly, so add quotes (double-quote
24432 # substitution turns \\\\ into \\, and sed turns \\ into \).
24433 sed -n \
24434 "s/'/'\\\\''/g;
24435 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24436 ;; #(
24438 # `set' quotes correctly as required by POSIX, so do not add quotes.
24439 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24441 esac |
24442 sort
24444 sed '
24445 /^ac_cv_env_/b end
24446 t clear
24447 :clear
24448 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24449 t end
24450 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24451 :end' >>confcache
24452 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24453 if test -w "$cache_file"; then
24454 test "x$cache_file" != "x/dev/null" &&
24455 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24456 echo "$as_me: updating cache $cache_file" >&6;}
24457 cat confcache >$cache_file
24458 else
24459 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24460 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24463 rm -f confcache
24465 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24466 # Let make expand exec_prefix.
24467 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24469 DEFS=-DHAVE_CONFIG_H
24471 ac_libobjs=
24472 ac_ltlibobjs=
24473 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24474 # 1. Remove the extension, and $U if already installed.
24475 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24476 ac_i=`echo "$ac_i" | sed "$ac_script"`
24477 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24478 # will be set to the directory where LIBOBJS objects are built.
24479 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24480 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24481 done
24482 LIBOBJS=$ac_libobjs
24484 LTLIBOBJS=$ac_ltlibobjs
24488 : ${CONFIG_STATUS=./config.status}
24489 ac_clean_files_save=$ac_clean_files
24490 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24491 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24492 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24493 cat >$CONFIG_STATUS <<_ACEOF
24494 #! $SHELL
24495 # Generated by $as_me.
24496 # Run this file to recreate the current configuration.
24497 # Compiler output produced by configure, useful for debugging
24498 # configure, is in config.log if it exists.
24500 debug=false
24501 ac_cs_recheck=false
24502 ac_cs_silent=false
24503 SHELL=\${CONFIG_SHELL-$SHELL}
24504 _ACEOF
24506 cat >>$CONFIG_STATUS <<\_ACEOF
24507 ## --------------------- ##
24508 ## M4sh Initialization. ##
24509 ## --------------------- ##
24511 # Be Bourne compatible
24512 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24513 emulate sh
24514 NULLCMD=:
24515 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24516 # is contrary to our usage. Disable this feature.
24517 alias -g '${1+"$@"}'='"$@"'
24518 setopt NO_GLOB_SUBST
24519 else
24520 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24522 BIN_SH=xpg4; export BIN_SH # for Tru64
24523 DUALCASE=1; export DUALCASE # for MKS sh
24526 # PATH needs CR
24527 # Avoid depending upon Character Ranges.
24528 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24529 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24530 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24531 as_cr_digits='0123456789'
24532 as_cr_alnum=$as_cr_Letters$as_cr_digits
24534 # The user is always right.
24535 if test "${PATH_SEPARATOR+set}" != set; then
24536 echo "#! /bin/sh" >conf$$.sh
24537 echo "exit 0" >>conf$$.sh
24538 chmod +x conf$$.sh
24539 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24540 PATH_SEPARATOR=';'
24541 else
24542 PATH_SEPARATOR=:
24544 rm -f conf$$.sh
24547 # Support unset when possible.
24548 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24549 as_unset=unset
24550 else
24551 as_unset=false
24555 # IFS
24556 # We need space, tab and new line, in precisely that order. Quoting is
24557 # there to prevent editors from complaining about space-tab.
24558 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24559 # splitting by setting IFS to empty value.)
24560 as_nl='
24562 IFS=" "" $as_nl"
24564 # Find who we are. Look in the path if we contain no directory separator.
24565 case $0 in
24566 *[\\/]* ) as_myself=$0 ;;
24567 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24568 for as_dir in $PATH
24570 IFS=$as_save_IFS
24571 test -z "$as_dir" && as_dir=.
24572 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24573 done
24574 IFS=$as_save_IFS
24577 esac
24578 # We did not find ourselves, most probably we were run as `sh COMMAND'
24579 # in which case we are not to be found in the path.
24580 if test "x$as_myself" = x; then
24581 as_myself=$0
24583 if test ! -f "$as_myself"; then
24584 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24585 { (exit 1); exit 1; }
24588 # Work around bugs in pre-3.0 UWIN ksh.
24589 for as_var in ENV MAIL MAILPATH
24590 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24591 done
24592 PS1='$ '
24593 PS2='> '
24594 PS4='+ '
24596 # NLS nuisances.
24597 for as_var in \
24598 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24599 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24600 LC_TELEPHONE LC_TIME
24602 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24603 eval $as_var=C; export $as_var
24604 else
24605 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24607 done
24609 # Required to use basename.
24610 if expr a : '\(a\)' >/dev/null 2>&1 &&
24611 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24612 as_expr=expr
24613 else
24614 as_expr=false
24617 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24618 as_basename=basename
24619 else
24620 as_basename=false
24624 # Name of the executable.
24625 as_me=`$as_basename -- "$0" ||
24626 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24627 X"$0" : 'X\(//\)$' \| \
24628 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24629 echo X/"$0" |
24630 sed '/^.*\/\([^/][^/]*\)\/*$/{
24631 s//\1/
24634 /^X\/\(\/\/\)$/{
24635 s//\1/
24638 /^X\/\(\/\).*/{
24639 s//\1/
24642 s/.*/./; q'`
24644 # CDPATH.
24645 $as_unset CDPATH
24649 as_lineno_1=$LINENO
24650 as_lineno_2=$LINENO
24651 test "x$as_lineno_1" != "x$as_lineno_2" &&
24652 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24654 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24655 # uniformly replaced by the line number. The first 'sed' inserts a
24656 # line-number line after each line using $LINENO; the second 'sed'
24657 # does the real work. The second script uses 'N' to pair each
24658 # line-number line with the line containing $LINENO, and appends
24659 # trailing '-' during substitution so that $LINENO is not a special
24660 # case at line end.
24661 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24662 # scripts with optimization help from Paolo Bonzini. Blame Lee
24663 # E. McMahon (1931-1989) for sed's syntax. :-)
24664 sed -n '
24666 /[$]LINENO/=
24667 ' <$as_myself |
24668 sed '
24669 s/[$]LINENO.*/&-/
24670 t lineno
24672 :lineno
24674 :loop
24675 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24676 t loop
24677 s/-\n.*//
24678 ' >$as_me.lineno &&
24679 chmod +x "$as_me.lineno" ||
24680 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24681 { (exit 1); exit 1; }; }
24683 # Don't try to exec as it changes $[0], causing all sort of problems
24684 # (the dirname of $[0] is not the place where we might find the
24685 # original and so on. Autoconf is especially sensitive to this).
24686 . "./$as_me.lineno"
24687 # Exit status is that of the last command.
24688 exit
24692 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24693 as_dirname=dirname
24694 else
24695 as_dirname=false
24698 ECHO_C= ECHO_N= ECHO_T=
24699 case `echo -n x` in
24700 -n*)
24701 case `echo 'x\c'` in
24702 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24703 *) ECHO_C='\c';;
24704 esac;;
24706 ECHO_N='-n';;
24707 esac
24709 if expr a : '\(a\)' >/dev/null 2>&1 &&
24710 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24711 as_expr=expr
24712 else
24713 as_expr=false
24716 rm -f conf$$ conf$$.exe conf$$.file
24717 if test -d conf$$.dir; then
24718 rm -f conf$$.dir/conf$$.file
24719 else
24720 rm -f conf$$.dir
24721 mkdir conf$$.dir
24723 echo >conf$$.file
24724 if ln -s conf$$.file conf$$ 2>/dev/null; then
24725 as_ln_s='ln -s'
24726 # ... but there are two gotchas:
24727 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24728 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24729 # In both cases, we have to default to `cp -p'.
24730 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24731 as_ln_s='cp -p'
24732 elif ln conf$$.file conf$$ 2>/dev/null; then
24733 as_ln_s=ln
24734 else
24735 as_ln_s='cp -p'
24737 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24738 rmdir conf$$.dir 2>/dev/null
24740 if mkdir -p . 2>/dev/null; then
24741 as_mkdir_p=:
24742 else
24743 test -d ./-p && rmdir ./-p
24744 as_mkdir_p=false
24747 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24748 # systems may use methods other than mode bits to determine executability.
24749 cat >conf$$.file <<_ASEOF
24750 #! /bin/sh
24751 exit 0
24752 _ASEOF
24753 chmod +x conf$$.file
24754 if test -x conf$$.file >/dev/null 2>&1; then
24755 as_executable_p="test -x"
24756 else
24757 as_executable_p=:
24759 rm -f conf$$.file
24761 # Sed expression to map a string onto a valid CPP name.
24762 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24764 # Sed expression to map a string onto a valid variable name.
24765 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24768 exec 6>&1
24770 # Save the log message, to keep $[0] and so on meaningful, and to
24771 # report actual input values of CONFIG_FILES etc. instead of their
24772 # values after options handling.
24773 ac_log="
24774 This file was extended by Wine $as_me 0.9.19, which was
24775 generated by GNU Autoconf 2.60a. Invocation command line was
24777 CONFIG_FILES = $CONFIG_FILES
24778 CONFIG_HEADERS = $CONFIG_HEADERS
24779 CONFIG_LINKS = $CONFIG_LINKS
24780 CONFIG_COMMANDS = $CONFIG_COMMANDS
24781 $ $0 $@
24783 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24786 _ACEOF
24788 cat >>$CONFIG_STATUS <<_ACEOF
24789 # Files that config.status was made for.
24790 config_files="$ac_config_files"
24791 config_headers="$ac_config_headers"
24792 config_commands="$ac_config_commands"
24794 _ACEOF
24796 cat >>$CONFIG_STATUS <<\_ACEOF
24797 ac_cs_usage="\
24798 \`$as_me' instantiates files from templates according to the
24799 current configuration.
24801 Usage: $0 [OPTIONS] [FILE]...
24803 -h, --help print this help, then exit
24804 -V, --version print version number, then exit
24805 -q, --quiet do not print progress messages
24806 -d, --debug don't remove temporary files
24807 --recheck update $as_me by reconfiguring in the same conditions
24808 --file=FILE[:TEMPLATE]
24809 instantiate the configuration file FILE
24810 --header=FILE[:TEMPLATE]
24811 instantiate the configuration header FILE
24813 Configuration files:
24814 $config_files
24816 Configuration headers:
24817 $config_headers
24819 Configuration commands:
24820 $config_commands
24822 Report bugs to <bug-autoconf@gnu.org>."
24824 _ACEOF
24825 cat >>$CONFIG_STATUS <<_ACEOF
24826 ac_cs_version="\\
24827 Wine config.status 0.9.19
24828 configured by $0, generated by GNU Autoconf 2.60a,
24829 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24831 Copyright (C) 2006 Free Software Foundation, Inc.
24832 This config.status script is free software; the Free Software Foundation
24833 gives unlimited permission to copy, distribute and modify it."
24835 ac_pwd='$ac_pwd'
24836 srcdir='$srcdir'
24837 INSTALL='$INSTALL'
24838 _ACEOF
24840 cat >>$CONFIG_STATUS <<\_ACEOF
24841 # If no file are specified by the user, then we need to provide default
24842 # value. By we need to know if files were specified by the user.
24843 ac_need_defaults=:
24844 while test $# != 0
24846 case $1 in
24847 --*=*)
24848 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24849 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24850 ac_shift=:
24853 ac_option=$1
24854 ac_optarg=$2
24855 ac_shift=shift
24857 esac
24859 case $ac_option in
24860 # Handling of the options.
24861 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24862 ac_cs_recheck=: ;;
24863 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24864 echo "$ac_cs_version"; exit ;;
24865 --debug | --debu | --deb | --de | --d | -d )
24866 debug=: ;;
24867 --file | --fil | --fi | --f )
24868 $ac_shift
24869 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24870 ac_need_defaults=false;;
24871 --header | --heade | --head | --hea )
24872 $ac_shift
24873 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24874 ac_need_defaults=false;;
24875 --he | --h)
24876 # Conflict between --help and --header
24877 { echo "$as_me: error: ambiguous option: $1
24878 Try \`$0 --help' for more information." >&2
24879 { (exit 1); exit 1; }; };;
24880 --help | --hel | -h )
24881 echo "$ac_cs_usage"; exit ;;
24882 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24883 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24884 ac_cs_silent=: ;;
24886 # This is an error.
24887 -*) { echo "$as_me: error: unrecognized option: $1
24888 Try \`$0 --help' for more information." >&2
24889 { (exit 1); exit 1; }; } ;;
24891 *) ac_config_targets="$ac_config_targets $1"
24892 ac_need_defaults=false ;;
24894 esac
24895 shift
24896 done
24898 ac_configure_extra_args=
24900 if $ac_cs_silent; then
24901 exec 6>/dev/null
24902 ac_configure_extra_args="$ac_configure_extra_args --silent"
24905 _ACEOF
24906 cat >>$CONFIG_STATUS <<_ACEOF
24907 if \$ac_cs_recheck; then
24908 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24909 CONFIG_SHELL=$SHELL
24910 export CONFIG_SHELL
24911 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24914 _ACEOF
24915 cat >>$CONFIG_STATUS <<\_ACEOF
24916 exec 5>>config.log
24918 echo
24919 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24920 ## Running $as_me. ##
24921 _ASBOX
24922 echo "$ac_log"
24923 } >&5
24925 _ACEOF
24926 cat >>$CONFIG_STATUS <<_ACEOF
24927 _ACEOF
24929 cat >>$CONFIG_STATUS <<\_ACEOF
24931 # Handling of arguments.
24932 for ac_config_target in $ac_config_targets
24934 case $ac_config_target in
24935 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24936 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24937 "dlls/gdi/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24938 "dlls/kernel/messages") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24939 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24940 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24941 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24942 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24943 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24944 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24945 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24946 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24947 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24948 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24949 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24950 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24951 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24952 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24953 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24954 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24955 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24956 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24957 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24958 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24959 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24960 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24961 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24962 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24963 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24964 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24965 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24966 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24967 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24968 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24969 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24970 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24971 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24972 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24973 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24974 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24975 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24976 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24977 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24978 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24979 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24980 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24981 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24982 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24983 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24984 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24985 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24986 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24987 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24988 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24989 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24990 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24991 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24992 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24993 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24994 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24995 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24996 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24997 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24998 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24999 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
25000 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
25001 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
25002 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
25003 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
25004 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
25005 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
25006 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
25007 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
25008 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
25009 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
25010 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
25011 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
25012 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
25013 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
25014 "dlls/gdi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
25015 "dlls/gdi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
25016 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
25017 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
25018 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
25019 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
25020 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
25021 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
25022 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
25023 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
25024 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
25025 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
25026 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
25027 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
25028 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
25029 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
25030 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
25031 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
25032 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
25033 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
25034 "dlls/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
25035 "dlls/kernel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
25036 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
25037 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
25038 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
25039 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
25040 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
25041 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
25042 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
25043 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
25044 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
25045 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
25046 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
25047 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
25048 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
25049 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
25050 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
25051 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
25052 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
25053 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
25054 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
25055 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
25056 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
25057 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
25058 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
25059 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
25060 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
25061 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
25062 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
25063 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
25064 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
25065 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
25066 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
25067 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
25068 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
25069 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
25070 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
25071 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
25072 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
25073 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
25074 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
25075 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
25076 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
25077 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
25078 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
25079 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
25080 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
25081 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
25082 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
25083 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
25084 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
25085 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
25086 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
25087 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
25088 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
25089 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
25090 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
25091 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
25092 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
25093 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
25094 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
25095 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
25096 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
25097 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
25098 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
25099 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
25100 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
25101 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
25102 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
25103 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
25104 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
25105 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
25106 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
25107 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
25108 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
25109 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
25110 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
25111 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
25112 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
25113 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
25114 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
25115 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
25116 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
25117 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
25118 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
25119 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
25120 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
25121 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
25122 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
25123 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
25124 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
25125 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
25126 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
25127 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
25128 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
25129 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
25130 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
25131 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
25132 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
25133 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
25134 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
25135 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
25136 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
25137 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
25138 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
25139 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
25140 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
25141 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
25142 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
25143 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
25144 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
25145 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
25146 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
25147 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
25148 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
25149 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
25150 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
25151 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
25152 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
25153 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
25154 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
25155 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
25156 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
25157 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
25158 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
25159 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
25160 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
25161 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
25162 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
25163 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
25164 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
25165 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
25166 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
25167 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
25168 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
25169 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
25170 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
25171 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
25172 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
25173 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
25174 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
25175 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
25176 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
25177 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
25178 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
25179 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
25180 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
25181 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
25182 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
25183 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
25184 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
25185 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
25186 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
25187 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
25188 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
25189 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
25190 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
25191 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
25192 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
25193 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
25194 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
25195 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
25196 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
25197 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
25198 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
25199 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
25200 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
25201 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
25202 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
25203 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
25204 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
25205 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
25206 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
25207 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
25208 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
25209 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
25210 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
25211 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
25212 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
25213 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
25214 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
25215 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
25216 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
25217 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
25218 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
25219 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
25220 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
25221 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
25222 "programs/wcmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
25223 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
25224 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
25225 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
25226 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
25227 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
25228 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
25229 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
25230 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
25231 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
25232 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
25233 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
25234 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
25235 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
25236 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
25237 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
25238 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
25239 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
25240 "tools/winapi/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
25241 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
25242 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
25243 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
25244 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
25245 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
25247 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25248 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25249 { (exit 1); exit 1; }; };;
25250 esac
25251 done
25254 # If the user did not use the arguments to specify the items to instantiate,
25255 # then the envvar interface is used. Set only those that are not.
25256 # We use the long form for the default assignment because of an extremely
25257 # bizarre bug on SunOS 4.1.3.
25258 if $ac_need_defaults; then
25259 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25260 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25261 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25264 # Have a temporary directory for convenience. Make it in the build tree
25265 # simply because there is no reason against having it here, and in addition,
25266 # creating and moving files from /tmp can sometimes cause problems.
25267 # Hook for its removal unless debugging.
25268 # Note that there is a small window in which the directory will not be cleaned:
25269 # after its creation but before its name has been assigned to `$tmp'.
25270 $debug ||
25272 tmp=
25273 trap 'exit_status=$?
25274 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25276 trap '{ (exit 1); exit 1; }' 1 2 13 15
25278 # Create a (secure) tmp directory for tmp files.
25281 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25282 test -n "$tmp" && test -d "$tmp"
25283 } ||
25285 tmp=./conf$$-$RANDOM
25286 (umask 077 && mkdir "$tmp")
25287 } ||
25289 echo "$me: cannot create a temporary directory in ." >&2
25290 { (exit 1); exit 1; }
25294 # Set up the sed scripts for CONFIG_FILES section.
25297 # No need to generate the scripts if there are no CONFIG_FILES.
25298 # This happens for instance when ./config.status config.h
25299 if test -n "$CONFIG_FILES"; then
25301 _ACEOF
25303 # Create sed commands to just substitute file output variables.
25305 # Remaining file output variables are in a fragment that also has non-file
25306 # output varibles.
25310 ac_delim='%!_!# '
25311 for ac_last_try in false false false false false :; do
25312 cat >conf$$subs.sed <<_ACEOF
25313 SHELL!$SHELL$ac_delim
25314 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25315 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25316 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25317 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25318 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25319 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25320 exec_prefix!$exec_prefix$ac_delim
25321 prefix!$prefix$ac_delim
25322 program_transform_name!$program_transform_name$ac_delim
25323 bindir!$bindir$ac_delim
25324 sbindir!$sbindir$ac_delim
25325 libexecdir!$libexecdir$ac_delim
25326 datarootdir!$datarootdir$ac_delim
25327 datadir!$datadir$ac_delim
25328 sysconfdir!$sysconfdir$ac_delim
25329 sharedstatedir!$sharedstatedir$ac_delim
25330 localstatedir!$localstatedir$ac_delim
25331 includedir!$includedir$ac_delim
25332 oldincludedir!$oldincludedir$ac_delim
25333 docdir!$docdir$ac_delim
25334 infodir!$infodir$ac_delim
25335 htmldir!$htmldir$ac_delim
25336 dvidir!$dvidir$ac_delim
25337 pdfdir!$pdfdir$ac_delim
25338 psdir!$psdir$ac_delim
25339 libdir!$libdir$ac_delim
25340 localedir!$localedir$ac_delim
25341 mandir!$mandir$ac_delim
25342 DEFS!$DEFS$ac_delim
25343 ECHO_C!$ECHO_C$ac_delim
25344 ECHO_N!$ECHO_N$ac_delim
25345 ECHO_T!$ECHO_T$ac_delim
25346 LIBS!$LIBS$ac_delim
25347 build_alias!$build_alias$ac_delim
25348 host_alias!$host_alias$ac_delim
25349 target_alias!$target_alias$ac_delim
25350 build!$build$ac_delim
25351 build_cpu!$build_cpu$ac_delim
25352 build_vendor!$build_vendor$ac_delim
25353 build_os!$build_os$ac_delim
25354 host!$host$ac_delim
25355 host_cpu!$host_cpu$ac_delim
25356 host_vendor!$host_vendor$ac_delim
25357 host_os!$host_os$ac_delim
25358 WIN16_FILES!$WIN16_FILES$ac_delim
25359 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
25360 SET_MAKE!$SET_MAKE$ac_delim
25361 CC!$CC$ac_delim
25362 CFLAGS!$CFLAGS$ac_delim
25363 LDFLAGS!$LDFLAGS$ac_delim
25364 CPPFLAGS!$CPPFLAGS$ac_delim
25365 ac_ct_CC!$ac_ct_CC$ac_delim
25366 EXEEXT!$EXEEXT$ac_delim
25367 OBJEXT!$OBJEXT$ac_delim
25368 CXX!$CXX$ac_delim
25369 CXXFLAGS!$CXXFLAGS$ac_delim
25370 ac_ct_CXX!$ac_ct_CXX$ac_delim
25371 CPPBIN!$CPPBIN$ac_delim
25372 TOOLSDIR!$TOOLSDIR$ac_delim
25373 XMKMF!$XMKMF$ac_delim
25374 CPP!$CPP$ac_delim
25375 X_CFLAGS!$X_CFLAGS$ac_delim
25376 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
25377 X_LIBS!$X_LIBS$ac_delim
25378 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
25379 LEX!$LEX$ac_delim
25380 LEXLIB!$LEXLIB$ac_delim
25381 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
25382 XLEX!$XLEX$ac_delim
25383 BISON!$BISON$ac_delim
25384 AS!$AS$ac_delim
25385 ac_ct_AS!$ac_ct_AS$ac_delim
25386 LD!$LD$ac_delim
25387 AR!$AR$ac_delim
25388 RANLIB!$RANLIB$ac_delim
25389 STRIP!$STRIP$ac_delim
25390 WINDRES!$WINDRES$ac_delim
25391 LN_S!$LN_S$ac_delim
25392 LN!$LN$ac_delim
25393 GREP!$GREP$ac_delim
25394 EGREP!$EGREP$ac_delim
25395 _ACEOF
25397 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
25398 break
25399 elif $ac_last_try; then
25400 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25401 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25402 { (exit 1); exit 1; }; }
25403 else
25404 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25406 done
25408 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25409 if test -n "$ac_eof"; then
25410 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25411 ac_eof=`expr $ac_eof + 1`
25414 cat >>$CONFIG_STATUS <<_ACEOF
25415 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25416 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25417 /^[ ]*@MAKE_RULES@[ ]*$/{
25418 r $MAKE_RULES
25421 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
25422 r $MAKE_DLL_RULES
25425 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
25426 r $MAKE_IMPLIB_RULES
25429 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
25430 r $MAKE_TEST_RULES
25433 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
25434 r $MAKE_PROG_RULES
25437 _ACEOF
25438 sed '
25439 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25440 s/^/s,@/; s/!/@,|#_!!_#|/
25443 s/'"$ac_delim"'$/,g/; t
25444 s/$/\\/; p
25445 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25446 ' >>$CONFIG_STATUS <conf$$subs.sed
25447 rm -f conf$$subs.sed
25448 cat >>$CONFIG_STATUS <<_ACEOF
25449 CEOF$ac_eof
25450 _ACEOF
25453 ac_delim='%!_!# '
25454 for ac_last_try in false false false false false :; do
25455 cat >conf$$subs.sed <<_ACEOF
25456 LDCONFIG!$LDCONFIG$ac_delim
25457 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25458 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25459 INSTALL_DATA!$INSTALL_DATA$ac_delim
25460 LINT!$LINT$ac_delim
25461 LINTFLAGS!$LINTFLAGS$ac_delim
25462 FONTFORGE!$FONTFORGE$ac_delim
25463 PKG_CONFIG!$PKG_CONFIG$ac_delim
25464 PRELINK!$PRELINK$ac_delim
25465 LIBPTHREAD!$LIBPTHREAD$ac_delim
25466 XLIB!$XLIB$ac_delim
25467 XFILES!$XFILES$ac_delim
25468 OPENGLFILES!$OPENGLFILES$ac_delim
25469 GLU32FILES!$GLU32FILES$ac_delim
25470 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
25471 GLUT_LIBS!$GLUT_LIBS$ac_delim
25472 GLUT32FILES!$GLUT32FILES$ac_delim
25473 NASLIBS!$NASLIBS$ac_delim
25474 XML2LIBS!$XML2LIBS$ac_delim
25475 XML2INCL!$XML2INCL$ac_delim
25476 XSLTLIBS!$XSLTLIBS$ac_delim
25477 XSLTINCL!$XSLTINCL$ac_delim
25478 HALINCL!$HALINCL$ac_delim
25479 CURSESLIBS!$CURSESLIBS$ac_delim
25480 sane_devel!$sane_devel$ac_delim
25481 SANELIBS!$SANELIBS$ac_delim
25482 SANEINCL!$SANEINCL$ac_delim
25483 gphoto2_devel!$gphoto2_devel$ac_delim
25484 gphoto2port_devel!$gphoto2port_devel$ac_delim
25485 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
25486 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
25487 ICULIBS!$ICULIBS$ac_delim
25488 RESOLVLIBS!$RESOLVLIBS$ac_delim
25489 LCMSLIBS!$LCMSLIBS$ac_delim
25490 LDAPLIBS!$LDAPLIBS$ac_delim
25491 FREETYPELIBS!$FREETYPELIBS$ac_delim
25492 FREETYPEINCL!$FREETYPEINCL$ac_delim
25493 ft_devel!$ft_devel$ac_delim
25494 ft_devel2!$ft_devel2$ac_delim
25495 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25496 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25497 ARTSLIBS!$ARTSLIBS$ac_delim
25498 ARTSINCL!$ARTSINCL$ac_delim
25499 ESDCONFIG!$ESDCONFIG$ac_delim
25500 ESDLIBS!$ESDLIBS$ac_delim
25501 ESDINCL!$ESDINCL$ac_delim
25502 ALSALIBS!$ALSALIBS$ac_delim
25503 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25504 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25505 BUILTINFLAG!$BUILTINFLAG$ac_delim
25506 DLLEXT!$DLLEXT$ac_delim
25507 DLLFLAGS!$DLLFLAGS$ac_delim
25508 DLLIBS!$DLLIBS$ac_delim
25509 LDSHARED!$LDSHARED$ac_delim
25510 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25511 LIBEXT!$LIBEXT$ac_delim
25512 IMPLIBEXT!$IMPLIBEXT$ac_delim
25513 DLLTOOL!$DLLTOOL$ac_delim
25514 DLLWRAP!$DLLWRAP$ac_delim
25515 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25516 LDEXERPATH!$LDEXERPATH$ac_delim
25517 LDDLLRPATH!$LDDLLRPATH$ac_delim
25518 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25519 IOKITLIB!$IOKITLIB$ac_delim
25520 COREAUDIO!$COREAUDIO$ac_delim
25521 CROSSTEST!$CROSSTEST$ac_delim
25522 CROSSCC!$CROSSCC$ac_delim
25523 CROSSWINDRES!$CROSSWINDRES$ac_delim
25524 LDPATH!$LDPATH$ac_delim
25525 CRTLIBS!$CRTLIBS$ac_delim
25526 SOCKETLIBS!$SOCKETLIBS$ac_delim
25527 MAIN_BINARY!$MAIN_BINARY$ac_delim
25528 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25529 LDD!$LDD$ac_delim
25530 LIBOBJS!$LIBOBJS$ac_delim
25531 LTLIBOBJS!$LTLIBOBJS$ac_delim
25532 _ACEOF
25534 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
25535 break
25536 elif $ac_last_try; then
25537 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25538 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25539 { (exit 1); exit 1; }; }
25540 else
25541 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25543 done
25545 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25546 if test -n "$ac_eof"; then
25547 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25548 ac_eof=`expr $ac_eof + 1`
25551 cat >>$CONFIG_STATUS <<_ACEOF
25552 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25553 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25554 _ACEOF
25555 sed '
25556 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25557 s/^/s,@/; s/!/@,|#_!!_#|/
25560 s/'"$ac_delim"'$/,g/; t
25561 s/$/\\/; p
25562 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25563 ' >>$CONFIG_STATUS <conf$$subs.sed
25564 rm -f conf$$subs.sed
25565 cat >>$CONFIG_STATUS <<_ACEOF
25566 :end
25567 s/|#_!!_#|//g
25568 CEOF$ac_eof
25569 _ACEOF
25572 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25573 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25574 # trailing colons and then remove the whole line if VPATH becomes empty
25575 # (actually we leave an empty line to preserve line numbers).
25576 if test "x$srcdir" = x.; then
25577 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25578 s/:*\$(srcdir):*/:/
25579 s/:*\${srcdir}:*/:/
25580 s/:*@srcdir@:*/:/
25581 s/^\([^=]*=[ ]*\):*/\1/
25582 s/:*$//
25583 s/^[^=]*=[ ]*$//
25587 cat >>$CONFIG_STATUS <<\_ACEOF
25588 fi # test -n "$CONFIG_FILES"
25591 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
25593 case $ac_tag in
25594 :[FHLC]) ac_mode=$ac_tag; continue;;
25595 esac
25596 case $ac_mode$ac_tag in
25597 :[FHL]*:*);;
25598 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25599 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25600 { (exit 1); exit 1; }; };;
25601 :[FH]-) ac_tag=-:-;;
25602 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25603 esac
25604 ac_save_IFS=$IFS
25605 IFS=:
25606 set x $ac_tag
25607 IFS=$ac_save_IFS
25608 shift
25609 ac_file=$1
25610 shift
25612 case $ac_mode in
25613 :L) ac_source=$1;;
25614 :[FH])
25615 ac_file_inputs=
25616 for ac_f
25618 case $ac_f in
25619 -) ac_f="$tmp/stdin";;
25620 *) # Look for the file first in the build tree, then in the source tree
25621 # (if the path is not absolute). The absolute path cannot be DOS-style,
25622 # because $ac_f cannot contain `:'.
25623 test -f "$ac_f" ||
25624 case $ac_f in
25625 [\\/$]*) false;;
25626 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25627 esac ||
25628 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25629 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25630 { (exit 1); exit 1; }; };;
25631 esac
25632 ac_file_inputs="$ac_file_inputs $ac_f"
25633 done
25635 # Let's still pretend it is `configure' which instantiates (i.e., don't
25636 # use $as_me), people would be surprised to read:
25637 # /* config.h. Generated by config.status. */
25638 configure_input="Generated from "`IFS=:
25639 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25640 if test x"$ac_file" != x-; then
25641 configure_input="$ac_file. $configure_input"
25642 { echo "$as_me:$LINENO: creating $ac_file" >&5
25643 echo "$as_me: creating $ac_file" >&6;}
25646 case $ac_tag in
25647 *:-:* | *:-) cat >"$tmp/stdin";;
25648 esac
25650 esac
25652 ac_dir=`$as_dirname -- "$ac_file" ||
25653 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25654 X"$ac_file" : 'X\(//\)[^/]' \| \
25655 X"$ac_file" : 'X\(//\)$' \| \
25656 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25657 echo X"$ac_file" |
25658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25659 s//\1/
25662 /^X\(\/\/\)[^/].*/{
25663 s//\1/
25666 /^X\(\/\/\)$/{
25667 s//\1/
25670 /^X\(\/\).*/{
25671 s//\1/
25674 s/.*/./; q'`
25675 { as_dir="$ac_dir"
25676 case $as_dir in #(
25677 -*) as_dir=./$as_dir;;
25678 esac
25679 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25680 as_dirs=
25681 while :; do
25682 case $as_dir in #(
25683 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25684 *) as_qdir=$as_dir;;
25685 esac
25686 as_dirs="'$as_qdir' $as_dirs"
25687 as_dir=`$as_dirname -- "$as_dir" ||
25688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25689 X"$as_dir" : 'X\(//\)[^/]' \| \
25690 X"$as_dir" : 'X\(//\)$' \| \
25691 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25692 echo X"$as_dir" |
25693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25694 s//\1/
25697 /^X\(\/\/\)[^/].*/{
25698 s//\1/
25701 /^X\(\/\/\)$/{
25702 s//\1/
25705 /^X\(\/\).*/{
25706 s//\1/
25709 s/.*/./; q'`
25710 test -d "$as_dir" && break
25711 done
25712 test -z "$as_dirs" || eval "mkdir $as_dirs"
25713 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25714 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25715 { (exit 1); exit 1; }; }; }
25716 ac_builddir=.
25718 case "$ac_dir" in
25719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25721 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25722 # A ".." for each directory in $ac_dir_suffix.
25723 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25724 case $ac_top_builddir_sub in
25725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25727 esac ;;
25728 esac
25729 ac_abs_top_builddir=$ac_pwd
25730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25731 # for backward compatibility:
25732 ac_top_builddir=$ac_top_build_prefix
25734 case $srcdir in
25735 .) # We are building in place.
25736 ac_srcdir=.
25737 ac_top_srcdir=$ac_top_builddir_sub
25738 ac_abs_top_srcdir=$ac_pwd ;;
25739 [\\/]* | ?:[\\/]* ) # Absolute name.
25740 ac_srcdir=$srcdir$ac_dir_suffix;
25741 ac_top_srcdir=$srcdir
25742 ac_abs_top_srcdir=$srcdir ;;
25743 *) # Relative name.
25744 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25745 ac_top_srcdir=$ac_top_build_prefix$srcdir
25746 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25747 esac
25748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25751 case $ac_mode in
25754 # CONFIG_FILE
25757 case $INSTALL in
25758 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25759 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25760 esac
25761 _ACEOF
25763 cat >>$CONFIG_STATUS <<\_ACEOF
25764 # If the template does not know about datarootdir, expand it.
25765 # FIXME: This hack should be removed a few years after 2.60.
25766 ac_datarootdir_hack=; ac_datarootdir_seen=
25768 case `sed -n '/datarootdir/ {
25772 /@datadir@/p
25773 /@docdir@/p
25774 /@infodir@/p
25775 /@localedir@/p
25776 /@mandir@/p
25777 ' $ac_file_inputs` in
25778 *datarootdir*) ac_datarootdir_seen=yes;;
25779 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25780 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25781 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25782 _ACEOF
25783 cat >>$CONFIG_STATUS <<_ACEOF
25784 ac_datarootdir_hack='
25785 s&@datadir@&$datadir&g
25786 s&@docdir@&$docdir&g
25787 s&@infodir@&$infodir&g
25788 s&@localedir@&$localedir&g
25789 s&@mandir@&$mandir&g
25790 s&\\\${datarootdir}&$datarootdir&g' ;;
25791 esac
25792 _ACEOF
25794 # Neutralize VPATH when `$srcdir' = `.'.
25795 # Shell code in configure.ac might set extrasub.
25796 # FIXME: do we really want to maintain this feature?
25797 cat >>$CONFIG_STATUS <<_ACEOF
25798 sed "$ac_vpsub
25799 $extrasub
25800 _ACEOF
25801 cat >>$CONFIG_STATUS <<\_ACEOF
25803 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25804 s&@configure_input@&$configure_input&;t t
25805 s&@top_builddir@&$ac_top_builddir_sub&;t t
25806 s&@srcdir@&$ac_srcdir&;t t
25807 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25808 s&@top_srcdir@&$ac_top_srcdir&;t t
25809 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25810 s&@builddir@&$ac_builddir&;t t
25811 s&@abs_builddir@&$ac_abs_builddir&;t t
25812 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25813 s&@INSTALL@&$ac_INSTALL&;t t
25814 $ac_datarootdir_hack
25815 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25817 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25818 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25819 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25820 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25821 which seems to be undefined. Please make sure it is defined." >&5
25822 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25823 which seems to be undefined. Please make sure it is defined." >&2;}
25825 rm -f "$tmp/stdin"
25826 case $ac_file in
25827 -) cat "$tmp/out"; rm -f "$tmp/out";;
25828 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25829 esac
25833 # CONFIG_HEADER
25835 _ACEOF
25837 # Transform confdefs.h into a sed script `conftest.defines', that
25838 # substitutes the proper values into config.h.in to produce config.h.
25839 rm -f conftest.defines conftest.tail
25840 # First, append a space to every undef/define line, to ease matching.
25841 echo 's/$/ /' >conftest.defines
25842 # Then, protect against being on the right side of a sed subst, or in
25843 # an unquoted here document, in config.status. If some macros were
25844 # called several times there might be several #defines for the same
25845 # symbol, which is useless. But do not sort them, since the last
25846 # AC_DEFINE must be honored.
25847 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25848 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25849 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25850 # PARAMS is the parameter list in the macro definition--in most cases, it's
25851 # just an empty string.
25852 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25853 ac_dB='\\)[ (].*,\\1define\\2'
25854 ac_dC=' '
25855 ac_dD=' ,'
25857 uniq confdefs.h |
25858 sed -n '
25859 t rset
25860 :rset
25861 s/^[ ]*#[ ]*define[ ][ ]*//
25862 t ok
25865 s/[\\&,]/\\&/g
25866 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25867 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25868 ' >>conftest.defines
25870 # Remove the space that was appended to ease matching.
25871 # Then replace #undef with comments. This is necessary, for
25872 # example, in the case of _POSIX_SOURCE, which is predefined and required
25873 # on some systems where configure will not decide to define it.
25874 # (The regexp can be short, since the line contains either #define or #undef.)
25875 echo 's/ $//
25876 s,^[ #]*u.*,/* & */,' >>conftest.defines
25878 # Break up conftest.defines:
25879 ac_max_sed_lines=50
25881 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25882 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25883 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25884 # et cetera.
25885 ac_in='$ac_file_inputs'
25886 ac_out='"$tmp/out1"'
25887 ac_nxt='"$tmp/out2"'
25889 while :
25891 # Write a here document:
25892 cat >>$CONFIG_STATUS <<_ACEOF
25893 # First, check the format of the line:
25894 cat >"\$tmp/defines.sed" <<\\CEOF
25895 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25896 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25898 :def
25899 _ACEOF
25900 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25901 echo 'CEOF
25902 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25903 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25904 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25905 grep . conftest.tail >/dev/null || break
25906 rm -f conftest.defines
25907 mv conftest.tail conftest.defines
25908 done
25909 rm -f conftest.defines conftest.tail
25911 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25912 cat >>$CONFIG_STATUS <<\_ACEOF
25913 if test x"$ac_file" != x-; then
25914 echo "/* $configure_input */" >"$tmp/config.h"
25915 cat "$ac_result" >>"$tmp/config.h"
25916 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25917 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25918 echo "$as_me: $ac_file is unchanged" >&6;}
25919 else
25920 rm -f $ac_file
25921 mv "$tmp/config.h" $ac_file
25923 else
25924 echo "/* $configure_input */"
25925 cat "$ac_result"
25927 rm -f "$tmp/out12"
25930 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25931 echo "$as_me: executing $ac_file commands" >&6;}
25933 esac
25936 case $ac_file$ac_mode in
25937 "dlls/gdi/enhmfdrv":C) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25938 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
25939 "dlls/gdi/mfdrv":C) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25940 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
25941 "dlls/kernel/messages":C) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25942 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
25943 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25944 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25945 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25946 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25947 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25948 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25950 esac
25951 done # for ac_tag
25954 { (exit 0); exit 0; }
25955 _ACEOF
25956 chmod +x $CONFIG_STATUS
25957 ac_clean_files=$ac_clean_files_save
25960 # configure is writing to config.log, and then calls config.status.
25961 # config.status does its own redirection, appending to config.log.
25962 # Unfortunately, on DOS this fails, as config.log is still kept open
25963 # by configure, so config.status won't be able to write to it; its
25964 # output is simply discarded. So we exec the FD to /dev/null,
25965 # effectively closing config.log, so it can be properly (re)opened and
25966 # appended to by config.status. When coming back to configure, we
25967 # need to make the FD available again.
25968 if test "$no_create" != yes; then
25969 ac_cs_success=:
25970 ac_config_status_args=
25971 test "$silent" = yes &&
25972 ac_config_status_args="$ac_config_status_args --quiet"
25973 exec 5>/dev/null
25974 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25975 exec 5>>config.log
25976 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25977 # would make configure fail if this is the last instruction.
25978 $ac_cs_success || { (exit 1); exit 1; }
25982 if test "$have_x" = "no"
25983 then
25984 echo >&2
25985 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25986 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25987 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25988 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25989 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25990 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25991 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25992 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25995 if test "$wine_cv_opengl_version_OK" = "no"
25996 then
25997 echo >&2
25998 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
25999 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
26000 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
26001 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
26004 if test "$wine_cv_msg_freetype" = "yes"
26005 then
26006 echo >&2
26007 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
26008 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
26009 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
26010 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
26011 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
26012 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
26013 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
26014 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
26017 if test -z "$FONTSSUBDIRS"
26018 then
26019 echo >&2
26020 if test "$FONTFORGE" = "false"
26021 then
26022 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
26023 echo "$as_me: WARNING: FontForge is missing." >&2;}
26024 else
26025 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
26026 echo "$as_me: WARNING: FreeType is missing." >&2;}
26028 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
26029 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
26032 if test -z "$ALSALIBS" -a \
26033 -z "$ARTSC_LIBS" -a \
26034 -z "$AUDIOIOLIBS" -a \
26035 -z "$NASLIBS" -a \
26036 -z "$ESD_LIBS" -a \
26037 -z "$ac_cv_lib_soname_jack" -a \
26038 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
26039 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
26040 "$ac_cv_header_soundcard_h" != "yes"
26041 then
26042 echo >&2
26043 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
26044 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
26045 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
26046 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
26047 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
26048 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
26051 echo
26052 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
26053 echo