rpcrt4: Rename protseq_ops to connection_ops to reflect the fact that
[wine/dcerpc.git] / configure
blob431e36b484be38805482494695b22f2e60109d20
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.23.
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.23'
563 PACKAGE_STRING='Wine 0.9.23'
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 LDSHARED
738 LDDLLFLAGS
739 LIBEXT
740 IMPLIBEXT
741 LIBWINE_LDFLAGS
742 DLLTOOL
743 DLLWRAP
744 COREFOUNDATIONLIB
745 IOKITLIB
746 DISKARBITRATIONLIB
747 LDEXECFLAGS
748 COREAUDIO
749 CROSSTEST
750 CROSSCC
751 CROSSWINDRES
752 LDPATH
753 CRTLIBS
754 SOCKETLIBS
755 MAIN_BINARY
756 EXTRA_BINARIES
758 LIBDL
759 LIBPOLL
760 DEPENDENCIES
761 LIBOBJS
762 LTLIBOBJS'
763 ac_subst_files='MAKE_RULES
764 MAKE_DLL_RULES
765 MAKE_IMPLIB_RULES
766 MAKE_TEST_RULES
767 MAKE_PROG_RULES'
768 ac_precious_vars='build_alias
769 host_alias
770 target_alias
772 CFLAGS
773 LDFLAGS
774 CPPFLAGS
776 CXXFLAGS
778 XMKMF
779 CPP'
782 # Initialize some variables set by options.
783 ac_init_help=
784 ac_init_version=false
785 # The variables have the same names as the options, with
786 # dashes changed to underlines.
787 cache_file=/dev/null
788 exec_prefix=NONE
789 no_create=
790 no_recursion=
791 prefix=NONE
792 program_prefix=NONE
793 program_suffix=NONE
794 program_transform_name=s,x,x,
795 silent=
796 site=
797 srcdir=
798 verbose=
799 x_includes=NONE
800 x_libraries=NONE
802 # Installation directory options.
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
804 # and all the variables that are supposed to be based on exec_prefix
805 # by default will actually change.
806 # Use braces instead of parens because sh, perl, etc. also accept them.
807 # (The list follows the same order as the GNU Coding Standards.)
808 bindir='${exec_prefix}/bin'
809 sbindir='${exec_prefix}/sbin'
810 libexecdir='${exec_prefix}/libexec'
811 datarootdir='${prefix}/share'
812 datadir='${datarootdir}'
813 sysconfdir='${prefix}/etc'
814 sharedstatedir='${prefix}/com'
815 localstatedir='${prefix}/var'
816 includedir='${prefix}/include'
817 oldincludedir='/usr/include'
818 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir='${datarootdir}/info'
820 htmldir='${docdir}'
821 dvidir='${docdir}'
822 pdfdir='${docdir}'
823 psdir='${docdir}'
824 libdir='${exec_prefix}/lib'
825 localedir='${datarootdir}/locale'
826 mandir='${datarootdir}/man'
828 ac_prev=
829 ac_dashdash=
830 for ac_option
832 # If the previous option needs an argument, assign it.
833 if test -n "$ac_prev"; then
834 eval $ac_prev=\$ac_option
835 ac_prev=
836 continue
839 case $ac_option in
840 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
841 *) ac_optarg=yes ;;
842 esac
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
848 ac_dashdash=yes ;;
850 -bindir | --bindir | --bindi | --bind | --bin | --bi)
851 ac_prev=bindir ;;
852 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
853 bindir=$ac_optarg ;;
855 -build | --build | --buil | --bui | --bu)
856 ac_prev=build_alias ;;
857 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
858 build_alias=$ac_optarg ;;
860 -cache-file | --cache-file | --cache-fil | --cache-fi \
861 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
862 ac_prev=cache_file ;;
863 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
864 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
865 cache_file=$ac_optarg ;;
867 --config-cache | -C)
868 cache_file=config.cache ;;
870 -datadir | --datadir | --datadi | --datad)
871 ac_prev=datadir ;;
872 -datadir=* | --datadir=* | --datadi=* | --datad=*)
873 datadir=$ac_optarg ;;
875 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
876 | --dataroo | --dataro | --datar)
877 ac_prev=datarootdir ;;
878 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
879 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
880 datarootdir=$ac_optarg ;;
882 -disable-* | --disable-*)
883 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
886 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
887 { (exit 1); exit 1; }; }
888 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
889 eval enable_$ac_feature=no ;;
891 -docdir | --docdir | --docdi | --doc | --do)
892 ac_prev=docdir ;;
893 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
894 docdir=$ac_optarg ;;
896 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
897 ac_prev=dvidir ;;
898 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
899 dvidir=$ac_optarg ;;
901 -enable-* | --enable-*)
902 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
905 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
906 { (exit 1); exit 1; }; }
907 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
908 eval enable_$ac_feature=\$ac_optarg ;;
910 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
911 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
912 | --exec | --exe | --ex)
913 ac_prev=exec_prefix ;;
914 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
915 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
916 | --exec=* | --exe=* | --ex=*)
917 exec_prefix=$ac_optarg ;;
919 -gas | --gas | --ga | --g)
920 # Obsolete; use --with-gas.
921 with_gas=yes ;;
923 -help | --help | --hel | --he | -h)
924 ac_init_help=long ;;
925 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
926 ac_init_help=recursive ;;
927 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
928 ac_init_help=short ;;
930 -host | --host | --hos | --ho)
931 ac_prev=host_alias ;;
932 -host=* | --host=* | --hos=* | --ho=*)
933 host_alias=$ac_optarg ;;
935 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
936 ac_prev=htmldir ;;
937 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
938 | --ht=*)
939 htmldir=$ac_optarg ;;
941 -includedir | --includedir | --includedi | --included | --include \
942 | --includ | --inclu | --incl | --inc)
943 ac_prev=includedir ;;
944 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
945 | --includ=* | --inclu=* | --incl=* | --inc=*)
946 includedir=$ac_optarg ;;
948 -infodir | --infodir | --infodi | --infod | --info | --inf)
949 ac_prev=infodir ;;
950 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
951 infodir=$ac_optarg ;;
953 -libdir | --libdir | --libdi | --libd)
954 ac_prev=libdir ;;
955 -libdir=* | --libdir=* | --libdi=* | --libd=*)
956 libdir=$ac_optarg ;;
958 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
959 | --libexe | --libex | --libe)
960 ac_prev=libexecdir ;;
961 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
962 | --libexe=* | --libex=* | --libe=*)
963 libexecdir=$ac_optarg ;;
965 -localedir | --localedir | --localedi | --localed | --locale)
966 ac_prev=localedir ;;
967 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
968 localedir=$ac_optarg ;;
970 -localstatedir | --localstatedir | --localstatedi | --localstated \
971 | --localstate | --localstat | --localsta | --localst | --locals)
972 ac_prev=localstatedir ;;
973 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
974 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
975 localstatedir=$ac_optarg ;;
977 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
978 ac_prev=mandir ;;
979 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
980 mandir=$ac_optarg ;;
982 -nfp | --nfp | --nf)
983 # Obsolete; use --without-fp.
984 with_fp=no ;;
986 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
987 | --no-cr | --no-c | -n)
988 no_create=yes ;;
990 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
991 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
992 no_recursion=yes ;;
994 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
995 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
996 | --oldin | --oldi | --old | --ol | --o)
997 ac_prev=oldincludedir ;;
998 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
999 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1000 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1001 oldincludedir=$ac_optarg ;;
1003 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1004 ac_prev=prefix ;;
1005 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1006 prefix=$ac_optarg ;;
1008 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1009 | --program-pre | --program-pr | --program-p)
1010 ac_prev=program_prefix ;;
1011 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1012 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1013 program_prefix=$ac_optarg ;;
1015 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1016 | --program-suf | --program-su | --program-s)
1017 ac_prev=program_suffix ;;
1018 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1019 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1020 program_suffix=$ac_optarg ;;
1022 -program-transform-name | --program-transform-name \
1023 | --program-transform-nam | --program-transform-na \
1024 | --program-transform-n | --program-transform- \
1025 | --program-transform | --program-transfor \
1026 | --program-transfo | --program-transf \
1027 | --program-trans | --program-tran \
1028 | --progr-tra | --program-tr | --program-t)
1029 ac_prev=program_transform_name ;;
1030 -program-transform-name=* | --program-transform-name=* \
1031 | --program-transform-nam=* | --program-transform-na=* \
1032 | --program-transform-n=* | --program-transform-=* \
1033 | --program-transform=* | --program-transfor=* \
1034 | --program-transfo=* | --program-transf=* \
1035 | --program-trans=* | --program-tran=* \
1036 | --progr-tra=* | --program-tr=* | --program-t=*)
1037 program_transform_name=$ac_optarg ;;
1039 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1040 ac_prev=pdfdir ;;
1041 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1042 pdfdir=$ac_optarg ;;
1044 -psdir | --psdir | --psdi | --psd | --ps)
1045 ac_prev=psdir ;;
1046 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1047 psdir=$ac_optarg ;;
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil)
1051 silent=yes ;;
1053 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1054 ac_prev=sbindir ;;
1055 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1056 | --sbi=* | --sb=*)
1057 sbindir=$ac_optarg ;;
1059 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1060 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1061 | --sharedst | --shareds | --shared | --share | --shar \
1062 | --sha | --sh)
1063 ac_prev=sharedstatedir ;;
1064 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1065 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1066 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1067 | --sha=* | --sh=*)
1068 sharedstatedir=$ac_optarg ;;
1070 -site | --site | --sit)
1071 ac_prev=site ;;
1072 -site=* | --site=* | --sit=*)
1073 site=$ac_optarg ;;
1075 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1076 ac_prev=srcdir ;;
1077 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1078 srcdir=$ac_optarg ;;
1080 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1081 | --syscon | --sysco | --sysc | --sys | --sy)
1082 ac_prev=sysconfdir ;;
1083 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1084 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1085 sysconfdir=$ac_optarg ;;
1087 -target | --target | --targe | --targ | --tar | --ta | --t)
1088 ac_prev=target_alias ;;
1089 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1090 target_alias=$ac_optarg ;;
1092 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1093 verbose=yes ;;
1095 -version | --version | --versio | --versi | --vers | -V)
1096 ac_init_version=: ;;
1098 -with-* | --with-*)
1099 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1102 { echo "$as_me: error: invalid package name: $ac_package" >&2
1103 { (exit 1); exit 1; }; }
1104 ac_package=`echo $ac_package| sed 's/-/_/g'`
1105 eval with_$ac_package=\$ac_optarg ;;
1107 -without-* | --without-*)
1108 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package=`echo $ac_package | sed 's/-/_/g'`
1114 eval with_$ac_package=no ;;
1116 --x)
1117 # Obsolete; use --with-x.
1118 with_x=yes ;;
1120 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1121 | --x-incl | --x-inc | --x-in | --x-i)
1122 ac_prev=x_includes ;;
1123 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1124 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1125 x_includes=$ac_optarg ;;
1127 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1128 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1129 ac_prev=x_libraries ;;
1130 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1131 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1132 x_libraries=$ac_optarg ;;
1134 -*) { echo "$as_me: error: unrecognized option: $ac_option
1135 Try \`$0 --help' for more information." >&2
1136 { (exit 1); exit 1; }; }
1139 *=*)
1140 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1143 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1144 { (exit 1); exit 1; }; }
1145 eval $ac_envvar=\$ac_optarg
1146 export $ac_envvar ;;
1149 # FIXME: should be removed in autoconf 3.0.
1150 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1152 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1153 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1156 esac
1157 done
1159 if test -n "$ac_prev"; then
1160 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1161 { echo "$as_me: error: missing argument to $ac_option" >&2
1162 { (exit 1); exit 1; }; }
1165 # Be sure to have absolute directory names.
1166 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1167 datadir sysconfdir sharedstatedir localstatedir includedir \
1168 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1169 libdir localedir mandir
1171 eval ac_val=\$$ac_var
1172 case $ac_val in
1173 [\\/$]* | ?:[\\/]* ) continue;;
1174 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1175 esac
1176 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1177 { (exit 1); exit 1; }; }
1178 done
1180 # There might be people who depend on the old broken behavior: `$host'
1181 # used to hold the argument of --host etc.
1182 # FIXME: To remove some day.
1183 build=$build_alias
1184 host=$host_alias
1185 target=$target_alias
1187 # FIXME: To remove some day.
1188 if test "x$host_alias" != x; then
1189 if test "x$build_alias" = x; then
1190 cross_compiling=maybe
1191 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1192 If a cross compiler is detected then cross compile mode will be used." >&2
1193 elif test "x$build_alias" != "x$host_alias"; then
1194 cross_compiling=yes
1198 ac_tool_prefix=
1199 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1201 test "$silent" = yes && exec 6>/dev/null
1204 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1205 ac_ls_di=`ls -di .` &&
1206 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1207 { echo "$as_me: error: Working directory cannot be determined" >&2
1208 { (exit 1); exit 1; }; }
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 { echo "$as_me: error: pwd does not report name of working directory" >&2
1211 { (exit 1); exit 1; }; }
1214 # Find the source files, if location was not specified.
1215 if test -z "$srcdir"; then
1216 ac_srcdir_defaulted=yes
1217 # Try the directory containing this script, then the parent directory.
1218 ac_confdir=`$as_dirname -- "$0" ||
1219 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1220 X"$0" : 'X\(//\)[^/]' \| \
1221 X"$0" : 'X\(//\)$' \| \
1222 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1223 echo X"$0" |
1224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1225 s//\1/
1228 /^X\(\/\/\)[^/].*/{
1229 s//\1/
1232 /^X\(\/\/\)$/{
1233 s//\1/
1236 /^X\(\/\).*/{
1237 s//\1/
1240 s/.*/./; q'`
1241 srcdir=$ac_confdir
1242 if test ! -r "$srcdir/$ac_unique_file"; then
1243 srcdir=..
1245 else
1246 ac_srcdir_defaulted=no
1248 if test ! -r "$srcdir/$ac_unique_file"; then
1249 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1250 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1251 { (exit 1); exit 1; }; }
1253 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1254 ac_abs_confdir=`(
1255 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1256 { (exit 1); exit 1; }; }
1257 pwd)`
1258 # When building in place, set srcdir=.
1259 if test "$ac_abs_confdir" = "$ac_pwd"; then
1260 srcdir=.
1262 # Remove unnecessary trailing slashes from srcdir.
1263 # Double slashes in file names in object file debugging info
1264 # mess up M-x gdb in Emacs.
1265 case $srcdir in
1266 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1267 esac
1268 for ac_var in $ac_precious_vars; do
1269 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1270 eval ac_env_${ac_var}_value=\$${ac_var}
1271 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1272 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1273 done
1276 # Report the --help message.
1278 if test "$ac_init_help" = "long"; then
1279 # Omit some internal or obsolete options to make the list less imposing.
1280 # This message is too long to be a string in the A/UX 3.1 sh.
1281 cat <<_ACEOF
1282 \`configure' configures Wine 0.9.23 to adapt to many kinds of systems.
1284 Usage: $0 [OPTION]... [VAR=VALUE]...
1286 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1287 VAR=VALUE. See below for descriptions of some of the useful variables.
1289 Defaults for the options are specified in brackets.
1291 Configuration:
1292 -h, --help display this help and exit
1293 --help=short display options specific to this package
1294 --help=recursive display the short help of all the included packages
1295 -V, --version display version information and exit
1296 -q, --quiet, --silent do not print \`checking...' messages
1297 --cache-file=FILE cache test results in FILE [disabled]
1298 -C, --config-cache alias for \`--cache-file=config.cache'
1299 -n, --no-create do not create output files
1300 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1302 Installation directories:
1303 --prefix=PREFIX install architecture-independent files in PREFIX
1304 [$ac_default_prefix]
1305 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1306 [PREFIX]
1308 By default, \`make install' will install all the files in
1309 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1310 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1311 for instance \`--prefix=\$HOME'.
1313 For better control, use the options below.
1315 Fine tuning of the installation directories:
1316 --bindir=DIR user executables [EPREFIX/bin]
1317 --sbindir=DIR system admin executables [EPREFIX/sbin]
1318 --libexecdir=DIR program executables [EPREFIX/libexec]
1319 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1320 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1321 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1322 --libdir=DIR object code libraries [EPREFIX/lib]
1323 --includedir=DIR C header files [PREFIX/include]
1324 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1325 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1326 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1327 --infodir=DIR info documentation [DATAROOTDIR/info]
1328 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1329 --mandir=DIR man documentation [DATAROOTDIR/man]
1330 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1331 --htmldir=DIR html documentation [DOCDIR]
1332 --dvidir=DIR dvi documentation [DOCDIR]
1333 --pdfdir=DIR pdf documentation [DOCDIR]
1334 --psdir=DIR ps documentation [DOCDIR]
1335 _ACEOF
1337 cat <<\_ACEOF
1339 X features:
1340 --x-includes=DIR X include files are in DIR
1341 --x-libraries=DIR X library files are in DIR
1343 System types:
1344 --build=BUILD configure for building on BUILD [guessed]
1345 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1346 _ACEOF
1349 if test -n "$ac_init_help"; then
1350 case $ac_init_help in
1351 short | recursive ) echo "Configuration of Wine 0.9.23:";;
1352 esac
1353 cat <<\_ACEOF
1355 Optional Features:
1356 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1357 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1358 --disable-win16 do not include Win16 support
1359 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1360 binaries)
1362 Optional Packages:
1363 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1364 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1365 --without-opengl do not use OpenGL
1366 --without-curses do not use curses
1367 --with-wine-tools=<dir> use Wine tools from directory <dir>
1368 --with-x use the X Window System
1370 Some influential environment variables:
1371 CC C compiler command
1372 CFLAGS C compiler flags
1373 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1374 nonstandard directory <lib dir>
1375 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1376 you have headers in a nonstandard directory <include dir>
1377 CXX C++ compiler command
1378 CXXFLAGS C++ compiler flags
1379 XMKMF Path to xmkmf, Makefile generator for X Window System
1380 CPP C preprocessor
1382 Use these variables to override the choices made by `configure' or to help
1383 it to find libraries and programs with nonstandard names/locations.
1385 Report bugs to <wine-devel@winehq.org>.
1386 _ACEOF
1387 ac_status=$?
1390 if test "$ac_init_help" = "recursive"; then
1391 # If there are subdirs, report their specific --help.
1392 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1393 test -d "$ac_dir" || continue
1394 ac_builddir=.
1396 case "$ac_dir" in
1397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1399 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1400 # A ".." for each directory in $ac_dir_suffix.
1401 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1402 case $ac_top_builddir_sub in
1403 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1405 esac ;;
1406 esac
1407 ac_abs_top_builddir=$ac_pwd
1408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1409 # for backward compatibility:
1410 ac_top_builddir=$ac_top_build_prefix
1412 case $srcdir in
1413 .) # We are building in place.
1414 ac_srcdir=.
1415 ac_top_srcdir=$ac_top_builddir_sub
1416 ac_abs_top_srcdir=$ac_pwd ;;
1417 [\\/]* | ?:[\\/]* ) # Absolute name.
1418 ac_srcdir=$srcdir$ac_dir_suffix;
1419 ac_top_srcdir=$srcdir
1420 ac_abs_top_srcdir=$srcdir ;;
1421 *) # Relative name.
1422 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1423 ac_top_srcdir=$ac_top_build_prefix$srcdir
1424 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1425 esac
1426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1428 cd "$ac_dir" || { ac_status=$?; continue; }
1429 # Check for guested configure.
1430 if test -f "$ac_srcdir/configure.gnu"; then
1431 echo &&
1432 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1433 elif test -f "$ac_srcdir/configure"; then
1434 echo &&
1435 $SHELL "$ac_srcdir/configure" --help=recursive
1436 else
1437 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1438 fi || ac_status=$?
1439 cd "$ac_pwd" || { ac_status=$?; break; }
1440 done
1443 test -n "$ac_init_help" && exit $ac_status
1444 if $ac_init_version; then
1445 cat <<\_ACEOF
1446 Wine configure 0.9.23
1447 generated by GNU Autoconf 2.60a
1449 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1450 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1451 This configure script is free software; the Free Software Foundation
1452 gives unlimited permission to copy, distribute and modify it.
1453 _ACEOF
1454 exit
1456 cat >config.log <<_ACEOF
1457 This file contains any messages produced by compilers while
1458 running configure, to aid debugging if configure makes a mistake.
1460 It was created by Wine $as_me 0.9.23, which was
1461 generated by GNU Autoconf 2.60a. Invocation command line was
1463 $ $0 $@
1465 _ACEOF
1466 exec 5>>config.log
1468 cat <<_ASUNAME
1469 ## --------- ##
1470 ## Platform. ##
1471 ## --------- ##
1473 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1474 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1475 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1476 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1477 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1479 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1480 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1482 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1483 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1484 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1485 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1486 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1487 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1488 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1490 _ASUNAME
1492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 for as_dir in $PATH
1495 IFS=$as_save_IFS
1496 test -z "$as_dir" && as_dir=.
1497 echo "PATH: $as_dir"
1498 done
1499 IFS=$as_save_IFS
1501 } >&5
1503 cat >&5 <<_ACEOF
1506 ## ----------- ##
1507 ## Core tests. ##
1508 ## ----------- ##
1510 _ACEOF
1513 # Keep a trace of the command line.
1514 # Strip out --no-create and --no-recursion so they do not pile up.
1515 # Strip out --silent because we don't want to record it for future runs.
1516 # Also quote any args containing shell meta-characters.
1517 # Make two passes to allow for proper duplicate-argument suppression.
1518 ac_configure_args=
1519 ac_configure_args0=
1520 ac_configure_args1=
1521 ac_must_keep_next=false
1522 for ac_pass in 1 2
1524 for ac_arg
1526 case $ac_arg in
1527 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1529 | -silent | --silent | --silen | --sile | --sil)
1530 continue ;;
1531 *\'*)
1532 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1533 esac
1534 case $ac_pass in
1535 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1537 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1538 if test $ac_must_keep_next = true; then
1539 ac_must_keep_next=false # Got value, back to normal.
1540 else
1541 case $ac_arg in
1542 *=* | --config-cache | -C | -disable-* | --disable-* \
1543 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1544 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1545 | -with-* | --with-* | -without-* | --without-* | --x)
1546 case "$ac_configure_args0 " in
1547 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1548 esac
1550 -* ) ac_must_keep_next=true ;;
1551 esac
1553 ac_configure_args="$ac_configure_args '$ac_arg'"
1555 esac
1556 done
1557 done
1558 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1559 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1561 # When interrupted or exit'd, cleanup temporary files, and complete
1562 # config.log. We remove comments because anyway the quotes in there
1563 # would cause problems or look ugly.
1564 # WARNING: Use '\'' to represent an apostrophe within the trap.
1565 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1566 trap 'exit_status=$?
1567 # Save into config.log some information that might help in debugging.
1569 echo
1571 cat <<\_ASBOX
1572 ## ---------------- ##
1573 ## Cache variables. ##
1574 ## ---------------- ##
1575 _ASBOX
1576 echo
1577 # The following way of writing the cache mishandles newlines in values,
1579 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1580 eval ac_val=\$$ac_var
1581 case $ac_val in #(
1582 *${as_nl}*)
1583 case $ac_var in #(
1584 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1585 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1586 esac
1587 case $ac_var in #(
1588 _ | IFS | as_nl) ;; #(
1589 *) $as_unset $ac_var ;;
1590 esac ;;
1591 esac
1592 done
1593 (set) 2>&1 |
1594 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1595 *${as_nl}ac_space=\ *)
1596 sed -n \
1597 "s/'\''/'\''\\\\'\'''\''/g;
1598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1599 ;; #(
1601 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1603 esac |
1604 sort
1606 echo
1608 cat <<\_ASBOX
1609 ## ----------------- ##
1610 ## Output variables. ##
1611 ## ----------------- ##
1612 _ASBOX
1613 echo
1614 for ac_var in $ac_subst_vars
1616 eval ac_val=\$$ac_var
1617 case $ac_val in
1618 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1619 esac
1620 echo "$ac_var='\''$ac_val'\''"
1621 done | sort
1622 echo
1624 if test -n "$ac_subst_files"; then
1625 cat <<\_ASBOX
1626 ## ------------------- ##
1627 ## File substitutions. ##
1628 ## ------------------- ##
1629 _ASBOX
1630 echo
1631 for ac_var in $ac_subst_files
1633 eval ac_val=\$$ac_var
1634 case $ac_val in
1635 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1636 esac
1637 echo "$ac_var='\''$ac_val'\''"
1638 done | sort
1639 echo
1642 if test -s confdefs.h; then
1643 cat <<\_ASBOX
1644 ## ----------- ##
1645 ## confdefs.h. ##
1646 ## ----------- ##
1647 _ASBOX
1648 echo
1649 cat confdefs.h
1650 echo
1652 test "$ac_signal" != 0 &&
1653 echo "$as_me: caught signal $ac_signal"
1654 echo "$as_me: exit $exit_status"
1655 } >&5
1656 rm -f core *.core core.conftest.* &&
1657 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1658 exit $exit_status
1660 for ac_signal in 1 2 13 15; do
1661 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1662 done
1663 ac_signal=0
1665 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1666 rm -f -r conftest* confdefs.h
1668 # Predefined preprocessor variables.
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_NAME "$PACKAGE_NAME"
1672 _ACEOF
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1677 _ACEOF
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1682 _ACEOF
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_STRING "$PACKAGE_STRING"
1687 _ACEOF
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1692 _ACEOF
1695 # Let the site file select an alternate cache file if it wants to.
1696 # Prefer explicitly selected file to automatically selected ones.
1697 if test -n "$CONFIG_SITE"; then
1698 set x "$CONFIG_SITE"
1699 elif test "x$prefix" != xNONE; then
1700 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1701 else
1702 set x "$ac_default_prefix/share/config.site" \
1703 "$ac_default_prefix/etc/config.site"
1705 shift
1706 for ac_site_file
1708 if test -r "$ac_site_file"; then
1709 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1710 echo "$as_me: loading site script $ac_site_file" >&6;}
1711 sed 's/^/| /' "$ac_site_file" >&5
1712 . "$ac_site_file"
1714 done
1716 if test -r "$cache_file"; then
1717 # Some versions of bash will fail to source /dev/null (special
1718 # files actually), so we avoid doing that.
1719 if test -f "$cache_file"; then
1720 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1721 echo "$as_me: loading cache $cache_file" >&6;}
1722 case $cache_file in
1723 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1724 *) . "./$cache_file";;
1725 esac
1727 else
1728 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1729 echo "$as_me: creating cache $cache_file" >&6;}
1730 >$cache_file
1733 # Check that the precious variables saved in the cache have kept the same
1734 # value.
1735 ac_cache_corrupted=false
1736 for ac_var in $ac_precious_vars; do
1737 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1738 eval ac_new_set=\$ac_env_${ac_var}_set
1739 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1740 eval ac_new_val=\$ac_env_${ac_var}_value
1741 case $ac_old_set,$ac_new_set in
1742 set,)
1743 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1744 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1745 ac_cache_corrupted=: ;;
1746 ,set)
1747 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1748 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1749 ac_cache_corrupted=: ;;
1750 ,);;
1752 if test "x$ac_old_val" != "x$ac_new_val"; then
1753 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1754 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1755 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1756 echo "$as_me: former value: $ac_old_val" >&2;}
1757 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1758 echo "$as_me: current value: $ac_new_val" >&2;}
1759 ac_cache_corrupted=:
1760 fi;;
1761 esac
1762 # Pass precious variables to config.status.
1763 if test "$ac_new_set" = set; then
1764 case $ac_new_val in
1765 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1766 *) ac_arg=$ac_var=$ac_new_val ;;
1767 esac
1768 case " $ac_configure_args " in
1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1770 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1771 esac
1773 done
1774 if $ac_cache_corrupted; then
1775 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1776 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1777 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1778 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1779 { (exit 1); exit 1; }; }
1806 ac_ext=c
1807 ac_cpp='$CPP $CPPFLAGS'
1808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1814 ac_config_headers="$ac_config_headers include/config.h"
1816 ac_aux_dir=
1817 for ac_dir in tools "$srcdir"/tools; do
1818 if test -f "$ac_dir/install-sh"; then
1819 ac_aux_dir=$ac_dir
1820 ac_install_sh="$ac_aux_dir/install-sh -c"
1821 break
1822 elif test -f "$ac_dir/install.sh"; then
1823 ac_aux_dir=$ac_dir
1824 ac_install_sh="$ac_aux_dir/install.sh -c"
1825 break
1826 elif test -f "$ac_dir/shtool"; then
1827 ac_aux_dir=$ac_dir
1828 ac_install_sh="$ac_aux_dir/shtool install -c"
1829 break
1831 done
1832 if test -z "$ac_aux_dir"; then
1833 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1834 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1835 { (exit 1); exit 1; }; }
1838 # These three variables are undocumented and unsupported,
1839 # and are intended to be withdrawn in a future Autoconf release.
1840 # They can cause serious problems if a builder's source tree is in a directory
1841 # whose full name contains unusual characters.
1842 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1843 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1844 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1849 # Check whether --enable-win16 was given.
1850 if test "${enable_win16+set}" = set; then
1851 enableval=$enable_win16;
1854 # Check whether --enable-win64 was given.
1855 if test "${enable_win64+set}" = set; then
1856 enableval=$enable_win64;
1861 # Check whether --with-opengl was given.
1862 if test "${with_opengl+set}" = set; then
1863 withval=$with_opengl;
1867 # Check whether --with-curses was given.
1868 if test "${with_curses+set}" = set; then
1869 withval=$with_curses;
1873 # Check whether --with-wine-tools was given.
1874 if test "${with_wine_tools+set}" = set; then
1875 withval=$with_wine_tools;
1879 # Make sure we can run config.sub.
1880 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1881 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1882 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1883 { (exit 1); exit 1; }; }
1885 { echo "$as_me:$LINENO: checking build system type" >&5
1886 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1887 if test "${ac_cv_build+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 else
1890 ac_build_alias=$build_alias
1891 test "x$ac_build_alias" = x &&
1892 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1893 test "x$ac_build_alias" = x &&
1894 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1895 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1896 { (exit 1); exit 1; }; }
1897 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1898 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1899 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1900 { (exit 1); exit 1; }; }
1903 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1904 echo "${ECHO_T}$ac_cv_build" >&6; }
1905 case $ac_cv_build in
1906 *-*-*) ;;
1907 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1908 echo "$as_me: error: invalid value of canonical build" >&2;}
1909 { (exit 1); exit 1; }; };;
1910 esac
1911 build=$ac_cv_build
1912 ac_save_IFS=$IFS; IFS='-'
1913 set x $ac_cv_build
1914 shift
1915 build_cpu=$1
1916 build_vendor=$2
1917 shift; shift
1918 # Remember, the first character of IFS is used to create $*,
1919 # except with old shells:
1920 build_os=$*
1921 IFS=$ac_save_IFS
1922 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1925 { echo "$as_me:$LINENO: checking host system type" >&5
1926 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1927 if test "${ac_cv_host+set}" = set; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 else
1930 if test "x$host_alias" = x; then
1931 ac_cv_host=$ac_cv_build
1932 else
1933 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1934 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1935 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1936 { (exit 1); exit 1; }; }
1940 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1941 echo "${ECHO_T}$ac_cv_host" >&6; }
1942 case $ac_cv_host in
1943 *-*-*) ;;
1944 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1945 echo "$as_me: error: invalid value of canonical host" >&2;}
1946 { (exit 1); exit 1; }; };;
1947 esac
1948 host=$ac_cv_host
1949 ac_save_IFS=$IFS; IFS='-'
1950 set x $ac_cv_host
1951 shift
1952 host_cpu=$1
1953 host_vendor=$2
1954 shift; shift
1955 # Remember, the first character of IFS is used to create $*,
1956 # except with old shells:
1957 host_os=$*
1958 IFS=$ac_save_IFS
1959 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1962 case $host in
1963 x86_64*linux*)
1964 if test "x$enable_win64" != "xyes"
1965 then
1966 test -n "$CC" || CC="gcc -m32"
1967 test -n "$LD" || LD="ld -m elf_i386"
1968 test -n "$AS" || AS="as --32"
1969 host_cpu="i386"
1972 esac
1974 case $host_cpu in
1975 *i[3456789]86*)
1976 if test "x$enable_win16" != "xno"
1977 then
1978 enable_win16="yes"
1981 esac
1983 WIN16_FILES="\$(WIN16_FILES)"
1985 WIN16_INSTALL="\$(WIN16_INSTALL)"
1987 if test "x$enable_win16" != "xyes"
1988 then
1989 WIN16_FILES=""
1990 WIN16_INSTALL=""
1994 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1995 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1996 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1997 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 else
2000 cat >conftest.make <<\_ACEOF
2001 SHELL = /bin/sh
2002 all:
2003 @echo '@@@%%%=$(MAKE)=@@@%%%'
2004 _ACEOF
2005 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2006 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2007 *@@@%%%=?*=@@@%%%*)
2008 eval ac_cv_prog_make_${ac_make}_set=yes;;
2010 eval ac_cv_prog_make_${ac_make}_set=no;;
2011 esac
2012 rm -f conftest.make
2014 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2015 { echo "$as_me:$LINENO: result: yes" >&5
2016 echo "${ECHO_T}yes" >&6; }
2017 SET_MAKE=
2018 else
2019 { echo "$as_me:$LINENO: result: no" >&5
2020 echo "${ECHO_T}no" >&6; }
2021 SET_MAKE="MAKE=${MAKE-make}"
2024 ac_ext=c
2025 ac_cpp='$CPP $CPPFLAGS'
2026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2029 if test -n "$ac_tool_prefix"; then
2030 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2031 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2034 if test "${ac_cv_prog_CC+set}" = set; then
2035 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 else
2037 if test -n "$CC"; then
2038 ac_cv_prog_CC="$CC" # Let the user override the test.
2039 else
2040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2041 for as_dir in $PATH
2043 IFS=$as_save_IFS
2044 test -z "$as_dir" && as_dir=.
2045 for ac_exec_ext in '' $ac_executable_extensions; do
2046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2047 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2049 break 2
2051 done
2052 done
2053 IFS=$as_save_IFS
2057 CC=$ac_cv_prog_CC
2058 if test -n "$CC"; then
2059 { echo "$as_me:$LINENO: result: $CC" >&5
2060 echo "${ECHO_T}$CC" >&6; }
2061 else
2062 { echo "$as_me:$LINENO: result: no" >&5
2063 echo "${ECHO_T}no" >&6; }
2068 if test -z "$ac_cv_prog_CC"; then
2069 ac_ct_CC=$CC
2070 # Extract the first word of "gcc", so it can be a program name with args.
2071 set dummy gcc; ac_word=$2
2072 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2074 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2075 echo $ECHO_N "(cached) $ECHO_C" >&6
2076 else
2077 if test -n "$ac_ct_CC"; then
2078 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2079 else
2080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2081 for as_dir in $PATH
2083 IFS=$as_save_IFS
2084 test -z "$as_dir" && as_dir=.
2085 for ac_exec_ext in '' $ac_executable_extensions; do
2086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2087 ac_cv_prog_ac_ct_CC="gcc"
2088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2089 break 2
2091 done
2092 done
2093 IFS=$as_save_IFS
2097 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2098 if test -n "$ac_ct_CC"; then
2099 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2100 echo "${ECHO_T}$ac_ct_CC" >&6; }
2101 else
2102 { echo "$as_me:$LINENO: result: no" >&5
2103 echo "${ECHO_T}no" >&6; }
2106 if test "x$ac_ct_CC" = x; then
2107 CC=""
2108 else
2109 case $cross_compiling:$ac_tool_warned in
2110 yes:)
2111 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2112 whose name does not start with the host triplet. If you think this
2113 configuration is useful to you, please write to autoconf@gnu.org." >&5
2114 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2115 whose name does not start with the host triplet. If you think this
2116 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2117 ac_tool_warned=yes ;;
2118 esac
2119 CC=$ac_ct_CC
2121 else
2122 CC="$ac_cv_prog_CC"
2125 if test -z "$CC"; then
2126 if test -n "$ac_tool_prefix"; then
2127 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2128 set dummy ${ac_tool_prefix}cc; ac_word=$2
2129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2131 if test "${ac_cv_prog_CC+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 else
2134 if test -n "$CC"; then
2135 ac_cv_prog_CC="$CC" # Let the user override the test.
2136 else
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2140 IFS=$as_save_IFS
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2144 ac_cv_prog_CC="${ac_tool_prefix}cc"
2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 break 2
2148 done
2149 done
2150 IFS=$as_save_IFS
2154 CC=$ac_cv_prog_CC
2155 if test -n "$CC"; then
2156 { echo "$as_me:$LINENO: result: $CC" >&5
2157 echo "${ECHO_T}$CC" >&6; }
2158 else
2159 { echo "$as_me:$LINENO: result: no" >&5
2160 echo "${ECHO_T}no" >&6; }
2166 if test -z "$CC"; then
2167 # Extract the first word of "cc", so it can be a program name with args.
2168 set dummy cc; ac_word=$2
2169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2171 if test "${ac_cv_prog_CC+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 else
2174 if test -n "$CC"; then
2175 ac_cv_prog_CC="$CC" # Let the user override the test.
2176 else
2177 ac_prog_rejected=no
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 for as_dir in $PATH
2181 IFS=$as_save_IFS
2182 test -z "$as_dir" && as_dir=.
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2186 ac_prog_rejected=yes
2187 continue
2189 ac_cv_prog_CC="cc"
2190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 break 2
2193 done
2194 done
2195 IFS=$as_save_IFS
2197 if test $ac_prog_rejected = yes; then
2198 # We found a bogon in the path, so make sure we never use it.
2199 set dummy $ac_cv_prog_CC
2200 shift
2201 if test $# != 0; then
2202 # We chose a different compiler from the bogus one.
2203 # However, it has the same basename, so the bogon will be chosen
2204 # first if we set CC to just the basename; use the full file name.
2205 shift
2206 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2211 CC=$ac_cv_prog_CC
2212 if test -n "$CC"; then
2213 { echo "$as_me:$LINENO: result: $CC" >&5
2214 echo "${ECHO_T}$CC" >&6; }
2215 else
2216 { echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6; }
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2224 for ac_prog in cl.exe
2226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 else
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2235 else
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 for as_dir in $PATH
2239 IFS=$as_save_IFS
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2243 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2247 done
2248 done
2249 IFS=$as_save_IFS
2253 CC=$ac_cv_prog_CC
2254 if test -n "$CC"; then
2255 { echo "$as_me:$LINENO: result: $CC" >&5
2256 echo "${ECHO_T}$CC" >&6; }
2257 else
2258 { echo "$as_me:$LINENO: result: no" >&5
2259 echo "${ECHO_T}no" >&6; }
2263 test -n "$CC" && break
2264 done
2266 if test -z "$CC"; then
2267 ac_ct_CC=$CC
2268 for ac_prog in cl.exe
2270 # Extract the first word of "$ac_prog", so it can be a program name with args.
2271 set dummy $ac_prog; ac_word=$2
2272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 else
2277 if test -n "$ac_ct_CC"; then
2278 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2279 else
2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281 for as_dir in $PATH
2283 IFS=$as_save_IFS
2284 test -z "$as_dir" && as_dir=.
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2287 ac_cv_prog_ac_ct_CC="$ac_prog"
2288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 break 2
2291 done
2292 done
2293 IFS=$as_save_IFS
2297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2298 if test -n "$ac_ct_CC"; then
2299 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2300 echo "${ECHO_T}$ac_ct_CC" >&6; }
2301 else
2302 { echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6; }
2307 test -n "$ac_ct_CC" && break
2308 done
2310 if test "x$ac_ct_CC" = x; then
2311 CC=""
2312 else
2313 case $cross_compiling:$ac_tool_warned in
2314 yes:)
2315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2316 whose name does not start with the host triplet. If you think this
2317 configuration is useful to you, please write to autoconf@gnu.org." >&5
2318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2319 whose name does not start with the host triplet. If you think this
2320 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2321 ac_tool_warned=yes ;;
2322 esac
2323 CC=$ac_ct_CC
2330 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2331 See \`config.log' for more details." >&5
2332 echo "$as_me: error: no acceptable C compiler found in \$PATH
2333 See \`config.log' for more details." >&2;}
2334 { (exit 1); exit 1; }; }
2336 # Provide some information about the compiler.
2337 echo "$as_me:$LINENO: checking for C compiler version" >&5
2338 ac_compiler=`set X $ac_compile; echo $2`
2339 { (ac_try="$ac_compiler --version >&5"
2340 case "(($ac_try" in
2341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2342 *) ac_try_echo=$ac_try;;
2343 esac
2344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2345 (eval "$ac_compiler --version >&5") 2>&5
2346 ac_status=$?
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }
2349 { (ac_try="$ac_compiler -v >&5"
2350 case "(($ac_try" in
2351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2352 *) ac_try_echo=$ac_try;;
2353 esac
2354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2355 (eval "$ac_compiler -v >&5") 2>&5
2356 ac_status=$?
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); }
2359 { (ac_try="$ac_compiler -V >&5"
2360 case "(($ac_try" in
2361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2362 *) ac_try_echo=$ac_try;;
2363 esac
2364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2365 (eval "$ac_compiler -V >&5") 2>&5
2366 ac_status=$?
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }
2370 cat >conftest.$ac_ext <<_ACEOF
2371 /* confdefs.h. */
2372 _ACEOF
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2378 main ()
2382 return 0;
2384 _ACEOF
2385 ac_clean_files_save=$ac_clean_files
2386 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2387 # Try to create an executable without -o first, disregard a.out.
2388 # It will help us diagnose broken compilers, and finding out an intuition
2389 # of exeext.
2390 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2391 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2392 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2394 # List of possible output files, starting from the most likely.
2395 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2396 # only as a last resort. b.out is created by i960 compilers.
2397 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2399 # The IRIX 6 linker writes into existing files which may not be
2400 # executable, retaining their permissions. Remove them first so a
2401 # subsequent execution test works.
2402 ac_rmfiles=
2403 for ac_file in $ac_files
2405 case $ac_file in
2406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2407 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2408 esac
2409 done
2410 rm -f $ac_rmfiles
2412 if { (ac_try="$ac_link_default"
2413 case "(($ac_try" in
2414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415 *) ac_try_echo=$ac_try;;
2416 esac
2417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2418 (eval "$ac_link_default") 2>&5
2419 ac_status=$?
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }; then
2422 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2423 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2424 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2425 # so that the user can short-circuit this test for compilers unknown to
2426 # Autoconf.
2427 for ac_file in $ac_files ''
2429 test -f "$ac_file" || continue
2430 case $ac_file in
2431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2433 [ab].out )
2434 # We found the default executable, but exeext='' is most
2435 # certainly right.
2436 break;;
2437 *.* )
2438 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2439 then :; else
2440 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2442 # We set ac_cv_exeext here because the later test for it is not
2443 # safe: cross compilers may not add the suffix if given an `-o'
2444 # argument, so we may need to know it at that point already.
2445 # Even if this section looks crufty: it has the advantage of
2446 # actually working.
2447 break;;
2449 break;;
2450 esac
2451 done
2452 test "$ac_cv_exeext" = no && ac_cv_exeext=
2454 else
2455 ac_file=''
2458 { echo "$as_me:$LINENO: result: $ac_file" >&5
2459 echo "${ECHO_T}$ac_file" >&6; }
2460 if test -z "$ac_file"; then
2461 echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&2;}
2468 { (exit 77); exit 77; }; }
2471 ac_exeext=$ac_cv_exeext
2473 # Check that the compiler produces executables we can run. If not, either
2474 # the compiler is broken, or we cross compile.
2475 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2476 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2477 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2478 # If not cross compiling, check that we can run a simple program.
2479 if test "$cross_compiling" != yes; then
2480 if { ac_try='./$ac_file'
2481 { (case "(($ac_try" in
2482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483 *) ac_try_echo=$ac_try;;
2484 esac
2485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2486 (eval "$ac_try") 2>&5
2487 ac_status=$?
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; }; then
2490 cross_compiling=no
2491 else
2492 if test "$cross_compiling" = maybe; then
2493 cross_compiling=yes
2494 else
2495 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2496 If you meant to cross compile, use \`--host'.
2497 See \`config.log' for more details." >&5
2498 echo "$as_me: error: cannot run C compiled programs.
2499 If you meant to cross compile, use \`--host'.
2500 See \`config.log' for more details." >&2;}
2501 { (exit 1); exit 1; }; }
2505 { echo "$as_me:$LINENO: result: yes" >&5
2506 echo "${ECHO_T}yes" >&6; }
2508 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2509 ac_clean_files=$ac_clean_files_save
2510 # Check that the compiler produces executables we can run. If not, either
2511 # the compiler is broken, or we cross compile.
2512 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2513 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2514 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2515 echo "${ECHO_T}$cross_compiling" >&6; }
2517 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2518 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2519 if { (ac_try="$ac_link"
2520 case "(($ac_try" in
2521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522 *) ac_try_echo=$ac_try;;
2523 esac
2524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2525 (eval "$ac_link") 2>&5
2526 ac_status=$?
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; then
2529 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2530 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2531 # work properly (i.e., refer to `conftest.exe'), while it won't with
2532 # `rm'.
2533 for ac_file in conftest.exe conftest conftest.*; do
2534 test -f "$ac_file" || continue
2535 case $ac_file in
2536 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2537 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2538 break;;
2539 * ) break;;
2540 esac
2541 done
2542 else
2543 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2544 See \`config.log' for more details." >&5
2545 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2546 See \`config.log' for more details." >&2;}
2547 { (exit 1); exit 1; }; }
2550 rm -f conftest$ac_cv_exeext
2551 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2552 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2554 rm -f conftest.$ac_ext
2555 EXEEXT=$ac_cv_exeext
2556 ac_exeext=$EXEEXT
2557 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2558 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2559 if test "${ac_cv_objext+set}" = set; then
2560 echo $ECHO_N "(cached) $ECHO_C" >&6
2561 else
2562 cat >conftest.$ac_ext <<_ACEOF
2563 /* confdefs.h. */
2564 _ACEOF
2565 cat confdefs.h >>conftest.$ac_ext
2566 cat >>conftest.$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2570 main ()
2574 return 0;
2576 _ACEOF
2577 rm -f conftest.o conftest.obj
2578 if { (ac_try="$ac_compile"
2579 case "(($ac_try" in
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2582 esac
2583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2584 (eval "$ac_compile") 2>&5
2585 ac_status=$?
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; then
2588 for ac_file in conftest.o conftest.obj conftest.*; do
2589 test -f "$ac_file" || continue;
2590 case $ac_file in
2591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2593 break;;
2594 esac
2595 done
2596 else
2597 echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2600 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2601 See \`config.log' for more details." >&5
2602 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2603 See \`config.log' for more details." >&2;}
2604 { (exit 1); exit 1; }; }
2607 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2609 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2610 echo "${ECHO_T}$ac_cv_objext" >&6; }
2611 OBJEXT=$ac_cv_objext
2612 ac_objext=$OBJEXT
2613 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2614 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2615 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2617 else
2618 cat >conftest.$ac_ext <<_ACEOF
2619 /* confdefs.h. */
2620 _ACEOF
2621 cat confdefs.h >>conftest.$ac_ext
2622 cat >>conftest.$ac_ext <<_ACEOF
2623 /* end confdefs.h. */
2626 main ()
2628 #ifndef __GNUC__
2629 choke me
2630 #endif
2633 return 0;
2635 _ACEOF
2636 rm -f conftest.$ac_objext
2637 if { (ac_try="$ac_compile"
2638 case "(($ac_try" in
2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2640 *) ac_try_echo=$ac_try;;
2641 esac
2642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2643 (eval "$ac_compile") 2>conftest.er1
2644 ac_status=$?
2645 grep -v '^ *+' conftest.er1 >conftest.err
2646 rm -f conftest.er1
2647 cat conftest.err >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } &&
2650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2651 { (case "(($ac_try" in
2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2653 *) ac_try_echo=$ac_try;;
2654 esac
2655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2656 (eval "$ac_try") 2>&5
2657 ac_status=$?
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }; } &&
2660 { ac_try='test -s conftest.$ac_objext'
2661 { (case "(($ac_try" in
2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2664 esac
2665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2666 (eval "$ac_try") 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; }; then
2670 ac_compiler_gnu=yes
2671 else
2672 echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2675 ac_compiler_gnu=no
2678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2682 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2683 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2684 GCC=`test $ac_compiler_gnu = yes && echo yes`
2685 ac_test_CFLAGS=${CFLAGS+set}
2686 ac_save_CFLAGS=$CFLAGS
2687 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 else
2692 ac_save_c_werror_flag=$ac_c_werror_flag
2693 ac_c_werror_flag=yes
2694 ac_cv_prog_cc_g=no
2695 CFLAGS="-g"
2696 cat >conftest.$ac_ext <<_ACEOF
2697 /* confdefs.h. */
2698 _ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2704 main ()
2708 return 0;
2710 _ACEOF
2711 rm -f conftest.$ac_objext
2712 if { (ac_try="$ac_compile"
2713 case "(($ac_try" in
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2716 esac
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compile") 2>conftest.er1
2719 ac_status=$?
2720 grep -v '^ *+' conftest.er1 >conftest.err
2721 rm -f conftest.er1
2722 cat conftest.err >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); } &&
2725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2726 { (case "(($ac_try" in
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2729 esac
2730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2731 (eval "$ac_try") 2>&5
2732 ac_status=$?
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); }; } &&
2735 { ac_try='test -s conftest.$ac_objext'
2736 { (case "(($ac_try" in
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2739 esac
2740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2741 (eval "$ac_try") 2>&5
2742 ac_status=$?
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; }; then
2745 ac_cv_prog_cc_g=yes
2746 else
2747 echo "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2750 CFLAGS=""
2751 cat >conftest.$ac_ext <<_ACEOF
2752 /* confdefs.h. */
2753 _ACEOF
2754 cat confdefs.h >>conftest.$ac_ext
2755 cat >>conftest.$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2759 main ()
2763 return 0;
2765 _ACEOF
2766 rm -f conftest.$ac_objext
2767 if { (ac_try="$ac_compile"
2768 case "(($ac_try" in
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2771 esac
2772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_compile") 2>conftest.er1
2774 ac_status=$?
2775 grep -v '^ *+' conftest.er1 >conftest.err
2776 rm -f conftest.er1
2777 cat conftest.err >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2781 { (case "(($ac_try" in
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2784 esac
2785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2786 (eval "$ac_try") 2>&5
2787 ac_status=$?
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; } &&
2790 { ac_try='test -s conftest.$ac_objext'
2791 { (case "(($ac_try" in
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2794 esac
2795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2796 (eval "$ac_try") 2>&5
2797 ac_status=$?
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }; }; then
2801 else
2802 echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 ac_c_werror_flag=$ac_save_c_werror_flag
2806 CFLAGS="-g"
2807 cat >conftest.$ac_ext <<_ACEOF
2808 /* confdefs.h. */
2809 _ACEOF
2810 cat confdefs.h >>conftest.$ac_ext
2811 cat >>conftest.$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2815 main ()
2819 return 0;
2821 _ACEOF
2822 rm -f conftest.$ac_objext
2823 if { (ac_try="$ac_compile"
2824 case "(($ac_try" in
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2827 esac
2828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2829 (eval "$ac_compile") 2>conftest.er1
2830 ac_status=$?
2831 grep -v '^ *+' conftest.er1 >conftest.err
2832 rm -f conftest.er1
2833 cat conftest.err >&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); } &&
2836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2837 { (case "(($ac_try" in
2838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839 *) ac_try_echo=$ac_try;;
2840 esac
2841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2842 (eval "$ac_try") 2>&5
2843 ac_status=$?
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; } &&
2846 { ac_try='test -s conftest.$ac_objext'
2847 { (case "(($ac_try" in
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2850 esac
2851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2852 (eval "$ac_try") 2>&5
2853 ac_status=$?
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }; }; then
2856 ac_cv_prog_cc_g=yes
2857 else
2858 echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 ac_c_werror_flag=$ac_save_c_werror_flag
2873 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2874 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2875 if test "$ac_test_CFLAGS" = set; then
2876 CFLAGS=$ac_save_CFLAGS
2877 elif test $ac_cv_prog_cc_g = yes; then
2878 if test "$GCC" = yes; then
2879 CFLAGS="-g -O2"
2880 else
2881 CFLAGS="-g"
2883 else
2884 if test "$GCC" = yes; then
2885 CFLAGS="-O2"
2886 else
2887 CFLAGS=
2890 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2891 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2892 if test "${ac_cv_prog_cc_c89+set}" = set; then
2893 echo $ECHO_N "(cached) $ECHO_C" >&6
2894 else
2895 ac_cv_prog_cc_c89=no
2896 ac_save_CC=$CC
2897 cat >conftest.$ac_ext <<_ACEOF
2898 /* confdefs.h. */
2899 _ACEOF
2900 cat confdefs.h >>conftest.$ac_ext
2901 cat >>conftest.$ac_ext <<_ACEOF
2902 /* end confdefs.h. */
2903 #include <stdarg.h>
2904 #include <stdio.h>
2905 #include <sys/types.h>
2906 #include <sys/stat.h>
2907 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2908 struct buf { int x; };
2909 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2910 static char *e (p, i)
2911 char **p;
2912 int i;
2914 return p[i];
2916 static char *f (char * (*g) (char **, int), char **p, ...)
2918 char *s;
2919 va_list v;
2920 va_start (v,p);
2921 s = g (p, va_arg (v,int));
2922 va_end (v);
2923 return s;
2926 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2927 function prototypes and stuff, but not '\xHH' hex character constants.
2928 These don't provoke an error unfortunately, instead are silently treated
2929 as 'x'. The following induces an error, until -std is added to get
2930 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2931 array size at least. It's necessary to write '\x00'==0 to get something
2932 that's true only with -std. */
2933 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2935 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2936 inside strings and character constants. */
2937 #define FOO(x) 'x'
2938 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2940 int test (int i, double x);
2941 struct s1 {int (*f) (int a);};
2942 struct s2 {int (*f) (double a);};
2943 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2944 int argc;
2945 char **argv;
2947 main ()
2949 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2951 return 0;
2953 _ACEOF
2954 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2955 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2957 CC="$ac_save_CC $ac_arg"
2958 rm -f conftest.$ac_objext
2959 if { (ac_try="$ac_compile"
2960 case "(($ac_try" in
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2963 esac
2964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2965 (eval "$ac_compile") 2>conftest.er1
2966 ac_status=$?
2967 grep -v '^ *+' conftest.er1 >conftest.err
2968 rm -f conftest.er1
2969 cat conftest.err >&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); } &&
2972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2973 { (case "(($ac_try" in
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2976 esac
2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2978 (eval "$ac_try") 2>&5
2979 ac_status=$?
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; } &&
2982 { ac_try='test -s conftest.$ac_objext'
2983 { (case "(($ac_try" in
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2986 esac
2987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2988 (eval "$ac_try") 2>&5
2989 ac_status=$?
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2992 ac_cv_prog_cc_c89=$ac_arg
2993 else
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
3000 rm -f core conftest.err conftest.$ac_objext
3001 test "x$ac_cv_prog_cc_c89" != "xno" && break
3002 done
3003 rm -f conftest.$ac_ext
3004 CC=$ac_save_CC
3007 # AC_CACHE_VAL
3008 case "x$ac_cv_prog_cc_c89" in
3010 { echo "$as_me:$LINENO: result: none needed" >&5
3011 echo "${ECHO_T}none needed" >&6; } ;;
3012 xno)
3013 { echo "$as_me:$LINENO: result: unsupported" >&5
3014 echo "${ECHO_T}unsupported" >&6; } ;;
3016 CC="$CC $ac_cv_prog_cc_c89"
3017 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3018 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3019 esac
3022 ac_ext=c
3023 ac_cpp='$CPP $CPPFLAGS'
3024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3028 ac_ext=cpp
3029 ac_cpp='$CXXCPP $CPPFLAGS'
3030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3033 if test -z "$CXX"; then
3034 if test -n "$CCC"; then
3035 CXX=$CCC
3036 else
3037 if test -n "$ac_tool_prefix"; then
3038 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3044 if test "${ac_cv_prog_CXX+set}" = set; then
3045 echo $ECHO_N "(cached) $ECHO_C" >&6
3046 else
3047 if test -n "$CXX"; then
3048 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3049 else
3050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3051 for as_dir in $PATH
3053 IFS=$as_save_IFS
3054 test -z "$as_dir" && as_dir=.
3055 for ac_exec_ext in '' $ac_executable_extensions; do
3056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3057 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 break 2
3061 done
3062 done
3063 IFS=$as_save_IFS
3067 CXX=$ac_cv_prog_CXX
3068 if test -n "$CXX"; then
3069 { echo "$as_me:$LINENO: result: $CXX" >&5
3070 echo "${ECHO_T}$CXX" >&6; }
3071 else
3072 { echo "$as_me:$LINENO: result: no" >&5
3073 echo "${ECHO_T}no" >&6; }
3077 test -n "$CXX" && break
3078 done
3080 if test -z "$CXX"; then
3081 ac_ct_CXX=$CXX
3082 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3084 # Extract the first word of "$ac_prog", so it can be a program name with args.
3085 set dummy $ac_prog; ac_word=$2
3086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3088 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3089 echo $ECHO_N "(cached) $ECHO_C" >&6
3090 else
3091 if test -n "$ac_ct_CXX"; then
3092 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3093 else
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 for as_dir in $PATH
3097 IFS=$as_save_IFS
3098 test -z "$as_dir" && as_dir=.
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3101 ac_cv_prog_ac_ct_CXX="$ac_prog"
3102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3103 break 2
3105 done
3106 done
3107 IFS=$as_save_IFS
3111 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3112 if test -n "$ac_ct_CXX"; then
3113 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3114 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3115 else
3116 { echo "$as_me:$LINENO: result: no" >&5
3117 echo "${ECHO_T}no" >&6; }
3121 test -n "$ac_ct_CXX" && break
3122 done
3124 if test "x$ac_ct_CXX" = x; then
3125 CXX="g++"
3126 else
3127 case $cross_compiling:$ac_tool_warned in
3128 yes:)
3129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3130 whose name does not start with the host triplet. If you think this
3131 configuration is useful to you, please write to autoconf@gnu.org." >&5
3132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3133 whose name does not start with the host triplet. If you think this
3134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3135 ac_tool_warned=yes ;;
3136 esac
3137 CXX=$ac_ct_CXX
3143 # Provide some information about the compiler.
3144 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3145 ac_compiler=`set X $ac_compile; echo $2`
3146 { (ac_try="$ac_compiler --version >&5"
3147 case "(($ac_try" in
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3150 esac
3151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3152 (eval "$ac_compiler --version >&5") 2>&5
3153 ac_status=$?
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }
3156 { (ac_try="$ac_compiler -v >&5"
3157 case "(($ac_try" in
3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159 *) ac_try_echo=$ac_try;;
3160 esac
3161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3162 (eval "$ac_compiler -v >&5") 2>&5
3163 ac_status=$?
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }
3166 { (ac_try="$ac_compiler -V >&5"
3167 case "(($ac_try" in
3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3170 esac
3171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3172 (eval "$ac_compiler -V >&5") 2>&5
3173 ac_status=$?
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }
3177 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3178 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3179 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3180 echo $ECHO_N "(cached) $ECHO_C" >&6
3181 else
3182 cat >conftest.$ac_ext <<_ACEOF
3183 /* confdefs.h. */
3184 _ACEOF
3185 cat confdefs.h >>conftest.$ac_ext
3186 cat >>conftest.$ac_ext <<_ACEOF
3187 /* end confdefs.h. */
3190 main ()
3192 #ifndef __GNUC__
3193 choke me
3194 #endif
3197 return 0;
3199 _ACEOF
3200 rm -f conftest.$ac_objext
3201 if { (ac_try="$ac_compile"
3202 case "(($ac_try" in
3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3205 esac
3206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3207 (eval "$ac_compile") 2>conftest.er1
3208 ac_status=$?
3209 grep -v '^ *+' conftest.er1 >conftest.err
3210 rm -f conftest.er1
3211 cat conftest.err >&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); } &&
3214 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3215 { (case "(($ac_try" in
3216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3218 esac
3219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3220 (eval "$ac_try") 2>&5
3221 ac_status=$?
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; } &&
3224 { ac_try='test -s conftest.$ac_objext'
3225 { (case "(($ac_try" in
3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3228 esac
3229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3230 (eval "$ac_try") 2>&5
3231 ac_status=$?
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; }; then
3234 ac_compiler_gnu=yes
3235 else
3236 echo "$as_me: failed program was:" >&5
3237 sed 's/^/| /' conftest.$ac_ext >&5
3239 ac_compiler_gnu=no
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3246 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3247 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3248 GXX=`test $ac_compiler_gnu = yes && echo yes`
3249 ac_test_CXXFLAGS=${CXXFLAGS+set}
3250 ac_save_CXXFLAGS=$CXXFLAGS
3251 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3252 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3253 if test "${ac_cv_prog_cxx_g+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3255 else
3256 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3257 ac_cxx_werror_flag=yes
3258 ac_cv_prog_cxx_g=no
3259 CXXFLAGS="-g"
3260 cat >conftest.$ac_ext <<_ACEOF
3261 /* confdefs.h. */
3262 _ACEOF
3263 cat confdefs.h >>conftest.$ac_ext
3264 cat >>conftest.$ac_ext <<_ACEOF
3265 /* end confdefs.h. */
3268 main ()
3272 return 0;
3274 _ACEOF
3275 rm -f conftest.$ac_objext
3276 if { (ac_try="$ac_compile"
3277 case "(($ac_try" in
3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;;
3280 esac
3281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3282 (eval "$ac_compile") 2>conftest.er1
3283 ac_status=$?
3284 grep -v '^ *+' conftest.er1 >conftest.err
3285 rm -f conftest.er1
3286 cat conftest.err >&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); } &&
3289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3290 { (case "(($ac_try" in
3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292 *) ac_try_echo=$ac_try;;
3293 esac
3294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3295 (eval "$ac_try") 2>&5
3296 ac_status=$?
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); }; } &&
3299 { ac_try='test -s conftest.$ac_objext'
3300 { (case "(($ac_try" in
3301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3303 esac
3304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3305 (eval "$ac_try") 2>&5
3306 ac_status=$?
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }; }; then
3309 ac_cv_prog_cxx_g=yes
3310 else
3311 echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.$ac_ext >&5
3314 CXXFLAGS=""
3315 cat >conftest.$ac_ext <<_ACEOF
3316 /* confdefs.h. */
3317 _ACEOF
3318 cat confdefs.h >>conftest.$ac_ext
3319 cat >>conftest.$ac_ext <<_ACEOF
3320 /* end confdefs.h. */
3323 main ()
3327 return 0;
3329 _ACEOF
3330 rm -f conftest.$ac_objext
3331 if { (ac_try="$ac_compile"
3332 case "(($ac_try" in
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3335 esac
3336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_compile") 2>conftest.er1
3338 ac_status=$?
3339 grep -v '^ *+' conftest.er1 >conftest.err
3340 rm -f conftest.er1
3341 cat conftest.err >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); } &&
3344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3345 { (case "(($ac_try" in
3346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347 *) ac_try_echo=$ac_try;;
3348 esac
3349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3350 (eval "$ac_try") 2>&5
3351 ac_status=$?
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); }; } &&
3354 { ac_try='test -s conftest.$ac_objext'
3355 { (case "(($ac_try" in
3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3358 esac
3359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3360 (eval "$ac_try") 2>&5
3361 ac_status=$?
3362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); }; }; then
3365 else
3366 echo "$as_me: failed program was:" >&5
3367 sed 's/^/| /' conftest.$ac_ext >&5
3369 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3370 CXXFLAGS="-g"
3371 cat >conftest.$ac_ext <<_ACEOF
3372 /* confdefs.h. */
3373 _ACEOF
3374 cat confdefs.h >>conftest.$ac_ext
3375 cat >>conftest.$ac_ext <<_ACEOF
3376 /* end confdefs.h. */
3379 main ()
3383 return 0;
3385 _ACEOF
3386 rm -f conftest.$ac_objext
3387 if { (ac_try="$ac_compile"
3388 case "(($ac_try" in
3389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3390 *) ac_try_echo=$ac_try;;
3391 esac
3392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3393 (eval "$ac_compile") 2>conftest.er1
3394 ac_status=$?
3395 grep -v '^ *+' conftest.er1 >conftest.err
3396 rm -f conftest.er1
3397 cat conftest.err >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); } &&
3400 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3401 { (case "(($ac_try" in
3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3403 *) ac_try_echo=$ac_try;;
3404 esac
3405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3406 (eval "$ac_try") 2>&5
3407 ac_status=$?
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); }; } &&
3410 { ac_try='test -s conftest.$ac_objext'
3411 { (case "(($ac_try" in
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3414 esac
3415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3416 (eval "$ac_try") 2>&5
3417 ac_status=$?
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }; }; then
3420 ac_cv_prog_cxx_g=yes
3421 else
3422 echo "$as_me: failed program was:" >&5
3423 sed 's/^/| /' conftest.$ac_ext >&5
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3437 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3438 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3439 if test "$ac_test_CXXFLAGS" = set; then
3440 CXXFLAGS=$ac_save_CXXFLAGS
3441 elif test $ac_cv_prog_cxx_g = yes; then
3442 if test "$GXX" = yes; then
3443 CXXFLAGS="-g -O2"
3444 else
3445 CXXFLAGS="-g"
3447 else
3448 if test "$GXX" = yes; then
3449 CXXFLAGS="-O2"
3450 else
3451 CXXFLAGS=
3454 ac_ext=c
3455 ac_cpp='$CPP $CPPFLAGS'
3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 if test -n "$ac_tool_prefix"; then
3461 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3462 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3465 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3466 echo $ECHO_N "(cached) $ECHO_C" >&6
3467 else
3468 if test -n "$CPPBIN"; then
3469 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3470 else
3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3472 for as_dir in $PATH
3474 IFS=$as_save_IFS
3475 test -z "$as_dir" && as_dir=.
3476 for ac_exec_ext in '' $ac_executable_extensions; do
3477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3478 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3480 break 2
3482 done
3483 done
3484 IFS=$as_save_IFS
3488 CPPBIN=$ac_cv_prog_CPPBIN
3489 if test -n "$CPPBIN"; then
3490 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3491 echo "${ECHO_T}$CPPBIN" >&6; }
3492 else
3493 { echo "$as_me:$LINENO: result: no" >&5
3494 echo "${ECHO_T}no" >&6; }
3499 if test -z "$ac_cv_prog_CPPBIN"; then
3500 ac_ct_CPPBIN=$CPPBIN
3501 # Extract the first word of "cpp", so it can be a program name with args.
3502 set dummy cpp; ac_word=$2
3503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3505 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3506 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 else
3508 if test -n "$ac_ct_CPPBIN"; then
3509 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3510 else
3511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3512 for as_dir in $PATH
3514 IFS=$as_save_IFS
3515 test -z "$as_dir" && as_dir=.
3516 for ac_exec_ext in '' $ac_executable_extensions; do
3517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3518 ac_cv_prog_ac_ct_CPPBIN="cpp"
3519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3520 break 2
3522 done
3523 done
3524 IFS=$as_save_IFS
3528 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3529 if test -n "$ac_ct_CPPBIN"; then
3530 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3531 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3532 else
3533 { echo "$as_me:$LINENO: result: no" >&5
3534 echo "${ECHO_T}no" >&6; }
3537 if test "x$ac_ct_CPPBIN" = x; then
3538 CPPBIN="cpp"
3539 else
3540 case $cross_compiling:$ac_tool_warned in
3541 yes:)
3542 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3543 whose name does not start with the host triplet. If you think this
3544 configuration is useful to you, please write to autoconf@gnu.org." >&5
3545 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3546 whose name does not start with the host triplet. If you think this
3547 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3548 ac_tool_warned=yes ;;
3549 esac
3550 CPPBIN=$ac_ct_CPPBIN
3552 else
3553 CPPBIN="$ac_cv_prog_CPPBIN"
3557 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3558 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3559 if test "${wine_cv_toolsdir+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 else
3562 if test -z "$with_wine_tools"; then
3563 if test "$cross_compiling" = "yes"; then
3564 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3565 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3566 { (exit 1); exit 1; }; }
3567 else
3568 wine_cv_toolsdir="\$(TOPOBJDIR)"
3570 elif test -d "$with_wine_tools/tools/winebuild"; then
3571 case $with_wine_tools in
3572 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3573 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3574 esac
3575 else
3576 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3577 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3578 { (exit 1); exit 1; }; }
3581 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3582 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3583 TOOLSDIR=$wine_cv_toolsdir
3587 ac_ext=c
3588 ac_cpp='$CPP $CPPFLAGS'
3589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3592 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3593 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3594 # On Suns, sometimes $CPP names a directory.
3595 if test -n "$CPP" && test -d "$CPP"; then
3596 CPP=
3598 if test -z "$CPP"; then
3599 if test "${ac_cv_prog_CPP+set}" = set; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3601 else
3602 # Double quotes because CPP needs to be expanded
3603 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3605 ac_preproc_ok=false
3606 for ac_c_preproc_warn_flag in '' yes
3608 # Use a header file that comes with gcc, so configuring glibc
3609 # with a fresh cross-compiler works.
3610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3611 # <limits.h> exists even on freestanding compilers.
3612 # On the NeXT, cc -E runs the code through the compiler's parser,
3613 # not just through cpp. "Syntax error" is here to catch this case.
3614 cat >conftest.$ac_ext <<_ACEOF
3615 /* confdefs.h. */
3616 _ACEOF
3617 cat confdefs.h >>conftest.$ac_ext
3618 cat >>conftest.$ac_ext <<_ACEOF
3619 /* end confdefs.h. */
3620 #ifdef __STDC__
3621 # include <limits.h>
3622 #else
3623 # include <assert.h>
3624 #endif
3625 Syntax error
3626 _ACEOF
3627 if { (ac_try="$ac_cpp conftest.$ac_ext"
3628 case "(($ac_try" in
3629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630 *) ac_try_echo=$ac_try;;
3631 esac
3632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3634 ac_status=$?
3635 grep -v '^ *+' conftest.er1 >conftest.err
3636 rm -f conftest.er1
3637 cat conftest.err >&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); } >/dev/null; then
3640 if test -s conftest.err; then
3641 ac_cpp_err=$ac_c_preproc_warn_flag
3642 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3643 else
3644 ac_cpp_err=
3646 else
3647 ac_cpp_err=yes
3649 if test -z "$ac_cpp_err"; then
3651 else
3652 echo "$as_me: failed program was:" >&5
3653 sed 's/^/| /' conftest.$ac_ext >&5
3655 # Broken: fails on valid input.
3656 continue
3659 rm -f conftest.err conftest.$ac_ext
3661 # OK, works on sane cases. Now check whether nonexistent headers
3662 # can be detected and how.
3663 cat >conftest.$ac_ext <<_ACEOF
3664 /* confdefs.h. */
3665 _ACEOF
3666 cat confdefs.h >>conftest.$ac_ext
3667 cat >>conftest.$ac_ext <<_ACEOF
3668 /* end confdefs.h. */
3669 #include <ac_nonexistent.h>
3670 _ACEOF
3671 if { (ac_try="$ac_cpp conftest.$ac_ext"
3672 case "(($ac_try" in
3673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674 *) ac_try_echo=$ac_try;;
3675 esac
3676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3678 ac_status=$?
3679 grep -v '^ *+' conftest.er1 >conftest.err
3680 rm -f conftest.er1
3681 cat conftest.err >&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } >/dev/null; then
3684 if test -s conftest.err; then
3685 ac_cpp_err=$ac_c_preproc_warn_flag
3686 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3687 else
3688 ac_cpp_err=
3690 else
3691 ac_cpp_err=yes
3693 if test -z "$ac_cpp_err"; then
3694 # Broken: success on invalid input.
3695 continue
3696 else
3697 echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.$ac_ext >&5
3700 # Passes both tests.
3701 ac_preproc_ok=:
3702 break
3705 rm -f conftest.err conftest.$ac_ext
3707 done
3708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3709 rm -f conftest.err conftest.$ac_ext
3710 if $ac_preproc_ok; then
3711 break
3714 done
3715 ac_cv_prog_CPP=$CPP
3718 CPP=$ac_cv_prog_CPP
3719 else
3720 ac_cv_prog_CPP=$CPP
3722 { echo "$as_me:$LINENO: result: $CPP" >&5
3723 echo "${ECHO_T}$CPP" >&6; }
3724 ac_preproc_ok=false
3725 for ac_c_preproc_warn_flag in '' yes
3727 # Use a header file that comes with gcc, so configuring glibc
3728 # with a fresh cross-compiler works.
3729 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3730 # <limits.h> exists even on freestanding compilers.
3731 # On the NeXT, cc -E runs the code through the compiler's parser,
3732 # not just through cpp. "Syntax error" is here to catch this case.
3733 cat >conftest.$ac_ext <<_ACEOF
3734 /* confdefs.h. */
3735 _ACEOF
3736 cat confdefs.h >>conftest.$ac_ext
3737 cat >>conftest.$ac_ext <<_ACEOF
3738 /* end confdefs.h. */
3739 #ifdef __STDC__
3740 # include <limits.h>
3741 #else
3742 # include <assert.h>
3743 #endif
3744 Syntax error
3745 _ACEOF
3746 if { (ac_try="$ac_cpp conftest.$ac_ext"
3747 case "(($ac_try" in
3748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749 *) ac_try_echo=$ac_try;;
3750 esac
3751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3753 ac_status=$?
3754 grep -v '^ *+' conftest.er1 >conftest.err
3755 rm -f conftest.er1
3756 cat conftest.err >&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); } >/dev/null; then
3759 if test -s conftest.err; then
3760 ac_cpp_err=$ac_c_preproc_warn_flag
3761 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3762 else
3763 ac_cpp_err=
3765 else
3766 ac_cpp_err=yes
3768 if test -z "$ac_cpp_err"; then
3770 else
3771 echo "$as_me: failed program was:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3774 # Broken: fails on valid input.
3775 continue
3778 rm -f conftest.err conftest.$ac_ext
3780 # OK, works on sane cases. Now check whether nonexistent headers
3781 # can be detected and how.
3782 cat >conftest.$ac_ext <<_ACEOF
3783 /* confdefs.h. */
3784 _ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <ac_nonexistent.h>
3789 _ACEOF
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3791 case "(($ac_try" in
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3794 esac
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3797 ac_status=$?
3798 grep -v '^ *+' conftest.er1 >conftest.err
3799 rm -f conftest.er1
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } >/dev/null; then
3803 if test -s conftest.err; then
3804 ac_cpp_err=$ac_c_preproc_warn_flag
3805 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3806 else
3807 ac_cpp_err=
3809 else
3810 ac_cpp_err=yes
3812 if test -z "$ac_cpp_err"; then
3813 # Broken: success on invalid input.
3814 continue
3815 else
3816 echo "$as_me: failed program was:" >&5
3817 sed 's/^/| /' conftest.$ac_ext >&5
3819 # Passes both tests.
3820 ac_preproc_ok=:
3821 break
3824 rm -f conftest.err conftest.$ac_ext
3826 done
3827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3828 rm -f conftest.err conftest.$ac_ext
3829 if $ac_preproc_ok; then
3831 else
3832 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3833 See \`config.log' for more details." >&5
3834 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3835 See \`config.log' for more details." >&2;}
3836 { (exit 1); exit 1; }; }
3839 ac_ext=c
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3846 { echo "$as_me:$LINENO: checking for X" >&5
3847 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3850 # Check whether --with-x was given.
3851 if test "${with_x+set}" = set; then
3852 withval=$with_x;
3855 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3856 if test "x$with_x" = xno; then
3857 # The user explicitly disabled X.
3858 have_x=disabled
3859 else
3860 case $x_includes,$x_libraries in #(
3861 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3862 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3863 { (exit 1); exit 1; }; };; #(
3864 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 else
3867 # One or both of the vars are not set, and there is no cached value.
3868 ac_x_includes=no ac_x_libraries=no
3869 rm -f -r conftest.dir
3870 if mkdir conftest.dir; then
3871 cd conftest.dir
3872 cat >Imakefile <<'_ACEOF'
3873 incroot:
3874 @echo incroot='${INCROOT}'
3875 usrlibdir:
3876 @echo usrlibdir='${USRLIBDIR}'
3877 libdir:
3878 @echo libdir='${LIBDIR}'
3879 _ACEOF
3880 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3881 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3882 for ac_var in incroot usrlibdir libdir; do
3883 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3884 done
3885 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3886 for ac_extension in a so sl; do
3887 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3888 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3889 ac_im_usrlibdir=$ac_im_libdir; break
3891 done
3892 # Screen out bogus values from the imake configuration. They are
3893 # bogus both because they are the default anyway, and because
3894 # using them would break gcc on systems where it needs fixed includes.
3895 case $ac_im_incroot in
3896 /usr/include) ac_x_includes= ;;
3897 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3898 esac
3899 case $ac_im_usrlibdir in
3900 /usr/lib | /lib) ;;
3901 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3902 esac
3904 cd ..
3905 rm -f -r conftest.dir
3908 # Standard set of common directories for X headers.
3909 # Check X11 before X11Rn because it is often a symlink to the current release.
3910 ac_x_header_dirs='
3911 /usr/X11/include
3912 /usr/X11R6/include
3913 /usr/X11R5/include
3914 /usr/X11R4/include
3916 /usr/include/X11
3917 /usr/include/X11R6
3918 /usr/include/X11R5
3919 /usr/include/X11R4
3921 /usr/local/X11/include
3922 /usr/local/X11R6/include
3923 /usr/local/X11R5/include
3924 /usr/local/X11R4/include
3926 /usr/local/include/X11
3927 /usr/local/include/X11R6
3928 /usr/local/include/X11R5
3929 /usr/local/include/X11R4
3931 /usr/X386/include
3932 /usr/x386/include
3933 /usr/XFree86/include/X11
3935 /usr/include
3936 /usr/local/include
3937 /usr/unsupported/include
3938 /usr/athena/include
3939 /usr/local/x11r5/include
3940 /usr/lpp/Xamples/include
3942 /usr/openwin/include
3943 /usr/openwin/share/include'
3945 if test "$ac_x_includes" = no; then
3946 # Guess where to find include files, by looking for Xlib.h.
3947 # First, try using that file with no special directory specified.
3948 cat >conftest.$ac_ext <<_ACEOF
3949 /* confdefs.h. */
3950 _ACEOF
3951 cat confdefs.h >>conftest.$ac_ext
3952 cat >>conftest.$ac_ext <<_ACEOF
3953 /* end confdefs.h. */
3954 #include <X11/Xlib.h>
3955 _ACEOF
3956 if { (ac_try="$ac_cpp conftest.$ac_ext"
3957 case "(($ac_try" in
3958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 *) ac_try_echo=$ac_try;;
3960 esac
3961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3963 ac_status=$?
3964 grep -v '^ *+' conftest.er1 >conftest.err
3965 rm -f conftest.er1
3966 cat conftest.err >&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); } >/dev/null; then
3969 if test -s conftest.err; then
3970 ac_cpp_err=$ac_c_preproc_warn_flag
3971 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3972 else
3973 ac_cpp_err=
3975 else
3976 ac_cpp_err=yes
3978 if test -z "$ac_cpp_err"; then
3979 # We can compile using X headers with no special include directory.
3980 ac_x_includes=
3981 else
3982 echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3985 for ac_dir in $ac_x_header_dirs; do
3986 if test -r "$ac_dir/X11/Xlib.h"; then
3987 ac_x_includes=$ac_dir
3988 break
3990 done
3993 rm -f conftest.err conftest.$ac_ext
3994 fi # $ac_x_includes = no
3996 if test "$ac_x_libraries" = no; then
3997 # Check for the libraries.
3998 # See if we find them without any special options.
3999 # Don't add to $LIBS permanently.
4000 ac_save_LIBS=$LIBS
4001 LIBS="-lX11 $LIBS"
4002 cat >conftest.$ac_ext <<_ACEOF
4003 /* confdefs.h. */
4004 _ACEOF
4005 cat confdefs.h >>conftest.$ac_ext
4006 cat >>conftest.$ac_ext <<_ACEOF
4007 /* end confdefs.h. */
4008 #include <X11/Xlib.h>
4010 main ()
4012 XrmInitialize ()
4014 return 0;
4016 _ACEOF
4017 rm -f conftest.$ac_objext conftest$ac_exeext
4018 if { (ac_try="$ac_link"
4019 case "(($ac_try" in
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4022 esac
4023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4024 (eval "$ac_link") 2>conftest.er1
4025 ac_status=$?
4026 grep -v '^ *+' conftest.er1 >conftest.err
4027 rm -f conftest.er1
4028 cat conftest.err >&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); } &&
4031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4032 { (case "(($ac_try" in
4033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4034 *) ac_try_echo=$ac_try;;
4035 esac
4036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4037 (eval "$ac_try") 2>&5
4038 ac_status=$?
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; } &&
4041 { ac_try='test -s conftest$ac_exeext'
4042 { (case "(($ac_try" in
4043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4044 *) ac_try_echo=$ac_try;;
4045 esac
4046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4047 (eval "$ac_try") 2>&5
4048 ac_status=$?
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); }; }; then
4051 LIBS=$ac_save_LIBS
4052 # We can link X programs with no special library path.
4053 ac_x_libraries=
4054 else
4055 echo "$as_me: failed program was:" >&5
4056 sed 's/^/| /' conftest.$ac_ext >&5
4058 LIBS=$ac_save_LIBS
4059 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4061 # Don't even attempt the hair of trying to link an X program!
4062 for ac_extension in a so sl; do
4063 if test -r "$ac_dir/libX11.$ac_extension"; then
4064 ac_x_libraries=$ac_dir
4065 break 2
4067 done
4068 done
4071 rm -f core conftest.err conftest.$ac_objext \
4072 conftest$ac_exeext conftest.$ac_ext
4073 fi # $ac_x_libraries = no
4075 case $ac_x_includes,$ac_x_libraries in #(
4076 no,* | *,no | *\'*)
4077 # Didn't find X, or a directory has "'" in its name.
4078 ac_cv_have_x="have_x=no";; #(
4080 # Record where we found X for the cache.
4081 ac_cv_have_x="have_x=yes\
4082 ac_x_includes='$ac_x_includes'\
4083 ac_x_libraries='$ac_x_libraries'"
4084 esac
4086 ;; #(
4087 *) have_x=yes;;
4088 esac
4089 eval "$ac_cv_have_x"
4090 fi # $with_x != no
4092 if test "$have_x" != yes; then
4093 { echo "$as_me:$LINENO: result: $have_x" >&5
4094 echo "${ECHO_T}$have_x" >&6; }
4095 no_x=yes
4096 else
4097 # If each of the values was on the command line, it overrides each guess.
4098 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4099 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4100 # Update the cache value to reflect the command line values.
4101 ac_cv_have_x="have_x=yes\
4102 ac_x_includes='$x_includes'\
4103 ac_x_libraries='$x_libraries'"
4104 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4105 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4108 if test "$no_x" = yes; then
4109 # Not all programs may use this symbol, but it does not hurt to define it.
4111 cat >>confdefs.h <<\_ACEOF
4112 #define X_DISPLAY_MISSING 1
4113 _ACEOF
4115 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4116 else
4117 if test -n "$x_includes"; then
4118 X_CFLAGS="$X_CFLAGS -I$x_includes"
4121 # It would also be nice to do this for all -L options, not just this one.
4122 if test -n "$x_libraries"; then
4123 X_LIBS="$X_LIBS -L$x_libraries"
4124 # For Solaris; some versions of Sun CC require a space after -R and
4125 # others require no space. Words are not sufficient . . . .
4126 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4127 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4128 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4129 ac_xsave_c_werror_flag=$ac_c_werror_flag
4130 ac_c_werror_flag=yes
4131 cat >conftest.$ac_ext <<_ACEOF
4132 /* confdefs.h. */
4133 _ACEOF
4134 cat confdefs.h >>conftest.$ac_ext
4135 cat >>conftest.$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4139 main ()
4143 return 0;
4145 _ACEOF
4146 rm -f conftest.$ac_objext conftest$ac_exeext
4147 if { (ac_try="$ac_link"
4148 case "(($ac_try" in
4149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4150 *) ac_try_echo=$ac_try;;
4151 esac
4152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4153 (eval "$ac_link") 2>conftest.er1
4154 ac_status=$?
4155 grep -v '^ *+' conftest.er1 >conftest.err
4156 rm -f conftest.er1
4157 cat conftest.err >&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); } &&
4160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4161 { (case "(($ac_try" in
4162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4163 *) ac_try_echo=$ac_try;;
4164 esac
4165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4166 (eval "$ac_try") 2>&5
4167 ac_status=$?
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); }; } &&
4170 { ac_try='test -s conftest$ac_exeext'
4171 { (case "(($ac_try" in
4172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4174 esac
4175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4176 (eval "$ac_try") 2>&5
4177 ac_status=$?
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; }; then
4180 { echo "$as_me:$LINENO: result: no" >&5
4181 echo "${ECHO_T}no" >&6; }
4182 X_LIBS="$X_LIBS -R$x_libraries"
4183 else
4184 echo "$as_me: failed program was:" >&5
4185 sed 's/^/| /' conftest.$ac_ext >&5
4187 LIBS="$ac_xsave_LIBS -R $x_libraries"
4188 cat >conftest.$ac_ext <<_ACEOF
4189 /* confdefs.h. */
4190 _ACEOF
4191 cat confdefs.h >>conftest.$ac_ext
4192 cat >>conftest.$ac_ext <<_ACEOF
4193 /* end confdefs.h. */
4196 main ()
4200 return 0;
4202 _ACEOF
4203 rm -f conftest.$ac_objext conftest$ac_exeext
4204 if { (ac_try="$ac_link"
4205 case "(($ac_try" in
4206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4207 *) ac_try_echo=$ac_try;;
4208 esac
4209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4210 (eval "$ac_link") 2>conftest.er1
4211 ac_status=$?
4212 grep -v '^ *+' conftest.er1 >conftest.err
4213 rm -f conftest.er1
4214 cat conftest.err >&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } &&
4217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4218 { (case "(($ac_try" in
4219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4220 *) ac_try_echo=$ac_try;;
4221 esac
4222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4223 (eval "$ac_try") 2>&5
4224 ac_status=$?
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); }; } &&
4227 { ac_try='test -s conftest$ac_exeext'
4228 { (case "(($ac_try" in
4229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4230 *) ac_try_echo=$ac_try;;
4231 esac
4232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4233 (eval "$ac_try") 2>&5
4234 ac_status=$?
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); }; }; then
4237 { echo "$as_me:$LINENO: result: yes" >&5
4238 echo "${ECHO_T}yes" >&6; }
4239 X_LIBS="$X_LIBS -R $x_libraries"
4240 else
4241 echo "$as_me: failed program was:" >&5
4242 sed 's/^/| /' conftest.$ac_ext >&5
4244 { echo "$as_me:$LINENO: result: neither works" >&5
4245 echo "${ECHO_T}neither works" >&6; }
4248 rm -f core conftest.err conftest.$ac_objext \
4249 conftest$ac_exeext conftest.$ac_ext
4252 rm -f core conftest.err conftest.$ac_objext \
4253 conftest$ac_exeext conftest.$ac_ext
4254 ac_c_werror_flag=$ac_xsave_c_werror_flag
4255 LIBS=$ac_xsave_LIBS
4258 # Check for system-dependent libraries X programs must link with.
4259 # Do this before checking for the system-independent R6 libraries
4260 # (-lICE), since we may need -lsocket or whatever for X linking.
4262 if test "$ISC" = yes; then
4263 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4264 else
4265 # Martyn Johnson says this is needed for Ultrix, if the X
4266 # libraries were built with DECnet support. And Karl Berry says
4267 # the Alpha needs dnet_stub (dnet does not exist).
4268 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4269 cat >conftest.$ac_ext <<_ACEOF
4270 /* confdefs.h. */
4271 _ACEOF
4272 cat confdefs.h >>conftest.$ac_ext
4273 cat >>conftest.$ac_ext <<_ACEOF
4274 /* end confdefs.h. */
4276 /* Override any GCC internal prototype to avoid an error.
4277 Use char because int might match the return type of a GCC
4278 builtin and then its argument prototype would still apply. */
4279 #ifdef __cplusplus
4280 extern "C"
4281 #endif
4282 char XOpenDisplay ();
4284 main ()
4286 return XOpenDisplay ();
4288 return 0;
4290 _ACEOF
4291 rm -f conftest.$ac_objext conftest$ac_exeext
4292 if { (ac_try="$ac_link"
4293 case "(($ac_try" in
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4296 esac
4297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4298 (eval "$ac_link") 2>conftest.er1
4299 ac_status=$?
4300 grep -v '^ *+' conftest.er1 >conftest.err
4301 rm -f conftest.er1
4302 cat conftest.err >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } &&
4305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4306 { (case "(($ac_try" in
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4309 esac
4310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4311 (eval "$ac_try") 2>&5
4312 ac_status=$?
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); }; } &&
4315 { ac_try='test -s conftest$ac_exeext'
4316 { (case "(($ac_try" in
4317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4318 *) ac_try_echo=$ac_try;;
4319 esac
4320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4321 (eval "$ac_try") 2>&5
4322 ac_status=$?
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; }; then
4326 else
4327 echo "$as_me: failed program was:" >&5
4328 sed 's/^/| /' conftest.$ac_ext >&5
4330 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4331 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4332 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4333 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 else
4335 ac_check_lib_save_LIBS=$LIBS
4336 LIBS="-ldnet $LIBS"
4337 cat >conftest.$ac_ext <<_ACEOF
4338 /* confdefs.h. */
4339 _ACEOF
4340 cat confdefs.h >>conftest.$ac_ext
4341 cat >>conftest.$ac_ext <<_ACEOF
4342 /* end confdefs.h. */
4344 /* Override any GCC internal prototype to avoid an error.
4345 Use char because int might match the return type of a GCC
4346 builtin and then its argument prototype would still apply. */
4347 #ifdef __cplusplus
4348 extern "C"
4349 #endif
4350 char dnet_ntoa ();
4352 main ()
4354 return dnet_ntoa ();
4356 return 0;
4358 _ACEOF
4359 rm -f conftest.$ac_objext conftest$ac_exeext
4360 if { (ac_try="$ac_link"
4361 case "(($ac_try" in
4362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4363 *) ac_try_echo=$ac_try;;
4364 esac
4365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4366 (eval "$ac_link") 2>conftest.er1
4367 ac_status=$?
4368 grep -v '^ *+' conftest.er1 >conftest.err
4369 rm -f conftest.er1
4370 cat conftest.err >&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } &&
4373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4374 { (case "(($ac_try" in
4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4377 esac
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_try") 2>&5
4380 ac_status=$?
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; } &&
4383 { ac_try='test -s conftest$ac_exeext'
4384 { (case "(($ac_try" in
4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4386 *) ac_try_echo=$ac_try;;
4387 esac
4388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4389 (eval "$ac_try") 2>&5
4390 ac_status=$?
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }; }; then
4393 ac_cv_lib_dnet_dnet_ntoa=yes
4394 else
4395 echo "$as_me: failed program was:" >&5
4396 sed 's/^/| /' conftest.$ac_ext >&5
4398 ac_cv_lib_dnet_dnet_ntoa=no
4401 rm -f core conftest.err conftest.$ac_objext \
4402 conftest$ac_exeext conftest.$ac_ext
4403 LIBS=$ac_check_lib_save_LIBS
4405 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4406 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4407 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4408 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4411 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4412 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4413 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4414 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4415 echo $ECHO_N "(cached) $ECHO_C" >&6
4416 else
4417 ac_check_lib_save_LIBS=$LIBS
4418 LIBS="-ldnet_stub $LIBS"
4419 cat >conftest.$ac_ext <<_ACEOF
4420 /* confdefs.h. */
4421 _ACEOF
4422 cat confdefs.h >>conftest.$ac_ext
4423 cat >>conftest.$ac_ext <<_ACEOF
4424 /* end confdefs.h. */
4426 /* Override any GCC internal prototype to avoid an error.
4427 Use char because int might match the return type of a GCC
4428 builtin and then its argument prototype would still apply. */
4429 #ifdef __cplusplus
4430 extern "C"
4431 #endif
4432 char dnet_ntoa ();
4434 main ()
4436 return dnet_ntoa ();
4438 return 0;
4440 _ACEOF
4441 rm -f conftest.$ac_objext conftest$ac_exeext
4442 if { (ac_try="$ac_link"
4443 case "(($ac_try" in
4444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4445 *) ac_try_echo=$ac_try;;
4446 esac
4447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4448 (eval "$ac_link") 2>conftest.er1
4449 ac_status=$?
4450 grep -v '^ *+' conftest.er1 >conftest.err
4451 rm -f conftest.er1
4452 cat conftest.err >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } &&
4455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4456 { (case "(($ac_try" in
4457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4459 esac
4460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4461 (eval "$ac_try") 2>&5
4462 ac_status=$?
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; } &&
4465 { ac_try='test -s conftest$ac_exeext'
4466 { (case "(($ac_try" in
4467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4468 *) ac_try_echo=$ac_try;;
4469 esac
4470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4471 (eval "$ac_try") 2>&5
4472 ac_status=$?
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; }; then
4475 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4476 else
4477 echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.$ac_ext >&5
4480 ac_cv_lib_dnet_stub_dnet_ntoa=no
4483 rm -f core conftest.err conftest.$ac_objext \
4484 conftest$ac_exeext conftest.$ac_ext
4485 LIBS=$ac_check_lib_save_LIBS
4487 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4488 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4489 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4490 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4496 rm -f core conftest.err conftest.$ac_objext \
4497 conftest$ac_exeext conftest.$ac_ext
4498 LIBS="$ac_xsave_LIBS"
4500 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4501 # to get the SysV transport functions.
4502 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4503 # needs -lnsl.
4504 # The nsl library prevents programs from opening the X display
4505 # on Irix 5.2, according to T.E. Dickey.
4506 # The functions gethostbyname, getservbyname, and inet_addr are
4507 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4508 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4509 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4510 if test "${ac_cv_func_gethostbyname+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 else
4513 cat >conftest.$ac_ext <<_ACEOF
4514 /* confdefs.h. */
4515 _ACEOF
4516 cat confdefs.h >>conftest.$ac_ext
4517 cat >>conftest.$ac_ext <<_ACEOF
4518 /* end confdefs.h. */
4519 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4521 #define gethostbyname innocuous_gethostbyname
4523 /* System header to define __stub macros and hopefully few prototypes,
4524 which can conflict with char gethostbyname (); below.
4525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4526 <limits.h> exists even on freestanding compilers. */
4528 #ifdef __STDC__
4529 # include <limits.h>
4530 #else
4531 # include <assert.h>
4532 #endif
4534 #undef gethostbyname
4536 /* Override any GCC internal prototype to avoid an error.
4537 Use char because int might match the return type of a GCC
4538 builtin and then its argument prototype would still apply. */
4539 #ifdef __cplusplus
4540 extern "C"
4541 #endif
4542 char gethostbyname ();
4543 /* The GNU C library defines this for functions which it implements
4544 to always fail with ENOSYS. Some functions are actually named
4545 something starting with __ and the normal name is an alias. */
4546 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4547 choke me
4548 #endif
4551 main ()
4553 return gethostbyname ();
4555 return 0;
4557 _ACEOF
4558 rm -f conftest.$ac_objext conftest$ac_exeext
4559 if { (ac_try="$ac_link"
4560 case "(($ac_try" in
4561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4562 *) ac_try_echo=$ac_try;;
4563 esac
4564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565 (eval "$ac_link") 2>conftest.er1
4566 ac_status=$?
4567 grep -v '^ *+' conftest.er1 >conftest.err
4568 rm -f conftest.er1
4569 cat conftest.err >&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } &&
4572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4573 { (case "(($ac_try" in
4574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4575 *) ac_try_echo=$ac_try;;
4576 esac
4577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4578 (eval "$ac_try") 2>&5
4579 ac_status=$?
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; } &&
4582 { ac_try='test -s conftest$ac_exeext'
4583 { (case "(($ac_try" in
4584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4585 *) ac_try_echo=$ac_try;;
4586 esac
4587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4588 (eval "$ac_try") 2>&5
4589 ac_status=$?
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4592 ac_cv_func_gethostbyname=yes
4593 else
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 ac_cv_func_gethostbyname=no
4600 rm -f core conftest.err conftest.$ac_objext \
4601 conftest$ac_exeext conftest.$ac_ext
4603 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4604 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4606 if test $ac_cv_func_gethostbyname = no; then
4607 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4608 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4609 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4611 else
4612 ac_check_lib_save_LIBS=$LIBS
4613 LIBS="-lnsl $LIBS"
4614 cat >conftest.$ac_ext <<_ACEOF
4615 /* confdefs.h. */
4616 _ACEOF
4617 cat confdefs.h >>conftest.$ac_ext
4618 cat >>conftest.$ac_ext <<_ACEOF
4619 /* end confdefs.h. */
4621 /* Override any GCC internal prototype to avoid an error.
4622 Use char because int might match the return type of a GCC
4623 builtin and then its argument prototype would still apply. */
4624 #ifdef __cplusplus
4625 extern "C"
4626 #endif
4627 char gethostbyname ();
4629 main ()
4631 return gethostbyname ();
4633 return 0;
4635 _ACEOF
4636 rm -f conftest.$ac_objext conftest$ac_exeext
4637 if { (ac_try="$ac_link"
4638 case "(($ac_try" in
4639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4640 *) ac_try_echo=$ac_try;;
4641 esac
4642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4643 (eval "$ac_link") 2>conftest.er1
4644 ac_status=$?
4645 grep -v '^ *+' conftest.er1 >conftest.err
4646 rm -f conftest.er1
4647 cat conftest.err >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4651 { (case "(($ac_try" in
4652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4654 esac
4655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4656 (eval "$ac_try") 2>&5
4657 ac_status=$?
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; } &&
4660 { ac_try='test -s conftest$ac_exeext'
4661 { (case "(($ac_try" in
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4664 esac
4665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666 (eval "$ac_try") 2>&5
4667 ac_status=$?
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_lib_nsl_gethostbyname=yes
4671 else
4672 echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.$ac_ext >&5
4675 ac_cv_lib_nsl_gethostbyname=no
4678 rm -f core conftest.err conftest.$ac_objext \
4679 conftest$ac_exeext conftest.$ac_ext
4680 LIBS=$ac_check_lib_save_LIBS
4682 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4683 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4684 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4685 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4688 if test $ac_cv_lib_nsl_gethostbyname = no; then
4689 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4690 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4691 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 else
4694 ac_check_lib_save_LIBS=$LIBS
4695 LIBS="-lbsd $LIBS"
4696 cat >conftest.$ac_ext <<_ACEOF
4697 /* confdefs.h. */
4698 _ACEOF
4699 cat confdefs.h >>conftest.$ac_ext
4700 cat >>conftest.$ac_ext <<_ACEOF
4701 /* end confdefs.h. */
4703 /* Override any GCC internal prototype to avoid an error.
4704 Use char because int might match the return type of a GCC
4705 builtin and then its argument prototype would still apply. */
4706 #ifdef __cplusplus
4707 extern "C"
4708 #endif
4709 char gethostbyname ();
4711 main ()
4713 return gethostbyname ();
4715 return 0;
4717 _ACEOF
4718 rm -f conftest.$ac_objext conftest$ac_exeext
4719 if { (ac_try="$ac_link"
4720 case "(($ac_try" in
4721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4722 *) ac_try_echo=$ac_try;;
4723 esac
4724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4725 (eval "$ac_link") 2>conftest.er1
4726 ac_status=$?
4727 grep -v '^ *+' conftest.er1 >conftest.err
4728 rm -f conftest.er1
4729 cat conftest.err >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } &&
4732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4733 { (case "(($ac_try" in
4734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735 *) ac_try_echo=$ac_try;;
4736 esac
4737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4738 (eval "$ac_try") 2>&5
4739 ac_status=$?
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; } &&
4742 { ac_try='test -s conftest$ac_exeext'
4743 { (case "(($ac_try" in
4744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4745 *) ac_try_echo=$ac_try;;
4746 esac
4747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4748 (eval "$ac_try") 2>&5
4749 ac_status=$?
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; }; then
4752 ac_cv_lib_bsd_gethostbyname=yes
4753 else
4754 echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4757 ac_cv_lib_bsd_gethostbyname=no
4760 rm -f core conftest.err conftest.$ac_objext \
4761 conftest$ac_exeext conftest.$ac_ext
4762 LIBS=$ac_check_lib_save_LIBS
4764 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4765 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4766 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4767 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4773 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4774 # socket/setsockopt and other routines are undefined under SCO ODT
4775 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4776 # on later versions), says Simon Leinen: it contains gethostby*
4777 # variants that don't use the name server (or something). -lsocket
4778 # must be given before -lnsl if both are needed. We assume that
4779 # if connect needs -lnsl, so does gethostbyname.
4780 { echo "$as_me:$LINENO: checking for connect" >&5
4781 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4782 if test "${ac_cv_func_connect+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 else
4785 cat >conftest.$ac_ext <<_ACEOF
4786 /* confdefs.h. */
4787 _ACEOF
4788 cat confdefs.h >>conftest.$ac_ext
4789 cat >>conftest.$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4791 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4793 #define connect innocuous_connect
4795 /* System header to define __stub macros and hopefully few prototypes,
4796 which can conflict with char connect (); below.
4797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4798 <limits.h> exists even on freestanding compilers. */
4800 #ifdef __STDC__
4801 # include <limits.h>
4802 #else
4803 # include <assert.h>
4804 #endif
4806 #undef connect
4808 /* Override any GCC internal prototype to avoid an error.
4809 Use char because int might match the return type of a GCC
4810 builtin and then its argument prototype would still apply. */
4811 #ifdef __cplusplus
4812 extern "C"
4813 #endif
4814 char connect ();
4815 /* The GNU C library defines this for functions which it implements
4816 to always fail with ENOSYS. Some functions are actually named
4817 something starting with __ and the normal name is an alias. */
4818 #if defined __stub_connect || defined __stub___connect
4819 choke me
4820 #endif
4823 main ()
4825 return connect ();
4827 return 0;
4829 _ACEOF
4830 rm -f conftest.$ac_objext conftest$ac_exeext
4831 if { (ac_try="$ac_link"
4832 case "(($ac_try" in
4833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834 *) ac_try_echo=$ac_try;;
4835 esac
4836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4837 (eval "$ac_link") 2>conftest.er1
4838 ac_status=$?
4839 grep -v '^ *+' conftest.er1 >conftest.err
4840 rm -f conftest.er1
4841 cat conftest.err >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } &&
4844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4845 { (case "(($ac_try" in
4846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4847 *) ac_try_echo=$ac_try;;
4848 esac
4849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4850 (eval "$ac_try") 2>&5
4851 ac_status=$?
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); }; } &&
4854 { ac_try='test -s conftest$ac_exeext'
4855 { (case "(($ac_try" in
4856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4857 *) ac_try_echo=$ac_try;;
4858 esac
4859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4860 (eval "$ac_try") 2>&5
4861 ac_status=$?
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); }; }; then
4864 ac_cv_func_connect=yes
4865 else
4866 echo "$as_me: failed program was:" >&5
4867 sed 's/^/| /' conftest.$ac_ext >&5
4869 ac_cv_func_connect=no
4872 rm -f core conftest.err conftest.$ac_objext \
4873 conftest$ac_exeext conftest.$ac_ext
4875 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4876 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4878 if test $ac_cv_func_connect = no; then
4879 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4880 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4881 if test "${ac_cv_lib_socket_connect+set}" = set; then
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 else
4884 ac_check_lib_save_LIBS=$LIBS
4885 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4886 cat >conftest.$ac_ext <<_ACEOF
4887 /* confdefs.h. */
4888 _ACEOF
4889 cat confdefs.h >>conftest.$ac_ext
4890 cat >>conftest.$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4893 /* Override any GCC internal prototype to avoid an error.
4894 Use char because int might match the return type of a GCC
4895 builtin and then its argument prototype would still apply. */
4896 #ifdef __cplusplus
4897 extern "C"
4898 #endif
4899 char connect ();
4901 main ()
4903 return connect ();
4905 return 0;
4907 _ACEOF
4908 rm -f conftest.$ac_objext conftest$ac_exeext
4909 if { (ac_try="$ac_link"
4910 case "(($ac_try" in
4911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4912 *) ac_try_echo=$ac_try;;
4913 esac
4914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4915 (eval "$ac_link") 2>conftest.er1
4916 ac_status=$?
4917 grep -v '^ *+' conftest.er1 >conftest.err
4918 rm -f conftest.er1
4919 cat conftest.err >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } &&
4922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4923 { (case "(($ac_try" in
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4926 esac
4927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4928 (eval "$ac_try") 2>&5
4929 ac_status=$?
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); }; } &&
4932 { ac_try='test -s conftest$ac_exeext'
4933 { (case "(($ac_try" in
4934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4935 *) ac_try_echo=$ac_try;;
4936 esac
4937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4938 (eval "$ac_try") 2>&5
4939 ac_status=$?
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; }; then
4942 ac_cv_lib_socket_connect=yes
4943 else
4944 echo "$as_me: failed program was:" >&5
4945 sed 's/^/| /' conftest.$ac_ext >&5
4947 ac_cv_lib_socket_connect=no
4950 rm -f core conftest.err conftest.$ac_objext \
4951 conftest$ac_exeext conftest.$ac_ext
4952 LIBS=$ac_check_lib_save_LIBS
4954 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4955 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4956 if test $ac_cv_lib_socket_connect = yes; then
4957 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4962 # Guillermo Gomez says -lposix is necessary on A/UX.
4963 { echo "$as_me:$LINENO: checking for remove" >&5
4964 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4965 if test "${ac_cv_func_remove+set}" = set; then
4966 echo $ECHO_N "(cached) $ECHO_C" >&6
4967 else
4968 cat >conftest.$ac_ext <<_ACEOF
4969 /* confdefs.h. */
4970 _ACEOF
4971 cat confdefs.h >>conftest.$ac_ext
4972 cat >>conftest.$ac_ext <<_ACEOF
4973 /* end confdefs.h. */
4974 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4976 #define remove innocuous_remove
4978 /* System header to define __stub macros and hopefully few prototypes,
4979 which can conflict with char remove (); below.
4980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4981 <limits.h> exists even on freestanding compilers. */
4983 #ifdef __STDC__
4984 # include <limits.h>
4985 #else
4986 # include <assert.h>
4987 #endif
4989 #undef remove
4991 /* Override any GCC internal prototype to avoid an error.
4992 Use char because int might match the return type of a GCC
4993 builtin and then its argument prototype would still apply. */
4994 #ifdef __cplusplus
4995 extern "C"
4996 #endif
4997 char remove ();
4998 /* The GNU C library defines this for functions which it implements
4999 to always fail with ENOSYS. Some functions are actually named
5000 something starting with __ and the normal name is an alias. */
5001 #if defined __stub_remove || defined __stub___remove
5002 choke me
5003 #endif
5006 main ()
5008 return remove ();
5010 return 0;
5012 _ACEOF
5013 rm -f conftest.$ac_objext conftest$ac_exeext
5014 if { (ac_try="$ac_link"
5015 case "(($ac_try" in
5016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5017 *) ac_try_echo=$ac_try;;
5018 esac
5019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5020 (eval "$ac_link") 2>conftest.er1
5021 ac_status=$?
5022 grep -v '^ *+' conftest.er1 >conftest.err
5023 rm -f conftest.er1
5024 cat conftest.err >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } &&
5027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5028 { (case "(($ac_try" in
5029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5030 *) ac_try_echo=$ac_try;;
5031 esac
5032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5033 (eval "$ac_try") 2>&5
5034 ac_status=$?
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; } &&
5037 { ac_try='test -s conftest$ac_exeext'
5038 { (case "(($ac_try" in
5039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5040 *) ac_try_echo=$ac_try;;
5041 esac
5042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5043 (eval "$ac_try") 2>&5
5044 ac_status=$?
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; }; then
5047 ac_cv_func_remove=yes
5048 else
5049 echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.$ac_ext >&5
5052 ac_cv_func_remove=no
5055 rm -f core conftest.err conftest.$ac_objext \
5056 conftest$ac_exeext conftest.$ac_ext
5058 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5059 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5061 if test $ac_cv_func_remove = no; then
5062 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5063 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5064 if test "${ac_cv_lib_posix_remove+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5066 else
5067 ac_check_lib_save_LIBS=$LIBS
5068 LIBS="-lposix $LIBS"
5069 cat >conftest.$ac_ext <<_ACEOF
5070 /* confdefs.h. */
5071 _ACEOF
5072 cat confdefs.h >>conftest.$ac_ext
5073 cat >>conftest.$ac_ext <<_ACEOF
5074 /* end confdefs.h. */
5076 /* Override any GCC internal prototype to avoid an error.
5077 Use char because int might match the return type of a GCC
5078 builtin and then its argument prototype would still apply. */
5079 #ifdef __cplusplus
5080 extern "C"
5081 #endif
5082 char remove ();
5084 main ()
5086 return remove ();
5088 return 0;
5090 _ACEOF
5091 rm -f conftest.$ac_objext conftest$ac_exeext
5092 if { (ac_try="$ac_link"
5093 case "(($ac_try" in
5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5096 esac
5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5098 (eval "$ac_link") 2>conftest.er1
5099 ac_status=$?
5100 grep -v '^ *+' conftest.er1 >conftest.err
5101 rm -f conftest.er1
5102 cat conftest.err >&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } &&
5105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5106 { (case "(($ac_try" in
5107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5108 *) ac_try_echo=$ac_try;;
5109 esac
5110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5111 (eval "$ac_try") 2>&5
5112 ac_status=$?
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); }; } &&
5115 { ac_try='test -s conftest$ac_exeext'
5116 { (case "(($ac_try" in
5117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5118 *) ac_try_echo=$ac_try;;
5119 esac
5120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5121 (eval "$ac_try") 2>&5
5122 ac_status=$?
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); }; }; then
5125 ac_cv_lib_posix_remove=yes
5126 else
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.$ac_ext >&5
5130 ac_cv_lib_posix_remove=no
5133 rm -f core conftest.err conftest.$ac_objext \
5134 conftest$ac_exeext conftest.$ac_ext
5135 LIBS=$ac_check_lib_save_LIBS
5137 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5138 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5139 if test $ac_cv_lib_posix_remove = yes; then
5140 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5145 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5146 { echo "$as_me:$LINENO: checking for shmat" >&5
5147 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5148 if test "${ac_cv_func_shmat+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 else
5151 cat >conftest.$ac_ext <<_ACEOF
5152 /* confdefs.h. */
5153 _ACEOF
5154 cat confdefs.h >>conftest.$ac_ext
5155 cat >>conftest.$ac_ext <<_ACEOF
5156 /* end confdefs.h. */
5157 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5159 #define shmat innocuous_shmat
5161 /* System header to define __stub macros and hopefully few prototypes,
5162 which can conflict with char shmat (); below.
5163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5164 <limits.h> exists even on freestanding compilers. */
5166 #ifdef __STDC__
5167 # include <limits.h>
5168 #else
5169 # include <assert.h>
5170 #endif
5172 #undef shmat
5174 /* Override any GCC internal prototype to avoid an error.
5175 Use char because int might match the return type of a GCC
5176 builtin and then its argument prototype would still apply. */
5177 #ifdef __cplusplus
5178 extern "C"
5179 #endif
5180 char shmat ();
5181 /* The GNU C library defines this for functions which it implements
5182 to always fail with ENOSYS. Some functions are actually named
5183 something starting with __ and the normal name is an alias. */
5184 #if defined __stub_shmat || defined __stub___shmat
5185 choke me
5186 #endif
5189 main ()
5191 return shmat ();
5193 return 0;
5195 _ACEOF
5196 rm -f conftest.$ac_objext conftest$ac_exeext
5197 if { (ac_try="$ac_link"
5198 case "(($ac_try" in
5199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5200 *) ac_try_echo=$ac_try;;
5201 esac
5202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5203 (eval "$ac_link") 2>conftest.er1
5204 ac_status=$?
5205 grep -v '^ *+' conftest.er1 >conftest.err
5206 rm -f conftest.er1
5207 cat conftest.err >&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); } &&
5210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5211 { (case "(($ac_try" in
5212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5213 *) ac_try_echo=$ac_try;;
5214 esac
5215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5216 (eval "$ac_try") 2>&5
5217 ac_status=$?
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); }; } &&
5220 { ac_try='test -s conftest$ac_exeext'
5221 { (case "(($ac_try" in
5222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5223 *) ac_try_echo=$ac_try;;
5224 esac
5225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5226 (eval "$ac_try") 2>&5
5227 ac_status=$?
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); }; }; then
5230 ac_cv_func_shmat=yes
5231 else
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5235 ac_cv_func_shmat=no
5238 rm -f core conftest.err conftest.$ac_objext \
5239 conftest$ac_exeext conftest.$ac_ext
5241 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5242 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5244 if test $ac_cv_func_shmat = no; then
5245 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5246 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5247 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 else
5250 ac_check_lib_save_LIBS=$LIBS
5251 LIBS="-lipc $LIBS"
5252 cat >conftest.$ac_ext <<_ACEOF
5253 /* confdefs.h. */
5254 _ACEOF
5255 cat confdefs.h >>conftest.$ac_ext
5256 cat >>conftest.$ac_ext <<_ACEOF
5257 /* end confdefs.h. */
5259 /* Override any GCC internal prototype to avoid an error.
5260 Use char because int might match the return type of a GCC
5261 builtin and then its argument prototype would still apply. */
5262 #ifdef __cplusplus
5263 extern "C"
5264 #endif
5265 char shmat ();
5267 main ()
5269 return shmat ();
5271 return 0;
5273 _ACEOF
5274 rm -f conftest.$ac_objext conftest$ac_exeext
5275 if { (ac_try="$ac_link"
5276 case "(($ac_try" in
5277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5279 esac
5280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5281 (eval "$ac_link") 2>conftest.er1
5282 ac_status=$?
5283 grep -v '^ *+' conftest.er1 >conftest.err
5284 rm -f conftest.er1
5285 cat conftest.err >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); } &&
5288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5289 { (case "(($ac_try" in
5290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5291 *) ac_try_echo=$ac_try;;
5292 esac
5293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5294 (eval "$ac_try") 2>&5
5295 ac_status=$?
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); }; } &&
5298 { ac_try='test -s conftest$ac_exeext'
5299 { (case "(($ac_try" in
5300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5301 *) ac_try_echo=$ac_try;;
5302 esac
5303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5304 (eval "$ac_try") 2>&5
5305 ac_status=$?
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); }; }; then
5308 ac_cv_lib_ipc_shmat=yes
5309 else
5310 echo "$as_me: failed program was:" >&5
5311 sed 's/^/| /' conftest.$ac_ext >&5
5313 ac_cv_lib_ipc_shmat=no
5316 rm -f core conftest.err conftest.$ac_objext \
5317 conftest$ac_exeext conftest.$ac_ext
5318 LIBS=$ac_check_lib_save_LIBS
5320 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5321 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5322 if test $ac_cv_lib_ipc_shmat = yes; then
5323 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5329 # Check for libraries that X11R6 Xt/Xaw programs need.
5330 ac_save_LDFLAGS=$LDFLAGS
5331 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5332 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5333 # check for ICE first), but we must link in the order -lSM -lICE or
5334 # we get undefined symbols. So assume we have SM if we have ICE.
5335 # These have to be linked with before -lX11, unlike the other
5336 # libraries we check for below, so use a different variable.
5337 # John Interrante, Karl Berry
5338 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5339 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5340 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 else
5343 ac_check_lib_save_LIBS=$LIBS
5344 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5345 cat >conftest.$ac_ext <<_ACEOF
5346 /* confdefs.h. */
5347 _ACEOF
5348 cat confdefs.h >>conftest.$ac_ext
5349 cat >>conftest.$ac_ext <<_ACEOF
5350 /* end confdefs.h. */
5352 /* Override any GCC internal prototype to avoid an error.
5353 Use char because int might match the return type of a GCC
5354 builtin and then its argument prototype would still apply. */
5355 #ifdef __cplusplus
5356 extern "C"
5357 #endif
5358 char IceConnectionNumber ();
5360 main ()
5362 return IceConnectionNumber ();
5364 return 0;
5366 _ACEOF
5367 rm -f conftest.$ac_objext conftest$ac_exeext
5368 if { (ac_try="$ac_link"
5369 case "(($ac_try" in
5370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5371 *) ac_try_echo=$ac_try;;
5372 esac
5373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5374 (eval "$ac_link") 2>conftest.er1
5375 ac_status=$?
5376 grep -v '^ *+' conftest.er1 >conftest.err
5377 rm -f conftest.er1
5378 cat conftest.err >&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } &&
5381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5382 { (case "(($ac_try" in
5383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5384 *) ac_try_echo=$ac_try;;
5385 esac
5386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5387 (eval "$ac_try") 2>&5
5388 ac_status=$?
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); }; } &&
5391 { ac_try='test -s conftest$ac_exeext'
5392 { (case "(($ac_try" in
5393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5394 *) ac_try_echo=$ac_try;;
5395 esac
5396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5397 (eval "$ac_try") 2>&5
5398 ac_status=$?
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; }; then
5401 ac_cv_lib_ICE_IceConnectionNumber=yes
5402 else
5403 echo "$as_me: failed program was:" >&5
5404 sed 's/^/| /' conftest.$ac_ext >&5
5406 ac_cv_lib_ICE_IceConnectionNumber=no
5409 rm -f core conftest.err conftest.$ac_objext \
5410 conftest$ac_exeext conftest.$ac_ext
5411 LIBS=$ac_check_lib_save_LIBS
5413 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5414 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5415 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5416 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5419 LDFLAGS=$ac_save_LDFLAGS
5423 for ac_prog in flex lex
5425 # Extract the first word of "$ac_prog", so it can be a program name with args.
5426 set dummy $ac_prog; ac_word=$2
5427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5429 if test "${ac_cv_prog_LEX+set}" = set; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 else
5432 if test -n "$LEX"; then
5433 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5434 else
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436 for as_dir in $PATH
5438 IFS=$as_save_IFS
5439 test -z "$as_dir" && as_dir=.
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5442 ac_cv_prog_LEX="$ac_prog"
5443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5444 break 2
5446 done
5447 done
5448 IFS=$as_save_IFS
5452 LEX=$ac_cv_prog_LEX
5453 if test -n "$LEX"; then
5454 { echo "$as_me:$LINENO: result: $LEX" >&5
5455 echo "${ECHO_T}$LEX" >&6; }
5456 else
5457 { echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6; }
5462 test -n "$LEX" && break
5463 done
5464 test -n "$LEX" || LEX=":"
5466 if test -z "$LEXLIB"
5467 then
5468 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5469 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5470 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5472 else
5473 ac_check_lib_save_LIBS=$LIBS
5474 LIBS="-lfl $LIBS"
5475 cat >conftest.$ac_ext <<_ACEOF
5476 /* confdefs.h. */
5477 _ACEOF
5478 cat confdefs.h >>conftest.$ac_ext
5479 cat >>conftest.$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5482 /* Override any GCC internal prototype to avoid an error.
5483 Use char because int might match the return type of a GCC
5484 builtin and then its argument prototype would still apply. */
5485 #ifdef __cplusplus
5486 extern "C"
5487 #endif
5488 char yywrap ();
5490 main ()
5492 return yywrap ();
5494 return 0;
5496 _ACEOF
5497 rm -f conftest.$ac_objext conftest$ac_exeext
5498 if { (ac_try="$ac_link"
5499 case "(($ac_try" in
5500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5501 *) ac_try_echo=$ac_try;;
5502 esac
5503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5504 (eval "$ac_link") 2>conftest.er1
5505 ac_status=$?
5506 grep -v '^ *+' conftest.er1 >conftest.err
5507 rm -f conftest.er1
5508 cat conftest.err >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); } &&
5511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5512 { (case "(($ac_try" in
5513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5514 *) ac_try_echo=$ac_try;;
5515 esac
5516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5517 (eval "$ac_try") 2>&5
5518 ac_status=$?
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; } &&
5521 { ac_try='test -s conftest$ac_exeext'
5522 { (case "(($ac_try" in
5523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5524 *) ac_try_echo=$ac_try;;
5525 esac
5526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5527 (eval "$ac_try") 2>&5
5528 ac_status=$?
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); }; }; then
5531 ac_cv_lib_fl_yywrap=yes
5532 else
5533 echo "$as_me: failed program was:" >&5
5534 sed 's/^/| /' conftest.$ac_ext >&5
5536 ac_cv_lib_fl_yywrap=no
5539 rm -f core conftest.err conftest.$ac_objext \
5540 conftest$ac_exeext conftest.$ac_ext
5541 LIBS=$ac_check_lib_save_LIBS
5543 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5544 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5545 if test $ac_cv_lib_fl_yywrap = yes; then
5546 LEXLIB="-lfl"
5547 else
5548 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5549 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5550 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5552 else
5553 ac_check_lib_save_LIBS=$LIBS
5554 LIBS="-ll $LIBS"
5555 cat >conftest.$ac_ext <<_ACEOF
5556 /* confdefs.h. */
5557 _ACEOF
5558 cat confdefs.h >>conftest.$ac_ext
5559 cat >>conftest.$ac_ext <<_ACEOF
5560 /* end confdefs.h. */
5562 /* Override any GCC internal prototype to avoid an error.
5563 Use char because int might match the return type of a GCC
5564 builtin and then its argument prototype would still apply. */
5565 #ifdef __cplusplus
5566 extern "C"
5567 #endif
5568 char yywrap ();
5570 main ()
5572 return yywrap ();
5574 return 0;
5576 _ACEOF
5577 rm -f conftest.$ac_objext conftest$ac_exeext
5578 if { (ac_try="$ac_link"
5579 case "(($ac_try" in
5580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5581 *) ac_try_echo=$ac_try;;
5582 esac
5583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5584 (eval "$ac_link") 2>conftest.er1
5585 ac_status=$?
5586 grep -v '^ *+' conftest.er1 >conftest.err
5587 rm -f conftest.er1
5588 cat conftest.err >&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); } &&
5591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5592 { (case "(($ac_try" in
5593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5594 *) ac_try_echo=$ac_try;;
5595 esac
5596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5597 (eval "$ac_try") 2>&5
5598 ac_status=$?
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; } &&
5601 { ac_try='test -s conftest$ac_exeext'
5602 { (case "(($ac_try" in
5603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5604 *) ac_try_echo=$ac_try;;
5605 esac
5606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5607 (eval "$ac_try") 2>&5
5608 ac_status=$?
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); }; }; then
5611 ac_cv_lib_l_yywrap=yes
5612 else
5613 echo "$as_me: failed program was:" >&5
5614 sed 's/^/| /' conftest.$ac_ext >&5
5616 ac_cv_lib_l_yywrap=no
5619 rm -f core conftest.err conftest.$ac_objext \
5620 conftest$ac_exeext conftest.$ac_ext
5621 LIBS=$ac_check_lib_save_LIBS
5623 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5624 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5625 if test $ac_cv_lib_l_yywrap = yes; then
5626 LEXLIB="-ll"
5633 if test "x$LEX" != "x:"; then
5634 { echo "$as_me:$LINENO: checking lex output file root" >&5
5635 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5636 if test "${ac_cv_prog_lex_root+set}" = set; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5638 else
5639 # The minimal lex program is just a single line: %%. But some broken lexes
5640 # (Solaris, I think it was) want two %% lines, so accommodate them.
5641 cat >conftest.l <<_ACEOF
5644 _ACEOF
5645 { (ac_try="$LEX conftest.l"
5646 case "(($ac_try" in
5647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5648 *) ac_try_echo=$ac_try;;
5649 esac
5650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5651 (eval "$LEX conftest.l") 2>&5
5652 ac_status=$?
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }
5655 if test -f lex.yy.c; then
5656 ac_cv_prog_lex_root=lex.yy
5657 elif test -f lexyy.c; then
5658 ac_cv_prog_lex_root=lexyy
5659 else
5660 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5661 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5662 { (exit 1); exit 1; }; }
5665 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5666 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5667 rm -f conftest.l
5668 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5670 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5671 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5672 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5673 echo $ECHO_N "(cached) $ECHO_C" >&6
5674 else
5675 # POSIX says lex can declare yytext either as a pointer or an array; the
5676 # default is implementation-dependent. Figure out which it is, since
5677 # not all implementations provide the %pointer and %array declarations.
5678 ac_cv_prog_lex_yytext_pointer=no
5679 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5680 ac_save_LIBS=$LIBS
5681 LIBS="$LIBS $LEXLIB"
5682 cat >conftest.$ac_ext <<_ACEOF
5683 `cat $LEX_OUTPUT_ROOT.c`
5684 _ACEOF
5685 rm -f conftest.$ac_objext conftest$ac_exeext
5686 if { (ac_try="$ac_link"
5687 case "(($ac_try" in
5688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5689 *) ac_try_echo=$ac_try;;
5690 esac
5691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5692 (eval "$ac_link") 2>conftest.er1
5693 ac_status=$?
5694 grep -v '^ *+' conftest.er1 >conftest.err
5695 rm -f conftest.er1
5696 cat conftest.err >&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); } &&
5699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5700 { (case "(($ac_try" in
5701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5702 *) ac_try_echo=$ac_try;;
5703 esac
5704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5705 (eval "$ac_try") 2>&5
5706 ac_status=$?
5707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); }; } &&
5709 { ac_try='test -s conftest$ac_exeext'
5710 { (case "(($ac_try" in
5711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5712 *) ac_try_echo=$ac_try;;
5713 esac
5714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5715 (eval "$ac_try") 2>&5
5716 ac_status=$?
5717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); }; }; then
5719 ac_cv_prog_lex_yytext_pointer=yes
5720 else
5721 echo "$as_me: failed program was:" >&5
5722 sed 's/^/| /' conftest.$ac_ext >&5
5727 rm -f core conftest.err conftest.$ac_objext \
5728 conftest$ac_exeext conftest.$ac_ext
5729 LIBS=$ac_save_LIBS
5730 rm -f "${LEX_OUTPUT_ROOT}.c"
5733 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5734 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5735 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5737 cat >>confdefs.h <<\_ACEOF
5738 #define YYTEXT_POINTER 1
5739 _ACEOF
5745 for ac_prog in $LEX flex lex
5747 # Extract the first word of "$ac_prog", so it can be a program name with args.
5748 set dummy $ac_prog; ac_word=$2
5749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5751 if test "${ac_cv_prog_XLEX+set}" = set; then
5752 echo $ECHO_N "(cached) $ECHO_C" >&6
5753 else
5754 if test -n "$XLEX"; then
5755 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5756 else
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5758 for as_dir in $PATH
5760 IFS=$as_save_IFS
5761 test -z "$as_dir" && as_dir=.
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5764 ac_cv_prog_XLEX="$ac_prog"
5765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 break 2
5768 done
5769 done
5770 IFS=$as_save_IFS
5774 XLEX=$ac_cv_prog_XLEX
5775 if test -n "$XLEX"; then
5776 { echo "$as_me:$LINENO: result: $XLEX" >&5
5777 echo "${ECHO_T}$XLEX" >&6; }
5778 else
5779 { echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6; }
5784 test -n "$XLEX" && break
5785 done
5786 test -n "$XLEX" || XLEX="none"
5788 if test "$XLEX" = "none"
5789 then
5790 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5791 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5792 { (exit 1); exit 1; }; }
5795 for ac_prog in bison
5797 # Extract the first word of "$ac_prog", so it can be a program name with args.
5798 set dummy $ac_prog; ac_word=$2
5799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5801 if test "${ac_cv_prog_BISON+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5803 else
5804 if test -n "$BISON"; then
5805 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5806 else
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 for as_dir in $PATH
5810 IFS=$as_save_IFS
5811 test -z "$as_dir" && as_dir=.
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5814 ac_cv_prog_BISON="$ac_prog"
5815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 break 2
5818 done
5819 done
5820 IFS=$as_save_IFS
5824 BISON=$ac_cv_prog_BISON
5825 if test -n "$BISON"; then
5826 { echo "$as_me:$LINENO: result: $BISON" >&5
5827 echo "${ECHO_T}$BISON" >&6; }
5828 else
5829 { echo "$as_me:$LINENO: result: no" >&5
5830 echo "${ECHO_T}no" >&6; }
5834 test -n "$BISON" && break
5835 done
5836 test -n "$BISON" || BISON="none"
5838 if test "$BISON" = "none"
5839 then
5840 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5841 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5842 { (exit 1); exit 1; }; }
5845 if test -n "$ac_tool_prefix"; then
5846 for ac_prog in gas as
5848 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5849 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5852 if test "${ac_cv_prog_AS+set}" = set; then
5853 echo $ECHO_N "(cached) $ECHO_C" >&6
5854 else
5855 if test -n "$AS"; then
5856 ac_cv_prog_AS="$AS" # Let the user override the test.
5857 else
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5859 for as_dir in $PATH
5861 IFS=$as_save_IFS
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5865 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5867 break 2
5869 done
5870 done
5871 IFS=$as_save_IFS
5875 AS=$ac_cv_prog_AS
5876 if test -n "$AS"; then
5877 { echo "$as_me:$LINENO: result: $AS" >&5
5878 echo "${ECHO_T}$AS" >&6; }
5879 else
5880 { echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6; }
5885 test -n "$AS" && break
5886 done
5888 if test -z "$AS"; then
5889 ac_ct_AS=$AS
5890 for ac_prog in gas as
5892 # Extract the first word of "$ac_prog", so it can be a program name with args.
5893 set dummy $ac_prog; ac_word=$2
5894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5896 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5897 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 else
5899 if test -n "$ac_ct_AS"; then
5900 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5901 else
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 for as_dir in $PATH
5905 IFS=$as_save_IFS
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5909 ac_cv_prog_ac_ct_AS="$ac_prog"
5910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 break 2
5913 done
5914 done
5915 IFS=$as_save_IFS
5919 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5920 if test -n "$ac_ct_AS"; then
5921 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5922 echo "${ECHO_T}$ac_ct_AS" >&6; }
5923 else
5924 { echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6; }
5929 test -n "$ac_ct_AS" && break
5930 done
5932 if test "x$ac_ct_AS" = x; then
5933 AS="as"
5934 else
5935 case $cross_compiling:$ac_tool_warned in
5936 yes:)
5937 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5938 whose name does not start with the host triplet. If you think this
5939 configuration is useful to you, please write to autoconf@gnu.org." >&5
5940 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5941 whose name does not start with the host triplet. If you think this
5942 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5943 ac_tool_warned=yes ;;
5944 esac
5945 AS=$ac_ct_AS
5949 if test -n "$ac_tool_prefix"; then
5950 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5951 set dummy ${ac_tool_prefix}ld; ac_word=$2
5952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5954 if test "${ac_cv_prog_LD+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 else
5957 if test -n "$LD"; then
5958 ac_cv_prog_LD="$LD" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5963 IFS=$as_save_IFS
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 ac_cv_prog_LD="${ac_tool_prefix}ld"
5968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 break 2
5971 done
5972 done
5973 IFS=$as_save_IFS
5977 LD=$ac_cv_prog_LD
5978 if test -n "$LD"; then
5979 { echo "$as_me:$LINENO: result: $LD" >&5
5980 echo "${ECHO_T}$LD" >&6; }
5981 else
5982 { echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6; }
5988 if test -z "$ac_cv_prog_LD"; then
5989 ac_ct_LD=$LD
5990 # Extract the first word of "ld", so it can be a program name with args.
5991 set dummy ld; ac_word=$2
5992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5994 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5995 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 else
5997 if test -n "$ac_ct_LD"; then
5998 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5999 else
6000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001 for as_dir in $PATH
6003 IFS=$as_save_IFS
6004 test -z "$as_dir" && as_dir=.
6005 for ac_exec_ext in '' $ac_executable_extensions; do
6006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6007 ac_cv_prog_ac_ct_LD="ld"
6008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6009 break 2
6011 done
6012 done
6013 IFS=$as_save_IFS
6017 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6018 if test -n "$ac_ct_LD"; then
6019 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6020 echo "${ECHO_T}$ac_ct_LD" >&6; }
6021 else
6022 { echo "$as_me:$LINENO: result: no" >&5
6023 echo "${ECHO_T}no" >&6; }
6026 if test "x$ac_ct_LD" = x; then
6027 LD="ld"
6028 else
6029 case $cross_compiling:$ac_tool_warned in
6030 yes:)
6031 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6032 whose name does not start with the host triplet. If you think this
6033 configuration is useful to you, please write to autoconf@gnu.org." >&5
6034 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6035 whose name does not start with the host triplet. If you think this
6036 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6037 ac_tool_warned=yes ;;
6038 esac
6039 LD=$ac_ct_LD
6041 else
6042 LD="$ac_cv_prog_LD"
6045 if test -n "$ac_tool_prefix"; then
6046 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6047 set dummy ${ac_tool_prefix}ar; ac_word=$2
6048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6050 if test "${ac_cv_prog_AR+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 else
6053 if test -n "$AR"; then
6054 ac_cv_prog_AR="$AR" # Let the user override the test.
6055 else
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6057 for as_dir in $PATH
6059 IFS=$as_save_IFS
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_AR="${ac_tool_prefix}ar"
6064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 break 2
6067 done
6068 done
6069 IFS=$as_save_IFS
6073 AR=$ac_cv_prog_AR
6074 if test -n "$AR"; then
6075 { echo "$as_me:$LINENO: result: $AR" >&5
6076 echo "${ECHO_T}$AR" >&6; }
6077 else
6078 { echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6; }
6084 if test -z "$ac_cv_prog_AR"; then
6085 ac_ct_AR=$AR
6086 # Extract the first word of "ar", so it can be a program name with args.
6087 set dummy ar; ac_word=$2
6088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6090 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6091 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 else
6093 if test -n "$ac_ct_AR"; then
6094 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6095 else
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6097 for as_dir in $PATH
6099 IFS=$as_save_IFS
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6103 ac_cv_prog_ac_ct_AR="ar"
6104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6105 break 2
6107 done
6108 done
6109 IFS=$as_save_IFS
6113 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6114 if test -n "$ac_ct_AR"; then
6115 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6116 echo "${ECHO_T}$ac_ct_AR" >&6; }
6117 else
6118 { echo "$as_me:$LINENO: result: no" >&5
6119 echo "${ECHO_T}no" >&6; }
6122 if test "x$ac_ct_AR" = x; then
6123 AR="ar"
6124 else
6125 case $cross_compiling:$ac_tool_warned in
6126 yes:)
6127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6128 whose name does not start with the host triplet. If you think this
6129 configuration is useful to you, please write to autoconf@gnu.org." >&5
6130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6131 whose name does not start with the host triplet. If you think this
6132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6133 ac_tool_warned=yes ;;
6134 esac
6135 AR=$ac_ct_AR
6137 else
6138 AR="$ac_cv_prog_AR"
6141 if test -n "$ac_tool_prefix"; then
6142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6143 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6146 if test "${ac_cv_prog_RANLIB+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6148 else
6149 if test -n "$RANLIB"; then
6150 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6151 else
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153 for as_dir in $PATH
6155 IFS=$as_save_IFS
6156 test -z "$as_dir" && as_dir=.
6157 for ac_exec_ext in '' $ac_executable_extensions; do
6158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6159 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 break 2
6163 done
6164 done
6165 IFS=$as_save_IFS
6169 RANLIB=$ac_cv_prog_RANLIB
6170 if test -n "$RANLIB"; then
6171 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6172 echo "${ECHO_T}$RANLIB" >&6; }
6173 else
6174 { echo "$as_me:$LINENO: result: no" >&5
6175 echo "${ECHO_T}no" >&6; }
6180 if test -z "$ac_cv_prog_RANLIB"; then
6181 ac_ct_RANLIB=$RANLIB
6182 # Extract the first word of "ranlib", so it can be a program name with args.
6183 set dummy ranlib; ac_word=$2
6184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6186 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6187 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 else
6189 if test -n "$ac_ct_RANLIB"; then
6190 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6191 else
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 for as_dir in $PATH
6195 IFS=$as_save_IFS
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 ac_cv_prog_ac_ct_RANLIB="ranlib"
6200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 break 2
6203 done
6204 done
6205 IFS=$as_save_IFS
6209 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6210 if test -n "$ac_ct_RANLIB"; then
6211 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6212 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6213 else
6214 { echo "$as_me:$LINENO: result: no" >&5
6215 echo "${ECHO_T}no" >&6; }
6218 if test "x$ac_ct_RANLIB" = x; then
6219 RANLIB=":"
6220 else
6221 case $cross_compiling:$ac_tool_warned in
6222 yes:)
6223 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6224 whose name does not start with the host triplet. If you think this
6225 configuration is useful to you, please write to autoconf@gnu.org." >&5
6226 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6227 whose name does not start with the host triplet. If you think this
6228 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6229 ac_tool_warned=yes ;;
6230 esac
6231 RANLIB=$ac_ct_RANLIB
6233 else
6234 RANLIB="$ac_cv_prog_RANLIB"
6237 if test -n "$ac_tool_prefix"; then
6238 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6239 set dummy ${ac_tool_prefix}strip; ac_word=$2
6240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6242 if test "${ac_cv_prog_STRIP+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 else
6245 if test -n "$STRIP"; then
6246 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6247 else
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6259 done
6260 done
6261 IFS=$as_save_IFS
6265 STRIP=$ac_cv_prog_STRIP
6266 if test -n "$STRIP"; then
6267 { echo "$as_me:$LINENO: result: $STRIP" >&5
6268 echo "${ECHO_T}$STRIP" >&6; }
6269 else
6270 { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6276 if test -z "$ac_cv_prog_STRIP"; then
6277 ac_ct_STRIP=$STRIP
6278 # Extract the first word of "strip", so it can be a program name with args.
6279 set dummy strip; ac_word=$2
6280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6282 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6284 else
6285 if test -n "$ac_ct_STRIP"; then
6286 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6287 else
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 for as_dir in $PATH
6291 IFS=$as_save_IFS
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6295 ac_cv_prog_ac_ct_STRIP="strip"
6296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 break 2
6299 done
6300 done
6301 IFS=$as_save_IFS
6305 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6306 if test -n "$ac_ct_STRIP"; then
6307 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6308 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6309 else
6310 { echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6; }
6314 if test "x$ac_ct_STRIP" = x; then
6315 STRIP="strip"
6316 else
6317 case $cross_compiling:$ac_tool_warned in
6318 yes:)
6319 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6320 whose name does not start with the host triplet. If you think this
6321 configuration is useful to you, please write to autoconf@gnu.org." >&5
6322 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6323 whose name does not start with the host triplet. If you think this
6324 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6325 ac_tool_warned=yes ;;
6326 esac
6327 STRIP=$ac_ct_STRIP
6329 else
6330 STRIP="$ac_cv_prog_STRIP"
6333 if test -n "$ac_tool_prefix"; then
6334 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6335 set dummy ${ac_tool_prefix}windres; ac_word=$2
6336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6338 if test "${ac_cv_prog_WINDRES+set}" = set; then
6339 echo $ECHO_N "(cached) $ECHO_C" >&6
6340 else
6341 if test -n "$WINDRES"; then
6342 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6343 else
6344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6345 for as_dir in $PATH
6347 IFS=$as_save_IFS
6348 test -z "$as_dir" && as_dir=.
6349 for ac_exec_ext in '' $ac_executable_extensions; do
6350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6351 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6353 break 2
6355 done
6356 done
6357 IFS=$as_save_IFS
6361 WINDRES=$ac_cv_prog_WINDRES
6362 if test -n "$WINDRES"; then
6363 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6364 echo "${ECHO_T}$WINDRES" >&6; }
6365 else
6366 { echo "$as_me:$LINENO: result: no" >&5
6367 echo "${ECHO_T}no" >&6; }
6372 if test -z "$ac_cv_prog_WINDRES"; then
6373 ac_ct_WINDRES=$WINDRES
6374 # Extract the first word of "windres", so it can be a program name with args.
6375 set dummy windres; ac_word=$2
6376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6378 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6380 else
6381 if test -n "$ac_ct_WINDRES"; then
6382 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6383 else
6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385 for as_dir in $PATH
6387 IFS=$as_save_IFS
6388 test -z "$as_dir" && as_dir=.
6389 for ac_exec_ext in '' $ac_executable_extensions; do
6390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6391 ac_cv_prog_ac_ct_WINDRES="windres"
6392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6393 break 2
6395 done
6396 done
6397 IFS=$as_save_IFS
6401 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6402 if test -n "$ac_ct_WINDRES"; then
6403 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6404 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6405 else
6406 { echo "$as_me:$LINENO: result: no" >&5
6407 echo "${ECHO_T}no" >&6; }
6410 if test "x$ac_ct_WINDRES" = x; then
6411 WINDRES="false"
6412 else
6413 case $cross_compiling:$ac_tool_warned in
6414 yes:)
6415 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6416 whose name does not start with the host triplet. If you think this
6417 configuration is useful to you, please write to autoconf@gnu.org." >&5
6418 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6419 whose name does not start with the host triplet. If you think this
6420 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6421 ac_tool_warned=yes ;;
6422 esac
6423 WINDRES=$ac_ct_WINDRES
6425 else
6426 WINDRES="$ac_cv_prog_WINDRES"
6429 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6430 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6431 LN_S=$as_ln_s
6432 if test "$LN_S" = "ln -s"; then
6433 { echo "$as_me:$LINENO: result: yes" >&5
6434 echo "${ECHO_T}yes" >&6; }
6435 else
6436 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6437 echo "${ECHO_T}no, using $LN_S" >&6; }
6440 { echo "$as_me:$LINENO: checking whether ln works" >&5
6441 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6442 rm -f conf$$ conf$$.file
6443 echo >conf$$.file
6444 if ln conf$$.file conf$$ 2>/dev/null; then
6445 LN=ln
6447 { echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6; }
6449 else
6450 LN="cp -p"
6452 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6453 echo "${ECHO_T}no, using $LN" >&6; }
6455 rm -f conf$$ conf$$.file
6456 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6457 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6458 if test "${ac_cv_path_GREP+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6460 else
6461 # Extract the first word of "grep ggrep" to use in msg output
6462 if test -z "$GREP"; then
6463 set dummy grep ggrep; ac_prog_name=$2
6464 if test "${ac_cv_path_GREP+set}" = set; then
6465 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 else
6467 ac_path_GREP_found=false
6468 # Loop through the user's path and test for each of PROGNAME-LIST
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6472 IFS=$as_save_IFS
6473 test -z "$as_dir" && as_dir=.
6474 for ac_prog in grep ggrep; do
6475 for ac_exec_ext in '' $ac_executable_extensions; do
6476 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6477 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6478 # Check for GNU ac_path_GREP and select it if it is found.
6479 # Check for GNU $ac_path_GREP
6480 case `"$ac_path_GREP" --version 2>&1` in
6481 *GNU*)
6482 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6484 ac_count=0
6485 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6486 while :
6488 cat "conftest.in" "conftest.in" >"conftest.tmp"
6489 mv "conftest.tmp" "conftest.in"
6490 cp "conftest.in" "conftest.nl"
6491 echo 'GREP' >> "conftest.nl"
6492 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6493 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6494 ac_count=`expr $ac_count + 1`
6495 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6496 # Best one so far, save it but keep looking for a better one
6497 ac_cv_path_GREP="$ac_path_GREP"
6498 ac_path_GREP_max=$ac_count
6500 # 10*(2^10) chars as input seems more than enough
6501 test $ac_count -gt 10 && break
6502 done
6503 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6504 esac
6507 $ac_path_GREP_found && break 3
6508 done
6509 done
6511 done
6512 IFS=$as_save_IFS
6517 GREP="$ac_cv_path_GREP"
6518 if test -z "$GREP"; then
6519 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6520 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6521 { (exit 1); exit 1; }; }
6524 else
6525 ac_cv_path_GREP=$GREP
6530 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6531 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6532 GREP="$ac_cv_path_GREP"
6535 { echo "$as_me:$LINENO: checking for egrep" >&5
6536 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6537 if test "${ac_cv_path_EGREP+set}" = set; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 else
6540 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6541 then ac_cv_path_EGREP="$GREP -E"
6542 else
6543 # Extract the first word of "egrep" to use in msg output
6544 if test -z "$EGREP"; then
6545 set dummy egrep; ac_prog_name=$2
6546 if test "${ac_cv_path_EGREP+set}" = set; then
6547 echo $ECHO_N "(cached) $ECHO_C" >&6
6548 else
6549 ac_path_EGREP_found=false
6550 # Loop through the user's path and test for each of PROGNAME-LIST
6551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6552 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6554 IFS=$as_save_IFS
6555 test -z "$as_dir" && as_dir=.
6556 for ac_prog in egrep; do
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6559 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6560 # Check for GNU ac_path_EGREP and select it if it is found.
6561 # Check for GNU $ac_path_EGREP
6562 case `"$ac_path_EGREP" --version 2>&1` in
6563 *GNU*)
6564 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6566 ac_count=0
6567 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6568 while :
6570 cat "conftest.in" "conftest.in" >"conftest.tmp"
6571 mv "conftest.tmp" "conftest.in"
6572 cp "conftest.in" "conftest.nl"
6573 echo 'EGREP' >> "conftest.nl"
6574 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6575 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6576 ac_count=`expr $ac_count + 1`
6577 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6578 # Best one so far, save it but keep looking for a better one
6579 ac_cv_path_EGREP="$ac_path_EGREP"
6580 ac_path_EGREP_max=$ac_count
6582 # 10*(2^10) chars as input seems more than enough
6583 test $ac_count -gt 10 && break
6584 done
6585 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6586 esac
6589 $ac_path_EGREP_found && break 3
6590 done
6591 done
6593 done
6594 IFS=$as_save_IFS
6599 EGREP="$ac_cv_path_EGREP"
6600 if test -z "$EGREP"; then
6601 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6602 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6603 { (exit 1); exit 1; }; }
6606 else
6607 ac_cv_path_EGREP=$EGREP
6613 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6614 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6615 EGREP="$ac_cv_path_EGREP"
6618 # Extract the first word of "ldconfig", so it can be a program name with args.
6619 set dummy ldconfig; ac_word=$2
6620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6622 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6624 else
6625 case $LDCONFIG in
6626 [\\/]* | ?:[\\/]*)
6627 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 for as_dir in /sbin /usr/sbin $PATH
6633 IFS=$as_save_IFS
6634 test -z "$as_dir" && as_dir=.
6635 for ac_exec_ext in '' $ac_executable_extensions; do
6636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6637 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 break 2
6641 done
6642 done
6643 IFS=$as_save_IFS
6645 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6647 esac
6649 LDCONFIG=$ac_cv_path_LDCONFIG
6650 if test -n "$LDCONFIG"; then
6651 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6652 echo "${ECHO_T}$LDCONFIG" >&6; }
6653 else
6654 { echo "$as_me:$LINENO: result: no" >&5
6655 echo "${ECHO_T}no" >&6; }
6659 # Find a good install program. We prefer a C program (faster),
6660 # so one script is as good as another. But avoid the broken or
6661 # incompatible versions:
6662 # SysV /etc/install, /usr/sbin/install
6663 # SunOS /usr/etc/install
6664 # IRIX /sbin/install
6665 # AIX /bin/install
6666 # AmigaOS /C/install, which installs bootblocks on floppy discs
6667 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6668 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6669 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6670 # OS/2's system install, which has a completely different semantic
6671 # ./install, which can be erroneously created by make from ./install.sh.
6672 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6673 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6674 if test -z "$INSTALL"; then
6675 if test "${ac_cv_path_install+set}" = set; then
6676 echo $ECHO_N "(cached) $ECHO_C" >&6
6677 else
6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6679 for as_dir in $PATH
6681 IFS=$as_save_IFS
6682 test -z "$as_dir" && as_dir=.
6683 # Account for people who put trailing slashes in PATH elements.
6684 case $as_dir/ in
6685 ./ | .// | /cC/* | \
6686 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6687 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6688 /usr/ucb/* ) ;;
6690 # OSF1 and SCO ODT 3.0 have their own names for install.
6691 # Don't use installbsd from OSF since it installs stuff as root
6692 # by default.
6693 for ac_prog in ginstall scoinst install; do
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6696 if test $ac_prog = install &&
6697 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6698 # AIX install. It has an incompatible calling convention.
6700 elif test $ac_prog = install &&
6701 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6702 # program-specific install script used by HP pwplus--don't use.
6704 else
6705 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6706 break 3
6709 done
6710 done
6712 esac
6713 done
6714 IFS=$as_save_IFS
6718 if test "${ac_cv_path_install+set}" = set; then
6719 INSTALL=$ac_cv_path_install
6720 else
6721 # As a last resort, use the slow shell script. Don't cache a
6722 # value for INSTALL within a source directory, because that will
6723 # break other packages using the cache if that directory is
6724 # removed, or if the value is a relative name.
6725 INSTALL=$ac_install_sh
6728 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6729 echo "${ECHO_T}$INSTALL" >&6; }
6731 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6732 # It thinks the first close brace ends the variable substitution.
6733 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6735 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6737 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6739 case "$INSTALL" in
6740 [\\/$]* | ?:[\\/]* ) ;;
6741 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6742 esac
6744 for ac_prog in lclint lint
6746 # Extract the first word of "$ac_prog", so it can be a program name with args.
6747 set dummy $ac_prog; ac_word=$2
6748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6750 if test "${ac_cv_prog_LINT+set}" = set; then
6751 echo $ECHO_N "(cached) $ECHO_C" >&6
6752 else
6753 if test -n "$LINT"; then
6754 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6755 else
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 for as_dir in $PATH
6759 IFS=$as_save_IFS
6760 test -z "$as_dir" && as_dir=.
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_LINT="$ac_prog"
6764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6765 break 2
6767 done
6768 done
6769 IFS=$as_save_IFS
6773 LINT=$ac_cv_prog_LINT
6774 if test -n "$LINT"; then
6775 { echo "$as_me:$LINENO: result: $LINT" >&5
6776 echo "${ECHO_T}$LINT" >&6; }
6777 else
6778 { echo "$as_me:$LINENO: result: no" >&5
6779 echo "${ECHO_T}no" >&6; }
6783 test -n "$LINT" && break
6784 done
6786 if test "$LINT" = "lint"
6787 then
6788 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6793 for ac_prog in fontforge
6795 # Extract the first word of "$ac_prog", so it can be a program name with args.
6796 set dummy $ac_prog; ac_word=$2
6797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6799 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 else
6802 if test -n "$FONTFORGE"; then
6803 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6804 else
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806 for as_dir in $PATH
6808 IFS=$as_save_IFS
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6812 ac_cv_prog_FONTFORGE="$ac_prog"
6813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 break 2
6816 done
6817 done
6818 IFS=$as_save_IFS
6822 FONTFORGE=$ac_cv_prog_FONTFORGE
6823 if test -n "$FONTFORGE"; then
6824 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6825 echo "${ECHO_T}$FONTFORGE" >&6; }
6826 else
6827 { echo "$as_me:$LINENO: result: no" >&5
6828 echo "${ECHO_T}no" >&6; }
6832 test -n "$FONTFORGE" && break
6833 done
6834 test -n "$FONTFORGE" || FONTFORGE="false"
6836 for ac_prog in pkg-config
6838 # Extract the first word of "$ac_prog", so it can be a program name with args.
6839 set dummy $ac_prog; ac_word=$2
6840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6842 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6844 else
6845 if test -n "$PKG_CONFIG"; then
6846 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6847 else
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6849 for as_dir in $PATH
6851 IFS=$as_save_IFS
6852 test -z "$as_dir" && as_dir=.
6853 for ac_exec_ext in '' $ac_executable_extensions; do
6854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6855 ac_cv_prog_PKG_CONFIG="$ac_prog"
6856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6857 break 2
6859 done
6860 done
6861 IFS=$as_save_IFS
6865 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6866 if test -n "$PKG_CONFIG"; then
6867 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6868 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6869 else
6870 { echo "$as_me:$LINENO: result: no" >&5
6871 echo "${ECHO_T}no" >&6; }
6875 test -n "$PKG_CONFIG" && break
6876 done
6877 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6880 case $host_cpu in
6881 *i[3456789]86*)
6882 # Extract the first word of "prelink", so it can be a program name with args.
6883 set dummy prelink; ac_word=$2
6884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6886 if test "${ac_cv_path_PRELINK+set}" = set; then
6887 echo $ECHO_N "(cached) $ECHO_C" >&6
6888 else
6889 case $PRELINK in
6890 [\\/]* | ?:[\\/]*)
6891 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6895 for as_dir in /sbin /usr/sbin $PATH
6897 IFS=$as_save_IFS
6898 test -z "$as_dir" && as_dir=.
6899 for ac_exec_ext in '' $ac_executable_extensions; do
6900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6901 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6903 break 2
6905 done
6906 done
6907 IFS=$as_save_IFS
6909 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6911 esac
6913 PRELINK=$ac_cv_path_PRELINK
6914 if test -n "$PRELINK"; then
6915 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6916 echo "${ECHO_T}$PRELINK" >&6; }
6917 else
6918 { echo "$as_me:$LINENO: result: no" >&5
6919 echo "${ECHO_T}no" >&6; }
6924 esac
6928 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6929 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6930 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6931 echo $ECHO_N "(cached) $ECHO_C" >&6
6932 else
6933 ac_check_lib_save_LIBS=$LIBS
6934 LIBS="-li386 $LIBS"
6935 cat >conftest.$ac_ext <<_ACEOF
6936 /* confdefs.h. */
6937 _ACEOF
6938 cat confdefs.h >>conftest.$ac_ext
6939 cat >>conftest.$ac_ext <<_ACEOF
6940 /* end confdefs.h. */
6942 /* Override any GCC internal prototype to avoid an error.
6943 Use char because int might match the return type of a GCC
6944 builtin and then its argument prototype would still apply. */
6945 #ifdef __cplusplus
6946 extern "C"
6947 #endif
6948 char i386_set_ldt ();
6950 main ()
6952 return i386_set_ldt ();
6954 return 0;
6956 _ACEOF
6957 rm -f conftest.$ac_objext conftest$ac_exeext
6958 if { (ac_try="$ac_link"
6959 case "(($ac_try" in
6960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6961 *) ac_try_echo=$ac_try;;
6962 esac
6963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6964 (eval "$ac_link") 2>conftest.er1
6965 ac_status=$?
6966 grep -v '^ *+' conftest.er1 >conftest.err
6967 rm -f conftest.er1
6968 cat conftest.err >&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); } &&
6971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6972 { (case "(($ac_try" in
6973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6974 *) ac_try_echo=$ac_try;;
6975 esac
6976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6977 (eval "$ac_try") 2>&5
6978 ac_status=$?
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; } &&
6981 { ac_try='test -s conftest$ac_exeext'
6982 { (case "(($ac_try" in
6983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6984 *) ac_try_echo=$ac_try;;
6985 esac
6986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6987 (eval "$ac_try") 2>&5
6988 ac_status=$?
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); }; }; then
6991 ac_cv_lib_i386_i386_set_ldt=yes
6992 else
6993 echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.$ac_ext >&5
6996 ac_cv_lib_i386_i386_set_ldt=no
6999 rm -f core conftest.err conftest.$ac_objext \
7000 conftest$ac_exeext conftest.$ac_ext
7001 LIBS=$ac_check_lib_save_LIBS
7003 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7004 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7005 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7006 cat >>confdefs.h <<_ACEOF
7007 #define HAVE_LIBI386 1
7008 _ACEOF
7010 LIBS="-li386 $LIBS"
7015 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7016 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7017 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7018 echo $ECHO_N "(cached) $ECHO_C" >&6
7019 else
7020 ac_check_lib_save_LIBS=$LIBS
7021 LIBS="-lossaudio $LIBS"
7022 cat >conftest.$ac_ext <<_ACEOF
7023 /* confdefs.h. */
7024 _ACEOF
7025 cat confdefs.h >>conftest.$ac_ext
7026 cat >>conftest.$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7029 /* Override any GCC internal prototype to avoid an error.
7030 Use char because int might match the return type of a GCC
7031 builtin and then its argument prototype would still apply. */
7032 #ifdef __cplusplus
7033 extern "C"
7034 #endif
7035 char _oss_ioctl ();
7037 main ()
7039 return _oss_ioctl ();
7041 return 0;
7043 _ACEOF
7044 rm -f conftest.$ac_objext conftest$ac_exeext
7045 if { (ac_try="$ac_link"
7046 case "(($ac_try" in
7047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7048 *) ac_try_echo=$ac_try;;
7049 esac
7050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7051 (eval "$ac_link") 2>conftest.er1
7052 ac_status=$?
7053 grep -v '^ *+' conftest.er1 >conftest.err
7054 rm -f conftest.er1
7055 cat conftest.err >&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); } &&
7058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7059 { (case "(($ac_try" in
7060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7061 *) ac_try_echo=$ac_try;;
7062 esac
7063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7064 (eval "$ac_try") 2>&5
7065 ac_status=$?
7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); }; } &&
7068 { ac_try='test -s conftest$ac_exeext'
7069 { (case "(($ac_try" in
7070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7071 *) ac_try_echo=$ac_try;;
7072 esac
7073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7074 (eval "$ac_try") 2>&5
7075 ac_status=$?
7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077 (exit $ac_status); }; }; then
7078 ac_cv_lib_ossaudio__oss_ioctl=yes
7079 else
7080 echo "$as_me: failed program was:" >&5
7081 sed 's/^/| /' conftest.$ac_ext >&5
7083 ac_cv_lib_ossaudio__oss_ioctl=no
7086 rm -f core conftest.err conftest.$ac_objext \
7087 conftest$ac_exeext conftest.$ac_ext
7088 LIBS=$ac_check_lib_save_LIBS
7090 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7091 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7092 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7093 cat >>confdefs.h <<_ACEOF
7094 #define HAVE_LIBOSSAUDIO 1
7095 _ACEOF
7097 LIBS="-lossaudio $LIBS"
7102 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7103 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7104 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7105 echo $ECHO_N "(cached) $ECHO_C" >&6
7106 else
7107 ac_check_lib_save_LIBS=$LIBS
7108 LIBS="-lxpg4 $LIBS"
7109 cat >conftest.$ac_ext <<_ACEOF
7110 /* confdefs.h. */
7111 _ACEOF
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7116 /* Override any GCC internal prototype to avoid an error.
7117 Use char because int might match the return type of a GCC
7118 builtin and then its argument prototype would still apply. */
7119 #ifdef __cplusplus
7120 extern "C"
7121 #endif
7122 char _xpg4_setrunelocale ();
7124 main ()
7126 return _xpg4_setrunelocale ();
7128 return 0;
7130 _ACEOF
7131 rm -f conftest.$ac_objext conftest$ac_exeext
7132 if { (ac_try="$ac_link"
7133 case "(($ac_try" in
7134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7135 *) ac_try_echo=$ac_try;;
7136 esac
7137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7138 (eval "$ac_link") 2>conftest.er1
7139 ac_status=$?
7140 grep -v '^ *+' conftest.er1 >conftest.err
7141 rm -f conftest.er1
7142 cat conftest.err >&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); } &&
7145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7146 { (case "(($ac_try" in
7147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7148 *) ac_try_echo=$ac_try;;
7149 esac
7150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7151 (eval "$ac_try") 2>&5
7152 ac_status=$?
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try='test -s conftest$ac_exeext'
7156 { (case "(($ac_try" in
7157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7158 *) ac_try_echo=$ac_try;;
7159 esac
7160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7161 (eval "$ac_try") 2>&5
7162 ac_status=$?
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); }; }; then
7165 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7166 else
7167 echo "$as_me: failed program was:" >&5
7168 sed 's/^/| /' conftest.$ac_ext >&5
7170 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7173 rm -f core conftest.err conftest.$ac_objext \
7174 conftest$ac_exeext conftest.$ac_ext
7175 LIBS=$ac_check_lib_save_LIBS
7177 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7178 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7179 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7180 cat >>confdefs.h <<_ACEOF
7181 #define HAVE_LIBXPG4 1
7182 _ACEOF
7184 LIBS="-lxpg4 $LIBS"
7188 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7189 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7190 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7192 else
7193 ac_check_lib_save_LIBS=$LIBS
7194 LIBS="-lpthread $LIBS"
7195 cat >conftest.$ac_ext <<_ACEOF
7196 /* confdefs.h. */
7197 _ACEOF
7198 cat confdefs.h >>conftest.$ac_ext
7199 cat >>conftest.$ac_ext <<_ACEOF
7200 /* end confdefs.h. */
7202 /* Override any GCC internal prototype to avoid an error.
7203 Use char because int might match the return type of a GCC
7204 builtin and then its argument prototype would still apply. */
7205 #ifdef __cplusplus
7206 extern "C"
7207 #endif
7208 char pthread_create ();
7210 main ()
7212 return pthread_create ();
7214 return 0;
7216 _ACEOF
7217 rm -f conftest.$ac_objext conftest$ac_exeext
7218 if { (ac_try="$ac_link"
7219 case "(($ac_try" in
7220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7221 *) ac_try_echo=$ac_try;;
7222 esac
7223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7224 (eval "$ac_link") 2>conftest.er1
7225 ac_status=$?
7226 grep -v '^ *+' conftest.er1 >conftest.err
7227 rm -f conftest.er1
7228 cat conftest.err >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); } &&
7231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7232 { (case "(($ac_try" in
7233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7234 *) ac_try_echo=$ac_try;;
7235 esac
7236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7237 (eval "$ac_try") 2>&5
7238 ac_status=$?
7239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240 (exit $ac_status); }; } &&
7241 { ac_try='test -s conftest$ac_exeext'
7242 { (case "(($ac_try" in
7243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7244 *) ac_try_echo=$ac_try;;
7245 esac
7246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7247 (eval "$ac_try") 2>&5
7248 ac_status=$?
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); }; }; then
7251 ac_cv_lib_pthread_pthread_create=yes
7252 else
7253 echo "$as_me: failed program was:" >&5
7254 sed 's/^/| /' conftest.$ac_ext >&5
7256 ac_cv_lib_pthread_pthread_create=no
7259 rm -f core conftest.err conftest.$ac_objext \
7260 conftest$ac_exeext conftest.$ac_ext
7261 LIBS=$ac_check_lib_save_LIBS
7263 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7264 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7265 if test $ac_cv_lib_pthread_pthread_create = yes; then
7266 LIBPTHREAD="-lpthread"
7271 XLIB=""
7273 XFILES=""
7275 OPENGLFILES=""
7277 GLU32FILES=""
7279 OPENGL_LIBS=""
7283 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7284 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7285 if test "${ac_cv_header_stdc+set}" = set; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7287 else
7288 cat >conftest.$ac_ext <<_ACEOF
7289 /* confdefs.h. */
7290 _ACEOF
7291 cat confdefs.h >>conftest.$ac_ext
7292 cat >>conftest.$ac_ext <<_ACEOF
7293 /* end confdefs.h. */
7294 #include <stdlib.h>
7295 #include <stdarg.h>
7296 #include <string.h>
7297 #include <float.h>
7300 main ()
7304 return 0;
7306 _ACEOF
7307 rm -f conftest.$ac_objext
7308 if { (ac_try="$ac_compile"
7309 case "(($ac_try" in
7310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7311 *) ac_try_echo=$ac_try;;
7312 esac
7313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7314 (eval "$ac_compile") 2>conftest.er1
7315 ac_status=$?
7316 grep -v '^ *+' conftest.er1 >conftest.err
7317 rm -f conftest.er1
7318 cat conftest.err >&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } &&
7321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7322 { (case "(($ac_try" in
7323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7324 *) ac_try_echo=$ac_try;;
7325 esac
7326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7327 (eval "$ac_try") 2>&5
7328 ac_status=$?
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); }; } &&
7331 { ac_try='test -s conftest.$ac_objext'
7332 { (case "(($ac_try" in
7333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7334 *) ac_try_echo=$ac_try;;
7335 esac
7336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7337 (eval "$ac_try") 2>&5
7338 ac_status=$?
7339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); }; }; then
7341 ac_cv_header_stdc=yes
7342 else
7343 echo "$as_me: failed program was:" >&5
7344 sed 's/^/| /' conftest.$ac_ext >&5
7346 ac_cv_header_stdc=no
7349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7351 if test $ac_cv_header_stdc = yes; then
7352 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7353 cat >conftest.$ac_ext <<_ACEOF
7354 /* confdefs.h. */
7355 _ACEOF
7356 cat confdefs.h >>conftest.$ac_ext
7357 cat >>conftest.$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7359 #include <string.h>
7361 _ACEOF
7362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7363 $EGREP "memchr" >/dev/null 2>&1; then
7365 else
7366 ac_cv_header_stdc=no
7368 rm -f conftest*
7372 if test $ac_cv_header_stdc = yes; then
7373 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7374 cat >conftest.$ac_ext <<_ACEOF
7375 /* confdefs.h. */
7376 _ACEOF
7377 cat confdefs.h >>conftest.$ac_ext
7378 cat >>conftest.$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7380 #include <stdlib.h>
7382 _ACEOF
7383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7384 $EGREP "free" >/dev/null 2>&1; then
7386 else
7387 ac_cv_header_stdc=no
7389 rm -f conftest*
7393 if test $ac_cv_header_stdc = yes; then
7394 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7395 if test "$cross_compiling" = yes; then
7397 else
7398 cat >conftest.$ac_ext <<_ACEOF
7399 /* confdefs.h. */
7400 _ACEOF
7401 cat confdefs.h >>conftest.$ac_ext
7402 cat >>conftest.$ac_ext <<_ACEOF
7403 /* end confdefs.h. */
7404 #include <ctype.h>
7405 #include <stdlib.h>
7406 #if ((' ' & 0x0FF) == 0x020)
7407 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7408 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7409 #else
7410 # define ISLOWER(c) \
7411 (('a' <= (c) && (c) <= 'i') \
7412 || ('j' <= (c) && (c) <= 'r') \
7413 || ('s' <= (c) && (c) <= 'z'))
7414 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7415 #endif
7417 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7419 main ()
7421 int i;
7422 for (i = 0; i < 256; i++)
7423 if (XOR (islower (i), ISLOWER (i))
7424 || toupper (i) != TOUPPER (i))
7425 return 2;
7426 return 0;
7428 _ACEOF
7429 rm -f conftest$ac_exeext
7430 if { (ac_try="$ac_link"
7431 case "(($ac_try" in
7432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7433 *) ac_try_echo=$ac_try;;
7434 esac
7435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7436 (eval "$ac_link") 2>&5
7437 ac_status=$?
7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7440 { (case "(($ac_try" in
7441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7442 *) ac_try_echo=$ac_try;;
7443 esac
7444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7445 (eval "$ac_try") 2>&5
7446 ac_status=$?
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; }; then
7450 else
7451 echo "$as_me: program exited with status $ac_status" >&5
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7455 ( exit $ac_status )
7456 ac_cv_header_stdc=no
7458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7464 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7465 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7466 if test $ac_cv_header_stdc = yes; then
7468 cat >>confdefs.h <<\_ACEOF
7469 #define STDC_HEADERS 1
7470 _ACEOF
7474 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7484 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7485 inttypes.h stdint.h unistd.h
7487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7492 else
7493 cat >conftest.$ac_ext <<_ACEOF
7494 /* confdefs.h. */
7495 _ACEOF
7496 cat confdefs.h >>conftest.$ac_ext
7497 cat >>conftest.$ac_ext <<_ACEOF
7498 /* end confdefs.h. */
7499 $ac_includes_default
7501 #include <$ac_header>
7502 _ACEOF
7503 rm -f conftest.$ac_objext
7504 if { (ac_try="$ac_compile"
7505 case "(($ac_try" in
7506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7507 *) ac_try_echo=$ac_try;;
7508 esac
7509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7510 (eval "$ac_compile") 2>conftest.er1
7511 ac_status=$?
7512 grep -v '^ *+' conftest.er1 >conftest.err
7513 rm -f conftest.er1
7514 cat conftest.err >&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } &&
7517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7518 { (case "(($ac_try" in
7519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7520 *) ac_try_echo=$ac_try;;
7521 esac
7522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7523 (eval "$ac_try") 2>&5
7524 ac_status=$?
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; } &&
7527 { ac_try='test -s conftest.$ac_objext'
7528 { (case "(($ac_try" in
7529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7530 *) ac_try_echo=$ac_try;;
7531 esac
7532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7533 (eval "$ac_try") 2>&5
7534 ac_status=$?
7535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536 (exit $ac_status); }; }; then
7537 eval "$as_ac_Header=yes"
7538 else
7539 echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.$ac_ext >&5
7542 eval "$as_ac_Header=no"
7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7547 ac_res=`eval echo '${'$as_ac_Header'}'`
7548 { echo "$as_me:$LINENO: result: $ac_res" >&5
7549 echo "${ECHO_T}$ac_res" >&6; }
7550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7551 cat >>confdefs.h <<_ACEOF
7552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7553 _ACEOF
7557 done
7666 for ac_header in \
7667 AudioUnit/AudioUnit.h \
7668 CoreAudio/CoreAudio.h \
7669 IOKit/IOKitLib.h \
7670 alsa/asoundlib.h \
7671 arpa/inet.h \
7672 arpa/nameser.h \
7673 asm/types.h \
7674 capi20.h \
7675 cups/cups.h \
7676 curses.h \
7677 direct.h \
7678 dlfcn.h \
7679 elf.h \
7680 float.h \
7681 fontconfig/fontconfig.h \
7682 getopt.h \
7683 ieeefp.h \
7684 io.h \
7685 jack/jack.h \
7686 jpeglib.h \
7687 lber.h \
7688 lcms.h \
7689 lcms/lcms.h \
7690 ldap.h \
7691 libaudioio.h \
7692 link.h \
7693 linux/cdrom.h \
7694 linux/compiler.h \
7695 linux/hdreg.h \
7696 linux/input.h \
7697 linux/ioctl.h \
7698 linux/joystick.h \
7699 linux/major.h \
7700 linux/param.h \
7701 linux/serial.h \
7702 linux/ucdrom.h \
7703 mach/machine.h \
7704 machine/cpu.h \
7705 machine/limits.h \
7706 machine/soundcard.h \
7707 mntent.h \
7708 ncurses.h \
7709 netdb.h \
7710 netinet/in.h \
7711 netinet/in_systm.h \
7712 netinet/tcp.h \
7713 netinet/tcp_fsm.h \
7714 openssl/err.h \
7715 openssl/ssl.h \
7716 poll.h \
7717 process.h \
7718 pthread.h \
7719 pwd.h \
7720 regex.h \
7721 sched.h \
7722 scsi/scsi.h \
7723 scsi/scsi_ioctl.h \
7724 scsi/sg.h \
7725 soundcard.h \
7726 stdint.h \
7727 strings.h \
7728 sys/asoundlib.h \
7729 sys/cdio.h \
7730 sys/elf32.h \
7731 sys/epoll.h \
7732 sys/errno.h \
7733 sys/event.h \
7734 sys/exec_elf.h \
7735 sys/filio.h \
7736 sys/ioctl.h \
7737 sys/ipc.h \
7738 sys/limits.h \
7739 sys/link.h \
7740 sys/lwp.h \
7741 sys/mman.h \
7742 sys/modem.h \
7743 sys/msg.h \
7744 sys/mtio.h \
7745 sys/param.h \
7746 sys/poll.h \
7747 sys/prctl.h \
7748 sys/ptrace.h \
7749 sys/reg.h \
7750 sys/resource.h \
7751 sys/scsiio.h \
7752 sys/shm.h \
7753 sys/signal.h \
7754 sys/socket.h \
7755 sys/sockio.h \
7756 sys/soundcard.h \
7757 sys/statvfs.h \
7758 sys/strtio.h \
7759 sys/syscall.h \
7760 sys/sysctl.h \
7761 sys/time.h \
7762 sys/times.h \
7763 sys/uio.h \
7764 sys/un.h \
7765 sys/vm86.h \
7766 sys/wait.h \
7767 syscall.h \
7768 termios.h \
7769 unicode/ubidi.h \
7770 unistd.h \
7771 utime.h \
7772 valgrind/memcheck.h
7775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7777 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7779 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7782 ac_res=`eval echo '${'$as_ac_Header'}'`
7783 { echo "$as_me:$LINENO: result: $ac_res" >&5
7784 echo "${ECHO_T}$ac_res" >&6; }
7785 else
7786 # Is the header compilable?
7787 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7789 cat >conftest.$ac_ext <<_ACEOF
7790 /* confdefs.h. */
7791 _ACEOF
7792 cat confdefs.h >>conftest.$ac_ext
7793 cat >>conftest.$ac_ext <<_ACEOF
7794 /* end confdefs.h. */
7795 $ac_includes_default
7796 #include <$ac_header>
7797 _ACEOF
7798 rm -f conftest.$ac_objext
7799 if { (ac_try="$ac_compile"
7800 case "(($ac_try" in
7801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7802 *) ac_try_echo=$ac_try;;
7803 esac
7804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7805 (eval "$ac_compile") 2>conftest.er1
7806 ac_status=$?
7807 grep -v '^ *+' conftest.er1 >conftest.err
7808 rm -f conftest.er1
7809 cat conftest.err >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); } &&
7812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7813 { (case "(($ac_try" in
7814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7815 *) ac_try_echo=$ac_try;;
7816 esac
7817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7818 (eval "$ac_try") 2>&5
7819 ac_status=$?
7820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7821 (exit $ac_status); }; } &&
7822 { ac_try='test -s conftest.$ac_objext'
7823 { (case "(($ac_try" in
7824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7825 *) ac_try_echo=$ac_try;;
7826 esac
7827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7828 (eval "$ac_try") 2>&5
7829 ac_status=$?
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); }; }; then
7832 ac_header_compiler=yes
7833 else
7834 echo "$as_me: failed program was:" >&5
7835 sed 's/^/| /' conftest.$ac_ext >&5
7837 ac_header_compiler=no
7840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7841 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7842 echo "${ECHO_T}$ac_header_compiler" >&6; }
7844 # Is the header present?
7845 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7847 cat >conftest.$ac_ext <<_ACEOF
7848 /* confdefs.h. */
7849 _ACEOF
7850 cat confdefs.h >>conftest.$ac_ext
7851 cat >>conftest.$ac_ext <<_ACEOF
7852 /* end confdefs.h. */
7853 #include <$ac_header>
7854 _ACEOF
7855 if { (ac_try="$ac_cpp conftest.$ac_ext"
7856 case "(($ac_try" in
7857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7858 *) ac_try_echo=$ac_try;;
7859 esac
7860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7862 ac_status=$?
7863 grep -v '^ *+' conftest.er1 >conftest.err
7864 rm -f conftest.er1
7865 cat conftest.err >&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); } >/dev/null; then
7868 if test -s conftest.err; then
7869 ac_cpp_err=$ac_c_preproc_warn_flag
7870 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7871 else
7872 ac_cpp_err=
7874 else
7875 ac_cpp_err=yes
7877 if test -z "$ac_cpp_err"; then
7878 ac_header_preproc=yes
7879 else
7880 echo "$as_me: failed program was:" >&5
7881 sed 's/^/| /' conftest.$ac_ext >&5
7883 ac_header_preproc=no
7886 rm -f conftest.err conftest.$ac_ext
7887 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7888 echo "${ECHO_T}$ac_header_preproc" >&6; }
7890 # So? What about this header?
7891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7892 yes:no: )
7893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7897 ac_header_preproc=yes
7899 no:yes:* )
7900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7912 ( cat <<\_ASBOX
7913 ## ------------------------------------ ##
7914 ## Report this to wine-devel@winehq.org ##
7915 ## ------------------------------------ ##
7916 _ASBOX
7917 ) | sed "s/^/$as_me: WARNING: /" >&2
7919 esac
7920 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7924 else
7925 eval "$as_ac_Header=\$ac_header_preproc"
7927 ac_res=`eval echo '${'$as_ac_Header'}'`
7928 { echo "$as_me:$LINENO: result: $ac_res" >&5
7929 echo "${ECHO_T}$ac_res" >&6; }
7932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7933 cat >>confdefs.h <<_ACEOF
7934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7935 _ACEOF
7939 done
7941 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7942 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7943 if test "${ac_cv_header_stat_broken+set}" = set; then
7944 echo $ECHO_N "(cached) $ECHO_C" >&6
7945 else
7946 cat >conftest.$ac_ext <<_ACEOF
7947 /* confdefs.h. */
7948 _ACEOF
7949 cat confdefs.h >>conftest.$ac_ext
7950 cat >>conftest.$ac_ext <<_ACEOF
7951 /* end confdefs.h. */
7952 #include <sys/types.h>
7953 #include <sys/stat.h>
7955 #if defined S_ISBLK && defined S_IFDIR
7956 # if S_ISBLK (S_IFDIR)
7957 You lose.
7958 # endif
7959 #endif
7961 #if defined S_ISBLK && defined S_IFCHR
7962 # if S_ISBLK (S_IFCHR)
7963 You lose.
7964 # endif
7965 #endif
7967 #if defined S_ISLNK && defined S_IFREG
7968 # if S_ISLNK (S_IFREG)
7969 You lose.
7970 # endif
7971 #endif
7973 #if defined S_ISSOCK && defined S_IFREG
7974 # if S_ISSOCK (S_IFREG)
7975 You lose.
7976 # endif
7977 #endif
7979 _ACEOF
7980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7981 $EGREP "You lose" >/dev/null 2>&1; then
7982 ac_cv_header_stat_broken=yes
7983 else
7984 ac_cv_header_stat_broken=no
7986 rm -f conftest*
7989 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7990 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7991 if test $ac_cv_header_stat_broken = yes; then
7993 cat >>confdefs.h <<\_ACEOF
7994 #define STAT_MACROS_BROKEN 1
7995 _ACEOF
8005 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8012 else
8013 cat >conftest.$ac_ext <<_ACEOF
8014 /* confdefs.h. */
8015 _ACEOF
8016 cat confdefs.h >>conftest.$ac_ext
8017 cat >>conftest.$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8019 #include <sys/types.h>
8020 #if HAVE_SYS_PARAM_H
8021 # include <sys/param.h>
8022 #endif
8024 #include <$ac_header>
8025 _ACEOF
8026 rm -f conftest.$ac_objext
8027 if { (ac_try="$ac_compile"
8028 case "(($ac_try" in
8029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8030 *) ac_try_echo=$ac_try;;
8031 esac
8032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8033 (eval "$ac_compile") 2>conftest.er1
8034 ac_status=$?
8035 grep -v '^ *+' conftest.er1 >conftest.err
8036 rm -f conftest.er1
8037 cat conftest.err >&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } &&
8040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8041 { (case "(($ac_try" in
8042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8043 *) ac_try_echo=$ac_try;;
8044 esac
8045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8046 (eval "$ac_try") 2>&5
8047 ac_status=$?
8048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049 (exit $ac_status); }; } &&
8050 { ac_try='test -s conftest.$ac_objext'
8051 { (case "(($ac_try" in
8052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8053 *) ac_try_echo=$ac_try;;
8054 esac
8055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8056 (eval "$ac_try") 2>&5
8057 ac_status=$?
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); }; }; then
8060 eval "$as_ac_Header=yes"
8061 else
8062 echo "$as_me: failed program was:" >&5
8063 sed 's/^/| /' conftest.$ac_ext >&5
8065 eval "$as_ac_Header=no"
8068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8070 ac_res=`eval echo '${'$as_ac_Header'}'`
8071 { echo "$as_me:$LINENO: result: $ac_res" >&5
8072 echo "${ECHO_T}$ac_res" >&6; }
8073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8074 cat >>confdefs.h <<_ACEOF
8075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8076 _ACEOF
8080 done
8089 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
8091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8092 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8096 else
8097 cat >conftest.$ac_ext <<_ACEOF
8098 /* confdefs.h. */
8099 _ACEOF
8100 cat confdefs.h >>conftest.$ac_ext
8101 cat >>conftest.$ac_ext <<_ACEOF
8102 /* end confdefs.h. */
8103 #include <sys/types.h>
8104 #if HAVE_SYS_SOCKET_H
8105 # include <sys/socket.h>
8106 #endif
8108 #include <$ac_header>
8109 _ACEOF
8110 rm -f conftest.$ac_objext
8111 if { (ac_try="$ac_compile"
8112 case "(($ac_try" in
8113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8114 *) ac_try_echo=$ac_try;;
8115 esac
8116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8117 (eval "$ac_compile") 2>conftest.er1
8118 ac_status=$?
8119 grep -v '^ *+' conftest.er1 >conftest.err
8120 rm -f conftest.er1
8121 cat conftest.err >&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); } &&
8124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8125 { (case "(($ac_try" in
8126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8127 *) ac_try_echo=$ac_try;;
8128 esac
8129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8130 (eval "$ac_try") 2>&5
8131 ac_status=$?
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; } &&
8134 { ac_try='test -s conftest.$ac_objext'
8135 { (case "(($ac_try" in
8136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8137 *) ac_try_echo=$ac_try;;
8138 esac
8139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8140 (eval "$ac_try") 2>&5
8141 ac_status=$?
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); }; }; then
8144 eval "$as_ac_Header=yes"
8145 else
8146 echo "$as_me: failed program was:" >&5
8147 sed 's/^/| /' conftest.$ac_ext >&5
8149 eval "$as_ac_Header=no"
8152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8154 ac_res=`eval echo '${'$as_ac_Header'}'`
8155 { echo "$as_me:$LINENO: result: $ac_res" >&5
8156 echo "${ECHO_T}$ac_res" >&6; }
8157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8158 cat >>confdefs.h <<_ACEOF
8159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8160 _ACEOF
8164 done
8168 for ac_header in linux/ipx.h
8170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8171 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8173 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8174 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 else
8176 cat >conftest.$ac_ext <<_ACEOF
8177 /* confdefs.h. */
8178 _ACEOF
8179 cat confdefs.h >>conftest.$ac_ext
8180 cat >>conftest.$ac_ext <<_ACEOF
8181 /* end confdefs.h. */
8182 #include <sys/types.h>
8183 #ifdef HAVE_ASM_TYPES_H
8184 # include <asm/types.h>
8185 #endif
8186 #if HAVE_SYS_SOCKET_H
8187 # include <sys/socket.h>
8188 #endif
8190 #include <$ac_header>
8191 _ACEOF
8192 rm -f conftest.$ac_objext
8193 if { (ac_try="$ac_compile"
8194 case "(($ac_try" in
8195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8196 *) ac_try_echo=$ac_try;;
8197 esac
8198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8199 (eval "$ac_compile") 2>conftest.er1
8200 ac_status=$?
8201 grep -v '^ *+' conftest.er1 >conftest.err
8202 rm -f conftest.er1
8203 cat conftest.err >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); } &&
8206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
8216 { ac_try='test -s conftest.$ac_objext'
8217 { (case "(($ac_try" in
8218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8219 *) ac_try_echo=$ac_try;;
8220 esac
8221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8222 (eval "$ac_try") 2>&5
8223 ac_status=$?
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); }; }; then
8226 eval "$as_ac_Header=yes"
8227 else
8228 echo "$as_me: failed program was:" >&5
8229 sed 's/^/| /' conftest.$ac_ext >&5
8231 eval "$as_ac_Header=no"
8234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8236 ac_res=`eval echo '${'$as_ac_Header'}'`
8237 { echo "$as_me:$LINENO: result: $ac_res" >&5
8238 echo "${ECHO_T}$ac_res" >&6; }
8239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8240 cat >>confdefs.h <<_ACEOF
8241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8242 _ACEOF
8246 done
8250 for ac_header in resolv.h
8252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8256 echo $ECHO_N "(cached) $ECHO_C" >&6
8257 else
8258 cat >conftest.$ac_ext <<_ACEOF
8259 /* confdefs.h. */
8260 _ACEOF
8261 cat confdefs.h >>conftest.$ac_ext
8262 cat >>conftest.$ac_ext <<_ACEOF
8263 /* end confdefs.h. */
8264 #include <sys/types.h>
8265 #if HAVE_SYS_SOCKET_H
8266 # include <sys/socket.h>
8267 #endif
8268 #if HAVE_NETINET_IN_H
8269 # include <netinet/in.h>
8270 #endif
8271 #if HAVE_ARPA_NAMESER_H
8272 # include <arpa/nameser.h>
8273 #endif
8275 #include <$ac_header>
8276 _ACEOF
8277 rm -f conftest.$ac_objext
8278 if { (ac_try="$ac_compile"
8279 case "(($ac_try" in
8280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8281 *) ac_try_echo=$ac_try;;
8282 esac
8283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8284 (eval "$ac_compile") 2>conftest.er1
8285 ac_status=$?
8286 grep -v '^ *+' conftest.er1 >conftest.err
8287 rm -f conftest.er1
8288 cat conftest.err >&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } &&
8291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8292 { (case "(($ac_try" in
8293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8294 *) ac_try_echo=$ac_try;;
8295 esac
8296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8297 (eval "$ac_try") 2>&5
8298 ac_status=$?
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; } &&
8301 { ac_try='test -s conftest.$ac_objext'
8302 { (case "(($ac_try" in
8303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8304 *) ac_try_echo=$ac_try;;
8305 esac
8306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8307 (eval "$ac_try") 2>&5
8308 ac_status=$?
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); }; }; then
8311 eval "$as_ac_Header=yes"
8312 else
8313 echo "$as_me: failed program was:" >&5
8314 sed 's/^/| /' conftest.$ac_ext >&5
8316 eval "$as_ac_Header=no"
8319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8321 ac_res=`eval echo '${'$as_ac_Header'}'`
8322 { echo "$as_me:$LINENO: result: $ac_res" >&5
8323 echo "${ECHO_T}$ac_res" >&6; }
8324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8325 cat >>confdefs.h <<_ACEOF
8326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8327 _ACEOF
8331 done
8335 for ac_header in ucontext.h
8337 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8338 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8341 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 else
8343 cat >conftest.$ac_ext <<_ACEOF
8344 /* confdefs.h. */
8345 _ACEOF
8346 cat confdefs.h >>conftest.$ac_ext
8347 cat >>conftest.$ac_ext <<_ACEOF
8348 /* end confdefs.h. */
8349 #include <signal.h>
8351 #include <$ac_header>
8352 _ACEOF
8353 rm -f conftest.$ac_objext
8354 if { (ac_try="$ac_compile"
8355 case "(($ac_try" in
8356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8357 *) ac_try_echo=$ac_try;;
8358 esac
8359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8360 (eval "$ac_compile") 2>conftest.er1
8361 ac_status=$?
8362 grep -v '^ *+' conftest.er1 >conftest.err
8363 rm -f conftest.er1
8364 cat conftest.err >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); } &&
8367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8368 { (case "(($ac_try" in
8369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8370 *) ac_try_echo=$ac_try;;
8371 esac
8372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8373 (eval "$ac_try") 2>&5
8374 ac_status=$?
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); }; } &&
8377 { ac_try='test -s conftest.$ac_objext'
8378 { (case "(($ac_try" in
8379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8380 *) ac_try_echo=$ac_try;;
8381 esac
8382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8383 (eval "$ac_try") 2>&5
8384 ac_status=$?
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); }; }; then
8387 eval "$as_ac_Header=yes"
8388 else
8389 echo "$as_me: failed program was:" >&5
8390 sed 's/^/| /' conftest.$ac_ext >&5
8392 eval "$as_ac_Header=no"
8395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8397 ac_res=`eval echo '${'$as_ac_Header'}'`
8398 { echo "$as_me:$LINENO: result: $ac_res" >&5
8399 echo "${ECHO_T}$ac_res" >&6; }
8400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8401 cat >>confdefs.h <<_ACEOF
8402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8403 _ACEOF
8407 done
8411 for ac_header in pthread_np.h
8413 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8414 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8417 echo $ECHO_N "(cached) $ECHO_C" >&6
8418 else
8419 cat >conftest.$ac_ext <<_ACEOF
8420 /* confdefs.h. */
8421 _ACEOF
8422 cat confdefs.h >>conftest.$ac_ext
8423 cat >>conftest.$ac_ext <<_ACEOF
8424 /* end confdefs.h. */
8425 #ifdef HAVE_PTHREAD_H
8426 #include <pthread.h>
8427 #endif
8429 #include <$ac_header>
8430 _ACEOF
8431 rm -f conftest.$ac_objext
8432 if { (ac_try="$ac_compile"
8433 case "(($ac_try" in
8434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8435 *) ac_try_echo=$ac_try;;
8436 esac
8437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8438 (eval "$ac_compile") 2>conftest.er1
8439 ac_status=$?
8440 grep -v '^ *+' conftest.er1 >conftest.err
8441 rm -f conftest.er1
8442 cat conftest.err >&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); } &&
8445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8446 { (case "(($ac_try" in
8447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8448 *) ac_try_echo=$ac_try;;
8449 esac
8450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8451 (eval "$ac_try") 2>&5
8452 ac_status=$?
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); }; } &&
8455 { ac_try='test -s conftest.$ac_objext'
8456 { (case "(($ac_try" in
8457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8458 *) ac_try_echo=$ac_try;;
8459 esac
8460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8461 (eval "$ac_try") 2>&5
8462 ac_status=$?
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); }; }; then
8465 eval "$as_ac_Header=yes"
8466 else
8467 echo "$as_me: failed program was:" >&5
8468 sed 's/^/| /' conftest.$ac_ext >&5
8470 eval "$as_ac_Header=no"
8473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8475 ac_res=`eval echo '${'$as_ac_Header'}'`
8476 { echo "$as_me:$LINENO: result: $ac_res" >&5
8477 echo "${ECHO_T}$ac_res" >&6; }
8478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8479 cat >>confdefs.h <<_ACEOF
8480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8481 _ACEOF
8485 done
8489 for ac_header in linux/videodev.h
8491 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8495 echo $ECHO_N "(cached) $ECHO_C" >&6
8496 else
8497 cat >conftest.$ac_ext <<_ACEOF
8498 /* confdefs.h. */
8499 _ACEOF
8500 cat confdefs.h >>conftest.$ac_ext
8501 cat >>conftest.$ac_ext <<_ACEOF
8502 /* end confdefs.h. */
8503 #ifdef HAVE_SYS_TIME_H
8504 #include <sys/time.h>
8505 #endif
8506 #include <sys/types.h>
8507 #ifdef HAVE_ASM_TYPES_H
8508 #include <asm/types.h>
8509 #endif
8511 #include <$ac_header>
8512 _ACEOF
8513 rm -f conftest.$ac_objext
8514 if { (ac_try="$ac_compile"
8515 case "(($ac_try" in
8516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8517 *) ac_try_echo=$ac_try;;
8518 esac
8519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8520 (eval "$ac_compile") 2>conftest.er1
8521 ac_status=$?
8522 grep -v '^ *+' conftest.er1 >conftest.err
8523 rm -f conftest.er1
8524 cat conftest.err >&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); } &&
8527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8528 { (case "(($ac_try" in
8529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8530 *) ac_try_echo=$ac_try;;
8531 esac
8532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8533 (eval "$ac_try") 2>&5
8534 ac_status=$?
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; } &&
8537 { ac_try='test -s conftest.$ac_objext'
8538 { (case "(($ac_try" in
8539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8540 *) ac_try_echo=$ac_try;;
8541 esac
8542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8543 (eval "$ac_try") 2>&5
8544 ac_status=$?
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); }; }; then
8547 eval "$as_ac_Header=yes"
8548 else
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.$ac_ext >&5
8552 eval "$as_ac_Header=no"
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 ac_res=`eval echo '${'$as_ac_Header'}'`
8558 { echo "$as_me:$LINENO: result: $ac_res" >&5
8559 echo "${ECHO_T}$ac_res" >&6; }
8560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8561 cat >>confdefs.h <<_ACEOF
8562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8563 _ACEOF
8567 done
8571 for ac_header in linux/capi.h
8573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8574 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8577 echo $ECHO_N "(cached) $ECHO_C" >&6
8578 else
8579 cat >conftest.$ac_ext <<_ACEOF
8580 /* confdefs.h. */
8581 _ACEOF
8582 cat confdefs.h >>conftest.$ac_ext
8583 cat >>conftest.$ac_ext <<_ACEOF
8584 /* end confdefs.h. */
8585 #define __user
8587 #include <$ac_header>
8588 _ACEOF
8589 rm -f conftest.$ac_objext
8590 if { (ac_try="$ac_compile"
8591 case "(($ac_try" in
8592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8593 *) ac_try_echo=$ac_try;;
8594 esac
8595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8596 (eval "$ac_compile") 2>conftest.er1
8597 ac_status=$?
8598 grep -v '^ *+' conftest.er1 >conftest.err
8599 rm -f conftest.er1
8600 cat conftest.err >&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } &&
8603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8604 { (case "(($ac_try" in
8605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8606 *) ac_try_echo=$ac_try;;
8607 esac
8608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8609 (eval "$ac_try") 2>&5
8610 ac_status=$?
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; } &&
8613 { ac_try='test -s conftest.$ac_objext'
8614 { (case "(($ac_try" in
8615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8616 *) ac_try_echo=$ac_try;;
8617 esac
8618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8619 (eval "$ac_try") 2>&5
8620 ac_status=$?
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); }; }; then
8623 eval "$as_ac_Header=yes"
8624 else
8625 echo "$as_me: failed program was:" >&5
8626 sed 's/^/| /' conftest.$ac_ext >&5
8628 eval "$as_ac_Header=no"
8631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8633 ac_res=`eval echo '${'$as_ac_Header'}'`
8634 { echo "$as_me:$LINENO: result: $ac_res" >&5
8635 echo "${ECHO_T}$ac_res" >&6; }
8636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8637 cat >>confdefs.h <<_ACEOF
8638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8639 _ACEOF
8643 done
8647 if test "$have_x" = "yes"
8648 then
8649 XLIB="-lXext -lX11"
8650 ac_save_CPPFLAGS="$CPPFLAGS"
8651 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8662 for ac_header in X11/Xlib.h \
8663 X11/XKBlib.h \
8664 X11/Xutil.h \
8665 X11/extensions/shape.h \
8666 X11/extensions/XInput.h \
8667 X11/extensions/XShm.h \
8668 X11/extensions/Xrandr.h \
8669 X11/extensions/Xrender.h \
8670 X11/extensions/xf86vmode.h
8672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8673 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8677 else
8678 cat >conftest.$ac_ext <<_ACEOF
8679 /* confdefs.h. */
8680 _ACEOF
8681 cat confdefs.h >>conftest.$ac_ext
8682 cat >>conftest.$ac_ext <<_ACEOF
8683 /* end confdefs.h. */
8684 #ifdef HAVE_X11_XLIB_H
8685 # include <X11/Xlib.h>
8686 #endif
8687 #ifdef HAVE_X11_XUTIL_H
8688 # include <X11/Xutil.h>
8689 #endif
8691 #include <$ac_header>
8692 _ACEOF
8693 rm -f conftest.$ac_objext
8694 if { (ac_try="$ac_compile"
8695 case "(($ac_try" in
8696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8697 *) ac_try_echo=$ac_try;;
8698 esac
8699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8700 (eval "$ac_compile") 2>conftest.er1
8701 ac_status=$?
8702 grep -v '^ *+' conftest.er1 >conftest.err
8703 rm -f conftest.er1
8704 cat conftest.err >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } &&
8707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8708 { (case "(($ac_try" in
8709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8710 *) ac_try_echo=$ac_try;;
8711 esac
8712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8713 (eval "$ac_try") 2>&5
8714 ac_status=$?
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; } &&
8717 { ac_try='test -s conftest.$ac_objext'
8718 { (case "(($ac_try" in
8719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8720 *) ac_try_echo=$ac_try;;
8721 esac
8722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8723 (eval "$ac_try") 2>&5
8724 ac_status=$?
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; }; then
8727 eval "$as_ac_Header=yes"
8728 else
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.$ac_ext >&5
8732 eval "$as_ac_Header=no"
8735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8737 ac_res=`eval echo '${'$as_ac_Header'}'`
8738 { echo "$as_me:$LINENO: result: $ac_res" >&5
8739 echo "${ECHO_T}$ac_res" >&6; }
8740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8741 cat >>confdefs.h <<_ACEOF
8742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8743 _ACEOF
8747 done
8750 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8751 then
8752 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8753 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8754 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8756 else
8757 ac_check_lib_save_LIBS=$LIBS
8758 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8759 cat >conftest.$ac_ext <<_ACEOF
8760 /* confdefs.h. */
8761 _ACEOF
8762 cat confdefs.h >>conftest.$ac_ext
8763 cat >>conftest.$ac_ext <<_ACEOF
8764 /* end confdefs.h. */
8766 /* Override any GCC internal prototype to avoid an error.
8767 Use char because int might match the return type of a GCC
8768 builtin and then its argument prototype would still apply. */
8769 #ifdef __cplusplus
8770 extern "C"
8771 #endif
8772 char XkbQueryExtension ();
8774 main ()
8776 return XkbQueryExtension ();
8778 return 0;
8780 _ACEOF
8781 rm -f conftest.$ac_objext conftest$ac_exeext
8782 if { (ac_try="$ac_link"
8783 case "(($ac_try" in
8784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8785 *) ac_try_echo=$ac_try;;
8786 esac
8787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8788 (eval "$ac_link") 2>conftest.er1
8789 ac_status=$?
8790 grep -v '^ *+' conftest.er1 >conftest.err
8791 rm -f conftest.er1
8792 cat conftest.err >&5
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 (exit $ac_status); } &&
8795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8796 { (case "(($ac_try" in
8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8798 *) ac_try_echo=$ac_try;;
8799 esac
8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8801 (eval "$ac_try") 2>&5
8802 ac_status=$?
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); }; } &&
8805 { ac_try='test -s conftest$ac_exeext'
8806 { (case "(($ac_try" in
8807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8808 *) ac_try_echo=$ac_try;;
8809 esac
8810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8811 (eval "$ac_try") 2>&5
8812 ac_status=$?
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); }; }; then
8815 ac_cv_lib_X11_XkbQueryExtension=yes
8816 else
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.$ac_ext >&5
8820 ac_cv_lib_X11_XkbQueryExtension=no
8823 rm -f core conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 LIBS=$ac_check_lib_save_LIBS
8827 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8828 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8829 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8831 cat >>confdefs.h <<\_ACEOF
8832 #define HAVE_XKB 1
8833 _ACEOF
8839 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8840 then
8841 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8842 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8843 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 else
8846 ac_check_lib_save_LIBS=$LIBS
8847 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8848 cat >conftest.$ac_ext <<_ACEOF
8849 /* confdefs.h. */
8850 _ACEOF
8851 cat confdefs.h >>conftest.$ac_ext
8852 cat >>conftest.$ac_ext <<_ACEOF
8853 /* end confdefs.h. */
8855 /* Override any GCC internal prototype to avoid an error.
8856 Use char because int might match the return type of a GCC
8857 builtin and then its argument prototype would still apply. */
8858 #ifdef __cplusplus
8859 extern "C"
8860 #endif
8861 char XShmQueryExtension ();
8863 main ()
8865 return XShmQueryExtension ();
8867 return 0;
8869 _ACEOF
8870 rm -f conftest.$ac_objext conftest$ac_exeext
8871 if { (ac_try="$ac_link"
8872 case "(($ac_try" in
8873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8874 *) ac_try_echo=$ac_try;;
8875 esac
8876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8877 (eval "$ac_link") 2>conftest.er1
8878 ac_status=$?
8879 grep -v '^ *+' conftest.er1 >conftest.err
8880 rm -f conftest.er1
8881 cat conftest.err >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } &&
8884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8885 { (case "(($ac_try" in
8886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8887 *) ac_try_echo=$ac_try;;
8888 esac
8889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8890 (eval "$ac_try") 2>&5
8891 ac_status=$?
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 (exit $ac_status); }; } &&
8894 { ac_try='test -s conftest$ac_exeext'
8895 { (case "(($ac_try" in
8896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8897 *) ac_try_echo=$ac_try;;
8898 esac
8899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8900 (eval "$ac_try") 2>&5
8901 ac_status=$?
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); }; }; then
8904 ac_cv_lib_Xext_XShmQueryExtension=yes
8905 else
8906 echo "$as_me: failed program was:" >&5
8907 sed 's/^/| /' conftest.$ac_ext >&5
8909 ac_cv_lib_Xext_XShmQueryExtension=no
8912 rm -f core conftest.err conftest.$ac_objext \
8913 conftest$ac_exeext conftest.$ac_ext
8914 LIBS=$ac_check_lib_save_LIBS
8916 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8917 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8918 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8920 cat >>confdefs.h <<\_ACEOF
8921 #define HAVE_LIBXXSHM 1
8922 _ACEOF
8928 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8929 then
8930 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8931 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8932 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8933 echo $ECHO_N "(cached) $ECHO_C" >&6
8934 else
8935 ac_check_lib_save_LIBS=$LIBS
8936 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8937 cat >conftest.$ac_ext <<_ACEOF
8938 /* confdefs.h. */
8939 _ACEOF
8940 cat confdefs.h >>conftest.$ac_ext
8941 cat >>conftest.$ac_ext <<_ACEOF
8942 /* end confdefs.h. */
8944 /* Override any GCC internal prototype to avoid an error.
8945 Use char because int might match the return type of a GCC
8946 builtin and then its argument prototype would still apply. */
8947 #ifdef __cplusplus
8948 extern "C"
8949 #endif
8950 char XShapeQueryExtension ();
8952 main ()
8954 return XShapeQueryExtension ();
8956 return 0;
8958 _ACEOF
8959 rm -f conftest.$ac_objext conftest$ac_exeext
8960 if { (ac_try="$ac_link"
8961 case "(($ac_try" in
8962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8963 *) ac_try_echo=$ac_try;;
8964 esac
8965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8966 (eval "$ac_link") 2>conftest.er1
8967 ac_status=$?
8968 grep -v '^ *+' conftest.er1 >conftest.err
8969 rm -f conftest.er1
8970 cat conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } &&
8973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8974 { (case "(($ac_try" in
8975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8976 *) ac_try_echo=$ac_try;;
8977 esac
8978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8979 (eval "$ac_try") 2>&5
8980 ac_status=$?
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); }; } &&
8983 { ac_try='test -s conftest$ac_exeext'
8984 { (case "(($ac_try" in
8985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8986 *) ac_try_echo=$ac_try;;
8987 esac
8988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8989 (eval "$ac_try") 2>&5
8990 ac_status=$?
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); }; }; then
8993 ac_cv_lib_Xext_XShapeQueryExtension=yes
8994 else
8995 echo "$as_me: failed program was:" >&5
8996 sed 's/^/| /' conftest.$ac_ext >&5
8998 ac_cv_lib_Xext_XShapeQueryExtension=no
9001 rm -f core conftest.err conftest.$ac_objext \
9002 conftest$ac_exeext conftest.$ac_ext
9003 LIBS=$ac_check_lib_save_LIBS
9005 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9006 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9007 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9009 cat >>confdefs.h <<\_ACEOF
9010 #define HAVE_LIBXSHAPE 1
9011 _ACEOF
9017 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9018 then
9019 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9020 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9021 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9022 echo $ECHO_N "(cached) $ECHO_C" >&6
9023 else
9024 ac_check_lib_save_LIBS=$LIBS
9025 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
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. */
9033 /* Override any GCC internal prototype to avoid an error.
9034 Use char because int might match the return type of a GCC
9035 builtin and then its argument prototype would still apply. */
9036 #ifdef __cplusplus
9037 extern "C"
9038 #endif
9039 char XF86VidModeQueryExtension ();
9041 main ()
9043 return XF86VidModeQueryExtension ();
9045 return 0;
9047 _ACEOF
9048 rm -f conftest.$ac_objext conftest$ac_exeext
9049 if { (ac_try="$ac_link"
9050 case "(($ac_try" in
9051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9052 *) ac_try_echo=$ac_try;;
9053 esac
9054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9055 (eval "$ac_link") 2>conftest.er1
9056 ac_status=$?
9057 grep -v '^ *+' conftest.er1 >conftest.err
9058 rm -f conftest.er1
9059 cat conftest.err >&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } &&
9062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9063 { (case "(($ac_try" in
9064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9065 *) ac_try_echo=$ac_try;;
9066 esac
9067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9068 (eval "$ac_try") 2>&5
9069 ac_status=$?
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); }; } &&
9072 { ac_try='test -s conftest$ac_exeext'
9073 { (case "(($ac_try" in
9074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9075 *) ac_try_echo=$ac_try;;
9076 esac
9077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9078 (eval "$ac_try") 2>&5
9079 ac_status=$?
9080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081 (exit $ac_status); }; }; then
9082 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9083 else
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.$ac_ext >&5
9087 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9090 rm -f core conftest.err conftest.$ac_objext \
9091 conftest$ac_exeext conftest.$ac_ext
9092 LIBS=$ac_check_lib_save_LIBS
9094 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9095 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9096 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9098 cat >>confdefs.h <<\_ACEOF
9099 #define HAVE_LIBXXF86VM 1
9100 _ACEOF
9102 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9108 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9109 then
9110 cat >conftest.$ac_ext <<_ACEOF
9111 /* confdefs.h. */
9112 _ACEOF
9113 cat confdefs.h >>conftest.$ac_ext
9114 cat >>conftest.$ac_ext <<_ACEOF
9115 /* end confdefs.h. */
9116 #include <X11/Xlib.h>
9117 #include <X11/extensions/Xrandr.h>
9119 main ()
9121 static typeof(XRRSetScreenConfigAndRate) * func;
9123 return 0;
9125 _ACEOF
9126 rm -f conftest.$ac_objext
9127 if { (ac_try="$ac_compile"
9128 case "(($ac_try" in
9129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9130 *) ac_try_echo=$ac_try;;
9131 esac
9132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9133 (eval "$ac_compile") 2>conftest.er1
9134 ac_status=$?
9135 grep -v '^ *+' conftest.er1 >conftest.err
9136 rm -f conftest.er1
9137 cat conftest.err >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); } &&
9140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9141 { (case "(($ac_try" in
9142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9143 *) ac_try_echo=$ac_try;;
9144 esac
9145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9146 (eval "$ac_try") 2>&5
9147 ac_status=$?
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; } &&
9150 { ac_try='test -s conftest.$ac_objext'
9151 { (case "(($ac_try" in
9152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9153 *) ac_try_echo=$ac_try;;
9154 esac
9155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9156 (eval "$ac_try") 2>&5
9157 ac_status=$?
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); }; }; then
9161 cat >>confdefs.h <<\_ACEOF
9162 #define HAVE_LIBXRANDR 1
9163 _ACEOF
9165 else
9166 echo "$as_me: failed program was:" >&5
9167 sed 's/^/| /' conftest.$ac_ext >&5
9172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9175 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9176 then
9177 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9178 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9179 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 else
9182 ac_check_lib_save_LIBS=$LIBS
9183 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
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. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9194 #ifdef __cplusplus
9195 extern "C"
9196 #endif
9197 char XRenderSetPictureTransform ();
9199 main ()
9201 return XRenderSetPictureTransform ();
9203 return 0;
9205 _ACEOF
9206 rm -f conftest.$ac_objext conftest$ac_exeext
9207 if { (ac_try="$ac_link"
9208 case "(($ac_try" in
9209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9210 *) ac_try_echo=$ac_try;;
9211 esac
9212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9213 (eval "$ac_link") 2>conftest.er1
9214 ac_status=$?
9215 grep -v '^ *+' conftest.er1 >conftest.err
9216 rm -f conftest.er1
9217 cat conftest.err >&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } &&
9220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9221 { (case "(($ac_try" in
9222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9223 *) ac_try_echo=$ac_try;;
9224 esac
9225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9226 (eval "$ac_try") 2>&5
9227 ac_status=$?
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); }; } &&
9230 { ac_try='test -s conftest$ac_exeext'
9231 { (case "(($ac_try" in
9232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9233 *) ac_try_echo=$ac_try;;
9234 esac
9235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9236 (eval "$ac_try") 2>&5
9237 ac_status=$?
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); }; }; then
9240 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9241 else
9242 echo "$as_me: failed program was:" >&5
9243 sed 's/^/| /' conftest.$ac_ext >&5
9245 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9248 rm -f core conftest.err conftest.$ac_objext \
9249 conftest$ac_exeext conftest.$ac_ext
9250 LIBS=$ac_check_lib_save_LIBS
9252 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9253 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9254 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9256 cat >>confdefs.h <<\_ACEOF
9257 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9258 _ACEOF
9264 if test "x$with_opengl" != "xno"
9265 then
9270 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9273 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9275 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9276 echo $ECHO_N "(cached) $ECHO_C" >&6
9277 else
9278 cat >conftest.$ac_ext <<_ACEOF
9279 /* confdefs.h. */
9280 _ACEOF
9281 cat confdefs.h >>conftest.$ac_ext
9282 cat >>conftest.$ac_ext <<_ACEOF
9283 /* end confdefs.h. */
9284 #ifdef HAVE_GL_GLX_H
9285 # include <GL/glx.h>
9286 #endif
9288 #include <$ac_header>
9289 _ACEOF
9290 rm -f conftest.$ac_objext
9291 if { (ac_try="$ac_compile"
9292 case "(($ac_try" in
9293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9294 *) ac_try_echo=$ac_try;;
9295 esac
9296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9297 (eval "$ac_compile") 2>conftest.er1
9298 ac_status=$?
9299 grep -v '^ *+' conftest.er1 >conftest.err
9300 rm -f conftest.er1
9301 cat conftest.err >&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); } &&
9304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9305 { (case "(($ac_try" in
9306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9307 *) ac_try_echo=$ac_try;;
9308 esac
9309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9310 (eval "$ac_try") 2>&5
9311 ac_status=$?
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); }; } &&
9314 { ac_try='test -s conftest.$ac_objext'
9315 { (case "(($ac_try" in
9316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9317 *) ac_try_echo=$ac_try;;
9318 esac
9319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9320 (eval "$ac_try") 2>&5
9321 ac_status=$?
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); }; }; then
9324 eval "$as_ac_Header=yes"
9325 else
9326 echo "$as_me: failed program was:" >&5
9327 sed 's/^/| /' conftest.$ac_ext >&5
9329 eval "$as_ac_Header=no"
9332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9334 ac_res=`eval echo '${'$as_ac_Header'}'`
9335 { echo "$as_me:$LINENO: result: $ac_res" >&5
9336 echo "${ECHO_T}$ac_res" >&6; }
9337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9338 cat >>confdefs.h <<_ACEOF
9339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9340 _ACEOF
9344 done
9346 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9347 then
9348 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9349 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9350 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9351 echo $ECHO_N "(cached) $ECHO_C" >&6
9352 else
9353 cat >conftest.$ac_ext <<_ACEOF
9354 /* confdefs.h. */
9355 _ACEOF
9356 cat confdefs.h >>conftest.$ac_ext
9357 cat >>conftest.$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9359 #include <GL/gl.h>
9361 main ()
9363 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9365 return 0;
9367 _ACEOF
9368 rm -f conftest.$ac_objext
9369 if { (ac_try="$ac_compile"
9370 case "(($ac_try" in
9371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9372 *) ac_try_echo=$ac_try;;
9373 esac
9374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9375 (eval "$ac_compile") 2>conftest.er1
9376 ac_status=$?
9377 grep -v '^ *+' conftest.er1 >conftest.err
9378 rm -f conftest.er1
9379 cat conftest.err >&5
9380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 (exit $ac_status); } &&
9382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9383 { (case "(($ac_try" in
9384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9385 *) ac_try_echo=$ac_try;;
9386 esac
9387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9388 (eval "$ac_try") 2>&5
9389 ac_status=$?
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); }; } &&
9392 { ac_try='test -s conftest.$ac_objext'
9393 { (case "(($ac_try" in
9394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9395 *) ac_try_echo=$ac_try;;
9396 esac
9397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9398 (eval "$ac_try") 2>&5
9399 ac_status=$?
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); }; }; then
9402 wine_cv_opengl_header_version_OK="yes"
9403 else
9404 echo "$as_me: failed program was:" >&5
9405 sed 's/^/| /' conftest.$ac_ext >&5
9407 wine_cv_opengl_header_version_OK="no"
9411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9414 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9415 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9417 if test "$wine_cv_opengl_header_version_OK" = "yes"
9418 then
9419 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9420 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9421 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9422 echo $ECHO_N "(cached) $ECHO_C" >&6
9423 else
9424 ac_check_lib_save_LIBS=$LIBS
9425 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9426 cat >conftest.$ac_ext <<_ACEOF
9427 /* confdefs.h. */
9428 _ACEOF
9429 cat confdefs.h >>conftest.$ac_ext
9430 cat >>conftest.$ac_ext <<_ACEOF
9431 /* end confdefs.h. */
9433 /* Override any GCC internal prototype to avoid an error.
9434 Use char because int might match the return type of a GCC
9435 builtin and then its argument prototype would still apply. */
9436 #ifdef __cplusplus
9437 extern "C"
9438 #endif
9439 char glXCreateContext ();
9441 main ()
9443 return glXCreateContext ();
9445 return 0;
9447 _ACEOF
9448 rm -f conftest.$ac_objext conftest$ac_exeext
9449 if { (ac_try="$ac_link"
9450 case "(($ac_try" in
9451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9452 *) ac_try_echo=$ac_try;;
9453 esac
9454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9455 (eval "$ac_link") 2>conftest.er1
9456 ac_status=$?
9457 grep -v '^ *+' conftest.er1 >conftest.err
9458 rm -f conftest.er1
9459 cat conftest.err >&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); } &&
9462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9463 { (case "(($ac_try" in
9464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9465 *) ac_try_echo=$ac_try;;
9466 esac
9467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9468 (eval "$ac_try") 2>&5
9469 ac_status=$?
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); }; } &&
9472 { ac_try='test -s conftest$ac_exeext'
9473 { (case "(($ac_try" in
9474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9475 *) ac_try_echo=$ac_try;;
9476 esac
9477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9478 (eval "$ac_try") 2>&5
9479 ac_status=$?
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); }; }; then
9482 ac_cv_lib_GL_glXCreateContext=yes
9483 else
9484 echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.$ac_ext >&5
9487 ac_cv_lib_GL_glXCreateContext=no
9490 rm -f core conftest.err conftest.$ac_objext \
9491 conftest$ac_exeext conftest.$ac_ext
9492 LIBS=$ac_check_lib_save_LIBS
9494 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9495 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9496 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9497 OPENGL_LIBS="-lGL"
9498 OPENGLFILES='$(OPENGLFILES)'
9500 cat >>confdefs.h <<\_ACEOF
9501 #define HAVE_OPENGL 1
9502 _ACEOF
9508 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9509 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9510 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9512 else
9513 ac_check_lib_save_LIBS=$LIBS
9514 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9515 $LIBS"
9516 cat >conftest.$ac_ext <<_ACEOF
9517 /* confdefs.h. */
9518 _ACEOF
9519 cat confdefs.h >>conftest.$ac_ext
9520 cat >>conftest.$ac_ext <<_ACEOF
9521 /* end confdefs.h. */
9523 /* Override any GCC internal prototype to avoid an error.
9524 Use char because int might match the return type of a GCC
9525 builtin and then its argument prototype would still apply. */
9526 #ifdef __cplusplus
9527 extern "C"
9528 #endif
9529 char gluLookAt ();
9531 main ()
9533 return gluLookAt ();
9535 return 0;
9537 _ACEOF
9538 rm -f conftest.$ac_objext conftest$ac_exeext
9539 if { (ac_try="$ac_link"
9540 case "(($ac_try" in
9541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9542 *) ac_try_echo=$ac_try;;
9543 esac
9544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9545 (eval "$ac_link") 2>conftest.er1
9546 ac_status=$?
9547 grep -v '^ *+' conftest.er1 >conftest.err
9548 rm -f conftest.er1
9549 cat conftest.err >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); } &&
9552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9553 { (case "(($ac_try" in
9554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9555 *) ac_try_echo=$ac_try;;
9556 esac
9557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9558 (eval "$ac_try") 2>&5
9559 ac_status=$?
9560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9561 (exit $ac_status); }; } &&
9562 { ac_try='test -s conftest$ac_exeext'
9563 { (case "(($ac_try" in
9564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9565 *) ac_try_echo=$ac_try;;
9566 esac
9567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9568 (eval "$ac_try") 2>&5
9569 ac_status=$?
9570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9571 (exit $ac_status); }; }; then
9572 ac_cv_lib_GLU_gluLookAt=yes
9573 else
9574 echo "$as_me: failed program was:" >&5
9575 sed 's/^/| /' conftest.$ac_ext >&5
9577 ac_cv_lib_GLU_gluLookAt=no
9580 rm -f core conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9582 LIBS=$ac_check_lib_save_LIBS
9584 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9585 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9586 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9587 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9588 GLU32FILES='$(GLU32FILES)'
9594 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9595 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9596 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9597 echo $ECHO_N "(cached) $ECHO_C" >&6
9598 else
9599 ac_check_lib_save_LIBS=$LIBS
9600 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9601 cat >conftest.$ac_ext <<_ACEOF
9602 /* confdefs.h. */
9603 _ACEOF
9604 cat confdefs.h >>conftest.$ac_ext
9605 cat >>conftest.$ac_ext <<_ACEOF
9606 /* end confdefs.h. */
9608 /* Override any GCC internal prototype to avoid an error.
9609 Use char because int might match the return type of a GCC
9610 builtin and then its argument prototype would still apply. */
9611 #ifdef __cplusplus
9612 extern "C"
9613 #endif
9614 char glutMainLoop ();
9616 main ()
9618 return glutMainLoop ();
9620 return 0;
9622 _ACEOF
9623 rm -f conftest.$ac_objext conftest$ac_exeext
9624 if { (ac_try="$ac_link"
9625 case "(($ac_try" in
9626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9627 *) ac_try_echo=$ac_try;;
9628 esac
9629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9630 (eval "$ac_link") 2>conftest.er1
9631 ac_status=$?
9632 grep -v '^ *+' conftest.er1 >conftest.err
9633 rm -f conftest.er1
9634 cat conftest.err >&5
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); } &&
9637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9638 { (case "(($ac_try" in
9639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9640 *) ac_try_echo=$ac_try;;
9641 esac
9642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9643 (eval "$ac_try") 2>&5
9644 ac_status=$?
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; } &&
9647 { ac_try='test -s conftest$ac_exeext'
9648 { (case "(($ac_try" in
9649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9650 *) ac_try_echo=$ac_try;;
9651 esac
9652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9653 (eval "$ac_try") 2>&5
9654 ac_status=$?
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); }; }; then
9657 ac_cv_lib_glut_glutMainLoop=yes
9658 else
9659 echo "$as_me: failed program was:" >&5
9660 sed 's/^/| /' conftest.$ac_ext >&5
9662 ac_cv_lib_glut_glutMainLoop=no
9665 rm -f core conftest.err conftest.$ac_objext \
9666 conftest$ac_exeext conftest.$ac_ext
9667 LIBS=$ac_check_lib_save_LIBS
9669 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9670 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9671 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9672 GLUT_LIBS="-lglut -lXmu -lXi"
9674 GLUT32FILES='$(GLUT32FILES)'
9678 else
9679 wine_cv_opengl_headers_found="no"
9682 NASLIBS=""
9685 for ac_header in audio/audiolib.h
9687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9692 echo $ECHO_N "(cached) $ECHO_C" >&6
9694 ac_res=`eval echo '${'$as_ac_Header'}'`
9695 { echo "$as_me:$LINENO: result: $ac_res" >&5
9696 echo "${ECHO_T}$ac_res" >&6; }
9697 else
9698 # Is the header compilable?
9699 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9701 cat >conftest.$ac_ext <<_ACEOF
9702 /* confdefs.h. */
9703 _ACEOF
9704 cat confdefs.h >>conftest.$ac_ext
9705 cat >>conftest.$ac_ext <<_ACEOF
9706 /* end confdefs.h. */
9707 $ac_includes_default
9708 #include <$ac_header>
9709 _ACEOF
9710 rm -f conftest.$ac_objext
9711 if { (ac_try="$ac_compile"
9712 case "(($ac_try" in
9713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9714 *) ac_try_echo=$ac_try;;
9715 esac
9716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9717 (eval "$ac_compile") 2>conftest.er1
9718 ac_status=$?
9719 grep -v '^ *+' conftest.er1 >conftest.err
9720 rm -f conftest.er1
9721 cat conftest.err >&5
9722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9723 (exit $ac_status); } &&
9724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9725 { (case "(($ac_try" in
9726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9727 *) ac_try_echo=$ac_try;;
9728 esac
9729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9730 (eval "$ac_try") 2>&5
9731 ac_status=$?
9732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733 (exit $ac_status); }; } &&
9734 { ac_try='test -s conftest.$ac_objext'
9735 { (case "(($ac_try" in
9736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9737 *) ac_try_echo=$ac_try;;
9738 esac
9739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9740 (eval "$ac_try") 2>&5
9741 ac_status=$?
9742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743 (exit $ac_status); }; }; then
9744 ac_header_compiler=yes
9745 else
9746 echo "$as_me: failed program was:" >&5
9747 sed 's/^/| /' conftest.$ac_ext >&5
9749 ac_header_compiler=no
9752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9753 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9754 echo "${ECHO_T}$ac_header_compiler" >&6; }
9756 # Is the header present?
9757 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9759 cat >conftest.$ac_ext <<_ACEOF
9760 /* confdefs.h. */
9761 _ACEOF
9762 cat confdefs.h >>conftest.$ac_ext
9763 cat >>conftest.$ac_ext <<_ACEOF
9764 /* end confdefs.h. */
9765 #include <$ac_header>
9766 _ACEOF
9767 if { (ac_try="$ac_cpp conftest.$ac_ext"
9768 case "(($ac_try" in
9769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9770 *) ac_try_echo=$ac_try;;
9771 esac
9772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9774 ac_status=$?
9775 grep -v '^ *+' conftest.er1 >conftest.err
9776 rm -f conftest.er1
9777 cat conftest.err >&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } >/dev/null; then
9780 if test -s conftest.err; then
9781 ac_cpp_err=$ac_c_preproc_warn_flag
9782 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9783 else
9784 ac_cpp_err=
9786 else
9787 ac_cpp_err=yes
9789 if test -z "$ac_cpp_err"; then
9790 ac_header_preproc=yes
9791 else
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.$ac_ext >&5
9795 ac_header_preproc=no
9798 rm -f conftest.err conftest.$ac_ext
9799 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9800 echo "${ECHO_T}$ac_header_preproc" >&6; }
9802 # So? What about this header?
9803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9804 yes:no: )
9805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9809 ac_header_preproc=yes
9811 no:yes:* )
9812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9824 ( cat <<\_ASBOX
9825 ## ------------------------------------ ##
9826 ## Report this to wine-devel@winehq.org ##
9827 ## ------------------------------------ ##
9828 _ASBOX
9829 ) | sed "s/^/$as_me: WARNING: /" >&2
9831 esac
9832 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9834 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9835 echo $ECHO_N "(cached) $ECHO_C" >&6
9836 else
9837 eval "$as_ac_Header=\$ac_header_preproc"
9839 ac_res=`eval echo '${'$as_ac_Header'}'`
9840 { echo "$as_me:$LINENO: result: $ac_res" >&5
9841 echo "${ECHO_T}$ac_res" >&6; }
9844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9845 cat >>confdefs.h <<_ACEOF
9846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9847 _ACEOF
9849 for ac_header in audio/soundlib.h
9851 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9852 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9855 echo $ECHO_N "(cached) $ECHO_C" >&6
9856 else
9857 cat >conftest.$ac_ext <<_ACEOF
9858 /* confdefs.h. */
9859 _ACEOF
9860 cat confdefs.h >>conftest.$ac_ext
9861 cat >>conftest.$ac_ext <<_ACEOF
9862 /* end confdefs.h. */
9863 #include <audio/audiolib.h>
9865 #include <$ac_header>
9866 _ACEOF
9867 rm -f conftest.$ac_objext
9868 if { (ac_try="$ac_compile"
9869 case "(($ac_try" in
9870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9871 *) ac_try_echo=$ac_try;;
9872 esac
9873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9874 (eval "$ac_compile") 2>conftest.er1
9875 ac_status=$?
9876 grep -v '^ *+' conftest.er1 >conftest.err
9877 rm -f conftest.er1
9878 cat conftest.err >&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); } &&
9881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9882 { (case "(($ac_try" in
9883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9884 *) ac_try_echo=$ac_try;;
9885 esac
9886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9887 (eval "$ac_try") 2>&5
9888 ac_status=$?
9889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9890 (exit $ac_status); }; } &&
9891 { ac_try='test -s conftest.$ac_objext'
9892 { (case "(($ac_try" in
9893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9894 *) ac_try_echo=$ac_try;;
9895 esac
9896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9897 (eval "$ac_try") 2>&5
9898 ac_status=$?
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); }; }; then
9901 eval "$as_ac_Header=yes"
9902 else
9903 echo "$as_me: failed program was:" >&5
9904 sed 's/^/| /' conftest.$ac_ext >&5
9906 eval "$as_ac_Header=no"
9909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9911 ac_res=`eval echo '${'$as_ac_Header'}'`
9912 { echo "$as_me:$LINENO: result: $ac_res" >&5
9913 echo "${ECHO_T}$ac_res" >&6; }
9914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9915 cat >>confdefs.h <<_ACEOF
9916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9917 _ACEOF
9921 done
9923 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9924 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9925 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9926 echo $ECHO_N "(cached) $ECHO_C" >&6
9927 else
9928 ac_check_lib_save_LIBS=$LIBS
9929 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9930 cat >conftest.$ac_ext <<_ACEOF
9931 /* confdefs.h. */
9932 _ACEOF
9933 cat confdefs.h >>conftest.$ac_ext
9934 cat >>conftest.$ac_ext <<_ACEOF
9935 /* end confdefs.h. */
9937 /* Override any GCC internal prototype to avoid an error.
9938 Use char because int might match the return type of a GCC
9939 builtin and then its argument prototype would still apply. */
9940 #ifdef __cplusplus
9941 extern "C"
9942 #endif
9943 char AuCreateFlow ();
9945 main ()
9947 return AuCreateFlow ();
9949 return 0;
9951 _ACEOF
9952 rm -f conftest.$ac_objext conftest$ac_exeext
9953 if { (ac_try="$ac_link"
9954 case "(($ac_try" in
9955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9956 *) ac_try_echo=$ac_try;;
9957 esac
9958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9959 (eval "$ac_link") 2>conftest.er1
9960 ac_status=$?
9961 grep -v '^ *+' conftest.er1 >conftest.err
9962 rm -f conftest.er1
9963 cat conftest.err >&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); } &&
9966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9967 { (case "(($ac_try" in
9968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9969 *) ac_try_echo=$ac_try;;
9970 esac
9971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9972 (eval "$ac_try") 2>&5
9973 ac_status=$?
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; } &&
9976 { ac_try='test -s conftest$ac_exeext'
9977 { (case "(($ac_try" in
9978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9979 *) ac_try_echo=$ac_try;;
9980 esac
9981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9982 (eval "$ac_try") 2>&5
9983 ac_status=$?
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); }; }; then
9986 ac_cv_lib_audio_AuCreateFlow=yes
9987 else
9988 echo "$as_me: failed program was:" >&5
9989 sed 's/^/| /' conftest.$ac_ext >&5
9991 ac_cv_lib_audio_AuCreateFlow=no
9994 rm -f core conftest.err conftest.$ac_objext \
9995 conftest$ac_exeext conftest.$ac_ext
9996 LIBS=$ac_check_lib_save_LIBS
9998 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9999 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10000 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10002 cat >>confdefs.h <<\_ACEOF
10003 #define HAVE_NAS 1
10004 _ACEOF
10006 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10011 done
10014 CPPFLAGS="$ac_save_CPPFLAGS"
10015 XFILES='$(XFILES)'
10016 else
10017 XLIB=""
10018 X_CFLAGS=""
10019 X_LIBS=""
10023 XML2LIBS=""
10025 XML2INCL=""
10027 XSLTLIBS=""
10029 XSLTINCL=""
10031 if test "$PKG_CONFIG" != "false"
10032 then
10033 ac_save_CPPFLAGS="$CPPFLAGS"
10034 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10035 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10036 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10038 for ac_header in libxml/parser.h
10040 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10042 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10044 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10045 echo $ECHO_N "(cached) $ECHO_C" >&6
10047 ac_res=`eval echo '${'$as_ac_Header'}'`
10048 { echo "$as_me:$LINENO: result: $ac_res" >&5
10049 echo "${ECHO_T}$ac_res" >&6; }
10050 else
10051 # Is the header compilable?
10052 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10054 cat >conftest.$ac_ext <<_ACEOF
10055 /* confdefs.h. */
10056 _ACEOF
10057 cat confdefs.h >>conftest.$ac_ext
10058 cat >>conftest.$ac_ext <<_ACEOF
10059 /* end confdefs.h. */
10060 $ac_includes_default
10061 #include <$ac_header>
10062 _ACEOF
10063 rm -f conftest.$ac_objext
10064 if { (ac_try="$ac_compile"
10065 case "(($ac_try" in
10066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10067 *) ac_try_echo=$ac_try;;
10068 esac
10069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10070 (eval "$ac_compile") 2>conftest.er1
10071 ac_status=$?
10072 grep -v '^ *+' conftest.er1 >conftest.err
10073 rm -f conftest.er1
10074 cat conftest.err >&5
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); } &&
10077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10087 { ac_try='test -s conftest.$ac_objext'
10088 { (case "(($ac_try" in
10089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10090 *) ac_try_echo=$ac_try;;
10091 esac
10092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10093 (eval "$ac_try") 2>&5
10094 ac_status=$?
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }; }; then
10097 ac_header_compiler=yes
10098 else
10099 echo "$as_me: failed program was:" >&5
10100 sed 's/^/| /' conftest.$ac_ext >&5
10102 ac_header_compiler=no
10105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10106 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10107 echo "${ECHO_T}$ac_header_compiler" >&6; }
10109 # Is the header present?
10110 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10112 cat >conftest.$ac_ext <<_ACEOF
10113 /* confdefs.h. */
10114 _ACEOF
10115 cat confdefs.h >>conftest.$ac_ext
10116 cat >>conftest.$ac_ext <<_ACEOF
10117 /* end confdefs.h. */
10118 #include <$ac_header>
10119 _ACEOF
10120 if { (ac_try="$ac_cpp conftest.$ac_ext"
10121 case "(($ac_try" in
10122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10123 *) ac_try_echo=$ac_try;;
10124 esac
10125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10127 ac_status=$?
10128 grep -v '^ *+' conftest.er1 >conftest.err
10129 rm -f conftest.er1
10130 cat conftest.err >&5
10131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 (exit $ac_status); } >/dev/null; then
10133 if test -s conftest.err; then
10134 ac_cpp_err=$ac_c_preproc_warn_flag
10135 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10136 else
10137 ac_cpp_err=
10139 else
10140 ac_cpp_err=yes
10142 if test -z "$ac_cpp_err"; then
10143 ac_header_preproc=yes
10144 else
10145 echo "$as_me: failed program was:" >&5
10146 sed 's/^/| /' conftest.$ac_ext >&5
10148 ac_header_preproc=no
10151 rm -f conftest.err conftest.$ac_ext
10152 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10153 echo "${ECHO_T}$ac_header_preproc" >&6; }
10155 # So? What about this header?
10156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10157 yes:no: )
10158 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10159 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10161 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10162 ac_header_preproc=yes
10164 no:yes:* )
10165 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10166 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10167 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10168 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10169 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10170 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10171 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10172 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10174 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10175 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10176 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10177 ( cat <<\_ASBOX
10178 ## ------------------------------------ ##
10179 ## Report this to wine-devel@winehq.org ##
10180 ## ------------------------------------ ##
10181 _ASBOX
10182 ) | sed "s/^/$as_me: WARNING: /" >&2
10184 esac
10185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10188 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 else
10190 eval "$as_ac_Header=\$ac_header_preproc"
10192 ac_res=`eval echo '${'$as_ac_Header'}'`
10193 { echo "$as_me:$LINENO: result: $ac_res" >&5
10194 echo "${ECHO_T}$ac_res" >&6; }
10197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10198 cat >>confdefs.h <<_ACEOF
10199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10200 _ACEOF
10201 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10202 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10203 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10204 echo $ECHO_N "(cached) $ECHO_C" >&6
10205 else
10206 ac_check_lib_save_LIBS=$LIBS
10207 LIBS="-lxml2 $ac_xml_libs $LIBS"
10208 cat >conftest.$ac_ext <<_ACEOF
10209 /* confdefs.h. */
10210 _ACEOF
10211 cat confdefs.h >>conftest.$ac_ext
10212 cat >>conftest.$ac_ext <<_ACEOF
10213 /* end confdefs.h. */
10215 /* Override any GCC internal prototype to avoid an error.
10216 Use char because int might match the return type of a GCC
10217 builtin and then its argument prototype would still apply. */
10218 #ifdef __cplusplus
10219 extern "C"
10220 #endif
10221 char xmlParseMemory ();
10223 main ()
10225 return xmlParseMemory ();
10227 return 0;
10229 _ACEOF
10230 rm -f conftest.$ac_objext conftest$ac_exeext
10231 if { (ac_try="$ac_link"
10232 case "(($ac_try" in
10233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10234 *) ac_try_echo=$ac_try;;
10235 esac
10236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10237 (eval "$ac_link") 2>conftest.er1
10238 ac_status=$?
10239 grep -v '^ *+' conftest.er1 >conftest.err
10240 rm -f conftest.er1
10241 cat conftest.err >&5
10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10243 (exit $ac_status); } &&
10244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10245 { (case "(($ac_try" in
10246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10247 *) ac_try_echo=$ac_try;;
10248 esac
10249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10250 (eval "$ac_try") 2>&5
10251 ac_status=$?
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); }; } &&
10254 { ac_try='test -s conftest$ac_exeext'
10255 { (case "(($ac_try" in
10256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10257 *) ac_try_echo=$ac_try;;
10258 esac
10259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10260 (eval "$ac_try") 2>&5
10261 ac_status=$?
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); }; }; then
10264 ac_cv_lib_xml2_xmlParseMemory=yes
10265 else
10266 echo "$as_me: failed program was:" >&5
10267 sed 's/^/| /' conftest.$ac_ext >&5
10269 ac_cv_lib_xml2_xmlParseMemory=no
10272 rm -f core conftest.err conftest.$ac_objext \
10273 conftest$ac_exeext conftest.$ac_ext
10274 LIBS=$ac_check_lib_save_LIBS
10276 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10277 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10278 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10280 cat >>confdefs.h <<\_ACEOF
10281 #define HAVE_LIBXML2 1
10282 _ACEOF
10284 XML2LIBS="$ac_xml_libs"
10285 XML2INCL="$ac_xml_cflags"
10288 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10289 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10290 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10292 else
10293 ac_check_lib_save_LIBS=$LIBS
10294 LIBS="-lxml2 $ac_xml_libs $LIBS"
10295 cat >conftest.$ac_ext <<_ACEOF
10296 /* confdefs.h. */
10297 _ACEOF
10298 cat confdefs.h >>conftest.$ac_ext
10299 cat >>conftest.$ac_ext <<_ACEOF
10300 /* end confdefs.h. */
10302 /* Override any GCC internal prototype to avoid an error.
10303 Use char because int might match the return type of a GCC
10304 builtin and then its argument prototype would still apply. */
10305 #ifdef __cplusplus
10306 extern "C"
10307 #endif
10308 char xmlReadMemory ();
10310 main ()
10312 return xmlReadMemory ();
10314 return 0;
10316 _ACEOF
10317 rm -f conftest.$ac_objext conftest$ac_exeext
10318 if { (ac_try="$ac_link"
10319 case "(($ac_try" in
10320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10321 *) ac_try_echo=$ac_try;;
10322 esac
10323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10324 (eval "$ac_link") 2>conftest.er1
10325 ac_status=$?
10326 grep -v '^ *+' conftest.er1 >conftest.err
10327 rm -f conftest.er1
10328 cat conftest.err >&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); } &&
10331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10332 { (case "(($ac_try" in
10333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10334 *) ac_try_echo=$ac_try;;
10335 esac
10336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10337 (eval "$ac_try") 2>&5
10338 ac_status=$?
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; } &&
10341 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10351 ac_cv_lib_xml2_xmlReadMemory=yes
10352 else
10353 echo "$as_me: failed program was:" >&5
10354 sed 's/^/| /' conftest.$ac_ext >&5
10356 ac_cv_lib_xml2_xmlReadMemory=no
10359 rm -f core conftest.err conftest.$ac_objext \
10360 conftest$ac_exeext conftest.$ac_ext
10361 LIBS=$ac_check_lib_save_LIBS
10363 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10364 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10365 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10367 cat >>confdefs.h <<\_ACEOF
10368 #define HAVE_XMLREADMEMORY 1
10369 _ACEOF
10376 done
10378 CPPFLAGS="$ac_save_CPPFLAGS"
10379 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10380 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10381 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10384 for ac_header in libxslt/pattern.h libxslt/transform.h
10386 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10387 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10389 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10390 echo $ECHO_N "(cached) $ECHO_C" >&6
10391 else
10392 cat >conftest.$ac_ext <<_ACEOF
10393 /* confdefs.h. */
10394 _ACEOF
10395 cat confdefs.h >>conftest.$ac_ext
10396 cat >>conftest.$ac_ext <<_ACEOF
10397 /* end confdefs.h. */
10398 #ifdef HAVE_LIBXSLT_PATTERN_H
10399 # include <libxslt/pattern.h>
10400 #endif
10402 #include <$ac_header>
10403 _ACEOF
10404 rm -f conftest.$ac_objext
10405 if { (ac_try="$ac_compile"
10406 case "(($ac_try" in
10407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10408 *) ac_try_echo=$ac_try;;
10409 esac
10410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10411 (eval "$ac_compile") 2>conftest.er1
10412 ac_status=$?
10413 grep -v '^ *+' conftest.er1 >conftest.err
10414 rm -f conftest.er1
10415 cat conftest.err >&5
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); } &&
10418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10419 { (case "(($ac_try" in
10420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10421 *) ac_try_echo=$ac_try;;
10422 esac
10423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10424 (eval "$ac_try") 2>&5
10425 ac_status=$?
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 (exit $ac_status); }; } &&
10428 { ac_try='test -s conftest.$ac_objext'
10429 { (case "(($ac_try" in
10430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10431 *) ac_try_echo=$ac_try;;
10432 esac
10433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10434 (eval "$ac_try") 2>&5
10435 ac_status=$?
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); }; }; then
10438 eval "$as_ac_Header=yes"
10439 else
10440 echo "$as_me: failed program was:" >&5
10441 sed 's/^/| /' conftest.$ac_ext >&5
10443 eval "$as_ac_Header=no"
10446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10448 ac_res=`eval echo '${'$as_ac_Header'}'`
10449 { echo "$as_me:$LINENO: result: $ac_res" >&5
10450 echo "${ECHO_T}$ac_res" >&6; }
10451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10452 cat >>confdefs.h <<_ACEOF
10453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10454 _ACEOF
10455 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10456 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10457 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10458 echo $ECHO_N "(cached) $ECHO_C" >&6
10459 else
10460 ac_check_lib_save_LIBS=$LIBS
10461 LIBS="-lxslt $ac_xslt_libs $LIBS"
10462 cat >conftest.$ac_ext <<_ACEOF
10463 /* confdefs.h. */
10464 _ACEOF
10465 cat confdefs.h >>conftest.$ac_ext
10466 cat >>conftest.$ac_ext <<_ACEOF
10467 /* end confdefs.h. */
10469 /* Override any GCC internal prototype to avoid an error.
10470 Use char because int might match the return type of a GCC
10471 builtin and then its argument prototype would still apply. */
10472 #ifdef __cplusplus
10473 extern "C"
10474 #endif
10475 char xsltCompilePattern ();
10477 main ()
10479 return xsltCompilePattern ();
10481 return 0;
10483 _ACEOF
10484 rm -f conftest.$ac_objext conftest$ac_exeext
10485 if { (ac_try="$ac_link"
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_link") 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_exeext'
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 ac_cv_lib_xslt_xsltCompilePattern=yes
10519 else
10520 echo "$as_me: failed program was:" >&5
10521 sed 's/^/| /' conftest.$ac_ext >&5
10523 ac_cv_lib_xslt_xsltCompilePattern=no
10526 rm -f core conftest.err conftest.$ac_objext \
10527 conftest$ac_exeext conftest.$ac_ext
10528 LIBS=$ac_check_lib_save_LIBS
10530 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10531 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10532 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10534 cat >>confdefs.h <<\_ACEOF
10535 #define HAVE_LIBXSLT 1
10536 _ACEOF
10538 XSLTLIBS="$ac_xslt_libs"
10539 XSLTINCL="$ac_xslt_cflags"
10545 done
10547 CPPFLAGS="$ac_save_CPPFLAGS"
10550 HALINCL=""
10552 if test "$PKG_CONFIG" != "false"
10553 then
10554 ac_save_CPPFLAGS="$CPPFLAGS"
10555 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10556 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10557 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10560 for ac_header in dbus/dbus.h hal/libhal.h
10562 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10564 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10567 echo $ECHO_N "(cached) $ECHO_C" >&6
10569 ac_res=`eval echo '${'$as_ac_Header'}'`
10570 { echo "$as_me:$LINENO: result: $ac_res" >&5
10571 echo "${ECHO_T}$ac_res" >&6; }
10572 else
10573 # Is the header compilable?
10574 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10576 cat >conftest.$ac_ext <<_ACEOF
10577 /* confdefs.h. */
10578 _ACEOF
10579 cat confdefs.h >>conftest.$ac_ext
10580 cat >>conftest.$ac_ext <<_ACEOF
10581 /* end confdefs.h. */
10582 $ac_includes_default
10583 #include <$ac_header>
10584 _ACEOF
10585 rm -f conftest.$ac_objext
10586 if { (ac_try="$ac_compile"
10587 case "(($ac_try" in
10588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10589 *) ac_try_echo=$ac_try;;
10590 esac
10591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10592 (eval "$ac_compile") 2>conftest.er1
10593 ac_status=$?
10594 grep -v '^ *+' conftest.er1 >conftest.err
10595 rm -f conftest.er1
10596 cat conftest.err >&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); } &&
10599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10600 { (case "(($ac_try" in
10601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10602 *) ac_try_echo=$ac_try;;
10603 esac
10604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10605 (eval "$ac_try") 2>&5
10606 ac_status=$?
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; } &&
10609 { ac_try='test -s conftest.$ac_objext'
10610 { (case "(($ac_try" in
10611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10612 *) ac_try_echo=$ac_try;;
10613 esac
10614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10615 (eval "$ac_try") 2>&5
10616 ac_status=$?
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); }; }; then
10619 ac_header_compiler=yes
10620 else
10621 echo "$as_me: failed program was:" >&5
10622 sed 's/^/| /' conftest.$ac_ext >&5
10624 ac_header_compiler=no
10627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10628 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10629 echo "${ECHO_T}$ac_header_compiler" >&6; }
10631 # Is the header present?
10632 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10634 cat >conftest.$ac_ext <<_ACEOF
10635 /* confdefs.h. */
10636 _ACEOF
10637 cat confdefs.h >>conftest.$ac_ext
10638 cat >>conftest.$ac_ext <<_ACEOF
10639 /* end confdefs.h. */
10640 #include <$ac_header>
10641 _ACEOF
10642 if { (ac_try="$ac_cpp conftest.$ac_ext"
10643 case "(($ac_try" in
10644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10645 *) ac_try_echo=$ac_try;;
10646 esac
10647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10649 ac_status=$?
10650 grep -v '^ *+' conftest.er1 >conftest.err
10651 rm -f conftest.er1
10652 cat conftest.err >&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } >/dev/null; then
10655 if test -s conftest.err; then
10656 ac_cpp_err=$ac_c_preproc_warn_flag
10657 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10658 else
10659 ac_cpp_err=
10661 else
10662 ac_cpp_err=yes
10664 if test -z "$ac_cpp_err"; then
10665 ac_header_preproc=yes
10666 else
10667 echo "$as_me: failed program was:" >&5
10668 sed 's/^/| /' conftest.$ac_ext >&5
10670 ac_header_preproc=no
10673 rm -f conftest.err conftest.$ac_ext
10674 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10675 echo "${ECHO_T}$ac_header_preproc" >&6; }
10677 # So? What about this header?
10678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10679 yes:no: )
10680 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10681 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10683 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10684 ac_header_preproc=yes
10686 no:yes:* )
10687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10691 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10692 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10693 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10694 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10697 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10698 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10699 ( cat <<\_ASBOX
10700 ## ------------------------------------ ##
10701 ## Report this to wine-devel@winehq.org ##
10702 ## ------------------------------------ ##
10703 _ASBOX
10704 ) | sed "s/^/$as_me: WARNING: /" >&2
10706 esac
10707 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10710 echo $ECHO_N "(cached) $ECHO_C" >&6
10711 else
10712 eval "$as_ac_Header=\$ac_header_preproc"
10714 ac_res=`eval echo '${'$as_ac_Header'}'`
10715 { echo "$as_me:$LINENO: result: $ac_res" >&5
10716 echo "${ECHO_T}$ac_res" >&6; }
10719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10720 cat >>confdefs.h <<_ACEOF
10721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10722 _ACEOF
10726 done
10728 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10729 then
10730 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10731 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10732 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10733 echo $ECHO_N "(cached) $ECHO_C" >&6
10734 else
10735 ac_check_lib_save_LIBS=$LIBS
10736 LIBS="-lhal $LIBS"
10737 cat >conftest.$ac_ext <<_ACEOF
10738 /* confdefs.h. */
10739 _ACEOF
10740 cat confdefs.h >>conftest.$ac_ext
10741 cat >>conftest.$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10744 /* Override any GCC internal prototype to avoid an error.
10745 Use char because int might match the return type of a GCC
10746 builtin and then its argument prototype would still apply. */
10747 #ifdef __cplusplus
10748 extern "C"
10749 #endif
10750 char libhal_ctx_new ();
10752 main ()
10754 return libhal_ctx_new ();
10756 return 0;
10758 _ACEOF
10759 rm -f conftest.$ac_objext conftest$ac_exeext
10760 if { (ac_try="$ac_link"
10761 case "(($ac_try" in
10762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10763 *) ac_try_echo=$ac_try;;
10764 esac
10765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10766 (eval "$ac_link") 2>conftest.er1
10767 ac_status=$?
10768 grep -v '^ *+' conftest.er1 >conftest.err
10769 rm -f conftest.er1
10770 cat conftest.err >&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); } &&
10773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10774 { (case "(($ac_try" in
10775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10776 *) ac_try_echo=$ac_try;;
10777 esac
10778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10779 (eval "$ac_try") 2>&5
10780 ac_status=$?
10781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 (exit $ac_status); }; } &&
10783 { ac_try='test -s conftest$ac_exeext'
10784 { (case "(($ac_try" in
10785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10786 *) ac_try_echo=$ac_try;;
10787 esac
10788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10789 (eval "$ac_try") 2>&5
10790 ac_status=$?
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); }; }; then
10793 ac_cv_lib_hal_libhal_ctx_new=yes
10794 else
10795 echo "$as_me: failed program was:" >&5
10796 sed 's/^/| /' conftest.$ac_ext >&5
10798 ac_cv_lib_hal_libhal_ctx_new=no
10801 rm -f core conftest.err conftest.$ac_objext \
10802 conftest$ac_exeext conftest.$ac_ext
10803 LIBS=$ac_check_lib_save_LIBS
10805 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10806 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10807 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10808 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10809 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10810 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10811 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 else
10813 ac_check_lib_save_LIBS=$LIBS
10814 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10815 cat >conftest.$ac_ext <<_ACEOF
10816 /* confdefs.h. */
10817 _ACEOF
10818 cat confdefs.h >>conftest.$ac_ext
10819 cat >>conftest.$ac_ext <<_ACEOF
10820 /* end confdefs.h. */
10822 /* Override any GCC internal prototype to avoid an error.
10823 Use char because int might match the return type of a GCC
10824 builtin and then its argument prototype would still apply. */
10825 #ifdef __cplusplus
10826 extern "C"
10827 #endif
10828 char dbus_connection_close ();
10830 main ()
10832 return dbus_connection_close ();
10834 return 0;
10836 _ACEOF
10837 rm -f conftest.$ac_objext conftest$ac_exeext
10838 if { (ac_try="$ac_link"
10839 case "(($ac_try" in
10840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10841 *) ac_try_echo=$ac_try;;
10842 esac
10843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10844 (eval "$ac_link") 2>conftest.er1
10845 ac_status=$?
10846 grep -v '^ *+' conftest.er1 >conftest.err
10847 rm -f conftest.er1
10848 cat conftest.err >&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); } &&
10851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10852 { (case "(($ac_try" in
10853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10854 *) ac_try_echo=$ac_try;;
10855 esac
10856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10857 (eval "$ac_try") 2>&5
10858 ac_status=$?
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); }; } &&
10861 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10871 ac_cv_lib_dbus_1_dbus_connection_close=yes
10872 else
10873 echo "$as_me: failed program was:" >&5
10874 sed 's/^/| /' conftest.$ac_ext >&5
10876 ac_cv_lib_dbus_1_dbus_connection_close=no
10879 rm -f core conftest.err conftest.$ac_objext \
10880 conftest$ac_exeext conftest.$ac_ext
10881 LIBS=$ac_check_lib_save_LIBS
10883 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10884 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10885 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10887 cat >>confdefs.h <<\_ACEOF
10888 #define HAVE_LIBHAL 1
10889 _ACEOF
10891 HALINCL="$ac_hal_cflags"
10897 CPPFLAGS="$ac_save_CPPFLAGS"
10900 CURSESLIBS=""
10901 if test "x$with_curses" != "xno"
10902 then
10903 if test "$ac_cv_header_ncurses_h" = "yes"
10904 then
10905 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10906 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10907 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10908 echo $ECHO_N "(cached) $ECHO_C" >&6
10909 else
10910 ac_check_lib_save_LIBS=$LIBS
10911 LIBS="-lncurses $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 waddch ();
10927 main ()
10929 return waddch ();
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_ncurses_waddch=yes
10969 else
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10973 ac_cv_lib_ncurses_waddch=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_ncurses_waddch" >&5
10981 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10982 if test $ac_cv_lib_ncurses_waddch = yes; then
10984 cat >>confdefs.h <<\_ACEOF
10985 #define HAVE_LIBNCURSES 1
10986 _ACEOF
10988 CURSESLIBS="-lncurses"
10991 elif test "$ac_cv_header_curses_h" = "yes"
10992 then
10993 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
10994 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
10995 if test "${ac_cv_lib_curses_waddch+set}" = set; then
10996 echo $ECHO_N "(cached) $ECHO_C" >&6
10997 else
10998 ac_check_lib_save_LIBS=$LIBS
10999 LIBS="-lcurses $LIBS"
11000 cat >conftest.$ac_ext <<_ACEOF
11001 /* confdefs.h. */
11002 _ACEOF
11003 cat confdefs.h >>conftest.$ac_ext
11004 cat >>conftest.$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11010 #ifdef __cplusplus
11011 extern "C"
11012 #endif
11013 char waddch ();
11015 main ()
11017 return waddch ();
11019 return 0;
11021 _ACEOF
11022 rm -f conftest.$ac_objext conftest$ac_exeext
11023 if { (ac_try="$ac_link"
11024 case "(($ac_try" in
11025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11026 *) ac_try_echo=$ac_try;;
11027 esac
11028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11029 (eval "$ac_link") 2>conftest.er1
11030 ac_status=$?
11031 grep -v '^ *+' conftest.er1 >conftest.err
11032 rm -f conftest.er1
11033 cat conftest.err >&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); } &&
11036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11037 { (case "(($ac_try" in
11038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11039 *) ac_try_echo=$ac_try;;
11040 esac
11041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11042 (eval "$ac_try") 2>&5
11043 ac_status=$?
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; } &&
11046 { ac_try='test -s conftest$ac_exeext'
11047 { (case "(($ac_try" in
11048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11049 *) ac_try_echo=$ac_try;;
11050 esac
11051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11052 (eval "$ac_try") 2>&5
11053 ac_status=$?
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); }; }; then
11056 ac_cv_lib_curses_waddch=yes
11057 else
11058 echo "$as_me: failed program was:" >&5
11059 sed 's/^/| /' conftest.$ac_ext >&5
11061 ac_cv_lib_curses_waddch=no
11064 rm -f core conftest.err conftest.$ac_objext \
11065 conftest$ac_exeext conftest.$ac_ext
11066 LIBS=$ac_check_lib_save_LIBS
11068 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11069 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11070 if test $ac_cv_lib_curses_waddch = yes; then
11072 cat >>confdefs.h <<\_ACEOF
11073 #define HAVE_LIBCURSES 1
11074 _ACEOF
11076 CURSESLIBS="-lcurses"
11080 ac_save_LIBS="$LIBS"
11081 LIBS="$LIBS $CURSESLIBS"
11083 for ac_func in mousemask
11085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11089 echo $ECHO_N "(cached) $ECHO_C" >&6
11090 else
11091 cat >conftest.$ac_ext <<_ACEOF
11092 /* confdefs.h. */
11093 _ACEOF
11094 cat confdefs.h >>conftest.$ac_ext
11095 cat >>conftest.$ac_ext <<_ACEOF
11096 /* end confdefs.h. */
11097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11099 #define $ac_func innocuous_$ac_func
11101 /* System header to define __stub macros and hopefully few prototypes,
11102 which can conflict with char $ac_func (); below.
11103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11104 <limits.h> exists even on freestanding compilers. */
11106 #ifdef __STDC__
11107 # include <limits.h>
11108 #else
11109 # include <assert.h>
11110 #endif
11112 #undef $ac_func
11114 /* Override any GCC internal prototype to avoid an error.
11115 Use char because int might match the return type of a GCC
11116 builtin and then its argument prototype would still apply. */
11117 #ifdef __cplusplus
11118 extern "C"
11119 #endif
11120 char $ac_func ();
11121 /* The GNU C library defines this for functions which it implements
11122 to always fail with ENOSYS. Some functions are actually named
11123 something starting with __ and the normal name is an alias. */
11124 #if defined __stub_$ac_func || defined __stub___$ac_func
11125 choke me
11126 #endif
11129 main ()
11131 return $ac_func ();
11133 return 0;
11135 _ACEOF
11136 rm -f conftest.$ac_objext conftest$ac_exeext
11137 if { (ac_try="$ac_link"
11138 case "(($ac_try" in
11139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11140 *) ac_try_echo=$ac_try;;
11141 esac
11142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11143 (eval "$ac_link") 2>conftest.er1
11144 ac_status=$?
11145 grep -v '^ *+' conftest.er1 >conftest.err
11146 rm -f conftest.er1
11147 cat conftest.err >&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); } &&
11150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11151 { (case "(($ac_try" in
11152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11153 *) ac_try_echo=$ac_try;;
11154 esac
11155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11156 (eval "$ac_try") 2>&5
11157 ac_status=$?
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; } &&
11160 { ac_try='test -s conftest$ac_exeext'
11161 { (case "(($ac_try" in
11162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11163 *) ac_try_echo=$ac_try;;
11164 esac
11165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11166 (eval "$ac_try") 2>&5
11167 ac_status=$?
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); }; }; then
11170 eval "$as_ac_var=yes"
11171 else
11172 echo "$as_me: failed program was:" >&5
11173 sed 's/^/| /' conftest.$ac_ext >&5
11175 eval "$as_ac_var=no"
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11181 ac_res=`eval echo '${'$as_ac_var'}'`
11182 { echo "$as_me:$LINENO: result: $ac_res" >&5
11183 echo "${ECHO_T}$ac_res" >&6; }
11184 if test `eval echo '${'$as_ac_var'}'` = yes; then
11185 cat >>confdefs.h <<_ACEOF
11186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11187 _ACEOF
11190 done
11192 LIBS="$ac_save_LIBS"
11196 # Extract the first word of "sane-config", so it can be a program name with args.
11197 set dummy sane-config; ac_word=$2
11198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11200 if test "${ac_cv_prog_sane_devel+set}" = set; then
11201 echo $ECHO_N "(cached) $ECHO_C" >&6
11202 else
11203 if test -n "$sane_devel"; then
11204 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11205 else
11206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11207 for as_dir in $PATH
11209 IFS=$as_save_IFS
11210 test -z "$as_dir" && as_dir=.
11211 for ac_exec_ext in '' $ac_executable_extensions; do
11212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11213 ac_cv_prog_sane_devel="sane-config"
11214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11215 break 2
11217 done
11218 done
11219 IFS=$as_save_IFS
11221 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11224 sane_devel=$ac_cv_prog_sane_devel
11225 if test -n "$sane_devel"; then
11226 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11227 echo "${ECHO_T}$sane_devel" >&6; }
11228 else
11229 { echo "$as_me:$LINENO: result: no" >&5
11230 echo "${ECHO_T}no" >&6; }
11234 SANELIBS=""
11236 SANEINCL=""
11238 if test "$sane_devel" != "no"
11239 then
11240 SANELIBS="`$sane_devel --libs`"
11241 SANEINCL="`$sane_devel --cflags`"
11242 ac_save_CPPFLAGS="$CPPFLAGS"
11243 ac_save_LIBS="$LIBS"
11244 CPPFLAGS="$CPPFLAGS $SANEINCL"
11245 LIBS="$LIBS $SANELIBS"
11246 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11247 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11248 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11249 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11250 echo $ECHO_N "(cached) $ECHO_C" >&6
11252 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11253 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11254 else
11255 # Is the header compilable?
11256 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11257 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11258 cat >conftest.$ac_ext <<_ACEOF
11259 /* confdefs.h. */
11260 _ACEOF
11261 cat confdefs.h >>conftest.$ac_ext
11262 cat >>conftest.$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11264 $ac_includes_default
11265 #include <sane/sane.h>
11266 _ACEOF
11267 rm -f conftest.$ac_objext
11268 if { (ac_try="$ac_compile"
11269 case "(($ac_try" in
11270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11271 *) ac_try_echo=$ac_try;;
11272 esac
11273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11274 (eval "$ac_compile") 2>conftest.er1
11275 ac_status=$?
11276 grep -v '^ *+' conftest.er1 >conftest.err
11277 rm -f conftest.er1
11278 cat conftest.err >&5
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); } &&
11281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11282 { (case "(($ac_try" in
11283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11284 *) ac_try_echo=$ac_try;;
11285 esac
11286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11287 (eval "$ac_try") 2>&5
11288 ac_status=$?
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); }; } &&
11291 { ac_try='test -s conftest.$ac_objext'
11292 { (case "(($ac_try" in
11293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11294 *) ac_try_echo=$ac_try;;
11295 esac
11296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11297 (eval "$ac_try") 2>&5
11298 ac_status=$?
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11301 ac_header_compiler=yes
11302 else
11303 echo "$as_me: failed program was:" >&5
11304 sed 's/^/| /' conftest.$ac_ext >&5
11306 ac_header_compiler=no
11309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11310 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11311 echo "${ECHO_T}$ac_header_compiler" >&6; }
11313 # Is the header present?
11314 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11315 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11316 cat >conftest.$ac_ext <<_ACEOF
11317 /* confdefs.h. */
11318 _ACEOF
11319 cat confdefs.h >>conftest.$ac_ext
11320 cat >>conftest.$ac_ext <<_ACEOF
11321 /* end confdefs.h. */
11322 #include <sane/sane.h>
11323 _ACEOF
11324 if { (ac_try="$ac_cpp conftest.$ac_ext"
11325 case "(($ac_try" in
11326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11327 *) ac_try_echo=$ac_try;;
11328 esac
11329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11330 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11331 ac_status=$?
11332 grep -v '^ *+' conftest.er1 >conftest.err
11333 rm -f conftest.er1
11334 cat conftest.err >&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } >/dev/null; then
11337 if test -s conftest.err; then
11338 ac_cpp_err=$ac_c_preproc_warn_flag
11339 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11340 else
11341 ac_cpp_err=
11343 else
11344 ac_cpp_err=yes
11346 if test -z "$ac_cpp_err"; then
11347 ac_header_preproc=yes
11348 else
11349 echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.$ac_ext >&5
11352 ac_header_preproc=no
11355 rm -f conftest.err conftest.$ac_ext
11356 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11357 echo "${ECHO_T}$ac_header_preproc" >&6; }
11359 # So? What about this header?
11360 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11361 yes:no: )
11362 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11363 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11364 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11365 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11366 ac_header_preproc=yes
11368 no:yes:* )
11369 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11370 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11371 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11372 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11373 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11374 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11375 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11376 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11377 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11378 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11379 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11380 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11381 ( cat <<\_ASBOX
11382 ## ------------------------------------ ##
11383 ## Report this to wine-devel@winehq.org ##
11384 ## ------------------------------------ ##
11385 _ASBOX
11386 ) | sed "s/^/$as_me: WARNING: /" >&2
11388 esac
11389 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11390 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11391 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11392 echo $ECHO_N "(cached) $ECHO_C" >&6
11393 else
11394 ac_cv_header_sane_sane_h=$ac_header_preproc
11396 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11397 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11400 if test $ac_cv_header_sane_sane_h = yes; then
11401 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11402 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11403 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11405 else
11406 ac_check_lib_save_LIBS=$LIBS
11407 LIBS="-lsane $LIBS"
11408 cat >conftest.$ac_ext <<_ACEOF
11409 /* confdefs.h. */
11410 _ACEOF
11411 cat confdefs.h >>conftest.$ac_ext
11412 cat >>conftest.$ac_ext <<_ACEOF
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char sane_open ();
11423 main ()
11425 return sane_open ();
11427 return 0;
11429 _ACEOF
11430 rm -f conftest.$ac_objext conftest$ac_exeext
11431 if { (ac_try="$ac_link"
11432 case "(($ac_try" in
11433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11434 *) ac_try_echo=$ac_try;;
11435 esac
11436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11437 (eval "$ac_link") 2>conftest.er1
11438 ac_status=$?
11439 grep -v '^ *+' conftest.er1 >conftest.err
11440 rm -f conftest.er1
11441 cat conftest.err >&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } &&
11444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11445 { (case "(($ac_try" in
11446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11447 *) ac_try_echo=$ac_try;;
11448 esac
11449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11450 (eval "$ac_try") 2>&5
11451 ac_status=$?
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); }; } &&
11454 { ac_try='test -s conftest$ac_exeext'
11455 { (case "(($ac_try" in
11456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11457 *) ac_try_echo=$ac_try;;
11458 esac
11459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11460 (eval "$ac_try") 2>&5
11461 ac_status=$?
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then
11464 ac_cv_lib_sane_sane_open=yes
11465 else
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.$ac_ext >&5
11469 ac_cv_lib_sane_sane_open=no
11472 rm -f core conftest.err conftest.$ac_objext \
11473 conftest$ac_exeext conftest.$ac_ext
11474 LIBS=$ac_check_lib_save_LIBS
11476 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11477 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11478 if test $ac_cv_lib_sane_sane_open = yes; then
11480 cat >>confdefs.h <<\_ACEOF
11481 #define HAVE_SANE 1
11482 _ACEOF
11484 else
11485 SANELIBS=""
11486 SANEINCL=""
11489 else
11490 SANELIBS=""
11491 SANEINCL=""
11495 LIBS="$ac_save_LIBS"
11496 CPPFLAGS="$ac_save_CPPFLAGS"
11499 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11500 set dummy gphoto2-config; ac_word=$2
11501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11503 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11504 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 else
11506 if test -n "$gphoto2_devel"; then
11507 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11508 else
11509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11510 for as_dir in $PATH
11512 IFS=$as_save_IFS
11513 test -z "$as_dir" && as_dir=.
11514 for ac_exec_ext in '' $ac_executable_extensions; do
11515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11516 ac_cv_prog_gphoto2_devel="gphoto2-config"
11517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11518 break 2
11520 done
11521 done
11522 IFS=$as_save_IFS
11524 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11527 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11528 if test -n "$gphoto2_devel"; then
11529 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11530 echo "${ECHO_T}$gphoto2_devel" >&6; }
11531 else
11532 { echo "$as_me:$LINENO: result: no" >&5
11533 echo "${ECHO_T}no" >&6; }
11537 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11538 set dummy gphoto2-port-config; ac_word=$2
11539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11541 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11542 echo $ECHO_N "(cached) $ECHO_C" >&6
11543 else
11544 if test -n "$gphoto2port_devel"; then
11545 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11546 else
11547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11548 for as_dir in $PATH
11550 IFS=$as_save_IFS
11551 test -z "$as_dir" && as_dir=.
11552 for ac_exec_ext in '' $ac_executable_extensions; do
11553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11554 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11556 break 2
11558 done
11559 done
11560 IFS=$as_save_IFS
11562 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11565 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11566 if test -n "$gphoto2port_devel"; then
11567 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11568 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11569 else
11570 { echo "$as_me:$LINENO: result: no" >&5
11571 echo "${ECHO_T}no" >&6; }
11575 GPHOTO2LIBS=""
11577 GPHOTO2INCL=""
11579 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11580 then
11581 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11582 GPHOTO2LIBS=""
11583 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11585 case "$i" in
11586 -L/usr/lib|-L/usr/lib64) ;;
11587 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11588 esac
11589 done
11590 ac_save_CPPFLAGS="$CPPFLAGS"
11591 ac_save_LIBS="$LIBS"
11592 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11593 LIBS="$LIBS $GPHOTO2LIBS"
11594 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11595 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11596 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11597 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11600 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11601 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11602 else
11603 # Is the header compilable?
11604 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11605 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11606 cat >conftest.$ac_ext <<_ACEOF
11607 /* confdefs.h. */
11608 _ACEOF
11609 cat confdefs.h >>conftest.$ac_ext
11610 cat >>conftest.$ac_ext <<_ACEOF
11611 /* end confdefs.h. */
11612 $ac_includes_default
11613 #include <gphoto2-camera.h>
11614 _ACEOF
11615 rm -f conftest.$ac_objext
11616 if { (ac_try="$ac_compile"
11617 case "(($ac_try" in
11618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11619 *) ac_try_echo=$ac_try;;
11620 esac
11621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11622 (eval "$ac_compile") 2>conftest.er1
11623 ac_status=$?
11624 grep -v '^ *+' conftest.er1 >conftest.err
11625 rm -f conftest.er1
11626 cat conftest.err >&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } &&
11629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11630 { (case "(($ac_try" in
11631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11632 *) ac_try_echo=$ac_try;;
11633 esac
11634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11635 (eval "$ac_try") 2>&5
11636 ac_status=$?
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }; } &&
11639 { ac_try='test -s conftest.$ac_objext'
11640 { (case "(($ac_try" in
11641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11642 *) ac_try_echo=$ac_try;;
11643 esac
11644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11645 (eval "$ac_try") 2>&5
11646 ac_status=$?
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); }; }; then
11649 ac_header_compiler=yes
11650 else
11651 echo "$as_me: failed program was:" >&5
11652 sed 's/^/| /' conftest.$ac_ext >&5
11654 ac_header_compiler=no
11657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11658 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11659 echo "${ECHO_T}$ac_header_compiler" >&6; }
11661 # Is the header present?
11662 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11663 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11664 cat >conftest.$ac_ext <<_ACEOF
11665 /* confdefs.h. */
11666 _ACEOF
11667 cat confdefs.h >>conftest.$ac_ext
11668 cat >>conftest.$ac_ext <<_ACEOF
11669 /* end confdefs.h. */
11670 #include <gphoto2-camera.h>
11671 _ACEOF
11672 if { (ac_try="$ac_cpp conftest.$ac_ext"
11673 case "(($ac_try" in
11674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11675 *) ac_try_echo=$ac_try;;
11676 esac
11677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11679 ac_status=$?
11680 grep -v '^ *+' conftest.er1 >conftest.err
11681 rm -f conftest.er1
11682 cat conftest.err >&5
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); } >/dev/null; then
11685 if test -s conftest.err; then
11686 ac_cpp_err=$ac_c_preproc_warn_flag
11687 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11688 else
11689 ac_cpp_err=
11691 else
11692 ac_cpp_err=yes
11694 if test -z "$ac_cpp_err"; then
11695 ac_header_preproc=yes
11696 else
11697 echo "$as_me: failed program was:" >&5
11698 sed 's/^/| /' conftest.$ac_ext >&5
11700 ac_header_preproc=no
11703 rm -f conftest.err conftest.$ac_ext
11704 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11705 echo "${ECHO_T}$ac_header_preproc" >&6; }
11707 # So? What about this header?
11708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11709 yes:no: )
11710 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11711 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11712 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11713 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11714 ac_header_preproc=yes
11716 no:yes:* )
11717 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11718 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11719 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11720 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11721 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11722 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11723 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11724 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11725 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11726 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11727 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11728 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11729 ( cat <<\_ASBOX
11730 ## ------------------------------------ ##
11731 ## Report this to wine-devel@winehq.org ##
11732 ## ------------------------------------ ##
11733 _ASBOX
11734 ) | sed "s/^/$as_me: WARNING: /" >&2
11736 esac
11737 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11738 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11739 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11740 echo $ECHO_N "(cached) $ECHO_C" >&6
11741 else
11742 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11744 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11745 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11748 if test $ac_cv_header_gphoto2_camera_h = yes; then
11749 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11750 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11751 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6
11753 else
11754 ac_check_lib_save_LIBS=$LIBS
11755 LIBS="-lgphoto2 $LIBS"
11756 cat >conftest.$ac_ext <<_ACEOF
11757 /* confdefs.h. */
11758 _ACEOF
11759 cat confdefs.h >>conftest.$ac_ext
11760 cat >>conftest.$ac_ext <<_ACEOF
11761 /* end confdefs.h. */
11763 /* Override any GCC internal prototype to avoid an error.
11764 Use char because int might match the return type of a GCC
11765 builtin and then its argument prototype would still apply. */
11766 #ifdef __cplusplus
11767 extern "C"
11768 #endif
11769 char gp_camera_new ();
11771 main ()
11773 return gp_camera_new ();
11775 return 0;
11777 _ACEOF
11778 rm -f conftest.$ac_objext conftest$ac_exeext
11779 if { (ac_try="$ac_link"
11780 case "(($ac_try" in
11781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11782 *) ac_try_echo=$ac_try;;
11783 esac
11784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11785 (eval "$ac_link") 2>conftest.er1
11786 ac_status=$?
11787 grep -v '^ *+' conftest.er1 >conftest.err
11788 rm -f conftest.er1
11789 cat conftest.err >&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); } &&
11792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11793 { (case "(($ac_try" in
11794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11795 *) ac_try_echo=$ac_try;;
11796 esac
11797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11798 (eval "$ac_try") 2>&5
11799 ac_status=$?
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; } &&
11802 { ac_try='test -s conftest$ac_exeext'
11803 { (case "(($ac_try" in
11804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11805 *) ac_try_echo=$ac_try;;
11806 esac
11807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11808 (eval "$ac_try") 2>&5
11809 ac_status=$?
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); }; }; then
11812 ac_cv_lib_gphoto2_gp_camera_new=yes
11813 else
11814 echo "$as_me: failed program was:" >&5
11815 sed 's/^/| /' conftest.$ac_ext >&5
11817 ac_cv_lib_gphoto2_gp_camera_new=no
11820 rm -f core conftest.err conftest.$ac_objext \
11821 conftest$ac_exeext conftest.$ac_ext
11822 LIBS=$ac_check_lib_save_LIBS
11824 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11825 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11826 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11828 cat >>confdefs.h <<\_ACEOF
11829 #define HAVE_GPHOTO2 1
11830 _ACEOF
11832 else
11833 GPHOTO2LIBS=""
11834 GPHOTO2INCL=""
11837 else
11838 GPHOTO2LIBS=""
11839 GPHOTO2INCL=""
11843 LIBS="$ac_save_LIBS"
11844 CPPFLAGS="$ac_save_CPPFLAGS"
11847 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11848 then
11849 saved_libs="$LIBS"
11850 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11852 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11853 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11854 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11855 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11856 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11857 cat >conftest.$ac_ext <<_ACEOF
11858 /* confdefs.h. */
11859 _ACEOF
11860 cat confdefs.h >>conftest.$ac_ext
11861 cat >>conftest.$ac_ext <<_ACEOF
11862 /* end confdefs.h. */
11863 #include <unicode/ubidi.h>
11865 main ()
11867 ubidi_open()
11869 return 0;
11871 _ACEOF
11872 rm -f conftest.$ac_objext conftest$ac_exeext
11873 if { (ac_try="$ac_link"
11874 case "(($ac_try" in
11875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11876 *) ac_try_echo=$ac_try;;
11877 esac
11878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11879 (eval "$ac_link") 2>conftest.er1
11880 ac_status=$?
11881 grep -v '^ *+' conftest.er1 >conftest.err
11882 rm -f conftest.er1
11883 cat conftest.err >&5
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); } &&
11886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11887 { (case "(($ac_try" in
11888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11889 *) ac_try_echo=$ac_try;;
11890 esac
11891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11892 (eval "$ac_try") 2>&5
11893 ac_status=$?
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; } &&
11896 { ac_try='test -s conftest$ac_exeext'
11897 { (case "(($ac_try" in
11898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11899 *) ac_try_echo=$ac_try;;
11900 esac
11901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11902 (eval "$ac_try") 2>&5
11903 ac_status=$?
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }; }; then
11907 cat >>confdefs.h <<\_ACEOF
11908 #define HAVE_ICU 1
11909 _ACEOF
11911 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11913 { echo "$as_me:$LINENO: result: yes" >&5
11914 echo "${ECHO_T}yes" >&6; }
11915 else
11916 echo "$as_me: failed program was:" >&5
11917 sed 's/^/| /' conftest.$ac_ext >&5
11919 { echo "$as_me:$LINENO: result: no" >&5
11920 echo "${ECHO_T}no" >&6; }
11923 rm -f core conftest.err conftest.$ac_objext \
11924 conftest$ac_exeext conftest.$ac_ext
11925 done
11926 LIBS="$saved_libs"
11929 RESOLVLIBS=""
11931 if test "$ac_cv_header_resolv_h" = "yes"
11932 then
11933 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11934 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11935 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11936 echo $ECHO_N "(cached) $ECHO_C" >&6
11937 else
11938 ac_check_lib_save_LIBS=$LIBS
11939 LIBS="-lresolv $LIBS"
11940 cat >conftest.$ac_ext <<_ACEOF
11941 /* confdefs.h. */
11942 _ACEOF
11943 cat confdefs.h >>conftest.$ac_ext
11944 cat >>conftest.$ac_ext <<_ACEOF
11945 /* end confdefs.h. */
11947 /* Override any GCC internal prototype to avoid an error.
11948 Use char because int might match the return type of a GCC
11949 builtin and then its argument prototype would still apply. */
11950 #ifdef __cplusplus
11951 extern "C"
11952 #endif
11953 char res_query ();
11955 main ()
11957 return res_query ();
11959 return 0;
11961 _ACEOF
11962 rm -f conftest.$ac_objext conftest$ac_exeext
11963 if { (ac_try="$ac_link"
11964 case "(($ac_try" in
11965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11966 *) ac_try_echo=$ac_try;;
11967 esac
11968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11969 (eval "$ac_link") 2>conftest.er1
11970 ac_status=$?
11971 grep -v '^ *+' conftest.er1 >conftest.err
11972 rm -f conftest.er1
11973 cat conftest.err >&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); } &&
11976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11977 { (case "(($ac_try" in
11978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11979 *) ac_try_echo=$ac_try;;
11980 esac
11981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11982 (eval "$ac_try") 2>&5
11983 ac_status=$?
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; } &&
11986 { ac_try='test -s conftest$ac_exeext'
11987 { (case "(($ac_try" in
11988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11989 *) ac_try_echo=$ac_try;;
11990 esac
11991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11992 (eval "$ac_try") 2>&5
11993 ac_status=$?
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); }; }; then
11996 ac_cv_lib_resolv_res_query=yes
11997 else
11998 echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.$ac_ext >&5
12001 ac_cv_lib_resolv_res_query=no
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_lib_save_LIBS
12008 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12009 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12010 if test $ac_cv_lib_resolv_res_query = yes; then
12012 cat >>confdefs.h <<\_ACEOF
12013 #define HAVE_RESOLV 1
12014 _ACEOF
12016 RESOLVLIBS="-lresolv"
12021 LCMSLIBS=""
12023 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12024 then
12025 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12026 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12027 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 else
12030 ac_check_lib_save_LIBS=$LIBS
12031 LIBS="-llcms $LIBS"
12032 cat >conftest.$ac_ext <<_ACEOF
12033 /* confdefs.h. */
12034 _ACEOF
12035 cat confdefs.h >>conftest.$ac_ext
12036 cat >>conftest.$ac_ext <<_ACEOF
12037 /* end confdefs.h. */
12039 /* Override any GCC internal prototype to avoid an error.
12040 Use char because int might match the return type of a GCC
12041 builtin and then its argument prototype would still apply. */
12042 #ifdef __cplusplus
12043 extern "C"
12044 #endif
12045 char cmsOpenProfileFromFile ();
12047 main ()
12049 return cmsOpenProfileFromFile ();
12051 return 0;
12053 _ACEOF
12054 rm -f conftest.$ac_objext conftest$ac_exeext
12055 if { (ac_try="$ac_link"
12056 case "(($ac_try" in
12057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12058 *) ac_try_echo=$ac_try;;
12059 esac
12060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12061 (eval "$ac_link") 2>conftest.er1
12062 ac_status=$?
12063 grep -v '^ *+' conftest.er1 >conftest.err
12064 rm -f conftest.er1
12065 cat conftest.err >&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); } &&
12068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12069 { (case "(($ac_try" in
12070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12071 *) ac_try_echo=$ac_try;;
12072 esac
12073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12074 (eval "$ac_try") 2>&5
12075 ac_status=$?
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }; } &&
12078 { ac_try='test -s conftest$ac_exeext'
12079 { (case "(($ac_try" in
12080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12081 *) ac_try_echo=$ac_try;;
12082 esac
12083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12084 (eval "$ac_try") 2>&5
12085 ac_status=$?
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); }; }; then
12088 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12089 else
12090 echo "$as_me: failed program was:" >&5
12091 sed 's/^/| /' conftest.$ac_ext >&5
12093 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12096 rm -f core conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 LIBS=$ac_check_lib_save_LIBS
12100 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12101 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12102 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12104 cat >>confdefs.h <<\_ACEOF
12105 #define HAVE_LCMS 1
12106 _ACEOF
12108 LCMSLIBS="-llcms"
12113 LDAPLIBS=""
12115 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12116 then
12117 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12118 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12119 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12120 echo $ECHO_N "(cached) $ECHO_C" >&6
12121 else
12122 ac_check_lib_save_LIBS=$LIBS
12123 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12124 cat >conftest.$ac_ext <<_ACEOF
12125 /* confdefs.h. */
12126 _ACEOF
12127 cat confdefs.h >>conftest.$ac_ext
12128 cat >>conftest.$ac_ext <<_ACEOF
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12134 #ifdef __cplusplus
12135 extern "C"
12136 #endif
12137 char ldap_initialize ();
12139 main ()
12141 return ldap_initialize ();
12143 return 0;
12145 _ACEOF
12146 rm -f conftest.$ac_objext conftest$ac_exeext
12147 if { (ac_try="$ac_link"
12148 case "(($ac_try" in
12149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12150 *) ac_try_echo=$ac_try;;
12151 esac
12152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12153 (eval "$ac_link") 2>conftest.er1
12154 ac_status=$?
12155 grep -v '^ *+' conftest.er1 >conftest.err
12156 rm -f conftest.er1
12157 cat conftest.err >&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } &&
12160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12161 { (case "(($ac_try" in
12162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12163 *) ac_try_echo=$ac_try;;
12164 esac
12165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12166 (eval "$ac_try") 2>&5
12167 ac_status=$?
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); }; } &&
12170 { ac_try='test -s conftest$ac_exeext'
12171 { (case "(($ac_try" in
12172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12173 *) ac_try_echo=$ac_try;;
12174 esac
12175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12176 (eval "$ac_try") 2>&5
12177 ac_status=$?
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); }; }; then
12180 ac_cv_lib_ldap_r_ldap_initialize=yes
12181 else
12182 echo "$as_me: failed program was:" >&5
12183 sed 's/^/| /' conftest.$ac_ext >&5
12185 ac_cv_lib_ldap_r_ldap_initialize=no
12188 rm -f core conftest.err conftest.$ac_objext \
12189 conftest$ac_exeext conftest.$ac_ext
12190 LIBS=$ac_check_lib_save_LIBS
12192 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12193 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12194 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12195 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12196 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12197 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12198 echo $ECHO_N "(cached) $ECHO_C" >&6
12199 else
12200 ac_check_lib_save_LIBS=$LIBS
12201 LIBS="-llber $LIBPTHREAD $LIBS"
12202 cat >conftest.$ac_ext <<_ACEOF
12203 /* confdefs.h. */
12204 _ACEOF
12205 cat confdefs.h >>conftest.$ac_ext
12206 cat >>conftest.$ac_ext <<_ACEOF
12207 /* end confdefs.h. */
12209 /* Override any GCC internal prototype to avoid an error.
12210 Use char because int might match the return type of a GCC
12211 builtin and then its argument prototype would still apply. */
12212 #ifdef __cplusplus
12213 extern "C"
12214 #endif
12215 char ber_init ();
12217 main ()
12219 return ber_init ();
12221 return 0;
12223 _ACEOF
12224 rm -f conftest.$ac_objext conftest$ac_exeext
12225 if { (ac_try="$ac_link"
12226 case "(($ac_try" in
12227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12228 *) ac_try_echo=$ac_try;;
12229 esac
12230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12231 (eval "$ac_link") 2>conftest.er1
12232 ac_status=$?
12233 grep -v '^ *+' conftest.er1 >conftest.err
12234 rm -f conftest.er1
12235 cat conftest.err >&5
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); } &&
12238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12239 { (case "(($ac_try" in
12240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12241 *) ac_try_echo=$ac_try;;
12242 esac
12243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12244 (eval "$ac_try") 2>&5
12245 ac_status=$?
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; } &&
12248 { ac_try='test -s conftest$ac_exeext'
12249 { (case "(($ac_try" in
12250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12251 *) ac_try_echo=$ac_try;;
12252 esac
12253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12254 (eval "$ac_try") 2>&5
12255 ac_status=$?
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); }; }; then
12258 ac_cv_lib_lber_ber_init=yes
12259 else
12260 echo "$as_me: failed program was:" >&5
12261 sed 's/^/| /' conftest.$ac_ext >&5
12263 ac_cv_lib_lber_ber_init=no
12266 rm -f core conftest.err conftest.$ac_objext \
12267 conftest$ac_exeext conftest.$ac_ext
12268 LIBS=$ac_check_lib_save_LIBS
12270 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12271 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12272 if test $ac_cv_lib_lber_ber_init = yes; then
12274 cat >>confdefs.h <<\_ACEOF
12275 #define HAVE_LDAP 1
12276 _ACEOF
12278 LDAPLIBS="-lldap_r -llber"
12283 ac_wine_check_funcs_save_LIBS="$LIBS"
12284 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12289 for ac_func in \
12290 ldap_count_references \
12291 ldap_first_reference \
12292 ldap_next_reference \
12293 ldap_parse_reference
12295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12296 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12298 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12299 echo $ECHO_N "(cached) $ECHO_C" >&6
12300 else
12301 cat >conftest.$ac_ext <<_ACEOF
12302 /* confdefs.h. */
12303 _ACEOF
12304 cat confdefs.h >>conftest.$ac_ext
12305 cat >>conftest.$ac_ext <<_ACEOF
12306 /* end confdefs.h. */
12307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12309 #define $ac_func innocuous_$ac_func
12311 /* System header to define __stub macros and hopefully few prototypes,
12312 which can conflict with char $ac_func (); below.
12313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12314 <limits.h> exists even on freestanding compilers. */
12316 #ifdef __STDC__
12317 # include <limits.h>
12318 #else
12319 # include <assert.h>
12320 #endif
12322 #undef $ac_func
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12327 #ifdef __cplusplus
12328 extern "C"
12329 #endif
12330 char $ac_func ();
12331 /* The GNU C library defines this for functions which it implements
12332 to always fail with ENOSYS. Some functions are actually named
12333 something starting with __ and the normal name is an alias. */
12334 #if defined __stub_$ac_func || defined __stub___$ac_func
12335 choke me
12336 #endif
12339 main ()
12341 return $ac_func ();
12343 return 0;
12345 _ACEOF
12346 rm -f conftest.$ac_objext conftest$ac_exeext
12347 if { (ac_try="$ac_link"
12348 case "(($ac_try" in
12349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12350 *) ac_try_echo=$ac_try;;
12351 esac
12352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12353 (eval "$ac_link") 2>conftest.er1
12354 ac_status=$?
12355 grep -v '^ *+' conftest.er1 >conftest.err
12356 rm -f conftest.er1
12357 cat conftest.err >&5
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); } &&
12360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12361 { (case "(($ac_try" in
12362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12363 *) ac_try_echo=$ac_try;;
12364 esac
12365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12366 (eval "$ac_try") 2>&5
12367 ac_status=$?
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; } &&
12370 { ac_try='test -s conftest$ac_exeext'
12371 { (case "(($ac_try" in
12372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12373 *) ac_try_echo=$ac_try;;
12374 esac
12375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12376 (eval "$ac_try") 2>&5
12377 ac_status=$?
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; }; then
12380 eval "$as_ac_var=yes"
12381 else
12382 echo "$as_me: failed program was:" >&5
12383 sed 's/^/| /' conftest.$ac_ext >&5
12385 eval "$as_ac_var=no"
12388 rm -f core conftest.err conftest.$ac_objext \
12389 conftest$ac_exeext conftest.$ac_ext
12391 ac_res=`eval echo '${'$as_ac_var'}'`
12392 { echo "$as_me:$LINENO: result: $ac_res" >&5
12393 echo "${ECHO_T}$ac_res" >&6; }
12394 if test `eval echo '${'$as_ac_var'}'` = yes; then
12395 cat >>confdefs.h <<_ACEOF
12396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12397 _ACEOF
12400 done
12402 LIBS="$ac_wine_check_funcs_save_LIBS"
12405 FREETYPELIBS=""
12407 FREETYPEINCL=""
12409 # Extract the first word of "freetype-config", so it can be a program name with args.
12410 set dummy freetype-config; ac_word=$2
12411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12413 if test "${ac_cv_prog_ft_devel+set}" = set; then
12414 echo $ECHO_N "(cached) $ECHO_C" >&6
12415 else
12416 if test -n "$ft_devel"; then
12417 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12418 else
12419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12420 for as_dir in $PATH
12422 IFS=$as_save_IFS
12423 test -z "$as_dir" && as_dir=.
12424 for ac_exec_ext in '' $ac_executable_extensions; do
12425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12426 ac_cv_prog_ft_devel="freetype-config"
12427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12428 break 2
12430 done
12431 done
12432 IFS=$as_save_IFS
12434 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12437 ft_devel=$ac_cv_prog_ft_devel
12438 if test -n "$ft_devel"; then
12439 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12440 echo "${ECHO_T}$ft_devel" >&6; }
12441 else
12442 { echo "$as_me:$LINENO: result: no" >&5
12443 echo "${ECHO_T}no" >&6; }
12447 if test "$ft_devel" = "no"
12448 then
12449 # Extract the first word of "freetype2-config", so it can be a program name with args.
12450 set dummy freetype2-config; ac_word=$2
12451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12453 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12454 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 else
12456 if test -n "$ft_devel2"; then
12457 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12458 else
12459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12460 for as_dir in $PATH
12462 IFS=$as_save_IFS
12463 test -z "$as_dir" && as_dir=.
12464 for ac_exec_ext in '' $ac_executable_extensions; do
12465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12466 ac_cv_prog_ft_devel2="freetype2-config"
12467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12468 break 2
12470 done
12471 done
12472 IFS=$as_save_IFS
12474 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12477 ft_devel2=$ac_cv_prog_ft_devel2
12478 if test -n "$ft_devel2"; then
12479 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12480 echo "${ECHO_T}$ft_devel2" >&6; }
12481 else
12482 { echo "$as_me:$LINENO: result: no" >&5
12483 echo "${ECHO_T}no" >&6; }
12487 if test "$ft_devel2" = "freetype2-config"
12488 then
12489 ft_devel=$ft_devel2
12493 if test "$ft_devel" = "no"
12494 then
12495 wine_cv_msg_freetype=yes
12496 else
12497 FREETYPELIBS=`$ft_devel --libs`
12498 FREETYPEINCL=`$ft_devel --cflags`
12499 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12500 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12501 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12503 else
12504 ac_check_lib_save_LIBS=$LIBS
12505 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12506 cat >conftest.$ac_ext <<_ACEOF
12507 /* confdefs.h. */
12508 _ACEOF
12509 cat confdefs.h >>conftest.$ac_ext
12510 cat >>conftest.$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12513 /* Override any GCC internal prototype to avoid an error.
12514 Use char because int might match the return type of a GCC
12515 builtin and then its argument prototype would still apply. */
12516 #ifdef __cplusplus
12517 extern "C"
12518 #endif
12519 char FT_Init_FreeType ();
12521 main ()
12523 return FT_Init_FreeType ();
12525 return 0;
12527 _ACEOF
12528 rm -f conftest.$ac_objext conftest$ac_exeext
12529 if { (ac_try="$ac_link"
12530 case "(($ac_try" in
12531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12532 *) ac_try_echo=$ac_try;;
12533 esac
12534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12535 (eval "$ac_link") 2>conftest.er1
12536 ac_status=$?
12537 grep -v '^ *+' conftest.er1 >conftest.err
12538 rm -f conftest.er1
12539 cat conftest.err >&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); } &&
12542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12543 { (case "(($ac_try" in
12544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12545 *) ac_try_echo=$ac_try;;
12546 esac
12547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12548 (eval "$ac_try") 2>&5
12549 ac_status=$?
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; } &&
12552 { ac_try='test -s conftest$ac_exeext'
12553 { (case "(($ac_try" in
12554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12555 *) ac_try_echo=$ac_try;;
12556 esac
12557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12558 (eval "$ac_try") 2>&5
12559 ac_status=$?
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); }; }; then
12562 ac_cv_lib_freetype_FT_Init_FreeType=yes
12563 else
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.$ac_ext >&5
12567 ac_cv_lib_freetype_FT_Init_FreeType=no
12570 rm -f core conftest.err conftest.$ac_objext \
12571 conftest$ac_exeext conftest.$ac_ext
12572 LIBS=$ac_check_lib_save_LIBS
12574 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12575 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12576 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12577 ft_lib=yes
12578 else
12579 ft_lib=no
12582 if test "$ft_lib" = "no"
12583 then
12584 wine_cv_msg_freetype=yes
12585 FREETYPELIBS=""
12586 FREETYPEINCL=""
12587 else
12588 ac_save_CPPFLAGS="$CPPFLAGS"
12589 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12601 for ac_header in ft2build.h \
12602 freetype/freetype.h \
12603 freetype/ftglyph.h \
12604 freetype/tttables.h \
12605 freetype/ftnames.h \
12606 freetype/ftsnames.h \
12607 freetype/ttnameid.h \
12608 freetype/ftoutln.h \
12609 freetype/ftwinfnt.h \
12610 freetype/ftmodapi.h \
12611 freetype/internal/sfnt.h
12613 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12618 else
12619 cat >conftest.$ac_ext <<_ACEOF
12620 /* confdefs.h. */
12621 _ACEOF
12622 cat confdefs.h >>conftest.$ac_ext
12623 cat >>conftest.$ac_ext <<_ACEOF
12624 /* end confdefs.h. */
12625 #if HAVE_FT2BUILD_H
12626 #include <ft2build.h>
12627 #endif
12629 #include <$ac_header>
12630 _ACEOF
12631 rm -f conftest.$ac_objext
12632 if { (ac_try="$ac_compile"
12633 case "(($ac_try" in
12634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12635 *) ac_try_echo=$ac_try;;
12636 esac
12637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12638 (eval "$ac_compile") 2>conftest.er1
12639 ac_status=$?
12640 grep -v '^ *+' conftest.er1 >conftest.err
12641 rm -f conftest.er1
12642 cat conftest.err >&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); } &&
12645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12646 { (case "(($ac_try" in
12647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12648 *) ac_try_echo=$ac_try;;
12649 esac
12650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12651 (eval "$ac_try") 2>&5
12652 ac_status=$?
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); }; } &&
12655 { ac_try='test -s conftest.$ac_objext'
12656 { (case "(($ac_try" in
12657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12658 *) ac_try_echo=$ac_try;;
12659 esac
12660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12661 (eval "$ac_try") 2>&5
12662 ac_status=$?
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); }; }; then
12665 eval "$as_ac_Header=yes"
12666 else
12667 echo "$as_me: failed program was:" >&5
12668 sed 's/^/| /' conftest.$ac_ext >&5
12670 eval "$as_ac_Header=no"
12673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12675 ac_res=`eval echo '${'$as_ac_Header'}'`
12676 { echo "$as_me:$LINENO: result: $ac_res" >&5
12677 echo "${ECHO_T}$ac_res" >&6; }
12678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12679 cat >>confdefs.h <<_ACEOF
12680 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12681 _ACEOF
12685 done
12687 cat >conftest.$ac_ext <<_ACEOF
12688 /* confdefs.h. */
12689 _ACEOF
12690 cat confdefs.h >>conftest.$ac_ext
12691 cat >>conftest.$ac_ext <<_ACEOF
12692 /* end confdefs.h. */
12693 #include <ft2build.h>
12694 #include <freetype/fttrigon.h>
12695 _ACEOF
12696 if { (ac_try="$ac_cpp conftest.$ac_ext"
12697 case "(($ac_try" in
12698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12699 *) ac_try_echo=$ac_try;;
12700 esac
12701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12703 ac_status=$?
12704 grep -v '^ *+' conftest.er1 >conftest.err
12705 rm -f conftest.er1
12706 cat conftest.err >&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } >/dev/null; then
12709 if test -s conftest.err; then
12710 ac_cpp_err=$ac_c_preproc_warn_flag
12711 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12712 else
12713 ac_cpp_err=
12715 else
12716 ac_cpp_err=yes
12718 if test -z "$ac_cpp_err"; then
12720 cat >>confdefs.h <<\_ACEOF
12721 #define HAVE_FREETYPE_FTTRIGON_H 1
12722 _ACEOF
12724 wine_cv_fttrigon=yes
12725 else
12726 echo "$as_me: failed program was:" >&5
12727 sed 's/^/| /' conftest.$ac_ext >&5
12729 wine_cv_fttrigon=no
12732 rm -f conftest.err conftest.$ac_ext
12733 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12734 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12735 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12736 echo $ECHO_N "(cached) $ECHO_C" >&6
12737 else
12738 cat >conftest.$ac_ext <<_ACEOF
12739 /* confdefs.h. */
12740 _ACEOF
12741 cat confdefs.h >>conftest.$ac_ext
12742 cat >>conftest.$ac_ext <<_ACEOF
12743 /* end confdefs.h. */
12744 #include <freetype/ftmodapi.h>
12746 typedef FT_TrueTypeEngineType ac__type_new_;
12748 main ()
12750 if ((ac__type_new_ *) 0)
12751 return 0;
12752 if (sizeof (ac__type_new_))
12753 return 0;
12755 return 0;
12757 _ACEOF
12758 rm -f conftest.$ac_objext
12759 if { (ac_try="$ac_compile"
12760 case "(($ac_try" in
12761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12762 *) ac_try_echo=$ac_try;;
12763 esac
12764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12765 (eval "$ac_compile") 2>conftest.er1
12766 ac_status=$?
12767 grep -v '^ *+' conftest.er1 >conftest.err
12768 rm -f conftest.er1
12769 cat conftest.err >&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); } &&
12772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12773 { (case "(($ac_try" in
12774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12775 *) ac_try_echo=$ac_try;;
12776 esac
12777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12778 (eval "$ac_try") 2>&5
12779 ac_status=$?
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); }; } &&
12782 { ac_try='test -s conftest.$ac_objext'
12783 { (case "(($ac_try" in
12784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12785 *) ac_try_echo=$ac_try;;
12786 esac
12787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12788 (eval "$ac_try") 2>&5
12789 ac_status=$?
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12792 ac_cv_type_FT_TrueTypeEngineType=yes
12793 else
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.$ac_ext >&5
12797 ac_cv_type_FT_TrueTypeEngineType=no
12800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12802 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12803 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12804 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12806 cat >>confdefs.h <<_ACEOF
12807 #define HAVE_FT_TRUETYPEENGINETYPE 1
12808 _ACEOF
12813 ac_save_CFLAGS="$CFLAGS"
12814 CFLAGS="$CFLAGS $FREETYPELIBS"
12816 for ac_func in FT_Load_Sfnt_Table
12818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12821 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12822 echo $ECHO_N "(cached) $ECHO_C" >&6
12823 else
12824 cat >conftest.$ac_ext <<_ACEOF
12825 /* confdefs.h. */
12826 _ACEOF
12827 cat confdefs.h >>conftest.$ac_ext
12828 cat >>conftest.$ac_ext <<_ACEOF
12829 /* end confdefs.h. */
12830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12832 #define $ac_func innocuous_$ac_func
12834 /* System header to define __stub macros and hopefully few prototypes,
12835 which can conflict with char $ac_func (); below.
12836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12837 <limits.h> exists even on freestanding compilers. */
12839 #ifdef __STDC__
12840 # include <limits.h>
12841 #else
12842 # include <assert.h>
12843 #endif
12845 #undef $ac_func
12847 /* Override any GCC internal prototype to avoid an error.
12848 Use char because int might match the return type of a GCC
12849 builtin and then its argument prototype would still apply. */
12850 #ifdef __cplusplus
12851 extern "C"
12852 #endif
12853 char $ac_func ();
12854 /* The GNU C library defines this for functions which it implements
12855 to always fail with ENOSYS. Some functions are actually named
12856 something starting with __ and the normal name is an alias. */
12857 #if defined __stub_$ac_func || defined __stub___$ac_func
12858 choke me
12859 #endif
12862 main ()
12864 return $ac_func ();
12866 return 0;
12868 _ACEOF
12869 rm -f conftest.$ac_objext conftest$ac_exeext
12870 if { (ac_try="$ac_link"
12871 case "(($ac_try" in
12872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12873 *) ac_try_echo=$ac_try;;
12874 esac
12875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12876 (eval "$ac_link") 2>conftest.er1
12877 ac_status=$?
12878 grep -v '^ *+' conftest.er1 >conftest.err
12879 rm -f conftest.er1
12880 cat conftest.err >&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } &&
12883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12884 { (case "(($ac_try" in
12885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12886 *) ac_try_echo=$ac_try;;
12887 esac
12888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12889 (eval "$ac_try") 2>&5
12890 ac_status=$?
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); }; } &&
12893 { ac_try='test -s conftest$ac_exeext'
12894 { (case "(($ac_try" in
12895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12896 *) ac_try_echo=$ac_try;;
12897 esac
12898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12899 (eval "$ac_try") 2>&5
12900 ac_status=$?
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); }; }; then
12903 eval "$as_ac_var=yes"
12904 else
12905 echo "$as_me: failed program was:" >&5
12906 sed 's/^/| /' conftest.$ac_ext >&5
12908 eval "$as_ac_var=no"
12911 rm -f core conftest.err conftest.$ac_objext \
12912 conftest$ac_exeext conftest.$ac_ext
12914 ac_res=`eval echo '${'$as_ac_var'}'`
12915 { echo "$as_me:$LINENO: result: $ac_res" >&5
12916 echo "${ECHO_T}$ac_res" >&6; }
12917 if test `eval echo '${'$as_ac_var'}'` = yes; then
12918 cat >>confdefs.h <<_ACEOF
12919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12920 _ACEOF
12923 done
12925 CFLAGS="$ac_save_CFLAGS"
12926 CPPFLAGS="$ac_save_CPPFLAGS"
12927 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12928 then
12930 cat >>confdefs.h <<\_ACEOF
12931 #define HAVE_FREETYPE 1
12932 _ACEOF
12934 wine_cv_msg_freetype=no
12935 else
12936 FREETYPELIBS=""
12937 FREETYPEINCL=""
12938 wine_cv_msg_freetype=yes
12943 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12944 then
12945 FONTSSUBDIRS="fonts"
12949 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12950 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12951 if test "${ac_cv_c_ppdev+set}" = set; then
12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12953 else
12954 cat >conftest.$ac_ext <<_ACEOF
12955 /* confdefs.h. */
12956 _ACEOF
12957 cat confdefs.h >>conftest.$ac_ext
12958 cat >>conftest.$ac_ext <<_ACEOF
12959 /* end confdefs.h. */
12960 #include <linux/ppdev.h>
12962 main ()
12964 ioctl (1,PPCLAIM,0)
12966 return 0;
12968 _ACEOF
12969 rm -f conftest.$ac_objext
12970 if { (ac_try="$ac_compile"
12971 case "(($ac_try" in
12972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12973 *) ac_try_echo=$ac_try;;
12974 esac
12975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12976 (eval "$ac_compile") 2>conftest.er1
12977 ac_status=$?
12978 grep -v '^ *+' conftest.er1 >conftest.err
12979 rm -f conftest.er1
12980 cat conftest.err >&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); } &&
12983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12984 { (case "(($ac_try" in
12985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12986 *) ac_try_echo=$ac_try;;
12987 esac
12988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12989 (eval "$ac_try") 2>&5
12990 ac_status=$?
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; } &&
12993 { ac_try='test -s conftest.$ac_objext'
12994 { (case "(($ac_try" in
12995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12996 *) ac_try_echo=$ac_try;;
12997 esac
12998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12999 (eval "$ac_try") 2>&5
13000 ac_status=$?
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }; }; then
13003 ac_cv_c_ppdev="yes"
13004 else
13005 echo "$as_me: failed program was:" >&5
13006 sed 's/^/| /' conftest.$ac_ext >&5
13008 ac_cv_c_ppdev="no"
13011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13014 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13015 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13016 if test "$ac_cv_c_ppdev" = "yes"
13017 then
13019 cat >>confdefs.h <<\_ACEOF
13020 #define HAVE_PPDEV 1
13021 _ACEOF
13025 { echo "$as_me:$LINENO: checking for va_copy" >&5
13026 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13027 if test "${ac_cv_c_va_copy+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 else
13030 cat >conftest.$ac_ext <<_ACEOF
13031 /* confdefs.h. */
13032 _ACEOF
13033 cat confdefs.h >>conftest.$ac_ext
13034 cat >>conftest.$ac_ext <<_ACEOF
13035 /* end confdefs.h. */
13036 #include <stdarg.h>
13038 main ()
13040 va_list ap1, ap2;
13041 va_copy(ap1,ap2);
13044 return 0;
13046 _ACEOF
13047 rm -f conftest.$ac_objext conftest$ac_exeext
13048 if { (ac_try="$ac_link"
13049 case "(($ac_try" in
13050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13051 *) ac_try_echo=$ac_try;;
13052 esac
13053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13054 (eval "$ac_link") 2>conftest.er1
13055 ac_status=$?
13056 grep -v '^ *+' conftest.er1 >conftest.err
13057 rm -f conftest.er1
13058 cat conftest.err >&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); } &&
13061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13062 { (case "(($ac_try" in
13063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13064 *) ac_try_echo=$ac_try;;
13065 esac
13066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13067 (eval "$ac_try") 2>&5
13068 ac_status=$?
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try='test -s conftest$ac_exeext'
13072 { (case "(($ac_try" in
13073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13074 *) ac_try_echo=$ac_try;;
13075 esac
13076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13077 (eval "$ac_try") 2>&5
13078 ac_status=$?
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); }; }; then
13081 ac_cv_c_va_copy="yes"
13082 else
13083 echo "$as_me: failed program was:" >&5
13084 sed 's/^/| /' conftest.$ac_ext >&5
13086 ac_cv_c_va_copy="no"
13089 rm -f core conftest.err conftest.$ac_objext \
13090 conftest$ac_exeext conftest.$ac_ext
13093 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13094 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13095 if test "$ac_cv_c_va_copy" = "yes"
13096 then
13098 cat >>confdefs.h <<\_ACEOF
13099 #define HAVE_VA_COPY 1
13100 _ACEOF
13103 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13104 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13105 if test "${ac_cv_c___va_copy+set}" = set; then
13106 echo $ECHO_N "(cached) $ECHO_C" >&6
13107 else
13108 cat >conftest.$ac_ext <<_ACEOF
13109 /* confdefs.h. */
13110 _ACEOF
13111 cat confdefs.h >>conftest.$ac_ext
13112 cat >>conftest.$ac_ext <<_ACEOF
13113 /* end confdefs.h. */
13114 #include <stdarg.h>
13116 main ()
13118 va_list ap1, ap2;
13119 __va_copy(ap1,ap2);
13122 return 0;
13124 _ACEOF
13125 rm -f conftest.$ac_objext conftest$ac_exeext
13126 if { (ac_try="$ac_link"
13127 case "(($ac_try" in
13128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13129 *) ac_try_echo=$ac_try;;
13130 esac
13131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13132 (eval "$ac_link") 2>conftest.er1
13133 ac_status=$?
13134 grep -v '^ *+' conftest.er1 >conftest.err
13135 rm -f conftest.er1
13136 cat conftest.err >&5
13137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138 (exit $ac_status); } &&
13139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13140 { (case "(($ac_try" in
13141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13142 *) ac_try_echo=$ac_try;;
13143 esac
13144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13145 (eval "$ac_try") 2>&5
13146 ac_status=$?
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; } &&
13149 { ac_try='test -s conftest$ac_exeext'
13150 { (case "(($ac_try" in
13151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13152 *) ac_try_echo=$ac_try;;
13153 esac
13154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13155 (eval "$ac_try") 2>&5
13156 ac_status=$?
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; }; then
13159 ac_cv_c___va_copy="yes"
13160 else
13161 echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.$ac_ext >&5
13164 ac_cv_c___va_copy="no"
13167 rm -f core conftest.err conftest.$ac_objext \
13168 conftest$ac_exeext conftest.$ac_ext
13171 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13172 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13173 if test "$ac_cv_c___va_copy" = "yes"
13174 then
13176 cat >>confdefs.h <<\_ACEOF
13177 #define HAVE___VA_COPY 1
13178 _ACEOF
13182 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13183 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13184 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13186 else
13187 cat >conftest.$ac_ext <<_ACEOF
13188 /* confdefs.h. */
13189 _ACEOF
13190 cat confdefs.h >>conftest.$ac_ext
13191 cat >>conftest.$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13193 #include <setjmp.h>
13195 main ()
13197 sigjmp_buf buf;
13198 sigsetjmp( buf, 1 );
13199 siglongjmp( buf, 1 );
13201 return 0;
13203 _ACEOF
13204 rm -f conftest.$ac_objext conftest$ac_exeext
13205 if { (ac_try="$ac_link"
13206 case "(($ac_try" in
13207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13208 *) ac_try_echo=$ac_try;;
13209 esac
13210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13211 (eval "$ac_link") 2>conftest.er1
13212 ac_status=$?
13213 grep -v '^ *+' conftest.er1 >conftest.err
13214 rm -f conftest.er1
13215 cat conftest.err >&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13219 { (case "(($ac_try" in
13220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13221 *) ac_try_echo=$ac_try;;
13222 esac
13223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13224 (eval "$ac_try") 2>&5
13225 ac_status=$?
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; } &&
13228 { ac_try='test -s conftest$ac_exeext'
13229 { (case "(($ac_try" in
13230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13231 *) ac_try_echo=$ac_try;;
13232 esac
13233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13234 (eval "$ac_try") 2>&5
13235 ac_status=$?
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); }; }; then
13238 ac_cv_c_sigsetjmp="yes"
13239 else
13240 echo "$as_me: failed program was:" >&5
13241 sed 's/^/| /' conftest.$ac_ext >&5
13243 ac_cv_c_sigsetjmp="no"
13246 rm -f core conftest.err conftest.$ac_objext \
13247 conftest$ac_exeext conftest.$ac_ext
13250 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13251 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13252 if test "$ac_cv_c_sigsetjmp" = "yes"
13253 then
13255 cat >>confdefs.h <<\_ACEOF
13256 #define HAVE_SIGSETJMP 1
13257 _ACEOF
13261 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13262 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13263 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 else
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272 #define _GNU_SOURCE
13273 #include <pthread.h>
13275 typedef pthread_rwlock_t ac__type_new_;
13277 main ()
13279 if ((ac__type_new_ *) 0)
13280 return 0;
13281 if (sizeof (ac__type_new_))
13282 return 0;
13284 return 0;
13286 _ACEOF
13287 rm -f conftest.$ac_objext
13288 if { (ac_try="$ac_compile"
13289 case "(($ac_try" in
13290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13291 *) ac_try_echo=$ac_try;;
13292 esac
13293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13294 (eval "$ac_compile") 2>conftest.er1
13295 ac_status=$?
13296 grep -v '^ *+' conftest.er1 >conftest.err
13297 rm -f conftest.er1
13298 cat conftest.err >&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); } &&
13301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13302 { (case "(($ac_try" in
13303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13304 *) ac_try_echo=$ac_try;;
13305 esac
13306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13307 (eval "$ac_try") 2>&5
13308 ac_status=$?
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); }; } &&
13311 { ac_try='test -s conftest.$ac_objext'
13312 { (case "(($ac_try" in
13313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13314 *) ac_try_echo=$ac_try;;
13315 esac
13316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13317 (eval "$ac_try") 2>&5
13318 ac_status=$?
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; }; then
13321 ac_cv_type_pthread_rwlock_t=yes
13322 else
13323 echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.$ac_ext >&5
13326 ac_cv_type_pthread_rwlock_t=no
13329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13331 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13332 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13333 if test $ac_cv_type_pthread_rwlock_t = yes; then
13335 cat >>confdefs.h <<_ACEOF
13336 #define HAVE_PTHREAD_RWLOCK_T 1
13337 _ACEOF
13341 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13342 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13343 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13345 else
13346 cat >conftest.$ac_ext <<_ACEOF
13347 /* confdefs.h. */
13348 _ACEOF
13349 cat confdefs.h >>conftest.$ac_ext
13350 cat >>conftest.$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13352 #define _GNU_SOURCE
13353 #include <pthread.h>
13355 typedef pthread_rwlockattr_t ac__type_new_;
13357 main ()
13359 if ((ac__type_new_ *) 0)
13360 return 0;
13361 if (sizeof (ac__type_new_))
13362 return 0;
13364 return 0;
13366 _ACEOF
13367 rm -f conftest.$ac_objext
13368 if { (ac_try="$ac_compile"
13369 case "(($ac_try" in
13370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13371 *) ac_try_echo=$ac_try;;
13372 esac
13373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13374 (eval "$ac_compile") 2>conftest.er1
13375 ac_status=$?
13376 grep -v '^ *+' conftest.er1 >conftest.err
13377 rm -f conftest.er1
13378 cat conftest.err >&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); } &&
13381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13382 { (case "(($ac_try" in
13383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13384 *) ac_try_echo=$ac_try;;
13385 esac
13386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13387 (eval "$ac_try") 2>&5
13388 ac_status=$?
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; } &&
13391 { ac_try='test -s conftest.$ac_objext'
13392 { (case "(($ac_try" in
13393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13394 *) ac_try_echo=$ac_try;;
13395 esac
13396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13397 (eval "$ac_try") 2>&5
13398 ac_status=$?
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); }; }; then
13401 ac_cv_type_pthread_rwlockattr_t=yes
13402 else
13403 echo "$as_me: failed program was:" >&5
13404 sed 's/^/| /' conftest.$ac_ext >&5
13406 ac_cv_type_pthread_rwlockattr_t=no
13409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13411 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13412 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13413 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13415 cat >>confdefs.h <<_ACEOF
13416 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13417 _ACEOF
13423 ac_wine_check_funcs_save_LIBS="$LIBS"
13424 LIBS="$LIBS $LIBPTHREAD"
13429 for ac_func in \
13430 pthread_attr_get_np \
13431 pthread_getattr_np \
13432 pthread_get_stackaddr_np \
13433 pthread_get_stacksize_np
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 LIBS="$ac_wine_check_funcs_save_LIBS"
13544 # Extract the first word of "artsc-config", so it can be a program name with args.
13545 set dummy artsc-config; ac_word=$2
13546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13548 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13550 else
13551 case $ARTSCCONFIG in
13552 [\\/]* | ?:[\\/]*)
13553 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13557 for as_dir in $PATH
13559 IFS=$as_save_IFS
13560 test -z "$as_dir" && as_dir=.
13561 for ac_exec_ext in '' $ac_executable_extensions; do
13562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13563 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13565 break 2
13567 done
13568 done
13569 IFS=$as_save_IFS
13572 esac
13574 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13575 if test -n "$ARTSCCONFIG"; then
13576 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13577 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13578 else
13579 { echo "$as_me:$LINENO: result: no" >&5
13580 echo "${ECHO_T}no" >&6; }
13584 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13585 then
13586 ARTSC_CFLAGS=""
13587 for i in `$ARTSCCONFIG --cflags`
13589 case "$i" in
13590 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13591 esac
13592 done
13593 ARTSC_LIBS=""
13594 for i in `$ARTSCCONFIG --libs`
13596 case "$i" in
13597 -L/usr/lib|-L/usr/lib64) ;;
13598 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13599 esac
13600 done
13601 save_CFLAGS="$CFLAGS"
13602 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13603 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13604 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13605 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 else
13608 ac_check_lib_save_LIBS=$LIBS
13609 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13610 cat >conftest.$ac_ext <<_ACEOF
13611 /* confdefs.h. */
13612 _ACEOF
13613 cat confdefs.h >>conftest.$ac_ext
13614 cat >>conftest.$ac_ext <<_ACEOF
13615 /* end confdefs.h. */
13617 /* Override any GCC internal prototype to avoid an error.
13618 Use char because int might match the return type of a GCC
13619 builtin and then its argument prototype would still apply. */
13620 #ifdef __cplusplus
13621 extern "C"
13622 #endif
13623 char arts_init ();
13625 main ()
13627 return arts_init ();
13629 return 0;
13631 _ACEOF
13632 rm -f conftest.$ac_objext conftest$ac_exeext
13633 if { (ac_try="$ac_link"
13634 case "(($ac_try" in
13635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13636 *) ac_try_echo=$ac_try;;
13637 esac
13638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13639 (eval "$ac_link") 2>conftest.er1
13640 ac_status=$?
13641 grep -v '^ *+' conftest.er1 >conftest.err
13642 rm -f conftest.er1
13643 cat conftest.err >&5
13644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13645 (exit $ac_status); } &&
13646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13647 { (case "(($ac_try" in
13648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13649 *) ac_try_echo=$ac_try;;
13650 esac
13651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13652 (eval "$ac_try") 2>&5
13653 ac_status=$?
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); }; } &&
13656 { ac_try='test -s conftest$ac_exeext'
13657 { (case "(($ac_try" in
13658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13659 *) ac_try_echo=$ac_try;;
13660 esac
13661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13662 (eval "$ac_try") 2>&5
13663 ac_status=$?
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; }; then
13666 ac_cv_lib_artsc_arts_init=yes
13667 else
13668 echo "$as_me: failed program was:" >&5
13669 sed 's/^/| /' conftest.$ac_ext >&5
13671 ac_cv_lib_artsc_arts_init=no
13674 rm -f core conftest.err conftest.$ac_objext \
13675 conftest$ac_exeext conftest.$ac_ext
13676 LIBS=$ac_check_lib_save_LIBS
13678 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13679 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13680 if test $ac_cv_lib_artsc_arts_init = yes; then
13681 cat >conftest.$ac_ext <<_ACEOF
13682 /* confdefs.h. */
13683 _ACEOF
13684 cat confdefs.h >>conftest.$ac_ext
13685 cat >>conftest.$ac_ext <<_ACEOF
13686 /* end confdefs.h. */
13687 #include <artsc.h>
13689 main ()
13691 arts_stream_t stream;
13693 return 0;
13695 _ACEOF
13696 rm -f conftest.$ac_objext
13697 if { (ac_try="$ac_compile"
13698 case "(($ac_try" in
13699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13700 *) ac_try_echo=$ac_try;;
13701 esac
13702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13703 (eval "$ac_compile") 2>conftest.er1
13704 ac_status=$?
13705 grep -v '^ *+' conftest.er1 >conftest.err
13706 rm -f conftest.er1
13707 cat conftest.err >&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); } &&
13710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13711 { (case "(($ac_try" in
13712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13713 *) ac_try_echo=$ac_try;;
13714 esac
13715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13716 (eval "$ac_try") 2>&5
13717 ac_status=$?
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); }; } &&
13720 { ac_try='test -s conftest.$ac_objext'
13721 { (case "(($ac_try" in
13722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13723 *) ac_try_echo=$ac_try;;
13724 esac
13725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13726 (eval "$ac_try") 2>&5
13727 ac_status=$?
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; }; then
13730 ARTSLIBS=$ARTSC_LIBS
13732 ARTSINCL=$ARTSC_CFLAGS
13735 cat >>confdefs.h <<\_ACEOF
13736 #define HAVE_ARTS 1
13737 _ACEOF
13739 else
13740 echo "$as_me: failed program was:" >&5
13741 sed 's/^/| /' conftest.$ac_ext >&5
13746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13749 CFLAGS="$save_CFLAGS"
13752 # Extract the first word of "esd-config", so it can be a program name with args.
13753 set dummy esd-config; ac_word=$2
13754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13756 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13757 echo $ECHO_N "(cached) $ECHO_C" >&6
13758 else
13759 case $ESDCONFIG in
13760 [\\/]* | ?:[\\/]*)
13761 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13765 for as_dir in $PATH
13767 IFS=$as_save_IFS
13768 test -z "$as_dir" && as_dir=.
13769 for ac_exec_ext in '' $ac_executable_extensions; do
13770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13771 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13773 break 2
13775 done
13776 done
13777 IFS=$as_save_IFS
13780 esac
13782 ESDCONFIG=$ac_cv_path_ESDCONFIG
13783 if test -n "$ESDCONFIG"; then
13784 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13785 echo "${ECHO_T}$ESDCONFIG" >&6; }
13786 else
13787 { echo "$as_me:$LINENO: result: no" >&5
13788 echo "${ECHO_T}no" >&6; }
13792 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13793 then
13794 ESD_CFLAGS=""
13795 for i in `$ESDCONFIG --cflags`
13797 case "$i" in
13798 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13799 esac
13800 done
13801 ESD_LIBS=`$ESDCONFIG --libs`
13802 save_CFLAGS="$CFLAGS"
13803 CFLAGS="$CFLAGS $ESD_CFLAGS"
13804 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13805 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13806 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13807 echo $ECHO_N "(cached) $ECHO_C" >&6
13808 else
13809 ac_check_lib_save_LIBS=$LIBS
13810 LIBS="-lesd $LIBS"
13811 cat >conftest.$ac_ext <<_ACEOF
13812 /* confdefs.h. */
13813 _ACEOF
13814 cat confdefs.h >>conftest.$ac_ext
13815 cat >>conftest.$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13818 /* Override any GCC internal prototype to avoid an error.
13819 Use char because int might match the return type of a GCC
13820 builtin and then its argument prototype would still apply. */
13821 #ifdef __cplusplus
13822 extern "C"
13823 #endif
13824 char esd_open_sound ();
13826 main ()
13828 return esd_open_sound ();
13830 return 0;
13832 _ACEOF
13833 rm -f conftest.$ac_objext conftest$ac_exeext
13834 if { (ac_try="$ac_link"
13835 case "(($ac_try" in
13836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13837 *) ac_try_echo=$ac_try;;
13838 esac
13839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13840 (eval "$ac_link") 2>conftest.er1
13841 ac_status=$?
13842 grep -v '^ *+' conftest.er1 >conftest.err
13843 rm -f conftest.er1
13844 cat conftest.err >&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); } &&
13847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13848 { (case "(($ac_try" in
13849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13850 *) ac_try_echo=$ac_try;;
13851 esac
13852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13853 (eval "$ac_try") 2>&5
13854 ac_status=$?
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); }; } &&
13857 { ac_try='test -s conftest$ac_exeext'
13858 { (case "(($ac_try" in
13859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13860 *) ac_try_echo=$ac_try;;
13861 esac
13862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13863 (eval "$ac_try") 2>&5
13864 ac_status=$?
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; }; then
13867 ac_cv_lib_esd_esd_open_sound=yes
13868 else
13869 echo "$as_me: failed program was:" >&5
13870 sed 's/^/| /' conftest.$ac_ext >&5
13872 ac_cv_lib_esd_esd_open_sound=no
13875 rm -f core conftest.err conftest.$ac_objext \
13876 conftest$ac_exeext conftest.$ac_ext
13877 LIBS=$ac_check_lib_save_LIBS
13879 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13880 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13881 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13882 ESDLIBS=$ESD_LIBS
13884 ESDINCL=$ESD_CFLAGS
13887 cat >>confdefs.h <<\_ACEOF
13888 #define HAVE_ESD 1
13889 _ACEOF
13893 CFLAGS="$save_CFLAGS"
13896 ALSALIBS=""
13898 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13899 then
13900 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13901 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13902 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13904 else
13905 ac_check_lib_save_LIBS=$LIBS
13906 LIBS="-lasound $LIBS"
13907 cat >conftest.$ac_ext <<_ACEOF
13908 /* confdefs.h. */
13909 _ACEOF
13910 cat confdefs.h >>conftest.$ac_ext
13911 cat >>conftest.$ac_ext <<_ACEOF
13912 /* end confdefs.h. */
13914 /* Override any GCC internal prototype to avoid an error.
13915 Use char because int might match the return type of a GCC
13916 builtin and then its argument prototype would still apply. */
13917 #ifdef __cplusplus
13918 extern "C"
13919 #endif
13920 char snd_pcm_hw_params_get_access ();
13922 main ()
13924 return snd_pcm_hw_params_get_access ();
13926 return 0;
13928 _ACEOF
13929 rm -f conftest.$ac_objext conftest$ac_exeext
13930 if { (ac_try="$ac_link"
13931 case "(($ac_try" in
13932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13933 *) ac_try_echo=$ac_try;;
13934 esac
13935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13936 (eval "$ac_link") 2>conftest.er1
13937 ac_status=$?
13938 grep -v '^ *+' conftest.er1 >conftest.err
13939 rm -f conftest.er1
13940 cat conftest.err >&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); } &&
13943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13944 { (case "(($ac_try" in
13945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13946 *) ac_try_echo=$ac_try;;
13947 esac
13948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13949 (eval "$ac_try") 2>&5
13950 ac_status=$?
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); }; } &&
13953 { ac_try='test -s conftest$ac_exeext'
13954 { (case "(($ac_try" in
13955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13956 *) ac_try_echo=$ac_try;;
13957 esac
13958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13959 (eval "$ac_try") 2>&5
13960 ac_status=$?
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; }; then
13963 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13964 else
13965 echo "$as_me: failed program was:" >&5
13966 sed 's/^/| /' conftest.$ac_ext >&5
13968 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13971 rm -f core conftest.err conftest.$ac_objext \
13972 conftest$ac_exeext conftest.$ac_ext
13973 LIBS=$ac_check_lib_save_LIBS
13975 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13976 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13977 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13978 cat >conftest.$ac_ext <<_ACEOF
13979 /* confdefs.h. */
13980 _ACEOF
13981 cat confdefs.h >>conftest.$ac_ext
13982 cat >>conftest.$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13984 #ifdef HAVE_ALSA_ASOUNDLIB_H
13985 #include <alsa/asoundlib.h>
13986 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13987 #include <sys/asoundlib.h>
13988 #endif
13990 main ()
13992 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13994 return 0;
13996 _ACEOF
13997 rm -f conftest.$ac_objext
13998 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
14005 ac_status=$?
14006 grep -v '^ *+' conftest.er1 >conftest.err
14007 rm -f conftest.er1
14008 cat conftest.err >&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); } &&
14011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14012 { (case "(($ac_try" in
14013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14014 *) ac_try_echo=$ac_try;;
14015 esac
14016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14017 (eval "$ac_try") 2>&5
14018 ac_status=$?
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; } &&
14021 { ac_try='test -s conftest.$ac_objext'
14022 { (case "(($ac_try" in
14023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14024 *) ac_try_echo=$ac_try;;
14025 esac
14026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14027 (eval "$ac_try") 2>&5
14028 ac_status=$?
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; }; then
14032 cat >>confdefs.h <<\_ACEOF
14033 #define HAVE_ALSA 1
14034 _ACEOF
14036 ALSALIBS="-lasound"
14037 else
14038 echo "$as_me: failed program was:" >&5
14039 sed 's/^/| /' conftest.$ac_ext >&5
14044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14050 AUDIOIOLIBS=""
14052 if test "$ac_cv_header_libaudioio_h" = "yes"
14053 then
14054 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14055 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14056 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14057 echo $ECHO_N "(cached) $ECHO_C" >&6
14058 else
14059 ac_check_lib_save_LIBS=$LIBS
14060 LIBS="-laudioio $LIBS"
14061 cat >conftest.$ac_ext <<_ACEOF
14062 /* confdefs.h. */
14063 _ACEOF
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14068 /* Override any GCC internal prototype to avoid an error.
14069 Use char because int might match the return type of a GCC
14070 builtin and then its argument prototype would still apply. */
14071 #ifdef __cplusplus
14072 extern "C"
14073 #endif
14074 char AudioIOGetVersion ();
14076 main ()
14078 return AudioIOGetVersion ();
14080 return 0;
14082 _ACEOF
14083 rm -f conftest.$ac_objext conftest$ac_exeext
14084 if { (ac_try="$ac_link"
14085 case "(($ac_try" in
14086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14087 *) ac_try_echo=$ac_try;;
14088 esac
14089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14090 (eval "$ac_link") 2>conftest.er1
14091 ac_status=$?
14092 grep -v '^ *+' conftest.er1 >conftest.err
14093 rm -f conftest.er1
14094 cat conftest.err >&5
14095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 (exit $ac_status); } &&
14097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14098 { (case "(($ac_try" in
14099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14100 *) ac_try_echo=$ac_try;;
14101 esac
14102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14103 (eval "$ac_try") 2>&5
14104 ac_status=$?
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; } &&
14107 { ac_try='test -s conftest$ac_exeext'
14108 { (case "(($ac_try" in
14109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14110 *) ac_try_echo=$ac_try;;
14111 esac
14112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14113 (eval "$ac_try") 2>&5
14114 ac_status=$?
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); }; }; then
14117 ac_cv_lib_audioio_AudioIOGetVersion=yes
14118 else
14119 echo "$as_me: failed program was:" >&5
14120 sed 's/^/| /' conftest.$ac_ext >&5
14122 ac_cv_lib_audioio_AudioIOGetVersion=no
14125 rm -f core conftest.err conftest.$ac_objext \
14126 conftest$ac_exeext conftest.$ac_ext
14127 LIBS=$ac_check_lib_save_LIBS
14129 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14130 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14131 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14132 AUDIOIOLIBS="-laudioio"
14134 cat >>confdefs.h <<\_ACEOF
14135 #define HAVE_LIBAUDIOIO 1
14136 _ACEOF
14143 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14144 then
14145 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14146 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14147 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 else
14150 ac_check_lib_save_LIBS=$LIBS
14151 LIBS="-lcapi20 $LIBS"
14152 cat >conftest.$ac_ext <<_ACEOF
14153 /* confdefs.h. */
14154 _ACEOF
14155 cat confdefs.h >>conftest.$ac_ext
14156 cat >>conftest.$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14159 /* Override any GCC internal prototype to avoid an error.
14160 Use char because int might match the return type of a GCC
14161 builtin and then its argument prototype would still apply. */
14162 #ifdef __cplusplus
14163 extern "C"
14164 #endif
14165 char capi20_register ();
14167 main ()
14169 return capi20_register ();
14171 return 0;
14173 _ACEOF
14174 rm -f conftest.$ac_objext conftest$ac_exeext
14175 if { (ac_try="$ac_link"
14176 case "(($ac_try" in
14177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14178 *) ac_try_echo=$ac_try;;
14179 esac
14180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14181 (eval "$ac_link") 2>conftest.er1
14182 ac_status=$?
14183 grep -v '^ *+' conftest.er1 >conftest.err
14184 rm -f conftest.er1
14185 cat conftest.err >&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); } &&
14188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14189 { (case "(($ac_try" in
14190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14191 *) ac_try_echo=$ac_try;;
14192 esac
14193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14194 (eval "$ac_try") 2>&5
14195 ac_status=$?
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; } &&
14198 { ac_try='test -s conftest$ac_exeext'
14199 { (case "(($ac_try" in
14200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14201 *) ac_try_echo=$ac_try;;
14202 esac
14203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14204 (eval "$ac_try") 2>&5
14205 ac_status=$?
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }; }; then
14208 ac_cv_lib_capi20_capi20_register=yes
14209 else
14210 echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.$ac_ext >&5
14213 ac_cv_lib_capi20_capi20_register=no
14216 rm -f core conftest.err conftest.$ac_objext \
14217 conftest$ac_exeext conftest.$ac_ext
14218 LIBS=$ac_check_lib_save_LIBS
14220 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14221 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14222 if test $ac_cv_lib_capi20_capi20_register = yes; then
14224 cat >>confdefs.h <<\_ACEOF
14225 #define HAVE_CAPI4LINUX 1
14226 _ACEOF
14233 EXTRACFLAGS=""
14235 if test "x${GCC}" = "xyes"
14236 then
14237 EXTRACFLAGS="-Wall -pipe"
14239 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14240 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14241 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14242 echo $ECHO_N "(cached) $ECHO_C" >&6
14243 else
14244 if test "$cross_compiling" = yes; then
14245 ac_cv_c_gcc_strength_bug="yes"
14246 else
14247 cat >conftest.$ac_ext <<_ACEOF
14248 /* confdefs.h. */
14249 _ACEOF
14250 cat confdefs.h >>conftest.$ac_ext
14251 cat >>conftest.$ac_ext <<_ACEOF
14252 /* end confdefs.h. */
14254 int L[4] = {0,1,2,3};
14255 int main(void) {
14256 static int Array[3];
14257 unsigned int B = 3;
14258 int i;
14259 for(i=0; i<B; i++) Array[i] = i - 3;
14260 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14261 L[i] = 4;
14263 exit( Array[1] != -2 || L[2] != 3);
14265 _ACEOF
14266 rm -f conftest$ac_exeext
14267 if { (ac_try="$ac_link"
14268 case "(($ac_try" in
14269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14270 *) ac_try_echo=$ac_try;;
14271 esac
14272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14273 (eval "$ac_link") 2>&5
14274 ac_status=$?
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14277 { (case "(($ac_try" in
14278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14279 *) ac_try_echo=$ac_try;;
14280 esac
14281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14282 (eval "$ac_try") 2>&5
14283 ac_status=$?
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; }; then
14286 ac_cv_c_gcc_strength_bug="no"
14287 else
14288 echo "$as_me: program exited with status $ac_status" >&5
14289 echo "$as_me: failed program was:" >&5
14290 sed 's/^/| /' conftest.$ac_ext >&5
14292 ( exit $ac_status )
14293 ac_cv_c_gcc_strength_bug="yes"
14295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14300 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14301 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14302 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14303 then
14304 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14308 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14309 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14310 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14312 else
14313 ac_wine_try_cflags_saved=$CFLAGS
14314 CFLAGS="$CFLAGS -fshort-wchar"
14315 cat >conftest.$ac_ext <<_ACEOF
14316 /* confdefs.h. */
14317 _ACEOF
14318 cat confdefs.h >>conftest.$ac_ext
14319 cat >>conftest.$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14323 main ()
14327 return 0;
14329 _ACEOF
14330 rm -f conftest.$ac_objext conftest$ac_exeext
14331 if { (ac_try="$ac_link"
14332 case "(($ac_try" in
14333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14334 *) ac_try_echo=$ac_try;;
14335 esac
14336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14337 (eval "$ac_link") 2>conftest.er1
14338 ac_status=$?
14339 grep -v '^ *+' conftest.er1 >conftest.err
14340 rm -f conftest.er1
14341 cat conftest.err >&5
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); } &&
14344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14345 { (case "(($ac_try" in
14346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14347 *) ac_try_echo=$ac_try;;
14348 esac
14349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14350 (eval "$ac_try") 2>&5
14351 ac_status=$?
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; } &&
14354 { ac_try='test -s conftest$ac_exeext'
14355 { (case "(($ac_try" in
14356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14357 *) ac_try_echo=$ac_try;;
14358 esac
14359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14360 (eval "$ac_try") 2>&5
14361 ac_status=$?
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; }; then
14364 ac_cv_cflags__fshort_wchar=yes
14365 else
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.$ac_ext >&5
14369 ac_cv_cflags__fshort_wchar=no
14372 rm -f core conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14374 CFLAGS=$ac_wine_try_cflags_saved
14376 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14377 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14378 if test $ac_cv_cflags__fshort_wchar = yes; then
14380 cat >>confdefs.h <<\_ACEOF
14381 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14382 _ACEOF
14386 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14387 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14388 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14389 echo $ECHO_N "(cached) $ECHO_C" >&6
14390 else
14391 ac_wine_try_cflags_saved=$CFLAGS
14392 CFLAGS="$CFLAGS -fno-strict-aliasing"
14393 cat >conftest.$ac_ext <<_ACEOF
14394 /* confdefs.h. */
14395 _ACEOF
14396 cat confdefs.h >>conftest.$ac_ext
14397 cat >>conftest.$ac_ext <<_ACEOF
14398 /* end confdefs.h. */
14401 main ()
14405 return 0;
14407 _ACEOF
14408 rm -f conftest.$ac_objext conftest$ac_exeext
14409 if { (ac_try="$ac_link"
14410 case "(($ac_try" in
14411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14412 *) ac_try_echo=$ac_try;;
14413 esac
14414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14415 (eval "$ac_link") 2>conftest.er1
14416 ac_status=$?
14417 grep -v '^ *+' conftest.er1 >conftest.err
14418 rm -f conftest.er1
14419 cat conftest.err >&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } &&
14422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14423 { (case "(($ac_try" in
14424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14425 *) ac_try_echo=$ac_try;;
14426 esac
14427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14428 (eval "$ac_try") 2>&5
14429 ac_status=$?
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; } &&
14432 { ac_try='test -s conftest$ac_exeext'
14433 { (case "(($ac_try" in
14434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14435 *) ac_try_echo=$ac_try;;
14436 esac
14437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14438 (eval "$ac_try") 2>&5
14439 ac_status=$?
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }; }; then
14442 ac_cv_cflags__fno_strict_aliasing=yes
14443 else
14444 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.$ac_ext >&5
14447 ac_cv_cflags__fno_strict_aliasing=no
14450 rm -f core conftest.err conftest.$ac_objext \
14451 conftest$ac_exeext conftest.$ac_ext
14452 CFLAGS=$ac_wine_try_cflags_saved
14454 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14455 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14456 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14457 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14460 { echo "$as_me:$LINENO: checking whether the compiler supports -gstabs+" >&5
14461 echo $ECHO_N "checking whether the compiler supports -gstabs+... $ECHO_C" >&6; }
14462 if test "${ac_cv_cflags__gstabsp+set}" = set; then
14463 echo $ECHO_N "(cached) $ECHO_C" >&6
14464 else
14465 ac_wine_try_cflags_saved=$CFLAGS
14466 CFLAGS="$CFLAGS -gstabs+"
14467 cat >conftest.$ac_ext <<_ACEOF
14468 /* confdefs.h. */
14469 _ACEOF
14470 cat confdefs.h >>conftest.$ac_ext
14471 cat >>conftest.$ac_ext <<_ACEOF
14472 /* end confdefs.h. */
14475 main ()
14479 return 0;
14481 _ACEOF
14482 rm -f conftest.$ac_objext conftest$ac_exeext
14483 if { (ac_try="$ac_link"
14484 case "(($ac_try" in
14485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14486 *) ac_try_echo=$ac_try;;
14487 esac
14488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14489 (eval "$ac_link") 2>conftest.er1
14490 ac_status=$?
14491 grep -v '^ *+' conftest.er1 >conftest.err
14492 rm -f conftest.er1
14493 cat conftest.err >&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); } &&
14496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14497 { (case "(($ac_try" in
14498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14499 *) ac_try_echo=$ac_try;;
14500 esac
14501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14502 (eval "$ac_try") 2>&5
14503 ac_status=$?
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); }; } &&
14506 { ac_try='test -s conftest$ac_exeext'
14507 { (case "(($ac_try" in
14508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14509 *) ac_try_echo=$ac_try;;
14510 esac
14511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14512 (eval "$ac_try") 2>&5
14513 ac_status=$?
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); }; }; then
14516 ac_cv_cflags__gstabsp=yes
14517 else
14518 echo "$as_me: failed program was:" >&5
14519 sed 's/^/| /' conftest.$ac_ext >&5
14521 ac_cv_cflags__gstabsp=no
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14526 CFLAGS=$ac_wine_try_cflags_saved
14528 { echo "$as_me:$LINENO: result: $ac_cv_cflags__gstabsp" >&5
14529 echo "${ECHO_T}$ac_cv_cflags__gstabsp" >&6; }
14530 if test $ac_cv_cflags__gstabsp = yes; then
14531 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14534 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14535 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14536 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14537 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 else
14539 ac_wine_try_cflags_saved=$CFLAGS
14540 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14541 cat >conftest.$ac_ext <<_ACEOF
14542 /* confdefs.h. */
14543 _ACEOF
14544 cat confdefs.h >>conftest.$ac_ext
14545 cat >>conftest.$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14549 main ()
14553 return 0;
14555 _ACEOF
14556 rm -f conftest.$ac_objext conftest$ac_exeext
14557 if { (ac_try="$ac_link"
14558 case "(($ac_try" in
14559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14560 *) ac_try_echo=$ac_try;;
14561 esac
14562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14563 (eval "$ac_link") 2>conftest.er1
14564 ac_status=$?
14565 grep -v '^ *+' conftest.er1 >conftest.err
14566 rm -f conftest.er1
14567 cat conftest.err >&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } &&
14570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14580 { ac_try='test -s conftest$ac_exeext'
14581 { (case "(($ac_try" in
14582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14583 *) ac_try_echo=$ac_try;;
14584 esac
14585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14586 (eval "$ac_try") 2>&5
14587 ac_status=$?
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); }; }; then
14590 ac_cv_cflags__Wdeclaration_after_statement=yes
14591 else
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14595 ac_cv_cflags__Wdeclaration_after_statement=no
14598 rm -f core conftest.err conftest.$ac_objext \
14599 conftest$ac_exeext conftest.$ac_ext
14600 CFLAGS=$ac_wine_try_cflags_saved
14602 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14603 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14604 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14605 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14608 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14609 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14610 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14611 echo $ECHO_N "(cached) $ECHO_C" >&6
14612 else
14613 ac_wine_try_cflags_saved=$CFLAGS
14614 CFLAGS="$CFLAGS -Wwrite-strings"
14615 cat >conftest.$ac_ext <<_ACEOF
14616 /* confdefs.h. */
14617 _ACEOF
14618 cat confdefs.h >>conftest.$ac_ext
14619 cat >>conftest.$ac_ext <<_ACEOF
14620 /* end confdefs.h. */
14623 main ()
14627 return 0;
14629 _ACEOF
14630 rm -f conftest.$ac_objext conftest$ac_exeext
14631 if { (ac_try="$ac_link"
14632 case "(($ac_try" in
14633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14634 *) ac_try_echo=$ac_try;;
14635 esac
14636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14637 (eval "$ac_link") 2>conftest.er1
14638 ac_status=$?
14639 grep -v '^ *+' conftest.er1 >conftest.err
14640 rm -f conftest.er1
14641 cat conftest.err >&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } &&
14644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14645 { (case "(($ac_try" in
14646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14647 *) ac_try_echo=$ac_try;;
14648 esac
14649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14650 (eval "$ac_try") 2>&5
14651 ac_status=$?
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); }; } &&
14654 { ac_try='test -s conftest$ac_exeext'
14655 { (case "(($ac_try" in
14656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14657 *) ac_try_echo=$ac_try;;
14658 esac
14659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14660 (eval "$ac_try") 2>&5
14661 ac_status=$?
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14664 ac_cv_cflags__Wwrite_strings=yes
14665 else
14666 echo "$as_me: failed program was:" >&5
14667 sed 's/^/| /' conftest.$ac_ext >&5
14669 ac_cv_cflags__Wwrite_strings=no
14672 rm -f core conftest.err conftest.$ac_objext \
14673 conftest$ac_exeext conftest.$ac_ext
14674 CFLAGS=$ac_wine_try_cflags_saved
14676 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14677 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14678 if test $ac_cv_cflags__Wwrite_strings = yes; then
14679 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14683 saved_CFLAGS="$CFLAGS"
14684 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14685 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14686 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14687 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14688 echo $ECHO_N "(cached) $ECHO_C" >&6
14689 else
14690 cat >conftest.$ac_ext <<_ACEOF
14691 /* confdefs.h. */
14692 _ACEOF
14693 cat confdefs.h >>conftest.$ac_ext
14694 cat >>conftest.$ac_ext <<_ACEOF
14695 /* end confdefs.h. */
14696 #include <string.h>
14698 main ()
14702 return 0;
14704 _ACEOF
14705 rm -f conftest.$ac_objext
14706 if { (ac_try="$ac_compile"
14707 case "(($ac_try" in
14708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14709 *) ac_try_echo=$ac_try;;
14710 esac
14711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14712 (eval "$ac_compile") 2>conftest.er1
14713 ac_status=$?
14714 grep -v '^ *+' conftest.er1 >conftest.err
14715 rm -f conftest.er1
14716 cat conftest.err >&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); } &&
14719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14720 { (case "(($ac_try" in
14721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14722 *) ac_try_echo=$ac_try;;
14723 esac
14724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14725 (eval "$ac_try") 2>&5
14726 ac_status=$?
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); }; } &&
14729 { ac_try='test -s conftest.$ac_objext'
14730 { (case "(($ac_try" in
14731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14732 *) ac_try_echo=$ac_try;;
14733 esac
14734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14735 (eval "$ac_try") 2>&5
14736 ac_status=$?
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; }; then
14739 ac_cv_c_string_h_warnings=no
14740 else
14741 echo "$as_me: failed program was:" >&5
14742 sed 's/^/| /' conftest.$ac_ext >&5
14744 ac_cv_c_string_h_warnings=yes
14747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14749 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14750 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14751 CFLAGS="$saved_CFLAGS"
14752 if test "$ac_cv_c_string_h_warnings" = "no"
14753 then
14754 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14757 BUILTINFLAG=""
14759 saved_CFLAGS="$CFLAGS"
14760 CFLAGS="$CFLAGS -Werror"
14761 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14762 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14763 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14765 else
14766 cat >conftest.$ac_ext <<_ACEOF
14767 /* confdefs.h. */
14768 _ACEOF
14769 cat confdefs.h >>conftest.$ac_ext
14770 cat >>conftest.$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14774 main ()
14776 int iswlower(unsigned short);
14778 return 0;
14780 _ACEOF
14781 rm -f conftest.$ac_objext
14782 if { (ac_try="$ac_compile"
14783 case "(($ac_try" in
14784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14785 *) ac_try_echo=$ac_try;;
14786 esac
14787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14788 (eval "$ac_compile") 2>conftest.er1
14789 ac_status=$?
14790 grep -v '^ *+' conftest.er1 >conftest.err
14791 rm -f conftest.er1
14792 cat conftest.err >&5
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); } &&
14795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14796 { (case "(($ac_try" in
14797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14798 *) ac_try_echo=$ac_try;;
14799 esac
14800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14801 (eval "$ac_try") 2>&5
14802 ac_status=$?
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); }; } &&
14805 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
14815 ac_cv_c_builtin_wchar_ctype=no
14816 else
14817 echo "$as_me: failed program was:" >&5
14818 sed 's/^/| /' conftest.$ac_ext >&5
14820 ac_cv_c_builtin_wchar_ctype=yes
14823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14825 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14826 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14827 CFLAGS="$saved_CFLAGS"
14828 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14829 then
14830 BUILTINFLAG="-fno-builtin"
14835 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14836 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14837 if test "${ac_cv_asm_func_def+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 else
14840 cat >conftest.$ac_ext <<_ACEOF
14841 /* confdefs.h. */
14842 _ACEOF
14843 cat confdefs.h >>conftest.$ac_ext
14844 cat >>conftest.$ac_ext <<_ACEOF
14845 /* end confdefs.h. */
14846 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"); }
14849 main ()
14853 return 0;
14855 _ACEOF
14856 rm -f conftest.$ac_objext conftest$ac_exeext
14857 if { (ac_try="$ac_link"
14858 case "(($ac_try" in
14859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14860 *) ac_try_echo=$ac_try;;
14861 esac
14862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14863 (eval "$ac_link") 2>conftest.er1
14864 ac_status=$?
14865 grep -v '^ *+' conftest.er1 >conftest.err
14866 rm -f conftest.er1
14867 cat conftest.err >&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); } &&
14870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14871 { (case "(($ac_try" in
14872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14873 *) ac_try_echo=$ac_try;;
14874 esac
14875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14876 (eval "$ac_try") 2>&5
14877 ac_status=$?
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); }; } &&
14880 { ac_try='test -s conftest$ac_exeext'
14881 { (case "(($ac_try" in
14882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14883 *) ac_try_echo=$ac_try;;
14884 esac
14885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14886 (eval "$ac_try") 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; }; then
14890 ac_cv_asm_func_def=".def"
14891 else
14892 echo "$as_me: failed program was:" >&5
14893 sed 's/^/| /' conftest.$ac_ext >&5
14895 cat >conftest.$ac_ext <<_ACEOF
14896 /* confdefs.h. */
14897 _ACEOF
14898 cat confdefs.h >>conftest.$ac_ext
14899 cat >>conftest.$ac_ext <<_ACEOF
14900 /* end confdefs.h. */
14901 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14904 main ()
14908 return 0;
14910 _ACEOF
14911 rm -f conftest.$ac_objext conftest$ac_exeext
14912 if { (ac_try="$ac_link"
14913 case "(($ac_try" in
14914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14915 *) ac_try_echo=$ac_try;;
14916 esac
14917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14918 (eval "$ac_link") 2>conftest.er1
14919 ac_status=$?
14920 grep -v '^ *+' conftest.er1 >conftest.err
14921 rm -f conftest.er1
14922 cat conftest.err >&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); } &&
14925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14926 { (case "(($ac_try" in
14927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14928 *) ac_try_echo=$ac_try;;
14929 esac
14930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14931 (eval "$ac_try") 2>&5
14932 ac_status=$?
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); }; } &&
14935 { ac_try='test -s conftest$ac_exeext'
14936 { (case "(($ac_try" in
14937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14938 *) ac_try_echo=$ac_try;;
14939 esac
14940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14941 (eval "$ac_try") 2>&5
14942 ac_status=$?
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; }; then
14945 ac_cv_asm_func_def=".type @function"
14946 else
14947 echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.$ac_ext >&5
14950 cat >conftest.$ac_ext <<_ACEOF
14951 /* confdefs.h. */
14952 _ACEOF
14953 cat confdefs.h >>conftest.$ac_ext
14954 cat >>conftest.$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14956 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14959 main ()
14963 return 0;
14965 _ACEOF
14966 rm -f conftest.$ac_objext conftest$ac_exeext
14967 if { (ac_try="$ac_link"
14968 case "(($ac_try" in
14969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14970 *) ac_try_echo=$ac_try;;
14971 esac
14972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14973 (eval "$ac_link") 2>conftest.er1
14974 ac_status=$?
14975 grep -v '^ *+' conftest.er1 >conftest.err
14976 rm -f conftest.er1
14977 cat conftest.err >&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); } &&
14980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14981 { (case "(($ac_try" in
14982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14983 *) ac_try_echo=$ac_try;;
14984 esac
14985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14986 (eval "$ac_try") 2>&5
14987 ac_status=$?
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); }; } &&
14990 { ac_try='test -s conftest$ac_exeext'
14991 { (case "(($ac_try" in
14992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14993 *) ac_try_echo=$ac_try;;
14994 esac
14995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14996 (eval "$ac_try") 2>&5
14997 ac_status=$?
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; }; then
15000 ac_cv_asm_func_def=".type 2"
15001 else
15002 echo "$as_me: failed program was:" >&5
15003 sed 's/^/| /' conftest.$ac_ext >&5
15005 ac_cv_asm_func_def="unknown"
15008 rm -f core conftest.err conftest.$ac_objext \
15009 conftest$ac_exeext conftest.$ac_ext
15012 rm -f core conftest.err conftest.$ac_objext \
15013 conftest$ac_exeext conftest.$ac_ext
15016 rm -f core conftest.err conftest.$ac_objext \
15017 conftest$ac_exeext conftest.$ac_ext
15019 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15020 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15024 case "$ac_cv_asm_func_def" in
15025 ".def")
15026 cat >>confdefs.h <<\_ACEOF
15027 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15028 _ACEOF
15030 ".type @function")
15031 cat >>confdefs.h <<\_ACEOF
15032 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15033 _ACEOF
15035 ".type 2")
15036 cat >>confdefs.h <<\_ACEOF
15037 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15038 _ACEOF
15041 cat >>confdefs.h <<\_ACEOF
15042 #define __ASM_FUNC(name) ""
15043 _ACEOF
15045 esac
15048 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15049 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15050 if test "${ac_cv_c_extern_prefix+set}" = set; then
15051 echo $ECHO_N "(cached) $ECHO_C" >&6
15052 else
15053 cat >conftest.$ac_ext <<_ACEOF
15054 /* confdefs.h. */
15055 _ACEOF
15056 cat confdefs.h >>conftest.$ac_ext
15057 cat >>conftest.$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15059 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15060 extern int ac_test;
15062 main ()
15064 if (ac_test) return 1
15066 return 0;
15068 _ACEOF
15069 rm -f conftest.$ac_objext conftest$ac_exeext
15070 if { (ac_try="$ac_link"
15071 case "(($ac_try" in
15072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15073 *) ac_try_echo=$ac_try;;
15074 esac
15075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15076 (eval "$ac_link") 2>conftest.er1
15077 ac_status=$?
15078 grep -v '^ *+' conftest.er1 >conftest.err
15079 rm -f conftest.er1
15080 cat conftest.err >&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); } &&
15083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15084 { (case "(($ac_try" in
15085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15086 *) ac_try_echo=$ac_try;;
15087 esac
15088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15089 (eval "$ac_try") 2>&5
15090 ac_status=$?
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; } &&
15093 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
15100 ac_status=$?
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); }; }; then
15103 ac_cv_c_extern_prefix="yes"
15104 else
15105 echo "$as_me: failed program was:" >&5
15106 sed 's/^/| /' conftest.$ac_ext >&5
15108 ac_cv_c_extern_prefix="no"
15111 rm -f core conftest.err conftest.$ac_objext \
15112 conftest$ac_exeext conftest.$ac_ext
15114 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15115 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15119 if test "$ac_cv_c_extern_prefix" = "yes"
15120 then
15121 cat >>confdefs.h <<\_ACEOF
15122 #define __ASM_NAME(name) "_" name
15123 _ACEOF
15125 else
15126 cat >>confdefs.h <<\_ACEOF
15127 #define __ASM_NAME(name) name
15128 _ACEOF
15133 DLLEXT=""
15135 DLLFLAGS="-D_REENTRANT"
15137 LDSHARED=""
15139 LDDLLFLAGS=""
15141 LIBEXT="so"
15143 IMPLIBEXT="def"
15145 LIBWINE_LDFLAGS=""
15148 case $host_os in
15149 cygwin*|mingw32*)
15150 if test -n "$ac_tool_prefix"; then
15151 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15152 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15155 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15156 echo $ECHO_N "(cached) $ECHO_C" >&6
15157 else
15158 if test -n "$DLLTOOL"; then
15159 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15160 else
15161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15162 for as_dir in $PATH
15164 IFS=$as_save_IFS
15165 test -z "$as_dir" && as_dir=.
15166 for ac_exec_ext in '' $ac_executable_extensions; do
15167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15168 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15170 break 2
15172 done
15173 done
15174 IFS=$as_save_IFS
15178 DLLTOOL=$ac_cv_prog_DLLTOOL
15179 if test -n "$DLLTOOL"; then
15180 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15181 echo "${ECHO_T}$DLLTOOL" >&6; }
15182 else
15183 { echo "$as_me:$LINENO: result: no" >&5
15184 echo "${ECHO_T}no" >&6; }
15189 if test -z "$ac_cv_prog_DLLTOOL"; then
15190 ac_ct_DLLTOOL=$DLLTOOL
15191 # Extract the first word of "dlltool", so it can be a program name with args.
15192 set dummy dlltool; ac_word=$2
15193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15195 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15196 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 else
15198 if test -n "$ac_ct_DLLTOOL"; then
15199 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15200 else
15201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15202 for as_dir in $PATH
15204 IFS=$as_save_IFS
15205 test -z "$as_dir" && as_dir=.
15206 for ac_exec_ext in '' $ac_executable_extensions; do
15207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15208 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15210 break 2
15212 done
15213 done
15214 IFS=$as_save_IFS
15218 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15219 if test -n "$ac_ct_DLLTOOL"; then
15220 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15221 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15222 else
15223 { echo "$as_me:$LINENO: result: no" >&5
15224 echo "${ECHO_T}no" >&6; }
15227 if test "x$ac_ct_DLLTOOL" = x; then
15228 DLLTOOL="false"
15229 else
15230 case $cross_compiling:$ac_tool_warned in
15231 yes:)
15232 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15233 whose name does not start with the host triplet. If you think this
15234 configuration is useful to you, please write to autoconf@gnu.org." >&5
15235 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15236 whose name does not start with the host triplet. If you think this
15237 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15238 ac_tool_warned=yes ;;
15239 esac
15240 DLLTOOL=$ac_ct_DLLTOOL
15242 else
15243 DLLTOOL="$ac_cv_prog_DLLTOOL"
15246 if test -n "$ac_tool_prefix"; then
15247 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15248 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15251 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15252 echo $ECHO_N "(cached) $ECHO_C" >&6
15253 else
15254 if test -n "$DLLWRAP"; then
15255 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15256 else
15257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15258 for as_dir in $PATH
15260 IFS=$as_save_IFS
15261 test -z "$as_dir" && as_dir=.
15262 for ac_exec_ext in '' $ac_executable_extensions; do
15263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15264 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15266 break 2
15268 done
15269 done
15270 IFS=$as_save_IFS
15274 DLLWRAP=$ac_cv_prog_DLLWRAP
15275 if test -n "$DLLWRAP"; then
15276 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15277 echo "${ECHO_T}$DLLWRAP" >&6; }
15278 else
15279 { echo "$as_me:$LINENO: result: no" >&5
15280 echo "${ECHO_T}no" >&6; }
15285 if test -z "$ac_cv_prog_DLLWRAP"; then
15286 ac_ct_DLLWRAP=$DLLWRAP
15287 # Extract the first word of "dllwrap", so it can be a program name with args.
15288 set dummy dllwrap; ac_word=$2
15289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15291 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15292 echo $ECHO_N "(cached) $ECHO_C" >&6
15293 else
15294 if test -n "$ac_ct_DLLWRAP"; then
15295 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15296 else
15297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15298 for as_dir in $PATH
15300 IFS=$as_save_IFS
15301 test -z "$as_dir" && as_dir=.
15302 for ac_exec_ext in '' $ac_executable_extensions; do
15303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15304 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15306 break 2
15308 done
15309 done
15310 IFS=$as_save_IFS
15314 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15315 if test -n "$ac_ct_DLLWRAP"; then
15316 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15317 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15318 else
15319 { echo "$as_me:$LINENO: result: no" >&5
15320 echo "${ECHO_T}no" >&6; }
15323 if test "x$ac_ct_DLLWRAP" = x; then
15324 DLLWRAP="false"
15325 else
15326 case $cross_compiling:$ac_tool_warned in
15327 yes:)
15328 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15329 whose name does not start with the host triplet. If you think this
15330 configuration is useful to you, please write to autoconf@gnu.org." >&5
15331 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15332 whose name does not start with the host triplet. If you think this
15333 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15334 ac_tool_warned=yes ;;
15335 esac
15336 DLLWRAP=$ac_ct_DLLWRAP
15338 else
15339 DLLWRAP="$ac_cv_prog_DLLWRAP"
15342 if test "$DLLWRAP" = "false"; then
15343 LIBEXT="a"
15344 else
15345 LIBEXT="dll"
15347 IMPLIBEXT="a"
15348 WIN16_FILES=""
15349 WIN16_INSTALL=""
15351 darwin*|macosx*)
15352 DLLEXT=".so"
15353 LIBEXT="dylib"
15354 DLLFLAGS="$DLLFLAGS -fPIC"
15355 LDDLLFLAGS="-bundle -multiply_defined suppress"
15356 LIBWINE_LDFLAGS="-multiply_defined suppress"
15357 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
15358 STRIP="$STRIP -u -r"
15359 COREFOUNDATIONLIB="-framework CoreFoundation"
15361 IOKITLIB="-framework IOKit -framework CoreFoundation"
15363 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
15365 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15367 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15368 then
15369 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15372 case $host_cpu in
15373 *powerpc*)
15374 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15375 esac
15378 DLLFLAGS="$DLLFLAGS -fPIC"
15379 DLLEXT=".so"
15380 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15381 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15382 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15383 echo $ECHO_N "(cached) $ECHO_C" >&6
15384 else
15385 ac_wine_try_cflags_saved=$CFLAGS
15386 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15387 cat >conftest.$ac_ext <<_ACEOF
15388 void myfunc() {}
15389 _ACEOF
15390 rm -f conftest.$ac_objext conftest$ac_exeext
15391 if { (ac_try="$ac_link"
15392 case "(($ac_try" in
15393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15394 *) ac_try_echo=$ac_try;;
15395 esac
15396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15397 (eval "$ac_link") 2>conftest.er1
15398 ac_status=$?
15399 grep -v '^ *+' conftest.er1 >conftest.err
15400 rm -f conftest.er1
15401 cat conftest.err >&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } &&
15404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15405 { (case "(($ac_try" in
15406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15407 *) ac_try_echo=$ac_try;;
15408 esac
15409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15410 (eval "$ac_try") 2>&5
15411 ac_status=$?
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }; } &&
15414 { ac_try='test -s conftest$ac_exeext'
15415 { (case "(($ac_try" in
15416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15417 *) ac_try_echo=$ac_try;;
15418 esac
15419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15420 (eval "$ac_try") 2>&5
15421 ac_status=$?
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); }; }; then
15424 ac_cv_c_dll_gnuelf="yes"
15425 else
15426 echo "$as_me: failed program was:" >&5
15427 sed 's/^/| /' conftest.$ac_ext >&5
15429 ac_cv_c_dll_gnuelf="no"
15432 rm -f core conftest.err conftest.$ac_objext \
15433 conftest$ac_exeext conftest.$ac_ext
15434 CFLAGS=$ac_wine_try_cflags_saved
15436 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15437 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15438 if test "$ac_cv_c_dll_gnuelf" = "yes"
15439 then
15440 LDSHARED="\$(CC) -shared"
15441 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
15442 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15443 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15444 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15445 echo $ECHO_N "(cached) $ECHO_C" >&6
15446 else
15447 ac_wine_try_cflags_saved=$CFLAGS
15448 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15449 cat >conftest.$ac_ext <<_ACEOF
15450 /* confdefs.h. */
15451 _ACEOF
15452 cat confdefs.h >>conftest.$ac_ext
15453 cat >>conftest.$ac_ext <<_ACEOF
15454 /* end confdefs.h. */
15457 main ()
15461 return 0;
15463 _ACEOF
15464 rm -f conftest.$ac_objext conftest$ac_exeext
15465 if { (ac_try="$ac_link"
15466 case "(($ac_try" in
15467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15468 *) ac_try_echo=$ac_try;;
15469 esac
15470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15471 (eval "$ac_link") 2>conftest.er1
15472 ac_status=$?
15473 grep -v '^ *+' conftest.er1 >conftest.err
15474 rm -f conftest.er1
15475 cat conftest.err >&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); } &&
15478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15479 { (case "(($ac_try" in
15480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15481 *) ac_try_echo=$ac_try;;
15482 esac
15483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15484 (eval "$ac_try") 2>&5
15485 ac_status=$?
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; } &&
15488 { ac_try='test -s conftest$ac_exeext'
15489 { (case "(($ac_try" in
15490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15491 *) ac_try_echo=$ac_try;;
15492 esac
15493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15494 (eval "$ac_try") 2>&5
15495 ac_status=$?
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; }; then
15498 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
15499 else
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.$ac_ext >&5
15503 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
15506 rm -f core conftest.err conftest.$ac_objext \
15507 conftest$ac_exeext conftest.$ac_ext
15508 CFLAGS=$ac_wine_try_cflags_saved
15510 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15511 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15512 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15513 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15514 else
15515 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15516 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15517 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
15518 echo $ECHO_N "(cached) $ECHO_C" >&6
15519 else
15520 ac_wine_try_cflags_saved=$CFLAGS
15521 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15522 cat >conftest.$ac_ext <<_ACEOF
15523 /* confdefs.h. */
15524 _ACEOF
15525 cat confdefs.h >>conftest.$ac_ext
15526 cat >>conftest.$ac_ext <<_ACEOF
15527 /* end confdefs.h. */
15530 main ()
15534 return 0;
15536 _ACEOF
15537 rm -f conftest.$ac_objext conftest$ac_exeext
15538 if { (ac_try="$ac_link"
15539 case "(($ac_try" in
15540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15541 *) ac_try_echo=$ac_try;;
15542 esac
15543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15544 (eval "$ac_link") 2>conftest.er1
15545 ac_status=$?
15546 grep -v '^ *+' conftest.er1 >conftest.err
15547 rm -f conftest.er1
15548 cat conftest.err >&5
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); } &&
15551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15552 { (case "(($ac_try" in
15553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15554 *) ac_try_echo=$ac_try;;
15555 esac
15556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15557 (eval "$ac_try") 2>&5
15558 ac_status=$?
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); }; } &&
15561 { ac_try='test -s conftest$ac_exeext'
15562 { (case "(($ac_try" in
15563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15564 *) ac_try_echo=$ac_try;;
15565 esac
15566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15567 (eval "$ac_try") 2>&5
15568 ac_status=$?
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); }; }; then
15571 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
15572 else
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15576 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
15579 rm -f core conftest.err conftest.$ac_objext \
15580 conftest$ac_exeext conftest.$ac_ext
15581 CFLAGS=$ac_wine_try_cflags_saved
15583 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15584 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15585 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15586 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15592 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15593 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15594 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15595 echo $ECHO_N "(cached) $ECHO_C" >&6
15596 else
15597 ac_wine_try_cflags_saved=$CFLAGS
15598 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15599 cat >conftest.$ac_ext <<_ACEOF
15600 /* confdefs.h. */
15601 _ACEOF
15602 cat confdefs.h >>conftest.$ac_ext
15603 cat >>conftest.$ac_ext <<_ACEOF
15604 /* end confdefs.h. */
15607 main ()
15611 return 0;
15613 _ACEOF
15614 rm -f conftest.$ac_objext conftest$ac_exeext
15615 if { (ac_try="$ac_link"
15616 case "(($ac_try" in
15617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15618 *) ac_try_echo=$ac_try;;
15619 esac
15620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15621 (eval "$ac_link") 2>conftest.er1
15622 ac_status=$?
15623 grep -v '^ *+' conftest.er1 >conftest.err
15624 rm -f conftest.er1
15625 cat conftest.err >&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15629 { (case "(($ac_try" in
15630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15631 *) ac_try_echo=$ac_try;;
15632 esac
15633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15634 (eval "$ac_try") 2>&5
15635 ac_status=$?
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; } &&
15638 { ac_try='test -s conftest$ac_exeext'
15639 { (case "(($ac_try" in
15640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15641 *) ac_try_echo=$ac_try;;
15642 esac
15643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15644 (eval "$ac_try") 2>&5
15645 ac_status=$?
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; }; then
15648 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
15649 else
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.$ac_ext >&5
15653 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
15656 rm -f core conftest.err conftest.$ac_objext \
15657 conftest$ac_exeext conftest.$ac_ext
15658 CFLAGS=$ac_wine_try_cflags_saved
15660 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15661 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15662 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15663 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15667 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15668 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15669 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15670 echo $ECHO_N "(cached) $ECHO_C" >&6
15671 else
15672 ac_wine_try_cflags_saved=$CFLAGS
15673 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15674 cat >conftest.$ac_ext <<_ACEOF
15675 /* confdefs.h. */
15676 _ACEOF
15677 cat confdefs.h >>conftest.$ac_ext
15678 cat >>conftest.$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15682 main ()
15686 return 0;
15688 _ACEOF
15689 rm -f conftest.$ac_objext conftest$ac_exeext
15690 if { (ac_try="$ac_link"
15691 case "(($ac_try" in
15692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15693 *) ac_try_echo=$ac_try;;
15694 esac
15695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15696 (eval "$ac_link") 2>conftest.er1
15697 ac_status=$?
15698 grep -v '^ *+' conftest.er1 >conftest.err
15699 rm -f conftest.er1
15700 cat conftest.err >&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15704 { (case "(($ac_try" in
15705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15706 *) ac_try_echo=$ac_try;;
15707 esac
15708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15709 (eval "$ac_try") 2>&5
15710 ac_status=$?
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); }; } &&
15713 { ac_try='test -s conftest$ac_exeext'
15714 { (case "(($ac_try" in
15715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15716 *) ac_try_echo=$ac_try;;
15717 esac
15718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15719 (eval "$ac_try") 2>&5
15720 ac_status=$?
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); }; }; then
15723 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
15724 else
15725 echo "$as_me: failed program was:" >&5
15726 sed 's/^/| /' conftest.$ac_ext >&5
15728 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
15731 rm -f core conftest.err conftest.$ac_objext \
15732 conftest$ac_exeext conftest.$ac_ext
15733 CFLAGS=$ac_wine_try_cflags_saved
15735 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15736 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15737 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15738 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15742 echo '{ global: *; };' >conftest.map
15743 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15744 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15745 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15746 echo $ECHO_N "(cached) $ECHO_C" >&6
15747 else
15748 ac_wine_try_cflags_saved=$CFLAGS
15749 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15750 cat >conftest.$ac_ext <<_ACEOF
15751 /* confdefs.h. */
15752 _ACEOF
15753 cat confdefs.h >>conftest.$ac_ext
15754 cat >>conftest.$ac_ext <<_ACEOF
15755 /* end confdefs.h. */
15758 main ()
15762 return 0;
15764 _ACEOF
15765 rm -f conftest.$ac_objext conftest$ac_exeext
15766 if { (ac_try="$ac_link"
15767 case "(($ac_try" in
15768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15769 *) ac_try_echo=$ac_try;;
15770 esac
15771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15772 (eval "$ac_link") 2>conftest.er1
15773 ac_status=$?
15774 grep -v '^ *+' conftest.er1 >conftest.err
15775 rm -f conftest.er1
15776 cat conftest.err >&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } &&
15779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15780 { (case "(($ac_try" in
15781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15782 *) ac_try_echo=$ac_try;;
15783 esac
15784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15785 (eval "$ac_try") 2>&5
15786 ac_status=$?
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; } &&
15789 { ac_try='test -s conftest$ac_exeext'
15790 { (case "(($ac_try" in
15791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15792 *) ac_try_echo=$ac_try;;
15793 esac
15794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15795 (eval "$ac_try") 2>&5
15796 ac_status=$?
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); }; }; then
15799 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
15800 else
15801 echo "$as_me: failed program was:" >&5
15802 sed 's/^/| /' conftest.$ac_ext >&5
15804 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
15807 rm -f core conftest.err conftest.$ac_objext \
15808 conftest$ac_exeext conftest.$ac_ext
15809 CFLAGS=$ac_wine_try_cflags_saved
15811 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15812 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15813 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15814 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15817 rm -f conftest.map
15819 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15820 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15821 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
15822 echo $ECHO_N "(cached) $ECHO_C" >&6
15823 else
15824 ac_wine_try_cflags_saved=$CFLAGS
15825 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15826 cat >conftest.$ac_ext <<_ACEOF
15827 /* confdefs.h. */
15828 _ACEOF
15829 cat confdefs.h >>conftest.$ac_ext
15830 cat >>conftest.$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15834 main ()
15838 return 0;
15840 _ACEOF
15841 rm -f conftest.$ac_objext conftest$ac_exeext
15842 if { (ac_try="$ac_link"
15843 case "(($ac_try" in
15844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15845 *) ac_try_echo=$ac_try;;
15846 esac
15847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15848 (eval "$ac_link") 2>conftest.er1
15849 ac_status=$?
15850 grep -v '^ *+' conftest.er1 >conftest.err
15851 rm -f conftest.er1
15852 cat conftest.err >&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); } &&
15855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15856 { (case "(($ac_try" in
15857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15858 *) ac_try_echo=$ac_try;;
15859 esac
15860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15861 (eval "$ac_try") 2>&5
15862 ac_status=$?
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); }; } &&
15865 { ac_try='test -s conftest$ac_exeext'
15866 { (case "(($ac_try" in
15867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15868 *) ac_try_echo=$ac_try;;
15869 esac
15870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15871 (eval "$ac_try") 2>&5
15872 ac_status=$?
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); }; }; then
15875 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
15876 else
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.$ac_ext >&5
15880 ac_cv_cflags__fPIC__Wl___export_dynamic=no
15883 rm -f core conftest.err conftest.$ac_objext \
15884 conftest$ac_exeext conftest.$ac_ext
15885 CFLAGS=$ac_wine_try_cflags_saved
15887 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15888 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15889 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15890 LDEXECFLAGS="-Wl,--export-dynamic"
15895 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
15896 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15897 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15898 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15899 echo $ECHO_N "(cached) $ECHO_C" >&6
15900 else
15901 ac_wine_try_cflags_saved=$CFLAGS
15902 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15903 cat >conftest.$ac_ext <<_ACEOF
15904 /* confdefs.h. */
15905 _ACEOF
15906 cat confdefs.h >>conftest.$ac_ext
15907 cat >>conftest.$ac_ext <<_ACEOF
15908 /* end confdefs.h. */
15911 main ()
15915 return 0;
15917 _ACEOF
15918 rm -f conftest.$ac_objext conftest$ac_exeext
15919 if { (ac_try="$ac_link"
15920 case "(($ac_try" in
15921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15922 *) ac_try_echo=$ac_try;;
15923 esac
15924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15925 (eval "$ac_link") 2>conftest.er1
15926 ac_status=$?
15927 grep -v '^ *+' conftest.er1 >conftest.err
15928 rm -f conftest.er1
15929 cat conftest.err >&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } &&
15932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15933 { (case "(($ac_try" in
15934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15935 *) ac_try_echo=$ac_try;;
15936 esac
15937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15938 (eval "$ac_try") 2>&5
15939 ac_status=$?
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); }; } &&
15942 { ac_try='test -s conftest$ac_exeext'
15943 { (case "(($ac_try" in
15944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15945 *) ac_try_echo=$ac_try;;
15946 esac
15947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15948 (eval "$ac_try") 2>&5
15949 ac_status=$?
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; }; then
15952 eval "$as_ac_var=yes"
15953 else
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.$ac_ext >&5
15957 eval "$as_ac_var=no"
15960 rm -f core conftest.err conftest.$ac_objext \
15961 conftest$ac_exeext conftest.$ac_ext
15962 CFLAGS=$ac_wine_try_cflags_saved
15964 ac_res=`eval echo '${'$as_ac_var'}'`
15965 { echo "$as_me:$LINENO: result: $ac_res" >&5
15966 echo "${ECHO_T}$ac_res" >&6; }
15967 if test `eval echo '${'$as_ac_var'}'` = yes; then
15968 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
15972 case $host_cpu in
15973 *i[3456789]86* | x86_64)
15974 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
15975 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
15976 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 else
15979 ac_wine_try_cflags_saved=$CFLAGS
15980 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15981 cat >conftest.$ac_ext <<_ACEOF
15982 /* confdefs.h. */
15983 _ACEOF
15984 cat confdefs.h >>conftest.$ac_ext
15985 cat >>conftest.$ac_ext <<_ACEOF
15986 /* end confdefs.h. */
15989 main ()
15993 return 0;
15995 _ACEOF
15996 rm -f conftest.$ac_objext conftest$ac_exeext
15997 if { (ac_try="$ac_link"
15998 case "(($ac_try" in
15999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16000 *) ac_try_echo=$ac_try;;
16001 esac
16002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16003 (eval "$ac_link") 2>conftest.er1
16004 ac_status=$?
16005 grep -v '^ *+' conftest.er1 >conftest.err
16006 rm -f conftest.er1
16007 cat conftest.err >&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); } &&
16010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16011 { (case "(($ac_try" in
16012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16013 *) ac_try_echo=$ac_try;;
16014 esac
16015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16016 (eval "$ac_try") 2>&5
16017 ac_status=$?
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; } &&
16020 { ac_try='test -s conftest$ac_exeext'
16021 { (case "(($ac_try" in
16022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16023 *) ac_try_echo=$ac_try;;
16024 esac
16025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16026 (eval "$ac_try") 2>&5
16027 ac_status=$?
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); }; }; then
16030 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
16031 else
16032 echo "$as_me: failed program was:" >&5
16033 sed 's/^/| /' conftest.$ac_ext >&5
16035 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
16038 rm -f core conftest.err conftest.$ac_objext \
16039 conftest$ac_exeext conftest.$ac_ext
16040 CFLAGS=$ac_wine_try_cflags_saved
16042 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
16043 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
16044 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
16045 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16049 esac
16051 else
16052 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16053 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16054 if test "${ac_cv_c_dll_unixware+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16056 else
16057 ac_wine_try_cflags_saved=$CFLAGS
16058 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16059 cat >conftest.$ac_ext <<_ACEOF
16060 void myfunc() {}
16061 _ACEOF
16062 rm -f conftest.$ac_objext conftest$ac_exeext
16063 if { (ac_try="$ac_link"
16064 case "(($ac_try" in
16065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16066 *) ac_try_echo=$ac_try;;
16067 esac
16068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16069 (eval "$ac_link") 2>conftest.er1
16070 ac_status=$?
16071 grep -v '^ *+' conftest.er1 >conftest.err
16072 rm -f conftest.er1
16073 cat conftest.err >&5
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); } &&
16076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16077 { (case "(($ac_try" in
16078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16079 *) ac_try_echo=$ac_try;;
16080 esac
16081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16082 (eval "$ac_try") 2>&5
16083 ac_status=$?
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; } &&
16086 { ac_try='test -s conftest$ac_exeext'
16087 { (case "(($ac_try" in
16088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16089 *) ac_try_echo=$ac_try;;
16090 esac
16091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16092 (eval "$ac_try") 2>&5
16093 ac_status=$?
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; }; then
16096 ac_cv_c_dll_unixware="yes"
16097 else
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.$ac_ext >&5
16101 ac_cv_c_dll_unixware="no"
16104 rm -f core conftest.err conftest.$ac_objext \
16105 conftest$ac_exeext conftest.$ac_ext
16106 CFLAGS=$ac_wine_try_cflags_saved
16108 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16109 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16110 if test "$ac_cv_c_dll_unixware" = "yes"
16111 then
16112 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16113 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16115 else
16116 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16117 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16118 if test "${ac_cv_c_dll_hpux+set}" = set; then
16119 echo $ECHO_N "(cached) $ECHO_C" >&6
16120 else
16121 ac_wine_try_cflags_saved=$CFLAGS
16122 CFLAGS="$CFLAGS -shared"
16123 cat >conftest.$ac_ext <<_ACEOF
16124 void myfunc() {}
16125 _ACEOF
16126 rm -f conftest.$ac_objext conftest$ac_exeext
16127 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
16134 ac_status=$?
16135 grep -v '^ *+' conftest.er1 >conftest.err
16136 rm -f conftest.er1
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } &&
16140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16141 { (case "(($ac_try" in
16142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16143 *) ac_try_echo=$ac_try;;
16144 esac
16145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16146 (eval "$ac_try") 2>&5
16147 ac_status=$?
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; } &&
16150 { ac_try='test -s conftest$ac_exeext'
16151 { (case "(($ac_try" in
16152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16153 *) ac_try_echo=$ac_try;;
16154 esac
16155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16156 (eval "$ac_try") 2>&5
16157 ac_status=$?
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16160 ac_cv_c_dll_hpux="yes"
16161 else
16162 echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.$ac_ext >&5
16165 ac_cv_c_dll_hpux="no"
16168 rm -f core conftest.err conftest.$ac_objext \
16169 conftest$ac_exeext conftest.$ac_ext
16170 CFLAGS=$ac_wine_try_cflags_saved
16172 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16173 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16174 if test "$ac_cv_c_dll_hpux" = "yes"
16175 then
16176 LIBEXT="sl"
16177 DLLEXT=".sl"
16178 LDDLLFLAGS="-shared -fPIC"
16179 LDSHARED="\$(CC) -shared"
16184 CROSSTEST=""
16186 if test "$cross_compiling" = "no"
16187 then
16188 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
16190 # Extract the first word of "$ac_prog", so it can be a program name with args.
16191 set dummy $ac_prog; ac_word=$2
16192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16194 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16195 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 else
16197 if test -n "$CROSSCC"; then
16198 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
16199 else
16200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16201 for as_dir in $PATH
16203 IFS=$as_save_IFS
16204 test -z "$as_dir" && as_dir=.
16205 for ac_exec_ext in '' $ac_executable_extensions; do
16206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16207 ac_cv_prog_CROSSCC="$ac_prog"
16208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16209 break 2
16211 done
16212 done
16213 IFS=$as_save_IFS
16217 CROSSCC=$ac_cv_prog_CROSSCC
16218 if test -n "$CROSSCC"; then
16219 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16220 echo "${ECHO_T}$CROSSCC" >&6; }
16221 else
16222 { echo "$as_me:$LINENO: result: no" >&5
16223 echo "${ECHO_T}no" >&6; }
16227 test -n "$CROSSCC" && break
16228 done
16229 test -n "$CROSSCC" || CROSSCC="false"
16231 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
16233 # Extract the first word of "$ac_prog", so it can be a program name with args.
16234 set dummy $ac_prog; ac_word=$2
16235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16237 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16239 else
16240 if test -n "$DLLTOOL"; then
16241 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16242 else
16243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16244 for as_dir in $PATH
16246 IFS=$as_save_IFS
16247 test -z "$as_dir" && as_dir=.
16248 for ac_exec_ext in '' $ac_executable_extensions; do
16249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16250 ac_cv_prog_DLLTOOL="$ac_prog"
16251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16252 break 2
16254 done
16255 done
16256 IFS=$as_save_IFS
16260 DLLTOOL=$ac_cv_prog_DLLTOOL
16261 if test -n "$DLLTOOL"; then
16262 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16263 echo "${ECHO_T}$DLLTOOL" >&6; }
16264 else
16265 { echo "$as_me:$LINENO: result: no" >&5
16266 echo "${ECHO_T}no" >&6; }
16270 test -n "$DLLTOOL" && break
16271 done
16272 test -n "$DLLTOOL" || DLLTOOL="false"
16274 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
16276 # Extract the first word of "$ac_prog", so it can be a program name with args.
16277 set dummy $ac_prog; ac_word=$2
16278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16280 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16281 echo $ECHO_N "(cached) $ECHO_C" >&6
16282 else
16283 if test -n "$CROSSWINDRES"; then
16284 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
16285 else
16286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16287 for as_dir in $PATH
16289 IFS=$as_save_IFS
16290 test -z "$as_dir" && as_dir=.
16291 for ac_exec_ext in '' $ac_executable_extensions; do
16292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16293 ac_cv_prog_CROSSWINDRES="$ac_prog"
16294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16295 break 2
16297 done
16298 done
16299 IFS=$as_save_IFS
16303 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
16304 if test -n "$CROSSWINDRES"; then
16305 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16306 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16307 else
16308 { echo "$as_me:$LINENO: result: no" >&5
16309 echo "${ECHO_T}no" >&6; }
16313 test -n "$CROSSWINDRES" && break
16314 done
16315 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
16317 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
16320 esac
16322 if test "$LIBEXT" = "a"; then
16323 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16324 It is currently not possible to build Wine without shared library
16325 (.so) support to allow transparent switch between .so and .dll files.
16326 If you are using Linux, you will need a newer binutils.
16327 " >&5
16328 echo "$as_me: error: could not find a way to build shared libraries.
16329 It is currently not possible to build Wine without shared library
16330 (.so) support to allow transparent switch between .so and .dll files.
16331 If you are using Linux, you will need a newer binutils.
16332 " >&2;}
16333 { (exit 1); exit 1; }; }
16336 case $build_os in
16337 cygwin*|mingw32*)
16338 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16340 darwin*|macosx*)
16341 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16344 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16346 esac
16348 case $host_os in
16349 mingw32*)
16350 CRTLIBS="-lmsvcrt"
16352 SOCKETLIBS="-lws2_32"
16355 esac
16357 MAIN_BINARY="wine-pthread"
16358 case $host_cpu in
16359 *i[3456789]86*)
16360 case $host_os in
16361 linux* | k*bsd*-gnu)
16362 MAIN_BINARY="wine-glibc"
16364 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16366 esac
16368 esac
16371 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16372 then
16373 # Extract the first word of "ldd", so it can be a program name with args.
16374 set dummy ldd; ac_word=$2
16375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16377 if test "${ac_cv_path_LDD+set}" = set; then
16378 echo $ECHO_N "(cached) $ECHO_C" >&6
16379 else
16380 case $LDD in
16381 [\\/]* | ?:[\\/]*)
16382 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
16385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16386 as_dummy="/sbin:/usr/sbin:$PATH"
16387 for as_dir in $as_dummy
16389 IFS=$as_save_IFS
16390 test -z "$as_dir" && as_dir=.
16391 for ac_exec_ext in '' $ac_executable_extensions; do
16392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16393 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
16394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16395 break 2
16397 done
16398 done
16399 IFS=$as_save_IFS
16401 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
16403 esac
16405 LDD=$ac_cv_path_LDD
16406 if test -n "$LDD"; then
16407 { echo "$as_me:$LINENO: result: $LDD" >&5
16408 echo "${ECHO_T}$LDD" >&6; }
16409 else
16410 { echo "$as_me:$LINENO: result: no" >&5
16411 echo "${ECHO_T}no" >&6; }
16415 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16416 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16417 if test "${ac_cv_lib_soname_X11+set}" = set; then
16418 echo $ECHO_N "(cached) $ECHO_C" >&6
16419 else
16420 ac_get_soname_save_LIBS=$LIBS
16421 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16422 cat >conftest.$ac_ext <<_ACEOF
16423 /* confdefs.h. */
16424 _ACEOF
16425 cat confdefs.h >>conftest.$ac_ext
16426 cat >>conftest.$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16429 /* Override any GCC internal prototype to avoid an error.
16430 Use char because int might match the return type of a GCC
16431 builtin and then its argument prototype would still apply. */
16432 #ifdef __cplusplus
16433 extern "C"
16434 #endif
16435 char XCreateWindow ();
16437 main ()
16439 return XCreateWindow ();
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 case "$LIBEXT" in
16479 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'` ;;
16480 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16481 esac
16482 if test "x$ac_cv_lib_soname_X11" = "x"
16483 then
16484 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16486 else
16487 echo "$as_me: failed program was:" >&5
16488 sed 's/^/| /' conftest.$ac_ext >&5
16490 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16493 rm -f core conftest.err conftest.$ac_objext \
16494 conftest$ac_exeext conftest.$ac_ext
16495 LIBS=$ac_get_soname_save_LIBS
16497 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16498 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16499 if test "${ac_cv_lib_soname_X11+set}" = set; then
16501 cat >>confdefs.h <<_ACEOF
16502 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16503 _ACEOF
16507 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16508 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16509 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16510 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 else
16512 ac_get_soname_save_LIBS=$LIBS
16513 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16514 cat >conftest.$ac_ext <<_ACEOF
16515 /* confdefs.h. */
16516 _ACEOF
16517 cat confdefs.h >>conftest.$ac_ext
16518 cat >>conftest.$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16521 /* Override any GCC internal prototype to avoid an error.
16522 Use char because int might match the return type of a GCC
16523 builtin and then its argument prototype would still apply. */
16524 #ifdef __cplusplus
16525 extern "C"
16526 #endif
16527 char XextCreateExtension ();
16529 main ()
16531 return XextCreateExtension ();
16533 return 0;
16535 _ACEOF
16536 rm -f conftest.$ac_objext conftest$ac_exeext
16537 if { (ac_try="$ac_link"
16538 case "(($ac_try" in
16539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16540 *) ac_try_echo=$ac_try;;
16541 esac
16542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16543 (eval "$ac_link") 2>conftest.er1
16544 ac_status=$?
16545 grep -v '^ *+' conftest.er1 >conftest.err
16546 rm -f conftest.er1
16547 cat conftest.err >&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); } &&
16550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16551 { (case "(($ac_try" in
16552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16553 *) ac_try_echo=$ac_try;;
16554 esac
16555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16556 (eval "$ac_try") 2>&5
16557 ac_status=$?
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; } &&
16560 { ac_try='test -s conftest$ac_exeext'
16561 { (case "(($ac_try" in
16562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16563 *) ac_try_echo=$ac_try;;
16564 esac
16565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16566 (eval "$ac_try") 2>&5
16567 ac_status=$?
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; }; then
16570 case "$LIBEXT" in
16571 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'` ;;
16572 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16573 esac
16574 if test "x$ac_cv_lib_soname_Xext" = "x"
16575 then
16576 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16578 else
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.$ac_ext >&5
16582 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16585 rm -f core conftest.err conftest.$ac_objext \
16586 conftest$ac_exeext conftest.$ac_ext
16587 LIBS=$ac_get_soname_save_LIBS
16589 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16590 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16591 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16593 cat >>confdefs.h <<_ACEOF
16594 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16595 _ACEOF
16599 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16600 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16601 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16602 echo $ECHO_N "(cached) $ECHO_C" >&6
16603 else
16604 ac_get_soname_save_LIBS=$LIBS
16605 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16606 cat >conftest.$ac_ext <<_ACEOF
16607 /* confdefs.h. */
16608 _ACEOF
16609 cat confdefs.h >>conftest.$ac_ext
16610 cat >>conftest.$ac_ext <<_ACEOF
16611 /* end confdefs.h. */
16613 /* Override any GCC internal prototype to avoid an error.
16614 Use char because int might match the return type of a GCC
16615 builtin and then its argument prototype would still apply. */
16616 #ifdef __cplusplus
16617 extern "C"
16618 #endif
16619 char XOpenDevice ();
16621 main ()
16623 return XOpenDevice ();
16625 return 0;
16627 _ACEOF
16628 rm -f conftest.$ac_objext conftest$ac_exeext
16629 if { (ac_try="$ac_link"
16630 case "(($ac_try" in
16631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16632 *) ac_try_echo=$ac_try;;
16633 esac
16634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16635 (eval "$ac_link") 2>conftest.er1
16636 ac_status=$?
16637 grep -v '^ *+' conftest.er1 >conftest.err
16638 rm -f conftest.er1
16639 cat conftest.err >&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } &&
16642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16643 { (case "(($ac_try" in
16644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16645 *) ac_try_echo=$ac_try;;
16646 esac
16647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16648 (eval "$ac_try") 2>&5
16649 ac_status=$?
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); }; } &&
16652 { ac_try='test -s conftest$ac_exeext'
16653 { (case "(($ac_try" in
16654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16655 *) ac_try_echo=$ac_try;;
16656 esac
16657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16658 (eval "$ac_try") 2>&5
16659 ac_status=$?
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; }; then
16662 case "$LIBEXT" in
16663 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'` ;;
16664 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16665 esac
16666 if test "x$ac_cv_lib_soname_Xi" = "x"
16667 then
16668 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16670 else
16671 echo "$as_me: failed program was:" >&5
16672 sed 's/^/| /' conftest.$ac_ext >&5
16674 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16677 rm -f core conftest.err conftest.$ac_objext \
16678 conftest$ac_exeext conftest.$ac_ext
16679 LIBS=$ac_get_soname_save_LIBS
16681 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16682 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16683 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16685 cat >>confdefs.h <<_ACEOF
16686 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16687 _ACEOF
16691 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16692 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16693 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16695 else
16696 ac_get_soname_save_LIBS=$LIBS
16697 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16698 cat >conftest.$ac_ext <<_ACEOF
16699 /* confdefs.h. */
16700 _ACEOF
16701 cat confdefs.h >>conftest.$ac_ext
16702 cat >>conftest.$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16705 /* Override any GCC internal prototype to avoid an error.
16706 Use char because int might match the return type of a GCC
16707 builtin and then its argument prototype would still apply. */
16708 #ifdef __cplusplus
16709 extern "C"
16710 #endif
16711 char XRenderQueryExtension ();
16713 main ()
16715 return XRenderQueryExtension ();
16717 return 0;
16719 _ACEOF
16720 rm -f conftest.$ac_objext conftest$ac_exeext
16721 if { (ac_try="$ac_link"
16722 case "(($ac_try" in
16723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16724 *) ac_try_echo=$ac_try;;
16725 esac
16726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16727 (eval "$ac_link") 2>conftest.er1
16728 ac_status=$?
16729 grep -v '^ *+' conftest.er1 >conftest.err
16730 rm -f conftest.er1
16731 cat conftest.err >&5
16732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733 (exit $ac_status); } &&
16734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16735 { (case "(($ac_try" in
16736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16737 *) ac_try_echo=$ac_try;;
16738 esac
16739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16740 (eval "$ac_try") 2>&5
16741 ac_status=$?
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); }; } &&
16744 { ac_try='test -s conftest$ac_exeext'
16745 { (case "(($ac_try" in
16746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16747 *) ac_try_echo=$ac_try;;
16748 esac
16749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16750 (eval "$ac_try") 2>&5
16751 ac_status=$?
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); }; }; then
16754 case "$LIBEXT" in
16755 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'` ;;
16756 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16757 esac
16758 if test "x$ac_cv_lib_soname_Xrender" = "x"
16759 then
16760 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16762 else
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.$ac_ext >&5
16766 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16769 rm -f core conftest.err conftest.$ac_objext \
16770 conftest$ac_exeext conftest.$ac_ext
16771 LIBS=$ac_get_soname_save_LIBS
16773 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16774 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16775 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16777 cat >>confdefs.h <<_ACEOF
16778 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16779 _ACEOF
16783 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16784 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16785 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 else
16788 ac_get_soname_save_LIBS=$LIBS
16789 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16790 cat >conftest.$ac_ext <<_ACEOF
16791 /* confdefs.h. */
16792 _ACEOF
16793 cat confdefs.h >>conftest.$ac_ext
16794 cat >>conftest.$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16797 /* Override any GCC internal prototype to avoid an error.
16798 Use char because int might match the return type of a GCC
16799 builtin and then its argument prototype would still apply. */
16800 #ifdef __cplusplus
16801 extern "C"
16802 #endif
16803 char XRRQueryExtension ();
16805 main ()
16807 return XRRQueryExtension ();
16809 return 0;
16811 _ACEOF
16812 rm -f conftest.$ac_objext conftest$ac_exeext
16813 if { (ac_try="$ac_link"
16814 case "(($ac_try" in
16815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16816 *) ac_try_echo=$ac_try;;
16817 esac
16818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16819 (eval "$ac_link") 2>conftest.er1
16820 ac_status=$?
16821 grep -v '^ *+' conftest.er1 >conftest.err
16822 rm -f conftest.er1
16823 cat conftest.err >&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); } &&
16826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16827 { (case "(($ac_try" in
16828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16829 *) ac_try_echo=$ac_try;;
16830 esac
16831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16832 (eval "$ac_try") 2>&5
16833 ac_status=$?
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); }; } &&
16836 { ac_try='test -s conftest$ac_exeext'
16837 { (case "(($ac_try" in
16838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16839 *) ac_try_echo=$ac_try;;
16840 esac
16841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16842 (eval "$ac_try") 2>&5
16843 ac_status=$?
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); }; }; then
16846 case "$LIBEXT" in
16847 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'` ;;
16848 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16849 esac
16850 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16851 then
16852 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16854 else
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16858 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16861 rm -f core conftest.err conftest.$ac_objext \
16862 conftest$ac_exeext conftest.$ac_ext
16863 LIBS=$ac_get_soname_save_LIBS
16865 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16866 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16867 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16869 cat >>confdefs.h <<_ACEOF
16870 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16871 _ACEOF
16875 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16876 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16877 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16879 else
16880 ac_get_soname_save_LIBS=$LIBS
16881 LIBS="-lfreetype $X_LIBS $LIBS"
16882 cat >conftest.$ac_ext <<_ACEOF
16883 /* confdefs.h. */
16884 _ACEOF
16885 cat confdefs.h >>conftest.$ac_ext
16886 cat >>conftest.$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16889 /* Override any GCC internal prototype to avoid an error.
16890 Use char because int might match the return type of a GCC
16891 builtin and then its argument prototype would still apply. */
16892 #ifdef __cplusplus
16893 extern "C"
16894 #endif
16895 char FT_Init_FreeType ();
16897 main ()
16899 return FT_Init_FreeType ();
16901 return 0;
16903 _ACEOF
16904 rm -f conftest.$ac_objext conftest$ac_exeext
16905 if { (ac_try="$ac_link"
16906 case "(($ac_try" in
16907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16908 *) ac_try_echo=$ac_try;;
16909 esac
16910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16911 (eval "$ac_link") 2>conftest.er1
16912 ac_status=$?
16913 grep -v '^ *+' conftest.er1 >conftest.err
16914 rm -f conftest.er1
16915 cat conftest.err >&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); } &&
16918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16919 { (case "(($ac_try" in
16920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16921 *) ac_try_echo=$ac_try;;
16922 esac
16923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16924 (eval "$ac_try") 2>&5
16925 ac_status=$?
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; } &&
16928 { ac_try='test -s conftest$ac_exeext'
16929 { (case "(($ac_try" in
16930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16931 *) ac_try_echo=$ac_try;;
16932 esac
16933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16934 (eval "$ac_try") 2>&5
16935 ac_status=$?
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); }; }; then
16938 case "$LIBEXT" in
16939 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'` ;;
16940 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16941 esac
16942 if test "x$ac_cv_lib_soname_freetype" = "x"
16943 then
16944 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16946 else
16947 echo "$as_me: failed program was:" >&5
16948 sed 's/^/| /' conftest.$ac_ext >&5
16950 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16953 rm -f core conftest.err conftest.$ac_objext \
16954 conftest$ac_exeext conftest.$ac_ext
16955 LIBS=$ac_get_soname_save_LIBS
16957 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
16958 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
16959 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16961 cat >>confdefs.h <<_ACEOF
16962 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
16963 _ACEOF
16967 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
16968 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
16969 if test "${ac_cv_lib_soname_GL+set}" = set; then
16970 echo $ECHO_N "(cached) $ECHO_C" >&6
16971 else
16972 ac_get_soname_save_LIBS=$LIBS
16973 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
16974 cat >conftest.$ac_ext <<_ACEOF
16975 /* confdefs.h. */
16976 _ACEOF
16977 cat confdefs.h >>conftest.$ac_ext
16978 cat >>conftest.$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16981 /* Override any GCC internal prototype to avoid an error.
16982 Use char because int might match the return type of a GCC
16983 builtin and then its argument prototype would still apply. */
16984 #ifdef __cplusplus
16985 extern "C"
16986 #endif
16987 char glXQueryExtension ();
16989 main ()
16991 return glXQueryExtension ();
16993 return 0;
16995 _ACEOF
16996 rm -f conftest.$ac_objext conftest$ac_exeext
16997 if { (ac_try="$ac_link"
16998 case "(($ac_try" in
16999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17000 *) ac_try_echo=$ac_try;;
17001 esac
17002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17003 (eval "$ac_link") 2>conftest.er1
17004 ac_status=$?
17005 grep -v '^ *+' conftest.er1 >conftest.err
17006 rm -f conftest.er1
17007 cat conftest.err >&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } &&
17010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17011 { (case "(($ac_try" in
17012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17013 *) ac_try_echo=$ac_try;;
17014 esac
17015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17016 (eval "$ac_try") 2>&5
17017 ac_status=$?
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; } &&
17020 { ac_try='test -s conftest$ac_exeext'
17021 { (case "(($ac_try" in
17022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17023 *) ac_try_echo=$ac_try;;
17024 esac
17025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17026 (eval "$ac_try") 2>&5
17027 ac_status=$?
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); }; }; then
17030 case "$LIBEXT" in
17031 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'` ;;
17032 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17033 esac
17034 if test "x$ac_cv_lib_soname_GL" = "x"
17035 then
17036 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17038 else
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.$ac_ext >&5
17042 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17045 rm -f core conftest.err conftest.$ac_objext \
17046 conftest$ac_exeext conftest.$ac_ext
17047 LIBS=$ac_get_soname_save_LIBS
17049 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17050 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17051 if test "${ac_cv_lib_soname_GL+set}" = set; then
17053 cat >>confdefs.h <<_ACEOF
17054 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17055 _ACEOF
17059 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17060 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17061 if test "${ac_cv_lib_soname_hal+set}" = set; then
17062 echo $ECHO_N "(cached) $ECHO_C" >&6
17063 else
17064 ac_get_soname_save_LIBS=$LIBS
17065 LIBS="-lhal $LIBS"
17066 cat >conftest.$ac_ext <<_ACEOF
17067 /* confdefs.h. */
17068 _ACEOF
17069 cat confdefs.h >>conftest.$ac_ext
17070 cat >>conftest.$ac_ext <<_ACEOF
17071 /* end confdefs.h. */
17073 /* Override any GCC internal prototype to avoid an error.
17074 Use char because int might match the return type of a GCC
17075 builtin and then its argument prototype would still apply. */
17076 #ifdef __cplusplus
17077 extern "C"
17078 #endif
17079 char libhal_ctx_new ();
17081 main ()
17083 return libhal_ctx_new ();
17085 return 0;
17087 _ACEOF
17088 rm -f conftest.$ac_objext conftest$ac_exeext
17089 if { (ac_try="$ac_link"
17090 case "(($ac_try" in
17091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17092 *) ac_try_echo=$ac_try;;
17093 esac
17094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17095 (eval "$ac_link") 2>conftest.er1
17096 ac_status=$?
17097 grep -v '^ *+' conftest.er1 >conftest.err
17098 rm -f conftest.er1
17099 cat conftest.err >&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } &&
17102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17103 { (case "(($ac_try" in
17104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17105 *) ac_try_echo=$ac_try;;
17106 esac
17107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17108 (eval "$ac_try") 2>&5
17109 ac_status=$?
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); }; } &&
17112 { ac_try='test -s conftest$ac_exeext'
17113 { (case "(($ac_try" in
17114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17115 *) ac_try_echo=$ac_try;;
17116 esac
17117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17118 (eval "$ac_try") 2>&5
17119 ac_status=$?
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; }; then
17122 case "$LIBEXT" in
17123 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'` ;;
17124 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17125 esac
17126 if test "x$ac_cv_lib_soname_hal" = "x"
17127 then
17128 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17130 else
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.$ac_ext >&5
17134 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17137 rm -f core conftest.err conftest.$ac_objext \
17138 conftest$ac_exeext conftest.$ac_ext
17139 LIBS=$ac_get_soname_save_LIBS
17141 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17142 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17143 if test "${ac_cv_lib_soname_hal+set}" = set; then
17145 cat >>confdefs.h <<_ACEOF
17146 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17147 _ACEOF
17151 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17152 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17153 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17155 else
17156 ac_get_soname_save_LIBS=$LIBS
17157 LIBS="-ltxc_dxtn $LIBS"
17158 cat >conftest.$ac_ext <<_ACEOF
17159 /* confdefs.h. */
17160 _ACEOF
17161 cat confdefs.h >>conftest.$ac_ext
17162 cat >>conftest.$ac_ext <<_ACEOF
17163 /* end confdefs.h. */
17165 /* Override any GCC internal prototype to avoid an error.
17166 Use char because int might match the return type of a GCC
17167 builtin and then its argument prototype would still apply. */
17168 #ifdef __cplusplus
17169 extern "C"
17170 #endif
17171 char fetch_2d_texel_rgba_dxt1 ();
17173 main ()
17175 return fetch_2d_texel_rgba_dxt1 ();
17177 return 0;
17179 _ACEOF
17180 rm -f conftest.$ac_objext conftest$ac_exeext
17181 if { (ac_try="$ac_link"
17182 case "(($ac_try" in
17183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17184 *) ac_try_echo=$ac_try;;
17185 esac
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_link") 2>conftest.er1
17188 ac_status=$?
17189 grep -v '^ *+' conftest.er1 >conftest.err
17190 rm -f conftest.er1
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } &&
17194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17195 { (case "(($ac_try" in
17196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17197 *) ac_try_echo=$ac_try;;
17198 esac
17199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17200 (eval "$ac_try") 2>&5
17201 ac_status=$?
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); }; } &&
17204 { ac_try='test -s conftest$ac_exeext'
17205 { (case "(($ac_try" in
17206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17207 *) ac_try_echo=$ac_try;;
17208 esac
17209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17210 (eval "$ac_try") 2>&5
17211 ac_status=$?
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; }; then
17214 case "$LIBEXT" in
17215 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'` ;;
17216 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'` ;;
17217 esac
17218 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17219 then
17220 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17222 else
17223 echo "$as_me: failed program was:" >&5
17224 sed 's/^/| /' conftest.$ac_ext >&5
17226 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17229 rm -f core conftest.err conftest.$ac_objext \
17230 conftest$ac_exeext conftest.$ac_ext
17231 LIBS=$ac_get_soname_save_LIBS
17233 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17234 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17235 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17237 cat >>confdefs.h <<_ACEOF
17238 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17239 _ACEOF
17243 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17244 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17245 if test "${ac_cv_lib_soname_cups+set}" = set; then
17246 echo $ECHO_N "(cached) $ECHO_C" >&6
17247 else
17248 ac_get_soname_save_LIBS=$LIBS
17249 LIBS="-lcups $LIBS"
17250 cat >conftest.$ac_ext <<_ACEOF
17251 /* confdefs.h. */
17252 _ACEOF
17253 cat confdefs.h >>conftest.$ac_ext
17254 cat >>conftest.$ac_ext <<_ACEOF
17255 /* end confdefs.h. */
17257 /* Override any GCC internal prototype to avoid an error.
17258 Use char because int might match the return type of a GCC
17259 builtin and then its argument prototype would still apply. */
17260 #ifdef __cplusplus
17261 extern "C"
17262 #endif
17263 char cupsGetDefault ();
17265 main ()
17267 return cupsGetDefault ();
17269 return 0;
17271 _ACEOF
17272 rm -f conftest.$ac_objext conftest$ac_exeext
17273 if { (ac_try="$ac_link"
17274 case "(($ac_try" in
17275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17276 *) ac_try_echo=$ac_try;;
17277 esac
17278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17279 (eval "$ac_link") 2>conftest.er1
17280 ac_status=$?
17281 grep -v '^ *+' conftest.er1 >conftest.err
17282 rm -f conftest.er1
17283 cat conftest.err >&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } &&
17286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17287 { (case "(($ac_try" in
17288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17289 *) ac_try_echo=$ac_try;;
17290 esac
17291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17292 (eval "$ac_try") 2>&5
17293 ac_status=$?
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); }; } &&
17296 { ac_try='test -s conftest$ac_exeext'
17297 { (case "(($ac_try" in
17298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17299 *) ac_try_echo=$ac_try;;
17300 esac
17301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17302 (eval "$ac_try") 2>&5
17303 ac_status=$?
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; }; then
17306 case "$LIBEXT" in
17307 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'` ;;
17308 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17309 esac
17310 if test "x$ac_cv_lib_soname_cups" = "x"
17311 then
17312 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17314 else
17315 echo "$as_me: failed program was:" >&5
17316 sed 's/^/| /' conftest.$ac_ext >&5
17318 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17321 rm -f core conftest.err conftest.$ac_objext \
17322 conftest$ac_exeext conftest.$ac_ext
17323 LIBS=$ac_get_soname_save_LIBS
17325 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17326 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17327 if test "${ac_cv_lib_soname_cups+set}" = set; then
17329 cat >>confdefs.h <<_ACEOF
17330 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17331 _ACEOF
17335 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17336 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17337 if test "${ac_cv_lib_soname_jack+set}" = set; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17339 else
17340 ac_get_soname_save_LIBS=$LIBS
17341 LIBS="-ljack $LIBS"
17342 cat >conftest.$ac_ext <<_ACEOF
17343 /* confdefs.h. */
17344 _ACEOF
17345 cat confdefs.h >>conftest.$ac_ext
17346 cat >>conftest.$ac_ext <<_ACEOF
17347 /* end confdefs.h. */
17349 /* Override any GCC internal prototype to avoid an error.
17350 Use char because int might match the return type of a GCC
17351 builtin and then its argument prototype would still apply. */
17352 #ifdef __cplusplus
17353 extern "C"
17354 #endif
17355 char jack_client_new ();
17357 main ()
17359 return jack_client_new ();
17361 return 0;
17363 _ACEOF
17364 rm -f conftest.$ac_objext conftest$ac_exeext
17365 if { (ac_try="$ac_link"
17366 case "(($ac_try" in
17367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17368 *) ac_try_echo=$ac_try;;
17369 esac
17370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17371 (eval "$ac_link") 2>conftest.er1
17372 ac_status=$?
17373 grep -v '^ *+' conftest.er1 >conftest.err
17374 rm -f conftest.er1
17375 cat conftest.err >&5
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); } &&
17378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17379 { (case "(($ac_try" in
17380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17381 *) ac_try_echo=$ac_try;;
17382 esac
17383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17384 (eval "$ac_try") 2>&5
17385 ac_status=$?
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); }; } &&
17388 { ac_try='test -s conftest$ac_exeext'
17389 { (case "(($ac_try" in
17390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17391 *) ac_try_echo=$ac_try;;
17392 esac
17393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17394 (eval "$ac_try") 2>&5
17395 ac_status=$?
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; }; then
17398 case "$LIBEXT" in
17399 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'` ;;
17400 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17401 esac
17402 if test "x$ac_cv_lib_soname_jack" = "x"
17403 then
17404 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17406 else
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.$ac_ext >&5
17410 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17413 rm -f core conftest.err conftest.$ac_objext \
17414 conftest$ac_exeext conftest.$ac_ext
17415 LIBS=$ac_get_soname_save_LIBS
17417 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17418 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17419 if test "${ac_cv_lib_soname_jack+set}" = set; then
17421 cat >>confdefs.h <<_ACEOF
17422 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17423 _ACEOF
17427 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17428 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17429 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17430 echo $ECHO_N "(cached) $ECHO_C" >&6
17431 else
17432 ac_get_soname_save_LIBS=$LIBS
17433 LIBS="-lfontconfig $LIBS"
17434 cat >conftest.$ac_ext <<_ACEOF
17435 /* confdefs.h. */
17436 _ACEOF
17437 cat confdefs.h >>conftest.$ac_ext
17438 cat >>conftest.$ac_ext <<_ACEOF
17439 /* end confdefs.h. */
17441 /* Override any GCC internal prototype to avoid an error.
17442 Use char because int might match the return type of a GCC
17443 builtin and then its argument prototype would still apply. */
17444 #ifdef __cplusplus
17445 extern "C"
17446 #endif
17447 char FcInit ();
17449 main ()
17451 return FcInit ();
17453 return 0;
17455 _ACEOF
17456 rm -f conftest.$ac_objext conftest$ac_exeext
17457 if { (ac_try="$ac_link"
17458 case "(($ac_try" in
17459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17460 *) ac_try_echo=$ac_try;;
17461 esac
17462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17463 (eval "$ac_link") 2>conftest.er1
17464 ac_status=$?
17465 grep -v '^ *+' conftest.er1 >conftest.err
17466 rm -f conftest.er1
17467 cat conftest.err >&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17471 { (case "(($ac_try" in
17472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17473 *) ac_try_echo=$ac_try;;
17474 esac
17475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17476 (eval "$ac_try") 2>&5
17477 ac_status=$?
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); }; } &&
17480 { ac_try='test -s conftest$ac_exeext'
17481 { (case "(($ac_try" in
17482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17483 *) ac_try_echo=$ac_try;;
17484 esac
17485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17486 (eval "$ac_try") 2>&5
17487 ac_status=$?
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); }; }; then
17490 case "$LIBEXT" in
17491 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'` ;;
17492 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17493 esac
17494 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17495 then
17496 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17498 else
17499 echo "$as_me: failed program was:" >&5
17500 sed 's/^/| /' conftest.$ac_ext >&5
17502 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17505 rm -f core conftest.err conftest.$ac_objext \
17506 conftest$ac_exeext conftest.$ac_ext
17507 LIBS=$ac_get_soname_save_LIBS
17509 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17510 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17511 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17513 cat >>confdefs.h <<_ACEOF
17514 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17515 _ACEOF
17519 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17520 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17521 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17522 echo $ECHO_N "(cached) $ECHO_C" >&6
17523 else
17524 ac_get_soname_save_LIBS=$LIBS
17525 LIBS="-lssl $LIBS"
17526 cat >conftest.$ac_ext <<_ACEOF
17527 /* confdefs.h. */
17528 _ACEOF
17529 cat confdefs.h >>conftest.$ac_ext
17530 cat >>conftest.$ac_ext <<_ACEOF
17531 /* end confdefs.h. */
17533 /* Override any GCC internal prototype to avoid an error.
17534 Use char because int might match the return type of a GCC
17535 builtin and then its argument prototype would still apply. */
17536 #ifdef __cplusplus
17537 extern "C"
17538 #endif
17539 char SSL_library_init ();
17541 main ()
17543 return SSL_library_init ();
17545 return 0;
17547 _ACEOF
17548 rm -f conftest.$ac_objext conftest$ac_exeext
17549 if { (ac_try="$ac_link"
17550 case "(($ac_try" in
17551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17552 *) ac_try_echo=$ac_try;;
17553 esac
17554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17555 (eval "$ac_link") 2>conftest.er1
17556 ac_status=$?
17557 grep -v '^ *+' conftest.er1 >conftest.err
17558 rm -f conftest.er1
17559 cat conftest.err >&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } &&
17562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17563 { (case "(($ac_try" in
17564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17565 *) ac_try_echo=$ac_try;;
17566 esac
17567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17568 (eval "$ac_try") 2>&5
17569 ac_status=$?
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try='test -s conftest$ac_exeext'
17573 { (case "(($ac_try" in
17574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17575 *) ac_try_echo=$ac_try;;
17576 esac
17577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17578 (eval "$ac_try") 2>&5
17579 ac_status=$?
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17582 case "$LIBEXT" in
17583 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'` ;;
17584 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17585 esac
17586 if test "x$ac_cv_lib_soname_ssl" = "x"
17587 then
17588 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17590 else
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.$ac_ext >&5
17594 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17597 rm -f core conftest.err conftest.$ac_objext \
17598 conftest$ac_exeext conftest.$ac_ext
17599 LIBS=$ac_get_soname_save_LIBS
17601 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17602 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17603 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17605 cat >>confdefs.h <<_ACEOF
17606 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17607 _ACEOF
17611 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17612 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17613 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17614 echo $ECHO_N "(cached) $ECHO_C" >&6
17615 else
17616 ac_get_soname_save_LIBS=$LIBS
17617 LIBS="-lcrypto $LIBS"
17618 cat >conftest.$ac_ext <<_ACEOF
17619 /* confdefs.h. */
17620 _ACEOF
17621 cat confdefs.h >>conftest.$ac_ext
17622 cat >>conftest.$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17625 /* Override any GCC internal prototype to avoid an error.
17626 Use char because int might match the return type of a GCC
17627 builtin and then its argument prototype would still apply. */
17628 #ifdef __cplusplus
17629 extern "C"
17630 #endif
17631 char BIO_new_socket ();
17633 main ()
17635 return BIO_new_socket ();
17637 return 0;
17639 _ACEOF
17640 rm -f conftest.$ac_objext conftest$ac_exeext
17641 if { (ac_try="$ac_link"
17642 case "(($ac_try" in
17643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17644 *) ac_try_echo=$ac_try;;
17645 esac
17646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17647 (eval "$ac_link") 2>conftest.er1
17648 ac_status=$?
17649 grep -v '^ *+' conftest.er1 >conftest.err
17650 rm -f conftest.er1
17651 cat conftest.err >&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); } &&
17654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17655 { (case "(($ac_try" in
17656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17657 *) ac_try_echo=$ac_try;;
17658 esac
17659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17660 (eval "$ac_try") 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; } &&
17664 { ac_try='test -s conftest$ac_exeext'
17665 { (case "(($ac_try" in
17666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17667 *) ac_try_echo=$ac_try;;
17668 esac
17669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17670 (eval "$ac_try") 2>&5
17671 ac_status=$?
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); }; }; then
17674 case "$LIBEXT" in
17675 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'` ;;
17676 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17677 esac
17678 if test "x$ac_cv_lib_soname_crypto" = "x"
17679 then
17680 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17682 else
17683 echo "$as_me: failed program was:" >&5
17684 sed 's/^/| /' conftest.$ac_ext >&5
17686 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17689 rm -f core conftest.err conftest.$ac_objext \
17690 conftest$ac_exeext conftest.$ac_ext
17691 LIBS=$ac_get_soname_save_LIBS
17693 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17694 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17695 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17697 cat >>confdefs.h <<_ACEOF
17698 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17699 _ACEOF
17703 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17704 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17705 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17706 echo $ECHO_N "(cached) $ECHO_C" >&6
17707 else
17708 ac_get_soname_save_LIBS=$LIBS
17709 LIBS="-lncurses $LIBS"
17710 cat >conftest.$ac_ext <<_ACEOF
17711 /* confdefs.h. */
17712 _ACEOF
17713 cat confdefs.h >>conftest.$ac_ext
17714 cat >>conftest.$ac_ext <<_ACEOF
17715 /* end confdefs.h. */
17717 /* Override any GCC internal prototype to avoid an error.
17718 Use char because int might match the return type of a GCC
17719 builtin and then its argument prototype would still apply. */
17720 #ifdef __cplusplus
17721 extern "C"
17722 #endif
17723 char waddch ();
17725 main ()
17727 return waddch ();
17729 return 0;
17731 _ACEOF
17732 rm -f conftest.$ac_objext conftest$ac_exeext
17733 if { (ac_try="$ac_link"
17734 case "(($ac_try" in
17735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17736 *) ac_try_echo=$ac_try;;
17737 esac
17738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17739 (eval "$ac_link") 2>conftest.er1
17740 ac_status=$?
17741 grep -v '^ *+' conftest.er1 >conftest.err
17742 rm -f conftest.er1
17743 cat conftest.err >&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); } &&
17746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17747 { (case "(($ac_try" in
17748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17749 *) ac_try_echo=$ac_try;;
17750 esac
17751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17752 (eval "$ac_try") 2>&5
17753 ac_status=$?
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); }; } &&
17756 { ac_try='test -s conftest$ac_exeext'
17757 { (case "(($ac_try" in
17758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17759 *) ac_try_echo=$ac_try;;
17760 esac
17761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17762 (eval "$ac_try") 2>&5
17763 ac_status=$?
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17766 case "$LIBEXT" in
17767 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'` ;;
17768 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17769 esac
17770 if test "x$ac_cv_lib_soname_ncurses" = "x"
17771 then
17772 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17774 else
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.$ac_ext >&5
17778 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17781 rm -f core conftest.err conftest.$ac_objext \
17782 conftest$ac_exeext conftest.$ac_ext
17783 LIBS=$ac_get_soname_save_LIBS
17785 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17786 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17787 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17789 cat >>confdefs.h <<_ACEOF
17790 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17791 _ACEOF
17795 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17796 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17797 if test "${ac_cv_lib_soname_curses+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17799 else
17800 ac_get_soname_save_LIBS=$LIBS
17801 LIBS="-lcurses $LIBS"
17802 cat >conftest.$ac_ext <<_ACEOF
17803 /* confdefs.h. */
17804 _ACEOF
17805 cat confdefs.h >>conftest.$ac_ext
17806 cat >>conftest.$ac_ext <<_ACEOF
17807 /* end confdefs.h. */
17809 /* Override any GCC internal prototype to avoid an error.
17810 Use char because int might match the return type of a GCC
17811 builtin and then its argument prototype would still apply. */
17812 #ifdef __cplusplus
17813 extern "C"
17814 #endif
17815 char waddch ();
17817 main ()
17819 return waddch ();
17821 return 0;
17823 _ACEOF
17824 rm -f conftest.$ac_objext conftest$ac_exeext
17825 if { (ac_try="$ac_link"
17826 case "(($ac_try" in
17827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17828 *) ac_try_echo=$ac_try;;
17829 esac
17830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17831 (eval "$ac_link") 2>conftest.er1
17832 ac_status=$?
17833 grep -v '^ *+' conftest.er1 >conftest.err
17834 rm -f conftest.er1
17835 cat conftest.err >&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } &&
17838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17839 { (case "(($ac_try" in
17840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17841 *) ac_try_echo=$ac_try;;
17842 esac
17843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17844 (eval "$ac_try") 2>&5
17845 ac_status=$?
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }; } &&
17848 { ac_try='test -s conftest$ac_exeext'
17849 { (case "(($ac_try" in
17850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17851 *) ac_try_echo=$ac_try;;
17852 esac
17853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17854 (eval "$ac_try") 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; }; then
17858 case "$LIBEXT" in
17859 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'` ;;
17860 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17861 esac
17862 if test "x$ac_cv_lib_soname_curses" = "x"
17863 then
17864 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17866 else
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.$ac_ext >&5
17870 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17873 rm -f core conftest.err conftest.$ac_objext \
17874 conftest$ac_exeext conftest.$ac_ext
17875 LIBS=$ac_get_soname_save_LIBS
17877 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17878 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17879 if test "${ac_cv_lib_soname_curses+set}" = set; then
17881 cat >>confdefs.h <<_ACEOF
17882 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17883 _ACEOF
17887 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17888 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17889 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17890 echo $ECHO_N "(cached) $ECHO_C" >&6
17891 else
17892 ac_get_soname_save_LIBS=$LIBS
17893 LIBS="-ljpeg $LIBS"
17894 cat >conftest.$ac_ext <<_ACEOF
17895 /* confdefs.h. */
17896 _ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17901 /* Override any GCC internal prototype to avoid an error.
17902 Use char because int might match the return type of a GCC
17903 builtin and then its argument prototype would still apply. */
17904 #ifdef __cplusplus
17905 extern "C"
17906 #endif
17907 char jpeg_start_decompress ();
17909 main ()
17911 return jpeg_start_decompress ();
17913 return 0;
17915 _ACEOF
17916 rm -f conftest.$ac_objext conftest$ac_exeext
17917 if { (ac_try="$ac_link"
17918 case "(($ac_try" in
17919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17920 *) ac_try_echo=$ac_try;;
17921 esac
17922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17923 (eval "$ac_link") 2>conftest.er1
17924 ac_status=$?
17925 grep -v '^ *+' conftest.er1 >conftest.err
17926 rm -f conftest.er1
17927 cat conftest.err >&5
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); } &&
17930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17931 { (case "(($ac_try" in
17932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17933 *) ac_try_echo=$ac_try;;
17934 esac
17935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17936 (eval "$ac_try") 2>&5
17937 ac_status=$?
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; } &&
17940 { ac_try='test -s conftest$ac_exeext'
17941 { (case "(($ac_try" in
17942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17943 *) ac_try_echo=$ac_try;;
17944 esac
17945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17946 (eval "$ac_try") 2>&5
17947 ac_status=$?
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; }; then
17950 case "$LIBEXT" in
17951 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'` ;;
17952 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17953 esac
17954 if test "x$ac_cv_lib_soname_jpeg" = "x"
17955 then
17956 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
17958 else
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.$ac_ext >&5
17962 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
17965 rm -f core conftest.err conftest.$ac_objext \
17966 conftest$ac_exeext conftest.$ac_ext
17967 LIBS=$ac_get_soname_save_LIBS
17969 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
17970 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
17971 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17973 cat >>confdefs.h <<_ACEOF
17974 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
17975 _ACEOF
17979 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
17980 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
17981 if test "${ac_cv_lib_soname_capi20+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17983 else
17984 ac_get_soname_save_LIBS=$LIBS
17985 LIBS="-lcapi20 $LIBS"
17986 cat >conftest.$ac_ext <<_ACEOF
17987 /* confdefs.h. */
17988 _ACEOF
17989 cat confdefs.h >>conftest.$ac_ext
17990 cat >>conftest.$ac_ext <<_ACEOF
17991 /* end confdefs.h. */
17993 /* Override any GCC internal prototype to avoid an error.
17994 Use char because int might match the return type of a GCC
17995 builtin and then its argument prototype would still apply. */
17996 #ifdef __cplusplus
17997 extern "C"
17998 #endif
17999 char capi20_isinstalled ();
18001 main ()
18003 return capi20_isinstalled ();
18005 return 0;
18007 _ACEOF
18008 rm -f conftest.$ac_objext conftest$ac_exeext
18009 if { (ac_try="$ac_link"
18010 case "(($ac_try" in
18011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18012 *) ac_try_echo=$ac_try;;
18013 esac
18014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18015 (eval "$ac_link") 2>conftest.er1
18016 ac_status=$?
18017 grep -v '^ *+' conftest.er1 >conftest.err
18018 rm -f conftest.er1
18019 cat conftest.err >&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } &&
18022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18023 { (case "(($ac_try" in
18024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18025 *) ac_try_echo=$ac_try;;
18026 esac
18027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18028 (eval "$ac_try") 2>&5
18029 ac_status=$?
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); }; } &&
18032 { ac_try='test -s conftest$ac_exeext'
18033 { (case "(($ac_try" in
18034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18035 *) ac_try_echo=$ac_try;;
18036 esac
18037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18038 (eval "$ac_try") 2>&5
18039 ac_status=$?
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); }; }; then
18042 case "$LIBEXT" in
18043 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'` ;;
18044 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18045 esac
18046 if test "x$ac_cv_lib_soname_capi20" = "x"
18047 then
18048 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18050 else
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18054 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18057 rm -f core conftest.err conftest.$ac_objext \
18058 conftest$ac_exeext conftest.$ac_ext
18059 LIBS=$ac_get_soname_save_LIBS
18061 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18062 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18063 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18065 cat >>confdefs.h <<_ACEOF
18066 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18067 _ACEOF
18144 for ac_func in \
18145 _pclose \
18146 _popen \
18147 _snprintf \
18148 _spawnvp \
18149 _stricmp \
18150 _strnicmp \
18151 _vsnprintf \
18152 asctime_r \
18153 chsize \
18154 clone \
18155 connect \
18156 dlopen \
18157 epoll_create \
18158 ffs \
18159 finite \
18160 fork \
18161 fpclass \
18162 fstatfs \
18163 fstatvfs \
18164 ftruncate \
18165 futimes \
18166 futimesat \
18167 getaddrinfo \
18168 gethostbyname \
18169 getnameinfo \
18170 getnetbyname \
18171 getopt_long \
18172 getpagesize \
18173 getprotobyname \
18174 getprotobynumber \
18175 getpwuid \
18176 getservbyport \
18177 gettid \
18178 gettimeofday \
18179 getuid \
18180 inet_aton \
18181 inet_network \
18182 kqueue \
18183 lstat \
18184 memmove \
18185 mmap \
18186 pclose \
18187 poll \
18188 popen \
18189 prctl \
18190 pread \
18191 pwrite \
18192 readlink \
18193 rfork \
18194 sched_yield \
18195 select \
18196 sendmsg \
18197 setrlimit \
18198 settimeofday \
18199 sigaltstack \
18200 sigprocmask \
18201 snprintf \
18202 spawnvp \
18203 statfs \
18204 statvfs \
18205 strcasecmp \
18206 strerror \
18207 strncasecmp \
18208 tcgetattr \
18209 timegm \
18210 usleep \
18211 vsnprintf \
18212 wait4 \
18213 waitpid \
18216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18217 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18219 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18220 echo $ECHO_N "(cached) $ECHO_C" >&6
18221 else
18222 cat >conftest.$ac_ext <<_ACEOF
18223 /* confdefs.h. */
18224 _ACEOF
18225 cat confdefs.h >>conftest.$ac_ext
18226 cat >>conftest.$ac_ext <<_ACEOF
18227 /* end confdefs.h. */
18228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18230 #define $ac_func innocuous_$ac_func
18232 /* System header to define __stub macros and hopefully few prototypes,
18233 which can conflict with char $ac_func (); below.
18234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18235 <limits.h> exists even on freestanding compilers. */
18237 #ifdef __STDC__
18238 # include <limits.h>
18239 #else
18240 # include <assert.h>
18241 #endif
18243 #undef $ac_func
18245 /* Override any GCC internal prototype to avoid an error.
18246 Use char because int might match the return type of a GCC
18247 builtin and then its argument prototype would still apply. */
18248 #ifdef __cplusplus
18249 extern "C"
18250 #endif
18251 char $ac_func ();
18252 /* The GNU C library defines this for functions which it implements
18253 to always fail with ENOSYS. Some functions are actually named
18254 something starting with __ and the normal name is an alias. */
18255 #if defined __stub_$ac_func || defined __stub___$ac_func
18256 choke me
18257 #endif
18260 main ()
18262 return $ac_func ();
18264 return 0;
18266 _ACEOF
18267 rm -f conftest.$ac_objext conftest$ac_exeext
18268 if { (ac_try="$ac_link"
18269 case "(($ac_try" in
18270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18271 *) ac_try_echo=$ac_try;;
18272 esac
18273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18274 (eval "$ac_link") 2>conftest.er1
18275 ac_status=$?
18276 grep -v '^ *+' conftest.er1 >conftest.err
18277 rm -f conftest.er1
18278 cat conftest.err >&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18282 { (case "(($ac_try" in
18283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18284 *) ac_try_echo=$ac_try;;
18285 esac
18286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18287 (eval "$ac_try") 2>&5
18288 ac_status=$?
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; } &&
18291 { ac_try='test -s conftest$ac_exeext'
18292 { (case "(($ac_try" in
18293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18294 *) ac_try_echo=$ac_try;;
18295 esac
18296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18297 (eval "$ac_try") 2>&5
18298 ac_status=$?
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); }; }; then
18301 eval "$as_ac_var=yes"
18302 else
18303 echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.$ac_ext >&5
18306 eval "$as_ac_var=no"
18309 rm -f core conftest.err conftest.$ac_objext \
18310 conftest$ac_exeext conftest.$ac_ext
18312 ac_res=`eval echo '${'$as_ac_var'}'`
18313 { echo "$as_me:$LINENO: result: $ac_res" >&5
18314 echo "${ECHO_T}$ac_res" >&6; }
18315 if test `eval echo '${'$as_ac_var'}'` = yes; then
18316 cat >>confdefs.h <<_ACEOF
18317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18318 _ACEOF
18321 done
18324 if test "$ac_cv_func_dlopen" = no
18325 then
18326 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18327 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18328 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18330 else
18331 ac_check_lib_save_LIBS=$LIBS
18332 LIBS="-ldl $LIBS"
18333 cat >conftest.$ac_ext <<_ACEOF
18334 /* confdefs.h. */
18335 _ACEOF
18336 cat confdefs.h >>conftest.$ac_ext
18337 cat >>conftest.$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18340 /* Override any GCC internal prototype to avoid an error.
18341 Use char because int might match the return type of a GCC
18342 builtin and then its argument prototype would still apply. */
18343 #ifdef __cplusplus
18344 extern "C"
18345 #endif
18346 char dlopen ();
18348 main ()
18350 return dlopen ();
18352 return 0;
18354 _ACEOF
18355 rm -f conftest.$ac_objext conftest$ac_exeext
18356 if { (ac_try="$ac_link"
18357 case "(($ac_try" in
18358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18359 *) ac_try_echo=$ac_try;;
18360 esac
18361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18362 (eval "$ac_link") 2>conftest.er1
18363 ac_status=$?
18364 grep -v '^ *+' conftest.er1 >conftest.err
18365 rm -f conftest.er1
18366 cat conftest.err >&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); } &&
18369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18370 { (case "(($ac_try" in
18371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18372 *) ac_try_echo=$ac_try;;
18373 esac
18374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18375 (eval "$ac_try") 2>&5
18376 ac_status=$?
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); }; } &&
18379 { ac_try='test -s conftest$ac_exeext'
18380 { (case "(($ac_try" in
18381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18382 *) ac_try_echo=$ac_try;;
18383 esac
18384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18385 (eval "$ac_try") 2>&5
18386 ac_status=$?
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; }; then
18389 ac_cv_lib_dl_dlopen=yes
18390 else
18391 echo "$as_me: failed program was:" >&5
18392 sed 's/^/| /' conftest.$ac_ext >&5
18394 ac_cv_lib_dl_dlopen=no
18397 rm -f core conftest.err conftest.$ac_objext \
18398 conftest$ac_exeext conftest.$ac_ext
18399 LIBS=$ac_check_lib_save_LIBS
18401 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18402 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18403 if test $ac_cv_lib_dl_dlopen = yes; then
18404 cat >>confdefs.h <<\_ACEOF
18405 #define HAVE_DLOPEN 1
18406 _ACEOF
18407 LIBDL="-ldl"
18412 ac_wine_check_funcs_save_LIBS="$LIBS"
18413 LIBS="$LIBS $LIBDL"
18415 for ac_func in dladdr
18417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18418 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18420 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18421 echo $ECHO_N "(cached) $ECHO_C" >&6
18422 else
18423 cat >conftest.$ac_ext <<_ACEOF
18424 /* confdefs.h. */
18425 _ACEOF
18426 cat confdefs.h >>conftest.$ac_ext
18427 cat >>conftest.$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18431 #define $ac_func innocuous_$ac_func
18433 /* System header to define __stub macros and hopefully few prototypes,
18434 which can conflict with char $ac_func (); below.
18435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18436 <limits.h> exists even on freestanding compilers. */
18438 #ifdef __STDC__
18439 # include <limits.h>
18440 #else
18441 # include <assert.h>
18442 #endif
18444 #undef $ac_func
18446 /* Override any GCC internal prototype to avoid an error.
18447 Use char because int might match the return type of a GCC
18448 builtin and then its argument prototype would still apply. */
18449 #ifdef __cplusplus
18450 extern "C"
18451 #endif
18452 char $ac_func ();
18453 /* The GNU C library defines this for functions which it implements
18454 to always fail with ENOSYS. Some functions are actually named
18455 something starting with __ and the normal name is an alias. */
18456 #if defined __stub_$ac_func || defined __stub___$ac_func
18457 choke me
18458 #endif
18461 main ()
18463 return $ac_func ();
18465 return 0;
18467 _ACEOF
18468 rm -f conftest.$ac_objext conftest$ac_exeext
18469 if { (ac_try="$ac_link"
18470 case "(($ac_try" in
18471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18472 *) ac_try_echo=$ac_try;;
18473 esac
18474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18475 (eval "$ac_link") 2>conftest.er1
18476 ac_status=$?
18477 grep -v '^ *+' conftest.er1 >conftest.err
18478 rm -f conftest.er1
18479 cat conftest.err >&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } &&
18482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18483 { (case "(($ac_try" in
18484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18485 *) ac_try_echo=$ac_try;;
18486 esac
18487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18488 (eval "$ac_try") 2>&5
18489 ac_status=$?
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; } &&
18492 { ac_try='test -s conftest$ac_exeext'
18493 { (case "(($ac_try" in
18494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18495 *) ac_try_echo=$ac_try;;
18496 esac
18497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18498 (eval "$ac_try") 2>&5
18499 ac_status=$?
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); }; }; then
18502 eval "$as_ac_var=yes"
18503 else
18504 echo "$as_me: failed program was:" >&5
18505 sed 's/^/| /' conftest.$ac_ext >&5
18507 eval "$as_ac_var=no"
18510 rm -f core conftest.err conftest.$ac_objext \
18511 conftest$ac_exeext conftest.$ac_ext
18513 ac_res=`eval echo '${'$as_ac_var'}'`
18514 { echo "$as_me:$LINENO: result: $ac_res" >&5
18515 echo "${ECHO_T}$ac_res" >&6; }
18516 if test `eval echo '${'$as_ac_var'}'` = yes; then
18517 cat >>confdefs.h <<_ACEOF
18518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18519 _ACEOF
18522 done
18524 LIBS="$ac_wine_check_funcs_save_LIBS"
18526 if test "$ac_cv_func_poll" = no
18527 then
18528 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18529 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18530 if test "${ac_cv_lib_poll_poll+set}" = set; then
18531 echo $ECHO_N "(cached) $ECHO_C" >&6
18532 else
18533 ac_check_lib_save_LIBS=$LIBS
18534 LIBS="-lpoll $LIBS"
18535 cat >conftest.$ac_ext <<_ACEOF
18536 /* confdefs.h. */
18537 _ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18542 /* Override any GCC internal prototype to avoid an error.
18543 Use char because int might match the return type of a GCC
18544 builtin and then its argument prototype would still apply. */
18545 #ifdef __cplusplus
18546 extern "C"
18547 #endif
18548 char poll ();
18550 main ()
18552 return poll ();
18554 return 0;
18556 _ACEOF
18557 rm -f conftest.$ac_objext conftest$ac_exeext
18558 if { (ac_try="$ac_link"
18559 case "(($ac_try" in
18560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18561 *) ac_try_echo=$ac_try;;
18562 esac
18563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564 (eval "$ac_link") 2>conftest.er1
18565 ac_status=$?
18566 grep -v '^ *+' conftest.er1 >conftest.err
18567 rm -f conftest.er1
18568 cat conftest.err >&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } &&
18571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18572 { (case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18575 esac
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_try") 2>&5
18578 ac_status=$?
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); }; } &&
18581 { ac_try='test -s conftest$ac_exeext'
18582 { (case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18585 esac
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_try") 2>&5
18588 ac_status=$?
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; }; then
18591 ac_cv_lib_poll_poll=yes
18592 else
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18596 ac_cv_lib_poll_poll=no
18599 rm -f core conftest.err conftest.$ac_objext \
18600 conftest$ac_exeext conftest.$ac_ext
18601 LIBS=$ac_check_lib_save_LIBS
18603 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18604 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18605 if test $ac_cv_lib_poll_poll = yes; then
18606 cat >>confdefs.h <<\_ACEOF
18607 #define HAVE_POLL 1
18608 _ACEOF
18609 LIBPOLL="-lpoll"
18615 if test "$ac_cv_func_gethostbyname" = no
18616 then
18618 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18619 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18620 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18621 echo $ECHO_N "(cached) $ECHO_C" >&6
18622 else
18623 ac_check_lib_save_LIBS=$LIBS
18624 LIBS="-lnsl $LIBS"
18625 cat >conftest.$ac_ext <<_ACEOF
18626 /* confdefs.h. */
18627 _ACEOF
18628 cat confdefs.h >>conftest.$ac_ext
18629 cat >>conftest.$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18632 /* Override any GCC internal prototype to avoid an error.
18633 Use char because int might match the return type of a GCC
18634 builtin and then its argument prototype would still apply. */
18635 #ifdef __cplusplus
18636 extern "C"
18637 #endif
18638 char gethostbyname ();
18640 main ()
18642 return gethostbyname ();
18644 return 0;
18646 _ACEOF
18647 rm -f conftest.$ac_objext conftest$ac_exeext
18648 if { (ac_try="$ac_link"
18649 case "(($ac_try" in
18650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18651 *) ac_try_echo=$ac_try;;
18652 esac
18653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18654 (eval "$ac_link") 2>conftest.er1
18655 ac_status=$?
18656 grep -v '^ *+' conftest.er1 >conftest.err
18657 rm -f conftest.er1
18658 cat conftest.err >&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } &&
18661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18662 { (case "(($ac_try" in
18663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18664 *) ac_try_echo=$ac_try;;
18665 esac
18666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18667 (eval "$ac_try") 2>&5
18668 ac_status=$?
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; } &&
18671 { ac_try='test -s conftest$ac_exeext'
18672 { (case "(($ac_try" in
18673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18674 *) ac_try_echo=$ac_try;;
18675 esac
18676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18677 (eval "$ac_try") 2>&5
18678 ac_status=$?
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; }; then
18681 ac_cv_lib_nsl_gethostbyname=yes
18682 else
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.$ac_ext >&5
18686 ac_cv_lib_nsl_gethostbyname=no
18689 rm -f core conftest.err conftest.$ac_objext \
18690 conftest$ac_exeext conftest.$ac_ext
18691 LIBS=$ac_check_lib_save_LIBS
18693 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18694 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18695 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18696 cat >>confdefs.h <<_ACEOF
18697 #define HAVE_LIBNSL 1
18698 _ACEOF
18700 LIBS="-lnsl $LIBS"
18706 if test "$ac_cv_func_connect" = no
18707 then
18709 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18710 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18711 if test "${ac_cv_lib_socket_connect+set}" = set; then
18712 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 else
18714 ac_check_lib_save_LIBS=$LIBS
18715 LIBS="-lsocket $LIBS"
18716 cat >conftest.$ac_ext <<_ACEOF
18717 /* confdefs.h. */
18718 _ACEOF
18719 cat confdefs.h >>conftest.$ac_ext
18720 cat >>conftest.$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18723 /* Override any GCC internal prototype to avoid an error.
18724 Use char because int might match the return type of a GCC
18725 builtin and then its argument prototype would still apply. */
18726 #ifdef __cplusplus
18727 extern "C"
18728 #endif
18729 char connect ();
18731 main ()
18733 return connect ();
18735 return 0;
18737 _ACEOF
18738 rm -f conftest.$ac_objext conftest$ac_exeext
18739 if { (ac_try="$ac_link"
18740 case "(($ac_try" in
18741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18742 *) ac_try_echo=$ac_try;;
18743 esac
18744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18745 (eval "$ac_link") 2>conftest.er1
18746 ac_status=$?
18747 grep -v '^ *+' conftest.er1 >conftest.err
18748 rm -f conftest.er1
18749 cat conftest.err >&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } &&
18752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18753 { (case "(($ac_try" in
18754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18755 *) ac_try_echo=$ac_try;;
18756 esac
18757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18758 (eval "$ac_try") 2>&5
18759 ac_status=$?
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; } &&
18762 { ac_try='test -s conftest$ac_exeext'
18763 { (case "(($ac_try" in
18764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18765 *) ac_try_echo=$ac_try;;
18766 esac
18767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18768 (eval "$ac_try") 2>&5
18769 ac_status=$?
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); }; }; then
18772 ac_cv_lib_socket_connect=yes
18773 else
18774 echo "$as_me: failed program was:" >&5
18775 sed 's/^/| /' conftest.$ac_ext >&5
18777 ac_cv_lib_socket_connect=no
18780 rm -f core conftest.err conftest.$ac_objext \
18781 conftest$ac_exeext conftest.$ac_ext
18782 LIBS=$ac_check_lib_save_LIBS
18784 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18785 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18786 if test $ac_cv_lib_socket_connect = yes; then
18787 cat >>confdefs.h <<_ACEOF
18788 #define HAVE_LIBSOCKET 1
18789 _ACEOF
18791 LIBS="-lsocket $LIBS"
18797 if test "$ac_cv_func_inet_aton" = no
18798 then
18800 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18801 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18802 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18803 echo $ECHO_N "(cached) $ECHO_C" >&6
18804 else
18805 ac_check_lib_save_LIBS=$LIBS
18806 LIBS="-lresolv $LIBS"
18807 cat >conftest.$ac_ext <<_ACEOF
18808 /* confdefs.h. */
18809 _ACEOF
18810 cat confdefs.h >>conftest.$ac_ext
18811 cat >>conftest.$ac_ext <<_ACEOF
18812 /* end confdefs.h. */
18814 /* Override any GCC internal prototype to avoid an error.
18815 Use char because int might match the return type of a GCC
18816 builtin and then its argument prototype would still apply. */
18817 #ifdef __cplusplus
18818 extern "C"
18819 #endif
18820 char inet_aton ();
18822 main ()
18824 return inet_aton ();
18826 return 0;
18828 _ACEOF
18829 rm -f conftest.$ac_objext conftest$ac_exeext
18830 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
18837 ac_status=$?
18838 grep -v '^ *+' conftest.er1 >conftest.err
18839 rm -f conftest.er1
18840 cat conftest.err >&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } &&
18843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18844 { (case "(($ac_try" in
18845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18846 *) ac_try_echo=$ac_try;;
18847 esac
18848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18849 (eval "$ac_try") 2>&5
18850 ac_status=$?
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); }; } &&
18853 { ac_try='test -s conftest$ac_exeext'
18854 { (case "(($ac_try" in
18855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18856 *) ac_try_echo=$ac_try;;
18857 esac
18858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18859 (eval "$ac_try") 2>&5
18860 ac_status=$?
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; }; then
18863 ac_cv_lib_resolv_inet_aton=yes
18864 else
18865 echo "$as_me: failed program was:" >&5
18866 sed 's/^/| /' conftest.$ac_ext >&5
18868 ac_cv_lib_resolv_inet_aton=no
18871 rm -f core conftest.err conftest.$ac_objext \
18872 conftest$ac_exeext conftest.$ac_ext
18873 LIBS=$ac_check_lib_save_LIBS
18875 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
18876 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
18877 if test $ac_cv_lib_resolv_inet_aton = yes; then
18878 cat >>confdefs.h <<_ACEOF
18879 #define HAVE_LIBRESOLV 1
18880 _ACEOF
18882 LIBS="-lresolv $LIBS"
18889 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18890 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18891 if test "${ac_cv_c_const+set}" = set; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18893 else
18894 cat >conftest.$ac_ext <<_ACEOF
18895 /* confdefs.h. */
18896 _ACEOF
18897 cat confdefs.h >>conftest.$ac_ext
18898 cat >>conftest.$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18902 main ()
18904 /* FIXME: Include the comments suggested by Paul. */
18905 #ifndef __cplusplus
18906 /* Ultrix mips cc rejects this. */
18907 typedef int charset[2];
18908 const charset x;
18909 /* SunOS 4.1.1 cc rejects this. */
18910 char const *const *ccp;
18911 char **p;
18912 /* NEC SVR4.0.2 mips cc rejects this. */
18913 struct point {int x, y;};
18914 static struct point const zero = {0,0};
18915 /* AIX XL C 1.02.0.0 rejects this.
18916 It does not let you subtract one const X* pointer from another in
18917 an arm of an if-expression whose if-part is not a constant
18918 expression */
18919 const char *g = "string";
18920 ccp = &g + (g ? g-g : 0);
18921 /* HPUX 7.0 cc rejects these. */
18922 ++ccp;
18923 p = (char**) ccp;
18924 ccp = (char const *const *) p;
18925 { /* SCO 3.2v4 cc rejects this. */
18926 char *t;
18927 char const *s = 0 ? (char *) 0 : (char const *) 0;
18929 *t++ = 0;
18930 if (s) return 0;
18932 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18933 int x[] = {25, 17};
18934 const int *foo = &x[0];
18935 ++foo;
18937 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18938 typedef const int *iptr;
18939 iptr p = 0;
18940 ++p;
18942 { /* AIX XL C 1.02.0.0 rejects this saying
18943 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18944 struct s { int j; const int *ap[3]; };
18945 struct s *b; b->j = 5;
18947 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18948 const int foo = 10;
18949 if (!foo) return 0;
18951 return !x[0] && !zero.x;
18952 #endif
18955 return 0;
18957 _ACEOF
18958 rm -f conftest.$ac_objext
18959 if { (ac_try="$ac_compile"
18960 case "(($ac_try" in
18961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18962 *) ac_try_echo=$ac_try;;
18963 esac
18964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18965 (eval "$ac_compile") 2>conftest.er1
18966 ac_status=$?
18967 grep -v '^ *+' conftest.er1 >conftest.err
18968 rm -f conftest.er1
18969 cat conftest.err >&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); } &&
18972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18973 { (case "(($ac_try" in
18974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18975 *) ac_try_echo=$ac_try;;
18976 esac
18977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18978 (eval "$ac_try") 2>&5
18979 ac_status=$?
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); }; } &&
18982 { ac_try='test -s conftest.$ac_objext'
18983 { (case "(($ac_try" in
18984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18985 *) ac_try_echo=$ac_try;;
18986 esac
18987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18988 (eval "$ac_try") 2>&5
18989 ac_status=$?
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); }; }; then
18992 ac_cv_c_const=yes
18993 else
18994 echo "$as_me: failed program was:" >&5
18995 sed 's/^/| /' conftest.$ac_ext >&5
18997 ac_cv_c_const=no
19000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19002 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19003 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19004 if test $ac_cv_c_const = no; then
19006 cat >>confdefs.h <<\_ACEOF
19007 #define const
19008 _ACEOF
19012 { echo "$as_me:$LINENO: checking for inline" >&5
19013 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19014 if test "${ac_cv_c_inline+set}" = set; then
19015 echo $ECHO_N "(cached) $ECHO_C" >&6
19016 else
19017 ac_cv_c_inline=no
19018 for ac_kw in inline __inline__ __inline; do
19019 cat >conftest.$ac_ext <<_ACEOF
19020 /* confdefs.h. */
19021 _ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 #ifndef __cplusplus
19026 typedef int foo_t;
19027 static $ac_kw foo_t static_foo () {return 0; }
19028 $ac_kw foo_t foo () {return 0; }
19029 #endif
19031 _ACEOF
19032 rm -f conftest.$ac_objext
19033 if { (ac_try="$ac_compile"
19034 case "(($ac_try" in
19035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19036 *) ac_try_echo=$ac_try;;
19037 esac
19038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19039 (eval "$ac_compile") 2>conftest.er1
19040 ac_status=$?
19041 grep -v '^ *+' conftest.er1 >conftest.err
19042 rm -f conftest.er1
19043 cat conftest.err >&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); } &&
19046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19047 { (case "(($ac_try" in
19048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19049 *) ac_try_echo=$ac_try;;
19050 esac
19051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19052 (eval "$ac_try") 2>&5
19053 ac_status=$?
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; } &&
19056 { ac_try='test -s conftest.$ac_objext'
19057 { (case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19060 esac
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_try") 2>&5
19063 ac_status=$?
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); }; }; then
19066 ac_cv_c_inline=$ac_kw
19067 else
19068 echo "$as_me: failed program was:" >&5
19069 sed 's/^/| /' conftest.$ac_ext >&5
19074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19075 test "$ac_cv_c_inline" != no && break
19076 done
19079 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19080 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19083 case $ac_cv_c_inline in
19084 inline | yes) ;;
19086 case $ac_cv_c_inline in
19087 no) ac_val=;;
19088 *) ac_val=$ac_cv_c_inline;;
19089 esac
19090 cat >>confdefs.h <<_ACEOF
19091 #ifndef __cplusplus
19092 #define inline $ac_val
19093 #endif
19094 _ACEOF
19096 esac
19098 { echo "$as_me:$LINENO: checking for mode_t" >&5
19099 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19100 if test "${ac_cv_type_mode_t+set}" = set; then
19101 echo $ECHO_N "(cached) $ECHO_C" >&6
19102 else
19103 cat >conftest.$ac_ext <<_ACEOF
19104 /* confdefs.h. */
19105 _ACEOF
19106 cat confdefs.h >>conftest.$ac_ext
19107 cat >>conftest.$ac_ext <<_ACEOF
19108 /* end confdefs.h. */
19109 $ac_includes_default
19110 typedef mode_t ac__type_new_;
19112 main ()
19114 if ((ac__type_new_ *) 0)
19115 return 0;
19116 if (sizeof (ac__type_new_))
19117 return 0;
19119 return 0;
19121 _ACEOF
19122 rm -f conftest.$ac_objext
19123 if { (ac_try="$ac_compile"
19124 case "(($ac_try" in
19125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19126 *) ac_try_echo=$ac_try;;
19127 esac
19128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19129 (eval "$ac_compile") 2>conftest.er1
19130 ac_status=$?
19131 grep -v '^ *+' conftest.er1 >conftest.err
19132 rm -f conftest.er1
19133 cat conftest.err >&5
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); } &&
19136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19137 { (case "(($ac_try" in
19138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19139 *) ac_try_echo=$ac_try;;
19140 esac
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142 (eval "$ac_try") 2>&5
19143 ac_status=$?
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; } &&
19146 { ac_try='test -s conftest.$ac_objext'
19147 { (case "(($ac_try" in
19148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19149 *) ac_try_echo=$ac_try;;
19150 esac
19151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19152 (eval "$ac_try") 2>&5
19153 ac_status=$?
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; }; then
19156 ac_cv_type_mode_t=yes
19157 else
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.$ac_ext >&5
19161 ac_cv_type_mode_t=no
19164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19166 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19167 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19168 if test $ac_cv_type_mode_t = yes; then
19170 cat >>confdefs.h <<_ACEOF
19171 #define HAVE_MODE_T 1
19172 _ACEOF
19176 { echo "$as_me:$LINENO: checking for off_t" >&5
19177 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19178 if test "${ac_cv_type_off_t+set}" = set; then
19179 echo $ECHO_N "(cached) $ECHO_C" >&6
19180 else
19181 cat >conftest.$ac_ext <<_ACEOF
19182 /* confdefs.h. */
19183 _ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 $ac_includes_default
19188 typedef off_t ac__type_new_;
19190 main ()
19192 if ((ac__type_new_ *) 0)
19193 return 0;
19194 if (sizeof (ac__type_new_))
19195 return 0;
19197 return 0;
19199 _ACEOF
19200 rm -f conftest.$ac_objext
19201 if { (ac_try="$ac_compile"
19202 case "(($ac_try" in
19203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19204 *) ac_try_echo=$ac_try;;
19205 esac
19206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19207 (eval "$ac_compile") 2>conftest.er1
19208 ac_status=$?
19209 grep -v '^ *+' conftest.er1 >conftest.err
19210 rm -f conftest.er1
19211 cat conftest.err >&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } &&
19214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19215 { (case "(($ac_try" in
19216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19217 *) ac_try_echo=$ac_try;;
19218 esac
19219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19220 (eval "$ac_try") 2>&5
19221 ac_status=$?
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); }; } &&
19224 { ac_try='test -s conftest.$ac_objext'
19225 { (case "(($ac_try" in
19226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19227 *) ac_try_echo=$ac_try;;
19228 esac
19229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19230 (eval "$ac_try") 2>&5
19231 ac_status=$?
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); }; }; then
19234 ac_cv_type_off_t=yes
19235 else
19236 echo "$as_me: failed program was:" >&5
19237 sed 's/^/| /' conftest.$ac_ext >&5
19239 ac_cv_type_off_t=no
19242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19244 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19245 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19246 if test $ac_cv_type_off_t = yes; then
19248 cat >>confdefs.h <<_ACEOF
19249 #define HAVE_OFF_T 1
19250 _ACEOF
19254 { echo "$as_me:$LINENO: checking for pid_t" >&5
19255 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19256 if test "${ac_cv_type_pid_t+set}" = set; then
19257 echo $ECHO_N "(cached) $ECHO_C" >&6
19258 else
19259 cat >conftest.$ac_ext <<_ACEOF
19260 /* confdefs.h. */
19261 _ACEOF
19262 cat confdefs.h >>conftest.$ac_ext
19263 cat >>conftest.$ac_ext <<_ACEOF
19264 /* end confdefs.h. */
19265 $ac_includes_default
19266 typedef pid_t ac__type_new_;
19268 main ()
19270 if ((ac__type_new_ *) 0)
19271 return 0;
19272 if (sizeof (ac__type_new_))
19273 return 0;
19275 return 0;
19277 _ACEOF
19278 rm -f conftest.$ac_objext
19279 if { (ac_try="$ac_compile"
19280 case "(($ac_try" in
19281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19282 *) ac_try_echo=$ac_try;;
19283 esac
19284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19285 (eval "$ac_compile") 2>conftest.er1
19286 ac_status=$?
19287 grep -v '^ *+' conftest.er1 >conftest.err
19288 rm -f conftest.er1
19289 cat conftest.err >&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } &&
19292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19293 { (case "(($ac_try" in
19294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19295 *) ac_try_echo=$ac_try;;
19296 esac
19297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19298 (eval "$ac_try") 2>&5
19299 ac_status=$?
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; } &&
19302 { ac_try='test -s conftest.$ac_objext'
19303 { (case "(($ac_try" in
19304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19305 *) ac_try_echo=$ac_try;;
19306 esac
19307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19308 (eval "$ac_try") 2>&5
19309 ac_status=$?
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 ac_cv_type_pid_t=yes
19313 else
19314 echo "$as_me: failed program was:" >&5
19315 sed 's/^/| /' conftest.$ac_ext >&5
19317 ac_cv_type_pid_t=no
19320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19322 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19323 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19324 if test $ac_cv_type_pid_t = yes; then
19326 cat >>confdefs.h <<_ACEOF
19327 #define HAVE_PID_T 1
19328 _ACEOF
19332 { echo "$as_me:$LINENO: checking for size_t" >&5
19333 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19334 if test "${ac_cv_type_size_t+set}" = set; then
19335 echo $ECHO_N "(cached) $ECHO_C" >&6
19336 else
19337 cat >conftest.$ac_ext <<_ACEOF
19338 /* confdefs.h. */
19339 _ACEOF
19340 cat confdefs.h >>conftest.$ac_ext
19341 cat >>conftest.$ac_ext <<_ACEOF
19342 /* end confdefs.h. */
19343 $ac_includes_default
19344 typedef size_t ac__type_new_;
19346 main ()
19348 if ((ac__type_new_ *) 0)
19349 return 0;
19350 if (sizeof (ac__type_new_))
19351 return 0;
19353 return 0;
19355 _ACEOF
19356 rm -f conftest.$ac_objext
19357 if { (ac_try="$ac_compile"
19358 case "(($ac_try" in
19359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19360 *) ac_try_echo=$ac_try;;
19361 esac
19362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19363 (eval "$ac_compile") 2>conftest.er1
19364 ac_status=$?
19365 grep -v '^ *+' conftest.er1 >conftest.err
19366 rm -f conftest.er1
19367 cat conftest.err >&5
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); } &&
19370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19371 { (case "(($ac_try" in
19372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19373 *) ac_try_echo=$ac_try;;
19374 esac
19375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19376 (eval "$ac_try") 2>&5
19377 ac_status=$?
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); }; } &&
19380 { ac_try='test -s conftest.$ac_objext'
19381 { (case "(($ac_try" in
19382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19383 *) ac_try_echo=$ac_try;;
19384 esac
19385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19386 (eval "$ac_try") 2>&5
19387 ac_status=$?
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; }; then
19390 ac_cv_type_size_t=yes
19391 else
19392 echo "$as_me: failed program was:" >&5
19393 sed 's/^/| /' conftest.$ac_ext >&5
19395 ac_cv_type_size_t=no
19398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19400 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19401 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19402 if test $ac_cv_type_size_t = yes; then
19404 cat >>confdefs.h <<_ACEOF
19405 #define HAVE_SIZE_T 1
19406 _ACEOF
19410 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19411 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19412 if test "${ac_cv_type_ssize_t+set}" = set; then
19413 echo $ECHO_N "(cached) $ECHO_C" >&6
19414 else
19415 cat >conftest.$ac_ext <<_ACEOF
19416 /* confdefs.h. */
19417 _ACEOF
19418 cat confdefs.h >>conftest.$ac_ext
19419 cat >>conftest.$ac_ext <<_ACEOF
19420 /* end confdefs.h. */
19421 $ac_includes_default
19422 typedef ssize_t ac__type_new_;
19424 main ()
19426 if ((ac__type_new_ *) 0)
19427 return 0;
19428 if (sizeof (ac__type_new_))
19429 return 0;
19431 return 0;
19433 _ACEOF
19434 rm -f conftest.$ac_objext
19435 if { (ac_try="$ac_compile"
19436 case "(($ac_try" in
19437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19438 *) ac_try_echo=$ac_try;;
19439 esac
19440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19441 (eval "$ac_compile") 2>conftest.er1
19442 ac_status=$?
19443 grep -v '^ *+' conftest.er1 >conftest.err
19444 rm -f conftest.er1
19445 cat conftest.err >&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } &&
19448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19449 { (case "(($ac_try" in
19450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19451 *) ac_try_echo=$ac_try;;
19452 esac
19453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19454 (eval "$ac_try") 2>&5
19455 ac_status=$?
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); }; } &&
19458 { ac_try='test -s conftest.$ac_objext'
19459 { (case "(($ac_try" in
19460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19461 *) ac_try_echo=$ac_try;;
19462 esac
19463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19464 (eval "$ac_try") 2>&5
19465 ac_status=$?
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); }; }; then
19468 ac_cv_type_ssize_t=yes
19469 else
19470 echo "$as_me: failed program was:" >&5
19471 sed 's/^/| /' conftest.$ac_ext >&5
19473 ac_cv_type_ssize_t=no
19476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19478 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19479 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19480 if test $ac_cv_type_ssize_t = yes; then
19482 cat >>confdefs.h <<_ACEOF
19483 #define HAVE_SSIZE_T 1
19484 _ACEOF
19488 { echo "$as_me:$LINENO: checking for long long" >&5
19489 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19490 if test "${ac_cv_type_long_long+set}" = set; then
19491 echo $ECHO_N "(cached) $ECHO_C" >&6
19492 else
19493 cat >conftest.$ac_ext <<_ACEOF
19494 /* confdefs.h. */
19495 _ACEOF
19496 cat confdefs.h >>conftest.$ac_ext
19497 cat >>conftest.$ac_ext <<_ACEOF
19498 /* end confdefs.h. */
19499 $ac_includes_default
19500 typedef long long ac__type_new_;
19502 main ()
19504 if ((ac__type_new_ *) 0)
19505 return 0;
19506 if (sizeof (ac__type_new_))
19507 return 0;
19509 return 0;
19511 _ACEOF
19512 rm -f conftest.$ac_objext
19513 if { (ac_try="$ac_compile"
19514 case "(($ac_try" in
19515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19516 *) ac_try_echo=$ac_try;;
19517 esac
19518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19519 (eval "$ac_compile") 2>conftest.er1
19520 ac_status=$?
19521 grep -v '^ *+' conftest.er1 >conftest.err
19522 rm -f conftest.er1
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19527 { (case "(($ac_try" in
19528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19529 *) ac_try_echo=$ac_try;;
19530 esac
19531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19532 (eval "$ac_try") 2>&5
19533 ac_status=$?
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); }; } &&
19536 { ac_try='test -s conftest.$ac_objext'
19537 { (case "(($ac_try" in
19538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19539 *) ac_try_echo=$ac_try;;
19540 esac
19541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19542 (eval "$ac_try") 2>&5
19543 ac_status=$?
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; }; then
19546 ac_cv_type_long_long=yes
19547 else
19548 echo "$as_me: failed program was:" >&5
19549 sed 's/^/| /' conftest.$ac_ext >&5
19551 ac_cv_type_long_long=no
19554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19556 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19557 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19558 if test $ac_cv_type_long_long = yes; then
19560 cat >>confdefs.h <<_ACEOF
19561 #define HAVE_LONG_LONG 1
19562 _ACEOF
19566 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19567 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19568 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19569 echo $ECHO_N "(cached) $ECHO_C" >&6
19570 else
19571 cat >conftest.$ac_ext <<_ACEOF
19572 /* confdefs.h. */
19573 _ACEOF
19574 cat confdefs.h >>conftest.$ac_ext
19575 cat >>conftest.$ac_ext <<_ACEOF
19576 /* end confdefs.h. */
19577 $ac_includes_default
19578 typedef fsblkcnt_t ac__type_new_;
19580 main ()
19582 if ((ac__type_new_ *) 0)
19583 return 0;
19584 if (sizeof (ac__type_new_))
19585 return 0;
19587 return 0;
19589 _ACEOF
19590 rm -f conftest.$ac_objext
19591 if { (ac_try="$ac_compile"
19592 case "(($ac_try" in
19593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19594 *) ac_try_echo=$ac_try;;
19595 esac
19596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19597 (eval "$ac_compile") 2>conftest.er1
19598 ac_status=$?
19599 grep -v '^ *+' conftest.er1 >conftest.err
19600 rm -f conftest.er1
19601 cat conftest.err >&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); } &&
19604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19605 { (case "(($ac_try" in
19606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19607 *) ac_try_echo=$ac_try;;
19608 esac
19609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19610 (eval "$ac_try") 2>&5
19611 ac_status=$?
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; } &&
19614 { ac_try='test -s conftest.$ac_objext'
19615 { (case "(($ac_try" in
19616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19617 *) ac_try_echo=$ac_try;;
19618 esac
19619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19620 (eval "$ac_try") 2>&5
19621 ac_status=$?
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); }; }; then
19624 ac_cv_type_fsblkcnt_t=yes
19625 else
19626 echo "$as_me: failed program was:" >&5
19627 sed 's/^/| /' conftest.$ac_ext >&5
19629 ac_cv_type_fsblkcnt_t=no
19632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19634 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19635 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19636 if test $ac_cv_type_fsblkcnt_t = yes; then
19638 cat >>confdefs.h <<_ACEOF
19639 #define HAVE_FSBLKCNT_T 1
19640 _ACEOF
19644 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19645 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19646 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19647 echo $ECHO_N "(cached) $ECHO_C" >&6
19648 else
19649 cat >conftest.$ac_ext <<_ACEOF
19650 /* confdefs.h. */
19651 _ACEOF
19652 cat confdefs.h >>conftest.$ac_ext
19653 cat >>conftest.$ac_ext <<_ACEOF
19654 /* end confdefs.h. */
19655 $ac_includes_default
19656 typedef fsfilcnt_t ac__type_new_;
19658 main ()
19660 if ((ac__type_new_ *) 0)
19661 return 0;
19662 if (sizeof (ac__type_new_))
19663 return 0;
19665 return 0;
19667 _ACEOF
19668 rm -f conftest.$ac_objext
19669 if { (ac_try="$ac_compile"
19670 case "(($ac_try" in
19671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19672 *) ac_try_echo=$ac_try;;
19673 esac
19674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19675 (eval "$ac_compile") 2>conftest.er1
19676 ac_status=$?
19677 grep -v '^ *+' conftest.er1 >conftest.err
19678 rm -f conftest.er1
19679 cat conftest.err >&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } &&
19682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19683 { (case "(($ac_try" in
19684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19685 *) ac_try_echo=$ac_try;;
19686 esac
19687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19688 (eval "$ac_try") 2>&5
19689 ac_status=$?
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; } &&
19692 { ac_try='test -s conftest.$ac_objext'
19693 { (case "(($ac_try" in
19694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19695 *) ac_try_echo=$ac_try;;
19696 esac
19697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19698 (eval "$ac_try") 2>&5
19699 ac_status=$?
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; }; then
19702 ac_cv_type_fsfilcnt_t=yes
19703 else
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19707 ac_cv_type_fsfilcnt_t=no
19710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19712 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19713 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19714 if test $ac_cv_type_fsfilcnt_t = yes; then
19716 cat >>confdefs.h <<_ACEOF
19717 #define HAVE_FSFILCNT_T 1
19718 _ACEOF
19723 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19724 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19725 if test "${ac_cv_type_sigset_t+set}" = set; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 else
19728 cat >conftest.$ac_ext <<_ACEOF
19729 /* confdefs.h. */
19730 _ACEOF
19731 cat confdefs.h >>conftest.$ac_ext
19732 cat >>conftest.$ac_ext <<_ACEOF
19733 /* end confdefs.h. */
19734 #include <signal.h>
19736 typedef sigset_t ac__type_new_;
19738 main ()
19740 if ((ac__type_new_ *) 0)
19741 return 0;
19742 if (sizeof (ac__type_new_))
19743 return 0;
19745 return 0;
19747 _ACEOF
19748 rm -f conftest.$ac_objext
19749 if { (ac_try="$ac_compile"
19750 case "(($ac_try" in
19751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19752 *) ac_try_echo=$ac_try;;
19753 esac
19754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19755 (eval "$ac_compile") 2>conftest.er1
19756 ac_status=$?
19757 grep -v '^ *+' conftest.er1 >conftest.err
19758 rm -f conftest.er1
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } &&
19762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19763 { (case "(($ac_try" in
19764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19765 *) ac_try_echo=$ac_try;;
19766 esac
19767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19768 (eval "$ac_try") 2>&5
19769 ac_status=$?
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); }; } &&
19772 { ac_try='test -s conftest.$ac_objext'
19773 { (case "(($ac_try" in
19774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19775 *) ac_try_echo=$ac_try;;
19776 esac
19777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19778 (eval "$ac_try") 2>&5
19779 ac_status=$?
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; }; then
19782 ac_cv_type_sigset_t=yes
19783 else
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.$ac_ext >&5
19787 ac_cv_type_sigset_t=no
19790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19793 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19794 if test $ac_cv_type_sigset_t = yes; then
19796 cat >>confdefs.h <<_ACEOF
19797 #define HAVE_SIGSET_T 1
19798 _ACEOF
19803 { echo "$as_me:$LINENO: checking for request_sense" >&5
19804 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19805 if test "${ac_cv_type_request_sense+set}" = set; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 else
19808 cat >conftest.$ac_ext <<_ACEOF
19809 /* confdefs.h. */
19810 _ACEOF
19811 cat confdefs.h >>conftest.$ac_ext
19812 cat >>conftest.$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 #include <linux/cdrom.h>
19816 typedef request_sense ac__type_new_;
19818 main ()
19820 if ((ac__type_new_ *) 0)
19821 return 0;
19822 if (sizeof (ac__type_new_))
19823 return 0;
19825 return 0;
19827 _ACEOF
19828 rm -f conftest.$ac_objext
19829 if { (ac_try="$ac_compile"
19830 case "(($ac_try" in
19831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19832 *) ac_try_echo=$ac_try;;
19833 esac
19834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19835 (eval "$ac_compile") 2>conftest.er1
19836 ac_status=$?
19837 grep -v '^ *+' conftest.er1 >conftest.err
19838 rm -f conftest.er1
19839 cat conftest.err >&5
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); } &&
19842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19843 { (case "(($ac_try" in
19844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19845 *) ac_try_echo=$ac_try;;
19846 esac
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_try") 2>&5
19849 ac_status=$?
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); }; } &&
19852 { ac_try='test -s conftest.$ac_objext'
19853 { (case "(($ac_try" in
19854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19855 *) ac_try_echo=$ac_try;;
19856 esac
19857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19858 (eval "$ac_try") 2>&5
19859 ac_status=$?
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); }; }; then
19862 ac_cv_type_request_sense=yes
19863 else
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.$ac_ext >&5
19867 ac_cv_type_request_sense=no
19870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19872 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19873 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
19874 if test $ac_cv_type_request_sense = yes; then
19876 cat >>confdefs.h <<_ACEOF
19877 #define HAVE_REQUEST_SENSE 1
19878 _ACEOF
19884 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19885 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
19886 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19887 echo $ECHO_N "(cached) $ECHO_C" >&6
19888 else
19889 cat >conftest.$ac_ext <<_ACEOF
19890 /* confdefs.h. */
19891 _ACEOF
19892 cat confdefs.h >>conftest.$ac_ext
19893 cat >>conftest.$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19895 #ifdef HAVE_LINUX_INPUT_H
19896 #include <linux/input.h>
19897 #endif
19900 main ()
19902 static struct ff_effect ac_aggr;
19903 if (ac_aggr.direction)
19904 return 0;
19906 return 0;
19908 _ACEOF
19909 rm -f conftest.$ac_objext
19910 if { (ac_try="$ac_compile"
19911 case "(($ac_try" in
19912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19913 *) ac_try_echo=$ac_try;;
19914 esac
19915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19916 (eval "$ac_compile") 2>conftest.er1
19917 ac_status=$?
19918 grep -v '^ *+' conftest.er1 >conftest.err
19919 rm -f conftest.er1
19920 cat conftest.err >&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19933 { ac_try='test -s conftest.$ac_objext'
19934 { (case "(($ac_try" in
19935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19936 *) ac_try_echo=$ac_try;;
19937 esac
19938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19939 (eval "$ac_try") 2>&5
19940 ac_status=$?
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); }; }; then
19943 ac_cv_member_struct_ff_effect_direction=yes
19944 else
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.$ac_ext >&5
19948 cat >conftest.$ac_ext <<_ACEOF
19949 /* confdefs.h. */
19950 _ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 #ifdef HAVE_LINUX_INPUT_H
19955 #include <linux/input.h>
19956 #endif
19959 main ()
19961 static struct ff_effect ac_aggr;
19962 if (sizeof ac_aggr.direction)
19963 return 0;
19965 return 0;
19967 _ACEOF
19968 rm -f conftest.$ac_objext
19969 if { (ac_try="$ac_compile"
19970 case "(($ac_try" in
19971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19972 *) ac_try_echo=$ac_try;;
19973 esac
19974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19975 (eval "$ac_compile") 2>conftest.er1
19976 ac_status=$?
19977 grep -v '^ *+' conftest.er1 >conftest.err
19978 rm -f conftest.er1
19979 cat conftest.err >&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } &&
19982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19983 { (case "(($ac_try" in
19984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19985 *) ac_try_echo=$ac_try;;
19986 esac
19987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19988 (eval "$ac_try") 2>&5
19989 ac_status=$?
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); }; } &&
19992 { ac_try='test -s conftest.$ac_objext'
19993 { (case "(($ac_try" in
19994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19995 *) ac_try_echo=$ac_try;;
19996 esac
19997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19998 (eval "$ac_try") 2>&5
19999 ac_status=$?
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); }; }; then
20002 ac_cv_member_struct_ff_effect_direction=yes
20003 else
20004 echo "$as_me: failed program was:" >&5
20005 sed 's/^/| /' conftest.$ac_ext >&5
20007 ac_cv_member_struct_ff_effect_direction=no
20010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20015 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20016 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20017 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20019 cat >>confdefs.h <<_ACEOF
20020 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20021 _ACEOF
20027 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20028 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20029 if test "${wine_cv_have_sigaddset+set}" = set; then
20030 echo $ECHO_N "(cached) $ECHO_C" >&6
20031 else
20032 cat >conftest.$ac_ext <<_ACEOF
20033 /* confdefs.h. */
20034 _ACEOF
20035 cat confdefs.h >>conftest.$ac_ext
20036 cat >>conftest.$ac_ext <<_ACEOF
20037 /* end confdefs.h. */
20038 #include <signal.h>
20040 main ()
20042 sigset_t set; sigaddset(&set,SIGTERM);
20044 return 0;
20046 _ACEOF
20047 rm -f conftest.$ac_objext conftest$ac_exeext
20048 if { (ac_try="$ac_link"
20049 case "(($ac_try" in
20050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20051 *) ac_try_echo=$ac_try;;
20052 esac
20053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20054 (eval "$ac_link") 2>conftest.er1
20055 ac_status=$?
20056 grep -v '^ *+' conftest.er1 >conftest.err
20057 rm -f conftest.er1
20058 cat conftest.err >&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); } &&
20061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20062 { (case "(($ac_try" in
20063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20064 *) ac_try_echo=$ac_try;;
20065 esac
20066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20067 (eval "$ac_try") 2>&5
20068 ac_status=$?
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); }; } &&
20071 { ac_try='test -s conftest$ac_exeext'
20072 { (case "(($ac_try" in
20073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20074 *) ac_try_echo=$ac_try;;
20075 esac
20076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20077 (eval "$ac_try") 2>&5
20078 ac_status=$?
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); }; }; then
20081 wine_cv_have_sigaddset=yes
20082 else
20083 echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.$ac_ext >&5
20086 wine_cv_have_sigaddset=no
20089 rm -f core conftest.err conftest.$ac_objext \
20090 conftest$ac_exeext conftest.$ac_ext
20092 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20093 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20094 if test "$wine_cv_have_sigaddset" = "yes"
20095 then
20097 cat >>confdefs.h <<\_ACEOF
20098 #define HAVE_SIGADDSET 1
20099 _ACEOF
20104 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20105 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20106 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20107 echo $ECHO_N "(cached) $ECHO_C" >&6
20108 else
20109 cat >conftest.$ac_ext <<_ACEOF
20110 /* confdefs.h. */
20111 _ACEOF
20112 cat confdefs.h >>conftest.$ac_ext
20113 cat >>conftest.$ac_ext <<_ACEOF
20114 /* end confdefs.h. */
20116 #include <netdb.h>
20119 main ()
20122 char *name=NULL;
20123 struct hostent he;
20124 struct hostent *result;
20125 char *buf=NULL;
20126 int bufsize=0;
20127 int res,errnr;
20128 char *addr=NULL;
20129 int addrlen=0;
20130 int addrtype=0;
20131 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20132 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20135 return 0;
20137 _ACEOF
20138 rm -f conftest.$ac_objext conftest$ac_exeext
20139 if { (ac_try="$ac_link"
20140 case "(($ac_try" in
20141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20142 *) ac_try_echo=$ac_try;;
20143 esac
20144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20145 (eval "$ac_link") 2>conftest.er1
20146 ac_status=$?
20147 grep -v '^ *+' conftest.er1 >conftest.err
20148 rm -f conftest.er1
20149 cat conftest.err >&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } &&
20152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20153 { (case "(($ac_try" in
20154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20155 *) ac_try_echo=$ac_try;;
20156 esac
20157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20158 (eval "$ac_try") 2>&5
20159 ac_status=$?
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); }; } &&
20162 { ac_try='test -s conftest$ac_exeext'
20163 { (case "(($ac_try" in
20164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20165 *) ac_try_echo=$ac_try;;
20166 esac
20167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20168 (eval "$ac_try") 2>&5
20169 ac_status=$?
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); }; }; then
20172 wine_cv_linux_gethostbyname_r_6=yes
20173 else
20174 echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.$ac_ext >&5
20177 wine_cv_linux_gethostbyname_r_6=no
20181 rm -f core conftest.err conftest.$ac_objext \
20182 conftest$ac_exeext conftest.$ac_ext
20185 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20186 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20187 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20188 then
20190 cat >>confdefs.h <<\_ACEOF
20191 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20192 _ACEOF
20196 if test "$ac_cv_header_linux_joystick_h" = "yes"
20197 then
20198 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20199 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20200 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20201 echo $ECHO_N "(cached) $ECHO_C" >&6
20202 else
20203 cat >conftest.$ac_ext <<_ACEOF
20204 /* confdefs.h. */
20205 _ACEOF
20206 cat confdefs.h >>conftest.$ac_ext
20207 cat >>conftest.$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20210 #include <sys/ioctl.h>
20211 #include <linux/joystick.h>
20213 struct js_event blub;
20214 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20215 #error "no 2.2 header"
20216 #endif
20219 main ()
20221 /*empty*/
20223 return 0;
20225 _ACEOF
20226 rm -f conftest.$ac_objext
20227 if { (ac_try="$ac_compile"
20228 case "(($ac_try" in
20229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20230 *) ac_try_echo=$ac_try;;
20231 esac
20232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20233 (eval "$ac_compile") 2>conftest.er1
20234 ac_status=$?
20235 grep -v '^ *+' conftest.er1 >conftest.err
20236 rm -f conftest.er1
20237 cat conftest.err >&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); } &&
20240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20241 { (case "(($ac_try" in
20242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20243 *) ac_try_echo=$ac_try;;
20244 esac
20245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20246 (eval "$ac_try") 2>&5
20247 ac_status=$?
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; } &&
20250 { ac_try='test -s conftest.$ac_objext'
20251 { (case "(($ac_try" in
20252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20253 *) ac_try_echo=$ac_try;;
20254 esac
20255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20256 (eval "$ac_try") 2>&5
20257 ac_status=$?
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); }; }; then
20260 wine_cv_linux_joystick_22_api=yes
20261 else
20262 echo "$as_me: failed program was:" >&5
20263 sed 's/^/| /' conftest.$ac_ext >&5
20265 wine_cv_linux_joystick_22_api=no
20268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20271 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20272 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20273 if test "$wine_cv_linux_joystick_22_api" = "yes"
20274 then
20276 cat >>confdefs.h <<\_ACEOF
20277 #define HAVE_LINUX_22_JOYSTICK_API 1
20278 _ACEOF
20284 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20285 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20286 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20287 echo $ECHO_N "(cached) $ECHO_C" >&6
20288 else
20289 cat >conftest.$ac_ext <<_ACEOF
20290 /* confdefs.h. */
20291 _ACEOF
20292 cat confdefs.h >>conftest.$ac_ext
20293 cat >>conftest.$ac_ext <<_ACEOF
20294 /* end confdefs.h. */
20295 #include <sys/types.h>
20296 #ifdef HAVE_SYS_PARAM_H
20297 # include <sys/param.h>
20298 #endif
20299 #ifdef HAVE_SYS_MOUNT_H
20300 # include <sys/mount.h>
20301 #endif
20302 #ifdef HAVE_SYS_VFS_H
20303 # include <sys/vfs.h>
20304 #endif
20305 #ifdef HAVE_SYS_STATFS_H
20306 # include <sys/statfs.h>
20307 #endif
20310 main ()
20312 static struct statfs ac_aggr;
20313 if (ac_aggr.f_bfree)
20314 return 0;
20316 return 0;
20318 _ACEOF
20319 rm -f conftest.$ac_objext
20320 if { (ac_try="$ac_compile"
20321 case "(($ac_try" in
20322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20323 *) ac_try_echo=$ac_try;;
20324 esac
20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_compile") 2>conftest.er1
20327 ac_status=$?
20328 grep -v '^ *+' conftest.er1 >conftest.err
20329 rm -f conftest.er1
20330 cat conftest.err >&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); } &&
20333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20334 { (case "(($ac_try" in
20335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20336 *) ac_try_echo=$ac_try;;
20337 esac
20338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20339 (eval "$ac_try") 2>&5
20340 ac_status=$?
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); }; } &&
20343 { ac_try='test -s conftest.$ac_objext'
20344 { (case "(($ac_try" in
20345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20346 *) ac_try_echo=$ac_try;;
20347 esac
20348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20349 (eval "$ac_try") 2>&5
20350 ac_status=$?
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); }; }; then
20353 ac_cv_member_struct_statfs_f_bfree=yes
20354 else
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.$ac_ext >&5
20358 cat >conftest.$ac_ext <<_ACEOF
20359 /* confdefs.h. */
20360 _ACEOF
20361 cat confdefs.h >>conftest.$ac_ext
20362 cat >>conftest.$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20364 #include <sys/types.h>
20365 #ifdef HAVE_SYS_PARAM_H
20366 # include <sys/param.h>
20367 #endif
20368 #ifdef HAVE_SYS_MOUNT_H
20369 # include <sys/mount.h>
20370 #endif
20371 #ifdef HAVE_SYS_VFS_H
20372 # include <sys/vfs.h>
20373 #endif
20374 #ifdef HAVE_SYS_STATFS_H
20375 # include <sys/statfs.h>
20376 #endif
20379 main ()
20381 static struct statfs ac_aggr;
20382 if (sizeof ac_aggr.f_bfree)
20383 return 0;
20385 return 0;
20387 _ACEOF
20388 rm -f conftest.$ac_objext
20389 if { (ac_try="$ac_compile"
20390 case "(($ac_try" in
20391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20392 *) ac_try_echo=$ac_try;;
20393 esac
20394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20395 (eval "$ac_compile") 2>conftest.er1
20396 ac_status=$?
20397 grep -v '^ *+' conftest.er1 >conftest.err
20398 rm -f conftest.er1
20399 cat conftest.err >&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } &&
20402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20403 { (case "(($ac_try" in
20404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20405 *) ac_try_echo=$ac_try;;
20406 esac
20407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20408 (eval "$ac_try") 2>&5
20409 ac_status=$?
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; } &&
20412 { ac_try='test -s conftest.$ac_objext'
20413 { (case "(($ac_try" in
20414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20415 *) ac_try_echo=$ac_try;;
20416 esac
20417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20418 (eval "$ac_try") 2>&5
20419 ac_status=$?
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); }; }; then
20422 ac_cv_member_struct_statfs_f_bfree=yes
20423 else
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.$ac_ext >&5
20427 ac_cv_member_struct_statfs_f_bfree=no
20430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20435 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20436 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20437 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20439 cat >>confdefs.h <<_ACEOF
20440 #define HAVE_STRUCT_STATFS_F_BFREE 1
20441 _ACEOF
20445 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20446 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20447 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20448 echo $ECHO_N "(cached) $ECHO_C" >&6
20449 else
20450 cat >conftest.$ac_ext <<_ACEOF
20451 /* confdefs.h. */
20452 _ACEOF
20453 cat confdefs.h >>conftest.$ac_ext
20454 cat >>conftest.$ac_ext <<_ACEOF
20455 /* end confdefs.h. */
20456 #include <sys/types.h>
20457 #ifdef HAVE_SYS_PARAM_H
20458 # include <sys/param.h>
20459 #endif
20460 #ifdef HAVE_SYS_MOUNT_H
20461 # include <sys/mount.h>
20462 #endif
20463 #ifdef HAVE_SYS_VFS_H
20464 # include <sys/vfs.h>
20465 #endif
20466 #ifdef HAVE_SYS_STATFS_H
20467 # include <sys/statfs.h>
20468 #endif
20471 main ()
20473 static struct statfs ac_aggr;
20474 if (ac_aggr.f_bavail)
20475 return 0;
20477 return 0;
20479 _ACEOF
20480 rm -f conftest.$ac_objext
20481 if { (ac_try="$ac_compile"
20482 case "(($ac_try" in
20483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20484 *) ac_try_echo=$ac_try;;
20485 esac
20486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20487 (eval "$ac_compile") 2>conftest.er1
20488 ac_status=$?
20489 grep -v '^ *+' conftest.er1 >conftest.err
20490 rm -f conftest.er1
20491 cat conftest.err >&5
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); } &&
20494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20495 { (case "(($ac_try" in
20496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20497 *) ac_try_echo=$ac_try;;
20498 esac
20499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20500 (eval "$ac_try") 2>&5
20501 ac_status=$?
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; } &&
20504 { ac_try='test -s conftest.$ac_objext'
20505 { (case "(($ac_try" in
20506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20507 *) ac_try_echo=$ac_try;;
20508 esac
20509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20510 (eval "$ac_try") 2>&5
20511 ac_status=$?
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); }; }; then
20514 ac_cv_member_struct_statfs_f_bavail=yes
20515 else
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20519 cat >conftest.$ac_ext <<_ACEOF
20520 /* confdefs.h. */
20521 _ACEOF
20522 cat confdefs.h >>conftest.$ac_ext
20523 cat >>conftest.$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20525 #include <sys/types.h>
20526 #ifdef HAVE_SYS_PARAM_H
20527 # include <sys/param.h>
20528 #endif
20529 #ifdef HAVE_SYS_MOUNT_H
20530 # include <sys/mount.h>
20531 #endif
20532 #ifdef HAVE_SYS_VFS_H
20533 # include <sys/vfs.h>
20534 #endif
20535 #ifdef HAVE_SYS_STATFS_H
20536 # include <sys/statfs.h>
20537 #endif
20540 main ()
20542 static struct statfs ac_aggr;
20543 if (sizeof ac_aggr.f_bavail)
20544 return 0;
20546 return 0;
20548 _ACEOF
20549 rm -f conftest.$ac_objext
20550 if { (ac_try="$ac_compile"
20551 case "(($ac_try" in
20552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20553 *) ac_try_echo=$ac_try;;
20554 esac
20555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20556 (eval "$ac_compile") 2>conftest.er1
20557 ac_status=$?
20558 grep -v '^ *+' conftest.er1 >conftest.err
20559 rm -f conftest.er1
20560 cat conftest.err >&5
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); } &&
20563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20564 { (case "(($ac_try" in
20565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20566 *) ac_try_echo=$ac_try;;
20567 esac
20568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20569 (eval "$ac_try") 2>&5
20570 ac_status=$?
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); }; } &&
20573 { ac_try='test -s conftest.$ac_objext'
20574 { (case "(($ac_try" in
20575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20576 *) ac_try_echo=$ac_try;;
20577 esac
20578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20579 (eval "$ac_try") 2>&5
20580 ac_status=$?
20581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582 (exit $ac_status); }; }; then
20583 ac_cv_member_struct_statfs_f_bavail=yes
20584 else
20585 echo "$as_me: failed program was:" >&5
20586 sed 's/^/| /' conftest.$ac_ext >&5
20588 ac_cv_member_struct_statfs_f_bavail=no
20591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20596 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20597 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20598 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20600 cat >>confdefs.h <<_ACEOF
20601 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20602 _ACEOF
20606 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20607 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20608 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20609 echo $ECHO_N "(cached) $ECHO_C" >&6
20610 else
20611 cat >conftest.$ac_ext <<_ACEOF
20612 /* confdefs.h. */
20613 _ACEOF
20614 cat confdefs.h >>conftest.$ac_ext
20615 cat >>conftest.$ac_ext <<_ACEOF
20616 /* end confdefs.h. */
20617 #include <sys/types.h>
20618 #ifdef HAVE_SYS_PARAM_H
20619 # include <sys/param.h>
20620 #endif
20621 #ifdef HAVE_SYS_MOUNT_H
20622 # include <sys/mount.h>
20623 #endif
20624 #ifdef HAVE_SYS_VFS_H
20625 # include <sys/vfs.h>
20626 #endif
20627 #ifdef HAVE_SYS_STATFS_H
20628 # include <sys/statfs.h>
20629 #endif
20632 main ()
20634 static struct statfs ac_aggr;
20635 if (ac_aggr.f_frsize)
20636 return 0;
20638 return 0;
20640 _ACEOF
20641 rm -f conftest.$ac_objext
20642 if { (ac_try="$ac_compile"
20643 case "(($ac_try" in
20644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20645 *) ac_try_echo=$ac_try;;
20646 esac
20647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20648 (eval "$ac_compile") 2>conftest.er1
20649 ac_status=$?
20650 grep -v '^ *+' conftest.er1 >conftest.err
20651 rm -f conftest.er1
20652 cat conftest.err >&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); } &&
20655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20656 { (case "(($ac_try" in
20657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20658 *) ac_try_echo=$ac_try;;
20659 esac
20660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20661 (eval "$ac_try") 2>&5
20662 ac_status=$?
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); }; } &&
20665 { ac_try='test -s conftest.$ac_objext'
20666 { (case "(($ac_try" in
20667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20668 *) ac_try_echo=$ac_try;;
20669 esac
20670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20671 (eval "$ac_try") 2>&5
20672 ac_status=$?
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; }; then
20675 ac_cv_member_struct_statfs_f_frsize=yes
20676 else
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20680 cat >conftest.$ac_ext <<_ACEOF
20681 /* confdefs.h. */
20682 _ACEOF
20683 cat confdefs.h >>conftest.$ac_ext
20684 cat >>conftest.$ac_ext <<_ACEOF
20685 /* end confdefs.h. */
20686 #include <sys/types.h>
20687 #ifdef HAVE_SYS_PARAM_H
20688 # include <sys/param.h>
20689 #endif
20690 #ifdef HAVE_SYS_MOUNT_H
20691 # include <sys/mount.h>
20692 #endif
20693 #ifdef HAVE_SYS_VFS_H
20694 # include <sys/vfs.h>
20695 #endif
20696 #ifdef HAVE_SYS_STATFS_H
20697 # include <sys/statfs.h>
20698 #endif
20701 main ()
20703 static struct statfs ac_aggr;
20704 if (sizeof ac_aggr.f_frsize)
20705 return 0;
20707 return 0;
20709 _ACEOF
20710 rm -f conftest.$ac_objext
20711 if { (ac_try="$ac_compile"
20712 case "(($ac_try" in
20713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20714 *) ac_try_echo=$ac_try;;
20715 esac
20716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717 (eval "$ac_compile") 2>conftest.er1
20718 ac_status=$?
20719 grep -v '^ *+' conftest.er1 >conftest.err
20720 rm -f conftest.er1
20721 cat conftest.err >&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); } &&
20724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20725 { (case "(($ac_try" in
20726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20727 *) ac_try_echo=$ac_try;;
20728 esac
20729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20730 (eval "$ac_try") 2>&5
20731 ac_status=$?
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); }; } &&
20734 { ac_try='test -s conftest.$ac_objext'
20735 { (case "(($ac_try" in
20736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20737 *) ac_try_echo=$ac_try;;
20738 esac
20739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20740 (eval "$ac_try") 2>&5
20741 ac_status=$?
20742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20743 (exit $ac_status); }; }; then
20744 ac_cv_member_struct_statfs_f_frsize=yes
20745 else
20746 echo "$as_me: failed program was:" >&5
20747 sed 's/^/| /' conftest.$ac_ext >&5
20749 ac_cv_member_struct_statfs_f_frsize=no
20752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20757 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20758 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20759 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20761 cat >>confdefs.h <<_ACEOF
20762 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20763 _ACEOF
20767 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20768 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20769 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20770 echo $ECHO_N "(cached) $ECHO_C" >&6
20771 else
20772 cat >conftest.$ac_ext <<_ACEOF
20773 /* confdefs.h. */
20774 _ACEOF
20775 cat confdefs.h >>conftest.$ac_ext
20776 cat >>conftest.$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20778 #include <sys/types.h>
20779 #ifdef HAVE_SYS_PARAM_H
20780 # include <sys/param.h>
20781 #endif
20782 #ifdef HAVE_SYS_MOUNT_H
20783 # include <sys/mount.h>
20784 #endif
20785 #ifdef HAVE_SYS_VFS_H
20786 # include <sys/vfs.h>
20787 #endif
20788 #ifdef HAVE_SYS_STATFS_H
20789 # include <sys/statfs.h>
20790 #endif
20793 main ()
20795 static struct statfs ac_aggr;
20796 if (ac_aggr.f_ffree)
20797 return 0;
20799 return 0;
20801 _ACEOF
20802 rm -f conftest.$ac_objext
20803 if { (ac_try="$ac_compile"
20804 case "(($ac_try" in
20805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20806 *) ac_try_echo=$ac_try;;
20807 esac
20808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20809 (eval "$ac_compile") 2>conftest.er1
20810 ac_status=$?
20811 grep -v '^ *+' conftest.er1 >conftest.err
20812 rm -f conftest.er1
20813 cat conftest.err >&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } &&
20816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20817 { (case "(($ac_try" in
20818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20819 *) ac_try_echo=$ac_try;;
20820 esac
20821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20822 (eval "$ac_try") 2>&5
20823 ac_status=$?
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; } &&
20826 { ac_try='test -s conftest.$ac_objext'
20827 { (case "(($ac_try" in
20828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20829 *) ac_try_echo=$ac_try;;
20830 esac
20831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20832 (eval "$ac_try") 2>&5
20833 ac_status=$?
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); }; }; then
20836 ac_cv_member_struct_statfs_f_ffree=yes
20837 else
20838 echo "$as_me: failed program was:" >&5
20839 sed 's/^/| /' conftest.$ac_ext >&5
20841 cat >conftest.$ac_ext <<_ACEOF
20842 /* confdefs.h. */
20843 _ACEOF
20844 cat confdefs.h >>conftest.$ac_ext
20845 cat >>conftest.$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20847 #include <sys/types.h>
20848 #ifdef HAVE_SYS_PARAM_H
20849 # include <sys/param.h>
20850 #endif
20851 #ifdef HAVE_SYS_MOUNT_H
20852 # include <sys/mount.h>
20853 #endif
20854 #ifdef HAVE_SYS_VFS_H
20855 # include <sys/vfs.h>
20856 #endif
20857 #ifdef HAVE_SYS_STATFS_H
20858 # include <sys/statfs.h>
20859 #endif
20862 main ()
20864 static struct statfs ac_aggr;
20865 if (sizeof ac_aggr.f_ffree)
20866 return 0;
20868 return 0;
20870 _ACEOF
20871 rm -f conftest.$ac_objext
20872 if { (ac_try="$ac_compile"
20873 case "(($ac_try" in
20874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20875 *) ac_try_echo=$ac_try;;
20876 esac
20877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20878 (eval "$ac_compile") 2>conftest.er1
20879 ac_status=$?
20880 grep -v '^ *+' conftest.er1 >conftest.err
20881 rm -f conftest.er1
20882 cat conftest.err >&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } &&
20885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20886 { (case "(($ac_try" in
20887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20888 *) ac_try_echo=$ac_try;;
20889 esac
20890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20891 (eval "$ac_try") 2>&5
20892 ac_status=$?
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); }; } &&
20895 { ac_try='test -s conftest.$ac_objext'
20896 { (case "(($ac_try" in
20897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20898 *) ac_try_echo=$ac_try;;
20899 esac
20900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20901 (eval "$ac_try") 2>&5
20902 ac_status=$?
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 ac_cv_member_struct_statfs_f_ffree=yes
20906 else
20907 echo "$as_me: failed program was:" >&5
20908 sed 's/^/| /' conftest.$ac_ext >&5
20910 ac_cv_member_struct_statfs_f_ffree=no
20913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20918 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
20919 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
20920 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
20922 cat >>confdefs.h <<_ACEOF
20923 #define HAVE_STRUCT_STATFS_F_FFREE 1
20924 _ACEOF
20928 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
20929 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
20930 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
20931 echo $ECHO_N "(cached) $ECHO_C" >&6
20932 else
20933 cat >conftest.$ac_ext <<_ACEOF
20934 /* confdefs.h. */
20935 _ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 #include <sys/types.h>
20940 #ifdef HAVE_SYS_PARAM_H
20941 # include <sys/param.h>
20942 #endif
20943 #ifdef HAVE_SYS_MOUNT_H
20944 # include <sys/mount.h>
20945 #endif
20946 #ifdef HAVE_SYS_VFS_H
20947 # include <sys/vfs.h>
20948 #endif
20949 #ifdef HAVE_SYS_STATFS_H
20950 # include <sys/statfs.h>
20951 #endif
20954 main ()
20956 static struct statfs ac_aggr;
20957 if (ac_aggr.f_favail)
20958 return 0;
20960 return 0;
20962 _ACEOF
20963 rm -f conftest.$ac_objext
20964 if { (ac_try="$ac_compile"
20965 case "(($ac_try" in
20966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20967 *) ac_try_echo=$ac_try;;
20968 esac
20969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20970 (eval "$ac_compile") 2>conftest.er1
20971 ac_status=$?
20972 grep -v '^ *+' conftest.er1 >conftest.err
20973 rm -f conftest.er1
20974 cat conftest.err >&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); } &&
20977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20978 { (case "(($ac_try" in
20979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20980 *) ac_try_echo=$ac_try;;
20981 esac
20982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20983 (eval "$ac_try") 2>&5
20984 ac_status=$?
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); }; } &&
20987 { ac_try='test -s conftest.$ac_objext'
20988 { (case "(($ac_try" in
20989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20990 *) ac_try_echo=$ac_try;;
20991 esac
20992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20993 (eval "$ac_try") 2>&5
20994 ac_status=$?
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; }; then
20997 ac_cv_member_struct_statfs_f_favail=yes
20998 else
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21002 cat >conftest.$ac_ext <<_ACEOF
21003 /* confdefs.h. */
21004 _ACEOF
21005 cat confdefs.h >>conftest.$ac_ext
21006 cat >>conftest.$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21008 #include <sys/types.h>
21009 #ifdef HAVE_SYS_PARAM_H
21010 # include <sys/param.h>
21011 #endif
21012 #ifdef HAVE_SYS_MOUNT_H
21013 # include <sys/mount.h>
21014 #endif
21015 #ifdef HAVE_SYS_VFS_H
21016 # include <sys/vfs.h>
21017 #endif
21018 #ifdef HAVE_SYS_STATFS_H
21019 # include <sys/statfs.h>
21020 #endif
21023 main ()
21025 static struct statfs ac_aggr;
21026 if (sizeof ac_aggr.f_favail)
21027 return 0;
21029 return 0;
21031 _ACEOF
21032 rm -f conftest.$ac_objext
21033 if { (ac_try="$ac_compile"
21034 case "(($ac_try" in
21035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21036 *) ac_try_echo=$ac_try;;
21037 esac
21038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21039 (eval "$ac_compile") 2>conftest.er1
21040 ac_status=$?
21041 grep -v '^ *+' conftest.er1 >conftest.err
21042 rm -f conftest.er1
21043 cat conftest.err >&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); } &&
21046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21047 { (case "(($ac_try" in
21048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21049 *) ac_try_echo=$ac_try;;
21050 esac
21051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21052 (eval "$ac_try") 2>&5
21053 ac_status=$?
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); }; } &&
21056 { ac_try='test -s conftest.$ac_objext'
21057 { (case "(($ac_try" in
21058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21059 *) ac_try_echo=$ac_try;;
21060 esac
21061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21062 (eval "$ac_try") 2>&5
21063 ac_status=$?
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); }; }; then
21066 ac_cv_member_struct_statfs_f_favail=yes
21067 else
21068 echo "$as_me: failed program was:" >&5
21069 sed 's/^/| /' conftest.$ac_ext >&5
21071 ac_cv_member_struct_statfs_f_favail=no
21074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21079 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21080 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21081 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21083 cat >>confdefs.h <<_ACEOF
21084 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21085 _ACEOF
21089 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21090 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21091 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21092 echo $ECHO_N "(cached) $ECHO_C" >&6
21093 else
21094 cat >conftest.$ac_ext <<_ACEOF
21095 /* confdefs.h. */
21096 _ACEOF
21097 cat confdefs.h >>conftest.$ac_ext
21098 cat >>conftest.$ac_ext <<_ACEOF
21099 /* end confdefs.h. */
21100 #include <sys/types.h>
21101 #ifdef HAVE_SYS_PARAM_H
21102 # include <sys/param.h>
21103 #endif
21104 #ifdef HAVE_SYS_MOUNT_H
21105 # include <sys/mount.h>
21106 #endif
21107 #ifdef HAVE_SYS_VFS_H
21108 # include <sys/vfs.h>
21109 #endif
21110 #ifdef HAVE_SYS_STATFS_H
21111 # include <sys/statfs.h>
21112 #endif
21115 main ()
21117 static struct statfs ac_aggr;
21118 if (ac_aggr.f_namelen)
21119 return 0;
21121 return 0;
21123 _ACEOF
21124 rm -f conftest.$ac_objext
21125 if { (ac_try="$ac_compile"
21126 case "(($ac_try" in
21127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21128 *) ac_try_echo=$ac_try;;
21129 esac
21130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21131 (eval "$ac_compile") 2>conftest.er1
21132 ac_status=$?
21133 grep -v '^ *+' conftest.er1 >conftest.err
21134 rm -f conftest.er1
21135 cat conftest.err >&5
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); } &&
21138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21139 { (case "(($ac_try" in
21140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21141 *) ac_try_echo=$ac_try;;
21142 esac
21143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21144 (eval "$ac_try") 2>&5
21145 ac_status=$?
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); }; } &&
21148 { ac_try='test -s conftest.$ac_objext'
21149 { (case "(($ac_try" in
21150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21151 *) ac_try_echo=$ac_try;;
21152 esac
21153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21154 (eval "$ac_try") 2>&5
21155 ac_status=$?
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; }; then
21158 ac_cv_member_struct_statfs_f_namelen=yes
21159 else
21160 echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.$ac_ext >&5
21163 cat >conftest.$ac_ext <<_ACEOF
21164 /* confdefs.h. */
21165 _ACEOF
21166 cat confdefs.h >>conftest.$ac_ext
21167 cat >>conftest.$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 #include <sys/types.h>
21170 #ifdef HAVE_SYS_PARAM_H
21171 # include <sys/param.h>
21172 #endif
21173 #ifdef HAVE_SYS_MOUNT_H
21174 # include <sys/mount.h>
21175 #endif
21176 #ifdef HAVE_SYS_VFS_H
21177 # include <sys/vfs.h>
21178 #endif
21179 #ifdef HAVE_SYS_STATFS_H
21180 # include <sys/statfs.h>
21181 #endif
21184 main ()
21186 static struct statfs ac_aggr;
21187 if (sizeof ac_aggr.f_namelen)
21188 return 0;
21190 return 0;
21192 _ACEOF
21193 rm -f conftest.$ac_objext
21194 if { (ac_try="$ac_compile"
21195 case "(($ac_try" in
21196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21197 *) ac_try_echo=$ac_try;;
21198 esac
21199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21200 (eval "$ac_compile") 2>conftest.er1
21201 ac_status=$?
21202 grep -v '^ *+' conftest.er1 >conftest.err
21203 rm -f conftest.er1
21204 cat conftest.err >&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); } &&
21207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21208 { (case "(($ac_try" in
21209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21210 *) ac_try_echo=$ac_try;;
21211 esac
21212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21213 (eval "$ac_try") 2>&5
21214 ac_status=$?
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; } &&
21217 { ac_try='test -s conftest.$ac_objext'
21218 { (case "(($ac_try" in
21219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21220 *) ac_try_echo=$ac_try;;
21221 esac
21222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21223 (eval "$ac_try") 2>&5
21224 ac_status=$?
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); }; }; then
21227 ac_cv_member_struct_statfs_f_namelen=yes
21228 else
21229 echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.$ac_ext >&5
21232 ac_cv_member_struct_statfs_f_namelen=no
21235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21240 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21241 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21242 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21244 cat >>confdefs.h <<_ACEOF
21245 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21246 _ACEOF
21252 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21253 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21254 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21255 echo $ECHO_N "(cached) $ECHO_C" >&6
21256 else
21257 cat >conftest.$ac_ext <<_ACEOF
21258 /* confdefs.h. */
21259 _ACEOF
21260 cat confdefs.h >>conftest.$ac_ext
21261 cat >>conftest.$ac_ext <<_ACEOF
21262 /* end confdefs.h. */
21263 #ifdef HAVE_SYS_STATVFS_H
21264 #include <sys/statvfs.h>
21265 #endif
21268 main ()
21270 static struct statvfs ac_aggr;
21271 if (ac_aggr.f_blocks)
21272 return 0;
21274 return 0;
21276 _ACEOF
21277 rm -f conftest.$ac_objext
21278 if { (ac_try="$ac_compile"
21279 case "(($ac_try" in
21280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21281 *) ac_try_echo=$ac_try;;
21282 esac
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_compile") 2>conftest.er1
21285 ac_status=$?
21286 grep -v '^ *+' conftest.er1 >conftest.err
21287 rm -f conftest.er1
21288 cat conftest.err >&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } &&
21291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21292 { (case "(($ac_try" in
21293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21294 *) ac_try_echo=$ac_try;;
21295 esac
21296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21297 (eval "$ac_try") 2>&5
21298 ac_status=$?
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; } &&
21301 { ac_try='test -s conftest.$ac_objext'
21302 { (case "(($ac_try" in
21303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21304 *) ac_try_echo=$ac_try;;
21305 esac
21306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21307 (eval "$ac_try") 2>&5
21308 ac_status=$?
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); }; }; then
21311 ac_cv_member_struct_statvfs_f_blocks=yes
21312 else
21313 echo "$as_me: failed program was:" >&5
21314 sed 's/^/| /' conftest.$ac_ext >&5
21316 cat >conftest.$ac_ext <<_ACEOF
21317 /* confdefs.h. */
21318 _ACEOF
21319 cat confdefs.h >>conftest.$ac_ext
21320 cat >>conftest.$ac_ext <<_ACEOF
21321 /* end confdefs.h. */
21322 #ifdef HAVE_SYS_STATVFS_H
21323 #include <sys/statvfs.h>
21324 #endif
21327 main ()
21329 static struct statvfs ac_aggr;
21330 if (sizeof ac_aggr.f_blocks)
21331 return 0;
21333 return 0;
21335 _ACEOF
21336 rm -f conftest.$ac_objext
21337 if { (ac_try="$ac_compile"
21338 case "(($ac_try" in
21339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21340 *) ac_try_echo=$ac_try;;
21341 esac
21342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21343 (eval "$ac_compile") 2>conftest.er1
21344 ac_status=$?
21345 grep -v '^ *+' conftest.er1 >conftest.err
21346 rm -f conftest.er1
21347 cat conftest.err >&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); } &&
21350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21351 { (case "(($ac_try" in
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353 *) ac_try_echo=$ac_try;;
21354 esac
21355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21356 (eval "$ac_try") 2>&5
21357 ac_status=$?
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; } &&
21360 { ac_try='test -s conftest.$ac_objext'
21361 { (case "(($ac_try" in
21362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21363 *) ac_try_echo=$ac_try;;
21364 esac
21365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21366 (eval "$ac_try") 2>&5
21367 ac_status=$?
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; }; then
21370 ac_cv_member_struct_statvfs_f_blocks=yes
21371 else
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21375 ac_cv_member_struct_statvfs_f_blocks=no
21378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21383 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21384 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21385 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21387 cat >>confdefs.h <<_ACEOF
21388 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21389 _ACEOF
21395 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21396 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21397 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21398 echo $ECHO_N "(cached) $ECHO_C" >&6
21399 else
21400 cat >conftest.$ac_ext <<_ACEOF
21401 /* confdefs.h. */
21402 _ACEOF
21403 cat confdefs.h >>conftest.$ac_ext
21404 cat >>conftest.$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21406 #include <sys/types.h>
21407 #ifdef HAVE_SYS_SOCKET_H
21408 # include <sys/socket.h>
21409 #endif
21410 #ifdef HAVE_SYS_UN_H
21411 # include <sys/un.h>
21412 #endif
21415 main ()
21417 static struct msghdr ac_aggr;
21418 if (ac_aggr.msg_accrights)
21419 return 0;
21421 return 0;
21423 _ACEOF
21424 rm -f conftest.$ac_objext
21425 if { (ac_try="$ac_compile"
21426 case "(($ac_try" in
21427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21428 *) ac_try_echo=$ac_try;;
21429 esac
21430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21431 (eval "$ac_compile") 2>conftest.er1
21432 ac_status=$?
21433 grep -v '^ *+' conftest.er1 >conftest.err
21434 rm -f conftest.er1
21435 cat conftest.err >&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21439 { (case "(($ac_try" in
21440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21441 *) ac_try_echo=$ac_try;;
21442 esac
21443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21444 (eval "$ac_try") 2>&5
21445 ac_status=$?
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; } &&
21448 { ac_try='test -s conftest.$ac_objext'
21449 { (case "(($ac_try" in
21450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21451 *) ac_try_echo=$ac_try;;
21452 esac
21453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21454 (eval "$ac_try") 2>&5
21455 ac_status=$?
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); }; }; then
21458 ac_cv_member_struct_msghdr_msg_accrights=yes
21459 else
21460 echo "$as_me: failed program was:" >&5
21461 sed 's/^/| /' conftest.$ac_ext >&5
21463 cat >conftest.$ac_ext <<_ACEOF
21464 /* confdefs.h. */
21465 _ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 #include <sys/types.h>
21470 #ifdef HAVE_SYS_SOCKET_H
21471 # include <sys/socket.h>
21472 #endif
21473 #ifdef HAVE_SYS_UN_H
21474 # include <sys/un.h>
21475 #endif
21478 main ()
21480 static struct msghdr ac_aggr;
21481 if (sizeof ac_aggr.msg_accrights)
21482 return 0;
21484 return 0;
21486 _ACEOF
21487 rm -f conftest.$ac_objext
21488 if { (ac_try="$ac_compile"
21489 case "(($ac_try" in
21490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21491 *) ac_try_echo=$ac_try;;
21492 esac
21493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21494 (eval "$ac_compile") 2>conftest.er1
21495 ac_status=$?
21496 grep -v '^ *+' conftest.er1 >conftest.err
21497 rm -f conftest.er1
21498 cat conftest.err >&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); } &&
21501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21502 { (case "(($ac_try" in
21503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21504 *) ac_try_echo=$ac_try;;
21505 esac
21506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21507 (eval "$ac_try") 2>&5
21508 ac_status=$?
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; } &&
21511 { ac_try='test -s conftest.$ac_objext'
21512 { (case "(($ac_try" in
21513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21514 *) ac_try_echo=$ac_try;;
21515 esac
21516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21517 (eval "$ac_try") 2>&5
21518 ac_status=$?
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); }; }; then
21521 ac_cv_member_struct_msghdr_msg_accrights=yes
21522 else
21523 echo "$as_me: failed program was:" >&5
21524 sed 's/^/| /' conftest.$ac_ext >&5
21526 ac_cv_member_struct_msghdr_msg_accrights=no
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21534 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21535 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21536 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21538 cat >>confdefs.h <<_ACEOF
21539 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21540 _ACEOF
21544 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21545 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21546 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21547 echo $ECHO_N "(cached) $ECHO_C" >&6
21548 else
21549 cat >conftest.$ac_ext <<_ACEOF
21550 /* confdefs.h. */
21551 _ACEOF
21552 cat confdefs.h >>conftest.$ac_ext
21553 cat >>conftest.$ac_ext <<_ACEOF
21554 /* end confdefs.h. */
21555 #include <sys/types.h>
21556 #ifdef HAVE_SYS_SOCKET_H
21557 # include <sys/socket.h>
21558 #endif
21559 #ifdef HAVE_SYS_UN_H
21560 # include <sys/un.h>
21561 #endif
21564 main ()
21566 static struct sockaddr ac_aggr;
21567 if (ac_aggr.sa_len)
21568 return 0;
21570 return 0;
21572 _ACEOF
21573 rm -f conftest.$ac_objext
21574 if { (ac_try="$ac_compile"
21575 case "(($ac_try" in
21576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21577 *) ac_try_echo=$ac_try;;
21578 esac
21579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21580 (eval "$ac_compile") 2>conftest.er1
21581 ac_status=$?
21582 grep -v '^ *+' conftest.er1 >conftest.err
21583 rm -f conftest.er1
21584 cat conftest.err >&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } &&
21587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21588 { (case "(($ac_try" in
21589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21591 esac
21592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_try") 2>&5
21594 ac_status=$?
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); }; } &&
21597 { ac_try='test -s conftest.$ac_objext'
21598 { (case "(($ac_try" in
21599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21600 *) ac_try_echo=$ac_try;;
21601 esac
21602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21603 (eval "$ac_try") 2>&5
21604 ac_status=$?
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; }; then
21607 ac_cv_member_struct_sockaddr_sa_len=yes
21608 else
21609 echo "$as_me: failed program was:" >&5
21610 sed 's/^/| /' conftest.$ac_ext >&5
21612 cat >conftest.$ac_ext <<_ACEOF
21613 /* confdefs.h. */
21614 _ACEOF
21615 cat confdefs.h >>conftest.$ac_ext
21616 cat >>conftest.$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21618 #include <sys/types.h>
21619 #ifdef HAVE_SYS_SOCKET_H
21620 # include <sys/socket.h>
21621 #endif
21622 #ifdef HAVE_SYS_UN_H
21623 # include <sys/un.h>
21624 #endif
21627 main ()
21629 static struct sockaddr ac_aggr;
21630 if (sizeof ac_aggr.sa_len)
21631 return 0;
21633 return 0;
21635 _ACEOF
21636 rm -f conftest.$ac_objext
21637 if { (ac_try="$ac_compile"
21638 case "(($ac_try" in
21639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21640 *) ac_try_echo=$ac_try;;
21641 esac
21642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21643 (eval "$ac_compile") 2>conftest.er1
21644 ac_status=$?
21645 grep -v '^ *+' conftest.er1 >conftest.err
21646 rm -f conftest.er1
21647 cat conftest.err >&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } &&
21650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21651 { (case "(($ac_try" in
21652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21653 *) ac_try_echo=$ac_try;;
21654 esac
21655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21656 (eval "$ac_try") 2>&5
21657 ac_status=$?
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; } &&
21660 { ac_try='test -s conftest.$ac_objext'
21661 { (case "(($ac_try" in
21662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21663 *) ac_try_echo=$ac_try;;
21664 esac
21665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21666 (eval "$ac_try") 2>&5
21667 ac_status=$?
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; }; then
21670 ac_cv_member_struct_sockaddr_sa_len=yes
21671 else
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.$ac_ext >&5
21675 ac_cv_member_struct_sockaddr_sa_len=no
21678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21683 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21684 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21685 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21687 cat >>confdefs.h <<_ACEOF
21688 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21689 _ACEOF
21693 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21694 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21695 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21696 echo $ECHO_N "(cached) $ECHO_C" >&6
21697 else
21698 cat >conftest.$ac_ext <<_ACEOF
21699 /* confdefs.h. */
21700 _ACEOF
21701 cat confdefs.h >>conftest.$ac_ext
21702 cat >>conftest.$ac_ext <<_ACEOF
21703 /* end confdefs.h. */
21704 #include <sys/types.h>
21705 #ifdef HAVE_SYS_SOCKET_H
21706 # include <sys/socket.h>
21707 #endif
21708 #ifdef HAVE_SYS_UN_H
21709 # include <sys/un.h>
21710 #endif
21713 main ()
21715 static struct sockaddr_un ac_aggr;
21716 if (ac_aggr.sun_len)
21717 return 0;
21719 return 0;
21721 _ACEOF
21722 rm -f conftest.$ac_objext
21723 if { (ac_try="$ac_compile"
21724 case "(($ac_try" in
21725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21726 *) ac_try_echo=$ac_try;;
21727 esac
21728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21729 (eval "$ac_compile") 2>conftest.er1
21730 ac_status=$?
21731 grep -v '^ *+' conftest.er1 >conftest.err
21732 rm -f conftest.er1
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } &&
21736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21737 { (case "(($ac_try" in
21738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21739 *) ac_try_echo=$ac_try;;
21740 esac
21741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21742 (eval "$ac_try") 2>&5
21743 ac_status=$?
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); }; } &&
21746 { ac_try='test -s conftest.$ac_objext'
21747 { (case "(($ac_try" in
21748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21749 *) ac_try_echo=$ac_try;;
21750 esac
21751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21752 (eval "$ac_try") 2>&5
21753 ac_status=$?
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); }; }; then
21756 ac_cv_member_struct_sockaddr_un_sun_len=yes
21757 else
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.$ac_ext >&5
21761 cat >conftest.$ac_ext <<_ACEOF
21762 /* confdefs.h. */
21763 _ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 #include <sys/types.h>
21768 #ifdef HAVE_SYS_SOCKET_H
21769 # include <sys/socket.h>
21770 #endif
21771 #ifdef HAVE_SYS_UN_H
21772 # include <sys/un.h>
21773 #endif
21776 main ()
21778 static struct sockaddr_un ac_aggr;
21779 if (sizeof ac_aggr.sun_len)
21780 return 0;
21782 return 0;
21784 _ACEOF
21785 rm -f conftest.$ac_objext
21786 if { (ac_try="$ac_compile"
21787 case "(($ac_try" in
21788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21789 *) ac_try_echo=$ac_try;;
21790 esac
21791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21792 (eval "$ac_compile") 2>conftest.er1
21793 ac_status=$?
21794 grep -v '^ *+' conftest.er1 >conftest.err
21795 rm -f conftest.er1
21796 cat conftest.err >&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); } &&
21799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21800 { (case "(($ac_try" in
21801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21802 *) ac_try_echo=$ac_try;;
21803 esac
21804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21805 (eval "$ac_try") 2>&5
21806 ac_status=$?
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); }; } &&
21809 { ac_try='test -s conftest.$ac_objext'
21810 { (case "(($ac_try" in
21811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21812 *) ac_try_echo=$ac_try;;
21813 esac
21814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21815 (eval "$ac_try") 2>&5
21816 ac_status=$?
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); }; }; then
21819 ac_cv_member_struct_sockaddr_un_sun_len=yes
21820 else
21821 echo "$as_me: failed program was:" >&5
21822 sed 's/^/| /' conftest.$ac_ext >&5
21824 ac_cv_member_struct_sockaddr_un_sun_len=no
21827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21832 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21833 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21834 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21836 cat >>confdefs.h <<_ACEOF
21837 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21838 _ACEOF
21844 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21845 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21846 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21847 echo $ECHO_N "(cached) $ECHO_C" >&6
21848 else
21849 cat >conftest.$ac_ext <<_ACEOF
21850 /* confdefs.h. */
21851 _ACEOF
21852 cat confdefs.h >>conftest.$ac_ext
21853 cat >>conftest.$ac_ext <<_ACEOF
21854 /* end confdefs.h. */
21855 #include <sys/types.h>
21856 #ifdef HAVE_SCSI_SG_H
21857 #include <scsi/sg.h>
21858 #endif
21861 main ()
21863 static scsireq_t ac_aggr;
21864 if (ac_aggr.cmd)
21865 return 0;
21867 return 0;
21869 _ACEOF
21870 rm -f conftest.$ac_objext
21871 if { (ac_try="$ac_compile"
21872 case "(($ac_try" in
21873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21874 *) ac_try_echo=$ac_try;;
21875 esac
21876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21877 (eval "$ac_compile") 2>conftest.er1
21878 ac_status=$?
21879 grep -v '^ *+' conftest.er1 >conftest.err
21880 rm -f conftest.er1
21881 cat conftest.err >&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); } &&
21884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21885 { (case "(($ac_try" in
21886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21887 *) ac_try_echo=$ac_try;;
21888 esac
21889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21890 (eval "$ac_try") 2>&5
21891 ac_status=$?
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); }; } &&
21894 { ac_try='test -s conftest.$ac_objext'
21895 { (case "(($ac_try" in
21896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21897 *) ac_try_echo=$ac_try;;
21898 esac
21899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21900 (eval "$ac_try") 2>&5
21901 ac_status=$?
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); }; }; then
21904 ac_cv_member_scsireq_t_cmd=yes
21905 else
21906 echo "$as_me: failed program was:" >&5
21907 sed 's/^/| /' conftest.$ac_ext >&5
21909 cat >conftest.$ac_ext <<_ACEOF
21910 /* confdefs.h. */
21911 _ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915 #include <sys/types.h>
21916 #ifdef HAVE_SCSI_SG_H
21917 #include <scsi/sg.h>
21918 #endif
21921 main ()
21923 static scsireq_t ac_aggr;
21924 if (sizeof ac_aggr.cmd)
21925 return 0;
21927 return 0;
21929 _ACEOF
21930 rm -f conftest.$ac_objext
21931 if { (ac_try="$ac_compile"
21932 case "(($ac_try" in
21933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21934 *) ac_try_echo=$ac_try;;
21935 esac
21936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21937 (eval "$ac_compile") 2>conftest.er1
21938 ac_status=$?
21939 grep -v '^ *+' conftest.er1 >conftest.err
21940 rm -f conftest.er1
21941 cat conftest.err >&5
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); } &&
21944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21945 { (case "(($ac_try" in
21946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21947 *) ac_try_echo=$ac_try;;
21948 esac
21949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21950 (eval "$ac_try") 2>&5
21951 ac_status=$?
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); }; } &&
21954 { ac_try='test -s conftest.$ac_objext'
21955 { (case "(($ac_try" in
21956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21957 *) ac_try_echo=$ac_try;;
21958 esac
21959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21960 (eval "$ac_try") 2>&5
21961 ac_status=$?
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); }; }; then
21964 ac_cv_member_scsireq_t_cmd=yes
21965 else
21966 echo "$as_me: failed program was:" >&5
21967 sed 's/^/| /' conftest.$ac_ext >&5
21969 ac_cv_member_scsireq_t_cmd=no
21972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21977 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
21978 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
21979 if test $ac_cv_member_scsireq_t_cmd = yes; then
21981 cat >>confdefs.h <<_ACEOF
21982 #define HAVE_SCSIREQ_T_CMD 1
21983 _ACEOF
21987 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
21988 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
21989 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
21990 echo $ECHO_N "(cached) $ECHO_C" >&6
21991 else
21992 cat >conftest.$ac_ext <<_ACEOF
21993 /* confdefs.h. */
21994 _ACEOF
21995 cat confdefs.h >>conftest.$ac_ext
21996 cat >>conftest.$ac_ext <<_ACEOF
21997 /* end confdefs.h. */
21998 #include <sys/types.h>
21999 #ifdef HAVE_SCSI_SG_H
22000 #include <scsi/sg.h>
22001 #endif
22004 main ()
22006 static sg_io_hdr_t ac_aggr;
22007 if (ac_aggr.interface_id)
22008 return 0;
22010 return 0;
22012 _ACEOF
22013 rm -f conftest.$ac_objext
22014 if { (ac_try="$ac_compile"
22015 case "(($ac_try" in
22016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22017 *) ac_try_echo=$ac_try;;
22018 esac
22019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22020 (eval "$ac_compile") 2>conftest.er1
22021 ac_status=$?
22022 grep -v '^ *+' conftest.er1 >conftest.err
22023 rm -f conftest.er1
22024 cat conftest.err >&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); } &&
22027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22028 { (case "(($ac_try" in
22029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22031 esac
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_try") 2>&5
22034 ac_status=$?
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); }; } &&
22037 { ac_try='test -s conftest.$ac_objext'
22038 { (case "(($ac_try" in
22039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22040 *) ac_try_echo=$ac_try;;
22041 esac
22042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22043 (eval "$ac_try") 2>&5
22044 ac_status=$?
22045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22046 (exit $ac_status); }; }; then
22047 ac_cv_member_sg_io_hdr_t_interface_id=yes
22048 else
22049 echo "$as_me: failed program was:" >&5
22050 sed 's/^/| /' conftest.$ac_ext >&5
22052 cat >conftest.$ac_ext <<_ACEOF
22053 /* confdefs.h. */
22054 _ACEOF
22055 cat confdefs.h >>conftest.$ac_ext
22056 cat >>conftest.$ac_ext <<_ACEOF
22057 /* end confdefs.h. */
22058 #include <sys/types.h>
22059 #ifdef HAVE_SCSI_SG_H
22060 #include <scsi/sg.h>
22061 #endif
22064 main ()
22066 static sg_io_hdr_t ac_aggr;
22067 if (sizeof ac_aggr.interface_id)
22068 return 0;
22070 return 0;
22072 _ACEOF
22073 rm -f conftest.$ac_objext
22074 if { (ac_try="$ac_compile"
22075 case "(($ac_try" in
22076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22077 *) ac_try_echo=$ac_try;;
22078 esac
22079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22080 (eval "$ac_compile") 2>conftest.er1
22081 ac_status=$?
22082 grep -v '^ *+' conftest.er1 >conftest.err
22083 rm -f conftest.er1
22084 cat conftest.err >&5
22085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22086 (exit $ac_status); } &&
22087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22088 { (case "(($ac_try" in
22089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22090 *) ac_try_echo=$ac_try;;
22091 esac
22092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22093 (eval "$ac_try") 2>&5
22094 ac_status=$?
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; } &&
22097 { ac_try='test -s conftest.$ac_objext'
22098 { (case "(($ac_try" in
22099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22100 *) ac_try_echo=$ac_try;;
22101 esac
22102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22103 (eval "$ac_try") 2>&5
22104 ac_status=$?
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); }; }; then
22107 ac_cv_member_sg_io_hdr_t_interface_id=yes
22108 else
22109 echo "$as_me: failed program was:" >&5
22110 sed 's/^/| /' conftest.$ac_ext >&5
22112 ac_cv_member_sg_io_hdr_t_interface_id=no
22115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22120 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22121 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22122 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22124 cat >>confdefs.h <<_ACEOF
22125 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22126 _ACEOF
22132 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22133 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22134 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22135 echo $ECHO_N "(cached) $ECHO_C" >&6
22136 else
22137 cat >conftest.$ac_ext <<_ACEOF
22138 /* confdefs.h. */
22139 _ACEOF
22140 cat confdefs.h >>conftest.$ac_ext
22141 cat >>conftest.$ac_ext <<_ACEOF
22142 /* end confdefs.h. */
22143 #include <signal.h>
22146 main ()
22148 static siginfo_t ac_aggr;
22149 if (ac_aggr.si_fd)
22150 return 0;
22152 return 0;
22154 _ACEOF
22155 rm -f conftest.$ac_objext
22156 if { (ac_try="$ac_compile"
22157 case "(($ac_try" in
22158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22159 *) ac_try_echo=$ac_try;;
22160 esac
22161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22162 (eval "$ac_compile") 2>conftest.er1
22163 ac_status=$?
22164 grep -v '^ *+' conftest.er1 >conftest.err
22165 rm -f conftest.er1
22166 cat conftest.err >&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); } &&
22169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22170 { (case "(($ac_try" in
22171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22172 *) ac_try_echo=$ac_try;;
22173 esac
22174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22175 (eval "$ac_try") 2>&5
22176 ac_status=$?
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); }; } &&
22179 { ac_try='test -s conftest.$ac_objext'
22180 { (case "(($ac_try" in
22181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22182 *) ac_try_echo=$ac_try;;
22183 esac
22184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22185 (eval "$ac_try") 2>&5
22186 ac_status=$?
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); }; }; then
22189 ac_cv_member_siginfo_t_si_fd=yes
22190 else
22191 echo "$as_me: failed program was:" >&5
22192 sed 's/^/| /' conftest.$ac_ext >&5
22194 cat >conftest.$ac_ext <<_ACEOF
22195 /* confdefs.h. */
22196 _ACEOF
22197 cat confdefs.h >>conftest.$ac_ext
22198 cat >>conftest.$ac_ext <<_ACEOF
22199 /* end confdefs.h. */
22200 #include <signal.h>
22203 main ()
22205 static siginfo_t ac_aggr;
22206 if (sizeof ac_aggr.si_fd)
22207 return 0;
22209 return 0;
22211 _ACEOF
22212 rm -f conftest.$ac_objext
22213 if { (ac_try="$ac_compile"
22214 case "(($ac_try" in
22215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22216 *) ac_try_echo=$ac_try;;
22217 esac
22218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22219 (eval "$ac_compile") 2>conftest.er1
22220 ac_status=$?
22221 grep -v '^ *+' conftest.er1 >conftest.err
22222 rm -f conftest.er1
22223 cat conftest.err >&5
22224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 (exit $ac_status); } &&
22226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22227 { (case "(($ac_try" in
22228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22229 *) ac_try_echo=$ac_try;;
22230 esac
22231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22232 (eval "$ac_try") 2>&5
22233 ac_status=$?
22234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235 (exit $ac_status); }; } &&
22236 { ac_try='test -s conftest.$ac_objext'
22237 { (case "(($ac_try" in
22238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239 *) ac_try_echo=$ac_try;;
22240 esac
22241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242 (eval "$ac_try") 2>&5
22243 ac_status=$?
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; }; then
22246 ac_cv_member_siginfo_t_si_fd=yes
22247 else
22248 echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.$ac_ext >&5
22251 ac_cv_member_siginfo_t_si_fd=no
22254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22259 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22260 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22261 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22263 cat >>confdefs.h <<_ACEOF
22264 #define HAVE_SIGINFO_T_SI_FD 1
22265 _ACEOF
22271 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22272 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22273 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22274 echo $ECHO_N "(cached) $ECHO_C" >&6
22275 else
22276 cat >conftest.$ac_ext <<_ACEOF
22277 /* confdefs.h. */
22278 _ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22282 #include <sys/types.h>
22283 #ifdef HAVE_SYS_MTIO_H
22284 #include <sys/mtio.h>
22285 #endif
22288 main ()
22290 static struct mtget ac_aggr;
22291 if (ac_aggr.mt_blksiz)
22292 return 0;
22294 return 0;
22296 _ACEOF
22297 rm -f conftest.$ac_objext
22298 if { (ac_try="$ac_compile"
22299 case "(($ac_try" in
22300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22301 *) ac_try_echo=$ac_try;;
22302 esac
22303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22304 (eval "$ac_compile") 2>conftest.er1
22305 ac_status=$?
22306 grep -v '^ *+' conftest.er1 >conftest.err
22307 rm -f conftest.er1
22308 cat conftest.err >&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } &&
22311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22312 { (case "(($ac_try" in
22313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22314 *) ac_try_echo=$ac_try;;
22315 esac
22316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22317 (eval "$ac_try") 2>&5
22318 ac_status=$?
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); }; } &&
22321 { ac_try='test -s conftest.$ac_objext'
22322 { (case "(($ac_try" in
22323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22324 *) ac_try_echo=$ac_try;;
22325 esac
22326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22327 (eval "$ac_try") 2>&5
22328 ac_status=$?
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); }; }; then
22331 ac_cv_member_struct_mtget_mt_blksiz=yes
22332 else
22333 echo "$as_me: failed program was:" >&5
22334 sed 's/^/| /' conftest.$ac_ext >&5
22336 cat >conftest.$ac_ext <<_ACEOF
22337 /* confdefs.h. */
22338 _ACEOF
22339 cat confdefs.h >>conftest.$ac_ext
22340 cat >>conftest.$ac_ext <<_ACEOF
22341 /* end confdefs.h. */
22342 #include <sys/types.h>
22343 #ifdef HAVE_SYS_MTIO_H
22344 #include <sys/mtio.h>
22345 #endif
22348 main ()
22350 static struct mtget ac_aggr;
22351 if (sizeof ac_aggr.mt_blksiz)
22352 return 0;
22354 return 0;
22356 _ACEOF
22357 rm -f conftest.$ac_objext
22358 if { (ac_try="$ac_compile"
22359 case "(($ac_try" in
22360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22361 *) ac_try_echo=$ac_try;;
22362 esac
22363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22364 (eval "$ac_compile") 2>conftest.er1
22365 ac_status=$?
22366 grep -v '^ *+' conftest.er1 >conftest.err
22367 rm -f conftest.er1
22368 cat conftest.err >&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); } &&
22371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22372 { (case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22374 *) ac_try_echo=$ac_try;;
22375 esac
22376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_try") 2>&5
22378 ac_status=$?
22379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380 (exit $ac_status); }; } &&
22381 { ac_try='test -s conftest.$ac_objext'
22382 { (case "(($ac_try" in
22383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22384 *) ac_try_echo=$ac_try;;
22385 esac
22386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22387 (eval "$ac_try") 2>&5
22388 ac_status=$?
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); }; }; then
22391 ac_cv_member_struct_mtget_mt_blksiz=yes
22392 else
22393 echo "$as_me: failed program was:" >&5
22394 sed 's/^/| /' conftest.$ac_ext >&5
22396 ac_cv_member_struct_mtget_mt_blksiz=no
22399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22404 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22405 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22406 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22408 cat >>confdefs.h <<_ACEOF
22409 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22410 _ACEOF
22414 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22415 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22416 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22417 echo $ECHO_N "(cached) $ECHO_C" >&6
22418 else
22419 cat >conftest.$ac_ext <<_ACEOF
22420 /* confdefs.h. */
22421 _ACEOF
22422 cat confdefs.h >>conftest.$ac_ext
22423 cat >>conftest.$ac_ext <<_ACEOF
22424 /* end confdefs.h. */
22425 #include <sys/types.h>
22426 #ifdef HAVE_SYS_MTIO_H
22427 #include <sys/mtio.h>
22428 #endif
22431 main ()
22433 static struct mtget ac_aggr;
22434 if (ac_aggr.mt_gstat)
22435 return 0;
22437 return 0;
22439 _ACEOF
22440 rm -f conftest.$ac_objext
22441 if { (ac_try="$ac_compile"
22442 case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22445 esac
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_compile") 2>conftest.er1
22448 ac_status=$?
22449 grep -v '^ *+' conftest.er1 >conftest.err
22450 rm -f conftest.er1
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } &&
22454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22455 { (case "(($ac_try" in
22456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22457 *) ac_try_echo=$ac_try;;
22458 esac
22459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22460 (eval "$ac_try") 2>&5
22461 ac_status=$?
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; } &&
22464 { ac_try='test -s conftest.$ac_objext'
22465 { (case "(($ac_try" in
22466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22467 *) ac_try_echo=$ac_try;;
22468 esac
22469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470 (eval "$ac_try") 2>&5
22471 ac_status=$?
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22474 ac_cv_member_struct_mtget_mt_gstat=yes
22475 else
22476 echo "$as_me: failed program was:" >&5
22477 sed 's/^/| /' conftest.$ac_ext >&5
22479 cat >conftest.$ac_ext <<_ACEOF
22480 /* confdefs.h. */
22481 _ACEOF
22482 cat confdefs.h >>conftest.$ac_ext
22483 cat >>conftest.$ac_ext <<_ACEOF
22484 /* end confdefs.h. */
22485 #include <sys/types.h>
22486 #ifdef HAVE_SYS_MTIO_H
22487 #include <sys/mtio.h>
22488 #endif
22491 main ()
22493 static struct mtget ac_aggr;
22494 if (sizeof ac_aggr.mt_gstat)
22495 return 0;
22497 return 0;
22499 _ACEOF
22500 rm -f conftest.$ac_objext
22501 if { (ac_try="$ac_compile"
22502 case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22505 esac
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_compile") 2>conftest.er1
22508 ac_status=$?
22509 grep -v '^ *+' conftest.er1 >conftest.err
22510 rm -f conftest.er1
22511 cat conftest.err >&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } &&
22514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22515 { (case "(($ac_try" in
22516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22517 *) ac_try_echo=$ac_try;;
22518 esac
22519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22520 (eval "$ac_try") 2>&5
22521 ac_status=$?
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); }; } &&
22524 { ac_try='test -s conftest.$ac_objext'
22525 { (case "(($ac_try" in
22526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22527 *) ac_try_echo=$ac_try;;
22528 esac
22529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22530 (eval "$ac_try") 2>&5
22531 ac_status=$?
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); }; }; then
22534 ac_cv_member_struct_mtget_mt_gstat=yes
22535 else
22536 echo "$as_me: failed program was:" >&5
22537 sed 's/^/| /' conftest.$ac_ext >&5
22539 ac_cv_member_struct_mtget_mt_gstat=no
22542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22547 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22548 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22549 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22551 cat >>confdefs.h <<_ACEOF
22552 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22553 _ACEOF
22557 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22558 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22559 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22560 echo $ECHO_N "(cached) $ECHO_C" >&6
22561 else
22562 cat >conftest.$ac_ext <<_ACEOF
22563 /* confdefs.h. */
22564 _ACEOF
22565 cat confdefs.h >>conftest.$ac_ext
22566 cat >>conftest.$ac_ext <<_ACEOF
22567 /* end confdefs.h. */
22568 #include <sys/types.h>
22569 #ifdef HAVE_SYS_MTIO_H
22570 #include <sys/mtio.h>
22571 #endif
22574 main ()
22576 static struct mtget ac_aggr;
22577 if (ac_aggr.mt_blkno)
22578 return 0;
22580 return 0;
22582 _ACEOF
22583 rm -f conftest.$ac_objext
22584 if { (ac_try="$ac_compile"
22585 case "(($ac_try" in
22586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22587 *) ac_try_echo=$ac_try;;
22588 esac
22589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22590 (eval "$ac_compile") 2>conftest.er1
22591 ac_status=$?
22592 grep -v '^ *+' conftest.er1 >conftest.err
22593 rm -f conftest.er1
22594 cat conftest.err >&5
22595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596 (exit $ac_status); } &&
22597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22598 { (case "(($ac_try" in
22599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22600 *) ac_try_echo=$ac_try;;
22601 esac
22602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22603 (eval "$ac_try") 2>&5
22604 ac_status=$?
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); }; } &&
22607 { ac_try='test -s conftest.$ac_objext'
22608 { (case "(($ac_try" in
22609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22610 *) ac_try_echo=$ac_try;;
22611 esac
22612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22613 (eval "$ac_try") 2>&5
22614 ac_status=$?
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); }; }; then
22617 ac_cv_member_struct_mtget_mt_blkno=yes
22618 else
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.$ac_ext >&5
22622 cat >conftest.$ac_ext <<_ACEOF
22623 /* confdefs.h. */
22624 _ACEOF
22625 cat confdefs.h >>conftest.$ac_ext
22626 cat >>conftest.$ac_ext <<_ACEOF
22627 /* end confdefs.h. */
22628 #include <sys/types.h>
22629 #ifdef HAVE_SYS_MTIO_H
22630 #include <sys/mtio.h>
22631 #endif
22634 main ()
22636 static struct mtget ac_aggr;
22637 if (sizeof ac_aggr.mt_blkno)
22638 return 0;
22640 return 0;
22642 _ACEOF
22643 rm -f conftest.$ac_objext
22644 if { (ac_try="$ac_compile"
22645 case "(($ac_try" in
22646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22647 *) ac_try_echo=$ac_try;;
22648 esac
22649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22650 (eval "$ac_compile") 2>conftest.er1
22651 ac_status=$?
22652 grep -v '^ *+' conftest.er1 >conftest.err
22653 rm -f conftest.er1
22654 cat conftest.err >&5
22655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656 (exit $ac_status); } &&
22657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22658 { (case "(($ac_try" in
22659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22660 *) ac_try_echo=$ac_try;;
22661 esac
22662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22663 (eval "$ac_try") 2>&5
22664 ac_status=$?
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); }; } &&
22667 { ac_try='test -s conftest.$ac_objext'
22668 { (case "(($ac_try" in
22669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22670 *) ac_try_echo=$ac_try;;
22671 esac
22672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22673 (eval "$ac_try") 2>&5
22674 ac_status=$?
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); }; }; then
22677 ac_cv_member_struct_mtget_mt_blkno=yes
22678 else
22679 echo "$as_me: failed program was:" >&5
22680 sed 's/^/| /' conftest.$ac_ext >&5
22682 ac_cv_member_struct_mtget_mt_blkno=no
22685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22690 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22691 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22692 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22694 cat >>confdefs.h <<_ACEOF
22695 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22696 _ACEOF
22702 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22703 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22704 if test "${ac_cv_member_struct_option_name+set}" = set; then
22705 echo $ECHO_N "(cached) $ECHO_C" >&6
22706 else
22707 cat >conftest.$ac_ext <<_ACEOF
22708 /* confdefs.h. */
22709 _ACEOF
22710 cat confdefs.h >>conftest.$ac_ext
22711 cat >>conftest.$ac_ext <<_ACEOF
22712 /* end confdefs.h. */
22713 #ifdef HAVE_GETOPT_H
22714 #include <getopt.h>
22715 #endif
22718 main ()
22720 static struct option ac_aggr;
22721 if (ac_aggr.name)
22722 return 0;
22724 return 0;
22726 _ACEOF
22727 rm -f conftest.$ac_objext
22728 if { (ac_try="$ac_compile"
22729 case "(($ac_try" in
22730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22731 *) ac_try_echo=$ac_try;;
22732 esac
22733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22734 (eval "$ac_compile") 2>conftest.er1
22735 ac_status=$?
22736 grep -v '^ *+' conftest.er1 >conftest.err
22737 rm -f conftest.er1
22738 cat conftest.err >&5
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); } &&
22741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22742 { (case "(($ac_try" in
22743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22744 *) ac_try_echo=$ac_try;;
22745 esac
22746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22747 (eval "$ac_try") 2>&5
22748 ac_status=$?
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); }; } &&
22751 { ac_try='test -s conftest.$ac_objext'
22752 { (case "(($ac_try" in
22753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22754 *) ac_try_echo=$ac_try;;
22755 esac
22756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22757 (eval "$ac_try") 2>&5
22758 ac_status=$?
22759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760 (exit $ac_status); }; }; then
22761 ac_cv_member_struct_option_name=yes
22762 else
22763 echo "$as_me: failed program was:" >&5
22764 sed 's/^/| /' conftest.$ac_ext >&5
22766 cat >conftest.$ac_ext <<_ACEOF
22767 /* confdefs.h. */
22768 _ACEOF
22769 cat confdefs.h >>conftest.$ac_ext
22770 cat >>conftest.$ac_ext <<_ACEOF
22771 /* end confdefs.h. */
22772 #ifdef HAVE_GETOPT_H
22773 #include <getopt.h>
22774 #endif
22777 main ()
22779 static struct option ac_aggr;
22780 if (sizeof ac_aggr.name)
22781 return 0;
22783 return 0;
22785 _ACEOF
22786 rm -f conftest.$ac_objext
22787 if { (ac_try="$ac_compile"
22788 case "(($ac_try" in
22789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22790 *) ac_try_echo=$ac_try;;
22791 esac
22792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22793 (eval "$ac_compile") 2>conftest.er1
22794 ac_status=$?
22795 grep -v '^ *+' conftest.er1 >conftest.err
22796 rm -f conftest.er1
22797 cat conftest.err >&5
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); } &&
22800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22801 { (case "(($ac_try" in
22802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22803 *) ac_try_echo=$ac_try;;
22804 esac
22805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22806 (eval "$ac_try") 2>&5
22807 ac_status=$?
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); }; } &&
22810 { ac_try='test -s conftest.$ac_objext'
22811 { (case "(($ac_try" in
22812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22813 *) ac_try_echo=$ac_try;;
22814 esac
22815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22816 (eval "$ac_try") 2>&5
22817 ac_status=$?
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; }; then
22820 ac_cv_member_struct_option_name=yes
22821 else
22822 echo "$as_me: failed program was:" >&5
22823 sed 's/^/| /' conftest.$ac_ext >&5
22825 ac_cv_member_struct_option_name=no
22828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22833 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22834 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22835 if test $ac_cv_member_struct_option_name = yes; then
22837 cat >>confdefs.h <<_ACEOF
22838 #define HAVE_STRUCT_OPTION_NAME 1
22839 _ACEOF
22845 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22846 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22847 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22848 echo $ECHO_N "(cached) $ECHO_C" >&6
22849 else
22850 cat >conftest.$ac_ext <<_ACEOF
22851 /* confdefs.h. */
22852 _ACEOF
22853 cat confdefs.h >>conftest.$ac_ext
22854 cat >>conftest.$ac_ext <<_ACEOF
22855 /* end confdefs.h. */
22856 $ac_includes_default
22858 main ()
22860 static struct stat ac_aggr;
22861 if (ac_aggr.st_blocks)
22862 return 0;
22864 return 0;
22866 _ACEOF
22867 rm -f conftest.$ac_objext
22868 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22875 ac_status=$?
22876 grep -v '^ *+' conftest.er1 >conftest.err
22877 rm -f conftest.er1
22878 cat conftest.err >&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); } &&
22881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22882 { (case "(($ac_try" in
22883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22884 *) ac_try_echo=$ac_try;;
22885 esac
22886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22887 (eval "$ac_try") 2>&5
22888 ac_status=$?
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); }; } &&
22891 { ac_try='test -s conftest.$ac_objext'
22892 { (case "(($ac_try" in
22893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22894 *) ac_try_echo=$ac_try;;
22895 esac
22896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22897 (eval "$ac_try") 2>&5
22898 ac_status=$?
22899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22900 (exit $ac_status); }; }; then
22901 ac_cv_member_struct_stat_st_blocks=yes
22902 else
22903 echo "$as_me: failed program was:" >&5
22904 sed 's/^/| /' conftest.$ac_ext >&5
22906 cat >conftest.$ac_ext <<_ACEOF
22907 /* confdefs.h. */
22908 _ACEOF
22909 cat confdefs.h >>conftest.$ac_ext
22910 cat >>conftest.$ac_ext <<_ACEOF
22911 /* end confdefs.h. */
22912 $ac_includes_default
22914 main ()
22916 static struct stat ac_aggr;
22917 if (sizeof ac_aggr.st_blocks)
22918 return 0;
22920 return 0;
22922 _ACEOF
22923 rm -f conftest.$ac_objext
22924 if { (ac_try="$ac_compile"
22925 case "(($ac_try" in
22926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22927 *) ac_try_echo=$ac_try;;
22928 esac
22929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22930 (eval "$ac_compile") 2>conftest.er1
22931 ac_status=$?
22932 grep -v '^ *+' conftest.er1 >conftest.err
22933 rm -f conftest.er1
22934 cat conftest.err >&5
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); } &&
22937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22938 { (case "(($ac_try" in
22939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22940 *) ac_try_echo=$ac_try;;
22941 esac
22942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22943 (eval "$ac_try") 2>&5
22944 ac_status=$?
22945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22946 (exit $ac_status); }; } &&
22947 { ac_try='test -s conftest.$ac_objext'
22948 { (case "(($ac_try" in
22949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22950 *) ac_try_echo=$ac_try;;
22951 esac
22952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22953 (eval "$ac_try") 2>&5
22954 ac_status=$?
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); }; }; then
22957 ac_cv_member_struct_stat_st_blocks=yes
22958 else
22959 echo "$as_me: failed program was:" >&5
22960 sed 's/^/| /' conftest.$ac_ext >&5
22962 ac_cv_member_struct_stat_st_blocks=no
22965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22970 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
22971 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
22972 if test $ac_cv_member_struct_stat_st_blocks = yes; then
22974 cat >>confdefs.h <<_ACEOF
22975 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
22976 _ACEOF
22982 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
22983 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
22984 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
22985 echo $ECHO_N "(cached) $ECHO_C" >&6
22986 else
22987 cat >conftest.$ac_ext <<_ACEOF
22988 /* confdefs.h. */
22989 _ACEOF
22990 cat confdefs.h >>conftest.$ac_ext
22991 cat >>conftest.$ac_ext <<_ACEOF
22992 /* end confdefs.h. */
22993 #ifdef HAVE_SYS_TYPES_H
22994 #include <sys/types.h>
22995 #endif
22996 #ifdef HAVE_NETINET_IN_H
22997 #include <netinet/in.h>
22998 #endif
23001 main ()
23003 static struct sockaddr_in6 ac_aggr;
23004 if (ac_aggr.sin6_scope_id)
23005 return 0;
23007 return 0;
23009 _ACEOF
23010 rm -f conftest.$ac_objext
23011 if { (ac_try="$ac_compile"
23012 case "(($ac_try" in
23013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23014 *) ac_try_echo=$ac_try;;
23015 esac
23016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23017 (eval "$ac_compile") 2>conftest.er1
23018 ac_status=$?
23019 grep -v '^ *+' conftest.er1 >conftest.err
23020 rm -f conftest.er1
23021 cat conftest.err >&5
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); } &&
23024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23025 { (case "(($ac_try" in
23026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23027 *) ac_try_echo=$ac_try;;
23028 esac
23029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23030 (eval "$ac_try") 2>&5
23031 ac_status=$?
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); }; } &&
23034 { ac_try='test -s conftest.$ac_objext'
23035 { (case "(($ac_try" in
23036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23037 *) ac_try_echo=$ac_try;;
23038 esac
23039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23040 (eval "$ac_try") 2>&5
23041 ac_status=$?
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); }; }; then
23044 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23045 else
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.$ac_ext >&5
23049 cat >conftest.$ac_ext <<_ACEOF
23050 /* confdefs.h. */
23051 _ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055 #ifdef HAVE_SYS_TYPES_H
23056 #include <sys/types.h>
23057 #endif
23058 #ifdef HAVE_NETINET_IN_H
23059 #include <netinet/in.h>
23060 #endif
23063 main ()
23065 static struct sockaddr_in6 ac_aggr;
23066 if (sizeof ac_aggr.sin6_scope_id)
23067 return 0;
23069 return 0;
23071 _ACEOF
23072 rm -f conftest.$ac_objext
23073 if { (ac_try="$ac_compile"
23074 case "(($ac_try" in
23075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23076 *) ac_try_echo=$ac_try;;
23077 esac
23078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23079 (eval "$ac_compile") 2>conftest.er1
23080 ac_status=$?
23081 grep -v '^ *+' conftest.er1 >conftest.err
23082 rm -f conftest.er1
23083 cat conftest.err >&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } &&
23086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23087 { (case "(($ac_try" in
23088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23089 *) ac_try_echo=$ac_try;;
23090 esac
23091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23092 (eval "$ac_try") 2>&5
23093 ac_status=$?
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); }; } &&
23096 { ac_try='test -s conftest.$ac_objext'
23097 { (case "(($ac_try" in
23098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23099 *) ac_try_echo=$ac_try;;
23100 esac
23101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23102 (eval "$ac_try") 2>&5
23103 ac_status=$?
23104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23105 (exit $ac_status); }; }; then
23106 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23107 else
23108 echo "$as_me: failed program was:" >&5
23109 sed 's/^/| /' conftest.$ac_ext >&5
23111 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23119 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23120 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23121 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23123 cat >>confdefs.h <<_ACEOF
23124 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23125 _ACEOF
23131 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23132 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23133 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23134 echo $ECHO_N "(cached) $ECHO_C" >&6
23135 else
23136 cat >conftest.$ac_ext <<_ACEOF
23137 /* confdefs.h. */
23138 _ACEOF
23139 cat confdefs.h >>conftest.$ac_ext
23140 cat >>conftest.$ac_ext <<_ACEOF
23141 /* end confdefs.h. */
23142 #ifdef HAVE_SYS_TYPES_H
23143 #include <sys/types.h>
23144 #endif
23145 #ifdef HAVE_NETINET_IN_H
23146 # include <netinet/in.h>
23147 #endif
23148 #ifdef HAVE_ARPA_NAMESER_H
23149 # include <arpa/nameser.h>
23150 #endif
23153 main ()
23155 static ns_msg ac_aggr;
23156 if (ac_aggr._msg_ptr)
23157 return 0;
23159 return 0;
23161 _ACEOF
23162 rm -f conftest.$ac_objext
23163 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23170 ac_status=$?
23171 grep -v '^ *+' conftest.er1 >conftest.err
23172 rm -f conftest.er1
23173 cat conftest.err >&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); } &&
23176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23177 { (case "(($ac_try" in
23178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23179 *) ac_try_echo=$ac_try;;
23180 esac
23181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23182 (eval "$ac_try") 2>&5
23183 ac_status=$?
23184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185 (exit $ac_status); }; } &&
23186 { ac_try='test -s conftest.$ac_objext'
23187 { (case "(($ac_try" in
23188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23189 *) ac_try_echo=$ac_try;;
23190 esac
23191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23192 (eval "$ac_try") 2>&5
23193 ac_status=$?
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); }; }; then
23196 ac_cv_member_ns_msg__msg_ptr=yes
23197 else
23198 echo "$as_me: failed program was:" >&5
23199 sed 's/^/| /' conftest.$ac_ext >&5
23201 cat >conftest.$ac_ext <<_ACEOF
23202 /* confdefs.h. */
23203 _ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207 #ifdef HAVE_SYS_TYPES_H
23208 #include <sys/types.h>
23209 #endif
23210 #ifdef HAVE_NETINET_IN_H
23211 # include <netinet/in.h>
23212 #endif
23213 #ifdef HAVE_ARPA_NAMESER_H
23214 # include <arpa/nameser.h>
23215 #endif
23218 main ()
23220 static ns_msg ac_aggr;
23221 if (sizeof ac_aggr._msg_ptr)
23222 return 0;
23224 return 0;
23226 _ACEOF
23227 rm -f conftest.$ac_objext
23228 if { (ac_try="$ac_compile"
23229 case "(($ac_try" in
23230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23231 *) ac_try_echo=$ac_try;;
23232 esac
23233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23234 (eval "$ac_compile") 2>conftest.er1
23235 ac_status=$?
23236 grep -v '^ *+' conftest.er1 >conftest.err
23237 rm -f conftest.er1
23238 cat conftest.err >&5
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); } &&
23241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23242 { (case "(($ac_try" in
23243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23244 *) ac_try_echo=$ac_try;;
23245 esac
23246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23247 (eval "$ac_try") 2>&5
23248 ac_status=$?
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); }; } &&
23251 { ac_try='test -s conftest.$ac_objext'
23252 { (case "(($ac_try" in
23253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23254 *) ac_try_echo=$ac_try;;
23255 esac
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_try") 2>&5
23258 ac_status=$?
23259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260 (exit $ac_status); }; }; then
23261 ac_cv_member_ns_msg__msg_ptr=yes
23262 else
23263 echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.$ac_ext >&5
23266 ac_cv_member_ns_msg__msg_ptr=no
23269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23274 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23275 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23276 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23278 cat >>confdefs.h <<_ACEOF
23279 #define HAVE_NS_MSG__MSG_PTR 1
23280 _ACEOF
23286 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23287 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23288 if test "${ac_cv_have_timezone+set}" = set; then
23289 echo $ECHO_N "(cached) $ECHO_C" >&6
23290 else
23291 cat >conftest.$ac_ext <<_ACEOF
23292 /* confdefs.h. */
23293 _ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 #include <time.h>
23299 main ()
23301 timezone = 1
23303 return 0;
23305 _ACEOF
23306 rm -f conftest.$ac_objext conftest$ac_exeext
23307 if { (ac_try="$ac_link"
23308 case "(($ac_try" in
23309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23310 *) ac_try_echo=$ac_try;;
23311 esac
23312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23313 (eval "$ac_link") 2>conftest.er1
23314 ac_status=$?
23315 grep -v '^ *+' conftest.er1 >conftest.err
23316 rm -f conftest.er1
23317 cat conftest.err >&5
23318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23319 (exit $ac_status); } &&
23320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23321 { (case "(($ac_try" in
23322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23323 *) ac_try_echo=$ac_try;;
23324 esac
23325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23326 (eval "$ac_try") 2>&5
23327 ac_status=$?
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); }; } &&
23330 { ac_try='test -s conftest$ac_exeext'
23331 { (case "(($ac_try" in
23332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23333 *) ac_try_echo=$ac_try;;
23334 esac
23335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23336 (eval "$ac_try") 2>&5
23337 ac_status=$?
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; }; then
23340 ac_cv_have_timezone="yes"
23341 else
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.$ac_ext >&5
23345 ac_cv_have_timezone="no"
23348 rm -f core conftest.err conftest.$ac_objext \
23349 conftest$ac_exeext conftest.$ac_ext
23351 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23352 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23353 if test "$ac_cv_have_timezone" = "yes"
23354 then
23356 cat >>confdefs.h <<\_ACEOF
23357 #define HAVE_TIMEZONE 1
23358 _ACEOF
23361 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23362 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23363 if test "${ac_cv_have_daylight+set}" = set; then
23364 echo $ECHO_N "(cached) $ECHO_C" >&6
23365 else
23366 cat >conftest.$ac_ext <<_ACEOF
23367 /* confdefs.h. */
23368 _ACEOF
23369 cat confdefs.h >>conftest.$ac_ext
23370 cat >>conftest.$ac_ext <<_ACEOF
23371 /* end confdefs.h. */
23372 #include <time.h>
23374 main ()
23376 daylight = 1
23378 return 0;
23380 _ACEOF
23381 rm -f conftest.$ac_objext conftest$ac_exeext
23382 if { (ac_try="$ac_link"
23383 case "(($ac_try" in
23384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23385 *) ac_try_echo=$ac_try;;
23386 esac
23387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23388 (eval "$ac_link") 2>conftest.er1
23389 ac_status=$?
23390 grep -v '^ *+' conftest.er1 >conftest.err
23391 rm -f conftest.er1
23392 cat conftest.err >&5
23393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23394 (exit $ac_status); } &&
23395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23396 { (case "(($ac_try" in
23397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23398 *) ac_try_echo=$ac_try;;
23399 esac
23400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23401 (eval "$ac_try") 2>&5
23402 ac_status=$?
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); }; } &&
23405 { ac_try='test -s conftest$ac_exeext'
23406 { (case "(($ac_try" in
23407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23408 *) ac_try_echo=$ac_try;;
23409 esac
23410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23411 (eval "$ac_try") 2>&5
23412 ac_status=$?
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); }; }; then
23415 ac_cv_have_daylight="yes"
23416 else
23417 echo "$as_me: failed program was:" >&5
23418 sed 's/^/| /' conftest.$ac_ext >&5
23420 ac_cv_have_daylight="no"
23423 rm -f core conftest.err conftest.$ac_objext \
23424 conftest$ac_exeext conftest.$ac_ext
23426 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23427 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23428 if test "$ac_cv_have_daylight" = "yes"
23429 then
23431 cat >>confdefs.h <<\_ACEOF
23432 #define HAVE_DAYLIGHT 1
23433 _ACEOF
23438 case $host_cpu in
23439 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23440 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23441 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23443 else
23444 cat >conftest.$ac_ext <<_ACEOF
23445 /* confdefs.h. */
23446 _ACEOF
23447 cat confdefs.h >>conftest.$ac_ext
23448 cat >>conftest.$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23450 #ifndef __i386__
23452 #endif
23453 _ACEOF
23454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23455 $EGREP "yes" >/dev/null 2>&1; then
23456 ac_cv_cpp_def___i386__=yes
23457 else
23458 ac_cv_cpp_def___i386__=no
23460 rm -f conftest*
23463 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23464 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23465 if test $ac_cv_cpp_def___i386__ = yes; then
23466 CFLAGS="$CFLAGS -D__i386__"
23467 LINTFLAGS="$LINTFLAGS -D__i386__"
23470 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23471 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23472 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23474 else
23475 cat >conftest.$ac_ext <<_ACEOF
23476 /* confdefs.h. */
23477 _ACEOF
23478 cat confdefs.h >>conftest.$ac_ext
23479 cat >>conftest.$ac_ext <<_ACEOF
23480 /* end confdefs.h. */
23481 #ifndef __x86_64__
23483 #endif
23484 _ACEOF
23485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23486 $EGREP "yes" >/dev/null 2>&1; then
23487 ac_cv_cpp_def___x86_64__=yes
23488 else
23489 ac_cv_cpp_def___x86_64__=no
23491 rm -f conftest*
23494 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23495 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23496 if test $ac_cv_cpp_def___x86_64__ = yes; then
23497 CFLAGS="$CFLAGS -D__x86_64__"
23498 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23501 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
23502 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
23503 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
23504 echo $ECHO_N "(cached) $ECHO_C" >&6
23505 else
23506 cat >conftest.$ac_ext <<_ACEOF
23507 /* confdefs.h. */
23508 _ACEOF
23509 cat confdefs.h >>conftest.$ac_ext
23510 cat >>conftest.$ac_ext <<_ACEOF
23511 /* end confdefs.h. */
23512 #ifndef _WIN64
23514 #endif
23515 _ACEOF
23516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23517 $EGREP "yes" >/dev/null 2>&1; then
23518 ac_cv_cpp_def__WIN64=yes
23519 else
23520 ac_cv_cpp_def__WIN64=no
23522 rm -f conftest*
23525 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
23526 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
23527 if test $ac_cv_cpp_def__WIN64 = yes; then
23528 CFLAGS="$CFLAGS -D_WIN64"
23529 LINTFLAGS="$LINTFLAGS -D_WIN64"
23532 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23533 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23534 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23535 echo $ECHO_N "(cached) $ECHO_C" >&6
23536 else
23537 cat >conftest.$ac_ext <<_ACEOF
23538 /* confdefs.h. */
23539 _ACEOF
23540 cat confdefs.h >>conftest.$ac_ext
23541 cat >>conftest.$ac_ext <<_ACEOF
23542 /* end confdefs.h. */
23543 #ifndef __ALPHA__
23545 #endif
23546 _ACEOF
23547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23548 $EGREP "yes" >/dev/null 2>&1; then
23549 ac_cv_cpp_def___ALPHA__=yes
23550 else
23551 ac_cv_cpp_def___ALPHA__=no
23553 rm -f conftest*
23556 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23557 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23558 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23559 CFLAGS="$CFLAGS -D__ALPHA__"
23560 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23563 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23564 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23565 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23566 echo $ECHO_N "(cached) $ECHO_C" >&6
23567 else
23568 cat >conftest.$ac_ext <<_ACEOF
23569 /* confdefs.h. */
23570 _ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 #ifndef __sparc__
23576 #endif
23577 _ACEOF
23578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23579 $EGREP "yes" >/dev/null 2>&1; then
23580 ac_cv_cpp_def___sparc__=yes
23581 else
23582 ac_cv_cpp_def___sparc__=no
23584 rm -f conftest*
23587 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23588 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23589 if test $ac_cv_cpp_def___sparc__ = yes; then
23590 CFLAGS="$CFLAGS -D__sparc__"
23591 LINTFLAGS="$LINTFLAGS -D__sparc__"
23594 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23595 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23596 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23597 echo $ECHO_N "(cached) $ECHO_C" >&6
23598 else
23599 cat >conftest.$ac_ext <<_ACEOF
23600 /* confdefs.h. */
23601 _ACEOF
23602 cat confdefs.h >>conftest.$ac_ext
23603 cat >>conftest.$ac_ext <<_ACEOF
23604 /* end confdefs.h. */
23605 #ifndef __powerpc__
23607 #endif
23608 _ACEOF
23609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23610 $EGREP "yes" >/dev/null 2>&1; then
23611 ac_cv_cpp_def___powerpc__=yes
23612 else
23613 ac_cv_cpp_def___powerpc__=no
23615 rm -f conftest*
23618 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23619 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23620 if test $ac_cv_cpp_def___powerpc__ = yes; then
23621 CFLAGS="$CFLAGS -D__powerpc__"
23622 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23625 esac
23627 case $host_vendor in
23628 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23629 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23630 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23631 echo $ECHO_N "(cached) $ECHO_C" >&6
23632 else
23633 cat >conftest.$ac_ext <<_ACEOF
23634 /* confdefs.h. */
23635 _ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23639 #ifndef __sun__
23641 #endif
23642 _ACEOF
23643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23644 $EGREP "yes" >/dev/null 2>&1; then
23645 ac_cv_cpp_def___sun__=yes
23646 else
23647 ac_cv_cpp_def___sun__=no
23649 rm -f conftest*
23652 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23653 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23654 if test $ac_cv_cpp_def___sun__ = yes; then
23655 CFLAGS="$CFLAGS -D__sun__"
23656 LINTFLAGS="$LINTFLAGS -D__sun__"
23659 esac
23662 DEPENDENCIES="### Dependencies:
23664 .INIT: Makefile
23665 .BEGIN: Makefile
23666 Makefile: dummy
23667 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23669 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
23670 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
23671 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23672 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23678 ac_config_commands="$ac_config_commands include/stamp-h"
23681 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
23683 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
23685 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
23687 ac_config_commands="$ac_config_commands dlls/user/resources"
23689 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23691 ac_config_commands="$ac_config_commands include/wine"
23694 MAKE_RULES=Make.rules
23697 MAKE_DLL_RULES=dlls/Makedll.rules
23700 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23703 MAKE_TEST_RULES=dlls/Maketest.rules
23706 MAKE_PROG_RULES=programs/Makeprog.rules
23709 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/clusapi/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/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/localspl/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/mscoree/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/nddeapi/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/resutils/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/svrapi/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/wintrust/tests/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/cmd/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/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/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
23712 cat >confcache <<\_ACEOF
23713 # This file is a shell script that caches the results of configure
23714 # tests run on this system so they can be shared between configure
23715 # scripts and configure runs, see configure's option --config-cache.
23716 # It is not useful on other systems. If it contains results you don't
23717 # want to keep, you may remove or edit it.
23719 # config.status only pays attention to the cache file if you give it
23720 # the --recheck option to rerun configure.
23722 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23723 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23724 # following values.
23726 _ACEOF
23728 # The following way of writing the cache mishandles newlines in values,
23729 # but we know of no workaround that is simple, portable, and efficient.
23730 # So, we kill variables containing newlines.
23731 # Ultrix sh set writes to stderr and can't be redirected directly,
23732 # and sets the high bit in the cache file unless we assign to the vars.
23734 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23735 eval ac_val=\$$ac_var
23736 case $ac_val in #(
23737 *${as_nl}*)
23738 case $ac_var in #(
23739 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23740 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23741 esac
23742 case $ac_var in #(
23743 _ | IFS | as_nl) ;; #(
23744 *) $as_unset $ac_var ;;
23745 esac ;;
23746 esac
23747 done
23749 (set) 2>&1 |
23750 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23751 *${as_nl}ac_space=\ *)
23752 # `set' does not quote correctly, so add quotes (double-quote
23753 # substitution turns \\\\ into \\, and sed turns \\ into \).
23754 sed -n \
23755 "s/'/'\\\\''/g;
23756 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23757 ;; #(
23759 # `set' quotes correctly as required by POSIX, so do not add quotes.
23760 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23762 esac |
23763 sort
23765 sed '
23766 /^ac_cv_env_/b end
23767 t clear
23768 :clear
23769 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23770 t end
23771 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23772 :end' >>confcache
23773 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23774 if test -w "$cache_file"; then
23775 test "x$cache_file" != "x/dev/null" &&
23776 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23777 echo "$as_me: updating cache $cache_file" >&6;}
23778 cat confcache >$cache_file
23779 else
23780 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23781 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23784 rm -f confcache
23786 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23787 # Let make expand exec_prefix.
23788 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23790 DEFS=-DHAVE_CONFIG_H
23792 ac_libobjs=
23793 ac_ltlibobjs=
23794 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23795 # 1. Remove the extension, and $U if already installed.
23796 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23797 ac_i=`echo "$ac_i" | sed "$ac_script"`
23798 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23799 # will be set to the directory where LIBOBJS objects are built.
23800 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23801 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23802 done
23803 LIBOBJS=$ac_libobjs
23805 LTLIBOBJS=$ac_ltlibobjs
23809 : ${CONFIG_STATUS=./config.status}
23810 ac_clean_files_save=$ac_clean_files
23811 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23812 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23813 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23814 cat >$CONFIG_STATUS <<_ACEOF
23815 #! $SHELL
23816 # Generated by $as_me.
23817 # Run this file to recreate the current configuration.
23818 # Compiler output produced by configure, useful for debugging
23819 # configure, is in config.log if it exists.
23821 debug=false
23822 ac_cs_recheck=false
23823 ac_cs_silent=false
23824 SHELL=\${CONFIG_SHELL-$SHELL}
23825 _ACEOF
23827 cat >>$CONFIG_STATUS <<\_ACEOF
23828 ## --------------------- ##
23829 ## M4sh Initialization. ##
23830 ## --------------------- ##
23832 # Be Bourne compatible
23833 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23834 emulate sh
23835 NULLCMD=:
23836 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23837 # is contrary to our usage. Disable this feature.
23838 alias -g '${1+"$@"}'='"$@"'
23839 setopt NO_GLOB_SUBST
23840 else
23841 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23843 BIN_SH=xpg4; export BIN_SH # for Tru64
23844 DUALCASE=1; export DUALCASE # for MKS sh
23847 # PATH needs CR
23848 # Avoid depending upon Character Ranges.
23849 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23850 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23851 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23852 as_cr_digits='0123456789'
23853 as_cr_alnum=$as_cr_Letters$as_cr_digits
23855 # The user is always right.
23856 if test "${PATH_SEPARATOR+set}" != set; then
23857 echo "#! /bin/sh" >conf$$.sh
23858 echo "exit 0" >>conf$$.sh
23859 chmod +x conf$$.sh
23860 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23861 PATH_SEPARATOR=';'
23862 else
23863 PATH_SEPARATOR=:
23865 rm -f conf$$.sh
23868 # Support unset when possible.
23869 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23870 as_unset=unset
23871 else
23872 as_unset=false
23876 # IFS
23877 # We need space, tab and new line, in precisely that order. Quoting is
23878 # there to prevent editors from complaining about space-tab.
23879 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23880 # splitting by setting IFS to empty value.)
23881 as_nl='
23883 IFS=" "" $as_nl"
23885 # Find who we are. Look in the path if we contain no directory separator.
23886 case $0 in
23887 *[\\/]* ) as_myself=$0 ;;
23888 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23889 for as_dir in $PATH
23891 IFS=$as_save_IFS
23892 test -z "$as_dir" && as_dir=.
23893 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23894 done
23895 IFS=$as_save_IFS
23898 esac
23899 # We did not find ourselves, most probably we were run as `sh COMMAND'
23900 # in which case we are not to be found in the path.
23901 if test "x$as_myself" = x; then
23902 as_myself=$0
23904 if test ! -f "$as_myself"; then
23905 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23906 { (exit 1); exit 1; }
23909 # Work around bugs in pre-3.0 UWIN ksh.
23910 for as_var in ENV MAIL MAILPATH
23911 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23912 done
23913 PS1='$ '
23914 PS2='> '
23915 PS4='+ '
23917 # NLS nuisances.
23918 for as_var in \
23919 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23920 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23921 LC_TELEPHONE LC_TIME
23923 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23924 eval $as_var=C; export $as_var
23925 else
23926 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23928 done
23930 # Required to use basename.
23931 if expr a : '\(a\)' >/dev/null 2>&1 &&
23932 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23933 as_expr=expr
23934 else
23935 as_expr=false
23938 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23939 as_basename=basename
23940 else
23941 as_basename=false
23945 # Name of the executable.
23946 as_me=`$as_basename -- "$0" ||
23947 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23948 X"$0" : 'X\(//\)$' \| \
23949 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23950 echo X/"$0" |
23951 sed '/^.*\/\([^/][^/]*\)\/*$/{
23952 s//\1/
23955 /^X\/\(\/\/\)$/{
23956 s//\1/
23959 /^X\/\(\/\).*/{
23960 s//\1/
23963 s/.*/./; q'`
23965 # CDPATH.
23966 $as_unset CDPATH
23970 as_lineno_1=$LINENO
23971 as_lineno_2=$LINENO
23972 test "x$as_lineno_1" != "x$as_lineno_2" &&
23973 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23975 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23976 # uniformly replaced by the line number. The first 'sed' inserts a
23977 # line-number line after each line using $LINENO; the second 'sed'
23978 # does the real work. The second script uses 'N' to pair each
23979 # line-number line with the line containing $LINENO, and appends
23980 # trailing '-' during substitution so that $LINENO is not a special
23981 # case at line end.
23982 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23983 # scripts with optimization help from Paolo Bonzini. Blame Lee
23984 # E. McMahon (1931-1989) for sed's syntax. :-)
23985 sed -n '
23987 /[$]LINENO/=
23988 ' <$as_myself |
23989 sed '
23990 s/[$]LINENO.*/&-/
23991 t lineno
23993 :lineno
23995 :loop
23996 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23997 t loop
23998 s/-\n.*//
23999 ' >$as_me.lineno &&
24000 chmod +x "$as_me.lineno" ||
24001 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24002 { (exit 1); exit 1; }; }
24004 # Don't try to exec as it changes $[0], causing all sort of problems
24005 # (the dirname of $[0] is not the place where we might find the
24006 # original and so on. Autoconf is especially sensitive to this).
24007 . "./$as_me.lineno"
24008 # Exit status is that of the last command.
24009 exit
24013 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24014 as_dirname=dirname
24015 else
24016 as_dirname=false
24019 ECHO_C= ECHO_N= ECHO_T=
24020 case `echo -n x` in
24021 -n*)
24022 case `echo 'x\c'` in
24023 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24024 *) ECHO_C='\c';;
24025 esac;;
24027 ECHO_N='-n';;
24028 esac
24030 if expr a : '\(a\)' >/dev/null 2>&1 &&
24031 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24032 as_expr=expr
24033 else
24034 as_expr=false
24037 rm -f conf$$ conf$$.exe conf$$.file
24038 if test -d conf$$.dir; then
24039 rm -f conf$$.dir/conf$$.file
24040 else
24041 rm -f conf$$.dir
24042 mkdir conf$$.dir
24044 echo >conf$$.file
24045 if ln -s conf$$.file conf$$ 2>/dev/null; then
24046 as_ln_s='ln -s'
24047 # ... but there are two gotchas:
24048 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24049 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24050 # In both cases, we have to default to `cp -p'.
24051 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24052 as_ln_s='cp -p'
24053 elif ln conf$$.file conf$$ 2>/dev/null; then
24054 as_ln_s=ln
24055 else
24056 as_ln_s='cp -p'
24058 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24059 rmdir conf$$.dir 2>/dev/null
24061 if mkdir -p . 2>/dev/null; then
24062 as_mkdir_p=:
24063 else
24064 test -d ./-p && rmdir ./-p
24065 as_mkdir_p=false
24068 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24069 # systems may use methods other than mode bits to determine executability.
24070 cat >conf$$.file <<_ASEOF
24071 #! /bin/sh
24072 exit 0
24073 _ASEOF
24074 chmod +x conf$$.file
24075 if test -x conf$$.file >/dev/null 2>&1; then
24076 as_executable_p="test -x"
24077 else
24078 as_executable_p=:
24080 rm -f conf$$.file
24082 # Sed expression to map a string onto a valid CPP name.
24083 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24085 # Sed expression to map a string onto a valid variable name.
24086 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24089 exec 6>&1
24091 # Save the log message, to keep $[0] and so on meaningful, and to
24092 # report actual input values of CONFIG_FILES etc. instead of their
24093 # values after options handling.
24094 ac_log="
24095 This file was extended by Wine $as_me 0.9.23, which was
24096 generated by GNU Autoconf 2.60a. Invocation command line was
24098 CONFIG_FILES = $CONFIG_FILES
24099 CONFIG_HEADERS = $CONFIG_HEADERS
24100 CONFIG_LINKS = $CONFIG_LINKS
24101 CONFIG_COMMANDS = $CONFIG_COMMANDS
24102 $ $0 $@
24104 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24107 _ACEOF
24109 cat >>$CONFIG_STATUS <<_ACEOF
24110 # Files that config.status was made for.
24111 config_files="$ac_config_files"
24112 config_headers="$ac_config_headers"
24113 config_commands="$ac_config_commands"
24115 _ACEOF
24117 cat >>$CONFIG_STATUS <<\_ACEOF
24118 ac_cs_usage="\
24119 \`$as_me' instantiates files from templates according to the
24120 current configuration.
24122 Usage: $0 [OPTIONS] [FILE]...
24124 -h, --help print this help, then exit
24125 -V, --version print version number and configuration settings, then exit
24126 -q, --quiet do not print progress messages
24127 -d, --debug don't remove temporary files
24128 --recheck update $as_me by reconfiguring in the same conditions
24129 --file=FILE[:TEMPLATE]
24130 instantiate the configuration file FILE
24131 --header=FILE[:TEMPLATE]
24132 instantiate the configuration header FILE
24134 Configuration files:
24135 $config_files
24137 Configuration headers:
24138 $config_headers
24140 Configuration commands:
24141 $config_commands
24143 Report bugs to <bug-autoconf@gnu.org>."
24145 _ACEOF
24146 cat >>$CONFIG_STATUS <<_ACEOF
24147 ac_cs_version="\\
24148 Wine config.status 0.9.23
24149 configured by $0, generated by GNU Autoconf 2.60a,
24150 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24152 Copyright (C) 2006 Free Software Foundation, Inc.
24153 This config.status script is free software; the Free Software Foundation
24154 gives unlimited permission to copy, distribute and modify it."
24156 ac_pwd='$ac_pwd'
24157 srcdir='$srcdir'
24158 INSTALL='$INSTALL'
24159 _ACEOF
24161 cat >>$CONFIG_STATUS <<\_ACEOF
24162 # If no file are specified by the user, then we need to provide default
24163 # value. By we need to know if files were specified by the user.
24164 ac_need_defaults=:
24165 while test $# != 0
24167 case $1 in
24168 --*=*)
24169 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24170 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24171 ac_shift=:
24174 ac_option=$1
24175 ac_optarg=$2
24176 ac_shift=shift
24178 esac
24180 case $ac_option in
24181 # Handling of the options.
24182 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24183 ac_cs_recheck=: ;;
24184 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24185 echo "$ac_cs_version"; exit ;;
24186 --debug | --debu | --deb | --de | --d | -d )
24187 debug=: ;;
24188 --file | --fil | --fi | --f )
24189 $ac_shift
24190 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24191 ac_need_defaults=false;;
24192 --header | --heade | --head | --hea )
24193 $ac_shift
24194 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24195 ac_need_defaults=false;;
24196 --he | --h)
24197 # Conflict between --help and --header
24198 { echo "$as_me: error: ambiguous option: $1
24199 Try \`$0 --help' for more information." >&2
24200 { (exit 1); exit 1; }; };;
24201 --help | --hel | -h )
24202 echo "$ac_cs_usage"; exit ;;
24203 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24204 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24205 ac_cs_silent=: ;;
24207 # This is an error.
24208 -*) { echo "$as_me: error: unrecognized option: $1
24209 Try \`$0 --help' for more information." >&2
24210 { (exit 1); exit 1; }; } ;;
24212 *) ac_config_targets="$ac_config_targets $1"
24213 ac_need_defaults=false ;;
24215 esac
24216 shift
24217 done
24219 ac_configure_extra_args=
24221 if $ac_cs_silent; then
24222 exec 6>/dev/null
24223 ac_configure_extra_args="$ac_configure_extra_args --silent"
24226 _ACEOF
24227 cat >>$CONFIG_STATUS <<_ACEOF
24228 if \$ac_cs_recheck; then
24229 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24230 CONFIG_SHELL=$SHELL
24231 export CONFIG_SHELL
24232 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24235 _ACEOF
24236 cat >>$CONFIG_STATUS <<\_ACEOF
24237 exec 5>>config.log
24239 echo
24240 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24241 ## Running $as_me. ##
24242 _ASBOX
24243 echo "$ac_log"
24244 } >&5
24246 _ACEOF
24247 cat >>$CONFIG_STATUS <<_ACEOF
24248 _ACEOF
24250 cat >>$CONFIG_STATUS <<\_ACEOF
24252 # Handling of arguments.
24253 for ac_config_target in $ac_config_targets
24255 case $ac_config_target in
24256 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24257 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24258 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24259 "dlls/gdi/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24260 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24261 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24262 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24263 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24264 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24265 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24266 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24267 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24268 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24269 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24270 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24271 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24272 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24273 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24274 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24275 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24276 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24277 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24278 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24279 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24280 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24281 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24282 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24283 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24284 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24285 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
24286 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24287 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24288 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24289 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24290 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24291 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24292 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24293 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24294 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24295 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24296 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24297 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24298 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24299 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24300 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24301 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24302 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24303 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24304 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24305 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24306 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24307 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24308 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24309 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24310 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24311 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24312 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24313 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24314 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24315 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24316 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24317 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24318 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24319 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24320 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24321 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24322 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24323 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24324 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24325 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24326 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24327 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24328 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24329 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24330 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24331 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24332 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24333 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24334 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24335 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24336 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24337 "dlls/gdi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
24338 "dlls/gdi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24339 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24340 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24341 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24342 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24343 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
24344 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24345 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24346 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24347 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24348 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24349 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24350 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24351 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24352 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24353 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24354 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24355 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24356 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24357 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24358 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24359 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24360 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
24361 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
24362 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24363 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24364 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24365 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24366 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24367 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24368 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24369 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24370 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24371 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24372 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24373 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24374 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24375 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24376 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24377 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24378 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24379 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24380 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24381 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24382 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24383 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
24384 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24385 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24386 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24387 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24388 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24389 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24390 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24391 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24392 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24393 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24394 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24395 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24396 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24397 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24398 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24399 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24400 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24401 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24402 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24403 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24404 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24405 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24406 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
24407 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24408 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24409 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24410 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24411 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24412 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24413 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24414 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24415 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24416 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24417 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24418 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24419 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24420 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24421 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24422 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24423 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24424 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24425 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24426 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24427 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24428 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24429 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24430 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24431 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24432 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24433 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24434 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24435 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
24436 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24437 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24438 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24439 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24440 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24441 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24442 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24443 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24444 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24445 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24446 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24447 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24448 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24449 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24450 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24451 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24452 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24453 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24454 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24455 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24456 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24457 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24458 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24459 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24460 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24461 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24462 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24463 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24464 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24465 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24466 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24467 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24468 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24469 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24470 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24471 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24472 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24473 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24474 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
24475 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24476 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24477 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24478 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24479 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
24480 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24481 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24482 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24483 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24484 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
24485 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24486 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24487 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24488 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24489 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24490 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24491 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24492 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24493 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24494 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
24495 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24496 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24497 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24498 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
24499 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24500 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
24501 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24502 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24503 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24504 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24505 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24506 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24507 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24508 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24509 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24510 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24511 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24512 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24513 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24514 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24515 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24516 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24517 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24518 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24519 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
24520 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24521 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24522 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24523 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24524 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
24525 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
24526 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
24527 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
24528 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
24529 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
24530 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
24531 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
24532 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
24533 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
24534 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
24535 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24536 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
24537 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
24538 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
24539 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
24540 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
24541 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
24542 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
24543 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
24544 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
24545 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
24546 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
24547 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
24548 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24549 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
24550 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
24551 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
24552 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24553 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24554 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
24555 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
24556 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24557 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
24558 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24559 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
24560 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
24561 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24562 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
24563 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
24564 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
24565 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
24566 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
24567 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
24568 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
24569 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
24570 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24571 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
24572 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
24573 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
24574 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
24575 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
24576 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
24578 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24579 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24580 { (exit 1); exit 1; }; };;
24581 esac
24582 done
24585 # If the user did not use the arguments to specify the items to instantiate,
24586 # then the envvar interface is used. Set only those that are not.
24587 # We use the long form for the default assignment because of an extremely
24588 # bizarre bug on SunOS 4.1.3.
24589 if $ac_need_defaults; then
24590 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24591 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24592 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24595 # Have a temporary directory for convenience. Make it in the build tree
24596 # simply because there is no reason against having it here, and in addition,
24597 # creating and moving files from /tmp can sometimes cause problems.
24598 # Hook for its removal unless debugging.
24599 # Note that there is a small window in which the directory will not be cleaned:
24600 # after its creation but before its name has been assigned to `$tmp'.
24601 $debug ||
24603 tmp=
24604 trap 'exit_status=$?
24605 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24607 trap '{ (exit 1); exit 1; }' 1 2 13 15
24609 # Create a (secure) tmp directory for tmp files.
24612 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24613 test -n "$tmp" && test -d "$tmp"
24614 } ||
24616 tmp=./conf$$-$RANDOM
24617 (umask 077 && mkdir "$tmp")
24618 } ||
24620 echo "$me: cannot create a temporary directory in ." >&2
24621 { (exit 1); exit 1; }
24625 # Set up the sed scripts for CONFIG_FILES section.
24628 # No need to generate the scripts if there are no CONFIG_FILES.
24629 # This happens for instance when ./config.status config.h
24630 if test -n "$CONFIG_FILES"; then
24632 _ACEOF
24634 # Create sed commands to just substitute file output variables.
24636 # Remaining file output variables are in a fragment that also has non-file
24637 # output varibles.
24641 ac_delim='%!_!# '
24642 for ac_last_try in false false false false false :; do
24643 cat >conf$$subs.sed <<_ACEOF
24644 SHELL!$SHELL$ac_delim
24645 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24646 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24647 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24648 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24649 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24650 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24651 exec_prefix!$exec_prefix$ac_delim
24652 prefix!$prefix$ac_delim
24653 program_transform_name!$program_transform_name$ac_delim
24654 bindir!$bindir$ac_delim
24655 sbindir!$sbindir$ac_delim
24656 libexecdir!$libexecdir$ac_delim
24657 datarootdir!$datarootdir$ac_delim
24658 datadir!$datadir$ac_delim
24659 sysconfdir!$sysconfdir$ac_delim
24660 sharedstatedir!$sharedstatedir$ac_delim
24661 localstatedir!$localstatedir$ac_delim
24662 includedir!$includedir$ac_delim
24663 oldincludedir!$oldincludedir$ac_delim
24664 docdir!$docdir$ac_delim
24665 infodir!$infodir$ac_delim
24666 htmldir!$htmldir$ac_delim
24667 dvidir!$dvidir$ac_delim
24668 pdfdir!$pdfdir$ac_delim
24669 psdir!$psdir$ac_delim
24670 libdir!$libdir$ac_delim
24671 localedir!$localedir$ac_delim
24672 mandir!$mandir$ac_delim
24673 DEFS!$DEFS$ac_delim
24674 ECHO_C!$ECHO_C$ac_delim
24675 ECHO_N!$ECHO_N$ac_delim
24676 ECHO_T!$ECHO_T$ac_delim
24677 LIBS!$LIBS$ac_delim
24678 build_alias!$build_alias$ac_delim
24679 host_alias!$host_alias$ac_delim
24680 target_alias!$target_alias$ac_delim
24681 build!$build$ac_delim
24682 build_cpu!$build_cpu$ac_delim
24683 build_vendor!$build_vendor$ac_delim
24684 build_os!$build_os$ac_delim
24685 host!$host$ac_delim
24686 host_cpu!$host_cpu$ac_delim
24687 host_vendor!$host_vendor$ac_delim
24688 host_os!$host_os$ac_delim
24689 WIN16_FILES!$WIN16_FILES$ac_delim
24690 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24691 SET_MAKE!$SET_MAKE$ac_delim
24692 CC!$CC$ac_delim
24693 CFLAGS!$CFLAGS$ac_delim
24694 LDFLAGS!$LDFLAGS$ac_delim
24695 CPPFLAGS!$CPPFLAGS$ac_delim
24696 ac_ct_CC!$ac_ct_CC$ac_delim
24697 EXEEXT!$EXEEXT$ac_delim
24698 OBJEXT!$OBJEXT$ac_delim
24699 CXX!$CXX$ac_delim
24700 CXXFLAGS!$CXXFLAGS$ac_delim
24701 ac_ct_CXX!$ac_ct_CXX$ac_delim
24702 CPPBIN!$CPPBIN$ac_delim
24703 TOOLSDIR!$TOOLSDIR$ac_delim
24704 XMKMF!$XMKMF$ac_delim
24705 CPP!$CPP$ac_delim
24706 X_CFLAGS!$X_CFLAGS$ac_delim
24707 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24708 X_LIBS!$X_LIBS$ac_delim
24709 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24710 LEX!$LEX$ac_delim
24711 LEXLIB!$LEXLIB$ac_delim
24712 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24713 XLEX!$XLEX$ac_delim
24714 BISON!$BISON$ac_delim
24715 AS!$AS$ac_delim
24716 ac_ct_AS!$ac_ct_AS$ac_delim
24717 LD!$LD$ac_delim
24718 AR!$AR$ac_delim
24719 RANLIB!$RANLIB$ac_delim
24720 STRIP!$STRIP$ac_delim
24721 WINDRES!$WINDRES$ac_delim
24722 LN_S!$LN_S$ac_delim
24723 LN!$LN$ac_delim
24724 GREP!$GREP$ac_delim
24725 EGREP!$EGREP$ac_delim
24726 _ACEOF
24728 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24729 break
24730 elif $ac_last_try; then
24731 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24732 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24733 { (exit 1); exit 1; }; }
24734 else
24735 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24737 done
24739 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24740 if test -n "$ac_eof"; then
24741 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24742 ac_eof=`expr $ac_eof + 1`
24745 cat >>$CONFIG_STATUS <<_ACEOF
24746 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24747 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24748 /^[ ]*@MAKE_RULES@[ ]*$/{
24749 r $MAKE_RULES
24752 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24753 r $MAKE_DLL_RULES
24756 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24757 r $MAKE_IMPLIB_RULES
24760 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24761 r $MAKE_TEST_RULES
24764 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24765 r $MAKE_PROG_RULES
24768 _ACEOF
24769 sed '
24770 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24771 s/^/s,@/; s/!/@,|#_!!_#|/
24774 s/'"$ac_delim"'$/,g/; t
24775 s/$/\\/; p
24776 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24777 ' >>$CONFIG_STATUS <conf$$subs.sed
24778 rm -f conf$$subs.sed
24779 cat >>$CONFIG_STATUS <<_ACEOF
24780 CEOF$ac_eof
24781 _ACEOF
24784 ac_delim='%!_!# '
24785 for ac_last_try in false false false false false :; do
24786 cat >conf$$subs.sed <<_ACEOF
24787 LDCONFIG!$LDCONFIG$ac_delim
24788 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24789 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24790 INSTALL_DATA!$INSTALL_DATA$ac_delim
24791 LINT!$LINT$ac_delim
24792 LINTFLAGS!$LINTFLAGS$ac_delim
24793 FONTFORGE!$FONTFORGE$ac_delim
24794 PKG_CONFIG!$PKG_CONFIG$ac_delim
24795 PRELINK!$PRELINK$ac_delim
24796 LIBPTHREAD!$LIBPTHREAD$ac_delim
24797 XLIB!$XLIB$ac_delim
24798 XFILES!$XFILES$ac_delim
24799 OPENGLFILES!$OPENGLFILES$ac_delim
24800 GLU32FILES!$GLU32FILES$ac_delim
24801 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24802 GLUT_LIBS!$GLUT_LIBS$ac_delim
24803 GLUT32FILES!$GLUT32FILES$ac_delim
24804 NASLIBS!$NASLIBS$ac_delim
24805 XML2LIBS!$XML2LIBS$ac_delim
24806 XML2INCL!$XML2INCL$ac_delim
24807 XSLTLIBS!$XSLTLIBS$ac_delim
24808 XSLTINCL!$XSLTINCL$ac_delim
24809 HALINCL!$HALINCL$ac_delim
24810 CURSESLIBS!$CURSESLIBS$ac_delim
24811 sane_devel!$sane_devel$ac_delim
24812 SANELIBS!$SANELIBS$ac_delim
24813 SANEINCL!$SANEINCL$ac_delim
24814 gphoto2_devel!$gphoto2_devel$ac_delim
24815 gphoto2port_devel!$gphoto2port_devel$ac_delim
24816 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24817 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24818 ICULIBS!$ICULIBS$ac_delim
24819 RESOLVLIBS!$RESOLVLIBS$ac_delim
24820 LCMSLIBS!$LCMSLIBS$ac_delim
24821 LDAPLIBS!$LDAPLIBS$ac_delim
24822 FREETYPELIBS!$FREETYPELIBS$ac_delim
24823 FREETYPEINCL!$FREETYPEINCL$ac_delim
24824 ft_devel!$ft_devel$ac_delim
24825 ft_devel2!$ft_devel2$ac_delim
24826 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24827 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24828 ARTSLIBS!$ARTSLIBS$ac_delim
24829 ARTSINCL!$ARTSINCL$ac_delim
24830 ESDCONFIG!$ESDCONFIG$ac_delim
24831 ESDLIBS!$ESDLIBS$ac_delim
24832 ESDINCL!$ESDINCL$ac_delim
24833 ALSALIBS!$ALSALIBS$ac_delim
24834 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24835 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24836 BUILTINFLAG!$BUILTINFLAG$ac_delim
24837 DLLEXT!$DLLEXT$ac_delim
24838 DLLFLAGS!$DLLFLAGS$ac_delim
24839 LDSHARED!$LDSHARED$ac_delim
24840 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24841 LIBEXT!$LIBEXT$ac_delim
24842 IMPLIBEXT!$IMPLIBEXT$ac_delim
24843 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24844 DLLTOOL!$DLLTOOL$ac_delim
24845 DLLWRAP!$DLLWRAP$ac_delim
24846 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24847 IOKITLIB!$IOKITLIB$ac_delim
24848 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24849 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24850 COREAUDIO!$COREAUDIO$ac_delim
24851 CROSSTEST!$CROSSTEST$ac_delim
24852 CROSSCC!$CROSSCC$ac_delim
24853 CROSSWINDRES!$CROSSWINDRES$ac_delim
24854 LDPATH!$LDPATH$ac_delim
24855 CRTLIBS!$CRTLIBS$ac_delim
24856 SOCKETLIBS!$SOCKETLIBS$ac_delim
24857 MAIN_BINARY!$MAIN_BINARY$ac_delim
24858 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24859 LDD!$LDD$ac_delim
24860 LIBDL!$LIBDL$ac_delim
24861 LIBPOLL!$LIBPOLL$ac_delim
24862 DEPENDENCIES!$DEPENDENCIES$ac_delim
24863 LIBOBJS!$LIBOBJS$ac_delim
24864 LTLIBOBJS!$LTLIBOBJS$ac_delim
24865 _ACEOF
24867 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
24868 break
24869 elif $ac_last_try; then
24870 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24871 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24872 { (exit 1); exit 1; }; }
24873 else
24874 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24876 done
24878 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24879 if test -n "$ac_eof"; then
24880 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24881 ac_eof=`expr $ac_eof + 1`
24884 cat >>$CONFIG_STATUS <<_ACEOF
24885 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24887 _ACEOF
24888 sed '
24889 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24890 s/^/s,@/; s/!/@,|#_!!_#|/
24893 s/'"$ac_delim"'$/,g/; t
24894 s/$/\\/; p
24895 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24896 ' >>$CONFIG_STATUS <conf$$subs.sed
24897 rm -f conf$$subs.sed
24898 cat >>$CONFIG_STATUS <<_ACEOF
24899 :end
24900 s/|#_!!_#|//g
24901 CEOF$ac_eof
24902 _ACEOF
24905 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24906 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24907 # trailing colons and then remove the whole line if VPATH becomes empty
24908 # (actually we leave an empty line to preserve line numbers).
24909 if test "x$srcdir" = x.; then
24910 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24911 s/:*\$(srcdir):*/:/
24912 s/:*\${srcdir}:*/:/
24913 s/:*@srcdir@:*/:/
24914 s/^\([^=]*=[ ]*\):*/\1/
24915 s/:*$//
24916 s/^[^=]*=[ ]*$//
24920 cat >>$CONFIG_STATUS <<\_ACEOF
24921 fi # test -n "$CONFIG_FILES"
24924 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24926 case $ac_tag in
24927 :[FHLC]) ac_mode=$ac_tag; continue;;
24928 esac
24929 case $ac_mode$ac_tag in
24930 :[FHL]*:*);;
24931 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24932 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24933 { (exit 1); exit 1; }; };;
24934 :[FH]-) ac_tag=-:-;;
24935 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24936 esac
24937 ac_save_IFS=$IFS
24938 IFS=:
24939 set x $ac_tag
24940 IFS=$ac_save_IFS
24941 shift
24942 ac_file=$1
24943 shift
24945 case $ac_mode in
24946 :L) ac_source=$1;;
24947 :[FH])
24948 ac_file_inputs=
24949 for ac_f
24951 case $ac_f in
24952 -) ac_f="$tmp/stdin";;
24953 *) # Look for the file first in the build tree, then in the source tree
24954 # (if the path is not absolute). The absolute path cannot be DOS-style,
24955 # because $ac_f cannot contain `:'.
24956 test -f "$ac_f" ||
24957 case $ac_f in
24958 [\\/$]*) false;;
24959 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24960 esac ||
24961 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24962 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24963 { (exit 1); exit 1; }; };;
24964 esac
24965 ac_file_inputs="$ac_file_inputs $ac_f"
24966 done
24968 # Let's still pretend it is `configure' which instantiates (i.e., don't
24969 # use $as_me), people would be surprised to read:
24970 # /* config.h. Generated by config.status. */
24971 configure_input="Generated from "`IFS=:
24972 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24973 if test x"$ac_file" != x-; then
24974 configure_input="$ac_file. $configure_input"
24975 { echo "$as_me:$LINENO: creating $ac_file" >&5
24976 echo "$as_me: creating $ac_file" >&6;}
24979 case $ac_tag in
24980 *:-:* | *:-) cat >"$tmp/stdin";;
24981 esac
24983 esac
24985 ac_dir=`$as_dirname -- "$ac_file" ||
24986 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24987 X"$ac_file" : 'X\(//\)[^/]' \| \
24988 X"$ac_file" : 'X\(//\)$' \| \
24989 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24990 echo X"$ac_file" |
24991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24992 s//\1/
24995 /^X\(\/\/\)[^/].*/{
24996 s//\1/
24999 /^X\(\/\/\)$/{
25000 s//\1/
25003 /^X\(\/\).*/{
25004 s//\1/
25007 s/.*/./; q'`
25008 { as_dir="$ac_dir"
25009 case $as_dir in #(
25010 -*) as_dir=./$as_dir;;
25011 esac
25012 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25013 as_dirs=
25014 while :; do
25015 case $as_dir in #(
25016 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25017 *) as_qdir=$as_dir;;
25018 esac
25019 as_dirs="'$as_qdir' $as_dirs"
25020 as_dir=`$as_dirname -- "$as_dir" ||
25021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25022 X"$as_dir" : 'X\(//\)[^/]' \| \
25023 X"$as_dir" : 'X\(//\)$' \| \
25024 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25025 echo X"$as_dir" |
25026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25027 s//\1/
25030 /^X\(\/\/\)[^/].*/{
25031 s//\1/
25034 /^X\(\/\/\)$/{
25035 s//\1/
25038 /^X\(\/\).*/{
25039 s//\1/
25042 s/.*/./; q'`
25043 test -d "$as_dir" && break
25044 done
25045 test -z "$as_dirs" || eval "mkdir $as_dirs"
25046 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25047 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25048 { (exit 1); exit 1; }; }; }
25049 ac_builddir=.
25051 case "$ac_dir" in
25052 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25054 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25055 # A ".." for each directory in $ac_dir_suffix.
25056 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25057 case $ac_top_builddir_sub in
25058 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25059 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25060 esac ;;
25061 esac
25062 ac_abs_top_builddir=$ac_pwd
25063 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25064 # for backward compatibility:
25065 ac_top_builddir=$ac_top_build_prefix
25067 case $srcdir in
25068 .) # We are building in place.
25069 ac_srcdir=.
25070 ac_top_srcdir=$ac_top_builddir_sub
25071 ac_abs_top_srcdir=$ac_pwd ;;
25072 [\\/]* | ?:[\\/]* ) # Absolute name.
25073 ac_srcdir=$srcdir$ac_dir_suffix;
25074 ac_top_srcdir=$srcdir
25075 ac_abs_top_srcdir=$srcdir ;;
25076 *) # Relative name.
25077 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25078 ac_top_srcdir=$ac_top_build_prefix$srcdir
25079 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25080 esac
25081 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25084 case $ac_mode in
25087 # CONFIG_FILE
25090 case $INSTALL in
25091 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25092 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25093 esac
25094 _ACEOF
25096 cat >>$CONFIG_STATUS <<\_ACEOF
25097 # If the template does not know about datarootdir, expand it.
25098 # FIXME: This hack should be removed a few years after 2.60.
25099 ac_datarootdir_hack=; ac_datarootdir_seen=
25101 case `sed -n '/datarootdir/ {
25105 /@datadir@/p
25106 /@docdir@/p
25107 /@infodir@/p
25108 /@localedir@/p
25109 /@mandir@/p
25110 ' $ac_file_inputs` in
25111 *datarootdir*) ac_datarootdir_seen=yes;;
25112 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25113 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25114 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25115 _ACEOF
25116 cat >>$CONFIG_STATUS <<_ACEOF
25117 ac_datarootdir_hack='
25118 s&@datadir@&$datadir&g
25119 s&@docdir@&$docdir&g
25120 s&@infodir@&$infodir&g
25121 s&@localedir@&$localedir&g
25122 s&@mandir@&$mandir&g
25123 s&\\\${datarootdir}&$datarootdir&g' ;;
25124 esac
25125 _ACEOF
25127 # Neutralize VPATH when `$srcdir' = `.'.
25128 # Shell code in configure.ac might set extrasub.
25129 # FIXME: do we really want to maintain this feature?
25130 cat >>$CONFIG_STATUS <<_ACEOF
25131 sed "$ac_vpsub
25132 $extrasub
25133 _ACEOF
25134 cat >>$CONFIG_STATUS <<\_ACEOF
25136 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25137 s&@configure_input@&$configure_input&;t t
25138 s&@top_builddir@&$ac_top_builddir_sub&;t t
25139 s&@srcdir@&$ac_srcdir&;t t
25140 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25141 s&@top_srcdir@&$ac_top_srcdir&;t t
25142 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25143 s&@builddir@&$ac_builddir&;t t
25144 s&@abs_builddir@&$ac_abs_builddir&;t t
25145 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25146 s&@INSTALL@&$ac_INSTALL&;t t
25147 $ac_datarootdir_hack
25148 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25150 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25151 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25152 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25153 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25154 which seems to be undefined. Please make sure it is defined." >&5
25155 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25156 which seems to be undefined. Please make sure it is defined." >&2;}
25158 rm -f "$tmp/stdin"
25159 case $ac_file in
25160 -) cat "$tmp/out"; rm -f "$tmp/out";;
25161 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25162 esac
25166 # CONFIG_HEADER
25168 _ACEOF
25170 # Transform confdefs.h into a sed script `conftest.defines', that
25171 # substitutes the proper values into config.h.in to produce config.h.
25172 rm -f conftest.defines conftest.tail
25173 # First, append a space to every undef/define line, to ease matching.
25174 echo 's/$/ /' >conftest.defines
25175 # Then, protect against being on the right side of a sed subst, or in
25176 # an unquoted here document, in config.status. If some macros were
25177 # called several times there might be several #defines for the same
25178 # symbol, which is useless. But do not sort them, since the last
25179 # AC_DEFINE must be honored.
25180 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25181 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25182 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25183 # PARAMS is the parameter list in the macro definition--in most cases, it's
25184 # just an empty string.
25185 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25186 ac_dB='\\)[ (].*,\\1define\\2'
25187 ac_dC=' '
25188 ac_dD=' ,'
25190 uniq confdefs.h |
25191 sed -n '
25192 t rset
25193 :rset
25194 s/^[ ]*#[ ]*define[ ][ ]*//
25195 t ok
25198 s/[\\&,]/\\&/g
25199 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25200 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25201 ' >>conftest.defines
25203 # Remove the space that was appended to ease matching.
25204 # Then replace #undef with comments. This is necessary, for
25205 # example, in the case of _POSIX_SOURCE, which is predefined and required
25206 # on some systems where configure will not decide to define it.
25207 # (The regexp can be short, since the line contains either #define or #undef.)
25208 echo 's/ $//
25209 s,^[ #]*u.*,/* & */,' >>conftest.defines
25211 # Break up conftest.defines:
25212 ac_max_sed_lines=50
25214 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25215 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25216 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25217 # et cetera.
25218 ac_in='$ac_file_inputs'
25219 ac_out='"$tmp/out1"'
25220 ac_nxt='"$tmp/out2"'
25222 while :
25224 # Write a here document:
25225 cat >>$CONFIG_STATUS <<_ACEOF
25226 # First, check the format of the line:
25227 cat >"\$tmp/defines.sed" <<\\CEOF
25228 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25229 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25231 :def
25232 _ACEOF
25233 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25234 echo 'CEOF
25235 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25236 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25237 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25238 grep . conftest.tail >/dev/null || break
25239 rm -f conftest.defines
25240 mv conftest.tail conftest.defines
25241 done
25242 rm -f conftest.defines conftest.tail
25244 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25245 cat >>$CONFIG_STATUS <<\_ACEOF
25246 if test x"$ac_file" != x-; then
25247 echo "/* $configure_input */" >"$tmp/config.h"
25248 cat "$ac_result" >>"$tmp/config.h"
25249 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25250 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25251 echo "$as_me: $ac_file is unchanged" >&6;}
25252 else
25253 rm -f $ac_file
25254 mv "$tmp/config.h" $ac_file
25256 else
25257 echo "/* $configure_input */"
25258 cat "$ac_result"
25260 rm -f "$tmp/out12"
25263 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25264 echo "$as_me: executing $ac_file commands" >&6;}
25266 esac
25269 case $ac_file$ac_mode in
25270 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
25271 "dlls/gdi/enhmfdrv":C) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25272 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
25273 "dlls/gdi/mfdrv":C) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25274 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
25275 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25276 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
25277 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25278 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25279 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25280 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25281 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25282 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25284 esac
25285 done # for ac_tag
25288 { (exit 0); exit 0; }
25289 _ACEOF
25290 chmod +x $CONFIG_STATUS
25291 ac_clean_files=$ac_clean_files_save
25294 # configure is writing to config.log, and then calls config.status.
25295 # config.status does its own redirection, appending to config.log.
25296 # Unfortunately, on DOS this fails, as config.log is still kept open
25297 # by configure, so config.status won't be able to write to it; its
25298 # output is simply discarded. So we exec the FD to /dev/null,
25299 # effectively closing config.log, so it can be properly (re)opened and
25300 # appended to by config.status. When coming back to configure, we
25301 # need to make the FD available again.
25302 if test "$no_create" != yes; then
25303 ac_cs_success=:
25304 ac_config_status_args=
25305 test "$silent" = yes &&
25306 ac_config_status_args="$ac_config_status_args --quiet"
25307 exec 5>/dev/null
25308 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25309 exec 5>>config.log
25310 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25311 # would make configure fail if this is the last instruction.
25312 $ac_cs_success || { (exit 1); exit 1; }
25317 if test "$no_create" = "yes"
25318 then
25319 exit 0
25322 if test "$verbose" = "yes"
25323 then
25324 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25325 then
25326 echo >&2
25327 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25328 echo "$as_me: libcapi20 development files not found." >&6;}
25329 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25330 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25333 if test "$ac_cv_header_cups_cups_h" != "yes"
25334 then
25335 echo >&2
25336 { echo "$as_me:$LINENO: libcups development files not found." >&5
25337 echo "$as_me: libcups development files not found." >&6;}
25338 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25339 echo "$as_me: Wine will be built without CUPS support." >&6;}
25343 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25344 then
25345 echo >&2
25346 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25347 echo "$as_me: libgphoto2 development files not found." >&6;}
25348 if test "$ac_cv_header_sane_sane_h" = "yes"
25349 then
25350 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25351 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25352 else
25353 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25354 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25358 if test "$ac_cv_header_hal_libhal_h" != "yes"
25359 then
25360 echo >&2
25361 { echo "$as_me:$LINENO: libhal development files not found." >&5
25362 echo "$as_me: libhal development files not found." >&6;}
25363 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25364 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25367 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25368 then
25369 echo >&2
25370 { echo "$as_me:$LINENO: libicu development files not found." >&5
25371 echo "$as_me: libicu development files not found." >&6;}
25372 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25373 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25376 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25377 then
25378 echo >&2
25379 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25380 echo "$as_me: liblcms development files not found." >&6;}
25381 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25382 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25385 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25386 then
25387 echo >&2
25388 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25389 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25390 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25391 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25394 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25395 then
25396 echo >&2
25397 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25398 echo "$as_me: lib(n)curses development files not found." >&6;}
25399 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25400 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25403 if test "$ac_cv_header_sane_sane_h" != "yes"
25404 then
25405 echo >&2
25406 { echo "$as_me:$LINENO: libsane development files not found." >&5
25407 echo "$as_me: libsane development files not found." >&6;}
25408 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25409 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25412 if test "$have_x" = "yes"
25413 then
25414 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25415 then
25416 echo >&2
25417 { echo "$as_me:$LINENO: libxext development files not found." >&5
25418 echo "$as_me: libxext development files not found." >&6;}
25419 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25420 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25423 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25424 then
25425 echo >&2
25426 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25427 echo "$as_me: libXrandr development files not found." >&6;}
25428 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25429 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25432 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25433 then
25434 echo >&2
25435 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25436 echo "$as_me: libXrender development files not found." >&6;}
25437 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25438 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25441 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25442 then
25443 echo >&2
25444 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25445 echo "$as_me: libXxf86vm development files not found." >&6;}
25446 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25447 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25451 if test "$ac_cv_header_libxml_parser_h" != "yes"
25452 then
25453 echo >&2
25454 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25455 echo "$as_me: libxml2 development files not found." >&6;}
25456 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25457 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25460 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25461 then
25462 echo >&2
25463 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25464 echo "$as_me: libxslt development files not found." >&6;}
25465 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25466 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25471 if test "$have_x" = "no"
25472 then
25473 echo >&2
25474 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25475 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25476 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25477 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25478 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25479 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25480 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25481 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25484 if test -z "$OPENGLFILES"
25485 then
25486 echo >&2
25487 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25488 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25489 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25490 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25491 if test "$wine_cv_opengl_headers_found" = "no"
25492 then
25493 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25494 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25496 if test "$wine_cv_opengl_header_version_OK" = "no"
25497 then
25498 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25499 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25500 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
25501 then
25502 if test -f /usr/X11R6/lib/libGL.a
25503 then
25504 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25505 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
25506 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25507 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
25508 else
25509 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25510 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25515 if test "$wine_cv_msg_freetype" = "yes"
25516 then
25517 echo >&2
25518 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25519 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25520 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25521 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25522 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25523 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25524 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25525 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25528 if test -z "$FONTSSUBDIRS"
25529 then
25530 echo >&2
25531 if test "$FONTFORGE" = "false"
25532 then
25533 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25534 echo "$as_me: WARNING: FontForge is missing." >&2;}
25535 else
25536 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25537 echo "$as_me: WARNING: FreeType is missing." >&2;}
25539 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25540 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25543 if test -z "$ALSALIBS" -a \
25544 -z "$ARTSC_LIBS" -a \
25545 -z "$AUDIOIOLIBS" -a \
25546 -z "$NASLIBS" -a \
25547 -z "$ESD_LIBS" -a \
25548 -z "$ac_cv_lib_soname_jack" -a \
25549 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25550 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25551 "$ac_cv_header_soundcard_h" != "yes"
25552 then
25553 echo >&2
25554 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25555 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25556 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25557 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25558 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25559 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25562 echo
25563 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
25564 echo