libwine: Also set the current library version for MacOS.
[wine/multimedia.git] / configure
blob847cb4ffb7d7014ba38d21ffad1e0d17820199c7
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 ac_file=''
2456 { echo "$as_me:$LINENO: result: $ac_file" >&5
2457 echo "${ECHO_T}$ac_file" >&6; }
2458 if test -z "$ac_file"; then
2459 echo "$as_me: failed program was:" >&5
2460 sed 's/^/| /' conftest.$ac_ext >&5
2462 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2463 See \`config.log' for more details." >&5
2464 echo "$as_me: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&2;}
2466 { (exit 77); exit 77; }; }
2469 ac_exeext=$ac_cv_exeext
2471 # Check that the compiler produces executables we can run. If not, either
2472 # the compiler is broken, or we cross compile.
2473 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2474 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2475 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2476 # If not cross compiling, check that we can run a simple program.
2477 if test "$cross_compiling" != yes; then
2478 if { ac_try='./$ac_file'
2479 { (case "(($ac_try" in
2480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2481 *) ac_try_echo=$ac_try;;
2482 esac
2483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2484 (eval "$ac_try") 2>&5
2485 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2488 cross_compiling=no
2489 else
2490 if test "$cross_compiling" = maybe; then
2491 cross_compiling=yes
2492 else
2493 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&2;}
2499 { (exit 1); exit 1; }; }
2503 { echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6; }
2506 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2507 ac_clean_files=$ac_clean_files_save
2508 # Check that the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2511 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2512 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2513 echo "${ECHO_T}$cross_compiling" >&6; }
2515 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2516 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2517 if { (ac_try="$ac_link"
2518 case "(($ac_try" in
2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2521 esac
2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2523 (eval "$ac_link") 2>&5
2524 ac_status=$?
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }; then
2527 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2528 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2529 # work properly (i.e., refer to `conftest.exe'), while it won't with
2530 # `rm'.
2531 for ac_file in conftest.exe conftest conftest.*; do
2532 test -f "$ac_file" || continue
2533 case $ac_file in
2534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2535 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2536 break;;
2537 * ) break;;
2538 esac
2539 done
2540 else
2541 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2542 See \`config.log' for more details." >&5
2543 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2544 See \`config.log' for more details." >&2;}
2545 { (exit 1); exit 1; }; }
2548 rm -f conftest$ac_cv_exeext
2549 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2550 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2552 rm -f conftest.$ac_ext
2553 EXEEXT=$ac_cv_exeext
2554 ac_exeext=$EXEEXT
2555 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2556 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2557 if test "${ac_cv_objext+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2559 else
2560 cat >conftest.$ac_ext <<_ACEOF
2561 /* confdefs.h. */
2562 _ACEOF
2563 cat confdefs.h >>conftest.$ac_ext
2564 cat >>conftest.$ac_ext <<_ACEOF
2565 /* end confdefs.h. */
2568 main ()
2572 return 0;
2574 _ACEOF
2575 rm -f conftest.o conftest.obj
2576 if { (ac_try="$ac_compile"
2577 case "(($ac_try" in
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2580 esac
2581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2582 (eval "$ac_compile") 2>&5
2583 ac_status=$?
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; then
2586 for ac_file in conftest.o conftest.obj conftest.*; do
2587 test -f "$ac_file" || continue;
2588 case $ac_file in
2589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2590 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2591 break;;
2592 esac
2593 done
2594 else
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.$ac_ext >&5
2598 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2599 See \`config.log' for more details." >&5
2600 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2601 See \`config.log' for more details." >&2;}
2602 { (exit 1); exit 1; }; }
2605 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2607 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2608 echo "${ECHO_T}$ac_cv_objext" >&6; }
2609 OBJEXT=$ac_cv_objext
2610 ac_objext=$OBJEXT
2611 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2612 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2613 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2615 else
2616 cat >conftest.$ac_ext <<_ACEOF
2617 /* confdefs.h. */
2618 _ACEOF
2619 cat confdefs.h >>conftest.$ac_ext
2620 cat >>conftest.$ac_ext <<_ACEOF
2621 /* end confdefs.h. */
2624 main ()
2626 #ifndef __GNUC__
2627 choke me
2628 #endif
2631 return 0;
2633 _ACEOF
2634 rm -f conftest.$ac_objext
2635 if { (ac_try="$ac_compile"
2636 case "(($ac_try" in
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2639 esac
2640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2641 (eval "$ac_compile") 2>conftest.er1
2642 ac_status=$?
2643 grep -v '^ *+' conftest.er1 >conftest.err
2644 rm -f conftest.er1
2645 cat conftest.err >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } &&
2648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2649 { (case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2652 esac
2653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2654 (eval "$ac_try") 2>&5
2655 ac_status=$?
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; } &&
2658 { ac_try='test -s conftest.$ac_objext'
2659 { (case "(($ac_try" in
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2662 esac
2663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2664 (eval "$ac_try") 2>&5
2665 ac_status=$?
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }; }; then
2668 ac_compiler_gnu=yes
2669 else
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 ac_compiler_gnu=no
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2682 GCC=`test $ac_compiler_gnu = yes && echo yes`
2683 ac_test_CFLAGS=${CFLAGS+set}
2684 ac_save_CFLAGS=$CFLAGS
2685 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690 ac_save_c_werror_flag=$ac_c_werror_flag
2691 ac_c_werror_flag=yes
2692 ac_cv_prog_cc_g=no
2693 CFLAGS="-g"
2694 cat >conftest.$ac_ext <<_ACEOF
2695 /* confdefs.h. */
2696 _ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2702 main ()
2706 return 0;
2708 _ACEOF
2709 rm -f conftest.$ac_objext
2710 if { (ac_try="$ac_compile"
2711 case "(($ac_try" in
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2714 esac
2715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_compile") 2>conftest.er1
2717 ac_status=$?
2718 grep -v '^ *+' conftest.er1 >conftest.err
2719 rm -f conftest.er1
2720 cat conftest.err >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } &&
2723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2724 { (case "(($ac_try" in
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2727 esac
2728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2729 (eval "$ac_try") 2>&5
2730 ac_status=$?
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; } &&
2733 { ac_try='test -s conftest.$ac_objext'
2734 { (case "(($ac_try" in
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2737 esac
2738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2739 (eval "$ac_try") 2>&5
2740 ac_status=$?
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; }; then
2743 ac_cv_prog_cc_g=yes
2744 else
2745 echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2748 CFLAGS=""
2749 cat >conftest.$ac_ext <<_ACEOF
2750 /* confdefs.h. */
2751 _ACEOF
2752 cat confdefs.h >>conftest.$ac_ext
2753 cat >>conftest.$ac_ext <<_ACEOF
2754 /* end confdefs.h. */
2757 main ()
2761 return 0;
2763 _ACEOF
2764 rm -f conftest.$ac_objext
2765 if { (ac_try="$ac_compile"
2766 case "(($ac_try" in
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2769 esac
2770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2771 (eval "$ac_compile") 2>conftest.er1
2772 ac_status=$?
2773 grep -v '^ *+' conftest.er1 >conftest.err
2774 rm -f conftest.er1
2775 cat conftest.err >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); } &&
2778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2779 { (case "(($ac_try" in
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2782 esac
2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2784 (eval "$ac_try") 2>&5
2785 ac_status=$?
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; } &&
2788 { ac_try='test -s conftest.$ac_objext'
2789 { (case "(($ac_try" in
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2792 esac
2793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2794 (eval "$ac_try") 2>&5
2795 ac_status=$?
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }; }; then
2799 else
2800 echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2803 ac_c_werror_flag=$ac_save_c_werror_flag
2804 CFLAGS="-g"
2805 cat >conftest.$ac_ext <<_ACEOF
2806 /* confdefs.h. */
2807 _ACEOF
2808 cat confdefs.h >>conftest.$ac_ext
2809 cat >>conftest.$ac_ext <<_ACEOF
2810 /* end confdefs.h. */
2813 main ()
2817 return 0;
2819 _ACEOF
2820 rm -f conftest.$ac_objext
2821 if { (ac_try="$ac_compile"
2822 case "(($ac_try" in
2823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2824 *) ac_try_echo=$ac_try;;
2825 esac
2826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2827 (eval "$ac_compile") 2>conftest.er1
2828 ac_status=$?
2829 grep -v '^ *+' conftest.er1 >conftest.err
2830 rm -f conftest.er1
2831 cat conftest.err >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } &&
2834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2835 { (case "(($ac_try" in
2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2838 esac
2839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2840 (eval "$ac_try") 2>&5
2841 ac_status=$?
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; } &&
2844 { ac_try='test -s conftest.$ac_objext'
2845 { (case "(($ac_try" in
2846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 *) ac_try_echo=$ac_try;;
2848 esac
2849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2850 (eval "$ac_try") 2>&5
2851 ac_status=$?
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; }; then
2854 ac_cv_prog_cc_g=yes
2855 else
2856 echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 ac_c_werror_flag=$ac_save_c_werror_flag
2871 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2872 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2873 if test "$ac_test_CFLAGS" = set; then
2874 CFLAGS=$ac_save_CFLAGS
2875 elif test $ac_cv_prog_cc_g = yes; then
2876 if test "$GCC" = yes; then
2877 CFLAGS="-g -O2"
2878 else
2879 CFLAGS="-g"
2881 else
2882 if test "$GCC" = yes; then
2883 CFLAGS="-O2"
2884 else
2885 CFLAGS=
2888 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2889 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2890 if test "${ac_cv_prog_cc_c89+set}" = set; then
2891 echo $ECHO_N "(cached) $ECHO_C" >&6
2892 else
2893 ac_cv_prog_cc_c89=no
2894 ac_save_CC=$CC
2895 cat >conftest.$ac_ext <<_ACEOF
2896 /* confdefs.h. */
2897 _ACEOF
2898 cat confdefs.h >>conftest.$ac_ext
2899 cat >>conftest.$ac_ext <<_ACEOF
2900 /* end confdefs.h. */
2901 #include <stdarg.h>
2902 #include <stdio.h>
2903 #include <sys/types.h>
2904 #include <sys/stat.h>
2905 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2906 struct buf { int x; };
2907 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2908 static char *e (p, i)
2909 char **p;
2910 int i;
2912 return p[i];
2914 static char *f (char * (*g) (char **, int), char **p, ...)
2916 char *s;
2917 va_list v;
2918 va_start (v,p);
2919 s = g (p, va_arg (v,int));
2920 va_end (v);
2921 return s;
2924 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2925 function prototypes and stuff, but not '\xHH' hex character constants.
2926 These don't provoke an error unfortunately, instead are silently treated
2927 as 'x'. The following induces an error, until -std is added to get
2928 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2929 array size at least. It's necessary to write '\x00'==0 to get something
2930 that's true only with -std. */
2931 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2933 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2934 inside strings and character constants. */
2935 #define FOO(x) 'x'
2936 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2938 int test (int i, double x);
2939 struct s1 {int (*f) (int a);};
2940 struct s2 {int (*f) (double a);};
2941 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2942 int argc;
2943 char **argv;
2945 main ()
2947 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2949 return 0;
2951 _ACEOF
2952 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2953 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2955 CC="$ac_save_CC $ac_arg"
2956 rm -f conftest.$ac_objext
2957 if { (ac_try="$ac_compile"
2958 case "(($ac_try" in
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2961 esac
2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_compile") 2>conftest.er1
2964 ac_status=$?
2965 grep -v '^ *+' conftest.er1 >conftest.err
2966 rm -f conftest.er1
2967 cat conftest.err >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } &&
2970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2971 { (case "(($ac_try" in
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2974 esac
2975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2976 (eval "$ac_try") 2>&5
2977 ac_status=$?
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); }; } &&
2980 { ac_try='test -s conftest.$ac_objext'
2981 { (case "(($ac_try" in
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2984 esac
2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2986 (eval "$ac_try") 2>&5
2987 ac_status=$?
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2990 ac_cv_prog_cc_c89=$ac_arg
2991 else
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2998 rm -f core conftest.err conftest.$ac_objext
2999 test "x$ac_cv_prog_cc_c89" != "xno" && break
3000 done
3001 rm -f conftest.$ac_ext
3002 CC=$ac_save_CC
3005 # AC_CACHE_VAL
3006 case "x$ac_cv_prog_cc_c89" in
3008 { echo "$as_me:$LINENO: result: none needed" >&5
3009 echo "${ECHO_T}none needed" >&6; } ;;
3010 xno)
3011 { echo "$as_me:$LINENO: result: unsupported" >&5
3012 echo "${ECHO_T}unsupported" >&6; } ;;
3014 CC="$CC $ac_cv_prog_cc_c89"
3015 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3016 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3017 esac
3020 ac_ext=c
3021 ac_cpp='$CPP $CPPFLAGS'
3022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3026 ac_ext=cpp
3027 ac_cpp='$CXXCPP $CPPFLAGS'
3028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3031 if test -z "$CXX"; then
3032 if test -n "$CCC"; then
3033 CXX=$CCC
3034 else
3035 if test -n "$ac_tool_prefix"; then
3036 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3038 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3039 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3042 if test "${ac_cv_prog_CXX+set}" = set; then
3043 echo $ECHO_N "(cached) $ECHO_C" >&6
3044 else
3045 if test -n "$CXX"; then
3046 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3047 else
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 for as_dir in $PATH
3051 IFS=$as_save_IFS
3052 test -z "$as_dir" && as_dir=.
3053 for ac_exec_ext in '' $ac_executable_extensions; do
3054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3055 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 break 2
3059 done
3060 done
3061 IFS=$as_save_IFS
3065 CXX=$ac_cv_prog_CXX
3066 if test -n "$CXX"; then
3067 { echo "$as_me:$LINENO: result: $CXX" >&5
3068 echo "${ECHO_T}$CXX" >&6; }
3069 else
3070 { echo "$as_me:$LINENO: result: no" >&5
3071 echo "${ECHO_T}no" >&6; }
3075 test -n "$CXX" && break
3076 done
3078 if test -z "$CXX"; then
3079 ac_ct_CXX=$CXX
3080 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3082 # Extract the first word of "$ac_prog", so it can be a program name with args.
3083 set dummy $ac_prog; ac_word=$2
3084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3086 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3088 else
3089 if test -n "$ac_ct_CXX"; then
3090 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3091 else
3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 for as_dir in $PATH
3095 IFS=$as_save_IFS
3096 test -z "$as_dir" && as_dir=.
3097 for ac_exec_ext in '' $ac_executable_extensions; do
3098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3099 ac_cv_prog_ac_ct_CXX="$ac_prog"
3100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3101 break 2
3103 done
3104 done
3105 IFS=$as_save_IFS
3109 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3110 if test -n "$ac_ct_CXX"; then
3111 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3112 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3113 else
3114 { echo "$as_me:$LINENO: result: no" >&5
3115 echo "${ECHO_T}no" >&6; }
3119 test -n "$ac_ct_CXX" && break
3120 done
3122 if test "x$ac_ct_CXX" = x; then
3123 CXX="g++"
3124 else
3125 case $cross_compiling:$ac_tool_warned in
3126 yes:)
3127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3128 whose name does not start with the host triplet. If you think this
3129 configuration is useful to you, please write to autoconf@gnu.org." >&5
3130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3131 whose name does not start with the host triplet. If you think this
3132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3133 ac_tool_warned=yes ;;
3134 esac
3135 CXX=$ac_ct_CXX
3141 # Provide some information about the compiler.
3142 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3143 ac_compiler=`set X $ac_compile; echo $2`
3144 { (ac_try="$ac_compiler --version >&5"
3145 case "(($ac_try" in
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3148 esac
3149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3150 (eval "$ac_compiler --version >&5") 2>&5
3151 ac_status=$?
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }
3154 { (ac_try="$ac_compiler -v >&5"
3155 case "(($ac_try" in
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3158 esac
3159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3160 (eval "$ac_compiler -v >&5") 2>&5
3161 ac_status=$?
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }
3164 { (ac_try="$ac_compiler -V >&5"
3165 case "(($ac_try" in
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3168 esac
3169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3170 (eval "$ac_compiler -V >&5") 2>&5
3171 ac_status=$?
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); }
3175 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3176 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3177 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3178 echo $ECHO_N "(cached) $ECHO_C" >&6
3179 else
3180 cat >conftest.$ac_ext <<_ACEOF
3181 /* confdefs.h. */
3182 _ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3188 main ()
3190 #ifndef __GNUC__
3191 choke me
3192 #endif
3195 return 0;
3197 _ACEOF
3198 rm -f conftest.$ac_objext
3199 if { (ac_try="$ac_compile"
3200 case "(($ac_try" in
3201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202 *) ac_try_echo=$ac_try;;
3203 esac
3204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3205 (eval "$ac_compile") 2>conftest.er1
3206 ac_status=$?
3207 grep -v '^ *+' conftest.er1 >conftest.err
3208 rm -f conftest.er1
3209 cat conftest.err >&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); } &&
3212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3213 { (case "(($ac_try" in
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3216 esac
3217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3218 (eval "$ac_try") 2>&5
3219 ac_status=$?
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); }; } &&
3222 { ac_try='test -s conftest.$ac_objext'
3223 { (case "(($ac_try" in
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3226 esac
3227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3228 (eval "$ac_try") 2>&5
3229 ac_status=$?
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); }; }; then
3232 ac_compiler_gnu=yes
3233 else
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3237 ac_compiler_gnu=no
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3244 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3245 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3246 GXX=`test $ac_compiler_gnu = yes && echo yes`
3247 ac_test_CXXFLAGS=${CXXFLAGS+set}
3248 ac_save_CXXFLAGS=$CXXFLAGS
3249 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3250 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3251 if test "${ac_cv_prog_cxx_g+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3253 else
3254 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3255 ac_cxx_werror_flag=yes
3256 ac_cv_prog_cxx_g=no
3257 CXXFLAGS="-g"
3258 cat >conftest.$ac_ext <<_ACEOF
3259 /* confdefs.h. */
3260 _ACEOF
3261 cat confdefs.h >>conftest.$ac_ext
3262 cat >>conftest.$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3266 main ()
3270 return 0;
3272 _ACEOF
3273 rm -f conftest.$ac_objext
3274 if { (ac_try="$ac_compile"
3275 case "(($ac_try" in
3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3278 esac
3279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3280 (eval "$ac_compile") 2>conftest.er1
3281 ac_status=$?
3282 grep -v '^ *+' conftest.er1 >conftest.err
3283 rm -f conftest.er1
3284 cat conftest.err >&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); } &&
3287 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3288 { (case "(($ac_try" in
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3291 esac
3292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3293 (eval "$ac_try") 2>&5
3294 ac_status=$?
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); }; } &&
3297 { ac_try='test -s conftest.$ac_objext'
3298 { (case "(($ac_try" in
3299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3301 esac
3302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3303 (eval "$ac_try") 2>&5
3304 ac_status=$?
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }; }; then
3307 ac_cv_prog_cxx_g=yes
3308 else
3309 echo "$as_me: failed program was:" >&5
3310 sed 's/^/| /' conftest.$ac_ext >&5
3312 CXXFLAGS=""
3313 cat >conftest.$ac_ext <<_ACEOF
3314 /* confdefs.h. */
3315 _ACEOF
3316 cat confdefs.h >>conftest.$ac_ext
3317 cat >>conftest.$ac_ext <<_ACEOF
3318 /* end confdefs.h. */
3321 main ()
3325 return 0;
3327 _ACEOF
3328 rm -f conftest.$ac_objext
3329 if { (ac_try="$ac_compile"
3330 case "(($ac_try" in
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3333 esac
3334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3335 (eval "$ac_compile") 2>conftest.er1
3336 ac_status=$?
3337 grep -v '^ *+' conftest.er1 >conftest.err
3338 rm -f conftest.er1
3339 cat conftest.err >&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); } &&
3342 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3343 { (case "(($ac_try" in
3344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3346 esac
3347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3348 (eval "$ac_try") 2>&5
3349 ac_status=$?
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; } &&
3352 { ac_try='test -s conftest.$ac_objext'
3353 { (case "(($ac_try" in
3354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355 *) ac_try_echo=$ac_try;;
3356 esac
3357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3358 (eval "$ac_try") 2>&5
3359 ac_status=$?
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); }; }; then
3363 else
3364 echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.$ac_ext >&5
3367 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3368 CXXFLAGS="-g"
3369 cat >conftest.$ac_ext <<_ACEOF
3370 /* confdefs.h. */
3371 _ACEOF
3372 cat confdefs.h >>conftest.$ac_ext
3373 cat >>conftest.$ac_ext <<_ACEOF
3374 /* end confdefs.h. */
3377 main ()
3381 return 0;
3383 _ACEOF
3384 rm -f conftest.$ac_objext
3385 if { (ac_try="$ac_compile"
3386 case "(($ac_try" in
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3389 esac
3390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3391 (eval "$ac_compile") 2>conftest.er1
3392 ac_status=$?
3393 grep -v '^ *+' conftest.er1 >conftest.err
3394 rm -f conftest.er1
3395 cat conftest.err >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); } &&
3398 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3399 { (case "(($ac_try" in
3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401 *) ac_try_echo=$ac_try;;
3402 esac
3403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3404 (eval "$ac_try") 2>&5
3405 ac_status=$?
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); }; } &&
3408 { ac_try='test -s conftest.$ac_objext'
3409 { (case "(($ac_try" in
3410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3411 *) ac_try_echo=$ac_try;;
3412 esac
3413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3414 (eval "$ac_try") 2>&5
3415 ac_status=$?
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); }; }; then
3418 ac_cv_prog_cxx_g=yes
3419 else
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3435 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3436 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3437 if test "$ac_test_CXXFLAGS" = set; then
3438 CXXFLAGS=$ac_save_CXXFLAGS
3439 elif test $ac_cv_prog_cxx_g = yes; then
3440 if test "$GXX" = yes; then
3441 CXXFLAGS="-g -O2"
3442 else
3443 CXXFLAGS="-g"
3445 else
3446 if test "$GXX" = yes; then
3447 CXXFLAGS="-O2"
3448 else
3449 CXXFLAGS=
3452 ac_ext=c
3453 ac_cpp='$CPP $CPPFLAGS'
3454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3458 if test -n "$ac_tool_prefix"; then
3459 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3460 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3463 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3465 else
3466 if test -n "$CPPBIN"; then
3467 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3468 else
3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3470 for as_dir in $PATH
3472 IFS=$as_save_IFS
3473 test -z "$as_dir" && as_dir=.
3474 for ac_exec_ext in '' $ac_executable_extensions; do
3475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3476 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 break 2
3480 done
3481 done
3482 IFS=$as_save_IFS
3486 CPPBIN=$ac_cv_prog_CPPBIN
3487 if test -n "$CPPBIN"; then
3488 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3489 echo "${ECHO_T}$CPPBIN" >&6; }
3490 else
3491 { echo "$as_me:$LINENO: result: no" >&5
3492 echo "${ECHO_T}no" >&6; }
3497 if test -z "$ac_cv_prog_CPPBIN"; then
3498 ac_ct_CPPBIN=$CPPBIN
3499 # Extract the first word of "cpp", so it can be a program name with args.
3500 set dummy cpp; ac_word=$2
3501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3503 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3505 else
3506 if test -n "$ac_ct_CPPBIN"; then
3507 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3508 else
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 for as_dir in $PATH
3512 IFS=$as_save_IFS
3513 test -z "$as_dir" && as_dir=.
3514 for ac_exec_ext in '' $ac_executable_extensions; do
3515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3516 ac_cv_prog_ac_ct_CPPBIN="cpp"
3517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 break 2
3520 done
3521 done
3522 IFS=$as_save_IFS
3526 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3527 if test -n "$ac_ct_CPPBIN"; then
3528 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3529 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3530 else
3531 { echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6; }
3535 if test "x$ac_ct_CPPBIN" = x; then
3536 CPPBIN="cpp"
3537 else
3538 case $cross_compiling:$ac_tool_warned in
3539 yes:)
3540 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3541 whose name does not start with the host triplet. If you think this
3542 configuration is useful to you, please write to autoconf@gnu.org." >&5
3543 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3544 whose name does not start with the host triplet. If you think this
3545 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3546 ac_tool_warned=yes ;;
3547 esac
3548 CPPBIN=$ac_ct_CPPBIN
3550 else
3551 CPPBIN="$ac_cv_prog_CPPBIN"
3555 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3556 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3557 if test "${wine_cv_toolsdir+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 else
3560 if test -z "$with_wine_tools"; then
3561 if test "$cross_compiling" = "yes"; then
3562 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3563 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3564 { (exit 1); exit 1; }; }
3565 else
3566 wine_cv_toolsdir="\$(TOPOBJDIR)"
3568 elif test -d "$with_wine_tools/tools/winebuild"; then
3569 case $with_wine_tools in
3570 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3571 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3572 esac
3573 else
3574 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3575 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3576 { (exit 1); exit 1; }; }
3579 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3580 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3581 TOOLSDIR=$wine_cv_toolsdir
3585 ac_ext=c
3586 ac_cpp='$CPP $CPPFLAGS'
3587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3590 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3591 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3592 # On Suns, sometimes $CPP names a directory.
3593 if test -n "$CPP" && test -d "$CPP"; then
3594 CPP=
3596 if test -z "$CPP"; then
3597 if test "${ac_cv_prog_CPP+set}" = set; then
3598 echo $ECHO_N "(cached) $ECHO_C" >&6
3599 else
3600 # Double quotes because CPP needs to be expanded
3601 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3603 ac_preproc_ok=false
3604 for ac_c_preproc_warn_flag in '' yes
3606 # Use a header file that comes with gcc, so configuring glibc
3607 # with a fresh cross-compiler works.
3608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3609 # <limits.h> exists even on freestanding compilers.
3610 # On the NeXT, cc -E runs the code through the compiler's parser,
3611 # not just through cpp. "Syntax error" is here to catch this case.
3612 cat >conftest.$ac_ext <<_ACEOF
3613 /* confdefs.h. */
3614 _ACEOF
3615 cat confdefs.h >>conftest.$ac_ext
3616 cat >>conftest.$ac_ext <<_ACEOF
3617 /* end confdefs.h. */
3618 #ifdef __STDC__
3619 # include <limits.h>
3620 #else
3621 # include <assert.h>
3622 #endif
3623 Syntax error
3624 _ACEOF
3625 if { (ac_try="$ac_cpp conftest.$ac_ext"
3626 case "(($ac_try" in
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3629 esac
3630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3632 ac_status=$?
3633 grep -v '^ *+' conftest.er1 >conftest.err
3634 rm -f conftest.er1
3635 cat conftest.err >&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); } >/dev/null; then
3638 if test -s conftest.err; then
3639 ac_cpp_err=$ac_c_preproc_warn_flag
3640 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3641 else
3642 ac_cpp_err=
3644 else
3645 ac_cpp_err=yes
3647 if test -z "$ac_cpp_err"; then
3649 else
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 # Broken: fails on valid input.
3654 continue
3657 rm -f conftest.err conftest.$ac_ext
3659 # OK, works on sane cases. Now check whether nonexistent headers
3660 # can be detected and how.
3661 cat >conftest.$ac_ext <<_ACEOF
3662 /* confdefs.h. */
3663 _ACEOF
3664 cat confdefs.h >>conftest.$ac_ext
3665 cat >>conftest.$ac_ext <<_ACEOF
3666 /* end confdefs.h. */
3667 #include <ac_nonexistent.h>
3668 _ACEOF
3669 if { (ac_try="$ac_cpp conftest.$ac_ext"
3670 case "(($ac_try" in
3671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3672 *) ac_try_echo=$ac_try;;
3673 esac
3674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3675 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3676 ac_status=$?
3677 grep -v '^ *+' conftest.er1 >conftest.err
3678 rm -f conftest.er1
3679 cat conftest.err >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } >/dev/null; then
3682 if test -s conftest.err; then
3683 ac_cpp_err=$ac_c_preproc_warn_flag
3684 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3685 else
3686 ac_cpp_err=
3688 else
3689 ac_cpp_err=yes
3691 if test -z "$ac_cpp_err"; then
3692 # Broken: success on invalid input.
3693 continue
3694 else
3695 echo "$as_me: failed program was:" >&5
3696 sed 's/^/| /' conftest.$ac_ext >&5
3698 # Passes both tests.
3699 ac_preproc_ok=:
3700 break
3703 rm -f conftest.err conftest.$ac_ext
3705 done
3706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3707 rm -f conftest.err conftest.$ac_ext
3708 if $ac_preproc_ok; then
3709 break
3712 done
3713 ac_cv_prog_CPP=$CPP
3716 CPP=$ac_cv_prog_CPP
3717 else
3718 ac_cv_prog_CPP=$CPP
3720 { echo "$as_me:$LINENO: result: $CPP" >&5
3721 echo "${ECHO_T}$CPP" >&6; }
3722 ac_preproc_ok=false
3723 for ac_c_preproc_warn_flag in '' yes
3725 # Use a header file that comes with gcc, so configuring glibc
3726 # with a fresh cross-compiler works.
3727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3728 # <limits.h> exists even on freestanding compilers.
3729 # On the NeXT, cc -E runs the code through the compiler's parser,
3730 # not just through cpp. "Syntax error" is here to catch this case.
3731 cat >conftest.$ac_ext <<_ACEOF
3732 /* confdefs.h. */
3733 _ACEOF
3734 cat confdefs.h >>conftest.$ac_ext
3735 cat >>conftest.$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3737 #ifdef __STDC__
3738 # include <limits.h>
3739 #else
3740 # include <assert.h>
3741 #endif
3742 Syntax error
3743 _ACEOF
3744 if { (ac_try="$ac_cpp conftest.$ac_ext"
3745 case "(($ac_try" in
3746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3747 *) ac_try_echo=$ac_try;;
3748 esac
3749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3751 ac_status=$?
3752 grep -v '^ *+' conftest.er1 >conftest.err
3753 rm -f conftest.er1
3754 cat conftest.err >&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); } >/dev/null; then
3757 if test -s conftest.err; then
3758 ac_cpp_err=$ac_c_preproc_warn_flag
3759 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3760 else
3761 ac_cpp_err=
3763 else
3764 ac_cpp_err=yes
3766 if test -z "$ac_cpp_err"; then
3768 else
3769 echo "$as_me: failed program was:" >&5
3770 sed 's/^/| /' conftest.$ac_ext >&5
3772 # Broken: fails on valid input.
3773 continue
3776 rm -f conftest.err conftest.$ac_ext
3778 # OK, works on sane cases. Now check whether nonexistent headers
3779 # can be detected and how.
3780 cat >conftest.$ac_ext <<_ACEOF
3781 /* confdefs.h. */
3782 _ACEOF
3783 cat confdefs.h >>conftest.$ac_ext
3784 cat >>conftest.$ac_ext <<_ACEOF
3785 /* end confdefs.h. */
3786 #include <ac_nonexistent.h>
3787 _ACEOF
3788 if { (ac_try="$ac_cpp conftest.$ac_ext"
3789 case "(($ac_try" in
3790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791 *) ac_try_echo=$ac_try;;
3792 esac
3793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3795 ac_status=$?
3796 grep -v '^ *+' conftest.er1 >conftest.err
3797 rm -f conftest.er1
3798 cat conftest.err >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); } >/dev/null; then
3801 if test -s conftest.err; then
3802 ac_cpp_err=$ac_c_preproc_warn_flag
3803 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3804 else
3805 ac_cpp_err=
3807 else
3808 ac_cpp_err=yes
3810 if test -z "$ac_cpp_err"; then
3811 # Broken: success on invalid input.
3812 continue
3813 else
3814 echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.$ac_ext >&5
3817 # Passes both tests.
3818 ac_preproc_ok=:
3819 break
3822 rm -f conftest.err conftest.$ac_ext
3824 done
3825 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3826 rm -f conftest.err conftest.$ac_ext
3827 if $ac_preproc_ok; then
3829 else
3830 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3831 See \`config.log' for more details." >&5
3832 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3833 See \`config.log' for more details." >&2;}
3834 { (exit 1); exit 1; }; }
3837 ac_ext=c
3838 ac_cpp='$CPP $CPPFLAGS'
3839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3844 { echo "$as_me:$LINENO: checking for X" >&5
3845 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3848 # Check whether --with-x was given.
3849 if test "${with_x+set}" = set; then
3850 withval=$with_x;
3853 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3854 if test "x$with_x" = xno; then
3855 # The user explicitly disabled X.
3856 have_x=disabled
3857 else
3858 case $x_includes,$x_libraries in #(
3859 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3860 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3861 { (exit 1); exit 1; }; };; #(
3862 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 else
3865 # One or both of the vars are not set, and there is no cached value.
3866 ac_x_includes=no ac_x_libraries=no
3867 rm -f -r conftest.dir
3868 if mkdir conftest.dir; then
3869 cd conftest.dir
3870 cat >Imakefile <<'_ACEOF'
3871 incroot:
3872 @echo incroot='${INCROOT}'
3873 usrlibdir:
3874 @echo usrlibdir='${USRLIBDIR}'
3875 libdir:
3876 @echo libdir='${LIBDIR}'
3877 _ACEOF
3878 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3879 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3880 for ac_var in incroot usrlibdir libdir; do
3881 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3882 done
3883 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3884 for ac_extension in a so sl; do
3885 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3886 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3887 ac_im_usrlibdir=$ac_im_libdir; break
3889 done
3890 # Screen out bogus values from the imake configuration. They are
3891 # bogus both because they are the default anyway, and because
3892 # using them would break gcc on systems where it needs fixed includes.
3893 case $ac_im_incroot in
3894 /usr/include) ac_x_includes= ;;
3895 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3896 esac
3897 case $ac_im_usrlibdir in
3898 /usr/lib | /lib) ;;
3899 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3900 esac
3902 cd ..
3903 rm -f -r conftest.dir
3906 # Standard set of common directories for X headers.
3907 # Check X11 before X11Rn because it is often a symlink to the current release.
3908 ac_x_header_dirs='
3909 /usr/X11/include
3910 /usr/X11R6/include
3911 /usr/X11R5/include
3912 /usr/X11R4/include
3914 /usr/include/X11
3915 /usr/include/X11R6
3916 /usr/include/X11R5
3917 /usr/include/X11R4
3919 /usr/local/X11/include
3920 /usr/local/X11R6/include
3921 /usr/local/X11R5/include
3922 /usr/local/X11R4/include
3924 /usr/local/include/X11
3925 /usr/local/include/X11R6
3926 /usr/local/include/X11R5
3927 /usr/local/include/X11R4
3929 /usr/X386/include
3930 /usr/x386/include
3931 /usr/XFree86/include/X11
3933 /usr/include
3934 /usr/local/include
3935 /usr/unsupported/include
3936 /usr/athena/include
3937 /usr/local/x11r5/include
3938 /usr/lpp/Xamples/include
3940 /usr/openwin/include
3941 /usr/openwin/share/include'
3943 if test "$ac_x_includes" = no; then
3944 # Guess where to find include files, by looking for Xlib.h.
3945 # First, try using that file with no special directory specified.
3946 cat >conftest.$ac_ext <<_ACEOF
3947 /* confdefs.h. */
3948 _ACEOF
3949 cat confdefs.h >>conftest.$ac_ext
3950 cat >>conftest.$ac_ext <<_ACEOF
3951 /* end confdefs.h. */
3952 #include <X11/Xlib.h>
3953 _ACEOF
3954 if { (ac_try="$ac_cpp conftest.$ac_ext"
3955 case "(($ac_try" in
3956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3957 *) ac_try_echo=$ac_try;;
3958 esac
3959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3961 ac_status=$?
3962 grep -v '^ *+' conftest.er1 >conftest.err
3963 rm -f conftest.er1
3964 cat conftest.err >&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); } >/dev/null; then
3967 if test -s conftest.err; then
3968 ac_cpp_err=$ac_c_preproc_warn_flag
3969 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3970 else
3971 ac_cpp_err=
3973 else
3974 ac_cpp_err=yes
3976 if test -z "$ac_cpp_err"; then
3977 # We can compile using X headers with no special include directory.
3978 ac_x_includes=
3979 else
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3983 for ac_dir in $ac_x_header_dirs; do
3984 if test -r "$ac_dir/X11/Xlib.h"; then
3985 ac_x_includes=$ac_dir
3986 break
3988 done
3991 rm -f conftest.err conftest.$ac_ext
3992 fi # $ac_x_includes = no
3994 if test "$ac_x_libraries" = no; then
3995 # Check for the libraries.
3996 # See if we find them without any special options.
3997 # Don't add to $LIBS permanently.
3998 ac_save_LIBS=$LIBS
3999 LIBS="-lX11 $LIBS"
4000 cat >conftest.$ac_ext <<_ACEOF
4001 /* confdefs.h. */
4002 _ACEOF
4003 cat confdefs.h >>conftest.$ac_ext
4004 cat >>conftest.$ac_ext <<_ACEOF
4005 /* end confdefs.h. */
4006 #include <X11/Xlib.h>
4008 main ()
4010 XrmInitialize ()
4012 return 0;
4014 _ACEOF
4015 rm -f conftest.$ac_objext conftest$ac_exeext
4016 if { (ac_try="$ac_link"
4017 case "(($ac_try" in
4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4020 esac
4021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4022 (eval "$ac_link") 2>conftest.er1
4023 ac_status=$?
4024 grep -v '^ *+' conftest.er1 >conftest.err
4025 rm -f conftest.er1
4026 cat conftest.err >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } &&
4029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4030 { (case "(($ac_try" in
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4033 esac
4034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4035 (eval "$ac_try") 2>&5
4036 ac_status=$?
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; } &&
4039 { ac_try='test -s conftest$ac_exeext'
4040 { (case "(($ac_try" in
4041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4043 esac
4044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4045 (eval "$ac_try") 2>&5
4046 ac_status=$?
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); }; }; then
4049 LIBS=$ac_save_LIBS
4050 # We can link X programs with no special library path.
4051 ac_x_libraries=
4052 else
4053 echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.$ac_ext >&5
4056 LIBS=$ac_save_LIBS
4057 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4059 # Don't even attempt the hair of trying to link an X program!
4060 for ac_extension in a so sl; do
4061 if test -r "$ac_dir/libX11.$ac_extension"; then
4062 ac_x_libraries=$ac_dir
4063 break 2
4065 done
4066 done
4069 rm -f core conftest.err conftest.$ac_objext \
4070 conftest$ac_exeext conftest.$ac_ext
4071 fi # $ac_x_libraries = no
4073 case $ac_x_includes,$ac_x_libraries in #(
4074 no,* | *,no | *\'*)
4075 # Didn't find X, or a directory has "'" in its name.
4076 ac_cv_have_x="have_x=no";; #(
4078 # Record where we found X for the cache.
4079 ac_cv_have_x="have_x=yes\
4080 ac_x_includes='$ac_x_includes'\
4081 ac_x_libraries='$ac_x_libraries'"
4082 esac
4084 ;; #(
4085 *) have_x=yes;;
4086 esac
4087 eval "$ac_cv_have_x"
4088 fi # $with_x != no
4090 if test "$have_x" != yes; then
4091 { echo "$as_me:$LINENO: result: $have_x" >&5
4092 echo "${ECHO_T}$have_x" >&6; }
4093 no_x=yes
4094 else
4095 # If each of the values was on the command line, it overrides each guess.
4096 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4097 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4098 # Update the cache value to reflect the command line values.
4099 ac_cv_have_x="have_x=yes\
4100 ac_x_includes='$x_includes'\
4101 ac_x_libraries='$x_libraries'"
4102 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4103 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4106 if test "$no_x" = yes; then
4107 # Not all programs may use this symbol, but it does not hurt to define it.
4109 cat >>confdefs.h <<\_ACEOF
4110 #define X_DISPLAY_MISSING 1
4111 _ACEOF
4113 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4114 else
4115 if test -n "$x_includes"; then
4116 X_CFLAGS="$X_CFLAGS -I$x_includes"
4119 # It would also be nice to do this for all -L options, not just this one.
4120 if test -n "$x_libraries"; then
4121 X_LIBS="$X_LIBS -L$x_libraries"
4122 # For Solaris; some versions of Sun CC require a space after -R and
4123 # others require no space. Words are not sufficient . . . .
4124 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4125 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4126 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4127 ac_xsave_c_werror_flag=$ac_c_werror_flag
4128 ac_c_werror_flag=yes
4129 cat >conftest.$ac_ext <<_ACEOF
4130 /* confdefs.h. */
4131 _ACEOF
4132 cat confdefs.h >>conftest.$ac_ext
4133 cat >>conftest.$ac_ext <<_ACEOF
4134 /* end confdefs.h. */
4137 main ()
4141 return 0;
4143 _ACEOF
4144 rm -f conftest.$ac_objext conftest$ac_exeext
4145 if { (ac_try="$ac_link"
4146 case "(($ac_try" in
4147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4148 *) ac_try_echo=$ac_try;;
4149 esac
4150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4151 (eval "$ac_link") 2>conftest.er1
4152 ac_status=$?
4153 grep -v '^ *+' conftest.er1 >conftest.err
4154 rm -f conftest.er1
4155 cat conftest.err >&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); } &&
4158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4159 { (case "(($ac_try" in
4160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161 *) ac_try_echo=$ac_try;;
4162 esac
4163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4164 (eval "$ac_try") 2>&5
4165 ac_status=$?
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); }; } &&
4168 { ac_try='test -s conftest$ac_exeext'
4169 { (case "(($ac_try" in
4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4172 esac
4173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4174 (eval "$ac_try") 2>&5
4175 ac_status=$?
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; }; then
4178 { echo "$as_me:$LINENO: result: no" >&5
4179 echo "${ECHO_T}no" >&6; }
4180 X_LIBS="$X_LIBS -R$x_libraries"
4181 else
4182 echo "$as_me: failed program was:" >&5
4183 sed 's/^/| /' conftest.$ac_ext >&5
4185 LIBS="$ac_xsave_LIBS -R $x_libraries"
4186 cat >conftest.$ac_ext <<_ACEOF
4187 /* confdefs.h. */
4188 _ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4194 main ()
4198 return 0;
4200 _ACEOF
4201 rm -f conftest.$ac_objext conftest$ac_exeext
4202 if { (ac_try="$ac_link"
4203 case "(($ac_try" in
4204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4205 *) ac_try_echo=$ac_try;;
4206 esac
4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4208 (eval "$ac_link") 2>conftest.er1
4209 ac_status=$?
4210 grep -v '^ *+' conftest.er1 >conftest.err
4211 rm -f conftest.er1
4212 cat conftest.err >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } &&
4215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4216 { (case "(($ac_try" in
4217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4218 *) ac_try_echo=$ac_try;;
4219 esac
4220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4221 (eval "$ac_try") 2>&5
4222 ac_status=$?
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; } &&
4225 { ac_try='test -s conftest$ac_exeext'
4226 { (case "(($ac_try" in
4227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4228 *) ac_try_echo=$ac_try;;
4229 esac
4230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231 (eval "$ac_try") 2>&5
4232 ac_status=$?
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; }; then
4235 { echo "$as_me:$LINENO: result: yes" >&5
4236 echo "${ECHO_T}yes" >&6; }
4237 X_LIBS="$X_LIBS -R $x_libraries"
4238 else
4239 echo "$as_me: failed program was:" >&5
4240 sed 's/^/| /' conftest.$ac_ext >&5
4242 { echo "$as_me:$LINENO: result: neither works" >&5
4243 echo "${ECHO_T}neither works" >&6; }
4246 rm -f core conftest.err conftest.$ac_objext \
4247 conftest$ac_exeext conftest.$ac_ext
4250 rm -f core conftest.err conftest.$ac_objext \
4251 conftest$ac_exeext conftest.$ac_ext
4252 ac_c_werror_flag=$ac_xsave_c_werror_flag
4253 LIBS=$ac_xsave_LIBS
4256 # Check for system-dependent libraries X programs must link with.
4257 # Do this before checking for the system-independent R6 libraries
4258 # (-lICE), since we may need -lsocket or whatever for X linking.
4260 if test "$ISC" = yes; then
4261 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4262 else
4263 # Martyn Johnson says this is needed for Ultrix, if the X
4264 # libraries were built with DECnet support. And Karl Berry says
4265 # the Alpha needs dnet_stub (dnet does not exist).
4266 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4267 cat >conftest.$ac_ext <<_ACEOF
4268 /* confdefs.h. */
4269 _ACEOF
4270 cat confdefs.h >>conftest.$ac_ext
4271 cat >>conftest.$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4274 /* Override any GCC internal prototype to avoid an error.
4275 Use char because int might match the return type of a GCC
4276 builtin and then its argument prototype would still apply. */
4277 #ifdef __cplusplus
4278 extern "C"
4279 #endif
4280 char XOpenDisplay ();
4282 main ()
4284 return XOpenDisplay ();
4286 return 0;
4288 _ACEOF
4289 rm -f conftest.$ac_objext conftest$ac_exeext
4290 if { (ac_try="$ac_link"
4291 case "(($ac_try" in
4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4294 esac
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_link") 2>conftest.er1
4297 ac_status=$?
4298 grep -v '^ *+' conftest.er1 >conftest.err
4299 rm -f conftest.er1
4300 cat conftest.err >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } &&
4303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4304 { (case "(($ac_try" in
4305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4306 *) ac_try_echo=$ac_try;;
4307 esac
4308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4309 (eval "$ac_try") 2>&5
4310 ac_status=$?
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; } &&
4313 { ac_try='test -s conftest$ac_exeext'
4314 { (case "(($ac_try" in
4315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4316 *) ac_try_echo=$ac_try;;
4317 esac
4318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4319 (eval "$ac_try") 2>&5
4320 ac_status=$?
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); }; }; then
4324 else
4325 echo "$as_me: failed program was:" >&5
4326 sed 's/^/| /' conftest.$ac_ext >&5
4328 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4329 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4330 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4331 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 else
4333 ac_check_lib_save_LIBS=$LIBS
4334 LIBS="-ldnet $LIBS"
4335 cat >conftest.$ac_ext <<_ACEOF
4336 /* confdefs.h. */
4337 _ACEOF
4338 cat confdefs.h >>conftest.$ac_ext
4339 cat >>conftest.$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4342 /* Override any GCC internal prototype to avoid an error.
4343 Use char because int might match the return type of a GCC
4344 builtin and then its argument prototype would still apply. */
4345 #ifdef __cplusplus
4346 extern "C"
4347 #endif
4348 char dnet_ntoa ();
4350 main ()
4352 return dnet_ntoa ();
4354 return 0;
4356 _ACEOF
4357 rm -f conftest.$ac_objext conftest$ac_exeext
4358 if { (ac_try="$ac_link"
4359 case "(($ac_try" in
4360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4361 *) ac_try_echo=$ac_try;;
4362 esac
4363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4364 (eval "$ac_link") 2>conftest.er1
4365 ac_status=$?
4366 grep -v '^ *+' conftest.er1 >conftest.err
4367 rm -f conftest.er1
4368 cat conftest.err >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); } &&
4371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4372 { (case "(($ac_try" in
4373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4374 *) ac_try_echo=$ac_try;;
4375 esac
4376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4377 (eval "$ac_try") 2>&5
4378 ac_status=$?
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); }; } &&
4381 { ac_try='test -s conftest$ac_exeext'
4382 { (case "(($ac_try" in
4383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384 *) ac_try_echo=$ac_try;;
4385 esac
4386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4387 (eval "$ac_try") 2>&5
4388 ac_status=$?
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); }; }; then
4391 ac_cv_lib_dnet_dnet_ntoa=yes
4392 else
4393 echo "$as_me: failed program was:" >&5
4394 sed 's/^/| /' conftest.$ac_ext >&5
4396 ac_cv_lib_dnet_dnet_ntoa=no
4399 rm -f core conftest.err conftest.$ac_objext \
4400 conftest$ac_exeext conftest.$ac_ext
4401 LIBS=$ac_check_lib_save_LIBS
4403 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4404 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4405 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4406 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4409 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4410 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4411 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4412 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4414 else
4415 ac_check_lib_save_LIBS=$LIBS
4416 LIBS="-ldnet_stub $LIBS"
4417 cat >conftest.$ac_ext <<_ACEOF
4418 /* confdefs.h. */
4419 _ACEOF
4420 cat confdefs.h >>conftest.$ac_ext
4421 cat >>conftest.$ac_ext <<_ACEOF
4422 /* end confdefs.h. */
4424 /* Override any GCC internal prototype to avoid an error.
4425 Use char because int might match the return type of a GCC
4426 builtin and then its argument prototype would still apply. */
4427 #ifdef __cplusplus
4428 extern "C"
4429 #endif
4430 char dnet_ntoa ();
4432 main ()
4434 return dnet_ntoa ();
4436 return 0;
4438 _ACEOF
4439 rm -f conftest.$ac_objext conftest$ac_exeext
4440 if { (ac_try="$ac_link"
4441 case "(($ac_try" in
4442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4443 *) ac_try_echo=$ac_try;;
4444 esac
4445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4446 (eval "$ac_link") 2>conftest.er1
4447 ac_status=$?
4448 grep -v '^ *+' conftest.er1 >conftest.err
4449 rm -f conftest.er1
4450 cat conftest.err >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } &&
4453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4454 { (case "(($ac_try" in
4455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4456 *) ac_try_echo=$ac_try;;
4457 esac
4458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4459 (eval "$ac_try") 2>&5
4460 ac_status=$?
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; } &&
4463 { ac_try='test -s conftest$ac_exeext'
4464 { (case "(($ac_try" in
4465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4466 *) ac_try_echo=$ac_try;;
4467 esac
4468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4469 (eval "$ac_try") 2>&5
4470 ac_status=$?
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); }; }; then
4473 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4474 else
4475 echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.$ac_ext >&5
4478 ac_cv_lib_dnet_stub_dnet_ntoa=no
4481 rm -f core conftest.err conftest.$ac_objext \
4482 conftest$ac_exeext conftest.$ac_ext
4483 LIBS=$ac_check_lib_save_LIBS
4485 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4486 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4487 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4488 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4494 rm -f core conftest.err conftest.$ac_objext \
4495 conftest$ac_exeext conftest.$ac_ext
4496 LIBS="$ac_xsave_LIBS"
4498 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4499 # to get the SysV transport functions.
4500 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4501 # needs -lnsl.
4502 # The nsl library prevents programs from opening the X display
4503 # on Irix 5.2, according to T.E. Dickey.
4504 # The functions gethostbyname, getservbyname, and inet_addr are
4505 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4506 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4507 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4508 if test "${ac_cv_func_gethostbyname+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4510 else
4511 cat >conftest.$ac_ext <<_ACEOF
4512 /* confdefs.h. */
4513 _ACEOF
4514 cat confdefs.h >>conftest.$ac_ext
4515 cat >>conftest.$ac_ext <<_ACEOF
4516 /* end confdefs.h. */
4517 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4519 #define gethostbyname innocuous_gethostbyname
4521 /* System header to define __stub macros and hopefully few prototypes,
4522 which can conflict with char gethostbyname (); below.
4523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4524 <limits.h> exists even on freestanding compilers. */
4526 #ifdef __STDC__
4527 # include <limits.h>
4528 #else
4529 # include <assert.h>
4530 #endif
4532 #undef gethostbyname
4534 /* Override any GCC internal prototype to avoid an error.
4535 Use char because int might match the return type of a GCC
4536 builtin and then its argument prototype would still apply. */
4537 #ifdef __cplusplus
4538 extern "C"
4539 #endif
4540 char gethostbyname ();
4541 /* The GNU C library defines this for functions which it implements
4542 to always fail with ENOSYS. Some functions are actually named
4543 something starting with __ and the normal name is an alias. */
4544 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4545 choke me
4546 #endif
4549 main ()
4551 return gethostbyname ();
4553 return 0;
4555 _ACEOF
4556 rm -f conftest.$ac_objext conftest$ac_exeext
4557 if { (ac_try="$ac_link"
4558 case "(($ac_try" in
4559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4560 *) ac_try_echo=$ac_try;;
4561 esac
4562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4563 (eval "$ac_link") 2>conftest.er1
4564 ac_status=$?
4565 grep -v '^ *+' conftest.er1 >conftest.err
4566 rm -f conftest.er1
4567 cat conftest.err >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } &&
4570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4571 { (case "(($ac_try" in
4572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4573 *) ac_try_echo=$ac_try;;
4574 esac
4575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4576 (eval "$ac_try") 2>&5
4577 ac_status=$?
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); }; } &&
4580 { ac_try='test -s conftest$ac_exeext'
4581 { (case "(($ac_try" in
4582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4583 *) ac_try_echo=$ac_try;;
4584 esac
4585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4586 (eval "$ac_try") 2>&5
4587 ac_status=$?
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; }; then
4590 ac_cv_func_gethostbyname=yes
4591 else
4592 echo "$as_me: failed program was:" >&5
4593 sed 's/^/| /' conftest.$ac_ext >&5
4595 ac_cv_func_gethostbyname=no
4598 rm -f core conftest.err conftest.$ac_objext \
4599 conftest$ac_exeext conftest.$ac_ext
4601 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4602 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4604 if test $ac_cv_func_gethostbyname = no; then
4605 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4606 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4607 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4608 echo $ECHO_N "(cached) $ECHO_C" >&6
4609 else
4610 ac_check_lib_save_LIBS=$LIBS
4611 LIBS="-lnsl $LIBS"
4612 cat >conftest.$ac_ext <<_ACEOF
4613 /* confdefs.h. */
4614 _ACEOF
4615 cat confdefs.h >>conftest.$ac_ext
4616 cat >>conftest.$ac_ext <<_ACEOF
4617 /* end confdefs.h. */
4619 /* Override any GCC internal prototype to avoid an error.
4620 Use char because int might match the return type of a GCC
4621 builtin and then its argument prototype would still apply. */
4622 #ifdef __cplusplus
4623 extern "C"
4624 #endif
4625 char gethostbyname ();
4627 main ()
4629 return gethostbyname ();
4631 return 0;
4633 _ACEOF
4634 rm -f conftest.$ac_objext conftest$ac_exeext
4635 if { (ac_try="$ac_link"
4636 case "(($ac_try" in
4637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4638 *) ac_try_echo=$ac_try;;
4639 esac
4640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4641 (eval "$ac_link") 2>conftest.er1
4642 ac_status=$?
4643 grep -v '^ *+' conftest.er1 >conftest.err
4644 rm -f conftest.er1
4645 cat conftest.err >&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); } &&
4648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4649 { (case "(($ac_try" in
4650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4651 *) ac_try_echo=$ac_try;;
4652 esac
4653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4654 (eval "$ac_try") 2>&5
4655 ac_status=$?
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); }; } &&
4658 { ac_try='test -s conftest$ac_exeext'
4659 { (case "(($ac_try" in
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4662 esac
4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4664 (eval "$ac_try") 2>&5
4665 ac_status=$?
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); }; }; then
4668 ac_cv_lib_nsl_gethostbyname=yes
4669 else
4670 echo "$as_me: failed program was:" >&5
4671 sed 's/^/| /' conftest.$ac_ext >&5
4673 ac_cv_lib_nsl_gethostbyname=no
4676 rm -f core conftest.err conftest.$ac_objext \
4677 conftest$ac_exeext conftest.$ac_ext
4678 LIBS=$ac_check_lib_save_LIBS
4680 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4681 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4682 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4683 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4686 if test $ac_cv_lib_nsl_gethostbyname = no; then
4687 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4688 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4689 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 else
4692 ac_check_lib_save_LIBS=$LIBS
4693 LIBS="-lbsd $LIBS"
4694 cat >conftest.$ac_ext <<_ACEOF
4695 /* confdefs.h. */
4696 _ACEOF
4697 cat confdefs.h >>conftest.$ac_ext
4698 cat >>conftest.$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4701 /* Override any GCC internal prototype to avoid an error.
4702 Use char because int might match the return type of a GCC
4703 builtin and then its argument prototype would still apply. */
4704 #ifdef __cplusplus
4705 extern "C"
4706 #endif
4707 char gethostbyname ();
4709 main ()
4711 return gethostbyname ();
4713 return 0;
4715 _ACEOF
4716 rm -f conftest.$ac_objext conftest$ac_exeext
4717 if { (ac_try="$ac_link"
4718 case "(($ac_try" in
4719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4720 *) ac_try_echo=$ac_try;;
4721 esac
4722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4723 (eval "$ac_link") 2>conftest.er1
4724 ac_status=$?
4725 grep -v '^ *+' conftest.er1 >conftest.err
4726 rm -f conftest.er1
4727 cat conftest.err >&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); } &&
4730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4731 { (case "(($ac_try" in
4732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4733 *) ac_try_echo=$ac_try;;
4734 esac
4735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4736 (eval "$ac_try") 2>&5
4737 ac_status=$?
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); }; } &&
4740 { ac_try='test -s conftest$ac_exeext'
4741 { (case "(($ac_try" in
4742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4743 *) ac_try_echo=$ac_try;;
4744 esac
4745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4746 (eval "$ac_try") 2>&5
4747 ac_status=$?
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }; }; then
4750 ac_cv_lib_bsd_gethostbyname=yes
4751 else
4752 echo "$as_me: failed program was:" >&5
4753 sed 's/^/| /' conftest.$ac_ext >&5
4755 ac_cv_lib_bsd_gethostbyname=no
4758 rm -f core conftest.err conftest.$ac_objext \
4759 conftest$ac_exeext conftest.$ac_ext
4760 LIBS=$ac_check_lib_save_LIBS
4762 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4763 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4764 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4765 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4771 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4772 # socket/setsockopt and other routines are undefined under SCO ODT
4773 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4774 # on later versions), says Simon Leinen: it contains gethostby*
4775 # variants that don't use the name server (or something). -lsocket
4776 # must be given before -lnsl if both are needed. We assume that
4777 # if connect needs -lnsl, so does gethostbyname.
4778 { echo "$as_me:$LINENO: checking for connect" >&5
4779 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4780 if test "${ac_cv_func_connect+set}" = set; then
4781 echo $ECHO_N "(cached) $ECHO_C" >&6
4782 else
4783 cat >conftest.$ac_ext <<_ACEOF
4784 /* confdefs.h. */
4785 _ACEOF
4786 cat confdefs.h >>conftest.$ac_ext
4787 cat >>conftest.$ac_ext <<_ACEOF
4788 /* end confdefs.h. */
4789 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4791 #define connect innocuous_connect
4793 /* System header to define __stub macros and hopefully few prototypes,
4794 which can conflict with char connect (); below.
4795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4796 <limits.h> exists even on freestanding compilers. */
4798 #ifdef __STDC__
4799 # include <limits.h>
4800 #else
4801 # include <assert.h>
4802 #endif
4804 #undef connect
4806 /* Override any GCC internal prototype to avoid an error.
4807 Use char because int might match the return type of a GCC
4808 builtin and then its argument prototype would still apply. */
4809 #ifdef __cplusplus
4810 extern "C"
4811 #endif
4812 char connect ();
4813 /* The GNU C library defines this for functions which it implements
4814 to always fail with ENOSYS. Some functions are actually named
4815 something starting with __ and the normal name is an alias. */
4816 #if defined __stub_connect || defined __stub___connect
4817 choke me
4818 #endif
4821 main ()
4823 return connect ();
4825 return 0;
4827 _ACEOF
4828 rm -f conftest.$ac_objext conftest$ac_exeext
4829 if { (ac_try="$ac_link"
4830 case "(($ac_try" in
4831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832 *) ac_try_echo=$ac_try;;
4833 esac
4834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4835 (eval "$ac_link") 2>conftest.er1
4836 ac_status=$?
4837 grep -v '^ *+' conftest.er1 >conftest.err
4838 rm -f conftest.er1
4839 cat conftest.err >&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); } &&
4842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4843 { (case "(($ac_try" in
4844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4845 *) ac_try_echo=$ac_try;;
4846 esac
4847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4848 (eval "$ac_try") 2>&5
4849 ac_status=$?
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); }; } &&
4852 { ac_try='test -s conftest$ac_exeext'
4853 { (case "(($ac_try" in
4854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4855 *) ac_try_echo=$ac_try;;
4856 esac
4857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4858 (eval "$ac_try") 2>&5
4859 ac_status=$?
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); }; }; then
4862 ac_cv_func_connect=yes
4863 else
4864 echo "$as_me: failed program was:" >&5
4865 sed 's/^/| /' conftest.$ac_ext >&5
4867 ac_cv_func_connect=no
4870 rm -f core conftest.err conftest.$ac_objext \
4871 conftest$ac_exeext conftest.$ac_ext
4873 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4874 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4876 if test $ac_cv_func_connect = no; then
4877 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4878 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4879 if test "${ac_cv_lib_socket_connect+set}" = set; then
4880 echo $ECHO_N "(cached) $ECHO_C" >&6
4881 else
4882 ac_check_lib_save_LIBS=$LIBS
4883 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4884 cat >conftest.$ac_ext <<_ACEOF
4885 /* confdefs.h. */
4886 _ACEOF
4887 cat confdefs.h >>conftest.$ac_ext
4888 cat >>conftest.$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4891 /* Override any GCC internal prototype to avoid an error.
4892 Use char because int might match the return type of a GCC
4893 builtin and then its argument prototype would still apply. */
4894 #ifdef __cplusplus
4895 extern "C"
4896 #endif
4897 char connect ();
4899 main ()
4901 return connect ();
4903 return 0;
4905 _ACEOF
4906 rm -f conftest.$ac_objext conftest$ac_exeext
4907 if { (ac_try="$ac_link"
4908 case "(($ac_try" in
4909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4910 *) ac_try_echo=$ac_try;;
4911 esac
4912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4913 (eval "$ac_link") 2>conftest.er1
4914 ac_status=$?
4915 grep -v '^ *+' conftest.er1 >conftest.err
4916 rm -f conftest.er1
4917 cat conftest.err >&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); } &&
4920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4921 { (case "(($ac_try" in
4922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4923 *) ac_try_echo=$ac_try;;
4924 esac
4925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4926 (eval "$ac_try") 2>&5
4927 ac_status=$?
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); }; } &&
4930 { ac_try='test -s conftest$ac_exeext'
4931 { (case "(($ac_try" in
4932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4933 *) ac_try_echo=$ac_try;;
4934 esac
4935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4936 (eval "$ac_try") 2>&5
4937 ac_status=$?
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }; }; then
4940 ac_cv_lib_socket_connect=yes
4941 else
4942 echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.$ac_ext >&5
4945 ac_cv_lib_socket_connect=no
4948 rm -f core conftest.err conftest.$ac_objext \
4949 conftest$ac_exeext conftest.$ac_ext
4950 LIBS=$ac_check_lib_save_LIBS
4952 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4953 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4954 if test $ac_cv_lib_socket_connect = yes; then
4955 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4960 # Guillermo Gomez says -lposix is necessary on A/UX.
4961 { echo "$as_me:$LINENO: checking for remove" >&5
4962 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4963 if test "${ac_cv_func_remove+set}" = set; then
4964 echo $ECHO_N "(cached) $ECHO_C" >&6
4965 else
4966 cat >conftest.$ac_ext <<_ACEOF
4967 /* confdefs.h. */
4968 _ACEOF
4969 cat confdefs.h >>conftest.$ac_ext
4970 cat >>conftest.$ac_ext <<_ACEOF
4971 /* end confdefs.h. */
4972 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4974 #define remove innocuous_remove
4976 /* System header to define __stub macros and hopefully few prototypes,
4977 which can conflict with char remove (); below.
4978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4979 <limits.h> exists even on freestanding compilers. */
4981 #ifdef __STDC__
4982 # include <limits.h>
4983 #else
4984 # include <assert.h>
4985 #endif
4987 #undef remove
4989 /* Override any GCC internal prototype to avoid an error.
4990 Use char because int might match the return type of a GCC
4991 builtin and then its argument prototype would still apply. */
4992 #ifdef __cplusplus
4993 extern "C"
4994 #endif
4995 char remove ();
4996 /* The GNU C library defines this for functions which it implements
4997 to always fail with ENOSYS. Some functions are actually named
4998 something starting with __ and the normal name is an alias. */
4999 #if defined __stub_remove || defined __stub___remove
5000 choke me
5001 #endif
5004 main ()
5006 return remove ();
5008 return 0;
5010 _ACEOF
5011 rm -f conftest.$ac_objext conftest$ac_exeext
5012 if { (ac_try="$ac_link"
5013 case "(($ac_try" in
5014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5015 *) ac_try_echo=$ac_try;;
5016 esac
5017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5018 (eval "$ac_link") 2>conftest.er1
5019 ac_status=$?
5020 grep -v '^ *+' conftest.er1 >conftest.err
5021 rm -f conftest.er1
5022 cat conftest.err >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); } &&
5025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5026 { (case "(($ac_try" in
5027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5028 *) ac_try_echo=$ac_try;;
5029 esac
5030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5031 (eval "$ac_try") 2>&5
5032 ac_status=$?
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); }; } &&
5035 { ac_try='test -s conftest$ac_exeext'
5036 { (case "(($ac_try" in
5037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5038 *) ac_try_echo=$ac_try;;
5039 esac
5040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5041 (eval "$ac_try") 2>&5
5042 ac_status=$?
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; }; then
5045 ac_cv_func_remove=yes
5046 else
5047 echo "$as_me: failed program was:" >&5
5048 sed 's/^/| /' conftest.$ac_ext >&5
5050 ac_cv_func_remove=no
5053 rm -f core conftest.err conftest.$ac_objext \
5054 conftest$ac_exeext conftest.$ac_ext
5056 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5057 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5059 if test $ac_cv_func_remove = no; then
5060 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5061 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5062 if test "${ac_cv_lib_posix_remove+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5064 else
5065 ac_check_lib_save_LIBS=$LIBS
5066 LIBS="-lposix $LIBS"
5067 cat >conftest.$ac_ext <<_ACEOF
5068 /* confdefs.h. */
5069 _ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5074 /* Override any GCC internal prototype to avoid an error.
5075 Use char because int might match the return type of a GCC
5076 builtin and then its argument prototype would still apply. */
5077 #ifdef __cplusplus
5078 extern "C"
5079 #endif
5080 char remove ();
5082 main ()
5084 return remove ();
5086 return 0;
5088 _ACEOF
5089 rm -f conftest.$ac_objext conftest$ac_exeext
5090 if { (ac_try="$ac_link"
5091 case "(($ac_try" in
5092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5093 *) ac_try_echo=$ac_try;;
5094 esac
5095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5096 (eval "$ac_link") 2>conftest.er1
5097 ac_status=$?
5098 grep -v '^ *+' conftest.er1 >conftest.err
5099 rm -f conftest.er1
5100 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } &&
5103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5104 { (case "(($ac_try" in
5105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5106 *) ac_try_echo=$ac_try;;
5107 esac
5108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5109 (eval "$ac_try") 2>&5
5110 ac_status=$?
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); }; } &&
5113 { ac_try='test -s conftest$ac_exeext'
5114 { (case "(($ac_try" in
5115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5116 *) ac_try_echo=$ac_try;;
5117 esac
5118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5119 (eval "$ac_try") 2>&5
5120 ac_status=$?
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); }; }; then
5123 ac_cv_lib_posix_remove=yes
5124 else
5125 echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.$ac_ext >&5
5128 ac_cv_lib_posix_remove=no
5131 rm -f core conftest.err conftest.$ac_objext \
5132 conftest$ac_exeext conftest.$ac_ext
5133 LIBS=$ac_check_lib_save_LIBS
5135 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5136 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5137 if test $ac_cv_lib_posix_remove = yes; then
5138 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5143 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5144 { echo "$as_me:$LINENO: checking for shmat" >&5
5145 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5146 if test "${ac_cv_func_shmat+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 else
5149 cat >conftest.$ac_ext <<_ACEOF
5150 /* confdefs.h. */
5151 _ACEOF
5152 cat confdefs.h >>conftest.$ac_ext
5153 cat >>conftest.$ac_ext <<_ACEOF
5154 /* end confdefs.h. */
5155 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5157 #define shmat innocuous_shmat
5159 /* System header to define __stub macros and hopefully few prototypes,
5160 which can conflict with char shmat (); below.
5161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5162 <limits.h> exists even on freestanding compilers. */
5164 #ifdef __STDC__
5165 # include <limits.h>
5166 #else
5167 # include <assert.h>
5168 #endif
5170 #undef shmat
5172 /* Override any GCC internal prototype to avoid an error.
5173 Use char because int might match the return type of a GCC
5174 builtin and then its argument prototype would still apply. */
5175 #ifdef __cplusplus
5176 extern "C"
5177 #endif
5178 char shmat ();
5179 /* The GNU C library defines this for functions which it implements
5180 to always fail with ENOSYS. Some functions are actually named
5181 something starting with __ and the normal name is an alias. */
5182 #if defined __stub_shmat || defined __stub___shmat
5183 choke me
5184 #endif
5187 main ()
5189 return shmat ();
5191 return 0;
5193 _ACEOF
5194 rm -f conftest.$ac_objext conftest$ac_exeext
5195 if { (ac_try="$ac_link"
5196 case "(($ac_try" in
5197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5198 *) ac_try_echo=$ac_try;;
5199 esac
5200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5201 (eval "$ac_link") 2>conftest.er1
5202 ac_status=$?
5203 grep -v '^ *+' conftest.er1 >conftest.err
5204 rm -f conftest.er1
5205 cat conftest.err >&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); } &&
5208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5209 { (case "(($ac_try" in
5210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5211 *) ac_try_echo=$ac_try;;
5212 esac
5213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5214 (eval "$ac_try") 2>&5
5215 ac_status=$?
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); }; } &&
5218 { ac_try='test -s conftest$ac_exeext'
5219 { (case "(($ac_try" in
5220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5221 *) ac_try_echo=$ac_try;;
5222 esac
5223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5224 (eval "$ac_try") 2>&5
5225 ac_status=$?
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); }; }; then
5228 ac_cv_func_shmat=yes
5229 else
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.$ac_ext >&5
5233 ac_cv_func_shmat=no
5236 rm -f core conftest.err conftest.$ac_objext \
5237 conftest$ac_exeext conftest.$ac_ext
5239 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5240 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5242 if test $ac_cv_func_shmat = no; then
5243 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5244 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5245 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 else
5248 ac_check_lib_save_LIBS=$LIBS
5249 LIBS="-lipc $LIBS"
5250 cat >conftest.$ac_ext <<_ACEOF
5251 /* confdefs.h. */
5252 _ACEOF
5253 cat confdefs.h >>conftest.$ac_ext
5254 cat >>conftest.$ac_ext <<_ACEOF
5255 /* end confdefs.h. */
5257 /* Override any GCC internal prototype to avoid an error.
5258 Use char because int might match the return type of a GCC
5259 builtin and then its argument prototype would still apply. */
5260 #ifdef __cplusplus
5261 extern "C"
5262 #endif
5263 char shmat ();
5265 main ()
5267 return shmat ();
5269 return 0;
5271 _ACEOF
5272 rm -f conftest.$ac_objext conftest$ac_exeext
5273 if { (ac_try="$ac_link"
5274 case "(($ac_try" in
5275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5276 *) ac_try_echo=$ac_try;;
5277 esac
5278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5279 (eval "$ac_link") 2>conftest.er1
5280 ac_status=$?
5281 grep -v '^ *+' conftest.er1 >conftest.err
5282 rm -f conftest.er1
5283 cat conftest.err >&5
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); } &&
5286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5287 { (case "(($ac_try" in
5288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5289 *) ac_try_echo=$ac_try;;
5290 esac
5291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5292 (eval "$ac_try") 2>&5
5293 ac_status=$?
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); }; } &&
5296 { ac_try='test -s conftest$ac_exeext'
5297 { (case "(($ac_try" in
5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5299 *) ac_try_echo=$ac_try;;
5300 esac
5301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5302 (eval "$ac_try") 2>&5
5303 ac_status=$?
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; }; then
5306 ac_cv_lib_ipc_shmat=yes
5307 else
5308 echo "$as_me: failed program was:" >&5
5309 sed 's/^/| /' conftest.$ac_ext >&5
5311 ac_cv_lib_ipc_shmat=no
5314 rm -f core conftest.err conftest.$ac_objext \
5315 conftest$ac_exeext conftest.$ac_ext
5316 LIBS=$ac_check_lib_save_LIBS
5318 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5319 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5320 if test $ac_cv_lib_ipc_shmat = yes; then
5321 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5327 # Check for libraries that X11R6 Xt/Xaw programs need.
5328 ac_save_LDFLAGS=$LDFLAGS
5329 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5330 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5331 # check for ICE first), but we must link in the order -lSM -lICE or
5332 # we get undefined symbols. So assume we have SM if we have ICE.
5333 # These have to be linked with before -lX11, unlike the other
5334 # libraries we check for below, so use a different variable.
5335 # John Interrante, Karl Berry
5336 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5337 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5338 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5339 echo $ECHO_N "(cached) $ECHO_C" >&6
5340 else
5341 ac_check_lib_save_LIBS=$LIBS
5342 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5343 cat >conftest.$ac_ext <<_ACEOF
5344 /* confdefs.h. */
5345 _ACEOF
5346 cat confdefs.h >>conftest.$ac_ext
5347 cat >>conftest.$ac_ext <<_ACEOF
5348 /* end confdefs.h. */
5350 /* Override any GCC internal prototype to avoid an error.
5351 Use char because int might match the return type of a GCC
5352 builtin and then its argument prototype would still apply. */
5353 #ifdef __cplusplus
5354 extern "C"
5355 #endif
5356 char IceConnectionNumber ();
5358 main ()
5360 return IceConnectionNumber ();
5362 return 0;
5364 _ACEOF
5365 rm -f conftest.$ac_objext conftest$ac_exeext
5366 if { (ac_try="$ac_link"
5367 case "(($ac_try" in
5368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5369 *) ac_try_echo=$ac_try;;
5370 esac
5371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5372 (eval "$ac_link") 2>conftest.er1
5373 ac_status=$?
5374 grep -v '^ *+' conftest.er1 >conftest.err
5375 rm -f conftest.er1
5376 cat conftest.err >&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } &&
5379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5380 { (case "(($ac_try" in
5381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5382 *) ac_try_echo=$ac_try;;
5383 esac
5384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5385 (eval "$ac_try") 2>&5
5386 ac_status=$?
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); }; } &&
5389 { ac_try='test -s conftest$ac_exeext'
5390 { (case "(($ac_try" in
5391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5392 *) ac_try_echo=$ac_try;;
5393 esac
5394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5395 (eval "$ac_try") 2>&5
5396 ac_status=$?
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }; }; then
5399 ac_cv_lib_ICE_IceConnectionNumber=yes
5400 else
5401 echo "$as_me: failed program was:" >&5
5402 sed 's/^/| /' conftest.$ac_ext >&5
5404 ac_cv_lib_ICE_IceConnectionNumber=no
5407 rm -f core conftest.err conftest.$ac_objext \
5408 conftest$ac_exeext conftest.$ac_ext
5409 LIBS=$ac_check_lib_save_LIBS
5411 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5412 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5413 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5414 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5417 LDFLAGS=$ac_save_LDFLAGS
5421 for ac_prog in flex lex
5423 # Extract the first word of "$ac_prog", so it can be a program name with args.
5424 set dummy $ac_prog; ac_word=$2
5425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5427 if test "${ac_cv_prog_LEX+set}" = set; then
5428 echo $ECHO_N "(cached) $ECHO_C" >&6
5429 else
5430 if test -n "$LEX"; then
5431 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5432 else
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 for as_dir in $PATH
5436 IFS=$as_save_IFS
5437 test -z "$as_dir" && as_dir=.
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5440 ac_cv_prog_LEX="$ac_prog"
5441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 break 2
5444 done
5445 done
5446 IFS=$as_save_IFS
5450 LEX=$ac_cv_prog_LEX
5451 if test -n "$LEX"; then
5452 { echo "$as_me:$LINENO: result: $LEX" >&5
5453 echo "${ECHO_T}$LEX" >&6; }
5454 else
5455 { echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6; }
5460 test -n "$LEX" && break
5461 done
5462 test -n "$LEX" || LEX=":"
5464 if test -z "$LEXLIB"
5465 then
5466 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5467 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5468 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5469 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 else
5471 ac_check_lib_save_LIBS=$LIBS
5472 LIBS="-lfl $LIBS"
5473 cat >conftest.$ac_ext <<_ACEOF
5474 /* confdefs.h. */
5475 _ACEOF
5476 cat confdefs.h >>conftest.$ac_ext
5477 cat >>conftest.$ac_ext <<_ACEOF
5478 /* end confdefs.h. */
5480 /* Override any GCC internal prototype to avoid an error.
5481 Use char because int might match the return type of a GCC
5482 builtin and then its argument prototype would still apply. */
5483 #ifdef __cplusplus
5484 extern "C"
5485 #endif
5486 char yywrap ();
5488 main ()
5490 return yywrap ();
5492 return 0;
5494 _ACEOF
5495 rm -f conftest.$ac_objext conftest$ac_exeext
5496 if { (ac_try="$ac_link"
5497 case "(($ac_try" in
5498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5499 *) ac_try_echo=$ac_try;;
5500 esac
5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5502 (eval "$ac_link") 2>conftest.er1
5503 ac_status=$?
5504 grep -v '^ *+' conftest.er1 >conftest.err
5505 rm -f conftest.er1
5506 cat conftest.err >&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); } &&
5509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5510 { (case "(($ac_try" in
5511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5512 *) ac_try_echo=$ac_try;;
5513 esac
5514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5515 (eval "$ac_try") 2>&5
5516 ac_status=$?
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); }; } &&
5519 { ac_try='test -s conftest$ac_exeext'
5520 { (case "(($ac_try" in
5521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5522 *) ac_try_echo=$ac_try;;
5523 esac
5524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5525 (eval "$ac_try") 2>&5
5526 ac_status=$?
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); }; }; then
5529 ac_cv_lib_fl_yywrap=yes
5530 else
5531 echo "$as_me: failed program was:" >&5
5532 sed 's/^/| /' conftest.$ac_ext >&5
5534 ac_cv_lib_fl_yywrap=no
5537 rm -f core conftest.err conftest.$ac_objext \
5538 conftest$ac_exeext conftest.$ac_ext
5539 LIBS=$ac_check_lib_save_LIBS
5541 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5542 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5543 if test $ac_cv_lib_fl_yywrap = yes; then
5544 LEXLIB="-lfl"
5545 else
5546 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5547 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5548 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5549 echo $ECHO_N "(cached) $ECHO_C" >&6
5550 else
5551 ac_check_lib_save_LIBS=$LIBS
5552 LIBS="-ll $LIBS"
5553 cat >conftest.$ac_ext <<_ACEOF
5554 /* confdefs.h. */
5555 _ACEOF
5556 cat confdefs.h >>conftest.$ac_ext
5557 cat >>conftest.$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5560 /* Override any GCC internal prototype to avoid an error.
5561 Use char because int might match the return type of a GCC
5562 builtin and then its argument prototype would still apply. */
5563 #ifdef __cplusplus
5564 extern "C"
5565 #endif
5566 char yywrap ();
5568 main ()
5570 return yywrap ();
5572 return 0;
5574 _ACEOF
5575 rm -f conftest.$ac_objext conftest$ac_exeext
5576 if { (ac_try="$ac_link"
5577 case "(($ac_try" in
5578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5579 *) ac_try_echo=$ac_try;;
5580 esac
5581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5582 (eval "$ac_link") 2>conftest.er1
5583 ac_status=$?
5584 grep -v '^ *+' conftest.er1 >conftest.err
5585 rm -f conftest.er1
5586 cat conftest.err >&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); } &&
5589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5590 { (case "(($ac_try" in
5591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5592 *) ac_try_echo=$ac_try;;
5593 esac
5594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5595 (eval "$ac_try") 2>&5
5596 ac_status=$?
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); }; } &&
5599 { ac_try='test -s conftest$ac_exeext'
5600 { (case "(($ac_try" in
5601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5602 *) ac_try_echo=$ac_try;;
5603 esac
5604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5605 (eval "$ac_try") 2>&5
5606 ac_status=$?
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); }; }; then
5609 ac_cv_lib_l_yywrap=yes
5610 else
5611 echo "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.$ac_ext >&5
5614 ac_cv_lib_l_yywrap=no
5617 rm -f core conftest.err conftest.$ac_objext \
5618 conftest$ac_exeext conftest.$ac_ext
5619 LIBS=$ac_check_lib_save_LIBS
5621 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5622 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5623 if test $ac_cv_lib_l_yywrap = yes; then
5624 LEXLIB="-ll"
5631 if test "x$LEX" != "x:"; then
5632 { echo "$as_me:$LINENO: checking lex output file root" >&5
5633 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5634 if test "${ac_cv_prog_lex_root+set}" = set; then
5635 echo $ECHO_N "(cached) $ECHO_C" >&6
5636 else
5637 # The minimal lex program is just a single line: %%. But some broken lexes
5638 # (Solaris, I think it was) want two %% lines, so accommodate them.
5639 cat >conftest.l <<_ACEOF
5642 _ACEOF
5643 { (ac_try="$LEX conftest.l"
5644 case "(($ac_try" in
5645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5646 *) ac_try_echo=$ac_try;;
5647 esac
5648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5649 (eval "$LEX conftest.l") 2>&5
5650 ac_status=$?
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); }
5653 if test -f lex.yy.c; then
5654 ac_cv_prog_lex_root=lex.yy
5655 elif test -f lexyy.c; then
5656 ac_cv_prog_lex_root=lexyy
5657 else
5658 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5659 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5660 { (exit 1); exit 1; }; }
5663 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5664 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5665 rm -f conftest.l
5666 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5668 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5669 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5670 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5671 echo $ECHO_N "(cached) $ECHO_C" >&6
5672 else
5673 # POSIX says lex can declare yytext either as a pointer or an array; the
5674 # default is implementation-dependent. Figure out which it is, since
5675 # not all implementations provide the %pointer and %array declarations.
5676 ac_cv_prog_lex_yytext_pointer=no
5677 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5678 ac_save_LIBS=$LIBS
5679 LIBS="$LIBS $LEXLIB"
5680 cat >conftest.$ac_ext <<_ACEOF
5681 `cat $LEX_OUTPUT_ROOT.c`
5682 _ACEOF
5683 rm -f conftest.$ac_objext conftest$ac_exeext
5684 if { (ac_try="$ac_link"
5685 case "(($ac_try" in
5686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5687 *) ac_try_echo=$ac_try;;
5688 esac
5689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5690 (eval "$ac_link") 2>conftest.er1
5691 ac_status=$?
5692 grep -v '^ *+' conftest.er1 >conftest.err
5693 rm -f conftest.er1
5694 cat conftest.err >&5
5695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); } &&
5697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5698 { (case "(($ac_try" in
5699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5700 *) ac_try_echo=$ac_try;;
5701 esac
5702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5703 (eval "$ac_try") 2>&5
5704 ac_status=$?
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; } &&
5707 { ac_try='test -s conftest$ac_exeext'
5708 { (case "(($ac_try" in
5709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5710 *) ac_try_echo=$ac_try;;
5711 esac
5712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5713 (eval "$ac_try") 2>&5
5714 ac_status=$?
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5717 ac_cv_prog_lex_yytext_pointer=yes
5718 else
5719 echo "$as_me: failed program was:" >&5
5720 sed 's/^/| /' conftest.$ac_ext >&5
5725 rm -f core conftest.err conftest.$ac_objext \
5726 conftest$ac_exeext conftest.$ac_ext
5727 LIBS=$ac_save_LIBS
5728 rm -f "${LEX_OUTPUT_ROOT}.c"
5731 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5732 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5733 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5735 cat >>confdefs.h <<\_ACEOF
5736 #define YYTEXT_POINTER 1
5737 _ACEOF
5743 for ac_prog in $LEX flex lex
5745 # Extract the first word of "$ac_prog", so it can be a program name with args.
5746 set dummy $ac_prog; ac_word=$2
5747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5749 if test "${ac_cv_prog_XLEX+set}" = set; then
5750 echo $ECHO_N "(cached) $ECHO_C" >&6
5751 else
5752 if test -n "$XLEX"; then
5753 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5754 else
5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5756 for as_dir in $PATH
5758 IFS=$as_save_IFS
5759 test -z "$as_dir" && as_dir=.
5760 for ac_exec_ext in '' $ac_executable_extensions; do
5761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5762 ac_cv_prog_XLEX="$ac_prog"
5763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 break 2
5766 done
5767 done
5768 IFS=$as_save_IFS
5772 XLEX=$ac_cv_prog_XLEX
5773 if test -n "$XLEX"; then
5774 { echo "$as_me:$LINENO: result: $XLEX" >&5
5775 echo "${ECHO_T}$XLEX" >&6; }
5776 else
5777 { echo "$as_me:$LINENO: result: no" >&5
5778 echo "${ECHO_T}no" >&6; }
5782 test -n "$XLEX" && break
5783 done
5784 test -n "$XLEX" || XLEX="none"
5786 if test "$XLEX" = "none"
5787 then
5788 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5789 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5790 { (exit 1); exit 1; }; }
5793 for ac_prog in bison
5795 # Extract the first word of "$ac_prog", so it can be a program name with args.
5796 set dummy $ac_prog; ac_word=$2
5797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5799 if test "${ac_cv_prog_BISON+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 else
5802 if test -n "$BISON"; then
5803 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5804 else
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 for as_dir in $PATH
5808 IFS=$as_save_IFS
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_prog_BISON="$ac_prog"
5813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5814 break 2
5816 done
5817 done
5818 IFS=$as_save_IFS
5822 BISON=$ac_cv_prog_BISON
5823 if test -n "$BISON"; then
5824 { echo "$as_me:$LINENO: result: $BISON" >&5
5825 echo "${ECHO_T}$BISON" >&6; }
5826 else
5827 { echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6; }
5832 test -n "$BISON" && break
5833 done
5834 test -n "$BISON" || BISON="none"
5836 if test "$BISON" = "none"
5837 then
5838 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5839 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5840 { (exit 1); exit 1; }; }
5843 if test -n "$ac_tool_prefix"; then
5844 for ac_prog in gas as
5846 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5847 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5850 if test "${ac_cv_prog_AS+set}" = set; then
5851 echo $ECHO_N "(cached) $ECHO_C" >&6
5852 else
5853 if test -n "$AS"; then
5854 ac_cv_prog_AS="$AS" # Let the user override the test.
5855 else
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 for as_dir in $PATH
5859 IFS=$as_save_IFS
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5863 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 break 2
5867 done
5868 done
5869 IFS=$as_save_IFS
5873 AS=$ac_cv_prog_AS
5874 if test -n "$AS"; then
5875 { echo "$as_me:$LINENO: result: $AS" >&5
5876 echo "${ECHO_T}$AS" >&6; }
5877 else
5878 { echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6; }
5883 test -n "$AS" && break
5884 done
5886 if test -z "$AS"; then
5887 ac_ct_AS=$AS
5888 for ac_prog in gas as
5890 # Extract the first word of "$ac_prog", so it can be a program name with args.
5891 set dummy $ac_prog; ac_word=$2
5892 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5894 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5896 else
5897 if test -n "$ac_ct_AS"; then
5898 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5899 else
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $PATH
5903 IFS=$as_save_IFS
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_prog_ac_ct_AS="$ac_prog"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 break 2
5911 done
5912 done
5913 IFS=$as_save_IFS
5917 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5918 if test -n "$ac_ct_AS"; then
5919 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5920 echo "${ECHO_T}$ac_ct_AS" >&6; }
5921 else
5922 { echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6; }
5927 test -n "$ac_ct_AS" && break
5928 done
5930 if test "x$ac_ct_AS" = x; then
5931 AS="as"
5932 else
5933 case $cross_compiling:$ac_tool_warned in
5934 yes:)
5935 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5936 whose name does not start with the host triplet. If you think this
5937 configuration is useful to you, please write to autoconf@gnu.org." >&5
5938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5939 whose name does not start with the host triplet. If you think this
5940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5941 ac_tool_warned=yes ;;
5942 esac
5943 AS=$ac_ct_AS
5947 if test -n "$ac_tool_prefix"; then
5948 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5949 set dummy ${ac_tool_prefix}ld; ac_word=$2
5950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5952 if test "${ac_cv_prog_LD+set}" = set; then
5953 echo $ECHO_N "(cached) $ECHO_C" >&6
5954 else
5955 if test -n "$LD"; then
5956 ac_cv_prog_LD="$LD" # Let the user override the test.
5957 else
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 for as_dir in $PATH
5961 IFS=$as_save_IFS
5962 test -z "$as_dir" && as_dir=.
5963 for ac_exec_ext in '' $ac_executable_extensions; do
5964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5965 ac_cv_prog_LD="${ac_tool_prefix}ld"
5966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5967 break 2
5969 done
5970 done
5971 IFS=$as_save_IFS
5975 LD=$ac_cv_prog_LD
5976 if test -n "$LD"; then
5977 { echo "$as_me:$LINENO: result: $LD" >&5
5978 echo "${ECHO_T}$LD" >&6; }
5979 else
5980 { echo "$as_me:$LINENO: result: no" >&5
5981 echo "${ECHO_T}no" >&6; }
5986 if test -z "$ac_cv_prog_LD"; then
5987 ac_ct_LD=$LD
5988 # Extract the first word of "ld", so it can be a program name with args.
5989 set dummy ld; ac_word=$2
5990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5992 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5993 echo $ECHO_N "(cached) $ECHO_C" >&6
5994 else
5995 if test -n "$ac_ct_LD"; then
5996 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5997 else
5998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 for as_dir in $PATH
6001 IFS=$as_save_IFS
6002 test -z "$as_dir" && as_dir=.
6003 for ac_exec_ext in '' $ac_executable_extensions; do
6004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6005 ac_cv_prog_ac_ct_LD="ld"
6006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6007 break 2
6009 done
6010 done
6011 IFS=$as_save_IFS
6015 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6016 if test -n "$ac_ct_LD"; then
6017 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6018 echo "${ECHO_T}$ac_ct_LD" >&6; }
6019 else
6020 { echo "$as_me:$LINENO: result: no" >&5
6021 echo "${ECHO_T}no" >&6; }
6024 if test "x$ac_ct_LD" = x; then
6025 LD="ld"
6026 else
6027 case $cross_compiling:$ac_tool_warned in
6028 yes:)
6029 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6030 whose name does not start with the host triplet. If you think this
6031 configuration is useful to you, please write to autoconf@gnu.org." >&5
6032 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6033 whose name does not start with the host triplet. If you think this
6034 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6035 ac_tool_warned=yes ;;
6036 esac
6037 LD=$ac_ct_LD
6039 else
6040 LD="$ac_cv_prog_LD"
6043 if test -n "$ac_tool_prefix"; then
6044 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6045 set dummy ${ac_tool_prefix}ar; ac_word=$2
6046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6048 if test "${ac_cv_prog_AR+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 else
6051 if test -n "$AR"; then
6052 ac_cv_prog_AR="$AR" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6057 IFS=$as_save_IFS
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_AR="${ac_tool_prefix}ar"
6062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 break 2
6065 done
6066 done
6067 IFS=$as_save_IFS
6071 AR=$ac_cv_prog_AR
6072 if test -n "$AR"; then
6073 { echo "$as_me:$LINENO: result: $AR" >&5
6074 echo "${ECHO_T}$AR" >&6; }
6075 else
6076 { echo "$as_me:$LINENO: result: no" >&5
6077 echo "${ECHO_T}no" >&6; }
6082 if test -z "$ac_cv_prog_AR"; then
6083 ac_ct_AR=$AR
6084 # Extract the first word of "ar", so it can be a program name with args.
6085 set dummy ar; ac_word=$2
6086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6088 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6089 echo $ECHO_N "(cached) $ECHO_C" >&6
6090 else
6091 if test -n "$ac_ct_AR"; then
6092 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6093 else
6094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 for as_dir in $PATH
6097 IFS=$as_save_IFS
6098 test -z "$as_dir" && as_dir=.
6099 for ac_exec_ext in '' $ac_executable_extensions; do
6100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6101 ac_cv_prog_ac_ct_AR="ar"
6102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6103 break 2
6105 done
6106 done
6107 IFS=$as_save_IFS
6111 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6112 if test -n "$ac_ct_AR"; then
6113 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6114 echo "${ECHO_T}$ac_ct_AR" >&6; }
6115 else
6116 { echo "$as_me:$LINENO: result: no" >&5
6117 echo "${ECHO_T}no" >&6; }
6120 if test "x$ac_ct_AR" = x; then
6121 AR="ar"
6122 else
6123 case $cross_compiling:$ac_tool_warned in
6124 yes:)
6125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6126 whose name does not start with the host triplet. If you think this
6127 configuration is useful to you, please write to autoconf@gnu.org." >&5
6128 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6129 whose name does not start with the host triplet. If you think this
6130 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6131 ac_tool_warned=yes ;;
6132 esac
6133 AR=$ac_ct_AR
6135 else
6136 AR="$ac_cv_prog_AR"
6139 if test -n "$ac_tool_prefix"; then
6140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6141 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6144 if test "${ac_cv_prog_RANLIB+set}" = set; then
6145 echo $ECHO_N "(cached) $ECHO_C" >&6
6146 else
6147 if test -n "$RANLIB"; then
6148 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6149 else
6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 for as_dir in $PATH
6153 IFS=$as_save_IFS
6154 test -z "$as_dir" && as_dir=.
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6157 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 break 2
6161 done
6162 done
6163 IFS=$as_save_IFS
6167 RANLIB=$ac_cv_prog_RANLIB
6168 if test -n "$RANLIB"; then
6169 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6170 echo "${ECHO_T}$RANLIB" >&6; }
6171 else
6172 { echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6; }
6178 if test -z "$ac_cv_prog_RANLIB"; then
6179 ac_ct_RANLIB=$RANLIB
6180 # Extract the first word of "ranlib", so it can be a program name with args.
6181 set dummy ranlib; ac_word=$2
6182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6185 echo $ECHO_N "(cached) $ECHO_C" >&6
6186 else
6187 if test -n "$ac_ct_RANLIB"; then
6188 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6189 else
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6197 ac_cv_prog_ac_ct_RANLIB="ranlib"
6198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 break 2
6201 done
6202 done
6203 IFS=$as_save_IFS
6207 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6208 if test -n "$ac_ct_RANLIB"; then
6209 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6210 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6211 else
6212 { echo "$as_me:$LINENO: result: no" >&5
6213 echo "${ECHO_T}no" >&6; }
6216 if test "x$ac_ct_RANLIB" = x; then
6217 RANLIB=":"
6218 else
6219 case $cross_compiling:$ac_tool_warned in
6220 yes:)
6221 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6222 whose name does not start with the host triplet. If you think this
6223 configuration is useful to you, please write to autoconf@gnu.org." >&5
6224 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6225 whose name does not start with the host triplet. If you think this
6226 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6227 ac_tool_warned=yes ;;
6228 esac
6229 RANLIB=$ac_ct_RANLIB
6231 else
6232 RANLIB="$ac_cv_prog_RANLIB"
6235 if test -n "$ac_tool_prefix"; then
6236 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6237 set dummy ${ac_tool_prefix}strip; ac_word=$2
6238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6240 if test "${ac_cv_prog_STRIP+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6242 else
6243 if test -n "$STRIP"; then
6244 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6245 else
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 for as_dir in $PATH
6249 IFS=$as_save_IFS
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6255 break 2
6257 done
6258 done
6259 IFS=$as_save_IFS
6263 STRIP=$ac_cv_prog_STRIP
6264 if test -n "$STRIP"; then
6265 { echo "$as_me:$LINENO: result: $STRIP" >&5
6266 echo "${ECHO_T}$STRIP" >&6; }
6267 else
6268 { echo "$as_me:$LINENO: result: no" >&5
6269 echo "${ECHO_T}no" >&6; }
6274 if test -z "$ac_cv_prog_STRIP"; then
6275 ac_ct_STRIP=$STRIP
6276 # Extract the first word of "strip", so it can be a program name with args.
6277 set dummy strip; ac_word=$2
6278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6280 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6281 echo $ECHO_N "(cached) $ECHO_C" >&6
6282 else
6283 if test -n "$ac_ct_STRIP"; then
6284 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6285 else
6286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 for as_dir in $PATH
6289 IFS=$as_save_IFS
6290 test -z "$as_dir" && as_dir=.
6291 for ac_exec_ext in '' $ac_executable_extensions; do
6292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6293 ac_cv_prog_ac_ct_STRIP="strip"
6294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6295 break 2
6297 done
6298 done
6299 IFS=$as_save_IFS
6303 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6304 if test -n "$ac_ct_STRIP"; then
6305 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6306 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6307 else
6308 { echo "$as_me:$LINENO: result: no" >&5
6309 echo "${ECHO_T}no" >&6; }
6312 if test "x$ac_ct_STRIP" = x; then
6313 STRIP="strip"
6314 else
6315 case $cross_compiling:$ac_tool_warned in
6316 yes:)
6317 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6318 whose name does not start with the host triplet. If you think this
6319 configuration is useful to you, please write to autoconf@gnu.org." >&5
6320 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6321 whose name does not start with the host triplet. If you think this
6322 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6323 ac_tool_warned=yes ;;
6324 esac
6325 STRIP=$ac_ct_STRIP
6327 else
6328 STRIP="$ac_cv_prog_STRIP"
6331 if test -n "$ac_tool_prefix"; then
6332 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6333 set dummy ${ac_tool_prefix}windres; ac_word=$2
6334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6336 if test "${ac_cv_prog_WINDRES+set}" = set; then
6337 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 else
6339 if test -n "$WINDRES"; then
6340 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6341 else
6342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343 for as_dir in $PATH
6345 IFS=$as_save_IFS
6346 test -z "$as_dir" && as_dir=.
6347 for ac_exec_ext in '' $ac_executable_extensions; do
6348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6349 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6351 break 2
6353 done
6354 done
6355 IFS=$as_save_IFS
6359 WINDRES=$ac_cv_prog_WINDRES
6360 if test -n "$WINDRES"; then
6361 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6362 echo "${ECHO_T}$WINDRES" >&6; }
6363 else
6364 { echo "$as_me:$LINENO: result: no" >&5
6365 echo "${ECHO_T}no" >&6; }
6370 if test -z "$ac_cv_prog_WINDRES"; then
6371 ac_ct_WINDRES=$WINDRES
6372 # Extract the first word of "windres", so it can be a program name with args.
6373 set dummy windres; ac_word=$2
6374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6376 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6377 echo $ECHO_N "(cached) $ECHO_C" >&6
6378 else
6379 if test -n "$ac_ct_WINDRES"; then
6380 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6381 else
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 for as_dir in $PATH
6385 IFS=$as_save_IFS
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6389 ac_cv_prog_ac_ct_WINDRES="windres"
6390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6391 break 2
6393 done
6394 done
6395 IFS=$as_save_IFS
6399 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6400 if test -n "$ac_ct_WINDRES"; then
6401 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6402 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6403 else
6404 { echo "$as_me:$LINENO: result: no" >&5
6405 echo "${ECHO_T}no" >&6; }
6408 if test "x$ac_ct_WINDRES" = x; then
6409 WINDRES="false"
6410 else
6411 case $cross_compiling:$ac_tool_warned in
6412 yes:)
6413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6414 whose name does not start with the host triplet. If you think this
6415 configuration is useful to you, please write to autoconf@gnu.org." >&5
6416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6417 whose name does not start with the host triplet. If you think this
6418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6419 ac_tool_warned=yes ;;
6420 esac
6421 WINDRES=$ac_ct_WINDRES
6423 else
6424 WINDRES="$ac_cv_prog_WINDRES"
6427 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6428 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6429 LN_S=$as_ln_s
6430 if test "$LN_S" = "ln -s"; then
6431 { echo "$as_me:$LINENO: result: yes" >&5
6432 echo "${ECHO_T}yes" >&6; }
6433 else
6434 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6435 echo "${ECHO_T}no, using $LN_S" >&6; }
6438 { echo "$as_me:$LINENO: checking whether ln works" >&5
6439 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6440 rm -f conf$$ conf$$.file
6441 echo >conf$$.file
6442 if ln conf$$.file conf$$ 2>/dev/null; then
6443 LN=ln
6445 { echo "$as_me:$LINENO: result: yes" >&5
6446 echo "${ECHO_T}yes" >&6; }
6447 else
6448 LN="cp -p"
6450 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6451 echo "${ECHO_T}no, using $LN" >&6; }
6453 rm -f conf$$ conf$$.file
6454 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6455 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6456 if test "${ac_cv_path_GREP+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 else
6459 # Extract the first word of "grep ggrep" to use in msg output
6460 if test -z "$GREP"; then
6461 set dummy grep ggrep; ac_prog_name=$2
6462 if test "${ac_cv_path_GREP+set}" = set; then
6463 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 else
6465 ac_path_GREP_found=false
6466 # Loop through the user's path and test for each of PROGNAME-LIST
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6470 IFS=$as_save_IFS
6471 test -z "$as_dir" && as_dir=.
6472 for ac_prog in grep ggrep; do
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6475 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6476 # Check for GNU ac_path_GREP and select it if it is found.
6477 # Check for GNU $ac_path_GREP
6478 case `"$ac_path_GREP" --version 2>&1` in
6479 *GNU*)
6480 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6482 ac_count=0
6483 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6484 while :
6486 cat "conftest.in" "conftest.in" >"conftest.tmp"
6487 mv "conftest.tmp" "conftest.in"
6488 cp "conftest.in" "conftest.nl"
6489 echo 'GREP' >> "conftest.nl"
6490 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6492 ac_count=`expr $ac_count + 1`
6493 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6494 # Best one so far, save it but keep looking for a better one
6495 ac_cv_path_GREP="$ac_path_GREP"
6496 ac_path_GREP_max=$ac_count
6498 # 10*(2^10) chars as input seems more than enough
6499 test $ac_count -gt 10 && break
6500 done
6501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6502 esac
6505 $ac_path_GREP_found && break 3
6506 done
6507 done
6509 done
6510 IFS=$as_save_IFS
6515 GREP="$ac_cv_path_GREP"
6516 if test -z "$GREP"; then
6517 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6518 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6519 { (exit 1); exit 1; }; }
6522 else
6523 ac_cv_path_GREP=$GREP
6528 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6529 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6530 GREP="$ac_cv_path_GREP"
6533 { echo "$as_me:$LINENO: checking for egrep" >&5
6534 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6535 if test "${ac_cv_path_EGREP+set}" = set; then
6536 echo $ECHO_N "(cached) $ECHO_C" >&6
6537 else
6538 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6539 then ac_cv_path_EGREP="$GREP -E"
6540 else
6541 # Extract the first word of "egrep" to use in msg output
6542 if test -z "$EGREP"; then
6543 set dummy egrep; ac_prog_name=$2
6544 if test "${ac_cv_path_EGREP+set}" = set; then
6545 echo $ECHO_N "(cached) $ECHO_C" >&6
6546 else
6547 ac_path_EGREP_found=false
6548 # Loop through the user's path and test for each of PROGNAME-LIST
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6552 IFS=$as_save_IFS
6553 test -z "$as_dir" && as_dir=.
6554 for ac_prog in egrep; do
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6557 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6558 # Check for GNU ac_path_EGREP and select it if it is found.
6559 # Check for GNU $ac_path_EGREP
6560 case `"$ac_path_EGREP" --version 2>&1` in
6561 *GNU*)
6562 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6564 ac_count=0
6565 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6566 while :
6568 cat "conftest.in" "conftest.in" >"conftest.tmp"
6569 mv "conftest.tmp" "conftest.in"
6570 cp "conftest.in" "conftest.nl"
6571 echo 'EGREP' >> "conftest.nl"
6572 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6573 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6574 ac_count=`expr $ac_count + 1`
6575 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6576 # Best one so far, save it but keep looking for a better one
6577 ac_cv_path_EGREP="$ac_path_EGREP"
6578 ac_path_EGREP_max=$ac_count
6580 # 10*(2^10) chars as input seems more than enough
6581 test $ac_count -gt 10 && break
6582 done
6583 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6584 esac
6587 $ac_path_EGREP_found && break 3
6588 done
6589 done
6591 done
6592 IFS=$as_save_IFS
6597 EGREP="$ac_cv_path_EGREP"
6598 if test -z "$EGREP"; then
6599 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6600 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6601 { (exit 1); exit 1; }; }
6604 else
6605 ac_cv_path_EGREP=$EGREP
6611 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6612 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6613 EGREP="$ac_cv_path_EGREP"
6616 # Extract the first word of "ldconfig", so it can be a program name with args.
6617 set dummy ldconfig; ac_word=$2
6618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6620 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6621 echo $ECHO_N "(cached) $ECHO_C" >&6
6622 else
6623 case $LDCONFIG in
6624 [\\/]* | ?:[\\/]*)
6625 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in /sbin /usr/sbin $PATH
6631 IFS=$as_save_IFS
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6635 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 break 2
6639 done
6640 done
6641 IFS=$as_save_IFS
6643 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6645 esac
6647 LDCONFIG=$ac_cv_path_LDCONFIG
6648 if test -n "$LDCONFIG"; then
6649 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6650 echo "${ECHO_T}$LDCONFIG" >&6; }
6651 else
6652 { echo "$as_me:$LINENO: result: no" >&5
6653 echo "${ECHO_T}no" >&6; }
6657 # Find a good install program. We prefer a C program (faster),
6658 # so one script is as good as another. But avoid the broken or
6659 # incompatible versions:
6660 # SysV /etc/install, /usr/sbin/install
6661 # SunOS /usr/etc/install
6662 # IRIX /sbin/install
6663 # AIX /bin/install
6664 # AmigaOS /C/install, which installs bootblocks on floppy discs
6665 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6666 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6667 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6668 # OS/2's system install, which has a completely different semantic
6669 # ./install, which can be erroneously created by make from ./install.sh.
6670 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6671 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6672 if test -z "$INSTALL"; then
6673 if test "${ac_cv_path_install+set}" = set; then
6674 echo $ECHO_N "(cached) $ECHO_C" >&6
6675 else
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 for as_dir in $PATH
6679 IFS=$as_save_IFS
6680 test -z "$as_dir" && as_dir=.
6681 # Account for people who put trailing slashes in PATH elements.
6682 case $as_dir/ in
6683 ./ | .// | /cC/* | \
6684 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6685 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6686 /usr/ucb/* ) ;;
6688 # OSF1 and SCO ODT 3.0 have their own names for install.
6689 # Don't use installbsd from OSF since it installs stuff as root
6690 # by default.
6691 for ac_prog in ginstall scoinst install; do
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6694 if test $ac_prog = install &&
6695 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6696 # AIX install. It has an incompatible calling convention.
6698 elif test $ac_prog = install &&
6699 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6700 # program-specific install script used by HP pwplus--don't use.
6702 else
6703 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6704 break 3
6707 done
6708 done
6710 esac
6711 done
6712 IFS=$as_save_IFS
6716 if test "${ac_cv_path_install+set}" = set; then
6717 INSTALL=$ac_cv_path_install
6718 else
6719 # As a last resort, use the slow shell script. Don't cache a
6720 # value for INSTALL within a source directory, because that will
6721 # break other packages using the cache if that directory is
6722 # removed, or if the value is a relative name.
6723 INSTALL=$ac_install_sh
6726 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6727 echo "${ECHO_T}$INSTALL" >&6; }
6729 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6730 # It thinks the first close brace ends the variable substitution.
6731 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6733 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6735 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6737 case "$INSTALL" in
6738 [\\/$]* | ?:[\\/]* ) ;;
6739 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6740 esac
6742 for ac_prog in lclint lint
6744 # Extract the first word of "$ac_prog", so it can be a program name with args.
6745 set dummy $ac_prog; ac_word=$2
6746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6748 if test "${ac_cv_prog_LINT+set}" = set; then
6749 echo $ECHO_N "(cached) $ECHO_C" >&6
6750 else
6751 if test -n "$LINT"; then
6752 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6753 else
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 for as_dir in $PATH
6757 IFS=$as_save_IFS
6758 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_prog_LINT="$ac_prog"
6762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 break 2
6765 done
6766 done
6767 IFS=$as_save_IFS
6771 LINT=$ac_cv_prog_LINT
6772 if test -n "$LINT"; then
6773 { echo "$as_me:$LINENO: result: $LINT" >&5
6774 echo "${ECHO_T}$LINT" >&6; }
6775 else
6776 { echo "$as_me:$LINENO: result: no" >&5
6777 echo "${ECHO_T}no" >&6; }
6781 test -n "$LINT" && break
6782 done
6784 if test "$LINT" = "lint"
6785 then
6786 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6791 for ac_prog in fontforge
6793 # Extract the first word of "$ac_prog", so it can be a program name with args.
6794 set dummy $ac_prog; ac_word=$2
6795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6797 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6798 echo $ECHO_N "(cached) $ECHO_C" >&6
6799 else
6800 if test -n "$FONTFORGE"; then
6801 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6802 else
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 for as_dir in $PATH
6806 IFS=$as_save_IFS
6807 test -z "$as_dir" && as_dir=.
6808 for ac_exec_ext in '' $ac_executable_extensions; do
6809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6810 ac_cv_prog_FONTFORGE="$ac_prog"
6811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 break 2
6814 done
6815 done
6816 IFS=$as_save_IFS
6820 FONTFORGE=$ac_cv_prog_FONTFORGE
6821 if test -n "$FONTFORGE"; then
6822 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6823 echo "${ECHO_T}$FONTFORGE" >&6; }
6824 else
6825 { echo "$as_me:$LINENO: result: no" >&5
6826 echo "${ECHO_T}no" >&6; }
6830 test -n "$FONTFORGE" && break
6831 done
6832 test -n "$FONTFORGE" || FONTFORGE="false"
6834 for ac_prog in pkg-config
6836 # Extract the first word of "$ac_prog", so it can be a program name with args.
6837 set dummy $ac_prog; ac_word=$2
6838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6840 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6841 echo $ECHO_N "(cached) $ECHO_C" >&6
6842 else
6843 if test -n "$PKG_CONFIG"; then
6844 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6845 else
6846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6847 for as_dir in $PATH
6849 IFS=$as_save_IFS
6850 test -z "$as_dir" && as_dir=.
6851 for ac_exec_ext in '' $ac_executable_extensions; do
6852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6853 ac_cv_prog_PKG_CONFIG="$ac_prog"
6854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6855 break 2
6857 done
6858 done
6859 IFS=$as_save_IFS
6863 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6864 if test -n "$PKG_CONFIG"; then
6865 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6866 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6867 else
6868 { echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6; }
6873 test -n "$PKG_CONFIG" && break
6874 done
6875 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6878 case $host_cpu in
6879 *i[3456789]86*)
6880 # Extract the first word of "prelink", so it can be a program name with args.
6881 set dummy prelink; ac_word=$2
6882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6884 if test "${ac_cv_path_PRELINK+set}" = set; then
6885 echo $ECHO_N "(cached) $ECHO_C" >&6
6886 else
6887 case $PRELINK in
6888 [\\/]* | ?:[\\/]*)
6889 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6893 for as_dir in /sbin /usr/sbin $PATH
6895 IFS=$as_save_IFS
6896 test -z "$as_dir" && as_dir=.
6897 for ac_exec_ext in '' $ac_executable_extensions; do
6898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6899 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6901 break 2
6903 done
6904 done
6905 IFS=$as_save_IFS
6907 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6909 esac
6911 PRELINK=$ac_cv_path_PRELINK
6912 if test -n "$PRELINK"; then
6913 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6914 echo "${ECHO_T}$PRELINK" >&6; }
6915 else
6916 { echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6; }
6922 esac
6926 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6927 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6928 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6929 echo $ECHO_N "(cached) $ECHO_C" >&6
6930 else
6931 ac_check_lib_save_LIBS=$LIBS
6932 LIBS="-li386 $LIBS"
6933 cat >conftest.$ac_ext <<_ACEOF
6934 /* confdefs.h. */
6935 _ACEOF
6936 cat confdefs.h >>conftest.$ac_ext
6937 cat >>conftest.$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6940 /* Override any GCC internal prototype to avoid an error.
6941 Use char because int might match the return type of a GCC
6942 builtin and then its argument prototype would still apply. */
6943 #ifdef __cplusplus
6944 extern "C"
6945 #endif
6946 char i386_set_ldt ();
6948 main ()
6950 return i386_set_ldt ();
6952 return 0;
6954 _ACEOF
6955 rm -f conftest.$ac_objext conftest$ac_exeext
6956 if { (ac_try="$ac_link"
6957 case "(($ac_try" in
6958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6959 *) ac_try_echo=$ac_try;;
6960 esac
6961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6962 (eval "$ac_link") 2>conftest.er1
6963 ac_status=$?
6964 grep -v '^ *+' conftest.er1 >conftest.err
6965 rm -f conftest.er1
6966 cat conftest.err >&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); } &&
6969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6970 { (case "(($ac_try" in
6971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6972 *) ac_try_echo=$ac_try;;
6973 esac
6974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6975 (eval "$ac_try") 2>&5
6976 ac_status=$?
6977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6978 (exit $ac_status); }; } &&
6979 { ac_try='test -s conftest$ac_exeext'
6980 { (case "(($ac_try" in
6981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6982 *) ac_try_echo=$ac_try;;
6983 esac
6984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6985 (eval "$ac_try") 2>&5
6986 ac_status=$?
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); }; }; then
6989 ac_cv_lib_i386_i386_set_ldt=yes
6990 else
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.$ac_ext >&5
6994 ac_cv_lib_i386_i386_set_ldt=no
6997 rm -f core conftest.err conftest.$ac_objext \
6998 conftest$ac_exeext conftest.$ac_ext
6999 LIBS=$ac_check_lib_save_LIBS
7001 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7002 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7003 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7004 cat >>confdefs.h <<_ACEOF
7005 #define HAVE_LIBI386 1
7006 _ACEOF
7008 LIBS="-li386 $LIBS"
7013 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7014 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7015 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7016 echo $ECHO_N "(cached) $ECHO_C" >&6
7017 else
7018 ac_check_lib_save_LIBS=$LIBS
7019 LIBS="-lossaudio $LIBS"
7020 cat >conftest.$ac_ext <<_ACEOF
7021 /* confdefs.h. */
7022 _ACEOF
7023 cat confdefs.h >>conftest.$ac_ext
7024 cat >>conftest.$ac_ext <<_ACEOF
7025 /* end confdefs.h. */
7027 /* Override any GCC internal prototype to avoid an error.
7028 Use char because int might match the return type of a GCC
7029 builtin and then its argument prototype would still apply. */
7030 #ifdef __cplusplus
7031 extern "C"
7032 #endif
7033 char _oss_ioctl ();
7035 main ()
7037 return _oss_ioctl ();
7039 return 0;
7041 _ACEOF
7042 rm -f conftest.$ac_objext conftest$ac_exeext
7043 if { (ac_try="$ac_link"
7044 case "(($ac_try" in
7045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7046 *) ac_try_echo=$ac_try;;
7047 esac
7048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7049 (eval "$ac_link") 2>conftest.er1
7050 ac_status=$?
7051 grep -v '^ *+' conftest.er1 >conftest.err
7052 rm -f conftest.er1
7053 cat conftest.err >&5
7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); } &&
7056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7057 { (case "(($ac_try" in
7058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7059 *) ac_try_echo=$ac_try;;
7060 esac
7061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7062 (eval "$ac_try") 2>&5
7063 ac_status=$?
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); }; } &&
7066 { ac_try='test -s conftest$ac_exeext'
7067 { (case "(($ac_try" in
7068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7069 *) ac_try_echo=$ac_try;;
7070 esac
7071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7072 (eval "$ac_try") 2>&5
7073 ac_status=$?
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); }; }; then
7076 ac_cv_lib_ossaudio__oss_ioctl=yes
7077 else
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.$ac_ext >&5
7081 ac_cv_lib_ossaudio__oss_ioctl=no
7084 rm -f core conftest.err conftest.$ac_objext \
7085 conftest$ac_exeext conftest.$ac_ext
7086 LIBS=$ac_check_lib_save_LIBS
7088 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7089 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7090 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7091 cat >>confdefs.h <<_ACEOF
7092 #define HAVE_LIBOSSAUDIO 1
7093 _ACEOF
7095 LIBS="-lossaudio $LIBS"
7100 for ac_func in gethostbyname
7102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7105 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7106 echo $ECHO_N "(cached) $ECHO_C" >&6
7107 else
7108 cat >conftest.$ac_ext <<_ACEOF
7109 /* confdefs.h. */
7110 _ACEOF
7111 cat confdefs.h >>conftest.$ac_ext
7112 cat >>conftest.$ac_ext <<_ACEOF
7113 /* end confdefs.h. */
7114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7116 #define $ac_func innocuous_$ac_func
7118 /* System header to define __stub macros and hopefully few prototypes,
7119 which can conflict with char $ac_func (); below.
7120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7121 <limits.h> exists even on freestanding compilers. */
7123 #ifdef __STDC__
7124 # include <limits.h>
7125 #else
7126 # include <assert.h>
7127 #endif
7129 #undef $ac_func
7131 /* Override any GCC internal prototype to avoid an error.
7132 Use char because int might match the return type of a GCC
7133 builtin and then its argument prototype would still apply. */
7134 #ifdef __cplusplus
7135 extern "C"
7136 #endif
7137 char $ac_func ();
7138 /* The GNU C library defines this for functions which it implements
7139 to always fail with ENOSYS. Some functions are actually named
7140 something starting with __ and the normal name is an alias. */
7141 #if defined __stub_$ac_func || defined __stub___$ac_func
7142 choke me
7143 #endif
7146 main ()
7148 return $ac_func ();
7150 return 0;
7152 _ACEOF
7153 rm -f conftest.$ac_objext conftest$ac_exeext
7154 if { (ac_try="$ac_link"
7155 case "(($ac_try" in
7156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7157 *) ac_try_echo=$ac_try;;
7158 esac
7159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7160 (eval "$ac_link") 2>conftest.er1
7161 ac_status=$?
7162 grep -v '^ *+' conftest.er1 >conftest.err
7163 rm -f conftest.er1
7164 cat conftest.err >&5
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); } &&
7167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7168 { (case "(($ac_try" in
7169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7170 *) ac_try_echo=$ac_try;;
7171 esac
7172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7173 (eval "$ac_try") 2>&5
7174 ac_status=$?
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); }; } &&
7177 { ac_try='test -s conftest$ac_exeext'
7178 { (case "(($ac_try" in
7179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7180 *) ac_try_echo=$ac_try;;
7181 esac
7182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7183 (eval "$ac_try") 2>&5
7184 ac_status=$?
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); }; }; then
7187 eval "$as_ac_var=yes"
7188 else
7189 echo "$as_me: failed program was:" >&5
7190 sed 's/^/| /' conftest.$ac_ext >&5
7192 eval "$as_ac_var=no"
7195 rm -f core conftest.err conftest.$ac_objext \
7196 conftest$ac_exeext conftest.$ac_ext
7198 ac_res=`eval echo '${'$as_ac_var'}'`
7199 { echo "$as_me:$LINENO: result: $ac_res" >&5
7200 echo "${ECHO_T}$ac_res" >&6; }
7201 if test `eval echo '${'$as_ac_var'}'` = yes; then
7202 cat >>confdefs.h <<_ACEOF
7203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7204 _ACEOF
7206 else
7208 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7209 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7210 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7211 echo $ECHO_N "(cached) $ECHO_C" >&6
7212 else
7213 ac_check_lib_save_LIBS=$LIBS
7214 LIBS="-lnsl $LIBS"
7215 cat >conftest.$ac_ext <<_ACEOF
7216 /* confdefs.h. */
7217 _ACEOF
7218 cat confdefs.h >>conftest.$ac_ext
7219 cat >>conftest.$ac_ext <<_ACEOF
7220 /* end confdefs.h. */
7222 /* Override any GCC internal prototype to avoid an error.
7223 Use char because int might match the return type of a GCC
7224 builtin and then its argument prototype would still apply. */
7225 #ifdef __cplusplus
7226 extern "C"
7227 #endif
7228 char gethostbyname ();
7230 main ()
7232 return gethostbyname ();
7234 return 0;
7236 _ACEOF
7237 rm -f conftest.$ac_objext conftest$ac_exeext
7238 if { (ac_try="$ac_link"
7239 case "(($ac_try" in
7240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7241 *) ac_try_echo=$ac_try;;
7242 esac
7243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7244 (eval "$ac_link") 2>conftest.er1
7245 ac_status=$?
7246 grep -v '^ *+' conftest.er1 >conftest.err
7247 rm -f conftest.er1
7248 cat conftest.err >&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); } &&
7251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7252 { (case "(($ac_try" in
7253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7254 *) ac_try_echo=$ac_try;;
7255 esac
7256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7257 (eval "$ac_try") 2>&5
7258 ac_status=$?
7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260 (exit $ac_status); }; } &&
7261 { ac_try='test -s conftest$ac_exeext'
7262 { (case "(($ac_try" in
7263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7264 *) ac_try_echo=$ac_try;;
7265 esac
7266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7267 (eval "$ac_try") 2>&5
7268 ac_status=$?
7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); }; }; then
7271 ac_cv_lib_nsl_gethostbyname=yes
7272 else
7273 echo "$as_me: failed program was:" >&5
7274 sed 's/^/| /' conftest.$ac_ext >&5
7276 ac_cv_lib_nsl_gethostbyname=no
7279 rm -f core conftest.err conftest.$ac_objext \
7280 conftest$ac_exeext conftest.$ac_ext
7281 LIBS=$ac_check_lib_save_LIBS
7283 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7284 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
7285 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7286 cat >>confdefs.h <<_ACEOF
7287 #define HAVE_LIBNSL 1
7288 _ACEOF
7290 LIBS="-lnsl $LIBS"
7295 done
7298 for ac_func in connect
7300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7301 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7303 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7304 echo $ECHO_N "(cached) $ECHO_C" >&6
7305 else
7306 cat >conftest.$ac_ext <<_ACEOF
7307 /* confdefs.h. */
7308 _ACEOF
7309 cat confdefs.h >>conftest.$ac_ext
7310 cat >>conftest.$ac_ext <<_ACEOF
7311 /* end confdefs.h. */
7312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7314 #define $ac_func innocuous_$ac_func
7316 /* System header to define __stub macros and hopefully few prototypes,
7317 which can conflict with char $ac_func (); below.
7318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7319 <limits.h> exists even on freestanding compilers. */
7321 #ifdef __STDC__
7322 # include <limits.h>
7323 #else
7324 # include <assert.h>
7325 #endif
7327 #undef $ac_func
7329 /* Override any GCC internal prototype to avoid an error.
7330 Use char because int might match the return type of a GCC
7331 builtin and then its argument prototype would still apply. */
7332 #ifdef __cplusplus
7333 extern "C"
7334 #endif
7335 char $ac_func ();
7336 /* The GNU C library defines this for functions which it implements
7337 to always fail with ENOSYS. Some functions are actually named
7338 something starting with __ and the normal name is an alias. */
7339 #if defined __stub_$ac_func || defined __stub___$ac_func
7340 choke me
7341 #endif
7344 main ()
7346 return $ac_func ();
7348 return 0;
7350 _ACEOF
7351 rm -f conftest.$ac_objext conftest$ac_exeext
7352 if { (ac_try="$ac_link"
7353 case "(($ac_try" in
7354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7355 *) ac_try_echo=$ac_try;;
7356 esac
7357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7358 (eval "$ac_link") 2>conftest.er1
7359 ac_status=$?
7360 grep -v '^ *+' conftest.er1 >conftest.err
7361 rm -f conftest.er1
7362 cat conftest.err >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } &&
7365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7366 { (case "(($ac_try" in
7367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7368 *) ac_try_echo=$ac_try;;
7369 esac
7370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7371 (eval "$ac_try") 2>&5
7372 ac_status=$?
7373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7374 (exit $ac_status); }; } &&
7375 { ac_try='test -s conftest$ac_exeext'
7376 { (case "(($ac_try" in
7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7379 esac
7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381 (eval "$ac_try") 2>&5
7382 ac_status=$?
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7385 eval "$as_ac_var=yes"
7386 else
7387 echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.$ac_ext >&5
7390 eval "$as_ac_var=no"
7393 rm -f core conftest.err conftest.$ac_objext \
7394 conftest$ac_exeext conftest.$ac_ext
7396 ac_res=`eval echo '${'$as_ac_var'}'`
7397 { echo "$as_me:$LINENO: result: $ac_res" >&5
7398 echo "${ECHO_T}$ac_res" >&6; }
7399 if test `eval echo '${'$as_ac_var'}'` = yes; then
7400 cat >>confdefs.h <<_ACEOF
7401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7402 _ACEOF
7404 else
7406 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7407 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
7408 if test "${ac_cv_lib_socket_connect+set}" = set; then
7409 echo $ECHO_N "(cached) $ECHO_C" >&6
7410 else
7411 ac_check_lib_save_LIBS=$LIBS
7412 LIBS="-lsocket $LIBS"
7413 cat >conftest.$ac_ext <<_ACEOF
7414 /* confdefs.h. */
7415 _ACEOF
7416 cat confdefs.h >>conftest.$ac_ext
7417 cat >>conftest.$ac_ext <<_ACEOF
7418 /* end confdefs.h. */
7420 /* Override any GCC internal prototype to avoid an error.
7421 Use char because int might match the return type of a GCC
7422 builtin and then its argument prototype would still apply. */
7423 #ifdef __cplusplus
7424 extern "C"
7425 #endif
7426 char connect ();
7428 main ()
7430 return connect ();
7432 return 0;
7434 _ACEOF
7435 rm -f conftest.$ac_objext conftest$ac_exeext
7436 if { (ac_try="$ac_link"
7437 case "(($ac_try" in
7438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7439 *) ac_try_echo=$ac_try;;
7440 esac
7441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7442 (eval "$ac_link") 2>conftest.er1
7443 ac_status=$?
7444 grep -v '^ *+' conftest.er1 >conftest.err
7445 rm -f conftest.er1
7446 cat conftest.err >&5
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); } &&
7449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7450 { (case "(($ac_try" in
7451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7452 *) ac_try_echo=$ac_try;;
7453 esac
7454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7455 (eval "$ac_try") 2>&5
7456 ac_status=$?
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); }; } &&
7459 { ac_try='test -s conftest$ac_exeext'
7460 { (case "(($ac_try" in
7461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7462 *) ac_try_echo=$ac_try;;
7463 esac
7464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7465 (eval "$ac_try") 2>&5
7466 ac_status=$?
7467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7468 (exit $ac_status); }; }; then
7469 ac_cv_lib_socket_connect=yes
7470 else
7471 echo "$as_me: failed program was:" >&5
7472 sed 's/^/| /' conftest.$ac_ext >&5
7474 ac_cv_lib_socket_connect=no
7477 rm -f core conftest.err conftest.$ac_objext \
7478 conftest$ac_exeext conftest.$ac_ext
7479 LIBS=$ac_check_lib_save_LIBS
7481 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7482 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
7483 if test $ac_cv_lib_socket_connect = yes; then
7484 cat >>confdefs.h <<_ACEOF
7485 #define HAVE_LIBSOCKET 1
7486 _ACEOF
7488 LIBS="-lsocket $LIBS"
7493 done
7496 for ac_func in inet_aton
7498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7499 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7501 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7503 else
7504 cat >conftest.$ac_ext <<_ACEOF
7505 /* confdefs.h. */
7506 _ACEOF
7507 cat confdefs.h >>conftest.$ac_ext
7508 cat >>conftest.$ac_ext <<_ACEOF
7509 /* end confdefs.h. */
7510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7512 #define $ac_func innocuous_$ac_func
7514 /* System header to define __stub macros and hopefully few prototypes,
7515 which can conflict with char $ac_func (); below.
7516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7517 <limits.h> exists even on freestanding compilers. */
7519 #ifdef __STDC__
7520 # include <limits.h>
7521 #else
7522 # include <assert.h>
7523 #endif
7525 #undef $ac_func
7527 /* Override any GCC internal prototype to avoid an error.
7528 Use char because int might match the return type of a GCC
7529 builtin and then its argument prototype would still apply. */
7530 #ifdef __cplusplus
7531 extern "C"
7532 #endif
7533 char $ac_func ();
7534 /* The GNU C library defines this for functions which it implements
7535 to always fail with ENOSYS. Some functions are actually named
7536 something starting with __ and the normal name is an alias. */
7537 #if defined __stub_$ac_func || defined __stub___$ac_func
7538 choke me
7539 #endif
7542 main ()
7544 return $ac_func ();
7546 return 0;
7548 _ACEOF
7549 rm -f conftest.$ac_objext conftest$ac_exeext
7550 if { (ac_try="$ac_link"
7551 case "(($ac_try" in
7552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7553 *) ac_try_echo=$ac_try;;
7554 esac
7555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7556 (eval "$ac_link") 2>conftest.er1
7557 ac_status=$?
7558 grep -v '^ *+' conftest.er1 >conftest.err
7559 rm -f conftest.er1
7560 cat conftest.err >&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); } &&
7563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7564 { (case "(($ac_try" in
7565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7566 *) ac_try_echo=$ac_try;;
7567 esac
7568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7569 (eval "$ac_try") 2>&5
7570 ac_status=$?
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); }; } &&
7573 { ac_try='test -s conftest$ac_exeext'
7574 { (case "(($ac_try" in
7575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7576 *) ac_try_echo=$ac_try;;
7577 esac
7578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7579 (eval "$ac_try") 2>&5
7580 ac_status=$?
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); }; }; then
7583 eval "$as_ac_var=yes"
7584 else
7585 echo "$as_me: failed program was:" >&5
7586 sed 's/^/| /' conftest.$ac_ext >&5
7588 eval "$as_ac_var=no"
7591 rm -f core conftest.err conftest.$ac_objext \
7592 conftest$ac_exeext conftest.$ac_ext
7594 ac_res=`eval echo '${'$as_ac_var'}'`
7595 { echo "$as_me:$LINENO: result: $ac_res" >&5
7596 echo "${ECHO_T}$ac_res" >&6; }
7597 if test `eval echo '${'$as_ac_var'}'` = yes; then
7598 cat >>confdefs.h <<_ACEOF
7599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7600 _ACEOF
7602 else
7604 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7605 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7606 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7607 echo $ECHO_N "(cached) $ECHO_C" >&6
7608 else
7609 ac_check_lib_save_LIBS=$LIBS
7610 LIBS="-lresolv $LIBS"
7611 cat >conftest.$ac_ext <<_ACEOF
7612 /* confdefs.h. */
7613 _ACEOF
7614 cat confdefs.h >>conftest.$ac_ext
7615 cat >>conftest.$ac_ext <<_ACEOF
7616 /* end confdefs.h. */
7618 /* Override any GCC internal prototype to avoid an error.
7619 Use char because int might match the return type of a GCC
7620 builtin and then its argument prototype would still apply. */
7621 #ifdef __cplusplus
7622 extern "C"
7623 #endif
7624 char inet_aton ();
7626 main ()
7628 return inet_aton ();
7630 return 0;
7632 _ACEOF
7633 rm -f conftest.$ac_objext conftest$ac_exeext
7634 if { (ac_try="$ac_link"
7635 case "(($ac_try" in
7636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7637 *) ac_try_echo=$ac_try;;
7638 esac
7639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7640 (eval "$ac_link") 2>conftest.er1
7641 ac_status=$?
7642 grep -v '^ *+' conftest.er1 >conftest.err
7643 rm -f conftest.er1
7644 cat conftest.err >&5
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); } &&
7647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7648 { (case "(($ac_try" in
7649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7650 *) ac_try_echo=$ac_try;;
7651 esac
7652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7653 (eval "$ac_try") 2>&5
7654 ac_status=$?
7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7656 (exit $ac_status); }; } &&
7657 { ac_try='test -s conftest$ac_exeext'
7658 { (case "(($ac_try" in
7659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7660 *) ac_try_echo=$ac_try;;
7661 esac
7662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7663 (eval "$ac_try") 2>&5
7664 ac_status=$?
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); }; }; then
7667 ac_cv_lib_resolv_inet_aton=yes
7668 else
7669 echo "$as_me: failed program was:" >&5
7670 sed 's/^/| /' conftest.$ac_ext >&5
7672 ac_cv_lib_resolv_inet_aton=no
7675 rm -f core conftest.err conftest.$ac_objext \
7676 conftest$ac_exeext conftest.$ac_ext
7677 LIBS=$ac_check_lib_save_LIBS
7679 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7680 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7681 if test $ac_cv_lib_resolv_inet_aton = yes; then
7682 cat >>confdefs.h <<_ACEOF
7683 #define HAVE_LIBRESOLV 1
7684 _ACEOF
7686 LIBS="-lresolv $LIBS"
7691 done
7694 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7695 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7696 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7697 echo $ECHO_N "(cached) $ECHO_C" >&6
7698 else
7699 ac_check_lib_save_LIBS=$LIBS
7700 LIBS="-lxpg4 $LIBS"
7701 cat >conftest.$ac_ext <<_ACEOF
7702 /* confdefs.h. */
7703 _ACEOF
7704 cat confdefs.h >>conftest.$ac_ext
7705 cat >>conftest.$ac_ext <<_ACEOF
7706 /* end confdefs.h. */
7708 /* Override any GCC internal prototype to avoid an error.
7709 Use char because int might match the return type of a GCC
7710 builtin and then its argument prototype would still apply. */
7711 #ifdef __cplusplus
7712 extern "C"
7713 #endif
7714 char _xpg4_setrunelocale ();
7716 main ()
7718 return _xpg4_setrunelocale ();
7720 return 0;
7722 _ACEOF
7723 rm -f conftest.$ac_objext conftest$ac_exeext
7724 if { (ac_try="$ac_link"
7725 case "(($ac_try" in
7726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7727 *) ac_try_echo=$ac_try;;
7728 esac
7729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7730 (eval "$ac_link") 2>conftest.er1
7731 ac_status=$?
7732 grep -v '^ *+' conftest.er1 >conftest.err
7733 rm -f conftest.er1
7734 cat conftest.err >&5
7735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736 (exit $ac_status); } &&
7737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7738 { (case "(($ac_try" in
7739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7740 *) ac_try_echo=$ac_try;;
7741 esac
7742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7743 (eval "$ac_try") 2>&5
7744 ac_status=$?
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); }; } &&
7747 { ac_try='test -s conftest$ac_exeext'
7748 { (case "(($ac_try" in
7749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7750 *) ac_try_echo=$ac_try;;
7751 esac
7752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7753 (eval "$ac_try") 2>&5
7754 ac_status=$?
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); }; }; then
7757 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7758 else
7759 echo "$as_me: failed program was:" >&5
7760 sed 's/^/| /' conftest.$ac_ext >&5
7762 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7765 rm -f core conftest.err conftest.$ac_objext \
7766 conftest$ac_exeext conftest.$ac_ext
7767 LIBS=$ac_check_lib_save_LIBS
7769 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7770 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7771 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7772 cat >>confdefs.h <<_ACEOF
7773 #define HAVE_LIBXPG4 1
7774 _ACEOF
7776 LIBS="-lxpg4 $LIBS"
7781 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
7782 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
7783 if test "${ac_cv_lib_poll_poll+set}" = set; then
7784 echo $ECHO_N "(cached) $ECHO_C" >&6
7785 else
7786 ac_check_lib_save_LIBS=$LIBS
7787 LIBS="-lpoll $LIBS"
7788 cat >conftest.$ac_ext <<_ACEOF
7789 /* confdefs.h. */
7790 _ACEOF
7791 cat confdefs.h >>conftest.$ac_ext
7792 cat >>conftest.$ac_ext <<_ACEOF
7793 /* end confdefs.h. */
7795 /* Override any GCC internal prototype to avoid an error.
7796 Use char because int might match the return type of a GCC
7797 builtin and then its argument prototype would still apply. */
7798 #ifdef __cplusplus
7799 extern "C"
7800 #endif
7801 char poll ();
7803 main ()
7805 return poll ();
7807 return 0;
7809 _ACEOF
7810 rm -f conftest.$ac_objext conftest$ac_exeext
7811 if { (ac_try="$ac_link"
7812 case "(($ac_try" in
7813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7814 *) ac_try_echo=$ac_try;;
7815 esac
7816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7817 (eval "$ac_link") 2>conftest.er1
7818 ac_status=$?
7819 grep -v '^ *+' conftest.er1 >conftest.err
7820 rm -f conftest.er1
7821 cat conftest.err >&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); } &&
7824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7825 { (case "(($ac_try" in
7826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7827 *) ac_try_echo=$ac_try;;
7828 esac
7829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7830 (eval "$ac_try") 2>&5
7831 ac_status=$?
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); }; } &&
7834 { ac_try='test -s conftest$ac_exeext'
7835 { (case "(($ac_try" in
7836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7837 *) ac_try_echo=$ac_try;;
7838 esac
7839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7840 (eval "$ac_try") 2>&5
7841 ac_status=$?
7842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843 (exit $ac_status); }; }; then
7844 ac_cv_lib_poll_poll=yes
7845 else
7846 echo "$as_me: failed program was:" >&5
7847 sed 's/^/| /' conftest.$ac_ext >&5
7849 ac_cv_lib_poll_poll=no
7852 rm -f core conftest.err conftest.$ac_objext \
7853 conftest$ac_exeext conftest.$ac_ext
7854 LIBS=$ac_check_lib_save_LIBS
7856 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
7857 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
7858 if test $ac_cv_lib_poll_poll = yes; then
7859 cat >>confdefs.h <<_ACEOF
7860 #define HAVE_LIBPOLL 1
7861 _ACEOF
7863 LIBS="-lpoll $LIBS"
7867 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7868 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7869 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7870 echo $ECHO_N "(cached) $ECHO_C" >&6
7871 else
7872 ac_check_lib_save_LIBS=$LIBS
7873 LIBS="-lpthread $LIBS"
7874 cat >conftest.$ac_ext <<_ACEOF
7875 /* confdefs.h. */
7876 _ACEOF
7877 cat confdefs.h >>conftest.$ac_ext
7878 cat >>conftest.$ac_ext <<_ACEOF
7879 /* end confdefs.h. */
7881 /* Override any GCC internal prototype to avoid an error.
7882 Use char because int might match the return type of a GCC
7883 builtin and then its argument prototype would still apply. */
7884 #ifdef __cplusplus
7885 extern "C"
7886 #endif
7887 char pthread_create ();
7889 main ()
7891 return pthread_create ();
7893 return 0;
7895 _ACEOF
7896 rm -f conftest.$ac_objext conftest$ac_exeext
7897 if { (ac_try="$ac_link"
7898 case "(($ac_try" in
7899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7900 *) ac_try_echo=$ac_try;;
7901 esac
7902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7903 (eval "$ac_link") 2>conftest.er1
7904 ac_status=$?
7905 grep -v '^ *+' conftest.er1 >conftest.err
7906 rm -f conftest.er1
7907 cat conftest.err >&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); } &&
7910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7911 { (case "(($ac_try" in
7912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7913 *) ac_try_echo=$ac_try;;
7914 esac
7915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7916 (eval "$ac_try") 2>&5
7917 ac_status=$?
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); }; } &&
7920 { ac_try='test -s conftest$ac_exeext'
7921 { (case "(($ac_try" in
7922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7923 *) ac_try_echo=$ac_try;;
7924 esac
7925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7926 (eval "$ac_try") 2>&5
7927 ac_status=$?
7928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929 (exit $ac_status); }; }; then
7930 ac_cv_lib_pthread_pthread_create=yes
7931 else
7932 echo "$as_me: failed program was:" >&5
7933 sed 's/^/| /' conftest.$ac_ext >&5
7935 ac_cv_lib_pthread_pthread_create=no
7938 rm -f core conftest.err conftest.$ac_objext \
7939 conftest$ac_exeext conftest.$ac_ext
7940 LIBS=$ac_check_lib_save_LIBS
7942 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7943 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7944 if test $ac_cv_lib_pthread_pthread_create = yes; then
7945 LIBPTHREAD="-lpthread"
7950 XLIB=""
7952 XFILES=""
7954 OPENGLFILES=""
7956 GLU32FILES=""
7958 OPENGL_LIBS=""
7962 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7963 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7964 if test "${ac_cv_header_stdc+set}" = set; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7966 else
7967 cat >conftest.$ac_ext <<_ACEOF
7968 /* confdefs.h. */
7969 _ACEOF
7970 cat confdefs.h >>conftest.$ac_ext
7971 cat >>conftest.$ac_ext <<_ACEOF
7972 /* end confdefs.h. */
7973 #include <stdlib.h>
7974 #include <stdarg.h>
7975 #include <string.h>
7976 #include <float.h>
7979 main ()
7983 return 0;
7985 _ACEOF
7986 rm -f conftest.$ac_objext
7987 if { (ac_try="$ac_compile"
7988 case "(($ac_try" in
7989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7990 *) ac_try_echo=$ac_try;;
7991 esac
7992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7993 (eval "$ac_compile") 2>conftest.er1
7994 ac_status=$?
7995 grep -v '^ *+' conftest.er1 >conftest.err
7996 rm -f conftest.er1
7997 cat conftest.err >&5
7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7999 (exit $ac_status); } &&
8000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8001 { (case "(($ac_try" in
8002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8003 *) ac_try_echo=$ac_try;;
8004 esac
8005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8006 (eval "$ac_try") 2>&5
8007 ac_status=$?
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); }; } &&
8010 { ac_try='test -s conftest.$ac_objext'
8011 { (case "(($ac_try" in
8012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8013 *) ac_try_echo=$ac_try;;
8014 esac
8015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8016 (eval "$ac_try") 2>&5
8017 ac_status=$?
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; }; then
8020 ac_cv_header_stdc=yes
8021 else
8022 echo "$as_me: failed program was:" >&5
8023 sed 's/^/| /' conftest.$ac_ext >&5
8025 ac_cv_header_stdc=no
8028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8030 if test $ac_cv_header_stdc = yes; then
8031 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8032 cat >conftest.$ac_ext <<_ACEOF
8033 /* confdefs.h. */
8034 _ACEOF
8035 cat confdefs.h >>conftest.$ac_ext
8036 cat >>conftest.$ac_ext <<_ACEOF
8037 /* end confdefs.h. */
8038 #include <string.h>
8040 _ACEOF
8041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8042 $EGREP "memchr" >/dev/null 2>&1; then
8044 else
8045 ac_cv_header_stdc=no
8047 rm -f conftest*
8051 if test $ac_cv_header_stdc = yes; then
8052 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8053 cat >conftest.$ac_ext <<_ACEOF
8054 /* confdefs.h. */
8055 _ACEOF
8056 cat confdefs.h >>conftest.$ac_ext
8057 cat >>conftest.$ac_ext <<_ACEOF
8058 /* end confdefs.h. */
8059 #include <stdlib.h>
8061 _ACEOF
8062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8063 $EGREP "free" >/dev/null 2>&1; then
8065 else
8066 ac_cv_header_stdc=no
8068 rm -f conftest*
8072 if test $ac_cv_header_stdc = yes; then
8073 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8074 if test "$cross_compiling" = yes; then
8076 else
8077 cat >conftest.$ac_ext <<_ACEOF
8078 /* confdefs.h. */
8079 _ACEOF
8080 cat confdefs.h >>conftest.$ac_ext
8081 cat >>conftest.$ac_ext <<_ACEOF
8082 /* end confdefs.h. */
8083 #include <ctype.h>
8084 #include <stdlib.h>
8085 #if ((' ' & 0x0FF) == 0x020)
8086 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8087 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8088 #else
8089 # define ISLOWER(c) \
8090 (('a' <= (c) && (c) <= 'i') \
8091 || ('j' <= (c) && (c) <= 'r') \
8092 || ('s' <= (c) && (c) <= 'z'))
8093 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8094 #endif
8096 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8098 main ()
8100 int i;
8101 for (i = 0; i < 256; i++)
8102 if (XOR (islower (i), ISLOWER (i))
8103 || toupper (i) != TOUPPER (i))
8104 return 2;
8105 return 0;
8107 _ACEOF
8108 rm -f conftest$ac_exeext
8109 if { (ac_try="$ac_link"
8110 case "(($ac_try" in
8111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8112 *) ac_try_echo=$ac_try;;
8113 esac
8114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8115 (eval "$ac_link") 2>&5
8116 ac_status=$?
8117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8118 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8119 { (case "(($ac_try" in
8120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8121 *) ac_try_echo=$ac_try;;
8122 esac
8123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8124 (eval "$ac_try") 2>&5
8125 ac_status=$?
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); }; }; then
8129 else
8130 echo "$as_me: program exited with status $ac_status" >&5
8131 echo "$as_me: failed program was:" >&5
8132 sed 's/^/| /' conftest.$ac_ext >&5
8134 ( exit $ac_status )
8135 ac_cv_header_stdc=no
8137 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8143 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8144 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8145 if test $ac_cv_header_stdc = yes; then
8147 cat >>confdefs.h <<\_ACEOF
8148 #define STDC_HEADERS 1
8149 _ACEOF
8153 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8163 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8164 inttypes.h stdint.h unistd.h
8166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8167 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8170 echo $ECHO_N "(cached) $ECHO_C" >&6
8171 else
8172 cat >conftest.$ac_ext <<_ACEOF
8173 /* confdefs.h. */
8174 _ACEOF
8175 cat confdefs.h >>conftest.$ac_ext
8176 cat >>conftest.$ac_ext <<_ACEOF
8177 /* end confdefs.h. */
8178 $ac_includes_default
8180 #include <$ac_header>
8181 _ACEOF
8182 rm -f conftest.$ac_objext
8183 if { (ac_try="$ac_compile"
8184 case "(($ac_try" in
8185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8186 *) ac_try_echo=$ac_try;;
8187 esac
8188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8189 (eval "$ac_compile") 2>conftest.er1
8190 ac_status=$?
8191 grep -v '^ *+' conftest.er1 >conftest.err
8192 rm -f conftest.er1
8193 cat conftest.err >&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); } &&
8196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8197 { (case "(($ac_try" in
8198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8199 *) ac_try_echo=$ac_try;;
8200 esac
8201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8202 (eval "$ac_try") 2>&5
8203 ac_status=$?
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; } &&
8206 { ac_try='test -s conftest.$ac_objext'
8207 { (case "(($ac_try" in
8208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8209 *) ac_try_echo=$ac_try;;
8210 esac
8211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8212 (eval "$ac_try") 2>&5
8213 ac_status=$?
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); }; }; then
8216 eval "$as_ac_Header=yes"
8217 else
8218 echo "$as_me: failed program was:" >&5
8219 sed 's/^/| /' conftest.$ac_ext >&5
8221 eval "$as_ac_Header=no"
8224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8226 ac_res=`eval echo '${'$as_ac_Header'}'`
8227 { echo "$as_me:$LINENO: result: $ac_res" >&5
8228 echo "${ECHO_T}$ac_res" >&6; }
8229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8230 cat >>confdefs.h <<_ACEOF
8231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8232 _ACEOF
8236 done
8347 for ac_header in \
8348 AudioUnit/AudioUnit.h \
8349 CoreAudio/CoreAudio.h \
8350 IOKit/IOKitLib.h \
8351 alsa/asoundlib.h \
8352 arpa/inet.h \
8353 arpa/nameser.h \
8354 asm/types.h \
8355 capi20.h \
8356 cups/cups.h \
8357 curses.h \
8358 direct.h \
8359 dlfcn.h \
8360 elf.h \
8361 float.h \
8362 fontconfig/fontconfig.h \
8363 getopt.h \
8364 gif_lib.h \
8365 ieeefp.h \
8366 io.h \
8367 jack/jack.h \
8368 jpeglib.h \
8369 lber.h \
8370 lcms.h \
8371 lcms/lcms.h \
8372 ldap.h \
8373 libaudioio.h \
8374 link.h \
8375 linux/cdrom.h \
8376 linux/compiler.h \
8377 linux/hdreg.h \
8378 linux/input.h \
8379 linux/ioctl.h \
8380 linux/joystick.h \
8381 linux/major.h \
8382 linux/param.h \
8383 linux/serial.h \
8384 linux/ucdrom.h \
8385 mach/machine.h \
8386 machine/cpu.h \
8387 machine/limits.h \
8388 machine/soundcard.h \
8389 mntent.h \
8390 ncurses.h \
8391 netdb.h \
8392 netinet/in.h \
8393 netinet/in_systm.h \
8394 netinet/tcp.h \
8395 netinet/tcp_fsm.h \
8396 openssl/err.h \
8397 openssl/ssl.h \
8398 poll.h \
8399 process.h \
8400 pthread.h \
8401 pthread_np.h \
8402 pwd.h \
8403 regex.h \
8404 sched.h \
8405 scsi/scsi.h \
8406 scsi/scsi_ioctl.h \
8407 scsi/sg.h \
8408 soundcard.h \
8409 stdint.h \
8410 strings.h \
8411 sys/asoundlib.h \
8412 sys/cdio.h \
8413 sys/elf32.h \
8414 sys/epoll.h \
8415 sys/errno.h \
8416 sys/event.h \
8417 sys/exec_elf.h \
8418 sys/filio.h \
8419 sys/ioctl.h \
8420 sys/ipc.h \
8421 sys/limits.h \
8422 sys/link.h \
8423 sys/lwp.h \
8424 sys/mman.h \
8425 sys/modem.h \
8426 sys/msg.h \
8427 sys/mtio.h \
8428 sys/param.h \
8429 sys/poll.h \
8430 sys/prctl.h \
8431 sys/ptrace.h \
8432 sys/reg.h \
8433 sys/resource.h \
8434 sys/scsiio.h \
8435 sys/shm.h \
8436 sys/signal.h \
8437 sys/socket.h \
8438 sys/sockio.h \
8439 sys/soundcard.h \
8440 sys/statvfs.h \
8441 sys/strtio.h \
8442 sys/syscall.h \
8443 sys/sysctl.h \
8444 sys/time.h \
8445 sys/times.h \
8446 sys/uio.h \
8447 sys/un.h \
8448 sys/vm86.h \
8449 sys/wait.h \
8450 syscall.h \
8451 termios.h \
8452 unicode/ubidi.h \
8453 unistd.h \
8454 utime.h \
8455 valgrind/memcheck.h
8458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8460 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8462 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8463 echo $ECHO_N "(cached) $ECHO_C" >&6
8465 ac_res=`eval echo '${'$as_ac_Header'}'`
8466 { echo "$as_me:$LINENO: result: $ac_res" >&5
8467 echo "${ECHO_T}$ac_res" >&6; }
8468 else
8469 # Is the header compilable?
8470 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8472 cat >conftest.$ac_ext <<_ACEOF
8473 /* confdefs.h. */
8474 _ACEOF
8475 cat confdefs.h >>conftest.$ac_ext
8476 cat >>conftest.$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8478 $ac_includes_default
8479 #include <$ac_header>
8480 _ACEOF
8481 rm -f conftest.$ac_objext
8482 if { (ac_try="$ac_compile"
8483 case "(($ac_try" in
8484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8485 *) ac_try_echo=$ac_try;;
8486 esac
8487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8488 (eval "$ac_compile") 2>conftest.er1
8489 ac_status=$?
8490 grep -v '^ *+' conftest.er1 >conftest.err
8491 rm -f conftest.er1
8492 cat conftest.err >&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); } &&
8495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8496 { (case "(($ac_try" in
8497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8498 *) ac_try_echo=$ac_try;;
8499 esac
8500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8501 (eval "$ac_try") 2>&5
8502 ac_status=$?
8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504 (exit $ac_status); }; } &&
8505 { ac_try='test -s conftest.$ac_objext'
8506 { (case "(($ac_try" in
8507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8508 *) ac_try_echo=$ac_try;;
8509 esac
8510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8511 (eval "$ac_try") 2>&5
8512 ac_status=$?
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); }; }; then
8515 ac_header_compiler=yes
8516 else
8517 echo "$as_me: failed program was:" >&5
8518 sed 's/^/| /' conftest.$ac_ext >&5
8520 ac_header_compiler=no
8523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8524 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8525 echo "${ECHO_T}$ac_header_compiler" >&6; }
8527 # Is the header present?
8528 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8529 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8530 cat >conftest.$ac_ext <<_ACEOF
8531 /* confdefs.h. */
8532 _ACEOF
8533 cat confdefs.h >>conftest.$ac_ext
8534 cat >>conftest.$ac_ext <<_ACEOF
8535 /* end confdefs.h. */
8536 #include <$ac_header>
8537 _ACEOF
8538 if { (ac_try="$ac_cpp conftest.$ac_ext"
8539 case "(($ac_try" in
8540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8541 *) ac_try_echo=$ac_try;;
8542 esac
8543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8544 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8545 ac_status=$?
8546 grep -v '^ *+' conftest.er1 >conftest.err
8547 rm -f conftest.er1
8548 cat conftest.err >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); } >/dev/null; then
8551 if test -s conftest.err; then
8552 ac_cpp_err=$ac_c_preproc_warn_flag
8553 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8554 else
8555 ac_cpp_err=
8557 else
8558 ac_cpp_err=yes
8560 if test -z "$ac_cpp_err"; then
8561 ac_header_preproc=yes
8562 else
8563 echo "$as_me: failed program was:" >&5
8564 sed 's/^/| /' conftest.$ac_ext >&5
8566 ac_header_preproc=no
8569 rm -f conftest.err conftest.$ac_ext
8570 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8571 echo "${ECHO_T}$ac_header_preproc" >&6; }
8573 # So? What about this header?
8574 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8575 yes:no: )
8576 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8577 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8579 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8580 ac_header_preproc=yes
8582 no:yes:* )
8583 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8584 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8585 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8586 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8587 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8588 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8589 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8590 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8593 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8594 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8595 ( cat <<\_ASBOX
8596 ## ------------------------------------ ##
8597 ## Report this to wine-devel@winehq.org ##
8598 ## ------------------------------------ ##
8599 _ASBOX
8600 ) | sed "s/^/$as_me: WARNING: /" >&2
8602 esac
8603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8606 echo $ECHO_N "(cached) $ECHO_C" >&6
8607 else
8608 eval "$as_ac_Header=\$ac_header_preproc"
8610 ac_res=`eval echo '${'$as_ac_Header'}'`
8611 { echo "$as_me:$LINENO: result: $ac_res" >&5
8612 echo "${ECHO_T}$ac_res" >&6; }
8615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8616 cat >>confdefs.h <<_ACEOF
8617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8618 _ACEOF
8622 done
8624 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8625 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
8626 if test "${ac_cv_header_stat_broken+set}" = set; then
8627 echo $ECHO_N "(cached) $ECHO_C" >&6
8628 else
8629 cat >conftest.$ac_ext <<_ACEOF
8630 /* confdefs.h. */
8631 _ACEOF
8632 cat confdefs.h >>conftest.$ac_ext
8633 cat >>conftest.$ac_ext <<_ACEOF
8634 /* end confdefs.h. */
8635 #include <sys/types.h>
8636 #include <sys/stat.h>
8638 #if defined S_ISBLK && defined S_IFDIR
8639 # if S_ISBLK (S_IFDIR)
8640 You lose.
8641 # endif
8642 #endif
8644 #if defined S_ISBLK && defined S_IFCHR
8645 # if S_ISBLK (S_IFCHR)
8646 You lose.
8647 # endif
8648 #endif
8650 #if defined S_ISLNK && defined S_IFREG
8651 # if S_ISLNK (S_IFREG)
8652 You lose.
8653 # endif
8654 #endif
8656 #if defined S_ISSOCK && defined S_IFREG
8657 # if S_ISSOCK (S_IFREG)
8658 You lose.
8659 # endif
8660 #endif
8662 _ACEOF
8663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8664 $EGREP "You lose" >/dev/null 2>&1; then
8665 ac_cv_header_stat_broken=yes
8666 else
8667 ac_cv_header_stat_broken=no
8669 rm -f conftest*
8672 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8673 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
8674 if test $ac_cv_header_stat_broken = yes; then
8676 cat >>confdefs.h <<\_ACEOF
8677 #define STAT_MACROS_BROKEN 1
8678 _ACEOF
8688 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8690 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8691 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8693 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8694 echo $ECHO_N "(cached) $ECHO_C" >&6
8695 else
8696 cat >conftest.$ac_ext <<_ACEOF
8697 /* confdefs.h. */
8698 _ACEOF
8699 cat confdefs.h >>conftest.$ac_ext
8700 cat >>conftest.$ac_ext <<_ACEOF
8701 /* end confdefs.h. */
8702 #include <sys/types.h>
8703 #if HAVE_SYS_PARAM_H
8704 # include <sys/param.h>
8705 #endif
8707 #include <$ac_header>
8708 _ACEOF
8709 rm -f conftest.$ac_objext
8710 if { (ac_try="$ac_compile"
8711 case "(($ac_try" in
8712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8713 *) ac_try_echo=$ac_try;;
8714 esac
8715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8716 (eval "$ac_compile") 2>conftest.er1
8717 ac_status=$?
8718 grep -v '^ *+' conftest.er1 >conftest.err
8719 rm -f conftest.er1
8720 cat conftest.err >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); } &&
8723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8724 { (case "(($ac_try" in
8725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8726 *) ac_try_echo=$ac_try;;
8727 esac
8728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8729 (eval "$ac_try") 2>&5
8730 ac_status=$?
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; } &&
8733 { ac_try='test -s conftest.$ac_objext'
8734 { (case "(($ac_try" in
8735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8736 *) ac_try_echo=$ac_try;;
8737 esac
8738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8739 (eval "$ac_try") 2>&5
8740 ac_status=$?
8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742 (exit $ac_status); }; }; then
8743 eval "$as_ac_Header=yes"
8744 else
8745 echo "$as_me: failed program was:" >&5
8746 sed 's/^/| /' conftest.$ac_ext >&5
8748 eval "$as_ac_Header=no"
8751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8753 ac_res=`eval echo '${'$as_ac_Header'}'`
8754 { echo "$as_me:$LINENO: result: $ac_res" >&5
8755 echo "${ECHO_T}$ac_res" >&6; }
8756 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8757 cat >>confdefs.h <<_ACEOF
8758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8759 _ACEOF
8763 done
8772 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
8774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8778 echo $ECHO_N "(cached) $ECHO_C" >&6
8779 else
8780 cat >conftest.$ac_ext <<_ACEOF
8781 /* confdefs.h. */
8782 _ACEOF
8783 cat confdefs.h >>conftest.$ac_ext
8784 cat >>conftest.$ac_ext <<_ACEOF
8785 /* end confdefs.h. */
8786 #include <sys/types.h>
8787 #if HAVE_SYS_SOCKET_H
8788 # include <sys/socket.h>
8789 #endif
8791 #include <$ac_header>
8792 _ACEOF
8793 rm -f conftest.$ac_objext
8794 if { (ac_try="$ac_compile"
8795 case "(($ac_try" in
8796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8797 *) ac_try_echo=$ac_try;;
8798 esac
8799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8800 (eval "$ac_compile") 2>conftest.er1
8801 ac_status=$?
8802 grep -v '^ *+' conftest.er1 >conftest.err
8803 rm -f conftest.er1
8804 cat conftest.err >&5
8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806 (exit $ac_status); } &&
8807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8808 { (case "(($ac_try" in
8809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8810 *) ac_try_echo=$ac_try;;
8811 esac
8812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8813 (eval "$ac_try") 2>&5
8814 ac_status=$?
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); }; } &&
8817 { ac_try='test -s conftest.$ac_objext'
8818 { (case "(($ac_try" in
8819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8820 *) ac_try_echo=$ac_try;;
8821 esac
8822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8823 (eval "$ac_try") 2>&5
8824 ac_status=$?
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; }; then
8827 eval "$as_ac_Header=yes"
8828 else
8829 echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.$ac_ext >&5
8832 eval "$as_ac_Header=no"
8835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8837 ac_res=`eval echo '${'$as_ac_Header'}'`
8838 { echo "$as_me:$LINENO: result: $ac_res" >&5
8839 echo "${ECHO_T}$ac_res" >&6; }
8840 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8841 cat >>confdefs.h <<_ACEOF
8842 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8843 _ACEOF
8847 done
8851 for ac_header in linux/ipx.h
8853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8854 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8857 echo $ECHO_N "(cached) $ECHO_C" >&6
8858 else
8859 cat >conftest.$ac_ext <<_ACEOF
8860 /* confdefs.h. */
8861 _ACEOF
8862 cat confdefs.h >>conftest.$ac_ext
8863 cat >>conftest.$ac_ext <<_ACEOF
8864 /* end confdefs.h. */
8865 #include <sys/types.h>
8866 #ifdef HAVE_ASM_TYPES_H
8867 # include <asm/types.h>
8868 #endif
8869 #if HAVE_SYS_SOCKET_H
8870 # include <sys/socket.h>
8871 #endif
8873 #include <$ac_header>
8874 _ACEOF
8875 rm -f conftest.$ac_objext
8876 if { (ac_try="$ac_compile"
8877 case "(($ac_try" in
8878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8879 *) ac_try_echo=$ac_try;;
8880 esac
8881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8882 (eval "$ac_compile") 2>conftest.er1
8883 ac_status=$?
8884 grep -v '^ *+' conftest.er1 >conftest.err
8885 rm -f conftest.er1
8886 cat conftest.err >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); } &&
8889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8890 { (case "(($ac_try" in
8891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8892 *) ac_try_echo=$ac_try;;
8893 esac
8894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8895 (eval "$ac_try") 2>&5
8896 ac_status=$?
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); }; } &&
8899 { ac_try='test -s conftest.$ac_objext'
8900 { (case "(($ac_try" in
8901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8902 *) ac_try_echo=$ac_try;;
8903 esac
8904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8905 (eval "$ac_try") 2>&5
8906 ac_status=$?
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); }; }; then
8909 eval "$as_ac_Header=yes"
8910 else
8911 echo "$as_me: failed program was:" >&5
8912 sed 's/^/| /' conftest.$ac_ext >&5
8914 eval "$as_ac_Header=no"
8917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8919 ac_res=`eval echo '${'$as_ac_Header'}'`
8920 { echo "$as_me:$LINENO: result: $ac_res" >&5
8921 echo "${ECHO_T}$ac_res" >&6; }
8922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8923 cat >>confdefs.h <<_ACEOF
8924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8925 _ACEOF
8929 done
8933 for ac_header in resolv.h
8935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8936 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8939 echo $ECHO_N "(cached) $ECHO_C" >&6
8940 else
8941 cat >conftest.$ac_ext <<_ACEOF
8942 /* confdefs.h. */
8943 _ACEOF
8944 cat confdefs.h >>conftest.$ac_ext
8945 cat >>conftest.$ac_ext <<_ACEOF
8946 /* end confdefs.h. */
8947 #include <sys/types.h>
8948 #if HAVE_SYS_SOCKET_H
8949 # include <sys/socket.h>
8950 #endif
8951 #if HAVE_NETINET_IN_H
8952 # include <netinet/in.h>
8953 #endif
8954 #if HAVE_ARPA_NAMESER_H
8955 # include <arpa/nameser.h>
8956 #endif
8958 #include <$ac_header>
8959 _ACEOF
8960 rm -f conftest.$ac_objext
8961 if { (ac_try="$ac_compile"
8962 case "(($ac_try" in
8963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8964 *) ac_try_echo=$ac_try;;
8965 esac
8966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8967 (eval "$ac_compile") 2>conftest.er1
8968 ac_status=$?
8969 grep -v '^ *+' conftest.er1 >conftest.err
8970 rm -f conftest.er1
8971 cat conftest.err >&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); } &&
8974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8975 { (case "(($ac_try" in
8976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8977 *) ac_try_echo=$ac_try;;
8978 esac
8979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8980 (eval "$ac_try") 2>&5
8981 ac_status=$?
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); }; } &&
8984 { ac_try='test -s conftest.$ac_objext'
8985 { (case "(($ac_try" in
8986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8987 *) ac_try_echo=$ac_try;;
8988 esac
8989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8990 (eval "$ac_try") 2>&5
8991 ac_status=$?
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 (exit $ac_status); }; }; then
8994 eval "$as_ac_Header=yes"
8995 else
8996 echo "$as_me: failed program was:" >&5
8997 sed 's/^/| /' conftest.$ac_ext >&5
8999 eval "$as_ac_Header=no"
9002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9004 ac_res=`eval echo '${'$as_ac_Header'}'`
9005 { echo "$as_me:$LINENO: result: $ac_res" >&5
9006 echo "${ECHO_T}$ac_res" >&6; }
9007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9008 cat >>confdefs.h <<_ACEOF
9009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9010 _ACEOF
9014 done
9018 for ac_header in ucontext.h
9020 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9021 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9023 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9024 echo $ECHO_N "(cached) $ECHO_C" >&6
9025 else
9026 cat >conftest.$ac_ext <<_ACEOF
9027 /* confdefs.h. */
9028 _ACEOF
9029 cat confdefs.h >>conftest.$ac_ext
9030 cat >>conftest.$ac_ext <<_ACEOF
9031 /* end confdefs.h. */
9032 #include <signal.h>
9034 #include <$ac_header>
9035 _ACEOF
9036 rm -f conftest.$ac_objext
9037 if { (ac_try="$ac_compile"
9038 case "(($ac_try" in
9039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9040 *) ac_try_echo=$ac_try;;
9041 esac
9042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9043 (eval "$ac_compile") 2>conftest.er1
9044 ac_status=$?
9045 grep -v '^ *+' conftest.er1 >conftest.err
9046 rm -f conftest.er1
9047 cat conftest.err >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); } &&
9050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9051 { (case "(($ac_try" in
9052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9053 *) ac_try_echo=$ac_try;;
9054 esac
9055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9056 (eval "$ac_try") 2>&5
9057 ac_status=$?
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 (exit $ac_status); }; } &&
9060 { ac_try='test -s conftest.$ac_objext'
9061 { (case "(($ac_try" in
9062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9063 *) ac_try_echo=$ac_try;;
9064 esac
9065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9066 (eval "$ac_try") 2>&5
9067 ac_status=$?
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); }; }; then
9070 eval "$as_ac_Header=yes"
9071 else
9072 echo "$as_me: failed program was:" >&5
9073 sed 's/^/| /' conftest.$ac_ext >&5
9075 eval "$as_ac_Header=no"
9078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9080 ac_res=`eval echo '${'$as_ac_Header'}'`
9081 { echo "$as_me:$LINENO: result: $ac_res" >&5
9082 echo "${ECHO_T}$ac_res" >&6; }
9083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9084 cat >>confdefs.h <<_ACEOF
9085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9086 _ACEOF
9090 done
9094 for ac_header in linux/videodev.h
9096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9097 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9099 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9100 echo $ECHO_N "(cached) $ECHO_C" >&6
9101 else
9102 cat >conftest.$ac_ext <<_ACEOF
9103 /* confdefs.h. */
9104 _ACEOF
9105 cat confdefs.h >>conftest.$ac_ext
9106 cat >>conftest.$ac_ext <<_ACEOF
9107 /* end confdefs.h. */
9108 #ifdef HAVE_SYS_TIME_H
9109 #include <sys/time.h>
9110 #endif
9111 #include <sys/types.h>
9112 #ifdef HAVE_ASM_TYPES_H
9113 #include <asm/types.h>
9114 #endif
9116 #include <$ac_header>
9117 _ACEOF
9118 rm -f conftest.$ac_objext
9119 if { (ac_try="$ac_compile"
9120 case "(($ac_try" in
9121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9122 *) ac_try_echo=$ac_try;;
9123 esac
9124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9125 (eval "$ac_compile") 2>conftest.er1
9126 ac_status=$?
9127 grep -v '^ *+' conftest.er1 >conftest.err
9128 rm -f conftest.er1
9129 cat conftest.err >&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); } &&
9132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9133 { (case "(($ac_try" in
9134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9135 *) ac_try_echo=$ac_try;;
9136 esac
9137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9138 (eval "$ac_try") 2>&5
9139 ac_status=$?
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); }; } &&
9142 { ac_try='test -s conftest.$ac_objext'
9143 { (case "(($ac_try" in
9144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9145 *) ac_try_echo=$ac_try;;
9146 esac
9147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9148 (eval "$ac_try") 2>&5
9149 ac_status=$?
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); }; }; then
9152 eval "$as_ac_Header=yes"
9153 else
9154 echo "$as_me: failed program was:" >&5
9155 sed 's/^/| /' conftest.$ac_ext >&5
9157 eval "$as_ac_Header=no"
9160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9162 ac_res=`eval echo '${'$as_ac_Header'}'`
9163 { echo "$as_me:$LINENO: result: $ac_res" >&5
9164 echo "${ECHO_T}$ac_res" >&6; }
9165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9166 cat >>confdefs.h <<_ACEOF
9167 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9168 _ACEOF
9172 done
9176 for ac_header in linux/capi.h
9178 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9179 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9181 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9182 echo $ECHO_N "(cached) $ECHO_C" >&6
9183 else
9184 cat >conftest.$ac_ext <<_ACEOF
9185 /* confdefs.h. */
9186 _ACEOF
9187 cat confdefs.h >>conftest.$ac_ext
9188 cat >>conftest.$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9190 #define __user
9192 #include <$ac_header>
9193 _ACEOF
9194 rm -f conftest.$ac_objext
9195 if { (ac_try="$ac_compile"
9196 case "(($ac_try" in
9197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9198 *) ac_try_echo=$ac_try;;
9199 esac
9200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9201 (eval "$ac_compile") 2>conftest.er1
9202 ac_status=$?
9203 grep -v '^ *+' conftest.er1 >conftest.err
9204 rm -f conftest.er1
9205 cat conftest.err >&5
9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 (exit $ac_status); } &&
9208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9209 { (case "(($ac_try" in
9210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9211 *) ac_try_echo=$ac_try;;
9212 esac
9213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9214 (eval "$ac_try") 2>&5
9215 ac_status=$?
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); }; } &&
9218 { ac_try='test -s conftest.$ac_objext'
9219 { (case "(($ac_try" in
9220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9221 *) ac_try_echo=$ac_try;;
9222 esac
9223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9224 (eval "$ac_try") 2>&5
9225 ac_status=$?
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); }; }; then
9228 eval "$as_ac_Header=yes"
9229 else
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.$ac_ext >&5
9233 eval "$as_ac_Header=no"
9236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9238 ac_res=`eval echo '${'$as_ac_Header'}'`
9239 { echo "$as_me:$LINENO: result: $ac_res" >&5
9240 echo "${ECHO_T}$ac_res" >&6; }
9241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9242 cat >>confdefs.h <<_ACEOF
9243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9244 _ACEOF
9248 done
9252 if test "$have_x" = "yes"
9253 then
9254 XLIB="-lXext -lX11"
9255 ac_save_CPPFLAGS="$CPPFLAGS"
9256 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9267 for ac_header in X11/Xlib.h \
9268 X11/XKBlib.h \
9269 X11/Xutil.h \
9270 X11/extensions/shape.h \
9271 X11/extensions/XInput.h \
9272 X11/extensions/XShm.h \
9273 X11/extensions/Xrandr.h \
9274 X11/extensions/Xrender.h \
9275 X11/extensions/xf86vmode.h
9277 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9278 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9281 echo $ECHO_N "(cached) $ECHO_C" >&6
9282 else
9283 cat >conftest.$ac_ext <<_ACEOF
9284 /* confdefs.h. */
9285 _ACEOF
9286 cat confdefs.h >>conftest.$ac_ext
9287 cat >>conftest.$ac_ext <<_ACEOF
9288 /* end confdefs.h. */
9289 #ifdef HAVE_X11_XLIB_H
9290 # include <X11/Xlib.h>
9291 #endif
9292 #ifdef HAVE_X11_XUTIL_H
9293 # include <X11/Xutil.h>
9294 #endif
9296 #include <$ac_header>
9297 _ACEOF
9298 rm -f conftest.$ac_objext
9299 if { (ac_try="$ac_compile"
9300 case "(($ac_try" in
9301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9302 *) ac_try_echo=$ac_try;;
9303 esac
9304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9305 (eval "$ac_compile") 2>conftest.er1
9306 ac_status=$?
9307 grep -v '^ *+' conftest.er1 >conftest.err
9308 rm -f conftest.er1
9309 cat conftest.err >&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); } &&
9312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9313 { (case "(($ac_try" in
9314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9315 *) ac_try_echo=$ac_try;;
9316 esac
9317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9318 (eval "$ac_try") 2>&5
9319 ac_status=$?
9320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9321 (exit $ac_status); }; } &&
9322 { ac_try='test -s conftest.$ac_objext'
9323 { (case "(($ac_try" in
9324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9325 *) ac_try_echo=$ac_try;;
9326 esac
9327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9328 (eval "$ac_try") 2>&5
9329 ac_status=$?
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); }; }; then
9332 eval "$as_ac_Header=yes"
9333 else
9334 echo "$as_me: failed program was:" >&5
9335 sed 's/^/| /' conftest.$ac_ext >&5
9337 eval "$as_ac_Header=no"
9340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9342 ac_res=`eval echo '${'$as_ac_Header'}'`
9343 { echo "$as_me:$LINENO: result: $ac_res" >&5
9344 echo "${ECHO_T}$ac_res" >&6; }
9345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9346 cat >>confdefs.h <<_ACEOF
9347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9348 _ACEOF
9352 done
9355 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9356 then
9357 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9358 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9359 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9360 echo $ECHO_N "(cached) $ECHO_C" >&6
9361 else
9362 ac_check_lib_save_LIBS=$LIBS
9363 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9364 cat >conftest.$ac_ext <<_ACEOF
9365 /* confdefs.h. */
9366 _ACEOF
9367 cat confdefs.h >>conftest.$ac_ext
9368 cat >>conftest.$ac_ext <<_ACEOF
9369 /* end confdefs.h. */
9371 /* Override any GCC internal prototype to avoid an error.
9372 Use char because int might match the return type of a GCC
9373 builtin and then its argument prototype would still apply. */
9374 #ifdef __cplusplus
9375 extern "C"
9376 #endif
9377 char XkbQueryExtension ();
9379 main ()
9381 return XkbQueryExtension ();
9383 return 0;
9385 _ACEOF
9386 rm -f conftest.$ac_objext conftest$ac_exeext
9387 if { (ac_try="$ac_link"
9388 case "(($ac_try" in
9389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9390 *) ac_try_echo=$ac_try;;
9391 esac
9392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9393 (eval "$ac_link") 2>conftest.er1
9394 ac_status=$?
9395 grep -v '^ *+' conftest.er1 >conftest.err
9396 rm -f conftest.er1
9397 cat conftest.err >&5
9398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); } &&
9400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9401 { (case "(($ac_try" in
9402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9403 *) ac_try_echo=$ac_try;;
9404 esac
9405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9406 (eval "$ac_try") 2>&5
9407 ac_status=$?
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); }; } &&
9410 { ac_try='test -s conftest$ac_exeext'
9411 { (case "(($ac_try" in
9412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9413 *) ac_try_echo=$ac_try;;
9414 esac
9415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9416 (eval "$ac_try") 2>&5
9417 ac_status=$?
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); }; }; then
9420 ac_cv_lib_X11_XkbQueryExtension=yes
9421 else
9422 echo "$as_me: failed program was:" >&5
9423 sed 's/^/| /' conftest.$ac_ext >&5
9425 ac_cv_lib_X11_XkbQueryExtension=no
9428 rm -f core conftest.err conftest.$ac_objext \
9429 conftest$ac_exeext conftest.$ac_ext
9430 LIBS=$ac_check_lib_save_LIBS
9432 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9433 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9434 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9436 cat >>confdefs.h <<\_ACEOF
9437 #define HAVE_XKB 1
9438 _ACEOF
9444 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9445 then
9446 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9447 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9448 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9449 echo $ECHO_N "(cached) $ECHO_C" >&6
9450 else
9451 ac_check_lib_save_LIBS=$LIBS
9452 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9453 cat >conftest.$ac_ext <<_ACEOF
9454 /* confdefs.h. */
9455 _ACEOF
9456 cat confdefs.h >>conftest.$ac_ext
9457 cat >>conftest.$ac_ext <<_ACEOF
9458 /* end confdefs.h. */
9460 /* Override any GCC internal prototype to avoid an error.
9461 Use char because int might match the return type of a GCC
9462 builtin and then its argument prototype would still apply. */
9463 #ifdef __cplusplus
9464 extern "C"
9465 #endif
9466 char XShmQueryExtension ();
9468 main ()
9470 return XShmQueryExtension ();
9472 return 0;
9474 _ACEOF
9475 rm -f conftest.$ac_objext conftest$ac_exeext
9476 if { (ac_try="$ac_link"
9477 case "(($ac_try" in
9478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9479 *) ac_try_echo=$ac_try;;
9480 esac
9481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9482 (eval "$ac_link") 2>conftest.er1
9483 ac_status=$?
9484 grep -v '^ *+' conftest.er1 >conftest.err
9485 rm -f conftest.er1
9486 cat conftest.err >&5
9487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9488 (exit $ac_status); } &&
9489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9490 { (case "(($ac_try" in
9491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9492 *) ac_try_echo=$ac_try;;
9493 esac
9494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9495 (eval "$ac_try") 2>&5
9496 ac_status=$?
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); }; } &&
9499 { ac_try='test -s conftest$ac_exeext'
9500 { (case "(($ac_try" in
9501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9502 *) ac_try_echo=$ac_try;;
9503 esac
9504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9505 (eval "$ac_try") 2>&5
9506 ac_status=$?
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); }; }; then
9509 ac_cv_lib_Xext_XShmQueryExtension=yes
9510 else
9511 echo "$as_me: failed program was:" >&5
9512 sed 's/^/| /' conftest.$ac_ext >&5
9514 ac_cv_lib_Xext_XShmQueryExtension=no
9517 rm -f core conftest.err conftest.$ac_objext \
9518 conftest$ac_exeext conftest.$ac_ext
9519 LIBS=$ac_check_lib_save_LIBS
9521 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9522 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9523 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9525 cat >>confdefs.h <<\_ACEOF
9526 #define HAVE_LIBXXSHM 1
9527 _ACEOF
9533 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9534 then
9535 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9536 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9537 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9538 echo $ECHO_N "(cached) $ECHO_C" >&6
9539 else
9540 ac_check_lib_save_LIBS=$LIBS
9541 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9542 cat >conftest.$ac_ext <<_ACEOF
9543 /* confdefs.h. */
9544 _ACEOF
9545 cat confdefs.h >>conftest.$ac_ext
9546 cat >>conftest.$ac_ext <<_ACEOF
9547 /* end confdefs.h. */
9549 /* Override any GCC internal prototype to avoid an error.
9550 Use char because int might match the return type of a GCC
9551 builtin and then its argument prototype would still apply. */
9552 #ifdef __cplusplus
9553 extern "C"
9554 #endif
9555 char XShapeQueryExtension ();
9557 main ()
9559 return XShapeQueryExtension ();
9561 return 0;
9563 _ACEOF
9564 rm -f conftest.$ac_objext conftest$ac_exeext
9565 if { (ac_try="$ac_link"
9566 case "(($ac_try" in
9567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9568 *) ac_try_echo=$ac_try;;
9569 esac
9570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9571 (eval "$ac_link") 2>conftest.er1
9572 ac_status=$?
9573 grep -v '^ *+' conftest.er1 >conftest.err
9574 rm -f conftest.er1
9575 cat conftest.err >&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); } &&
9578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9579 { (case "(($ac_try" in
9580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9581 *) ac_try_echo=$ac_try;;
9582 esac
9583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9584 (eval "$ac_try") 2>&5
9585 ac_status=$?
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); }; } &&
9588 { ac_try='test -s conftest$ac_exeext'
9589 { (case "(($ac_try" in
9590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9591 *) ac_try_echo=$ac_try;;
9592 esac
9593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9594 (eval "$ac_try") 2>&5
9595 ac_status=$?
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); }; }; then
9598 ac_cv_lib_Xext_XShapeQueryExtension=yes
9599 else
9600 echo "$as_me: failed program was:" >&5
9601 sed 's/^/| /' conftest.$ac_ext >&5
9603 ac_cv_lib_Xext_XShapeQueryExtension=no
9606 rm -f core conftest.err conftest.$ac_objext \
9607 conftest$ac_exeext conftest.$ac_ext
9608 LIBS=$ac_check_lib_save_LIBS
9610 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9611 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9612 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9614 cat >>confdefs.h <<\_ACEOF
9615 #define HAVE_LIBXSHAPE 1
9616 _ACEOF
9622 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9623 then
9624 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9625 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9626 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9627 echo $ECHO_N "(cached) $ECHO_C" >&6
9628 else
9629 ac_check_lib_save_LIBS=$LIBS
9630 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9631 cat >conftest.$ac_ext <<_ACEOF
9632 /* confdefs.h. */
9633 _ACEOF
9634 cat confdefs.h >>conftest.$ac_ext
9635 cat >>conftest.$ac_ext <<_ACEOF
9636 /* end confdefs.h. */
9638 /* Override any GCC internal prototype to avoid an error.
9639 Use char because int might match the return type of a GCC
9640 builtin and then its argument prototype would still apply. */
9641 #ifdef __cplusplus
9642 extern "C"
9643 #endif
9644 char XF86VidModeQueryExtension ();
9646 main ()
9648 return XF86VidModeQueryExtension ();
9650 return 0;
9652 _ACEOF
9653 rm -f conftest.$ac_objext conftest$ac_exeext
9654 if { (ac_try="$ac_link"
9655 case "(($ac_try" in
9656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9657 *) ac_try_echo=$ac_try;;
9658 esac
9659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9660 (eval "$ac_link") 2>conftest.er1
9661 ac_status=$?
9662 grep -v '^ *+' conftest.er1 >conftest.err
9663 rm -f conftest.er1
9664 cat conftest.err >&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); } &&
9667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9668 { (case "(($ac_try" in
9669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9670 *) ac_try_echo=$ac_try;;
9671 esac
9672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9673 (eval "$ac_try") 2>&5
9674 ac_status=$?
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); }; } &&
9677 { ac_try='test -s conftest$ac_exeext'
9678 { (case "(($ac_try" in
9679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9680 *) ac_try_echo=$ac_try;;
9681 esac
9682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9683 (eval "$ac_try") 2>&5
9684 ac_status=$?
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); }; }; then
9687 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9688 else
9689 echo "$as_me: failed program was:" >&5
9690 sed 's/^/| /' conftest.$ac_ext >&5
9692 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9695 rm -f core conftest.err conftest.$ac_objext \
9696 conftest$ac_exeext conftest.$ac_ext
9697 LIBS=$ac_check_lib_save_LIBS
9699 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9700 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9701 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9703 cat >>confdefs.h <<\_ACEOF
9704 #define HAVE_LIBXXF86VM 1
9705 _ACEOF
9707 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9713 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9714 then
9715 cat >conftest.$ac_ext <<_ACEOF
9716 /* confdefs.h. */
9717 _ACEOF
9718 cat confdefs.h >>conftest.$ac_ext
9719 cat >>conftest.$ac_ext <<_ACEOF
9720 /* end confdefs.h. */
9721 #include <X11/Xlib.h>
9722 #include <X11/extensions/Xrandr.h>
9724 main ()
9726 static typeof(XRRSetScreenConfigAndRate) * func;
9728 return 0;
9730 _ACEOF
9731 rm -f conftest.$ac_objext
9732 if { (ac_try="$ac_compile"
9733 case "(($ac_try" in
9734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9735 *) ac_try_echo=$ac_try;;
9736 esac
9737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9738 (eval "$ac_compile") 2>conftest.er1
9739 ac_status=$?
9740 grep -v '^ *+' conftest.er1 >conftest.err
9741 rm -f conftest.er1
9742 cat conftest.err >&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); } &&
9745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9746 { (case "(($ac_try" in
9747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9748 *) ac_try_echo=$ac_try;;
9749 esac
9750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9751 (eval "$ac_try") 2>&5
9752 ac_status=$?
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); }; } &&
9755 { ac_try='test -s conftest.$ac_objext'
9756 { (case "(($ac_try" in
9757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9758 *) ac_try_echo=$ac_try;;
9759 esac
9760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9761 (eval "$ac_try") 2>&5
9762 ac_status=$?
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); }; }; then
9766 cat >>confdefs.h <<\_ACEOF
9767 #define HAVE_LIBXRANDR 1
9768 _ACEOF
9770 else
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9780 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9781 then
9782 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9783 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9784 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9785 echo $ECHO_N "(cached) $ECHO_C" >&6
9786 else
9787 ac_check_lib_save_LIBS=$LIBS
9788 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9789 cat >conftest.$ac_ext <<_ACEOF
9790 /* confdefs.h. */
9791 _ACEOF
9792 cat confdefs.h >>conftest.$ac_ext
9793 cat >>conftest.$ac_ext <<_ACEOF
9794 /* end confdefs.h. */
9796 /* Override any GCC internal prototype to avoid an error.
9797 Use char because int might match the return type of a GCC
9798 builtin and then its argument prototype would still apply. */
9799 #ifdef __cplusplus
9800 extern "C"
9801 #endif
9802 char XRenderSetPictureTransform ();
9804 main ()
9806 return XRenderSetPictureTransform ();
9808 return 0;
9810 _ACEOF
9811 rm -f conftest.$ac_objext conftest$ac_exeext
9812 if { (ac_try="$ac_link"
9813 case "(($ac_try" in
9814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9815 *) ac_try_echo=$ac_try;;
9816 esac
9817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9818 (eval "$ac_link") 2>conftest.er1
9819 ac_status=$?
9820 grep -v '^ *+' conftest.er1 >conftest.err
9821 rm -f conftest.er1
9822 cat conftest.err >&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); } &&
9825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9826 { (case "(($ac_try" in
9827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9828 *) ac_try_echo=$ac_try;;
9829 esac
9830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9831 (eval "$ac_try") 2>&5
9832 ac_status=$?
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); }; } &&
9835 { ac_try='test -s conftest$ac_exeext'
9836 { (case "(($ac_try" in
9837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9838 *) ac_try_echo=$ac_try;;
9839 esac
9840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9841 (eval "$ac_try") 2>&5
9842 ac_status=$?
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); }; }; then
9845 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9846 else
9847 echo "$as_me: failed program was:" >&5
9848 sed 's/^/| /' conftest.$ac_ext >&5
9850 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9853 rm -f core conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 LIBS=$ac_check_lib_save_LIBS
9857 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9858 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9859 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9861 cat >>confdefs.h <<\_ACEOF
9862 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9863 _ACEOF
9869 if test "x$with_opengl" != "xno"
9870 then
9875 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9878 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9881 echo $ECHO_N "(cached) $ECHO_C" >&6
9882 else
9883 cat >conftest.$ac_ext <<_ACEOF
9884 /* confdefs.h. */
9885 _ACEOF
9886 cat confdefs.h >>conftest.$ac_ext
9887 cat >>conftest.$ac_ext <<_ACEOF
9888 /* end confdefs.h. */
9889 #ifdef HAVE_GL_GLX_H
9890 # include <GL/glx.h>
9891 #endif
9893 #include <$ac_header>
9894 _ACEOF
9895 rm -f conftest.$ac_objext
9896 if { (ac_try="$ac_compile"
9897 case "(($ac_try" in
9898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9899 *) ac_try_echo=$ac_try;;
9900 esac
9901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9902 (eval "$ac_compile") 2>conftest.er1
9903 ac_status=$?
9904 grep -v '^ *+' conftest.er1 >conftest.err
9905 rm -f conftest.er1
9906 cat conftest.err >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); } &&
9909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9910 { (case "(($ac_try" in
9911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9912 *) ac_try_echo=$ac_try;;
9913 esac
9914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9915 (eval "$ac_try") 2>&5
9916 ac_status=$?
9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918 (exit $ac_status); }; } &&
9919 { ac_try='test -s conftest.$ac_objext'
9920 { (case "(($ac_try" in
9921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9922 *) ac_try_echo=$ac_try;;
9923 esac
9924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9925 (eval "$ac_try") 2>&5
9926 ac_status=$?
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; }; then
9929 eval "$as_ac_Header=yes"
9930 else
9931 echo "$as_me: failed program was:" >&5
9932 sed 's/^/| /' conftest.$ac_ext >&5
9934 eval "$as_ac_Header=no"
9937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9939 ac_res=`eval echo '${'$as_ac_Header'}'`
9940 { echo "$as_me:$LINENO: result: $ac_res" >&5
9941 echo "${ECHO_T}$ac_res" >&6; }
9942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9943 cat >>confdefs.h <<_ACEOF
9944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9945 _ACEOF
9949 done
9951 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9952 then
9953 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9954 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9955 if test "${wine_cv_opengl_version_OK+set}" = set; then
9956 echo $ECHO_N "(cached) $ECHO_C" >&6
9957 else
9958 cat >conftest.$ac_ext <<_ACEOF
9959 /* confdefs.h. */
9960 _ACEOF
9961 cat confdefs.h >>conftest.$ac_ext
9962 cat >>conftest.$ac_ext <<_ACEOF
9963 /* end confdefs.h. */
9964 #include <GL/gl.h>
9966 main ()
9968 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9970 return 0;
9972 _ACEOF
9973 rm -f conftest.$ac_objext
9974 if { (ac_try="$ac_compile"
9975 case "(($ac_try" in
9976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9977 *) ac_try_echo=$ac_try;;
9978 esac
9979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9980 (eval "$ac_compile") 2>conftest.er1
9981 ac_status=$?
9982 grep -v '^ *+' conftest.er1 >conftest.err
9983 rm -f conftest.er1
9984 cat conftest.err >&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); } &&
9987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9988 { (case "(($ac_try" in
9989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9990 *) ac_try_echo=$ac_try;;
9991 esac
9992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9993 (eval "$ac_try") 2>&5
9994 ac_status=$?
9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9996 (exit $ac_status); }; } &&
9997 { ac_try='test -s conftest.$ac_objext'
9998 { (case "(($ac_try" in
9999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10000 *) ac_try_echo=$ac_try;;
10001 esac
10002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10003 (eval "$ac_try") 2>&5
10004 ac_status=$?
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); }; }; then
10007 wine_cv_opengl_version_OK="yes"
10008 else
10009 echo "$as_me: failed program was:" >&5
10010 sed 's/^/| /' conftest.$ac_ext >&5
10012 wine_cv_opengl_version_OK="no"
10016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10019 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
10020 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
10022 if test "$wine_cv_opengl_version_OK" = "yes"
10023 then
10024 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
10025 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
10026 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
10027 echo $ECHO_N "(cached) $ECHO_C" >&6
10028 else
10029 ac_check_lib_save_LIBS=$LIBS
10030 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10031 cat >conftest.$ac_ext <<_ACEOF
10032 /* confdefs.h. */
10033 _ACEOF
10034 cat confdefs.h >>conftest.$ac_ext
10035 cat >>conftest.$ac_ext <<_ACEOF
10036 /* end confdefs.h. */
10038 /* Override any GCC internal prototype to avoid an error.
10039 Use char because int might match the return type of a GCC
10040 builtin and then its argument prototype would still apply. */
10041 #ifdef __cplusplus
10042 extern "C"
10043 #endif
10044 char glXCreateContext ();
10046 main ()
10048 return glXCreateContext ();
10050 return 0;
10052 _ACEOF
10053 rm -f conftest.$ac_objext conftest$ac_exeext
10054 if { (ac_try="$ac_link"
10055 case "(($ac_try" in
10056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10057 *) ac_try_echo=$ac_try;;
10058 esac
10059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10060 (eval "$ac_link") 2>conftest.er1
10061 ac_status=$?
10062 grep -v '^ *+' conftest.er1 >conftest.err
10063 rm -f conftest.er1
10064 cat conftest.err >&5
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); } &&
10067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10068 { (case "(($ac_try" in
10069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10070 *) ac_try_echo=$ac_try;;
10071 esac
10072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10073 (eval "$ac_try") 2>&5
10074 ac_status=$?
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); }; } &&
10077 { ac_try='test -s conftest$ac_exeext'
10078 { (case "(($ac_try" in
10079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10080 *) ac_try_echo=$ac_try;;
10081 esac
10082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10083 (eval "$ac_try") 2>&5
10084 ac_status=$?
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; }; then
10087 ac_cv_lib_GL_glXCreateContext=yes
10088 else
10089 echo "$as_me: failed program was:" >&5
10090 sed 's/^/| /' conftest.$ac_ext >&5
10092 ac_cv_lib_GL_glXCreateContext=no
10095 rm -f core conftest.err conftest.$ac_objext \
10096 conftest$ac_exeext conftest.$ac_ext
10097 LIBS=$ac_check_lib_save_LIBS
10099 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
10100 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
10101 if test $ac_cv_lib_GL_glXCreateContext = yes; then
10102 OPENGL_LIBS="-lGL"
10107 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
10108 then
10109 OPENGLFILES='$(OPENGLFILES)'
10111 cat >>confdefs.h <<\_ACEOF
10112 #define HAVE_OPENGL 1
10113 _ACEOF
10115 else
10116 if test -f /usr/X11R6/lib/libGL.a
10117 then
10118 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
10119 This prevents linking to OpenGL. Delete the file and restart configure." >&5
10120 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
10121 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
10122 { (exit 1); exit 1; }; }
10126 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10127 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10128 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10129 echo $ECHO_N "(cached) $ECHO_C" >&6
10130 else
10131 ac_check_lib_save_LIBS=$LIBS
10132 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
10133 $LIBS"
10134 cat >conftest.$ac_ext <<_ACEOF
10135 /* confdefs.h. */
10136 _ACEOF
10137 cat confdefs.h >>conftest.$ac_ext
10138 cat >>conftest.$ac_ext <<_ACEOF
10139 /* end confdefs.h. */
10141 /* Override any GCC internal prototype to avoid an error.
10142 Use char because int might match the return type of a GCC
10143 builtin and then its argument prototype would still apply. */
10144 #ifdef __cplusplus
10145 extern "C"
10146 #endif
10147 char gluLookAt ();
10149 main ()
10151 return gluLookAt ();
10153 return 0;
10155 _ACEOF
10156 rm -f conftest.$ac_objext conftest$ac_exeext
10157 if { (ac_try="$ac_link"
10158 case "(($ac_try" in
10159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10160 *) ac_try_echo=$ac_try;;
10161 esac
10162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10163 (eval "$ac_link") 2>conftest.er1
10164 ac_status=$?
10165 grep -v '^ *+' conftest.er1 >conftest.err
10166 rm -f conftest.er1
10167 cat conftest.err >&5
10168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10169 (exit $ac_status); } &&
10170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10171 { (case "(($ac_try" in
10172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10173 *) ac_try_echo=$ac_try;;
10174 esac
10175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10176 (eval "$ac_try") 2>&5
10177 ac_status=$?
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); }; } &&
10180 { ac_try='test -s conftest$ac_exeext'
10181 { (case "(($ac_try" in
10182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10183 *) ac_try_echo=$ac_try;;
10184 esac
10185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10186 (eval "$ac_try") 2>&5
10187 ac_status=$?
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); }; }; then
10190 ac_cv_lib_GLU_gluLookAt=yes
10191 else
10192 echo "$as_me: failed program was:" >&5
10193 sed 's/^/| /' conftest.$ac_ext >&5
10195 ac_cv_lib_GLU_gluLookAt=no
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 LIBS=$ac_check_lib_save_LIBS
10202 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10203 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10204 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10205 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10206 GLU32FILES='$(GLU32FILES)'
10212 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
10213 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
10214 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
10215 echo $ECHO_N "(cached) $ECHO_C" >&6
10216 else
10217 ac_check_lib_save_LIBS=$LIBS
10218 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
10219 cat >conftest.$ac_ext <<_ACEOF
10220 /* confdefs.h. */
10221 _ACEOF
10222 cat confdefs.h >>conftest.$ac_ext
10223 cat >>conftest.$ac_ext <<_ACEOF
10224 /* end confdefs.h. */
10226 /* Override any GCC internal prototype to avoid an error.
10227 Use char because int might match the return type of a GCC
10228 builtin and then its argument prototype would still apply. */
10229 #ifdef __cplusplus
10230 extern "C"
10231 #endif
10232 char glutMainLoop ();
10234 main ()
10236 return glutMainLoop ();
10238 return 0;
10240 _ACEOF
10241 rm -f conftest.$ac_objext conftest$ac_exeext
10242 if { (ac_try="$ac_link"
10243 case "(($ac_try" in
10244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10245 *) ac_try_echo=$ac_try;;
10246 esac
10247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10248 (eval "$ac_link") 2>conftest.er1
10249 ac_status=$?
10250 grep -v '^ *+' conftest.er1 >conftest.err
10251 rm -f conftest.er1
10252 cat conftest.err >&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); } &&
10255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10256 { (case "(($ac_try" in
10257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10258 *) ac_try_echo=$ac_try;;
10259 esac
10260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10261 (eval "$ac_try") 2>&5
10262 ac_status=$?
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); }; } &&
10265 { ac_try='test -s conftest$ac_exeext'
10266 { (case "(($ac_try" in
10267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10268 *) ac_try_echo=$ac_try;;
10269 esac
10270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10271 (eval "$ac_try") 2>&5
10272 ac_status=$?
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); }; }; then
10275 ac_cv_lib_glut_glutMainLoop=yes
10276 else
10277 echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.$ac_ext >&5
10280 ac_cv_lib_glut_glutMainLoop=no
10283 rm -f core conftest.err conftest.$ac_objext \
10284 conftest$ac_exeext conftest.$ac_ext
10285 LIBS=$ac_check_lib_save_LIBS
10287 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
10288 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
10289 if test $ac_cv_lib_glut_glutMainLoop = yes; then
10290 GLUT_LIBS="-lglut -lXmu -lXi"
10292 GLUT32FILES='$(GLUT32FILES)'
10299 NASLIBS=""
10302 for ac_header in audio/audiolib.h
10304 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10306 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10308 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10311 ac_res=`eval echo '${'$as_ac_Header'}'`
10312 { echo "$as_me:$LINENO: result: $ac_res" >&5
10313 echo "${ECHO_T}$ac_res" >&6; }
10314 else
10315 # Is the header compilable?
10316 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10317 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10318 cat >conftest.$ac_ext <<_ACEOF
10319 /* confdefs.h. */
10320 _ACEOF
10321 cat confdefs.h >>conftest.$ac_ext
10322 cat >>conftest.$ac_ext <<_ACEOF
10323 /* end confdefs.h. */
10324 $ac_includes_default
10325 #include <$ac_header>
10326 _ACEOF
10327 rm -f conftest.$ac_objext
10328 if { (ac_try="$ac_compile"
10329 case "(($ac_try" in
10330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10331 *) ac_try_echo=$ac_try;;
10332 esac
10333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10334 (eval "$ac_compile") 2>conftest.er1
10335 ac_status=$?
10336 grep -v '^ *+' conftest.er1 >conftest.err
10337 rm -f conftest.er1
10338 cat conftest.err >&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); } &&
10341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10342 { (case "(($ac_try" in
10343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10344 *) ac_try_echo=$ac_try;;
10345 esac
10346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10347 (eval "$ac_try") 2>&5
10348 ac_status=$?
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; } &&
10351 { ac_try='test -s conftest.$ac_objext'
10352 { (case "(($ac_try" in
10353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10354 *) ac_try_echo=$ac_try;;
10355 esac
10356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10357 (eval "$ac_try") 2>&5
10358 ac_status=$?
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); }; }; then
10361 ac_header_compiler=yes
10362 else
10363 echo "$as_me: failed program was:" >&5
10364 sed 's/^/| /' conftest.$ac_ext >&5
10366 ac_header_compiler=no
10369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10370 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10371 echo "${ECHO_T}$ac_header_compiler" >&6; }
10373 # Is the header present?
10374 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10376 cat >conftest.$ac_ext <<_ACEOF
10377 /* confdefs.h. */
10378 _ACEOF
10379 cat confdefs.h >>conftest.$ac_ext
10380 cat >>conftest.$ac_ext <<_ACEOF
10381 /* end confdefs.h. */
10382 #include <$ac_header>
10383 _ACEOF
10384 if { (ac_try="$ac_cpp conftest.$ac_ext"
10385 case "(($ac_try" in
10386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10387 *) ac_try_echo=$ac_try;;
10388 esac
10389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10391 ac_status=$?
10392 grep -v '^ *+' conftest.er1 >conftest.err
10393 rm -f conftest.er1
10394 cat conftest.err >&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); } >/dev/null; then
10397 if test -s conftest.err; then
10398 ac_cpp_err=$ac_c_preproc_warn_flag
10399 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10400 else
10401 ac_cpp_err=
10403 else
10404 ac_cpp_err=yes
10406 if test -z "$ac_cpp_err"; then
10407 ac_header_preproc=yes
10408 else
10409 echo "$as_me: failed program was:" >&5
10410 sed 's/^/| /' conftest.$ac_ext >&5
10412 ac_header_preproc=no
10415 rm -f conftest.err conftest.$ac_ext
10416 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10417 echo "${ECHO_T}$ac_header_preproc" >&6; }
10419 # So? What about this header?
10420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10421 yes:no: )
10422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10425 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10426 ac_header_preproc=yes
10428 no:yes:* )
10429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10433 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10434 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10435 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10436 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10439 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10440 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10441 ( cat <<\_ASBOX
10442 ## ------------------------------------ ##
10443 ## Report this to wine-devel@winehq.org ##
10444 ## ------------------------------------ ##
10445 _ASBOX
10446 ) | sed "s/^/$as_me: WARNING: /" >&2
10448 esac
10449 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10452 echo $ECHO_N "(cached) $ECHO_C" >&6
10453 else
10454 eval "$as_ac_Header=\$ac_header_preproc"
10456 ac_res=`eval echo '${'$as_ac_Header'}'`
10457 { echo "$as_me:$LINENO: result: $ac_res" >&5
10458 echo "${ECHO_T}$ac_res" >&6; }
10461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10462 cat >>confdefs.h <<_ACEOF
10463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10464 _ACEOF
10466 for ac_header in audio/soundlib.h
10468 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10469 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10472 echo $ECHO_N "(cached) $ECHO_C" >&6
10473 else
10474 cat >conftest.$ac_ext <<_ACEOF
10475 /* confdefs.h. */
10476 _ACEOF
10477 cat confdefs.h >>conftest.$ac_ext
10478 cat >>conftest.$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10480 #include <audio/audiolib.h>
10482 #include <$ac_header>
10483 _ACEOF
10484 rm -f conftest.$ac_objext
10485 if { (ac_try="$ac_compile"
10486 case "(($ac_try" in
10487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10488 *) ac_try_echo=$ac_try;;
10489 esac
10490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10491 (eval "$ac_compile") 2>conftest.er1
10492 ac_status=$?
10493 grep -v '^ *+' conftest.er1 >conftest.err
10494 rm -f conftest.er1
10495 cat conftest.err >&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } &&
10498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10499 { (case "(($ac_try" in
10500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10501 *) ac_try_echo=$ac_try;;
10502 esac
10503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10504 (eval "$ac_try") 2>&5
10505 ac_status=$?
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); }; } &&
10508 { ac_try='test -s conftest.$ac_objext'
10509 { (case "(($ac_try" in
10510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10511 *) ac_try_echo=$ac_try;;
10512 esac
10513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10514 (eval "$ac_try") 2>&5
10515 ac_status=$?
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); }; }; then
10518 eval "$as_ac_Header=yes"
10519 else
10520 echo "$as_me: failed program was:" >&5
10521 sed 's/^/| /' conftest.$ac_ext >&5
10523 eval "$as_ac_Header=no"
10526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10528 ac_res=`eval echo '${'$as_ac_Header'}'`
10529 { echo "$as_me:$LINENO: result: $ac_res" >&5
10530 echo "${ECHO_T}$ac_res" >&6; }
10531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10532 cat >>confdefs.h <<_ACEOF
10533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10534 _ACEOF
10538 done
10540 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10541 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10542 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10543 echo $ECHO_N "(cached) $ECHO_C" >&6
10544 else
10545 ac_check_lib_save_LIBS=$LIBS
10546 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10547 cat >conftest.$ac_ext <<_ACEOF
10548 /* confdefs.h. */
10549 _ACEOF
10550 cat confdefs.h >>conftest.$ac_ext
10551 cat >>conftest.$ac_ext <<_ACEOF
10552 /* end confdefs.h. */
10554 /* Override any GCC internal prototype to avoid an error.
10555 Use char because int might match the return type of a GCC
10556 builtin and then its argument prototype would still apply. */
10557 #ifdef __cplusplus
10558 extern "C"
10559 #endif
10560 char AuCreateFlow ();
10562 main ()
10564 return AuCreateFlow ();
10566 return 0;
10568 _ACEOF
10569 rm -f conftest.$ac_objext conftest$ac_exeext
10570 if { (ac_try="$ac_link"
10571 case "(($ac_try" in
10572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10573 *) ac_try_echo=$ac_try;;
10574 esac
10575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10576 (eval "$ac_link") 2>conftest.er1
10577 ac_status=$?
10578 grep -v '^ *+' conftest.er1 >conftest.err
10579 rm -f conftest.er1
10580 cat conftest.err >&5
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); } &&
10583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10584 { (case "(($ac_try" in
10585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10586 *) ac_try_echo=$ac_try;;
10587 esac
10588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10589 (eval "$ac_try") 2>&5
10590 ac_status=$?
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }; } &&
10593 { ac_try='test -s conftest$ac_exeext'
10594 { (case "(($ac_try" in
10595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10596 *) ac_try_echo=$ac_try;;
10597 esac
10598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10599 (eval "$ac_try") 2>&5
10600 ac_status=$?
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }; }; then
10603 ac_cv_lib_audio_AuCreateFlow=yes
10604 else
10605 echo "$as_me: failed program was:" >&5
10606 sed 's/^/| /' conftest.$ac_ext >&5
10608 ac_cv_lib_audio_AuCreateFlow=no
10611 rm -f core conftest.err conftest.$ac_objext \
10612 conftest$ac_exeext conftest.$ac_ext
10613 LIBS=$ac_check_lib_save_LIBS
10615 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10616 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10617 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10619 cat >>confdefs.h <<\_ACEOF
10620 #define HAVE_NAS 1
10621 _ACEOF
10623 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10628 done
10631 CPPFLAGS="$ac_save_CPPFLAGS"
10632 XFILES='$(XFILES)'
10633 else
10634 XLIB=""
10635 X_CFLAGS=""
10636 X_LIBS=""
10640 XML2LIBS=""
10642 XML2INCL=""
10644 XSLTLIBS=""
10646 XSLTINCL=""
10648 if test "$PKG_CONFIG" != "false"
10649 then
10650 ac_save_CPPFLAGS="$CPPFLAGS"
10651 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10652 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10653 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10655 for ac_header in libxml/parser.h
10657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10658 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 ac_res=`eval echo '${'$as_ac_Header'}'`
10665 { echo "$as_me:$LINENO: result: $ac_res" >&5
10666 echo "${ECHO_T}$ac_res" >&6; }
10667 else
10668 # Is the header compilable?
10669 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10670 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10671 cat >conftest.$ac_ext <<_ACEOF
10672 /* confdefs.h. */
10673 _ACEOF
10674 cat confdefs.h >>conftest.$ac_ext
10675 cat >>conftest.$ac_ext <<_ACEOF
10676 /* end confdefs.h. */
10677 $ac_includes_default
10678 #include <$ac_header>
10679 _ACEOF
10680 rm -f conftest.$ac_objext
10681 if { (ac_try="$ac_compile"
10682 case "(($ac_try" in
10683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10684 *) ac_try_echo=$ac_try;;
10685 esac
10686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10687 (eval "$ac_compile") 2>conftest.er1
10688 ac_status=$?
10689 grep -v '^ *+' conftest.er1 >conftest.err
10690 rm -f conftest.er1
10691 cat conftest.err >&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); } &&
10694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10695 { (case "(($ac_try" in
10696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10697 *) ac_try_echo=$ac_try;;
10698 esac
10699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10700 (eval "$ac_try") 2>&5
10701 ac_status=$?
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); }; } &&
10704 { ac_try='test -s conftest.$ac_objext'
10705 { (case "(($ac_try" in
10706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10707 *) ac_try_echo=$ac_try;;
10708 esac
10709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10710 (eval "$ac_try") 2>&5
10711 ac_status=$?
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; }; then
10714 ac_header_compiler=yes
10715 else
10716 echo "$as_me: failed program was:" >&5
10717 sed 's/^/| /' conftest.$ac_ext >&5
10719 ac_header_compiler=no
10722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10723 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10724 echo "${ECHO_T}$ac_header_compiler" >&6; }
10726 # Is the header present?
10727 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10729 cat >conftest.$ac_ext <<_ACEOF
10730 /* confdefs.h. */
10731 _ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10735 #include <$ac_header>
10736 _ACEOF
10737 if { (ac_try="$ac_cpp conftest.$ac_ext"
10738 case "(($ac_try" in
10739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10740 *) ac_try_echo=$ac_try;;
10741 esac
10742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10744 ac_status=$?
10745 grep -v '^ *+' conftest.er1 >conftest.err
10746 rm -f conftest.er1
10747 cat conftest.err >&5
10748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749 (exit $ac_status); } >/dev/null; then
10750 if test -s conftest.err; then
10751 ac_cpp_err=$ac_c_preproc_warn_flag
10752 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10753 else
10754 ac_cpp_err=
10756 else
10757 ac_cpp_err=yes
10759 if test -z "$ac_cpp_err"; then
10760 ac_header_preproc=yes
10761 else
10762 echo "$as_me: failed program was:" >&5
10763 sed 's/^/| /' conftest.$ac_ext >&5
10765 ac_header_preproc=no
10768 rm -f conftest.err conftest.$ac_ext
10769 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10770 echo "${ECHO_T}$ac_header_preproc" >&6; }
10772 # So? What about this header?
10773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10774 yes:no: )
10775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10778 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10779 ac_header_preproc=yes
10781 no:yes:* )
10782 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10783 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10784 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10785 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10786 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10787 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10788 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10789 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10792 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10793 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10794 ( cat <<\_ASBOX
10795 ## ------------------------------------ ##
10796 ## Report this to wine-devel@winehq.org ##
10797 ## ------------------------------------ ##
10798 _ASBOX
10799 ) | sed "s/^/$as_me: WARNING: /" >&2
10801 esac
10802 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10806 else
10807 eval "$as_ac_Header=\$ac_header_preproc"
10809 ac_res=`eval echo '${'$as_ac_Header'}'`
10810 { echo "$as_me:$LINENO: result: $ac_res" >&5
10811 echo "${ECHO_T}$ac_res" >&6; }
10814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10815 cat >>confdefs.h <<_ACEOF
10816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10817 _ACEOF
10818 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10819 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10820 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10822 else
10823 ac_check_lib_save_LIBS=$LIBS
10824 LIBS="-lxml2 $ac_xml_libs $LIBS"
10825 cat >conftest.$ac_ext <<_ACEOF
10826 /* confdefs.h. */
10827 _ACEOF
10828 cat confdefs.h >>conftest.$ac_ext
10829 cat >>conftest.$ac_ext <<_ACEOF
10830 /* end confdefs.h. */
10832 /* Override any GCC internal prototype to avoid an error.
10833 Use char because int might match the return type of a GCC
10834 builtin and then its argument prototype would still apply. */
10835 #ifdef __cplusplus
10836 extern "C"
10837 #endif
10838 char xmlParseMemory ();
10840 main ()
10842 return xmlParseMemory ();
10844 return 0;
10846 _ACEOF
10847 rm -f conftest.$ac_objext conftest$ac_exeext
10848 if { (ac_try="$ac_link"
10849 case "(($ac_try" in
10850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10851 *) ac_try_echo=$ac_try;;
10852 esac
10853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10854 (eval "$ac_link") 2>conftest.er1
10855 ac_status=$?
10856 grep -v '^ *+' conftest.er1 >conftest.err
10857 rm -f conftest.er1
10858 cat conftest.err >&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } &&
10861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10862 { (case "(($ac_try" in
10863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10864 *) ac_try_echo=$ac_try;;
10865 esac
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 (eval "$ac_try") 2>&5
10868 ac_status=$?
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); }; } &&
10871 { ac_try='test -s conftest$ac_exeext'
10872 { (case "(($ac_try" in
10873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10874 *) ac_try_echo=$ac_try;;
10875 esac
10876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10877 (eval "$ac_try") 2>&5
10878 ac_status=$?
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); }; }; then
10881 ac_cv_lib_xml2_xmlParseMemory=yes
10882 else
10883 echo "$as_me: failed program was:" >&5
10884 sed 's/^/| /' conftest.$ac_ext >&5
10886 ac_cv_lib_xml2_xmlParseMemory=no
10889 rm -f core conftest.err conftest.$ac_objext \
10890 conftest$ac_exeext conftest.$ac_ext
10891 LIBS=$ac_check_lib_save_LIBS
10893 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10894 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10895 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10897 cat >>confdefs.h <<\_ACEOF
10898 #define HAVE_LIBXML2 1
10899 _ACEOF
10901 XML2LIBS="$ac_xml_libs"
10902 XML2INCL="$ac_xml_cflags"
10905 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10906 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10907 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10908 echo $ECHO_N "(cached) $ECHO_C" >&6
10909 else
10910 ac_check_lib_save_LIBS=$LIBS
10911 LIBS="-lxml2 $ac_xml_libs $LIBS"
10912 cat >conftest.$ac_ext <<_ACEOF
10913 /* confdefs.h. */
10914 _ACEOF
10915 cat confdefs.h >>conftest.$ac_ext
10916 cat >>conftest.$ac_ext <<_ACEOF
10917 /* end confdefs.h. */
10919 /* Override any GCC internal prototype to avoid an error.
10920 Use char because int might match the return type of a GCC
10921 builtin and then its argument prototype would still apply. */
10922 #ifdef __cplusplus
10923 extern "C"
10924 #endif
10925 char xmlReadMemory ();
10927 main ()
10929 return xmlReadMemory ();
10931 return 0;
10933 _ACEOF
10934 rm -f conftest.$ac_objext conftest$ac_exeext
10935 if { (ac_try="$ac_link"
10936 case "(($ac_try" in
10937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10938 *) ac_try_echo=$ac_try;;
10939 esac
10940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10941 (eval "$ac_link") 2>conftest.er1
10942 ac_status=$?
10943 grep -v '^ *+' conftest.er1 >conftest.err
10944 rm -f conftest.er1
10945 cat conftest.err >&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } &&
10948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10949 { (case "(($ac_try" in
10950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10951 *) ac_try_echo=$ac_try;;
10952 esac
10953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10954 (eval "$ac_try") 2>&5
10955 ac_status=$?
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }; } &&
10958 { ac_try='test -s conftest$ac_exeext'
10959 { (case "(($ac_try" in
10960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10961 *) ac_try_echo=$ac_try;;
10962 esac
10963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10964 (eval "$ac_try") 2>&5
10965 ac_status=$?
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; }; then
10968 ac_cv_lib_xml2_xmlReadMemory=yes
10969 else
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10973 ac_cv_lib_xml2_xmlReadMemory=no
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LIBS=$ac_check_lib_save_LIBS
10980 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10981 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10982 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10984 cat >>confdefs.h <<\_ACEOF
10985 #define HAVE_XMLREADMEMORY 1
10986 _ACEOF
10993 done
10995 CPPFLAGS="$ac_save_CPPFLAGS"
10996 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10997 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10998 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11001 for ac_header in libxslt/pattern.h libxslt/transform.h
11003 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11004 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11007 echo $ECHO_N "(cached) $ECHO_C" >&6
11008 else
11009 cat >conftest.$ac_ext <<_ACEOF
11010 /* confdefs.h. */
11011 _ACEOF
11012 cat confdefs.h >>conftest.$ac_ext
11013 cat >>conftest.$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015 #ifdef HAVE_LIBXSLT_PATTERN_H
11016 # include <libxslt/pattern.h>
11017 #endif
11019 #include <$ac_header>
11020 _ACEOF
11021 rm -f conftest.$ac_objext
11022 if { (ac_try="$ac_compile"
11023 case "(($ac_try" in
11024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11025 *) ac_try_echo=$ac_try;;
11026 esac
11027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11028 (eval "$ac_compile") 2>conftest.er1
11029 ac_status=$?
11030 grep -v '^ *+' conftest.er1 >conftest.err
11031 rm -f conftest.er1
11032 cat conftest.err >&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); } &&
11035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11036 { (case "(($ac_try" in
11037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11038 *) ac_try_echo=$ac_try;;
11039 esac
11040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11041 (eval "$ac_try") 2>&5
11042 ac_status=$?
11043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 (exit $ac_status); }; } &&
11045 { ac_try='test -s conftest.$ac_objext'
11046 { (case "(($ac_try" in
11047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11048 *) ac_try_echo=$ac_try;;
11049 esac
11050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11051 (eval "$ac_try") 2>&5
11052 ac_status=$?
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); }; }; then
11055 eval "$as_ac_Header=yes"
11056 else
11057 echo "$as_me: failed program was:" >&5
11058 sed 's/^/| /' conftest.$ac_ext >&5
11060 eval "$as_ac_Header=no"
11063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11065 ac_res=`eval echo '${'$as_ac_Header'}'`
11066 { echo "$as_me:$LINENO: result: $ac_res" >&5
11067 echo "${ECHO_T}$ac_res" >&6; }
11068 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11069 cat >>confdefs.h <<_ACEOF
11070 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11071 _ACEOF
11072 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11073 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11074 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11075 echo $ECHO_N "(cached) $ECHO_C" >&6
11076 else
11077 ac_check_lib_save_LIBS=$LIBS
11078 LIBS="-lxslt $ac_xslt_libs $LIBS"
11079 cat >conftest.$ac_ext <<_ACEOF
11080 /* confdefs.h. */
11081 _ACEOF
11082 cat confdefs.h >>conftest.$ac_ext
11083 cat >>conftest.$ac_ext <<_ACEOF
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11089 #ifdef __cplusplus
11090 extern "C"
11091 #endif
11092 char xsltCompilePattern ();
11094 main ()
11096 return xsltCompilePattern ();
11098 return 0;
11100 _ACEOF
11101 rm -f conftest.$ac_objext conftest$ac_exeext
11102 if { (ac_try="$ac_link"
11103 case "(($ac_try" in
11104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11105 *) ac_try_echo=$ac_try;;
11106 esac
11107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11108 (eval "$ac_link") 2>conftest.er1
11109 ac_status=$?
11110 grep -v '^ *+' conftest.er1 >conftest.err
11111 rm -f conftest.er1
11112 cat conftest.err >&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); } &&
11115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11116 { (case "(($ac_try" in
11117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11118 *) ac_try_echo=$ac_try;;
11119 esac
11120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11121 (eval "$ac_try") 2>&5
11122 ac_status=$?
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; } &&
11125 { ac_try='test -s conftest$ac_exeext'
11126 { (case "(($ac_try" in
11127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11128 *) ac_try_echo=$ac_try;;
11129 esac
11130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11131 (eval "$ac_try") 2>&5
11132 ac_status=$?
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; }; then
11135 ac_cv_lib_xslt_xsltCompilePattern=yes
11136 else
11137 echo "$as_me: failed program was:" >&5
11138 sed 's/^/| /' conftest.$ac_ext >&5
11140 ac_cv_lib_xslt_xsltCompilePattern=no
11143 rm -f core conftest.err conftest.$ac_objext \
11144 conftest$ac_exeext conftest.$ac_ext
11145 LIBS=$ac_check_lib_save_LIBS
11147 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11148 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11149 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11151 cat >>confdefs.h <<\_ACEOF
11152 #define HAVE_LIBXSLT 1
11153 _ACEOF
11155 XSLTLIBS="$ac_xslt_libs"
11156 XSLTINCL="$ac_xslt_cflags"
11162 done
11164 CPPFLAGS="$ac_save_CPPFLAGS"
11167 HALINCL=""
11169 if test "$PKG_CONFIG" != "false"
11170 then
11171 ac_save_CPPFLAGS="$CPPFLAGS"
11172 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11173 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11174 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11177 for ac_header in dbus/dbus.h hal/libhal.h
11179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11181 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11183 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11184 echo $ECHO_N "(cached) $ECHO_C" >&6
11186 ac_res=`eval echo '${'$as_ac_Header'}'`
11187 { echo "$as_me:$LINENO: result: $ac_res" >&5
11188 echo "${ECHO_T}$ac_res" >&6; }
11189 else
11190 # Is the header compilable?
11191 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11193 cat >conftest.$ac_ext <<_ACEOF
11194 /* confdefs.h. */
11195 _ACEOF
11196 cat confdefs.h >>conftest.$ac_ext
11197 cat >>conftest.$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11199 $ac_includes_default
11200 #include <$ac_header>
11201 _ACEOF
11202 rm -f conftest.$ac_objext
11203 if { (ac_try="$ac_compile"
11204 case "(($ac_try" in
11205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11206 *) ac_try_echo=$ac_try;;
11207 esac
11208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11209 (eval "$ac_compile") 2>conftest.er1
11210 ac_status=$?
11211 grep -v '^ *+' conftest.er1 >conftest.err
11212 rm -f conftest.er1
11213 cat conftest.err >&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); } &&
11216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11217 { (case "(($ac_try" in
11218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11219 *) ac_try_echo=$ac_try;;
11220 esac
11221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11222 (eval "$ac_try") 2>&5
11223 ac_status=$?
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; } &&
11226 { ac_try='test -s conftest.$ac_objext'
11227 { (case "(($ac_try" in
11228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11229 *) ac_try_echo=$ac_try;;
11230 esac
11231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11232 (eval "$ac_try") 2>&5
11233 ac_status=$?
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); }; }; then
11236 ac_header_compiler=yes
11237 else
11238 echo "$as_me: failed program was:" >&5
11239 sed 's/^/| /' conftest.$ac_ext >&5
11241 ac_header_compiler=no
11244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11245 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11246 echo "${ECHO_T}$ac_header_compiler" >&6; }
11248 # Is the header present?
11249 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11251 cat >conftest.$ac_ext <<_ACEOF
11252 /* confdefs.h. */
11253 _ACEOF
11254 cat confdefs.h >>conftest.$ac_ext
11255 cat >>conftest.$ac_ext <<_ACEOF
11256 /* end confdefs.h. */
11257 #include <$ac_header>
11258 _ACEOF
11259 if { (ac_try="$ac_cpp conftest.$ac_ext"
11260 case "(($ac_try" in
11261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11262 *) ac_try_echo=$ac_try;;
11263 esac
11264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11266 ac_status=$?
11267 grep -v '^ *+' conftest.er1 >conftest.err
11268 rm -f conftest.er1
11269 cat conftest.err >&5
11270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271 (exit $ac_status); } >/dev/null; then
11272 if test -s conftest.err; then
11273 ac_cpp_err=$ac_c_preproc_warn_flag
11274 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11275 else
11276 ac_cpp_err=
11278 else
11279 ac_cpp_err=yes
11281 if test -z "$ac_cpp_err"; then
11282 ac_header_preproc=yes
11283 else
11284 echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.$ac_ext >&5
11287 ac_header_preproc=no
11290 rm -f conftest.err conftest.$ac_ext
11291 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11292 echo "${ECHO_T}$ac_header_preproc" >&6; }
11294 # So? What about this header?
11295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11296 yes:no: )
11297 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11301 ac_header_preproc=yes
11303 no:yes:* )
11304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11308 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11310 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11311 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11316 ( cat <<\_ASBOX
11317 ## ------------------------------------ ##
11318 ## Report this to wine-devel@winehq.org ##
11319 ## ------------------------------------ ##
11320 _ASBOX
11321 ) | sed "s/^/$as_me: WARNING: /" >&2
11323 esac
11324 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11326 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11327 echo $ECHO_N "(cached) $ECHO_C" >&6
11328 else
11329 eval "$as_ac_Header=\$ac_header_preproc"
11331 ac_res=`eval echo '${'$as_ac_Header'}'`
11332 { echo "$as_me:$LINENO: result: $ac_res" >&5
11333 echo "${ECHO_T}$ac_res" >&6; }
11336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11337 cat >>confdefs.h <<_ACEOF
11338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11339 _ACEOF
11343 done
11345 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11346 then
11347 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
11348 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
11349 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
11350 echo $ECHO_N "(cached) $ECHO_C" >&6
11351 else
11352 ac_check_lib_save_LIBS=$LIBS
11353 LIBS="-lhal $LIBS"
11354 cat >conftest.$ac_ext <<_ACEOF
11355 /* confdefs.h. */
11356 _ACEOF
11357 cat confdefs.h >>conftest.$ac_ext
11358 cat >>conftest.$ac_ext <<_ACEOF
11359 /* end confdefs.h. */
11361 /* Override any GCC internal prototype to avoid an error.
11362 Use char because int might match the return type of a GCC
11363 builtin and then its argument prototype would still apply. */
11364 #ifdef __cplusplus
11365 extern "C"
11366 #endif
11367 char libhal_ctx_new ();
11369 main ()
11371 return libhal_ctx_new ();
11373 return 0;
11375 _ACEOF
11376 rm -f conftest.$ac_objext conftest$ac_exeext
11377 if { (ac_try="$ac_link"
11378 case "(($ac_try" in
11379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11380 *) ac_try_echo=$ac_try;;
11381 esac
11382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11383 (eval "$ac_link") 2>conftest.er1
11384 ac_status=$?
11385 grep -v '^ *+' conftest.er1 >conftest.err
11386 rm -f conftest.er1
11387 cat conftest.err >&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); } &&
11390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11391 { (case "(($ac_try" in
11392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11393 *) ac_try_echo=$ac_try;;
11394 esac
11395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11396 (eval "$ac_try") 2>&5
11397 ac_status=$?
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); }; } &&
11400 { ac_try='test -s conftest$ac_exeext'
11401 { (case "(($ac_try" in
11402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11403 *) ac_try_echo=$ac_try;;
11404 esac
11405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11406 (eval "$ac_try") 2>&5
11407 ac_status=$?
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 ac_cv_lib_hal_libhal_ctx_new=yes
11411 else
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11415 ac_cv_lib_hal_libhal_ctx_new=no
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11422 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
11423 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
11424 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
11425 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11426 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11427 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11428 echo $ECHO_N "(cached) $ECHO_C" >&6
11429 else
11430 ac_check_lib_save_LIBS=$LIBS
11431 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11432 cat >conftest.$ac_ext <<_ACEOF
11433 /* confdefs.h. */
11434 _ACEOF
11435 cat confdefs.h >>conftest.$ac_ext
11436 cat >>conftest.$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11442 #ifdef __cplusplus
11443 extern "C"
11444 #endif
11445 char dbus_connection_close ();
11447 main ()
11449 return dbus_connection_close ();
11451 return 0;
11453 _ACEOF
11454 rm -f conftest.$ac_objext conftest$ac_exeext
11455 if { (ac_try="$ac_link"
11456 case "(($ac_try" in
11457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11458 *) ac_try_echo=$ac_try;;
11459 esac
11460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11461 (eval "$ac_link") 2>conftest.er1
11462 ac_status=$?
11463 grep -v '^ *+' conftest.er1 >conftest.err
11464 rm -f conftest.er1
11465 cat conftest.err >&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); } &&
11468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11469 { (case "(($ac_try" in
11470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11471 *) ac_try_echo=$ac_try;;
11472 esac
11473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11474 (eval "$ac_try") 2>&5
11475 ac_status=$?
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); }; } &&
11478 { ac_try='test -s conftest$ac_exeext'
11479 { (case "(($ac_try" in
11480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11481 *) ac_try_echo=$ac_try;;
11482 esac
11483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11484 (eval "$ac_try") 2>&5
11485 ac_status=$?
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); }; }; then
11488 ac_cv_lib_dbus_1_dbus_connection_close=yes
11489 else
11490 echo "$as_me: failed program was:" >&5
11491 sed 's/^/| /' conftest.$ac_ext >&5
11493 ac_cv_lib_dbus_1_dbus_connection_close=no
11496 rm -f core conftest.err conftest.$ac_objext \
11497 conftest$ac_exeext conftest.$ac_ext
11498 LIBS=$ac_check_lib_save_LIBS
11500 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11501 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11502 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11504 cat >>confdefs.h <<\_ACEOF
11505 #define HAVE_LIBHAL 1
11506 _ACEOF
11508 HALINCL="$ac_hal_cflags"
11514 CPPFLAGS="$ac_save_CPPFLAGS"
11517 CURSESLIBS=""
11518 if test "x$with_curses" != "xno"
11519 then
11520 if test "$ac_cv_header_ncurses_h" = "yes"
11521 then
11522 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
11523 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
11524 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
11525 echo $ECHO_N "(cached) $ECHO_C" >&6
11526 else
11527 ac_check_lib_save_LIBS=$LIBS
11528 LIBS="-lncurses $LIBS"
11529 cat >conftest.$ac_ext <<_ACEOF
11530 /* confdefs.h. */
11531 _ACEOF
11532 cat confdefs.h >>conftest.$ac_ext
11533 cat >>conftest.$ac_ext <<_ACEOF
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11539 #ifdef __cplusplus
11540 extern "C"
11541 #endif
11542 char waddch ();
11544 main ()
11546 return waddch ();
11548 return 0;
11550 _ACEOF
11551 rm -f conftest.$ac_objext conftest$ac_exeext
11552 if { (ac_try="$ac_link"
11553 case "(($ac_try" in
11554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11555 *) ac_try_echo=$ac_try;;
11556 esac
11557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11558 (eval "$ac_link") 2>conftest.er1
11559 ac_status=$?
11560 grep -v '^ *+' conftest.er1 >conftest.err
11561 rm -f conftest.er1
11562 cat conftest.err >&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); } &&
11565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11566 { (case "(($ac_try" in
11567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11568 *) ac_try_echo=$ac_try;;
11569 esac
11570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11571 (eval "$ac_try") 2>&5
11572 ac_status=$?
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); }; } &&
11575 { ac_try='test -s conftest$ac_exeext'
11576 { (case "(($ac_try" in
11577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11578 *) ac_try_echo=$ac_try;;
11579 esac
11580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11581 (eval "$ac_try") 2>&5
11582 ac_status=$?
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); }; }; then
11585 ac_cv_lib_ncurses_waddch=yes
11586 else
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.$ac_ext >&5
11590 ac_cv_lib_ncurses_waddch=no
11593 rm -f core conftest.err conftest.$ac_objext \
11594 conftest$ac_exeext conftest.$ac_ext
11595 LIBS=$ac_check_lib_save_LIBS
11597 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11598 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11599 if test $ac_cv_lib_ncurses_waddch = yes; then
11601 cat >>confdefs.h <<\_ACEOF
11602 #define HAVE_LIBNCURSES 1
11603 _ACEOF
11605 CURSESLIBS="-lncurses"
11608 elif test "$ac_cv_header_curses_h" = "yes"
11609 then
11610 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11611 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11612 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11613 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 else
11615 ac_check_lib_save_LIBS=$LIBS
11616 LIBS="-lcurses $LIBS"
11617 cat >conftest.$ac_ext <<_ACEOF
11618 /* confdefs.h. */
11619 _ACEOF
11620 cat confdefs.h >>conftest.$ac_ext
11621 cat >>conftest.$ac_ext <<_ACEOF
11622 /* end confdefs.h. */
11624 /* Override any GCC internal prototype to avoid an error.
11625 Use char because int might match the return type of a GCC
11626 builtin and then its argument prototype would still apply. */
11627 #ifdef __cplusplus
11628 extern "C"
11629 #endif
11630 char waddch ();
11632 main ()
11634 return waddch ();
11636 return 0;
11638 _ACEOF
11639 rm -f conftest.$ac_objext conftest$ac_exeext
11640 if { (ac_try="$ac_link"
11641 case "(($ac_try" in
11642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11643 *) ac_try_echo=$ac_try;;
11644 esac
11645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11646 (eval "$ac_link") 2>conftest.er1
11647 ac_status=$?
11648 grep -v '^ *+' conftest.er1 >conftest.err
11649 rm -f conftest.er1
11650 cat conftest.err >&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); } &&
11653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11654 { (case "(($ac_try" in
11655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11656 *) ac_try_echo=$ac_try;;
11657 esac
11658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11659 (eval "$ac_try") 2>&5
11660 ac_status=$?
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; } &&
11663 { ac_try='test -s conftest$ac_exeext'
11664 { (case "(($ac_try" in
11665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11666 *) ac_try_echo=$ac_try;;
11667 esac
11668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11669 (eval "$ac_try") 2>&5
11670 ac_status=$?
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); }; }; then
11673 ac_cv_lib_curses_waddch=yes
11674 else
11675 echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.$ac_ext >&5
11678 ac_cv_lib_curses_waddch=no
11681 rm -f core conftest.err conftest.$ac_objext \
11682 conftest$ac_exeext conftest.$ac_ext
11683 LIBS=$ac_check_lib_save_LIBS
11685 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11686 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11687 if test $ac_cv_lib_curses_waddch = yes; then
11689 cat >>confdefs.h <<\_ACEOF
11690 #define HAVE_LIBCURSES 1
11691 _ACEOF
11693 CURSESLIBS="-lcurses"
11697 ac_save_LIBS="$LIBS"
11698 LIBS="$LIBS $CURSESLIBS"
11700 for ac_func in mousemask
11702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11703 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11705 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11706 echo $ECHO_N "(cached) $ECHO_C" >&6
11707 else
11708 cat >conftest.$ac_ext <<_ACEOF
11709 /* confdefs.h. */
11710 _ACEOF
11711 cat confdefs.h >>conftest.$ac_ext
11712 cat >>conftest.$ac_ext <<_ACEOF
11713 /* end confdefs.h. */
11714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11716 #define $ac_func innocuous_$ac_func
11718 /* System header to define __stub macros and hopefully few prototypes,
11719 which can conflict with char $ac_func (); below.
11720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11721 <limits.h> exists even on freestanding compilers. */
11723 #ifdef __STDC__
11724 # include <limits.h>
11725 #else
11726 # include <assert.h>
11727 #endif
11729 #undef $ac_func
11731 /* Override any GCC internal prototype to avoid an error.
11732 Use char because int might match the return type of a GCC
11733 builtin and then its argument prototype would still apply. */
11734 #ifdef __cplusplus
11735 extern "C"
11736 #endif
11737 char $ac_func ();
11738 /* The GNU C library defines this for functions which it implements
11739 to always fail with ENOSYS. Some functions are actually named
11740 something starting with __ and the normal name is an alias. */
11741 #if defined __stub_$ac_func || defined __stub___$ac_func
11742 choke me
11743 #endif
11746 main ()
11748 return $ac_func ();
11750 return 0;
11752 _ACEOF
11753 rm -f conftest.$ac_objext conftest$ac_exeext
11754 if { (ac_try="$ac_link"
11755 case "(($ac_try" in
11756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11757 *) ac_try_echo=$ac_try;;
11758 esac
11759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11760 (eval "$ac_link") 2>conftest.er1
11761 ac_status=$?
11762 grep -v '^ *+' conftest.er1 >conftest.err
11763 rm -f conftest.er1
11764 cat conftest.err >&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); } &&
11767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11768 { (case "(($ac_try" in
11769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11770 *) ac_try_echo=$ac_try;;
11771 esac
11772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11773 (eval "$ac_try") 2>&5
11774 ac_status=$?
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); }; } &&
11777 { ac_try='test -s conftest$ac_exeext'
11778 { (case "(($ac_try" in
11779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11780 *) ac_try_echo=$ac_try;;
11781 esac
11782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11783 (eval "$ac_try") 2>&5
11784 ac_status=$?
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }; }; then
11787 eval "$as_ac_var=yes"
11788 else
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.$ac_ext >&5
11792 eval "$as_ac_var=no"
11795 rm -f core conftest.err conftest.$ac_objext \
11796 conftest$ac_exeext conftest.$ac_ext
11798 ac_res=`eval echo '${'$as_ac_var'}'`
11799 { echo "$as_me:$LINENO: result: $ac_res" >&5
11800 echo "${ECHO_T}$ac_res" >&6; }
11801 if test `eval echo '${'$as_ac_var'}'` = yes; then
11802 cat >>confdefs.h <<_ACEOF
11803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11804 _ACEOF
11807 done
11809 LIBS="$ac_save_LIBS"
11813 # Extract the first word of "sane-config", so it can be a program name with args.
11814 set dummy sane-config; ac_word=$2
11815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11817 if test "${ac_cv_prog_sane_devel+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 else
11820 if test -n "$sane_devel"; then
11821 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11822 else
11823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11824 for as_dir in $PATH
11826 IFS=$as_save_IFS
11827 test -z "$as_dir" && as_dir=.
11828 for ac_exec_ext in '' $ac_executable_extensions; do
11829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11830 ac_cv_prog_sane_devel="sane-config"
11831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11832 break 2
11834 done
11835 done
11836 IFS=$as_save_IFS
11838 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11841 sane_devel=$ac_cv_prog_sane_devel
11842 if test -n "$sane_devel"; then
11843 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11844 echo "${ECHO_T}$sane_devel" >&6; }
11845 else
11846 { echo "$as_me:$LINENO: result: no" >&5
11847 echo "${ECHO_T}no" >&6; }
11851 SANELIBS=""
11853 SANEINCL=""
11855 if test "$sane_devel" != "no"
11856 then
11857 SANELIBS="`$sane_devel --libs`"
11858 SANEINCL="`$sane_devel --cflags`"
11859 ac_save_CPPFLAGS="$CPPFLAGS"
11860 ac_save_LIBS="$LIBS"
11861 CPPFLAGS="$CPPFLAGS $SANEINCL"
11862 LIBS="$LIBS $SANELIBS"
11863 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11864 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11865 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11866 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11867 echo $ECHO_N "(cached) $ECHO_C" >&6
11869 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11870 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11871 else
11872 # Is the header compilable?
11873 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11874 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11875 cat >conftest.$ac_ext <<_ACEOF
11876 /* confdefs.h. */
11877 _ACEOF
11878 cat confdefs.h >>conftest.$ac_ext
11879 cat >>conftest.$ac_ext <<_ACEOF
11880 /* end confdefs.h. */
11881 $ac_includes_default
11882 #include <sane/sane.h>
11883 _ACEOF
11884 rm -f conftest.$ac_objext
11885 if { (ac_try="$ac_compile"
11886 case "(($ac_try" in
11887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11888 *) ac_try_echo=$ac_try;;
11889 esac
11890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11891 (eval "$ac_compile") 2>conftest.er1
11892 ac_status=$?
11893 grep -v '^ *+' conftest.er1 >conftest.err
11894 rm -f conftest.er1
11895 cat conftest.err >&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } &&
11898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11899 { (case "(($ac_try" in
11900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11901 *) ac_try_echo=$ac_try;;
11902 esac
11903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11904 (eval "$ac_try") 2>&5
11905 ac_status=$?
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); }; } &&
11908 { ac_try='test -s conftest.$ac_objext'
11909 { (case "(($ac_try" in
11910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11911 *) ac_try_echo=$ac_try;;
11912 esac
11913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11914 (eval "$ac_try") 2>&5
11915 ac_status=$?
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); }; }; then
11918 ac_header_compiler=yes
11919 else
11920 echo "$as_me: failed program was:" >&5
11921 sed 's/^/| /' conftest.$ac_ext >&5
11923 ac_header_compiler=no
11926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11927 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11928 echo "${ECHO_T}$ac_header_compiler" >&6; }
11930 # Is the header present?
11931 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11932 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11933 cat >conftest.$ac_ext <<_ACEOF
11934 /* confdefs.h. */
11935 _ACEOF
11936 cat confdefs.h >>conftest.$ac_ext
11937 cat >>conftest.$ac_ext <<_ACEOF
11938 /* end confdefs.h. */
11939 #include <sane/sane.h>
11940 _ACEOF
11941 if { (ac_try="$ac_cpp conftest.$ac_ext"
11942 case "(($ac_try" in
11943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11944 *) ac_try_echo=$ac_try;;
11945 esac
11946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11948 ac_status=$?
11949 grep -v '^ *+' conftest.er1 >conftest.err
11950 rm -f conftest.er1
11951 cat conftest.err >&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); } >/dev/null; then
11954 if test -s conftest.err; then
11955 ac_cpp_err=$ac_c_preproc_warn_flag
11956 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11957 else
11958 ac_cpp_err=
11960 else
11961 ac_cpp_err=yes
11963 if test -z "$ac_cpp_err"; then
11964 ac_header_preproc=yes
11965 else
11966 echo "$as_me: failed program was:" >&5
11967 sed 's/^/| /' conftest.$ac_ext >&5
11969 ac_header_preproc=no
11972 rm -f conftest.err conftest.$ac_ext
11973 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11974 echo "${ECHO_T}$ac_header_preproc" >&6; }
11976 # So? What about this header?
11977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11978 yes:no: )
11979 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11980 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11981 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11982 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11983 ac_header_preproc=yes
11985 no:yes:* )
11986 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11987 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11988 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11989 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11990 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11991 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11992 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11993 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11994 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11995 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11996 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11997 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11998 ( cat <<\_ASBOX
11999 ## ------------------------------------ ##
12000 ## Report this to wine-devel@winehq.org ##
12001 ## ------------------------------------ ##
12002 _ASBOX
12003 ) | sed "s/^/$as_me: WARNING: /" >&2
12005 esac
12006 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12007 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12008 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12009 echo $ECHO_N "(cached) $ECHO_C" >&6
12010 else
12011 ac_cv_header_sane_sane_h=$ac_header_preproc
12013 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12014 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12017 if test $ac_cv_header_sane_sane_h = yes; then
12018 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
12019 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
12020 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12022 else
12023 ac_check_lib_save_LIBS=$LIBS
12024 LIBS="-lsane $LIBS"
12025 cat >conftest.$ac_ext <<_ACEOF
12026 /* confdefs.h. */
12027 _ACEOF
12028 cat confdefs.h >>conftest.$ac_ext
12029 cat >>conftest.$ac_ext <<_ACEOF
12030 /* end confdefs.h. */
12032 /* Override any GCC internal prototype to avoid an error.
12033 Use char because int might match the return type of a GCC
12034 builtin and then its argument prototype would still apply. */
12035 #ifdef __cplusplus
12036 extern "C"
12037 #endif
12038 char sane_open ();
12040 main ()
12042 return sane_open ();
12044 return 0;
12046 _ACEOF
12047 rm -f conftest.$ac_objext conftest$ac_exeext
12048 if { (ac_try="$ac_link"
12049 case "(($ac_try" in
12050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12051 *) ac_try_echo=$ac_try;;
12052 esac
12053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12054 (eval "$ac_link") 2>conftest.er1
12055 ac_status=$?
12056 grep -v '^ *+' conftest.er1 >conftest.err
12057 rm -f conftest.er1
12058 cat conftest.err >&5
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); } &&
12061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12062 { (case "(($ac_try" in
12063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12064 *) ac_try_echo=$ac_try;;
12065 esac
12066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12067 (eval "$ac_try") 2>&5
12068 ac_status=$?
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); }; } &&
12071 { ac_try='test -s conftest$ac_exeext'
12072 { (case "(($ac_try" in
12073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12074 *) ac_try_echo=$ac_try;;
12075 esac
12076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12077 (eval "$ac_try") 2>&5
12078 ac_status=$?
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); }; }; then
12081 ac_cv_lib_sane_sane_open=yes
12082 else
12083 echo "$as_me: failed program was:" >&5
12084 sed 's/^/| /' conftest.$ac_ext >&5
12086 ac_cv_lib_sane_sane_open=no
12089 rm -f core conftest.err conftest.$ac_objext \
12090 conftest$ac_exeext conftest.$ac_ext
12091 LIBS=$ac_check_lib_save_LIBS
12093 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
12094 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
12095 if test $ac_cv_lib_sane_sane_open = yes; then
12097 cat >>confdefs.h <<\_ACEOF
12098 #define HAVE_SANE 1
12099 _ACEOF
12101 else
12102 SANELIBS=""
12103 SANEINCL=""
12106 else
12107 SANELIBS=""
12108 SANEINCL=""
12112 LIBS="$ac_save_LIBS"
12113 CPPFLAGS="$ac_save_CPPFLAGS"
12116 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12117 set dummy gphoto2-config; ac_word=$2
12118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12120 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12121 echo $ECHO_N "(cached) $ECHO_C" >&6
12122 else
12123 if test -n "$gphoto2_devel"; then
12124 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12125 else
12126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12127 for as_dir in $PATH
12129 IFS=$as_save_IFS
12130 test -z "$as_dir" && as_dir=.
12131 for ac_exec_ext in '' $ac_executable_extensions; do
12132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12133 ac_cv_prog_gphoto2_devel="gphoto2-config"
12134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12135 break 2
12137 done
12138 done
12139 IFS=$as_save_IFS
12141 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12144 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12145 if test -n "$gphoto2_devel"; then
12146 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12147 echo "${ECHO_T}$gphoto2_devel" >&6; }
12148 else
12149 { echo "$as_me:$LINENO: result: no" >&5
12150 echo "${ECHO_T}no" >&6; }
12154 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12155 set dummy gphoto2-port-config; ac_word=$2
12156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12158 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12159 echo $ECHO_N "(cached) $ECHO_C" >&6
12160 else
12161 if test -n "$gphoto2port_devel"; then
12162 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12163 else
12164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12165 for as_dir in $PATH
12167 IFS=$as_save_IFS
12168 test -z "$as_dir" && as_dir=.
12169 for ac_exec_ext in '' $ac_executable_extensions; do
12170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12171 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12173 break 2
12175 done
12176 done
12177 IFS=$as_save_IFS
12179 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12182 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12183 if test -n "$gphoto2port_devel"; then
12184 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12185 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12186 else
12187 { echo "$as_me:$LINENO: result: no" >&5
12188 echo "${ECHO_T}no" >&6; }
12192 GPHOTO2LIBS=""
12194 GPHOTO2INCL=""
12196 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12197 then
12198 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12199 GPHOTO2LIBS=""
12200 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12202 case "$i" in
12203 -L/usr/lib|-L/usr/lib64) ;;
12204 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
12205 esac
12206 done
12207 ac_save_CPPFLAGS="$CPPFLAGS"
12208 ac_save_LIBS="$LIBS"
12209 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
12210 LIBS="$LIBS $GPHOTO2LIBS"
12211 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12212 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12213 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12214 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12215 echo $ECHO_N "(cached) $ECHO_C" >&6
12217 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12218 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12219 else
12220 # Is the header compilable?
12221 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12222 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12223 cat >conftest.$ac_ext <<_ACEOF
12224 /* confdefs.h. */
12225 _ACEOF
12226 cat confdefs.h >>conftest.$ac_ext
12227 cat >>conftest.$ac_ext <<_ACEOF
12228 /* end confdefs.h. */
12229 $ac_includes_default
12230 #include <gphoto2-camera.h>
12231 _ACEOF
12232 rm -f conftest.$ac_objext
12233 if { (ac_try="$ac_compile"
12234 case "(($ac_try" in
12235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12236 *) ac_try_echo=$ac_try;;
12237 esac
12238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12239 (eval "$ac_compile") 2>conftest.er1
12240 ac_status=$?
12241 grep -v '^ *+' conftest.er1 >conftest.err
12242 rm -f conftest.er1
12243 cat conftest.err >&5
12244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12245 (exit $ac_status); } &&
12246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12247 { (case "(($ac_try" in
12248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12249 *) ac_try_echo=$ac_try;;
12250 esac
12251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12252 (eval "$ac_try") 2>&5
12253 ac_status=$?
12254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12255 (exit $ac_status); }; } &&
12256 { ac_try='test -s conftest.$ac_objext'
12257 { (case "(($ac_try" in
12258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12259 *) ac_try_echo=$ac_try;;
12260 esac
12261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12262 (eval "$ac_try") 2>&5
12263 ac_status=$?
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); }; }; then
12266 ac_header_compiler=yes
12267 else
12268 echo "$as_me: failed program was:" >&5
12269 sed 's/^/| /' conftest.$ac_ext >&5
12271 ac_header_compiler=no
12274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12275 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12276 echo "${ECHO_T}$ac_header_compiler" >&6; }
12278 # Is the header present?
12279 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12280 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12281 cat >conftest.$ac_ext <<_ACEOF
12282 /* confdefs.h. */
12283 _ACEOF
12284 cat confdefs.h >>conftest.$ac_ext
12285 cat >>conftest.$ac_ext <<_ACEOF
12286 /* end confdefs.h. */
12287 #include <gphoto2-camera.h>
12288 _ACEOF
12289 if { (ac_try="$ac_cpp conftest.$ac_ext"
12290 case "(($ac_try" in
12291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12292 *) ac_try_echo=$ac_try;;
12293 esac
12294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12295 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12296 ac_status=$?
12297 grep -v '^ *+' conftest.er1 >conftest.err
12298 rm -f conftest.er1
12299 cat conftest.err >&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); } >/dev/null; then
12302 if test -s conftest.err; then
12303 ac_cpp_err=$ac_c_preproc_warn_flag
12304 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12305 else
12306 ac_cpp_err=
12308 else
12309 ac_cpp_err=yes
12311 if test -z "$ac_cpp_err"; then
12312 ac_header_preproc=yes
12313 else
12314 echo "$as_me: failed program was:" >&5
12315 sed 's/^/| /' conftest.$ac_ext >&5
12317 ac_header_preproc=no
12320 rm -f conftest.err conftest.$ac_ext
12321 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12322 echo "${ECHO_T}$ac_header_preproc" >&6; }
12324 # So? What about this header?
12325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12326 yes:no: )
12327 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12328 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12329 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12330 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12331 ac_header_preproc=yes
12333 no:yes:* )
12334 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12335 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12336 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12337 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12338 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12339 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12340 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12341 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12342 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12343 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12344 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12345 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12346 ( cat <<\_ASBOX
12347 ## ------------------------------------ ##
12348 ## Report this to wine-devel@winehq.org ##
12349 ## ------------------------------------ ##
12350 _ASBOX
12351 ) | sed "s/^/$as_me: WARNING: /" >&2
12353 esac
12354 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12355 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12356 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12358 else
12359 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12361 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12362 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12365 if test $ac_cv_header_gphoto2_camera_h = yes; then
12366 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12367 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12368 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12369 echo $ECHO_N "(cached) $ECHO_C" >&6
12370 else
12371 ac_check_lib_save_LIBS=$LIBS
12372 LIBS="-lgphoto2 $LIBS"
12373 cat >conftest.$ac_ext <<_ACEOF
12374 /* confdefs.h. */
12375 _ACEOF
12376 cat confdefs.h >>conftest.$ac_ext
12377 cat >>conftest.$ac_ext <<_ACEOF
12378 /* end confdefs.h. */
12380 /* Override any GCC internal prototype to avoid an error.
12381 Use char because int might match the return type of a GCC
12382 builtin and then its argument prototype would still apply. */
12383 #ifdef __cplusplus
12384 extern "C"
12385 #endif
12386 char gp_camera_new ();
12388 main ()
12390 return gp_camera_new ();
12392 return 0;
12394 _ACEOF
12395 rm -f conftest.$ac_objext conftest$ac_exeext
12396 if { (ac_try="$ac_link"
12397 case "(($ac_try" in
12398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12399 *) ac_try_echo=$ac_try;;
12400 esac
12401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12402 (eval "$ac_link") 2>conftest.er1
12403 ac_status=$?
12404 grep -v '^ *+' conftest.er1 >conftest.err
12405 rm -f conftest.er1
12406 cat conftest.err >&5
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); } &&
12409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12410 { (case "(($ac_try" in
12411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12412 *) ac_try_echo=$ac_try;;
12413 esac
12414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12415 (eval "$ac_try") 2>&5
12416 ac_status=$?
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); }; } &&
12419 { ac_try='test -s conftest$ac_exeext'
12420 { (case "(($ac_try" in
12421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12422 *) ac_try_echo=$ac_try;;
12423 esac
12424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12425 (eval "$ac_try") 2>&5
12426 ac_status=$?
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }; }; then
12429 ac_cv_lib_gphoto2_gp_camera_new=yes
12430 else
12431 echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.$ac_ext >&5
12434 ac_cv_lib_gphoto2_gp_camera_new=no
12437 rm -f core conftest.err conftest.$ac_objext \
12438 conftest$ac_exeext conftest.$ac_ext
12439 LIBS=$ac_check_lib_save_LIBS
12441 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12442 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12443 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12445 cat >>confdefs.h <<\_ACEOF
12446 #define HAVE_GPHOTO2 1
12447 _ACEOF
12449 else
12450 GPHOTO2LIBS=""
12451 GPHOTO2INCL=""
12454 else
12455 GPHOTO2LIBS=""
12456 GPHOTO2INCL=""
12460 LIBS="$ac_save_LIBS"
12461 CPPFLAGS="$ac_save_CPPFLAGS"
12464 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12465 then
12466 saved_libs="$LIBS"
12467 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
12469 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
12470 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
12471 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
12472 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
12473 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12474 cat >conftest.$ac_ext <<_ACEOF
12475 /* confdefs.h. */
12476 _ACEOF
12477 cat confdefs.h >>conftest.$ac_ext
12478 cat >>conftest.$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12480 #include <unicode/ubidi.h>
12482 main ()
12484 ubidi_open()
12486 return 0;
12488 _ACEOF
12489 rm -f conftest.$ac_objext conftest$ac_exeext
12490 if { (ac_try="$ac_link"
12491 case "(($ac_try" in
12492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12493 *) ac_try_echo=$ac_try;;
12494 esac
12495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12496 (eval "$ac_link") 2>conftest.er1
12497 ac_status=$?
12498 grep -v '^ *+' conftest.er1 >conftest.err
12499 rm -f conftest.er1
12500 cat conftest.err >&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); } &&
12503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12504 { (case "(($ac_try" in
12505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12506 *) ac_try_echo=$ac_try;;
12507 esac
12508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12509 (eval "$ac_try") 2>&5
12510 ac_status=$?
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); }; } &&
12513 { ac_try='test -s conftest$ac_exeext'
12514 { (case "(($ac_try" in
12515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12516 *) ac_try_echo=$ac_try;;
12517 esac
12518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12519 (eval "$ac_try") 2>&5
12520 ac_status=$?
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); }; }; then
12524 cat >>confdefs.h <<\_ACEOF
12525 #define HAVE_ICU 1
12526 _ACEOF
12528 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12530 { echo "$as_me:$LINENO: result: yes" >&5
12531 echo "${ECHO_T}yes" >&6; }
12532 else
12533 echo "$as_me: failed program was:" >&5
12534 sed 's/^/| /' conftest.$ac_ext >&5
12536 { echo "$as_me:$LINENO: result: no" >&5
12537 echo "${ECHO_T}no" >&6; }
12540 rm -f core conftest.err conftest.$ac_objext \
12541 conftest$ac_exeext conftest.$ac_ext
12542 done
12543 LIBS="$saved_libs"
12546 RESOLVLIBS=""
12548 if test "$ac_cv_header_resolv_h" = "yes"
12549 then
12550 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12551 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12552 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6
12554 else
12555 ac_check_lib_save_LIBS=$LIBS
12556 LIBS="-lresolv $LIBS"
12557 cat >conftest.$ac_ext <<_ACEOF
12558 /* confdefs.h. */
12559 _ACEOF
12560 cat confdefs.h >>conftest.$ac_ext
12561 cat >>conftest.$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12564 /* Override any GCC internal prototype to avoid an error.
12565 Use char because int might match the return type of a GCC
12566 builtin and then its argument prototype would still apply. */
12567 #ifdef __cplusplus
12568 extern "C"
12569 #endif
12570 char res_query ();
12572 main ()
12574 return res_query ();
12576 return 0;
12578 _ACEOF
12579 rm -f conftest.$ac_objext conftest$ac_exeext
12580 if { (ac_try="$ac_link"
12581 case "(($ac_try" in
12582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12583 *) ac_try_echo=$ac_try;;
12584 esac
12585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12586 (eval "$ac_link") 2>conftest.er1
12587 ac_status=$?
12588 grep -v '^ *+' conftest.er1 >conftest.err
12589 rm -f conftest.er1
12590 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 { (case "(($ac_try" in
12595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12596 *) ac_try_echo=$ac_try;;
12597 esac
12598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12599 (eval "$ac_try") 2>&5
12600 ac_status=$?
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; } &&
12603 { ac_try='test -s conftest$ac_exeext'
12604 { (case "(($ac_try" in
12605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12606 *) ac_try_echo=$ac_try;;
12607 esac
12608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12609 (eval "$ac_try") 2>&5
12610 ac_status=$?
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); }; }; then
12613 ac_cv_lib_resolv_res_query=yes
12614 else
12615 echo "$as_me: failed program was:" >&5
12616 sed 's/^/| /' conftest.$ac_ext >&5
12618 ac_cv_lib_resolv_res_query=no
12621 rm -f core conftest.err conftest.$ac_objext \
12622 conftest$ac_exeext conftest.$ac_ext
12623 LIBS=$ac_check_lib_save_LIBS
12625 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12626 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12627 if test $ac_cv_lib_resolv_res_query = yes; then
12629 cat >>confdefs.h <<\_ACEOF
12630 #define HAVE_RESOLV 1
12631 _ACEOF
12633 RESOLVLIBS="-lresolv"
12638 LCMSLIBS=""
12640 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12641 then
12642 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12643 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12644 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12645 echo $ECHO_N "(cached) $ECHO_C" >&6
12646 else
12647 ac_check_lib_save_LIBS=$LIBS
12648 LIBS="-llcms $LIBS"
12649 cat >conftest.$ac_ext <<_ACEOF
12650 /* confdefs.h. */
12651 _ACEOF
12652 cat confdefs.h >>conftest.$ac_ext
12653 cat >>conftest.$ac_ext <<_ACEOF
12654 /* end confdefs.h. */
12656 /* Override any GCC internal prototype to avoid an error.
12657 Use char because int might match the return type of a GCC
12658 builtin and then its argument prototype would still apply. */
12659 #ifdef __cplusplus
12660 extern "C"
12661 #endif
12662 char cmsOpenProfileFromFile ();
12664 main ()
12666 return cmsOpenProfileFromFile ();
12668 return 0;
12670 _ACEOF
12671 rm -f conftest.$ac_objext conftest$ac_exeext
12672 if { (ac_try="$ac_link"
12673 case "(($ac_try" in
12674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12675 *) ac_try_echo=$ac_try;;
12676 esac
12677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12678 (eval "$ac_link") 2>conftest.er1
12679 ac_status=$?
12680 grep -v '^ *+' conftest.er1 >conftest.err
12681 rm -f conftest.er1
12682 cat conftest.err >&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); } &&
12685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12686 { (case "(($ac_try" in
12687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12688 *) ac_try_echo=$ac_try;;
12689 esac
12690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12691 (eval "$ac_try") 2>&5
12692 ac_status=$?
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); }; } &&
12695 { ac_try='test -s conftest$ac_exeext'
12696 { (case "(($ac_try" in
12697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12698 *) ac_try_echo=$ac_try;;
12699 esac
12700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12701 (eval "$ac_try") 2>&5
12702 ac_status=$?
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); }; }; then
12705 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12706 else
12707 echo "$as_me: failed program was:" >&5
12708 sed 's/^/| /' conftest.$ac_ext >&5
12710 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12713 rm -f core conftest.err conftest.$ac_objext \
12714 conftest$ac_exeext conftest.$ac_ext
12715 LIBS=$ac_check_lib_save_LIBS
12717 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12718 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12719 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12721 cat >>confdefs.h <<\_ACEOF
12722 #define HAVE_LCMS 1
12723 _ACEOF
12725 LCMSLIBS="-llcms"
12730 LDAPLIBS=""
12732 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12733 then
12734 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12735 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12736 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12738 else
12739 ac_check_lib_save_LIBS=$LIBS
12740 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12741 cat >conftest.$ac_ext <<_ACEOF
12742 /* confdefs.h. */
12743 _ACEOF
12744 cat confdefs.h >>conftest.$ac_ext
12745 cat >>conftest.$ac_ext <<_ACEOF
12746 /* end confdefs.h. */
12748 /* Override any GCC internal prototype to avoid an error.
12749 Use char because int might match the return type of a GCC
12750 builtin and then its argument prototype would still apply. */
12751 #ifdef __cplusplus
12752 extern "C"
12753 #endif
12754 char ldap_initialize ();
12756 main ()
12758 return ldap_initialize ();
12760 return 0;
12762 _ACEOF
12763 rm -f conftest.$ac_objext conftest$ac_exeext
12764 if { (ac_try="$ac_link"
12765 case "(($ac_try" in
12766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12767 *) ac_try_echo=$ac_try;;
12768 esac
12769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12770 (eval "$ac_link") 2>conftest.er1
12771 ac_status=$?
12772 grep -v '^ *+' conftest.er1 >conftest.err
12773 rm -f conftest.er1
12774 cat conftest.err >&5
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); } &&
12777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12778 { (case "(($ac_try" in
12779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12780 *) ac_try_echo=$ac_try;;
12781 esac
12782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12783 (eval "$ac_try") 2>&5
12784 ac_status=$?
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); }; } &&
12787 { ac_try='test -s conftest$ac_exeext'
12788 { (case "(($ac_try" in
12789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12790 *) ac_try_echo=$ac_try;;
12791 esac
12792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12793 (eval "$ac_try") 2>&5
12794 ac_status=$?
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); }; }; then
12797 ac_cv_lib_ldap_r_ldap_initialize=yes
12798 else
12799 echo "$as_me: failed program was:" >&5
12800 sed 's/^/| /' conftest.$ac_ext >&5
12802 ac_cv_lib_ldap_r_ldap_initialize=no
12805 rm -f core conftest.err conftest.$ac_objext \
12806 conftest$ac_exeext conftest.$ac_ext
12807 LIBS=$ac_check_lib_save_LIBS
12809 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12810 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12811 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12812 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12813 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12814 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12815 echo $ECHO_N "(cached) $ECHO_C" >&6
12816 else
12817 ac_check_lib_save_LIBS=$LIBS
12818 LIBS="-llber $LIBPTHREAD $LIBS"
12819 cat >conftest.$ac_ext <<_ACEOF
12820 /* confdefs.h. */
12821 _ACEOF
12822 cat confdefs.h >>conftest.$ac_ext
12823 cat >>conftest.$ac_ext <<_ACEOF
12824 /* end confdefs.h. */
12826 /* Override any GCC internal prototype to avoid an error.
12827 Use char because int might match the return type of a GCC
12828 builtin and then its argument prototype would still apply. */
12829 #ifdef __cplusplus
12830 extern "C"
12831 #endif
12832 char ber_init ();
12834 main ()
12836 return ber_init ();
12838 return 0;
12840 _ACEOF
12841 rm -f conftest.$ac_objext conftest$ac_exeext
12842 if { (ac_try="$ac_link"
12843 case "(($ac_try" in
12844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12845 *) ac_try_echo=$ac_try;;
12846 esac
12847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12848 (eval "$ac_link") 2>conftest.er1
12849 ac_status=$?
12850 grep -v '^ *+' conftest.er1 >conftest.err
12851 rm -f conftest.er1
12852 cat conftest.err >&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); } &&
12855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12856 { (case "(($ac_try" in
12857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12858 *) ac_try_echo=$ac_try;;
12859 esac
12860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12861 (eval "$ac_try") 2>&5
12862 ac_status=$?
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); }; } &&
12865 { ac_try='test -s conftest$ac_exeext'
12866 { (case "(($ac_try" in
12867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12868 *) ac_try_echo=$ac_try;;
12869 esac
12870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12871 (eval "$ac_try") 2>&5
12872 ac_status=$?
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; }; then
12875 ac_cv_lib_lber_ber_init=yes
12876 else
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.$ac_ext >&5
12880 ac_cv_lib_lber_ber_init=no
12883 rm -f core conftest.err conftest.$ac_objext \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_lib_save_LIBS
12887 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12888 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12889 if test $ac_cv_lib_lber_ber_init = yes; then
12891 cat >>confdefs.h <<\_ACEOF
12892 #define HAVE_LDAP 1
12893 _ACEOF
12895 LDAPLIBS="-lldap_r -llber"
12900 ac_wine_check_funcs_save_LIBS="$LIBS"
12901 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12906 for ac_func in \
12907 ldap_count_references \
12908 ldap_first_reference \
12909 ldap_next_reference \
12910 ldap_parse_reference
12912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12913 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12915 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12916 echo $ECHO_N "(cached) $ECHO_C" >&6
12917 else
12918 cat >conftest.$ac_ext <<_ACEOF
12919 /* confdefs.h. */
12920 _ACEOF
12921 cat confdefs.h >>conftest.$ac_ext
12922 cat >>conftest.$ac_ext <<_ACEOF
12923 /* end confdefs.h. */
12924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12926 #define $ac_func innocuous_$ac_func
12928 /* System header to define __stub macros and hopefully few prototypes,
12929 which can conflict with char $ac_func (); below.
12930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12931 <limits.h> exists even on freestanding compilers. */
12933 #ifdef __STDC__
12934 # include <limits.h>
12935 #else
12936 # include <assert.h>
12937 #endif
12939 #undef $ac_func
12941 /* Override any GCC internal prototype to avoid an error.
12942 Use char because int might match the return type of a GCC
12943 builtin and then its argument prototype would still apply. */
12944 #ifdef __cplusplus
12945 extern "C"
12946 #endif
12947 char $ac_func ();
12948 /* The GNU C library defines this for functions which it implements
12949 to always fail with ENOSYS. Some functions are actually named
12950 something starting with __ and the normal name is an alias. */
12951 #if defined __stub_$ac_func || defined __stub___$ac_func
12952 choke me
12953 #endif
12956 main ()
12958 return $ac_func ();
12960 return 0;
12962 _ACEOF
12963 rm -f conftest.$ac_objext conftest$ac_exeext
12964 if { (ac_try="$ac_link"
12965 case "(($ac_try" in
12966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12967 *) ac_try_echo=$ac_try;;
12968 esac
12969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12970 (eval "$ac_link") 2>conftest.er1
12971 ac_status=$?
12972 grep -v '^ *+' conftest.er1 >conftest.err
12973 rm -f conftest.er1
12974 cat conftest.err >&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); } &&
12977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12978 { (case "(($ac_try" in
12979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12980 *) ac_try_echo=$ac_try;;
12981 esac
12982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12983 (eval "$ac_try") 2>&5
12984 ac_status=$?
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); }; } &&
12987 { ac_try='test -s conftest$ac_exeext'
12988 { (case "(($ac_try" in
12989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12990 *) ac_try_echo=$ac_try;;
12991 esac
12992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12993 (eval "$ac_try") 2>&5
12994 ac_status=$?
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); }; }; then
12997 eval "$as_ac_var=yes"
12998 else
12999 echo "$as_me: failed program was:" >&5
13000 sed 's/^/| /' conftest.$ac_ext >&5
13002 eval "$as_ac_var=no"
13005 rm -f core conftest.err conftest.$ac_objext \
13006 conftest$ac_exeext conftest.$ac_ext
13008 ac_res=`eval echo '${'$as_ac_var'}'`
13009 { echo "$as_me:$LINENO: result: $ac_res" >&5
13010 echo "${ECHO_T}$ac_res" >&6; }
13011 if test `eval echo '${'$as_ac_var'}'` = yes; then
13012 cat >>confdefs.h <<_ACEOF
13013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13014 _ACEOF
13017 done
13019 LIBS="$ac_wine_check_funcs_save_LIBS"
13022 FREETYPELIBS=""
13024 FREETYPEINCL=""
13026 # Extract the first word of "freetype-config", so it can be a program name with args.
13027 set dummy freetype-config; ac_word=$2
13028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13030 if test "${ac_cv_prog_ft_devel+set}" = set; then
13031 echo $ECHO_N "(cached) $ECHO_C" >&6
13032 else
13033 if test -n "$ft_devel"; then
13034 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13035 else
13036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13037 for as_dir in $PATH
13039 IFS=$as_save_IFS
13040 test -z "$as_dir" && as_dir=.
13041 for ac_exec_ext in '' $ac_executable_extensions; do
13042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13043 ac_cv_prog_ft_devel="freetype-config"
13044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13045 break 2
13047 done
13048 done
13049 IFS=$as_save_IFS
13051 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
13054 ft_devel=$ac_cv_prog_ft_devel
13055 if test -n "$ft_devel"; then
13056 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13057 echo "${ECHO_T}$ft_devel" >&6; }
13058 else
13059 { echo "$as_me:$LINENO: result: no" >&5
13060 echo "${ECHO_T}no" >&6; }
13064 if test "$ft_devel" = "no"
13065 then
13066 # Extract the first word of "freetype2-config", so it can be a program name with args.
13067 set dummy freetype2-config; ac_word=$2
13068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13070 if test "${ac_cv_prog_ft_devel2+set}" = set; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13072 else
13073 if test -n "$ft_devel2"; then
13074 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
13075 else
13076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13077 for as_dir in $PATH
13079 IFS=$as_save_IFS
13080 test -z "$as_dir" && as_dir=.
13081 for ac_exec_ext in '' $ac_executable_extensions; do
13082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13083 ac_cv_prog_ft_devel2="freetype2-config"
13084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13085 break 2
13087 done
13088 done
13089 IFS=$as_save_IFS
13091 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
13094 ft_devel2=$ac_cv_prog_ft_devel2
13095 if test -n "$ft_devel2"; then
13096 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
13097 echo "${ECHO_T}$ft_devel2" >&6; }
13098 else
13099 { echo "$as_me:$LINENO: result: no" >&5
13100 echo "${ECHO_T}no" >&6; }
13104 if test "$ft_devel2" = "freetype2-config"
13105 then
13106 ft_devel=$ft_devel2
13110 if test "$ft_devel" = "no"
13111 then
13112 wine_cv_msg_freetype=yes
13113 else
13114 FREETYPELIBS=`$ft_devel --libs`
13115 FREETYPEINCL=`$ft_devel --cflags`
13116 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
13117 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
13118 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
13119 echo $ECHO_N "(cached) $ECHO_C" >&6
13120 else
13121 ac_check_lib_save_LIBS=$LIBS
13122 LIBS="-lfreetype $FREETYPELIBS $LIBS"
13123 cat >conftest.$ac_ext <<_ACEOF
13124 /* confdefs.h. */
13125 _ACEOF
13126 cat confdefs.h >>conftest.$ac_ext
13127 cat >>conftest.$ac_ext <<_ACEOF
13128 /* end confdefs.h. */
13130 /* Override any GCC internal prototype to avoid an error.
13131 Use char because int might match the return type of a GCC
13132 builtin and then its argument prototype would still apply. */
13133 #ifdef __cplusplus
13134 extern "C"
13135 #endif
13136 char FT_Init_FreeType ();
13138 main ()
13140 return FT_Init_FreeType ();
13142 return 0;
13144 _ACEOF
13145 rm -f conftest.$ac_objext conftest$ac_exeext
13146 if { (ac_try="$ac_link"
13147 case "(($ac_try" in
13148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13149 *) ac_try_echo=$ac_try;;
13150 esac
13151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13152 (eval "$ac_link") 2>conftest.er1
13153 ac_status=$?
13154 grep -v '^ *+' conftest.er1 >conftest.err
13155 rm -f conftest.er1
13156 cat conftest.err >&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); } &&
13159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13160 { (case "(($ac_try" in
13161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13162 *) ac_try_echo=$ac_try;;
13163 esac
13164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13165 (eval "$ac_try") 2>&5
13166 ac_status=$?
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; } &&
13169 { ac_try='test -s conftest$ac_exeext'
13170 { (case "(($ac_try" in
13171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13172 *) ac_try_echo=$ac_try;;
13173 esac
13174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13175 (eval "$ac_try") 2>&5
13176 ac_status=$?
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); }; }; then
13179 ac_cv_lib_freetype_FT_Init_FreeType=yes
13180 else
13181 echo "$as_me: failed program was:" >&5
13182 sed 's/^/| /' conftest.$ac_ext >&5
13184 ac_cv_lib_freetype_FT_Init_FreeType=no
13187 rm -f core conftest.err conftest.$ac_objext \
13188 conftest$ac_exeext conftest.$ac_ext
13189 LIBS=$ac_check_lib_save_LIBS
13191 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
13192 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
13193 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
13194 ft_lib=yes
13195 else
13196 ft_lib=no
13199 if test "$ft_lib" = "no"
13200 then
13201 wine_cv_msg_freetype=yes
13202 FREETYPELIBS=""
13203 FREETYPEINCL=""
13204 else
13205 ac_save_CPPFLAGS="$CPPFLAGS"
13206 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
13218 for ac_header in ft2build.h \
13219 freetype/freetype.h \
13220 freetype/ftglyph.h \
13221 freetype/tttables.h \
13222 freetype/ftnames.h \
13223 freetype/ftsnames.h \
13224 freetype/ttnameid.h \
13225 freetype/ftoutln.h \
13226 freetype/ftwinfnt.h \
13227 freetype/ftmodapi.h \
13228 freetype/internal/sfnt.h
13230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13231 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13233 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13234 echo $ECHO_N "(cached) $ECHO_C" >&6
13235 else
13236 cat >conftest.$ac_ext <<_ACEOF
13237 /* confdefs.h. */
13238 _ACEOF
13239 cat confdefs.h >>conftest.$ac_ext
13240 cat >>conftest.$ac_ext <<_ACEOF
13241 /* end confdefs.h. */
13242 #if HAVE_FT2BUILD_H
13243 #include <ft2build.h>
13244 #endif
13246 #include <$ac_header>
13247 _ACEOF
13248 rm -f conftest.$ac_objext
13249 if { (ac_try="$ac_compile"
13250 case "(($ac_try" in
13251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13252 *) ac_try_echo=$ac_try;;
13253 esac
13254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13255 (eval "$ac_compile") 2>conftest.er1
13256 ac_status=$?
13257 grep -v '^ *+' conftest.er1 >conftest.err
13258 rm -f conftest.er1
13259 cat conftest.err >&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); } &&
13262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13263 { (case "(($ac_try" in
13264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13265 *) ac_try_echo=$ac_try;;
13266 esac
13267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13268 (eval "$ac_try") 2>&5
13269 ac_status=$?
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); }; } &&
13272 { ac_try='test -s conftest.$ac_objext'
13273 { (case "(($ac_try" in
13274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13275 *) ac_try_echo=$ac_try;;
13276 esac
13277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13278 (eval "$ac_try") 2>&5
13279 ac_status=$?
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); }; }; then
13282 eval "$as_ac_Header=yes"
13283 else
13284 echo "$as_me: failed program was:" >&5
13285 sed 's/^/| /' conftest.$ac_ext >&5
13287 eval "$as_ac_Header=no"
13290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13292 ac_res=`eval echo '${'$as_ac_Header'}'`
13293 { echo "$as_me:$LINENO: result: $ac_res" >&5
13294 echo "${ECHO_T}$ac_res" >&6; }
13295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13296 cat >>confdefs.h <<_ACEOF
13297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13298 _ACEOF
13302 done
13304 cat >conftest.$ac_ext <<_ACEOF
13305 /* confdefs.h. */
13306 _ACEOF
13307 cat confdefs.h >>conftest.$ac_ext
13308 cat >>conftest.$ac_ext <<_ACEOF
13309 /* end confdefs.h. */
13310 #include <ft2build.h>
13311 #include <freetype/fttrigon.h>
13312 _ACEOF
13313 if { (ac_try="$ac_cpp conftest.$ac_ext"
13314 case "(($ac_try" in
13315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13316 *) ac_try_echo=$ac_try;;
13317 esac
13318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13319 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13320 ac_status=$?
13321 grep -v '^ *+' conftest.er1 >conftest.err
13322 rm -f conftest.er1
13323 cat conftest.err >&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } >/dev/null; then
13326 if test -s conftest.err; then
13327 ac_cpp_err=$ac_c_preproc_warn_flag
13328 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13329 else
13330 ac_cpp_err=
13332 else
13333 ac_cpp_err=yes
13335 if test -z "$ac_cpp_err"; then
13337 cat >>confdefs.h <<\_ACEOF
13338 #define HAVE_FREETYPE_FTTRIGON_H 1
13339 _ACEOF
13341 wine_cv_fttrigon=yes
13342 else
13343 echo "$as_me: failed program was:" >&5
13344 sed 's/^/| /' conftest.$ac_ext >&5
13346 wine_cv_fttrigon=no
13349 rm -f conftest.err conftest.$ac_ext
13350 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13351 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13352 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13354 else
13355 cat >conftest.$ac_ext <<_ACEOF
13356 /* confdefs.h. */
13357 _ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13361 #include <freetype/ftmodapi.h>
13363 typedef FT_TrueTypeEngineType ac__type_new_;
13365 main ()
13367 if ((ac__type_new_ *) 0)
13368 return 0;
13369 if (sizeof (ac__type_new_))
13370 return 0;
13372 return 0;
13374 _ACEOF
13375 rm -f conftest.$ac_objext
13376 if { (ac_try="$ac_compile"
13377 case "(($ac_try" in
13378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13379 *) ac_try_echo=$ac_try;;
13380 esac
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 (eval "$ac_compile") 2>conftest.er1
13383 ac_status=$?
13384 grep -v '^ *+' conftest.er1 >conftest.err
13385 rm -f conftest.er1
13386 cat conftest.err >&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); } &&
13389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13390 { (case "(($ac_try" in
13391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13392 *) ac_try_echo=$ac_try;;
13393 esac
13394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13395 (eval "$ac_try") 2>&5
13396 ac_status=$?
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; } &&
13399 { ac_try='test -s conftest.$ac_objext'
13400 { (case "(($ac_try" in
13401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13402 *) ac_try_echo=$ac_try;;
13403 esac
13404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13405 (eval "$ac_try") 2>&5
13406 ac_status=$?
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); }; }; then
13409 ac_cv_type_FT_TrueTypeEngineType=yes
13410 else
13411 echo "$as_me: failed program was:" >&5
13412 sed 's/^/| /' conftest.$ac_ext >&5
13414 ac_cv_type_FT_TrueTypeEngineType=no
13417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13419 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13420 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13421 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13423 cat >>confdefs.h <<_ACEOF
13424 #define HAVE_FT_TRUETYPEENGINETYPE 1
13425 _ACEOF
13430 ac_save_CFLAGS="$CFLAGS"
13431 CFLAGS="$CFLAGS $FREETYPELIBS"
13433 for ac_func in FT_Load_Sfnt_Table
13435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13436 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13438 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13439 echo $ECHO_N "(cached) $ECHO_C" >&6
13440 else
13441 cat >conftest.$ac_ext <<_ACEOF
13442 /* confdefs.h. */
13443 _ACEOF
13444 cat confdefs.h >>conftest.$ac_ext
13445 cat >>conftest.$ac_ext <<_ACEOF
13446 /* end confdefs.h. */
13447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13449 #define $ac_func innocuous_$ac_func
13451 /* System header to define __stub macros and hopefully few prototypes,
13452 which can conflict with char $ac_func (); below.
13453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13454 <limits.h> exists even on freestanding compilers. */
13456 #ifdef __STDC__
13457 # include <limits.h>
13458 #else
13459 # include <assert.h>
13460 #endif
13462 #undef $ac_func
13464 /* Override any GCC internal prototype to avoid an error.
13465 Use char because int might match the return type of a GCC
13466 builtin and then its argument prototype would still apply. */
13467 #ifdef __cplusplus
13468 extern "C"
13469 #endif
13470 char $ac_func ();
13471 /* The GNU C library defines this for functions which it implements
13472 to always fail with ENOSYS. Some functions are actually named
13473 something starting with __ and the normal name is an alias. */
13474 #if defined __stub_$ac_func || defined __stub___$ac_func
13475 choke me
13476 #endif
13479 main ()
13481 return $ac_func ();
13483 return 0;
13485 _ACEOF
13486 rm -f conftest.$ac_objext conftest$ac_exeext
13487 if { (ac_try="$ac_link"
13488 case "(($ac_try" in
13489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13490 *) ac_try_echo=$ac_try;;
13491 esac
13492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13493 (eval "$ac_link") 2>conftest.er1
13494 ac_status=$?
13495 grep -v '^ *+' conftest.er1 >conftest.err
13496 rm -f conftest.er1
13497 cat conftest.err >&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13501 { (case "(($ac_try" in
13502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13503 *) ac_try_echo=$ac_try;;
13504 esac
13505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13506 (eval "$ac_try") 2>&5
13507 ac_status=$?
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); }; } &&
13510 { ac_try='test -s conftest$ac_exeext'
13511 { (case "(($ac_try" in
13512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13513 *) ac_try_echo=$ac_try;;
13514 esac
13515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13516 (eval "$ac_try") 2>&5
13517 ac_status=$?
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; }; then
13520 eval "$as_ac_var=yes"
13521 else
13522 echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.$ac_ext >&5
13525 eval "$as_ac_var=no"
13528 rm -f core conftest.err conftest.$ac_objext \
13529 conftest$ac_exeext conftest.$ac_ext
13531 ac_res=`eval echo '${'$as_ac_var'}'`
13532 { echo "$as_me:$LINENO: result: $ac_res" >&5
13533 echo "${ECHO_T}$ac_res" >&6; }
13534 if test `eval echo '${'$as_ac_var'}'` = yes; then
13535 cat >>confdefs.h <<_ACEOF
13536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13537 _ACEOF
13540 done
13542 CFLAGS="$ac_save_CFLAGS"
13543 CPPFLAGS="$ac_save_CPPFLAGS"
13544 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13545 then
13547 cat >>confdefs.h <<\_ACEOF
13548 #define HAVE_FREETYPE 1
13549 _ACEOF
13551 wine_cv_msg_freetype=no
13552 else
13553 FREETYPELIBS=""
13554 FREETYPEINCL=""
13555 wine_cv_msg_freetype=yes
13560 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13561 then
13562 FONTSSUBDIRS="fonts"
13566 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13567 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13568 if test "${ac_cv_c_ppdev+set}" = set; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13570 else
13571 cat >conftest.$ac_ext <<_ACEOF
13572 /* confdefs.h. */
13573 _ACEOF
13574 cat confdefs.h >>conftest.$ac_ext
13575 cat >>conftest.$ac_ext <<_ACEOF
13576 /* end confdefs.h. */
13577 #include <linux/ppdev.h>
13579 main ()
13581 ioctl (1,PPCLAIM,0)
13583 return 0;
13585 _ACEOF
13586 rm -f conftest.$ac_objext
13587 if { (ac_try="$ac_compile"
13588 case "(($ac_try" in
13589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13590 *) ac_try_echo=$ac_try;;
13591 esac
13592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13593 (eval "$ac_compile") 2>conftest.er1
13594 ac_status=$?
13595 grep -v '^ *+' conftest.er1 >conftest.err
13596 rm -f conftest.er1
13597 cat conftest.err >&5
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); } &&
13600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13601 { (case "(($ac_try" in
13602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13603 *) ac_try_echo=$ac_try;;
13604 esac
13605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13606 (eval "$ac_try") 2>&5
13607 ac_status=$?
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; } &&
13610 { ac_try='test -s conftest.$ac_objext'
13611 { (case "(($ac_try" in
13612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13613 *) ac_try_echo=$ac_try;;
13614 esac
13615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13616 (eval "$ac_try") 2>&5
13617 ac_status=$?
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); }; }; then
13620 ac_cv_c_ppdev="yes"
13621 else
13622 echo "$as_me: failed program was:" >&5
13623 sed 's/^/| /' conftest.$ac_ext >&5
13625 ac_cv_c_ppdev="no"
13628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13631 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13632 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13633 if test "$ac_cv_c_ppdev" = "yes"
13634 then
13636 cat >>confdefs.h <<\_ACEOF
13637 #define HAVE_PPDEV 1
13638 _ACEOF
13642 { echo "$as_me:$LINENO: checking for va_copy" >&5
13643 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13644 if test "${ac_cv_c_va_copy+set}" = set; then
13645 echo $ECHO_N "(cached) $ECHO_C" >&6
13646 else
13647 cat >conftest.$ac_ext <<_ACEOF
13648 /* confdefs.h. */
13649 _ACEOF
13650 cat confdefs.h >>conftest.$ac_ext
13651 cat >>conftest.$ac_ext <<_ACEOF
13652 /* end confdefs.h. */
13653 #include <stdarg.h>
13655 main ()
13657 va_list ap1, ap2;
13658 va_copy(ap1,ap2);
13661 return 0;
13663 _ACEOF
13664 rm -f conftest.$ac_objext conftest$ac_exeext
13665 if { (ac_try="$ac_link"
13666 case "(($ac_try" in
13667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13668 *) ac_try_echo=$ac_try;;
13669 esac
13670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13671 (eval "$ac_link") 2>conftest.er1
13672 ac_status=$?
13673 grep -v '^ *+' conftest.er1 >conftest.err
13674 rm -f conftest.er1
13675 cat conftest.err >&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } &&
13678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13679 { (case "(($ac_try" in
13680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13681 *) ac_try_echo=$ac_try;;
13682 esac
13683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13684 (eval "$ac_try") 2>&5
13685 ac_status=$?
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); }; } &&
13688 { ac_try='test -s conftest$ac_exeext'
13689 { (case "(($ac_try" in
13690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13691 *) ac_try_echo=$ac_try;;
13692 esac
13693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13694 (eval "$ac_try") 2>&5
13695 ac_status=$?
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); }; }; then
13698 ac_cv_c_va_copy="yes"
13699 else
13700 echo "$as_me: failed program was:" >&5
13701 sed 's/^/| /' conftest.$ac_ext >&5
13703 ac_cv_c_va_copy="no"
13706 rm -f core conftest.err conftest.$ac_objext \
13707 conftest$ac_exeext conftest.$ac_ext
13710 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13711 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13712 if test "$ac_cv_c_va_copy" = "yes"
13713 then
13715 cat >>confdefs.h <<\_ACEOF
13716 #define HAVE_VA_COPY 1
13717 _ACEOF
13720 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13721 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13722 if test "${ac_cv_c___va_copy+set}" = set; then
13723 echo $ECHO_N "(cached) $ECHO_C" >&6
13724 else
13725 cat >conftest.$ac_ext <<_ACEOF
13726 /* confdefs.h. */
13727 _ACEOF
13728 cat confdefs.h >>conftest.$ac_ext
13729 cat >>conftest.$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 #include <stdarg.h>
13733 main ()
13735 va_list ap1, ap2;
13736 __va_copy(ap1,ap2);
13739 return 0;
13741 _ACEOF
13742 rm -f conftest.$ac_objext conftest$ac_exeext
13743 if { (ac_try="$ac_link"
13744 case "(($ac_try" in
13745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13746 *) ac_try_echo=$ac_try;;
13747 esac
13748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13749 (eval "$ac_link") 2>conftest.er1
13750 ac_status=$?
13751 grep -v '^ *+' conftest.er1 >conftest.err
13752 rm -f conftest.er1
13753 cat conftest.err >&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } &&
13756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13757 { (case "(($ac_try" in
13758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13759 *) ac_try_echo=$ac_try;;
13760 esac
13761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13762 (eval "$ac_try") 2>&5
13763 ac_status=$?
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); }; } &&
13766 { ac_try='test -s conftest$ac_exeext'
13767 { (case "(($ac_try" in
13768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13769 *) ac_try_echo=$ac_try;;
13770 esac
13771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13772 (eval "$ac_try") 2>&5
13773 ac_status=$?
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; }; then
13776 ac_cv_c___va_copy="yes"
13777 else
13778 echo "$as_me: failed program was:" >&5
13779 sed 's/^/| /' conftest.$ac_ext >&5
13781 ac_cv_c___va_copy="no"
13784 rm -f core conftest.err conftest.$ac_objext \
13785 conftest$ac_exeext conftest.$ac_ext
13788 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13789 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13790 if test "$ac_cv_c___va_copy" = "yes"
13791 then
13793 cat >>confdefs.h <<\_ACEOF
13794 #define HAVE___VA_COPY 1
13795 _ACEOF
13799 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13800 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13801 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13802 echo $ECHO_N "(cached) $ECHO_C" >&6
13803 else
13804 cat >conftest.$ac_ext <<_ACEOF
13805 /* confdefs.h. */
13806 _ACEOF
13807 cat confdefs.h >>conftest.$ac_ext
13808 cat >>conftest.$ac_ext <<_ACEOF
13809 /* end confdefs.h. */
13810 #include <setjmp.h>
13812 main ()
13814 sigjmp_buf buf;
13815 sigsetjmp( buf, 1 );
13816 siglongjmp( buf, 1 );
13818 return 0;
13820 _ACEOF
13821 rm -f conftest.$ac_objext conftest$ac_exeext
13822 if { (ac_try="$ac_link"
13823 case "(($ac_try" in
13824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13825 *) ac_try_echo=$ac_try;;
13826 esac
13827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13828 (eval "$ac_link") 2>conftest.er1
13829 ac_status=$?
13830 grep -v '^ *+' conftest.er1 >conftest.err
13831 rm -f conftest.er1
13832 cat conftest.err >&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); } &&
13835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13836 { (case "(($ac_try" in
13837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13838 *) ac_try_echo=$ac_try;;
13839 esac
13840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13841 (eval "$ac_try") 2>&5
13842 ac_status=$?
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 (exit $ac_status); }; } &&
13845 { ac_try='test -s conftest$ac_exeext'
13846 { (case "(($ac_try" in
13847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13848 *) ac_try_echo=$ac_try;;
13849 esac
13850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13851 (eval "$ac_try") 2>&5
13852 ac_status=$?
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; }; then
13855 ac_cv_c_sigsetjmp="yes"
13856 else
13857 echo "$as_me: failed program was:" >&5
13858 sed 's/^/| /' conftest.$ac_ext >&5
13860 ac_cv_c_sigsetjmp="no"
13863 rm -f core conftest.err conftest.$ac_objext \
13864 conftest$ac_exeext conftest.$ac_ext
13867 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13868 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13869 if test "$ac_cv_c_sigsetjmp" = "yes"
13870 then
13872 cat >>confdefs.h <<\_ACEOF
13873 #define HAVE_SIGSETJMP 1
13874 _ACEOF
13878 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13879 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13880 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13881 echo $ECHO_N "(cached) $ECHO_C" >&6
13882 else
13883 cat >conftest.$ac_ext <<_ACEOF
13884 /* confdefs.h. */
13885 _ACEOF
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13889 #define _GNU_SOURCE
13890 #include <pthread.h>
13892 typedef pthread_rwlock_t ac__type_new_;
13894 main ()
13896 if ((ac__type_new_ *) 0)
13897 return 0;
13898 if (sizeof (ac__type_new_))
13899 return 0;
13901 return 0;
13903 _ACEOF
13904 rm -f conftest.$ac_objext
13905 if { (ac_try="$ac_compile"
13906 case "(($ac_try" in
13907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13908 *) ac_try_echo=$ac_try;;
13909 esac
13910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13911 (eval "$ac_compile") 2>conftest.er1
13912 ac_status=$?
13913 grep -v '^ *+' conftest.er1 >conftest.err
13914 rm -f conftest.er1
13915 cat conftest.err >&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } &&
13918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13919 { (case "(($ac_try" in
13920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13921 *) ac_try_echo=$ac_try;;
13922 esac
13923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13924 (eval "$ac_try") 2>&5
13925 ac_status=$?
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); }; } &&
13928 { ac_try='test -s conftest.$ac_objext'
13929 { (case "(($ac_try" in
13930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13931 *) ac_try_echo=$ac_try;;
13932 esac
13933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13934 (eval "$ac_try") 2>&5
13935 ac_status=$?
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; }; then
13938 ac_cv_type_pthread_rwlock_t=yes
13939 else
13940 echo "$as_me: failed program was:" >&5
13941 sed 's/^/| /' conftest.$ac_ext >&5
13943 ac_cv_type_pthread_rwlock_t=no
13946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13948 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13949 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13950 if test $ac_cv_type_pthread_rwlock_t = yes; then
13952 cat >>confdefs.h <<_ACEOF
13953 #define HAVE_PTHREAD_RWLOCK_T 1
13954 _ACEOF
13958 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13959 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13960 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13961 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 else
13963 cat >conftest.$ac_ext <<_ACEOF
13964 /* confdefs.h. */
13965 _ACEOF
13966 cat confdefs.h >>conftest.$ac_ext
13967 cat >>conftest.$ac_ext <<_ACEOF
13968 /* end confdefs.h. */
13969 #define _GNU_SOURCE
13970 #include <pthread.h>
13972 typedef pthread_rwlockattr_t ac__type_new_;
13974 main ()
13976 if ((ac__type_new_ *) 0)
13977 return 0;
13978 if (sizeof (ac__type_new_))
13979 return 0;
13981 return 0;
13983 _ACEOF
13984 rm -f conftest.$ac_objext
13985 if { (ac_try="$ac_compile"
13986 case "(($ac_try" in
13987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13988 *) ac_try_echo=$ac_try;;
13989 esac
13990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13991 (eval "$ac_compile") 2>conftest.er1
13992 ac_status=$?
13993 grep -v '^ *+' conftest.er1 >conftest.err
13994 rm -f conftest.er1
13995 cat conftest.err >&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); } &&
13998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13999 { (case "(($ac_try" in
14000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14001 *) ac_try_echo=$ac_try;;
14002 esac
14003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14004 (eval "$ac_try") 2>&5
14005 ac_status=$?
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); }; } &&
14008 { ac_try='test -s conftest.$ac_objext'
14009 { (case "(($ac_try" in
14010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14011 *) ac_try_echo=$ac_try;;
14012 esac
14013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14014 (eval "$ac_try") 2>&5
14015 ac_status=$?
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); }; }; then
14018 ac_cv_type_pthread_rwlockattr_t=yes
14019 else
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.$ac_ext >&5
14023 ac_cv_type_pthread_rwlockattr_t=no
14026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14028 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14029 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14030 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14032 cat >>confdefs.h <<_ACEOF
14033 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14034 _ACEOF
14040 ac_wine_check_funcs_save_LIBS="$LIBS"
14041 LIBS="$LIBS $LIBPTHREAD"
14046 for ac_func in \
14047 pthread_attr_get_np \
14048 pthread_getattr_np \
14049 pthread_get_stackaddr_np \
14050 pthread_get_stacksize_np
14052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14053 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14055 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 else
14058 cat >conftest.$ac_ext <<_ACEOF
14059 /* confdefs.h. */
14060 _ACEOF
14061 cat confdefs.h >>conftest.$ac_ext
14062 cat >>conftest.$ac_ext <<_ACEOF
14063 /* end confdefs.h. */
14064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14066 #define $ac_func innocuous_$ac_func
14068 /* System header to define __stub macros and hopefully few prototypes,
14069 which can conflict with char $ac_func (); below.
14070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14071 <limits.h> exists even on freestanding compilers. */
14073 #ifdef __STDC__
14074 # include <limits.h>
14075 #else
14076 # include <assert.h>
14077 #endif
14079 #undef $ac_func
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14084 #ifdef __cplusplus
14085 extern "C"
14086 #endif
14087 char $ac_func ();
14088 /* The GNU C library defines this for functions which it implements
14089 to always fail with ENOSYS. Some functions are actually named
14090 something starting with __ and the normal name is an alias. */
14091 #if defined __stub_$ac_func || defined __stub___$ac_func
14092 choke me
14093 #endif
14096 main ()
14098 return $ac_func ();
14100 return 0;
14102 _ACEOF
14103 rm -f conftest.$ac_objext conftest$ac_exeext
14104 if { (ac_try="$ac_link"
14105 case "(($ac_try" in
14106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14107 *) ac_try_echo=$ac_try;;
14108 esac
14109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14110 (eval "$ac_link") 2>conftest.er1
14111 ac_status=$?
14112 grep -v '^ *+' conftest.er1 >conftest.err
14113 rm -f conftest.er1
14114 cat conftest.err >&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } &&
14117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14118 { (case "(($ac_try" in
14119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14120 *) ac_try_echo=$ac_try;;
14121 esac
14122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14123 (eval "$ac_try") 2>&5
14124 ac_status=$?
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); }; } &&
14127 { ac_try='test -s conftest$ac_exeext'
14128 { (case "(($ac_try" in
14129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14130 *) ac_try_echo=$ac_try;;
14131 esac
14132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14133 (eval "$ac_try") 2>&5
14134 ac_status=$?
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); }; }; then
14137 eval "$as_ac_var=yes"
14138 else
14139 echo "$as_me: failed program was:" >&5
14140 sed 's/^/| /' conftest.$ac_ext >&5
14142 eval "$as_ac_var=no"
14145 rm -f core conftest.err conftest.$ac_objext \
14146 conftest$ac_exeext conftest.$ac_ext
14148 ac_res=`eval echo '${'$as_ac_var'}'`
14149 { echo "$as_me:$LINENO: result: $ac_res" >&5
14150 echo "${ECHO_T}$ac_res" >&6; }
14151 if test `eval echo '${'$as_ac_var'}'` = yes; then
14152 cat >>confdefs.h <<_ACEOF
14153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14154 _ACEOF
14157 done
14159 LIBS="$ac_wine_check_funcs_save_LIBS"
14161 # Extract the first word of "artsc-config", so it can be a program name with args.
14162 set dummy artsc-config; ac_word=$2
14163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14165 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
14166 echo $ECHO_N "(cached) $ECHO_C" >&6
14167 else
14168 case $ARTSCCONFIG in
14169 [\\/]* | ?:[\\/]*)
14170 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
14173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14174 for as_dir in $PATH
14176 IFS=$as_save_IFS
14177 test -z "$as_dir" && as_dir=.
14178 for ac_exec_ext in '' $ac_executable_extensions; do
14179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14180 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
14181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14182 break 2
14184 done
14185 done
14186 IFS=$as_save_IFS
14189 esac
14191 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
14192 if test -n "$ARTSCCONFIG"; then
14193 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
14194 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
14195 else
14196 { echo "$as_me:$LINENO: result: no" >&5
14197 echo "${ECHO_T}no" >&6; }
14201 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
14202 then
14203 ARTSC_CFLAGS=""
14204 for i in `$ARTSCCONFIG --cflags`
14206 case "$i" in
14207 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
14208 esac
14209 done
14210 ARTSC_LIBS=""
14211 for i in `$ARTSCCONFIG --libs`
14213 case "$i" in
14214 -L/usr/lib|-L/usr/lib64) ;;
14215 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
14216 esac
14217 done
14218 save_CFLAGS="$CFLAGS"
14219 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
14220 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
14221 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
14222 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
14223 echo $ECHO_N "(cached) $ECHO_C" >&6
14224 else
14225 ac_check_lib_save_LIBS=$LIBS
14226 LIBS="-lartsc $ARTSC_LIBS $LIBS"
14227 cat >conftest.$ac_ext <<_ACEOF
14228 /* confdefs.h. */
14229 _ACEOF
14230 cat confdefs.h >>conftest.$ac_ext
14231 cat >>conftest.$ac_ext <<_ACEOF
14232 /* end confdefs.h. */
14234 /* Override any GCC internal prototype to avoid an error.
14235 Use char because int might match the return type of a GCC
14236 builtin and then its argument prototype would still apply. */
14237 #ifdef __cplusplus
14238 extern "C"
14239 #endif
14240 char arts_init ();
14242 main ()
14244 return arts_init ();
14246 return 0;
14248 _ACEOF
14249 rm -f conftest.$ac_objext conftest$ac_exeext
14250 if { (ac_try="$ac_link"
14251 case "(($ac_try" in
14252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14253 *) ac_try_echo=$ac_try;;
14254 esac
14255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14256 (eval "$ac_link") 2>conftest.er1
14257 ac_status=$?
14258 grep -v '^ *+' conftest.er1 >conftest.err
14259 rm -f conftest.er1
14260 cat conftest.err >&5
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); } &&
14263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14264 { (case "(($ac_try" in
14265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14266 *) ac_try_echo=$ac_try;;
14267 esac
14268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14269 (eval "$ac_try") 2>&5
14270 ac_status=$?
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try='test -s conftest$ac_exeext'
14274 { (case "(($ac_try" in
14275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14276 *) ac_try_echo=$ac_try;;
14277 esac
14278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14279 (eval "$ac_try") 2>&5
14280 ac_status=$?
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); }; }; then
14283 ac_cv_lib_artsc_arts_init=yes
14284 else
14285 echo "$as_me: failed program was:" >&5
14286 sed 's/^/| /' conftest.$ac_ext >&5
14288 ac_cv_lib_artsc_arts_init=no
14291 rm -f core conftest.err conftest.$ac_objext \
14292 conftest$ac_exeext conftest.$ac_ext
14293 LIBS=$ac_check_lib_save_LIBS
14295 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
14296 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
14297 if test $ac_cv_lib_artsc_arts_init = yes; then
14298 cat >conftest.$ac_ext <<_ACEOF
14299 /* confdefs.h. */
14300 _ACEOF
14301 cat confdefs.h >>conftest.$ac_ext
14302 cat >>conftest.$ac_ext <<_ACEOF
14303 /* end confdefs.h. */
14304 #include <artsc.h>
14306 main ()
14308 arts_stream_t stream;
14310 return 0;
14312 _ACEOF
14313 rm -f conftest.$ac_objext
14314 if { (ac_try="$ac_compile"
14315 case "(($ac_try" in
14316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14317 *) ac_try_echo=$ac_try;;
14318 esac
14319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14320 (eval "$ac_compile") 2>conftest.er1
14321 ac_status=$?
14322 grep -v '^ *+' conftest.er1 >conftest.err
14323 rm -f conftest.er1
14324 cat conftest.err >&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); } &&
14327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14328 { (case "(($ac_try" in
14329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14330 *) ac_try_echo=$ac_try;;
14331 esac
14332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14333 (eval "$ac_try") 2>&5
14334 ac_status=$?
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }; } &&
14337 { ac_try='test -s conftest.$ac_objext'
14338 { (case "(($ac_try" in
14339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14340 *) ac_try_echo=$ac_try;;
14341 esac
14342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14343 (eval "$ac_try") 2>&5
14344 ac_status=$?
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); }; }; then
14347 ARTSLIBS=$ARTSC_LIBS
14349 ARTSINCL=$ARTSC_CFLAGS
14352 cat >>confdefs.h <<\_ACEOF
14353 #define HAVE_ARTS 1
14354 _ACEOF
14356 else
14357 echo "$as_me: failed program was:" >&5
14358 sed 's/^/| /' conftest.$ac_ext >&5
14363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14366 CFLAGS="$save_CFLAGS"
14369 # Extract the first word of "esd-config", so it can be a program name with args.
14370 set dummy esd-config; ac_word=$2
14371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14373 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14374 echo $ECHO_N "(cached) $ECHO_C" >&6
14375 else
14376 case $ESDCONFIG in
14377 [\\/]* | ?:[\\/]*)
14378 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14382 for as_dir in $PATH
14384 IFS=$as_save_IFS
14385 test -z "$as_dir" && as_dir=.
14386 for ac_exec_ext in '' $ac_executable_extensions; do
14387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14388 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14390 break 2
14392 done
14393 done
14394 IFS=$as_save_IFS
14397 esac
14399 ESDCONFIG=$ac_cv_path_ESDCONFIG
14400 if test -n "$ESDCONFIG"; then
14401 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14402 echo "${ECHO_T}$ESDCONFIG" >&6; }
14403 else
14404 { echo "$as_me:$LINENO: result: no" >&5
14405 echo "${ECHO_T}no" >&6; }
14409 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
14410 then
14411 ESD_CFLAGS=""
14412 for i in `$ESDCONFIG --cflags`
14414 case "$i" in
14415 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14416 esac
14417 done
14418 ESD_LIBS=`$ESDCONFIG --libs`
14419 save_CFLAGS="$CFLAGS"
14420 CFLAGS="$CFLAGS $ESD_CFLAGS"
14421 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14422 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14423 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 else
14426 ac_check_lib_save_LIBS=$LIBS
14427 LIBS="-lesd $LIBS"
14428 cat >conftest.$ac_ext <<_ACEOF
14429 /* confdefs.h. */
14430 _ACEOF
14431 cat confdefs.h >>conftest.$ac_ext
14432 cat >>conftest.$ac_ext <<_ACEOF
14433 /* end confdefs.h. */
14435 /* Override any GCC internal prototype to avoid an error.
14436 Use char because int might match the return type of a GCC
14437 builtin and then its argument prototype would still apply. */
14438 #ifdef __cplusplus
14439 extern "C"
14440 #endif
14441 char esd_open_sound ();
14443 main ()
14445 return esd_open_sound ();
14447 return 0;
14449 _ACEOF
14450 rm -f conftest.$ac_objext conftest$ac_exeext
14451 if { (ac_try="$ac_link"
14452 case "(($ac_try" in
14453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14454 *) ac_try_echo=$ac_try;;
14455 esac
14456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14457 (eval "$ac_link") 2>conftest.er1
14458 ac_status=$?
14459 grep -v '^ *+' conftest.er1 >conftest.err
14460 rm -f conftest.er1
14461 cat conftest.err >&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); } &&
14464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14465 { (case "(($ac_try" in
14466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14467 *) ac_try_echo=$ac_try;;
14468 esac
14469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14470 (eval "$ac_try") 2>&5
14471 ac_status=$?
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; } &&
14474 { ac_try='test -s conftest$ac_exeext'
14475 { (case "(($ac_try" in
14476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14477 *) ac_try_echo=$ac_try;;
14478 esac
14479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14480 (eval "$ac_try") 2>&5
14481 ac_status=$?
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }; }; then
14484 ac_cv_lib_esd_esd_open_sound=yes
14485 else
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.$ac_ext >&5
14489 ac_cv_lib_esd_esd_open_sound=no
14492 rm -f core conftest.err conftest.$ac_objext \
14493 conftest$ac_exeext conftest.$ac_ext
14494 LIBS=$ac_check_lib_save_LIBS
14496 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14497 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14498 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14499 ESDLIBS=$ESD_LIBS
14501 ESDINCL=$ESD_CFLAGS
14504 cat >>confdefs.h <<\_ACEOF
14505 #define HAVE_ESD 1
14506 _ACEOF
14510 CFLAGS="$save_CFLAGS"
14513 ALSALIBS=""
14515 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14516 then
14517 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14518 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14519 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14520 echo $ECHO_N "(cached) $ECHO_C" >&6
14521 else
14522 ac_check_lib_save_LIBS=$LIBS
14523 LIBS="-lasound $LIBS"
14524 cat >conftest.$ac_ext <<_ACEOF
14525 /* confdefs.h. */
14526 _ACEOF
14527 cat confdefs.h >>conftest.$ac_ext
14528 cat >>conftest.$ac_ext <<_ACEOF
14529 /* end confdefs.h. */
14531 /* Override any GCC internal prototype to avoid an error.
14532 Use char because int might match the return type of a GCC
14533 builtin and then its argument prototype would still apply. */
14534 #ifdef __cplusplus
14535 extern "C"
14536 #endif
14537 char snd_pcm_hw_params_get_access ();
14539 main ()
14541 return snd_pcm_hw_params_get_access ();
14543 return 0;
14545 _ACEOF
14546 rm -f conftest.$ac_objext conftest$ac_exeext
14547 if { (ac_try="$ac_link"
14548 case "(($ac_try" in
14549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14550 *) ac_try_echo=$ac_try;;
14551 esac
14552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14553 (eval "$ac_link") 2>conftest.er1
14554 ac_status=$?
14555 grep -v '^ *+' conftest.er1 >conftest.err
14556 rm -f conftest.er1
14557 cat conftest.err >&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); } &&
14560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14561 { (case "(($ac_try" in
14562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14563 *) ac_try_echo=$ac_try;;
14564 esac
14565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14566 (eval "$ac_try") 2>&5
14567 ac_status=$?
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); }; } &&
14570 { ac_try='test -s conftest$ac_exeext'
14571 { (case "(($ac_try" in
14572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14573 *) ac_try_echo=$ac_try;;
14574 esac
14575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14576 (eval "$ac_try") 2>&5
14577 ac_status=$?
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14581 else
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.$ac_ext >&5
14585 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14588 rm -f core conftest.err conftest.$ac_objext \
14589 conftest$ac_exeext conftest.$ac_ext
14590 LIBS=$ac_check_lib_save_LIBS
14592 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14593 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14594 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14595 cat >conftest.$ac_ext <<_ACEOF
14596 /* confdefs.h. */
14597 _ACEOF
14598 cat confdefs.h >>conftest.$ac_ext
14599 cat >>conftest.$ac_ext <<_ACEOF
14600 /* end confdefs.h. */
14601 #ifdef HAVE_ALSA_ASOUNDLIB_H
14602 #include <alsa/asoundlib.h>
14603 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14604 #include <sys/asoundlib.h>
14605 #endif
14607 main ()
14609 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14611 return 0;
14613 _ACEOF
14614 rm -f conftest.$ac_objext
14615 if { (ac_try="$ac_compile"
14616 case "(($ac_try" in
14617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14618 *) ac_try_echo=$ac_try;;
14619 esac
14620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14621 (eval "$ac_compile") 2>conftest.er1
14622 ac_status=$?
14623 grep -v '^ *+' conftest.er1 >conftest.err
14624 rm -f conftest.er1
14625 cat conftest.err >&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); } &&
14628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14629 { (case "(($ac_try" in
14630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14631 *) ac_try_echo=$ac_try;;
14632 esac
14633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14634 (eval "$ac_try") 2>&5
14635 ac_status=$?
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; } &&
14638 { ac_try='test -s conftest.$ac_objext'
14639 { (case "(($ac_try" in
14640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14641 *) ac_try_echo=$ac_try;;
14642 esac
14643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14644 (eval "$ac_try") 2>&5
14645 ac_status=$?
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; }; then
14649 cat >>confdefs.h <<\_ACEOF
14650 #define HAVE_ALSA 1
14651 _ACEOF
14653 ALSALIBS="-lasound"
14654 else
14655 echo "$as_me: failed program was:" >&5
14656 sed 's/^/| /' conftest.$ac_ext >&5
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14667 AUDIOIOLIBS=""
14669 if test "$ac_cv_header_libaudioio_h" = "yes"
14670 then
14671 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14672 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14673 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14674 echo $ECHO_N "(cached) $ECHO_C" >&6
14675 else
14676 ac_check_lib_save_LIBS=$LIBS
14677 LIBS="-laudioio $LIBS"
14678 cat >conftest.$ac_ext <<_ACEOF
14679 /* confdefs.h. */
14680 _ACEOF
14681 cat confdefs.h >>conftest.$ac_ext
14682 cat >>conftest.$ac_ext <<_ACEOF
14683 /* end confdefs.h. */
14685 /* Override any GCC internal prototype to avoid an error.
14686 Use char because int might match the return type of a GCC
14687 builtin and then its argument prototype would still apply. */
14688 #ifdef __cplusplus
14689 extern "C"
14690 #endif
14691 char AudioIOGetVersion ();
14693 main ()
14695 return AudioIOGetVersion ();
14697 return 0;
14699 _ACEOF
14700 rm -f conftest.$ac_objext conftest$ac_exeext
14701 if { (ac_try="$ac_link"
14702 case "(($ac_try" in
14703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14704 *) ac_try_echo=$ac_try;;
14705 esac
14706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14707 (eval "$ac_link") 2>conftest.er1
14708 ac_status=$?
14709 grep -v '^ *+' conftest.er1 >conftest.err
14710 rm -f conftest.er1
14711 cat conftest.err >&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); } &&
14714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14715 { (case "(($ac_try" in
14716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14717 *) ac_try_echo=$ac_try;;
14718 esac
14719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14720 (eval "$ac_try") 2>&5
14721 ac_status=$?
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; } &&
14724 { ac_try='test -s conftest$ac_exeext'
14725 { (case "(($ac_try" in
14726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14727 *) ac_try_echo=$ac_try;;
14728 esac
14729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14730 (eval "$ac_try") 2>&5
14731 ac_status=$?
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); }; }; then
14734 ac_cv_lib_audioio_AudioIOGetVersion=yes
14735 else
14736 echo "$as_me: failed program was:" >&5
14737 sed 's/^/| /' conftest.$ac_ext >&5
14739 ac_cv_lib_audioio_AudioIOGetVersion=no
14742 rm -f core conftest.err conftest.$ac_objext \
14743 conftest$ac_exeext conftest.$ac_ext
14744 LIBS=$ac_check_lib_save_LIBS
14746 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14747 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14748 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14749 AUDIOIOLIBS="-laudioio"
14751 cat >>confdefs.h <<\_ACEOF
14752 #define HAVE_LIBAUDIOIO 1
14753 _ACEOF
14760 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14761 then
14762 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14763 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14764 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14765 echo $ECHO_N "(cached) $ECHO_C" >&6
14766 else
14767 ac_check_lib_save_LIBS=$LIBS
14768 LIBS="-lcapi20 $LIBS"
14769 cat >conftest.$ac_ext <<_ACEOF
14770 /* confdefs.h. */
14771 _ACEOF
14772 cat confdefs.h >>conftest.$ac_ext
14773 cat >>conftest.$ac_ext <<_ACEOF
14774 /* end confdefs.h. */
14776 /* Override any GCC internal prototype to avoid an error.
14777 Use char because int might match the return type of a GCC
14778 builtin and then its argument prototype would still apply. */
14779 #ifdef __cplusplus
14780 extern "C"
14781 #endif
14782 char capi20_register ();
14784 main ()
14786 return capi20_register ();
14788 return 0;
14790 _ACEOF
14791 rm -f conftest.$ac_objext conftest$ac_exeext
14792 if { (ac_try="$ac_link"
14793 case "(($ac_try" in
14794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14795 *) ac_try_echo=$ac_try;;
14796 esac
14797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14798 (eval "$ac_link") 2>conftest.er1
14799 ac_status=$?
14800 grep -v '^ *+' conftest.er1 >conftest.err
14801 rm -f conftest.er1
14802 cat conftest.err >&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); } &&
14805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14806 { (case "(($ac_try" in
14807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14808 *) ac_try_echo=$ac_try;;
14809 esac
14810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14811 (eval "$ac_try") 2>&5
14812 ac_status=$?
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; } &&
14815 { ac_try='test -s conftest$ac_exeext'
14816 { (case "(($ac_try" in
14817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14818 *) ac_try_echo=$ac_try;;
14819 esac
14820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14821 (eval "$ac_try") 2>&5
14822 ac_status=$?
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; }; then
14825 ac_cv_lib_capi20_capi20_register=yes
14826 else
14827 echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.$ac_ext >&5
14830 ac_cv_lib_capi20_capi20_register=no
14833 rm -f core conftest.err conftest.$ac_objext \
14834 conftest$ac_exeext conftest.$ac_ext
14835 LIBS=$ac_check_lib_save_LIBS
14837 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14838 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14839 if test $ac_cv_lib_capi20_capi20_register = yes; then
14841 cat >>confdefs.h <<\_ACEOF
14842 #define HAVE_CAPI4LINUX 1
14843 _ACEOF
14850 if test "$ac_cv_header_gif_lib_h" = "yes"
14851 then
14852 cat >conftest.$ac_ext <<_ACEOF
14853 /* confdefs.h. */
14854 _ACEOF
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14858 #include <gif_lib.h>
14860 main ()
14862 static typeof(DGifOpen) * func;
14864 return 0;
14866 _ACEOF
14867 rm -f conftest.$ac_objext
14868 if { (ac_try="$ac_compile"
14869 case "(($ac_try" in
14870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14871 *) ac_try_echo=$ac_try;;
14872 esac
14873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14874 (eval "$ac_compile") 2>conftest.er1
14875 ac_status=$?
14876 grep -v '^ *+' conftest.er1 >conftest.err
14877 rm -f conftest.er1
14878 cat conftest.err >&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } &&
14881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14882 { (case "(($ac_try" in
14883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14884 *) ac_try_echo=$ac_try;;
14885 esac
14886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14887 (eval "$ac_try") 2>&5
14888 ac_status=$?
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; } &&
14891 { ac_try='test -s conftest.$ac_objext'
14892 { (case "(($ac_try" in
14893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14894 *) ac_try_echo=$ac_try;;
14895 esac
14896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14897 (eval "$ac_try") 2>&5
14898 ac_status=$?
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; }; then
14902 cat >>confdefs.h <<\_ACEOF
14903 #define HAVE_GIF 1
14904 _ACEOF
14906 else
14907 echo "$as_me: failed program was:" >&5
14908 sed 's/^/| /' conftest.$ac_ext >&5
14913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14917 EXTRACFLAGS=""
14919 if test "x${GCC}" = "xyes"
14920 then
14921 EXTRACFLAGS="-Wall -pipe"
14923 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14924 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14925 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14926 echo $ECHO_N "(cached) $ECHO_C" >&6
14927 else
14928 if test "$cross_compiling" = yes; then
14929 ac_cv_c_gcc_strength_bug="yes"
14930 else
14931 cat >conftest.$ac_ext <<_ACEOF
14932 /* confdefs.h. */
14933 _ACEOF
14934 cat confdefs.h >>conftest.$ac_ext
14935 cat >>conftest.$ac_ext <<_ACEOF
14936 /* end confdefs.h. */
14938 int L[4] = {0,1,2,3};
14939 int main(void) {
14940 static int Array[3];
14941 unsigned int B = 3;
14942 int i;
14943 for(i=0; i<B; i++) Array[i] = i - 3;
14944 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14945 L[i] = 4;
14947 exit( Array[1] != -2 || L[2] != 3);
14949 _ACEOF
14950 rm -f conftest$ac_exeext
14951 if { (ac_try="$ac_link"
14952 case "(($ac_try" in
14953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14955 esac
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_link") 2>&5
14958 ac_status=$?
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14961 { (case "(($ac_try" in
14962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14963 *) ac_try_echo=$ac_try;;
14964 esac
14965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14966 (eval "$ac_try") 2>&5
14967 ac_status=$?
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); }; }; then
14970 ac_cv_c_gcc_strength_bug="no"
14971 else
14972 echo "$as_me: program exited with status $ac_status" >&5
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14976 ( exit $ac_status )
14977 ac_cv_c_gcc_strength_bug="yes"
14979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14984 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14985 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14986 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14987 then
14988 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14991 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
14992 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
14993 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14995 else
14996 ac_wine_try_cflags_saved=$CFLAGS
14997 CFLAGS="$CFLAGS -fshort-wchar"
14998 cat >conftest.$ac_ext <<_ACEOF
14999 /* confdefs.h. */
15000 _ACEOF
15001 cat confdefs.h >>conftest.$ac_ext
15002 cat >>conftest.$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15006 main ()
15010 return 0;
15012 _ACEOF
15013 rm -f conftest.$ac_objext conftest$ac_exeext
15014 if { (ac_try="$ac_link"
15015 case "(($ac_try" in
15016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15017 *) ac_try_echo=$ac_try;;
15018 esac
15019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15020 (eval "$ac_link") 2>conftest.er1
15021 ac_status=$?
15022 grep -v '^ *+' conftest.er1 >conftest.err
15023 rm -f conftest.er1
15024 cat conftest.err >&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); } &&
15027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15028 { (case "(($ac_try" in
15029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15030 *) ac_try_echo=$ac_try;;
15031 esac
15032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15033 (eval "$ac_try") 2>&5
15034 ac_status=$?
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); }; } &&
15037 { ac_try='test -s conftest$ac_exeext'
15038 { (case "(($ac_try" in
15039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15040 *) ac_try_echo=$ac_try;;
15041 esac
15042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15043 (eval "$ac_try") 2>&5
15044 ac_status=$?
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); }; }; then
15047 ac_cv_c_gcc_fshort_wchar="yes"
15048 else
15049 echo "$as_me: failed program was:" >&5
15050 sed 's/^/| /' conftest.$ac_ext >&5
15052 ac_cv_c_gcc_fshort_wchar="no"
15055 rm -f core conftest.err conftest.$ac_objext \
15056 conftest$ac_exeext conftest.$ac_ext
15057 CFLAGS=$ac_wine_try_cflags_saved
15059 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
15060 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
15061 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
15062 then
15064 cat >>confdefs.h <<\_ACEOF
15065 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15066 _ACEOF
15070 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
15071 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
15072 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
15073 echo $ECHO_N "(cached) $ECHO_C" >&6
15074 else
15075 ac_wine_try_cflags_saved=$CFLAGS
15076 CFLAGS="$CFLAGS -fno-strict-aliasing"
15077 cat >conftest.$ac_ext <<_ACEOF
15078 /* confdefs.h. */
15079 _ACEOF
15080 cat confdefs.h >>conftest.$ac_ext
15081 cat >>conftest.$ac_ext <<_ACEOF
15082 /* end confdefs.h. */
15085 main ()
15089 return 0;
15091 _ACEOF
15092 rm -f conftest.$ac_objext conftest$ac_exeext
15093 if { (ac_try="$ac_link"
15094 case "(($ac_try" in
15095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15096 *) ac_try_echo=$ac_try;;
15097 esac
15098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15099 (eval "$ac_link") 2>conftest.er1
15100 ac_status=$?
15101 grep -v '^ *+' conftest.er1 >conftest.err
15102 rm -f conftest.er1
15103 cat conftest.err >&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } &&
15106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15107 { (case "(($ac_try" in
15108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15109 *) ac_try_echo=$ac_try;;
15110 esac
15111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15112 (eval "$ac_try") 2>&5
15113 ac_status=$?
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; } &&
15116 { ac_try='test -s conftest$ac_exeext'
15117 { (case "(($ac_try" in
15118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15119 *) ac_try_echo=$ac_try;;
15120 esac
15121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15122 (eval "$ac_try") 2>&5
15123 ac_status=$?
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); }; }; then
15126 ac_cv_c_gcc_no_strict_aliasing="yes"
15127 else
15128 echo "$as_me: failed program was:" >&5
15129 sed 's/^/| /' conftest.$ac_ext >&5
15131 ac_cv_c_gcc_no_strict_aliasing="no"
15134 rm -f core conftest.err conftest.$ac_objext \
15135 conftest$ac_exeext conftest.$ac_ext
15136 CFLAGS=$ac_wine_try_cflags_saved
15138 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
15139 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
15140 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
15141 then
15142 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15145 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
15146 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
15147 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
15148 echo $ECHO_N "(cached) $ECHO_C" >&6
15149 else
15150 ac_wine_try_cflags_saved=$CFLAGS
15151 CFLAGS="$CFLAGS -gstabs+"
15152 cat >conftest.$ac_ext <<_ACEOF
15153 /* confdefs.h. */
15154 _ACEOF
15155 cat confdefs.h >>conftest.$ac_ext
15156 cat >>conftest.$ac_ext <<_ACEOF
15157 /* end confdefs.h. */
15160 main ()
15164 return 0;
15166 _ACEOF
15167 rm -f conftest.$ac_objext conftest$ac_exeext
15168 if { (ac_try="$ac_link"
15169 case "(($ac_try" in
15170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15171 *) ac_try_echo=$ac_try;;
15172 esac
15173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15174 (eval "$ac_link") 2>conftest.er1
15175 ac_status=$?
15176 grep -v '^ *+' conftest.er1 >conftest.err
15177 rm -f conftest.er1
15178 cat conftest.err >&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); } &&
15181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15182 { (case "(($ac_try" in
15183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15184 *) ac_try_echo=$ac_try;;
15185 esac
15186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15187 (eval "$ac_try") 2>&5
15188 ac_status=$?
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); }; } &&
15191 { ac_try='test -s conftest$ac_exeext'
15192 { (case "(($ac_try" in
15193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15194 *) ac_try_echo=$ac_try;;
15195 esac
15196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15197 (eval "$ac_try") 2>&5
15198 ac_status=$?
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; }; then
15201 ac_cv_c_gcc_gstabs="yes"
15202 else
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.$ac_ext >&5
15206 ac_cv_c_gcc_gstabs="no"
15209 rm -f core conftest.err conftest.$ac_objext \
15210 conftest$ac_exeext conftest.$ac_ext
15211 CFLAGS=$ac_wine_try_cflags_saved
15213 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
15214 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
15215 if test "$ac_cv_c_gcc_gstabs" = "yes"
15216 then
15217 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
15220 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
15221 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
15222 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
15223 echo $ECHO_N "(cached) $ECHO_C" >&6
15224 else
15225 ac_wine_try_cflags_saved=$CFLAGS
15226 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15227 cat >conftest.$ac_ext <<_ACEOF
15228 /* confdefs.h. */
15229 _ACEOF
15230 cat confdefs.h >>conftest.$ac_ext
15231 cat >>conftest.$ac_ext <<_ACEOF
15232 /* end confdefs.h. */
15235 main ()
15239 return 0;
15241 _ACEOF
15242 rm -f conftest.$ac_objext conftest$ac_exeext
15243 if { (ac_try="$ac_link"
15244 case "(($ac_try" in
15245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15246 *) ac_try_echo=$ac_try;;
15247 esac
15248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15249 (eval "$ac_link") 2>conftest.er1
15250 ac_status=$?
15251 grep -v '^ *+' conftest.er1 >conftest.err
15252 rm -f conftest.er1
15253 cat conftest.err >&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); } &&
15256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15257 { (case "(($ac_try" in
15258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15259 *) ac_try_echo=$ac_try;;
15260 esac
15261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15262 (eval "$ac_try") 2>&5
15263 ac_status=$?
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); }; } &&
15266 { ac_try='test -s conftest$ac_exeext'
15267 { (case "(($ac_try" in
15268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15269 *) ac_try_echo=$ac_try;;
15270 esac
15271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15272 (eval "$ac_try") 2>&5
15273 ac_status=$?
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; }; then
15276 ac_cv_c_gcc_decl_after_statement="yes"
15277 else
15278 echo "$as_me: failed program was:" >&5
15279 sed 's/^/| /' conftest.$ac_ext >&5
15281 ac_cv_c_gcc_decl_after_statement="no"
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15286 CFLAGS=$ac_wine_try_cflags_saved
15288 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
15289 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
15290 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
15291 then
15292 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15295 saved_CFLAGS="$CFLAGS"
15296 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15297 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15298 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15299 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 else
15302 cat >conftest.$ac_ext <<_ACEOF
15303 /* confdefs.h. */
15304 _ACEOF
15305 cat confdefs.h >>conftest.$ac_ext
15306 cat >>conftest.$ac_ext <<_ACEOF
15307 /* end confdefs.h. */
15308 #include <string.h>
15310 main ()
15314 return 0;
15316 _ACEOF
15317 rm -f conftest.$ac_objext
15318 if { (ac_try="$ac_compile"
15319 case "(($ac_try" in
15320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15321 *) ac_try_echo=$ac_try;;
15322 esac
15323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15324 (eval "$ac_compile") 2>conftest.er1
15325 ac_status=$?
15326 grep -v '^ *+' conftest.er1 >conftest.err
15327 rm -f conftest.er1
15328 cat conftest.err >&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); } &&
15331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15332 { (case "(($ac_try" in
15333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15334 *) ac_try_echo=$ac_try;;
15335 esac
15336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15337 (eval "$ac_try") 2>&5
15338 ac_status=$?
15339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); }; } &&
15341 { ac_try='test -s conftest.$ac_objext'
15342 { (case "(($ac_try" in
15343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15344 *) ac_try_echo=$ac_try;;
15345 esac
15346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15347 (eval "$ac_try") 2>&5
15348 ac_status=$?
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); }; }; then
15351 ac_cv_c_string_h_warnings=no
15352 else
15353 echo "$as_me: failed program was:" >&5
15354 sed 's/^/| /' conftest.$ac_ext >&5
15356 ac_cv_c_string_h_warnings=yes
15359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15361 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15362 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15363 CFLAGS="$saved_CFLAGS"
15364 if test "$ac_cv_c_string_h_warnings" = "no"
15365 then
15366 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15369 BUILTINFLAG=""
15371 saved_CFLAGS="$CFLAGS"
15372 CFLAGS="$CFLAGS -Werror"
15373 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15374 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15375 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15376 echo $ECHO_N "(cached) $ECHO_C" >&6
15377 else
15378 cat >conftest.$ac_ext <<_ACEOF
15379 /* confdefs.h. */
15380 _ACEOF
15381 cat confdefs.h >>conftest.$ac_ext
15382 cat >>conftest.$ac_ext <<_ACEOF
15383 /* end confdefs.h. */
15386 main ()
15388 int iswlower(unsigned short);
15390 return 0;
15392 _ACEOF
15393 rm -f conftest.$ac_objext
15394 if { (ac_try="$ac_compile"
15395 case "(($ac_try" in
15396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15397 *) ac_try_echo=$ac_try;;
15398 esac
15399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15400 (eval "$ac_compile") 2>conftest.er1
15401 ac_status=$?
15402 grep -v '^ *+' conftest.er1 >conftest.err
15403 rm -f conftest.er1
15404 cat conftest.err >&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); } &&
15407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15408 { (case "(($ac_try" in
15409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15410 *) ac_try_echo=$ac_try;;
15411 esac
15412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15413 (eval "$ac_try") 2>&5
15414 ac_status=$?
15415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15416 (exit $ac_status); }; } &&
15417 { ac_try='test -s conftest.$ac_objext'
15418 { (case "(($ac_try" in
15419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15420 *) ac_try_echo=$ac_try;;
15421 esac
15422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15423 (eval "$ac_try") 2>&5
15424 ac_status=$?
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); }; }; then
15427 ac_cv_c_builtin_wchar_ctype=no
15428 else
15429 echo "$as_me: failed program was:" >&5
15430 sed 's/^/| /' conftest.$ac_ext >&5
15432 ac_cv_c_builtin_wchar_ctype=yes
15435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15437 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15438 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15439 CFLAGS="$saved_CFLAGS"
15440 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15441 then
15442 BUILTINFLAG="-fno-builtin"
15447 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15448 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15449 if test "${ac_cv_asm_func_def+set}" = set; then
15450 echo $ECHO_N "(cached) $ECHO_C" >&6
15451 else
15452 cat >conftest.$ac_ext <<_ACEOF
15453 /* confdefs.h. */
15454 _ACEOF
15455 cat confdefs.h >>conftest.$ac_ext
15456 cat >>conftest.$ac_ext <<_ACEOF
15457 /* end confdefs.h. */
15458 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"); }
15461 main ()
15465 return 0;
15467 _ACEOF
15468 rm -f conftest.$ac_objext conftest$ac_exeext
15469 if { (ac_try="$ac_link"
15470 case "(($ac_try" in
15471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15472 *) ac_try_echo=$ac_try;;
15473 esac
15474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15475 (eval "$ac_link") 2>conftest.er1
15476 ac_status=$?
15477 grep -v '^ *+' conftest.er1 >conftest.err
15478 rm -f conftest.er1
15479 cat conftest.err >&5
15480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481 (exit $ac_status); } &&
15482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15483 { (case "(($ac_try" in
15484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15485 *) ac_try_echo=$ac_try;;
15486 esac
15487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15488 (eval "$ac_try") 2>&5
15489 ac_status=$?
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }; } &&
15492 { ac_try='test -s conftest$ac_exeext'
15493 { (case "(($ac_try" in
15494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15495 *) ac_try_echo=$ac_try;;
15496 esac
15497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15498 (eval "$ac_try") 2>&5
15499 ac_status=$?
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); }; }; then
15502 ac_cv_asm_func_def=".def"
15503 else
15504 echo "$as_me: failed program was:" >&5
15505 sed 's/^/| /' conftest.$ac_ext >&5
15507 cat >conftest.$ac_ext <<_ACEOF
15508 /* confdefs.h. */
15509 _ACEOF
15510 cat confdefs.h >>conftest.$ac_ext
15511 cat >>conftest.$ac_ext <<_ACEOF
15512 /* end confdefs.h. */
15513 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
15516 main ()
15520 return 0;
15522 _ACEOF
15523 rm -f conftest.$ac_objext conftest$ac_exeext
15524 if { (ac_try="$ac_link"
15525 case "(($ac_try" in
15526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15527 *) ac_try_echo=$ac_try;;
15528 esac
15529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15530 (eval "$ac_link") 2>conftest.er1
15531 ac_status=$?
15532 grep -v '^ *+' conftest.er1 >conftest.err
15533 rm -f conftest.er1
15534 cat conftest.err >&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); } &&
15537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15538 { (case "(($ac_try" in
15539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15540 *) ac_try_echo=$ac_try;;
15541 esac
15542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15543 (eval "$ac_try") 2>&5
15544 ac_status=$?
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; } &&
15547 { ac_try='test -s conftest$ac_exeext'
15548 { (case "(($ac_try" in
15549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15550 *) ac_try_echo=$ac_try;;
15551 esac
15552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15553 (eval "$ac_try") 2>&5
15554 ac_status=$?
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; }; then
15557 ac_cv_asm_func_def=".type @function"
15558 else
15559 echo "$as_me: failed program was:" >&5
15560 sed 's/^/| /' conftest.$ac_ext >&5
15562 cat >conftest.$ac_ext <<_ACEOF
15563 /* confdefs.h. */
15564 _ACEOF
15565 cat confdefs.h >>conftest.$ac_ext
15566 cat >>conftest.$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
15571 main ()
15575 return 0;
15577 _ACEOF
15578 rm -f conftest.$ac_objext conftest$ac_exeext
15579 if { (ac_try="$ac_link"
15580 case "(($ac_try" in
15581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15582 *) ac_try_echo=$ac_try;;
15583 esac
15584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15585 (eval "$ac_link") 2>conftest.er1
15586 ac_status=$?
15587 grep -v '^ *+' conftest.er1 >conftest.err
15588 rm -f conftest.er1
15589 cat conftest.err >&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } &&
15592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15593 { (case "(($ac_try" in
15594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15595 *) ac_try_echo=$ac_try;;
15596 esac
15597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15598 (eval "$ac_try") 2>&5
15599 ac_status=$?
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; } &&
15602 { ac_try='test -s conftest$ac_exeext'
15603 { (case "(($ac_try" in
15604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15605 *) ac_try_echo=$ac_try;;
15606 esac
15607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15608 (eval "$ac_try") 2>&5
15609 ac_status=$?
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); }; }; then
15612 ac_cv_asm_func_def=".type 2"
15613 else
15614 echo "$as_me: failed program was:" >&5
15615 sed 's/^/| /' conftest.$ac_ext >&5
15617 ac_cv_asm_func_def="unknown"
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
15628 rm -f core conftest.err conftest.$ac_objext \
15629 conftest$ac_exeext conftest.$ac_ext
15631 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15632 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15636 case "$ac_cv_asm_func_def" in
15637 ".def")
15638 cat >>confdefs.h <<\_ACEOF
15639 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15640 _ACEOF
15642 ".type @function")
15643 cat >>confdefs.h <<\_ACEOF
15644 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15645 _ACEOF
15647 ".type 2")
15648 cat >>confdefs.h <<\_ACEOF
15649 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15650 _ACEOF
15653 cat >>confdefs.h <<\_ACEOF
15654 #define __ASM_FUNC(name) ""
15655 _ACEOF
15657 esac
15660 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15661 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15662 if test "${ac_cv_c_extern_prefix+set}" = set; then
15663 echo $ECHO_N "(cached) $ECHO_C" >&6
15664 else
15665 cat >conftest.$ac_ext <<_ACEOF
15666 /* confdefs.h. */
15667 _ACEOF
15668 cat confdefs.h >>conftest.$ac_ext
15669 cat >>conftest.$ac_ext <<_ACEOF
15670 /* end confdefs.h. */
15671 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15672 extern int ac_test;
15674 main ()
15676 if (ac_test) return 1
15678 return 0;
15680 _ACEOF
15681 rm -f conftest.$ac_objext conftest$ac_exeext
15682 if { (ac_try="$ac_link"
15683 case "(($ac_try" in
15684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15685 *) ac_try_echo=$ac_try;;
15686 esac
15687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15688 (eval "$ac_link") 2>conftest.er1
15689 ac_status=$?
15690 grep -v '^ *+' conftest.er1 >conftest.err
15691 rm -f conftest.er1
15692 cat conftest.err >&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); } &&
15695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15696 { (case "(($ac_try" in
15697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15698 *) ac_try_echo=$ac_try;;
15699 esac
15700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15701 (eval "$ac_try") 2>&5
15702 ac_status=$?
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); }; } &&
15705 { ac_try='test -s conftest$ac_exeext'
15706 { (case "(($ac_try" in
15707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15708 *) ac_try_echo=$ac_try;;
15709 esac
15710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15711 (eval "$ac_try") 2>&5
15712 ac_status=$?
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; }; then
15715 ac_cv_c_extern_prefix="yes"
15716 else
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.$ac_ext >&5
15720 ac_cv_c_extern_prefix="no"
15723 rm -f core conftest.err conftest.$ac_objext \
15724 conftest$ac_exeext conftest.$ac_ext
15726 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15727 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15731 if test "$ac_cv_c_extern_prefix" = "yes"
15732 then
15733 cat >>confdefs.h <<\_ACEOF
15734 #define __ASM_NAME(name) "_" name
15735 _ACEOF
15737 else
15738 cat >>confdefs.h <<\_ACEOF
15739 #define __ASM_NAME(name) name
15740 _ACEOF
15745 DLLEXT=""
15747 DLLFLAGS="-D_REENTRANT"
15749 DLLIBS=""
15751 LDSHARED=""
15753 LDDLLFLAGS=""
15755 LIBEXT="so"
15757 IMPLIBEXT="def"
15760 case $host_os in
15761 cygwin*|mingw32*)
15762 if test -n "$ac_tool_prefix"; then
15763 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15764 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15767 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15768 echo $ECHO_N "(cached) $ECHO_C" >&6
15769 else
15770 if test -n "$DLLTOOL"; then
15771 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15772 else
15773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15774 for as_dir in $PATH
15776 IFS=$as_save_IFS
15777 test -z "$as_dir" && as_dir=.
15778 for ac_exec_ext in '' $ac_executable_extensions; do
15779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15780 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15782 break 2
15784 done
15785 done
15786 IFS=$as_save_IFS
15790 DLLTOOL=$ac_cv_prog_DLLTOOL
15791 if test -n "$DLLTOOL"; then
15792 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15793 echo "${ECHO_T}$DLLTOOL" >&6; }
15794 else
15795 { echo "$as_me:$LINENO: result: no" >&5
15796 echo "${ECHO_T}no" >&6; }
15801 if test -z "$ac_cv_prog_DLLTOOL"; then
15802 ac_ct_DLLTOOL=$DLLTOOL
15803 # Extract the first word of "dlltool", so it can be a program name with args.
15804 set dummy dlltool; ac_word=$2
15805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15807 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15808 echo $ECHO_N "(cached) $ECHO_C" >&6
15809 else
15810 if test -n "$ac_ct_DLLTOOL"; then
15811 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15812 else
15813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15814 for as_dir in $PATH
15816 IFS=$as_save_IFS
15817 test -z "$as_dir" && as_dir=.
15818 for ac_exec_ext in '' $ac_executable_extensions; do
15819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15820 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15822 break 2
15824 done
15825 done
15826 IFS=$as_save_IFS
15830 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15831 if test -n "$ac_ct_DLLTOOL"; then
15832 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15833 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15834 else
15835 { echo "$as_me:$LINENO: result: no" >&5
15836 echo "${ECHO_T}no" >&6; }
15839 if test "x$ac_ct_DLLTOOL" = x; then
15840 DLLTOOL="false"
15841 else
15842 case $cross_compiling:$ac_tool_warned in
15843 yes:)
15844 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15845 whose name does not start with the host triplet. If you think this
15846 configuration is useful to you, please write to autoconf@gnu.org." >&5
15847 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15848 whose name does not start with the host triplet. If you think this
15849 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15850 ac_tool_warned=yes ;;
15851 esac
15852 DLLTOOL=$ac_ct_DLLTOOL
15854 else
15855 DLLTOOL="$ac_cv_prog_DLLTOOL"
15858 if test -n "$ac_tool_prefix"; then
15859 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15860 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15863 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15865 else
15866 if test -n "$DLLWRAP"; then
15867 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15868 else
15869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15870 for as_dir in $PATH
15872 IFS=$as_save_IFS
15873 test -z "$as_dir" && as_dir=.
15874 for ac_exec_ext in '' $ac_executable_extensions; do
15875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15876 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15878 break 2
15880 done
15881 done
15882 IFS=$as_save_IFS
15886 DLLWRAP=$ac_cv_prog_DLLWRAP
15887 if test -n "$DLLWRAP"; then
15888 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15889 echo "${ECHO_T}$DLLWRAP" >&6; }
15890 else
15891 { echo "$as_me:$LINENO: result: no" >&5
15892 echo "${ECHO_T}no" >&6; }
15897 if test -z "$ac_cv_prog_DLLWRAP"; then
15898 ac_ct_DLLWRAP=$DLLWRAP
15899 # Extract the first word of "dllwrap", so it can be a program name with args.
15900 set dummy dllwrap; ac_word=$2
15901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15903 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15904 echo $ECHO_N "(cached) $ECHO_C" >&6
15905 else
15906 if test -n "$ac_ct_DLLWRAP"; then
15907 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15908 else
15909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15910 for as_dir in $PATH
15912 IFS=$as_save_IFS
15913 test -z "$as_dir" && as_dir=.
15914 for ac_exec_ext in '' $ac_executable_extensions; do
15915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15916 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15918 break 2
15920 done
15921 done
15922 IFS=$as_save_IFS
15926 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15927 if test -n "$ac_ct_DLLWRAP"; then
15928 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15929 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15930 else
15931 { echo "$as_me:$LINENO: result: no" >&5
15932 echo "${ECHO_T}no" >&6; }
15935 if test "x$ac_ct_DLLWRAP" = x; then
15936 DLLWRAP="false"
15937 else
15938 case $cross_compiling:$ac_tool_warned in
15939 yes:)
15940 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15941 whose name does not start with the host triplet. If you think this
15942 configuration is useful to you, please write to autoconf@gnu.org." >&5
15943 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15944 whose name does not start with the host triplet. If you think this
15945 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15946 ac_tool_warned=yes ;;
15947 esac
15948 DLLWRAP=$ac_ct_DLLWRAP
15950 else
15951 DLLWRAP="$ac_cv_prog_DLLWRAP"
15954 if test "$DLLWRAP" = "false"; then
15955 LIBEXT="a"
15956 else
15957 LIBEXT="dll"
15959 IMPLIBEXT="a"
15960 WIN16_FILES=""
15961 WIN16_INSTALL=""
15964 if test "$ac_cv_header_dlfcn_h" = "yes"
15965 then
15967 for ac_func in dlopen
15969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15970 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15972 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15973 echo $ECHO_N "(cached) $ECHO_C" >&6
15974 else
15975 cat >conftest.$ac_ext <<_ACEOF
15976 /* confdefs.h. */
15977 _ACEOF
15978 cat confdefs.h >>conftest.$ac_ext
15979 cat >>conftest.$ac_ext <<_ACEOF
15980 /* end confdefs.h. */
15981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15983 #define $ac_func innocuous_$ac_func
15985 /* System header to define __stub macros and hopefully few prototypes,
15986 which can conflict with char $ac_func (); below.
15987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15988 <limits.h> exists even on freestanding compilers. */
15990 #ifdef __STDC__
15991 # include <limits.h>
15992 #else
15993 # include <assert.h>
15994 #endif
15996 #undef $ac_func
15998 /* Override any GCC internal prototype to avoid an error.
15999 Use char because int might match the return type of a GCC
16000 builtin and then its argument prototype would still apply. */
16001 #ifdef __cplusplus
16002 extern "C"
16003 #endif
16004 char $ac_func ();
16005 /* The GNU C library defines this for functions which it implements
16006 to always fail with ENOSYS. Some functions are actually named
16007 something starting with __ and the normal name is an alias. */
16008 #if defined __stub_$ac_func || defined __stub___$ac_func
16009 choke me
16010 #endif
16013 main ()
16015 return $ac_func ();
16017 return 0;
16019 _ACEOF
16020 rm -f conftest.$ac_objext conftest$ac_exeext
16021 if { (ac_try="$ac_link"
16022 case "(($ac_try" in
16023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16024 *) ac_try_echo=$ac_try;;
16025 esac
16026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16027 (eval "$ac_link") 2>conftest.er1
16028 ac_status=$?
16029 grep -v '^ *+' conftest.er1 >conftest.err
16030 rm -f conftest.er1
16031 cat conftest.err >&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } &&
16034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16035 { (case "(($ac_try" in
16036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16037 *) ac_try_echo=$ac_try;;
16038 esac
16039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16040 (eval "$ac_try") 2>&5
16041 ac_status=$?
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; } &&
16044 { ac_try='test -s conftest$ac_exeext'
16045 { (case "(($ac_try" in
16046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16047 *) ac_try_echo=$ac_try;;
16048 esac
16049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16050 (eval "$ac_try") 2>&5
16051 ac_status=$?
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }; }; then
16054 eval "$as_ac_var=yes"
16055 else
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16059 eval "$as_ac_var=no"
16062 rm -f core conftest.err conftest.$ac_objext \
16063 conftest$ac_exeext conftest.$ac_ext
16065 ac_res=`eval echo '${'$as_ac_var'}'`
16066 { echo "$as_me:$LINENO: result: $ac_res" >&5
16067 echo "${ECHO_T}$ac_res" >&6; }
16068 if test `eval echo '${'$as_ac_var'}'` = yes; then
16069 cat >>confdefs.h <<_ACEOF
16070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16071 _ACEOF
16073 else
16074 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16075 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16076 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16077 echo $ECHO_N "(cached) $ECHO_C" >&6
16078 else
16079 ac_check_lib_save_LIBS=$LIBS
16080 LIBS="-ldl $LIBS"
16081 cat >conftest.$ac_ext <<_ACEOF
16082 /* confdefs.h. */
16083 _ACEOF
16084 cat confdefs.h >>conftest.$ac_ext
16085 cat >>conftest.$ac_ext <<_ACEOF
16086 /* end confdefs.h. */
16088 /* Override any GCC internal prototype to avoid an error.
16089 Use char because int might match the return type of a GCC
16090 builtin and then its argument prototype would still apply. */
16091 #ifdef __cplusplus
16092 extern "C"
16093 #endif
16094 char dlopen ();
16096 main ()
16098 return dlopen ();
16100 return 0;
16102 _ACEOF
16103 rm -f conftest.$ac_objext conftest$ac_exeext
16104 if { (ac_try="$ac_link"
16105 case "(($ac_try" in
16106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16107 *) ac_try_echo=$ac_try;;
16108 esac
16109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16110 (eval "$ac_link") 2>conftest.er1
16111 ac_status=$?
16112 grep -v '^ *+' conftest.er1 >conftest.err
16113 rm -f conftest.er1
16114 cat conftest.err >&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); } &&
16117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16118 { (case "(($ac_try" in
16119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16120 *) ac_try_echo=$ac_try;;
16121 esac
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16123 (eval "$ac_try") 2>&5
16124 ac_status=$?
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; } &&
16127 { ac_try='test -s conftest$ac_exeext'
16128 { (case "(($ac_try" in
16129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16131 esac
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_try") 2>&5
16134 ac_status=$?
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; }; then
16137 ac_cv_lib_dl_dlopen=yes
16138 else
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.$ac_ext >&5
16142 ac_cv_lib_dl_dlopen=no
16145 rm -f core conftest.err conftest.$ac_objext \
16146 conftest$ac_exeext conftest.$ac_ext
16147 LIBS=$ac_check_lib_save_LIBS
16149 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16150 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16151 if test $ac_cv_lib_dl_dlopen = yes; then
16153 cat >>confdefs.h <<\_ACEOF
16154 #define HAVE_DLOPEN 1
16155 _ACEOF
16157 DLLIBS="-ldl"
16158 else
16159 LIBEXT="a"
16163 done
16165 ac_wine_check_funcs_save_LIBS="$LIBS"
16166 LIBS="$LIBS $DLLIBS"
16168 for ac_func in dladdr
16170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16171 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16173 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16174 echo $ECHO_N "(cached) $ECHO_C" >&6
16175 else
16176 cat >conftest.$ac_ext <<_ACEOF
16177 /* confdefs.h. */
16178 _ACEOF
16179 cat confdefs.h >>conftest.$ac_ext
16180 cat >>conftest.$ac_ext <<_ACEOF
16181 /* end confdefs.h. */
16182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16184 #define $ac_func innocuous_$ac_func
16186 /* System header to define __stub macros and hopefully few prototypes,
16187 which can conflict with char $ac_func (); below.
16188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16189 <limits.h> exists even on freestanding compilers. */
16191 #ifdef __STDC__
16192 # include <limits.h>
16193 #else
16194 # include <assert.h>
16195 #endif
16197 #undef $ac_func
16199 /* Override any GCC internal prototype to avoid an error.
16200 Use char because int might match the return type of a GCC
16201 builtin and then its argument prototype would still apply. */
16202 #ifdef __cplusplus
16203 extern "C"
16204 #endif
16205 char $ac_func ();
16206 /* The GNU C library defines this for functions which it implements
16207 to always fail with ENOSYS. Some functions are actually named
16208 something starting with __ and the normal name is an alias. */
16209 #if defined __stub_$ac_func || defined __stub___$ac_func
16210 choke me
16211 #endif
16214 main ()
16216 return $ac_func ();
16218 return 0;
16220 _ACEOF
16221 rm -f conftest.$ac_objext conftest$ac_exeext
16222 if { (ac_try="$ac_link"
16223 case "(($ac_try" in
16224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16225 *) ac_try_echo=$ac_try;;
16226 esac
16227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16228 (eval "$ac_link") 2>conftest.er1
16229 ac_status=$?
16230 grep -v '^ *+' conftest.er1 >conftest.err
16231 rm -f conftest.er1
16232 cat conftest.err >&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); } &&
16235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16236 { (case "(($ac_try" in
16237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16238 *) ac_try_echo=$ac_try;;
16239 esac
16240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16241 (eval "$ac_try") 2>&5
16242 ac_status=$?
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); }; } &&
16245 { ac_try='test -s conftest$ac_exeext'
16246 { (case "(($ac_try" in
16247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16248 *) ac_try_echo=$ac_try;;
16249 esac
16250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16251 (eval "$ac_try") 2>&5
16252 ac_status=$?
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; }; then
16255 eval "$as_ac_var=yes"
16256 else
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.$ac_ext >&5
16260 eval "$as_ac_var=no"
16263 rm -f core conftest.err conftest.$ac_objext \
16264 conftest$ac_exeext conftest.$ac_ext
16266 ac_res=`eval echo '${'$as_ac_var'}'`
16267 { echo "$as_me:$LINENO: result: $ac_res" >&5
16268 echo "${ECHO_T}$ac_res" >&6; }
16269 if test `eval echo '${'$as_ac_var'}'` = yes; then
16270 cat >>confdefs.h <<_ACEOF
16271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16272 _ACEOF
16275 done
16277 LIBS="$ac_wine_check_funcs_save_LIBS"
16278 else
16279 LIBEXT="a"
16282 if test "$LIBEXT" = "so"
16283 then
16284 DLLFLAGS="$DLLFLAGS -fPIC"
16285 DLLEXT=".so"
16286 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
16287 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
16288 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16290 else
16291 ac_wine_try_cflags_saved=$CFLAGS
16292 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
16293 cat >conftest.$ac_ext <<_ACEOF
16294 void myfunc() {}
16295 _ACEOF
16296 rm -f conftest.$ac_objext conftest$ac_exeext
16297 if { (ac_try="$ac_link"
16298 case "(($ac_try" in
16299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16300 *) ac_try_echo=$ac_try;;
16301 esac
16302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16303 (eval "$ac_link") 2>conftest.er1
16304 ac_status=$?
16305 grep -v '^ *+' conftest.er1 >conftest.err
16306 rm -f conftest.er1
16307 cat conftest.err >&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } &&
16310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16311 { (case "(($ac_try" in
16312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16313 *) ac_try_echo=$ac_try;;
16314 esac
16315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16316 (eval "$ac_try") 2>&5
16317 ac_status=$?
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); }; } &&
16320 { ac_try='test -s conftest$ac_exeext'
16321 { (case "(($ac_try" in
16322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16323 *) ac_try_echo=$ac_try;;
16324 esac
16325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16326 (eval "$ac_try") 2>&5
16327 ac_status=$?
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); }; }; then
16330 ac_cv_c_dll_gnuelf="yes"
16331 else
16332 echo "$as_me: failed program was:" >&5
16333 sed 's/^/| /' conftest.$ac_ext >&5
16335 ac_cv_c_dll_gnuelf="no"
16338 rm -f core conftest.err conftest.$ac_objext \
16339 conftest$ac_exeext conftest.$ac_ext
16340 CFLAGS=$ac_wine_try_cflags_saved
16342 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
16343 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
16344 if test "$ac_cv_c_dll_gnuelf" = "yes"
16345 then
16346 LDSHARED="\$(CC) -shared"
16347 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
16348 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
16349 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
16350 if test "${ac_cv_c_sonames+set}" = set; then
16351 echo $ECHO_N "(cached) $ECHO_C" >&6
16352 else
16353 ac_wine_try_cflags_saved=$CFLAGS
16354 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
16355 cat >conftest.$ac_ext <<_ACEOF
16356 /* confdefs.h. */
16357 _ACEOF
16358 cat confdefs.h >>conftest.$ac_ext
16359 cat >>conftest.$ac_ext <<_ACEOF
16360 /* end confdefs.h. */
16363 main ()
16367 return 0;
16369 _ACEOF
16370 rm -f conftest.$ac_objext conftest$ac_exeext
16371 if { (ac_try="$ac_link"
16372 case "(($ac_try" in
16373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16374 *) ac_try_echo=$ac_try;;
16375 esac
16376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16377 (eval "$ac_link") 2>conftest.er1
16378 ac_status=$?
16379 grep -v '^ *+' conftest.er1 >conftest.err
16380 rm -f conftest.er1
16381 cat conftest.err >&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); } &&
16384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16385 { (case "(($ac_try" in
16386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16387 *) ac_try_echo=$ac_try;;
16388 esac
16389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16390 (eval "$ac_try") 2>&5
16391 ac_status=$?
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; } &&
16394 { ac_try='test -s conftest$ac_exeext'
16395 { (case "(($ac_try" in
16396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16397 *) ac_try_echo=$ac_try;;
16398 esac
16399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16400 (eval "$ac_try") 2>&5
16401 ac_status=$?
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; }; then
16404 ac_cv_c_sonames="yes"
16405 else
16406 echo "$as_me: failed program was:" >&5
16407 sed 's/^/| /' conftest.$ac_ext >&5
16409 ac_cv_c_sonames="no"
16412 rm -f core conftest.err conftest.$ac_objext \
16413 conftest$ac_exeext conftest.$ac_ext
16414 CFLAGS=$ac_wine_try_cflags_saved
16416 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
16417 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
16418 if test "$ac_cv_c_sonames" = "yes"
16419 then
16420 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
16421 else
16422 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
16423 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
16424 if test "${ac_cv_c_h_sonames+set}" = set; then
16425 echo $ECHO_N "(cached) $ECHO_C" >&6
16426 else
16427 ac_wine_try_cflags_saved=$CFLAGS
16428 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
16429 cat >conftest.$ac_ext <<_ACEOF
16430 /* confdefs.h. */
16431 _ACEOF
16432 cat confdefs.h >>conftest.$ac_ext
16433 cat >>conftest.$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16437 main ()
16441 return 0;
16443 _ACEOF
16444 rm -f conftest.$ac_objext conftest$ac_exeext
16445 if { (ac_try="$ac_link"
16446 case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16449 esac
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_link") 2>conftest.er1
16452 ac_status=$?
16453 grep -v '^ *+' conftest.er1 >conftest.err
16454 rm -f conftest.er1
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } &&
16458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16459 { (case "(($ac_try" in
16460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16461 *) ac_try_echo=$ac_try;;
16462 esac
16463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16464 (eval "$ac_try") 2>&5
16465 ac_status=$?
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); }; } &&
16468 { ac_try='test -s conftest$ac_exeext'
16469 { (case "(($ac_try" in
16470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16471 *) ac_try_echo=$ac_try;;
16472 esac
16473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16474 (eval "$ac_try") 2>&5
16475 ac_status=$?
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; }; then
16478 ac_cv_c_h_sonames="yes"
16479 else
16480 echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.$ac_ext >&5
16483 ac_cv_c_h_sonames="no"
16486 rm -f core conftest.err conftest.$ac_objext \
16487 conftest$ac_exeext conftest.$ac_ext
16488 CFLAGS=$ac_wine_try_cflags_saved
16490 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
16491 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
16492 if test "$ac_cv_c_h_sonames" = "yes"
16493 then
16494 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
16498 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
16499 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
16500 if test "${ac_cv_c_dll_zdefs+set}" = set; then
16501 echo $ECHO_N "(cached) $ECHO_C" >&6
16502 else
16503 ac_wine_try_cflags_saved=$CFLAGS
16504 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
16505 cat >conftest.$ac_ext <<_ACEOF
16506 /* confdefs.h. */
16507 _ACEOF
16508 cat confdefs.h >>conftest.$ac_ext
16509 cat >>conftest.$ac_ext <<_ACEOF
16510 /* end confdefs.h. */
16513 main ()
16517 return 0;
16519 _ACEOF
16520 rm -f conftest.$ac_objext conftest$ac_exeext
16521 if { (ac_try="$ac_link"
16522 case "(($ac_try" in
16523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16524 *) ac_try_echo=$ac_try;;
16525 esac
16526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16527 (eval "$ac_link") 2>conftest.er1
16528 ac_status=$?
16529 grep -v '^ *+' conftest.er1 >conftest.err
16530 rm -f conftest.er1
16531 cat conftest.err >&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); } &&
16534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16535 { (case "(($ac_try" in
16536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16537 *) ac_try_echo=$ac_try;;
16538 esac
16539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16540 (eval "$ac_try") 2>&5
16541 ac_status=$?
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; } &&
16544 { ac_try='test -s conftest$ac_exeext'
16545 { (case "(($ac_try" in
16546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16547 *) ac_try_echo=$ac_try;;
16548 esac
16549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16550 (eval "$ac_try") 2>&5
16551 ac_status=$?
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_cv_c_dll_zdefs="yes"
16555 else
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.$ac_ext >&5
16559 ac_cv_c_dll_zdefs="no"
16562 rm -f core conftest.err conftest.$ac_objext \
16563 conftest$ac_exeext conftest.$ac_ext
16564 CFLAGS=$ac_wine_try_cflags_saved
16566 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
16567 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
16568 if test "$ac_cv_c_dll_zdefs" = "yes"
16569 then
16570 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
16573 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
16574 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
16575 if test "${ac_cv_c_dll_init_fini+set}" = set; then
16576 echo $ECHO_N "(cached) $ECHO_C" >&6
16577 else
16578 ac_wine_try_cflags_saved=$CFLAGS
16579 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
16580 cat >conftest.$ac_ext <<_ACEOF
16581 /* confdefs.h. */
16582 _ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16588 main ()
16592 return 0;
16594 _ACEOF
16595 rm -f conftest.$ac_objext conftest$ac_exeext
16596 if { (ac_try="$ac_link"
16597 case "(($ac_try" in
16598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16599 *) ac_try_echo=$ac_try;;
16600 esac
16601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16602 (eval "$ac_link") 2>conftest.er1
16603 ac_status=$?
16604 grep -v '^ *+' conftest.er1 >conftest.err
16605 rm -f conftest.er1
16606 cat conftest.err >&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); } &&
16609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16610 { (case "(($ac_try" in
16611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16612 *) ac_try_echo=$ac_try;;
16613 esac
16614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16615 (eval "$ac_try") 2>&5
16616 ac_status=$?
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); }; } &&
16619 { ac_try='test -s conftest$ac_exeext'
16620 { (case "(($ac_try" in
16621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16622 *) ac_try_echo=$ac_try;;
16623 esac
16624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16625 (eval "$ac_try") 2>&5
16626 ac_status=$?
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }; }; then
16629 ac_cv_c_dll_init_fini="yes"
16630 else
16631 echo "$as_me: failed program was:" >&5
16632 sed 's/^/| /' conftest.$ac_ext >&5
16634 ac_cv_c_dll_init_fini="no"
16637 rm -f core conftest.err conftest.$ac_objext \
16638 conftest$ac_exeext conftest.$ac_ext
16639 CFLAGS=$ac_wine_try_cflags_saved
16641 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
16642 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
16643 if test "$ac_cv_c_dll_init_fini" = "yes"
16644 then
16645 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
16648 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
16649 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
16650 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16652 else
16653 echo '{ global: *; };' >conftest.map
16654 ac_wine_try_cflags_saved=$CFLAGS
16655 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
16656 cat >conftest.$ac_ext <<_ACEOF
16657 /* confdefs.h. */
16658 _ACEOF
16659 cat confdefs.h >>conftest.$ac_ext
16660 cat >>conftest.$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16664 main ()
16668 return 0;
16670 _ACEOF
16671 rm -f conftest.$ac_objext conftest$ac_exeext
16672 if { (ac_try="$ac_link"
16673 case "(($ac_try" in
16674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16675 *) ac_try_echo=$ac_try;;
16676 esac
16677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16678 (eval "$ac_link") 2>conftest.er1
16679 ac_status=$?
16680 grep -v '^ *+' conftest.er1 >conftest.err
16681 rm -f conftest.er1
16682 cat conftest.err >&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } &&
16685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16686 { (case "(($ac_try" in
16687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16688 *) ac_try_echo=$ac_try;;
16689 esac
16690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16691 (eval "$ac_try") 2>&5
16692 ac_status=$?
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; } &&
16695 { ac_try='test -s conftest$ac_exeext'
16696 { (case "(($ac_try" in
16697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16698 *) ac_try_echo=$ac_try;;
16699 esac
16700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16701 (eval "$ac_try") 2>&5
16702 ac_status=$?
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; }; then
16705 ac_cv_c_ld_version_scripts="yes"
16706 else
16707 echo "$as_me: failed program was:" >&5
16708 sed 's/^/| /' conftest.$ac_ext >&5
16710 ac_cv_c_ld_version_scripts="no"
16713 rm -f core conftest.err conftest.$ac_objext \
16714 conftest$ac_exeext conftest.$ac_ext
16715 CFLAGS=$ac_wine_try_cflags_saved
16716 rm -f conftest.map
16718 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
16719 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
16720 if test "$ac_cv_c_ld_version_scripts" = "yes"
16721 then
16722 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
16725 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
16726 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
16727 if test "${ac_cv_c_export_dynamic+set}" = set; then
16728 echo $ECHO_N "(cached) $ECHO_C" >&6
16729 else
16730 ac_wine_try_cflags_saved=$CFLAGS
16731 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
16732 cat >conftest.$ac_ext <<_ACEOF
16733 /* confdefs.h. */
16734 _ACEOF
16735 cat confdefs.h >>conftest.$ac_ext
16736 cat >>conftest.$ac_ext <<_ACEOF
16737 /* end confdefs.h. */
16740 main ()
16744 return 0;
16746 _ACEOF
16747 rm -f conftest.$ac_objext conftest$ac_exeext
16748 if { (ac_try="$ac_link"
16749 case "(($ac_try" in
16750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16751 *) ac_try_echo=$ac_try;;
16752 esac
16753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16754 (eval "$ac_link") 2>conftest.er1
16755 ac_status=$?
16756 grep -v '^ *+' conftest.er1 >conftest.err
16757 rm -f conftest.er1
16758 cat conftest.err >&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); } &&
16761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16762 { (case "(($ac_try" in
16763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16764 *) ac_try_echo=$ac_try;;
16765 esac
16766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_try") 2>&5
16768 ac_status=$?
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; } &&
16771 { ac_try='test -s conftest$ac_exeext'
16772 { (case "(($ac_try" in
16773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16774 *) ac_try_echo=$ac_try;;
16775 esac
16776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16777 (eval "$ac_try") 2>&5
16778 ac_status=$?
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); }; }; then
16781 ac_cv_c_export_dynamic="yes"
16782 else
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.$ac_ext >&5
16786 ac_cv_c_export_dynamic="no"
16789 rm -f core conftest.err conftest.$ac_objext \
16790 conftest$ac_exeext conftest.$ac_ext
16791 CFLAGS=$ac_wine_try_cflags_saved
16793 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
16794 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
16795 if test "$ac_cv_c_export_dynamic" = "yes"
16796 then
16797 LDEXECFLAGS="-Wl,--export-dynamic"
16801 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
16802 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
16803 if test "${ac_cv_ld_rpath+set}" = set; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16805 else
16806 ac_wine_try_cflags_saved=$CFLAGS
16807 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
16808 cat >conftest.$ac_ext <<_ACEOF
16809 /* confdefs.h. */
16810 _ACEOF
16811 cat confdefs.h >>conftest.$ac_ext
16812 cat >>conftest.$ac_ext <<_ACEOF
16813 /* end confdefs.h. */
16816 main ()
16820 return 0;
16822 _ACEOF
16823 rm -f conftest.$ac_objext conftest$ac_exeext
16824 if { (ac_try="$ac_link"
16825 case "(($ac_try" in
16826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16827 *) ac_try_echo=$ac_try;;
16828 esac
16829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16830 (eval "$ac_link") 2>conftest.er1
16831 ac_status=$?
16832 grep -v '^ *+' conftest.er1 >conftest.err
16833 rm -f conftest.er1
16834 cat conftest.err >&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16838 { (case "(($ac_try" in
16839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16840 *) ac_try_echo=$ac_try;;
16841 esac
16842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16843 (eval "$ac_try") 2>&5
16844 ac_status=$?
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try='test -s conftest$ac_exeext'
16848 { (case "(($ac_try" in
16849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16850 *) ac_try_echo=$ac_try;;
16851 esac
16852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_try") 2>&5
16854 ac_status=$?
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); }; }; then
16857 ac_cv_ld_rpath="yes"
16858 else
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.$ac_ext >&5
16862 ac_cv_ld_rpath="no"
16865 rm -f core conftest.err conftest.$ac_objext \
16866 conftest$ac_exeext conftest.$ac_ext
16867 CFLAGS=$ac_wine_try_cflags_saved
16869 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
16870 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
16871 if test "$ac_cv_ld_rpath" = "yes"
16872 then
16873 LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
16875 LDDLLRPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
16879 case $host_cpu in
16880 *i[3456789]86* | x86_64)
16881 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
16882 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
16883 if test "${ac_cv_ld_reloc_exec+set}" = set; then
16884 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 else
16886 ac_wine_try_cflags_saved=$CFLAGS
16887 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
16888 cat >conftest.$ac_ext <<_ACEOF
16889 /* confdefs.h. */
16890 _ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16896 main ()
16900 return 0;
16902 _ACEOF
16903 rm -f conftest.$ac_objext conftest$ac_exeext
16904 if { (ac_try="$ac_link"
16905 case "(($ac_try" in
16906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16907 *) ac_try_echo=$ac_try;;
16908 esac
16909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16910 (eval "$ac_link") 2>conftest.er1
16911 ac_status=$?
16912 grep -v '^ *+' conftest.er1 >conftest.err
16913 rm -f conftest.er1
16914 cat conftest.err >&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); } &&
16917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16918 { (case "(($ac_try" in
16919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16920 *) ac_try_echo=$ac_try;;
16921 esac
16922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16923 (eval "$ac_try") 2>&5
16924 ac_status=$?
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; } &&
16927 { ac_try='test -s conftest$ac_exeext'
16928 { (case "(($ac_try" in
16929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16930 *) ac_try_echo=$ac_try;;
16931 esac
16932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16933 (eval "$ac_try") 2>&5
16934 ac_status=$?
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; }; then
16937 ac_cv_ld_reloc_exec="yes"
16938 else
16939 echo "$as_me: failed program was:" >&5
16940 sed 's/^/| /' conftest.$ac_ext >&5
16942 ac_cv_ld_reloc_exec="no"
16945 rm -f core conftest.err conftest.$ac_objext \
16946 conftest$ac_exeext conftest.$ac_ext
16947 CFLAGS=$ac_wine_try_cflags_saved
16949 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
16950 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
16951 if test "$ac_cv_ld_reloc_exec" = "yes"
16952 then
16953 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16956 esac
16958 else
16959 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16960 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16961 if test "${ac_cv_c_dll_unixware+set}" = set; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 else
16964 ac_wine_try_cflags_saved=$CFLAGS
16965 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16966 cat >conftest.$ac_ext <<_ACEOF
16967 void myfunc() {}
16968 _ACEOF
16969 rm -f conftest.$ac_objext conftest$ac_exeext
16970 if { (ac_try="$ac_link"
16971 case "(($ac_try" in
16972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16973 *) ac_try_echo=$ac_try;;
16974 esac
16975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16976 (eval "$ac_link") 2>conftest.er1
16977 ac_status=$?
16978 grep -v '^ *+' conftest.er1 >conftest.err
16979 rm -f conftest.er1
16980 cat conftest.err >&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } &&
16983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16984 { (case "(($ac_try" in
16985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16986 *) ac_try_echo=$ac_try;;
16987 esac
16988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16989 (eval "$ac_try") 2>&5
16990 ac_status=$?
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try='test -s conftest$ac_exeext'
16994 { (case "(($ac_try" in
16995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16996 *) ac_try_echo=$ac_try;;
16997 esac
16998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16999 (eval "$ac_try") 2>&5
17000 ac_status=$?
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; }; then
17003 ac_cv_c_dll_unixware="yes"
17004 else
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.$ac_ext >&5
17008 ac_cv_c_dll_unixware="no"
17011 rm -f core conftest.err conftest.$ac_objext \
17012 conftest$ac_exeext conftest.$ac_ext
17013 CFLAGS=$ac_wine_try_cflags_saved
17015 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
17016 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
17017 if test "$ac_cv_c_dll_unixware" = "yes"
17018 then
17019 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
17020 LDDLLFLAGS="-Wl,-G,-B,symbolic"
17022 else
17023 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
17024 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
17025 if test "${ac_cv_c_dll_macho+set}" = set; then
17026 echo $ECHO_N "(cached) $ECHO_C" >&6
17027 else
17028 ac_wine_try_cflags_saved=$CFLAGS
17029 CFLAGS="$CFLAGS -bundle"
17030 cat >conftest.$ac_ext <<_ACEOF
17031 void myfunc() {}
17032 _ACEOF
17033 rm -f conftest.$ac_objext conftest$ac_exeext
17034 if { (ac_try="$ac_link"
17035 case "(($ac_try" in
17036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17037 *) ac_try_echo=$ac_try;;
17038 esac
17039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17040 (eval "$ac_link") 2>conftest.er1
17041 ac_status=$?
17042 grep -v '^ *+' conftest.er1 >conftest.err
17043 rm -f conftest.er1
17044 cat conftest.err >&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17048 { (case "(($ac_try" in
17049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17050 *) ac_try_echo=$ac_try;;
17051 esac
17052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17053 (eval "$ac_try") 2>&5
17054 ac_status=$?
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; } &&
17057 { ac_try='test -s conftest$ac_exeext'
17058 { (case "(($ac_try" in
17059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17060 *) ac_try_echo=$ac_try;;
17061 esac
17062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17063 (eval "$ac_try") 2>&5
17064 ac_status=$?
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; }; then
17067 ac_cv_c_dll_macho="yes"
17068 else
17069 echo "$as_me: failed program was:" >&5
17070 sed 's/^/| /' conftest.$ac_ext >&5
17072 ac_cv_c_dll_macho="no"
17075 rm -f core conftest.err conftest.$ac_objext \
17076 conftest$ac_exeext conftest.$ac_ext
17077 CFLAGS=$ac_wine_try_cflags_saved
17079 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
17080 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
17081 if test "$ac_cv_c_dll_macho" = "yes"
17082 then
17083 LIBEXT="dylib"
17084 LDDLLFLAGS="-bundle -multiply_defined suppress"
17085 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
17086 STRIP="$STRIP -u -r"
17087 COREFOUNDATIONLIB="-framework CoreFoundation"
17089 IOKITLIB="-framework IOKit -framework CoreFoundation"
17091 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
17093 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
17094 then
17095 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
17098 case $host_cpu in
17099 *powerpc*)
17100 CFLAGS="$CFLAGS -ffixed-r13"
17101 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"
17103 esac
17105 else
17106 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
17107 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
17108 if test "${ac_cv_c_dll_hpux+set}" = set; then
17109 echo $ECHO_N "(cached) $ECHO_C" >&6
17110 else
17111 ac_wine_try_cflags_saved=$CFLAGS
17112 CFLAGS="$CFLAGS -shared"
17113 cat >conftest.$ac_ext <<_ACEOF
17114 void myfunc() {}
17115 _ACEOF
17116 rm -f conftest.$ac_objext conftest$ac_exeext
17117 if { (ac_try="$ac_link"
17118 case "(($ac_try" in
17119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17120 *) ac_try_echo=$ac_try;;
17121 esac
17122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17123 (eval "$ac_link") 2>conftest.er1
17124 ac_status=$?
17125 grep -v '^ *+' conftest.er1 >conftest.err
17126 rm -f conftest.er1
17127 cat conftest.err >&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); } &&
17130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17131 { (case "(($ac_try" in
17132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17133 *) ac_try_echo=$ac_try;;
17134 esac
17135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17136 (eval "$ac_try") 2>&5
17137 ac_status=$?
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); }; } &&
17140 { ac_try='test -s conftest$ac_exeext'
17141 { (case "(($ac_try" in
17142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17143 *) ac_try_echo=$ac_try;;
17144 esac
17145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17146 (eval "$ac_try") 2>&5
17147 ac_status=$?
17148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17149 (exit $ac_status); }; }; then
17150 ac_cv_c_dll_hpux="yes"
17151 else
17152 echo "$as_me: failed program was:" >&5
17153 sed 's/^/| /' conftest.$ac_ext >&5
17155 ac_cv_c_dll_hpux="no"
17158 rm -f core conftest.err conftest.$ac_objext \
17159 conftest$ac_exeext conftest.$ac_ext
17160 CFLAGS=$ac_wine_try_cflags_saved
17162 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
17163 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
17164 if test "$ac_cv_c_dll_hpux" = "yes"
17165 then
17166 LIBEXT="sl"
17167 DLLEXT=".sl"
17168 LDDLLFLAGS="-shared -fPIC"
17169 LDSHARED="\$(CC) -shared"
17176 CROSSTEST=""
17178 if test "$cross_compiling" = "no"
17179 then
17180 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
17182 # Extract the first word of "$ac_prog", so it can be a program name with args.
17183 set dummy $ac_prog; ac_word=$2
17184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17186 if test "${ac_cv_prog_CROSSCC+set}" = set; then
17187 echo $ECHO_N "(cached) $ECHO_C" >&6
17188 else
17189 if test -n "$CROSSCC"; then
17190 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
17191 else
17192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17193 for as_dir in $PATH
17195 IFS=$as_save_IFS
17196 test -z "$as_dir" && as_dir=.
17197 for ac_exec_ext in '' $ac_executable_extensions; do
17198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17199 ac_cv_prog_CROSSCC="$ac_prog"
17200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17201 break 2
17203 done
17204 done
17205 IFS=$as_save_IFS
17209 CROSSCC=$ac_cv_prog_CROSSCC
17210 if test -n "$CROSSCC"; then
17211 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
17212 echo "${ECHO_T}$CROSSCC" >&6; }
17213 else
17214 { echo "$as_me:$LINENO: result: no" >&5
17215 echo "${ECHO_T}no" >&6; }
17219 test -n "$CROSSCC" && break
17220 done
17221 test -n "$CROSSCC" || CROSSCC="false"
17223 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
17225 # Extract the first word of "$ac_prog", so it can be a program name with args.
17226 set dummy $ac_prog; ac_word=$2
17227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17229 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 else
17232 if test -n "$DLLTOOL"; then
17233 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17234 else
17235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17236 for as_dir in $PATH
17238 IFS=$as_save_IFS
17239 test -z "$as_dir" && as_dir=.
17240 for ac_exec_ext in '' $ac_executable_extensions; do
17241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17242 ac_cv_prog_DLLTOOL="$ac_prog"
17243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17244 break 2
17246 done
17247 done
17248 IFS=$as_save_IFS
17252 DLLTOOL=$ac_cv_prog_DLLTOOL
17253 if test -n "$DLLTOOL"; then
17254 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17255 echo "${ECHO_T}$DLLTOOL" >&6; }
17256 else
17257 { echo "$as_me:$LINENO: result: no" >&5
17258 echo "${ECHO_T}no" >&6; }
17262 test -n "$DLLTOOL" && break
17263 done
17264 test -n "$DLLTOOL" || DLLTOOL="false"
17266 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
17268 # Extract the first word of "$ac_prog", so it can be a program name with args.
17269 set dummy $ac_prog; ac_word=$2
17270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17272 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
17273 echo $ECHO_N "(cached) $ECHO_C" >&6
17274 else
17275 if test -n "$CROSSWINDRES"; then
17276 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
17277 else
17278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17279 for as_dir in $PATH
17281 IFS=$as_save_IFS
17282 test -z "$as_dir" && as_dir=.
17283 for ac_exec_ext in '' $ac_executable_extensions; do
17284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17285 ac_cv_prog_CROSSWINDRES="$ac_prog"
17286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17287 break 2
17289 done
17290 done
17291 IFS=$as_save_IFS
17295 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
17296 if test -n "$CROSSWINDRES"; then
17297 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
17298 echo "${ECHO_T}$CROSSWINDRES" >&6; }
17299 else
17300 { echo "$as_me:$LINENO: result: no" >&5
17301 echo "${ECHO_T}no" >&6; }
17305 test -n "$CROSSWINDRES" && break
17306 done
17307 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
17309 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
17312 esac
17314 if test "$LIBEXT" = "a"; then
17315 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
17316 It is currently not possible to build Wine without shared library
17317 (.so) support to allow transparent switch between .so and .dll files.
17318 If you are using Linux, you will need a newer binutils.
17319 " >&5
17320 echo "$as_me: error: could not find a way to build shared libraries.
17321 It is currently not possible to build Wine without shared library
17322 (.so) support to allow transparent switch between .so and .dll files.
17323 If you are using Linux, you will need a newer binutils.
17324 " >&2;}
17325 { (exit 1); exit 1; }; }
17328 case $build_os in
17329 cygwin*|mingw32*)
17330 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
17332 darwin*|macosx*)
17333 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
17336 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
17338 esac
17340 case $host_os in
17341 mingw32*)
17342 CRTLIBS="-lmsvcrt"
17344 SOCKETLIBS="-lws2_32"
17347 esac
17349 MAIN_BINARY="wine-pthread"
17350 case $host_cpu in
17351 *i[3456789]86*)
17352 case $host_os in
17353 linux* | k*bsd*-gnu)
17354 MAIN_BINARY="wine-glibc"
17356 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
17358 esac
17360 esac
17363 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
17364 then
17365 # Extract the first word of "ldd", so it can be a program name with args.
17366 set dummy ldd; ac_word=$2
17367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17369 if test "${ac_cv_path_LDD+set}" = set; then
17370 echo $ECHO_N "(cached) $ECHO_C" >&6
17371 else
17372 case $LDD in
17373 [\\/]* | ?:[\\/]*)
17374 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
17377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17378 as_dummy="/sbin:/usr/sbin:$PATH"
17379 for as_dir in $as_dummy
17381 IFS=$as_save_IFS
17382 test -z "$as_dir" && as_dir=.
17383 for ac_exec_ext in '' $ac_executable_extensions; do
17384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17385 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
17386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17387 break 2
17389 done
17390 done
17391 IFS=$as_save_IFS
17393 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
17395 esac
17397 LDD=$ac_cv_path_LDD
17398 if test -n "$LDD"; then
17399 { echo "$as_me:$LINENO: result: $LDD" >&5
17400 echo "${ECHO_T}$LDD" >&6; }
17401 else
17402 { echo "$as_me:$LINENO: result: no" >&5
17403 echo "${ECHO_T}no" >&6; }
17407 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
17408 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
17409 if test "${ac_cv_lib_soname_X11+set}" = set; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17411 else
17412 ac_get_soname_save_LIBS=$LIBS
17413 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
17414 cat >conftest.$ac_ext <<_ACEOF
17415 /* confdefs.h. */
17416 _ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17421 /* Override any GCC internal prototype to avoid an error.
17422 Use char because int might match the return type of a GCC
17423 builtin and then its argument prototype would still apply. */
17424 #ifdef __cplusplus
17425 extern "C"
17426 #endif
17427 char XCreateWindow ();
17429 main ()
17431 return XCreateWindow ();
17433 return 0;
17435 _ACEOF
17436 rm -f conftest.$ac_objext conftest$ac_exeext
17437 if { (ac_try="$ac_link"
17438 case "(($ac_try" in
17439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17440 *) ac_try_echo=$ac_try;;
17441 esac
17442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17443 (eval "$ac_link") 2>conftest.er1
17444 ac_status=$?
17445 grep -v '^ *+' conftest.er1 >conftest.err
17446 rm -f conftest.er1
17447 cat conftest.err >&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); } &&
17450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17451 { (case "(($ac_try" in
17452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17453 *) ac_try_echo=$ac_try;;
17454 esac
17455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17456 (eval "$ac_try") 2>&5
17457 ac_status=$?
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; } &&
17460 { ac_try='test -s conftest$ac_exeext'
17461 { (case "(($ac_try" in
17462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17463 *) ac_try_echo=$ac_try;;
17464 esac
17465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17466 (eval "$ac_try") 2>&5
17467 ac_status=$?
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17470 case "$LIBEXT" in
17471 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'` ;;
17472 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17473 esac
17474 if test "x$ac_cv_lib_soname_X11" = "x"
17475 then
17476 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17478 else
17479 echo "$as_me: failed program was:" >&5
17480 sed 's/^/| /' conftest.$ac_ext >&5
17482 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17485 rm -f core conftest.err conftest.$ac_objext \
17486 conftest$ac_exeext conftest.$ac_ext
17487 LIBS=$ac_get_soname_save_LIBS
17489 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
17490 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
17491 if test "${ac_cv_lib_soname_X11+set}" = set; then
17493 cat >>confdefs.h <<_ACEOF
17494 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
17495 _ACEOF
17499 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
17500 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
17501 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17502 echo $ECHO_N "(cached) $ECHO_C" >&6
17503 else
17504 ac_get_soname_save_LIBS=$LIBS
17505 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
17506 cat >conftest.$ac_ext <<_ACEOF
17507 /* confdefs.h. */
17508 _ACEOF
17509 cat confdefs.h >>conftest.$ac_ext
17510 cat >>conftest.$ac_ext <<_ACEOF
17511 /* end confdefs.h. */
17513 /* Override any GCC internal prototype to avoid an error.
17514 Use char because int might match the return type of a GCC
17515 builtin and then its argument prototype would still apply. */
17516 #ifdef __cplusplus
17517 extern "C"
17518 #endif
17519 char XextCreateExtension ();
17521 main ()
17523 return XextCreateExtension ();
17525 return 0;
17527 _ACEOF
17528 rm -f conftest.$ac_objext conftest$ac_exeext
17529 if { (ac_try="$ac_link"
17530 case "(($ac_try" in
17531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17532 *) ac_try_echo=$ac_try;;
17533 esac
17534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17535 (eval "$ac_link") 2>conftest.er1
17536 ac_status=$?
17537 grep -v '^ *+' conftest.er1 >conftest.err
17538 rm -f conftest.er1
17539 cat conftest.err >&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } &&
17542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17543 { (case "(($ac_try" in
17544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17545 *) ac_try_echo=$ac_try;;
17546 esac
17547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17548 (eval "$ac_try") 2>&5
17549 ac_status=$?
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; } &&
17552 { ac_try='test -s conftest$ac_exeext'
17553 { (case "(($ac_try" in
17554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17555 *) ac_try_echo=$ac_try;;
17556 esac
17557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17558 (eval "$ac_try") 2>&5
17559 ac_status=$?
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); }; }; then
17562 case "$LIBEXT" in
17563 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'` ;;
17564 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17565 esac
17566 if test "x$ac_cv_lib_soname_Xext" = "x"
17567 then
17568 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17570 else
17571 echo "$as_me: failed program was:" >&5
17572 sed 's/^/| /' conftest.$ac_ext >&5
17574 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17577 rm -f core conftest.err conftest.$ac_objext \
17578 conftest$ac_exeext conftest.$ac_ext
17579 LIBS=$ac_get_soname_save_LIBS
17581 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
17582 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
17583 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17585 cat >>confdefs.h <<_ACEOF
17586 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
17587 _ACEOF
17591 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
17592 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
17593 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17594 echo $ECHO_N "(cached) $ECHO_C" >&6
17595 else
17596 ac_get_soname_save_LIBS=$LIBS
17597 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17598 cat >conftest.$ac_ext <<_ACEOF
17599 /* confdefs.h. */
17600 _ACEOF
17601 cat confdefs.h >>conftest.$ac_ext
17602 cat >>conftest.$ac_ext <<_ACEOF
17603 /* end confdefs.h. */
17605 /* Override any GCC internal prototype to avoid an error.
17606 Use char because int might match the return type of a GCC
17607 builtin and then its argument prototype would still apply. */
17608 #ifdef __cplusplus
17609 extern "C"
17610 #endif
17611 char XOpenDevice ();
17613 main ()
17615 return XOpenDevice ();
17617 return 0;
17619 _ACEOF
17620 rm -f conftest.$ac_objext conftest$ac_exeext
17621 if { (ac_try="$ac_link"
17622 case "(($ac_try" in
17623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17624 *) ac_try_echo=$ac_try;;
17625 esac
17626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17627 (eval "$ac_link") 2>conftest.er1
17628 ac_status=$?
17629 grep -v '^ *+' conftest.er1 >conftest.err
17630 rm -f conftest.er1
17631 cat conftest.err >&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); } &&
17634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17635 { (case "(($ac_try" in
17636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17637 *) ac_try_echo=$ac_try;;
17638 esac
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_try") 2>&5
17641 ac_status=$?
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; } &&
17644 { ac_try='test -s conftest$ac_exeext'
17645 { (case "(($ac_try" in
17646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17647 *) ac_try_echo=$ac_try;;
17648 esac
17649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17650 (eval "$ac_try") 2>&5
17651 ac_status=$?
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); }; }; then
17654 case "$LIBEXT" in
17655 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'` ;;
17656 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17657 esac
17658 if test "x$ac_cv_lib_soname_Xi" = "x"
17659 then
17660 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17662 else
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.$ac_ext >&5
17666 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17669 rm -f core conftest.err conftest.$ac_objext \
17670 conftest$ac_exeext conftest.$ac_ext
17671 LIBS=$ac_get_soname_save_LIBS
17673 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
17674 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
17675 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17677 cat >>confdefs.h <<_ACEOF
17678 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
17679 _ACEOF
17683 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
17684 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
17685 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17686 echo $ECHO_N "(cached) $ECHO_C" >&6
17687 else
17688 ac_get_soname_save_LIBS=$LIBS
17689 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17690 cat >conftest.$ac_ext <<_ACEOF
17691 /* confdefs.h. */
17692 _ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17697 /* Override any GCC internal prototype to avoid an error.
17698 Use char because int might match the return type of a GCC
17699 builtin and then its argument prototype would still apply. */
17700 #ifdef __cplusplus
17701 extern "C"
17702 #endif
17703 char XRenderQueryExtension ();
17705 main ()
17707 return XRenderQueryExtension ();
17709 return 0;
17711 _ACEOF
17712 rm -f conftest.$ac_objext conftest$ac_exeext
17713 if { (ac_try="$ac_link"
17714 case "(($ac_try" in
17715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17716 *) ac_try_echo=$ac_try;;
17717 esac
17718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17719 (eval "$ac_link") 2>conftest.er1
17720 ac_status=$?
17721 grep -v '^ *+' conftest.er1 >conftest.err
17722 rm -f conftest.er1
17723 cat conftest.err >&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } &&
17726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17727 { (case "(($ac_try" in
17728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17729 *) ac_try_echo=$ac_try;;
17730 esac
17731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17732 (eval "$ac_try") 2>&5
17733 ac_status=$?
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; } &&
17736 { ac_try='test -s conftest$ac_exeext'
17737 { (case "(($ac_try" in
17738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17739 *) ac_try_echo=$ac_try;;
17740 esac
17741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17742 (eval "$ac_try") 2>&5
17743 ac_status=$?
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; }; then
17746 case "$LIBEXT" in
17747 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'` ;;
17748 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17749 esac
17750 if test "x$ac_cv_lib_soname_Xrender" = "x"
17751 then
17752 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17754 else
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17758 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17761 rm -f core conftest.err conftest.$ac_objext \
17762 conftest$ac_exeext conftest.$ac_ext
17763 LIBS=$ac_get_soname_save_LIBS
17765 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
17766 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
17767 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17769 cat >>confdefs.h <<_ACEOF
17770 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
17771 _ACEOF
17775 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
17776 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
17777 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17778 echo $ECHO_N "(cached) $ECHO_C" >&6
17779 else
17780 ac_get_soname_save_LIBS=$LIBS
17781 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17782 cat >conftest.$ac_ext <<_ACEOF
17783 /* confdefs.h. */
17784 _ACEOF
17785 cat confdefs.h >>conftest.$ac_ext
17786 cat >>conftest.$ac_ext <<_ACEOF
17787 /* end confdefs.h. */
17789 /* Override any GCC internal prototype to avoid an error.
17790 Use char because int might match the return type of a GCC
17791 builtin and then its argument prototype would still apply. */
17792 #ifdef __cplusplus
17793 extern "C"
17794 #endif
17795 char XRRQueryExtension ();
17797 main ()
17799 return XRRQueryExtension ();
17801 return 0;
17803 _ACEOF
17804 rm -f conftest.$ac_objext conftest$ac_exeext
17805 if { (ac_try="$ac_link"
17806 case "(($ac_try" in
17807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17808 *) ac_try_echo=$ac_try;;
17809 esac
17810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17811 (eval "$ac_link") 2>conftest.er1
17812 ac_status=$?
17813 grep -v '^ *+' conftest.er1 >conftest.err
17814 rm -f conftest.er1
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } &&
17818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17819 { (case "(($ac_try" in
17820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17821 *) ac_try_echo=$ac_try;;
17822 esac
17823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17824 (eval "$ac_try") 2>&5
17825 ac_status=$?
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); }; } &&
17828 { ac_try='test -s conftest$ac_exeext'
17829 { (case "(($ac_try" in
17830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17831 *) ac_try_echo=$ac_try;;
17832 esac
17833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17834 (eval "$ac_try") 2>&5
17835 ac_status=$?
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); }; }; then
17838 case "$LIBEXT" in
17839 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'` ;;
17840 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17841 esac
17842 if test "x$ac_cv_lib_soname_Xrandr" = "x"
17843 then
17844 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17846 else
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.$ac_ext >&5
17850 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17853 rm -f core conftest.err conftest.$ac_objext \
17854 conftest$ac_exeext conftest.$ac_ext
17855 LIBS=$ac_get_soname_save_LIBS
17857 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
17858 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
17859 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17861 cat >>confdefs.h <<_ACEOF
17862 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
17863 _ACEOF
17867 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
17868 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
17869 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17871 else
17872 ac_get_soname_save_LIBS=$LIBS
17873 LIBS="-lfreetype $X_LIBS $LIBS"
17874 cat >conftest.$ac_ext <<_ACEOF
17875 /* confdefs.h. */
17876 _ACEOF
17877 cat confdefs.h >>conftest.$ac_ext
17878 cat >>conftest.$ac_ext <<_ACEOF
17879 /* end confdefs.h. */
17881 /* Override any GCC internal prototype to avoid an error.
17882 Use char because int might match the return type of a GCC
17883 builtin and then its argument prototype would still apply. */
17884 #ifdef __cplusplus
17885 extern "C"
17886 #endif
17887 char FT_Init_FreeType ();
17889 main ()
17891 return FT_Init_FreeType ();
17893 return 0;
17895 _ACEOF
17896 rm -f conftest.$ac_objext conftest$ac_exeext
17897 if { (ac_try="$ac_link"
17898 case "(($ac_try" in
17899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17900 *) ac_try_echo=$ac_try;;
17901 esac
17902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17903 (eval "$ac_link") 2>conftest.er1
17904 ac_status=$?
17905 grep -v '^ *+' conftest.er1 >conftest.err
17906 rm -f conftest.er1
17907 cat conftest.err >&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); } &&
17910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17911 { (case "(($ac_try" in
17912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17913 *) ac_try_echo=$ac_try;;
17914 esac
17915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17916 (eval "$ac_try") 2>&5
17917 ac_status=$?
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; } &&
17920 { ac_try='test -s conftest$ac_exeext'
17921 { (case "(($ac_try" in
17922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17923 *) ac_try_echo=$ac_try;;
17924 esac
17925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17926 (eval "$ac_try") 2>&5
17927 ac_status=$?
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; }; then
17930 case "$LIBEXT" in
17931 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'` ;;
17932 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17933 esac
17934 if test "x$ac_cv_lib_soname_freetype" = "x"
17935 then
17936 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17938 else
17939 echo "$as_me: failed program was:" >&5
17940 sed 's/^/| /' conftest.$ac_ext >&5
17942 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17945 rm -f core conftest.err conftest.$ac_objext \
17946 conftest$ac_exeext conftest.$ac_ext
17947 LIBS=$ac_get_soname_save_LIBS
17949 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17950 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17951 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17953 cat >>confdefs.h <<_ACEOF
17954 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17955 _ACEOF
17959 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17960 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17961 if test "${ac_cv_lib_soname_GL+set}" = set; then
17962 echo $ECHO_N "(cached) $ECHO_C" >&6
17963 else
17964 ac_get_soname_save_LIBS=$LIBS
17965 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17966 cat >conftest.$ac_ext <<_ACEOF
17967 /* confdefs.h. */
17968 _ACEOF
17969 cat confdefs.h >>conftest.$ac_ext
17970 cat >>conftest.$ac_ext <<_ACEOF
17971 /* end confdefs.h. */
17973 /* Override any GCC internal prototype to avoid an error.
17974 Use char because int might match the return type of a GCC
17975 builtin and then its argument prototype would still apply. */
17976 #ifdef __cplusplus
17977 extern "C"
17978 #endif
17979 char glXQueryExtension ();
17981 main ()
17983 return glXQueryExtension ();
17985 return 0;
17987 _ACEOF
17988 rm -f conftest.$ac_objext conftest$ac_exeext
17989 if { (ac_try="$ac_link"
17990 case "(($ac_try" in
17991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17992 *) ac_try_echo=$ac_try;;
17993 esac
17994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17995 (eval "$ac_link") 2>conftest.er1
17996 ac_status=$?
17997 grep -v '^ *+' conftest.er1 >conftest.err
17998 rm -f conftest.er1
17999 cat conftest.err >&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); } &&
18002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18003 { (case "(($ac_try" in
18004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18005 *) ac_try_echo=$ac_try;;
18006 esac
18007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18008 (eval "$ac_try") 2>&5
18009 ac_status=$?
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; } &&
18012 { ac_try='test -s conftest$ac_exeext'
18013 { (case "(($ac_try" in
18014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18015 *) ac_try_echo=$ac_try;;
18016 esac
18017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18018 (eval "$ac_try") 2>&5
18019 ac_status=$?
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; }; then
18022 case "$LIBEXT" in
18023 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'` ;;
18024 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18025 esac
18026 if test "x$ac_cv_lib_soname_GL" = "x"
18027 then
18028 ac_cv_lib_soname_GL="libGL.$LIBEXT"
18030 else
18031 echo "$as_me: failed program was:" >&5
18032 sed 's/^/| /' conftest.$ac_ext >&5
18034 ac_cv_lib_soname_GL="libGL.$LIBEXT"
18037 rm -f core conftest.err conftest.$ac_objext \
18038 conftest$ac_exeext conftest.$ac_ext
18039 LIBS=$ac_get_soname_save_LIBS
18041 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
18042 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
18043 if test "${ac_cv_lib_soname_GL+set}" = set; then
18045 cat >>confdefs.h <<_ACEOF
18046 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
18047 _ACEOF
18051 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
18052 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
18053 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18054 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 else
18056 ac_get_soname_save_LIBS=$LIBS
18057 LIBS="-ldbus-1 $LIBS"
18058 cat >conftest.$ac_ext <<_ACEOF
18059 /* confdefs.h. */
18060 _ACEOF
18061 cat confdefs.h >>conftest.$ac_ext
18062 cat >>conftest.$ac_ext <<_ACEOF
18063 /* end confdefs.h. */
18065 /* Override any GCC internal prototype to avoid an error.
18066 Use char because int might match the return type of a GCC
18067 builtin and then its argument prototype would still apply. */
18068 #ifdef __cplusplus
18069 extern "C"
18070 #endif
18071 char dbus_error_init ();
18073 main ()
18075 return dbus_error_init ();
18077 return 0;
18079 _ACEOF
18080 rm -f conftest.$ac_objext conftest$ac_exeext
18081 if { (ac_try="$ac_link"
18082 case "(($ac_try" in
18083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18084 *) ac_try_echo=$ac_try;;
18085 esac
18086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18087 (eval "$ac_link") 2>conftest.er1
18088 ac_status=$?
18089 grep -v '^ *+' conftest.er1 >conftest.err
18090 rm -f conftest.er1
18091 cat conftest.err >&5
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); } &&
18094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18095 { (case "(($ac_try" in
18096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18097 *) ac_try_echo=$ac_try;;
18098 esac
18099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18100 (eval "$ac_try") 2>&5
18101 ac_status=$?
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; } &&
18104 { ac_try='test -s conftest$ac_exeext'
18105 { (case "(($ac_try" in
18106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18107 *) ac_try_echo=$ac_try;;
18108 esac
18109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18110 (eval "$ac_try") 2>&5
18111 ac_status=$?
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); }; }; then
18114 case "$LIBEXT" in
18115 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'` ;;
18116 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'` ;;
18117 esac
18118 if test "x$ac_cv_lib_soname_dbus_1" = "x"
18119 then
18120 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18122 else
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.$ac_ext >&5
18126 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18129 rm -f core conftest.err conftest.$ac_objext \
18130 conftest$ac_exeext conftest.$ac_ext
18131 LIBS=$ac_get_soname_save_LIBS
18133 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
18134 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
18135 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18137 cat >>confdefs.h <<_ACEOF
18138 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
18139 _ACEOF
18143 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
18144 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
18145 if test "${ac_cv_lib_soname_hal+set}" = set; then
18146 echo $ECHO_N "(cached) $ECHO_C" >&6
18147 else
18148 ac_get_soname_save_LIBS=$LIBS
18149 LIBS="-lhal $LIBS"
18150 cat >conftest.$ac_ext <<_ACEOF
18151 /* confdefs.h. */
18152 _ACEOF
18153 cat confdefs.h >>conftest.$ac_ext
18154 cat >>conftest.$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18157 /* Override any GCC internal prototype to avoid an error.
18158 Use char because int might match the return type of a GCC
18159 builtin and then its argument prototype would still apply. */
18160 #ifdef __cplusplus
18161 extern "C"
18162 #endif
18163 char libhal_ctx_new ();
18165 main ()
18167 return libhal_ctx_new ();
18169 return 0;
18171 _ACEOF
18172 rm -f conftest.$ac_objext conftest$ac_exeext
18173 if { (ac_try="$ac_link"
18174 case "(($ac_try" in
18175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18176 *) ac_try_echo=$ac_try;;
18177 esac
18178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18179 (eval "$ac_link") 2>conftest.er1
18180 ac_status=$?
18181 grep -v '^ *+' conftest.er1 >conftest.err
18182 rm -f conftest.er1
18183 cat conftest.err >&5
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); } &&
18186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18187 { (case "(($ac_try" in
18188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18189 *) ac_try_echo=$ac_try;;
18190 esac
18191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18192 (eval "$ac_try") 2>&5
18193 ac_status=$?
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; } &&
18196 { ac_try='test -s conftest$ac_exeext'
18197 { (case "(($ac_try" in
18198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18199 *) ac_try_echo=$ac_try;;
18200 esac
18201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18202 (eval "$ac_try") 2>&5
18203 ac_status=$?
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); }; }; then
18206 case "$LIBEXT" in
18207 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'` ;;
18208 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18209 esac
18210 if test "x$ac_cv_lib_soname_hal" = "x"
18211 then
18212 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18214 else
18215 echo "$as_me: failed program was:" >&5
18216 sed 's/^/| /' conftest.$ac_ext >&5
18218 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18221 rm -f core conftest.err conftest.$ac_objext \
18222 conftest$ac_exeext conftest.$ac_ext
18223 LIBS=$ac_get_soname_save_LIBS
18225 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
18226 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
18227 if test "${ac_cv_lib_soname_hal+set}" = set; then
18229 cat >>confdefs.h <<_ACEOF
18230 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
18231 _ACEOF
18235 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
18236 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
18237 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18238 echo $ECHO_N "(cached) $ECHO_C" >&6
18239 else
18240 ac_get_soname_save_LIBS=$LIBS
18241 LIBS="-ltxc_dxtn $LIBS"
18242 cat >conftest.$ac_ext <<_ACEOF
18243 /* confdefs.h. */
18244 _ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18249 /* Override any GCC internal prototype to avoid an error.
18250 Use char because int might match the return type of a GCC
18251 builtin and then its argument prototype would still apply. */
18252 #ifdef __cplusplus
18253 extern "C"
18254 #endif
18255 char fetch_2d_texel_rgba_dxt1 ();
18257 main ()
18259 return fetch_2d_texel_rgba_dxt1 ();
18261 return 0;
18263 _ACEOF
18264 rm -f conftest.$ac_objext conftest$ac_exeext
18265 if { (ac_try="$ac_link"
18266 case "(($ac_try" in
18267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18268 *) ac_try_echo=$ac_try;;
18269 esac
18270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18271 (eval "$ac_link") 2>conftest.er1
18272 ac_status=$?
18273 grep -v '^ *+' conftest.er1 >conftest.err
18274 rm -f conftest.er1
18275 cat conftest.err >&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } &&
18278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18279 { (case "(($ac_try" in
18280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18281 *) ac_try_echo=$ac_try;;
18282 esac
18283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18284 (eval "$ac_try") 2>&5
18285 ac_status=$?
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; } &&
18288 { ac_try='test -s conftest$ac_exeext'
18289 { (case "(($ac_try" in
18290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18291 *) ac_try_echo=$ac_try;;
18292 esac
18293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18294 (eval "$ac_try") 2>&5
18295 ac_status=$?
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); }; }; then
18298 case "$LIBEXT" in
18299 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'` ;;
18300 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'` ;;
18301 esac
18302 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
18303 then
18304 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18306 else
18307 echo "$as_me: failed program was:" >&5
18308 sed 's/^/| /' conftest.$ac_ext >&5
18310 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18313 rm -f core conftest.err conftest.$ac_objext \
18314 conftest$ac_exeext conftest.$ac_ext
18315 LIBS=$ac_get_soname_save_LIBS
18317 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
18318 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
18319 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18321 cat >>confdefs.h <<_ACEOF
18322 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
18323 _ACEOF
18327 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
18328 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
18329 if test "${ac_cv_lib_soname_cups+set}" = set; then
18330 echo $ECHO_N "(cached) $ECHO_C" >&6
18331 else
18332 ac_get_soname_save_LIBS=$LIBS
18333 LIBS="-lcups $LIBS"
18334 cat >conftest.$ac_ext <<_ACEOF
18335 /* confdefs.h. */
18336 _ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18341 /* Override any GCC internal prototype to avoid an error.
18342 Use char because int might match the return type of a GCC
18343 builtin and then its argument prototype would still apply. */
18344 #ifdef __cplusplus
18345 extern "C"
18346 #endif
18347 char cupsGetDefault ();
18349 main ()
18351 return cupsGetDefault ();
18353 return 0;
18355 _ACEOF
18356 rm -f conftest.$ac_objext conftest$ac_exeext
18357 if { (ac_try="$ac_link"
18358 case "(($ac_try" in
18359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18360 *) ac_try_echo=$ac_try;;
18361 esac
18362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18363 (eval "$ac_link") 2>conftest.er1
18364 ac_status=$?
18365 grep -v '^ *+' conftest.er1 >conftest.err
18366 rm -f conftest.er1
18367 cat conftest.err >&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); } &&
18370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18371 { (case "(($ac_try" in
18372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18373 *) ac_try_echo=$ac_try;;
18374 esac
18375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18376 (eval "$ac_try") 2>&5
18377 ac_status=$?
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); }; } &&
18380 { ac_try='test -s conftest$ac_exeext'
18381 { (case "(($ac_try" in
18382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18383 *) ac_try_echo=$ac_try;;
18384 esac
18385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18386 (eval "$ac_try") 2>&5
18387 ac_status=$?
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; }; then
18390 case "$LIBEXT" in
18391 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'` ;;
18392 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18393 esac
18394 if test "x$ac_cv_lib_soname_cups" = "x"
18395 then
18396 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18398 else
18399 echo "$as_me: failed program was:" >&5
18400 sed 's/^/| /' conftest.$ac_ext >&5
18402 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18405 rm -f core conftest.err conftest.$ac_objext \
18406 conftest$ac_exeext conftest.$ac_ext
18407 LIBS=$ac_get_soname_save_LIBS
18409 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
18410 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
18411 if test "${ac_cv_lib_soname_cups+set}" = set; then
18413 cat >>confdefs.h <<_ACEOF
18414 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
18415 _ACEOF
18419 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
18420 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
18421 if test "${ac_cv_lib_soname_jack+set}" = set; then
18422 echo $ECHO_N "(cached) $ECHO_C" >&6
18423 else
18424 ac_get_soname_save_LIBS=$LIBS
18425 LIBS="-ljack $LIBS"
18426 cat >conftest.$ac_ext <<_ACEOF
18427 /* confdefs.h. */
18428 _ACEOF
18429 cat confdefs.h >>conftest.$ac_ext
18430 cat >>conftest.$ac_ext <<_ACEOF
18431 /* end confdefs.h. */
18433 /* Override any GCC internal prototype to avoid an error.
18434 Use char because int might match the return type of a GCC
18435 builtin and then its argument prototype would still apply. */
18436 #ifdef __cplusplus
18437 extern "C"
18438 #endif
18439 char jack_client_new ();
18441 main ()
18443 return jack_client_new ();
18445 return 0;
18447 _ACEOF
18448 rm -f conftest.$ac_objext conftest$ac_exeext
18449 if { (ac_try="$ac_link"
18450 case "(($ac_try" in
18451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18452 *) ac_try_echo=$ac_try;;
18453 esac
18454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18455 (eval "$ac_link") 2>conftest.er1
18456 ac_status=$?
18457 grep -v '^ *+' conftest.er1 >conftest.err
18458 rm -f conftest.er1
18459 cat conftest.err >&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } &&
18462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18463 { (case "(($ac_try" in
18464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18465 *) ac_try_echo=$ac_try;;
18466 esac
18467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18468 (eval "$ac_try") 2>&5
18469 ac_status=$?
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; } &&
18472 { ac_try='test -s conftest$ac_exeext'
18473 { (case "(($ac_try" in
18474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18475 *) ac_try_echo=$ac_try;;
18476 esac
18477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18478 (eval "$ac_try") 2>&5
18479 ac_status=$?
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; }; then
18482 case "$LIBEXT" in
18483 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'` ;;
18484 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18485 esac
18486 if test "x$ac_cv_lib_soname_jack" = "x"
18487 then
18488 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18490 else
18491 echo "$as_me: failed program was:" >&5
18492 sed 's/^/| /' conftest.$ac_ext >&5
18494 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18497 rm -f core conftest.err conftest.$ac_objext \
18498 conftest$ac_exeext conftest.$ac_ext
18499 LIBS=$ac_get_soname_save_LIBS
18501 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
18502 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
18503 if test "${ac_cv_lib_soname_jack+set}" = set; then
18505 cat >>confdefs.h <<_ACEOF
18506 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
18507 _ACEOF
18511 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
18512 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
18513 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18514 echo $ECHO_N "(cached) $ECHO_C" >&6
18515 else
18516 ac_get_soname_save_LIBS=$LIBS
18517 LIBS="-lfontconfig $LIBS"
18518 cat >conftest.$ac_ext <<_ACEOF
18519 /* confdefs.h. */
18520 _ACEOF
18521 cat confdefs.h >>conftest.$ac_ext
18522 cat >>conftest.$ac_ext <<_ACEOF
18523 /* end confdefs.h. */
18525 /* Override any GCC internal prototype to avoid an error.
18526 Use char because int might match the return type of a GCC
18527 builtin and then its argument prototype would still apply. */
18528 #ifdef __cplusplus
18529 extern "C"
18530 #endif
18531 char FcInit ();
18533 main ()
18535 return FcInit ();
18537 return 0;
18539 _ACEOF
18540 rm -f conftest.$ac_objext conftest$ac_exeext
18541 if { (ac_try="$ac_link"
18542 case "(($ac_try" in
18543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18544 *) ac_try_echo=$ac_try;;
18545 esac
18546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18547 (eval "$ac_link") 2>conftest.er1
18548 ac_status=$?
18549 grep -v '^ *+' conftest.er1 >conftest.err
18550 rm -f conftest.er1
18551 cat conftest.err >&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } &&
18554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18555 { (case "(($ac_try" in
18556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18557 *) ac_try_echo=$ac_try;;
18558 esac
18559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18560 (eval "$ac_try") 2>&5
18561 ac_status=$?
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); }; } &&
18564 { ac_try='test -s conftest$ac_exeext'
18565 { (case "(($ac_try" in
18566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18567 *) ac_try_echo=$ac_try;;
18568 esac
18569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18570 (eval "$ac_try") 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; }; then
18574 case "$LIBEXT" in
18575 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'` ;;
18576 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18577 esac
18578 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18579 then
18580 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18582 else
18583 echo "$as_me: failed program was:" >&5
18584 sed 's/^/| /' conftest.$ac_ext >&5
18586 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18589 rm -f core conftest.err conftest.$ac_objext \
18590 conftest$ac_exeext conftest.$ac_ext
18591 LIBS=$ac_get_soname_save_LIBS
18593 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
18594 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
18595 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18597 cat >>confdefs.h <<_ACEOF
18598 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
18599 _ACEOF
18603 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
18604 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
18605 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18606 echo $ECHO_N "(cached) $ECHO_C" >&6
18607 else
18608 ac_get_soname_save_LIBS=$LIBS
18609 LIBS="-lssl $LIBS"
18610 cat >conftest.$ac_ext <<_ACEOF
18611 /* confdefs.h. */
18612 _ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18617 /* Override any GCC internal prototype to avoid an error.
18618 Use char because int might match the return type of a GCC
18619 builtin and then its argument prototype would still apply. */
18620 #ifdef __cplusplus
18621 extern "C"
18622 #endif
18623 char SSL_library_init ();
18625 main ()
18627 return SSL_library_init ();
18629 return 0;
18631 _ACEOF
18632 rm -f conftest.$ac_objext conftest$ac_exeext
18633 if { (ac_try="$ac_link"
18634 case "(($ac_try" in
18635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18636 *) ac_try_echo=$ac_try;;
18637 esac
18638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18639 (eval "$ac_link") 2>conftest.er1
18640 ac_status=$?
18641 grep -v '^ *+' conftest.er1 >conftest.err
18642 rm -f conftest.er1
18643 cat conftest.err >&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); } &&
18646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18647 { (case "(($ac_try" in
18648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18649 *) ac_try_echo=$ac_try;;
18650 esac
18651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18652 (eval "$ac_try") 2>&5
18653 ac_status=$?
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); }; } &&
18656 { ac_try='test -s conftest$ac_exeext'
18657 { (case "(($ac_try" in
18658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18659 *) ac_try_echo=$ac_try;;
18660 esac
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_try") 2>&5
18663 ac_status=$?
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); }; }; then
18666 case "$LIBEXT" in
18667 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'` ;;
18668 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18669 esac
18670 if test "x$ac_cv_lib_soname_ssl" = "x"
18671 then
18672 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18674 else
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.$ac_ext >&5
18678 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18681 rm -f core conftest.err conftest.$ac_objext \
18682 conftest$ac_exeext conftest.$ac_ext
18683 LIBS=$ac_get_soname_save_LIBS
18685 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
18686 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
18687 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18689 cat >>confdefs.h <<_ACEOF
18690 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
18691 _ACEOF
18695 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
18696 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
18697 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18699 else
18700 ac_get_soname_save_LIBS=$LIBS
18701 LIBS="-lcrypto $LIBS"
18702 cat >conftest.$ac_ext <<_ACEOF
18703 /* confdefs.h. */
18704 _ACEOF
18705 cat confdefs.h >>conftest.$ac_ext
18706 cat >>conftest.$ac_ext <<_ACEOF
18707 /* end confdefs.h. */
18709 /* Override any GCC internal prototype to avoid an error.
18710 Use char because int might match the return type of a GCC
18711 builtin and then its argument prototype would still apply. */
18712 #ifdef __cplusplus
18713 extern "C"
18714 #endif
18715 char BIO_new_socket ();
18717 main ()
18719 return BIO_new_socket ();
18721 return 0;
18723 _ACEOF
18724 rm -f conftest.$ac_objext conftest$ac_exeext
18725 if { (ac_try="$ac_link"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18729 esac
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_link") 2>conftest.er1
18732 ac_status=$?
18733 grep -v '^ *+' conftest.er1 >conftest.err
18734 rm -f conftest.er1
18735 cat conftest.err >&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); } &&
18738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18739 { (case "(($ac_try" in
18740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18741 *) ac_try_echo=$ac_try;;
18742 esac
18743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18744 (eval "$ac_try") 2>&5
18745 ac_status=$?
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); }; } &&
18748 { ac_try='test -s conftest$ac_exeext'
18749 { (case "(($ac_try" in
18750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18751 *) ac_try_echo=$ac_try;;
18752 esac
18753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18754 (eval "$ac_try") 2>&5
18755 ac_status=$?
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); }; }; then
18758 case "$LIBEXT" in
18759 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'` ;;
18760 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18761 esac
18762 if test "x$ac_cv_lib_soname_crypto" = "x"
18763 then
18764 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18766 else
18767 echo "$as_me: failed program was:" >&5
18768 sed 's/^/| /' conftest.$ac_ext >&5
18770 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18773 rm -f core conftest.err conftest.$ac_objext \
18774 conftest$ac_exeext conftest.$ac_ext
18775 LIBS=$ac_get_soname_save_LIBS
18777 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
18778 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
18779 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18781 cat >>confdefs.h <<_ACEOF
18782 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
18783 _ACEOF
18787 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
18788 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
18789 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18790 echo $ECHO_N "(cached) $ECHO_C" >&6
18791 else
18792 ac_get_soname_save_LIBS=$LIBS
18793 LIBS="-lncurses $LIBS"
18794 cat >conftest.$ac_ext <<_ACEOF
18795 /* confdefs.h. */
18796 _ACEOF
18797 cat confdefs.h >>conftest.$ac_ext
18798 cat >>conftest.$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18801 /* Override any GCC internal prototype to avoid an error.
18802 Use char because int might match the return type of a GCC
18803 builtin and then its argument prototype would still apply. */
18804 #ifdef __cplusplus
18805 extern "C"
18806 #endif
18807 char waddch ();
18809 main ()
18811 return waddch ();
18813 return 0;
18815 _ACEOF
18816 rm -f conftest.$ac_objext conftest$ac_exeext
18817 if { (ac_try="$ac_link"
18818 case "(($ac_try" in
18819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18820 *) ac_try_echo=$ac_try;;
18821 esac
18822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18823 (eval "$ac_link") 2>conftest.er1
18824 ac_status=$?
18825 grep -v '^ *+' conftest.er1 >conftest.err
18826 rm -f conftest.er1
18827 cat conftest.err >&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); } &&
18830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18831 { (case "(($ac_try" in
18832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18833 *) ac_try_echo=$ac_try;;
18834 esac
18835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18836 (eval "$ac_try") 2>&5
18837 ac_status=$?
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); }; } &&
18840 { ac_try='test -s conftest$ac_exeext'
18841 { (case "(($ac_try" in
18842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18843 *) ac_try_echo=$ac_try;;
18844 esac
18845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18846 (eval "$ac_try") 2>&5
18847 ac_status=$?
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); }; }; then
18850 case "$LIBEXT" in
18851 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'` ;;
18852 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18853 esac
18854 if test "x$ac_cv_lib_soname_ncurses" = "x"
18855 then
18856 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18858 else
18859 echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.$ac_ext >&5
18862 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18865 rm -f core conftest.err conftest.$ac_objext \
18866 conftest$ac_exeext conftest.$ac_ext
18867 LIBS=$ac_get_soname_save_LIBS
18869 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
18870 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
18871 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18873 cat >>confdefs.h <<_ACEOF
18874 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
18875 _ACEOF
18879 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
18880 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
18881 if test "${ac_cv_lib_soname_curses+set}" = set; then
18882 echo $ECHO_N "(cached) $ECHO_C" >&6
18883 else
18884 ac_get_soname_save_LIBS=$LIBS
18885 LIBS="-lcurses $LIBS"
18886 cat >conftest.$ac_ext <<_ACEOF
18887 /* confdefs.h. */
18888 _ACEOF
18889 cat confdefs.h >>conftest.$ac_ext
18890 cat >>conftest.$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18893 /* Override any GCC internal prototype to avoid an error.
18894 Use char because int might match the return type of a GCC
18895 builtin and then its argument prototype would still apply. */
18896 #ifdef __cplusplus
18897 extern "C"
18898 #endif
18899 char waddch ();
18901 main ()
18903 return waddch ();
18905 return 0;
18907 _ACEOF
18908 rm -f conftest.$ac_objext conftest$ac_exeext
18909 if { (ac_try="$ac_link"
18910 case "(($ac_try" in
18911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18912 *) ac_try_echo=$ac_try;;
18913 esac
18914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18915 (eval "$ac_link") 2>conftest.er1
18916 ac_status=$?
18917 grep -v '^ *+' conftest.er1 >conftest.err
18918 rm -f conftest.er1
18919 cat conftest.err >&5
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); } &&
18922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18923 { (case "(($ac_try" in
18924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18925 *) ac_try_echo=$ac_try;;
18926 esac
18927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_try") 2>&5
18929 ac_status=$?
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); }; } &&
18932 { ac_try='test -s conftest$ac_exeext'
18933 { (case "(($ac_try" in
18934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18935 *) ac_try_echo=$ac_try;;
18936 esac
18937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18938 (eval "$ac_try") 2>&5
18939 ac_status=$?
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); }; }; then
18942 case "$LIBEXT" in
18943 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'` ;;
18944 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18945 esac
18946 if test "x$ac_cv_lib_soname_curses" = "x"
18947 then
18948 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18950 else
18951 echo "$as_me: failed program was:" >&5
18952 sed 's/^/| /' conftest.$ac_ext >&5
18954 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18957 rm -f core conftest.err conftest.$ac_objext \
18958 conftest$ac_exeext conftest.$ac_ext
18959 LIBS=$ac_get_soname_save_LIBS
18961 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
18962 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
18963 if test "${ac_cv_lib_soname_curses+set}" = set; then
18965 cat >>confdefs.h <<_ACEOF
18966 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
18967 _ACEOF
18971 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
18972 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
18973 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18974 echo $ECHO_N "(cached) $ECHO_C" >&6
18975 else
18976 ac_get_soname_save_LIBS=$LIBS
18977 LIBS="-ljpeg $LIBS"
18978 cat >conftest.$ac_ext <<_ACEOF
18979 /* confdefs.h. */
18980 _ACEOF
18981 cat confdefs.h >>conftest.$ac_ext
18982 cat >>conftest.$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18985 /* Override any GCC internal prototype to avoid an error.
18986 Use char because int might match the return type of a GCC
18987 builtin and then its argument prototype would still apply. */
18988 #ifdef __cplusplus
18989 extern "C"
18990 #endif
18991 char jpeg_start_decompress ();
18993 main ()
18995 return jpeg_start_decompress ();
18997 return 0;
18999 _ACEOF
19000 rm -f conftest.$ac_objext conftest$ac_exeext
19001 if { (ac_try="$ac_link"
19002 case "(($ac_try" in
19003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19004 *) ac_try_echo=$ac_try;;
19005 esac
19006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19007 (eval "$ac_link") 2>conftest.er1
19008 ac_status=$?
19009 grep -v '^ *+' conftest.er1 >conftest.err
19010 rm -f conftest.er1
19011 cat conftest.err >&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); } &&
19014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19015 { (case "(($ac_try" in
19016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19017 *) ac_try_echo=$ac_try;;
19018 esac
19019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19020 (eval "$ac_try") 2>&5
19021 ac_status=$?
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; } &&
19024 { ac_try='test -s conftest$ac_exeext'
19025 { (case "(($ac_try" in
19026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19027 *) ac_try_echo=$ac_try;;
19028 esac
19029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19030 (eval "$ac_try") 2>&5
19031 ac_status=$?
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; }; then
19034 case "$LIBEXT" in
19035 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'` ;;
19036 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19037 esac
19038 if test "x$ac_cv_lib_soname_jpeg" = "x"
19039 then
19040 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
19042 else
19043 echo "$as_me: failed program was:" >&5
19044 sed 's/^/| /' conftest.$ac_ext >&5
19046 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
19049 rm -f core conftest.err conftest.$ac_objext \
19050 conftest$ac_exeext conftest.$ac_ext
19051 LIBS=$ac_get_soname_save_LIBS
19053 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
19054 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
19055 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
19057 cat >>confdefs.h <<_ACEOF
19058 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
19059 _ACEOF
19063 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
19064 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
19065 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19067 else
19068 ac_get_soname_save_LIBS=$LIBS
19069 LIBS="-lungif $LIBS"
19070 cat >conftest.$ac_ext <<_ACEOF
19071 /* confdefs.h. */
19072 _ACEOF
19073 cat confdefs.h >>conftest.$ac_ext
19074 cat >>conftest.$ac_ext <<_ACEOF
19075 /* end confdefs.h. */
19077 /* Override any GCC internal prototype to avoid an error.
19078 Use char because int might match the return type of a GCC
19079 builtin and then its argument prototype would still apply. */
19080 #ifdef __cplusplus
19081 extern "C"
19082 #endif
19083 char DGifOpen ();
19085 main ()
19087 return DGifOpen ();
19089 return 0;
19091 _ACEOF
19092 rm -f conftest.$ac_objext conftest$ac_exeext
19093 if { (ac_try="$ac_link"
19094 case "(($ac_try" in
19095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19096 *) ac_try_echo=$ac_try;;
19097 esac
19098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19099 (eval "$ac_link") 2>conftest.er1
19100 ac_status=$?
19101 grep -v '^ *+' conftest.er1 >conftest.err
19102 rm -f conftest.er1
19103 cat conftest.err >&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } &&
19106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19107 { (case "(($ac_try" in
19108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19109 *) ac_try_echo=$ac_try;;
19110 esac
19111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19112 (eval "$ac_try") 2>&5
19113 ac_status=$?
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; } &&
19116 { ac_try='test -s conftest$ac_exeext'
19117 { (case "(($ac_try" in
19118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19120 esac
19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_try") 2>&5
19123 ac_status=$?
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); }; }; then
19126 case "$LIBEXT" in
19127 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'` ;;
19128 so) ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.so | sed -e "s/^.*\(libungif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19129 esac
19130 if test "x$ac_cv_lib_soname_ungif" = "x"
19131 then
19132 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
19134 else
19135 echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.$ac_ext >&5
19138 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
19141 rm -f core conftest.err conftest.$ac_objext \
19142 conftest$ac_exeext conftest.$ac_ext
19143 LIBS=$ac_get_soname_save_LIBS
19145 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
19146 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
19147 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19149 cat >>confdefs.h <<_ACEOF
19150 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
19151 _ACEOF
19155 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
19156 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
19157 if test "${ac_cv_lib_soname_gif+set}" = set; then
19158 echo $ECHO_N "(cached) $ECHO_C" >&6
19159 else
19160 ac_get_soname_save_LIBS=$LIBS
19161 LIBS="-lgif $LIBS"
19162 cat >conftest.$ac_ext <<_ACEOF
19163 /* confdefs.h. */
19164 _ACEOF
19165 cat confdefs.h >>conftest.$ac_ext
19166 cat >>conftest.$ac_ext <<_ACEOF
19167 /* end confdefs.h. */
19169 /* Override any GCC internal prototype to avoid an error.
19170 Use char because int might match the return type of a GCC
19171 builtin and then its argument prototype would still apply. */
19172 #ifdef __cplusplus
19173 extern "C"
19174 #endif
19175 char DGifOpen ();
19177 main ()
19179 return DGifOpen ();
19181 return 0;
19183 _ACEOF
19184 rm -f conftest.$ac_objext conftest$ac_exeext
19185 if { (ac_try="$ac_link"
19186 case "(($ac_try" in
19187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19188 *) ac_try_echo=$ac_try;;
19189 esac
19190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_link") 2>conftest.er1
19192 ac_status=$?
19193 grep -v '^ *+' conftest.er1 >conftest.err
19194 rm -f conftest.er1
19195 cat conftest.err >&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } &&
19198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19199 { (case "(($ac_try" in
19200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19201 *) ac_try_echo=$ac_try;;
19202 esac
19203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19204 (eval "$ac_try") 2>&5
19205 ac_status=$?
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; } &&
19208 { ac_try='test -s conftest$ac_exeext'
19209 { (case "(($ac_try" in
19210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19211 *) ac_try_echo=$ac_try;;
19212 esac
19213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19214 (eval "$ac_try") 2>&5
19215 ac_status=$?
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); }; }; then
19218 case "$LIBEXT" in
19219 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'` ;;
19220 so) ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.so | sed -e "s/^.*\(libgif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19221 esac
19222 if test "x$ac_cv_lib_soname_gif" = "x"
19223 then
19224 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19226 else
19227 echo "$as_me: failed program was:" >&5
19228 sed 's/^/| /' conftest.$ac_ext >&5
19230 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19233 rm -f core conftest.err conftest.$ac_objext \
19234 conftest$ac_exeext conftest.$ac_ext
19235 LIBS=$ac_get_soname_save_LIBS
19237 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
19238 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
19239 if test "${ac_cv_lib_soname_gif+set}" = set; then
19241 cat >>confdefs.h <<_ACEOF
19242 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
19243 _ACEOF
19247 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
19248 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
19249 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19250 echo $ECHO_N "(cached) $ECHO_C" >&6
19251 else
19252 ac_get_soname_save_LIBS=$LIBS
19253 LIBS="-lcapi20 $LIBS"
19254 cat >conftest.$ac_ext <<_ACEOF
19255 /* confdefs.h. */
19256 _ACEOF
19257 cat confdefs.h >>conftest.$ac_ext
19258 cat >>conftest.$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19261 /* Override any GCC internal prototype to avoid an error.
19262 Use char because int might match the return type of a GCC
19263 builtin and then its argument prototype would still apply. */
19264 #ifdef __cplusplus
19265 extern "C"
19266 #endif
19267 char capi20_isinstalled ();
19269 main ()
19271 return capi20_isinstalled ();
19273 return 0;
19275 _ACEOF
19276 rm -f conftest.$ac_objext conftest$ac_exeext
19277 if { (ac_try="$ac_link"
19278 case "(($ac_try" in
19279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19280 *) ac_try_echo=$ac_try;;
19281 esac
19282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19283 (eval "$ac_link") 2>conftest.er1
19284 ac_status=$?
19285 grep -v '^ *+' conftest.er1 >conftest.err
19286 rm -f conftest.er1
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } &&
19290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19291 { (case "(($ac_try" in
19292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19294 esac
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_try") 2>&5
19297 ac_status=$?
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; } &&
19300 { ac_try='test -s conftest$ac_exeext'
19301 { (case "(($ac_try" in
19302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19303 *) ac_try_echo=$ac_try;;
19304 esac
19305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19306 (eval "$ac_try") 2>&5
19307 ac_status=$?
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; }; then
19310 case "$LIBEXT" in
19311 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'` ;;
19312 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19313 esac
19314 if test "x$ac_cv_lib_soname_capi20" = "x"
19315 then
19316 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19318 else
19319 echo "$as_me: failed program was:" >&5
19320 sed 's/^/| /' conftest.$ac_ext >&5
19322 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19325 rm -f core conftest.err conftest.$ac_objext \
19326 conftest$ac_exeext conftest.$ac_ext
19327 LIBS=$ac_get_soname_save_LIBS
19329 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
19330 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
19331 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19333 cat >>confdefs.h <<_ACEOF
19334 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
19335 _ACEOF
19409 for ac_func in \
19410 _lwp_create \
19411 _lwp_self \
19412 _pclose \
19413 _popen \
19414 _snprintf \
19415 _spawnvp \
19416 _stricmp \
19417 _strnicmp \
19418 _vsnprintf \
19419 asctime_r \
19420 chsize \
19421 clone \
19422 epoll_create \
19423 ffs \
19424 finite \
19425 fork \
19426 fpclass \
19427 fstatfs \
19428 fstatvfs \
19429 ftruncate \
19430 futimes \
19431 futimesat \
19432 getaddrinfo \
19433 getnameinfo \
19434 getnetbyname \
19435 getopt_long \
19436 getpagesize \
19437 getprotobyname \
19438 getprotobynumber \
19439 getpwuid \
19440 getservbyport \
19441 gettid \
19442 gettimeofday \
19443 getuid \
19444 inet_network \
19445 kqueue \
19446 lstat \
19447 memmove \
19448 mmap \
19449 pclose \
19450 popen \
19451 prctl \
19452 pread \
19453 pwrite \
19454 readlink \
19455 rfork \
19456 sched_yield \
19457 select \
19458 sendmsg \
19459 setrlimit \
19460 settimeofday \
19461 sigaltstack \
19462 sigprocmask \
19463 snprintf \
19464 spawnvp \
19465 statfs \
19466 statvfs \
19467 strcasecmp \
19468 strerror \
19469 strncasecmp \
19470 tcgetattr \
19471 timegm \
19472 usleep \
19473 vsnprintf \
19474 wait4 \
19475 waitpid \
19478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19479 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19481 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19482 echo $ECHO_N "(cached) $ECHO_C" >&6
19483 else
19484 cat >conftest.$ac_ext <<_ACEOF
19485 /* confdefs.h. */
19486 _ACEOF
19487 cat confdefs.h >>conftest.$ac_ext
19488 cat >>conftest.$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19492 #define $ac_func innocuous_$ac_func
19494 /* System header to define __stub macros and hopefully few prototypes,
19495 which can conflict with char $ac_func (); below.
19496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19497 <limits.h> exists even on freestanding compilers. */
19499 #ifdef __STDC__
19500 # include <limits.h>
19501 #else
19502 # include <assert.h>
19503 #endif
19505 #undef $ac_func
19507 /* Override any GCC internal prototype to avoid an error.
19508 Use char because int might match the return type of a GCC
19509 builtin and then its argument prototype would still apply. */
19510 #ifdef __cplusplus
19511 extern "C"
19512 #endif
19513 char $ac_func ();
19514 /* The GNU C library defines this for functions which it implements
19515 to always fail with ENOSYS. Some functions are actually named
19516 something starting with __ and the normal name is an alias. */
19517 #if defined __stub_$ac_func || defined __stub___$ac_func
19518 choke me
19519 #endif
19522 main ()
19524 return $ac_func ();
19526 return 0;
19528 _ACEOF
19529 rm -f conftest.$ac_objext conftest$ac_exeext
19530 if { (ac_try="$ac_link"
19531 case "(($ac_try" in
19532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19533 *) ac_try_echo=$ac_try;;
19534 esac
19535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19536 (eval "$ac_link") 2>conftest.er1
19537 ac_status=$?
19538 grep -v '^ *+' conftest.er1 >conftest.err
19539 rm -f conftest.er1
19540 cat conftest.err >&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); } &&
19543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19544 { (case "(($ac_try" in
19545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19546 *) ac_try_echo=$ac_try;;
19547 esac
19548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19549 (eval "$ac_try") 2>&5
19550 ac_status=$?
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); }; } &&
19553 { ac_try='test -s conftest$ac_exeext'
19554 { (case "(($ac_try" in
19555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19556 *) ac_try_echo=$ac_try;;
19557 esac
19558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19559 (eval "$ac_try") 2>&5
19560 ac_status=$?
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; }; then
19563 eval "$as_ac_var=yes"
19564 else
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.$ac_ext >&5
19568 eval "$as_ac_var=no"
19571 rm -f core conftest.err conftest.$ac_objext \
19572 conftest$ac_exeext conftest.$ac_ext
19574 ac_res=`eval echo '${'$as_ac_var'}'`
19575 { echo "$as_me:$LINENO: result: $ac_res" >&5
19576 echo "${ECHO_T}$ac_res" >&6; }
19577 if test `eval echo '${'$as_ac_var'}'` = yes; then
19578 cat >>confdefs.h <<_ACEOF
19579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19580 _ACEOF
19583 done
19588 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19589 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19590 if test "${ac_cv_c_const+set}" = set; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19592 else
19593 cat >conftest.$ac_ext <<_ACEOF
19594 /* confdefs.h. */
19595 _ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19601 main ()
19603 /* FIXME: Include the comments suggested by Paul. */
19604 #ifndef __cplusplus
19605 /* Ultrix mips cc rejects this. */
19606 typedef int charset[2];
19607 const charset x;
19608 /* SunOS 4.1.1 cc rejects this. */
19609 char const *const *ccp;
19610 char **p;
19611 /* NEC SVR4.0.2 mips cc rejects this. */
19612 struct point {int x, y;};
19613 static struct point const zero = {0,0};
19614 /* AIX XL C 1.02.0.0 rejects this.
19615 It does not let you subtract one const X* pointer from another in
19616 an arm of an if-expression whose if-part is not a constant
19617 expression */
19618 const char *g = "string";
19619 ccp = &g + (g ? g-g : 0);
19620 /* HPUX 7.0 cc rejects these. */
19621 ++ccp;
19622 p = (char**) ccp;
19623 ccp = (char const *const *) p;
19624 { /* SCO 3.2v4 cc rejects this. */
19625 char *t;
19626 char const *s = 0 ? (char *) 0 : (char const *) 0;
19628 *t++ = 0;
19629 if (s) return 0;
19631 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19632 int x[] = {25, 17};
19633 const int *foo = &x[0];
19634 ++foo;
19636 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19637 typedef const int *iptr;
19638 iptr p = 0;
19639 ++p;
19641 { /* AIX XL C 1.02.0.0 rejects this saying
19642 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19643 struct s { int j; const int *ap[3]; };
19644 struct s *b; b->j = 5;
19646 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19647 const int foo = 10;
19648 if (!foo) return 0;
19650 return !x[0] && !zero.x;
19651 #endif
19654 return 0;
19656 _ACEOF
19657 rm -f conftest.$ac_objext
19658 if { (ac_try="$ac_compile"
19659 case "(($ac_try" in
19660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19661 *) ac_try_echo=$ac_try;;
19662 esac
19663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19664 (eval "$ac_compile") 2>conftest.er1
19665 ac_status=$?
19666 grep -v '^ *+' conftest.er1 >conftest.err
19667 rm -f conftest.er1
19668 cat conftest.err >&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); } &&
19671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19672 { (case "(($ac_try" in
19673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19674 *) ac_try_echo=$ac_try;;
19675 esac
19676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19677 (eval "$ac_try") 2>&5
19678 ac_status=$?
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; } &&
19681 { ac_try='test -s conftest.$ac_objext'
19682 { (case "(($ac_try" in
19683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19685 esac
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_try") 2>&5
19688 ac_status=$?
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; }; then
19691 ac_cv_c_const=yes
19692 else
19693 echo "$as_me: failed program was:" >&5
19694 sed 's/^/| /' conftest.$ac_ext >&5
19696 ac_cv_c_const=no
19699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19701 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19702 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19703 if test $ac_cv_c_const = no; then
19705 cat >>confdefs.h <<\_ACEOF
19706 #define const
19707 _ACEOF
19711 { echo "$as_me:$LINENO: checking for inline" >&5
19712 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19713 if test "${ac_cv_c_inline+set}" = set; then
19714 echo $ECHO_N "(cached) $ECHO_C" >&6
19715 else
19716 ac_cv_c_inline=no
19717 for ac_kw in inline __inline__ __inline; do
19718 cat >conftest.$ac_ext <<_ACEOF
19719 /* confdefs.h. */
19720 _ACEOF
19721 cat confdefs.h >>conftest.$ac_ext
19722 cat >>conftest.$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724 #ifndef __cplusplus
19725 typedef int foo_t;
19726 static $ac_kw foo_t static_foo () {return 0; }
19727 $ac_kw foo_t foo () {return 0; }
19728 #endif
19730 _ACEOF
19731 rm -f conftest.$ac_objext
19732 if { (ac_try="$ac_compile"
19733 case "(($ac_try" in
19734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19735 *) ac_try_echo=$ac_try;;
19736 esac
19737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_compile") 2>conftest.er1
19739 ac_status=$?
19740 grep -v '^ *+' conftest.er1 >conftest.err
19741 rm -f conftest.er1
19742 cat conftest.err >&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); } &&
19745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19746 { (case "(($ac_try" in
19747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19749 esac
19750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_try") 2>&5
19752 ac_status=$?
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; } &&
19755 { ac_try='test -s conftest.$ac_objext'
19756 { (case "(($ac_try" in
19757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19758 *) ac_try_echo=$ac_try;;
19759 esac
19760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19761 (eval "$ac_try") 2>&5
19762 ac_status=$?
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); }; }; then
19765 ac_cv_c_inline=$ac_kw
19766 else
19767 echo "$as_me: failed program was:" >&5
19768 sed 's/^/| /' conftest.$ac_ext >&5
19773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19774 test "$ac_cv_c_inline" != no && break
19775 done
19778 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19779 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19782 case $ac_cv_c_inline in
19783 inline | yes) ;;
19785 case $ac_cv_c_inline in
19786 no) ac_val=;;
19787 *) ac_val=$ac_cv_c_inline;;
19788 esac
19789 cat >>confdefs.h <<_ACEOF
19790 #ifndef __cplusplus
19791 #define inline $ac_val
19792 #endif
19793 _ACEOF
19795 esac
19797 { echo "$as_me:$LINENO: checking for mode_t" >&5
19798 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19799 if test "${ac_cv_type_mode_t+set}" = set; then
19800 echo $ECHO_N "(cached) $ECHO_C" >&6
19801 else
19802 cat >conftest.$ac_ext <<_ACEOF
19803 /* confdefs.h. */
19804 _ACEOF
19805 cat confdefs.h >>conftest.$ac_ext
19806 cat >>conftest.$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808 $ac_includes_default
19809 typedef mode_t ac__type_new_;
19811 main ()
19813 if ((ac__type_new_ *) 0)
19814 return 0;
19815 if (sizeof (ac__type_new_))
19816 return 0;
19818 return 0;
19820 _ACEOF
19821 rm -f conftest.$ac_objext
19822 if { (ac_try="$ac_compile"
19823 case "(($ac_try" in
19824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19825 *) ac_try_echo=$ac_try;;
19826 esac
19827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19828 (eval "$ac_compile") 2>conftest.er1
19829 ac_status=$?
19830 grep -v '^ *+' conftest.er1 >conftest.err
19831 rm -f conftest.er1
19832 cat conftest.err >&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); } &&
19835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19836 { (case "(($ac_try" in
19837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19838 *) ac_try_echo=$ac_try;;
19839 esac
19840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19841 (eval "$ac_try") 2>&5
19842 ac_status=$?
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; } &&
19845 { ac_try='test -s conftest.$ac_objext'
19846 { (case "(($ac_try" in
19847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19848 *) ac_try_echo=$ac_try;;
19849 esac
19850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19851 (eval "$ac_try") 2>&5
19852 ac_status=$?
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; }; then
19855 ac_cv_type_mode_t=yes
19856 else
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19860 ac_cv_type_mode_t=no
19863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19865 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19866 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19867 if test $ac_cv_type_mode_t = yes; then
19869 cat >>confdefs.h <<_ACEOF
19870 #define HAVE_MODE_T 1
19871 _ACEOF
19875 { echo "$as_me:$LINENO: checking for off_t" >&5
19876 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19877 if test "${ac_cv_type_off_t+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19879 else
19880 cat >conftest.$ac_ext <<_ACEOF
19881 /* confdefs.h. */
19882 _ACEOF
19883 cat confdefs.h >>conftest.$ac_ext
19884 cat >>conftest.$ac_ext <<_ACEOF
19885 /* end confdefs.h. */
19886 $ac_includes_default
19887 typedef off_t ac__type_new_;
19889 main ()
19891 if ((ac__type_new_ *) 0)
19892 return 0;
19893 if (sizeof (ac__type_new_))
19894 return 0;
19896 return 0;
19898 _ACEOF
19899 rm -f conftest.$ac_objext
19900 if { (ac_try="$ac_compile"
19901 case "(($ac_try" in
19902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19903 *) ac_try_echo=$ac_try;;
19904 esac
19905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19906 (eval "$ac_compile") 2>conftest.er1
19907 ac_status=$?
19908 grep -v '^ *+' conftest.er1 >conftest.err
19909 rm -f conftest.er1
19910 cat conftest.err >&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); } &&
19913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19914 { (case "(($ac_try" in
19915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19916 *) ac_try_echo=$ac_try;;
19917 esac
19918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19919 (eval "$ac_try") 2>&5
19920 ac_status=$?
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; } &&
19923 { ac_try='test -s conftest.$ac_objext'
19924 { (case "(($ac_try" in
19925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19926 *) ac_try_echo=$ac_try;;
19927 esac
19928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19929 (eval "$ac_try") 2>&5
19930 ac_status=$?
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; }; then
19933 ac_cv_type_off_t=yes
19934 else
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.$ac_ext >&5
19938 ac_cv_type_off_t=no
19941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19943 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19944 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19945 if test $ac_cv_type_off_t = yes; then
19947 cat >>confdefs.h <<_ACEOF
19948 #define HAVE_OFF_T 1
19949 _ACEOF
19953 { echo "$as_me:$LINENO: checking for pid_t" >&5
19954 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19955 if test "${ac_cv_type_pid_t+set}" = set; then
19956 echo $ECHO_N "(cached) $ECHO_C" >&6
19957 else
19958 cat >conftest.$ac_ext <<_ACEOF
19959 /* confdefs.h. */
19960 _ACEOF
19961 cat confdefs.h >>conftest.$ac_ext
19962 cat >>conftest.$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964 $ac_includes_default
19965 typedef pid_t ac__type_new_;
19967 main ()
19969 if ((ac__type_new_ *) 0)
19970 return 0;
19971 if (sizeof (ac__type_new_))
19972 return 0;
19974 return 0;
19976 _ACEOF
19977 rm -f conftest.$ac_objext
19978 if { (ac_try="$ac_compile"
19979 case "(($ac_try" in
19980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19981 *) ac_try_echo=$ac_try;;
19982 esac
19983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19984 (eval "$ac_compile") 2>conftest.er1
19985 ac_status=$?
19986 grep -v '^ *+' conftest.er1 >conftest.err
19987 rm -f conftest.er1
19988 cat conftest.err >&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); } &&
19991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19992 { (case "(($ac_try" in
19993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19994 *) ac_try_echo=$ac_try;;
19995 esac
19996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19997 (eval "$ac_try") 2>&5
19998 ac_status=$?
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; } &&
20001 { ac_try='test -s conftest.$ac_objext'
20002 { (case "(($ac_try" in
20003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20004 *) ac_try_echo=$ac_try;;
20005 esac
20006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20007 (eval "$ac_try") 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; }; then
20011 ac_cv_type_pid_t=yes
20012 else
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20016 ac_cv_type_pid_t=no
20019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20021 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20022 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
20023 if test $ac_cv_type_pid_t = yes; then
20025 cat >>confdefs.h <<_ACEOF
20026 #define HAVE_PID_T 1
20027 _ACEOF
20031 { echo "$as_me:$LINENO: checking for size_t" >&5
20032 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20033 if test "${ac_cv_type_size_t+set}" = set; then
20034 echo $ECHO_N "(cached) $ECHO_C" >&6
20035 else
20036 cat >conftest.$ac_ext <<_ACEOF
20037 /* confdefs.h. */
20038 _ACEOF
20039 cat confdefs.h >>conftest.$ac_ext
20040 cat >>conftest.$ac_ext <<_ACEOF
20041 /* end confdefs.h. */
20042 $ac_includes_default
20043 typedef size_t ac__type_new_;
20045 main ()
20047 if ((ac__type_new_ *) 0)
20048 return 0;
20049 if (sizeof (ac__type_new_))
20050 return 0;
20052 return 0;
20054 _ACEOF
20055 rm -f conftest.$ac_objext
20056 if { (ac_try="$ac_compile"
20057 case "(($ac_try" in
20058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20059 *) ac_try_echo=$ac_try;;
20060 esac
20061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20062 (eval "$ac_compile") 2>conftest.er1
20063 ac_status=$?
20064 grep -v '^ *+' conftest.er1 >conftest.err
20065 rm -f conftest.er1
20066 cat conftest.err >&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); } &&
20069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20070 { (case "(($ac_try" in
20071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20072 *) ac_try_echo=$ac_try;;
20073 esac
20074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20075 (eval "$ac_try") 2>&5
20076 ac_status=$?
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); }; } &&
20079 { ac_try='test -s conftest.$ac_objext'
20080 { (case "(($ac_try" in
20081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20082 *) ac_try_echo=$ac_try;;
20083 esac
20084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20085 (eval "$ac_try") 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20089 ac_cv_type_size_t=yes
20090 else
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.$ac_ext >&5
20094 ac_cv_type_size_t=no
20097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20099 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20100 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20101 if test $ac_cv_type_size_t = yes; then
20103 cat >>confdefs.h <<_ACEOF
20104 #define HAVE_SIZE_T 1
20105 _ACEOF
20109 { echo "$as_me:$LINENO: checking for ssize_t" >&5
20110 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
20111 if test "${ac_cv_type_ssize_t+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 else
20114 cat >conftest.$ac_ext <<_ACEOF
20115 /* confdefs.h. */
20116 _ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 $ac_includes_default
20121 typedef ssize_t ac__type_new_;
20123 main ()
20125 if ((ac__type_new_ *) 0)
20126 return 0;
20127 if (sizeof (ac__type_new_))
20128 return 0;
20130 return 0;
20132 _ACEOF
20133 rm -f conftest.$ac_objext
20134 if { (ac_try="$ac_compile"
20135 case "(($ac_try" in
20136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20137 *) ac_try_echo=$ac_try;;
20138 esac
20139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20140 (eval "$ac_compile") 2>conftest.er1
20141 ac_status=$?
20142 grep -v '^ *+' conftest.er1 >conftest.err
20143 rm -f conftest.er1
20144 cat conftest.err >&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); } &&
20147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20148 { (case "(($ac_try" in
20149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20150 *) ac_try_echo=$ac_try;;
20151 esac
20152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20153 (eval "$ac_try") 2>&5
20154 ac_status=$?
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; } &&
20157 { ac_try='test -s conftest.$ac_objext'
20158 { (case "(($ac_try" in
20159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20160 *) ac_try_echo=$ac_try;;
20161 esac
20162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20163 (eval "$ac_try") 2>&5
20164 ac_status=$?
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); }; }; then
20167 ac_cv_type_ssize_t=yes
20168 else
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20172 ac_cv_type_ssize_t=no
20175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20177 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
20178 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
20179 if test $ac_cv_type_ssize_t = yes; then
20181 cat >>confdefs.h <<_ACEOF
20182 #define HAVE_SSIZE_T 1
20183 _ACEOF
20187 { echo "$as_me:$LINENO: checking for long long" >&5
20188 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20189 if test "${ac_cv_type_long_long+set}" = set; then
20190 echo $ECHO_N "(cached) $ECHO_C" >&6
20191 else
20192 cat >conftest.$ac_ext <<_ACEOF
20193 /* confdefs.h. */
20194 _ACEOF
20195 cat confdefs.h >>conftest.$ac_ext
20196 cat >>conftest.$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20198 $ac_includes_default
20199 typedef long long ac__type_new_;
20201 main ()
20203 if ((ac__type_new_ *) 0)
20204 return 0;
20205 if (sizeof (ac__type_new_))
20206 return 0;
20208 return 0;
20210 _ACEOF
20211 rm -f conftest.$ac_objext
20212 if { (ac_try="$ac_compile"
20213 case "(($ac_try" in
20214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20215 *) ac_try_echo=$ac_try;;
20216 esac
20217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20218 (eval "$ac_compile") 2>conftest.er1
20219 ac_status=$?
20220 grep -v '^ *+' conftest.er1 >conftest.err
20221 rm -f conftest.er1
20222 cat conftest.err >&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } &&
20225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20226 { (case "(($ac_try" in
20227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20228 *) ac_try_echo=$ac_try;;
20229 esac
20230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20231 (eval "$ac_try") 2>&5
20232 ac_status=$?
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; } &&
20235 { ac_try='test -s conftest.$ac_objext'
20236 { (case "(($ac_try" in
20237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20238 *) ac_try_echo=$ac_try;;
20239 esac
20240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20241 (eval "$ac_try") 2>&5
20242 ac_status=$?
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); }; }; then
20245 ac_cv_type_long_long=yes
20246 else
20247 echo "$as_me: failed program was:" >&5
20248 sed 's/^/| /' conftest.$ac_ext >&5
20250 ac_cv_type_long_long=no
20253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20255 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20256 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20257 if test $ac_cv_type_long_long = yes; then
20259 cat >>confdefs.h <<_ACEOF
20260 #define HAVE_LONG_LONG 1
20261 _ACEOF
20265 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
20266 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
20267 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
20268 echo $ECHO_N "(cached) $ECHO_C" >&6
20269 else
20270 cat >conftest.$ac_ext <<_ACEOF
20271 /* confdefs.h. */
20272 _ACEOF
20273 cat confdefs.h >>conftest.$ac_ext
20274 cat >>conftest.$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20276 $ac_includes_default
20277 typedef fsblkcnt_t ac__type_new_;
20279 main ()
20281 if ((ac__type_new_ *) 0)
20282 return 0;
20283 if (sizeof (ac__type_new_))
20284 return 0;
20286 return 0;
20288 _ACEOF
20289 rm -f conftest.$ac_objext
20290 if { (ac_try="$ac_compile"
20291 case "(($ac_try" in
20292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20293 *) ac_try_echo=$ac_try;;
20294 esac
20295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20296 (eval "$ac_compile") 2>conftest.er1
20297 ac_status=$?
20298 grep -v '^ *+' conftest.er1 >conftest.err
20299 rm -f conftest.er1
20300 cat conftest.err >&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); } &&
20303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20304 { (case "(($ac_try" in
20305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20306 *) ac_try_echo=$ac_try;;
20307 esac
20308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20309 (eval "$ac_try") 2>&5
20310 ac_status=$?
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); }; } &&
20313 { ac_try='test -s conftest.$ac_objext'
20314 { (case "(($ac_try" in
20315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20316 *) ac_try_echo=$ac_try;;
20317 esac
20318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20319 (eval "$ac_try") 2>&5
20320 ac_status=$?
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; }; then
20323 ac_cv_type_fsblkcnt_t=yes
20324 else
20325 echo "$as_me: failed program was:" >&5
20326 sed 's/^/| /' conftest.$ac_ext >&5
20328 ac_cv_type_fsblkcnt_t=no
20331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20333 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
20334 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
20335 if test $ac_cv_type_fsblkcnt_t = yes; then
20337 cat >>confdefs.h <<_ACEOF
20338 #define HAVE_FSBLKCNT_T 1
20339 _ACEOF
20343 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
20344 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
20345 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
20346 echo $ECHO_N "(cached) $ECHO_C" >&6
20347 else
20348 cat >conftest.$ac_ext <<_ACEOF
20349 /* confdefs.h. */
20350 _ACEOF
20351 cat confdefs.h >>conftest.$ac_ext
20352 cat >>conftest.$ac_ext <<_ACEOF
20353 /* end confdefs.h. */
20354 $ac_includes_default
20355 typedef fsfilcnt_t ac__type_new_;
20357 main ()
20359 if ((ac__type_new_ *) 0)
20360 return 0;
20361 if (sizeof (ac__type_new_))
20362 return 0;
20364 return 0;
20366 _ACEOF
20367 rm -f conftest.$ac_objext
20368 if { (ac_try="$ac_compile"
20369 case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20372 esac
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_compile") 2>conftest.er1
20375 ac_status=$?
20376 grep -v '^ *+' conftest.er1 >conftest.err
20377 rm -f conftest.er1
20378 cat conftest.err >&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } &&
20381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20382 { (case "(($ac_try" in
20383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20384 *) ac_try_echo=$ac_try;;
20385 esac
20386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20387 (eval "$ac_try") 2>&5
20388 ac_status=$?
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); }; } &&
20391 { ac_try='test -s conftest.$ac_objext'
20392 { (case "(($ac_try" in
20393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20394 *) ac_try_echo=$ac_try;;
20395 esac
20396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20397 (eval "$ac_try") 2>&5
20398 ac_status=$?
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); }; }; then
20401 ac_cv_type_fsfilcnt_t=yes
20402 else
20403 echo "$as_me: failed program was:" >&5
20404 sed 's/^/| /' conftest.$ac_ext >&5
20406 ac_cv_type_fsfilcnt_t=no
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20411 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
20412 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
20413 if test $ac_cv_type_fsfilcnt_t = yes; then
20415 cat >>confdefs.h <<_ACEOF
20416 #define HAVE_FSFILCNT_T 1
20417 _ACEOF
20422 { echo "$as_me:$LINENO: checking for sigset_t" >&5
20423 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
20424 if test "${ac_cv_type_sigset_t+set}" = set; then
20425 echo $ECHO_N "(cached) $ECHO_C" >&6
20426 else
20427 cat >conftest.$ac_ext <<_ACEOF
20428 /* confdefs.h. */
20429 _ACEOF
20430 cat confdefs.h >>conftest.$ac_ext
20431 cat >>conftest.$ac_ext <<_ACEOF
20432 /* end confdefs.h. */
20433 #include <signal.h>
20435 typedef sigset_t ac__type_new_;
20437 main ()
20439 if ((ac__type_new_ *) 0)
20440 return 0;
20441 if (sizeof (ac__type_new_))
20442 return 0;
20444 return 0;
20446 _ACEOF
20447 rm -f conftest.$ac_objext
20448 if { (ac_try="$ac_compile"
20449 case "(($ac_try" in
20450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20451 *) ac_try_echo=$ac_try;;
20452 esac
20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20454 (eval "$ac_compile") 2>conftest.er1
20455 ac_status=$?
20456 grep -v '^ *+' conftest.er1 >conftest.err
20457 rm -f conftest.er1
20458 cat conftest.err >&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); } &&
20461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20462 { (case "(($ac_try" in
20463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20464 *) ac_try_echo=$ac_try;;
20465 esac
20466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20467 (eval "$ac_try") 2>&5
20468 ac_status=$?
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); }; } &&
20471 { ac_try='test -s conftest.$ac_objext'
20472 { (case "(($ac_try" in
20473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20474 *) ac_try_echo=$ac_try;;
20475 esac
20476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20477 (eval "$ac_try") 2>&5
20478 ac_status=$?
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); }; }; then
20481 ac_cv_type_sigset_t=yes
20482 else
20483 echo "$as_me: failed program was:" >&5
20484 sed 's/^/| /' conftest.$ac_ext >&5
20486 ac_cv_type_sigset_t=no
20489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20491 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20492 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
20493 if test $ac_cv_type_sigset_t = yes; then
20495 cat >>confdefs.h <<_ACEOF
20496 #define HAVE_SIGSET_T 1
20497 _ACEOF
20502 { echo "$as_me:$LINENO: checking for request_sense" >&5
20503 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20504 if test "${ac_cv_type_request_sense+set}" = set; then
20505 echo $ECHO_N "(cached) $ECHO_C" >&6
20506 else
20507 cat >conftest.$ac_ext <<_ACEOF
20508 /* confdefs.h. */
20509 _ACEOF
20510 cat confdefs.h >>conftest.$ac_ext
20511 cat >>conftest.$ac_ext <<_ACEOF
20512 /* end confdefs.h. */
20513 #include <linux/cdrom.h>
20515 typedef request_sense ac__type_new_;
20517 main ()
20519 if ((ac__type_new_ *) 0)
20520 return 0;
20521 if (sizeof (ac__type_new_))
20522 return 0;
20524 return 0;
20526 _ACEOF
20527 rm -f conftest.$ac_objext
20528 if { (ac_try="$ac_compile"
20529 case "(($ac_try" in
20530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20531 *) ac_try_echo=$ac_try;;
20532 esac
20533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20534 (eval "$ac_compile") 2>conftest.er1
20535 ac_status=$?
20536 grep -v '^ *+' conftest.er1 >conftest.err
20537 rm -f conftest.er1
20538 cat conftest.err >&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } &&
20541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20542 { (case "(($ac_try" in
20543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20544 *) ac_try_echo=$ac_try;;
20545 esac
20546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20547 (eval "$ac_try") 2>&5
20548 ac_status=$?
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; } &&
20551 { ac_try='test -s conftest.$ac_objext'
20552 { (case "(($ac_try" in
20553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20554 *) ac_try_echo=$ac_try;;
20555 esac
20556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_try") 2>&5
20558 ac_status=$?
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_cv_type_request_sense=yes
20562 else
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20566 ac_cv_type_request_sense=no
20569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20571 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20572 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20573 if test $ac_cv_type_request_sense = yes; then
20575 cat >>confdefs.h <<_ACEOF
20576 #define HAVE_REQUEST_SENSE 1
20577 _ACEOF
20583 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20584 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20585 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20586 echo $ECHO_N "(cached) $ECHO_C" >&6
20587 else
20588 cat >conftest.$ac_ext <<_ACEOF
20589 /* confdefs.h. */
20590 _ACEOF
20591 cat confdefs.h >>conftest.$ac_ext
20592 cat >>conftest.$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20594 #ifdef HAVE_LINUX_INPUT_H
20595 #include <linux/input.h>
20596 #endif
20599 main ()
20601 static struct ff_effect ac_aggr;
20602 if (ac_aggr.direction)
20603 return 0;
20605 return 0;
20607 _ACEOF
20608 rm -f conftest.$ac_objext
20609 if { (ac_try="$ac_compile"
20610 case "(($ac_try" in
20611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20612 *) ac_try_echo=$ac_try;;
20613 esac
20614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20615 (eval "$ac_compile") 2>conftest.er1
20616 ac_status=$?
20617 grep -v '^ *+' conftest.er1 >conftest.err
20618 rm -f conftest.er1
20619 cat conftest.err >&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); } &&
20622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20623 { (case "(($ac_try" in
20624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20625 *) ac_try_echo=$ac_try;;
20626 esac
20627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20628 (eval "$ac_try") 2>&5
20629 ac_status=$?
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); }; } &&
20632 { ac_try='test -s conftest.$ac_objext'
20633 { (case "(($ac_try" in
20634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20635 *) ac_try_echo=$ac_try;;
20636 esac
20637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20638 (eval "$ac_try") 2>&5
20639 ac_status=$?
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); }; }; then
20642 ac_cv_member_struct_ff_effect_direction=yes
20643 else
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.$ac_ext >&5
20647 cat >conftest.$ac_ext <<_ACEOF
20648 /* confdefs.h. */
20649 _ACEOF
20650 cat confdefs.h >>conftest.$ac_ext
20651 cat >>conftest.$ac_ext <<_ACEOF
20652 /* end confdefs.h. */
20653 #ifdef HAVE_LINUX_INPUT_H
20654 #include <linux/input.h>
20655 #endif
20658 main ()
20660 static struct ff_effect ac_aggr;
20661 if (sizeof ac_aggr.direction)
20662 return 0;
20664 return 0;
20666 _ACEOF
20667 rm -f conftest.$ac_objext
20668 if { (ac_try="$ac_compile"
20669 case "(($ac_try" in
20670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20671 *) ac_try_echo=$ac_try;;
20672 esac
20673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20674 (eval "$ac_compile") 2>conftest.er1
20675 ac_status=$?
20676 grep -v '^ *+' conftest.er1 >conftest.err
20677 rm -f conftest.er1
20678 cat conftest.err >&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); } &&
20681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20682 { (case "(($ac_try" in
20683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20684 *) ac_try_echo=$ac_try;;
20685 esac
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_try") 2>&5
20688 ac_status=$?
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); }; } &&
20691 { ac_try='test -s conftest.$ac_objext'
20692 { (case "(($ac_try" in
20693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20694 *) ac_try_echo=$ac_try;;
20695 esac
20696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20697 (eval "$ac_try") 2>&5
20698 ac_status=$?
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); }; }; then
20701 ac_cv_member_struct_ff_effect_direction=yes
20702 else
20703 echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.$ac_ext >&5
20706 ac_cv_member_struct_ff_effect_direction=no
20709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20714 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20715 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20716 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20718 cat >>confdefs.h <<_ACEOF
20719 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20720 _ACEOF
20726 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20727 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20728 if test "${wine_cv_have_sigaddset+set}" = set; then
20729 echo $ECHO_N "(cached) $ECHO_C" >&6
20730 else
20731 cat >conftest.$ac_ext <<_ACEOF
20732 /* confdefs.h. */
20733 _ACEOF
20734 cat confdefs.h >>conftest.$ac_ext
20735 cat >>conftest.$ac_ext <<_ACEOF
20736 /* end confdefs.h. */
20737 #include <signal.h>
20739 main ()
20741 sigset_t set; sigaddset(&set,SIGTERM);
20743 return 0;
20745 _ACEOF
20746 rm -f conftest.$ac_objext conftest$ac_exeext
20747 if { (ac_try="$ac_link"
20748 case "(($ac_try" in
20749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20750 *) ac_try_echo=$ac_try;;
20751 esac
20752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20753 (eval "$ac_link") 2>conftest.er1
20754 ac_status=$?
20755 grep -v '^ *+' conftest.er1 >conftest.err
20756 rm -f conftest.er1
20757 cat conftest.err >&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } &&
20760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20761 { (case "(($ac_try" in
20762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20763 *) ac_try_echo=$ac_try;;
20764 esac
20765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20766 (eval "$ac_try") 2>&5
20767 ac_status=$?
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); }; } &&
20770 { ac_try='test -s conftest$ac_exeext'
20771 { (case "(($ac_try" in
20772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20773 *) ac_try_echo=$ac_try;;
20774 esac
20775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20776 (eval "$ac_try") 2>&5
20777 ac_status=$?
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); }; }; then
20780 wine_cv_have_sigaddset=yes
20781 else
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.$ac_ext >&5
20785 wine_cv_have_sigaddset=no
20788 rm -f core conftest.err conftest.$ac_objext \
20789 conftest$ac_exeext conftest.$ac_ext
20791 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20792 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20793 if test "$wine_cv_have_sigaddset" = "yes"
20794 then
20796 cat >>confdefs.h <<\_ACEOF
20797 #define HAVE_SIGADDSET 1
20798 _ACEOF
20803 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20804 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20805 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20806 echo $ECHO_N "(cached) $ECHO_C" >&6
20807 else
20808 cat >conftest.$ac_ext <<_ACEOF
20809 /* confdefs.h. */
20810 _ACEOF
20811 cat confdefs.h >>conftest.$ac_ext
20812 cat >>conftest.$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20815 #include <netdb.h>
20818 main ()
20821 char *name=NULL;
20822 struct hostent he;
20823 struct hostent *result;
20824 char *buf=NULL;
20825 int bufsize=0;
20826 int res,errnr;
20827 char *addr=NULL;
20828 int addrlen=0;
20829 int addrtype=0;
20830 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20831 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20834 return 0;
20836 _ACEOF
20837 rm -f conftest.$ac_objext conftest$ac_exeext
20838 if { (ac_try="$ac_link"
20839 case "(($ac_try" in
20840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20841 *) ac_try_echo=$ac_try;;
20842 esac
20843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20844 (eval "$ac_link") 2>conftest.er1
20845 ac_status=$?
20846 grep -v '^ *+' conftest.er1 >conftest.err
20847 rm -f conftest.er1
20848 cat conftest.err >&5
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); } &&
20851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20852 { (case "(($ac_try" in
20853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20854 *) ac_try_echo=$ac_try;;
20855 esac
20856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20857 (eval "$ac_try") 2>&5
20858 ac_status=$?
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); }; } &&
20861 { ac_try='test -s conftest$ac_exeext'
20862 { (case "(($ac_try" in
20863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20864 *) ac_try_echo=$ac_try;;
20865 esac
20866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20867 (eval "$ac_try") 2>&5
20868 ac_status=$?
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; }; then
20871 wine_cv_linux_gethostbyname_r_6=yes
20872 else
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.$ac_ext >&5
20876 wine_cv_linux_gethostbyname_r_6=no
20880 rm -f core conftest.err conftest.$ac_objext \
20881 conftest$ac_exeext conftest.$ac_ext
20884 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20885 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20886 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20887 then
20889 cat >>confdefs.h <<\_ACEOF
20890 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20891 _ACEOF
20895 if test "$ac_cv_header_linux_joystick_h" = "yes"
20896 then
20897 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20898 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20899 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20900 echo $ECHO_N "(cached) $ECHO_C" >&6
20901 else
20902 cat >conftest.$ac_ext <<_ACEOF
20903 /* confdefs.h. */
20904 _ACEOF
20905 cat confdefs.h >>conftest.$ac_ext
20906 cat >>conftest.$ac_ext <<_ACEOF
20907 /* end confdefs.h. */
20909 #include <sys/ioctl.h>
20910 #include <linux/joystick.h>
20912 struct js_event blub;
20913 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20914 #error "no 2.2 header"
20915 #endif
20918 main ()
20920 /*empty*/
20922 return 0;
20924 _ACEOF
20925 rm -f conftest.$ac_objext
20926 if { (ac_try="$ac_compile"
20927 case "(($ac_try" in
20928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20929 *) ac_try_echo=$ac_try;;
20930 esac
20931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20932 (eval "$ac_compile") 2>conftest.er1
20933 ac_status=$?
20934 grep -v '^ *+' conftest.er1 >conftest.err
20935 rm -f conftest.er1
20936 cat conftest.err >&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); } &&
20939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20940 { (case "(($ac_try" in
20941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20942 *) ac_try_echo=$ac_try;;
20943 esac
20944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20945 (eval "$ac_try") 2>&5
20946 ac_status=$?
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); }; } &&
20949 { ac_try='test -s conftest.$ac_objext'
20950 { (case "(($ac_try" in
20951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20952 *) ac_try_echo=$ac_try;;
20953 esac
20954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20955 (eval "$ac_try") 2>&5
20956 ac_status=$?
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; }; then
20959 wine_cv_linux_joystick_22_api=yes
20960 else
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.$ac_ext >&5
20964 wine_cv_linux_joystick_22_api=no
20967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20970 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20971 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20972 if test "$wine_cv_linux_joystick_22_api" = "yes"
20973 then
20975 cat >>confdefs.h <<\_ACEOF
20976 #define HAVE_LINUX_22_JOYSTICK_API 1
20977 _ACEOF
20983 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20984 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20985 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20986 echo $ECHO_N "(cached) $ECHO_C" >&6
20987 else
20988 cat >conftest.$ac_ext <<_ACEOF
20989 /* confdefs.h. */
20990 _ACEOF
20991 cat confdefs.h >>conftest.$ac_ext
20992 cat >>conftest.$ac_ext <<_ACEOF
20993 /* end confdefs.h. */
20994 #include <sys/types.h>
20995 #ifdef HAVE_SYS_PARAM_H
20996 # include <sys/param.h>
20997 #endif
20998 #ifdef HAVE_SYS_MOUNT_H
20999 # include <sys/mount.h>
21000 #endif
21001 #ifdef HAVE_SYS_VFS_H
21002 # include <sys/vfs.h>
21003 #endif
21004 #ifdef HAVE_SYS_STATFS_H
21005 # include <sys/statfs.h>
21006 #endif
21009 main ()
21011 static struct statfs ac_aggr;
21012 if (ac_aggr.f_bfree)
21013 return 0;
21015 return 0;
21017 _ACEOF
21018 rm -f conftest.$ac_objext
21019 if { (ac_try="$ac_compile"
21020 case "(($ac_try" in
21021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21022 *) ac_try_echo=$ac_try;;
21023 esac
21024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21025 (eval "$ac_compile") 2>conftest.er1
21026 ac_status=$?
21027 grep -v '^ *+' conftest.er1 >conftest.err
21028 rm -f conftest.er1
21029 cat conftest.err >&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); } &&
21032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21033 { (case "(($ac_try" in
21034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21035 *) ac_try_echo=$ac_try;;
21036 esac
21037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21038 (eval "$ac_try") 2>&5
21039 ac_status=$?
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; } &&
21042 { ac_try='test -s conftest.$ac_objext'
21043 { (case "(($ac_try" in
21044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21045 *) ac_try_echo=$ac_try;;
21046 esac
21047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21048 (eval "$ac_try") 2>&5
21049 ac_status=$?
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; }; then
21052 ac_cv_member_struct_statfs_f_bfree=yes
21053 else
21054 echo "$as_me: failed program was:" >&5
21055 sed 's/^/| /' conftest.$ac_ext >&5
21057 cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h. */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 #include <sys/types.h>
21064 #ifdef HAVE_SYS_PARAM_H
21065 # include <sys/param.h>
21066 #endif
21067 #ifdef HAVE_SYS_MOUNT_H
21068 # include <sys/mount.h>
21069 #endif
21070 #ifdef HAVE_SYS_VFS_H
21071 # include <sys/vfs.h>
21072 #endif
21073 #ifdef HAVE_SYS_STATFS_H
21074 # include <sys/statfs.h>
21075 #endif
21078 main ()
21080 static struct statfs ac_aggr;
21081 if (sizeof ac_aggr.f_bfree)
21082 return 0;
21084 return 0;
21086 _ACEOF
21087 rm -f conftest.$ac_objext
21088 if { (ac_try="$ac_compile"
21089 case "(($ac_try" in
21090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21091 *) ac_try_echo=$ac_try;;
21092 esac
21093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21094 (eval "$ac_compile") 2>conftest.er1
21095 ac_status=$?
21096 grep -v '^ *+' conftest.er1 >conftest.err
21097 rm -f conftest.er1
21098 cat conftest.err >&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); } &&
21101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21102 { (case "(($ac_try" in
21103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21104 *) ac_try_echo=$ac_try;;
21105 esac
21106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21107 (eval "$ac_try") 2>&5
21108 ac_status=$?
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); }; } &&
21111 { ac_try='test -s conftest.$ac_objext'
21112 { (case "(($ac_try" in
21113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21114 *) ac_try_echo=$ac_try;;
21115 esac
21116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21117 (eval "$ac_try") 2>&5
21118 ac_status=$?
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); }; }; then
21121 ac_cv_member_struct_statfs_f_bfree=yes
21122 else
21123 echo "$as_me: failed program was:" >&5
21124 sed 's/^/| /' conftest.$ac_ext >&5
21126 ac_cv_member_struct_statfs_f_bfree=no
21129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21134 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
21135 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
21136 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
21138 cat >>confdefs.h <<_ACEOF
21139 #define HAVE_STRUCT_STATFS_F_BFREE 1
21140 _ACEOF
21144 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
21145 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
21146 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
21147 echo $ECHO_N "(cached) $ECHO_C" >&6
21148 else
21149 cat >conftest.$ac_ext <<_ACEOF
21150 /* confdefs.h. */
21151 _ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 #include <sys/types.h>
21156 #ifdef HAVE_SYS_PARAM_H
21157 # include <sys/param.h>
21158 #endif
21159 #ifdef HAVE_SYS_MOUNT_H
21160 # include <sys/mount.h>
21161 #endif
21162 #ifdef HAVE_SYS_VFS_H
21163 # include <sys/vfs.h>
21164 #endif
21165 #ifdef HAVE_SYS_STATFS_H
21166 # include <sys/statfs.h>
21167 #endif
21170 main ()
21172 static struct statfs ac_aggr;
21173 if (ac_aggr.f_bavail)
21174 return 0;
21176 return 0;
21178 _ACEOF
21179 rm -f conftest.$ac_objext
21180 if { (ac_try="$ac_compile"
21181 case "(($ac_try" in
21182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21183 *) ac_try_echo=$ac_try;;
21184 esac
21185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21186 (eval "$ac_compile") 2>conftest.er1
21187 ac_status=$?
21188 grep -v '^ *+' conftest.er1 >conftest.err
21189 rm -f conftest.er1
21190 cat conftest.err >&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); } &&
21193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21194 { (case "(($ac_try" in
21195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21196 *) ac_try_echo=$ac_try;;
21197 esac
21198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21199 (eval "$ac_try") 2>&5
21200 ac_status=$?
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; } &&
21203 { ac_try='test -s conftest.$ac_objext'
21204 { (case "(($ac_try" in
21205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21206 *) ac_try_echo=$ac_try;;
21207 esac
21208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21209 (eval "$ac_try") 2>&5
21210 ac_status=$?
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); }; }; then
21213 ac_cv_member_struct_statfs_f_bavail=yes
21214 else
21215 echo "$as_me: failed program was:" >&5
21216 sed 's/^/| /' conftest.$ac_ext >&5
21218 cat >conftest.$ac_ext <<_ACEOF
21219 /* confdefs.h. */
21220 _ACEOF
21221 cat confdefs.h >>conftest.$ac_ext
21222 cat >>conftest.$ac_ext <<_ACEOF
21223 /* end confdefs.h. */
21224 #include <sys/types.h>
21225 #ifdef HAVE_SYS_PARAM_H
21226 # include <sys/param.h>
21227 #endif
21228 #ifdef HAVE_SYS_MOUNT_H
21229 # include <sys/mount.h>
21230 #endif
21231 #ifdef HAVE_SYS_VFS_H
21232 # include <sys/vfs.h>
21233 #endif
21234 #ifdef HAVE_SYS_STATFS_H
21235 # include <sys/statfs.h>
21236 #endif
21239 main ()
21241 static struct statfs ac_aggr;
21242 if (sizeof ac_aggr.f_bavail)
21243 return 0;
21245 return 0;
21247 _ACEOF
21248 rm -f conftest.$ac_objext
21249 if { (ac_try="$ac_compile"
21250 case "(($ac_try" in
21251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21252 *) ac_try_echo=$ac_try;;
21253 esac
21254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21255 (eval "$ac_compile") 2>conftest.er1
21256 ac_status=$?
21257 grep -v '^ *+' conftest.er1 >conftest.err
21258 rm -f conftest.er1
21259 cat conftest.err >&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); } &&
21262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21263 { (case "(($ac_try" in
21264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21265 *) ac_try_echo=$ac_try;;
21266 esac
21267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21268 (eval "$ac_try") 2>&5
21269 ac_status=$?
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); }; } &&
21272 { ac_try='test -s conftest.$ac_objext'
21273 { (case "(($ac_try" in
21274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21275 *) ac_try_echo=$ac_try;;
21276 esac
21277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21278 (eval "$ac_try") 2>&5
21279 ac_status=$?
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; }; then
21282 ac_cv_member_struct_statfs_f_bavail=yes
21283 else
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.$ac_ext >&5
21287 ac_cv_member_struct_statfs_f_bavail=no
21290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21295 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
21296 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
21297 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
21299 cat >>confdefs.h <<_ACEOF
21300 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
21301 _ACEOF
21305 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
21306 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
21307 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
21308 echo $ECHO_N "(cached) $ECHO_C" >&6
21309 else
21310 cat >conftest.$ac_ext <<_ACEOF
21311 /* confdefs.h. */
21312 _ACEOF
21313 cat confdefs.h >>conftest.$ac_ext
21314 cat >>conftest.$ac_ext <<_ACEOF
21315 /* end confdefs.h. */
21316 #include <sys/types.h>
21317 #ifdef HAVE_SYS_PARAM_H
21318 # include <sys/param.h>
21319 #endif
21320 #ifdef HAVE_SYS_MOUNT_H
21321 # include <sys/mount.h>
21322 #endif
21323 #ifdef HAVE_SYS_VFS_H
21324 # include <sys/vfs.h>
21325 #endif
21326 #ifdef HAVE_SYS_STATFS_H
21327 # include <sys/statfs.h>
21328 #endif
21331 main ()
21333 static struct statfs ac_aggr;
21334 if (ac_aggr.f_frsize)
21335 return 0;
21337 return 0;
21339 _ACEOF
21340 rm -f conftest.$ac_objext
21341 if { (ac_try="$ac_compile"
21342 case "(($ac_try" in
21343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21344 *) ac_try_echo=$ac_try;;
21345 esac
21346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21347 (eval "$ac_compile") 2>conftest.er1
21348 ac_status=$?
21349 grep -v '^ *+' conftest.er1 >conftest.err
21350 rm -f conftest.er1
21351 cat conftest.err >&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } &&
21354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21355 { (case "(($ac_try" in
21356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21357 *) ac_try_echo=$ac_try;;
21358 esac
21359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21360 (eval "$ac_try") 2>&5
21361 ac_status=$?
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; } &&
21364 { ac_try='test -s conftest.$ac_objext'
21365 { (case "(($ac_try" in
21366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21367 *) ac_try_echo=$ac_try;;
21368 esac
21369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21370 (eval "$ac_try") 2>&5
21371 ac_status=$?
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; }; then
21374 ac_cv_member_struct_statfs_f_frsize=yes
21375 else
21376 echo "$as_me: failed program was:" >&5
21377 sed 's/^/| /' conftest.$ac_ext >&5
21379 cat >conftest.$ac_ext <<_ACEOF
21380 /* confdefs.h. */
21381 _ACEOF
21382 cat confdefs.h >>conftest.$ac_ext
21383 cat >>conftest.$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 #include <sys/types.h>
21386 #ifdef HAVE_SYS_PARAM_H
21387 # include <sys/param.h>
21388 #endif
21389 #ifdef HAVE_SYS_MOUNT_H
21390 # include <sys/mount.h>
21391 #endif
21392 #ifdef HAVE_SYS_VFS_H
21393 # include <sys/vfs.h>
21394 #endif
21395 #ifdef HAVE_SYS_STATFS_H
21396 # include <sys/statfs.h>
21397 #endif
21400 main ()
21402 static struct statfs ac_aggr;
21403 if (sizeof ac_aggr.f_frsize)
21404 return 0;
21406 return 0;
21408 _ACEOF
21409 rm -f conftest.$ac_objext
21410 if { (ac_try="$ac_compile"
21411 case "(($ac_try" in
21412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21413 *) ac_try_echo=$ac_try;;
21414 esac
21415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21417 ac_status=$?
21418 grep -v '^ *+' conftest.er1 >conftest.err
21419 rm -f conftest.er1
21420 cat conftest.err >&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } &&
21423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21424 { (case "(($ac_try" in
21425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21426 *) ac_try_echo=$ac_try;;
21427 esac
21428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21429 (eval "$ac_try") 2>&5
21430 ac_status=$?
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); }; } &&
21433 { ac_try='test -s conftest.$ac_objext'
21434 { (case "(($ac_try" in
21435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21436 *) ac_try_echo=$ac_try;;
21437 esac
21438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21439 (eval "$ac_try") 2>&5
21440 ac_status=$?
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); }; }; then
21443 ac_cv_member_struct_statfs_f_frsize=yes
21444 else
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.$ac_ext >&5
21448 ac_cv_member_struct_statfs_f_frsize=no
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21456 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
21457 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
21458 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
21460 cat >>confdefs.h <<_ACEOF
21461 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
21462 _ACEOF
21466 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
21467 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
21468 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
21469 echo $ECHO_N "(cached) $ECHO_C" >&6
21470 else
21471 cat >conftest.$ac_ext <<_ACEOF
21472 /* confdefs.h. */
21473 _ACEOF
21474 cat confdefs.h >>conftest.$ac_ext
21475 cat >>conftest.$ac_ext <<_ACEOF
21476 /* end confdefs.h. */
21477 #include <sys/types.h>
21478 #ifdef HAVE_SYS_PARAM_H
21479 # include <sys/param.h>
21480 #endif
21481 #ifdef HAVE_SYS_MOUNT_H
21482 # include <sys/mount.h>
21483 #endif
21484 #ifdef HAVE_SYS_VFS_H
21485 # include <sys/vfs.h>
21486 #endif
21487 #ifdef HAVE_SYS_STATFS_H
21488 # include <sys/statfs.h>
21489 #endif
21492 main ()
21494 static struct statfs ac_aggr;
21495 if (ac_aggr.f_ffree)
21496 return 0;
21498 return 0;
21500 _ACEOF
21501 rm -f conftest.$ac_objext
21502 if { (ac_try="$ac_compile"
21503 case "(($ac_try" in
21504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21505 *) ac_try_echo=$ac_try;;
21506 esac
21507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21508 (eval "$ac_compile") 2>conftest.er1
21509 ac_status=$?
21510 grep -v '^ *+' conftest.er1 >conftest.err
21511 rm -f conftest.er1
21512 cat conftest.err >&5
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); } &&
21515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21516 { (case "(($ac_try" in
21517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21518 *) ac_try_echo=$ac_try;;
21519 esac
21520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21521 (eval "$ac_try") 2>&5
21522 ac_status=$?
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; } &&
21525 { ac_try='test -s conftest.$ac_objext'
21526 { (case "(($ac_try" in
21527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21528 *) ac_try_echo=$ac_try;;
21529 esac
21530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21531 (eval "$ac_try") 2>&5
21532 ac_status=$?
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); }; }; then
21535 ac_cv_member_struct_statfs_f_ffree=yes
21536 else
21537 echo "$as_me: failed program was:" >&5
21538 sed 's/^/| /' conftest.$ac_ext >&5
21540 cat >conftest.$ac_ext <<_ACEOF
21541 /* confdefs.h. */
21542 _ACEOF
21543 cat confdefs.h >>conftest.$ac_ext
21544 cat >>conftest.$ac_ext <<_ACEOF
21545 /* end confdefs.h. */
21546 #include <sys/types.h>
21547 #ifdef HAVE_SYS_PARAM_H
21548 # include <sys/param.h>
21549 #endif
21550 #ifdef HAVE_SYS_MOUNT_H
21551 # include <sys/mount.h>
21552 #endif
21553 #ifdef HAVE_SYS_VFS_H
21554 # include <sys/vfs.h>
21555 #endif
21556 #ifdef HAVE_SYS_STATFS_H
21557 # include <sys/statfs.h>
21558 #endif
21561 main ()
21563 static struct statfs ac_aggr;
21564 if (sizeof ac_aggr.f_ffree)
21565 return 0;
21567 return 0;
21569 _ACEOF
21570 rm -f conftest.$ac_objext
21571 if { (ac_try="$ac_compile"
21572 case "(($ac_try" in
21573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21574 *) ac_try_echo=$ac_try;;
21575 esac
21576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21577 (eval "$ac_compile") 2>conftest.er1
21578 ac_status=$?
21579 grep -v '^ *+' conftest.er1 >conftest.err
21580 rm -f conftest.er1
21581 cat conftest.err >&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); } &&
21584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21585 { (case "(($ac_try" in
21586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21587 *) ac_try_echo=$ac_try;;
21588 esac
21589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21590 (eval "$ac_try") 2>&5
21591 ac_status=$?
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); }; } &&
21594 { ac_try='test -s conftest.$ac_objext'
21595 { (case "(($ac_try" in
21596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21597 *) ac_try_echo=$ac_try;;
21598 esac
21599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21600 (eval "$ac_try") 2>&5
21601 ac_status=$?
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); }; }; then
21604 ac_cv_member_struct_statfs_f_ffree=yes
21605 else
21606 echo "$as_me: failed program was:" >&5
21607 sed 's/^/| /' conftest.$ac_ext >&5
21609 ac_cv_member_struct_statfs_f_ffree=no
21612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21617 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21618 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21619 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21621 cat >>confdefs.h <<_ACEOF
21622 #define HAVE_STRUCT_STATFS_F_FFREE 1
21623 _ACEOF
21627 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21628 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21629 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21630 echo $ECHO_N "(cached) $ECHO_C" >&6
21631 else
21632 cat >conftest.$ac_ext <<_ACEOF
21633 /* confdefs.h. */
21634 _ACEOF
21635 cat confdefs.h >>conftest.$ac_ext
21636 cat >>conftest.$ac_ext <<_ACEOF
21637 /* end confdefs.h. */
21638 #include <sys/types.h>
21639 #ifdef HAVE_SYS_PARAM_H
21640 # include <sys/param.h>
21641 #endif
21642 #ifdef HAVE_SYS_MOUNT_H
21643 # include <sys/mount.h>
21644 #endif
21645 #ifdef HAVE_SYS_VFS_H
21646 # include <sys/vfs.h>
21647 #endif
21648 #ifdef HAVE_SYS_STATFS_H
21649 # include <sys/statfs.h>
21650 #endif
21653 main ()
21655 static struct statfs ac_aggr;
21656 if (ac_aggr.f_favail)
21657 return 0;
21659 return 0;
21661 _ACEOF
21662 rm -f conftest.$ac_objext
21663 if { (ac_try="$ac_compile"
21664 case "(($ac_try" in
21665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21666 *) ac_try_echo=$ac_try;;
21667 esac
21668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21669 (eval "$ac_compile") 2>conftest.er1
21670 ac_status=$?
21671 grep -v '^ *+' conftest.er1 >conftest.err
21672 rm -f conftest.er1
21673 cat conftest.err >&5
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); } &&
21676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21677 { (case "(($ac_try" in
21678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21679 *) ac_try_echo=$ac_try;;
21680 esac
21681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21682 (eval "$ac_try") 2>&5
21683 ac_status=$?
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); }; } &&
21686 { ac_try='test -s conftest.$ac_objext'
21687 { (case "(($ac_try" in
21688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21689 *) ac_try_echo=$ac_try;;
21690 esac
21691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21692 (eval "$ac_try") 2>&5
21693 ac_status=$?
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); }; }; then
21696 ac_cv_member_struct_statfs_f_favail=yes
21697 else
21698 echo "$as_me: failed program was:" >&5
21699 sed 's/^/| /' conftest.$ac_ext >&5
21701 cat >conftest.$ac_ext <<_ACEOF
21702 /* confdefs.h. */
21703 _ACEOF
21704 cat confdefs.h >>conftest.$ac_ext
21705 cat >>conftest.$ac_ext <<_ACEOF
21706 /* end confdefs.h. */
21707 #include <sys/types.h>
21708 #ifdef HAVE_SYS_PARAM_H
21709 # include <sys/param.h>
21710 #endif
21711 #ifdef HAVE_SYS_MOUNT_H
21712 # include <sys/mount.h>
21713 #endif
21714 #ifdef HAVE_SYS_VFS_H
21715 # include <sys/vfs.h>
21716 #endif
21717 #ifdef HAVE_SYS_STATFS_H
21718 # include <sys/statfs.h>
21719 #endif
21722 main ()
21724 static struct statfs ac_aggr;
21725 if (sizeof ac_aggr.f_favail)
21726 return 0;
21728 return 0;
21730 _ACEOF
21731 rm -f conftest.$ac_objext
21732 if { (ac_try="$ac_compile"
21733 case "(($ac_try" in
21734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21735 *) ac_try_echo=$ac_try;;
21736 esac
21737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21738 (eval "$ac_compile") 2>conftest.er1
21739 ac_status=$?
21740 grep -v '^ *+' conftest.er1 >conftest.err
21741 rm -f conftest.er1
21742 cat conftest.err >&5
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); } &&
21745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21746 { (case "(($ac_try" in
21747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21748 *) ac_try_echo=$ac_try;;
21749 esac
21750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751 (eval "$ac_try") 2>&5
21752 ac_status=$?
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; } &&
21755 { ac_try='test -s conftest.$ac_objext'
21756 { (case "(($ac_try" in
21757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21758 *) ac_try_echo=$ac_try;;
21759 esac
21760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21761 (eval "$ac_try") 2>&5
21762 ac_status=$?
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; }; then
21765 ac_cv_member_struct_statfs_f_favail=yes
21766 else
21767 echo "$as_me: failed program was:" >&5
21768 sed 's/^/| /' conftest.$ac_ext >&5
21770 ac_cv_member_struct_statfs_f_favail=no
21773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21778 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21779 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21780 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21782 cat >>confdefs.h <<_ACEOF
21783 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21784 _ACEOF
21788 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21789 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21790 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21791 echo $ECHO_N "(cached) $ECHO_C" >&6
21792 else
21793 cat >conftest.$ac_ext <<_ACEOF
21794 /* confdefs.h. */
21795 _ACEOF
21796 cat confdefs.h >>conftest.$ac_ext
21797 cat >>conftest.$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21799 #include <sys/types.h>
21800 #ifdef HAVE_SYS_PARAM_H
21801 # include <sys/param.h>
21802 #endif
21803 #ifdef HAVE_SYS_MOUNT_H
21804 # include <sys/mount.h>
21805 #endif
21806 #ifdef HAVE_SYS_VFS_H
21807 # include <sys/vfs.h>
21808 #endif
21809 #ifdef HAVE_SYS_STATFS_H
21810 # include <sys/statfs.h>
21811 #endif
21814 main ()
21816 static struct statfs ac_aggr;
21817 if (ac_aggr.f_namelen)
21818 return 0;
21820 return 0;
21822 _ACEOF
21823 rm -f conftest.$ac_objext
21824 if { (ac_try="$ac_compile"
21825 case "(($ac_try" in
21826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21827 *) ac_try_echo=$ac_try;;
21828 esac
21829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21830 (eval "$ac_compile") 2>conftest.er1
21831 ac_status=$?
21832 grep -v '^ *+' conftest.er1 >conftest.err
21833 rm -f conftest.er1
21834 cat conftest.err >&5
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); } &&
21837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21838 { (case "(($ac_try" in
21839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21840 *) ac_try_echo=$ac_try;;
21841 esac
21842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21843 (eval "$ac_try") 2>&5
21844 ac_status=$?
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); }; } &&
21847 { ac_try='test -s conftest.$ac_objext'
21848 { (case "(($ac_try" in
21849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21850 *) ac_try_echo=$ac_try;;
21851 esac
21852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21853 (eval "$ac_try") 2>&5
21854 ac_status=$?
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); }; }; then
21857 ac_cv_member_struct_statfs_f_namelen=yes
21858 else
21859 echo "$as_me: failed program was:" >&5
21860 sed 's/^/| /' conftest.$ac_ext >&5
21862 cat >conftest.$ac_ext <<_ACEOF
21863 /* confdefs.h. */
21864 _ACEOF
21865 cat confdefs.h >>conftest.$ac_ext
21866 cat >>conftest.$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21868 #include <sys/types.h>
21869 #ifdef HAVE_SYS_PARAM_H
21870 # include <sys/param.h>
21871 #endif
21872 #ifdef HAVE_SYS_MOUNT_H
21873 # include <sys/mount.h>
21874 #endif
21875 #ifdef HAVE_SYS_VFS_H
21876 # include <sys/vfs.h>
21877 #endif
21878 #ifdef HAVE_SYS_STATFS_H
21879 # include <sys/statfs.h>
21880 #endif
21883 main ()
21885 static struct statfs ac_aggr;
21886 if (sizeof ac_aggr.f_namelen)
21887 return 0;
21889 return 0;
21891 _ACEOF
21892 rm -f conftest.$ac_objext
21893 if { (ac_try="$ac_compile"
21894 case "(($ac_try" in
21895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21896 *) ac_try_echo=$ac_try;;
21897 esac
21898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21899 (eval "$ac_compile") 2>conftest.er1
21900 ac_status=$?
21901 grep -v '^ *+' conftest.er1 >conftest.err
21902 rm -f conftest.er1
21903 cat conftest.err >&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); } &&
21906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21907 { (case "(($ac_try" in
21908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21909 *) ac_try_echo=$ac_try;;
21910 esac
21911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21912 (eval "$ac_try") 2>&5
21913 ac_status=$?
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; } &&
21916 { ac_try='test -s conftest.$ac_objext'
21917 { (case "(($ac_try" in
21918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21919 *) ac_try_echo=$ac_try;;
21920 esac
21921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21922 (eval "$ac_try") 2>&5
21923 ac_status=$?
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; }; then
21926 ac_cv_member_struct_statfs_f_namelen=yes
21927 else
21928 echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.$ac_ext >&5
21931 ac_cv_member_struct_statfs_f_namelen=no
21934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21939 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21940 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21941 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21943 cat >>confdefs.h <<_ACEOF
21944 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21945 _ACEOF
21951 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21952 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21953 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21954 echo $ECHO_N "(cached) $ECHO_C" >&6
21955 else
21956 cat >conftest.$ac_ext <<_ACEOF
21957 /* confdefs.h. */
21958 _ACEOF
21959 cat confdefs.h >>conftest.$ac_ext
21960 cat >>conftest.$ac_ext <<_ACEOF
21961 /* end confdefs.h. */
21962 #ifdef HAVE_SYS_STATVFS_H
21963 #include <sys/statvfs.h>
21964 #endif
21967 main ()
21969 static struct statvfs ac_aggr;
21970 if (ac_aggr.f_blocks)
21971 return 0;
21973 return 0;
21975 _ACEOF
21976 rm -f conftest.$ac_objext
21977 if { (ac_try="$ac_compile"
21978 case "(($ac_try" in
21979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21980 *) ac_try_echo=$ac_try;;
21981 esac
21982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21983 (eval "$ac_compile") 2>conftest.er1
21984 ac_status=$?
21985 grep -v '^ *+' conftest.er1 >conftest.err
21986 rm -f conftest.er1
21987 cat conftest.err >&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); } &&
21990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21991 { (case "(($ac_try" in
21992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21994 esac
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_try") 2>&5
21997 ac_status=$?
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; } &&
22000 { ac_try='test -s conftest.$ac_objext'
22001 { (case "(($ac_try" in
22002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22003 *) ac_try_echo=$ac_try;;
22004 esac
22005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22006 (eval "$ac_try") 2>&5
22007 ac_status=$?
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; }; then
22010 ac_cv_member_struct_statvfs_f_blocks=yes
22011 else
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.$ac_ext >&5
22015 cat >conftest.$ac_ext <<_ACEOF
22016 /* confdefs.h. */
22017 _ACEOF
22018 cat confdefs.h >>conftest.$ac_ext
22019 cat >>conftest.$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021 #ifdef HAVE_SYS_STATVFS_H
22022 #include <sys/statvfs.h>
22023 #endif
22026 main ()
22028 static struct statvfs ac_aggr;
22029 if (sizeof ac_aggr.f_blocks)
22030 return 0;
22032 return 0;
22034 _ACEOF
22035 rm -f conftest.$ac_objext
22036 if { (ac_try="$ac_compile"
22037 case "(($ac_try" in
22038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22039 *) ac_try_echo=$ac_try;;
22040 esac
22041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22042 (eval "$ac_compile") 2>conftest.er1
22043 ac_status=$?
22044 grep -v '^ *+' conftest.er1 >conftest.err
22045 rm -f conftest.er1
22046 cat conftest.err >&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } &&
22049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22050 { (case "(($ac_try" in
22051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22052 *) ac_try_echo=$ac_try;;
22053 esac
22054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22055 (eval "$ac_try") 2>&5
22056 ac_status=$?
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); }; } &&
22059 { ac_try='test -s conftest.$ac_objext'
22060 { (case "(($ac_try" in
22061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22062 *) ac_try_echo=$ac_try;;
22063 esac
22064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22065 (eval "$ac_try") 2>&5
22066 ac_status=$?
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); }; }; then
22069 ac_cv_member_struct_statvfs_f_blocks=yes
22070 else
22071 echo "$as_me: failed program was:" >&5
22072 sed 's/^/| /' conftest.$ac_ext >&5
22074 ac_cv_member_struct_statvfs_f_blocks=no
22077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22082 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
22083 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
22084 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
22086 cat >>confdefs.h <<_ACEOF
22087 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
22088 _ACEOF
22094 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
22095 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
22096 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
22097 echo $ECHO_N "(cached) $ECHO_C" >&6
22098 else
22099 cat >conftest.$ac_ext <<_ACEOF
22100 /* confdefs.h. */
22101 _ACEOF
22102 cat confdefs.h >>conftest.$ac_ext
22103 cat >>conftest.$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22105 #include <sys/types.h>
22106 #ifdef HAVE_SYS_SOCKET_H
22107 # include <sys/socket.h>
22108 #endif
22109 #ifdef HAVE_SYS_UN_H
22110 # include <sys/un.h>
22111 #endif
22114 main ()
22116 static struct msghdr ac_aggr;
22117 if (ac_aggr.msg_accrights)
22118 return 0;
22120 return 0;
22122 _ACEOF
22123 rm -f conftest.$ac_objext
22124 if { (ac_try="$ac_compile"
22125 case "(($ac_try" in
22126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22127 *) ac_try_echo=$ac_try;;
22128 esac
22129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22130 (eval "$ac_compile") 2>conftest.er1
22131 ac_status=$?
22132 grep -v '^ *+' conftest.er1 >conftest.err
22133 rm -f conftest.er1
22134 cat conftest.err >&5
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); } &&
22137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22138 { (case "(($ac_try" in
22139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22140 *) ac_try_echo=$ac_try;;
22141 esac
22142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22143 (eval "$ac_try") 2>&5
22144 ac_status=$?
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); }; } &&
22147 { ac_try='test -s conftest.$ac_objext'
22148 { (case "(($ac_try" in
22149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22150 *) ac_try_echo=$ac_try;;
22151 esac
22152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22153 (eval "$ac_try") 2>&5
22154 ac_status=$?
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); }; }; then
22157 ac_cv_member_struct_msghdr_msg_accrights=yes
22158 else
22159 echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.$ac_ext >&5
22162 cat >conftest.$ac_ext <<_ACEOF
22163 /* confdefs.h. */
22164 _ACEOF
22165 cat confdefs.h >>conftest.$ac_ext
22166 cat >>conftest.$ac_ext <<_ACEOF
22167 /* end confdefs.h. */
22168 #include <sys/types.h>
22169 #ifdef HAVE_SYS_SOCKET_H
22170 # include <sys/socket.h>
22171 #endif
22172 #ifdef HAVE_SYS_UN_H
22173 # include <sys/un.h>
22174 #endif
22177 main ()
22179 static struct msghdr ac_aggr;
22180 if (sizeof ac_aggr.msg_accrights)
22181 return 0;
22183 return 0;
22185 _ACEOF
22186 rm -f conftest.$ac_objext
22187 if { (ac_try="$ac_compile"
22188 case "(($ac_try" in
22189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22190 *) ac_try_echo=$ac_try;;
22191 esac
22192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22193 (eval "$ac_compile") 2>conftest.er1
22194 ac_status=$?
22195 grep -v '^ *+' conftest.er1 >conftest.err
22196 rm -f conftest.er1
22197 cat conftest.err >&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); } &&
22200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22201 { (case "(($ac_try" in
22202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22203 *) ac_try_echo=$ac_try;;
22204 esac
22205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22206 (eval "$ac_try") 2>&5
22207 ac_status=$?
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); }; } &&
22210 { ac_try='test -s conftest.$ac_objext'
22211 { (case "(($ac_try" in
22212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22213 *) ac_try_echo=$ac_try;;
22214 esac
22215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22216 (eval "$ac_try") 2>&5
22217 ac_status=$?
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); }; }; then
22220 ac_cv_member_struct_msghdr_msg_accrights=yes
22221 else
22222 echo "$as_me: failed program was:" >&5
22223 sed 's/^/| /' conftest.$ac_ext >&5
22225 ac_cv_member_struct_msghdr_msg_accrights=no
22228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22233 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
22234 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
22235 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
22237 cat >>confdefs.h <<_ACEOF
22238 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
22239 _ACEOF
22243 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
22244 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
22245 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
22246 echo $ECHO_N "(cached) $ECHO_C" >&6
22247 else
22248 cat >conftest.$ac_ext <<_ACEOF
22249 /* confdefs.h. */
22250 _ACEOF
22251 cat confdefs.h >>conftest.$ac_ext
22252 cat >>conftest.$ac_ext <<_ACEOF
22253 /* end confdefs.h. */
22254 #include <sys/types.h>
22255 #ifdef HAVE_SYS_SOCKET_H
22256 # include <sys/socket.h>
22257 #endif
22258 #ifdef HAVE_SYS_UN_H
22259 # include <sys/un.h>
22260 #endif
22263 main ()
22265 static struct sockaddr ac_aggr;
22266 if (ac_aggr.sa_len)
22267 return 0;
22269 return 0;
22271 _ACEOF
22272 rm -f conftest.$ac_objext
22273 if { (ac_try="$ac_compile"
22274 case "(($ac_try" in
22275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22276 *) ac_try_echo=$ac_try;;
22277 esac
22278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22279 (eval "$ac_compile") 2>conftest.er1
22280 ac_status=$?
22281 grep -v '^ *+' conftest.er1 >conftest.err
22282 rm -f conftest.er1
22283 cat conftest.err >&5
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); } &&
22286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22287 { (case "(($ac_try" in
22288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22289 *) ac_try_echo=$ac_try;;
22290 esac
22291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22292 (eval "$ac_try") 2>&5
22293 ac_status=$?
22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295 (exit $ac_status); }; } &&
22296 { ac_try='test -s conftest.$ac_objext'
22297 { (case "(($ac_try" in
22298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22299 *) ac_try_echo=$ac_try;;
22300 esac
22301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22302 (eval "$ac_try") 2>&5
22303 ac_status=$?
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); }; }; then
22306 ac_cv_member_struct_sockaddr_sa_len=yes
22307 else
22308 echo "$as_me: failed program was:" >&5
22309 sed 's/^/| /' conftest.$ac_ext >&5
22311 cat >conftest.$ac_ext <<_ACEOF
22312 /* confdefs.h. */
22313 _ACEOF
22314 cat confdefs.h >>conftest.$ac_ext
22315 cat >>conftest.$ac_ext <<_ACEOF
22316 /* end confdefs.h. */
22317 #include <sys/types.h>
22318 #ifdef HAVE_SYS_SOCKET_H
22319 # include <sys/socket.h>
22320 #endif
22321 #ifdef HAVE_SYS_UN_H
22322 # include <sys/un.h>
22323 #endif
22326 main ()
22328 static struct sockaddr ac_aggr;
22329 if (sizeof ac_aggr.sa_len)
22330 return 0;
22332 return 0;
22334 _ACEOF
22335 rm -f conftest.$ac_objext
22336 if { (ac_try="$ac_compile"
22337 case "(($ac_try" in
22338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22339 *) ac_try_echo=$ac_try;;
22340 esac
22341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22342 (eval "$ac_compile") 2>conftest.er1
22343 ac_status=$?
22344 grep -v '^ *+' conftest.er1 >conftest.err
22345 rm -f conftest.er1
22346 cat conftest.err >&5
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); } &&
22349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22350 { (case "(($ac_try" in
22351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22352 *) ac_try_echo=$ac_try;;
22353 esac
22354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22355 (eval "$ac_try") 2>&5
22356 ac_status=$?
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); }; } &&
22359 { ac_try='test -s conftest.$ac_objext'
22360 { (case "(($ac_try" in
22361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22362 *) ac_try_echo=$ac_try;;
22363 esac
22364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22365 (eval "$ac_try") 2>&5
22366 ac_status=$?
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); }; }; then
22369 ac_cv_member_struct_sockaddr_sa_len=yes
22370 else
22371 echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.$ac_ext >&5
22374 ac_cv_member_struct_sockaddr_sa_len=no
22377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22382 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
22383 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
22384 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
22386 cat >>confdefs.h <<_ACEOF
22387 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
22388 _ACEOF
22392 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
22393 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
22394 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
22395 echo $ECHO_N "(cached) $ECHO_C" >&6
22396 else
22397 cat >conftest.$ac_ext <<_ACEOF
22398 /* confdefs.h. */
22399 _ACEOF
22400 cat confdefs.h >>conftest.$ac_ext
22401 cat >>conftest.$ac_ext <<_ACEOF
22402 /* end confdefs.h. */
22403 #include <sys/types.h>
22404 #ifdef HAVE_SYS_SOCKET_H
22405 # include <sys/socket.h>
22406 #endif
22407 #ifdef HAVE_SYS_UN_H
22408 # include <sys/un.h>
22409 #endif
22412 main ()
22414 static struct sockaddr_un ac_aggr;
22415 if (ac_aggr.sun_len)
22416 return 0;
22418 return 0;
22420 _ACEOF
22421 rm -f conftest.$ac_objext
22422 if { (ac_try="$ac_compile"
22423 case "(($ac_try" in
22424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22425 *) ac_try_echo=$ac_try;;
22426 esac
22427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22428 (eval "$ac_compile") 2>conftest.er1
22429 ac_status=$?
22430 grep -v '^ *+' conftest.er1 >conftest.err
22431 rm -f conftest.er1
22432 cat conftest.err >&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); } &&
22435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22436 { (case "(($ac_try" in
22437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22438 *) ac_try_echo=$ac_try;;
22439 esac
22440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22441 (eval "$ac_try") 2>&5
22442 ac_status=$?
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); }; } &&
22445 { ac_try='test -s conftest.$ac_objext'
22446 { (case "(($ac_try" in
22447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22448 *) ac_try_echo=$ac_try;;
22449 esac
22450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22451 (eval "$ac_try") 2>&5
22452 ac_status=$?
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); }; }; then
22455 ac_cv_member_struct_sockaddr_un_sun_len=yes
22456 else
22457 echo "$as_me: failed program was:" >&5
22458 sed 's/^/| /' conftest.$ac_ext >&5
22460 cat >conftest.$ac_ext <<_ACEOF
22461 /* confdefs.h. */
22462 _ACEOF
22463 cat confdefs.h >>conftest.$ac_ext
22464 cat >>conftest.$ac_ext <<_ACEOF
22465 /* end confdefs.h. */
22466 #include <sys/types.h>
22467 #ifdef HAVE_SYS_SOCKET_H
22468 # include <sys/socket.h>
22469 #endif
22470 #ifdef HAVE_SYS_UN_H
22471 # include <sys/un.h>
22472 #endif
22475 main ()
22477 static struct sockaddr_un ac_aggr;
22478 if (sizeof ac_aggr.sun_len)
22479 return 0;
22481 return 0;
22483 _ACEOF
22484 rm -f conftest.$ac_objext
22485 if { (ac_try="$ac_compile"
22486 case "(($ac_try" in
22487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22488 *) ac_try_echo=$ac_try;;
22489 esac
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491 (eval "$ac_compile") 2>conftest.er1
22492 ac_status=$?
22493 grep -v '^ *+' conftest.er1 >conftest.err
22494 rm -f conftest.er1
22495 cat conftest.err >&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); } &&
22498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22499 { (case "(($ac_try" in
22500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22501 *) ac_try_echo=$ac_try;;
22502 esac
22503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504 (eval "$ac_try") 2>&5
22505 ac_status=$?
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); }; } &&
22508 { ac_try='test -s conftest.$ac_objext'
22509 { (case "(($ac_try" in
22510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22511 *) ac_try_echo=$ac_try;;
22512 esac
22513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22514 (eval "$ac_try") 2>&5
22515 ac_status=$?
22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22517 (exit $ac_status); }; }; then
22518 ac_cv_member_struct_sockaddr_un_sun_len=yes
22519 else
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22523 ac_cv_member_struct_sockaddr_un_sun_len=no
22526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22531 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22532 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22533 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22535 cat >>confdefs.h <<_ACEOF
22536 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22537 _ACEOF
22543 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22544 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22545 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22546 echo $ECHO_N "(cached) $ECHO_C" >&6
22547 else
22548 cat >conftest.$ac_ext <<_ACEOF
22549 /* confdefs.h. */
22550 _ACEOF
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 #include <sys/types.h>
22555 #ifdef HAVE_SCSI_SG_H
22556 #include <scsi/sg.h>
22557 #endif
22560 main ()
22562 static scsireq_t ac_aggr;
22563 if (ac_aggr.cmd)
22564 return 0;
22566 return 0;
22568 _ACEOF
22569 rm -f conftest.$ac_objext
22570 if { (ac_try="$ac_compile"
22571 case "(($ac_try" in
22572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22573 *) ac_try_echo=$ac_try;;
22574 esac
22575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22576 (eval "$ac_compile") 2>conftest.er1
22577 ac_status=$?
22578 grep -v '^ *+' conftest.er1 >conftest.err
22579 rm -f conftest.er1
22580 cat conftest.err >&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); } &&
22583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22584 { (case "(($ac_try" in
22585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22586 *) ac_try_echo=$ac_try;;
22587 esac
22588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22589 (eval "$ac_try") 2>&5
22590 ac_status=$?
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; } &&
22593 { ac_try='test -s conftest.$ac_objext'
22594 { (case "(($ac_try" in
22595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22596 *) ac_try_echo=$ac_try;;
22597 esac
22598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22599 (eval "$ac_try") 2>&5
22600 ac_status=$?
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); }; }; then
22603 ac_cv_member_scsireq_t_cmd=yes
22604 else
22605 echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.$ac_ext >&5
22608 cat >conftest.$ac_ext <<_ACEOF
22609 /* confdefs.h. */
22610 _ACEOF
22611 cat confdefs.h >>conftest.$ac_ext
22612 cat >>conftest.$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22614 #include <sys/types.h>
22615 #ifdef HAVE_SCSI_SG_H
22616 #include <scsi/sg.h>
22617 #endif
22620 main ()
22622 static scsireq_t ac_aggr;
22623 if (sizeof ac_aggr.cmd)
22624 return 0;
22626 return 0;
22628 _ACEOF
22629 rm -f conftest.$ac_objext
22630 if { (ac_try="$ac_compile"
22631 case "(($ac_try" in
22632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22633 *) ac_try_echo=$ac_try;;
22634 esac
22635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22636 (eval "$ac_compile") 2>conftest.er1
22637 ac_status=$?
22638 grep -v '^ *+' conftest.er1 >conftest.err
22639 rm -f conftest.er1
22640 cat conftest.err >&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); } &&
22643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22644 { (case "(($ac_try" in
22645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22646 *) ac_try_echo=$ac_try;;
22647 esac
22648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22649 (eval "$ac_try") 2>&5
22650 ac_status=$?
22651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652 (exit $ac_status); }; } &&
22653 { ac_try='test -s conftest.$ac_objext'
22654 { (case "(($ac_try" in
22655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22656 *) ac_try_echo=$ac_try;;
22657 esac
22658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22659 (eval "$ac_try") 2>&5
22660 ac_status=$?
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); }; }; then
22663 ac_cv_member_scsireq_t_cmd=yes
22664 else
22665 echo "$as_me: failed program was:" >&5
22666 sed 's/^/| /' conftest.$ac_ext >&5
22668 ac_cv_member_scsireq_t_cmd=no
22671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22676 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22677 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22678 if test $ac_cv_member_scsireq_t_cmd = yes; then
22680 cat >>confdefs.h <<_ACEOF
22681 #define HAVE_SCSIREQ_T_CMD 1
22682 _ACEOF
22686 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22687 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22688 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22689 echo $ECHO_N "(cached) $ECHO_C" >&6
22690 else
22691 cat >conftest.$ac_ext <<_ACEOF
22692 /* confdefs.h. */
22693 _ACEOF
22694 cat confdefs.h >>conftest.$ac_ext
22695 cat >>conftest.$ac_ext <<_ACEOF
22696 /* end confdefs.h. */
22697 #include <sys/types.h>
22698 #ifdef HAVE_SCSI_SG_H
22699 #include <scsi/sg.h>
22700 #endif
22703 main ()
22705 static sg_io_hdr_t ac_aggr;
22706 if (ac_aggr.interface_id)
22707 return 0;
22709 return 0;
22711 _ACEOF
22712 rm -f conftest.$ac_objext
22713 if { (ac_try="$ac_compile"
22714 case "(($ac_try" in
22715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22716 *) ac_try_echo=$ac_try;;
22717 esac
22718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22719 (eval "$ac_compile") 2>conftest.er1
22720 ac_status=$?
22721 grep -v '^ *+' conftest.er1 >conftest.err
22722 rm -f conftest.er1
22723 cat conftest.err >&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } &&
22726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22727 { (case "(($ac_try" in
22728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22729 *) ac_try_echo=$ac_try;;
22730 esac
22731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22732 (eval "$ac_try") 2>&5
22733 ac_status=$?
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); }; } &&
22736 { ac_try='test -s conftest.$ac_objext'
22737 { (case "(($ac_try" in
22738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22739 *) ac_try_echo=$ac_try;;
22740 esac
22741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22742 (eval "$ac_try") 2>&5
22743 ac_status=$?
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); }; }; then
22746 ac_cv_member_sg_io_hdr_t_interface_id=yes
22747 else
22748 echo "$as_me: failed program was:" >&5
22749 sed 's/^/| /' conftest.$ac_ext >&5
22751 cat >conftest.$ac_ext <<_ACEOF
22752 /* confdefs.h. */
22753 _ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757 #include <sys/types.h>
22758 #ifdef HAVE_SCSI_SG_H
22759 #include <scsi/sg.h>
22760 #endif
22763 main ()
22765 static sg_io_hdr_t ac_aggr;
22766 if (sizeof ac_aggr.interface_id)
22767 return 0;
22769 return 0;
22771 _ACEOF
22772 rm -f conftest.$ac_objext
22773 if { (ac_try="$ac_compile"
22774 case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22777 esac
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_compile") 2>conftest.er1
22780 ac_status=$?
22781 grep -v '^ *+' conftest.er1 >conftest.err
22782 rm -f conftest.er1
22783 cat conftest.err >&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); } &&
22786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22787 { (case "(($ac_try" in
22788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22789 *) ac_try_echo=$ac_try;;
22790 esac
22791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22792 (eval "$ac_try") 2>&5
22793 ac_status=$?
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); }; } &&
22796 { ac_try='test -s conftest.$ac_objext'
22797 { (case "(($ac_try" in
22798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22799 *) ac_try_echo=$ac_try;;
22800 esac
22801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22802 (eval "$ac_try") 2>&5
22803 ac_status=$?
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); }; }; then
22806 ac_cv_member_sg_io_hdr_t_interface_id=yes
22807 else
22808 echo "$as_me: failed program was:" >&5
22809 sed 's/^/| /' conftest.$ac_ext >&5
22811 ac_cv_member_sg_io_hdr_t_interface_id=no
22814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22819 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22820 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22821 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22823 cat >>confdefs.h <<_ACEOF
22824 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22825 _ACEOF
22831 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22832 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22833 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 else
22836 cat >conftest.$ac_ext <<_ACEOF
22837 /* confdefs.h. */
22838 _ACEOF
22839 cat confdefs.h >>conftest.$ac_ext
22840 cat >>conftest.$ac_ext <<_ACEOF
22841 /* end confdefs.h. */
22842 #include <signal.h>
22845 main ()
22847 static siginfo_t ac_aggr;
22848 if (ac_aggr.si_fd)
22849 return 0;
22851 return 0;
22853 _ACEOF
22854 rm -f conftest.$ac_objext
22855 if { (ac_try="$ac_compile"
22856 case "(($ac_try" in
22857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22858 *) ac_try_echo=$ac_try;;
22859 esac
22860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22861 (eval "$ac_compile") 2>conftest.er1
22862 ac_status=$?
22863 grep -v '^ *+' conftest.er1 >conftest.err
22864 rm -f conftest.er1
22865 cat conftest.err >&5
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); } &&
22868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22869 { (case "(($ac_try" in
22870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22871 *) ac_try_echo=$ac_try;;
22872 esac
22873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22874 (eval "$ac_try") 2>&5
22875 ac_status=$?
22876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22877 (exit $ac_status); }; } &&
22878 { ac_try='test -s conftest.$ac_objext'
22879 { (case "(($ac_try" in
22880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22881 *) ac_try_echo=$ac_try;;
22882 esac
22883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22884 (eval "$ac_try") 2>&5
22885 ac_status=$?
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); }; }; then
22888 ac_cv_member_siginfo_t_si_fd=yes
22889 else
22890 echo "$as_me: failed program was:" >&5
22891 sed 's/^/| /' conftest.$ac_ext >&5
22893 cat >conftest.$ac_ext <<_ACEOF
22894 /* confdefs.h. */
22895 _ACEOF
22896 cat confdefs.h >>conftest.$ac_ext
22897 cat >>conftest.$ac_ext <<_ACEOF
22898 /* end confdefs.h. */
22899 #include <signal.h>
22902 main ()
22904 static siginfo_t ac_aggr;
22905 if (sizeof ac_aggr.si_fd)
22906 return 0;
22908 return 0;
22910 _ACEOF
22911 rm -f conftest.$ac_objext
22912 if { (ac_try="$ac_compile"
22913 case "(($ac_try" in
22914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22915 *) ac_try_echo=$ac_try;;
22916 esac
22917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22918 (eval "$ac_compile") 2>conftest.er1
22919 ac_status=$?
22920 grep -v '^ *+' conftest.er1 >conftest.err
22921 rm -f conftest.er1
22922 cat conftest.err >&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22926 { (case "(($ac_try" in
22927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22928 *) ac_try_echo=$ac_try;;
22929 esac
22930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22931 (eval "$ac_try") 2>&5
22932 ac_status=$?
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; } &&
22935 { ac_try='test -s conftest.$ac_objext'
22936 { (case "(($ac_try" in
22937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22938 *) ac_try_echo=$ac_try;;
22939 esac
22940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22941 (eval "$ac_try") 2>&5
22942 ac_status=$?
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); }; }; then
22945 ac_cv_member_siginfo_t_si_fd=yes
22946 else
22947 echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.$ac_ext >&5
22950 ac_cv_member_siginfo_t_si_fd=no
22953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22958 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22959 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22960 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22962 cat >>confdefs.h <<_ACEOF
22963 #define HAVE_SIGINFO_T_SI_FD 1
22964 _ACEOF
22970 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22971 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22972 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22973 echo $ECHO_N "(cached) $ECHO_C" >&6
22974 else
22975 cat >conftest.$ac_ext <<_ACEOF
22976 /* confdefs.h. */
22977 _ACEOF
22978 cat confdefs.h >>conftest.$ac_ext
22979 cat >>conftest.$ac_ext <<_ACEOF
22980 /* end confdefs.h. */
22981 #include <sys/types.h>
22982 #ifdef HAVE_SYS_MTIO_H
22983 #include <sys/mtio.h>
22984 #endif
22987 main ()
22989 static struct mtget ac_aggr;
22990 if (ac_aggr.mt_blksiz)
22991 return 0;
22993 return 0;
22995 _ACEOF
22996 rm -f conftest.$ac_objext
22997 if { (ac_try="$ac_compile"
22998 case "(($ac_try" in
22999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23000 *) ac_try_echo=$ac_try;;
23001 esac
23002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23003 (eval "$ac_compile") 2>conftest.er1
23004 ac_status=$?
23005 grep -v '^ *+' conftest.er1 >conftest.err
23006 rm -f conftest.er1
23007 cat conftest.err >&5
23008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23009 (exit $ac_status); } &&
23010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23011 { (case "(($ac_try" in
23012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23013 *) ac_try_echo=$ac_try;;
23014 esac
23015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23016 (eval "$ac_try") 2>&5
23017 ac_status=$?
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); }; } &&
23020 { ac_try='test -s conftest.$ac_objext'
23021 { (case "(($ac_try" in
23022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23023 *) ac_try_echo=$ac_try;;
23024 esac
23025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23026 (eval "$ac_try") 2>&5
23027 ac_status=$?
23028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23029 (exit $ac_status); }; }; then
23030 ac_cv_member_struct_mtget_mt_blksiz=yes
23031 else
23032 echo "$as_me: failed program was:" >&5
23033 sed 's/^/| /' conftest.$ac_ext >&5
23035 cat >conftest.$ac_ext <<_ACEOF
23036 /* confdefs.h. */
23037 _ACEOF
23038 cat confdefs.h >>conftest.$ac_ext
23039 cat >>conftest.$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 #include <sys/types.h>
23042 #ifdef HAVE_SYS_MTIO_H
23043 #include <sys/mtio.h>
23044 #endif
23047 main ()
23049 static struct mtget ac_aggr;
23050 if (sizeof ac_aggr.mt_blksiz)
23051 return 0;
23053 return 0;
23055 _ACEOF
23056 rm -f conftest.$ac_objext
23057 if { (ac_try="$ac_compile"
23058 case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23061 esac
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_compile") 2>conftest.er1
23064 ac_status=$?
23065 grep -v '^ *+' conftest.er1 >conftest.err
23066 rm -f conftest.er1
23067 cat conftest.err >&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } &&
23070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23071 { (case "(($ac_try" in
23072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23073 *) ac_try_echo=$ac_try;;
23074 esac
23075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23076 (eval "$ac_try") 2>&5
23077 ac_status=$?
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); }; } &&
23080 { ac_try='test -s conftest.$ac_objext'
23081 { (case "(($ac_try" in
23082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23083 *) ac_try_echo=$ac_try;;
23084 esac
23085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23086 (eval "$ac_try") 2>&5
23087 ac_status=$?
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); }; }; then
23090 ac_cv_member_struct_mtget_mt_blksiz=yes
23091 else
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.$ac_ext >&5
23095 ac_cv_member_struct_mtget_mt_blksiz=no
23098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23103 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
23104 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
23105 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
23107 cat >>confdefs.h <<_ACEOF
23108 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
23109 _ACEOF
23113 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
23114 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
23115 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
23116 echo $ECHO_N "(cached) $ECHO_C" >&6
23117 else
23118 cat >conftest.$ac_ext <<_ACEOF
23119 /* confdefs.h. */
23120 _ACEOF
23121 cat confdefs.h >>conftest.$ac_ext
23122 cat >>conftest.$ac_ext <<_ACEOF
23123 /* end confdefs.h. */
23124 #include <sys/types.h>
23125 #ifdef HAVE_SYS_MTIO_H
23126 #include <sys/mtio.h>
23127 #endif
23130 main ()
23132 static struct mtget ac_aggr;
23133 if (ac_aggr.mt_gstat)
23134 return 0;
23136 return 0;
23138 _ACEOF
23139 rm -f conftest.$ac_objext
23140 if { (ac_try="$ac_compile"
23141 case "(($ac_try" in
23142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23143 *) ac_try_echo=$ac_try;;
23144 esac
23145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23146 (eval "$ac_compile") 2>conftest.er1
23147 ac_status=$?
23148 grep -v '^ *+' conftest.er1 >conftest.err
23149 rm -f conftest.er1
23150 cat conftest.err >&5
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } &&
23153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23154 { (case "(($ac_try" in
23155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23156 *) ac_try_echo=$ac_try;;
23157 esac
23158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23159 (eval "$ac_try") 2>&5
23160 ac_status=$?
23161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162 (exit $ac_status); }; } &&
23163 { ac_try='test -s conftest.$ac_objext'
23164 { (case "(($ac_try" in
23165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23166 *) ac_try_echo=$ac_try;;
23167 esac
23168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23169 (eval "$ac_try") 2>&5
23170 ac_status=$?
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); }; }; then
23173 ac_cv_member_struct_mtget_mt_gstat=yes
23174 else
23175 echo "$as_me: failed program was:" >&5
23176 sed 's/^/| /' conftest.$ac_ext >&5
23178 cat >conftest.$ac_ext <<_ACEOF
23179 /* confdefs.h. */
23180 _ACEOF
23181 cat confdefs.h >>conftest.$ac_ext
23182 cat >>conftest.$ac_ext <<_ACEOF
23183 /* end confdefs.h. */
23184 #include <sys/types.h>
23185 #ifdef HAVE_SYS_MTIO_H
23186 #include <sys/mtio.h>
23187 #endif
23190 main ()
23192 static struct mtget ac_aggr;
23193 if (sizeof ac_aggr.mt_gstat)
23194 return 0;
23196 return 0;
23198 _ACEOF
23199 rm -f conftest.$ac_objext
23200 if { (ac_try="$ac_compile"
23201 case "(($ac_try" in
23202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23203 *) ac_try_echo=$ac_try;;
23204 esac
23205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23206 (eval "$ac_compile") 2>conftest.er1
23207 ac_status=$?
23208 grep -v '^ *+' conftest.er1 >conftest.err
23209 rm -f conftest.er1
23210 cat conftest.err >&5
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); } &&
23213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23214 { (case "(($ac_try" in
23215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23216 *) ac_try_echo=$ac_try;;
23217 esac
23218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23219 (eval "$ac_try") 2>&5
23220 ac_status=$?
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); }; } &&
23223 { ac_try='test -s conftest.$ac_objext'
23224 { (case "(($ac_try" in
23225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23226 *) ac_try_echo=$ac_try;;
23227 esac
23228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23229 (eval "$ac_try") 2>&5
23230 ac_status=$?
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); }; }; then
23233 ac_cv_member_struct_mtget_mt_gstat=yes
23234 else
23235 echo "$as_me: failed program was:" >&5
23236 sed 's/^/| /' conftest.$ac_ext >&5
23238 ac_cv_member_struct_mtget_mt_gstat=no
23241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23246 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
23247 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
23248 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
23250 cat >>confdefs.h <<_ACEOF
23251 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
23252 _ACEOF
23256 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
23257 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
23258 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23260 else
23261 cat >conftest.$ac_ext <<_ACEOF
23262 /* confdefs.h. */
23263 _ACEOF
23264 cat confdefs.h >>conftest.$ac_ext
23265 cat >>conftest.$ac_ext <<_ACEOF
23266 /* end confdefs.h. */
23267 #include <sys/types.h>
23268 #ifdef HAVE_SYS_MTIO_H
23269 #include <sys/mtio.h>
23270 #endif
23273 main ()
23275 static struct mtget ac_aggr;
23276 if (ac_aggr.mt_blkno)
23277 return 0;
23279 return 0;
23281 _ACEOF
23282 rm -f conftest.$ac_objext
23283 if { (ac_try="$ac_compile"
23284 case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;;
23287 esac
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_compile") 2>conftest.er1
23290 ac_status=$?
23291 grep -v '^ *+' conftest.er1 >conftest.err
23292 rm -f conftest.er1
23293 cat conftest.err >&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } &&
23296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23297 { (case "(($ac_try" in
23298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23299 *) ac_try_echo=$ac_try;;
23300 esac
23301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23302 (eval "$ac_try") 2>&5
23303 ac_status=$?
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); }; } &&
23306 { ac_try='test -s conftest.$ac_objext'
23307 { (case "(($ac_try" in
23308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23309 *) ac_try_echo=$ac_try;;
23310 esac
23311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23312 (eval "$ac_try") 2>&5
23313 ac_status=$?
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); }; }; then
23316 ac_cv_member_struct_mtget_mt_blkno=yes
23317 else
23318 echo "$as_me: failed program was:" >&5
23319 sed 's/^/| /' conftest.$ac_ext >&5
23321 cat >conftest.$ac_ext <<_ACEOF
23322 /* confdefs.h. */
23323 _ACEOF
23324 cat confdefs.h >>conftest.$ac_ext
23325 cat >>conftest.$ac_ext <<_ACEOF
23326 /* end confdefs.h. */
23327 #include <sys/types.h>
23328 #ifdef HAVE_SYS_MTIO_H
23329 #include <sys/mtio.h>
23330 #endif
23333 main ()
23335 static struct mtget ac_aggr;
23336 if (sizeof ac_aggr.mt_blkno)
23337 return 0;
23339 return 0;
23341 _ACEOF
23342 rm -f conftest.$ac_objext
23343 if { (ac_try="$ac_compile"
23344 case "(($ac_try" in
23345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23346 *) ac_try_echo=$ac_try;;
23347 esac
23348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23349 (eval "$ac_compile") 2>conftest.er1
23350 ac_status=$?
23351 grep -v '^ *+' conftest.er1 >conftest.err
23352 rm -f conftest.er1
23353 cat conftest.err >&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); } &&
23356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23357 { (case "(($ac_try" in
23358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23359 *) ac_try_echo=$ac_try;;
23360 esac
23361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23362 (eval "$ac_try") 2>&5
23363 ac_status=$?
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); }; } &&
23366 { ac_try='test -s conftest.$ac_objext'
23367 { (case "(($ac_try" in
23368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23369 *) ac_try_echo=$ac_try;;
23370 esac
23371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23372 (eval "$ac_try") 2>&5
23373 ac_status=$?
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; }; then
23376 ac_cv_member_struct_mtget_mt_blkno=yes
23377 else
23378 echo "$as_me: failed program was:" >&5
23379 sed 's/^/| /' conftest.$ac_ext >&5
23381 ac_cv_member_struct_mtget_mt_blkno=no
23384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23389 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
23390 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
23391 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
23393 cat >>confdefs.h <<_ACEOF
23394 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
23395 _ACEOF
23401 { echo "$as_me:$LINENO: checking for struct option.name" >&5
23402 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
23403 if test "${ac_cv_member_struct_option_name+set}" = set; then
23404 echo $ECHO_N "(cached) $ECHO_C" >&6
23405 else
23406 cat >conftest.$ac_ext <<_ACEOF
23407 /* confdefs.h. */
23408 _ACEOF
23409 cat confdefs.h >>conftest.$ac_ext
23410 cat >>conftest.$ac_ext <<_ACEOF
23411 /* end confdefs.h. */
23412 #ifdef HAVE_GETOPT_H
23413 #include <getopt.h>
23414 #endif
23417 main ()
23419 static struct option ac_aggr;
23420 if (ac_aggr.name)
23421 return 0;
23423 return 0;
23425 _ACEOF
23426 rm -f conftest.$ac_objext
23427 if { (ac_try="$ac_compile"
23428 case "(($ac_try" in
23429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23430 *) ac_try_echo=$ac_try;;
23431 esac
23432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23433 (eval "$ac_compile") 2>conftest.er1
23434 ac_status=$?
23435 grep -v '^ *+' conftest.er1 >conftest.err
23436 rm -f conftest.er1
23437 cat conftest.err >&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); } &&
23440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23441 { (case "(($ac_try" in
23442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23443 *) ac_try_echo=$ac_try;;
23444 esac
23445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23446 (eval "$ac_try") 2>&5
23447 ac_status=$?
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; } &&
23450 { ac_try='test -s conftest.$ac_objext'
23451 { (case "(($ac_try" in
23452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23453 *) ac_try_echo=$ac_try;;
23454 esac
23455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23456 (eval "$ac_try") 2>&5
23457 ac_status=$?
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); }; }; then
23460 ac_cv_member_struct_option_name=yes
23461 else
23462 echo "$as_me: failed program was:" >&5
23463 sed 's/^/| /' conftest.$ac_ext >&5
23465 cat >conftest.$ac_ext <<_ACEOF
23466 /* confdefs.h. */
23467 _ACEOF
23468 cat confdefs.h >>conftest.$ac_ext
23469 cat >>conftest.$ac_ext <<_ACEOF
23470 /* end confdefs.h. */
23471 #ifdef HAVE_GETOPT_H
23472 #include <getopt.h>
23473 #endif
23476 main ()
23478 static struct option ac_aggr;
23479 if (sizeof ac_aggr.name)
23480 return 0;
23482 return 0;
23484 _ACEOF
23485 rm -f conftest.$ac_objext
23486 if { (ac_try="$ac_compile"
23487 case "(($ac_try" in
23488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23489 *) ac_try_echo=$ac_try;;
23490 esac
23491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23492 (eval "$ac_compile") 2>conftest.er1
23493 ac_status=$?
23494 grep -v '^ *+' conftest.er1 >conftest.err
23495 rm -f conftest.er1
23496 cat conftest.err >&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } &&
23499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23500 { (case "(($ac_try" in
23501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23502 *) ac_try_echo=$ac_try;;
23503 esac
23504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23505 (eval "$ac_try") 2>&5
23506 ac_status=$?
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); }; } &&
23509 { ac_try='test -s conftest.$ac_objext'
23510 { (case "(($ac_try" in
23511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23512 *) ac_try_echo=$ac_try;;
23513 esac
23514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23515 (eval "$ac_try") 2>&5
23516 ac_status=$?
23517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23518 (exit $ac_status); }; }; then
23519 ac_cv_member_struct_option_name=yes
23520 else
23521 echo "$as_me: failed program was:" >&5
23522 sed 's/^/| /' conftest.$ac_ext >&5
23524 ac_cv_member_struct_option_name=no
23527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23532 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23533 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23534 if test $ac_cv_member_struct_option_name = yes; then
23536 cat >>confdefs.h <<_ACEOF
23537 #define HAVE_STRUCT_OPTION_NAME 1
23538 _ACEOF
23544 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23545 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23546 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23547 echo $ECHO_N "(cached) $ECHO_C" >&6
23548 else
23549 cat >conftest.$ac_ext <<_ACEOF
23550 /* confdefs.h. */
23551 _ACEOF
23552 cat confdefs.h >>conftest.$ac_ext
23553 cat >>conftest.$ac_ext <<_ACEOF
23554 /* end confdefs.h. */
23555 $ac_includes_default
23557 main ()
23559 static struct stat ac_aggr;
23560 if (ac_aggr.st_blocks)
23561 return 0;
23563 return 0;
23565 _ACEOF
23566 rm -f conftest.$ac_objext
23567 if { (ac_try="$ac_compile"
23568 case "(($ac_try" in
23569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23570 *) ac_try_echo=$ac_try;;
23571 esac
23572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23573 (eval "$ac_compile") 2>conftest.er1
23574 ac_status=$?
23575 grep -v '^ *+' conftest.er1 >conftest.err
23576 rm -f conftest.er1
23577 cat conftest.err >&5
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); } &&
23580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23581 { (case "(($ac_try" in
23582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23583 *) ac_try_echo=$ac_try;;
23584 esac
23585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23586 (eval "$ac_try") 2>&5
23587 ac_status=$?
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; } &&
23590 { ac_try='test -s conftest.$ac_objext'
23591 { (case "(($ac_try" in
23592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23593 *) ac_try_echo=$ac_try;;
23594 esac
23595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23596 (eval "$ac_try") 2>&5
23597 ac_status=$?
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; }; then
23600 ac_cv_member_struct_stat_st_blocks=yes
23601 else
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23605 cat >conftest.$ac_ext <<_ACEOF
23606 /* confdefs.h. */
23607 _ACEOF
23608 cat confdefs.h >>conftest.$ac_ext
23609 cat >>conftest.$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23611 $ac_includes_default
23613 main ()
23615 static struct stat ac_aggr;
23616 if (sizeof ac_aggr.st_blocks)
23617 return 0;
23619 return 0;
23621 _ACEOF
23622 rm -f conftest.$ac_objext
23623 if { (ac_try="$ac_compile"
23624 case "(($ac_try" in
23625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23626 *) ac_try_echo=$ac_try;;
23627 esac
23628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23629 (eval "$ac_compile") 2>conftest.er1
23630 ac_status=$?
23631 grep -v '^ *+' conftest.er1 >conftest.err
23632 rm -f conftest.er1
23633 cat conftest.err >&5
23634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635 (exit $ac_status); } &&
23636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23637 { (case "(($ac_try" in
23638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23639 *) ac_try_echo=$ac_try;;
23640 esac
23641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23642 (eval "$ac_try") 2>&5
23643 ac_status=$?
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); }; } &&
23646 { ac_try='test -s conftest.$ac_objext'
23647 { (case "(($ac_try" in
23648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23649 *) ac_try_echo=$ac_try;;
23650 esac
23651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23652 (eval "$ac_try") 2>&5
23653 ac_status=$?
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); }; }; then
23656 ac_cv_member_struct_stat_st_blocks=yes
23657 else
23658 echo "$as_me: failed program was:" >&5
23659 sed 's/^/| /' conftest.$ac_ext >&5
23661 ac_cv_member_struct_stat_st_blocks=no
23664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23669 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23670 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23671 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23673 cat >>confdefs.h <<_ACEOF
23674 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23675 _ACEOF
23681 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23682 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23683 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23685 else
23686 cat >conftest.$ac_ext <<_ACEOF
23687 /* confdefs.h. */
23688 _ACEOF
23689 cat confdefs.h >>conftest.$ac_ext
23690 cat >>conftest.$ac_ext <<_ACEOF
23691 /* end confdefs.h. */
23692 #ifdef HAVE_SYS_TYPES_H
23693 #include <sys/types.h>
23694 #endif
23695 #ifdef HAVE_NETINET_IN_H
23696 #include <netinet/in.h>
23697 #endif
23700 main ()
23702 static struct sockaddr_in6 ac_aggr;
23703 if (ac_aggr.sin6_scope_id)
23704 return 0;
23706 return 0;
23708 _ACEOF
23709 rm -f conftest.$ac_objext
23710 if { (ac_try="$ac_compile"
23711 case "(($ac_try" in
23712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23713 *) ac_try_echo=$ac_try;;
23714 esac
23715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23716 (eval "$ac_compile") 2>conftest.er1
23717 ac_status=$?
23718 grep -v '^ *+' conftest.er1 >conftest.err
23719 rm -f conftest.er1
23720 cat conftest.err >&5
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); } &&
23723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23724 { (case "(($ac_try" in
23725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23726 *) ac_try_echo=$ac_try;;
23727 esac
23728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23729 (eval "$ac_try") 2>&5
23730 ac_status=$?
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); }; } &&
23733 { ac_try='test -s conftest.$ac_objext'
23734 { (case "(($ac_try" in
23735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23736 *) ac_try_echo=$ac_try;;
23737 esac
23738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23739 (eval "$ac_try") 2>&5
23740 ac_status=$?
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); }; }; then
23743 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23744 else
23745 echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.$ac_ext >&5
23748 cat >conftest.$ac_ext <<_ACEOF
23749 /* confdefs.h. */
23750 _ACEOF
23751 cat confdefs.h >>conftest.$ac_ext
23752 cat >>conftest.$ac_ext <<_ACEOF
23753 /* end confdefs.h. */
23754 #ifdef HAVE_SYS_TYPES_H
23755 #include <sys/types.h>
23756 #endif
23757 #ifdef HAVE_NETINET_IN_H
23758 #include <netinet/in.h>
23759 #endif
23762 main ()
23764 static struct sockaddr_in6 ac_aggr;
23765 if (sizeof ac_aggr.sin6_scope_id)
23766 return 0;
23768 return 0;
23770 _ACEOF
23771 rm -f conftest.$ac_objext
23772 if { (ac_try="$ac_compile"
23773 case "(($ac_try" in
23774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23775 *) ac_try_echo=$ac_try;;
23776 esac
23777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23778 (eval "$ac_compile") 2>conftest.er1
23779 ac_status=$?
23780 grep -v '^ *+' conftest.er1 >conftest.err
23781 rm -f conftest.er1
23782 cat conftest.err >&5
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); } &&
23785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23786 { (case "(($ac_try" in
23787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23788 *) ac_try_echo=$ac_try;;
23789 esac
23790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23791 (eval "$ac_try") 2>&5
23792 ac_status=$?
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); }; } &&
23795 { ac_try='test -s conftest.$ac_objext'
23796 { (case "(($ac_try" in
23797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23798 *) ac_try_echo=$ac_try;;
23799 esac
23800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23801 (eval "$ac_try") 2>&5
23802 ac_status=$?
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; }; then
23805 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23806 else
23807 echo "$as_me: failed program was:" >&5
23808 sed 's/^/| /' conftest.$ac_ext >&5
23810 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23818 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23819 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23820 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23822 cat >>confdefs.h <<_ACEOF
23823 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23824 _ACEOF
23830 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23831 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23832 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23833 echo $ECHO_N "(cached) $ECHO_C" >&6
23834 else
23835 cat >conftest.$ac_ext <<_ACEOF
23836 /* confdefs.h. */
23837 _ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841 #ifdef HAVE_SYS_TYPES_H
23842 #include <sys/types.h>
23843 #endif
23844 #ifdef HAVE_NETINET_IN_H
23845 # include <netinet/in.h>
23846 #endif
23847 #ifdef HAVE_ARPA_NAMESER_H
23848 # include <arpa/nameser.h>
23849 #endif
23852 main ()
23854 static ns_msg ac_aggr;
23855 if (ac_aggr._msg_ptr)
23856 return 0;
23858 return 0;
23860 _ACEOF
23861 rm -f conftest.$ac_objext
23862 if { (ac_try="$ac_compile"
23863 case "(($ac_try" in
23864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23865 *) ac_try_echo=$ac_try;;
23866 esac
23867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23868 (eval "$ac_compile") 2>conftest.er1
23869 ac_status=$?
23870 grep -v '^ *+' conftest.er1 >conftest.err
23871 rm -f conftest.er1
23872 cat conftest.err >&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } &&
23875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23876 { (case "(($ac_try" in
23877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23878 *) ac_try_echo=$ac_try;;
23879 esac
23880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23881 (eval "$ac_try") 2>&5
23882 ac_status=$?
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); }; } &&
23885 { ac_try='test -s conftest.$ac_objext'
23886 { (case "(($ac_try" in
23887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23888 *) ac_try_echo=$ac_try;;
23889 esac
23890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23891 (eval "$ac_try") 2>&5
23892 ac_status=$?
23893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23894 (exit $ac_status); }; }; then
23895 ac_cv_member_ns_msg__msg_ptr=yes
23896 else
23897 echo "$as_me: failed program was:" >&5
23898 sed 's/^/| /' conftest.$ac_ext >&5
23900 cat >conftest.$ac_ext <<_ACEOF
23901 /* confdefs.h. */
23902 _ACEOF
23903 cat confdefs.h >>conftest.$ac_ext
23904 cat >>conftest.$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23906 #ifdef HAVE_SYS_TYPES_H
23907 #include <sys/types.h>
23908 #endif
23909 #ifdef HAVE_NETINET_IN_H
23910 # include <netinet/in.h>
23911 #endif
23912 #ifdef HAVE_ARPA_NAMESER_H
23913 # include <arpa/nameser.h>
23914 #endif
23917 main ()
23919 static ns_msg ac_aggr;
23920 if (sizeof ac_aggr._msg_ptr)
23921 return 0;
23923 return 0;
23925 _ACEOF
23926 rm -f conftest.$ac_objext
23927 if { (ac_try="$ac_compile"
23928 case "(($ac_try" in
23929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23930 *) ac_try_echo=$ac_try;;
23931 esac
23932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23933 (eval "$ac_compile") 2>conftest.er1
23934 ac_status=$?
23935 grep -v '^ *+' conftest.er1 >conftest.err
23936 rm -f conftest.er1
23937 cat conftest.err >&5
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); } &&
23940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23941 { (case "(($ac_try" in
23942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23943 *) ac_try_echo=$ac_try;;
23944 esac
23945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23946 (eval "$ac_try") 2>&5
23947 ac_status=$?
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); }; } &&
23950 { ac_try='test -s conftest.$ac_objext'
23951 { (case "(($ac_try" in
23952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23953 *) ac_try_echo=$ac_try;;
23954 esac
23955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23956 (eval "$ac_try") 2>&5
23957 ac_status=$?
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); }; }; then
23960 ac_cv_member_ns_msg__msg_ptr=yes
23961 else
23962 echo "$as_me: failed program was:" >&5
23963 sed 's/^/| /' conftest.$ac_ext >&5
23965 ac_cv_member_ns_msg__msg_ptr=no
23968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23973 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23974 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23975 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23977 cat >>confdefs.h <<_ACEOF
23978 #define HAVE_NS_MSG__MSG_PTR 1
23979 _ACEOF
23985 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23986 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23987 if test "${ac_cv_have_timezone+set}" = set; then
23988 echo $ECHO_N "(cached) $ECHO_C" >&6
23989 else
23990 cat >conftest.$ac_ext <<_ACEOF
23991 /* confdefs.h. */
23992 _ACEOF
23993 cat confdefs.h >>conftest.$ac_ext
23994 cat >>conftest.$ac_ext <<_ACEOF
23995 /* end confdefs.h. */
23996 #include <time.h>
23998 main ()
24000 timezone;
24002 return 0;
24004 _ACEOF
24005 rm -f conftest.$ac_objext conftest$ac_exeext
24006 if { (ac_try="$ac_link"
24007 case "(($ac_try" in
24008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24009 *) ac_try_echo=$ac_try;;
24010 esac
24011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24012 (eval "$ac_link") 2>conftest.er1
24013 ac_status=$?
24014 grep -v '^ *+' conftest.er1 >conftest.err
24015 rm -f conftest.er1
24016 cat conftest.err >&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } &&
24019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24020 { (case "(($ac_try" in
24021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24022 *) ac_try_echo=$ac_try;;
24023 esac
24024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24025 (eval "$ac_try") 2>&5
24026 ac_status=$?
24027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); }; } &&
24029 { ac_try='test -s conftest$ac_exeext'
24030 { (case "(($ac_try" in
24031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24032 *) ac_try_echo=$ac_try;;
24033 esac
24034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24035 (eval "$ac_try") 2>&5
24036 ac_status=$?
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }; }; then
24039 ac_cv_have_timezone="yes"
24040 else
24041 echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.$ac_ext >&5
24044 ac_cv_have_timezone="no"
24047 rm -f core conftest.err conftest.$ac_objext \
24048 conftest$ac_exeext conftest.$ac_ext
24050 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
24051 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
24052 if test "$ac_cv_have_timezone" = "yes"
24053 then
24055 cat >>confdefs.h <<\_ACEOF
24056 #define HAVE_TIMEZONE 1
24057 _ACEOF
24060 { echo "$as_me:$LINENO: checking for daylight variable" >&5
24061 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
24062 if test "${ac_cv_have_daylight+set}" = set; then
24063 echo $ECHO_N "(cached) $ECHO_C" >&6
24064 else
24065 cat >conftest.$ac_ext <<_ACEOF
24066 /* confdefs.h. */
24067 _ACEOF
24068 cat confdefs.h >>conftest.$ac_ext
24069 cat >>conftest.$ac_ext <<_ACEOF
24070 /* end confdefs.h. */
24071 #include <time.h>
24073 main ()
24075 daylight;
24077 return 0;
24079 _ACEOF
24080 rm -f conftest.$ac_objext conftest$ac_exeext
24081 if { (ac_try="$ac_link"
24082 case "(($ac_try" in
24083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24084 *) ac_try_echo=$ac_try;;
24085 esac
24086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24087 (eval "$ac_link") 2>conftest.er1
24088 ac_status=$?
24089 grep -v '^ *+' conftest.er1 >conftest.err
24090 rm -f conftest.er1
24091 cat conftest.err >&5
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); } &&
24094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24095 { (case "(($ac_try" in
24096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24097 *) ac_try_echo=$ac_try;;
24098 esac
24099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24100 (eval "$ac_try") 2>&5
24101 ac_status=$?
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); }; } &&
24104 { ac_try='test -s conftest$ac_exeext'
24105 { (case "(($ac_try" in
24106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24107 *) ac_try_echo=$ac_try;;
24108 esac
24109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24110 (eval "$ac_try") 2>&5
24111 ac_status=$?
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); }; }; then
24114 ac_cv_have_daylight="yes"
24115 else
24116 echo "$as_me: failed program was:" >&5
24117 sed 's/^/| /' conftest.$ac_ext >&5
24119 ac_cv_have_daylight="no"
24122 rm -f core conftest.err conftest.$ac_objext \
24123 conftest$ac_exeext conftest.$ac_ext
24125 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
24126 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
24127 if test "$ac_cv_have_daylight" = "yes"
24128 then
24130 cat >>confdefs.h <<\_ACEOF
24131 #define HAVE_DAYLIGHT 1
24132 _ACEOF
24137 case $host_cpu in
24138 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
24139 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
24140 if test "${ac_cv_cpp_def___i386__+set}" = set; then
24141 echo $ECHO_N "(cached) $ECHO_C" >&6
24142 else
24143 cat >conftest.$ac_ext <<_ACEOF
24144 /* confdefs.h. */
24145 _ACEOF
24146 cat confdefs.h >>conftest.$ac_ext
24147 cat >>conftest.$ac_ext <<_ACEOF
24148 /* end confdefs.h. */
24149 #ifndef __i386__
24151 #endif
24152 _ACEOF
24153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24154 $EGREP "yes" >/dev/null 2>&1; then
24155 ac_cv_cpp_def___i386__=yes
24156 else
24157 ac_cv_cpp_def___i386__=no
24159 rm -f conftest*
24162 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
24163 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
24164 if test $ac_cv_cpp_def___i386__ = yes; then
24165 CFLAGS="$CFLAGS -D__i386__"
24166 LINTFLAGS="$LINTFLAGS -D__i386__"
24169 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
24170 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
24171 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
24172 echo $ECHO_N "(cached) $ECHO_C" >&6
24173 else
24174 cat >conftest.$ac_ext <<_ACEOF
24175 /* confdefs.h. */
24176 _ACEOF
24177 cat confdefs.h >>conftest.$ac_ext
24178 cat >>conftest.$ac_ext <<_ACEOF
24179 /* end confdefs.h. */
24180 #ifndef __x86_64__
24182 #endif
24183 _ACEOF
24184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24185 $EGREP "yes" >/dev/null 2>&1; then
24186 ac_cv_cpp_def___x86_64__=yes
24187 else
24188 ac_cv_cpp_def___x86_64__=no
24190 rm -f conftest*
24193 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
24194 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
24195 if test $ac_cv_cpp_def___x86_64__ = yes; then
24196 CFLAGS="$CFLAGS -D__x86_64__"
24197 LINTFLAGS="$LINTFLAGS -D__x86_64__"
24200 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
24201 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
24202 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
24203 echo $ECHO_N "(cached) $ECHO_C" >&6
24204 else
24205 cat >conftest.$ac_ext <<_ACEOF
24206 /* confdefs.h. */
24207 _ACEOF
24208 cat confdefs.h >>conftest.$ac_ext
24209 cat >>conftest.$ac_ext <<_ACEOF
24210 /* end confdefs.h. */
24211 #ifndef _WIN64
24213 #endif
24214 _ACEOF
24215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24216 $EGREP "yes" >/dev/null 2>&1; then
24217 ac_cv_cpp_def__WIN64=yes
24218 else
24219 ac_cv_cpp_def__WIN64=no
24221 rm -f conftest*
24224 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
24225 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
24226 if test $ac_cv_cpp_def__WIN64 = yes; then
24227 CFLAGS="$CFLAGS -D_WIN64"
24228 LINTFLAGS="$LINTFLAGS -D_WIN64"
24231 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
24232 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
24233 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
24234 echo $ECHO_N "(cached) $ECHO_C" >&6
24235 else
24236 cat >conftest.$ac_ext <<_ACEOF
24237 /* confdefs.h. */
24238 _ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242 #ifndef __ALPHA__
24244 #endif
24245 _ACEOF
24246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24247 $EGREP "yes" >/dev/null 2>&1; then
24248 ac_cv_cpp_def___ALPHA__=yes
24249 else
24250 ac_cv_cpp_def___ALPHA__=no
24252 rm -f conftest*
24255 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
24256 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
24257 if test $ac_cv_cpp_def___ALPHA__ = yes; then
24258 CFLAGS="$CFLAGS -D__ALPHA__"
24259 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
24262 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
24263 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
24264 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
24265 echo $ECHO_N "(cached) $ECHO_C" >&6
24266 else
24267 cat >conftest.$ac_ext <<_ACEOF
24268 /* confdefs.h. */
24269 _ACEOF
24270 cat confdefs.h >>conftest.$ac_ext
24271 cat >>conftest.$ac_ext <<_ACEOF
24272 /* end confdefs.h. */
24273 #ifndef __sparc__
24275 #endif
24276 _ACEOF
24277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24278 $EGREP "yes" >/dev/null 2>&1; then
24279 ac_cv_cpp_def___sparc__=yes
24280 else
24281 ac_cv_cpp_def___sparc__=no
24283 rm -f conftest*
24286 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
24287 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
24288 if test $ac_cv_cpp_def___sparc__ = yes; then
24289 CFLAGS="$CFLAGS -D__sparc__"
24290 LINTFLAGS="$LINTFLAGS -D__sparc__"
24293 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
24294 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
24295 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
24296 echo $ECHO_N "(cached) $ECHO_C" >&6
24297 else
24298 cat >conftest.$ac_ext <<_ACEOF
24299 /* confdefs.h. */
24300 _ACEOF
24301 cat confdefs.h >>conftest.$ac_ext
24302 cat >>conftest.$ac_ext <<_ACEOF
24303 /* end confdefs.h. */
24304 #ifndef __powerpc__
24306 #endif
24307 _ACEOF
24308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24309 $EGREP "yes" >/dev/null 2>&1; then
24310 ac_cv_cpp_def___powerpc__=yes
24311 else
24312 ac_cv_cpp_def___powerpc__=no
24314 rm -f conftest*
24317 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
24318 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
24319 if test $ac_cv_cpp_def___powerpc__ = yes; then
24320 CFLAGS="$CFLAGS -D__powerpc__"
24321 LINTFLAGS="$LINTFLAGS -D__powerpc__"
24324 esac
24326 case $host_vendor in
24327 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
24328 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
24329 if test "${ac_cv_cpp_def___sun__+set}" = set; then
24330 echo $ECHO_N "(cached) $ECHO_C" >&6
24331 else
24332 cat >conftest.$ac_ext <<_ACEOF
24333 /* confdefs.h. */
24334 _ACEOF
24335 cat confdefs.h >>conftest.$ac_ext
24336 cat >>conftest.$ac_ext <<_ACEOF
24337 /* end confdefs.h. */
24338 #ifndef __sun__
24340 #endif
24341 _ACEOF
24342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24343 $EGREP "yes" >/dev/null 2>&1; then
24344 ac_cv_cpp_def___sun__=yes
24345 else
24346 ac_cv_cpp_def___sun__=no
24348 rm -f conftest*
24351 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
24352 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
24353 if test $ac_cv_cpp_def___sun__ = yes; then
24354 CFLAGS="$CFLAGS -D__sun__"
24355 LINTFLAGS="$LINTFLAGS -D__sun__"
24358 esac
24364 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
24366 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
24368 ac_config_commands="$ac_config_commands dlls/kernel/messages"
24370 ac_config_commands="$ac_config_commands dlls/user/resources"
24372 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
24374 ac_config_commands="$ac_config_commands include/wine"
24377 MAKE_RULES=Make.rules
24380 MAKE_DLL_RULES=dlls/Makedll.rules
24383 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
24386 MAKE_TEST_RULES=dlls/Maketest.rules
24389 MAKE_PROG_RULES=programs/Makeprog.rules
24392 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/pstorec/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"
24395 cat >confcache <<\_ACEOF
24396 # This file is a shell script that caches the results of configure
24397 # tests run on this system so they can be shared between configure
24398 # scripts and configure runs, see configure's option --config-cache.
24399 # It is not useful on other systems. If it contains results you don't
24400 # want to keep, you may remove or edit it.
24402 # config.status only pays attention to the cache file if you give it
24403 # the --recheck option to rerun configure.
24405 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24406 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24407 # following values.
24409 _ACEOF
24411 # The following way of writing the cache mishandles newlines in values,
24412 # but we know of no workaround that is simple, portable, and efficient.
24413 # So, we kill variables containing newlines.
24414 # Ultrix sh set writes to stderr and can't be redirected directly,
24415 # and sets the high bit in the cache file unless we assign to the vars.
24417 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24418 eval ac_val=\$$ac_var
24419 case $ac_val in #(
24420 *${as_nl}*)
24421 case $ac_var in #(
24422 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24423 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24424 esac
24425 case $ac_var in #(
24426 _ | IFS | as_nl) ;; #(
24427 *) $as_unset $ac_var ;;
24428 esac ;;
24429 esac
24430 done
24432 (set) 2>&1 |
24433 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24434 *${as_nl}ac_space=\ *)
24435 # `set' does not quote correctly, so add quotes (double-quote
24436 # substitution turns \\\\ into \\, and sed turns \\ into \).
24437 sed -n \
24438 "s/'/'\\\\''/g;
24439 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24440 ;; #(
24442 # `set' quotes correctly as required by POSIX, so do not add quotes.
24443 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24445 esac |
24446 sort
24448 sed '
24449 /^ac_cv_env_/b end
24450 t clear
24451 :clear
24452 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24453 t end
24454 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24455 :end' >>confcache
24456 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24457 if test -w "$cache_file"; then
24458 test "x$cache_file" != "x/dev/null" &&
24459 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24460 echo "$as_me: updating cache $cache_file" >&6;}
24461 cat confcache >$cache_file
24462 else
24463 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24464 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24467 rm -f confcache
24469 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24470 # Let make expand exec_prefix.
24471 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24473 DEFS=-DHAVE_CONFIG_H
24475 ac_libobjs=
24476 ac_ltlibobjs=
24477 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24478 # 1. Remove the extension, and $U if already installed.
24479 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24480 ac_i=`echo "$ac_i" | sed "$ac_script"`
24481 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24482 # will be set to the directory where LIBOBJS objects are built.
24483 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24484 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24485 done
24486 LIBOBJS=$ac_libobjs
24488 LTLIBOBJS=$ac_ltlibobjs
24492 : ${CONFIG_STATUS=./config.status}
24493 ac_clean_files_save=$ac_clean_files
24494 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24495 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24496 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24497 cat >$CONFIG_STATUS <<_ACEOF
24498 #! $SHELL
24499 # Generated by $as_me.
24500 # Run this file to recreate the current configuration.
24501 # Compiler output produced by configure, useful for debugging
24502 # configure, is in config.log if it exists.
24504 debug=false
24505 ac_cs_recheck=false
24506 ac_cs_silent=false
24507 SHELL=\${CONFIG_SHELL-$SHELL}
24508 _ACEOF
24510 cat >>$CONFIG_STATUS <<\_ACEOF
24511 ## --------------------- ##
24512 ## M4sh Initialization. ##
24513 ## --------------------- ##
24515 # Be Bourne compatible
24516 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24517 emulate sh
24518 NULLCMD=:
24519 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24520 # is contrary to our usage. Disable this feature.
24521 alias -g '${1+"$@"}'='"$@"'
24522 setopt NO_GLOB_SUBST
24523 else
24524 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24526 BIN_SH=xpg4; export BIN_SH # for Tru64
24527 DUALCASE=1; export DUALCASE # for MKS sh
24530 # PATH needs CR
24531 # Avoid depending upon Character Ranges.
24532 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24533 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24534 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24535 as_cr_digits='0123456789'
24536 as_cr_alnum=$as_cr_Letters$as_cr_digits
24538 # The user is always right.
24539 if test "${PATH_SEPARATOR+set}" != set; then
24540 echo "#! /bin/sh" >conf$$.sh
24541 echo "exit 0" >>conf$$.sh
24542 chmod +x conf$$.sh
24543 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24544 PATH_SEPARATOR=';'
24545 else
24546 PATH_SEPARATOR=:
24548 rm -f conf$$.sh
24551 # Support unset when possible.
24552 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24553 as_unset=unset
24554 else
24555 as_unset=false
24559 # IFS
24560 # We need space, tab and new line, in precisely that order. Quoting is
24561 # there to prevent editors from complaining about space-tab.
24562 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24563 # splitting by setting IFS to empty value.)
24564 as_nl='
24566 IFS=" "" $as_nl"
24568 # Find who we are. Look in the path if we contain no directory separator.
24569 case $0 in
24570 *[\\/]* ) as_myself=$0 ;;
24571 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24572 for as_dir in $PATH
24574 IFS=$as_save_IFS
24575 test -z "$as_dir" && as_dir=.
24576 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24577 done
24578 IFS=$as_save_IFS
24581 esac
24582 # We did not find ourselves, most probably we were run as `sh COMMAND'
24583 # in which case we are not to be found in the path.
24584 if test "x$as_myself" = x; then
24585 as_myself=$0
24587 if test ! -f "$as_myself"; then
24588 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24589 { (exit 1); exit 1; }
24592 # Work around bugs in pre-3.0 UWIN ksh.
24593 for as_var in ENV MAIL MAILPATH
24594 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24595 done
24596 PS1='$ '
24597 PS2='> '
24598 PS4='+ '
24600 # NLS nuisances.
24601 for as_var in \
24602 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24603 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24604 LC_TELEPHONE LC_TIME
24606 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24607 eval $as_var=C; export $as_var
24608 else
24609 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24611 done
24613 # Required to use basename.
24614 if expr a : '\(a\)' >/dev/null 2>&1 &&
24615 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24616 as_expr=expr
24617 else
24618 as_expr=false
24621 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24622 as_basename=basename
24623 else
24624 as_basename=false
24628 # Name of the executable.
24629 as_me=`$as_basename -- "$0" ||
24630 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24631 X"$0" : 'X\(//\)$' \| \
24632 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24633 echo X/"$0" |
24634 sed '/^.*\/\([^/][^/]*\)\/*$/{
24635 s//\1/
24638 /^X\/\(\/\/\)$/{
24639 s//\1/
24642 /^X\/\(\/\).*/{
24643 s//\1/
24646 s/.*/./; q'`
24648 # CDPATH.
24649 $as_unset CDPATH
24653 as_lineno_1=$LINENO
24654 as_lineno_2=$LINENO
24655 test "x$as_lineno_1" != "x$as_lineno_2" &&
24656 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24658 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24659 # uniformly replaced by the line number. The first 'sed' inserts a
24660 # line-number line after each line using $LINENO; the second 'sed'
24661 # does the real work. The second script uses 'N' to pair each
24662 # line-number line with the line containing $LINENO, and appends
24663 # trailing '-' during substitution so that $LINENO is not a special
24664 # case at line end.
24665 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24666 # scripts with optimization help from Paolo Bonzini. Blame Lee
24667 # E. McMahon (1931-1989) for sed's syntax. :-)
24668 sed -n '
24670 /[$]LINENO/=
24671 ' <$as_myself |
24672 sed '
24673 s/[$]LINENO.*/&-/
24674 t lineno
24676 :lineno
24678 :loop
24679 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24680 t loop
24681 s/-\n.*//
24682 ' >$as_me.lineno &&
24683 chmod +x "$as_me.lineno" ||
24684 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24685 { (exit 1); exit 1; }; }
24687 # Don't try to exec as it changes $[0], causing all sort of problems
24688 # (the dirname of $[0] is not the place where we might find the
24689 # original and so on. Autoconf is especially sensitive to this).
24690 . "./$as_me.lineno"
24691 # Exit status is that of the last command.
24692 exit
24696 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24697 as_dirname=dirname
24698 else
24699 as_dirname=false
24702 ECHO_C= ECHO_N= ECHO_T=
24703 case `echo -n x` in
24704 -n*)
24705 case `echo 'x\c'` in
24706 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24707 *) ECHO_C='\c';;
24708 esac;;
24710 ECHO_N='-n';;
24711 esac
24713 if expr a : '\(a\)' >/dev/null 2>&1 &&
24714 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24715 as_expr=expr
24716 else
24717 as_expr=false
24720 rm -f conf$$ conf$$.exe conf$$.file
24721 if test -d conf$$.dir; then
24722 rm -f conf$$.dir/conf$$.file
24723 else
24724 rm -f conf$$.dir
24725 mkdir conf$$.dir
24727 echo >conf$$.file
24728 if ln -s conf$$.file conf$$ 2>/dev/null; then
24729 as_ln_s='ln -s'
24730 # ... but there are two gotchas:
24731 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24732 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24733 # In both cases, we have to default to `cp -p'.
24734 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24735 as_ln_s='cp -p'
24736 elif ln conf$$.file conf$$ 2>/dev/null; then
24737 as_ln_s=ln
24738 else
24739 as_ln_s='cp -p'
24741 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24742 rmdir conf$$.dir 2>/dev/null
24744 if mkdir -p . 2>/dev/null; then
24745 as_mkdir_p=:
24746 else
24747 test -d ./-p && rmdir ./-p
24748 as_mkdir_p=false
24751 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24752 # systems may use methods other than mode bits to determine executability.
24753 cat >conf$$.file <<_ASEOF
24754 #! /bin/sh
24755 exit 0
24756 _ASEOF
24757 chmod +x conf$$.file
24758 if test -x conf$$.file >/dev/null 2>&1; then
24759 as_executable_p="test -x"
24760 else
24761 as_executable_p=:
24763 rm -f conf$$.file
24765 # Sed expression to map a string onto a valid CPP name.
24766 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24768 # Sed expression to map a string onto a valid variable name.
24769 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24772 exec 6>&1
24774 # Save the log message, to keep $[0] and so on meaningful, and to
24775 # report actual input values of CONFIG_FILES etc. instead of their
24776 # values after options handling.
24777 ac_log="
24778 This file was extended by Wine $as_me 0.9.19, which was
24779 generated by GNU Autoconf 2.60a. Invocation command line was
24781 CONFIG_FILES = $CONFIG_FILES
24782 CONFIG_HEADERS = $CONFIG_HEADERS
24783 CONFIG_LINKS = $CONFIG_LINKS
24784 CONFIG_COMMANDS = $CONFIG_COMMANDS
24785 $ $0 $@
24787 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24790 _ACEOF
24792 cat >>$CONFIG_STATUS <<_ACEOF
24793 # Files that config.status was made for.
24794 config_files="$ac_config_files"
24795 config_headers="$ac_config_headers"
24796 config_commands="$ac_config_commands"
24798 _ACEOF
24800 cat >>$CONFIG_STATUS <<\_ACEOF
24801 ac_cs_usage="\
24802 \`$as_me' instantiates files from templates according to the
24803 current configuration.
24805 Usage: $0 [OPTIONS] [FILE]...
24807 -h, --help print this help, then exit
24808 -V, --version print version number and configuration settings, then exit
24809 -q, --quiet do not print progress messages
24810 -d, --debug don't remove temporary files
24811 --recheck update $as_me by reconfiguring in the same conditions
24812 --file=FILE[:TEMPLATE]
24813 instantiate the configuration file FILE
24814 --header=FILE[:TEMPLATE]
24815 instantiate the configuration header FILE
24817 Configuration files:
24818 $config_files
24820 Configuration headers:
24821 $config_headers
24823 Configuration commands:
24824 $config_commands
24826 Report bugs to <bug-autoconf@gnu.org>."
24828 _ACEOF
24829 cat >>$CONFIG_STATUS <<_ACEOF
24830 ac_cs_version="\\
24831 Wine config.status 0.9.19
24832 configured by $0, generated by GNU Autoconf 2.60a,
24833 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24835 Copyright (C) 2006 Free Software Foundation, Inc.
24836 This config.status script is free software; the Free Software Foundation
24837 gives unlimited permission to copy, distribute and modify it."
24839 ac_pwd='$ac_pwd'
24840 srcdir='$srcdir'
24841 INSTALL='$INSTALL'
24842 _ACEOF
24844 cat >>$CONFIG_STATUS <<\_ACEOF
24845 # If no file are specified by the user, then we need to provide default
24846 # value. By we need to know if files were specified by the user.
24847 ac_need_defaults=:
24848 while test $# != 0
24850 case $1 in
24851 --*=*)
24852 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24853 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24854 ac_shift=:
24857 ac_option=$1
24858 ac_optarg=$2
24859 ac_shift=shift
24861 esac
24863 case $ac_option in
24864 # Handling of the options.
24865 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24866 ac_cs_recheck=: ;;
24867 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24868 echo "$ac_cs_version"; exit ;;
24869 --debug | --debu | --deb | --de | --d | -d )
24870 debug=: ;;
24871 --file | --fil | --fi | --f )
24872 $ac_shift
24873 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24874 ac_need_defaults=false;;
24875 --header | --heade | --head | --hea )
24876 $ac_shift
24877 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24878 ac_need_defaults=false;;
24879 --he | --h)
24880 # Conflict between --help and --header
24881 { echo "$as_me: error: ambiguous option: $1
24882 Try \`$0 --help' for more information." >&2
24883 { (exit 1); exit 1; }; };;
24884 --help | --hel | -h )
24885 echo "$ac_cs_usage"; exit ;;
24886 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24887 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24888 ac_cs_silent=: ;;
24890 # This is an error.
24891 -*) { echo "$as_me: error: unrecognized option: $1
24892 Try \`$0 --help' for more information." >&2
24893 { (exit 1); exit 1; }; } ;;
24895 *) ac_config_targets="$ac_config_targets $1"
24896 ac_need_defaults=false ;;
24898 esac
24899 shift
24900 done
24902 ac_configure_extra_args=
24904 if $ac_cs_silent; then
24905 exec 6>/dev/null
24906 ac_configure_extra_args="$ac_configure_extra_args --silent"
24909 _ACEOF
24910 cat >>$CONFIG_STATUS <<_ACEOF
24911 if \$ac_cs_recheck; then
24912 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24913 CONFIG_SHELL=$SHELL
24914 export CONFIG_SHELL
24915 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24918 _ACEOF
24919 cat >>$CONFIG_STATUS <<\_ACEOF
24920 exec 5>>config.log
24922 echo
24923 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24924 ## Running $as_me. ##
24925 _ASBOX
24926 echo "$ac_log"
24927 } >&5
24929 _ACEOF
24930 cat >>$CONFIG_STATUS <<_ACEOF
24931 _ACEOF
24933 cat >>$CONFIG_STATUS <<\_ACEOF
24935 # Handling of arguments.
24936 for ac_config_target in $ac_config_targets
24938 case $ac_config_target in
24939 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24940 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24941 "dlls/gdi/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24942 "dlls/kernel/messages") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24943 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24944 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24945 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24946 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24947 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24948 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24949 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24950 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24951 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24952 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24953 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24954 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24955 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24956 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24957 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24958 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24959 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24960 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24961 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24962 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24963 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24964 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24965 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24966 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24967 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24968 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24969 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24970 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24971 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24972 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24973 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24974 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24975 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24976 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24977 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24978 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24979 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24980 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24981 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24982 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24983 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24984 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24985 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24986 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24987 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24988 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24989 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24990 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24991 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24992 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24993 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24994 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24995 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24996 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24997 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24998 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24999 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
25000 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
25001 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
25002 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
25003 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
25004 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
25005 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
25006 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
25007 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
25008 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
25009 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
25010 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
25011 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
25012 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
25013 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
25014 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
25015 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
25016 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
25017 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
25018 "dlls/gdi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
25019 "dlls/gdi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
25020 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
25021 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
25022 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
25023 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
25024 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
25025 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
25026 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
25027 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
25028 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
25029 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
25030 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
25031 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
25032 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
25033 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
25034 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
25035 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
25036 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
25037 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
25038 "dlls/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
25039 "dlls/kernel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
25040 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
25041 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
25042 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
25043 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
25044 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
25045 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
25046 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
25047 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
25048 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
25049 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
25050 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
25051 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
25052 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
25053 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
25054 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
25055 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
25056 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
25057 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
25058 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
25059 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
25060 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
25061 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
25062 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
25063 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
25064 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
25065 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
25066 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
25067 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
25068 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
25069 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
25070 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
25071 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
25072 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
25073 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
25074 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
25075 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
25076 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
25077 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
25078 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
25079 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
25080 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
25081 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
25082 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
25083 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
25084 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
25085 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
25086 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
25087 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
25088 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
25089 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
25090 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
25091 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
25092 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
25093 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
25094 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
25095 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
25096 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
25097 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
25098 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
25099 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
25100 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
25101 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
25102 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
25103 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
25104 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
25105 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
25106 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
25107 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
25108 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
25109 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
25110 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
25111 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
25112 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
25113 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
25114 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
25115 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
25116 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
25117 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
25118 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
25119 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
25120 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
25121 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
25122 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
25123 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
25124 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
25125 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
25126 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
25127 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
25128 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
25129 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
25130 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
25131 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
25132 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
25133 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
25134 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
25135 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
25136 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
25137 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
25138 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
25139 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
25140 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
25141 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
25142 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
25143 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
25144 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
25145 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
25146 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
25147 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
25148 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
25149 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
25150 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
25151 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
25152 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
25153 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
25154 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
25155 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
25156 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
25157 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
25158 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
25159 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
25160 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
25161 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
25162 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
25163 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
25164 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
25165 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
25166 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
25167 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
25168 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
25169 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
25170 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
25171 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
25172 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
25173 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
25174 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
25175 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
25176 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
25177 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
25178 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
25179 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
25180 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
25181 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
25182 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
25183 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
25184 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
25185 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
25186 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
25187 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
25188 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
25189 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
25190 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
25191 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
25192 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
25193 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
25194 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
25195 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
25196 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
25197 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
25198 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
25199 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
25200 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
25201 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
25202 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
25203 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
25204 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
25205 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
25206 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
25207 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
25208 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
25209 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
25210 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
25211 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
25212 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
25213 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
25214 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
25215 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
25216 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
25217 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
25218 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
25219 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
25220 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
25221 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
25222 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
25223 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
25224 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
25225 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
25226 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
25227 "programs/wcmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
25228 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
25229 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
25230 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
25231 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
25232 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
25233 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
25234 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
25235 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
25236 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
25237 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
25238 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
25239 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
25240 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
25241 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
25242 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
25243 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
25244 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
25245 "tools/winapi/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
25246 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
25247 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
25248 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
25249 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
25250 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
25252 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25253 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25254 { (exit 1); exit 1; }; };;
25255 esac
25256 done
25259 # If the user did not use the arguments to specify the items to instantiate,
25260 # then the envvar interface is used. Set only those that are not.
25261 # We use the long form for the default assignment because of an extremely
25262 # bizarre bug on SunOS 4.1.3.
25263 if $ac_need_defaults; then
25264 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25265 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25266 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25269 # Have a temporary directory for convenience. Make it in the build tree
25270 # simply because there is no reason against having it here, and in addition,
25271 # creating and moving files from /tmp can sometimes cause problems.
25272 # Hook for its removal unless debugging.
25273 # Note that there is a small window in which the directory will not be cleaned:
25274 # after its creation but before its name has been assigned to `$tmp'.
25275 $debug ||
25277 tmp=
25278 trap 'exit_status=$?
25279 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25281 trap '{ (exit 1); exit 1; }' 1 2 13 15
25283 # Create a (secure) tmp directory for tmp files.
25286 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25287 test -n "$tmp" && test -d "$tmp"
25288 } ||
25290 tmp=./conf$$-$RANDOM
25291 (umask 077 && mkdir "$tmp")
25292 } ||
25294 echo "$me: cannot create a temporary directory in ." >&2
25295 { (exit 1); exit 1; }
25299 # Set up the sed scripts for CONFIG_FILES section.
25302 # No need to generate the scripts if there are no CONFIG_FILES.
25303 # This happens for instance when ./config.status config.h
25304 if test -n "$CONFIG_FILES"; then
25306 _ACEOF
25308 # Create sed commands to just substitute file output variables.
25310 # Remaining file output variables are in a fragment that also has non-file
25311 # output varibles.
25315 ac_delim='%!_!# '
25316 for ac_last_try in false false false false false :; do
25317 cat >conf$$subs.sed <<_ACEOF
25318 SHELL!$SHELL$ac_delim
25319 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25320 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25321 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25322 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25323 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25324 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25325 exec_prefix!$exec_prefix$ac_delim
25326 prefix!$prefix$ac_delim
25327 program_transform_name!$program_transform_name$ac_delim
25328 bindir!$bindir$ac_delim
25329 sbindir!$sbindir$ac_delim
25330 libexecdir!$libexecdir$ac_delim
25331 datarootdir!$datarootdir$ac_delim
25332 datadir!$datadir$ac_delim
25333 sysconfdir!$sysconfdir$ac_delim
25334 sharedstatedir!$sharedstatedir$ac_delim
25335 localstatedir!$localstatedir$ac_delim
25336 includedir!$includedir$ac_delim
25337 oldincludedir!$oldincludedir$ac_delim
25338 docdir!$docdir$ac_delim
25339 infodir!$infodir$ac_delim
25340 htmldir!$htmldir$ac_delim
25341 dvidir!$dvidir$ac_delim
25342 pdfdir!$pdfdir$ac_delim
25343 psdir!$psdir$ac_delim
25344 libdir!$libdir$ac_delim
25345 localedir!$localedir$ac_delim
25346 mandir!$mandir$ac_delim
25347 DEFS!$DEFS$ac_delim
25348 ECHO_C!$ECHO_C$ac_delim
25349 ECHO_N!$ECHO_N$ac_delim
25350 ECHO_T!$ECHO_T$ac_delim
25351 LIBS!$LIBS$ac_delim
25352 build_alias!$build_alias$ac_delim
25353 host_alias!$host_alias$ac_delim
25354 target_alias!$target_alias$ac_delim
25355 build!$build$ac_delim
25356 build_cpu!$build_cpu$ac_delim
25357 build_vendor!$build_vendor$ac_delim
25358 build_os!$build_os$ac_delim
25359 host!$host$ac_delim
25360 host_cpu!$host_cpu$ac_delim
25361 host_vendor!$host_vendor$ac_delim
25362 host_os!$host_os$ac_delim
25363 WIN16_FILES!$WIN16_FILES$ac_delim
25364 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
25365 SET_MAKE!$SET_MAKE$ac_delim
25366 CC!$CC$ac_delim
25367 CFLAGS!$CFLAGS$ac_delim
25368 LDFLAGS!$LDFLAGS$ac_delim
25369 CPPFLAGS!$CPPFLAGS$ac_delim
25370 ac_ct_CC!$ac_ct_CC$ac_delim
25371 EXEEXT!$EXEEXT$ac_delim
25372 OBJEXT!$OBJEXT$ac_delim
25373 CXX!$CXX$ac_delim
25374 CXXFLAGS!$CXXFLAGS$ac_delim
25375 ac_ct_CXX!$ac_ct_CXX$ac_delim
25376 CPPBIN!$CPPBIN$ac_delim
25377 TOOLSDIR!$TOOLSDIR$ac_delim
25378 XMKMF!$XMKMF$ac_delim
25379 CPP!$CPP$ac_delim
25380 X_CFLAGS!$X_CFLAGS$ac_delim
25381 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
25382 X_LIBS!$X_LIBS$ac_delim
25383 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
25384 LEX!$LEX$ac_delim
25385 LEXLIB!$LEXLIB$ac_delim
25386 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
25387 XLEX!$XLEX$ac_delim
25388 BISON!$BISON$ac_delim
25389 AS!$AS$ac_delim
25390 ac_ct_AS!$ac_ct_AS$ac_delim
25391 LD!$LD$ac_delim
25392 AR!$AR$ac_delim
25393 RANLIB!$RANLIB$ac_delim
25394 STRIP!$STRIP$ac_delim
25395 WINDRES!$WINDRES$ac_delim
25396 LN_S!$LN_S$ac_delim
25397 LN!$LN$ac_delim
25398 GREP!$GREP$ac_delim
25399 EGREP!$EGREP$ac_delim
25400 _ACEOF
25402 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
25403 break
25404 elif $ac_last_try; then
25405 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25406 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25407 { (exit 1); exit 1; }; }
25408 else
25409 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25411 done
25413 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25414 if test -n "$ac_eof"; then
25415 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25416 ac_eof=`expr $ac_eof + 1`
25419 cat >>$CONFIG_STATUS <<_ACEOF
25420 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25422 /^[ ]*@MAKE_RULES@[ ]*$/{
25423 r $MAKE_RULES
25426 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
25427 r $MAKE_DLL_RULES
25430 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
25431 r $MAKE_IMPLIB_RULES
25434 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
25435 r $MAKE_TEST_RULES
25438 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
25439 r $MAKE_PROG_RULES
25442 _ACEOF
25443 sed '
25444 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25445 s/^/s,@/; s/!/@,|#_!!_#|/
25448 s/'"$ac_delim"'$/,g/; t
25449 s/$/\\/; p
25450 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25451 ' >>$CONFIG_STATUS <conf$$subs.sed
25452 rm -f conf$$subs.sed
25453 cat >>$CONFIG_STATUS <<_ACEOF
25454 CEOF$ac_eof
25455 _ACEOF
25458 ac_delim='%!_!# '
25459 for ac_last_try in false false false false false :; do
25460 cat >conf$$subs.sed <<_ACEOF
25461 LDCONFIG!$LDCONFIG$ac_delim
25462 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25463 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25464 INSTALL_DATA!$INSTALL_DATA$ac_delim
25465 LINT!$LINT$ac_delim
25466 LINTFLAGS!$LINTFLAGS$ac_delim
25467 FONTFORGE!$FONTFORGE$ac_delim
25468 PKG_CONFIG!$PKG_CONFIG$ac_delim
25469 PRELINK!$PRELINK$ac_delim
25470 LIBPTHREAD!$LIBPTHREAD$ac_delim
25471 XLIB!$XLIB$ac_delim
25472 XFILES!$XFILES$ac_delim
25473 OPENGLFILES!$OPENGLFILES$ac_delim
25474 GLU32FILES!$GLU32FILES$ac_delim
25475 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
25476 GLUT_LIBS!$GLUT_LIBS$ac_delim
25477 GLUT32FILES!$GLUT32FILES$ac_delim
25478 NASLIBS!$NASLIBS$ac_delim
25479 XML2LIBS!$XML2LIBS$ac_delim
25480 XML2INCL!$XML2INCL$ac_delim
25481 XSLTLIBS!$XSLTLIBS$ac_delim
25482 XSLTINCL!$XSLTINCL$ac_delim
25483 HALINCL!$HALINCL$ac_delim
25484 CURSESLIBS!$CURSESLIBS$ac_delim
25485 sane_devel!$sane_devel$ac_delim
25486 SANELIBS!$SANELIBS$ac_delim
25487 SANEINCL!$SANEINCL$ac_delim
25488 gphoto2_devel!$gphoto2_devel$ac_delim
25489 gphoto2port_devel!$gphoto2port_devel$ac_delim
25490 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
25491 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
25492 ICULIBS!$ICULIBS$ac_delim
25493 RESOLVLIBS!$RESOLVLIBS$ac_delim
25494 LCMSLIBS!$LCMSLIBS$ac_delim
25495 LDAPLIBS!$LDAPLIBS$ac_delim
25496 FREETYPELIBS!$FREETYPELIBS$ac_delim
25497 FREETYPEINCL!$FREETYPEINCL$ac_delim
25498 ft_devel!$ft_devel$ac_delim
25499 ft_devel2!$ft_devel2$ac_delim
25500 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25501 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25502 ARTSLIBS!$ARTSLIBS$ac_delim
25503 ARTSINCL!$ARTSINCL$ac_delim
25504 ESDCONFIG!$ESDCONFIG$ac_delim
25505 ESDLIBS!$ESDLIBS$ac_delim
25506 ESDINCL!$ESDINCL$ac_delim
25507 ALSALIBS!$ALSALIBS$ac_delim
25508 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25509 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25510 BUILTINFLAG!$BUILTINFLAG$ac_delim
25511 DLLEXT!$DLLEXT$ac_delim
25512 DLLFLAGS!$DLLFLAGS$ac_delim
25513 DLLIBS!$DLLIBS$ac_delim
25514 LDSHARED!$LDSHARED$ac_delim
25515 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25516 LIBEXT!$LIBEXT$ac_delim
25517 IMPLIBEXT!$IMPLIBEXT$ac_delim
25518 DLLTOOL!$DLLTOOL$ac_delim
25519 DLLWRAP!$DLLWRAP$ac_delim
25520 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25521 LDEXERPATH!$LDEXERPATH$ac_delim
25522 LDDLLRPATH!$LDDLLRPATH$ac_delim
25523 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25524 IOKITLIB!$IOKITLIB$ac_delim
25525 COREAUDIO!$COREAUDIO$ac_delim
25526 CROSSTEST!$CROSSTEST$ac_delim
25527 CROSSCC!$CROSSCC$ac_delim
25528 CROSSWINDRES!$CROSSWINDRES$ac_delim
25529 LDPATH!$LDPATH$ac_delim
25530 CRTLIBS!$CRTLIBS$ac_delim
25531 SOCKETLIBS!$SOCKETLIBS$ac_delim
25532 MAIN_BINARY!$MAIN_BINARY$ac_delim
25533 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25534 LDD!$LDD$ac_delim
25535 LIBOBJS!$LIBOBJS$ac_delim
25536 LTLIBOBJS!$LTLIBOBJS$ac_delim
25537 _ACEOF
25539 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
25540 break
25541 elif $ac_last_try; then
25542 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25543 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25544 { (exit 1); exit 1; }; }
25545 else
25546 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25548 done
25550 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25551 if test -n "$ac_eof"; then
25552 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25553 ac_eof=`expr $ac_eof + 1`
25556 cat >>$CONFIG_STATUS <<_ACEOF
25557 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25558 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25559 _ACEOF
25560 sed '
25561 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25562 s/^/s,@/; s/!/@,|#_!!_#|/
25565 s/'"$ac_delim"'$/,g/; t
25566 s/$/\\/; p
25567 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25568 ' >>$CONFIG_STATUS <conf$$subs.sed
25569 rm -f conf$$subs.sed
25570 cat >>$CONFIG_STATUS <<_ACEOF
25571 :end
25572 s/|#_!!_#|//g
25573 CEOF$ac_eof
25574 _ACEOF
25577 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25578 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25579 # trailing colons and then remove the whole line if VPATH becomes empty
25580 # (actually we leave an empty line to preserve line numbers).
25581 if test "x$srcdir" = x.; then
25582 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25583 s/:*\$(srcdir):*/:/
25584 s/:*\${srcdir}:*/:/
25585 s/:*@srcdir@:*/:/
25586 s/^\([^=]*=[ ]*\):*/\1/
25587 s/:*$//
25588 s/^[^=]*=[ ]*$//
25592 cat >>$CONFIG_STATUS <<\_ACEOF
25593 fi # test -n "$CONFIG_FILES"
25596 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
25598 case $ac_tag in
25599 :[FHLC]) ac_mode=$ac_tag; continue;;
25600 esac
25601 case $ac_mode$ac_tag in
25602 :[FHL]*:*);;
25603 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25604 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25605 { (exit 1); exit 1; }; };;
25606 :[FH]-) ac_tag=-:-;;
25607 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25608 esac
25609 ac_save_IFS=$IFS
25610 IFS=:
25611 set x $ac_tag
25612 IFS=$ac_save_IFS
25613 shift
25614 ac_file=$1
25615 shift
25617 case $ac_mode in
25618 :L) ac_source=$1;;
25619 :[FH])
25620 ac_file_inputs=
25621 for ac_f
25623 case $ac_f in
25624 -) ac_f="$tmp/stdin";;
25625 *) # Look for the file first in the build tree, then in the source tree
25626 # (if the path is not absolute). The absolute path cannot be DOS-style,
25627 # because $ac_f cannot contain `:'.
25628 test -f "$ac_f" ||
25629 case $ac_f in
25630 [\\/$]*) false;;
25631 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25632 esac ||
25633 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25634 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25635 { (exit 1); exit 1; }; };;
25636 esac
25637 ac_file_inputs="$ac_file_inputs $ac_f"
25638 done
25640 # Let's still pretend it is `configure' which instantiates (i.e., don't
25641 # use $as_me), people would be surprised to read:
25642 # /* config.h. Generated by config.status. */
25643 configure_input="Generated from "`IFS=:
25644 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25645 if test x"$ac_file" != x-; then
25646 configure_input="$ac_file. $configure_input"
25647 { echo "$as_me:$LINENO: creating $ac_file" >&5
25648 echo "$as_me: creating $ac_file" >&6;}
25651 case $ac_tag in
25652 *:-:* | *:-) cat >"$tmp/stdin";;
25653 esac
25655 esac
25657 ac_dir=`$as_dirname -- "$ac_file" ||
25658 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25659 X"$ac_file" : 'X\(//\)[^/]' \| \
25660 X"$ac_file" : 'X\(//\)$' \| \
25661 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25662 echo X"$ac_file" |
25663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25664 s//\1/
25667 /^X\(\/\/\)[^/].*/{
25668 s//\1/
25671 /^X\(\/\/\)$/{
25672 s//\1/
25675 /^X\(\/\).*/{
25676 s//\1/
25679 s/.*/./; q'`
25680 { as_dir="$ac_dir"
25681 case $as_dir in #(
25682 -*) as_dir=./$as_dir;;
25683 esac
25684 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25685 as_dirs=
25686 while :; do
25687 case $as_dir in #(
25688 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25689 *) as_qdir=$as_dir;;
25690 esac
25691 as_dirs="'$as_qdir' $as_dirs"
25692 as_dir=`$as_dirname -- "$as_dir" ||
25693 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25694 X"$as_dir" : 'X\(//\)[^/]' \| \
25695 X"$as_dir" : 'X\(//\)$' \| \
25696 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25697 echo X"$as_dir" |
25698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25699 s//\1/
25702 /^X\(\/\/\)[^/].*/{
25703 s//\1/
25706 /^X\(\/\/\)$/{
25707 s//\1/
25710 /^X\(\/\).*/{
25711 s//\1/
25714 s/.*/./; q'`
25715 test -d "$as_dir" && break
25716 done
25717 test -z "$as_dirs" || eval "mkdir $as_dirs"
25718 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25719 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25720 { (exit 1); exit 1; }; }; }
25721 ac_builddir=.
25723 case "$ac_dir" in
25724 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25726 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25727 # A ".." for each directory in $ac_dir_suffix.
25728 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25729 case $ac_top_builddir_sub in
25730 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25731 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25732 esac ;;
25733 esac
25734 ac_abs_top_builddir=$ac_pwd
25735 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25736 # for backward compatibility:
25737 ac_top_builddir=$ac_top_build_prefix
25739 case $srcdir in
25740 .) # We are building in place.
25741 ac_srcdir=.
25742 ac_top_srcdir=$ac_top_builddir_sub
25743 ac_abs_top_srcdir=$ac_pwd ;;
25744 [\\/]* | ?:[\\/]* ) # Absolute name.
25745 ac_srcdir=$srcdir$ac_dir_suffix;
25746 ac_top_srcdir=$srcdir
25747 ac_abs_top_srcdir=$srcdir ;;
25748 *) # Relative name.
25749 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25750 ac_top_srcdir=$ac_top_build_prefix$srcdir
25751 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25752 esac
25753 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25756 case $ac_mode in
25759 # CONFIG_FILE
25762 case $INSTALL in
25763 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25764 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25765 esac
25766 _ACEOF
25768 cat >>$CONFIG_STATUS <<\_ACEOF
25769 # If the template does not know about datarootdir, expand it.
25770 # FIXME: This hack should be removed a few years after 2.60.
25771 ac_datarootdir_hack=; ac_datarootdir_seen=
25773 case `sed -n '/datarootdir/ {
25777 /@datadir@/p
25778 /@docdir@/p
25779 /@infodir@/p
25780 /@localedir@/p
25781 /@mandir@/p
25782 ' $ac_file_inputs` in
25783 *datarootdir*) ac_datarootdir_seen=yes;;
25784 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25785 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25786 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25787 _ACEOF
25788 cat >>$CONFIG_STATUS <<_ACEOF
25789 ac_datarootdir_hack='
25790 s&@datadir@&$datadir&g
25791 s&@docdir@&$docdir&g
25792 s&@infodir@&$infodir&g
25793 s&@localedir@&$localedir&g
25794 s&@mandir@&$mandir&g
25795 s&\\\${datarootdir}&$datarootdir&g' ;;
25796 esac
25797 _ACEOF
25799 # Neutralize VPATH when `$srcdir' = `.'.
25800 # Shell code in configure.ac might set extrasub.
25801 # FIXME: do we really want to maintain this feature?
25802 cat >>$CONFIG_STATUS <<_ACEOF
25803 sed "$ac_vpsub
25804 $extrasub
25805 _ACEOF
25806 cat >>$CONFIG_STATUS <<\_ACEOF
25808 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25809 s&@configure_input@&$configure_input&;t t
25810 s&@top_builddir@&$ac_top_builddir_sub&;t t
25811 s&@srcdir@&$ac_srcdir&;t t
25812 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25813 s&@top_srcdir@&$ac_top_srcdir&;t t
25814 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25815 s&@builddir@&$ac_builddir&;t t
25816 s&@abs_builddir@&$ac_abs_builddir&;t t
25817 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25818 s&@INSTALL@&$ac_INSTALL&;t t
25819 $ac_datarootdir_hack
25820 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25822 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25823 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25824 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25825 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25826 which seems to be undefined. Please make sure it is defined." >&5
25827 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25828 which seems to be undefined. Please make sure it is defined." >&2;}
25830 rm -f "$tmp/stdin"
25831 case $ac_file in
25832 -) cat "$tmp/out"; rm -f "$tmp/out";;
25833 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25834 esac
25838 # CONFIG_HEADER
25840 _ACEOF
25842 # Transform confdefs.h into a sed script `conftest.defines', that
25843 # substitutes the proper values into config.h.in to produce config.h.
25844 rm -f conftest.defines conftest.tail
25845 # First, append a space to every undef/define line, to ease matching.
25846 echo 's/$/ /' >conftest.defines
25847 # Then, protect against being on the right side of a sed subst, or in
25848 # an unquoted here document, in config.status. If some macros were
25849 # called several times there might be several #defines for the same
25850 # symbol, which is useless. But do not sort them, since the last
25851 # AC_DEFINE must be honored.
25852 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25853 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25854 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25855 # PARAMS is the parameter list in the macro definition--in most cases, it's
25856 # just an empty string.
25857 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25858 ac_dB='\\)[ (].*,\\1define\\2'
25859 ac_dC=' '
25860 ac_dD=' ,'
25862 uniq confdefs.h |
25863 sed -n '
25864 t rset
25865 :rset
25866 s/^[ ]*#[ ]*define[ ][ ]*//
25867 t ok
25870 s/[\\&,]/\\&/g
25871 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25872 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25873 ' >>conftest.defines
25875 # Remove the space that was appended to ease matching.
25876 # Then replace #undef with comments. This is necessary, for
25877 # example, in the case of _POSIX_SOURCE, which is predefined and required
25878 # on some systems where configure will not decide to define it.
25879 # (The regexp can be short, since the line contains either #define or #undef.)
25880 echo 's/ $//
25881 s,^[ #]*u.*,/* & */,' >>conftest.defines
25883 # Break up conftest.defines:
25884 ac_max_sed_lines=50
25886 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25887 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25888 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25889 # et cetera.
25890 ac_in='$ac_file_inputs'
25891 ac_out='"$tmp/out1"'
25892 ac_nxt='"$tmp/out2"'
25894 while :
25896 # Write a here document:
25897 cat >>$CONFIG_STATUS <<_ACEOF
25898 # First, check the format of the line:
25899 cat >"\$tmp/defines.sed" <<\\CEOF
25900 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25901 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25903 :def
25904 _ACEOF
25905 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25906 echo 'CEOF
25907 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25908 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25909 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25910 grep . conftest.tail >/dev/null || break
25911 rm -f conftest.defines
25912 mv conftest.tail conftest.defines
25913 done
25914 rm -f conftest.defines conftest.tail
25916 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25917 cat >>$CONFIG_STATUS <<\_ACEOF
25918 if test x"$ac_file" != x-; then
25919 echo "/* $configure_input */" >"$tmp/config.h"
25920 cat "$ac_result" >>"$tmp/config.h"
25921 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25922 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25923 echo "$as_me: $ac_file is unchanged" >&6;}
25924 else
25925 rm -f $ac_file
25926 mv "$tmp/config.h" $ac_file
25928 else
25929 echo "/* $configure_input */"
25930 cat "$ac_result"
25932 rm -f "$tmp/out12"
25935 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25936 echo "$as_me: executing $ac_file commands" >&6;}
25938 esac
25941 case $ac_file$ac_mode in
25942 "dlls/gdi/enhmfdrv":C) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25943 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
25944 "dlls/gdi/mfdrv":C) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25945 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
25946 "dlls/kernel/messages":C) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25947 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
25948 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25949 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25950 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25951 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25952 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25953 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25955 esac
25956 done # for ac_tag
25959 { (exit 0); exit 0; }
25960 _ACEOF
25961 chmod +x $CONFIG_STATUS
25962 ac_clean_files=$ac_clean_files_save
25965 # configure is writing to config.log, and then calls config.status.
25966 # config.status does its own redirection, appending to config.log.
25967 # Unfortunately, on DOS this fails, as config.log is still kept open
25968 # by configure, so config.status won't be able to write to it; its
25969 # output is simply discarded. So we exec the FD to /dev/null,
25970 # effectively closing config.log, so it can be properly (re)opened and
25971 # appended to by config.status. When coming back to configure, we
25972 # need to make the FD available again.
25973 if test "$no_create" != yes; then
25974 ac_cs_success=:
25975 ac_config_status_args=
25976 test "$silent" = yes &&
25977 ac_config_status_args="$ac_config_status_args --quiet"
25978 exec 5>/dev/null
25979 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25980 exec 5>>config.log
25981 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25982 # would make configure fail if this is the last instruction.
25983 $ac_cs_success || { (exit 1); exit 1; }
25987 if test "$have_x" = "no"
25988 then
25989 echo >&2
25990 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25991 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25992 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25993 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25994 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25995 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25996 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25997 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
26000 if test "$wine_cv_opengl_version_OK" = "no"
26001 then
26002 echo >&2
26003 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
26004 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
26005 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
26006 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
26009 if test "$wine_cv_msg_freetype" = "yes"
26010 then
26011 echo >&2
26012 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
26013 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
26014 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
26015 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
26016 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
26017 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
26018 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
26019 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
26022 if test -z "$FONTSSUBDIRS"
26023 then
26024 echo >&2
26025 if test "$FONTFORGE" = "false"
26026 then
26027 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
26028 echo "$as_me: WARNING: FontForge is missing." >&2;}
26029 else
26030 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
26031 echo "$as_me: WARNING: FreeType is missing." >&2;}
26033 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
26034 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
26037 if test -z "$ALSALIBS" -a \
26038 -z "$ARTSC_LIBS" -a \
26039 -z "$AUDIOIOLIBS" -a \
26040 -z "$NASLIBS" -a \
26041 -z "$ESD_LIBS" -a \
26042 -z "$ac_cv_lib_soname_jack" -a \
26043 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
26044 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
26045 "$ac_cv_header_soundcard_h" != "yes"
26046 then
26047 echo >&2
26048 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
26049 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
26050 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
26051 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
26052 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
26053 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
26056 echo
26057 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
26058 echo