widl: Calculate method indices in parser instead of during header generation.
[wine/winequartzdrv.git] / configure
blobc2e0a9c3729f99e1a2d2f790b1a00562bb1781c9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.19.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
48 rm -f conf$$.sh
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
59 # IFS
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
64 as_nl='
66 IFS=" "" $as_nl"
68 # Find who we are. Look in the path if we contain no directory separator.
69 case $0 in
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72 for as_dir in $PATH
74 IFS=$as_save_IFS
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77 done
78 IFS=$as_save_IFS
81 esac
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x; then
85 as_myself=$0
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
89 { (exit 1); exit 1; }
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
95 done
96 PS1='$ '
97 PS2='> '
98 PS4='+ '
100 # NLS nuisances.
101 for as_var in \
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 LC_TELEPHONE LC_TIME
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
108 else
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 done
113 # Required to use basename.
114 if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
116 as_expr=expr
117 else
118 as_expr=false
121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
122 as_basename=basename
123 else
124 as_basename=false
128 # Name of the executable.
129 as_me=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133 echo X/"$0" |
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
135 s//\1/
138 /^X\/\(\/\/\)$/{
139 s//\1/
142 /^X\/\(\/\).*/{
143 s//\1/
146 s/.*/./; q'`
148 # CDPATH.
149 $as_unset CDPATH
152 if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
154 as_have_required=yes
155 else
156 as_have_required=no
159 if test $as_have_required = yes && (eval ":
160 (as_func_return () {
161 (exit \$1)
163 as_func_success () {
164 as_func_return 0
166 as_func_failure () {
167 as_func_return 1
169 as_func_ret_success () {
170 return 0
172 as_func_ret_failure () {
173 return 1
176 exitcode=0
177 if as_func_success; then
179 else
180 exitcode=1
181 echo as_func_success failed.
184 if as_func_failure; then
185 exitcode=1
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
191 else
192 exitcode=1
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
197 exitcode=1
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 else
204 exitcode=1
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
211 as_lineno_1=\$LINENO
212 as_lineno_2=\$LINENO
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev/null; then
217 else
218 as_candidate_shells=
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 case $as_dir in
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
228 done;;
229 esac
230 done
231 IFS=$as_save_IFS
234 for as_shell in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev/null <<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 BIN_SH=xpg4; export BIN_SH # for Tru64
250 DUALCASE=1; export DUALCASE # for MKS sh
253 _ASEOF
254 }; then
255 CONFIG_SHELL=$as_shell
256 as_have_required=yes
257 if { "$as_shell" 2> /dev/null <<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266 else
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 BIN_SH=xpg4; export BIN_SH # for Tru64
270 DUALCASE=1; export DUALCASE # for MKS sh
273 (as_func_return () {
274 (exit $1)
276 as_func_success () {
277 as_func_return 0
279 as_func_failure () {
280 as_func_return 1
282 as_func_ret_success () {
283 return 0
285 as_func_ret_failure () {
286 return 1
289 exitcode=0
290 if as_func_success; then
292 else
293 exitcode=1
294 echo as_func_success failed.
297 if as_func_failure; then
298 exitcode=1
299 echo as_func_failure succeeded.
302 if as_func_ret_success; then
304 else
305 exitcode=1
306 echo as_func_ret_success failed.
309 if as_func_ret_failure; then
310 exitcode=1
311 echo as_func_ret_failure succeeded.
314 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 else
317 exitcode=1
318 echo positional parameters were not saved.
321 test $exitcode = 0) || { (exit 1); exit 1; }
324 as_lineno_1=$LINENO
325 as_lineno_2=$LINENO
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
329 _ASEOF
330 }; then
331 break
336 done
338 if test "x$CONFIG_SHELL" != x; then
339 for as_var in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 done
342 export CONFIG_SHELL
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no; then
348 echo This script requires a shell more modern than all the
349 echo shells that I found on your system. Please install a
350 echo modern shell, or manually run the script under such a
351 echo shell if you do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
363 (exit \$1)
365 as_func_success () {
366 as_func_return 0
368 as_func_failure () {
369 as_func_return 1
371 as_func_ret_success () {
372 return 0
374 as_func_ret_failure () {
375 return 1
378 exitcode=0
379 if as_func_success; then
381 else
382 exitcode=1
383 echo as_func_success failed.
386 if as_func_failure; then
387 exitcode=1
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
393 else
394 exitcode=1
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
399 exitcode=1
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 else
406 exitcode=1
407 echo positional parameters were not saved.
410 test \$exitcode = 0") || {
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system,
413 echo including any error possibly output before this
414 echo message
419 as_lineno_1=$LINENO
420 as_lineno_2=$LINENO
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
430 # case at line end.
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
442 :lineno
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
456 . "./$as_me.lineno"
457 # Exit status is that of the last command.
458 exit
462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
463 as_dirname=dirname
464 else
465 as_dirname=false
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in
470 -n*)
471 case `echo 'x\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
473 *) ECHO_C='\c';;
474 esac;;
476 ECHO_N='-n';;
477 esac
479 if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
481 as_expr=expr
482 else
483 as_expr=false
486 rm -f conf$$ conf$$.exe conf$$.file
487 if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
489 else
490 rm -f conf$$.dir
491 mkdir conf$$.dir
493 echo >conf$$.file
494 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 as_ln_s='ln -s'
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 as_ln_s='cp -p'
502 elif ln conf$$.file conf$$ 2>/dev/null; then
503 as_ln_s=ln
504 else
505 as_ln_s='cp -p'
507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508 rmdir conf$$.dir 2>/dev/null
510 if mkdir -p . 2>/dev/null; then
511 as_mkdir_p=:
512 else
513 test -d ./-p && rmdir ./-p
514 as_mkdir_p=false
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.file <<_ASEOF
520 #! /bin/sh
521 exit 0
522 _ASEOF
523 chmod +x conf$$.file
524 if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
526 else
527 as_executable_p=:
529 rm -f conf$$.file
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev/null 6>&1
541 # Name of the host.
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 # Initializations.
549 ac_default_prefix=/usr/local
550 ac_clean_files=
551 ac_config_libobj_dir=.
552 LIBOBJS=
553 cross_compiling=no
554 subdirs=
555 MFLAGS=
556 MAKEFLAGS=
557 SHELL=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
560 PACKAGE_NAME='Wine'
561 PACKAGE_TARNAME='wine'
562 PACKAGE_VERSION='0.9.19'
563 PACKAGE_STRING='Wine 0.9.19'
564 PACKAGE_BUGREPORT='wine-devel@winehq.org'
566 ac_unique_file="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default="\
569 #include <stdio.h>
570 #if HAVE_SYS_TYPES_H
571 # include <sys/types.h>
572 #endif
573 #if HAVE_SYS_STAT_H
574 # include <sys/stat.h>
575 #endif
576 #if STDC_HEADERS
577 # include <stdlib.h>
578 # include <stddef.h>
579 #else
580 # if HAVE_STDLIB_H
581 # include <stdlib.h>
582 # endif
583 #endif
584 #if HAVE_STRING_H
585 # if !STDC_HEADERS && HAVE_MEMORY_H
586 # include <memory.h>
587 # endif
588 # include <string.h>
589 #endif
590 #if HAVE_STRINGS_H
591 # include <strings.h>
592 #endif
593 #if HAVE_INTTYPES_H
594 # include <inttypes.h>
595 #endif
596 #if HAVE_STDINT_H
597 # include <stdint.h>
598 #endif
599 #if HAVE_UNISTD_H
600 # include <unistd.h>
601 #endif"
603 ac_subst_vars='SHELL
604 PATH_SEPARATOR
605 PACKAGE_NAME
606 PACKAGE_TARNAME
607 PACKAGE_VERSION
608 PACKAGE_STRING
609 PACKAGE_BUGREPORT
610 exec_prefix
611 prefix
612 program_transform_name
613 bindir
614 sbindir
615 libexecdir
616 datarootdir
617 datadir
618 sysconfdir
619 sharedstatedir
620 localstatedir
621 includedir
622 oldincludedir
623 docdir
624 infodir
625 htmldir
626 dvidir
627 pdfdir
628 psdir
629 libdir
630 localedir
631 mandir
632 DEFS
633 ECHO_C
634 ECHO_N
635 ECHO_T
636 LIBS
637 build_alias
638 host_alias
639 target_alias
640 build
641 build_cpu
642 build_vendor
643 build_os
644 host
645 host_cpu
646 host_vendor
647 host_os
648 WIN16_FILES
649 WIN16_INSTALL
650 SET_MAKE
652 CFLAGS
653 LDFLAGS
654 CPPFLAGS
655 ac_ct_CC
656 EXEEXT
657 OBJEXT
659 CXXFLAGS
660 ac_ct_CXX
661 CPPBIN
662 TOOLSDIR
663 XMKMF
665 X_CFLAGS
666 X_PRE_LIBS
667 X_LIBS
668 X_EXTRA_LIBS
670 LEXLIB
671 LEX_OUTPUT_ROOT
672 XLEX
673 BISON
675 ac_ct_AS
678 RANLIB
679 STRIP
680 WINDRES
681 LN_S
683 GREP
684 EGREP
685 LDCONFIG
686 INSTALL_PROGRAM
687 INSTALL_SCRIPT
688 INSTALL_DATA
689 LINT
690 LINTFLAGS
691 FONTFORGE
692 PKG_CONFIG
693 PRELINK
694 LIBPTHREAD
695 XLIB
696 XFILES
697 OPENGLFILES
698 GLU32FILES
699 OPENGL_LIBS
700 GLUT_LIBS
701 GLUT32FILES
702 NASLIBS
703 XML2LIBS
704 XML2INCL
705 XSLTLIBS
706 XSLTINCL
707 HALINCL
708 CURSESLIBS
709 sane_devel
710 SANELIBS
711 SANEINCL
712 gphoto2_devel
713 gphoto2port_devel
714 GPHOTO2LIBS
715 GPHOTO2INCL
716 ICULIBS
717 RESOLVLIBS
718 LCMSLIBS
719 LDAPLIBS
720 FREETYPELIBS
721 FREETYPEINCL
722 ft_devel
723 ft_devel2
724 FONTSSUBDIRS
725 ARTSCCONFIG
726 ARTSLIBS
727 ARTSINCL
728 ESDCONFIG
729 ESDLIBS
730 ESDINCL
731 ALSALIBS
732 AUDIOIOLIBS
733 EXTRACFLAGS
734 BUILTINFLAG
735 DLLEXT
736 DLLFLAGS
737 LDSHARED
738 LDDLLFLAGS
739 LIBEXT
740 IMPLIBEXT
741 DLLTOOL
742 DLLWRAP
743 COREFOUNDATIONLIB
744 IOKITLIB
745 LDEXECFLAGS
746 COREAUDIO
747 LDEXERPATH
748 LDDLLRPATH
749 CROSSTEST
750 CROSSCC
751 CROSSWINDRES
752 LDPATH
753 CRTLIBS
754 SOCKETLIBS
755 MAIN_BINARY
756 EXTRA_BINARIES
758 LIBDL
759 LIBPOLL
760 LIBOBJS
761 LTLIBOBJS'
762 ac_subst_files='MAKE_RULES
763 MAKE_DLL_RULES
764 MAKE_IMPLIB_RULES
765 MAKE_TEST_RULES
766 MAKE_PROG_RULES'
767 ac_precious_vars='build_alias
768 host_alias
769 target_alias
771 CFLAGS
772 LDFLAGS
773 CPPFLAGS
775 CXXFLAGS
777 XMKMF
778 CPP'
781 # Initialize some variables set by options.
782 ac_init_help=
783 ac_init_version=false
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
786 cache_file=/dev/null
787 exec_prefix=NONE
788 no_create=
789 no_recursion=
790 prefix=NONE
791 program_prefix=NONE
792 program_suffix=NONE
793 program_transform_name=s,x,x,
794 silent=
795 site=
796 srcdir=
797 verbose=
798 x_includes=NONE
799 x_libraries=NONE
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir='${exec_prefix}/bin'
808 sbindir='${exec_prefix}/sbin'
809 libexecdir='${exec_prefix}/libexec'
810 datarootdir='${prefix}/share'
811 datadir='${datarootdir}'
812 sysconfdir='${prefix}/etc'
813 sharedstatedir='${prefix}/com'
814 localstatedir='${prefix}/var'
815 includedir='${prefix}/include'
816 oldincludedir='/usr/include'
817 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
818 infodir='${datarootdir}/info'
819 htmldir='${docdir}'
820 dvidir='${docdir}'
821 pdfdir='${docdir}'
822 psdir='${docdir}'
823 libdir='${exec_prefix}/lib'
824 localedir='${datarootdir}/locale'
825 mandir='${datarootdir}/man'
827 ac_prev=
828 ac_dashdash=
829 for ac_option
831 # If the previous option needs an argument, assign it.
832 if test -n "$ac_prev"; then
833 eval $ac_prev=\$ac_option
834 ac_prev=
835 continue
838 case $ac_option in
839 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
840 *) ac_optarg=yes ;;
841 esac
843 # Accept the important Cygnus configure options, so we can diagnose typos.
845 case $ac_dashdash$ac_option in
847 ac_dashdash=yes ;;
849 -bindir | --bindir | --bindi | --bind | --bin | --bi)
850 ac_prev=bindir ;;
851 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
852 bindir=$ac_optarg ;;
854 -build | --build | --buil | --bui | --bu)
855 ac_prev=build_alias ;;
856 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
857 build_alias=$ac_optarg ;;
859 -cache-file | --cache-file | --cache-fil | --cache-fi \
860 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
861 ac_prev=cache_file ;;
862 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
863 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
864 cache_file=$ac_optarg ;;
866 --config-cache | -C)
867 cache_file=config.cache ;;
869 -datadir | --datadir | --datadi | --datad)
870 ac_prev=datadir ;;
871 -datadir=* | --datadir=* | --datadi=* | --datad=*)
872 datadir=$ac_optarg ;;
874 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
875 | --dataroo | --dataro | --datar)
876 ac_prev=datarootdir ;;
877 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
878 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
879 datarootdir=$ac_optarg ;;
881 -disable-* | --disable-*)
882 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
885 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
886 { (exit 1); exit 1; }; }
887 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
888 eval enable_$ac_feature=no ;;
890 -docdir | --docdir | --docdi | --doc | --do)
891 ac_prev=docdir ;;
892 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
893 docdir=$ac_optarg ;;
895 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
896 ac_prev=dvidir ;;
897 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
898 dvidir=$ac_optarg ;;
900 -enable-* | --enable-*)
901 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
904 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
905 { (exit 1); exit 1; }; }
906 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
907 eval enable_$ac_feature=\$ac_optarg ;;
909 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
910 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
911 | --exec | --exe | --ex)
912 ac_prev=exec_prefix ;;
913 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
914 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
915 | --exec=* | --exe=* | --ex=*)
916 exec_prefix=$ac_optarg ;;
918 -gas | --gas | --ga | --g)
919 # Obsolete; use --with-gas.
920 with_gas=yes ;;
922 -help | --help | --hel | --he | -h)
923 ac_init_help=long ;;
924 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
925 ac_init_help=recursive ;;
926 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
927 ac_init_help=short ;;
929 -host | --host | --hos | --ho)
930 ac_prev=host_alias ;;
931 -host=* | --host=* | --hos=* | --ho=*)
932 host_alias=$ac_optarg ;;
934 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
935 ac_prev=htmldir ;;
936 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
937 | --ht=*)
938 htmldir=$ac_optarg ;;
940 -includedir | --includedir | --includedi | --included | --include \
941 | --includ | --inclu | --incl | --inc)
942 ac_prev=includedir ;;
943 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
944 | --includ=* | --inclu=* | --incl=* | --inc=*)
945 includedir=$ac_optarg ;;
947 -infodir | --infodir | --infodi | --infod | --info | --inf)
948 ac_prev=infodir ;;
949 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
950 infodir=$ac_optarg ;;
952 -libdir | --libdir | --libdi | --libd)
953 ac_prev=libdir ;;
954 -libdir=* | --libdir=* | --libdi=* | --libd=*)
955 libdir=$ac_optarg ;;
957 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
958 | --libexe | --libex | --libe)
959 ac_prev=libexecdir ;;
960 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
961 | --libexe=* | --libex=* | --libe=*)
962 libexecdir=$ac_optarg ;;
964 -localedir | --localedir | --localedi | --localed | --locale)
965 ac_prev=localedir ;;
966 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
967 localedir=$ac_optarg ;;
969 -localstatedir | --localstatedir | --localstatedi | --localstated \
970 | --localstate | --localstat | --localsta | --localst | --locals)
971 ac_prev=localstatedir ;;
972 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
973 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
974 localstatedir=$ac_optarg ;;
976 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
977 ac_prev=mandir ;;
978 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
979 mandir=$ac_optarg ;;
981 -nfp | --nfp | --nf)
982 # Obsolete; use --without-fp.
983 with_fp=no ;;
985 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
986 | --no-cr | --no-c | -n)
987 no_create=yes ;;
989 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
990 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
991 no_recursion=yes ;;
993 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
994 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
995 | --oldin | --oldi | --old | --ol | --o)
996 ac_prev=oldincludedir ;;
997 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
998 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
999 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1000 oldincludedir=$ac_optarg ;;
1002 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1003 ac_prev=prefix ;;
1004 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1005 prefix=$ac_optarg ;;
1007 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1008 | --program-pre | --program-pr | --program-p)
1009 ac_prev=program_prefix ;;
1010 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1011 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1012 program_prefix=$ac_optarg ;;
1014 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1015 | --program-suf | --program-su | --program-s)
1016 ac_prev=program_suffix ;;
1017 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1018 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1019 program_suffix=$ac_optarg ;;
1021 -program-transform-name | --program-transform-name \
1022 | --program-transform-nam | --program-transform-na \
1023 | --program-transform-n | --program-transform- \
1024 | --program-transform | --program-transfor \
1025 | --program-transfo | --program-transf \
1026 | --program-trans | --program-tran \
1027 | --progr-tra | --program-tr | --program-t)
1028 ac_prev=program_transform_name ;;
1029 -program-transform-name=* | --program-transform-name=* \
1030 | --program-transform-nam=* | --program-transform-na=* \
1031 | --program-transform-n=* | --program-transform-=* \
1032 | --program-transform=* | --program-transfor=* \
1033 | --program-transfo=* | --program-transf=* \
1034 | --program-trans=* | --program-tran=* \
1035 | --progr-tra=* | --program-tr=* | --program-t=*)
1036 program_transform_name=$ac_optarg ;;
1038 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1039 ac_prev=pdfdir ;;
1040 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1041 pdfdir=$ac_optarg ;;
1043 -psdir | --psdir | --psdi | --psd | --ps)
1044 ac_prev=psdir ;;
1045 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1046 psdir=$ac_optarg ;;
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1050 silent=yes ;;
1052 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1053 ac_prev=sbindir ;;
1054 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1055 | --sbi=* | --sb=*)
1056 sbindir=$ac_optarg ;;
1058 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1059 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1060 | --sharedst | --shareds | --shared | --share | --shar \
1061 | --sha | --sh)
1062 ac_prev=sharedstatedir ;;
1063 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1064 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1065 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1066 | --sha=* | --sh=*)
1067 sharedstatedir=$ac_optarg ;;
1069 -site | --site | --sit)
1070 ac_prev=site ;;
1071 -site=* | --site=* | --sit=*)
1072 site=$ac_optarg ;;
1074 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1075 ac_prev=srcdir ;;
1076 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1077 srcdir=$ac_optarg ;;
1079 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1080 | --syscon | --sysco | --sysc | --sys | --sy)
1081 ac_prev=sysconfdir ;;
1082 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1083 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1084 sysconfdir=$ac_optarg ;;
1086 -target | --target | --targe | --targ | --tar | --ta | --t)
1087 ac_prev=target_alias ;;
1088 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1089 target_alias=$ac_optarg ;;
1091 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1092 verbose=yes ;;
1094 -version | --version | --versio | --versi | --vers | -V)
1095 ac_init_version=: ;;
1097 -with-* | --with-*)
1098 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1101 { echo "$as_me: error: invalid package name: $ac_package" >&2
1102 { (exit 1); exit 1; }; }
1103 ac_package=`echo $ac_package| sed 's/-/_/g'`
1104 eval with_$ac_package=\$ac_optarg ;;
1106 -without-* | --without-*)
1107 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1110 { echo "$as_me: error: invalid package name: $ac_package" >&2
1111 { (exit 1); exit 1; }; }
1112 ac_package=`echo $ac_package | sed 's/-/_/g'`
1113 eval with_$ac_package=no ;;
1115 --x)
1116 # Obsolete; use --with-x.
1117 with_x=yes ;;
1119 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1120 | --x-incl | --x-inc | --x-in | --x-i)
1121 ac_prev=x_includes ;;
1122 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1123 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1124 x_includes=$ac_optarg ;;
1126 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1127 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1128 ac_prev=x_libraries ;;
1129 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1130 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1131 x_libraries=$ac_optarg ;;
1133 -*) { echo "$as_me: error: unrecognized option: $ac_option
1134 Try \`$0 --help' for more information." >&2
1135 { (exit 1); exit 1; }; }
1138 *=*)
1139 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1142 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1143 { (exit 1); exit 1; }; }
1144 eval $ac_envvar=\$ac_optarg
1145 export $ac_envvar ;;
1148 # FIXME: should be removed in autoconf 3.0.
1149 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1151 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1152 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1155 esac
1156 done
1158 if test -n "$ac_prev"; then
1159 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1160 { echo "$as_me: error: missing argument to $ac_option" >&2
1161 { (exit 1); exit 1; }; }
1164 # Be sure to have absolute directory names.
1165 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166 datadir sysconfdir sharedstatedir localstatedir includedir \
1167 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168 libdir localedir mandir
1170 eval ac_val=\$$ac_var
1171 case $ac_val in
1172 [\\/$]* | ?:[\\/]* ) continue;;
1173 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1174 esac
1175 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1176 { (exit 1); exit 1; }; }
1177 done
1179 # There might be people who depend on the old broken behavior: `$host'
1180 # used to hold the argument of --host etc.
1181 # FIXME: To remove some day.
1182 build=$build_alias
1183 host=$host_alias
1184 target=$target_alias
1186 # FIXME: To remove some day.
1187 if test "x$host_alias" != x; then
1188 if test "x$build_alias" = x; then
1189 cross_compiling=maybe
1190 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1191 If a cross compiler is detected then cross compile mode will be used." >&2
1192 elif test "x$build_alias" != "x$host_alias"; then
1193 cross_compiling=yes
1197 ac_tool_prefix=
1198 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1200 test "$silent" = yes && exec 6>/dev/null
1203 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1204 ac_ls_di=`ls -di .` &&
1205 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1206 { echo "$as_me: error: Working directory cannot be determined" >&2
1207 { (exit 1); exit 1; }; }
1208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 { echo "$as_me: error: pwd does not report name of working directory" >&2
1210 { (exit 1); exit 1; }; }
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir=`$as_dirname -- "$0" ||
1218 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$0" : 'X\(//\)[^/]' \| \
1220 X"$0" : 'X\(//\)$' \| \
1221 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1222 echo X"$0" |
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1224 s//\1/
1227 /^X\(\/\/\)[^/].*/{
1228 s//\1/
1231 /^X\(\/\/\)$/{
1232 s//\1/
1235 /^X\(\/\).*/{
1236 s//\1/
1239 s/.*/./; q'`
1240 srcdir=$ac_confdir
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1242 srcdir=..
1244 else
1245 ac_srcdir_defaulted=no
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1249 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1250 { (exit 1); exit 1; }; }
1252 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1253 ac_abs_confdir=`(
1254 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1255 { (exit 1); exit 1; }; }
1256 pwd)`
1257 # When building in place, set srcdir=.
1258 if test "$ac_abs_confdir" = "$ac_pwd"; then
1259 srcdir=.
1261 # Remove unnecessary trailing slashes from srcdir.
1262 # Double slashes in file names in object file debugging info
1263 # mess up M-x gdb in Emacs.
1264 case $srcdir in
1265 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1266 esac
1267 for ac_var in $ac_precious_vars; do
1268 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1269 eval ac_env_${ac_var}_value=\$${ac_var}
1270 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1271 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1272 done
1275 # Report the --help message.
1277 if test "$ac_init_help" = "long"; then
1278 # Omit some internal or obsolete options to make the list less imposing.
1279 # This message is too long to be a string in the A/UX 3.1 sh.
1280 cat <<_ACEOF
1281 \`configure' configures Wine 0.9.19 to adapt to many kinds of systems.
1283 Usage: $0 [OPTION]... [VAR=VALUE]...
1285 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1286 VAR=VALUE. See below for descriptions of some of the useful variables.
1288 Defaults for the options are specified in brackets.
1290 Configuration:
1291 -h, --help display this help and exit
1292 --help=short display options specific to this package
1293 --help=recursive display the short help of all the included packages
1294 -V, --version display version information and exit
1295 -q, --quiet, --silent do not print \`checking...' messages
1296 --cache-file=FILE cache test results in FILE [disabled]
1297 -C, --config-cache alias for \`--cache-file=config.cache'
1298 -n, --no-create do not create output files
1299 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1301 Installation directories:
1302 --prefix=PREFIX install architecture-independent files in PREFIX
1303 [$ac_default_prefix]
1304 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1305 [PREFIX]
1307 By default, \`make install' will install all the files in
1308 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1309 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1310 for instance \`--prefix=\$HOME'.
1312 For better control, use the options below.
1314 Fine tuning of the installation directories:
1315 --bindir=DIR user executables [EPREFIX/bin]
1316 --sbindir=DIR system admin executables [EPREFIX/sbin]
1317 --libexecdir=DIR program executables [EPREFIX/libexec]
1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1321 --libdir=DIR object code libraries [EPREFIX/lib]
1322 --includedir=DIR C header files [PREFIX/include]
1323 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1326 --infodir=DIR info documentation [DATAROOTDIR/info]
1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1328 --mandir=DIR man documentation [DATAROOTDIR/man]
1329 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1330 --htmldir=DIR html documentation [DOCDIR]
1331 --dvidir=DIR dvi documentation [DOCDIR]
1332 --pdfdir=DIR pdf documentation [DOCDIR]
1333 --psdir=DIR ps documentation [DOCDIR]
1334 _ACEOF
1336 cat <<\_ACEOF
1338 X features:
1339 --x-includes=DIR X include files are in DIR
1340 --x-libraries=DIR X library files are in DIR
1342 System types:
1343 --build=BUILD configure for building on BUILD [guessed]
1344 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1345 _ACEOF
1348 if test -n "$ac_init_help"; then
1349 case $ac_init_help in
1350 short | recursive ) echo "Configuration of Wine 0.9.19:";;
1351 esac
1352 cat <<\_ACEOF
1354 Optional Features:
1355 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1356 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1357 --disable-win16 do not include Win16 support
1358 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1359 binaries)
1361 Optional Packages:
1362 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1363 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1364 --without-opengl do not use OpenGL
1365 --without-curses do not use curses
1366 --with-wine-tools=<dir> use Wine tools from directory <dir>
1367 --with-x use the X Window System
1369 Some influential environment variables:
1370 CC C compiler command
1371 CFLAGS C compiler flags
1372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1373 nonstandard directory <lib dir>
1374 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1375 you have headers in a nonstandard directory <include dir>
1376 CXX C++ compiler command
1377 CXXFLAGS C++ compiler flags
1378 XMKMF Path to xmkmf, Makefile generator for X Window System
1379 CPP C preprocessor
1381 Use these variables to override the choices made by `configure' or to help
1382 it to find libraries and programs with nonstandard names/locations.
1384 Report bugs to <wine-devel@winehq.org>.
1385 _ACEOF
1386 ac_status=$?
1389 if test "$ac_init_help" = "recursive"; then
1390 # If there are subdirs, report their specific --help.
1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1392 test -d "$ac_dir" || continue
1393 ac_builddir=.
1395 case "$ac_dir" in
1396 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1399 # A ".." for each directory in $ac_dir_suffix.
1400 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1401 case $ac_top_builddir_sub in
1402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1404 esac ;;
1405 esac
1406 ac_abs_top_builddir=$ac_pwd
1407 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1408 # for backward compatibility:
1409 ac_top_builddir=$ac_top_build_prefix
1411 case $srcdir in
1412 .) # We are building in place.
1413 ac_srcdir=.
1414 ac_top_srcdir=$ac_top_builddir_sub
1415 ac_abs_top_srcdir=$ac_pwd ;;
1416 [\\/]* | ?:[\\/]* ) # Absolute name.
1417 ac_srcdir=$srcdir$ac_dir_suffix;
1418 ac_top_srcdir=$srcdir
1419 ac_abs_top_srcdir=$srcdir ;;
1420 *) # Relative name.
1421 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1422 ac_top_srcdir=$ac_top_build_prefix$srcdir
1423 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1424 esac
1425 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1427 cd "$ac_dir" || { ac_status=$?; continue; }
1428 # Check for guested configure.
1429 if test -f "$ac_srcdir/configure.gnu"; then
1430 echo &&
1431 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1432 elif test -f "$ac_srcdir/configure"; then
1433 echo &&
1434 $SHELL "$ac_srcdir/configure" --help=recursive
1435 else
1436 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1437 fi || ac_status=$?
1438 cd "$ac_pwd" || { ac_status=$?; break; }
1439 done
1442 test -n "$ac_init_help" && exit $ac_status
1443 if $ac_init_version; then
1444 cat <<\_ACEOF
1445 Wine configure 0.9.19
1446 generated by GNU Autoconf 2.60a
1448 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1449 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1450 This configure script is free software; the Free Software Foundation
1451 gives unlimited permission to copy, distribute and modify it.
1452 _ACEOF
1453 exit
1455 cat >config.log <<_ACEOF
1456 This file contains any messages produced by compilers while
1457 running configure, to aid debugging if configure makes a mistake.
1459 It was created by Wine $as_me 0.9.19, which was
1460 generated by GNU Autoconf 2.60a. Invocation command line was
1462 $ $0 $@
1464 _ACEOF
1465 exec 5>>config.log
1467 cat <<_ASUNAME
1468 ## --------- ##
1469 ## Platform. ##
1470 ## --------- ##
1472 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1473 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1474 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1475 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1476 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1478 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1479 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1481 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1482 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1483 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1484 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1485 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1486 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1487 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1489 _ASUNAME
1491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1492 for as_dir in $PATH
1494 IFS=$as_save_IFS
1495 test -z "$as_dir" && as_dir=.
1496 echo "PATH: $as_dir"
1497 done
1498 IFS=$as_save_IFS
1500 } >&5
1502 cat >&5 <<_ACEOF
1505 ## ----------- ##
1506 ## Core tests. ##
1507 ## ----------- ##
1509 _ACEOF
1512 # Keep a trace of the command line.
1513 # Strip out --no-create and --no-recursion so they do not pile up.
1514 # Strip out --silent because we don't want to record it for future runs.
1515 # Also quote any args containing shell meta-characters.
1516 # Make two passes to allow for proper duplicate-argument suppression.
1517 ac_configure_args=
1518 ac_configure_args0=
1519 ac_configure_args1=
1520 ac_must_keep_next=false
1521 for ac_pass in 1 2
1523 for ac_arg
1525 case $ac_arg in
1526 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1527 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1528 | -silent | --silent | --silen | --sile | --sil)
1529 continue ;;
1530 *\'*)
1531 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1532 esac
1533 case $ac_pass in
1534 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1536 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1537 if test $ac_must_keep_next = true; then
1538 ac_must_keep_next=false # Got value, back to normal.
1539 else
1540 case $ac_arg in
1541 *=* | --config-cache | -C | -disable-* | --disable-* \
1542 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1543 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1544 | -with-* | --with-* | -without-* | --without-* | --x)
1545 case "$ac_configure_args0 " in
1546 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1547 esac
1549 -* ) ac_must_keep_next=true ;;
1550 esac
1552 ac_configure_args="$ac_configure_args '$ac_arg'"
1554 esac
1555 done
1556 done
1557 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1558 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1560 # When interrupted or exit'd, cleanup temporary files, and complete
1561 # config.log. We remove comments because anyway the quotes in there
1562 # would cause problems or look ugly.
1563 # WARNING: Use '\'' to represent an apostrophe within the trap.
1564 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1565 trap 'exit_status=$?
1566 # Save into config.log some information that might help in debugging.
1568 echo
1570 cat <<\_ASBOX
1571 ## ---------------- ##
1572 ## Cache variables. ##
1573 ## ---------------- ##
1574 _ASBOX
1575 echo
1576 # The following way of writing the cache mishandles newlines in values,
1578 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1579 eval ac_val=\$$ac_var
1580 case $ac_val in #(
1581 *${as_nl}*)
1582 case $ac_var in #(
1583 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1584 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1585 esac
1586 case $ac_var in #(
1587 _ | IFS | as_nl) ;; #(
1588 *) $as_unset $ac_var ;;
1589 esac ;;
1590 esac
1591 done
1592 (set) 2>&1 |
1593 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1594 *${as_nl}ac_space=\ *)
1595 sed -n \
1596 "s/'\''/'\''\\\\'\'''\''/g;
1597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1598 ;; #(
1600 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1602 esac |
1603 sort
1605 echo
1607 cat <<\_ASBOX
1608 ## ----------------- ##
1609 ## Output variables. ##
1610 ## ----------------- ##
1611 _ASBOX
1612 echo
1613 for ac_var in $ac_subst_vars
1615 eval ac_val=\$$ac_var
1616 case $ac_val in
1617 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1618 esac
1619 echo "$ac_var='\''$ac_val'\''"
1620 done | sort
1621 echo
1623 if test -n "$ac_subst_files"; then
1624 cat <<\_ASBOX
1625 ## ------------------- ##
1626 ## File substitutions. ##
1627 ## ------------------- ##
1628 _ASBOX
1629 echo
1630 for ac_var in $ac_subst_files
1632 eval ac_val=\$$ac_var
1633 case $ac_val in
1634 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1635 esac
1636 echo "$ac_var='\''$ac_val'\''"
1637 done | sort
1638 echo
1641 if test -s confdefs.h; then
1642 cat <<\_ASBOX
1643 ## ----------- ##
1644 ## confdefs.h. ##
1645 ## ----------- ##
1646 _ASBOX
1647 echo
1648 cat confdefs.h
1649 echo
1651 test "$ac_signal" != 0 &&
1652 echo "$as_me: caught signal $ac_signal"
1653 echo "$as_me: exit $exit_status"
1654 } >&5
1655 rm -f core *.core core.conftest.* &&
1656 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1657 exit $exit_status
1659 for ac_signal in 1 2 13 15; do
1660 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1661 done
1662 ac_signal=0
1664 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1665 rm -f -r conftest* confdefs.h
1667 # Predefined preprocessor variables.
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_NAME "$PACKAGE_NAME"
1671 _ACEOF
1674 cat >>confdefs.h <<_ACEOF
1675 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1676 _ACEOF
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1681 _ACEOF
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_STRING "$PACKAGE_STRING"
1686 _ACEOF
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1691 _ACEOF
1694 # Let the site file select an alternate cache file if it wants to.
1695 # Prefer explicitly selected file to automatically selected ones.
1696 if test -n "$CONFIG_SITE"; then
1697 set x "$CONFIG_SITE"
1698 elif test "x$prefix" != xNONE; then
1699 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1700 else
1701 set x "$ac_default_prefix/share/config.site" \
1702 "$ac_default_prefix/etc/config.site"
1704 shift
1705 for ac_site_file
1707 if test -r "$ac_site_file"; then
1708 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1709 echo "$as_me: loading site script $ac_site_file" >&6;}
1710 sed 's/^/| /' "$ac_site_file" >&5
1711 . "$ac_site_file"
1713 done
1715 if test -r "$cache_file"; then
1716 # Some versions of bash will fail to source /dev/null (special
1717 # files actually), so we avoid doing that.
1718 if test -f "$cache_file"; then
1719 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1720 echo "$as_me: loading cache $cache_file" >&6;}
1721 case $cache_file in
1722 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1723 *) . "./$cache_file";;
1724 esac
1726 else
1727 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1728 echo "$as_me: creating cache $cache_file" >&6;}
1729 >$cache_file
1732 # Check that the precious variables saved in the cache have kept the same
1733 # value.
1734 ac_cache_corrupted=false
1735 for ac_var in $ac_precious_vars; do
1736 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1737 eval ac_new_set=\$ac_env_${ac_var}_set
1738 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1739 eval ac_new_val=\$ac_env_${ac_var}_value
1740 case $ac_old_set,$ac_new_set in
1741 set,)
1742 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1743 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1744 ac_cache_corrupted=: ;;
1745 ,set)
1746 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1747 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1748 ac_cache_corrupted=: ;;
1749 ,);;
1751 if test "x$ac_old_val" != "x$ac_new_val"; then
1752 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1753 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1754 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1755 echo "$as_me: former value: $ac_old_val" >&2;}
1756 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1757 echo "$as_me: current value: $ac_new_val" >&2;}
1758 ac_cache_corrupted=:
1759 fi;;
1760 esac
1761 # Pass precious variables to config.status.
1762 if test "$ac_new_set" = set; then
1763 case $ac_new_val in
1764 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1765 *) ac_arg=$ac_var=$ac_new_val ;;
1766 esac
1767 case " $ac_configure_args " in
1768 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1769 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1770 esac
1772 done
1773 if $ac_cache_corrupted; then
1774 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1775 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1776 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1777 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1778 { (exit 1); exit 1; }; }
1805 ac_ext=c
1806 ac_cpp='$CPP $CPPFLAGS'
1807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1813 ac_config_headers="$ac_config_headers include/config.h"
1815 ac_aux_dir=
1816 for ac_dir in tools "$srcdir"/tools; do
1817 if test -f "$ac_dir/install-sh"; then
1818 ac_aux_dir=$ac_dir
1819 ac_install_sh="$ac_aux_dir/install-sh -c"
1820 break
1821 elif test -f "$ac_dir/install.sh"; then
1822 ac_aux_dir=$ac_dir
1823 ac_install_sh="$ac_aux_dir/install.sh -c"
1824 break
1825 elif test -f "$ac_dir/shtool"; then
1826 ac_aux_dir=$ac_dir
1827 ac_install_sh="$ac_aux_dir/shtool install -c"
1828 break
1830 done
1831 if test -z "$ac_aux_dir"; then
1832 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1833 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1834 { (exit 1); exit 1; }; }
1837 # These three variables are undocumented and unsupported,
1838 # and are intended to be withdrawn in a future Autoconf release.
1839 # They can cause serious problems if a builder's source tree is in a directory
1840 # whose full name contains unusual characters.
1841 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1842 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1843 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1848 # Check whether --enable-win16 was given.
1849 if test "${enable_win16+set}" = set; then
1850 enableval=$enable_win16;
1853 # Check whether --enable-win64 was given.
1854 if test "${enable_win64+set}" = set; then
1855 enableval=$enable_win64;
1860 # Check whether --with-opengl was given.
1861 if test "${with_opengl+set}" = set; then
1862 withval=$with_opengl;
1866 # Check whether --with-curses was given.
1867 if test "${with_curses+set}" = set; then
1868 withval=$with_curses;
1872 # Check whether --with-wine-tools was given.
1873 if test "${with_wine_tools+set}" = set; then
1874 withval=$with_wine_tools;
1878 # Make sure we can run config.sub.
1879 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1880 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1881 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1882 { (exit 1); exit 1; }; }
1884 { echo "$as_me:$LINENO: checking build system type" >&5
1885 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1886 if test "${ac_cv_build+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 else
1889 ac_build_alias=$build_alias
1890 test "x$ac_build_alias" = x &&
1891 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1892 test "x$ac_build_alias" = x &&
1893 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1894 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1895 { (exit 1); exit 1; }; }
1896 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1897 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1898 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1899 { (exit 1); exit 1; }; }
1902 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1903 echo "${ECHO_T}$ac_cv_build" >&6; }
1904 case $ac_cv_build in
1905 *-*-*) ;;
1906 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1907 echo "$as_me: error: invalid value of canonical build" >&2;}
1908 { (exit 1); exit 1; }; };;
1909 esac
1910 build=$ac_cv_build
1911 ac_save_IFS=$IFS; IFS='-'
1912 set x $ac_cv_build
1913 shift
1914 build_cpu=$1
1915 build_vendor=$2
1916 shift; shift
1917 # Remember, the first character of IFS is used to create $*,
1918 # except with old shells:
1919 build_os=$*
1920 IFS=$ac_save_IFS
1921 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1924 { echo "$as_me:$LINENO: checking host system type" >&5
1925 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1926 if test "${ac_cv_host+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 else
1929 if test "x$host_alias" = x; then
1930 ac_cv_host=$ac_cv_build
1931 else
1932 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1933 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1934 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1935 { (exit 1); exit 1; }; }
1939 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1940 echo "${ECHO_T}$ac_cv_host" >&6; }
1941 case $ac_cv_host in
1942 *-*-*) ;;
1943 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1944 echo "$as_me: error: invalid value of canonical host" >&2;}
1945 { (exit 1); exit 1; }; };;
1946 esac
1947 host=$ac_cv_host
1948 ac_save_IFS=$IFS; IFS='-'
1949 set x $ac_cv_host
1950 shift
1951 host_cpu=$1
1952 host_vendor=$2
1953 shift; shift
1954 # Remember, the first character of IFS is used to create $*,
1955 # except with old shells:
1956 host_os=$*
1957 IFS=$ac_save_IFS
1958 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1961 case $host in
1962 x86_64*linux*)
1963 if test "x$enable_win64" != "xyes"
1964 then
1965 test -n "$CC" || CC="gcc -m32"
1966 test -n "$LD" || LD="ld -m elf_i386"
1967 test -n "$AS" || AS="as --32"
1968 host_cpu="i386"
1971 esac
1973 case $host_cpu in
1974 *i[3456789]86*)
1975 if test "x$enable_win16" != "xno"
1976 then
1977 enable_win16="yes"
1980 esac
1982 WIN16_FILES="\$(WIN16_FILES)"
1984 WIN16_INSTALL="\$(WIN16_INSTALL)"
1986 if test "x$enable_win16" != "xyes"
1987 then
1988 WIN16_FILES=""
1989 WIN16_INSTALL=""
1993 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1994 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1995 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1996 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 else
1999 cat >conftest.make <<\_ACEOF
2000 SHELL = /bin/sh
2001 all:
2002 @echo '@@@%%%=$(MAKE)=@@@%%%'
2003 _ACEOF
2004 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2005 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2006 *@@@%%%=?*=@@@%%%*)
2007 eval ac_cv_prog_make_${ac_make}_set=yes;;
2009 eval ac_cv_prog_make_${ac_make}_set=no;;
2010 esac
2011 rm -f conftest.make
2013 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2014 { echo "$as_me:$LINENO: result: yes" >&5
2015 echo "${ECHO_T}yes" >&6; }
2016 SET_MAKE=
2017 else
2018 { echo "$as_me:$LINENO: result: no" >&5
2019 echo "${ECHO_T}no" >&6; }
2020 SET_MAKE="MAKE=${MAKE-make}"
2023 ac_ext=c
2024 ac_cpp='$CPP $CPPFLAGS'
2025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2028 if test -n "$ac_tool_prefix"; then
2029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2030 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2033 if test "${ac_cv_prog_CC+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 else
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC="$CC" # Let the user override the test.
2038 else
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 for as_dir in $PATH
2042 IFS=$as_save_IFS
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2046 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 break 2
2050 done
2051 done
2052 IFS=$as_save_IFS
2056 CC=$ac_cv_prog_CC
2057 if test -n "$CC"; then
2058 { echo "$as_me:$LINENO: result: $CC" >&5
2059 echo "${ECHO_T}$CC" >&6; }
2060 else
2061 { echo "$as_me:$LINENO: result: no" >&5
2062 echo "${ECHO_T}no" >&6; }
2067 if test -z "$ac_cv_prog_CC"; then
2068 ac_ct_CC=$CC
2069 # Extract the first word of "gcc", so it can be a program name with args.
2070 set dummy gcc; ac_word=$2
2071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2073 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2074 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 else
2076 if test -n "$ac_ct_CC"; then
2077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2078 else
2079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 for as_dir in $PATH
2082 IFS=$as_save_IFS
2083 test -z "$as_dir" && as_dir=.
2084 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2086 ac_cv_prog_ac_ct_CC="gcc"
2087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 break 2
2090 done
2091 done
2092 IFS=$as_save_IFS
2096 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2097 if test -n "$ac_ct_CC"; then
2098 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2099 echo "${ECHO_T}$ac_ct_CC" >&6; }
2100 else
2101 { echo "$as_me:$LINENO: result: no" >&5
2102 echo "${ECHO_T}no" >&6; }
2105 if test "x$ac_ct_CC" = x; then
2106 CC=""
2107 else
2108 case $cross_compiling:$ac_tool_warned in
2109 yes:)
2110 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2111 whose name does not start with the host triplet. If you think this
2112 configuration is useful to you, please write to autoconf@gnu.org." >&5
2113 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2114 whose name does not start with the host triplet. If you think this
2115 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2116 ac_tool_warned=yes ;;
2117 esac
2118 CC=$ac_ct_CC
2120 else
2121 CC="$ac_cv_prog_CC"
2124 if test -z "$CC"; then
2125 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2127 set dummy ${ac_tool_prefix}cc; ac_word=$2
2128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2130 if test "${ac_cv_prog_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 else
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC="$CC" # Let the user override the test.
2135 else
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 for as_dir in $PATH
2139 IFS=$as_save_IFS
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_CC="${ac_tool_prefix}cc"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 break 2
2147 done
2148 done
2149 IFS=$as_save_IFS
2153 CC=$ac_cv_prog_CC
2154 if test -n "$CC"; then
2155 { echo "$as_me:$LINENO: result: $CC" >&5
2156 echo "${ECHO_T}$CC" >&6; }
2157 else
2158 { echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6; }
2165 if test -z "$CC"; then
2166 # Extract the first word of "cc", so it can be a program name with args.
2167 set dummy cc; ac_word=$2
2168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2170 if test "${ac_cv_prog_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 else
2173 if test -n "$CC"; then
2174 ac_cv_prog_CC="$CC" # Let the user override the test.
2175 else
2176 ac_prog_rejected=no
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178 for as_dir in $PATH
2180 IFS=$as_save_IFS
2181 test -z "$as_dir" && as_dir=.
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2185 ac_prog_rejected=yes
2186 continue
2188 ac_cv_prog_CC="cc"
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2190 break 2
2192 done
2193 done
2194 IFS=$as_save_IFS
2196 if test $ac_prog_rejected = yes; then
2197 # We found a bogon in the path, so make sure we never use it.
2198 set dummy $ac_cv_prog_CC
2199 shift
2200 if test $# != 0; then
2201 # We chose a different compiler from the bogus one.
2202 # However, it has the same basename, so the bogon will be chosen
2203 # first if we set CC to just the basename; use the full file name.
2204 shift
2205 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2210 CC=$ac_cv_prog_CC
2211 if test -n "$CC"; then
2212 { echo "$as_me:$LINENO: result: $CC" >&5
2213 echo "${ECHO_T}$CC" >&6; }
2214 else
2215 { echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6; }
2221 if test -z "$CC"; then
2222 if test -n "$ac_tool_prefix"; then
2223 for ac_prog in cl.exe
2225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2229 if test "${ac_cv_prog_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2231 else
2232 if test -n "$CC"; then
2233 ac_cv_prog_CC="$CC" # Let the user override the test.
2234 else
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236 for as_dir in $PATH
2238 IFS=$as_save_IFS
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 break 2
2246 done
2247 done
2248 IFS=$as_save_IFS
2252 CC=$ac_cv_prog_CC
2253 if test -n "$CC"; then
2254 { echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6; }
2256 else
2257 { echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6; }
2262 test -n "$CC" && break
2263 done
2265 if test -z "$CC"; then
2266 ac_ct_CC=$CC
2267 for ac_prog in cl.exe
2269 # Extract the first word of "$ac_prog", so it can be a program name with args.
2270 set dummy $ac_prog; ac_word=$2
2271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2273 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 else
2276 if test -n "$ac_ct_CC"; then
2277 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2278 else
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 for as_dir in $PATH
2282 IFS=$as_save_IFS
2283 test -z "$as_dir" && as_dir=.
2284 for ac_exec_ext in '' $ac_executable_extensions; do
2285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2286 ac_cv_prog_ac_ct_CC="$ac_prog"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 break 2
2290 done
2291 done
2292 IFS=$as_save_IFS
2296 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2297 if test -n "$ac_ct_CC"; then
2298 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2299 echo "${ECHO_T}$ac_ct_CC" >&6; }
2300 else
2301 { echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6; }
2306 test -n "$ac_ct_CC" && break
2307 done
2309 if test "x$ac_ct_CC" = x; then
2310 CC=""
2311 else
2312 case $cross_compiling:$ac_tool_warned in
2313 yes:)
2314 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2315 whose name does not start with the host triplet. If you think this
2316 configuration is useful to you, please write to autoconf@gnu.org." >&5
2317 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2318 whose name does not start with the host triplet. If you think this
2319 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2320 ac_tool_warned=yes ;;
2321 esac
2322 CC=$ac_ct_CC
2329 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2330 See \`config.log' for more details." >&5
2331 echo "$as_me: error: no acceptable C compiler found in \$PATH
2332 See \`config.log' for more details." >&2;}
2333 { (exit 1); exit 1; }; }
2335 # Provide some information about the compiler.
2336 echo "$as_me:$LINENO: checking for C compiler version" >&5
2337 ac_compiler=`set X $ac_compile; echo $2`
2338 { (ac_try="$ac_compiler --version >&5"
2339 case "(($ac_try" in
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2342 esac
2343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2344 (eval "$ac_compiler --version >&5") 2>&5
2345 ac_status=$?
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }
2348 { (ac_try="$ac_compiler -v >&5"
2349 case "(($ac_try" in
2350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2351 *) ac_try_echo=$ac_try;;
2352 esac
2353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2354 (eval "$ac_compiler -v >&5") 2>&5
2355 ac_status=$?
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (ac_try="$ac_compiler -V >&5"
2359 case "(($ac_try" in
2360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2361 *) ac_try_echo=$ac_try;;
2362 esac
2363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2364 (eval "$ac_compiler -V >&5") 2>&5
2365 ac_status=$?
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }
2369 cat >conftest.$ac_ext <<_ACEOF
2370 /* confdefs.h. */
2371 _ACEOF
2372 cat confdefs.h >>conftest.$ac_ext
2373 cat >>conftest.$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2377 main ()
2381 return 0;
2383 _ACEOF
2384 ac_clean_files_save=$ac_clean_files
2385 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2386 # Try to create an executable without -o first, disregard a.out.
2387 # It will help us diagnose broken compilers, and finding out an intuition
2388 # of exeext.
2389 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2390 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2391 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2393 # List of possible output files, starting from the most likely.
2394 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2395 # only as a last resort. b.out is created by i960 compilers.
2396 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2398 # The IRIX 6 linker writes into existing files which may not be
2399 # executable, retaining their permissions. Remove them first so a
2400 # subsequent execution test works.
2401 ac_rmfiles=
2402 for ac_file in $ac_files
2404 case $ac_file in
2405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2406 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2407 esac
2408 done
2409 rm -f $ac_rmfiles
2411 if { (ac_try="$ac_link_default"
2412 case "(($ac_try" in
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2415 esac
2416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2417 (eval "$ac_link_default") 2>&5
2418 ac_status=$?
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; then
2421 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2422 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2423 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2424 # so that the user can short-circuit this test for compilers unknown to
2425 # Autoconf.
2426 for ac_file in $ac_files ''
2428 test -f "$ac_file" || continue
2429 case $ac_file in
2430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2432 [ab].out )
2433 # We found the default executable, but exeext='' is most
2434 # certainly right.
2435 break;;
2436 *.* )
2437 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2438 then :; else
2439 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2441 # We set ac_cv_exeext here because the later test for it is not
2442 # safe: cross compilers may not add the suffix if given an `-o'
2443 # argument, so we may need to know it at that point already.
2444 # Even if this section looks crufty: it has the advantage of
2445 # actually working.
2446 break;;
2448 break;;
2449 esac
2450 done
2451 test "$ac_cv_exeext" = no && ac_cv_exeext=
2453 else
2454 ac_file=''
2457 { echo "$as_me:$LINENO: result: $ac_file" >&5
2458 echo "${ECHO_T}$ac_file" >&6; }
2459 if test -z "$ac_file"; then
2460 echo "$as_me: failed program was:" >&5
2461 sed 's/^/| /' conftest.$ac_ext >&5
2463 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2464 See \`config.log' for more details." >&5
2465 echo "$as_me: error: C compiler cannot create executables
2466 See \`config.log' for more details." >&2;}
2467 { (exit 77); exit 77; }; }
2470 ac_exeext=$ac_cv_exeext
2472 # Check that the compiler produces executables we can run. If not, either
2473 # the compiler is broken, or we cross compile.
2474 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2475 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2476 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2477 # If not cross compiling, check that we can run a simple program.
2478 if test "$cross_compiling" != yes; then
2479 if { ac_try='./$ac_file'
2480 { (case "(($ac_try" in
2481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2482 *) ac_try_echo=$ac_try;;
2483 esac
2484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2485 (eval "$ac_try") 2>&5
2486 ac_status=$?
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; }; then
2489 cross_compiling=no
2490 else
2491 if test "$cross_compiling" = maybe; then
2492 cross_compiling=yes
2493 else
2494 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2495 If you meant to cross compile, use \`--host'.
2496 See \`config.log' for more details." >&5
2497 echo "$as_me: error: cannot run C compiled programs.
2498 If you meant to cross compile, use \`--host'.
2499 See \`config.log' for more details." >&2;}
2500 { (exit 1); exit 1; }; }
2504 { echo "$as_me:$LINENO: result: yes" >&5
2505 echo "${ECHO_T}yes" >&6; }
2507 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2508 ac_clean_files=$ac_clean_files_save
2509 # Check that the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2512 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2513 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2514 echo "${ECHO_T}$cross_compiling" >&6; }
2516 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2517 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2518 if { (ac_try="$ac_link"
2519 case "(($ac_try" in
2520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2521 *) ac_try_echo=$ac_try;;
2522 esac
2523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2524 (eval "$ac_link") 2>&5
2525 ac_status=$?
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; then
2528 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2529 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2530 # work properly (i.e., refer to `conftest.exe'), while it won't with
2531 # `rm'.
2532 for ac_file in conftest.exe conftest conftest.*; do
2533 test -f "$ac_file" || continue
2534 case $ac_file in
2535 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2536 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2537 break;;
2538 * ) break;;
2539 esac
2540 done
2541 else
2542 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2543 See \`config.log' for more details." >&5
2544 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2545 See \`config.log' for more details." >&2;}
2546 { (exit 1); exit 1; }; }
2549 rm -f conftest$ac_cv_exeext
2550 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2551 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2553 rm -f conftest.$ac_ext
2554 EXEEXT=$ac_cv_exeext
2555 ac_exeext=$EXEEXT
2556 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2557 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2558 if test "${ac_cv_objext+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 else
2561 cat >conftest.$ac_ext <<_ACEOF
2562 /* confdefs.h. */
2563 _ACEOF
2564 cat confdefs.h >>conftest.$ac_ext
2565 cat >>conftest.$ac_ext <<_ACEOF
2566 /* end confdefs.h. */
2569 main ()
2573 return 0;
2575 _ACEOF
2576 rm -f conftest.o conftest.obj
2577 if { (ac_try="$ac_compile"
2578 case "(($ac_try" in
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2581 esac
2582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2583 (eval "$ac_compile") 2>&5
2584 ac_status=$?
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; then
2587 for ac_file in conftest.o conftest.obj conftest.*; do
2588 test -f "$ac_file" || continue;
2589 case $ac_file in
2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2591 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2592 break;;
2593 esac
2594 done
2595 else
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.$ac_ext >&5
2599 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2600 See \`config.log' for more details." >&5
2601 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2602 See \`config.log' for more details." >&2;}
2603 { (exit 1); exit 1; }; }
2606 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2608 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2609 echo "${ECHO_T}$ac_cv_objext" >&6; }
2610 OBJEXT=$ac_cv_objext
2611 ac_objext=$OBJEXT
2612 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2613 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2614 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2615 echo $ECHO_N "(cached) $ECHO_C" >&6
2616 else
2617 cat >conftest.$ac_ext <<_ACEOF
2618 /* confdefs.h. */
2619 _ACEOF
2620 cat confdefs.h >>conftest.$ac_ext
2621 cat >>conftest.$ac_ext <<_ACEOF
2622 /* end confdefs.h. */
2625 main ()
2627 #ifndef __GNUC__
2628 choke me
2629 #endif
2632 return 0;
2634 _ACEOF
2635 rm -f conftest.$ac_objext
2636 if { (ac_try="$ac_compile"
2637 case "(($ac_try" in
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2640 esac
2641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2642 (eval "$ac_compile") 2>conftest.er1
2643 ac_status=$?
2644 grep -v '^ *+' conftest.er1 >conftest.err
2645 rm -f conftest.er1
2646 cat conftest.err >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); } &&
2649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2650 { (case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2653 esac
2654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2655 (eval "$ac_try") 2>&5
2656 ac_status=$?
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }; } &&
2659 { ac_try='test -s conftest.$ac_objext'
2660 { (case "(($ac_try" in
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2663 esac
2664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2665 (eval "$ac_try") 2>&5
2666 ac_status=$?
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; }; then
2669 ac_compiler_gnu=yes
2670 else
2671 echo "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2674 ac_compiler_gnu=no
2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2681 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2687 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2688 if test "${ac_cv_prog_cc_g+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 else
2691 ac_save_c_werror_flag=$ac_c_werror_flag
2692 ac_c_werror_flag=yes
2693 ac_cv_prog_cc_g=no
2694 CFLAGS="-g"
2695 cat >conftest.$ac_ext <<_ACEOF
2696 /* confdefs.h. */
2697 _ACEOF
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2703 main ()
2707 return 0;
2709 _ACEOF
2710 rm -f conftest.$ac_objext
2711 if { (ac_try="$ac_compile"
2712 case "(($ac_try" in
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2715 esac
2716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2717 (eval "$ac_compile") 2>conftest.er1
2718 ac_status=$?
2719 grep -v '^ *+' conftest.er1 >conftest.err
2720 rm -f conftest.er1
2721 cat conftest.err >&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); } &&
2724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2725 { (case "(($ac_try" in
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2728 esac
2729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2730 (eval "$ac_try") 2>&5
2731 ac_status=$?
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; } &&
2734 { ac_try='test -s conftest.$ac_objext'
2735 { (case "(($ac_try" in
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2738 esac
2739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2740 (eval "$ac_try") 2>&5
2741 ac_status=$?
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }; }; then
2744 ac_cv_prog_cc_g=yes
2745 else
2746 echo "$as_me: failed program was:" >&5
2747 sed 's/^/| /' conftest.$ac_ext >&5
2749 CFLAGS=""
2750 cat >conftest.$ac_ext <<_ACEOF
2751 /* confdefs.h. */
2752 _ACEOF
2753 cat confdefs.h >>conftest.$ac_ext
2754 cat >>conftest.$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2758 main ()
2762 return 0;
2764 _ACEOF
2765 rm -f conftest.$ac_objext
2766 if { (ac_try="$ac_compile"
2767 case "(($ac_try" in
2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2770 esac
2771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2772 (eval "$ac_compile") 2>conftest.er1
2773 ac_status=$?
2774 grep -v '^ *+' conftest.er1 >conftest.err
2775 rm -f conftest.er1
2776 cat conftest.err >&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); } &&
2779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2780 { (case "(($ac_try" in
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2783 esac
2784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2785 (eval "$ac_try") 2>&5
2786 ac_status=$?
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; } &&
2789 { ac_try='test -s conftest.$ac_objext'
2790 { (case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2793 esac
2794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_try") 2>&5
2796 ac_status=$?
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }; }; then
2800 else
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2804 ac_c_werror_flag=$ac_save_c_werror_flag
2805 CFLAGS="-g"
2806 cat >conftest.$ac_ext <<_ACEOF
2807 /* confdefs.h. */
2808 _ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2814 main ()
2818 return 0;
2820 _ACEOF
2821 rm -f conftest.$ac_objext
2822 if { (ac_try="$ac_compile"
2823 case "(($ac_try" in
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2826 esac
2827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2828 (eval "$ac_compile") 2>conftest.er1
2829 ac_status=$?
2830 grep -v '^ *+' conftest.er1 >conftest.err
2831 rm -f conftest.er1
2832 cat conftest.err >&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } &&
2835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2836 { (case "(($ac_try" in
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2839 esac
2840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2841 (eval "$ac_try") 2>&5
2842 ac_status=$?
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; } &&
2845 { ac_try='test -s conftest.$ac_objext'
2846 { (case "(($ac_try" in
2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2848 *) ac_try_echo=$ac_try;;
2849 esac
2850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2851 (eval "$ac_try") 2>&5
2852 ac_status=$?
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }; }; then
2855 ac_cv_prog_cc_g=yes
2856 else
2857 echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 ac_c_werror_flag=$ac_save_c_werror_flag
2872 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2873 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2874 if test "$ac_test_CFLAGS" = set; then
2875 CFLAGS=$ac_save_CFLAGS
2876 elif test $ac_cv_prog_cc_g = yes; then
2877 if test "$GCC" = yes; then
2878 CFLAGS="-g -O2"
2879 else
2880 CFLAGS="-g"
2882 else
2883 if test "$GCC" = yes; then
2884 CFLAGS="-O2"
2885 else
2886 CFLAGS=
2889 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2890 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2891 if test "${ac_cv_prog_cc_c89+set}" = set; then
2892 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 else
2894 ac_cv_prog_cc_c89=no
2895 ac_save_CC=$CC
2896 cat >conftest.$ac_ext <<_ACEOF
2897 /* confdefs.h. */
2898 _ACEOF
2899 cat confdefs.h >>conftest.$ac_ext
2900 cat >>conftest.$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2902 #include <stdarg.h>
2903 #include <stdio.h>
2904 #include <sys/types.h>
2905 #include <sys/stat.h>
2906 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2907 struct buf { int x; };
2908 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2909 static char *e (p, i)
2910 char **p;
2911 int i;
2913 return p[i];
2915 static char *f (char * (*g) (char **, int), char **p, ...)
2917 char *s;
2918 va_list v;
2919 va_start (v,p);
2920 s = g (p, va_arg (v,int));
2921 va_end (v);
2922 return s;
2925 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2926 function prototypes and stuff, but not '\xHH' hex character constants.
2927 These don't provoke an error unfortunately, instead are silently treated
2928 as 'x'. The following induces an error, until -std is added to get
2929 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2930 array size at least. It's necessary to write '\x00'==0 to get something
2931 that's true only with -std. */
2932 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2934 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2935 inside strings and character constants. */
2936 #define FOO(x) 'x'
2937 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2939 int test (int i, double x);
2940 struct s1 {int (*f) (int a);};
2941 struct s2 {int (*f) (double a);};
2942 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2943 int argc;
2944 char **argv;
2946 main ()
2948 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2950 return 0;
2952 _ACEOF
2953 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2954 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2956 CC="$ac_save_CC $ac_arg"
2957 rm -f conftest.$ac_objext
2958 if { (ac_try="$ac_compile"
2959 case "(($ac_try" in
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2962 esac
2963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2964 (eval "$ac_compile") 2>conftest.er1
2965 ac_status=$?
2966 grep -v '^ *+' conftest.er1 >conftest.err
2967 rm -f conftest.er1
2968 cat conftest.err >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); } &&
2971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2972 { (case "(($ac_try" in
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2975 esac
2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2977 (eval "$ac_try") 2>&5
2978 ac_status=$?
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; } &&
2981 { ac_try='test -s conftest.$ac_objext'
2982 { (case "(($ac_try" in
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2985 esac
2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_try") 2>&5
2988 ac_status=$?
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }; }; then
2991 ac_cv_prog_cc_c89=$ac_arg
2992 else
2993 echo "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2999 rm -f core conftest.err conftest.$ac_objext
3000 test "x$ac_cv_prog_cc_c89" != "xno" && break
3001 done
3002 rm -f conftest.$ac_ext
3003 CC=$ac_save_CC
3006 # AC_CACHE_VAL
3007 case "x$ac_cv_prog_cc_c89" in
3009 { echo "$as_me:$LINENO: result: none needed" >&5
3010 echo "${ECHO_T}none needed" >&6; } ;;
3011 xno)
3012 { echo "$as_me:$LINENO: result: unsupported" >&5
3013 echo "${ECHO_T}unsupported" >&6; } ;;
3015 CC="$CC $ac_cv_prog_cc_c89"
3016 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3017 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3018 esac
3021 ac_ext=c
3022 ac_cpp='$CPP $CPPFLAGS'
3023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3027 ac_ext=cpp
3028 ac_cpp='$CXXCPP $CPPFLAGS'
3029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3032 if test -z "$CXX"; then
3033 if test -n "$CCC"; then
3034 CXX=$CCC
3035 else
3036 if test -n "$ac_tool_prefix"; then
3037 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3039 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3040 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3043 if test "${ac_cv_prog_CXX+set}" = set; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3045 else
3046 if test -n "$CXX"; then
3047 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3048 else
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050 for as_dir in $PATH
3052 IFS=$as_save_IFS
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3056 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 break 2
3060 done
3061 done
3062 IFS=$as_save_IFS
3066 CXX=$ac_cv_prog_CXX
3067 if test -n "$CXX"; then
3068 { echo "$as_me:$LINENO: result: $CXX" >&5
3069 echo "${ECHO_T}$CXX" >&6; }
3070 else
3071 { echo "$as_me:$LINENO: result: no" >&5
3072 echo "${ECHO_T}no" >&6; }
3076 test -n "$CXX" && break
3077 done
3079 if test -z "$CXX"; then
3080 ac_ct_CXX=$CXX
3081 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3083 # Extract the first word of "$ac_prog", so it can be a program name with args.
3084 set dummy $ac_prog; ac_word=$2
3085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3087 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3088 echo $ECHO_N "(cached) $ECHO_C" >&6
3089 else
3090 if test -n "$ac_ct_CXX"; then
3091 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3092 else
3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3094 for as_dir in $PATH
3096 IFS=$as_save_IFS
3097 test -z "$as_dir" && as_dir=.
3098 for ac_exec_ext in '' $ac_executable_extensions; do
3099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3100 ac_cv_prog_ac_ct_CXX="$ac_prog"
3101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3102 break 2
3104 done
3105 done
3106 IFS=$as_save_IFS
3110 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3111 if test -n "$ac_ct_CXX"; then
3112 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3113 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3114 else
3115 { echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6; }
3120 test -n "$ac_ct_CXX" && break
3121 done
3123 if test "x$ac_ct_CXX" = x; then
3124 CXX="g++"
3125 else
3126 case $cross_compiling:$ac_tool_warned in
3127 yes:)
3128 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3129 whose name does not start with the host triplet. If you think this
3130 configuration is useful to you, please write to autoconf@gnu.org." >&5
3131 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3132 whose name does not start with the host triplet. If you think this
3133 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3134 ac_tool_warned=yes ;;
3135 esac
3136 CXX=$ac_ct_CXX
3142 # Provide some information about the compiler.
3143 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3144 ac_compiler=`set X $ac_compile; echo $2`
3145 { (ac_try="$ac_compiler --version >&5"
3146 case "(($ac_try" in
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3149 esac
3150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3151 (eval "$ac_compiler --version >&5") 2>&5
3152 ac_status=$?
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); }
3155 { (ac_try="$ac_compiler -v >&5"
3156 case "(($ac_try" in
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3159 esac
3160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3161 (eval "$ac_compiler -v >&5") 2>&5
3162 ac_status=$?
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }
3165 { (ac_try="$ac_compiler -V >&5"
3166 case "(($ac_try" in
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3169 esac
3170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compiler -V >&5") 2>&5
3172 ac_status=$?
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }
3176 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3177 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3178 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3179 echo $ECHO_N "(cached) $ECHO_C" >&6
3180 else
3181 cat >conftest.$ac_ext <<_ACEOF
3182 /* confdefs.h. */
3183 _ACEOF
3184 cat confdefs.h >>conftest.$ac_ext
3185 cat >>conftest.$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3189 main ()
3191 #ifndef __GNUC__
3192 choke me
3193 #endif
3196 return 0;
3198 _ACEOF
3199 rm -f conftest.$ac_objext
3200 if { (ac_try="$ac_compile"
3201 case "(($ac_try" in
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3204 esac
3205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3206 (eval "$ac_compile") 2>conftest.er1
3207 ac_status=$?
3208 grep -v '^ *+' conftest.er1 >conftest.err
3209 rm -f conftest.er1
3210 cat conftest.err >&5
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); } &&
3213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3214 { (case "(($ac_try" in
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3217 esac
3218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3219 (eval "$ac_try") 2>&5
3220 ac_status=$?
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); }; } &&
3223 { ac_try='test -s conftest.$ac_objext'
3224 { (case "(($ac_try" in
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3227 esac
3228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3229 (eval "$ac_try") 2>&5
3230 ac_status=$?
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); }; }; then
3233 ac_compiler_gnu=yes
3234 else
3235 echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.$ac_ext >&5
3238 ac_compiler_gnu=no
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3245 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3246 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3247 GXX=`test $ac_compiler_gnu = yes && echo yes`
3248 ac_test_CXXFLAGS=${CXXFLAGS+set}
3249 ac_save_CXXFLAGS=$CXXFLAGS
3250 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3251 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3252 if test "${ac_cv_prog_cxx_g+set}" = set; then
3253 echo $ECHO_N "(cached) $ECHO_C" >&6
3254 else
3255 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3256 ac_cxx_werror_flag=yes
3257 ac_cv_prog_cxx_g=no
3258 CXXFLAGS="-g"
3259 cat >conftest.$ac_ext <<_ACEOF
3260 /* confdefs.h. */
3261 _ACEOF
3262 cat confdefs.h >>conftest.$ac_ext
3263 cat >>conftest.$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3267 main ()
3271 return 0;
3273 _ACEOF
3274 rm -f conftest.$ac_objext
3275 if { (ac_try="$ac_compile"
3276 case "(($ac_try" in
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3279 esac
3280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3281 (eval "$ac_compile") 2>conftest.er1
3282 ac_status=$?
3283 grep -v '^ *+' conftest.er1 >conftest.err
3284 rm -f conftest.er1
3285 cat conftest.err >&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); } &&
3288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3289 { (case "(($ac_try" in
3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3292 esac
3293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3294 (eval "$ac_try") 2>&5
3295 ac_status=$?
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); }; } &&
3298 { ac_try='test -s conftest.$ac_objext'
3299 { (case "(($ac_try" in
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3302 esac
3303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3304 (eval "$ac_try") 2>&5
3305 ac_status=$?
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }; }; then
3308 ac_cv_prog_cxx_g=yes
3309 else
3310 echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3313 CXXFLAGS=""
3314 cat >conftest.$ac_ext <<_ACEOF
3315 /* confdefs.h. */
3316 _ACEOF
3317 cat confdefs.h >>conftest.$ac_ext
3318 cat >>conftest.$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3322 main ()
3326 return 0;
3328 _ACEOF
3329 rm -f conftest.$ac_objext
3330 if { (ac_try="$ac_compile"
3331 case "(($ac_try" in
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3334 esac
3335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_compile") 2>conftest.er1
3337 ac_status=$?
3338 grep -v '^ *+' conftest.er1 >conftest.err
3339 rm -f conftest.er1
3340 cat conftest.err >&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); } &&
3343 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3344 { (case "(($ac_try" in
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3347 esac
3348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3349 (eval "$ac_try") 2>&5
3350 ac_status=$?
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }; } &&
3353 { ac_try='test -s conftest.$ac_objext'
3354 { (case "(($ac_try" in
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3357 esac
3358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3359 (eval "$ac_try") 2>&5
3360 ac_status=$?
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; }; then
3364 else
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5
3368 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3369 CXXFLAGS="-g"
3370 cat >conftest.$ac_ext <<_ACEOF
3371 /* confdefs.h. */
3372 _ACEOF
3373 cat confdefs.h >>conftest.$ac_ext
3374 cat >>conftest.$ac_ext <<_ACEOF
3375 /* end confdefs.h. */
3378 main ()
3382 return 0;
3384 _ACEOF
3385 rm -f conftest.$ac_objext
3386 if { (ac_try="$ac_compile"
3387 case "(($ac_try" in
3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3390 esac
3391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3392 (eval "$ac_compile") 2>conftest.er1
3393 ac_status=$?
3394 grep -v '^ *+' conftest.er1 >conftest.err
3395 rm -f conftest.er1
3396 cat conftest.err >&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); } &&
3399 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3400 { (case "(($ac_try" in
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402 *) ac_try_echo=$ac_try;;
3403 esac
3404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3405 (eval "$ac_try") 2>&5
3406 ac_status=$?
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try='test -s conftest.$ac_objext'
3410 { (case "(($ac_try" in
3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 *) ac_try_echo=$ac_try;;
3413 esac
3414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3415 (eval "$ac_try") 2>&5
3416 ac_status=$?
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; }; then
3419 ac_cv_prog_cxx_g=yes
3420 else
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3436 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3437 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3438 if test "$ac_test_CXXFLAGS" = set; then
3439 CXXFLAGS=$ac_save_CXXFLAGS
3440 elif test $ac_cv_prog_cxx_g = yes; then
3441 if test "$GXX" = yes; then
3442 CXXFLAGS="-g -O2"
3443 else
3444 CXXFLAGS="-g"
3446 else
3447 if test "$GXX" = yes; then
3448 CXXFLAGS="-O2"
3449 else
3450 CXXFLAGS=
3453 ac_ext=c
3454 ac_cpp='$CPP $CPPFLAGS'
3455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3459 if test -n "$ac_tool_prefix"; then
3460 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3461 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3464 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3465 echo $ECHO_N "(cached) $ECHO_C" >&6
3466 else
3467 if test -n "$CPPBIN"; then
3468 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3469 else
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3471 for as_dir in $PATH
3473 IFS=$as_save_IFS
3474 test -z "$as_dir" && as_dir=.
3475 for ac_exec_ext in '' $ac_executable_extensions; do
3476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3477 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3479 break 2
3481 done
3482 done
3483 IFS=$as_save_IFS
3487 CPPBIN=$ac_cv_prog_CPPBIN
3488 if test -n "$CPPBIN"; then
3489 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3490 echo "${ECHO_T}$CPPBIN" >&6; }
3491 else
3492 { echo "$as_me:$LINENO: result: no" >&5
3493 echo "${ECHO_T}no" >&6; }
3498 if test -z "$ac_cv_prog_CPPBIN"; then
3499 ac_ct_CPPBIN=$CPPBIN
3500 # Extract the first word of "cpp", so it can be a program name with args.
3501 set dummy cpp; ac_word=$2
3502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3504 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3506 else
3507 if test -n "$ac_ct_CPPBIN"; then
3508 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3509 else
3510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3511 for as_dir in $PATH
3513 IFS=$as_save_IFS
3514 test -z "$as_dir" && as_dir=.
3515 for ac_exec_ext in '' $ac_executable_extensions; do
3516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3517 ac_cv_prog_ac_ct_CPPBIN="cpp"
3518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3519 break 2
3521 done
3522 done
3523 IFS=$as_save_IFS
3527 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3528 if test -n "$ac_ct_CPPBIN"; then
3529 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3530 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3531 else
3532 { echo "$as_me:$LINENO: result: no" >&5
3533 echo "${ECHO_T}no" >&6; }
3536 if test "x$ac_ct_CPPBIN" = x; then
3537 CPPBIN="cpp"
3538 else
3539 case $cross_compiling:$ac_tool_warned in
3540 yes:)
3541 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3542 whose name does not start with the host triplet. If you think this
3543 configuration is useful to you, please write to autoconf@gnu.org." >&5
3544 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3545 whose name does not start with the host triplet. If you think this
3546 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3547 ac_tool_warned=yes ;;
3548 esac
3549 CPPBIN=$ac_ct_CPPBIN
3551 else
3552 CPPBIN="$ac_cv_prog_CPPBIN"
3556 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3557 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3558 if test "${wine_cv_toolsdir+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 else
3561 if test -z "$with_wine_tools"; then
3562 if test "$cross_compiling" = "yes"; then
3563 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3564 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3565 { (exit 1); exit 1; }; }
3566 else
3567 wine_cv_toolsdir="\$(TOPOBJDIR)"
3569 elif test -d "$with_wine_tools/tools/winebuild"; then
3570 case $with_wine_tools in
3571 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3572 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3573 esac
3574 else
3575 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3576 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3577 { (exit 1); exit 1; }; }
3580 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3581 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3582 TOOLSDIR=$wine_cv_toolsdir
3586 ac_ext=c
3587 ac_cpp='$CPP $CPPFLAGS'
3588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3591 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3592 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3593 # On Suns, sometimes $CPP names a directory.
3594 if test -n "$CPP" && test -d "$CPP"; then
3595 CPP=
3597 if test -z "$CPP"; then
3598 if test "${ac_cv_prog_CPP+set}" = set; then
3599 echo $ECHO_N "(cached) $ECHO_C" >&6
3600 else
3601 # Double quotes because CPP needs to be expanded
3602 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3604 ac_preproc_ok=false
3605 for ac_c_preproc_warn_flag in '' yes
3607 # Use a header file that comes with gcc, so configuring glibc
3608 # with a fresh cross-compiler works.
3609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3610 # <limits.h> exists even on freestanding compilers.
3611 # On the NeXT, cc -E runs the code through the compiler's parser,
3612 # not just through cpp. "Syntax error" is here to catch this case.
3613 cat >conftest.$ac_ext <<_ACEOF
3614 /* confdefs.h. */
3615 _ACEOF
3616 cat confdefs.h >>conftest.$ac_ext
3617 cat >>conftest.$ac_ext <<_ACEOF
3618 /* end confdefs.h. */
3619 #ifdef __STDC__
3620 # include <limits.h>
3621 #else
3622 # include <assert.h>
3623 #endif
3624 Syntax error
3625 _ACEOF
3626 if { (ac_try="$ac_cpp conftest.$ac_ext"
3627 case "(($ac_try" in
3628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629 *) ac_try_echo=$ac_try;;
3630 esac
3631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3632 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3633 ac_status=$?
3634 grep -v '^ *+' conftest.er1 >conftest.err
3635 rm -f conftest.er1
3636 cat conftest.err >&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); } >/dev/null; then
3639 if test -s conftest.err; then
3640 ac_cpp_err=$ac_c_preproc_warn_flag
3641 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3642 else
3643 ac_cpp_err=
3645 else
3646 ac_cpp_err=yes
3648 if test -z "$ac_cpp_err"; then
3650 else
3651 echo "$as_me: failed program was:" >&5
3652 sed 's/^/| /' conftest.$ac_ext >&5
3654 # Broken: fails on valid input.
3655 continue
3658 rm -f conftest.err conftest.$ac_ext
3660 # OK, works on sane cases. Now check whether nonexistent headers
3661 # can be detected and how.
3662 cat >conftest.$ac_ext <<_ACEOF
3663 /* confdefs.h. */
3664 _ACEOF
3665 cat confdefs.h >>conftest.$ac_ext
3666 cat >>conftest.$ac_ext <<_ACEOF
3667 /* end confdefs.h. */
3668 #include <ac_nonexistent.h>
3669 _ACEOF
3670 if { (ac_try="$ac_cpp conftest.$ac_ext"
3671 case "(($ac_try" in
3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3673 *) ac_try_echo=$ac_try;;
3674 esac
3675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3677 ac_status=$?
3678 grep -v '^ *+' conftest.er1 >conftest.err
3679 rm -f conftest.er1
3680 cat conftest.err >&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); } >/dev/null; then
3683 if test -s conftest.err; then
3684 ac_cpp_err=$ac_c_preproc_warn_flag
3685 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3686 else
3687 ac_cpp_err=
3689 else
3690 ac_cpp_err=yes
3692 if test -z "$ac_cpp_err"; then
3693 # Broken: success on invalid input.
3694 continue
3695 else
3696 echo "$as_me: failed program was:" >&5
3697 sed 's/^/| /' conftest.$ac_ext >&5
3699 # Passes both tests.
3700 ac_preproc_ok=:
3701 break
3704 rm -f conftest.err conftest.$ac_ext
3706 done
3707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3708 rm -f conftest.err conftest.$ac_ext
3709 if $ac_preproc_ok; then
3710 break
3713 done
3714 ac_cv_prog_CPP=$CPP
3717 CPP=$ac_cv_prog_CPP
3718 else
3719 ac_cv_prog_CPP=$CPP
3721 { echo "$as_me:$LINENO: result: $CPP" >&5
3722 echo "${ECHO_T}$CPP" >&6; }
3723 ac_preproc_ok=false
3724 for ac_c_preproc_warn_flag in '' yes
3726 # Use a header file that comes with gcc, so configuring glibc
3727 # with a fresh cross-compiler works.
3728 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3729 # <limits.h> exists even on freestanding compilers.
3730 # On the NeXT, cc -E runs the code through the compiler's parser,
3731 # not just through cpp. "Syntax error" is here to catch this case.
3732 cat >conftest.$ac_ext <<_ACEOF
3733 /* confdefs.h. */
3734 _ACEOF
3735 cat confdefs.h >>conftest.$ac_ext
3736 cat >>conftest.$ac_ext <<_ACEOF
3737 /* end confdefs.h. */
3738 #ifdef __STDC__
3739 # include <limits.h>
3740 #else
3741 # include <assert.h>
3742 #endif
3743 Syntax error
3744 _ACEOF
3745 if { (ac_try="$ac_cpp conftest.$ac_ext"
3746 case "(($ac_try" in
3747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3748 *) ac_try_echo=$ac_try;;
3749 esac
3750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3751 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3752 ac_status=$?
3753 grep -v '^ *+' conftest.er1 >conftest.err
3754 rm -f conftest.er1
3755 cat conftest.err >&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); } >/dev/null; then
3758 if test -s conftest.err; then
3759 ac_cpp_err=$ac_c_preproc_warn_flag
3760 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3761 else
3762 ac_cpp_err=
3764 else
3765 ac_cpp_err=yes
3767 if test -z "$ac_cpp_err"; then
3769 else
3770 echo "$as_me: failed program was:" >&5
3771 sed 's/^/| /' conftest.$ac_ext >&5
3773 # Broken: fails on valid input.
3774 continue
3777 rm -f conftest.err conftest.$ac_ext
3779 # OK, works on sane cases. Now check whether nonexistent headers
3780 # can be detected and how.
3781 cat >conftest.$ac_ext <<_ACEOF
3782 /* confdefs.h. */
3783 _ACEOF
3784 cat confdefs.h >>conftest.$ac_ext
3785 cat >>conftest.$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3787 #include <ac_nonexistent.h>
3788 _ACEOF
3789 if { (ac_try="$ac_cpp conftest.$ac_ext"
3790 case "(($ac_try" in
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3793 esac
3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3796 ac_status=$?
3797 grep -v '^ *+' conftest.er1 >conftest.err
3798 rm -f conftest.er1
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } >/dev/null; then
3802 if test -s conftest.err; then
3803 ac_cpp_err=$ac_c_preproc_warn_flag
3804 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3805 else
3806 ac_cpp_err=
3808 else
3809 ac_cpp_err=yes
3811 if test -z "$ac_cpp_err"; then
3812 # Broken: success on invalid input.
3813 continue
3814 else
3815 echo "$as_me: failed program was:" >&5
3816 sed 's/^/| /' conftest.$ac_ext >&5
3818 # Passes both tests.
3819 ac_preproc_ok=:
3820 break
3823 rm -f conftest.err conftest.$ac_ext
3825 done
3826 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3827 rm -f conftest.err conftest.$ac_ext
3828 if $ac_preproc_ok; then
3830 else
3831 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3832 See \`config.log' for more details." >&5
3833 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3834 See \`config.log' for more details." >&2;}
3835 { (exit 1); exit 1; }; }
3838 ac_ext=c
3839 ac_cpp='$CPP $CPPFLAGS'
3840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3845 { echo "$as_me:$LINENO: checking for X" >&5
3846 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3849 # Check whether --with-x was given.
3850 if test "${with_x+set}" = set; then
3851 withval=$with_x;
3854 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3855 if test "x$with_x" = xno; then
3856 # The user explicitly disabled X.
3857 have_x=disabled
3858 else
3859 case $x_includes,$x_libraries in #(
3860 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3861 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3862 { (exit 1); exit 1; }; };; #(
3863 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 else
3866 # One or both of the vars are not set, and there is no cached value.
3867 ac_x_includes=no ac_x_libraries=no
3868 rm -f -r conftest.dir
3869 if mkdir conftest.dir; then
3870 cd conftest.dir
3871 cat >Imakefile <<'_ACEOF'
3872 incroot:
3873 @echo incroot='${INCROOT}'
3874 usrlibdir:
3875 @echo usrlibdir='${USRLIBDIR}'
3876 libdir:
3877 @echo libdir='${LIBDIR}'
3878 _ACEOF
3879 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3880 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3881 for ac_var in incroot usrlibdir libdir; do
3882 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3883 done
3884 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3885 for ac_extension in a so sl; do
3886 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3887 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3888 ac_im_usrlibdir=$ac_im_libdir; break
3890 done
3891 # Screen out bogus values from the imake configuration. They are
3892 # bogus both because they are the default anyway, and because
3893 # using them would break gcc on systems where it needs fixed includes.
3894 case $ac_im_incroot in
3895 /usr/include) ac_x_includes= ;;
3896 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3897 esac
3898 case $ac_im_usrlibdir in
3899 /usr/lib | /lib) ;;
3900 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3901 esac
3903 cd ..
3904 rm -f -r conftest.dir
3907 # Standard set of common directories for X headers.
3908 # Check X11 before X11Rn because it is often a symlink to the current release.
3909 ac_x_header_dirs='
3910 /usr/X11/include
3911 /usr/X11R6/include
3912 /usr/X11R5/include
3913 /usr/X11R4/include
3915 /usr/include/X11
3916 /usr/include/X11R6
3917 /usr/include/X11R5
3918 /usr/include/X11R4
3920 /usr/local/X11/include
3921 /usr/local/X11R6/include
3922 /usr/local/X11R5/include
3923 /usr/local/X11R4/include
3925 /usr/local/include/X11
3926 /usr/local/include/X11R6
3927 /usr/local/include/X11R5
3928 /usr/local/include/X11R4
3930 /usr/X386/include
3931 /usr/x386/include
3932 /usr/XFree86/include/X11
3934 /usr/include
3935 /usr/local/include
3936 /usr/unsupported/include
3937 /usr/athena/include
3938 /usr/local/x11r5/include
3939 /usr/lpp/Xamples/include
3941 /usr/openwin/include
3942 /usr/openwin/share/include'
3944 if test "$ac_x_includes" = no; then
3945 # Guess where to find include files, by looking for Xlib.h.
3946 # First, try using that file with no special directory specified.
3947 cat >conftest.$ac_ext <<_ACEOF
3948 /* confdefs.h. */
3949 _ACEOF
3950 cat confdefs.h >>conftest.$ac_ext
3951 cat >>conftest.$ac_ext <<_ACEOF
3952 /* end confdefs.h. */
3953 #include <X11/Xlib.h>
3954 _ACEOF
3955 if { (ac_try="$ac_cpp conftest.$ac_ext"
3956 case "(($ac_try" in
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3959 esac
3960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3961 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3962 ac_status=$?
3963 grep -v '^ *+' conftest.er1 >conftest.err
3964 rm -f conftest.er1
3965 cat conftest.err >&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); } >/dev/null; then
3968 if test -s conftest.err; then
3969 ac_cpp_err=$ac_c_preproc_warn_flag
3970 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3971 else
3972 ac_cpp_err=
3974 else
3975 ac_cpp_err=yes
3977 if test -z "$ac_cpp_err"; then
3978 # We can compile using X headers with no special include directory.
3979 ac_x_includes=
3980 else
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5
3984 for ac_dir in $ac_x_header_dirs; do
3985 if test -r "$ac_dir/X11/Xlib.h"; then
3986 ac_x_includes=$ac_dir
3987 break
3989 done
3992 rm -f conftest.err conftest.$ac_ext
3993 fi # $ac_x_includes = no
3995 if test "$ac_x_libraries" = no; then
3996 # Check for the libraries.
3997 # See if we find them without any special options.
3998 # Don't add to $LIBS permanently.
3999 ac_save_LIBS=$LIBS
4000 LIBS="-lX11 $LIBS"
4001 cat >conftest.$ac_ext <<_ACEOF
4002 /* confdefs.h. */
4003 _ACEOF
4004 cat confdefs.h >>conftest.$ac_ext
4005 cat >>conftest.$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4007 #include <X11/Xlib.h>
4009 main ()
4011 XrmInitialize ()
4013 return 0;
4015 _ACEOF
4016 rm -f conftest.$ac_objext conftest$ac_exeext
4017 if { (ac_try="$ac_link"
4018 case "(($ac_try" in
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4021 esac
4022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4023 (eval "$ac_link") 2>conftest.er1
4024 ac_status=$?
4025 grep -v '^ *+' conftest.er1 >conftest.err
4026 rm -f conftest.er1
4027 cat conftest.err >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } &&
4030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4031 { (case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4034 esac
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_try") 2>&5
4037 ac_status=$?
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; } &&
4040 { ac_try='test -s conftest$ac_exeext'
4041 { (case "(($ac_try" in
4042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4044 esac
4045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046 (eval "$ac_try") 2>&5
4047 ac_status=$?
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); }; }; then
4050 LIBS=$ac_save_LIBS
4051 # We can link X programs with no special library path.
4052 ac_x_libraries=
4053 else
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4057 LIBS=$ac_save_LIBS
4058 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4060 # Don't even attempt the hair of trying to link an X program!
4061 for ac_extension in a so sl; do
4062 if test -r "$ac_dir/libX11.$ac_extension"; then
4063 ac_x_libraries=$ac_dir
4064 break 2
4066 done
4067 done
4070 rm -f core conftest.err conftest.$ac_objext \
4071 conftest$ac_exeext conftest.$ac_ext
4072 fi # $ac_x_libraries = no
4074 case $ac_x_includes,$ac_x_libraries in #(
4075 no,* | *,no | *\'*)
4076 # Didn't find X, or a directory has "'" in its name.
4077 ac_cv_have_x="have_x=no";; #(
4079 # Record where we found X for the cache.
4080 ac_cv_have_x="have_x=yes\
4081 ac_x_includes='$ac_x_includes'\
4082 ac_x_libraries='$ac_x_libraries'"
4083 esac
4085 ;; #(
4086 *) have_x=yes;;
4087 esac
4088 eval "$ac_cv_have_x"
4089 fi # $with_x != no
4091 if test "$have_x" != yes; then
4092 { echo "$as_me:$LINENO: result: $have_x" >&5
4093 echo "${ECHO_T}$have_x" >&6; }
4094 no_x=yes
4095 else
4096 # If each of the values was on the command line, it overrides each guess.
4097 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4098 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4099 # Update the cache value to reflect the command line values.
4100 ac_cv_have_x="have_x=yes\
4101 ac_x_includes='$x_includes'\
4102 ac_x_libraries='$x_libraries'"
4103 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4104 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4107 if test "$no_x" = yes; then
4108 # Not all programs may use this symbol, but it does not hurt to define it.
4110 cat >>confdefs.h <<\_ACEOF
4111 #define X_DISPLAY_MISSING 1
4112 _ACEOF
4114 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4115 else
4116 if test -n "$x_includes"; then
4117 X_CFLAGS="$X_CFLAGS -I$x_includes"
4120 # It would also be nice to do this for all -L options, not just this one.
4121 if test -n "$x_libraries"; then
4122 X_LIBS="$X_LIBS -L$x_libraries"
4123 # For Solaris; some versions of Sun CC require a space after -R and
4124 # others require no space. Words are not sufficient . . . .
4125 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4126 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4127 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4128 ac_xsave_c_werror_flag=$ac_c_werror_flag
4129 ac_c_werror_flag=yes
4130 cat >conftest.$ac_ext <<_ACEOF
4131 /* confdefs.h. */
4132 _ACEOF
4133 cat confdefs.h >>conftest.$ac_ext
4134 cat >>conftest.$ac_ext <<_ACEOF
4135 /* end confdefs.h. */
4138 main ()
4142 return 0;
4144 _ACEOF
4145 rm -f conftest.$ac_objext conftest$ac_exeext
4146 if { (ac_try="$ac_link"
4147 case "(($ac_try" in
4148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4149 *) ac_try_echo=$ac_try;;
4150 esac
4151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4152 (eval "$ac_link") 2>conftest.er1
4153 ac_status=$?
4154 grep -v '^ *+' conftest.er1 >conftest.err
4155 rm -f conftest.er1
4156 cat conftest.err >&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); } &&
4159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4160 { (case "(($ac_try" in
4161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4163 esac
4164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4165 (eval "$ac_try") 2>&5
4166 ac_status=$?
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); }; } &&
4169 { ac_try='test -s conftest$ac_exeext'
4170 { (case "(($ac_try" in
4171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4172 *) ac_try_echo=$ac_try;;
4173 esac
4174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4175 (eval "$ac_try") 2>&5
4176 ac_status=$?
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; }; then
4179 { echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6; }
4181 X_LIBS="$X_LIBS -R$x_libraries"
4182 else
4183 echo "$as_me: failed program was:" >&5
4184 sed 's/^/| /' conftest.$ac_ext >&5
4186 LIBS="$ac_xsave_LIBS -R $x_libraries"
4187 cat >conftest.$ac_ext <<_ACEOF
4188 /* confdefs.h. */
4189 _ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4195 main ()
4199 return 0;
4201 _ACEOF
4202 rm -f conftest.$ac_objext conftest$ac_exeext
4203 if { (ac_try="$ac_link"
4204 case "(($ac_try" in
4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4207 esac
4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209 (eval "$ac_link") 2>conftest.er1
4210 ac_status=$?
4211 grep -v '^ *+' conftest.er1 >conftest.err
4212 rm -f conftest.er1
4213 cat conftest.err >&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } &&
4216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4217 { (case "(($ac_try" in
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4220 esac
4221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4222 (eval "$ac_try") 2>&5
4223 ac_status=$?
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); }; } &&
4226 { ac_try='test -s conftest$ac_exeext'
4227 { (case "(($ac_try" in
4228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4230 esac
4231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4232 (eval "$ac_try") 2>&5
4233 ac_status=$?
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; }; then
4236 { echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6; }
4238 X_LIBS="$X_LIBS -R $x_libraries"
4239 else
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.$ac_ext >&5
4243 { echo "$as_me:$LINENO: result: neither works" >&5
4244 echo "${ECHO_T}neither works" >&6; }
4247 rm -f core conftest.err conftest.$ac_objext \
4248 conftest$ac_exeext conftest.$ac_ext
4251 rm -f core conftest.err conftest.$ac_objext \
4252 conftest$ac_exeext conftest.$ac_ext
4253 ac_c_werror_flag=$ac_xsave_c_werror_flag
4254 LIBS=$ac_xsave_LIBS
4257 # Check for system-dependent libraries X programs must link with.
4258 # Do this before checking for the system-independent R6 libraries
4259 # (-lICE), since we may need -lsocket or whatever for X linking.
4261 if test "$ISC" = yes; then
4262 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4263 else
4264 # Martyn Johnson says this is needed for Ultrix, if the X
4265 # libraries were built with DECnet support. And Karl Berry says
4266 # the Alpha needs dnet_stub (dnet does not exist).
4267 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4268 cat >conftest.$ac_ext <<_ACEOF
4269 /* confdefs.h. */
4270 _ACEOF
4271 cat confdefs.h >>conftest.$ac_ext
4272 cat >>conftest.$ac_ext <<_ACEOF
4273 /* end confdefs.h. */
4275 /* Override any GCC internal prototype to avoid an error.
4276 Use char because int might match the return type of a GCC
4277 builtin and then its argument prototype would still apply. */
4278 #ifdef __cplusplus
4279 extern "C"
4280 #endif
4281 char XOpenDisplay ();
4283 main ()
4285 return XOpenDisplay ();
4287 return 0;
4289 _ACEOF
4290 rm -f conftest.$ac_objext conftest$ac_exeext
4291 if { (ac_try="$ac_link"
4292 case "(($ac_try" in
4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4295 esac
4296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4297 (eval "$ac_link") 2>conftest.er1
4298 ac_status=$?
4299 grep -v '^ *+' conftest.er1 >conftest.err
4300 rm -f conftest.er1
4301 cat conftest.err >&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); } &&
4304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4305 { (case "(($ac_try" in
4306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4307 *) ac_try_echo=$ac_try;;
4308 esac
4309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4310 (eval "$ac_try") 2>&5
4311 ac_status=$?
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); }; } &&
4314 { ac_try='test -s conftest$ac_exeext'
4315 { (case "(($ac_try" in
4316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4317 *) ac_try_echo=$ac_try;;
4318 esac
4319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4320 (eval "$ac_try") 2>&5
4321 ac_status=$?
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); }; }; then
4325 else
4326 echo "$as_me: failed program was:" >&5
4327 sed 's/^/| /' conftest.$ac_ext >&5
4329 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4330 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4331 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4333 else
4334 ac_check_lib_save_LIBS=$LIBS
4335 LIBS="-ldnet $LIBS"
4336 cat >conftest.$ac_ext <<_ACEOF
4337 /* confdefs.h. */
4338 _ACEOF
4339 cat confdefs.h >>conftest.$ac_ext
4340 cat >>conftest.$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4343 /* Override any GCC internal prototype to avoid an error.
4344 Use char because int might match the return type of a GCC
4345 builtin and then its argument prototype would still apply. */
4346 #ifdef __cplusplus
4347 extern "C"
4348 #endif
4349 char dnet_ntoa ();
4351 main ()
4353 return dnet_ntoa ();
4355 return 0;
4357 _ACEOF
4358 rm -f conftest.$ac_objext conftest$ac_exeext
4359 if { (ac_try="$ac_link"
4360 case "(($ac_try" in
4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4363 esac
4364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4365 (eval "$ac_link") 2>conftest.er1
4366 ac_status=$?
4367 grep -v '^ *+' conftest.er1 >conftest.err
4368 rm -f conftest.er1
4369 cat conftest.err >&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } &&
4372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4373 { (case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4378 (eval "$ac_try") 2>&5
4379 ac_status=$?
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }; } &&
4382 { ac_try='test -s conftest$ac_exeext'
4383 { (case "(($ac_try" in
4384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4386 esac
4387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4388 (eval "$ac_try") 2>&5
4389 ac_status=$?
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); }; }; then
4392 ac_cv_lib_dnet_dnet_ntoa=yes
4393 else
4394 echo "$as_me: failed program was:" >&5
4395 sed 's/^/| /' conftest.$ac_ext >&5
4397 ac_cv_lib_dnet_dnet_ntoa=no
4400 rm -f core conftest.err conftest.$ac_objext \
4401 conftest$ac_exeext conftest.$ac_ext
4402 LIBS=$ac_check_lib_save_LIBS
4404 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4405 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4406 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4407 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4410 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4411 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4412 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4413 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4414 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 else
4416 ac_check_lib_save_LIBS=$LIBS
4417 LIBS="-ldnet_stub $LIBS"
4418 cat >conftest.$ac_ext <<_ACEOF
4419 /* confdefs.h. */
4420 _ACEOF
4421 cat confdefs.h >>conftest.$ac_ext
4422 cat >>conftest.$ac_ext <<_ACEOF
4423 /* end confdefs.h. */
4425 /* Override any GCC internal prototype to avoid an error.
4426 Use char because int might match the return type of a GCC
4427 builtin and then its argument prototype would still apply. */
4428 #ifdef __cplusplus
4429 extern "C"
4430 #endif
4431 char dnet_ntoa ();
4433 main ()
4435 return dnet_ntoa ();
4437 return 0;
4439 _ACEOF
4440 rm -f conftest.$ac_objext conftest$ac_exeext
4441 if { (ac_try="$ac_link"
4442 case "(($ac_try" in
4443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4444 *) ac_try_echo=$ac_try;;
4445 esac
4446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4447 (eval "$ac_link") 2>conftest.er1
4448 ac_status=$?
4449 grep -v '^ *+' conftest.er1 >conftest.err
4450 rm -f conftest.er1
4451 cat conftest.err >&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } &&
4454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4455 { (case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4460 (eval "$ac_try") 2>&5
4461 ac_status=$?
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); }; } &&
4464 { ac_try='test -s conftest$ac_exeext'
4465 { (case "(($ac_try" in
4466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4467 *) ac_try_echo=$ac_try;;
4468 esac
4469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4470 (eval "$ac_try") 2>&5
4471 ac_status=$?
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }; }; then
4474 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4475 else
4476 echo "$as_me: failed program was:" >&5
4477 sed 's/^/| /' conftest.$ac_ext >&5
4479 ac_cv_lib_dnet_stub_dnet_ntoa=no
4482 rm -f core conftest.err conftest.$ac_objext \
4483 conftest$ac_exeext conftest.$ac_ext
4484 LIBS=$ac_check_lib_save_LIBS
4486 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4487 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4488 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4489 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4495 rm -f core conftest.err conftest.$ac_objext \
4496 conftest$ac_exeext conftest.$ac_ext
4497 LIBS="$ac_xsave_LIBS"
4499 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4500 # to get the SysV transport functions.
4501 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4502 # needs -lnsl.
4503 # The nsl library prevents programs from opening the X display
4504 # on Irix 5.2, according to T.E. Dickey.
4505 # The functions gethostbyname, getservbyname, and inet_addr are
4506 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4507 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4508 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4509 if test "${ac_cv_func_gethostbyname+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4511 else
4512 cat >conftest.$ac_ext <<_ACEOF
4513 /* confdefs.h. */
4514 _ACEOF
4515 cat confdefs.h >>conftest.$ac_ext
4516 cat >>conftest.$ac_ext <<_ACEOF
4517 /* end confdefs.h. */
4518 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4520 #define gethostbyname innocuous_gethostbyname
4522 /* System header to define __stub macros and hopefully few prototypes,
4523 which can conflict with char gethostbyname (); below.
4524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4525 <limits.h> exists even on freestanding compilers. */
4527 #ifdef __STDC__
4528 # include <limits.h>
4529 #else
4530 # include <assert.h>
4531 #endif
4533 #undef gethostbyname
4535 /* Override any GCC internal prototype to avoid an error.
4536 Use char because int might match the return type of a GCC
4537 builtin and then its argument prototype would still apply. */
4538 #ifdef __cplusplus
4539 extern "C"
4540 #endif
4541 char gethostbyname ();
4542 /* The GNU C library defines this for functions which it implements
4543 to always fail with ENOSYS. Some functions are actually named
4544 something starting with __ and the normal name is an alias. */
4545 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4546 choke me
4547 #endif
4550 main ()
4552 return gethostbyname ();
4554 return 0;
4556 _ACEOF
4557 rm -f conftest.$ac_objext conftest$ac_exeext
4558 if { (ac_try="$ac_link"
4559 case "(($ac_try" in
4560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4561 *) ac_try_echo=$ac_try;;
4562 esac
4563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4564 (eval "$ac_link") 2>conftest.er1
4565 ac_status=$?
4566 grep -v '^ *+' conftest.er1 >conftest.err
4567 rm -f conftest.er1
4568 cat conftest.err >&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } &&
4571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4572 { (case "(($ac_try" in
4573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4574 *) ac_try_echo=$ac_try;;
4575 esac
4576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4577 (eval "$ac_try") 2>&5
4578 ac_status=$?
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); }; } &&
4581 { ac_try='test -s conftest$ac_exeext'
4582 { (case "(($ac_try" in
4583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4584 *) ac_try_echo=$ac_try;;
4585 esac
4586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4587 (eval "$ac_try") 2>&5
4588 ac_status=$?
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); }; }; then
4591 ac_cv_func_gethostbyname=yes
4592 else
4593 echo "$as_me: failed program was:" >&5
4594 sed 's/^/| /' conftest.$ac_ext >&5
4596 ac_cv_func_gethostbyname=no
4599 rm -f core conftest.err conftest.$ac_objext \
4600 conftest$ac_exeext conftest.$ac_ext
4602 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4603 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4605 if test $ac_cv_func_gethostbyname = no; then
4606 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4607 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4608 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4610 else
4611 ac_check_lib_save_LIBS=$LIBS
4612 LIBS="-lnsl $LIBS"
4613 cat >conftest.$ac_ext <<_ACEOF
4614 /* confdefs.h. */
4615 _ACEOF
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4620 /* Override any GCC internal prototype to avoid an error.
4621 Use char because int might match the return type of a GCC
4622 builtin and then its argument prototype would still apply. */
4623 #ifdef __cplusplus
4624 extern "C"
4625 #endif
4626 char gethostbyname ();
4628 main ()
4630 return gethostbyname ();
4632 return 0;
4634 _ACEOF
4635 rm -f conftest.$ac_objext conftest$ac_exeext
4636 if { (ac_try="$ac_link"
4637 case "(($ac_try" in
4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639 *) ac_try_echo=$ac_try;;
4640 esac
4641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4642 (eval "$ac_link") 2>conftest.er1
4643 ac_status=$?
4644 grep -v '^ *+' conftest.er1 >conftest.err
4645 rm -f conftest.er1
4646 cat conftest.err >&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); } &&
4649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4650 { (case "(($ac_try" in
4651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4652 *) ac_try_echo=$ac_try;;
4653 esac
4654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4655 (eval "$ac_try") 2>&5
4656 ac_status=$?
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); }; } &&
4659 { ac_try='test -s conftest$ac_exeext'
4660 { (case "(($ac_try" in
4661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4662 *) ac_try_echo=$ac_try;;
4663 esac
4664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4665 (eval "$ac_try") 2>&5
4666 ac_status=$?
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; }; then
4669 ac_cv_lib_nsl_gethostbyname=yes
4670 else
4671 echo "$as_me: failed program was:" >&5
4672 sed 's/^/| /' conftest.$ac_ext >&5
4674 ac_cv_lib_nsl_gethostbyname=no
4677 rm -f core conftest.err conftest.$ac_objext \
4678 conftest$ac_exeext conftest.$ac_ext
4679 LIBS=$ac_check_lib_save_LIBS
4681 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4682 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4683 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4684 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4687 if test $ac_cv_lib_nsl_gethostbyname = no; then
4688 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4689 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4690 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4691 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 else
4693 ac_check_lib_save_LIBS=$LIBS
4694 LIBS="-lbsd $LIBS"
4695 cat >conftest.$ac_ext <<_ACEOF
4696 /* confdefs.h. */
4697 _ACEOF
4698 cat confdefs.h >>conftest.$ac_ext
4699 cat >>conftest.$ac_ext <<_ACEOF
4700 /* end confdefs.h. */
4702 /* Override any GCC internal prototype to avoid an error.
4703 Use char because int might match the return type of a GCC
4704 builtin and then its argument prototype would still apply. */
4705 #ifdef __cplusplus
4706 extern "C"
4707 #endif
4708 char gethostbyname ();
4710 main ()
4712 return gethostbyname ();
4714 return 0;
4716 _ACEOF
4717 rm -f conftest.$ac_objext conftest$ac_exeext
4718 if { (ac_try="$ac_link"
4719 case "(($ac_try" in
4720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4721 *) ac_try_echo=$ac_try;;
4722 esac
4723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4724 (eval "$ac_link") 2>conftest.er1
4725 ac_status=$?
4726 grep -v '^ *+' conftest.er1 >conftest.err
4727 rm -f conftest.er1
4728 cat conftest.err >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); } &&
4731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4732 { (case "(($ac_try" in
4733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4734 *) ac_try_echo=$ac_try;;
4735 esac
4736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4737 (eval "$ac_try") 2>&5
4738 ac_status=$?
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; } &&
4741 { ac_try='test -s conftest$ac_exeext'
4742 { (case "(($ac_try" in
4743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4744 *) ac_try_echo=$ac_try;;
4745 esac
4746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4747 (eval "$ac_try") 2>&5
4748 ac_status=$?
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; }; then
4751 ac_cv_lib_bsd_gethostbyname=yes
4752 else
4753 echo "$as_me: failed program was:" >&5
4754 sed 's/^/| /' conftest.$ac_ext >&5
4756 ac_cv_lib_bsd_gethostbyname=no
4759 rm -f core conftest.err conftest.$ac_objext \
4760 conftest$ac_exeext conftest.$ac_ext
4761 LIBS=$ac_check_lib_save_LIBS
4763 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4764 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4765 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4766 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4772 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4773 # socket/setsockopt and other routines are undefined under SCO ODT
4774 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4775 # on later versions), says Simon Leinen: it contains gethostby*
4776 # variants that don't use the name server (or something). -lsocket
4777 # must be given before -lnsl if both are needed. We assume that
4778 # if connect needs -lnsl, so does gethostbyname.
4779 { echo "$as_me:$LINENO: checking for connect" >&5
4780 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4781 if test "${ac_cv_func_connect+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 else
4784 cat >conftest.$ac_ext <<_ACEOF
4785 /* confdefs.h. */
4786 _ACEOF
4787 cat confdefs.h >>conftest.$ac_ext
4788 cat >>conftest.$ac_ext <<_ACEOF
4789 /* end confdefs.h. */
4790 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4792 #define connect innocuous_connect
4794 /* System header to define __stub macros and hopefully few prototypes,
4795 which can conflict with char connect (); below.
4796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4797 <limits.h> exists even on freestanding compilers. */
4799 #ifdef __STDC__
4800 # include <limits.h>
4801 #else
4802 # include <assert.h>
4803 #endif
4805 #undef connect
4807 /* Override any GCC internal prototype to avoid an error.
4808 Use char because int might match the return type of a GCC
4809 builtin and then its argument prototype would still apply. */
4810 #ifdef __cplusplus
4811 extern "C"
4812 #endif
4813 char connect ();
4814 /* The GNU C library defines this for functions which it implements
4815 to always fail with ENOSYS. Some functions are actually named
4816 something starting with __ and the normal name is an alias. */
4817 #if defined __stub_connect || defined __stub___connect
4818 choke me
4819 #endif
4822 main ()
4824 return connect ();
4826 return 0;
4828 _ACEOF
4829 rm -f conftest.$ac_objext conftest$ac_exeext
4830 if { (ac_try="$ac_link"
4831 case "(($ac_try" in
4832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4833 *) ac_try_echo=$ac_try;;
4834 esac
4835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4836 (eval "$ac_link") 2>conftest.er1
4837 ac_status=$?
4838 grep -v '^ *+' conftest.er1 >conftest.err
4839 rm -f conftest.er1
4840 cat conftest.err >&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } &&
4843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4844 { (case "(($ac_try" in
4845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4846 *) ac_try_echo=$ac_try;;
4847 esac
4848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4849 (eval "$ac_try") 2>&5
4850 ac_status=$?
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; } &&
4853 { ac_try='test -s conftest$ac_exeext'
4854 { (case "(($ac_try" in
4855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4856 *) ac_try_echo=$ac_try;;
4857 esac
4858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4859 (eval "$ac_try") 2>&5
4860 ac_status=$?
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); }; }; then
4863 ac_cv_func_connect=yes
4864 else
4865 echo "$as_me: failed program was:" >&5
4866 sed 's/^/| /' conftest.$ac_ext >&5
4868 ac_cv_func_connect=no
4871 rm -f core conftest.err conftest.$ac_objext \
4872 conftest$ac_exeext conftest.$ac_ext
4874 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4875 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4877 if test $ac_cv_func_connect = no; then
4878 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4879 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4880 if test "${ac_cv_lib_socket_connect+set}" = set; then
4881 echo $ECHO_N "(cached) $ECHO_C" >&6
4882 else
4883 ac_check_lib_save_LIBS=$LIBS
4884 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4885 cat >conftest.$ac_ext <<_ACEOF
4886 /* confdefs.h. */
4887 _ACEOF
4888 cat confdefs.h >>conftest.$ac_ext
4889 cat >>conftest.$ac_ext <<_ACEOF
4890 /* end confdefs.h. */
4892 /* Override any GCC internal prototype to avoid an error.
4893 Use char because int might match the return type of a GCC
4894 builtin and then its argument prototype would still apply. */
4895 #ifdef __cplusplus
4896 extern "C"
4897 #endif
4898 char connect ();
4900 main ()
4902 return connect ();
4904 return 0;
4906 _ACEOF
4907 rm -f conftest.$ac_objext conftest$ac_exeext
4908 if { (ac_try="$ac_link"
4909 case "(($ac_try" in
4910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4911 *) ac_try_echo=$ac_try;;
4912 esac
4913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4914 (eval "$ac_link") 2>conftest.er1
4915 ac_status=$?
4916 grep -v '^ *+' conftest.er1 >conftest.err
4917 rm -f conftest.er1
4918 cat conftest.err >&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); } &&
4921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4922 { (case "(($ac_try" in
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 *) ac_try_echo=$ac_try;;
4925 esac
4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4927 (eval "$ac_try") 2>&5
4928 ac_status=$?
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); }; } &&
4931 { ac_try='test -s conftest$ac_exeext'
4932 { (case "(($ac_try" in
4933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4935 esac
4936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4937 (eval "$ac_try") 2>&5
4938 ac_status=$?
4939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940 (exit $ac_status); }; }; then
4941 ac_cv_lib_socket_connect=yes
4942 else
4943 echo "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.$ac_ext >&5
4946 ac_cv_lib_socket_connect=no
4949 rm -f core conftest.err conftest.$ac_objext \
4950 conftest$ac_exeext conftest.$ac_ext
4951 LIBS=$ac_check_lib_save_LIBS
4953 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4954 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4955 if test $ac_cv_lib_socket_connect = yes; then
4956 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4961 # Guillermo Gomez says -lposix is necessary on A/UX.
4962 { echo "$as_me:$LINENO: checking for remove" >&5
4963 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4964 if test "${ac_cv_func_remove+set}" = set; then
4965 echo $ECHO_N "(cached) $ECHO_C" >&6
4966 else
4967 cat >conftest.$ac_ext <<_ACEOF
4968 /* confdefs.h. */
4969 _ACEOF
4970 cat confdefs.h >>conftest.$ac_ext
4971 cat >>conftest.$ac_ext <<_ACEOF
4972 /* end confdefs.h. */
4973 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4975 #define remove innocuous_remove
4977 /* System header to define __stub macros and hopefully few prototypes,
4978 which can conflict with char remove (); below.
4979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4980 <limits.h> exists even on freestanding compilers. */
4982 #ifdef __STDC__
4983 # include <limits.h>
4984 #else
4985 # include <assert.h>
4986 #endif
4988 #undef remove
4990 /* Override any GCC internal prototype to avoid an error.
4991 Use char because int might match the return type of a GCC
4992 builtin and then its argument prototype would still apply. */
4993 #ifdef __cplusplus
4994 extern "C"
4995 #endif
4996 char remove ();
4997 /* The GNU C library defines this for functions which it implements
4998 to always fail with ENOSYS. Some functions are actually named
4999 something starting with __ and the normal name is an alias. */
5000 #if defined __stub_remove || defined __stub___remove
5001 choke me
5002 #endif
5005 main ()
5007 return remove ();
5009 return 0;
5011 _ACEOF
5012 rm -f conftest.$ac_objext conftest$ac_exeext
5013 if { (ac_try="$ac_link"
5014 case "(($ac_try" in
5015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5016 *) ac_try_echo=$ac_try;;
5017 esac
5018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5019 (eval "$ac_link") 2>conftest.er1
5020 ac_status=$?
5021 grep -v '^ *+' conftest.er1 >conftest.err
5022 rm -f conftest.er1
5023 cat conftest.err >&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); } &&
5026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5027 { (case "(($ac_try" in
5028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5029 *) ac_try_echo=$ac_try;;
5030 esac
5031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5032 (eval "$ac_try") 2>&5
5033 ac_status=$?
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; } &&
5036 { ac_try='test -s conftest$ac_exeext'
5037 { (case "(($ac_try" in
5038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5039 *) ac_try_echo=$ac_try;;
5040 esac
5041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5042 (eval "$ac_try") 2>&5
5043 ac_status=$?
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; }; then
5046 ac_cv_func_remove=yes
5047 else
5048 echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.$ac_ext >&5
5051 ac_cv_func_remove=no
5054 rm -f core conftest.err conftest.$ac_objext \
5055 conftest$ac_exeext conftest.$ac_ext
5057 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5058 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5060 if test $ac_cv_func_remove = no; then
5061 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5062 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5063 if test "${ac_cv_lib_posix_remove+set}" = set; then
5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5065 else
5066 ac_check_lib_save_LIBS=$LIBS
5067 LIBS="-lposix $LIBS"
5068 cat >conftest.$ac_ext <<_ACEOF
5069 /* confdefs.h. */
5070 _ACEOF
5071 cat confdefs.h >>conftest.$ac_ext
5072 cat >>conftest.$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5075 /* Override any GCC internal prototype to avoid an error.
5076 Use char because int might match the return type of a GCC
5077 builtin and then its argument prototype would still apply. */
5078 #ifdef __cplusplus
5079 extern "C"
5080 #endif
5081 char remove ();
5083 main ()
5085 return remove ();
5087 return 0;
5089 _ACEOF
5090 rm -f conftest.$ac_objext conftest$ac_exeext
5091 if { (ac_try="$ac_link"
5092 case "(($ac_try" in
5093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5095 esac
5096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5097 (eval "$ac_link") 2>conftest.er1
5098 ac_status=$?
5099 grep -v '^ *+' conftest.er1 >conftest.err
5100 rm -f conftest.er1
5101 cat conftest.err >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } &&
5104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5105 { (case "(($ac_try" in
5106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5107 *) ac_try_echo=$ac_try;;
5108 esac
5109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5110 (eval "$ac_try") 2>&5
5111 ac_status=$?
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); }; } &&
5114 { ac_try='test -s conftest$ac_exeext'
5115 { (case "(($ac_try" in
5116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5117 *) ac_try_echo=$ac_try;;
5118 esac
5119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5120 (eval "$ac_try") 2>&5
5121 ac_status=$?
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; }; then
5124 ac_cv_lib_posix_remove=yes
5125 else
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5129 ac_cv_lib_posix_remove=no
5132 rm -f core conftest.err conftest.$ac_objext \
5133 conftest$ac_exeext conftest.$ac_ext
5134 LIBS=$ac_check_lib_save_LIBS
5136 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5137 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5138 if test $ac_cv_lib_posix_remove = yes; then
5139 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5144 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5145 { echo "$as_me:$LINENO: checking for shmat" >&5
5146 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5147 if test "${ac_cv_func_shmat+set}" = set; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 else
5150 cat >conftest.$ac_ext <<_ACEOF
5151 /* confdefs.h. */
5152 _ACEOF
5153 cat confdefs.h >>conftest.$ac_ext
5154 cat >>conftest.$ac_ext <<_ACEOF
5155 /* end confdefs.h. */
5156 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5158 #define shmat innocuous_shmat
5160 /* System header to define __stub macros and hopefully few prototypes,
5161 which can conflict with char shmat (); below.
5162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5163 <limits.h> exists even on freestanding compilers. */
5165 #ifdef __STDC__
5166 # include <limits.h>
5167 #else
5168 # include <assert.h>
5169 #endif
5171 #undef shmat
5173 /* Override any GCC internal prototype to avoid an error.
5174 Use char because int might match the return type of a GCC
5175 builtin and then its argument prototype would still apply. */
5176 #ifdef __cplusplus
5177 extern "C"
5178 #endif
5179 char shmat ();
5180 /* The GNU C library defines this for functions which it implements
5181 to always fail with ENOSYS. Some functions are actually named
5182 something starting with __ and the normal name is an alias. */
5183 #if defined __stub_shmat || defined __stub___shmat
5184 choke me
5185 #endif
5188 main ()
5190 return shmat ();
5192 return 0;
5194 _ACEOF
5195 rm -f conftest.$ac_objext conftest$ac_exeext
5196 if { (ac_try="$ac_link"
5197 case "(($ac_try" in
5198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5199 *) ac_try_echo=$ac_try;;
5200 esac
5201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5202 (eval "$ac_link") 2>conftest.er1
5203 ac_status=$?
5204 grep -v '^ *+' conftest.er1 >conftest.err
5205 rm -f conftest.er1
5206 cat conftest.err >&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } &&
5209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5210 { (case "(($ac_try" in
5211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5212 *) ac_try_echo=$ac_try;;
5213 esac
5214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5215 (eval "$ac_try") 2>&5
5216 ac_status=$?
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); }; } &&
5219 { ac_try='test -s conftest$ac_exeext'
5220 { (case "(($ac_try" in
5221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5222 *) ac_try_echo=$ac_try;;
5223 esac
5224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5225 (eval "$ac_try") 2>&5
5226 ac_status=$?
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); }; }; then
5229 ac_cv_func_shmat=yes
5230 else
5231 echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.$ac_ext >&5
5234 ac_cv_func_shmat=no
5237 rm -f core conftest.err conftest.$ac_objext \
5238 conftest$ac_exeext conftest.$ac_ext
5240 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5241 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5243 if test $ac_cv_func_shmat = no; then
5244 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5245 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5246 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 else
5249 ac_check_lib_save_LIBS=$LIBS
5250 LIBS="-lipc $LIBS"
5251 cat >conftest.$ac_ext <<_ACEOF
5252 /* confdefs.h. */
5253 _ACEOF
5254 cat confdefs.h >>conftest.$ac_ext
5255 cat >>conftest.$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5258 /* Override any GCC internal prototype to avoid an error.
5259 Use char because int might match the return type of a GCC
5260 builtin and then its argument prototype would still apply. */
5261 #ifdef __cplusplus
5262 extern "C"
5263 #endif
5264 char shmat ();
5266 main ()
5268 return shmat ();
5270 return 0;
5272 _ACEOF
5273 rm -f conftest.$ac_objext conftest$ac_exeext
5274 if { (ac_try="$ac_link"
5275 case "(($ac_try" in
5276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5277 *) ac_try_echo=$ac_try;;
5278 esac
5279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5280 (eval "$ac_link") 2>conftest.er1
5281 ac_status=$?
5282 grep -v '^ *+' conftest.er1 >conftest.err
5283 rm -f conftest.er1
5284 cat conftest.err >&5
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); } &&
5287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5288 { (case "(($ac_try" in
5289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5290 *) ac_try_echo=$ac_try;;
5291 esac
5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5293 (eval "$ac_try") 2>&5
5294 ac_status=$?
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; } &&
5297 { ac_try='test -s conftest$ac_exeext'
5298 { (case "(($ac_try" in
5299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5300 *) ac_try_echo=$ac_try;;
5301 esac
5302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5303 (eval "$ac_try") 2>&5
5304 ac_status=$?
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); }; }; then
5307 ac_cv_lib_ipc_shmat=yes
5308 else
5309 echo "$as_me: failed program was:" >&5
5310 sed 's/^/| /' conftest.$ac_ext >&5
5312 ac_cv_lib_ipc_shmat=no
5315 rm -f core conftest.err conftest.$ac_objext \
5316 conftest$ac_exeext conftest.$ac_ext
5317 LIBS=$ac_check_lib_save_LIBS
5319 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5320 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5321 if test $ac_cv_lib_ipc_shmat = yes; then
5322 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5328 # Check for libraries that X11R6 Xt/Xaw programs need.
5329 ac_save_LDFLAGS=$LDFLAGS
5330 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5331 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5332 # check for ICE first), but we must link in the order -lSM -lICE or
5333 # we get undefined symbols. So assume we have SM if we have ICE.
5334 # These have to be linked with before -lX11, unlike the other
5335 # libraries we check for below, so use a different variable.
5336 # John Interrante, Karl Berry
5337 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5338 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5339 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5341 else
5342 ac_check_lib_save_LIBS=$LIBS
5343 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5344 cat >conftest.$ac_ext <<_ACEOF
5345 /* confdefs.h. */
5346 _ACEOF
5347 cat confdefs.h >>conftest.$ac_ext
5348 cat >>conftest.$ac_ext <<_ACEOF
5349 /* end confdefs.h. */
5351 /* Override any GCC internal prototype to avoid an error.
5352 Use char because int might match the return type of a GCC
5353 builtin and then its argument prototype would still apply. */
5354 #ifdef __cplusplus
5355 extern "C"
5356 #endif
5357 char IceConnectionNumber ();
5359 main ()
5361 return IceConnectionNumber ();
5363 return 0;
5365 _ACEOF
5366 rm -f conftest.$ac_objext conftest$ac_exeext
5367 if { (ac_try="$ac_link"
5368 case "(($ac_try" in
5369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5370 *) ac_try_echo=$ac_try;;
5371 esac
5372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5373 (eval "$ac_link") 2>conftest.er1
5374 ac_status=$?
5375 grep -v '^ *+' conftest.er1 >conftest.err
5376 rm -f conftest.er1
5377 cat conftest.err >&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); } &&
5380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5381 { (case "(($ac_try" in
5382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5383 *) ac_try_echo=$ac_try;;
5384 esac
5385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5386 (eval "$ac_try") 2>&5
5387 ac_status=$?
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; } &&
5390 { ac_try='test -s conftest$ac_exeext'
5391 { (case "(($ac_try" in
5392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5393 *) ac_try_echo=$ac_try;;
5394 esac
5395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5396 (eval "$ac_try") 2>&5
5397 ac_status=$?
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); }; }; then
5400 ac_cv_lib_ICE_IceConnectionNumber=yes
5401 else
5402 echo "$as_me: failed program was:" >&5
5403 sed 's/^/| /' conftest.$ac_ext >&5
5405 ac_cv_lib_ICE_IceConnectionNumber=no
5408 rm -f core conftest.err conftest.$ac_objext \
5409 conftest$ac_exeext conftest.$ac_ext
5410 LIBS=$ac_check_lib_save_LIBS
5412 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5413 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5414 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5415 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5418 LDFLAGS=$ac_save_LDFLAGS
5422 for ac_prog in flex lex
5424 # Extract the first word of "$ac_prog", so it can be a program name with args.
5425 set dummy $ac_prog; ac_word=$2
5426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5428 if test "${ac_cv_prog_LEX+set}" = set; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 else
5431 if test -n "$LEX"; then
5432 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5433 else
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in $PATH
5437 IFS=$as_save_IFS
5438 test -z "$as_dir" && as_dir=.
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5441 ac_cv_prog_LEX="$ac_prog"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5443 break 2
5445 done
5446 done
5447 IFS=$as_save_IFS
5451 LEX=$ac_cv_prog_LEX
5452 if test -n "$LEX"; then
5453 { echo "$as_me:$LINENO: result: $LEX" >&5
5454 echo "${ECHO_T}$LEX" >&6; }
5455 else
5456 { echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6; }
5461 test -n "$LEX" && break
5462 done
5463 test -n "$LEX" || LEX=":"
5465 if test -z "$LEXLIB"
5466 then
5467 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5468 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5469 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5470 echo $ECHO_N "(cached) $ECHO_C" >&6
5471 else
5472 ac_check_lib_save_LIBS=$LIBS
5473 LIBS="-lfl $LIBS"
5474 cat >conftest.$ac_ext <<_ACEOF
5475 /* confdefs.h. */
5476 _ACEOF
5477 cat confdefs.h >>conftest.$ac_ext
5478 cat >>conftest.$ac_ext <<_ACEOF
5479 /* end confdefs.h. */
5481 /* Override any GCC internal prototype to avoid an error.
5482 Use char because int might match the return type of a GCC
5483 builtin and then its argument prototype would still apply. */
5484 #ifdef __cplusplus
5485 extern "C"
5486 #endif
5487 char yywrap ();
5489 main ()
5491 return yywrap ();
5493 return 0;
5495 _ACEOF
5496 rm -f conftest.$ac_objext conftest$ac_exeext
5497 if { (ac_try="$ac_link"
5498 case "(($ac_try" in
5499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5500 *) ac_try_echo=$ac_try;;
5501 esac
5502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5503 (eval "$ac_link") 2>conftest.er1
5504 ac_status=$?
5505 grep -v '^ *+' conftest.er1 >conftest.err
5506 rm -f conftest.er1
5507 cat conftest.err >&5
5508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509 (exit $ac_status); } &&
5510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5511 { (case "(($ac_try" in
5512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5513 *) ac_try_echo=$ac_try;;
5514 esac
5515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5516 (eval "$ac_try") 2>&5
5517 ac_status=$?
5518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5519 (exit $ac_status); }; } &&
5520 { ac_try='test -s conftest$ac_exeext'
5521 { (case "(($ac_try" in
5522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5523 *) ac_try_echo=$ac_try;;
5524 esac
5525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5526 (eval "$ac_try") 2>&5
5527 ac_status=$?
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); }; }; then
5530 ac_cv_lib_fl_yywrap=yes
5531 else
5532 echo "$as_me: failed program was:" >&5
5533 sed 's/^/| /' conftest.$ac_ext >&5
5535 ac_cv_lib_fl_yywrap=no
5538 rm -f core conftest.err conftest.$ac_objext \
5539 conftest$ac_exeext conftest.$ac_ext
5540 LIBS=$ac_check_lib_save_LIBS
5542 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5543 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5544 if test $ac_cv_lib_fl_yywrap = yes; then
5545 LEXLIB="-lfl"
5546 else
5547 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5548 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5549 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5550 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 else
5552 ac_check_lib_save_LIBS=$LIBS
5553 LIBS="-ll $LIBS"
5554 cat >conftest.$ac_ext <<_ACEOF
5555 /* confdefs.h. */
5556 _ACEOF
5557 cat confdefs.h >>conftest.$ac_ext
5558 cat >>conftest.$ac_ext <<_ACEOF
5559 /* end confdefs.h. */
5561 /* Override any GCC internal prototype to avoid an error.
5562 Use char because int might match the return type of a GCC
5563 builtin and then its argument prototype would still apply. */
5564 #ifdef __cplusplus
5565 extern "C"
5566 #endif
5567 char yywrap ();
5569 main ()
5571 return yywrap ();
5573 return 0;
5575 _ACEOF
5576 rm -f conftest.$ac_objext conftest$ac_exeext
5577 if { (ac_try="$ac_link"
5578 case "(($ac_try" in
5579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5580 *) ac_try_echo=$ac_try;;
5581 esac
5582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5583 (eval "$ac_link") 2>conftest.er1
5584 ac_status=$?
5585 grep -v '^ *+' conftest.er1 >conftest.err
5586 rm -f conftest.er1
5587 cat conftest.err >&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); } &&
5590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5591 { (case "(($ac_try" in
5592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5593 *) ac_try_echo=$ac_try;;
5594 esac
5595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5596 (eval "$ac_try") 2>&5
5597 ac_status=$?
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); }; } &&
5600 { ac_try='test -s conftest$ac_exeext'
5601 { (case "(($ac_try" in
5602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5603 *) ac_try_echo=$ac_try;;
5604 esac
5605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5606 (eval "$ac_try") 2>&5
5607 ac_status=$?
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); }; }; then
5610 ac_cv_lib_l_yywrap=yes
5611 else
5612 echo "$as_me: failed program was:" >&5
5613 sed 's/^/| /' conftest.$ac_ext >&5
5615 ac_cv_lib_l_yywrap=no
5618 rm -f core conftest.err conftest.$ac_objext \
5619 conftest$ac_exeext conftest.$ac_ext
5620 LIBS=$ac_check_lib_save_LIBS
5622 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5623 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5624 if test $ac_cv_lib_l_yywrap = yes; then
5625 LEXLIB="-ll"
5632 if test "x$LEX" != "x:"; then
5633 { echo "$as_me:$LINENO: checking lex output file root" >&5
5634 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5635 if test "${ac_cv_prog_lex_root+set}" = set; then
5636 echo $ECHO_N "(cached) $ECHO_C" >&6
5637 else
5638 # The minimal lex program is just a single line: %%. But some broken lexes
5639 # (Solaris, I think it was) want two %% lines, so accommodate them.
5640 cat >conftest.l <<_ACEOF
5643 _ACEOF
5644 { (ac_try="$LEX conftest.l"
5645 case "(($ac_try" in
5646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5647 *) ac_try_echo=$ac_try;;
5648 esac
5649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5650 (eval "$LEX conftest.l") 2>&5
5651 ac_status=$?
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); }
5654 if test -f lex.yy.c; then
5655 ac_cv_prog_lex_root=lex.yy
5656 elif test -f lexyy.c; then
5657 ac_cv_prog_lex_root=lexyy
5658 else
5659 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5660 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5661 { (exit 1); exit 1; }; }
5664 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5665 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5666 rm -f conftest.l
5667 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5669 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5670 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5671 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5673 else
5674 # POSIX says lex can declare yytext either as a pointer or an array; the
5675 # default is implementation-dependent. Figure out which it is, since
5676 # not all implementations provide the %pointer and %array declarations.
5677 ac_cv_prog_lex_yytext_pointer=no
5678 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5679 ac_save_LIBS=$LIBS
5680 LIBS="$LIBS $LEXLIB"
5681 cat >conftest.$ac_ext <<_ACEOF
5682 `cat $LEX_OUTPUT_ROOT.c`
5683 _ACEOF
5684 rm -f conftest.$ac_objext conftest$ac_exeext
5685 if { (ac_try="$ac_link"
5686 case "(($ac_try" in
5687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5688 *) ac_try_echo=$ac_try;;
5689 esac
5690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5691 (eval "$ac_link") 2>conftest.er1
5692 ac_status=$?
5693 grep -v '^ *+' conftest.er1 >conftest.err
5694 rm -f conftest.er1
5695 cat conftest.err >&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); } &&
5698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5699 { (case "(($ac_try" in
5700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5701 *) ac_try_echo=$ac_try;;
5702 esac
5703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5704 (eval "$ac_try") 2>&5
5705 ac_status=$?
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; } &&
5708 { ac_try='test -s conftest$ac_exeext'
5709 { (case "(($ac_try" in
5710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5711 *) ac_try_echo=$ac_try;;
5712 esac
5713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5714 (eval "$ac_try") 2>&5
5715 ac_status=$?
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717 (exit $ac_status); }; }; then
5718 ac_cv_prog_lex_yytext_pointer=yes
5719 else
5720 echo "$as_me: failed program was:" >&5
5721 sed 's/^/| /' conftest.$ac_ext >&5
5726 rm -f core conftest.err conftest.$ac_objext \
5727 conftest$ac_exeext conftest.$ac_ext
5728 LIBS=$ac_save_LIBS
5729 rm -f "${LEX_OUTPUT_ROOT}.c"
5732 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5733 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5734 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5736 cat >>confdefs.h <<\_ACEOF
5737 #define YYTEXT_POINTER 1
5738 _ACEOF
5744 for ac_prog in $LEX flex lex
5746 # Extract the first word of "$ac_prog", so it can be a program name with args.
5747 set dummy $ac_prog; ac_word=$2
5748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5750 if test "${ac_cv_prog_XLEX+set}" = set; then
5751 echo $ECHO_N "(cached) $ECHO_C" >&6
5752 else
5753 if test -n "$XLEX"; then
5754 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5755 else
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $PATH
5759 IFS=$as_save_IFS
5760 test -z "$as_dir" && as_dir=.
5761 for ac_exec_ext in '' $ac_executable_extensions; do
5762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5763 ac_cv_prog_XLEX="$ac_prog"
5764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 break 2
5767 done
5768 done
5769 IFS=$as_save_IFS
5773 XLEX=$ac_cv_prog_XLEX
5774 if test -n "$XLEX"; then
5775 { echo "$as_me:$LINENO: result: $XLEX" >&5
5776 echo "${ECHO_T}$XLEX" >&6; }
5777 else
5778 { echo "$as_me:$LINENO: result: no" >&5
5779 echo "${ECHO_T}no" >&6; }
5783 test -n "$XLEX" && break
5784 done
5785 test -n "$XLEX" || XLEX="none"
5787 if test "$XLEX" = "none"
5788 then
5789 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5790 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5791 { (exit 1); exit 1; }; }
5794 for ac_prog in bison
5796 # Extract the first word of "$ac_prog", so it can be a program name with args.
5797 set dummy $ac_prog; ac_word=$2
5798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5800 if test "${ac_cv_prog_BISON+set}" = set; then
5801 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 else
5803 if test -n "$BISON"; then
5804 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5805 else
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 for as_dir in $PATH
5809 IFS=$as_save_IFS
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5813 ac_cv_prog_BISON="$ac_prog"
5814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 break 2
5817 done
5818 done
5819 IFS=$as_save_IFS
5823 BISON=$ac_cv_prog_BISON
5824 if test -n "$BISON"; then
5825 { echo "$as_me:$LINENO: result: $BISON" >&5
5826 echo "${ECHO_T}$BISON" >&6; }
5827 else
5828 { echo "$as_me:$LINENO: result: no" >&5
5829 echo "${ECHO_T}no" >&6; }
5833 test -n "$BISON" && break
5834 done
5835 test -n "$BISON" || BISON="none"
5837 if test "$BISON" = "none"
5838 then
5839 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5840 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5841 { (exit 1); exit 1; }; }
5844 if test -n "$ac_tool_prefix"; then
5845 for ac_prog in gas as
5847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5848 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5851 if test "${ac_cv_prog_AS+set}" = set; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5853 else
5854 if test -n "$AS"; then
5855 ac_cv_prog_AS="$AS" # Let the user override the test.
5856 else
5857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858 for as_dir in $PATH
5860 IFS=$as_save_IFS
5861 test -z "$as_dir" && as_dir=.
5862 for ac_exec_ext in '' $ac_executable_extensions; do
5863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5864 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 break 2
5868 done
5869 done
5870 IFS=$as_save_IFS
5874 AS=$ac_cv_prog_AS
5875 if test -n "$AS"; then
5876 { echo "$as_me:$LINENO: result: $AS" >&5
5877 echo "${ECHO_T}$AS" >&6; }
5878 else
5879 { echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6; }
5884 test -n "$AS" && break
5885 done
5887 if test -z "$AS"; then
5888 ac_ct_AS=$AS
5889 for ac_prog in gas as
5891 # Extract the first word of "$ac_prog", so it can be a program name with args.
5892 set dummy $ac_prog; ac_word=$2
5893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5895 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 else
5898 if test -n "$ac_ct_AS"; then
5899 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5900 else
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in $PATH
5904 IFS=$as_save_IFS
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5908 ac_cv_prog_ac_ct_AS="$ac_prog"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 break 2
5912 done
5913 done
5914 IFS=$as_save_IFS
5918 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5919 if test -n "$ac_ct_AS"; then
5920 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5921 echo "${ECHO_T}$ac_ct_AS" >&6; }
5922 else
5923 { echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6; }
5928 test -n "$ac_ct_AS" && break
5929 done
5931 if test "x$ac_ct_AS" = x; then
5932 AS="as"
5933 else
5934 case $cross_compiling:$ac_tool_warned in
5935 yes:)
5936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5937 whose name does not start with the host triplet. If you think this
5938 configuration is useful to you, please write to autoconf@gnu.org." >&5
5939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5940 whose name does not start with the host triplet. If you think this
5941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5942 ac_tool_warned=yes ;;
5943 esac
5944 AS=$ac_ct_AS
5948 if test -n "$ac_tool_prefix"; then
5949 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5950 set dummy ${ac_tool_prefix}ld; ac_word=$2
5951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5953 if test "${ac_cv_prog_LD+set}" = set; then
5954 echo $ECHO_N "(cached) $ECHO_C" >&6
5955 else
5956 if test -n "$LD"; then
5957 ac_cv_prog_LD="$LD" # Let the user override the test.
5958 else
5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 for as_dir in $PATH
5962 IFS=$as_save_IFS
5963 test -z "$as_dir" && as_dir=.
5964 for ac_exec_ext in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5966 ac_cv_prog_LD="${ac_tool_prefix}ld"
5967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5968 break 2
5970 done
5971 done
5972 IFS=$as_save_IFS
5976 LD=$ac_cv_prog_LD
5977 if test -n "$LD"; then
5978 { echo "$as_me:$LINENO: result: $LD" >&5
5979 echo "${ECHO_T}$LD" >&6; }
5980 else
5981 { echo "$as_me:$LINENO: result: no" >&5
5982 echo "${ECHO_T}no" >&6; }
5987 if test -z "$ac_cv_prog_LD"; then
5988 ac_ct_LD=$LD
5989 # Extract the first word of "ld", so it can be a program name with args.
5990 set dummy ld; ac_word=$2
5991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5993 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5995 else
5996 if test -n "$ac_ct_LD"; then
5997 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5998 else
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6000 for as_dir in $PATH
6002 IFS=$as_save_IFS
6003 test -z "$as_dir" && as_dir=.
6004 for ac_exec_ext in '' $ac_executable_extensions; do
6005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6006 ac_cv_prog_ac_ct_LD="ld"
6007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6008 break 2
6010 done
6011 done
6012 IFS=$as_save_IFS
6016 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6017 if test -n "$ac_ct_LD"; then
6018 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6019 echo "${ECHO_T}$ac_ct_LD" >&6; }
6020 else
6021 { echo "$as_me:$LINENO: result: no" >&5
6022 echo "${ECHO_T}no" >&6; }
6025 if test "x$ac_ct_LD" = x; then
6026 LD="ld"
6027 else
6028 case $cross_compiling:$ac_tool_warned in
6029 yes:)
6030 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6031 whose name does not start with the host triplet. If you think this
6032 configuration is useful to you, please write to autoconf@gnu.org." >&5
6033 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6034 whose name does not start with the host triplet. If you think this
6035 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6036 ac_tool_warned=yes ;;
6037 esac
6038 LD=$ac_ct_LD
6040 else
6041 LD="$ac_cv_prog_LD"
6044 if test -n "$ac_tool_prefix"; then
6045 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6046 set dummy ${ac_tool_prefix}ar; ac_word=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_AR+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 else
6052 if test -n "$AR"; then
6053 ac_cv_prog_AR="$AR" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_AR="${ac_tool_prefix}ar"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 break 2
6066 done
6067 done
6068 IFS=$as_save_IFS
6072 AR=$ac_cv_prog_AR
6073 if test -n "$AR"; then
6074 { echo "$as_me:$LINENO: result: $AR" >&5
6075 echo "${ECHO_T}$AR" >&6; }
6076 else
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6083 if test -z "$ac_cv_prog_AR"; then
6084 ac_ct_AR=$AR
6085 # Extract the first word of "ar", so it can be a program name with args.
6086 set dummy ar; ac_word=$2
6087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6089 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6091 else
6092 if test -n "$ac_ct_AR"; then
6093 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6098 IFS=$as_save_IFS
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6102 ac_cv_prog_ac_ct_AR="ar"
6103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 break 2
6106 done
6107 done
6108 IFS=$as_save_IFS
6112 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6113 if test -n "$ac_ct_AR"; then
6114 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6115 echo "${ECHO_T}$ac_ct_AR" >&6; }
6116 else
6117 { echo "$as_me:$LINENO: result: no" >&5
6118 echo "${ECHO_T}no" >&6; }
6121 if test "x$ac_ct_AR" = x; then
6122 AR="ar"
6123 else
6124 case $cross_compiling:$ac_tool_warned in
6125 yes:)
6126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6127 whose name does not start with the host triplet. If you think this
6128 configuration is useful to you, please write to autoconf@gnu.org." >&5
6129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6130 whose name does not start with the host triplet. If you think this
6131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6132 ac_tool_warned=yes ;;
6133 esac
6134 AR=$ac_ct_AR
6136 else
6137 AR="$ac_cv_prog_AR"
6140 if test -n "$ac_tool_prefix"; then
6141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6142 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6145 if test "${ac_cv_prog_RANLIB+set}" = set; then
6146 echo $ECHO_N "(cached) $ECHO_C" >&6
6147 else
6148 if test -n "$RANLIB"; then
6149 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6150 else
6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 for as_dir in $PATH
6154 IFS=$as_save_IFS
6155 test -z "$as_dir" && as_dir=.
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6158 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6160 break 2
6162 done
6163 done
6164 IFS=$as_save_IFS
6168 RANLIB=$ac_cv_prog_RANLIB
6169 if test -n "$RANLIB"; then
6170 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6171 echo "${ECHO_T}$RANLIB" >&6; }
6172 else
6173 { echo "$as_me:$LINENO: result: no" >&5
6174 echo "${ECHO_T}no" >&6; }
6179 if test -z "$ac_cv_prog_RANLIB"; then
6180 ac_ct_RANLIB=$RANLIB
6181 # Extract the first word of "ranlib", so it can be a program name with args.
6182 set dummy ranlib; ac_word=$2
6183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6185 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6187 else
6188 if test -n "$ac_ct_RANLIB"; then
6189 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6190 else
6191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6192 for as_dir in $PATH
6194 IFS=$as_save_IFS
6195 test -z "$as_dir" && as_dir=.
6196 for ac_exec_ext in '' $ac_executable_extensions; do
6197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6198 ac_cv_prog_ac_ct_RANLIB="ranlib"
6199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6200 break 2
6202 done
6203 done
6204 IFS=$as_save_IFS
6208 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6209 if test -n "$ac_ct_RANLIB"; then
6210 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6211 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6212 else
6213 { echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6; }
6217 if test "x$ac_ct_RANLIB" = x; then
6218 RANLIB=":"
6219 else
6220 case $cross_compiling:$ac_tool_warned in
6221 yes:)
6222 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6223 whose name does not start with the host triplet. If you think this
6224 configuration is useful to you, please write to autoconf@gnu.org." >&5
6225 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6226 whose name does not start with the host triplet. If you think this
6227 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6228 ac_tool_warned=yes ;;
6229 esac
6230 RANLIB=$ac_ct_RANLIB
6232 else
6233 RANLIB="$ac_cv_prog_RANLIB"
6236 if test -n "$ac_tool_prefix"; then
6237 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6238 set dummy ${ac_tool_prefix}strip; ac_word=$2
6239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6241 if test "${ac_cv_prog_STRIP+set}" = set; then
6242 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 else
6244 if test -n "$STRIP"; then
6245 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6246 else
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 for as_dir in $PATH
6250 IFS=$as_save_IFS
6251 test -z "$as_dir" && as_dir=.
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6256 break 2
6258 done
6259 done
6260 IFS=$as_save_IFS
6264 STRIP=$ac_cv_prog_STRIP
6265 if test -n "$STRIP"; then
6266 { echo "$as_me:$LINENO: result: $STRIP" >&5
6267 echo "${ECHO_T}$STRIP" >&6; }
6268 else
6269 { echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6; }
6275 if test -z "$ac_cv_prog_STRIP"; then
6276 ac_ct_STRIP=$STRIP
6277 # Extract the first word of "strip", so it can be a program name with args.
6278 set dummy strip; ac_word=$2
6279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6281 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6282 echo $ECHO_N "(cached) $ECHO_C" >&6
6283 else
6284 if test -n "$ac_ct_STRIP"; then
6285 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6286 else
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 for as_dir in $PATH
6290 IFS=$as_save_IFS
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 ac_cv_prog_ac_ct_STRIP="strip"
6295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6296 break 2
6298 done
6299 done
6300 IFS=$as_save_IFS
6304 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6305 if test -n "$ac_ct_STRIP"; then
6306 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6307 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6308 else
6309 { echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6; }
6313 if test "x$ac_ct_STRIP" = x; then
6314 STRIP="strip"
6315 else
6316 case $cross_compiling:$ac_tool_warned in
6317 yes:)
6318 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6319 whose name does not start with the host triplet. If you think this
6320 configuration is useful to you, please write to autoconf@gnu.org." >&5
6321 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6322 whose name does not start with the host triplet. If you think this
6323 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6324 ac_tool_warned=yes ;;
6325 esac
6326 STRIP=$ac_ct_STRIP
6328 else
6329 STRIP="$ac_cv_prog_STRIP"
6332 if test -n "$ac_tool_prefix"; then
6333 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6334 set dummy ${ac_tool_prefix}windres; ac_word=$2
6335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6337 if test "${ac_cv_prog_WINDRES+set}" = set; then
6338 echo $ECHO_N "(cached) $ECHO_C" >&6
6339 else
6340 if test -n "$WINDRES"; then
6341 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6342 else
6343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6344 for as_dir in $PATH
6346 IFS=$as_save_IFS
6347 test -z "$as_dir" && as_dir=.
6348 for ac_exec_ext in '' $ac_executable_extensions; do
6349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6350 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6352 break 2
6354 done
6355 done
6356 IFS=$as_save_IFS
6360 WINDRES=$ac_cv_prog_WINDRES
6361 if test -n "$WINDRES"; then
6362 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6363 echo "${ECHO_T}$WINDRES" >&6; }
6364 else
6365 { echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6; }
6371 if test -z "$ac_cv_prog_WINDRES"; then
6372 ac_ct_WINDRES=$WINDRES
6373 # Extract the first word of "windres", so it can be a program name with args.
6374 set dummy windres; ac_word=$2
6375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6377 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 else
6380 if test -n "$ac_ct_WINDRES"; then
6381 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6382 else
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 for as_dir in $PATH
6386 IFS=$as_save_IFS
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6390 ac_cv_prog_ac_ct_WINDRES="windres"
6391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6392 break 2
6394 done
6395 done
6396 IFS=$as_save_IFS
6400 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6401 if test -n "$ac_ct_WINDRES"; then
6402 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6403 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6404 else
6405 { echo "$as_me:$LINENO: result: no" >&5
6406 echo "${ECHO_T}no" >&6; }
6409 if test "x$ac_ct_WINDRES" = x; then
6410 WINDRES="false"
6411 else
6412 case $cross_compiling:$ac_tool_warned in
6413 yes:)
6414 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6415 whose name does not start with the host triplet. If you think this
6416 configuration is useful to you, please write to autoconf@gnu.org." >&5
6417 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6418 whose name does not start with the host triplet. If you think this
6419 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6420 ac_tool_warned=yes ;;
6421 esac
6422 WINDRES=$ac_ct_WINDRES
6424 else
6425 WINDRES="$ac_cv_prog_WINDRES"
6428 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6429 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6430 LN_S=$as_ln_s
6431 if test "$LN_S" = "ln -s"; then
6432 { echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6; }
6434 else
6435 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6436 echo "${ECHO_T}no, using $LN_S" >&6; }
6439 { echo "$as_me:$LINENO: checking whether ln works" >&5
6440 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6441 rm -f conf$$ conf$$.file
6442 echo >conf$$.file
6443 if ln conf$$.file conf$$ 2>/dev/null; then
6444 LN=ln
6446 { echo "$as_me:$LINENO: result: yes" >&5
6447 echo "${ECHO_T}yes" >&6; }
6448 else
6449 LN="cp -p"
6451 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6452 echo "${ECHO_T}no, using $LN" >&6; }
6454 rm -f conf$$ conf$$.file
6455 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6456 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6457 if test "${ac_cv_path_GREP+set}" = set; then
6458 echo $ECHO_N "(cached) $ECHO_C" >&6
6459 else
6460 # Extract the first word of "grep ggrep" to use in msg output
6461 if test -z "$GREP"; then
6462 set dummy grep ggrep; ac_prog_name=$2
6463 if test "${ac_cv_path_GREP+set}" = set; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 else
6466 ac_path_GREP_found=false
6467 # Loop through the user's path and test for each of PROGNAME-LIST
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6471 IFS=$as_save_IFS
6472 test -z "$as_dir" && as_dir=.
6473 for ac_prog in grep ggrep; do
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6476 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6477 # Check for GNU ac_path_GREP and select it if it is found.
6478 # Check for GNU $ac_path_GREP
6479 case `"$ac_path_GREP" --version 2>&1` in
6480 *GNU*)
6481 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6483 ac_count=0
6484 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6485 while :
6487 cat "conftest.in" "conftest.in" >"conftest.tmp"
6488 mv "conftest.tmp" "conftest.in"
6489 cp "conftest.in" "conftest.nl"
6490 echo 'GREP' >> "conftest.nl"
6491 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6492 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6493 ac_count=`expr $ac_count + 1`
6494 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6495 # Best one so far, save it but keep looking for a better one
6496 ac_cv_path_GREP="$ac_path_GREP"
6497 ac_path_GREP_max=$ac_count
6499 # 10*(2^10) chars as input seems more than enough
6500 test $ac_count -gt 10 && break
6501 done
6502 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6503 esac
6506 $ac_path_GREP_found && break 3
6507 done
6508 done
6510 done
6511 IFS=$as_save_IFS
6516 GREP="$ac_cv_path_GREP"
6517 if test -z "$GREP"; then
6518 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6519 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6520 { (exit 1); exit 1; }; }
6523 else
6524 ac_cv_path_GREP=$GREP
6529 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6530 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6531 GREP="$ac_cv_path_GREP"
6534 { echo "$as_me:$LINENO: checking for egrep" >&5
6535 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6536 if test "${ac_cv_path_EGREP+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6538 else
6539 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6540 then ac_cv_path_EGREP="$GREP -E"
6541 else
6542 # Extract the first word of "egrep" to use in msg output
6543 if test -z "$EGREP"; then
6544 set dummy egrep; ac_prog_name=$2
6545 if test "${ac_cv_path_EGREP+set}" = set; then
6546 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 else
6548 ac_path_EGREP_found=false
6549 # Loop through the user's path and test for each of PROGNAME-LIST
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6553 IFS=$as_save_IFS
6554 test -z "$as_dir" && as_dir=.
6555 for ac_prog in egrep; do
6556 for ac_exec_ext in '' $ac_executable_extensions; do
6557 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6558 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6559 # Check for GNU ac_path_EGREP and select it if it is found.
6560 # Check for GNU $ac_path_EGREP
6561 case `"$ac_path_EGREP" --version 2>&1` in
6562 *GNU*)
6563 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6565 ac_count=0
6566 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6567 while :
6569 cat "conftest.in" "conftest.in" >"conftest.tmp"
6570 mv "conftest.tmp" "conftest.in"
6571 cp "conftest.in" "conftest.nl"
6572 echo 'EGREP' >> "conftest.nl"
6573 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6574 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6575 ac_count=`expr $ac_count + 1`
6576 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6577 # Best one so far, save it but keep looking for a better one
6578 ac_cv_path_EGREP="$ac_path_EGREP"
6579 ac_path_EGREP_max=$ac_count
6581 # 10*(2^10) chars as input seems more than enough
6582 test $ac_count -gt 10 && break
6583 done
6584 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6585 esac
6588 $ac_path_EGREP_found && break 3
6589 done
6590 done
6592 done
6593 IFS=$as_save_IFS
6598 EGREP="$ac_cv_path_EGREP"
6599 if test -z "$EGREP"; then
6600 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6601 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6602 { (exit 1); exit 1; }; }
6605 else
6606 ac_cv_path_EGREP=$EGREP
6612 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6613 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6614 EGREP="$ac_cv_path_EGREP"
6617 # Extract the first word of "ldconfig", so it can be a program name with args.
6618 set dummy ldconfig; ac_word=$2
6619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6621 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6622 echo $ECHO_N "(cached) $ECHO_C" >&6
6623 else
6624 case $LDCONFIG in
6625 [\\/]* | ?:[\\/]*)
6626 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 for as_dir in /sbin /usr/sbin $PATH
6632 IFS=$as_save_IFS
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6636 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 break 2
6640 done
6641 done
6642 IFS=$as_save_IFS
6644 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6646 esac
6648 LDCONFIG=$ac_cv_path_LDCONFIG
6649 if test -n "$LDCONFIG"; then
6650 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6651 echo "${ECHO_T}$LDCONFIG" >&6; }
6652 else
6653 { echo "$as_me:$LINENO: result: no" >&5
6654 echo "${ECHO_T}no" >&6; }
6658 # Find a good install program. We prefer a C program (faster),
6659 # so one script is as good as another. But avoid the broken or
6660 # incompatible versions:
6661 # SysV /etc/install, /usr/sbin/install
6662 # SunOS /usr/etc/install
6663 # IRIX /sbin/install
6664 # AIX /bin/install
6665 # AmigaOS /C/install, which installs bootblocks on floppy discs
6666 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6667 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6668 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6669 # OS/2's system install, which has a completely different semantic
6670 # ./install, which can be erroneously created by make from ./install.sh.
6671 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6672 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6673 if test -z "$INSTALL"; then
6674 if test "${ac_cv_path_install+set}" = set; then
6675 echo $ECHO_N "(cached) $ECHO_C" >&6
6676 else
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 for as_dir in $PATH
6680 IFS=$as_save_IFS
6681 test -z "$as_dir" && as_dir=.
6682 # Account for people who put trailing slashes in PATH elements.
6683 case $as_dir/ in
6684 ./ | .// | /cC/* | \
6685 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6686 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6687 /usr/ucb/* ) ;;
6689 # OSF1 and SCO ODT 3.0 have their own names for install.
6690 # Don't use installbsd from OSF since it installs stuff as root
6691 # by default.
6692 for ac_prog in ginstall scoinst install; do
6693 for ac_exec_ext in '' $ac_executable_extensions; do
6694 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6695 if test $ac_prog = install &&
6696 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6697 # AIX install. It has an incompatible calling convention.
6699 elif test $ac_prog = install &&
6700 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6701 # program-specific install script used by HP pwplus--don't use.
6703 else
6704 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6705 break 3
6708 done
6709 done
6711 esac
6712 done
6713 IFS=$as_save_IFS
6717 if test "${ac_cv_path_install+set}" = set; then
6718 INSTALL=$ac_cv_path_install
6719 else
6720 # As a last resort, use the slow shell script. Don't cache a
6721 # value for INSTALL within a source directory, because that will
6722 # break other packages using the cache if that directory is
6723 # removed, or if the value is a relative name.
6724 INSTALL=$ac_install_sh
6727 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6728 echo "${ECHO_T}$INSTALL" >&6; }
6730 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6731 # It thinks the first close brace ends the variable substitution.
6732 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6734 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6736 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6738 case "$INSTALL" in
6739 [\\/$]* | ?:[\\/]* ) ;;
6740 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6741 esac
6743 for ac_prog in lclint lint
6745 # Extract the first word of "$ac_prog", so it can be a program name with args.
6746 set dummy $ac_prog; ac_word=$2
6747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6749 if test "${ac_cv_prog_LINT+set}" = set; then
6750 echo $ECHO_N "(cached) $ECHO_C" >&6
6751 else
6752 if test -n "$LINT"; then
6753 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6754 else
6755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756 for as_dir in $PATH
6758 IFS=$as_save_IFS
6759 test -z "$as_dir" && as_dir=.
6760 for ac_exec_ext in '' $ac_executable_extensions; do
6761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6762 ac_cv_prog_LINT="$ac_prog"
6763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6764 break 2
6766 done
6767 done
6768 IFS=$as_save_IFS
6772 LINT=$ac_cv_prog_LINT
6773 if test -n "$LINT"; then
6774 { echo "$as_me:$LINENO: result: $LINT" >&5
6775 echo "${ECHO_T}$LINT" >&6; }
6776 else
6777 { echo "$as_me:$LINENO: result: no" >&5
6778 echo "${ECHO_T}no" >&6; }
6782 test -n "$LINT" && break
6783 done
6785 if test "$LINT" = "lint"
6786 then
6787 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6792 for ac_prog in fontforge
6794 # Extract the first word of "$ac_prog", so it can be a program name with args.
6795 set dummy $ac_prog; ac_word=$2
6796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6798 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6799 echo $ECHO_N "(cached) $ECHO_C" >&6
6800 else
6801 if test -n "$FONTFORGE"; then
6802 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6803 else
6804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805 for as_dir in $PATH
6807 IFS=$as_save_IFS
6808 test -z "$as_dir" && as_dir=.
6809 for ac_exec_ext in '' $ac_executable_extensions; do
6810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6811 ac_cv_prog_FONTFORGE="$ac_prog"
6812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6813 break 2
6815 done
6816 done
6817 IFS=$as_save_IFS
6821 FONTFORGE=$ac_cv_prog_FONTFORGE
6822 if test -n "$FONTFORGE"; then
6823 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6824 echo "${ECHO_T}$FONTFORGE" >&6; }
6825 else
6826 { echo "$as_me:$LINENO: result: no" >&5
6827 echo "${ECHO_T}no" >&6; }
6831 test -n "$FONTFORGE" && break
6832 done
6833 test -n "$FONTFORGE" || FONTFORGE="false"
6835 for ac_prog in pkg-config
6837 # Extract the first word of "$ac_prog", so it can be a program name with args.
6838 set dummy $ac_prog; ac_word=$2
6839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6841 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 else
6844 if test -n "$PKG_CONFIG"; then
6845 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6846 else
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848 for as_dir in $PATH
6850 IFS=$as_save_IFS
6851 test -z "$as_dir" && as_dir=.
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6854 ac_cv_prog_PKG_CONFIG="$ac_prog"
6855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6856 break 2
6858 done
6859 done
6860 IFS=$as_save_IFS
6864 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6865 if test -n "$PKG_CONFIG"; then
6866 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6867 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6868 else
6869 { echo "$as_me:$LINENO: result: no" >&5
6870 echo "${ECHO_T}no" >&6; }
6874 test -n "$PKG_CONFIG" && break
6875 done
6876 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6879 case $host_cpu in
6880 *i[3456789]86*)
6881 # Extract the first word of "prelink", so it can be a program name with args.
6882 set dummy prelink; ac_word=$2
6883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6885 if test "${ac_cv_path_PRELINK+set}" = set; then
6886 echo $ECHO_N "(cached) $ECHO_C" >&6
6887 else
6888 case $PRELINK in
6889 [\\/]* | ?:[\\/]*)
6890 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6894 for as_dir in /sbin /usr/sbin $PATH
6896 IFS=$as_save_IFS
6897 test -z "$as_dir" && as_dir=.
6898 for ac_exec_ext in '' $ac_executable_extensions; do
6899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6900 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6902 break 2
6904 done
6905 done
6906 IFS=$as_save_IFS
6908 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6910 esac
6912 PRELINK=$ac_cv_path_PRELINK
6913 if test -n "$PRELINK"; then
6914 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6915 echo "${ECHO_T}$PRELINK" >&6; }
6916 else
6917 { echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6; }
6923 esac
6927 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6928 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6929 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6930 echo $ECHO_N "(cached) $ECHO_C" >&6
6931 else
6932 ac_check_lib_save_LIBS=$LIBS
6933 LIBS="-li386 $LIBS"
6934 cat >conftest.$ac_ext <<_ACEOF
6935 /* confdefs.h. */
6936 _ACEOF
6937 cat confdefs.h >>conftest.$ac_ext
6938 cat >>conftest.$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6941 /* Override any GCC internal prototype to avoid an error.
6942 Use char because int might match the return type of a GCC
6943 builtin and then its argument prototype would still apply. */
6944 #ifdef __cplusplus
6945 extern "C"
6946 #endif
6947 char i386_set_ldt ();
6949 main ()
6951 return i386_set_ldt ();
6953 return 0;
6955 _ACEOF
6956 rm -f conftest.$ac_objext conftest$ac_exeext
6957 if { (ac_try="$ac_link"
6958 case "(($ac_try" in
6959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6960 *) ac_try_echo=$ac_try;;
6961 esac
6962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6963 (eval "$ac_link") 2>conftest.er1
6964 ac_status=$?
6965 grep -v '^ *+' conftest.er1 >conftest.err
6966 rm -f conftest.er1
6967 cat conftest.err >&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); } &&
6970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6971 { (case "(($ac_try" in
6972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6973 *) ac_try_echo=$ac_try;;
6974 esac
6975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6976 (eval "$ac_try") 2>&5
6977 ac_status=$?
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); }; } &&
6980 { ac_try='test -s conftest$ac_exeext'
6981 { (case "(($ac_try" in
6982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6983 *) ac_try_echo=$ac_try;;
6984 esac
6985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6986 (eval "$ac_try") 2>&5
6987 ac_status=$?
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; }; then
6990 ac_cv_lib_i386_i386_set_ldt=yes
6991 else
6992 echo "$as_me: failed program was:" >&5
6993 sed 's/^/| /' conftest.$ac_ext >&5
6995 ac_cv_lib_i386_i386_set_ldt=no
6998 rm -f core conftest.err conftest.$ac_objext \
6999 conftest$ac_exeext conftest.$ac_ext
7000 LIBS=$ac_check_lib_save_LIBS
7002 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7003 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7004 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7005 cat >>confdefs.h <<_ACEOF
7006 #define HAVE_LIBI386 1
7007 _ACEOF
7009 LIBS="-li386 $LIBS"
7014 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7015 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7016 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7017 echo $ECHO_N "(cached) $ECHO_C" >&6
7018 else
7019 ac_check_lib_save_LIBS=$LIBS
7020 LIBS="-lossaudio $LIBS"
7021 cat >conftest.$ac_ext <<_ACEOF
7022 /* confdefs.h. */
7023 _ACEOF
7024 cat confdefs.h >>conftest.$ac_ext
7025 cat >>conftest.$ac_ext <<_ACEOF
7026 /* end confdefs.h. */
7028 /* Override any GCC internal prototype to avoid an error.
7029 Use char because int might match the return type of a GCC
7030 builtin and then its argument prototype would still apply. */
7031 #ifdef __cplusplus
7032 extern "C"
7033 #endif
7034 char _oss_ioctl ();
7036 main ()
7038 return _oss_ioctl ();
7040 return 0;
7042 _ACEOF
7043 rm -f conftest.$ac_objext conftest$ac_exeext
7044 if { (ac_try="$ac_link"
7045 case "(($ac_try" in
7046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7047 *) ac_try_echo=$ac_try;;
7048 esac
7049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7050 (eval "$ac_link") 2>conftest.er1
7051 ac_status=$?
7052 grep -v '^ *+' conftest.er1 >conftest.err
7053 rm -f conftest.er1
7054 cat conftest.err >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); } &&
7057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7058 { (case "(($ac_try" in
7059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7060 *) ac_try_echo=$ac_try;;
7061 esac
7062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7063 (eval "$ac_try") 2>&5
7064 ac_status=$?
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); }; } &&
7067 { ac_try='test -s conftest$ac_exeext'
7068 { (case "(($ac_try" in
7069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7070 *) ac_try_echo=$ac_try;;
7071 esac
7072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7073 (eval "$ac_try") 2>&5
7074 ac_status=$?
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); }; }; then
7077 ac_cv_lib_ossaudio__oss_ioctl=yes
7078 else
7079 echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.$ac_ext >&5
7082 ac_cv_lib_ossaudio__oss_ioctl=no
7085 rm -f core conftest.err conftest.$ac_objext \
7086 conftest$ac_exeext conftest.$ac_ext
7087 LIBS=$ac_check_lib_save_LIBS
7089 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7090 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7091 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7092 cat >>confdefs.h <<_ACEOF
7093 #define HAVE_LIBOSSAUDIO 1
7094 _ACEOF
7096 LIBS="-lossaudio $LIBS"
7101 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7102 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7103 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7104 echo $ECHO_N "(cached) $ECHO_C" >&6
7105 else
7106 ac_check_lib_save_LIBS=$LIBS
7107 LIBS="-lxpg4 $LIBS"
7108 cat >conftest.$ac_ext <<_ACEOF
7109 /* confdefs.h. */
7110 _ACEOF
7111 cat confdefs.h >>conftest.$ac_ext
7112 cat >>conftest.$ac_ext <<_ACEOF
7113 /* end confdefs.h. */
7115 /* Override any GCC internal prototype to avoid an error.
7116 Use char because int might match the return type of a GCC
7117 builtin and then its argument prototype would still apply. */
7118 #ifdef __cplusplus
7119 extern "C"
7120 #endif
7121 char _xpg4_setrunelocale ();
7123 main ()
7125 return _xpg4_setrunelocale ();
7127 return 0;
7129 _ACEOF
7130 rm -f conftest.$ac_objext conftest$ac_exeext
7131 if { (ac_try="$ac_link"
7132 case "(($ac_try" in
7133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7134 *) ac_try_echo=$ac_try;;
7135 esac
7136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7137 (eval "$ac_link") 2>conftest.er1
7138 ac_status=$?
7139 grep -v '^ *+' conftest.er1 >conftest.err
7140 rm -f conftest.er1
7141 cat conftest.err >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); } &&
7144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7145 { (case "(($ac_try" in
7146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7147 *) ac_try_echo=$ac_try;;
7148 esac
7149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7150 (eval "$ac_try") 2>&5
7151 ac_status=$?
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); }; } &&
7154 { ac_try='test -s conftest$ac_exeext'
7155 { (case "(($ac_try" in
7156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7157 *) ac_try_echo=$ac_try;;
7158 esac
7159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7160 (eval "$ac_try") 2>&5
7161 ac_status=$?
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); }; }; then
7164 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7165 else
7166 echo "$as_me: failed program was:" >&5
7167 sed 's/^/| /' conftest.$ac_ext >&5
7169 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7172 rm -f core conftest.err conftest.$ac_objext \
7173 conftest$ac_exeext conftest.$ac_ext
7174 LIBS=$ac_check_lib_save_LIBS
7176 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7177 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7178 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7179 cat >>confdefs.h <<_ACEOF
7180 #define HAVE_LIBXPG4 1
7181 _ACEOF
7183 LIBS="-lxpg4 $LIBS"
7187 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7188 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7189 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7190 echo $ECHO_N "(cached) $ECHO_C" >&6
7191 else
7192 ac_check_lib_save_LIBS=$LIBS
7193 LIBS="-lpthread $LIBS"
7194 cat >conftest.$ac_ext <<_ACEOF
7195 /* confdefs.h. */
7196 _ACEOF
7197 cat confdefs.h >>conftest.$ac_ext
7198 cat >>conftest.$ac_ext <<_ACEOF
7199 /* end confdefs.h. */
7201 /* Override any GCC internal prototype to avoid an error.
7202 Use char because int might match the return type of a GCC
7203 builtin and then its argument prototype would still apply. */
7204 #ifdef __cplusplus
7205 extern "C"
7206 #endif
7207 char pthread_create ();
7209 main ()
7211 return pthread_create ();
7213 return 0;
7215 _ACEOF
7216 rm -f conftest.$ac_objext conftest$ac_exeext
7217 if { (ac_try="$ac_link"
7218 case "(($ac_try" in
7219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7220 *) ac_try_echo=$ac_try;;
7221 esac
7222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7223 (eval "$ac_link") 2>conftest.er1
7224 ac_status=$?
7225 grep -v '^ *+' conftest.er1 >conftest.err
7226 rm -f conftest.er1
7227 cat conftest.err >&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); } &&
7230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7231 { (case "(($ac_try" in
7232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7233 *) ac_try_echo=$ac_try;;
7234 esac
7235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7236 (eval "$ac_try") 2>&5
7237 ac_status=$?
7238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239 (exit $ac_status); }; } &&
7240 { ac_try='test -s conftest$ac_exeext'
7241 { (case "(($ac_try" in
7242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7243 *) ac_try_echo=$ac_try;;
7244 esac
7245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7246 (eval "$ac_try") 2>&5
7247 ac_status=$?
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); }; }; then
7250 ac_cv_lib_pthread_pthread_create=yes
7251 else
7252 echo "$as_me: failed program was:" >&5
7253 sed 's/^/| /' conftest.$ac_ext >&5
7255 ac_cv_lib_pthread_pthread_create=no
7258 rm -f core conftest.err conftest.$ac_objext \
7259 conftest$ac_exeext conftest.$ac_ext
7260 LIBS=$ac_check_lib_save_LIBS
7262 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7263 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7264 if test $ac_cv_lib_pthread_pthread_create = yes; then
7265 LIBPTHREAD="-lpthread"
7270 XLIB=""
7272 XFILES=""
7274 OPENGLFILES=""
7276 GLU32FILES=""
7278 OPENGL_LIBS=""
7282 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7283 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7284 if test "${ac_cv_header_stdc+set}" = set; then
7285 echo $ECHO_N "(cached) $ECHO_C" >&6
7286 else
7287 cat >conftest.$ac_ext <<_ACEOF
7288 /* confdefs.h. */
7289 _ACEOF
7290 cat confdefs.h >>conftest.$ac_ext
7291 cat >>conftest.$ac_ext <<_ACEOF
7292 /* end confdefs.h. */
7293 #include <stdlib.h>
7294 #include <stdarg.h>
7295 #include <string.h>
7296 #include <float.h>
7299 main ()
7303 return 0;
7305 _ACEOF
7306 rm -f conftest.$ac_objext
7307 if { (ac_try="$ac_compile"
7308 case "(($ac_try" in
7309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7310 *) ac_try_echo=$ac_try;;
7311 esac
7312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7313 (eval "$ac_compile") 2>conftest.er1
7314 ac_status=$?
7315 grep -v '^ *+' conftest.er1 >conftest.err
7316 rm -f conftest.er1
7317 cat conftest.err >&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } &&
7320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7321 { (case "(($ac_try" in
7322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7323 *) ac_try_echo=$ac_try;;
7324 esac
7325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7326 (eval "$ac_try") 2>&5
7327 ac_status=$?
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); }; } &&
7330 { ac_try='test -s conftest.$ac_objext'
7331 { (case "(($ac_try" in
7332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7333 *) ac_try_echo=$ac_try;;
7334 esac
7335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7336 (eval "$ac_try") 2>&5
7337 ac_status=$?
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; }; then
7340 ac_cv_header_stdc=yes
7341 else
7342 echo "$as_me: failed program was:" >&5
7343 sed 's/^/| /' conftest.$ac_ext >&5
7345 ac_cv_header_stdc=no
7348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7350 if test $ac_cv_header_stdc = yes; then
7351 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7352 cat >conftest.$ac_ext <<_ACEOF
7353 /* confdefs.h. */
7354 _ACEOF
7355 cat confdefs.h >>conftest.$ac_ext
7356 cat >>conftest.$ac_ext <<_ACEOF
7357 /* end confdefs.h. */
7358 #include <string.h>
7360 _ACEOF
7361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7362 $EGREP "memchr" >/dev/null 2>&1; then
7364 else
7365 ac_cv_header_stdc=no
7367 rm -f conftest*
7371 if test $ac_cv_header_stdc = yes; then
7372 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7373 cat >conftest.$ac_ext <<_ACEOF
7374 /* confdefs.h. */
7375 _ACEOF
7376 cat confdefs.h >>conftest.$ac_ext
7377 cat >>conftest.$ac_ext <<_ACEOF
7378 /* end confdefs.h. */
7379 #include <stdlib.h>
7381 _ACEOF
7382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7383 $EGREP "free" >/dev/null 2>&1; then
7385 else
7386 ac_cv_header_stdc=no
7388 rm -f conftest*
7392 if test $ac_cv_header_stdc = yes; then
7393 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7394 if test "$cross_compiling" = yes; then
7396 else
7397 cat >conftest.$ac_ext <<_ACEOF
7398 /* confdefs.h. */
7399 _ACEOF
7400 cat confdefs.h >>conftest.$ac_ext
7401 cat >>conftest.$ac_ext <<_ACEOF
7402 /* end confdefs.h. */
7403 #include <ctype.h>
7404 #include <stdlib.h>
7405 #if ((' ' & 0x0FF) == 0x020)
7406 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7407 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7408 #else
7409 # define ISLOWER(c) \
7410 (('a' <= (c) && (c) <= 'i') \
7411 || ('j' <= (c) && (c) <= 'r') \
7412 || ('s' <= (c) && (c) <= 'z'))
7413 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7414 #endif
7416 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7418 main ()
7420 int i;
7421 for (i = 0; i < 256; i++)
7422 if (XOR (islower (i), ISLOWER (i))
7423 || toupper (i) != TOUPPER (i))
7424 return 2;
7425 return 0;
7427 _ACEOF
7428 rm -f conftest$ac_exeext
7429 if { (ac_try="$ac_link"
7430 case "(($ac_try" in
7431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7432 *) ac_try_echo=$ac_try;;
7433 esac
7434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7435 (eval "$ac_link") 2>&5
7436 ac_status=$?
7437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7439 { (case "(($ac_try" in
7440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7441 *) ac_try_echo=$ac_try;;
7442 esac
7443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7444 (eval "$ac_try") 2>&5
7445 ac_status=$?
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; }; then
7449 else
7450 echo "$as_me: program exited with status $ac_status" >&5
7451 echo "$as_me: failed program was:" >&5
7452 sed 's/^/| /' conftest.$ac_ext >&5
7454 ( exit $ac_status )
7455 ac_cv_header_stdc=no
7457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7463 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7464 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7465 if test $ac_cv_header_stdc = yes; then
7467 cat >>confdefs.h <<\_ACEOF
7468 #define STDC_HEADERS 1
7469 _ACEOF
7473 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7483 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7484 inttypes.h stdint.h unistd.h
7486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7487 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7490 echo $ECHO_N "(cached) $ECHO_C" >&6
7491 else
7492 cat >conftest.$ac_ext <<_ACEOF
7493 /* confdefs.h. */
7494 _ACEOF
7495 cat confdefs.h >>conftest.$ac_ext
7496 cat >>conftest.$ac_ext <<_ACEOF
7497 /* end confdefs.h. */
7498 $ac_includes_default
7500 #include <$ac_header>
7501 _ACEOF
7502 rm -f conftest.$ac_objext
7503 if { (ac_try="$ac_compile"
7504 case "(($ac_try" in
7505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7506 *) ac_try_echo=$ac_try;;
7507 esac
7508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7509 (eval "$ac_compile") 2>conftest.er1
7510 ac_status=$?
7511 grep -v '^ *+' conftest.er1 >conftest.err
7512 rm -f conftest.er1
7513 cat conftest.err >&5
7514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515 (exit $ac_status); } &&
7516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7517 { (case "(($ac_try" in
7518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7519 *) ac_try_echo=$ac_try;;
7520 esac
7521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7522 (eval "$ac_try") 2>&5
7523 ac_status=$?
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); }; } &&
7526 { ac_try='test -s conftest.$ac_objext'
7527 { (case "(($ac_try" in
7528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7529 *) ac_try_echo=$ac_try;;
7530 esac
7531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7532 (eval "$ac_try") 2>&5
7533 ac_status=$?
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); }; }; then
7536 eval "$as_ac_Header=yes"
7537 else
7538 echo "$as_me: failed program was:" >&5
7539 sed 's/^/| /' conftest.$ac_ext >&5
7541 eval "$as_ac_Header=no"
7544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7546 ac_res=`eval echo '${'$as_ac_Header'}'`
7547 { echo "$as_me:$LINENO: result: $ac_res" >&5
7548 echo "${ECHO_T}$ac_res" >&6; }
7549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7550 cat >>confdefs.h <<_ACEOF
7551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7552 _ACEOF
7556 done
7667 for ac_header in \
7668 AudioUnit/AudioUnit.h \
7669 CoreAudio/CoreAudio.h \
7670 IOKit/IOKitLib.h \
7671 alsa/asoundlib.h \
7672 arpa/inet.h \
7673 arpa/nameser.h \
7674 asm/types.h \
7675 capi20.h \
7676 cups/cups.h \
7677 curses.h \
7678 direct.h \
7679 dlfcn.h \
7680 elf.h \
7681 float.h \
7682 fontconfig/fontconfig.h \
7683 getopt.h \
7684 gif_lib.h \
7685 ieeefp.h \
7686 io.h \
7687 jack/jack.h \
7688 jpeglib.h \
7689 lber.h \
7690 lcms.h \
7691 lcms/lcms.h \
7692 ldap.h \
7693 libaudioio.h \
7694 link.h \
7695 linux/cdrom.h \
7696 linux/compiler.h \
7697 linux/hdreg.h \
7698 linux/input.h \
7699 linux/ioctl.h \
7700 linux/joystick.h \
7701 linux/major.h \
7702 linux/param.h \
7703 linux/serial.h \
7704 linux/ucdrom.h \
7705 mach/machine.h \
7706 machine/cpu.h \
7707 machine/limits.h \
7708 machine/soundcard.h \
7709 mntent.h \
7710 ncurses.h \
7711 netdb.h \
7712 netinet/in.h \
7713 netinet/in_systm.h \
7714 netinet/tcp.h \
7715 netinet/tcp_fsm.h \
7716 openssl/err.h \
7717 openssl/ssl.h \
7718 poll.h \
7719 process.h \
7720 pthread.h \
7721 pthread_np.h \
7722 pwd.h \
7723 regex.h \
7724 sched.h \
7725 scsi/scsi.h \
7726 scsi/scsi_ioctl.h \
7727 scsi/sg.h \
7728 soundcard.h \
7729 stdint.h \
7730 strings.h \
7731 sys/asoundlib.h \
7732 sys/cdio.h \
7733 sys/elf32.h \
7734 sys/epoll.h \
7735 sys/errno.h \
7736 sys/event.h \
7737 sys/exec_elf.h \
7738 sys/filio.h \
7739 sys/ioctl.h \
7740 sys/ipc.h \
7741 sys/limits.h \
7742 sys/link.h \
7743 sys/lwp.h \
7744 sys/mman.h \
7745 sys/modem.h \
7746 sys/msg.h \
7747 sys/mtio.h \
7748 sys/param.h \
7749 sys/poll.h \
7750 sys/prctl.h \
7751 sys/ptrace.h \
7752 sys/reg.h \
7753 sys/resource.h \
7754 sys/scsiio.h \
7755 sys/shm.h \
7756 sys/signal.h \
7757 sys/socket.h \
7758 sys/sockio.h \
7759 sys/soundcard.h \
7760 sys/statvfs.h \
7761 sys/strtio.h \
7762 sys/syscall.h \
7763 sys/sysctl.h \
7764 sys/time.h \
7765 sys/times.h \
7766 sys/uio.h \
7767 sys/un.h \
7768 sys/vm86.h \
7769 sys/wait.h \
7770 syscall.h \
7771 termios.h \
7772 unicode/ubidi.h \
7773 unistd.h \
7774 utime.h \
7775 valgrind/memcheck.h
7778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7779 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7780 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7782 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7783 echo $ECHO_N "(cached) $ECHO_C" >&6
7785 ac_res=`eval echo '${'$as_ac_Header'}'`
7786 { echo "$as_me:$LINENO: result: $ac_res" >&5
7787 echo "${ECHO_T}$ac_res" >&6; }
7788 else
7789 # Is the header compilable?
7790 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7791 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7792 cat >conftest.$ac_ext <<_ACEOF
7793 /* confdefs.h. */
7794 _ACEOF
7795 cat confdefs.h >>conftest.$ac_ext
7796 cat >>conftest.$ac_ext <<_ACEOF
7797 /* end confdefs.h. */
7798 $ac_includes_default
7799 #include <$ac_header>
7800 _ACEOF
7801 rm -f conftest.$ac_objext
7802 if { (ac_try="$ac_compile"
7803 case "(($ac_try" in
7804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7805 *) ac_try_echo=$ac_try;;
7806 esac
7807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7808 (eval "$ac_compile") 2>conftest.er1
7809 ac_status=$?
7810 grep -v '^ *+' conftest.er1 >conftest.err
7811 rm -f conftest.er1
7812 cat conftest.err >&5
7813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7814 (exit $ac_status); } &&
7815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7816 { (case "(($ac_try" in
7817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7818 *) ac_try_echo=$ac_try;;
7819 esac
7820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7821 (eval "$ac_try") 2>&5
7822 ac_status=$?
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); }; } &&
7825 { ac_try='test -s conftest.$ac_objext'
7826 { (case "(($ac_try" in
7827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7828 *) ac_try_echo=$ac_try;;
7829 esac
7830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7831 (eval "$ac_try") 2>&5
7832 ac_status=$?
7833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7834 (exit $ac_status); }; }; then
7835 ac_header_compiler=yes
7836 else
7837 echo "$as_me: failed program was:" >&5
7838 sed 's/^/| /' conftest.$ac_ext >&5
7840 ac_header_compiler=no
7843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7844 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7845 echo "${ECHO_T}$ac_header_compiler" >&6; }
7847 # Is the header present?
7848 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7850 cat >conftest.$ac_ext <<_ACEOF
7851 /* confdefs.h. */
7852 _ACEOF
7853 cat confdefs.h >>conftest.$ac_ext
7854 cat >>conftest.$ac_ext <<_ACEOF
7855 /* end confdefs.h. */
7856 #include <$ac_header>
7857 _ACEOF
7858 if { (ac_try="$ac_cpp conftest.$ac_ext"
7859 case "(($ac_try" in
7860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7861 *) ac_try_echo=$ac_try;;
7862 esac
7863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7864 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7865 ac_status=$?
7866 grep -v '^ *+' conftest.er1 >conftest.err
7867 rm -f conftest.er1
7868 cat conftest.err >&5
7869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870 (exit $ac_status); } >/dev/null; then
7871 if test -s conftest.err; then
7872 ac_cpp_err=$ac_c_preproc_warn_flag
7873 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7874 else
7875 ac_cpp_err=
7877 else
7878 ac_cpp_err=yes
7880 if test -z "$ac_cpp_err"; then
7881 ac_header_preproc=yes
7882 else
7883 echo "$as_me: failed program was:" >&5
7884 sed 's/^/| /' conftest.$ac_ext >&5
7886 ac_header_preproc=no
7889 rm -f conftest.err conftest.$ac_ext
7890 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7891 echo "${ECHO_T}$ac_header_preproc" >&6; }
7893 # So? What about this header?
7894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7895 yes:no: )
7896 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7897 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7899 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7900 ac_header_preproc=yes
7902 no:yes:* )
7903 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7904 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7905 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7906 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7907 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7908 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7909 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7910 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7913 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7914 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7915 ( cat <<\_ASBOX
7916 ## ------------------------------------ ##
7917 ## Report this to wine-devel@winehq.org ##
7918 ## ------------------------------------ ##
7919 _ASBOX
7920 ) | sed "s/^/$as_me: WARNING: /" >&2
7922 esac
7923 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7926 echo $ECHO_N "(cached) $ECHO_C" >&6
7927 else
7928 eval "$as_ac_Header=\$ac_header_preproc"
7930 ac_res=`eval echo '${'$as_ac_Header'}'`
7931 { echo "$as_me:$LINENO: result: $ac_res" >&5
7932 echo "${ECHO_T}$ac_res" >&6; }
7935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7936 cat >>confdefs.h <<_ACEOF
7937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7938 _ACEOF
7942 done
7944 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7945 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7946 if test "${ac_cv_header_stat_broken+set}" = set; then
7947 echo $ECHO_N "(cached) $ECHO_C" >&6
7948 else
7949 cat >conftest.$ac_ext <<_ACEOF
7950 /* confdefs.h. */
7951 _ACEOF
7952 cat confdefs.h >>conftest.$ac_ext
7953 cat >>conftest.$ac_ext <<_ACEOF
7954 /* end confdefs.h. */
7955 #include <sys/types.h>
7956 #include <sys/stat.h>
7958 #if defined S_ISBLK && defined S_IFDIR
7959 # if S_ISBLK (S_IFDIR)
7960 You lose.
7961 # endif
7962 #endif
7964 #if defined S_ISBLK && defined S_IFCHR
7965 # if S_ISBLK (S_IFCHR)
7966 You lose.
7967 # endif
7968 #endif
7970 #if defined S_ISLNK && defined S_IFREG
7971 # if S_ISLNK (S_IFREG)
7972 You lose.
7973 # endif
7974 #endif
7976 #if defined S_ISSOCK && defined S_IFREG
7977 # if S_ISSOCK (S_IFREG)
7978 You lose.
7979 # endif
7980 #endif
7982 _ACEOF
7983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7984 $EGREP "You lose" >/dev/null 2>&1; then
7985 ac_cv_header_stat_broken=yes
7986 else
7987 ac_cv_header_stat_broken=no
7989 rm -f conftest*
7992 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7993 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7994 if test $ac_cv_header_stat_broken = yes; then
7996 cat >>confdefs.h <<\_ACEOF
7997 #define STAT_MACROS_BROKEN 1
7998 _ACEOF
8008 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8011 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8014 echo $ECHO_N "(cached) $ECHO_C" >&6
8015 else
8016 cat >conftest.$ac_ext <<_ACEOF
8017 /* confdefs.h. */
8018 _ACEOF
8019 cat confdefs.h >>conftest.$ac_ext
8020 cat >>conftest.$ac_ext <<_ACEOF
8021 /* end confdefs.h. */
8022 #include <sys/types.h>
8023 #if HAVE_SYS_PARAM_H
8024 # include <sys/param.h>
8025 #endif
8027 #include <$ac_header>
8028 _ACEOF
8029 rm -f conftest.$ac_objext
8030 if { (ac_try="$ac_compile"
8031 case "(($ac_try" in
8032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8033 *) ac_try_echo=$ac_try;;
8034 esac
8035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8036 (eval "$ac_compile") 2>conftest.er1
8037 ac_status=$?
8038 grep -v '^ *+' conftest.er1 >conftest.err
8039 rm -f conftest.er1
8040 cat conftest.err >&5
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042 (exit $ac_status); } &&
8043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8044 { (case "(($ac_try" in
8045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8046 *) ac_try_echo=$ac_try;;
8047 esac
8048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8049 (eval "$ac_try") 2>&5
8050 ac_status=$?
8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); }; } &&
8053 { ac_try='test -s conftest.$ac_objext'
8054 { (case "(($ac_try" in
8055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8056 *) ac_try_echo=$ac_try;;
8057 esac
8058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8059 (eval "$ac_try") 2>&5
8060 ac_status=$?
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); }; }; then
8063 eval "$as_ac_Header=yes"
8064 else
8065 echo "$as_me: failed program was:" >&5
8066 sed 's/^/| /' conftest.$ac_ext >&5
8068 eval "$as_ac_Header=no"
8071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8073 ac_res=`eval echo '${'$as_ac_Header'}'`
8074 { echo "$as_me:$LINENO: result: $ac_res" >&5
8075 echo "${ECHO_T}$ac_res" >&6; }
8076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8077 cat >>confdefs.h <<_ACEOF
8078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8079 _ACEOF
8083 done
8092 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
8094 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8095 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8097 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8099 else
8100 cat >conftest.$ac_ext <<_ACEOF
8101 /* confdefs.h. */
8102 _ACEOF
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8106 #include <sys/types.h>
8107 #if HAVE_SYS_SOCKET_H
8108 # include <sys/socket.h>
8109 #endif
8111 #include <$ac_header>
8112 _ACEOF
8113 rm -f conftest.$ac_objext
8114 if { (ac_try="$ac_compile"
8115 case "(($ac_try" in
8116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8117 *) ac_try_echo=$ac_try;;
8118 esac
8119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8120 (eval "$ac_compile") 2>conftest.er1
8121 ac_status=$?
8122 grep -v '^ *+' conftest.er1 >conftest.err
8123 rm -f conftest.er1
8124 cat conftest.err >&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); } &&
8127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8128 { (case "(($ac_try" in
8129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8130 *) ac_try_echo=$ac_try;;
8131 esac
8132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8133 (eval "$ac_try") 2>&5
8134 ac_status=$?
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); }; } &&
8137 { ac_try='test -s conftest.$ac_objext'
8138 { (case "(($ac_try" in
8139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8140 *) ac_try_echo=$ac_try;;
8141 esac
8142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8143 (eval "$ac_try") 2>&5
8144 ac_status=$?
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; }; then
8147 eval "$as_ac_Header=yes"
8148 else
8149 echo "$as_me: failed program was:" >&5
8150 sed 's/^/| /' conftest.$ac_ext >&5
8152 eval "$as_ac_Header=no"
8155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8157 ac_res=`eval echo '${'$as_ac_Header'}'`
8158 { echo "$as_me:$LINENO: result: $ac_res" >&5
8159 echo "${ECHO_T}$ac_res" >&6; }
8160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8161 cat >>confdefs.h <<_ACEOF
8162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8163 _ACEOF
8167 done
8171 for ac_header in linux/ipx.h
8173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8177 echo $ECHO_N "(cached) $ECHO_C" >&6
8178 else
8179 cat >conftest.$ac_ext <<_ACEOF
8180 /* confdefs.h. */
8181 _ACEOF
8182 cat confdefs.h >>conftest.$ac_ext
8183 cat >>conftest.$ac_ext <<_ACEOF
8184 /* end confdefs.h. */
8185 #include <sys/types.h>
8186 #ifdef HAVE_ASM_TYPES_H
8187 # include <asm/types.h>
8188 #endif
8189 #if HAVE_SYS_SOCKET_H
8190 # include <sys/socket.h>
8191 #endif
8193 #include <$ac_header>
8194 _ACEOF
8195 rm -f conftest.$ac_objext
8196 if { (ac_try="$ac_compile"
8197 case "(($ac_try" in
8198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8199 *) ac_try_echo=$ac_try;;
8200 esac
8201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8202 (eval "$ac_compile") 2>conftest.er1
8203 ac_status=$?
8204 grep -v '^ *+' conftest.er1 >conftest.err
8205 rm -f conftest.er1
8206 cat conftest.err >&5
8207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8208 (exit $ac_status); } &&
8209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8210 { (case "(($ac_try" in
8211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8212 *) ac_try_echo=$ac_try;;
8213 esac
8214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8215 (eval "$ac_try") 2>&5
8216 ac_status=$?
8217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8218 (exit $ac_status); }; } &&
8219 { ac_try='test -s conftest.$ac_objext'
8220 { (case "(($ac_try" in
8221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8222 *) ac_try_echo=$ac_try;;
8223 esac
8224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8225 (eval "$ac_try") 2>&5
8226 ac_status=$?
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); }; }; then
8229 eval "$as_ac_Header=yes"
8230 else
8231 echo "$as_me: failed program was:" >&5
8232 sed 's/^/| /' conftest.$ac_ext >&5
8234 eval "$as_ac_Header=no"
8237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8239 ac_res=`eval echo '${'$as_ac_Header'}'`
8240 { echo "$as_me:$LINENO: result: $ac_res" >&5
8241 echo "${ECHO_T}$ac_res" >&6; }
8242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8243 cat >>confdefs.h <<_ACEOF
8244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8245 _ACEOF
8249 done
8253 for ac_header in resolv.h
8255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8259 echo $ECHO_N "(cached) $ECHO_C" >&6
8260 else
8261 cat >conftest.$ac_ext <<_ACEOF
8262 /* confdefs.h. */
8263 _ACEOF
8264 cat confdefs.h >>conftest.$ac_ext
8265 cat >>conftest.$ac_ext <<_ACEOF
8266 /* end confdefs.h. */
8267 #include <sys/types.h>
8268 #if HAVE_SYS_SOCKET_H
8269 # include <sys/socket.h>
8270 #endif
8271 #if HAVE_NETINET_IN_H
8272 # include <netinet/in.h>
8273 #endif
8274 #if HAVE_ARPA_NAMESER_H
8275 # include <arpa/nameser.h>
8276 #endif
8278 #include <$ac_header>
8279 _ACEOF
8280 rm -f conftest.$ac_objext
8281 if { (ac_try="$ac_compile"
8282 case "(($ac_try" in
8283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8284 *) ac_try_echo=$ac_try;;
8285 esac
8286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8287 (eval "$ac_compile") 2>conftest.er1
8288 ac_status=$?
8289 grep -v '^ *+' conftest.er1 >conftest.err
8290 rm -f conftest.er1
8291 cat conftest.err >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); } &&
8294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8295 { (case "(($ac_try" in
8296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8297 *) ac_try_echo=$ac_try;;
8298 esac
8299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8300 (eval "$ac_try") 2>&5
8301 ac_status=$?
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); }; } &&
8304 { ac_try='test -s conftest.$ac_objext'
8305 { (case "(($ac_try" in
8306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8307 *) ac_try_echo=$ac_try;;
8308 esac
8309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8310 (eval "$ac_try") 2>&5
8311 ac_status=$?
8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8313 (exit $ac_status); }; }; then
8314 eval "$as_ac_Header=yes"
8315 else
8316 echo "$as_me: failed program was:" >&5
8317 sed 's/^/| /' conftest.$ac_ext >&5
8319 eval "$as_ac_Header=no"
8322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8324 ac_res=`eval echo '${'$as_ac_Header'}'`
8325 { echo "$as_me:$LINENO: result: $ac_res" >&5
8326 echo "${ECHO_T}$ac_res" >&6; }
8327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8328 cat >>confdefs.h <<_ACEOF
8329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8330 _ACEOF
8334 done
8338 for ac_header in ucontext.h
8340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8341 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8344 echo $ECHO_N "(cached) $ECHO_C" >&6
8345 else
8346 cat >conftest.$ac_ext <<_ACEOF
8347 /* confdefs.h. */
8348 _ACEOF
8349 cat confdefs.h >>conftest.$ac_ext
8350 cat >>conftest.$ac_ext <<_ACEOF
8351 /* end confdefs.h. */
8352 #include <signal.h>
8354 #include <$ac_header>
8355 _ACEOF
8356 rm -f conftest.$ac_objext
8357 if { (ac_try="$ac_compile"
8358 case "(($ac_try" in
8359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8360 *) ac_try_echo=$ac_try;;
8361 esac
8362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8363 (eval "$ac_compile") 2>conftest.er1
8364 ac_status=$?
8365 grep -v '^ *+' conftest.er1 >conftest.err
8366 rm -f conftest.er1
8367 cat conftest.err >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); } &&
8370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8371 { (case "(($ac_try" in
8372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8373 *) ac_try_echo=$ac_try;;
8374 esac
8375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8376 (eval "$ac_try") 2>&5
8377 ac_status=$?
8378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379 (exit $ac_status); }; } &&
8380 { ac_try='test -s conftest.$ac_objext'
8381 { (case "(($ac_try" in
8382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8383 *) ac_try_echo=$ac_try;;
8384 esac
8385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8386 (eval "$ac_try") 2>&5
8387 ac_status=$?
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); }; }; then
8390 eval "$as_ac_Header=yes"
8391 else
8392 echo "$as_me: failed program was:" >&5
8393 sed 's/^/| /' conftest.$ac_ext >&5
8395 eval "$as_ac_Header=no"
8398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8400 ac_res=`eval echo '${'$as_ac_Header'}'`
8401 { echo "$as_me:$LINENO: result: $ac_res" >&5
8402 echo "${ECHO_T}$ac_res" >&6; }
8403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8404 cat >>confdefs.h <<_ACEOF
8405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8406 _ACEOF
8410 done
8414 for ac_header in linux/videodev.h
8416 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8421 else
8422 cat >conftest.$ac_ext <<_ACEOF
8423 /* confdefs.h. */
8424 _ACEOF
8425 cat confdefs.h >>conftest.$ac_ext
8426 cat >>conftest.$ac_ext <<_ACEOF
8427 /* end confdefs.h. */
8428 #ifdef HAVE_SYS_TIME_H
8429 #include <sys/time.h>
8430 #endif
8431 #include <sys/types.h>
8432 #ifdef HAVE_ASM_TYPES_H
8433 #include <asm/types.h>
8434 #endif
8436 #include <$ac_header>
8437 _ACEOF
8438 rm -f conftest.$ac_objext
8439 if { (ac_try="$ac_compile"
8440 case "(($ac_try" in
8441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8442 *) ac_try_echo=$ac_try;;
8443 esac
8444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8445 (eval "$ac_compile") 2>conftest.er1
8446 ac_status=$?
8447 grep -v '^ *+' conftest.er1 >conftest.err
8448 rm -f conftest.er1
8449 cat conftest.err >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } &&
8452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8453 { (case "(($ac_try" in
8454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8455 *) ac_try_echo=$ac_try;;
8456 esac
8457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8458 (eval "$ac_try") 2>&5
8459 ac_status=$?
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); }; } &&
8462 { ac_try='test -s conftest.$ac_objext'
8463 { (case "(($ac_try" in
8464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8465 *) ac_try_echo=$ac_try;;
8466 esac
8467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8468 (eval "$ac_try") 2>&5
8469 ac_status=$?
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); }; }; then
8472 eval "$as_ac_Header=yes"
8473 else
8474 echo "$as_me: failed program was:" >&5
8475 sed 's/^/| /' conftest.$ac_ext >&5
8477 eval "$as_ac_Header=no"
8480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8482 ac_res=`eval echo '${'$as_ac_Header'}'`
8483 { echo "$as_me:$LINENO: result: $ac_res" >&5
8484 echo "${ECHO_T}$ac_res" >&6; }
8485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8486 cat >>confdefs.h <<_ACEOF
8487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8488 _ACEOF
8492 done
8496 for ac_header in linux/capi.h
8498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8499 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8501 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8502 echo $ECHO_N "(cached) $ECHO_C" >&6
8503 else
8504 cat >conftest.$ac_ext <<_ACEOF
8505 /* confdefs.h. */
8506 _ACEOF
8507 cat confdefs.h >>conftest.$ac_ext
8508 cat >>conftest.$ac_ext <<_ACEOF
8509 /* end confdefs.h. */
8510 #define __user
8512 #include <$ac_header>
8513 _ACEOF
8514 rm -f conftest.$ac_objext
8515 if { (ac_try="$ac_compile"
8516 case "(($ac_try" in
8517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8518 *) ac_try_echo=$ac_try;;
8519 esac
8520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8521 (eval "$ac_compile") 2>conftest.er1
8522 ac_status=$?
8523 grep -v '^ *+' conftest.er1 >conftest.err
8524 rm -f conftest.er1
8525 cat conftest.err >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); } &&
8528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8529 { (case "(($ac_try" in
8530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8531 *) ac_try_echo=$ac_try;;
8532 esac
8533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8534 (eval "$ac_try") 2>&5
8535 ac_status=$?
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); }; } &&
8538 { ac_try='test -s conftest.$ac_objext'
8539 { (case "(($ac_try" in
8540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8541 *) ac_try_echo=$ac_try;;
8542 esac
8543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8544 (eval "$ac_try") 2>&5
8545 ac_status=$?
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 (exit $ac_status); }; }; then
8548 eval "$as_ac_Header=yes"
8549 else
8550 echo "$as_me: failed program was:" >&5
8551 sed 's/^/| /' conftest.$ac_ext >&5
8553 eval "$as_ac_Header=no"
8556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8558 ac_res=`eval echo '${'$as_ac_Header'}'`
8559 { echo "$as_me:$LINENO: result: $ac_res" >&5
8560 echo "${ECHO_T}$ac_res" >&6; }
8561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8562 cat >>confdefs.h <<_ACEOF
8563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8564 _ACEOF
8568 done
8572 if test "$have_x" = "yes"
8573 then
8574 XLIB="-lXext -lX11"
8575 ac_save_CPPFLAGS="$CPPFLAGS"
8576 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8587 for ac_header in X11/Xlib.h \
8588 X11/XKBlib.h \
8589 X11/Xutil.h \
8590 X11/extensions/shape.h \
8591 X11/extensions/XInput.h \
8592 X11/extensions/XShm.h \
8593 X11/extensions/Xrandr.h \
8594 X11/extensions/Xrender.h \
8595 X11/extensions/xf86vmode.h
8597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8601 echo $ECHO_N "(cached) $ECHO_C" >&6
8602 else
8603 cat >conftest.$ac_ext <<_ACEOF
8604 /* confdefs.h. */
8605 _ACEOF
8606 cat confdefs.h >>conftest.$ac_ext
8607 cat >>conftest.$ac_ext <<_ACEOF
8608 /* end confdefs.h. */
8609 #ifdef HAVE_X11_XLIB_H
8610 # include <X11/Xlib.h>
8611 #endif
8612 #ifdef HAVE_X11_XUTIL_H
8613 # include <X11/Xutil.h>
8614 #endif
8616 #include <$ac_header>
8617 _ACEOF
8618 rm -f conftest.$ac_objext
8619 if { (ac_try="$ac_compile"
8620 case "(($ac_try" in
8621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8622 *) ac_try_echo=$ac_try;;
8623 esac
8624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8625 (eval "$ac_compile") 2>conftest.er1
8626 ac_status=$?
8627 grep -v '^ *+' conftest.er1 >conftest.err
8628 rm -f conftest.er1
8629 cat conftest.err >&5
8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631 (exit $ac_status); } &&
8632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8633 { (case "(($ac_try" in
8634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8635 *) ac_try_echo=$ac_try;;
8636 esac
8637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8638 (eval "$ac_try") 2>&5
8639 ac_status=$?
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); }; } &&
8642 { ac_try='test -s conftest.$ac_objext'
8643 { (case "(($ac_try" in
8644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8645 *) ac_try_echo=$ac_try;;
8646 esac
8647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8648 (eval "$ac_try") 2>&5
8649 ac_status=$?
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); }; }; then
8652 eval "$as_ac_Header=yes"
8653 else
8654 echo "$as_me: failed program was:" >&5
8655 sed 's/^/| /' conftest.$ac_ext >&5
8657 eval "$as_ac_Header=no"
8660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8662 ac_res=`eval echo '${'$as_ac_Header'}'`
8663 { echo "$as_me:$LINENO: result: $ac_res" >&5
8664 echo "${ECHO_T}$ac_res" >&6; }
8665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8666 cat >>confdefs.h <<_ACEOF
8667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8668 _ACEOF
8672 done
8675 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8676 then
8677 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8678 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8679 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8680 echo $ECHO_N "(cached) $ECHO_C" >&6
8681 else
8682 ac_check_lib_save_LIBS=$LIBS
8683 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8684 cat >conftest.$ac_ext <<_ACEOF
8685 /* confdefs.h. */
8686 _ACEOF
8687 cat confdefs.h >>conftest.$ac_ext
8688 cat >>conftest.$ac_ext <<_ACEOF
8689 /* end confdefs.h. */
8691 /* Override any GCC internal prototype to avoid an error.
8692 Use char because int might match the return type of a GCC
8693 builtin and then its argument prototype would still apply. */
8694 #ifdef __cplusplus
8695 extern "C"
8696 #endif
8697 char XkbQueryExtension ();
8699 main ()
8701 return XkbQueryExtension ();
8703 return 0;
8705 _ACEOF
8706 rm -f conftest.$ac_objext conftest$ac_exeext
8707 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
8714 ac_status=$?
8715 grep -v '^ *+' conftest.er1 >conftest.err
8716 rm -f conftest.er1
8717 cat conftest.err >&5
8718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719 (exit $ac_status); } &&
8720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8721 { (case "(($ac_try" in
8722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8723 *) ac_try_echo=$ac_try;;
8724 esac
8725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8726 (eval "$ac_try") 2>&5
8727 ac_status=$?
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 (exit $ac_status); }; } &&
8730 { ac_try='test -s conftest$ac_exeext'
8731 { (case "(($ac_try" in
8732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8733 *) ac_try_echo=$ac_try;;
8734 esac
8735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8736 (eval "$ac_try") 2>&5
8737 ac_status=$?
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); }; }; then
8740 ac_cv_lib_X11_XkbQueryExtension=yes
8741 else
8742 echo "$as_me: failed program was:" >&5
8743 sed 's/^/| /' conftest.$ac_ext >&5
8745 ac_cv_lib_X11_XkbQueryExtension=no
8748 rm -f core conftest.err conftest.$ac_objext \
8749 conftest$ac_exeext conftest.$ac_ext
8750 LIBS=$ac_check_lib_save_LIBS
8752 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8753 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8754 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8756 cat >>confdefs.h <<\_ACEOF
8757 #define HAVE_XKB 1
8758 _ACEOF
8764 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8765 then
8766 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8767 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8768 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8769 echo $ECHO_N "(cached) $ECHO_C" >&6
8770 else
8771 ac_check_lib_save_LIBS=$LIBS
8772 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8773 cat >conftest.$ac_ext <<_ACEOF
8774 /* confdefs.h. */
8775 _ACEOF
8776 cat confdefs.h >>conftest.$ac_ext
8777 cat >>conftest.$ac_ext <<_ACEOF
8778 /* end confdefs.h. */
8780 /* Override any GCC internal prototype to avoid an error.
8781 Use char because int might match the return type of a GCC
8782 builtin and then its argument prototype would still apply. */
8783 #ifdef __cplusplus
8784 extern "C"
8785 #endif
8786 char XShmQueryExtension ();
8788 main ()
8790 return XShmQueryExtension ();
8792 return 0;
8794 _ACEOF
8795 rm -f conftest.$ac_objext conftest$ac_exeext
8796 if { (ac_try="$ac_link"
8797 case "(($ac_try" in
8798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8799 *) ac_try_echo=$ac_try;;
8800 esac
8801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8802 (eval "$ac_link") 2>conftest.er1
8803 ac_status=$?
8804 grep -v '^ *+' conftest.er1 >conftest.err
8805 rm -f conftest.er1
8806 cat conftest.err >&5
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 (exit $ac_status); } &&
8809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8810 { (case "(($ac_try" in
8811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8812 *) ac_try_echo=$ac_try;;
8813 esac
8814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8815 (eval "$ac_try") 2>&5
8816 ac_status=$?
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); }; } &&
8819 { ac_try='test -s conftest$ac_exeext'
8820 { (case "(($ac_try" in
8821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8822 *) ac_try_echo=$ac_try;;
8823 esac
8824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8825 (eval "$ac_try") 2>&5
8826 ac_status=$?
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 (exit $ac_status); }; }; then
8829 ac_cv_lib_Xext_XShmQueryExtension=yes
8830 else
8831 echo "$as_me: failed program was:" >&5
8832 sed 's/^/| /' conftest.$ac_ext >&5
8834 ac_cv_lib_Xext_XShmQueryExtension=no
8837 rm -f core conftest.err conftest.$ac_objext \
8838 conftest$ac_exeext conftest.$ac_ext
8839 LIBS=$ac_check_lib_save_LIBS
8841 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8842 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8843 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8845 cat >>confdefs.h <<\_ACEOF
8846 #define HAVE_LIBXXSHM 1
8847 _ACEOF
8853 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8854 then
8855 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8856 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8857 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8858 echo $ECHO_N "(cached) $ECHO_C" >&6
8859 else
8860 ac_check_lib_save_LIBS=$LIBS
8861 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8862 cat >conftest.$ac_ext <<_ACEOF
8863 /* confdefs.h. */
8864 _ACEOF
8865 cat confdefs.h >>conftest.$ac_ext
8866 cat >>conftest.$ac_ext <<_ACEOF
8867 /* end confdefs.h. */
8869 /* Override any GCC internal prototype to avoid an error.
8870 Use char because int might match the return type of a GCC
8871 builtin and then its argument prototype would still apply. */
8872 #ifdef __cplusplus
8873 extern "C"
8874 #endif
8875 char XShapeQueryExtension ();
8877 main ()
8879 return XShapeQueryExtension ();
8881 return 0;
8883 _ACEOF
8884 rm -f conftest.$ac_objext conftest$ac_exeext
8885 if { (ac_try="$ac_link"
8886 case "(($ac_try" in
8887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8888 *) ac_try_echo=$ac_try;;
8889 esac
8890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8891 (eval "$ac_link") 2>conftest.er1
8892 ac_status=$?
8893 grep -v '^ *+' conftest.er1 >conftest.err
8894 rm -f conftest.er1
8895 cat conftest.err >&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 (exit $ac_status); } &&
8898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8899 { (case "(($ac_try" in
8900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8901 *) ac_try_echo=$ac_try;;
8902 esac
8903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8904 (eval "$ac_try") 2>&5
8905 ac_status=$?
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); }; } &&
8908 { ac_try='test -s conftest$ac_exeext'
8909 { (case "(($ac_try" in
8910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8911 *) ac_try_echo=$ac_try;;
8912 esac
8913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8914 (eval "$ac_try") 2>&5
8915 ac_status=$?
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); }; }; then
8918 ac_cv_lib_Xext_XShapeQueryExtension=yes
8919 else
8920 echo "$as_me: failed program was:" >&5
8921 sed 's/^/| /' conftest.$ac_ext >&5
8923 ac_cv_lib_Xext_XShapeQueryExtension=no
8926 rm -f core conftest.err conftest.$ac_objext \
8927 conftest$ac_exeext conftest.$ac_ext
8928 LIBS=$ac_check_lib_save_LIBS
8930 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8931 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8932 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8934 cat >>confdefs.h <<\_ACEOF
8935 #define HAVE_LIBXSHAPE 1
8936 _ACEOF
8942 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8943 then
8944 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8945 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8946 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8948 else
8949 ac_check_lib_save_LIBS=$LIBS
8950 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8951 cat >conftest.$ac_ext <<_ACEOF
8952 /* confdefs.h. */
8953 _ACEOF
8954 cat confdefs.h >>conftest.$ac_ext
8955 cat >>conftest.$ac_ext <<_ACEOF
8956 /* end confdefs.h. */
8958 /* Override any GCC internal prototype to avoid an error.
8959 Use char because int might match the return type of a GCC
8960 builtin and then its argument prototype would still apply. */
8961 #ifdef __cplusplus
8962 extern "C"
8963 #endif
8964 char XF86VidModeQueryExtension ();
8966 main ()
8968 return XF86VidModeQueryExtension ();
8970 return 0;
8972 _ACEOF
8973 rm -f conftest.$ac_objext conftest$ac_exeext
8974 if { (ac_try="$ac_link"
8975 case "(($ac_try" in
8976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8977 *) ac_try_echo=$ac_try;;
8978 esac
8979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8980 (eval "$ac_link") 2>conftest.er1
8981 ac_status=$?
8982 grep -v '^ *+' conftest.er1 >conftest.err
8983 rm -f conftest.er1
8984 cat conftest.err >&5
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 (exit $ac_status); } &&
8987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8988 { (case "(($ac_try" in
8989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8990 *) ac_try_echo=$ac_try;;
8991 esac
8992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8993 (eval "$ac_try") 2>&5
8994 ac_status=$?
8995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8996 (exit $ac_status); }; } &&
8997 { ac_try='test -s conftest$ac_exeext'
8998 { (case "(($ac_try" in
8999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9000 *) ac_try_echo=$ac_try;;
9001 esac
9002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9003 (eval "$ac_try") 2>&5
9004 ac_status=$?
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); }; }; then
9007 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9008 else
9009 echo "$as_me: failed program was:" >&5
9010 sed 's/^/| /' conftest.$ac_ext >&5
9012 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9015 rm -f core conftest.err conftest.$ac_objext \
9016 conftest$ac_exeext conftest.$ac_ext
9017 LIBS=$ac_check_lib_save_LIBS
9019 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9020 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9021 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9023 cat >>confdefs.h <<\_ACEOF
9024 #define HAVE_LIBXXF86VM 1
9025 _ACEOF
9027 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9033 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9034 then
9035 cat >conftest.$ac_ext <<_ACEOF
9036 /* confdefs.h. */
9037 _ACEOF
9038 cat confdefs.h >>conftest.$ac_ext
9039 cat >>conftest.$ac_ext <<_ACEOF
9040 /* end confdefs.h. */
9041 #include <X11/Xlib.h>
9042 #include <X11/extensions/Xrandr.h>
9044 main ()
9046 static typeof(XRRSetScreenConfigAndRate) * func;
9048 return 0;
9050 _ACEOF
9051 rm -f conftest.$ac_objext
9052 if { (ac_try="$ac_compile"
9053 case "(($ac_try" in
9054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9055 *) ac_try_echo=$ac_try;;
9056 esac
9057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9058 (eval "$ac_compile") 2>conftest.er1
9059 ac_status=$?
9060 grep -v '^ *+' conftest.er1 >conftest.err
9061 rm -f conftest.er1
9062 cat conftest.err >&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); } &&
9065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9066 { (case "(($ac_try" in
9067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9068 *) ac_try_echo=$ac_try;;
9069 esac
9070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9071 (eval "$ac_try") 2>&5
9072 ac_status=$?
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; } &&
9075 { ac_try='test -s conftest.$ac_objext'
9076 { (case "(($ac_try" in
9077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9078 *) ac_try_echo=$ac_try;;
9079 esac
9080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9081 (eval "$ac_try") 2>&5
9082 ac_status=$?
9083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9084 (exit $ac_status); }; }; then
9086 cat >>confdefs.h <<\_ACEOF
9087 #define HAVE_LIBXRANDR 1
9088 _ACEOF
9090 else
9091 echo "$as_me: failed program was:" >&5
9092 sed 's/^/| /' conftest.$ac_ext >&5
9097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9100 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9101 then
9102 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9103 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9104 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9105 echo $ECHO_N "(cached) $ECHO_C" >&6
9106 else
9107 ac_check_lib_save_LIBS=$LIBS
9108 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9109 cat >conftest.$ac_ext <<_ACEOF
9110 /* confdefs.h. */
9111 _ACEOF
9112 cat confdefs.h >>conftest.$ac_ext
9113 cat >>conftest.$ac_ext <<_ACEOF
9114 /* end confdefs.h. */
9116 /* Override any GCC internal prototype to avoid an error.
9117 Use char because int might match the return type of a GCC
9118 builtin and then its argument prototype would still apply. */
9119 #ifdef __cplusplus
9120 extern "C"
9121 #endif
9122 char XRenderSetPictureTransform ();
9124 main ()
9126 return XRenderSetPictureTransform ();
9128 return 0;
9130 _ACEOF
9131 rm -f conftest.$ac_objext conftest$ac_exeext
9132 if { (ac_try="$ac_link"
9133 case "(($ac_try" in
9134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9135 *) ac_try_echo=$ac_try;;
9136 esac
9137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9138 (eval "$ac_link") 2>conftest.er1
9139 ac_status=$?
9140 grep -v '^ *+' conftest.er1 >conftest.err
9141 rm -f conftest.er1
9142 cat conftest.err >&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); } &&
9145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9146 { (case "(($ac_try" in
9147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9148 *) ac_try_echo=$ac_try;;
9149 esac
9150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9151 (eval "$ac_try") 2>&5
9152 ac_status=$?
9153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9154 (exit $ac_status); }; } &&
9155 { ac_try='test -s conftest$ac_exeext'
9156 { (case "(($ac_try" in
9157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9158 *) ac_try_echo=$ac_try;;
9159 esac
9160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9161 (eval "$ac_try") 2>&5
9162 ac_status=$?
9163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164 (exit $ac_status); }; }; then
9165 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9166 else
9167 echo "$as_me: failed program was:" >&5
9168 sed 's/^/| /' conftest.$ac_ext >&5
9170 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9173 rm -f core conftest.err conftest.$ac_objext \
9174 conftest$ac_exeext conftest.$ac_ext
9175 LIBS=$ac_check_lib_save_LIBS
9177 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9178 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9179 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9181 cat >>confdefs.h <<\_ACEOF
9182 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9183 _ACEOF
9189 if test "x$with_opengl" != "xno"
9190 then
9195 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9197 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9198 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9200 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9202 else
9203 cat >conftest.$ac_ext <<_ACEOF
9204 /* confdefs.h. */
9205 _ACEOF
9206 cat confdefs.h >>conftest.$ac_ext
9207 cat >>conftest.$ac_ext <<_ACEOF
9208 /* end confdefs.h. */
9209 #ifdef HAVE_GL_GLX_H
9210 # include <GL/glx.h>
9211 #endif
9213 #include <$ac_header>
9214 _ACEOF
9215 rm -f conftest.$ac_objext
9216 if { (ac_try="$ac_compile"
9217 case "(($ac_try" in
9218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9219 *) ac_try_echo=$ac_try;;
9220 esac
9221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9222 (eval "$ac_compile") 2>conftest.er1
9223 ac_status=$?
9224 grep -v '^ *+' conftest.er1 >conftest.err
9225 rm -f conftest.er1
9226 cat conftest.err >&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); } &&
9229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9230 { (case "(($ac_try" in
9231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9232 *) ac_try_echo=$ac_try;;
9233 esac
9234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9235 (eval "$ac_try") 2>&5
9236 ac_status=$?
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); }; } &&
9239 { ac_try='test -s conftest.$ac_objext'
9240 { (case "(($ac_try" in
9241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9242 *) ac_try_echo=$ac_try;;
9243 esac
9244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9245 (eval "$ac_try") 2>&5
9246 ac_status=$?
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 (exit $ac_status); }; }; then
9249 eval "$as_ac_Header=yes"
9250 else
9251 echo "$as_me: failed program was:" >&5
9252 sed 's/^/| /' conftest.$ac_ext >&5
9254 eval "$as_ac_Header=no"
9257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9259 ac_res=`eval echo '${'$as_ac_Header'}'`
9260 { echo "$as_me:$LINENO: result: $ac_res" >&5
9261 echo "${ECHO_T}$ac_res" >&6; }
9262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9263 cat >>confdefs.h <<_ACEOF
9264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9265 _ACEOF
9269 done
9271 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9272 then
9273 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9274 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9275 if test "${wine_cv_opengl_version_OK+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 #include <GL/gl.h>
9286 main ()
9288 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9290 return 0;
9292 _ACEOF
9293 rm -f conftest.$ac_objext
9294 if { (ac_try="$ac_compile"
9295 case "(($ac_try" in
9296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9297 *) ac_try_echo=$ac_try;;
9298 esac
9299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9300 (eval "$ac_compile") 2>conftest.er1
9301 ac_status=$?
9302 grep -v '^ *+' conftest.er1 >conftest.err
9303 rm -f conftest.er1
9304 cat conftest.err >&5
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); } &&
9307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9308 { (case "(($ac_try" in
9309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9310 *) ac_try_echo=$ac_try;;
9311 esac
9312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9313 (eval "$ac_try") 2>&5
9314 ac_status=$?
9315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316 (exit $ac_status); }; } &&
9317 { ac_try='test -s conftest.$ac_objext'
9318 { (case "(($ac_try" in
9319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9320 *) ac_try_echo=$ac_try;;
9321 esac
9322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9323 (eval "$ac_try") 2>&5
9324 ac_status=$?
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); }; }; then
9327 wine_cv_opengl_version_OK="yes"
9328 else
9329 echo "$as_me: failed program was:" >&5
9330 sed 's/^/| /' conftest.$ac_ext >&5
9332 wine_cv_opengl_version_OK="no"
9336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9339 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
9340 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
9342 if test "$wine_cv_opengl_version_OK" = "yes"
9343 then
9344 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9345 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9346 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9347 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 else
9349 ac_check_lib_save_LIBS=$LIBS
9350 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9351 cat >conftest.$ac_ext <<_ACEOF
9352 /* confdefs.h. */
9353 _ACEOF
9354 cat confdefs.h >>conftest.$ac_ext
9355 cat >>conftest.$ac_ext <<_ACEOF
9356 /* end confdefs.h. */
9358 /* Override any GCC internal prototype to avoid an error.
9359 Use char because int might match the return type of a GCC
9360 builtin and then its argument prototype would still apply. */
9361 #ifdef __cplusplus
9362 extern "C"
9363 #endif
9364 char glXCreateContext ();
9366 main ()
9368 return glXCreateContext ();
9370 return 0;
9372 _ACEOF
9373 rm -f conftest.$ac_objext conftest$ac_exeext
9374 if { (ac_try="$ac_link"
9375 case "(($ac_try" in
9376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9377 *) ac_try_echo=$ac_try;;
9378 esac
9379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9380 (eval "$ac_link") 2>conftest.er1
9381 ac_status=$?
9382 grep -v '^ *+' conftest.er1 >conftest.err
9383 rm -f conftest.er1
9384 cat conftest.err >&5
9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386 (exit $ac_status); } &&
9387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9388 { (case "(($ac_try" in
9389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9390 *) ac_try_echo=$ac_try;;
9391 esac
9392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9393 (eval "$ac_try") 2>&5
9394 ac_status=$?
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; } &&
9397 { ac_try='test -s conftest$ac_exeext'
9398 { (case "(($ac_try" in
9399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9400 *) ac_try_echo=$ac_try;;
9401 esac
9402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9403 (eval "$ac_try") 2>&5
9404 ac_status=$?
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); }; }; then
9407 ac_cv_lib_GL_glXCreateContext=yes
9408 else
9409 echo "$as_me: failed program was:" >&5
9410 sed 's/^/| /' conftest.$ac_ext >&5
9412 ac_cv_lib_GL_glXCreateContext=no
9415 rm -f core conftest.err conftest.$ac_objext \
9416 conftest$ac_exeext conftest.$ac_ext
9417 LIBS=$ac_check_lib_save_LIBS
9419 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9420 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9421 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9422 OPENGL_LIBS="-lGL"
9427 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
9428 then
9429 OPENGLFILES='$(OPENGLFILES)'
9431 cat >>confdefs.h <<\_ACEOF
9432 #define HAVE_OPENGL 1
9433 _ACEOF
9435 else
9436 if test -f /usr/X11R6/lib/libGL.a
9437 then
9438 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
9439 This prevents linking to OpenGL. Delete the file and restart configure." >&5
9440 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
9441 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
9442 { (exit 1); exit 1; }; }
9446 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9447 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9448 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9449 echo $ECHO_N "(cached) $ECHO_C" >&6
9450 else
9451 ac_check_lib_save_LIBS=$LIBS
9452 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9453 $LIBS"
9454 cat >conftest.$ac_ext <<_ACEOF
9455 /* confdefs.h. */
9456 _ACEOF
9457 cat confdefs.h >>conftest.$ac_ext
9458 cat >>conftest.$ac_ext <<_ACEOF
9459 /* end confdefs.h. */
9461 /* Override any GCC internal prototype to avoid an error.
9462 Use char because int might match the return type of a GCC
9463 builtin and then its argument prototype would still apply. */
9464 #ifdef __cplusplus
9465 extern "C"
9466 #endif
9467 char gluLookAt ();
9469 main ()
9471 return gluLookAt ();
9473 return 0;
9475 _ACEOF
9476 rm -f conftest.$ac_objext conftest$ac_exeext
9477 if { (ac_try="$ac_link"
9478 case "(($ac_try" in
9479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9480 *) ac_try_echo=$ac_try;;
9481 esac
9482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9483 (eval "$ac_link") 2>conftest.er1
9484 ac_status=$?
9485 grep -v '^ *+' conftest.er1 >conftest.err
9486 rm -f conftest.er1
9487 cat conftest.err >&5
9488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489 (exit $ac_status); } &&
9490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9491 { (case "(($ac_try" in
9492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9493 *) ac_try_echo=$ac_try;;
9494 esac
9495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9496 (eval "$ac_try") 2>&5
9497 ac_status=$?
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); }; } &&
9500 { ac_try='test -s conftest$ac_exeext'
9501 { (case "(($ac_try" in
9502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9503 *) ac_try_echo=$ac_try;;
9504 esac
9505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9506 (eval "$ac_try") 2>&5
9507 ac_status=$?
9508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 (exit $ac_status); }; }; then
9510 ac_cv_lib_GLU_gluLookAt=yes
9511 else
9512 echo "$as_me: failed program was:" >&5
9513 sed 's/^/| /' conftest.$ac_ext >&5
9515 ac_cv_lib_GLU_gluLookAt=no
9518 rm -f core conftest.err conftest.$ac_objext \
9519 conftest$ac_exeext conftest.$ac_ext
9520 LIBS=$ac_check_lib_save_LIBS
9522 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9523 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9524 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9525 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9526 GLU32FILES='$(GLU32FILES)'
9532 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9533 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9534 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9535 echo $ECHO_N "(cached) $ECHO_C" >&6
9536 else
9537 ac_check_lib_save_LIBS=$LIBS
9538 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9539 cat >conftest.$ac_ext <<_ACEOF
9540 /* confdefs.h. */
9541 _ACEOF
9542 cat confdefs.h >>conftest.$ac_ext
9543 cat >>conftest.$ac_ext <<_ACEOF
9544 /* end confdefs.h. */
9546 /* Override any GCC internal prototype to avoid an error.
9547 Use char because int might match the return type of a GCC
9548 builtin and then its argument prototype would still apply. */
9549 #ifdef __cplusplus
9550 extern "C"
9551 #endif
9552 char glutMainLoop ();
9554 main ()
9556 return glutMainLoop ();
9558 return 0;
9560 _ACEOF
9561 rm -f conftest.$ac_objext conftest$ac_exeext
9562 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
9569 ac_status=$?
9570 grep -v '^ *+' conftest.er1 >conftest.err
9571 rm -f conftest.er1
9572 cat conftest.err >&5
9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574 (exit $ac_status); } &&
9575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9576 { (case "(($ac_try" in
9577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9578 *) ac_try_echo=$ac_try;;
9579 esac
9580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9581 (eval "$ac_try") 2>&5
9582 ac_status=$?
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584 (exit $ac_status); }; } &&
9585 { ac_try='test -s conftest$ac_exeext'
9586 { (case "(($ac_try" in
9587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9588 *) ac_try_echo=$ac_try;;
9589 esac
9590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9591 (eval "$ac_try") 2>&5
9592 ac_status=$?
9593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594 (exit $ac_status); }; }; then
9595 ac_cv_lib_glut_glutMainLoop=yes
9596 else
9597 echo "$as_me: failed program was:" >&5
9598 sed 's/^/| /' conftest.$ac_ext >&5
9600 ac_cv_lib_glut_glutMainLoop=no
9603 rm -f core conftest.err conftest.$ac_objext \
9604 conftest$ac_exeext conftest.$ac_ext
9605 LIBS=$ac_check_lib_save_LIBS
9607 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9608 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9609 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9610 GLUT_LIBS="-lglut -lXmu -lXi"
9612 GLUT32FILES='$(GLUT32FILES)'
9619 NASLIBS=""
9622 for ac_header in audio/audiolib.h
9624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9625 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9629 echo $ECHO_N "(cached) $ECHO_C" >&6
9631 ac_res=`eval echo '${'$as_ac_Header'}'`
9632 { echo "$as_me:$LINENO: result: $ac_res" >&5
9633 echo "${ECHO_T}$ac_res" >&6; }
9634 else
9635 # Is the header compilable?
9636 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9637 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9638 cat >conftest.$ac_ext <<_ACEOF
9639 /* confdefs.h. */
9640 _ACEOF
9641 cat confdefs.h >>conftest.$ac_ext
9642 cat >>conftest.$ac_ext <<_ACEOF
9643 /* end confdefs.h. */
9644 $ac_includes_default
9645 #include <$ac_header>
9646 _ACEOF
9647 rm -f conftest.$ac_objext
9648 if { (ac_try="$ac_compile"
9649 case "(($ac_try" in
9650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9651 *) ac_try_echo=$ac_try;;
9652 esac
9653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9654 (eval "$ac_compile") 2>conftest.er1
9655 ac_status=$?
9656 grep -v '^ *+' conftest.er1 >conftest.err
9657 rm -f conftest.er1
9658 cat conftest.err >&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); } &&
9661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9662 { (case "(($ac_try" in
9663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9664 *) ac_try_echo=$ac_try;;
9665 esac
9666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9667 (eval "$ac_try") 2>&5
9668 ac_status=$?
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 (exit $ac_status); }; } &&
9671 { ac_try='test -s conftest.$ac_objext'
9672 { (case "(($ac_try" in
9673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9674 *) ac_try_echo=$ac_try;;
9675 esac
9676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9677 (eval "$ac_try") 2>&5
9678 ac_status=$?
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 (exit $ac_status); }; }; then
9681 ac_header_compiler=yes
9682 else
9683 echo "$as_me: failed program was:" >&5
9684 sed 's/^/| /' conftest.$ac_ext >&5
9686 ac_header_compiler=no
9689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9690 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9691 echo "${ECHO_T}$ac_header_compiler" >&6; }
9693 # Is the header present?
9694 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9696 cat >conftest.$ac_ext <<_ACEOF
9697 /* confdefs.h. */
9698 _ACEOF
9699 cat confdefs.h >>conftest.$ac_ext
9700 cat >>conftest.$ac_ext <<_ACEOF
9701 /* end confdefs.h. */
9702 #include <$ac_header>
9703 _ACEOF
9704 if { (ac_try="$ac_cpp conftest.$ac_ext"
9705 case "(($ac_try" in
9706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9707 *) ac_try_echo=$ac_try;;
9708 esac
9709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9711 ac_status=$?
9712 grep -v '^ *+' conftest.er1 >conftest.err
9713 rm -f conftest.er1
9714 cat conftest.err >&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); } >/dev/null; then
9717 if test -s conftest.err; then
9718 ac_cpp_err=$ac_c_preproc_warn_flag
9719 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9720 else
9721 ac_cpp_err=
9723 else
9724 ac_cpp_err=yes
9726 if test -z "$ac_cpp_err"; then
9727 ac_header_preproc=yes
9728 else
9729 echo "$as_me: failed program was:" >&5
9730 sed 's/^/| /' conftest.$ac_ext >&5
9732 ac_header_preproc=no
9735 rm -f conftest.err conftest.$ac_ext
9736 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9737 echo "${ECHO_T}$ac_header_preproc" >&6; }
9739 # So? What about this header?
9740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9741 yes:no: )
9742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9745 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9746 ac_header_preproc=yes
9748 no:yes:* )
9749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9753 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9754 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9755 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9756 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9759 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9760 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9761 ( cat <<\_ASBOX
9762 ## ------------------------------------ ##
9763 ## Report this to wine-devel@winehq.org ##
9764 ## ------------------------------------ ##
9765 _ASBOX
9766 ) | sed "s/^/$as_me: WARNING: /" >&2
9768 esac
9769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9772 echo $ECHO_N "(cached) $ECHO_C" >&6
9773 else
9774 eval "$as_ac_Header=\$ac_header_preproc"
9776 ac_res=`eval echo '${'$as_ac_Header'}'`
9777 { echo "$as_me:$LINENO: result: $ac_res" >&5
9778 echo "${ECHO_T}$ac_res" >&6; }
9781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9782 cat >>confdefs.h <<_ACEOF
9783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9784 _ACEOF
9786 for ac_header in audio/soundlib.h
9788 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9789 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9791 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9792 echo $ECHO_N "(cached) $ECHO_C" >&6
9793 else
9794 cat >conftest.$ac_ext <<_ACEOF
9795 /* confdefs.h. */
9796 _ACEOF
9797 cat confdefs.h >>conftest.$ac_ext
9798 cat >>conftest.$ac_ext <<_ACEOF
9799 /* end confdefs.h. */
9800 #include <audio/audiolib.h>
9802 #include <$ac_header>
9803 _ACEOF
9804 rm -f conftest.$ac_objext
9805 if { (ac_try="$ac_compile"
9806 case "(($ac_try" in
9807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9808 *) ac_try_echo=$ac_try;;
9809 esac
9810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9811 (eval "$ac_compile") 2>conftest.er1
9812 ac_status=$?
9813 grep -v '^ *+' conftest.er1 >conftest.err
9814 rm -f conftest.er1
9815 cat conftest.err >&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); } &&
9818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9819 { (case "(($ac_try" in
9820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9821 *) ac_try_echo=$ac_try;;
9822 esac
9823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9824 (eval "$ac_try") 2>&5
9825 ac_status=$?
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); }; } &&
9828 { ac_try='test -s conftest.$ac_objext'
9829 { (case "(($ac_try" in
9830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9831 *) ac_try_echo=$ac_try;;
9832 esac
9833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9834 (eval "$ac_try") 2>&5
9835 ac_status=$?
9836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837 (exit $ac_status); }; }; then
9838 eval "$as_ac_Header=yes"
9839 else
9840 echo "$as_me: failed program was:" >&5
9841 sed 's/^/| /' conftest.$ac_ext >&5
9843 eval "$as_ac_Header=no"
9846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9848 ac_res=`eval echo '${'$as_ac_Header'}'`
9849 { echo "$as_me:$LINENO: result: $ac_res" >&5
9850 echo "${ECHO_T}$ac_res" >&6; }
9851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9852 cat >>confdefs.h <<_ACEOF
9853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9854 _ACEOF
9858 done
9860 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9861 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9862 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9863 echo $ECHO_N "(cached) $ECHO_C" >&6
9864 else
9865 ac_check_lib_save_LIBS=$LIBS
9866 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9867 cat >conftest.$ac_ext <<_ACEOF
9868 /* confdefs.h. */
9869 _ACEOF
9870 cat confdefs.h >>conftest.$ac_ext
9871 cat >>conftest.$ac_ext <<_ACEOF
9872 /* end confdefs.h. */
9874 /* Override any GCC internal prototype to avoid an error.
9875 Use char because int might match the return type of a GCC
9876 builtin and then its argument prototype would still apply. */
9877 #ifdef __cplusplus
9878 extern "C"
9879 #endif
9880 char AuCreateFlow ();
9882 main ()
9884 return AuCreateFlow ();
9886 return 0;
9888 _ACEOF
9889 rm -f conftest.$ac_objext conftest$ac_exeext
9890 if { (ac_try="$ac_link"
9891 case "(($ac_try" in
9892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9893 *) ac_try_echo=$ac_try;;
9894 esac
9895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9896 (eval "$ac_link") 2>conftest.er1
9897 ac_status=$?
9898 grep -v '^ *+' conftest.er1 >conftest.err
9899 rm -f conftest.er1
9900 cat conftest.err >&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); } &&
9903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9904 { (case "(($ac_try" in
9905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9906 *) ac_try_echo=$ac_try;;
9907 esac
9908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9909 (eval "$ac_try") 2>&5
9910 ac_status=$?
9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912 (exit $ac_status); }; } &&
9913 { ac_try='test -s conftest$ac_exeext'
9914 { (case "(($ac_try" in
9915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9916 *) ac_try_echo=$ac_try;;
9917 esac
9918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9919 (eval "$ac_try") 2>&5
9920 ac_status=$?
9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 (exit $ac_status); }; }; then
9923 ac_cv_lib_audio_AuCreateFlow=yes
9924 else
9925 echo "$as_me: failed program was:" >&5
9926 sed 's/^/| /' conftest.$ac_ext >&5
9928 ac_cv_lib_audio_AuCreateFlow=no
9931 rm -f core conftest.err conftest.$ac_objext \
9932 conftest$ac_exeext conftest.$ac_ext
9933 LIBS=$ac_check_lib_save_LIBS
9935 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9936 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
9937 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9939 cat >>confdefs.h <<\_ACEOF
9940 #define HAVE_NAS 1
9941 _ACEOF
9943 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9948 done
9951 CPPFLAGS="$ac_save_CPPFLAGS"
9952 XFILES='$(XFILES)'
9953 else
9954 XLIB=""
9955 X_CFLAGS=""
9956 X_LIBS=""
9960 XML2LIBS=""
9962 XML2INCL=""
9964 XSLTLIBS=""
9966 XSLTINCL=""
9968 if test "$PKG_CONFIG" != "false"
9969 then
9970 ac_save_CPPFLAGS="$CPPFLAGS"
9971 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9972 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9973 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9975 for ac_header in libxml/parser.h
9977 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9978 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9979 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9981 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9982 echo $ECHO_N "(cached) $ECHO_C" >&6
9984 ac_res=`eval echo '${'$as_ac_Header'}'`
9985 { echo "$as_me:$LINENO: result: $ac_res" >&5
9986 echo "${ECHO_T}$ac_res" >&6; }
9987 else
9988 # Is the header compilable?
9989 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9990 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9991 cat >conftest.$ac_ext <<_ACEOF
9992 /* confdefs.h. */
9993 _ACEOF
9994 cat confdefs.h >>conftest.$ac_ext
9995 cat >>conftest.$ac_ext <<_ACEOF
9996 /* end confdefs.h. */
9997 $ac_includes_default
9998 #include <$ac_header>
9999 _ACEOF
10000 rm -f conftest.$ac_objext
10001 if { (ac_try="$ac_compile"
10002 case "(($ac_try" in
10003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10004 *) ac_try_echo=$ac_try;;
10005 esac
10006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10007 (eval "$ac_compile") 2>conftest.er1
10008 ac_status=$?
10009 grep -v '^ *+' conftest.er1 >conftest.err
10010 rm -f conftest.er1
10011 cat conftest.err >&5
10012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013 (exit $ac_status); } &&
10014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10015 { (case "(($ac_try" in
10016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10017 *) ac_try_echo=$ac_try;;
10018 esac
10019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10020 (eval "$ac_try") 2>&5
10021 ac_status=$?
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 (exit $ac_status); }; } &&
10024 { ac_try='test -s conftest.$ac_objext'
10025 { (case "(($ac_try" in
10026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10027 *) ac_try_echo=$ac_try;;
10028 esac
10029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10030 (eval "$ac_try") 2>&5
10031 ac_status=$?
10032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033 (exit $ac_status); }; }; then
10034 ac_header_compiler=yes
10035 else
10036 echo "$as_me: failed program was:" >&5
10037 sed 's/^/| /' conftest.$ac_ext >&5
10039 ac_header_compiler=no
10042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10043 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10044 echo "${ECHO_T}$ac_header_compiler" >&6; }
10046 # Is the header present?
10047 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10049 cat >conftest.$ac_ext <<_ACEOF
10050 /* confdefs.h. */
10051 _ACEOF
10052 cat confdefs.h >>conftest.$ac_ext
10053 cat >>conftest.$ac_ext <<_ACEOF
10054 /* end confdefs.h. */
10055 #include <$ac_header>
10056 _ACEOF
10057 if { (ac_try="$ac_cpp conftest.$ac_ext"
10058 case "(($ac_try" in
10059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10060 *) ac_try_echo=$ac_try;;
10061 esac
10062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10064 ac_status=$?
10065 grep -v '^ *+' conftest.er1 >conftest.err
10066 rm -f conftest.er1
10067 cat conftest.err >&5
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 (exit $ac_status); } >/dev/null; then
10070 if test -s conftest.err; then
10071 ac_cpp_err=$ac_c_preproc_warn_flag
10072 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10073 else
10074 ac_cpp_err=
10076 else
10077 ac_cpp_err=yes
10079 if test -z "$ac_cpp_err"; then
10080 ac_header_preproc=yes
10081 else
10082 echo "$as_me: failed program was:" >&5
10083 sed 's/^/| /' conftest.$ac_ext >&5
10085 ac_header_preproc=no
10088 rm -f conftest.err conftest.$ac_ext
10089 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10090 echo "${ECHO_T}$ac_header_preproc" >&6; }
10092 # So? What about this header?
10093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10094 yes:no: )
10095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10099 ac_header_preproc=yes
10101 no:yes:* )
10102 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10103 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10104 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10105 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10106 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10107 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10108 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10109 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10112 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10113 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10114 ( cat <<\_ASBOX
10115 ## ------------------------------------ ##
10116 ## Report this to wine-devel@winehq.org ##
10117 ## ------------------------------------ ##
10118 _ASBOX
10119 ) | sed "s/^/$as_me: WARNING: /" >&2
10121 esac
10122 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10125 echo $ECHO_N "(cached) $ECHO_C" >&6
10126 else
10127 eval "$as_ac_Header=\$ac_header_preproc"
10129 ac_res=`eval echo '${'$as_ac_Header'}'`
10130 { echo "$as_me:$LINENO: result: $ac_res" >&5
10131 echo "${ECHO_T}$ac_res" >&6; }
10134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10135 cat >>confdefs.h <<_ACEOF
10136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10137 _ACEOF
10138 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10139 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10140 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10141 echo $ECHO_N "(cached) $ECHO_C" >&6
10142 else
10143 ac_check_lib_save_LIBS=$LIBS
10144 LIBS="-lxml2 $ac_xml_libs $LIBS"
10145 cat >conftest.$ac_ext <<_ACEOF
10146 /* confdefs.h. */
10147 _ACEOF
10148 cat confdefs.h >>conftest.$ac_ext
10149 cat >>conftest.$ac_ext <<_ACEOF
10150 /* end confdefs.h. */
10152 /* Override any GCC internal prototype to avoid an error.
10153 Use char because int might match the return type of a GCC
10154 builtin and then its argument prototype would still apply. */
10155 #ifdef __cplusplus
10156 extern "C"
10157 #endif
10158 char xmlParseMemory ();
10160 main ()
10162 return xmlParseMemory ();
10164 return 0;
10166 _ACEOF
10167 rm -f conftest.$ac_objext conftest$ac_exeext
10168 if { (ac_try="$ac_link"
10169 case "(($ac_try" in
10170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10171 *) ac_try_echo=$ac_try;;
10172 esac
10173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10174 (eval "$ac_link") 2>conftest.er1
10175 ac_status=$?
10176 grep -v '^ *+' conftest.er1 >conftest.err
10177 rm -f conftest.er1
10178 cat conftest.err >&5
10179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10180 (exit $ac_status); } &&
10181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10182 { (case "(($ac_try" in
10183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10184 *) ac_try_echo=$ac_try;;
10185 esac
10186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10187 (eval "$ac_try") 2>&5
10188 ac_status=$?
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; } &&
10191 { ac_try='test -s conftest$ac_exeext'
10192 { (case "(($ac_try" in
10193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10194 *) ac_try_echo=$ac_try;;
10195 esac
10196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10197 (eval "$ac_try") 2>&5
10198 ac_status=$?
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; }; then
10201 ac_cv_lib_xml2_xmlParseMemory=yes
10202 else
10203 echo "$as_me: failed program was:" >&5
10204 sed 's/^/| /' conftest.$ac_ext >&5
10206 ac_cv_lib_xml2_xmlParseMemory=no
10209 rm -f core conftest.err conftest.$ac_objext \
10210 conftest$ac_exeext conftest.$ac_ext
10211 LIBS=$ac_check_lib_save_LIBS
10213 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10214 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10215 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10217 cat >>confdefs.h <<\_ACEOF
10218 #define HAVE_LIBXML2 1
10219 _ACEOF
10221 XML2LIBS="$ac_xml_libs"
10222 XML2INCL="$ac_xml_cflags"
10225 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10226 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10227 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10229 else
10230 ac_check_lib_save_LIBS=$LIBS
10231 LIBS="-lxml2 $ac_xml_libs $LIBS"
10232 cat >conftest.$ac_ext <<_ACEOF
10233 /* confdefs.h. */
10234 _ACEOF
10235 cat confdefs.h >>conftest.$ac_ext
10236 cat >>conftest.$ac_ext <<_ACEOF
10237 /* end confdefs.h. */
10239 /* Override any GCC internal prototype to avoid an error.
10240 Use char because int might match the return type of a GCC
10241 builtin and then its argument prototype would still apply. */
10242 #ifdef __cplusplus
10243 extern "C"
10244 #endif
10245 char xmlReadMemory ();
10247 main ()
10249 return xmlReadMemory ();
10251 return 0;
10253 _ACEOF
10254 rm -f conftest.$ac_objext conftest$ac_exeext
10255 if { (ac_try="$ac_link"
10256 case "(($ac_try" in
10257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10258 *) ac_try_echo=$ac_try;;
10259 esac
10260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10261 (eval "$ac_link") 2>conftest.er1
10262 ac_status=$?
10263 grep -v '^ *+' conftest.er1 >conftest.err
10264 rm -f conftest.er1
10265 cat conftest.err >&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); } &&
10268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10269 { (case "(($ac_try" in
10270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10271 *) ac_try_echo=$ac_try;;
10272 esac
10273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10274 (eval "$ac_try") 2>&5
10275 ac_status=$?
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }; } &&
10278 { ac_try='test -s conftest$ac_exeext'
10279 { (case "(($ac_try" in
10280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10281 *) ac_try_echo=$ac_try;;
10282 esac
10283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10284 (eval "$ac_try") 2>&5
10285 ac_status=$?
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 (exit $ac_status); }; }; then
10288 ac_cv_lib_xml2_xmlReadMemory=yes
10289 else
10290 echo "$as_me: failed program was:" >&5
10291 sed 's/^/| /' conftest.$ac_ext >&5
10293 ac_cv_lib_xml2_xmlReadMemory=no
10296 rm -f core conftest.err conftest.$ac_objext \
10297 conftest$ac_exeext conftest.$ac_ext
10298 LIBS=$ac_check_lib_save_LIBS
10300 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10301 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10302 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10304 cat >>confdefs.h <<\_ACEOF
10305 #define HAVE_XMLREADMEMORY 1
10306 _ACEOF
10313 done
10315 CPPFLAGS="$ac_save_CPPFLAGS"
10316 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10317 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10318 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10321 for ac_header in libxslt/pattern.h libxslt/transform.h
10323 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10324 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10326 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10327 echo $ECHO_N "(cached) $ECHO_C" >&6
10328 else
10329 cat >conftest.$ac_ext <<_ACEOF
10330 /* confdefs.h. */
10331 _ACEOF
10332 cat confdefs.h >>conftest.$ac_ext
10333 cat >>conftest.$ac_ext <<_ACEOF
10334 /* end confdefs.h. */
10335 #ifdef HAVE_LIBXSLT_PATTERN_H
10336 # include <libxslt/pattern.h>
10337 #endif
10339 #include <$ac_header>
10340 _ACEOF
10341 rm -f conftest.$ac_objext
10342 if { (ac_try="$ac_compile"
10343 case "(($ac_try" in
10344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10345 *) ac_try_echo=$ac_try;;
10346 esac
10347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10348 (eval "$ac_compile") 2>conftest.er1
10349 ac_status=$?
10350 grep -v '^ *+' conftest.er1 >conftest.err
10351 rm -f conftest.er1
10352 cat conftest.err >&5
10353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); } &&
10355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10356 { (case "(($ac_try" in
10357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10358 *) ac_try_echo=$ac_try;;
10359 esac
10360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10361 (eval "$ac_try") 2>&5
10362 ac_status=$?
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); }; } &&
10365 { ac_try='test -s conftest.$ac_objext'
10366 { (case "(($ac_try" in
10367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10368 *) ac_try_echo=$ac_try;;
10369 esac
10370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10371 (eval "$ac_try") 2>&5
10372 ac_status=$?
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); }; }; then
10375 eval "$as_ac_Header=yes"
10376 else
10377 echo "$as_me: failed program was:" >&5
10378 sed 's/^/| /' conftest.$ac_ext >&5
10380 eval "$as_ac_Header=no"
10383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10385 ac_res=`eval echo '${'$as_ac_Header'}'`
10386 { echo "$as_me:$LINENO: result: $ac_res" >&5
10387 echo "${ECHO_T}$ac_res" >&6; }
10388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10389 cat >>confdefs.h <<_ACEOF
10390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10391 _ACEOF
10392 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10393 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10394 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10395 echo $ECHO_N "(cached) $ECHO_C" >&6
10396 else
10397 ac_check_lib_save_LIBS=$LIBS
10398 LIBS="-lxslt $ac_xslt_libs $LIBS"
10399 cat >conftest.$ac_ext <<_ACEOF
10400 /* confdefs.h. */
10401 _ACEOF
10402 cat confdefs.h >>conftest.$ac_ext
10403 cat >>conftest.$ac_ext <<_ACEOF
10404 /* end confdefs.h. */
10406 /* Override any GCC internal prototype to avoid an error.
10407 Use char because int might match the return type of a GCC
10408 builtin and then its argument prototype would still apply. */
10409 #ifdef __cplusplus
10410 extern "C"
10411 #endif
10412 char xsltCompilePattern ();
10414 main ()
10416 return xsltCompilePattern ();
10418 return 0;
10420 _ACEOF
10421 rm -f conftest.$ac_objext conftest$ac_exeext
10422 if { (ac_try="$ac_link"
10423 case "(($ac_try" in
10424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10425 *) ac_try_echo=$ac_try;;
10426 esac
10427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10428 (eval "$ac_link") 2>conftest.er1
10429 ac_status=$?
10430 grep -v '^ *+' conftest.er1 >conftest.err
10431 rm -f conftest.er1
10432 cat conftest.err >&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); } &&
10435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10436 { (case "(($ac_try" in
10437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10438 *) ac_try_echo=$ac_try;;
10439 esac
10440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10441 (eval "$ac_try") 2>&5
10442 ac_status=$?
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); }; } &&
10445 { ac_try='test -s conftest$ac_exeext'
10446 { (case "(($ac_try" in
10447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10448 *) ac_try_echo=$ac_try;;
10449 esac
10450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10451 (eval "$ac_try") 2>&5
10452 ac_status=$?
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); }; }; then
10455 ac_cv_lib_xslt_xsltCompilePattern=yes
10456 else
10457 echo "$as_me: failed program was:" >&5
10458 sed 's/^/| /' conftest.$ac_ext >&5
10460 ac_cv_lib_xslt_xsltCompilePattern=no
10463 rm -f core conftest.err conftest.$ac_objext \
10464 conftest$ac_exeext conftest.$ac_ext
10465 LIBS=$ac_check_lib_save_LIBS
10467 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10468 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10469 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10471 cat >>confdefs.h <<\_ACEOF
10472 #define HAVE_LIBXSLT 1
10473 _ACEOF
10475 XSLTLIBS="$ac_xslt_libs"
10476 XSLTINCL="$ac_xslt_cflags"
10482 done
10484 CPPFLAGS="$ac_save_CPPFLAGS"
10487 HALINCL=""
10489 if test "$PKG_CONFIG" != "false"
10490 then
10491 ac_save_CPPFLAGS="$CPPFLAGS"
10492 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10493 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10494 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10497 for ac_header in dbus/dbus.h hal/libhal.h
10499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10501 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10504 echo $ECHO_N "(cached) $ECHO_C" >&6
10506 ac_res=`eval echo '${'$as_ac_Header'}'`
10507 { echo "$as_me:$LINENO: result: $ac_res" >&5
10508 echo "${ECHO_T}$ac_res" >&6; }
10509 else
10510 # Is the header compilable?
10511 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10513 cat >conftest.$ac_ext <<_ACEOF
10514 /* confdefs.h. */
10515 _ACEOF
10516 cat confdefs.h >>conftest.$ac_ext
10517 cat >>conftest.$ac_ext <<_ACEOF
10518 /* end confdefs.h. */
10519 $ac_includes_default
10520 #include <$ac_header>
10521 _ACEOF
10522 rm -f conftest.$ac_objext
10523 if { (ac_try="$ac_compile"
10524 case "(($ac_try" in
10525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10526 *) ac_try_echo=$ac_try;;
10527 esac
10528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10529 (eval "$ac_compile") 2>conftest.er1
10530 ac_status=$?
10531 grep -v '^ *+' conftest.er1 >conftest.err
10532 rm -f conftest.er1
10533 cat conftest.err >&5
10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 (exit $ac_status); } &&
10536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10537 { (case "(($ac_try" in
10538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10539 *) ac_try_echo=$ac_try;;
10540 esac
10541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10542 (eval "$ac_try") 2>&5
10543 ac_status=$?
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); }; } &&
10546 { ac_try='test -s conftest.$ac_objext'
10547 { (case "(($ac_try" in
10548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10549 *) ac_try_echo=$ac_try;;
10550 esac
10551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10552 (eval "$ac_try") 2>&5
10553 ac_status=$?
10554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555 (exit $ac_status); }; }; then
10556 ac_header_compiler=yes
10557 else
10558 echo "$as_me: failed program was:" >&5
10559 sed 's/^/| /' conftest.$ac_ext >&5
10561 ac_header_compiler=no
10564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10565 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10566 echo "${ECHO_T}$ac_header_compiler" >&6; }
10568 # Is the header present?
10569 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10571 cat >conftest.$ac_ext <<_ACEOF
10572 /* confdefs.h. */
10573 _ACEOF
10574 cat confdefs.h >>conftest.$ac_ext
10575 cat >>conftest.$ac_ext <<_ACEOF
10576 /* end confdefs.h. */
10577 #include <$ac_header>
10578 _ACEOF
10579 if { (ac_try="$ac_cpp conftest.$ac_ext"
10580 case "(($ac_try" in
10581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10582 *) ac_try_echo=$ac_try;;
10583 esac
10584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10586 ac_status=$?
10587 grep -v '^ *+' conftest.er1 >conftest.err
10588 rm -f conftest.er1
10589 cat conftest.err >&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); } >/dev/null; then
10592 if test -s conftest.err; then
10593 ac_cpp_err=$ac_c_preproc_warn_flag
10594 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10595 else
10596 ac_cpp_err=
10598 else
10599 ac_cpp_err=yes
10601 if test -z "$ac_cpp_err"; then
10602 ac_header_preproc=yes
10603 else
10604 echo "$as_me: failed program was:" >&5
10605 sed 's/^/| /' conftest.$ac_ext >&5
10607 ac_header_preproc=no
10610 rm -f conftest.err conftest.$ac_ext
10611 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10612 echo "${ECHO_T}$ac_header_preproc" >&6; }
10614 # So? What about this header?
10615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10616 yes:no: )
10617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10621 ac_header_preproc=yes
10623 no:yes:* )
10624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10636 ( cat <<\_ASBOX
10637 ## ------------------------------------ ##
10638 ## Report this to wine-devel@winehq.org ##
10639 ## ------------------------------------ ##
10640 _ASBOX
10641 ) | sed "s/^/$as_me: WARNING: /" >&2
10643 esac
10644 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10647 echo $ECHO_N "(cached) $ECHO_C" >&6
10648 else
10649 eval "$as_ac_Header=\$ac_header_preproc"
10651 ac_res=`eval echo '${'$as_ac_Header'}'`
10652 { echo "$as_me:$LINENO: result: $ac_res" >&5
10653 echo "${ECHO_T}$ac_res" >&6; }
10656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10657 cat >>confdefs.h <<_ACEOF
10658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10659 _ACEOF
10663 done
10665 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10666 then
10667 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10668 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10669 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10670 echo $ECHO_N "(cached) $ECHO_C" >&6
10671 else
10672 ac_check_lib_save_LIBS=$LIBS
10673 LIBS="-lhal $LIBS"
10674 cat >conftest.$ac_ext <<_ACEOF
10675 /* confdefs.h. */
10676 _ACEOF
10677 cat confdefs.h >>conftest.$ac_ext
10678 cat >>conftest.$ac_ext <<_ACEOF
10679 /* end confdefs.h. */
10681 /* Override any GCC internal prototype to avoid an error.
10682 Use char because int might match the return type of a GCC
10683 builtin and then its argument prototype would still apply. */
10684 #ifdef __cplusplus
10685 extern "C"
10686 #endif
10687 char libhal_ctx_new ();
10689 main ()
10691 return libhal_ctx_new ();
10693 return 0;
10695 _ACEOF
10696 rm -f conftest.$ac_objext conftest$ac_exeext
10697 if { (ac_try="$ac_link"
10698 case "(($ac_try" in
10699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10700 *) ac_try_echo=$ac_try;;
10701 esac
10702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10703 (eval "$ac_link") 2>conftest.er1
10704 ac_status=$?
10705 grep -v '^ *+' conftest.er1 >conftest.err
10706 rm -f conftest.er1
10707 cat conftest.err >&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } &&
10710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10711 { (case "(($ac_try" in
10712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10713 *) ac_try_echo=$ac_try;;
10714 esac
10715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10716 (eval "$ac_try") 2>&5
10717 ac_status=$?
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; } &&
10720 { ac_try='test -s conftest$ac_exeext'
10721 { (case "(($ac_try" in
10722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10723 *) ac_try_echo=$ac_try;;
10724 esac
10725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10726 (eval "$ac_try") 2>&5
10727 ac_status=$?
10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729 (exit $ac_status); }; }; then
10730 ac_cv_lib_hal_libhal_ctx_new=yes
10731 else
10732 echo "$as_me: failed program was:" >&5
10733 sed 's/^/| /' conftest.$ac_ext >&5
10735 ac_cv_lib_hal_libhal_ctx_new=no
10738 rm -f core conftest.err conftest.$ac_objext \
10739 conftest$ac_exeext conftest.$ac_ext
10740 LIBS=$ac_check_lib_save_LIBS
10742 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10743 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10744 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10745 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10746 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10747 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10748 echo $ECHO_N "(cached) $ECHO_C" >&6
10749 else
10750 ac_check_lib_save_LIBS=$LIBS
10751 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10752 cat >conftest.$ac_ext <<_ACEOF
10753 /* confdefs.h. */
10754 _ACEOF
10755 cat confdefs.h >>conftest.$ac_ext
10756 cat >>conftest.$ac_ext <<_ACEOF
10757 /* end confdefs.h. */
10759 /* Override any GCC internal prototype to avoid an error.
10760 Use char because int might match the return type of a GCC
10761 builtin and then its argument prototype would still apply. */
10762 #ifdef __cplusplus
10763 extern "C"
10764 #endif
10765 char dbus_connection_close ();
10767 main ()
10769 return dbus_connection_close ();
10771 return 0;
10773 _ACEOF
10774 rm -f conftest.$ac_objext conftest$ac_exeext
10775 if { (ac_try="$ac_link"
10776 case "(($ac_try" in
10777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10778 *) ac_try_echo=$ac_try;;
10779 esac
10780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10781 (eval "$ac_link") 2>conftest.er1
10782 ac_status=$?
10783 grep -v '^ *+' conftest.er1 >conftest.err
10784 rm -f conftest.er1
10785 cat conftest.err >&5
10786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787 (exit $ac_status); } &&
10788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10789 { (case "(($ac_try" in
10790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10791 *) ac_try_echo=$ac_try;;
10792 esac
10793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10794 (eval "$ac_try") 2>&5
10795 ac_status=$?
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); }; } &&
10798 { ac_try='test -s conftest$ac_exeext'
10799 { (case "(($ac_try" in
10800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10801 *) ac_try_echo=$ac_try;;
10802 esac
10803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10804 (eval "$ac_try") 2>&5
10805 ac_status=$?
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); }; }; then
10808 ac_cv_lib_dbus_1_dbus_connection_close=yes
10809 else
10810 echo "$as_me: failed program was:" >&5
10811 sed 's/^/| /' conftest.$ac_ext >&5
10813 ac_cv_lib_dbus_1_dbus_connection_close=no
10816 rm -f core conftest.err conftest.$ac_objext \
10817 conftest$ac_exeext conftest.$ac_ext
10818 LIBS=$ac_check_lib_save_LIBS
10820 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10821 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10822 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10824 cat >>confdefs.h <<\_ACEOF
10825 #define HAVE_LIBHAL 1
10826 _ACEOF
10828 HALINCL="$ac_hal_cflags"
10834 CPPFLAGS="$ac_save_CPPFLAGS"
10837 CURSESLIBS=""
10838 if test "x$with_curses" != "xno"
10839 then
10840 if test "$ac_cv_header_ncurses_h" = "yes"
10841 then
10842 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10843 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10844 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10845 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 else
10847 ac_check_lib_save_LIBS=$LIBS
10848 LIBS="-lncurses $LIBS"
10849 cat >conftest.$ac_ext <<_ACEOF
10850 /* confdefs.h. */
10851 _ACEOF
10852 cat confdefs.h >>conftest.$ac_ext
10853 cat >>conftest.$ac_ext <<_ACEOF
10854 /* end confdefs.h. */
10856 /* Override any GCC internal prototype to avoid an error.
10857 Use char because int might match the return type of a GCC
10858 builtin and then its argument prototype would still apply. */
10859 #ifdef __cplusplus
10860 extern "C"
10861 #endif
10862 char waddch ();
10864 main ()
10866 return waddch ();
10868 return 0;
10870 _ACEOF
10871 rm -f conftest.$ac_objext conftest$ac_exeext
10872 if { (ac_try="$ac_link"
10873 case "(($ac_try" in
10874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10875 *) ac_try_echo=$ac_try;;
10876 esac
10877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10878 (eval "$ac_link") 2>conftest.er1
10879 ac_status=$?
10880 grep -v '^ *+' conftest.er1 >conftest.err
10881 rm -f conftest.er1
10882 cat conftest.err >&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } &&
10885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10886 { (case "(($ac_try" in
10887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10888 *) ac_try_echo=$ac_try;;
10889 esac
10890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10891 (eval "$ac_try") 2>&5
10892 ac_status=$?
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); }; } &&
10895 { ac_try='test -s conftest$ac_exeext'
10896 { (case "(($ac_try" in
10897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10898 *) ac_try_echo=$ac_try;;
10899 esac
10900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10901 (eval "$ac_try") 2>&5
10902 ac_status=$?
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); }; }; then
10905 ac_cv_lib_ncurses_waddch=yes
10906 else
10907 echo "$as_me: failed program was:" >&5
10908 sed 's/^/| /' conftest.$ac_ext >&5
10910 ac_cv_lib_ncurses_waddch=no
10913 rm -f core conftest.err conftest.$ac_objext \
10914 conftest$ac_exeext conftest.$ac_ext
10915 LIBS=$ac_check_lib_save_LIBS
10917 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10918 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10919 if test $ac_cv_lib_ncurses_waddch = yes; then
10921 cat >>confdefs.h <<\_ACEOF
10922 #define HAVE_LIBNCURSES 1
10923 _ACEOF
10925 CURSESLIBS="-lncurses"
10928 elif test "$ac_cv_header_curses_h" = "yes"
10929 then
10930 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
10931 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
10932 if test "${ac_cv_lib_curses_waddch+set}" = set; then
10933 echo $ECHO_N "(cached) $ECHO_C" >&6
10934 else
10935 ac_check_lib_save_LIBS=$LIBS
10936 LIBS="-lcurses $LIBS"
10937 cat >conftest.$ac_ext <<_ACEOF
10938 /* confdefs.h. */
10939 _ACEOF
10940 cat confdefs.h >>conftest.$ac_ext
10941 cat >>conftest.$ac_ext <<_ACEOF
10942 /* end confdefs.h. */
10944 /* Override any GCC internal prototype to avoid an error.
10945 Use char because int might match the return type of a GCC
10946 builtin and then its argument prototype would still apply. */
10947 #ifdef __cplusplus
10948 extern "C"
10949 #endif
10950 char waddch ();
10952 main ()
10954 return waddch ();
10956 return 0;
10958 _ACEOF
10959 rm -f conftest.$ac_objext conftest$ac_exeext
10960 if { (ac_try="$ac_link"
10961 case "(($ac_try" in
10962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10963 *) ac_try_echo=$ac_try;;
10964 esac
10965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10966 (eval "$ac_link") 2>conftest.er1
10967 ac_status=$?
10968 grep -v '^ *+' conftest.er1 >conftest.err
10969 rm -f conftest.er1
10970 cat conftest.err >&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); } &&
10973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10974 { (case "(($ac_try" in
10975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10976 *) ac_try_echo=$ac_try;;
10977 esac
10978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10979 (eval "$ac_try") 2>&5
10980 ac_status=$?
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; } &&
10983 { ac_try='test -s conftest$ac_exeext'
10984 { (case "(($ac_try" in
10985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10986 *) ac_try_echo=$ac_try;;
10987 esac
10988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10989 (eval "$ac_try") 2>&5
10990 ac_status=$?
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; }; then
10993 ac_cv_lib_curses_waddch=yes
10994 else
10995 echo "$as_me: failed program was:" >&5
10996 sed 's/^/| /' conftest.$ac_ext >&5
10998 ac_cv_lib_curses_waddch=no
11001 rm -f core conftest.err conftest.$ac_objext \
11002 conftest$ac_exeext conftest.$ac_ext
11003 LIBS=$ac_check_lib_save_LIBS
11005 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11006 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11007 if test $ac_cv_lib_curses_waddch = yes; then
11009 cat >>confdefs.h <<\_ACEOF
11010 #define HAVE_LIBCURSES 1
11011 _ACEOF
11013 CURSESLIBS="-lcurses"
11017 ac_save_LIBS="$LIBS"
11018 LIBS="$LIBS $CURSESLIBS"
11020 for ac_func in mousemask
11022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11023 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11025 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11026 echo $ECHO_N "(cached) $ECHO_C" >&6
11027 else
11028 cat >conftest.$ac_ext <<_ACEOF
11029 /* confdefs.h. */
11030 _ACEOF
11031 cat confdefs.h >>conftest.$ac_ext
11032 cat >>conftest.$ac_ext <<_ACEOF
11033 /* end confdefs.h. */
11034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11036 #define $ac_func innocuous_$ac_func
11038 /* System header to define __stub macros and hopefully few prototypes,
11039 which can conflict with char $ac_func (); below.
11040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11041 <limits.h> exists even on freestanding compilers. */
11043 #ifdef __STDC__
11044 # include <limits.h>
11045 #else
11046 # include <assert.h>
11047 #endif
11049 #undef $ac_func
11051 /* Override any GCC internal prototype to avoid an error.
11052 Use char because int might match the return type of a GCC
11053 builtin and then its argument prototype would still apply. */
11054 #ifdef __cplusplus
11055 extern "C"
11056 #endif
11057 char $ac_func ();
11058 /* The GNU C library defines this for functions which it implements
11059 to always fail with ENOSYS. Some functions are actually named
11060 something starting with __ and the normal name is an alias. */
11061 #if defined __stub_$ac_func || defined __stub___$ac_func
11062 choke me
11063 #endif
11066 main ()
11068 return $ac_func ();
11070 return 0;
11072 _ACEOF
11073 rm -f conftest.$ac_objext conftest$ac_exeext
11074 if { (ac_try="$ac_link"
11075 case "(($ac_try" in
11076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11077 *) ac_try_echo=$ac_try;;
11078 esac
11079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11080 (eval "$ac_link") 2>conftest.er1
11081 ac_status=$?
11082 grep -v '^ *+' conftest.er1 >conftest.err
11083 rm -f conftest.er1
11084 cat conftest.err >&5
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); } &&
11087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11088 { (case "(($ac_try" in
11089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11090 *) ac_try_echo=$ac_try;;
11091 esac
11092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11093 (eval "$ac_try") 2>&5
11094 ac_status=$?
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); }; } &&
11097 { ac_try='test -s conftest$ac_exeext'
11098 { (case "(($ac_try" in
11099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11100 *) ac_try_echo=$ac_try;;
11101 esac
11102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11103 (eval "$ac_try") 2>&5
11104 ac_status=$?
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); }; }; then
11107 eval "$as_ac_var=yes"
11108 else
11109 echo "$as_me: failed program was:" >&5
11110 sed 's/^/| /' conftest.$ac_ext >&5
11112 eval "$as_ac_var=no"
11115 rm -f core conftest.err conftest.$ac_objext \
11116 conftest$ac_exeext conftest.$ac_ext
11118 ac_res=`eval echo '${'$as_ac_var'}'`
11119 { echo "$as_me:$LINENO: result: $ac_res" >&5
11120 echo "${ECHO_T}$ac_res" >&6; }
11121 if test `eval echo '${'$as_ac_var'}'` = yes; then
11122 cat >>confdefs.h <<_ACEOF
11123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11124 _ACEOF
11127 done
11129 LIBS="$ac_save_LIBS"
11133 # Extract the first word of "sane-config", so it can be a program name with args.
11134 set dummy sane-config; ac_word=$2
11135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11137 if test "${ac_cv_prog_sane_devel+set}" = set; then
11138 echo $ECHO_N "(cached) $ECHO_C" >&6
11139 else
11140 if test -n "$sane_devel"; then
11141 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11142 else
11143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11144 for as_dir in $PATH
11146 IFS=$as_save_IFS
11147 test -z "$as_dir" && as_dir=.
11148 for ac_exec_ext in '' $ac_executable_extensions; do
11149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11150 ac_cv_prog_sane_devel="sane-config"
11151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11152 break 2
11154 done
11155 done
11156 IFS=$as_save_IFS
11158 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11161 sane_devel=$ac_cv_prog_sane_devel
11162 if test -n "$sane_devel"; then
11163 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11164 echo "${ECHO_T}$sane_devel" >&6; }
11165 else
11166 { echo "$as_me:$LINENO: result: no" >&5
11167 echo "${ECHO_T}no" >&6; }
11171 SANELIBS=""
11173 SANEINCL=""
11175 if test "$sane_devel" != "no"
11176 then
11177 SANELIBS="`$sane_devel --libs`"
11178 SANEINCL="`$sane_devel --cflags`"
11179 ac_save_CPPFLAGS="$CPPFLAGS"
11180 ac_save_LIBS="$LIBS"
11181 CPPFLAGS="$CPPFLAGS $SANEINCL"
11182 LIBS="$LIBS $SANELIBS"
11183 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11184 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11185 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11186 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11187 echo $ECHO_N "(cached) $ECHO_C" >&6
11189 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11190 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11191 else
11192 # Is the header compilable?
11193 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11194 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11195 cat >conftest.$ac_ext <<_ACEOF
11196 /* confdefs.h. */
11197 _ACEOF
11198 cat confdefs.h >>conftest.$ac_ext
11199 cat >>conftest.$ac_ext <<_ACEOF
11200 /* end confdefs.h. */
11201 $ac_includes_default
11202 #include <sane/sane.h>
11203 _ACEOF
11204 rm -f conftest.$ac_objext
11205 if { (ac_try="$ac_compile"
11206 case "(($ac_try" in
11207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11208 *) ac_try_echo=$ac_try;;
11209 esac
11210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11211 (eval "$ac_compile") 2>conftest.er1
11212 ac_status=$?
11213 grep -v '^ *+' conftest.er1 >conftest.err
11214 rm -f conftest.er1
11215 cat conftest.err >&5
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); } &&
11218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11219 { (case "(($ac_try" in
11220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11221 *) ac_try_echo=$ac_try;;
11222 esac
11223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11224 (eval "$ac_try") 2>&5
11225 ac_status=$?
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); }; } &&
11228 { ac_try='test -s conftest.$ac_objext'
11229 { (case "(($ac_try" in
11230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11231 *) ac_try_echo=$ac_try;;
11232 esac
11233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11234 (eval "$ac_try") 2>&5
11235 ac_status=$?
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); }; }; then
11238 ac_header_compiler=yes
11239 else
11240 echo "$as_me: failed program was:" >&5
11241 sed 's/^/| /' conftest.$ac_ext >&5
11243 ac_header_compiler=no
11246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11247 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11248 echo "${ECHO_T}$ac_header_compiler" >&6; }
11250 # Is the header present?
11251 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11252 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11253 cat >conftest.$ac_ext <<_ACEOF
11254 /* confdefs.h. */
11255 _ACEOF
11256 cat confdefs.h >>conftest.$ac_ext
11257 cat >>conftest.$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11259 #include <sane/sane.h>
11260 _ACEOF
11261 if { (ac_try="$ac_cpp conftest.$ac_ext"
11262 case "(($ac_try" in
11263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11264 *) ac_try_echo=$ac_try;;
11265 esac
11266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11267 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11268 ac_status=$?
11269 grep -v '^ *+' conftest.er1 >conftest.err
11270 rm -f conftest.er1
11271 cat conftest.err >&5
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); } >/dev/null; then
11274 if test -s conftest.err; then
11275 ac_cpp_err=$ac_c_preproc_warn_flag
11276 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11277 else
11278 ac_cpp_err=
11280 else
11281 ac_cpp_err=yes
11283 if test -z "$ac_cpp_err"; then
11284 ac_header_preproc=yes
11285 else
11286 echo "$as_me: failed program was:" >&5
11287 sed 's/^/| /' conftest.$ac_ext >&5
11289 ac_header_preproc=no
11292 rm -f conftest.err conftest.$ac_ext
11293 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11294 echo "${ECHO_T}$ac_header_preproc" >&6; }
11296 # So? What about this header?
11297 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11298 yes:no: )
11299 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11300 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11301 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11302 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11303 ac_header_preproc=yes
11305 no:yes:* )
11306 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11307 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11308 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11309 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11310 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11311 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11312 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11313 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11314 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11315 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11316 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11317 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11318 ( cat <<\_ASBOX
11319 ## ------------------------------------ ##
11320 ## Report this to wine-devel@winehq.org ##
11321 ## ------------------------------------ ##
11322 _ASBOX
11323 ) | sed "s/^/$as_me: WARNING: /" >&2
11325 esac
11326 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11327 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11328 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11329 echo $ECHO_N "(cached) $ECHO_C" >&6
11330 else
11331 ac_cv_header_sane_sane_h=$ac_header_preproc
11333 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11334 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11337 if test $ac_cv_header_sane_sane_h = yes; then
11338 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11339 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11340 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11341 echo $ECHO_N "(cached) $ECHO_C" >&6
11342 else
11343 ac_check_lib_save_LIBS=$LIBS
11344 LIBS="-lsane $LIBS"
11345 cat >conftest.$ac_ext <<_ACEOF
11346 /* confdefs.h. */
11347 _ACEOF
11348 cat confdefs.h >>conftest.$ac_ext
11349 cat >>conftest.$ac_ext <<_ACEOF
11350 /* end confdefs.h. */
11352 /* Override any GCC internal prototype to avoid an error.
11353 Use char because int might match the return type of a GCC
11354 builtin and then its argument prototype would still apply. */
11355 #ifdef __cplusplus
11356 extern "C"
11357 #endif
11358 char sane_open ();
11360 main ()
11362 return sane_open ();
11364 return 0;
11366 _ACEOF
11367 rm -f conftest.$ac_objext conftest$ac_exeext
11368 if { (ac_try="$ac_link"
11369 case "(($ac_try" in
11370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11371 *) ac_try_echo=$ac_try;;
11372 esac
11373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11374 (eval "$ac_link") 2>conftest.er1
11375 ac_status=$?
11376 grep -v '^ *+' conftest.er1 >conftest.err
11377 rm -f conftest.er1
11378 cat conftest.err >&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); } &&
11381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11382 { (case "(($ac_try" in
11383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11384 *) ac_try_echo=$ac_try;;
11385 esac
11386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11387 (eval "$ac_try") 2>&5
11388 ac_status=$?
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); }; } &&
11391 { ac_try='test -s conftest$ac_exeext'
11392 { (case "(($ac_try" in
11393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11394 *) ac_try_echo=$ac_try;;
11395 esac
11396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11397 (eval "$ac_try") 2>&5
11398 ac_status=$?
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); }; }; then
11401 ac_cv_lib_sane_sane_open=yes
11402 else
11403 echo "$as_me: failed program was:" >&5
11404 sed 's/^/| /' conftest.$ac_ext >&5
11406 ac_cv_lib_sane_sane_open=no
11409 rm -f core conftest.err conftest.$ac_objext \
11410 conftest$ac_exeext conftest.$ac_ext
11411 LIBS=$ac_check_lib_save_LIBS
11413 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11414 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11415 if test $ac_cv_lib_sane_sane_open = yes; then
11417 cat >>confdefs.h <<\_ACEOF
11418 #define HAVE_SANE 1
11419 _ACEOF
11421 else
11422 SANELIBS=""
11423 SANEINCL=""
11426 else
11427 SANELIBS=""
11428 SANEINCL=""
11432 LIBS="$ac_save_LIBS"
11433 CPPFLAGS="$ac_save_CPPFLAGS"
11436 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11437 set dummy gphoto2-config; ac_word=$2
11438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11440 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11441 echo $ECHO_N "(cached) $ECHO_C" >&6
11442 else
11443 if test -n "$gphoto2_devel"; then
11444 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11445 else
11446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11447 for as_dir in $PATH
11449 IFS=$as_save_IFS
11450 test -z "$as_dir" && as_dir=.
11451 for ac_exec_ext in '' $ac_executable_extensions; do
11452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11453 ac_cv_prog_gphoto2_devel="gphoto2-config"
11454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11455 break 2
11457 done
11458 done
11459 IFS=$as_save_IFS
11461 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11464 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11465 if test -n "$gphoto2_devel"; then
11466 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11467 echo "${ECHO_T}$gphoto2_devel" >&6; }
11468 else
11469 { echo "$as_me:$LINENO: result: no" >&5
11470 echo "${ECHO_T}no" >&6; }
11474 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11475 set dummy gphoto2-port-config; ac_word=$2
11476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11478 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 else
11481 if test -n "$gphoto2port_devel"; then
11482 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11483 else
11484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11485 for as_dir in $PATH
11487 IFS=$as_save_IFS
11488 test -z "$as_dir" && as_dir=.
11489 for ac_exec_ext in '' $ac_executable_extensions; do
11490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11491 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11493 break 2
11495 done
11496 done
11497 IFS=$as_save_IFS
11499 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11502 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11503 if test -n "$gphoto2port_devel"; then
11504 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11505 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11506 else
11507 { echo "$as_me:$LINENO: result: no" >&5
11508 echo "${ECHO_T}no" >&6; }
11512 GPHOTO2LIBS=""
11514 GPHOTO2INCL=""
11516 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11517 then
11518 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11519 GPHOTO2LIBS=""
11520 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11522 case "$i" in
11523 -L/usr/lib|-L/usr/lib64) ;;
11524 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11525 esac
11526 done
11527 ac_save_CPPFLAGS="$CPPFLAGS"
11528 ac_save_LIBS="$LIBS"
11529 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11530 LIBS="$LIBS $GPHOTO2LIBS"
11531 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11532 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11533 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11534 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11535 echo $ECHO_N "(cached) $ECHO_C" >&6
11537 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11538 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11539 else
11540 # Is the header compilable?
11541 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11542 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11543 cat >conftest.$ac_ext <<_ACEOF
11544 /* confdefs.h. */
11545 _ACEOF
11546 cat confdefs.h >>conftest.$ac_ext
11547 cat >>conftest.$ac_ext <<_ACEOF
11548 /* end confdefs.h. */
11549 $ac_includes_default
11550 #include <gphoto2-camera.h>
11551 _ACEOF
11552 rm -f conftest.$ac_objext
11553 if { (ac_try="$ac_compile"
11554 case "(($ac_try" in
11555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11556 *) ac_try_echo=$ac_try;;
11557 esac
11558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11559 (eval "$ac_compile") 2>conftest.er1
11560 ac_status=$?
11561 grep -v '^ *+' conftest.er1 >conftest.err
11562 rm -f conftest.er1
11563 cat conftest.err >&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); } &&
11566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11567 { (case "(($ac_try" in
11568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11569 *) ac_try_echo=$ac_try;;
11570 esac
11571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11572 (eval "$ac_try") 2>&5
11573 ac_status=$?
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; } &&
11576 { ac_try='test -s conftest.$ac_objext'
11577 { (case "(($ac_try" in
11578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11579 *) ac_try_echo=$ac_try;;
11580 esac
11581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11582 (eval "$ac_try") 2>&5
11583 ac_status=$?
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; }; then
11586 ac_header_compiler=yes
11587 else
11588 echo "$as_me: failed program was:" >&5
11589 sed 's/^/| /' conftest.$ac_ext >&5
11591 ac_header_compiler=no
11594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11595 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11596 echo "${ECHO_T}$ac_header_compiler" >&6; }
11598 # Is the header present?
11599 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11600 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11601 cat >conftest.$ac_ext <<_ACEOF
11602 /* confdefs.h. */
11603 _ACEOF
11604 cat confdefs.h >>conftest.$ac_ext
11605 cat >>conftest.$ac_ext <<_ACEOF
11606 /* end confdefs.h. */
11607 #include <gphoto2-camera.h>
11608 _ACEOF
11609 if { (ac_try="$ac_cpp conftest.$ac_ext"
11610 case "(($ac_try" in
11611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11612 *) ac_try_echo=$ac_try;;
11613 esac
11614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11615 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11616 ac_status=$?
11617 grep -v '^ *+' conftest.er1 >conftest.err
11618 rm -f conftest.er1
11619 cat conftest.err >&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); } >/dev/null; then
11622 if test -s conftest.err; then
11623 ac_cpp_err=$ac_c_preproc_warn_flag
11624 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11625 else
11626 ac_cpp_err=
11628 else
11629 ac_cpp_err=yes
11631 if test -z "$ac_cpp_err"; then
11632 ac_header_preproc=yes
11633 else
11634 echo "$as_me: failed program was:" >&5
11635 sed 's/^/| /' conftest.$ac_ext >&5
11637 ac_header_preproc=no
11640 rm -f conftest.err conftest.$ac_ext
11641 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11642 echo "${ECHO_T}$ac_header_preproc" >&6; }
11644 # So? What about this header?
11645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11646 yes:no: )
11647 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11648 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11649 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11650 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11651 ac_header_preproc=yes
11653 no:yes:* )
11654 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11655 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11656 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11657 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11658 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11659 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11660 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11661 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11662 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11663 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11664 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11665 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11666 ( cat <<\_ASBOX
11667 ## ------------------------------------ ##
11668 ## Report this to wine-devel@winehq.org ##
11669 ## ------------------------------------ ##
11670 _ASBOX
11671 ) | sed "s/^/$as_me: WARNING: /" >&2
11673 esac
11674 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11675 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11676 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 else
11679 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11681 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11682 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11685 if test $ac_cv_header_gphoto2_camera_h = yes; then
11686 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11687 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11688 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11689 echo $ECHO_N "(cached) $ECHO_C" >&6
11690 else
11691 ac_check_lib_save_LIBS=$LIBS
11692 LIBS="-lgphoto2 $LIBS"
11693 cat >conftest.$ac_ext <<_ACEOF
11694 /* confdefs.h. */
11695 _ACEOF
11696 cat confdefs.h >>conftest.$ac_ext
11697 cat >>conftest.$ac_ext <<_ACEOF
11698 /* end confdefs.h. */
11700 /* Override any GCC internal prototype to avoid an error.
11701 Use char because int might match the return type of a GCC
11702 builtin and then its argument prototype would still apply. */
11703 #ifdef __cplusplus
11704 extern "C"
11705 #endif
11706 char gp_camera_new ();
11708 main ()
11710 return gp_camera_new ();
11712 return 0;
11714 _ACEOF
11715 rm -f conftest.$ac_objext conftest$ac_exeext
11716 if { (ac_try="$ac_link"
11717 case "(($ac_try" in
11718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11719 *) ac_try_echo=$ac_try;;
11720 esac
11721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11722 (eval "$ac_link") 2>conftest.er1
11723 ac_status=$?
11724 grep -v '^ *+' conftest.er1 >conftest.err
11725 rm -f conftest.er1
11726 cat conftest.err >&5
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); } &&
11729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11730 { (case "(($ac_try" in
11731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11732 *) ac_try_echo=$ac_try;;
11733 esac
11734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11735 (eval "$ac_try") 2>&5
11736 ac_status=$?
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); }; } &&
11739 { ac_try='test -s conftest$ac_exeext'
11740 { (case "(($ac_try" in
11741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11742 *) ac_try_echo=$ac_try;;
11743 esac
11744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11745 (eval "$ac_try") 2>&5
11746 ac_status=$?
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); }; }; then
11749 ac_cv_lib_gphoto2_gp_camera_new=yes
11750 else
11751 echo "$as_me: failed program was:" >&5
11752 sed 's/^/| /' conftest.$ac_ext >&5
11754 ac_cv_lib_gphoto2_gp_camera_new=no
11757 rm -f core conftest.err conftest.$ac_objext \
11758 conftest$ac_exeext conftest.$ac_ext
11759 LIBS=$ac_check_lib_save_LIBS
11761 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11762 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11763 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11765 cat >>confdefs.h <<\_ACEOF
11766 #define HAVE_GPHOTO2 1
11767 _ACEOF
11769 else
11770 GPHOTO2LIBS=""
11771 GPHOTO2INCL=""
11774 else
11775 GPHOTO2LIBS=""
11776 GPHOTO2INCL=""
11780 LIBS="$ac_save_LIBS"
11781 CPPFLAGS="$ac_save_CPPFLAGS"
11784 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11785 then
11786 saved_libs="$LIBS"
11787 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11789 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11790 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11791 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11792 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11793 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11794 cat >conftest.$ac_ext <<_ACEOF
11795 /* confdefs.h. */
11796 _ACEOF
11797 cat confdefs.h >>conftest.$ac_ext
11798 cat >>conftest.$ac_ext <<_ACEOF
11799 /* end confdefs.h. */
11800 #include <unicode/ubidi.h>
11802 main ()
11804 ubidi_open()
11806 return 0;
11808 _ACEOF
11809 rm -f conftest.$ac_objext conftest$ac_exeext
11810 if { (ac_try="$ac_link"
11811 case "(($ac_try" in
11812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11813 *) ac_try_echo=$ac_try;;
11814 esac
11815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11816 (eval "$ac_link") 2>conftest.er1
11817 ac_status=$?
11818 grep -v '^ *+' conftest.er1 >conftest.err
11819 rm -f conftest.er1
11820 cat conftest.err >&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); } &&
11823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11824 { (case "(($ac_try" in
11825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11826 *) ac_try_echo=$ac_try;;
11827 esac
11828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11829 (eval "$ac_try") 2>&5
11830 ac_status=$?
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }; } &&
11833 { ac_try='test -s conftest$ac_exeext'
11834 { (case "(($ac_try" in
11835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11836 *) ac_try_echo=$ac_try;;
11837 esac
11838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11839 (eval "$ac_try") 2>&5
11840 ac_status=$?
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); }; }; then
11844 cat >>confdefs.h <<\_ACEOF
11845 #define HAVE_ICU 1
11846 _ACEOF
11848 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11850 { echo "$as_me:$LINENO: result: yes" >&5
11851 echo "${ECHO_T}yes" >&6; }
11852 else
11853 echo "$as_me: failed program was:" >&5
11854 sed 's/^/| /' conftest.$ac_ext >&5
11856 { echo "$as_me:$LINENO: result: no" >&5
11857 echo "${ECHO_T}no" >&6; }
11860 rm -f core conftest.err conftest.$ac_objext \
11861 conftest$ac_exeext conftest.$ac_ext
11862 done
11863 LIBS="$saved_libs"
11866 RESOLVLIBS=""
11868 if test "$ac_cv_header_resolv_h" = "yes"
11869 then
11870 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11871 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11872 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11873 echo $ECHO_N "(cached) $ECHO_C" >&6
11874 else
11875 ac_check_lib_save_LIBS=$LIBS
11876 LIBS="-lresolv $LIBS"
11877 cat >conftest.$ac_ext <<_ACEOF
11878 /* confdefs.h. */
11879 _ACEOF
11880 cat confdefs.h >>conftest.$ac_ext
11881 cat >>conftest.$ac_ext <<_ACEOF
11882 /* end confdefs.h. */
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11887 #ifdef __cplusplus
11888 extern "C"
11889 #endif
11890 char res_query ();
11892 main ()
11894 return res_query ();
11896 return 0;
11898 _ACEOF
11899 rm -f conftest.$ac_objext conftest$ac_exeext
11900 if { (ac_try="$ac_link"
11901 case "(($ac_try" in
11902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11903 *) ac_try_echo=$ac_try;;
11904 esac
11905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11906 (eval "$ac_link") 2>conftest.er1
11907 ac_status=$?
11908 grep -v '^ *+' conftest.er1 >conftest.err
11909 rm -f conftest.er1
11910 cat conftest.err >&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); } &&
11913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11914 { (case "(($ac_try" in
11915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11916 *) ac_try_echo=$ac_try;;
11917 esac
11918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11919 (eval "$ac_try") 2>&5
11920 ac_status=$?
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); }; } &&
11923 { ac_try='test -s conftest$ac_exeext'
11924 { (case "(($ac_try" in
11925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11926 *) ac_try_echo=$ac_try;;
11927 esac
11928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11929 (eval "$ac_try") 2>&5
11930 ac_status=$?
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); }; }; then
11933 ac_cv_lib_resolv_res_query=yes
11934 else
11935 echo "$as_me: failed program was:" >&5
11936 sed 's/^/| /' conftest.$ac_ext >&5
11938 ac_cv_lib_resolv_res_query=no
11941 rm -f core conftest.err conftest.$ac_objext \
11942 conftest$ac_exeext conftest.$ac_ext
11943 LIBS=$ac_check_lib_save_LIBS
11945 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
11946 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
11947 if test $ac_cv_lib_resolv_res_query = yes; then
11949 cat >>confdefs.h <<\_ACEOF
11950 #define HAVE_RESOLV 1
11951 _ACEOF
11953 RESOLVLIBS="-lresolv"
11958 LCMSLIBS=""
11960 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
11961 then
11962 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
11963 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
11964 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
11965 echo $ECHO_N "(cached) $ECHO_C" >&6
11966 else
11967 ac_check_lib_save_LIBS=$LIBS
11968 LIBS="-llcms $LIBS"
11969 cat >conftest.$ac_ext <<_ACEOF
11970 /* confdefs.h. */
11971 _ACEOF
11972 cat confdefs.h >>conftest.$ac_ext
11973 cat >>conftest.$ac_ext <<_ACEOF
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11979 #ifdef __cplusplus
11980 extern "C"
11981 #endif
11982 char cmsOpenProfileFromFile ();
11984 main ()
11986 return cmsOpenProfileFromFile ();
11988 return 0;
11990 _ACEOF
11991 rm -f conftest.$ac_objext conftest$ac_exeext
11992 if { (ac_try="$ac_link"
11993 case "(($ac_try" in
11994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11995 *) ac_try_echo=$ac_try;;
11996 esac
11997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11998 (eval "$ac_link") 2>conftest.er1
11999 ac_status=$?
12000 grep -v '^ *+' conftest.er1 >conftest.err
12001 rm -f conftest.er1
12002 cat conftest.err >&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); } &&
12005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12006 { (case "(($ac_try" in
12007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12008 *) ac_try_echo=$ac_try;;
12009 esac
12010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12011 (eval "$ac_try") 2>&5
12012 ac_status=$?
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); }; } &&
12015 { ac_try='test -s conftest$ac_exeext'
12016 { (case "(($ac_try" in
12017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12018 *) ac_try_echo=$ac_try;;
12019 esac
12020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12021 (eval "$ac_try") 2>&5
12022 ac_status=$?
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); }; }; then
12025 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12026 else
12027 echo "$as_me: failed program was:" >&5
12028 sed 's/^/| /' conftest.$ac_ext >&5
12030 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12033 rm -f core conftest.err conftest.$ac_objext \
12034 conftest$ac_exeext conftest.$ac_ext
12035 LIBS=$ac_check_lib_save_LIBS
12037 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12038 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12039 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12041 cat >>confdefs.h <<\_ACEOF
12042 #define HAVE_LCMS 1
12043 _ACEOF
12045 LCMSLIBS="-llcms"
12050 LDAPLIBS=""
12052 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12053 then
12054 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12055 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12056 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12057 echo $ECHO_N "(cached) $ECHO_C" >&6
12058 else
12059 ac_check_lib_save_LIBS=$LIBS
12060 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12061 cat >conftest.$ac_ext <<_ACEOF
12062 /* confdefs.h. */
12063 _ACEOF
12064 cat confdefs.h >>conftest.$ac_ext
12065 cat >>conftest.$ac_ext <<_ACEOF
12066 /* end confdefs.h. */
12068 /* Override any GCC internal prototype to avoid an error.
12069 Use char because int might match the return type of a GCC
12070 builtin and then its argument prototype would still apply. */
12071 #ifdef __cplusplus
12072 extern "C"
12073 #endif
12074 char ldap_initialize ();
12076 main ()
12078 return ldap_initialize ();
12080 return 0;
12082 _ACEOF
12083 rm -f conftest.$ac_objext conftest$ac_exeext
12084 if { (ac_try="$ac_link"
12085 case "(($ac_try" in
12086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12087 *) ac_try_echo=$ac_try;;
12088 esac
12089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12090 (eval "$ac_link") 2>conftest.er1
12091 ac_status=$?
12092 grep -v '^ *+' conftest.er1 >conftest.err
12093 rm -f conftest.er1
12094 cat conftest.err >&5
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); } &&
12097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12098 { (case "(($ac_try" in
12099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12100 *) ac_try_echo=$ac_try;;
12101 esac
12102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12103 (eval "$ac_try") 2>&5
12104 ac_status=$?
12105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106 (exit $ac_status); }; } &&
12107 { ac_try='test -s conftest$ac_exeext'
12108 { (case "(($ac_try" in
12109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12110 *) ac_try_echo=$ac_try;;
12111 esac
12112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12113 (eval "$ac_try") 2>&5
12114 ac_status=$?
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); }; }; then
12117 ac_cv_lib_ldap_r_ldap_initialize=yes
12118 else
12119 echo "$as_me: failed program was:" >&5
12120 sed 's/^/| /' conftest.$ac_ext >&5
12122 ac_cv_lib_ldap_r_ldap_initialize=no
12125 rm -f core conftest.err conftest.$ac_objext \
12126 conftest$ac_exeext conftest.$ac_ext
12127 LIBS=$ac_check_lib_save_LIBS
12129 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12130 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12131 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12132 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12133 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12134 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12135 echo $ECHO_N "(cached) $ECHO_C" >&6
12136 else
12137 ac_check_lib_save_LIBS=$LIBS
12138 LIBS="-llber $LIBPTHREAD $LIBS"
12139 cat >conftest.$ac_ext <<_ACEOF
12140 /* confdefs.h. */
12141 _ACEOF
12142 cat confdefs.h >>conftest.$ac_ext
12143 cat >>conftest.$ac_ext <<_ACEOF
12144 /* end confdefs.h. */
12146 /* Override any GCC internal prototype to avoid an error.
12147 Use char because int might match the return type of a GCC
12148 builtin and then its argument prototype would still apply. */
12149 #ifdef __cplusplus
12150 extern "C"
12151 #endif
12152 char ber_init ();
12154 main ()
12156 return ber_init ();
12158 return 0;
12160 _ACEOF
12161 rm -f conftest.$ac_objext conftest$ac_exeext
12162 if { (ac_try="$ac_link"
12163 case "(($ac_try" in
12164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12165 *) ac_try_echo=$ac_try;;
12166 esac
12167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12168 (eval "$ac_link") 2>conftest.er1
12169 ac_status=$?
12170 grep -v '^ *+' conftest.er1 >conftest.err
12171 rm -f conftest.er1
12172 cat conftest.err >&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); } &&
12175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12176 { (case "(($ac_try" in
12177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12178 *) ac_try_echo=$ac_try;;
12179 esac
12180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12181 (eval "$ac_try") 2>&5
12182 ac_status=$?
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); }; } &&
12185 { ac_try='test -s conftest$ac_exeext'
12186 { (case "(($ac_try" in
12187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12188 *) ac_try_echo=$ac_try;;
12189 esac
12190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12191 (eval "$ac_try") 2>&5
12192 ac_status=$?
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); }; }; then
12195 ac_cv_lib_lber_ber_init=yes
12196 else
12197 echo "$as_me: failed program was:" >&5
12198 sed 's/^/| /' conftest.$ac_ext >&5
12200 ac_cv_lib_lber_ber_init=no
12203 rm -f core conftest.err conftest.$ac_objext \
12204 conftest$ac_exeext conftest.$ac_ext
12205 LIBS=$ac_check_lib_save_LIBS
12207 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12208 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12209 if test $ac_cv_lib_lber_ber_init = yes; then
12211 cat >>confdefs.h <<\_ACEOF
12212 #define HAVE_LDAP 1
12213 _ACEOF
12215 LDAPLIBS="-lldap_r -llber"
12220 ac_wine_check_funcs_save_LIBS="$LIBS"
12221 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12226 for ac_func in \
12227 ldap_count_references \
12228 ldap_first_reference \
12229 ldap_next_reference \
12230 ldap_parse_reference
12232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12233 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12235 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 else
12238 cat >conftest.$ac_ext <<_ACEOF
12239 /* confdefs.h. */
12240 _ACEOF
12241 cat confdefs.h >>conftest.$ac_ext
12242 cat >>conftest.$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12246 #define $ac_func innocuous_$ac_func
12248 /* System header to define __stub macros and hopefully few prototypes,
12249 which can conflict with char $ac_func (); below.
12250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12251 <limits.h> exists even on freestanding compilers. */
12253 #ifdef __STDC__
12254 # include <limits.h>
12255 #else
12256 # include <assert.h>
12257 #endif
12259 #undef $ac_func
12261 /* Override any GCC internal prototype to avoid an error.
12262 Use char because int might match the return type of a GCC
12263 builtin and then its argument prototype would still apply. */
12264 #ifdef __cplusplus
12265 extern "C"
12266 #endif
12267 char $ac_func ();
12268 /* The GNU C library defines this for functions which it implements
12269 to always fail with ENOSYS. Some functions are actually named
12270 something starting with __ and the normal name is an alias. */
12271 #if defined __stub_$ac_func || defined __stub___$ac_func
12272 choke me
12273 #endif
12276 main ()
12278 return $ac_func ();
12280 return 0;
12282 _ACEOF
12283 rm -f conftest.$ac_objext conftest$ac_exeext
12284 if { (ac_try="$ac_link"
12285 case "(($ac_try" in
12286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12287 *) ac_try_echo=$ac_try;;
12288 esac
12289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12290 (eval "$ac_link") 2>conftest.er1
12291 ac_status=$?
12292 grep -v '^ *+' conftest.er1 >conftest.err
12293 rm -f conftest.er1
12294 cat conftest.err >&5
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); } &&
12297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12298 { (case "(($ac_try" in
12299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12300 *) ac_try_echo=$ac_try;;
12301 esac
12302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12303 (eval "$ac_try") 2>&5
12304 ac_status=$?
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }; } &&
12307 { ac_try='test -s conftest$ac_exeext'
12308 { (case "(($ac_try" in
12309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12310 *) ac_try_echo=$ac_try;;
12311 esac
12312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12313 (eval "$ac_try") 2>&5
12314 ac_status=$?
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }; }; then
12317 eval "$as_ac_var=yes"
12318 else
12319 echo "$as_me: failed program was:" >&5
12320 sed 's/^/| /' conftest.$ac_ext >&5
12322 eval "$as_ac_var=no"
12325 rm -f core conftest.err conftest.$ac_objext \
12326 conftest$ac_exeext conftest.$ac_ext
12328 ac_res=`eval echo '${'$as_ac_var'}'`
12329 { echo "$as_me:$LINENO: result: $ac_res" >&5
12330 echo "${ECHO_T}$ac_res" >&6; }
12331 if test `eval echo '${'$as_ac_var'}'` = yes; then
12332 cat >>confdefs.h <<_ACEOF
12333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12334 _ACEOF
12337 done
12339 LIBS="$ac_wine_check_funcs_save_LIBS"
12342 FREETYPELIBS=""
12344 FREETYPEINCL=""
12346 # Extract the first word of "freetype-config", so it can be a program name with args.
12347 set dummy freetype-config; ac_word=$2
12348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12350 if test "${ac_cv_prog_ft_devel+set}" = set; then
12351 echo $ECHO_N "(cached) $ECHO_C" >&6
12352 else
12353 if test -n "$ft_devel"; then
12354 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12355 else
12356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12357 for as_dir in $PATH
12359 IFS=$as_save_IFS
12360 test -z "$as_dir" && as_dir=.
12361 for ac_exec_ext in '' $ac_executable_extensions; do
12362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12363 ac_cv_prog_ft_devel="freetype-config"
12364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12365 break 2
12367 done
12368 done
12369 IFS=$as_save_IFS
12371 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12374 ft_devel=$ac_cv_prog_ft_devel
12375 if test -n "$ft_devel"; then
12376 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12377 echo "${ECHO_T}$ft_devel" >&6; }
12378 else
12379 { echo "$as_me:$LINENO: result: no" >&5
12380 echo "${ECHO_T}no" >&6; }
12384 if test "$ft_devel" = "no"
12385 then
12386 # Extract the first word of "freetype2-config", so it can be a program name with args.
12387 set dummy freetype2-config; ac_word=$2
12388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12390 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12391 echo $ECHO_N "(cached) $ECHO_C" >&6
12392 else
12393 if test -n "$ft_devel2"; then
12394 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12395 else
12396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12397 for as_dir in $PATH
12399 IFS=$as_save_IFS
12400 test -z "$as_dir" && as_dir=.
12401 for ac_exec_ext in '' $ac_executable_extensions; do
12402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12403 ac_cv_prog_ft_devel2="freetype2-config"
12404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12405 break 2
12407 done
12408 done
12409 IFS=$as_save_IFS
12411 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12414 ft_devel2=$ac_cv_prog_ft_devel2
12415 if test -n "$ft_devel2"; then
12416 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12417 echo "${ECHO_T}$ft_devel2" >&6; }
12418 else
12419 { echo "$as_me:$LINENO: result: no" >&5
12420 echo "${ECHO_T}no" >&6; }
12424 if test "$ft_devel2" = "freetype2-config"
12425 then
12426 ft_devel=$ft_devel2
12430 if test "$ft_devel" = "no"
12431 then
12432 wine_cv_msg_freetype=yes
12433 else
12434 FREETYPELIBS=`$ft_devel --libs`
12435 FREETYPEINCL=`$ft_devel --cflags`
12436 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12437 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12438 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12439 echo $ECHO_N "(cached) $ECHO_C" >&6
12440 else
12441 ac_check_lib_save_LIBS=$LIBS
12442 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12443 cat >conftest.$ac_ext <<_ACEOF
12444 /* confdefs.h. */
12445 _ACEOF
12446 cat confdefs.h >>conftest.$ac_ext
12447 cat >>conftest.$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12450 /* Override any GCC internal prototype to avoid an error.
12451 Use char because int might match the return type of a GCC
12452 builtin and then its argument prototype would still apply. */
12453 #ifdef __cplusplus
12454 extern "C"
12455 #endif
12456 char FT_Init_FreeType ();
12458 main ()
12460 return FT_Init_FreeType ();
12462 return 0;
12464 _ACEOF
12465 rm -f conftest.$ac_objext conftest$ac_exeext
12466 if { (ac_try="$ac_link"
12467 case "(($ac_try" in
12468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12469 *) ac_try_echo=$ac_try;;
12470 esac
12471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12472 (eval "$ac_link") 2>conftest.er1
12473 ac_status=$?
12474 grep -v '^ *+' conftest.er1 >conftest.err
12475 rm -f conftest.er1
12476 cat conftest.err >&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12480 { (case "(($ac_try" in
12481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12482 *) ac_try_echo=$ac_try;;
12483 esac
12484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12485 (eval "$ac_try") 2>&5
12486 ac_status=$?
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); }; } &&
12489 { ac_try='test -s conftest$ac_exeext'
12490 { (case "(($ac_try" in
12491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12492 *) ac_try_echo=$ac_try;;
12493 esac
12494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12495 (eval "$ac_try") 2>&5
12496 ac_status=$?
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); }; }; then
12499 ac_cv_lib_freetype_FT_Init_FreeType=yes
12500 else
12501 echo "$as_me: failed program was:" >&5
12502 sed 's/^/| /' conftest.$ac_ext >&5
12504 ac_cv_lib_freetype_FT_Init_FreeType=no
12507 rm -f core conftest.err conftest.$ac_objext \
12508 conftest$ac_exeext conftest.$ac_ext
12509 LIBS=$ac_check_lib_save_LIBS
12511 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12512 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12513 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12514 ft_lib=yes
12515 else
12516 ft_lib=no
12519 if test "$ft_lib" = "no"
12520 then
12521 wine_cv_msg_freetype=yes
12522 FREETYPELIBS=""
12523 FREETYPEINCL=""
12524 else
12525 ac_save_CPPFLAGS="$CPPFLAGS"
12526 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12538 for ac_header in ft2build.h \
12539 freetype/freetype.h \
12540 freetype/ftglyph.h \
12541 freetype/tttables.h \
12542 freetype/ftnames.h \
12543 freetype/ftsnames.h \
12544 freetype/ttnameid.h \
12545 freetype/ftoutln.h \
12546 freetype/ftwinfnt.h \
12547 freetype/ftmodapi.h \
12548 freetype/internal/sfnt.h
12550 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12551 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12554 echo $ECHO_N "(cached) $ECHO_C" >&6
12555 else
12556 cat >conftest.$ac_ext <<_ACEOF
12557 /* confdefs.h. */
12558 _ACEOF
12559 cat confdefs.h >>conftest.$ac_ext
12560 cat >>conftest.$ac_ext <<_ACEOF
12561 /* end confdefs.h. */
12562 #if HAVE_FT2BUILD_H
12563 #include <ft2build.h>
12564 #endif
12566 #include <$ac_header>
12567 _ACEOF
12568 rm -f conftest.$ac_objext
12569 if { (ac_try="$ac_compile"
12570 case "(($ac_try" in
12571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12572 *) ac_try_echo=$ac_try;;
12573 esac
12574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12575 (eval "$ac_compile") 2>conftest.er1
12576 ac_status=$?
12577 grep -v '^ *+' conftest.er1 >conftest.err
12578 rm -f conftest.er1
12579 cat conftest.err >&5
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); } &&
12582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12583 { (case "(($ac_try" in
12584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12585 *) ac_try_echo=$ac_try;;
12586 esac
12587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12588 (eval "$ac_try") 2>&5
12589 ac_status=$?
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); }; } &&
12592 { ac_try='test -s conftest.$ac_objext'
12593 { (case "(($ac_try" in
12594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12595 *) ac_try_echo=$ac_try;;
12596 esac
12597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12598 (eval "$ac_try") 2>&5
12599 ac_status=$?
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; }; then
12602 eval "$as_ac_Header=yes"
12603 else
12604 echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.$ac_ext >&5
12607 eval "$as_ac_Header=no"
12610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12612 ac_res=`eval echo '${'$as_ac_Header'}'`
12613 { echo "$as_me:$LINENO: result: $ac_res" >&5
12614 echo "${ECHO_T}$ac_res" >&6; }
12615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12616 cat >>confdefs.h <<_ACEOF
12617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12618 _ACEOF
12622 done
12624 cat >conftest.$ac_ext <<_ACEOF
12625 /* confdefs.h. */
12626 _ACEOF
12627 cat confdefs.h >>conftest.$ac_ext
12628 cat >>conftest.$ac_ext <<_ACEOF
12629 /* end confdefs.h. */
12630 #include <ft2build.h>
12631 #include <freetype/fttrigon.h>
12632 _ACEOF
12633 if { (ac_try="$ac_cpp conftest.$ac_ext"
12634 case "(($ac_try" in
12635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12636 *) ac_try_echo=$ac_try;;
12637 esac
12638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12640 ac_status=$?
12641 grep -v '^ *+' conftest.er1 >conftest.err
12642 rm -f conftest.er1
12643 cat conftest.err >&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); } >/dev/null; then
12646 if test -s conftest.err; then
12647 ac_cpp_err=$ac_c_preproc_warn_flag
12648 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12649 else
12650 ac_cpp_err=
12652 else
12653 ac_cpp_err=yes
12655 if test -z "$ac_cpp_err"; then
12657 cat >>confdefs.h <<\_ACEOF
12658 #define HAVE_FREETYPE_FTTRIGON_H 1
12659 _ACEOF
12661 wine_cv_fttrigon=yes
12662 else
12663 echo "$as_me: failed program was:" >&5
12664 sed 's/^/| /' conftest.$ac_ext >&5
12666 wine_cv_fttrigon=no
12669 rm -f conftest.err conftest.$ac_ext
12670 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12671 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12672 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12673 echo $ECHO_N "(cached) $ECHO_C" >&6
12674 else
12675 cat >conftest.$ac_ext <<_ACEOF
12676 /* confdefs.h. */
12677 _ACEOF
12678 cat confdefs.h >>conftest.$ac_ext
12679 cat >>conftest.$ac_ext <<_ACEOF
12680 /* end confdefs.h. */
12681 #include <freetype/ftmodapi.h>
12683 typedef FT_TrueTypeEngineType ac__type_new_;
12685 main ()
12687 if ((ac__type_new_ *) 0)
12688 return 0;
12689 if (sizeof (ac__type_new_))
12690 return 0;
12692 return 0;
12694 _ACEOF
12695 rm -f conftest.$ac_objext
12696 if { (ac_try="$ac_compile"
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_compile") 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); } &&
12709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12710 { (case "(($ac_try" in
12711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12712 *) ac_try_echo=$ac_try;;
12713 esac
12714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12715 (eval "$ac_try") 2>&5
12716 ac_status=$?
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); }; } &&
12719 { ac_try='test -s conftest.$ac_objext'
12720 { (case "(($ac_try" in
12721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12722 *) ac_try_echo=$ac_try;;
12723 esac
12724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12725 (eval "$ac_try") 2>&5
12726 ac_status=$?
12727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728 (exit $ac_status); }; }; then
12729 ac_cv_type_FT_TrueTypeEngineType=yes
12730 else
12731 echo "$as_me: failed program was:" >&5
12732 sed 's/^/| /' conftest.$ac_ext >&5
12734 ac_cv_type_FT_TrueTypeEngineType=no
12737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12739 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12740 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12741 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12743 cat >>confdefs.h <<_ACEOF
12744 #define HAVE_FT_TRUETYPEENGINETYPE 1
12745 _ACEOF
12750 ac_save_CFLAGS="$CFLAGS"
12751 CFLAGS="$CFLAGS $FREETYPELIBS"
12753 for ac_func in FT_Load_Sfnt_Table
12755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12756 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12758 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12759 echo $ECHO_N "(cached) $ECHO_C" >&6
12760 else
12761 cat >conftest.$ac_ext <<_ACEOF
12762 /* confdefs.h. */
12763 _ACEOF
12764 cat confdefs.h >>conftest.$ac_ext
12765 cat >>conftest.$ac_ext <<_ACEOF
12766 /* end confdefs.h. */
12767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12769 #define $ac_func innocuous_$ac_func
12771 /* System header to define __stub macros and hopefully few prototypes,
12772 which can conflict with char $ac_func (); below.
12773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12774 <limits.h> exists even on freestanding compilers. */
12776 #ifdef __STDC__
12777 # include <limits.h>
12778 #else
12779 # include <assert.h>
12780 #endif
12782 #undef $ac_func
12784 /* Override any GCC internal prototype to avoid an error.
12785 Use char because int might match the return type of a GCC
12786 builtin and then its argument prototype would still apply. */
12787 #ifdef __cplusplus
12788 extern "C"
12789 #endif
12790 char $ac_func ();
12791 /* The GNU C library defines this for functions which it implements
12792 to always fail with ENOSYS. Some functions are actually named
12793 something starting with __ and the normal name is an alias. */
12794 #if defined __stub_$ac_func || defined __stub___$ac_func
12795 choke me
12796 #endif
12799 main ()
12801 return $ac_func ();
12803 return 0;
12805 _ACEOF
12806 rm -f conftest.$ac_objext conftest$ac_exeext
12807 if { (ac_try="$ac_link"
12808 case "(($ac_try" in
12809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12810 *) ac_try_echo=$ac_try;;
12811 esac
12812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12813 (eval "$ac_link") 2>conftest.er1
12814 ac_status=$?
12815 grep -v '^ *+' conftest.er1 >conftest.err
12816 rm -f conftest.er1
12817 cat conftest.err >&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } &&
12820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12821 { (case "(($ac_try" in
12822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12823 *) ac_try_echo=$ac_try;;
12824 esac
12825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12826 (eval "$ac_try") 2>&5
12827 ac_status=$?
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try='test -s conftest$ac_exeext'
12831 { (case "(($ac_try" in
12832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12833 *) ac_try_echo=$ac_try;;
12834 esac
12835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12836 (eval "$ac_try") 2>&5
12837 ac_status=$?
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12840 eval "$as_ac_var=yes"
12841 else
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.$ac_ext >&5
12845 eval "$as_ac_var=no"
12848 rm -f core conftest.err conftest.$ac_objext \
12849 conftest$ac_exeext conftest.$ac_ext
12851 ac_res=`eval echo '${'$as_ac_var'}'`
12852 { echo "$as_me:$LINENO: result: $ac_res" >&5
12853 echo "${ECHO_T}$ac_res" >&6; }
12854 if test `eval echo '${'$as_ac_var'}'` = yes; then
12855 cat >>confdefs.h <<_ACEOF
12856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12857 _ACEOF
12860 done
12862 CFLAGS="$ac_save_CFLAGS"
12863 CPPFLAGS="$ac_save_CPPFLAGS"
12864 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12865 then
12867 cat >>confdefs.h <<\_ACEOF
12868 #define HAVE_FREETYPE 1
12869 _ACEOF
12871 wine_cv_msg_freetype=no
12872 else
12873 FREETYPELIBS=""
12874 FREETYPEINCL=""
12875 wine_cv_msg_freetype=yes
12880 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12881 then
12882 FONTSSUBDIRS="fonts"
12886 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12887 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12888 if test "${ac_cv_c_ppdev+set}" = set; then
12889 echo $ECHO_N "(cached) $ECHO_C" >&6
12890 else
12891 cat >conftest.$ac_ext <<_ACEOF
12892 /* confdefs.h. */
12893 _ACEOF
12894 cat confdefs.h >>conftest.$ac_ext
12895 cat >>conftest.$ac_ext <<_ACEOF
12896 /* end confdefs.h. */
12897 #include <linux/ppdev.h>
12899 main ()
12901 ioctl (1,PPCLAIM,0)
12903 return 0;
12905 _ACEOF
12906 rm -f conftest.$ac_objext
12907 if { (ac_try="$ac_compile"
12908 case "(($ac_try" in
12909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12910 *) ac_try_echo=$ac_try;;
12911 esac
12912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12913 (eval "$ac_compile") 2>conftest.er1
12914 ac_status=$?
12915 grep -v '^ *+' conftest.er1 >conftest.err
12916 rm -f conftest.er1
12917 cat conftest.err >&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); } &&
12920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12921 { (case "(($ac_try" in
12922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12923 *) ac_try_echo=$ac_try;;
12924 esac
12925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12926 (eval "$ac_try") 2>&5
12927 ac_status=$?
12928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929 (exit $ac_status); }; } &&
12930 { ac_try='test -s conftest.$ac_objext'
12931 { (case "(($ac_try" in
12932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12933 *) ac_try_echo=$ac_try;;
12934 esac
12935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12936 (eval "$ac_try") 2>&5
12937 ac_status=$?
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); }; }; then
12940 ac_cv_c_ppdev="yes"
12941 else
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.$ac_ext >&5
12945 ac_cv_c_ppdev="no"
12948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12951 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
12952 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
12953 if test "$ac_cv_c_ppdev" = "yes"
12954 then
12956 cat >>confdefs.h <<\_ACEOF
12957 #define HAVE_PPDEV 1
12958 _ACEOF
12962 { echo "$as_me:$LINENO: checking for va_copy" >&5
12963 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
12964 if test "${ac_cv_c_va_copy+set}" = set; then
12965 echo $ECHO_N "(cached) $ECHO_C" >&6
12966 else
12967 cat >conftest.$ac_ext <<_ACEOF
12968 /* confdefs.h. */
12969 _ACEOF
12970 cat confdefs.h >>conftest.$ac_ext
12971 cat >>conftest.$ac_ext <<_ACEOF
12972 /* end confdefs.h. */
12973 #include <stdarg.h>
12975 main ()
12977 va_list ap1, ap2;
12978 va_copy(ap1,ap2);
12981 return 0;
12983 _ACEOF
12984 rm -f conftest.$ac_objext conftest$ac_exeext
12985 if { (ac_try="$ac_link"
12986 case "(($ac_try" in
12987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12988 *) ac_try_echo=$ac_try;;
12989 esac
12990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12991 (eval "$ac_link") 2>conftest.er1
12992 ac_status=$?
12993 grep -v '^ *+' conftest.er1 >conftest.err
12994 rm -f conftest.er1
12995 cat conftest.err >&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); } &&
12998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12999 { (case "(($ac_try" in
13000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13001 *) ac_try_echo=$ac_try;;
13002 esac
13003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13004 (eval "$ac_try") 2>&5
13005 ac_status=$?
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); }; } &&
13008 { ac_try='test -s conftest$ac_exeext'
13009 { (case "(($ac_try" in
13010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13011 *) ac_try_echo=$ac_try;;
13012 esac
13013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13014 (eval "$ac_try") 2>&5
13015 ac_status=$?
13016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017 (exit $ac_status); }; }; then
13018 ac_cv_c_va_copy="yes"
13019 else
13020 echo "$as_me: failed program was:" >&5
13021 sed 's/^/| /' conftest.$ac_ext >&5
13023 ac_cv_c_va_copy="no"
13026 rm -f core conftest.err conftest.$ac_objext \
13027 conftest$ac_exeext conftest.$ac_ext
13030 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13031 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13032 if test "$ac_cv_c_va_copy" = "yes"
13033 then
13035 cat >>confdefs.h <<\_ACEOF
13036 #define HAVE_VA_COPY 1
13037 _ACEOF
13040 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13041 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13042 if test "${ac_cv_c___va_copy+set}" = set; then
13043 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 else
13045 cat >conftest.$ac_ext <<_ACEOF
13046 /* confdefs.h. */
13047 _ACEOF
13048 cat confdefs.h >>conftest.$ac_ext
13049 cat >>conftest.$ac_ext <<_ACEOF
13050 /* end confdefs.h. */
13051 #include <stdarg.h>
13053 main ()
13055 va_list ap1, ap2;
13056 __va_copy(ap1,ap2);
13059 return 0;
13061 _ACEOF
13062 rm -f conftest.$ac_objext conftest$ac_exeext
13063 if { (ac_try="$ac_link"
13064 case "(($ac_try" in
13065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13066 *) ac_try_echo=$ac_try;;
13067 esac
13068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13069 (eval "$ac_link") 2>conftest.er1
13070 ac_status=$?
13071 grep -v '^ *+' conftest.er1 >conftest.err
13072 rm -f conftest.er1
13073 cat conftest.err >&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); } &&
13076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13077 { (case "(($ac_try" in
13078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13079 *) ac_try_echo=$ac_try;;
13080 esac
13081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13082 (eval "$ac_try") 2>&5
13083 ac_status=$?
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); }; } &&
13086 { ac_try='test -s conftest$ac_exeext'
13087 { (case "(($ac_try" in
13088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13089 *) ac_try_echo=$ac_try;;
13090 esac
13091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13092 (eval "$ac_try") 2>&5
13093 ac_status=$?
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }; }; then
13096 ac_cv_c___va_copy="yes"
13097 else
13098 echo "$as_me: failed program was:" >&5
13099 sed 's/^/| /' conftest.$ac_ext >&5
13101 ac_cv_c___va_copy="no"
13104 rm -f core conftest.err conftest.$ac_objext \
13105 conftest$ac_exeext conftest.$ac_ext
13108 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13109 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13110 if test "$ac_cv_c___va_copy" = "yes"
13111 then
13113 cat >>confdefs.h <<\_ACEOF
13114 #define HAVE___VA_COPY 1
13115 _ACEOF
13119 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13120 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13121 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13122 echo $ECHO_N "(cached) $ECHO_C" >&6
13123 else
13124 cat >conftest.$ac_ext <<_ACEOF
13125 /* confdefs.h. */
13126 _ACEOF
13127 cat confdefs.h >>conftest.$ac_ext
13128 cat >>conftest.$ac_ext <<_ACEOF
13129 /* end confdefs.h. */
13130 #include <setjmp.h>
13132 main ()
13134 sigjmp_buf buf;
13135 sigsetjmp( buf, 1 );
13136 siglongjmp( buf, 1 );
13138 return 0;
13140 _ACEOF
13141 rm -f conftest.$ac_objext conftest$ac_exeext
13142 if { (ac_try="$ac_link"
13143 case "(($ac_try" in
13144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13145 *) ac_try_echo=$ac_try;;
13146 esac
13147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13148 (eval "$ac_link") 2>conftest.er1
13149 ac_status=$?
13150 grep -v '^ *+' conftest.er1 >conftest.err
13151 rm -f conftest.er1
13152 cat conftest.err >&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); } &&
13155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13156 { (case "(($ac_try" in
13157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13158 *) ac_try_echo=$ac_try;;
13159 esac
13160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13161 (eval "$ac_try") 2>&5
13162 ac_status=$?
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }; } &&
13165 { ac_try='test -s conftest$ac_exeext'
13166 { (case "(($ac_try" in
13167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13168 *) ac_try_echo=$ac_try;;
13169 esac
13170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13171 (eval "$ac_try") 2>&5
13172 ac_status=$?
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }; }; then
13175 ac_cv_c_sigsetjmp="yes"
13176 else
13177 echo "$as_me: failed program was:" >&5
13178 sed 's/^/| /' conftest.$ac_ext >&5
13180 ac_cv_c_sigsetjmp="no"
13183 rm -f core conftest.err conftest.$ac_objext \
13184 conftest$ac_exeext conftest.$ac_ext
13187 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13188 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13189 if test "$ac_cv_c_sigsetjmp" = "yes"
13190 then
13192 cat >>confdefs.h <<\_ACEOF
13193 #define HAVE_SIGSETJMP 1
13194 _ACEOF
13198 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13199 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13200 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13201 echo $ECHO_N "(cached) $ECHO_C" >&6
13202 else
13203 cat >conftest.$ac_ext <<_ACEOF
13204 /* confdefs.h. */
13205 _ACEOF
13206 cat confdefs.h >>conftest.$ac_ext
13207 cat >>conftest.$ac_ext <<_ACEOF
13208 /* end confdefs.h. */
13209 #define _GNU_SOURCE
13210 #include <pthread.h>
13212 typedef pthread_rwlock_t ac__type_new_;
13214 main ()
13216 if ((ac__type_new_ *) 0)
13217 return 0;
13218 if (sizeof (ac__type_new_))
13219 return 0;
13221 return 0;
13223 _ACEOF
13224 rm -f conftest.$ac_objext
13225 if { (ac_try="$ac_compile"
13226 case "(($ac_try" in
13227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13228 *) ac_try_echo=$ac_try;;
13229 esac
13230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13231 (eval "$ac_compile") 2>conftest.er1
13232 ac_status=$?
13233 grep -v '^ *+' conftest.er1 >conftest.err
13234 rm -f conftest.er1
13235 cat conftest.err >&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); } &&
13238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13239 { (case "(($ac_try" in
13240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13241 *) ac_try_echo=$ac_try;;
13242 esac
13243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13244 (eval "$ac_try") 2>&5
13245 ac_status=$?
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); }; } &&
13248 { ac_try='test -s conftest.$ac_objext'
13249 { (case "(($ac_try" in
13250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13251 *) ac_try_echo=$ac_try;;
13252 esac
13253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13254 (eval "$ac_try") 2>&5
13255 ac_status=$?
13256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257 (exit $ac_status); }; }; then
13258 ac_cv_type_pthread_rwlock_t=yes
13259 else
13260 echo "$as_me: failed program was:" >&5
13261 sed 's/^/| /' conftest.$ac_ext >&5
13263 ac_cv_type_pthread_rwlock_t=no
13266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13268 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13269 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13270 if test $ac_cv_type_pthread_rwlock_t = yes; then
13272 cat >>confdefs.h <<_ACEOF
13273 #define HAVE_PTHREAD_RWLOCK_T 1
13274 _ACEOF
13278 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13279 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13280 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13281 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 else
13283 cat >conftest.$ac_ext <<_ACEOF
13284 /* confdefs.h. */
13285 _ACEOF
13286 cat confdefs.h >>conftest.$ac_ext
13287 cat >>conftest.$ac_ext <<_ACEOF
13288 /* end confdefs.h. */
13289 #define _GNU_SOURCE
13290 #include <pthread.h>
13292 typedef pthread_rwlockattr_t ac__type_new_;
13294 main ()
13296 if ((ac__type_new_ *) 0)
13297 return 0;
13298 if (sizeof (ac__type_new_))
13299 return 0;
13301 return 0;
13303 _ACEOF
13304 rm -f conftest.$ac_objext
13305 if { (ac_try="$ac_compile"
13306 case "(($ac_try" in
13307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13308 *) ac_try_echo=$ac_try;;
13309 esac
13310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13311 (eval "$ac_compile") 2>conftest.er1
13312 ac_status=$?
13313 grep -v '^ *+' conftest.er1 >conftest.err
13314 rm -f conftest.er1
13315 cat conftest.err >&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); } &&
13318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13319 { (case "(($ac_try" in
13320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13321 *) ac_try_echo=$ac_try;;
13322 esac
13323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13324 (eval "$ac_try") 2>&5
13325 ac_status=$?
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); }; } &&
13328 { ac_try='test -s conftest.$ac_objext'
13329 { (case "(($ac_try" in
13330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13331 *) ac_try_echo=$ac_try;;
13332 esac
13333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13334 (eval "$ac_try") 2>&5
13335 ac_status=$?
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); }; }; then
13338 ac_cv_type_pthread_rwlockattr_t=yes
13339 else
13340 echo "$as_me: failed program was:" >&5
13341 sed 's/^/| /' conftest.$ac_ext >&5
13343 ac_cv_type_pthread_rwlockattr_t=no
13346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13348 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13349 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13350 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13352 cat >>confdefs.h <<_ACEOF
13353 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13354 _ACEOF
13360 ac_wine_check_funcs_save_LIBS="$LIBS"
13361 LIBS="$LIBS $LIBPTHREAD"
13366 for ac_func in \
13367 pthread_attr_get_np \
13368 pthread_getattr_np \
13369 pthread_get_stackaddr_np \
13370 pthread_get_stacksize_np
13372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13373 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13375 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13377 else
13378 cat >conftest.$ac_ext <<_ACEOF
13379 /* confdefs.h. */
13380 _ACEOF
13381 cat confdefs.h >>conftest.$ac_ext
13382 cat >>conftest.$ac_ext <<_ACEOF
13383 /* end confdefs.h. */
13384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13386 #define $ac_func innocuous_$ac_func
13388 /* System header to define __stub macros and hopefully few prototypes,
13389 which can conflict with char $ac_func (); below.
13390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13391 <limits.h> exists even on freestanding compilers. */
13393 #ifdef __STDC__
13394 # include <limits.h>
13395 #else
13396 # include <assert.h>
13397 #endif
13399 #undef $ac_func
13401 /* Override any GCC internal prototype to avoid an error.
13402 Use char because int might match the return type of a GCC
13403 builtin and then its argument prototype would still apply. */
13404 #ifdef __cplusplus
13405 extern "C"
13406 #endif
13407 char $ac_func ();
13408 /* The GNU C library defines this for functions which it implements
13409 to always fail with ENOSYS. Some functions are actually named
13410 something starting with __ and the normal name is an alias. */
13411 #if defined __stub_$ac_func || defined __stub___$ac_func
13412 choke me
13413 #endif
13416 main ()
13418 return $ac_func ();
13420 return 0;
13422 _ACEOF
13423 rm -f conftest.$ac_objext conftest$ac_exeext
13424 if { (ac_try="$ac_link"
13425 case "(($ac_try" in
13426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13427 *) ac_try_echo=$ac_try;;
13428 esac
13429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13430 (eval "$ac_link") 2>conftest.er1
13431 ac_status=$?
13432 grep -v '^ *+' conftest.er1 >conftest.err
13433 rm -f conftest.er1
13434 cat conftest.err >&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); } &&
13437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13438 { (case "(($ac_try" in
13439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13440 *) ac_try_echo=$ac_try;;
13441 esac
13442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13443 (eval "$ac_try") 2>&5
13444 ac_status=$?
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; } &&
13447 { ac_try='test -s conftest$ac_exeext'
13448 { (case "(($ac_try" in
13449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13450 *) ac_try_echo=$ac_try;;
13451 esac
13452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13453 (eval "$ac_try") 2>&5
13454 ac_status=$?
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; }; then
13457 eval "$as_ac_var=yes"
13458 else
13459 echo "$as_me: failed program was:" >&5
13460 sed 's/^/| /' conftest.$ac_ext >&5
13462 eval "$as_ac_var=no"
13465 rm -f core conftest.err conftest.$ac_objext \
13466 conftest$ac_exeext conftest.$ac_ext
13468 ac_res=`eval echo '${'$as_ac_var'}'`
13469 { echo "$as_me:$LINENO: result: $ac_res" >&5
13470 echo "${ECHO_T}$ac_res" >&6; }
13471 if test `eval echo '${'$as_ac_var'}'` = yes; then
13472 cat >>confdefs.h <<_ACEOF
13473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13474 _ACEOF
13477 done
13479 LIBS="$ac_wine_check_funcs_save_LIBS"
13481 # Extract the first word of "artsc-config", so it can be a program name with args.
13482 set dummy artsc-config; ac_word=$2
13483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13485 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13486 echo $ECHO_N "(cached) $ECHO_C" >&6
13487 else
13488 case $ARTSCCONFIG in
13489 [\\/]* | ?:[\\/]*)
13490 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13494 for as_dir in $PATH
13496 IFS=$as_save_IFS
13497 test -z "$as_dir" && as_dir=.
13498 for ac_exec_ext in '' $ac_executable_extensions; do
13499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13500 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13502 break 2
13504 done
13505 done
13506 IFS=$as_save_IFS
13509 esac
13511 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13512 if test -n "$ARTSCCONFIG"; then
13513 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13514 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13515 else
13516 { echo "$as_me:$LINENO: result: no" >&5
13517 echo "${ECHO_T}no" >&6; }
13521 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13522 then
13523 ARTSC_CFLAGS=""
13524 for i in `$ARTSCCONFIG --cflags`
13526 case "$i" in
13527 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13528 esac
13529 done
13530 ARTSC_LIBS=""
13531 for i in `$ARTSCCONFIG --libs`
13533 case "$i" in
13534 -L/usr/lib|-L/usr/lib64) ;;
13535 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13536 esac
13537 done
13538 save_CFLAGS="$CFLAGS"
13539 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13540 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13541 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13542 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13543 echo $ECHO_N "(cached) $ECHO_C" >&6
13544 else
13545 ac_check_lib_save_LIBS=$LIBS
13546 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13547 cat >conftest.$ac_ext <<_ACEOF
13548 /* confdefs.h. */
13549 _ACEOF
13550 cat confdefs.h >>conftest.$ac_ext
13551 cat >>conftest.$ac_ext <<_ACEOF
13552 /* end confdefs.h. */
13554 /* Override any GCC internal prototype to avoid an error.
13555 Use char because int might match the return type of a GCC
13556 builtin and then its argument prototype would still apply. */
13557 #ifdef __cplusplus
13558 extern "C"
13559 #endif
13560 char arts_init ();
13562 main ()
13564 return arts_init ();
13566 return 0;
13568 _ACEOF
13569 rm -f conftest.$ac_objext conftest$ac_exeext
13570 if { (ac_try="$ac_link"
13571 case "(($ac_try" in
13572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13573 *) ac_try_echo=$ac_try;;
13574 esac
13575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13576 (eval "$ac_link") 2>conftest.er1
13577 ac_status=$?
13578 grep -v '^ *+' conftest.er1 >conftest.err
13579 rm -f conftest.er1
13580 cat conftest.err >&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); } &&
13583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13584 { (case "(($ac_try" in
13585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13586 *) ac_try_echo=$ac_try;;
13587 esac
13588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13589 (eval "$ac_try") 2>&5
13590 ac_status=$?
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); }; } &&
13593 { ac_try='test -s conftest$ac_exeext'
13594 { (case "(($ac_try" in
13595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13596 *) ac_try_echo=$ac_try;;
13597 esac
13598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13599 (eval "$ac_try") 2>&5
13600 ac_status=$?
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; }; then
13603 ac_cv_lib_artsc_arts_init=yes
13604 else
13605 echo "$as_me: failed program was:" >&5
13606 sed 's/^/| /' conftest.$ac_ext >&5
13608 ac_cv_lib_artsc_arts_init=no
13611 rm -f core conftest.err conftest.$ac_objext \
13612 conftest$ac_exeext conftest.$ac_ext
13613 LIBS=$ac_check_lib_save_LIBS
13615 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13616 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13617 if test $ac_cv_lib_artsc_arts_init = yes; then
13618 cat >conftest.$ac_ext <<_ACEOF
13619 /* confdefs.h. */
13620 _ACEOF
13621 cat confdefs.h >>conftest.$ac_ext
13622 cat >>conftest.$ac_ext <<_ACEOF
13623 /* end confdefs.h. */
13624 #include <artsc.h>
13626 main ()
13628 arts_stream_t stream;
13630 return 0;
13632 _ACEOF
13633 rm -f conftest.$ac_objext
13634 if { (ac_try="$ac_compile"
13635 case "(($ac_try" in
13636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13637 *) ac_try_echo=$ac_try;;
13638 esac
13639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13640 (eval "$ac_compile") 2>conftest.er1
13641 ac_status=$?
13642 grep -v '^ *+' conftest.er1 >conftest.err
13643 rm -f conftest.er1
13644 cat conftest.err >&5
13645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 (exit $ac_status); } &&
13647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13648 { (case "(($ac_try" in
13649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13650 *) ac_try_echo=$ac_try;;
13651 esac
13652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13653 (eval "$ac_try") 2>&5
13654 ac_status=$?
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); }; } &&
13657 { ac_try='test -s conftest.$ac_objext'
13658 { (case "(($ac_try" in
13659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13660 *) ac_try_echo=$ac_try;;
13661 esac
13662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13663 (eval "$ac_try") 2>&5
13664 ac_status=$?
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); }; }; then
13667 ARTSLIBS=$ARTSC_LIBS
13669 ARTSINCL=$ARTSC_CFLAGS
13672 cat >>confdefs.h <<\_ACEOF
13673 #define HAVE_ARTS 1
13674 _ACEOF
13676 else
13677 echo "$as_me: failed program was:" >&5
13678 sed 's/^/| /' conftest.$ac_ext >&5
13683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13686 CFLAGS="$save_CFLAGS"
13689 # Extract the first word of "esd-config", so it can be a program name with args.
13690 set dummy esd-config; ac_word=$2
13691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13693 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13695 else
13696 case $ESDCONFIG in
13697 [\\/]* | ?:[\\/]*)
13698 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13702 for as_dir in $PATH
13704 IFS=$as_save_IFS
13705 test -z "$as_dir" && as_dir=.
13706 for ac_exec_ext in '' $ac_executable_extensions; do
13707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13708 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13710 break 2
13712 done
13713 done
13714 IFS=$as_save_IFS
13717 esac
13719 ESDCONFIG=$ac_cv_path_ESDCONFIG
13720 if test -n "$ESDCONFIG"; then
13721 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13722 echo "${ECHO_T}$ESDCONFIG" >&6; }
13723 else
13724 { echo "$as_me:$LINENO: result: no" >&5
13725 echo "${ECHO_T}no" >&6; }
13729 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13730 then
13731 ESD_CFLAGS=""
13732 for i in `$ESDCONFIG --cflags`
13734 case "$i" in
13735 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13736 esac
13737 done
13738 ESD_LIBS=`$ESDCONFIG --libs`
13739 save_CFLAGS="$CFLAGS"
13740 CFLAGS="$CFLAGS $ESD_CFLAGS"
13741 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13742 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13743 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13744 echo $ECHO_N "(cached) $ECHO_C" >&6
13745 else
13746 ac_check_lib_save_LIBS=$LIBS
13747 LIBS="-lesd $LIBS"
13748 cat >conftest.$ac_ext <<_ACEOF
13749 /* confdefs.h. */
13750 _ACEOF
13751 cat confdefs.h >>conftest.$ac_ext
13752 cat >>conftest.$ac_ext <<_ACEOF
13753 /* end confdefs.h. */
13755 /* Override any GCC internal prototype to avoid an error.
13756 Use char because int might match the return type of a GCC
13757 builtin and then its argument prototype would still apply. */
13758 #ifdef __cplusplus
13759 extern "C"
13760 #endif
13761 char esd_open_sound ();
13763 main ()
13765 return esd_open_sound ();
13767 return 0;
13769 _ACEOF
13770 rm -f conftest.$ac_objext conftest$ac_exeext
13771 if { (ac_try="$ac_link"
13772 case "(($ac_try" in
13773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13774 *) ac_try_echo=$ac_try;;
13775 esac
13776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13777 (eval "$ac_link") 2>conftest.er1
13778 ac_status=$?
13779 grep -v '^ *+' conftest.er1 >conftest.err
13780 rm -f conftest.er1
13781 cat conftest.err >&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); } &&
13784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13785 { (case "(($ac_try" in
13786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13787 *) ac_try_echo=$ac_try;;
13788 esac
13789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13790 (eval "$ac_try") 2>&5
13791 ac_status=$?
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); }; } &&
13794 { ac_try='test -s conftest$ac_exeext'
13795 { (case "(($ac_try" in
13796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13797 *) ac_try_echo=$ac_try;;
13798 esac
13799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13800 (eval "$ac_try") 2>&5
13801 ac_status=$?
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); }; }; then
13804 ac_cv_lib_esd_esd_open_sound=yes
13805 else
13806 echo "$as_me: failed program was:" >&5
13807 sed 's/^/| /' conftest.$ac_ext >&5
13809 ac_cv_lib_esd_esd_open_sound=no
13812 rm -f core conftest.err conftest.$ac_objext \
13813 conftest$ac_exeext conftest.$ac_ext
13814 LIBS=$ac_check_lib_save_LIBS
13816 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13817 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13818 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13819 ESDLIBS=$ESD_LIBS
13821 ESDINCL=$ESD_CFLAGS
13824 cat >>confdefs.h <<\_ACEOF
13825 #define HAVE_ESD 1
13826 _ACEOF
13830 CFLAGS="$save_CFLAGS"
13833 ALSALIBS=""
13835 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13836 then
13837 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13838 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13839 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13840 echo $ECHO_N "(cached) $ECHO_C" >&6
13841 else
13842 ac_check_lib_save_LIBS=$LIBS
13843 LIBS="-lasound $LIBS"
13844 cat >conftest.$ac_ext <<_ACEOF
13845 /* confdefs.h. */
13846 _ACEOF
13847 cat confdefs.h >>conftest.$ac_ext
13848 cat >>conftest.$ac_ext <<_ACEOF
13849 /* end confdefs.h. */
13851 /* Override any GCC internal prototype to avoid an error.
13852 Use char because int might match the return type of a GCC
13853 builtin and then its argument prototype would still apply. */
13854 #ifdef __cplusplus
13855 extern "C"
13856 #endif
13857 char snd_pcm_hw_params_get_access ();
13859 main ()
13861 return snd_pcm_hw_params_get_access ();
13863 return 0;
13865 _ACEOF
13866 rm -f conftest.$ac_objext conftest$ac_exeext
13867 if { (ac_try="$ac_link"
13868 case "(($ac_try" in
13869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13870 *) ac_try_echo=$ac_try;;
13871 esac
13872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13873 (eval "$ac_link") 2>conftest.er1
13874 ac_status=$?
13875 grep -v '^ *+' conftest.er1 >conftest.err
13876 rm -f conftest.er1
13877 cat conftest.err >&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); } &&
13880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13881 { (case "(($ac_try" in
13882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13883 *) ac_try_echo=$ac_try;;
13884 esac
13885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13886 (eval "$ac_try") 2>&5
13887 ac_status=$?
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; } &&
13890 { ac_try='test -s conftest$ac_exeext'
13891 { (case "(($ac_try" in
13892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13893 *) ac_try_echo=$ac_try;;
13894 esac
13895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13896 (eval "$ac_try") 2>&5
13897 ac_status=$?
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); }; }; then
13900 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13901 else
13902 echo "$as_me: failed program was:" >&5
13903 sed 's/^/| /' conftest.$ac_ext >&5
13905 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13908 rm -f core conftest.err conftest.$ac_objext \
13909 conftest$ac_exeext conftest.$ac_ext
13910 LIBS=$ac_check_lib_save_LIBS
13912 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13913 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13914 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13915 cat >conftest.$ac_ext <<_ACEOF
13916 /* confdefs.h. */
13917 _ACEOF
13918 cat confdefs.h >>conftest.$ac_ext
13919 cat >>conftest.$ac_ext <<_ACEOF
13920 /* end confdefs.h. */
13921 #ifdef HAVE_ALSA_ASOUNDLIB_H
13922 #include <alsa/asoundlib.h>
13923 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13924 #include <sys/asoundlib.h>
13925 #endif
13927 main ()
13929 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13931 return 0;
13933 _ACEOF
13934 rm -f conftest.$ac_objext
13935 if { (ac_try="$ac_compile"
13936 case "(($ac_try" in
13937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13938 *) ac_try_echo=$ac_try;;
13939 esac
13940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13941 (eval "$ac_compile") 2>conftest.er1
13942 ac_status=$?
13943 grep -v '^ *+' conftest.er1 >conftest.err
13944 rm -f conftest.er1
13945 cat conftest.err >&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); } &&
13948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13949 { (case "(($ac_try" in
13950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13951 *) ac_try_echo=$ac_try;;
13952 esac
13953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13954 (eval "$ac_try") 2>&5
13955 ac_status=$?
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); }; } &&
13958 { ac_try='test -s conftest.$ac_objext'
13959 { (case "(($ac_try" in
13960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13961 *) ac_try_echo=$ac_try;;
13962 esac
13963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13964 (eval "$ac_try") 2>&5
13965 ac_status=$?
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); }; }; then
13969 cat >>confdefs.h <<\_ACEOF
13970 #define HAVE_ALSA 1
13971 _ACEOF
13973 ALSALIBS="-lasound"
13974 else
13975 echo "$as_me: failed program was:" >&5
13976 sed 's/^/| /' conftest.$ac_ext >&5
13981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13987 AUDIOIOLIBS=""
13989 if test "$ac_cv_header_libaudioio_h" = "yes"
13990 then
13991 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
13992 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
13993 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
13994 echo $ECHO_N "(cached) $ECHO_C" >&6
13995 else
13996 ac_check_lib_save_LIBS=$LIBS
13997 LIBS="-laudioio $LIBS"
13998 cat >conftest.$ac_ext <<_ACEOF
13999 /* confdefs.h. */
14000 _ACEOF
14001 cat confdefs.h >>conftest.$ac_ext
14002 cat >>conftest.$ac_ext <<_ACEOF
14003 /* end confdefs.h. */
14005 /* Override any GCC internal prototype to avoid an error.
14006 Use char because int might match the return type of a GCC
14007 builtin and then its argument prototype would still apply. */
14008 #ifdef __cplusplus
14009 extern "C"
14010 #endif
14011 char AudioIOGetVersion ();
14013 main ()
14015 return AudioIOGetVersion ();
14017 return 0;
14019 _ACEOF
14020 rm -f conftest.$ac_objext conftest$ac_exeext
14021 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
14028 ac_status=$?
14029 grep -v '^ *+' conftest.er1 >conftest.err
14030 rm -f conftest.er1
14031 cat conftest.err >&5
14032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14033 (exit $ac_status); } &&
14034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14035 { (case "(($ac_try" in
14036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14037 *) ac_try_echo=$ac_try;;
14038 esac
14039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14040 (eval "$ac_try") 2>&5
14041 ac_status=$?
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; } &&
14044 { ac_try='test -s conftest$ac_exeext'
14045 { (case "(($ac_try" in
14046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14047 *) ac_try_echo=$ac_try;;
14048 esac
14049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14050 (eval "$ac_try") 2>&5
14051 ac_status=$?
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); }; }; then
14054 ac_cv_lib_audioio_AudioIOGetVersion=yes
14055 else
14056 echo "$as_me: failed program was:" >&5
14057 sed 's/^/| /' conftest.$ac_ext >&5
14059 ac_cv_lib_audioio_AudioIOGetVersion=no
14062 rm -f core conftest.err conftest.$ac_objext \
14063 conftest$ac_exeext conftest.$ac_ext
14064 LIBS=$ac_check_lib_save_LIBS
14066 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14067 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14068 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14069 AUDIOIOLIBS="-laudioio"
14071 cat >>confdefs.h <<\_ACEOF
14072 #define HAVE_LIBAUDIOIO 1
14073 _ACEOF
14080 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14081 then
14082 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14083 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14084 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14086 else
14087 ac_check_lib_save_LIBS=$LIBS
14088 LIBS="-lcapi20 $LIBS"
14089 cat >conftest.$ac_ext <<_ACEOF
14090 /* confdefs.h. */
14091 _ACEOF
14092 cat confdefs.h >>conftest.$ac_ext
14093 cat >>conftest.$ac_ext <<_ACEOF
14094 /* end confdefs.h. */
14096 /* Override any GCC internal prototype to avoid an error.
14097 Use char because int might match the return type of a GCC
14098 builtin and then its argument prototype would still apply. */
14099 #ifdef __cplusplus
14100 extern "C"
14101 #endif
14102 char capi20_register ();
14104 main ()
14106 return capi20_register ();
14108 return 0;
14110 _ACEOF
14111 rm -f conftest.$ac_objext conftest$ac_exeext
14112 if { (ac_try="$ac_link"
14113 case "(($ac_try" in
14114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14115 *) ac_try_echo=$ac_try;;
14116 esac
14117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14118 (eval "$ac_link") 2>conftest.er1
14119 ac_status=$?
14120 grep -v '^ *+' conftest.er1 >conftest.err
14121 rm -f conftest.er1
14122 cat conftest.err >&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); } &&
14125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14126 { (case "(($ac_try" in
14127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14128 *) ac_try_echo=$ac_try;;
14129 esac
14130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14131 (eval "$ac_try") 2>&5
14132 ac_status=$?
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); }; } &&
14135 { ac_try='test -s conftest$ac_exeext'
14136 { (case "(($ac_try" in
14137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14138 *) ac_try_echo=$ac_try;;
14139 esac
14140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14141 (eval "$ac_try") 2>&5
14142 ac_status=$?
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); }; }; then
14145 ac_cv_lib_capi20_capi20_register=yes
14146 else
14147 echo "$as_me: failed program was:" >&5
14148 sed 's/^/| /' conftest.$ac_ext >&5
14150 ac_cv_lib_capi20_capi20_register=no
14153 rm -f core conftest.err conftest.$ac_objext \
14154 conftest$ac_exeext conftest.$ac_ext
14155 LIBS=$ac_check_lib_save_LIBS
14157 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14158 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14159 if test $ac_cv_lib_capi20_capi20_register = yes; then
14161 cat >>confdefs.h <<\_ACEOF
14162 #define HAVE_CAPI4LINUX 1
14163 _ACEOF
14170 if test "$ac_cv_header_gif_lib_h" = "yes"
14171 then
14172 cat >conftest.$ac_ext <<_ACEOF
14173 /* confdefs.h. */
14174 _ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14178 #include <gif_lib.h>
14180 main ()
14182 static typeof(DGifOpen) * func;
14184 return 0;
14186 _ACEOF
14187 rm -f conftest.$ac_objext
14188 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
14195 ac_status=$?
14196 grep -v '^ *+' conftest.er1 >conftest.err
14197 rm -f conftest.er1
14198 cat conftest.err >&5
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); } &&
14201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14202 { (case "(($ac_try" in
14203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14204 *) ac_try_echo=$ac_try;;
14205 esac
14206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14207 (eval "$ac_try") 2>&5
14208 ac_status=$?
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; } &&
14211 { ac_try='test -s conftest.$ac_objext'
14212 { (case "(($ac_try" in
14213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14214 *) ac_try_echo=$ac_try;;
14215 esac
14216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14217 (eval "$ac_try") 2>&5
14218 ac_status=$?
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); }; }; then
14222 cat >>confdefs.h <<\_ACEOF
14223 #define HAVE_GIF 1
14224 _ACEOF
14226 else
14227 echo "$as_me: failed program was:" >&5
14228 sed 's/^/| /' conftest.$ac_ext >&5
14233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14237 EXTRACFLAGS=""
14239 if test "x${GCC}" = "xyes"
14240 then
14241 EXTRACFLAGS="-Wall -pipe"
14243 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14244 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14245 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14246 echo $ECHO_N "(cached) $ECHO_C" >&6
14247 else
14248 if test "$cross_compiling" = yes; then
14249 ac_cv_c_gcc_strength_bug="yes"
14250 else
14251 cat >conftest.$ac_ext <<_ACEOF
14252 /* confdefs.h. */
14253 _ACEOF
14254 cat confdefs.h >>conftest.$ac_ext
14255 cat >>conftest.$ac_ext <<_ACEOF
14256 /* end confdefs.h. */
14258 int L[4] = {0,1,2,3};
14259 int main(void) {
14260 static int Array[3];
14261 unsigned int B = 3;
14262 int i;
14263 for(i=0; i<B; i++) Array[i] = i - 3;
14264 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14265 L[i] = 4;
14267 exit( Array[1] != -2 || L[2] != 3);
14269 _ACEOF
14270 rm -f conftest$ac_exeext
14271 if { (ac_try="$ac_link"
14272 case "(($ac_try" in
14273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14274 *) ac_try_echo=$ac_try;;
14275 esac
14276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14277 (eval "$ac_link") 2>&5
14278 ac_status=$?
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14281 { (case "(($ac_try" in
14282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14283 *) ac_try_echo=$ac_try;;
14284 esac
14285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14286 (eval "$ac_try") 2>&5
14287 ac_status=$?
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); }; }; then
14290 ac_cv_c_gcc_strength_bug="no"
14291 else
14292 echo "$as_me: program exited with status $ac_status" >&5
14293 echo "$as_me: failed program was:" >&5
14294 sed 's/^/| /' conftest.$ac_ext >&5
14296 ( exit $ac_status )
14297 ac_cv_c_gcc_strength_bug="yes"
14299 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14304 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14305 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14306 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14307 then
14308 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14311 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
14312 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
14313 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
14314 echo $ECHO_N "(cached) $ECHO_C" >&6
14315 else
14316 ac_wine_try_cflags_saved=$CFLAGS
14317 CFLAGS="$CFLAGS -fshort-wchar"
14318 cat >conftest.$ac_ext <<_ACEOF
14319 /* confdefs.h. */
14320 _ACEOF
14321 cat confdefs.h >>conftest.$ac_ext
14322 cat >>conftest.$ac_ext <<_ACEOF
14323 /* end confdefs.h. */
14326 main ()
14330 return 0;
14332 _ACEOF
14333 rm -f conftest.$ac_objext conftest$ac_exeext
14334 if { (ac_try="$ac_link"
14335 case "(($ac_try" in
14336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14337 *) ac_try_echo=$ac_try;;
14338 esac
14339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14340 (eval "$ac_link") 2>conftest.er1
14341 ac_status=$?
14342 grep -v '^ *+' conftest.er1 >conftest.err
14343 rm -f conftest.er1
14344 cat conftest.err >&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); } &&
14347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14348 { (case "(($ac_try" in
14349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14350 *) ac_try_echo=$ac_try;;
14351 esac
14352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14353 (eval "$ac_try") 2>&5
14354 ac_status=$?
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); }; } &&
14357 { ac_try='test -s conftest$ac_exeext'
14358 { (case "(($ac_try" in
14359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14360 *) ac_try_echo=$ac_try;;
14361 esac
14362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14363 (eval "$ac_try") 2>&5
14364 ac_status=$?
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); }; }; then
14367 ac_cv_c_gcc_fshort_wchar="yes"
14368 else
14369 echo "$as_me: failed program was:" >&5
14370 sed 's/^/| /' conftest.$ac_ext >&5
14372 ac_cv_c_gcc_fshort_wchar="no"
14375 rm -f core conftest.err conftest.$ac_objext \
14376 conftest$ac_exeext conftest.$ac_ext
14377 CFLAGS=$ac_wine_try_cflags_saved
14379 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
14380 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
14381 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
14382 then
14384 cat >>confdefs.h <<\_ACEOF
14385 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14386 _ACEOF
14390 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
14391 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
14392 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14394 else
14395 ac_wine_try_cflags_saved=$CFLAGS
14396 CFLAGS="$CFLAGS -fno-strict-aliasing"
14397 cat >conftest.$ac_ext <<_ACEOF
14398 /* confdefs.h. */
14399 _ACEOF
14400 cat confdefs.h >>conftest.$ac_ext
14401 cat >>conftest.$ac_ext <<_ACEOF
14402 /* end confdefs.h. */
14405 main ()
14409 return 0;
14411 _ACEOF
14412 rm -f conftest.$ac_objext conftest$ac_exeext
14413 if { (ac_try="$ac_link"
14414 case "(($ac_try" in
14415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14416 *) ac_try_echo=$ac_try;;
14417 esac
14418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14419 (eval "$ac_link") 2>conftest.er1
14420 ac_status=$?
14421 grep -v '^ *+' conftest.er1 >conftest.err
14422 rm -f conftest.er1
14423 cat conftest.err >&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } &&
14426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14427 { (case "(($ac_try" in
14428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14429 *) ac_try_echo=$ac_try;;
14430 esac
14431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14432 (eval "$ac_try") 2>&5
14433 ac_status=$?
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; } &&
14436 { ac_try='test -s conftest$ac_exeext'
14437 { (case "(($ac_try" in
14438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14439 *) ac_try_echo=$ac_try;;
14440 esac
14441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14442 (eval "$ac_try") 2>&5
14443 ac_status=$?
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); }; }; then
14446 ac_cv_c_gcc_no_strict_aliasing="yes"
14447 else
14448 echo "$as_me: failed program was:" >&5
14449 sed 's/^/| /' conftest.$ac_ext >&5
14451 ac_cv_c_gcc_no_strict_aliasing="no"
14454 rm -f core conftest.err conftest.$ac_objext \
14455 conftest$ac_exeext conftest.$ac_ext
14456 CFLAGS=$ac_wine_try_cflags_saved
14458 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
14459 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
14460 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
14461 then
14462 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14465 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
14466 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
14467 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
14468 echo $ECHO_N "(cached) $ECHO_C" >&6
14469 else
14470 ac_wine_try_cflags_saved=$CFLAGS
14471 CFLAGS="$CFLAGS -gstabs+"
14472 cat >conftest.$ac_ext <<_ACEOF
14473 /* confdefs.h. */
14474 _ACEOF
14475 cat confdefs.h >>conftest.$ac_ext
14476 cat >>conftest.$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14480 main ()
14484 return 0;
14486 _ACEOF
14487 rm -f conftest.$ac_objext conftest$ac_exeext
14488 if { (ac_try="$ac_link"
14489 case "(($ac_try" in
14490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14491 *) ac_try_echo=$ac_try;;
14492 esac
14493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14494 (eval "$ac_link") 2>conftest.er1
14495 ac_status=$?
14496 grep -v '^ *+' conftest.er1 >conftest.err
14497 rm -f conftest.er1
14498 cat conftest.err >&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } &&
14501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14502 { (case "(($ac_try" in
14503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14504 *) ac_try_echo=$ac_try;;
14505 esac
14506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14507 (eval "$ac_try") 2>&5
14508 ac_status=$?
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; } &&
14511 { ac_try='test -s conftest$ac_exeext'
14512 { (case "(($ac_try" in
14513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14514 *) ac_try_echo=$ac_try;;
14515 esac
14516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14517 (eval "$ac_try") 2>&5
14518 ac_status=$?
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; }; then
14521 ac_cv_c_gcc_gstabs="yes"
14522 else
14523 echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.$ac_ext >&5
14526 ac_cv_c_gcc_gstabs="no"
14529 rm -f core conftest.err conftest.$ac_objext \
14530 conftest$ac_exeext conftest.$ac_ext
14531 CFLAGS=$ac_wine_try_cflags_saved
14533 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
14534 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
14535 if test "$ac_cv_c_gcc_gstabs" = "yes"
14536 then
14537 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14540 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
14541 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
14542 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
14543 echo $ECHO_N "(cached) $ECHO_C" >&6
14544 else
14545 ac_wine_try_cflags_saved=$CFLAGS
14546 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14547 cat >conftest.$ac_ext <<_ACEOF
14548 /* confdefs.h. */
14549 _ACEOF
14550 cat confdefs.h >>conftest.$ac_ext
14551 cat >>conftest.$ac_ext <<_ACEOF
14552 /* end confdefs.h. */
14555 main ()
14559 return 0;
14561 _ACEOF
14562 rm -f conftest.$ac_objext conftest$ac_exeext
14563 if { (ac_try="$ac_link"
14564 case "(($ac_try" in
14565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14566 *) ac_try_echo=$ac_try;;
14567 esac
14568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14569 (eval "$ac_link") 2>conftest.er1
14570 ac_status=$?
14571 grep -v '^ *+' conftest.er1 >conftest.err
14572 rm -f conftest.er1
14573 cat conftest.err >&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); } &&
14576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14577 { (case "(($ac_try" in
14578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14579 *) ac_try_echo=$ac_try;;
14580 esac
14581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14582 (eval "$ac_try") 2>&5
14583 ac_status=$?
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; } &&
14586 { ac_try='test -s conftest$ac_exeext'
14587 { (case "(($ac_try" in
14588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14589 *) ac_try_echo=$ac_try;;
14590 esac
14591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14592 (eval "$ac_try") 2>&5
14593 ac_status=$?
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; }; then
14596 ac_cv_c_gcc_decl_after_statement="yes"
14597 else
14598 echo "$as_me: failed program was:" >&5
14599 sed 's/^/| /' conftest.$ac_ext >&5
14601 ac_cv_c_gcc_decl_after_statement="no"
14604 rm -f core conftest.err conftest.$ac_objext \
14605 conftest$ac_exeext conftest.$ac_ext
14606 CFLAGS=$ac_wine_try_cflags_saved
14608 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
14609 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
14610 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
14611 then
14612 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14615 saved_CFLAGS="$CFLAGS"
14616 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14617 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14618 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14619 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14620 echo $ECHO_N "(cached) $ECHO_C" >&6
14621 else
14622 cat >conftest.$ac_ext <<_ACEOF
14623 /* confdefs.h. */
14624 _ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14628 #include <string.h>
14630 main ()
14634 return 0;
14636 _ACEOF
14637 rm -f conftest.$ac_objext
14638 if { (ac_try="$ac_compile"
14639 case "(($ac_try" in
14640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14641 *) ac_try_echo=$ac_try;;
14642 esac
14643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14644 (eval "$ac_compile") 2>conftest.er1
14645 ac_status=$?
14646 grep -v '^ *+' conftest.er1 >conftest.err
14647 rm -f conftest.er1
14648 cat conftest.err >&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14652 { (case "(($ac_try" in
14653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14654 *) ac_try_echo=$ac_try;;
14655 esac
14656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14657 (eval "$ac_try") 2>&5
14658 ac_status=$?
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); }; } &&
14661 { ac_try='test -s conftest.$ac_objext'
14662 { (case "(($ac_try" in
14663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14664 *) ac_try_echo=$ac_try;;
14665 esac
14666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14667 (eval "$ac_try") 2>&5
14668 ac_status=$?
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); }; }; then
14671 ac_cv_c_string_h_warnings=no
14672 else
14673 echo "$as_me: failed program was:" >&5
14674 sed 's/^/| /' conftest.$ac_ext >&5
14676 ac_cv_c_string_h_warnings=yes
14679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14681 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14682 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14683 CFLAGS="$saved_CFLAGS"
14684 if test "$ac_cv_c_string_h_warnings" = "no"
14685 then
14686 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14689 BUILTINFLAG=""
14691 saved_CFLAGS="$CFLAGS"
14692 CFLAGS="$CFLAGS -Werror"
14693 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14694 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14695 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14696 echo $ECHO_N "(cached) $ECHO_C" >&6
14697 else
14698 cat >conftest.$ac_ext <<_ACEOF
14699 /* confdefs.h. */
14700 _ACEOF
14701 cat confdefs.h >>conftest.$ac_ext
14702 cat >>conftest.$ac_ext <<_ACEOF
14703 /* end confdefs.h. */
14706 main ()
14708 int iswlower(unsigned short);
14710 return 0;
14712 _ACEOF
14713 rm -f conftest.$ac_objext
14714 if { (ac_try="$ac_compile"
14715 case "(($ac_try" in
14716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14717 *) ac_try_echo=$ac_try;;
14718 esac
14719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14720 (eval "$ac_compile") 2>conftest.er1
14721 ac_status=$?
14722 grep -v '^ *+' conftest.er1 >conftest.err
14723 rm -f conftest.er1
14724 cat conftest.err >&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); } &&
14727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14728 { (case "(($ac_try" in
14729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14730 *) ac_try_echo=$ac_try;;
14731 esac
14732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14733 (eval "$ac_try") 2>&5
14734 ac_status=$?
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; } &&
14737 { ac_try='test -s conftest.$ac_objext'
14738 { (case "(($ac_try" in
14739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14740 *) ac_try_echo=$ac_try;;
14741 esac
14742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14743 (eval "$ac_try") 2>&5
14744 ac_status=$?
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); }; }; then
14747 ac_cv_c_builtin_wchar_ctype=no
14748 else
14749 echo "$as_me: failed program was:" >&5
14750 sed 's/^/| /' conftest.$ac_ext >&5
14752 ac_cv_c_builtin_wchar_ctype=yes
14755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14757 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14758 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14759 CFLAGS="$saved_CFLAGS"
14760 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14761 then
14762 BUILTINFLAG="-fno-builtin"
14767 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14768 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14769 if test "${ac_cv_asm_func_def+set}" = set; then
14770 echo $ECHO_N "(cached) $ECHO_C" >&6
14771 else
14772 cat >conftest.$ac_ext <<_ACEOF
14773 /* confdefs.h. */
14774 _ACEOF
14775 cat confdefs.h >>conftest.$ac_ext
14776 cat >>conftest.$ac_ext <<_ACEOF
14777 /* end confdefs.h. */
14778 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"); }
14781 main ()
14785 return 0;
14787 _ACEOF
14788 rm -f conftest.$ac_objext conftest$ac_exeext
14789 if { (ac_try="$ac_link"
14790 case "(($ac_try" in
14791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14792 *) ac_try_echo=$ac_try;;
14793 esac
14794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14795 (eval "$ac_link") 2>conftest.er1
14796 ac_status=$?
14797 grep -v '^ *+' conftest.er1 >conftest.err
14798 rm -f conftest.er1
14799 cat conftest.err >&5
14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); } &&
14802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14803 { (case "(($ac_try" in
14804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14805 *) ac_try_echo=$ac_try;;
14806 esac
14807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14808 (eval "$ac_try") 2>&5
14809 ac_status=$?
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); }; } &&
14812 { ac_try='test -s conftest$ac_exeext'
14813 { (case "(($ac_try" in
14814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14815 *) ac_try_echo=$ac_try;;
14816 esac
14817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14818 (eval "$ac_try") 2>&5
14819 ac_status=$?
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); }; }; then
14822 ac_cv_asm_func_def=".def"
14823 else
14824 echo "$as_me: failed program was:" >&5
14825 sed 's/^/| /' conftest.$ac_ext >&5
14827 cat >conftest.$ac_ext <<_ACEOF
14828 /* confdefs.h. */
14829 _ACEOF
14830 cat confdefs.h >>conftest.$ac_ext
14831 cat >>conftest.$ac_ext <<_ACEOF
14832 /* end confdefs.h. */
14833 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14836 main ()
14840 return 0;
14842 _ACEOF
14843 rm -f conftest.$ac_objext conftest$ac_exeext
14844 if { (ac_try="$ac_link"
14845 case "(($ac_try" in
14846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14847 *) ac_try_echo=$ac_try;;
14848 esac
14849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14850 (eval "$ac_link") 2>conftest.er1
14851 ac_status=$?
14852 grep -v '^ *+' conftest.er1 >conftest.err
14853 rm -f conftest.er1
14854 cat conftest.err >&5
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); } &&
14857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
14864 ac_status=$?
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; } &&
14867 { ac_try='test -s conftest$ac_exeext'
14868 { (case "(($ac_try" in
14869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14870 *) ac_try_echo=$ac_try;;
14871 esac
14872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14873 (eval "$ac_try") 2>&5
14874 ac_status=$?
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); }; }; then
14877 ac_cv_asm_func_def=".type @function"
14878 else
14879 echo "$as_me: failed program was:" >&5
14880 sed 's/^/| /' conftest.$ac_ext >&5
14882 cat >conftest.$ac_ext <<_ACEOF
14883 /* confdefs.h. */
14884 _ACEOF
14885 cat confdefs.h >>conftest.$ac_ext
14886 cat >>conftest.$ac_ext <<_ACEOF
14887 /* end confdefs.h. */
14888 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14891 main ()
14895 return 0;
14897 _ACEOF
14898 rm -f conftest.$ac_objext conftest$ac_exeext
14899 if { (ac_try="$ac_link"
14900 case "(($ac_try" in
14901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14902 *) ac_try_echo=$ac_try;;
14903 esac
14904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14905 (eval "$ac_link") 2>conftest.er1
14906 ac_status=$?
14907 grep -v '^ *+' conftest.er1 >conftest.err
14908 rm -f conftest.er1
14909 cat conftest.err >&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } &&
14912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
14919 ac_status=$?
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; } &&
14922 { ac_try='test -s conftest$ac_exeext'
14923 { (case "(($ac_try" in
14924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14925 *) ac_try_echo=$ac_try;;
14926 esac
14927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14928 (eval "$ac_try") 2>&5
14929 ac_status=$?
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; }; then
14932 ac_cv_asm_func_def=".type 2"
14933 else
14934 echo "$as_me: failed program was:" >&5
14935 sed 's/^/| /' conftest.$ac_ext >&5
14937 ac_cv_asm_func_def="unknown"
14940 rm -f core conftest.err conftest.$ac_objext \
14941 conftest$ac_exeext conftest.$ac_ext
14944 rm -f core conftest.err conftest.$ac_objext \
14945 conftest$ac_exeext conftest.$ac_ext
14948 rm -f core conftest.err conftest.$ac_objext \
14949 conftest$ac_exeext conftest.$ac_ext
14951 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
14952 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
14956 case "$ac_cv_asm_func_def" in
14957 ".def")
14958 cat >>confdefs.h <<\_ACEOF
14959 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
14960 _ACEOF
14962 ".type @function")
14963 cat >>confdefs.h <<\_ACEOF
14964 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
14965 _ACEOF
14967 ".type 2")
14968 cat >>confdefs.h <<\_ACEOF
14969 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
14970 _ACEOF
14973 cat >>confdefs.h <<\_ACEOF
14974 #define __ASM_FUNC(name) ""
14975 _ACEOF
14977 esac
14980 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
14981 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
14982 if test "${ac_cv_c_extern_prefix+set}" = set; then
14983 echo $ECHO_N "(cached) $ECHO_C" >&6
14984 else
14985 cat >conftest.$ac_ext <<_ACEOF
14986 /* confdefs.h. */
14987 _ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
14992 extern int ac_test;
14994 main ()
14996 if (ac_test) return 1
14998 return 0;
15000 _ACEOF
15001 rm -f conftest.$ac_objext conftest$ac_exeext
15002 if { (ac_try="$ac_link"
15003 case "(($ac_try" in
15004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15005 *) ac_try_echo=$ac_try;;
15006 esac
15007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15008 (eval "$ac_link") 2>conftest.er1
15009 ac_status=$?
15010 grep -v '^ *+' conftest.er1 >conftest.err
15011 rm -f conftest.er1
15012 cat conftest.err >&5
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); } &&
15015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15016 { (case "(($ac_try" in
15017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15018 *) ac_try_echo=$ac_try;;
15019 esac
15020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15021 (eval "$ac_try") 2>&5
15022 ac_status=$?
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); }; } &&
15025 { ac_try='test -s conftest$ac_exeext'
15026 { (case "(($ac_try" in
15027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15028 *) ac_try_echo=$ac_try;;
15029 esac
15030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15031 (eval "$ac_try") 2>&5
15032 ac_status=$?
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; }; then
15035 ac_cv_c_extern_prefix="yes"
15036 else
15037 echo "$as_me: failed program was:" >&5
15038 sed 's/^/| /' conftest.$ac_ext >&5
15040 ac_cv_c_extern_prefix="no"
15043 rm -f core conftest.err conftest.$ac_objext \
15044 conftest$ac_exeext conftest.$ac_ext
15046 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15047 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15051 if test "$ac_cv_c_extern_prefix" = "yes"
15052 then
15053 cat >>confdefs.h <<\_ACEOF
15054 #define __ASM_NAME(name) "_" name
15055 _ACEOF
15057 else
15058 cat >>confdefs.h <<\_ACEOF
15059 #define __ASM_NAME(name) name
15060 _ACEOF
15065 DLLEXT=""
15067 DLLFLAGS="-D_REENTRANT"
15069 LDSHARED=""
15071 LDDLLFLAGS=""
15073 LIBEXT="so"
15075 IMPLIBEXT="def"
15078 case $host_os in
15079 cygwin*|mingw32*)
15080 if test -n "$ac_tool_prefix"; then
15081 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15082 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15085 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15086 echo $ECHO_N "(cached) $ECHO_C" >&6
15087 else
15088 if test -n "$DLLTOOL"; then
15089 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15090 else
15091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15092 for as_dir in $PATH
15094 IFS=$as_save_IFS
15095 test -z "$as_dir" && as_dir=.
15096 for ac_exec_ext in '' $ac_executable_extensions; do
15097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15098 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15100 break 2
15102 done
15103 done
15104 IFS=$as_save_IFS
15108 DLLTOOL=$ac_cv_prog_DLLTOOL
15109 if test -n "$DLLTOOL"; then
15110 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15111 echo "${ECHO_T}$DLLTOOL" >&6; }
15112 else
15113 { echo "$as_me:$LINENO: result: no" >&5
15114 echo "${ECHO_T}no" >&6; }
15119 if test -z "$ac_cv_prog_DLLTOOL"; then
15120 ac_ct_DLLTOOL=$DLLTOOL
15121 # Extract the first word of "dlltool", so it can be a program name with args.
15122 set dummy dlltool; ac_word=$2
15123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15125 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15126 echo $ECHO_N "(cached) $ECHO_C" >&6
15127 else
15128 if test -n "$ac_ct_DLLTOOL"; then
15129 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15130 else
15131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15132 for as_dir in $PATH
15134 IFS=$as_save_IFS
15135 test -z "$as_dir" && as_dir=.
15136 for ac_exec_ext in '' $ac_executable_extensions; do
15137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15138 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15140 break 2
15142 done
15143 done
15144 IFS=$as_save_IFS
15148 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15149 if test -n "$ac_ct_DLLTOOL"; then
15150 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15151 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15152 else
15153 { echo "$as_me:$LINENO: result: no" >&5
15154 echo "${ECHO_T}no" >&6; }
15157 if test "x$ac_ct_DLLTOOL" = x; then
15158 DLLTOOL="false"
15159 else
15160 case $cross_compiling:$ac_tool_warned in
15161 yes:)
15162 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15163 whose name does not start with the host triplet. If you think this
15164 configuration is useful to you, please write to autoconf@gnu.org." >&5
15165 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15166 whose name does not start with the host triplet. If you think this
15167 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15168 ac_tool_warned=yes ;;
15169 esac
15170 DLLTOOL=$ac_ct_DLLTOOL
15172 else
15173 DLLTOOL="$ac_cv_prog_DLLTOOL"
15176 if test -n "$ac_tool_prefix"; then
15177 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15178 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15181 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 if test -n "$DLLWRAP"; then
15185 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15186 else
15187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15188 for as_dir in $PATH
15190 IFS=$as_save_IFS
15191 test -z "$as_dir" && as_dir=.
15192 for ac_exec_ext in '' $ac_executable_extensions; do
15193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15194 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15196 break 2
15198 done
15199 done
15200 IFS=$as_save_IFS
15204 DLLWRAP=$ac_cv_prog_DLLWRAP
15205 if test -n "$DLLWRAP"; then
15206 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15207 echo "${ECHO_T}$DLLWRAP" >&6; }
15208 else
15209 { echo "$as_me:$LINENO: result: no" >&5
15210 echo "${ECHO_T}no" >&6; }
15215 if test -z "$ac_cv_prog_DLLWRAP"; then
15216 ac_ct_DLLWRAP=$DLLWRAP
15217 # Extract the first word of "dllwrap", so it can be a program name with args.
15218 set dummy dllwrap; ac_word=$2
15219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15221 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15222 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 else
15224 if test -n "$ac_ct_DLLWRAP"; then
15225 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15226 else
15227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15228 for as_dir in $PATH
15230 IFS=$as_save_IFS
15231 test -z "$as_dir" && as_dir=.
15232 for ac_exec_ext in '' $ac_executable_extensions; do
15233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15234 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15236 break 2
15238 done
15239 done
15240 IFS=$as_save_IFS
15244 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15245 if test -n "$ac_ct_DLLWRAP"; then
15246 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15247 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15248 else
15249 { echo "$as_me:$LINENO: result: no" >&5
15250 echo "${ECHO_T}no" >&6; }
15253 if test "x$ac_ct_DLLWRAP" = x; then
15254 DLLWRAP="false"
15255 else
15256 case $cross_compiling:$ac_tool_warned in
15257 yes:)
15258 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15259 whose name does not start with the host triplet. If you think this
15260 configuration is useful to you, please write to autoconf@gnu.org." >&5
15261 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15262 whose name does not start with the host triplet. If you think this
15263 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15264 ac_tool_warned=yes ;;
15265 esac
15266 DLLWRAP=$ac_ct_DLLWRAP
15268 else
15269 DLLWRAP="$ac_cv_prog_DLLWRAP"
15272 if test "$DLLWRAP" = "false"; then
15273 LIBEXT="a"
15274 else
15275 LIBEXT="dll"
15277 IMPLIBEXT="a"
15278 WIN16_FILES=""
15279 WIN16_INSTALL=""
15281 darwin*|macosx*)
15282 DLLEXT=".so"
15283 LIBEXT="dylib"
15284 DLLFLAGS="$DLLFLAGS -fPIC"
15285 LDDLLFLAGS="-bundle -multiply_defined suppress"
15286 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
15287 STRIP="$STRIP -u -r"
15288 COREFOUNDATIONLIB="-framework CoreFoundation"
15290 IOKITLIB="-framework IOKit -framework CoreFoundation"
15292 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15294 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15295 then
15296 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15299 case $host_cpu in
15300 *powerpc*)
15301 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15302 esac
15303 CFLAGS=`echo "$CFLAGS" | sed -e s/-O2/-O1/`
15306 DLLFLAGS="$DLLFLAGS -fPIC"
15307 DLLEXT=".so"
15308 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15309 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15310 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15311 echo $ECHO_N "(cached) $ECHO_C" >&6
15312 else
15313 ac_wine_try_cflags_saved=$CFLAGS
15314 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15315 cat >conftest.$ac_ext <<_ACEOF
15316 void myfunc() {}
15317 _ACEOF
15318 rm -f conftest.$ac_objext conftest$ac_exeext
15319 if { (ac_try="$ac_link"
15320 case "(($ac_try" in
15321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15322 *) ac_try_echo=$ac_try;;
15323 esac
15324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15325 (eval "$ac_link") 2>conftest.er1
15326 ac_status=$?
15327 grep -v '^ *+' conftest.er1 >conftest.err
15328 rm -f conftest.er1
15329 cat conftest.err >&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } &&
15332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15333 { (case "(($ac_try" in
15334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15335 *) ac_try_echo=$ac_try;;
15336 esac
15337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15338 (eval "$ac_try") 2>&5
15339 ac_status=$?
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try='test -s conftest$ac_exeext'
15343 { (case "(($ac_try" in
15344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15345 *) ac_try_echo=$ac_try;;
15346 esac
15347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15348 (eval "$ac_try") 2>&5
15349 ac_status=$?
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); }; }; then
15352 ac_cv_c_dll_gnuelf="yes"
15353 else
15354 echo "$as_me: failed program was:" >&5
15355 sed 's/^/| /' conftest.$ac_ext >&5
15357 ac_cv_c_dll_gnuelf="no"
15360 rm -f core conftest.err conftest.$ac_objext \
15361 conftest$ac_exeext conftest.$ac_ext
15362 CFLAGS=$ac_wine_try_cflags_saved
15364 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15365 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15366 if test "$ac_cv_c_dll_gnuelf" = "yes"
15367 then
15368 LDSHARED="\$(CC) -shared"
15369 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
15370 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
15371 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
15372 if test "${ac_cv_c_sonames+set}" = set; then
15373 echo $ECHO_N "(cached) $ECHO_C" >&6
15374 else
15375 ac_wine_try_cflags_saved=$CFLAGS
15376 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15377 cat >conftest.$ac_ext <<_ACEOF
15378 /* confdefs.h. */
15379 _ACEOF
15380 cat confdefs.h >>conftest.$ac_ext
15381 cat >>conftest.$ac_ext <<_ACEOF
15382 /* end confdefs.h. */
15385 main ()
15389 return 0;
15391 _ACEOF
15392 rm -f conftest.$ac_objext conftest$ac_exeext
15393 if { (ac_try="$ac_link"
15394 case "(($ac_try" in
15395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15396 *) ac_try_echo=$ac_try;;
15397 esac
15398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15399 (eval "$ac_link") 2>conftest.er1
15400 ac_status=$?
15401 grep -v '^ *+' conftest.er1 >conftest.err
15402 rm -f conftest.er1
15403 cat conftest.err >&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } &&
15406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15407 { (case "(($ac_try" in
15408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15409 *) ac_try_echo=$ac_try;;
15410 esac
15411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15412 (eval "$ac_try") 2>&5
15413 ac_status=$?
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; } &&
15416 { ac_try='test -s conftest$ac_exeext'
15417 { (case "(($ac_try" in
15418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15419 *) ac_try_echo=$ac_try;;
15420 esac
15421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15422 (eval "$ac_try") 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15426 ac_cv_c_sonames="yes"
15427 else
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15431 ac_cv_c_sonames="no"
15434 rm -f core conftest.err conftest.$ac_objext \
15435 conftest$ac_exeext conftest.$ac_ext
15436 CFLAGS=$ac_wine_try_cflags_saved
15438 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
15439 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
15440 if test "$ac_cv_c_sonames" = "yes"
15441 then
15442 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15443 else
15444 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
15445 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
15446 if test "${ac_cv_c_h_sonames+set}" = set; then
15447 echo $ECHO_N "(cached) $ECHO_C" >&6
15448 else
15449 ac_wine_try_cflags_saved=$CFLAGS
15450 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15451 cat >conftest.$ac_ext <<_ACEOF
15452 /* confdefs.h. */
15453 _ACEOF
15454 cat confdefs.h >>conftest.$ac_ext
15455 cat >>conftest.$ac_ext <<_ACEOF
15456 /* end confdefs.h. */
15459 main ()
15463 return 0;
15465 _ACEOF
15466 rm -f conftest.$ac_objext conftest$ac_exeext
15467 if { (ac_try="$ac_link"
15468 case "(($ac_try" in
15469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15470 *) ac_try_echo=$ac_try;;
15471 esac
15472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15473 (eval "$ac_link") 2>conftest.er1
15474 ac_status=$?
15475 grep -v '^ *+' conftest.er1 >conftest.err
15476 rm -f conftest.er1
15477 cat conftest.err >&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); } &&
15480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15481 { (case "(($ac_try" in
15482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15483 *) ac_try_echo=$ac_try;;
15484 esac
15485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15486 (eval "$ac_try") 2>&5
15487 ac_status=$?
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); }; } &&
15490 { ac_try='test -s conftest$ac_exeext'
15491 { (case "(($ac_try" in
15492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15493 *) ac_try_echo=$ac_try;;
15494 esac
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_try") 2>&5
15497 ac_status=$?
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15500 ac_cv_c_h_sonames="yes"
15501 else
15502 echo "$as_me: failed program was:" >&5
15503 sed 's/^/| /' conftest.$ac_ext >&5
15505 ac_cv_c_h_sonames="no"
15508 rm -f core conftest.err conftest.$ac_objext \
15509 conftest$ac_exeext conftest.$ac_ext
15510 CFLAGS=$ac_wine_try_cflags_saved
15512 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
15513 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
15514 if test "$ac_cv_c_h_sonames" = "yes"
15515 then
15516 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15520 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
15521 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
15522 if test "${ac_cv_c_dll_zdefs+set}" = set; then
15523 echo $ECHO_N "(cached) $ECHO_C" >&6
15524 else
15525 ac_wine_try_cflags_saved=$CFLAGS
15526 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15527 cat >conftest.$ac_ext <<_ACEOF
15528 /* confdefs.h. */
15529 _ACEOF
15530 cat confdefs.h >>conftest.$ac_ext
15531 cat >>conftest.$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15535 main ()
15539 return 0;
15541 _ACEOF
15542 rm -f conftest.$ac_objext conftest$ac_exeext
15543 if { (ac_try="$ac_link"
15544 case "(($ac_try" in
15545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15546 *) ac_try_echo=$ac_try;;
15547 esac
15548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15549 (eval "$ac_link") 2>conftest.er1
15550 ac_status=$?
15551 grep -v '^ *+' conftest.er1 >conftest.err
15552 rm -f conftest.er1
15553 cat conftest.err >&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } &&
15556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15557 { (case "(($ac_try" in
15558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15559 *) ac_try_echo=$ac_try;;
15560 esac
15561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15562 (eval "$ac_try") 2>&5
15563 ac_status=$?
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; } &&
15566 { ac_try='test -s conftest$ac_exeext'
15567 { (case "(($ac_try" in
15568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15569 *) ac_try_echo=$ac_try;;
15570 esac
15571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15572 (eval "$ac_try") 2>&5
15573 ac_status=$?
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); }; }; then
15576 ac_cv_c_dll_zdefs="yes"
15577 else
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.$ac_ext >&5
15581 ac_cv_c_dll_zdefs="no"
15584 rm -f core conftest.err conftest.$ac_objext \
15585 conftest$ac_exeext conftest.$ac_ext
15586 CFLAGS=$ac_wine_try_cflags_saved
15588 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
15589 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
15590 if test "$ac_cv_c_dll_zdefs" = "yes"
15591 then
15592 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15595 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
15596 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
15597 if test "${ac_cv_c_dll_init_fini+set}" = set; then
15598 echo $ECHO_N "(cached) $ECHO_C" >&6
15599 else
15600 ac_wine_try_cflags_saved=$CFLAGS
15601 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15602 cat >conftest.$ac_ext <<_ACEOF
15603 /* confdefs.h. */
15604 _ACEOF
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15610 main ()
15614 return 0;
15616 _ACEOF
15617 rm -f conftest.$ac_objext conftest$ac_exeext
15618 if { (ac_try="$ac_link"
15619 case "(($ac_try" in
15620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15621 *) ac_try_echo=$ac_try;;
15622 esac
15623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15624 (eval "$ac_link") 2>conftest.er1
15625 ac_status=$?
15626 grep -v '^ *+' conftest.er1 >conftest.err
15627 rm -f conftest.er1
15628 cat conftest.err >&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); } &&
15631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15632 { (case "(($ac_try" in
15633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15634 *) ac_try_echo=$ac_try;;
15635 esac
15636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15637 (eval "$ac_try") 2>&5
15638 ac_status=$?
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; } &&
15641 { ac_try='test -s conftest$ac_exeext'
15642 { (case "(($ac_try" in
15643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15644 *) ac_try_echo=$ac_try;;
15645 esac
15646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15647 (eval "$ac_try") 2>&5
15648 ac_status=$?
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); }; }; then
15651 ac_cv_c_dll_init_fini="yes"
15652 else
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.$ac_ext >&5
15656 ac_cv_c_dll_init_fini="no"
15659 rm -f core conftest.err conftest.$ac_objext \
15660 conftest$ac_exeext conftest.$ac_ext
15661 CFLAGS=$ac_wine_try_cflags_saved
15663 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
15664 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
15665 if test "$ac_cv_c_dll_init_fini" = "yes"
15666 then
15667 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15670 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
15671 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
15672 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
15673 echo $ECHO_N "(cached) $ECHO_C" >&6
15674 else
15675 echo '{ global: *; };' >conftest.map
15676 ac_wine_try_cflags_saved=$CFLAGS
15677 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15678 cat >conftest.$ac_ext <<_ACEOF
15679 /* confdefs.h. */
15680 _ACEOF
15681 cat confdefs.h >>conftest.$ac_ext
15682 cat >>conftest.$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15686 main ()
15690 return 0;
15692 _ACEOF
15693 rm -f conftest.$ac_objext conftest$ac_exeext
15694 if { (ac_try="$ac_link"
15695 case "(($ac_try" in
15696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15697 *) ac_try_echo=$ac_try;;
15698 esac
15699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15700 (eval "$ac_link") 2>conftest.er1
15701 ac_status=$?
15702 grep -v '^ *+' conftest.er1 >conftest.err
15703 rm -f conftest.er1
15704 cat conftest.err >&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } &&
15707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15708 { (case "(($ac_try" in
15709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15710 *) ac_try_echo=$ac_try;;
15711 esac
15712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15713 (eval "$ac_try") 2>&5
15714 ac_status=$?
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; } &&
15717 { ac_try='test -s conftest$ac_exeext'
15718 { (case "(($ac_try" in
15719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15720 *) ac_try_echo=$ac_try;;
15721 esac
15722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15723 (eval "$ac_try") 2>&5
15724 ac_status=$?
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); }; }; then
15727 ac_cv_c_ld_version_scripts="yes"
15728 else
15729 echo "$as_me: failed program was:" >&5
15730 sed 's/^/| /' conftest.$ac_ext >&5
15732 ac_cv_c_ld_version_scripts="no"
15735 rm -f core conftest.err conftest.$ac_objext \
15736 conftest$ac_exeext conftest.$ac_ext
15737 CFLAGS=$ac_wine_try_cflags_saved
15738 rm -f conftest.map
15740 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
15741 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
15742 if test "$ac_cv_c_ld_version_scripts" = "yes"
15743 then
15744 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15747 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
15748 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
15749 if test "${ac_cv_c_export_dynamic+set}" = set; then
15750 echo $ECHO_N "(cached) $ECHO_C" >&6
15751 else
15752 ac_wine_try_cflags_saved=$CFLAGS
15753 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15754 cat >conftest.$ac_ext <<_ACEOF
15755 /* confdefs.h. */
15756 _ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15762 main ()
15766 return 0;
15768 _ACEOF
15769 rm -f conftest.$ac_objext conftest$ac_exeext
15770 if { (ac_try="$ac_link"
15771 case "(($ac_try" in
15772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15773 *) ac_try_echo=$ac_try;;
15774 esac
15775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15776 (eval "$ac_link") 2>conftest.er1
15777 ac_status=$?
15778 grep -v '^ *+' conftest.er1 >conftest.err
15779 rm -f conftest.er1
15780 cat conftest.err >&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } &&
15783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15784 { (case "(($ac_try" in
15785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15786 *) ac_try_echo=$ac_try;;
15787 esac
15788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15789 (eval "$ac_try") 2>&5
15790 ac_status=$?
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; } &&
15793 { ac_try='test -s conftest$ac_exeext'
15794 { (case "(($ac_try" in
15795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15796 *) ac_try_echo=$ac_try;;
15797 esac
15798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15799 (eval "$ac_try") 2>&5
15800 ac_status=$?
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); }; }; then
15803 ac_cv_c_export_dynamic="yes"
15804 else
15805 echo "$as_me: failed program was:" >&5
15806 sed 's/^/| /' conftest.$ac_ext >&5
15808 ac_cv_c_export_dynamic="no"
15811 rm -f core conftest.err conftest.$ac_objext \
15812 conftest$ac_exeext conftest.$ac_ext
15813 CFLAGS=$ac_wine_try_cflags_saved
15815 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
15816 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
15817 if test "$ac_cv_c_export_dynamic" = "yes"
15818 then
15819 LDEXECFLAGS="-Wl,--export-dynamic"
15823 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
15824 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
15825 if test "${ac_cv_ld_rpath+set}" = set; then
15826 echo $ECHO_N "(cached) $ECHO_C" >&6
15827 else
15828 ac_wine_try_cflags_saved=$CFLAGS
15829 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15830 cat >conftest.$ac_ext <<_ACEOF
15831 /* confdefs.h. */
15832 _ACEOF
15833 cat confdefs.h >>conftest.$ac_ext
15834 cat >>conftest.$ac_ext <<_ACEOF
15835 /* end confdefs.h. */
15838 main ()
15842 return 0;
15844 _ACEOF
15845 rm -f conftest.$ac_objext conftest$ac_exeext
15846 if { (ac_try="$ac_link"
15847 case "(($ac_try" in
15848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15849 *) ac_try_echo=$ac_try;;
15850 esac
15851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15852 (eval "$ac_link") 2>conftest.er1
15853 ac_status=$?
15854 grep -v '^ *+' conftest.er1 >conftest.err
15855 rm -f conftest.er1
15856 cat conftest.err >&5
15857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15858 (exit $ac_status); } &&
15859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15860 { (case "(($ac_try" in
15861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15862 *) ac_try_echo=$ac_try;;
15863 esac
15864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15865 (eval "$ac_try") 2>&5
15866 ac_status=$?
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); }; } &&
15869 { ac_try='test -s conftest$ac_exeext'
15870 { (case "(($ac_try" in
15871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15872 *) ac_try_echo=$ac_try;;
15873 esac
15874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15875 (eval "$ac_try") 2>&5
15876 ac_status=$?
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; }; then
15879 ac_cv_ld_rpath="yes"
15880 else
15881 echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.$ac_ext >&5
15884 ac_cv_ld_rpath="no"
15887 rm -f core conftest.err conftest.$ac_objext \
15888 conftest$ac_exeext conftest.$ac_ext
15889 CFLAGS=$ac_wine_try_cflags_saved
15891 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
15892 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
15893 if test "$ac_cv_ld_rpath" = "yes"
15894 then
15895 LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
15897 LDDLLRPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
15901 case $host_cpu in
15902 *i[3456789]86* | x86_64)
15903 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
15904 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
15905 if test "${ac_cv_ld_reloc_exec+set}" = set; then
15906 echo $ECHO_N "(cached) $ECHO_C" >&6
15907 else
15908 ac_wine_try_cflags_saved=$CFLAGS
15909 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15910 cat >conftest.$ac_ext <<_ACEOF
15911 /* confdefs.h. */
15912 _ACEOF
15913 cat confdefs.h >>conftest.$ac_ext
15914 cat >>conftest.$ac_ext <<_ACEOF
15915 /* end confdefs.h. */
15918 main ()
15922 return 0;
15924 _ACEOF
15925 rm -f conftest.$ac_objext conftest$ac_exeext
15926 if { (ac_try="$ac_link"
15927 case "(($ac_try" in
15928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15929 *) ac_try_echo=$ac_try;;
15930 esac
15931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15932 (eval "$ac_link") 2>conftest.er1
15933 ac_status=$?
15934 grep -v '^ *+' conftest.er1 >conftest.err
15935 rm -f conftest.er1
15936 cat conftest.err >&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); } &&
15939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15940 { (case "(($ac_try" in
15941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15942 *) ac_try_echo=$ac_try;;
15943 esac
15944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15945 (eval "$ac_try") 2>&5
15946 ac_status=$?
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; } &&
15949 { ac_try='test -s conftest$ac_exeext'
15950 { (case "(($ac_try" in
15951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15952 *) ac_try_echo=$ac_try;;
15953 esac
15954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15955 (eval "$ac_try") 2>&5
15956 ac_status=$?
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; }; then
15959 ac_cv_ld_reloc_exec="yes"
15960 else
15961 echo "$as_me: failed program was:" >&5
15962 sed 's/^/| /' conftest.$ac_ext >&5
15964 ac_cv_ld_reloc_exec="no"
15967 rm -f core conftest.err conftest.$ac_objext \
15968 conftest$ac_exeext conftest.$ac_ext
15969 CFLAGS=$ac_wine_try_cflags_saved
15971 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
15972 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
15973 if test "$ac_cv_ld_reloc_exec" = "yes"
15974 then
15975 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
15978 esac
15980 else
15981 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
15982 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
15983 if test "${ac_cv_c_dll_unixware+set}" = set; then
15984 echo $ECHO_N "(cached) $ECHO_C" >&6
15985 else
15986 ac_wine_try_cflags_saved=$CFLAGS
15987 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
15988 cat >conftest.$ac_ext <<_ACEOF
15989 void myfunc() {}
15990 _ACEOF
15991 rm -f conftest.$ac_objext conftest$ac_exeext
15992 if { (ac_try="$ac_link"
15993 case "(($ac_try" in
15994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15995 *) ac_try_echo=$ac_try;;
15996 esac
15997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15998 (eval "$ac_link") 2>conftest.er1
15999 ac_status=$?
16000 grep -v '^ *+' conftest.er1 >conftest.err
16001 rm -f conftest.er1
16002 cat conftest.err >&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } &&
16005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16006 { (case "(($ac_try" in
16007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16008 *) ac_try_echo=$ac_try;;
16009 esac
16010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16011 (eval "$ac_try") 2>&5
16012 ac_status=$?
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); }; } &&
16015 { ac_try='test -s conftest$ac_exeext'
16016 { (case "(($ac_try" in
16017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16018 *) ac_try_echo=$ac_try;;
16019 esac
16020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16021 (eval "$ac_try") 2>&5
16022 ac_status=$?
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; }; then
16025 ac_cv_c_dll_unixware="yes"
16026 else
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16030 ac_cv_c_dll_unixware="no"
16033 rm -f core conftest.err conftest.$ac_objext \
16034 conftest$ac_exeext conftest.$ac_ext
16035 CFLAGS=$ac_wine_try_cflags_saved
16037 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16038 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16039 if test "$ac_cv_c_dll_unixware" = "yes"
16040 then
16041 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16042 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16044 else
16045 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16046 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16047 if test "${ac_cv_c_dll_hpux+set}" = set; then
16048 echo $ECHO_N "(cached) $ECHO_C" >&6
16049 else
16050 ac_wine_try_cflags_saved=$CFLAGS
16051 CFLAGS="$CFLAGS -shared"
16052 cat >conftest.$ac_ext <<_ACEOF
16053 void myfunc() {}
16054 _ACEOF
16055 rm -f conftest.$ac_objext conftest$ac_exeext
16056 if { (ac_try="$ac_link"
16057 case "(($ac_try" in
16058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16059 *) ac_try_echo=$ac_try;;
16060 esac
16061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16062 (eval "$ac_link") 2>conftest.er1
16063 ac_status=$?
16064 grep -v '^ *+' conftest.er1 >conftest.err
16065 rm -f conftest.er1
16066 cat conftest.err >&5
16067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16068 (exit $ac_status); } &&
16069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16070 { (case "(($ac_try" in
16071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16072 *) ac_try_echo=$ac_try;;
16073 esac
16074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16075 (eval "$ac_try") 2>&5
16076 ac_status=$?
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); }; } &&
16079 { ac_try='test -s conftest$ac_exeext'
16080 { (case "(($ac_try" in
16081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16082 *) ac_try_echo=$ac_try;;
16083 esac
16084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16085 (eval "$ac_try") 2>&5
16086 ac_status=$?
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); }; }; then
16089 ac_cv_c_dll_hpux="yes"
16090 else
16091 echo "$as_me: failed program was:" >&5
16092 sed 's/^/| /' conftest.$ac_ext >&5
16094 ac_cv_c_dll_hpux="no"
16097 rm -f core conftest.err conftest.$ac_objext \
16098 conftest$ac_exeext conftest.$ac_ext
16099 CFLAGS=$ac_wine_try_cflags_saved
16101 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16102 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16103 if test "$ac_cv_c_dll_hpux" = "yes"
16104 then
16105 LIBEXT="sl"
16106 DLLEXT=".sl"
16107 LDDLLFLAGS="-shared -fPIC"
16108 LDSHARED="\$(CC) -shared"
16113 CROSSTEST=""
16115 if test "$cross_compiling" = "no"
16116 then
16117 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
16119 # Extract the first word of "$ac_prog", so it can be a program name with args.
16120 set dummy $ac_prog; ac_word=$2
16121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16123 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16124 echo $ECHO_N "(cached) $ECHO_C" >&6
16125 else
16126 if test -n "$CROSSCC"; then
16127 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
16128 else
16129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16130 for as_dir in $PATH
16132 IFS=$as_save_IFS
16133 test -z "$as_dir" && as_dir=.
16134 for ac_exec_ext in '' $ac_executable_extensions; do
16135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16136 ac_cv_prog_CROSSCC="$ac_prog"
16137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16138 break 2
16140 done
16141 done
16142 IFS=$as_save_IFS
16146 CROSSCC=$ac_cv_prog_CROSSCC
16147 if test -n "$CROSSCC"; then
16148 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16149 echo "${ECHO_T}$CROSSCC" >&6; }
16150 else
16151 { echo "$as_me:$LINENO: result: no" >&5
16152 echo "${ECHO_T}no" >&6; }
16156 test -n "$CROSSCC" && break
16157 done
16158 test -n "$CROSSCC" || CROSSCC="false"
16160 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
16162 # Extract the first word of "$ac_prog", so it can be a program name with args.
16163 set dummy $ac_prog; ac_word=$2
16164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16166 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16167 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 else
16169 if test -n "$DLLTOOL"; then
16170 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16171 else
16172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16173 for as_dir in $PATH
16175 IFS=$as_save_IFS
16176 test -z "$as_dir" && as_dir=.
16177 for ac_exec_ext in '' $ac_executable_extensions; do
16178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16179 ac_cv_prog_DLLTOOL="$ac_prog"
16180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16181 break 2
16183 done
16184 done
16185 IFS=$as_save_IFS
16189 DLLTOOL=$ac_cv_prog_DLLTOOL
16190 if test -n "$DLLTOOL"; then
16191 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16192 echo "${ECHO_T}$DLLTOOL" >&6; }
16193 else
16194 { echo "$as_me:$LINENO: result: no" >&5
16195 echo "${ECHO_T}no" >&6; }
16199 test -n "$DLLTOOL" && break
16200 done
16201 test -n "$DLLTOOL" || DLLTOOL="false"
16203 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
16205 # Extract the first word of "$ac_prog", so it can be a program name with args.
16206 set dummy $ac_prog; ac_word=$2
16207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16209 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16210 echo $ECHO_N "(cached) $ECHO_C" >&6
16211 else
16212 if test -n "$CROSSWINDRES"; then
16213 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
16214 else
16215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16216 for as_dir in $PATH
16218 IFS=$as_save_IFS
16219 test -z "$as_dir" && as_dir=.
16220 for ac_exec_ext in '' $ac_executable_extensions; do
16221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16222 ac_cv_prog_CROSSWINDRES="$ac_prog"
16223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16224 break 2
16226 done
16227 done
16228 IFS=$as_save_IFS
16232 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
16233 if test -n "$CROSSWINDRES"; then
16234 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16235 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16236 else
16237 { echo "$as_me:$LINENO: result: no" >&5
16238 echo "${ECHO_T}no" >&6; }
16242 test -n "$CROSSWINDRES" && break
16243 done
16244 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
16246 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
16249 esac
16251 if test "$LIBEXT" = "a"; then
16252 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16253 It is currently not possible to build Wine without shared library
16254 (.so) support to allow transparent switch between .so and .dll files.
16255 If you are using Linux, you will need a newer binutils.
16256 " >&5
16257 echo "$as_me: error: could not find a way to build shared libraries.
16258 It is currently not possible to build Wine without shared library
16259 (.so) support to allow transparent switch between .so and .dll files.
16260 If you are using Linux, you will need a newer binutils.
16261 " >&2;}
16262 { (exit 1); exit 1; }; }
16265 case $build_os in
16266 cygwin*|mingw32*)
16267 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16269 darwin*|macosx*)
16270 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16273 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16275 esac
16277 case $host_os in
16278 mingw32*)
16279 CRTLIBS="-lmsvcrt"
16281 SOCKETLIBS="-lws2_32"
16284 esac
16286 MAIN_BINARY="wine-pthread"
16287 case $host_cpu in
16288 *i[3456789]86*)
16289 case $host_os in
16290 linux* | k*bsd*-gnu)
16291 MAIN_BINARY="wine-glibc"
16293 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16295 esac
16297 esac
16300 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16301 then
16302 # Extract the first word of "ldd", so it can be a program name with args.
16303 set dummy ldd; ac_word=$2
16304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16306 if test "${ac_cv_path_LDD+set}" = set; then
16307 echo $ECHO_N "(cached) $ECHO_C" >&6
16308 else
16309 case $LDD in
16310 [\\/]* | ?:[\\/]*)
16311 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
16314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16315 as_dummy="/sbin:/usr/sbin:$PATH"
16316 for as_dir in $as_dummy
16318 IFS=$as_save_IFS
16319 test -z "$as_dir" && as_dir=.
16320 for ac_exec_ext in '' $ac_executable_extensions; do
16321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16322 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
16323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16324 break 2
16326 done
16327 done
16328 IFS=$as_save_IFS
16330 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
16332 esac
16334 LDD=$ac_cv_path_LDD
16335 if test -n "$LDD"; then
16336 { echo "$as_me:$LINENO: result: $LDD" >&5
16337 echo "${ECHO_T}$LDD" >&6; }
16338 else
16339 { echo "$as_me:$LINENO: result: no" >&5
16340 echo "${ECHO_T}no" >&6; }
16344 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16345 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16346 if test "${ac_cv_lib_soname_X11+set}" = set; then
16347 echo $ECHO_N "(cached) $ECHO_C" >&6
16348 else
16349 ac_get_soname_save_LIBS=$LIBS
16350 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16351 cat >conftest.$ac_ext <<_ACEOF
16352 /* confdefs.h. */
16353 _ACEOF
16354 cat confdefs.h >>conftest.$ac_ext
16355 cat >>conftest.$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16358 /* Override any GCC internal prototype to avoid an error.
16359 Use char because int might match the return type of a GCC
16360 builtin and then its argument prototype would still apply. */
16361 #ifdef __cplusplus
16362 extern "C"
16363 #endif
16364 char XCreateWindow ();
16366 main ()
16368 return XCreateWindow ();
16370 return 0;
16372 _ACEOF
16373 rm -f conftest.$ac_objext conftest$ac_exeext
16374 if { (ac_try="$ac_link"
16375 case "(($ac_try" in
16376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16377 *) ac_try_echo=$ac_try;;
16378 esac
16379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16380 (eval "$ac_link") 2>conftest.er1
16381 ac_status=$?
16382 grep -v '^ *+' conftest.er1 >conftest.err
16383 rm -f conftest.er1
16384 cat conftest.err >&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16388 { (case "(($ac_try" in
16389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16390 *) ac_try_echo=$ac_try;;
16391 esac
16392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16393 (eval "$ac_try") 2>&5
16394 ac_status=$?
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); }; } &&
16397 { ac_try='test -s conftest$ac_exeext'
16398 { (case "(($ac_try" in
16399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16400 *) ac_try_echo=$ac_try;;
16401 esac
16402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16403 (eval "$ac_try") 2>&5
16404 ac_status=$?
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); }; }; then
16407 case "$LIBEXT" in
16408 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'` ;;
16409 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16410 esac
16411 if test "x$ac_cv_lib_soname_X11" = "x"
16412 then
16413 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16415 else
16416 echo "$as_me: failed program was:" >&5
16417 sed 's/^/| /' conftest.$ac_ext >&5
16419 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16422 rm -f core conftest.err conftest.$ac_objext \
16423 conftest$ac_exeext conftest.$ac_ext
16424 LIBS=$ac_get_soname_save_LIBS
16426 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16427 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16428 if test "${ac_cv_lib_soname_X11+set}" = set; then
16430 cat >>confdefs.h <<_ACEOF
16431 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16432 _ACEOF
16436 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16437 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16438 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16439 echo $ECHO_N "(cached) $ECHO_C" >&6
16440 else
16441 ac_get_soname_save_LIBS=$LIBS
16442 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16443 cat >conftest.$ac_ext <<_ACEOF
16444 /* confdefs.h. */
16445 _ACEOF
16446 cat confdefs.h >>conftest.$ac_ext
16447 cat >>conftest.$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16450 /* Override any GCC internal prototype to avoid an error.
16451 Use char because int might match the return type of a GCC
16452 builtin and then its argument prototype would still apply. */
16453 #ifdef __cplusplus
16454 extern "C"
16455 #endif
16456 char XextCreateExtension ();
16458 main ()
16460 return XextCreateExtension ();
16462 return 0;
16464 _ACEOF
16465 rm -f conftest.$ac_objext conftest$ac_exeext
16466 if { (ac_try="$ac_link"
16467 case "(($ac_try" in
16468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16469 *) ac_try_echo=$ac_try;;
16470 esac
16471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16472 (eval "$ac_link") 2>conftest.er1
16473 ac_status=$?
16474 grep -v '^ *+' conftest.er1 >conftest.err
16475 rm -f conftest.er1
16476 cat conftest.err >&5
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); } &&
16479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16480 { (case "(($ac_try" in
16481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16482 *) ac_try_echo=$ac_try;;
16483 esac
16484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16485 (eval "$ac_try") 2>&5
16486 ac_status=$?
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); }; } &&
16489 { ac_try='test -s conftest$ac_exeext'
16490 { (case "(($ac_try" in
16491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16492 *) ac_try_echo=$ac_try;;
16493 esac
16494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16495 (eval "$ac_try") 2>&5
16496 ac_status=$?
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); }; }; then
16499 case "$LIBEXT" in
16500 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'` ;;
16501 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16502 esac
16503 if test "x$ac_cv_lib_soname_Xext" = "x"
16504 then
16505 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16507 else
16508 echo "$as_me: failed program was:" >&5
16509 sed 's/^/| /' conftest.$ac_ext >&5
16511 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16514 rm -f core conftest.err conftest.$ac_objext \
16515 conftest$ac_exeext conftest.$ac_ext
16516 LIBS=$ac_get_soname_save_LIBS
16518 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16519 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16520 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16522 cat >>confdefs.h <<_ACEOF
16523 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16524 _ACEOF
16528 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16529 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16530 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16531 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 else
16533 ac_get_soname_save_LIBS=$LIBS
16534 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16535 cat >conftest.$ac_ext <<_ACEOF
16536 /* confdefs.h. */
16537 _ACEOF
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16542 /* Override any GCC internal prototype to avoid an error.
16543 Use char because int might match the return type of a GCC
16544 builtin and then its argument prototype would still apply. */
16545 #ifdef __cplusplus
16546 extern "C"
16547 #endif
16548 char XOpenDevice ();
16550 main ()
16552 return XOpenDevice ();
16554 return 0;
16556 _ACEOF
16557 rm -f conftest.$ac_objext conftest$ac_exeext
16558 if { (ac_try="$ac_link"
16559 case "(($ac_try" in
16560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16561 *) ac_try_echo=$ac_try;;
16562 esac
16563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16564 (eval "$ac_link") 2>conftest.er1
16565 ac_status=$?
16566 grep -v '^ *+' conftest.er1 >conftest.err
16567 rm -f conftest.er1
16568 cat conftest.err >&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); } &&
16571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16572 { (case "(($ac_try" in
16573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16574 *) ac_try_echo=$ac_try;;
16575 esac
16576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16577 (eval "$ac_try") 2>&5
16578 ac_status=$?
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); }; } &&
16581 { ac_try='test -s conftest$ac_exeext'
16582 { (case "(($ac_try" in
16583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16584 *) ac_try_echo=$ac_try;;
16585 esac
16586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16587 (eval "$ac_try") 2>&5
16588 ac_status=$?
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; }; then
16591 case "$LIBEXT" in
16592 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'` ;;
16593 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16594 esac
16595 if test "x$ac_cv_lib_soname_Xi" = "x"
16596 then
16597 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16599 else
16600 echo "$as_me: failed program was:" >&5
16601 sed 's/^/| /' conftest.$ac_ext >&5
16603 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16606 rm -f core conftest.err conftest.$ac_objext \
16607 conftest$ac_exeext conftest.$ac_ext
16608 LIBS=$ac_get_soname_save_LIBS
16610 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16611 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16612 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16614 cat >>confdefs.h <<_ACEOF
16615 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16616 _ACEOF
16620 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16621 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16622 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16623 echo $ECHO_N "(cached) $ECHO_C" >&6
16624 else
16625 ac_get_soname_save_LIBS=$LIBS
16626 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16627 cat >conftest.$ac_ext <<_ACEOF
16628 /* confdefs.h. */
16629 _ACEOF
16630 cat confdefs.h >>conftest.$ac_ext
16631 cat >>conftest.$ac_ext <<_ACEOF
16632 /* end confdefs.h. */
16634 /* Override any GCC internal prototype to avoid an error.
16635 Use char because int might match the return type of a GCC
16636 builtin and then its argument prototype would still apply. */
16637 #ifdef __cplusplus
16638 extern "C"
16639 #endif
16640 char XRenderQueryExtension ();
16642 main ()
16644 return XRenderQueryExtension ();
16646 return 0;
16648 _ACEOF
16649 rm -f conftest.$ac_objext conftest$ac_exeext
16650 if { (ac_try="$ac_link"
16651 case "(($ac_try" in
16652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16653 *) ac_try_echo=$ac_try;;
16654 esac
16655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16656 (eval "$ac_link") 2>conftest.er1
16657 ac_status=$?
16658 grep -v '^ *+' conftest.er1 >conftest.err
16659 rm -f conftest.er1
16660 cat conftest.err >&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); } &&
16663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16664 { (case "(($ac_try" in
16665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16666 *) ac_try_echo=$ac_try;;
16667 esac
16668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16669 (eval "$ac_try") 2>&5
16670 ac_status=$?
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; } &&
16673 { ac_try='test -s conftest$ac_exeext'
16674 { (case "(($ac_try" in
16675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16677 esac
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_try") 2>&5
16680 ac_status=$?
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; }; then
16683 case "$LIBEXT" in
16684 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'` ;;
16685 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16686 esac
16687 if test "x$ac_cv_lib_soname_Xrender" = "x"
16688 then
16689 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16691 else
16692 echo "$as_me: failed program was:" >&5
16693 sed 's/^/| /' conftest.$ac_ext >&5
16695 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16698 rm -f core conftest.err conftest.$ac_objext \
16699 conftest$ac_exeext conftest.$ac_ext
16700 LIBS=$ac_get_soname_save_LIBS
16702 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16703 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16704 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16706 cat >>confdefs.h <<_ACEOF
16707 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16708 _ACEOF
16712 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16713 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16714 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16715 echo $ECHO_N "(cached) $ECHO_C" >&6
16716 else
16717 ac_get_soname_save_LIBS=$LIBS
16718 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16719 cat >conftest.$ac_ext <<_ACEOF
16720 /* confdefs.h. */
16721 _ACEOF
16722 cat confdefs.h >>conftest.$ac_ext
16723 cat >>conftest.$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16726 /* Override any GCC internal prototype to avoid an error.
16727 Use char because int might match the return type of a GCC
16728 builtin and then its argument prototype would still apply. */
16729 #ifdef __cplusplus
16730 extern "C"
16731 #endif
16732 char XRRQueryExtension ();
16734 main ()
16736 return XRRQueryExtension ();
16738 return 0;
16740 _ACEOF
16741 rm -f conftest.$ac_objext conftest$ac_exeext
16742 if { (ac_try="$ac_link"
16743 case "(($ac_try" in
16744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16745 *) ac_try_echo=$ac_try;;
16746 esac
16747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16748 (eval "$ac_link") 2>conftest.er1
16749 ac_status=$?
16750 grep -v '^ *+' conftest.er1 >conftest.err
16751 rm -f conftest.er1
16752 cat conftest.err >&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } &&
16755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16756 { (case "(($ac_try" in
16757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16758 *) ac_try_echo=$ac_try;;
16759 esac
16760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16761 (eval "$ac_try") 2>&5
16762 ac_status=$?
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; } &&
16765 { ac_try='test -s conftest$ac_exeext'
16766 { (case "(($ac_try" in
16767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16768 *) ac_try_echo=$ac_try;;
16769 esac
16770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16771 (eval "$ac_try") 2>&5
16772 ac_status=$?
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; }; then
16775 case "$LIBEXT" in
16776 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'` ;;
16777 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16778 esac
16779 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16780 then
16781 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16783 else
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16787 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16790 rm -f core conftest.err conftest.$ac_objext \
16791 conftest$ac_exeext conftest.$ac_ext
16792 LIBS=$ac_get_soname_save_LIBS
16794 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16795 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16796 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16798 cat >>confdefs.h <<_ACEOF
16799 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16800 _ACEOF
16804 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16805 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16806 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16807 echo $ECHO_N "(cached) $ECHO_C" >&6
16808 else
16809 ac_get_soname_save_LIBS=$LIBS
16810 LIBS="-lfreetype $X_LIBS $LIBS"
16811 cat >conftest.$ac_ext <<_ACEOF
16812 /* confdefs.h. */
16813 _ACEOF
16814 cat confdefs.h >>conftest.$ac_ext
16815 cat >>conftest.$ac_ext <<_ACEOF
16816 /* end confdefs.h. */
16818 /* Override any GCC internal prototype to avoid an error.
16819 Use char because int might match the return type of a GCC
16820 builtin and then its argument prototype would still apply. */
16821 #ifdef __cplusplus
16822 extern "C"
16823 #endif
16824 char FT_Init_FreeType ();
16826 main ()
16828 return FT_Init_FreeType ();
16830 return 0;
16832 _ACEOF
16833 rm -f conftest.$ac_objext conftest$ac_exeext
16834 if { (ac_try="$ac_link"
16835 case "(($ac_try" in
16836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16837 *) ac_try_echo=$ac_try;;
16838 esac
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_link") 2>conftest.er1
16841 ac_status=$?
16842 grep -v '^ *+' conftest.er1 >conftest.err
16843 rm -f conftest.er1
16844 cat conftest.err >&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } &&
16847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16848 { (case "(($ac_try" in
16849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16850 *) ac_try_echo=$ac_try;;
16851 esac
16852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_try") 2>&5
16854 ac_status=$?
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); }; } &&
16857 { ac_try='test -s conftest$ac_exeext'
16858 { (case "(($ac_try" in
16859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16860 *) ac_try_echo=$ac_try;;
16861 esac
16862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16863 (eval "$ac_try") 2>&5
16864 ac_status=$?
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; }; then
16867 case "$LIBEXT" in
16868 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'` ;;
16869 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16870 esac
16871 if test "x$ac_cv_lib_soname_freetype" = "x"
16872 then
16873 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16875 else
16876 echo "$as_me: failed program was:" >&5
16877 sed 's/^/| /' conftest.$ac_ext >&5
16879 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16884 LIBS=$ac_get_soname_save_LIBS
16886 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
16887 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
16888 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16890 cat >>confdefs.h <<_ACEOF
16891 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
16892 _ACEOF
16896 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
16897 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
16898 if test "${ac_cv_lib_soname_GL+set}" = set; then
16899 echo $ECHO_N "(cached) $ECHO_C" >&6
16900 else
16901 ac_get_soname_save_LIBS=$LIBS
16902 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
16903 cat >conftest.$ac_ext <<_ACEOF
16904 /* confdefs.h. */
16905 _ACEOF
16906 cat confdefs.h >>conftest.$ac_ext
16907 cat >>conftest.$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16910 /* Override any GCC internal prototype to avoid an error.
16911 Use char because int might match the return type of a GCC
16912 builtin and then its argument prototype would still apply. */
16913 #ifdef __cplusplus
16914 extern "C"
16915 #endif
16916 char glXQueryExtension ();
16918 main ()
16920 return glXQueryExtension ();
16922 return 0;
16924 _ACEOF
16925 rm -f conftest.$ac_objext conftest$ac_exeext
16926 if { (ac_try="$ac_link"
16927 case "(($ac_try" in
16928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16929 *) ac_try_echo=$ac_try;;
16930 esac
16931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16932 (eval "$ac_link") 2>conftest.er1
16933 ac_status=$?
16934 grep -v '^ *+' conftest.er1 >conftest.err
16935 rm -f conftest.er1
16936 cat conftest.err >&5
16937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16938 (exit $ac_status); } &&
16939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16940 { (case "(($ac_try" in
16941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16942 *) ac_try_echo=$ac_try;;
16943 esac
16944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16945 (eval "$ac_try") 2>&5
16946 ac_status=$?
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; } &&
16949 { ac_try='test -s conftest$ac_exeext'
16950 { (case "(($ac_try" in
16951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16952 *) ac_try_echo=$ac_try;;
16953 esac
16954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16955 (eval "$ac_try") 2>&5
16956 ac_status=$?
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); }; }; then
16959 case "$LIBEXT" in
16960 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'` ;;
16961 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16962 esac
16963 if test "x$ac_cv_lib_soname_GL" = "x"
16964 then
16965 ac_cv_lib_soname_GL="libGL.$LIBEXT"
16967 else
16968 echo "$as_me: failed program was:" >&5
16969 sed 's/^/| /' conftest.$ac_ext >&5
16971 ac_cv_lib_soname_GL="libGL.$LIBEXT"
16974 rm -f core conftest.err conftest.$ac_objext \
16975 conftest$ac_exeext conftest.$ac_ext
16976 LIBS=$ac_get_soname_save_LIBS
16978 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
16979 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
16980 if test "${ac_cv_lib_soname_GL+set}" = set; then
16982 cat >>confdefs.h <<_ACEOF
16983 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
16984 _ACEOF
16988 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
16989 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
16990 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 else
16993 ac_get_soname_save_LIBS=$LIBS
16994 LIBS="-ldbus-1 $LIBS"
16995 cat >conftest.$ac_ext <<_ACEOF
16996 /* confdefs.h. */
16997 _ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17002 /* Override any GCC internal prototype to avoid an error.
17003 Use char because int might match the return type of a GCC
17004 builtin and then its argument prototype would still apply. */
17005 #ifdef __cplusplus
17006 extern "C"
17007 #endif
17008 char dbus_error_init ();
17010 main ()
17012 return dbus_error_init ();
17014 return 0;
17016 _ACEOF
17017 rm -f conftest.$ac_objext conftest$ac_exeext
17018 if { (ac_try="$ac_link"
17019 case "(($ac_try" in
17020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17021 *) ac_try_echo=$ac_try;;
17022 esac
17023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17024 (eval "$ac_link") 2>conftest.er1
17025 ac_status=$?
17026 grep -v '^ *+' conftest.er1 >conftest.err
17027 rm -f conftest.er1
17028 cat conftest.err >&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); } &&
17031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17032 { (case "(($ac_try" in
17033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17034 *) ac_try_echo=$ac_try;;
17035 esac
17036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17037 (eval "$ac_try") 2>&5
17038 ac_status=$?
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; } &&
17041 { ac_try='test -s conftest$ac_exeext'
17042 { (case "(($ac_try" in
17043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17044 *) ac_try_echo=$ac_try;;
17045 esac
17046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17047 (eval "$ac_try") 2>&5
17048 ac_status=$?
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); }; }; then
17051 case "$LIBEXT" in
17052 dylib) ac_cv_lib_soname_dbus_1=`otool -L conftest$ac_exeext | grep libdbus-1\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17053 so) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest$ac_exeext | grep libdbus-1\\.so | sed -e "s/^.*\(libdbus-1\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17054 esac
17055 if test "x$ac_cv_lib_soname_dbus_1" = "x"
17056 then
17057 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
17059 else
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17063 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
17066 rm -f core conftest.err conftest.$ac_objext \
17067 conftest$ac_exeext conftest.$ac_ext
17068 LIBS=$ac_get_soname_save_LIBS
17070 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
17071 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
17072 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
17074 cat >>confdefs.h <<_ACEOF
17075 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
17076 _ACEOF
17080 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17081 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17082 if test "${ac_cv_lib_soname_hal+set}" = set; then
17083 echo $ECHO_N "(cached) $ECHO_C" >&6
17084 else
17085 ac_get_soname_save_LIBS=$LIBS
17086 LIBS="-lhal $LIBS"
17087 cat >conftest.$ac_ext <<_ACEOF
17088 /* confdefs.h. */
17089 _ACEOF
17090 cat confdefs.h >>conftest.$ac_ext
17091 cat >>conftest.$ac_ext <<_ACEOF
17092 /* end confdefs.h. */
17094 /* Override any GCC internal prototype to avoid an error.
17095 Use char because int might match the return type of a GCC
17096 builtin and then its argument prototype would still apply. */
17097 #ifdef __cplusplus
17098 extern "C"
17099 #endif
17100 char libhal_ctx_new ();
17102 main ()
17104 return libhal_ctx_new ();
17106 return 0;
17108 _ACEOF
17109 rm -f conftest.$ac_objext conftest$ac_exeext
17110 if { (ac_try="$ac_link"
17111 case "(($ac_try" in
17112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17113 *) ac_try_echo=$ac_try;;
17114 esac
17115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17116 (eval "$ac_link") 2>conftest.er1
17117 ac_status=$?
17118 grep -v '^ *+' conftest.er1 >conftest.err
17119 rm -f conftest.er1
17120 cat conftest.err >&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); } &&
17123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17124 { (case "(($ac_try" in
17125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17126 *) ac_try_echo=$ac_try;;
17127 esac
17128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17129 (eval "$ac_try") 2>&5
17130 ac_status=$?
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); }; } &&
17133 { ac_try='test -s conftest$ac_exeext'
17134 { (case "(($ac_try" in
17135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17136 *) ac_try_echo=$ac_try;;
17137 esac
17138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17139 (eval "$ac_try") 2>&5
17140 ac_status=$?
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); }; }; then
17143 case "$LIBEXT" in
17144 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'` ;;
17145 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17146 esac
17147 if test "x$ac_cv_lib_soname_hal" = "x"
17148 then
17149 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17151 else
17152 echo "$as_me: failed program was:" >&5
17153 sed 's/^/| /' conftest.$ac_ext >&5
17155 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17158 rm -f core conftest.err conftest.$ac_objext \
17159 conftest$ac_exeext conftest.$ac_ext
17160 LIBS=$ac_get_soname_save_LIBS
17162 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17163 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17164 if test "${ac_cv_lib_soname_hal+set}" = set; then
17166 cat >>confdefs.h <<_ACEOF
17167 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17168 _ACEOF
17172 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17173 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17174 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17175 echo $ECHO_N "(cached) $ECHO_C" >&6
17176 else
17177 ac_get_soname_save_LIBS=$LIBS
17178 LIBS="-ltxc_dxtn $LIBS"
17179 cat >conftest.$ac_ext <<_ACEOF
17180 /* confdefs.h. */
17181 _ACEOF
17182 cat confdefs.h >>conftest.$ac_ext
17183 cat >>conftest.$ac_ext <<_ACEOF
17184 /* end confdefs.h. */
17186 /* Override any GCC internal prototype to avoid an error.
17187 Use char because int might match the return type of a GCC
17188 builtin and then its argument prototype would still apply. */
17189 #ifdef __cplusplus
17190 extern "C"
17191 #endif
17192 char fetch_2d_texel_rgba_dxt1 ();
17194 main ()
17196 return fetch_2d_texel_rgba_dxt1 ();
17198 return 0;
17200 _ACEOF
17201 rm -f conftest.$ac_objext conftest$ac_exeext
17202 if { (ac_try="$ac_link"
17203 case "(($ac_try" in
17204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17205 *) ac_try_echo=$ac_try;;
17206 esac
17207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17208 (eval "$ac_link") 2>conftest.er1
17209 ac_status=$?
17210 grep -v '^ *+' conftest.er1 >conftest.err
17211 rm -f conftest.er1
17212 cat conftest.err >&5
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); } &&
17215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17216 { (case "(($ac_try" in
17217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17218 *) ac_try_echo=$ac_try;;
17219 esac
17220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17221 (eval "$ac_try") 2>&5
17222 ac_status=$?
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); }; } &&
17225 { ac_try='test -s conftest$ac_exeext'
17226 { (case "(($ac_try" in
17227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17228 *) ac_try_echo=$ac_try;;
17229 esac
17230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17231 (eval "$ac_try") 2>&5
17232 ac_status=$?
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); }; }; then
17235 case "$LIBEXT" in
17236 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'` ;;
17237 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'` ;;
17238 esac
17239 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17240 then
17241 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17243 else
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17247 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17250 rm -f core conftest.err conftest.$ac_objext \
17251 conftest$ac_exeext conftest.$ac_ext
17252 LIBS=$ac_get_soname_save_LIBS
17254 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17255 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17256 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17258 cat >>confdefs.h <<_ACEOF
17259 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17260 _ACEOF
17264 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17265 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17266 if test "${ac_cv_lib_soname_cups+set}" = set; then
17267 echo $ECHO_N "(cached) $ECHO_C" >&6
17268 else
17269 ac_get_soname_save_LIBS=$LIBS
17270 LIBS="-lcups $LIBS"
17271 cat >conftest.$ac_ext <<_ACEOF
17272 /* confdefs.h. */
17273 _ACEOF
17274 cat confdefs.h >>conftest.$ac_ext
17275 cat >>conftest.$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17278 /* Override any GCC internal prototype to avoid an error.
17279 Use char because int might match the return type of a GCC
17280 builtin and then its argument prototype would still apply. */
17281 #ifdef __cplusplus
17282 extern "C"
17283 #endif
17284 char cupsGetDefault ();
17286 main ()
17288 return cupsGetDefault ();
17290 return 0;
17292 _ACEOF
17293 rm -f conftest.$ac_objext conftest$ac_exeext
17294 if { (ac_try="$ac_link"
17295 case "(($ac_try" in
17296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17297 *) ac_try_echo=$ac_try;;
17298 esac
17299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17300 (eval "$ac_link") 2>conftest.er1
17301 ac_status=$?
17302 grep -v '^ *+' conftest.er1 >conftest.err
17303 rm -f conftest.er1
17304 cat conftest.err >&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); } &&
17307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17308 { (case "(($ac_try" in
17309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17310 *) ac_try_echo=$ac_try;;
17311 esac
17312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17313 (eval "$ac_try") 2>&5
17314 ac_status=$?
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); }; } &&
17317 { ac_try='test -s conftest$ac_exeext'
17318 { (case "(($ac_try" in
17319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17320 *) ac_try_echo=$ac_try;;
17321 esac
17322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17323 (eval "$ac_try") 2>&5
17324 ac_status=$?
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; }; then
17327 case "$LIBEXT" in
17328 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'` ;;
17329 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17330 esac
17331 if test "x$ac_cv_lib_soname_cups" = "x"
17332 then
17333 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17335 else
17336 echo "$as_me: failed program was:" >&5
17337 sed 's/^/| /' conftest.$ac_ext >&5
17339 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17342 rm -f core conftest.err conftest.$ac_objext \
17343 conftest$ac_exeext conftest.$ac_ext
17344 LIBS=$ac_get_soname_save_LIBS
17346 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17347 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17348 if test "${ac_cv_lib_soname_cups+set}" = set; then
17350 cat >>confdefs.h <<_ACEOF
17351 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17352 _ACEOF
17356 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17357 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17358 if test "${ac_cv_lib_soname_jack+set}" = set; then
17359 echo $ECHO_N "(cached) $ECHO_C" >&6
17360 else
17361 ac_get_soname_save_LIBS=$LIBS
17362 LIBS="-ljack $LIBS"
17363 cat >conftest.$ac_ext <<_ACEOF
17364 /* confdefs.h. */
17365 _ACEOF
17366 cat confdefs.h >>conftest.$ac_ext
17367 cat >>conftest.$ac_ext <<_ACEOF
17368 /* end confdefs.h. */
17370 /* Override any GCC internal prototype to avoid an error.
17371 Use char because int might match the return type of a GCC
17372 builtin and then its argument prototype would still apply. */
17373 #ifdef __cplusplus
17374 extern "C"
17375 #endif
17376 char jack_client_new ();
17378 main ()
17380 return jack_client_new ();
17382 return 0;
17384 _ACEOF
17385 rm -f conftest.$ac_objext conftest$ac_exeext
17386 if { (ac_try="$ac_link"
17387 case "(($ac_try" in
17388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17389 *) ac_try_echo=$ac_try;;
17390 esac
17391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17392 (eval "$ac_link") 2>conftest.er1
17393 ac_status=$?
17394 grep -v '^ *+' conftest.er1 >conftest.err
17395 rm -f conftest.er1
17396 cat conftest.err >&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); } &&
17399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17400 { (case "(($ac_try" in
17401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17402 *) ac_try_echo=$ac_try;;
17403 esac
17404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17405 (eval "$ac_try") 2>&5
17406 ac_status=$?
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; } &&
17409 { ac_try='test -s conftest$ac_exeext'
17410 { (case "(($ac_try" in
17411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17412 *) ac_try_echo=$ac_try;;
17413 esac
17414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17415 (eval "$ac_try") 2>&5
17416 ac_status=$?
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); }; }; then
17419 case "$LIBEXT" in
17420 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'` ;;
17421 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17422 esac
17423 if test "x$ac_cv_lib_soname_jack" = "x"
17424 then
17425 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17427 else
17428 echo "$as_me: failed program was:" >&5
17429 sed 's/^/| /' conftest.$ac_ext >&5
17431 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17434 rm -f core conftest.err conftest.$ac_objext \
17435 conftest$ac_exeext conftest.$ac_ext
17436 LIBS=$ac_get_soname_save_LIBS
17438 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17439 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17440 if test "${ac_cv_lib_soname_jack+set}" = set; then
17442 cat >>confdefs.h <<_ACEOF
17443 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17444 _ACEOF
17448 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17449 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17450 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17451 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 else
17453 ac_get_soname_save_LIBS=$LIBS
17454 LIBS="-lfontconfig $LIBS"
17455 cat >conftest.$ac_ext <<_ACEOF
17456 /* confdefs.h. */
17457 _ACEOF
17458 cat confdefs.h >>conftest.$ac_ext
17459 cat >>conftest.$ac_ext <<_ACEOF
17460 /* end confdefs.h. */
17462 /* Override any GCC internal prototype to avoid an error.
17463 Use char because int might match the return type of a GCC
17464 builtin and then its argument prototype would still apply. */
17465 #ifdef __cplusplus
17466 extern "C"
17467 #endif
17468 char FcInit ();
17470 main ()
17472 return FcInit ();
17474 return 0;
17476 _ACEOF
17477 rm -f conftest.$ac_objext conftest$ac_exeext
17478 if { (ac_try="$ac_link"
17479 case "(($ac_try" in
17480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17481 *) ac_try_echo=$ac_try;;
17482 esac
17483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17484 (eval "$ac_link") 2>conftest.er1
17485 ac_status=$?
17486 grep -v '^ *+' conftest.er1 >conftest.err
17487 rm -f conftest.er1
17488 cat conftest.err >&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); } &&
17491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17492 { (case "(($ac_try" in
17493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17494 *) ac_try_echo=$ac_try;;
17495 esac
17496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17497 (eval "$ac_try") 2>&5
17498 ac_status=$?
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); }; } &&
17501 { ac_try='test -s conftest$ac_exeext'
17502 { (case "(($ac_try" in
17503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17504 *) ac_try_echo=$ac_try;;
17505 esac
17506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17507 (eval "$ac_try") 2>&5
17508 ac_status=$?
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; }; then
17511 case "$LIBEXT" in
17512 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'` ;;
17513 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17514 esac
17515 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17516 then
17517 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17519 else
17520 echo "$as_me: failed program was:" >&5
17521 sed 's/^/| /' conftest.$ac_ext >&5
17523 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17526 rm -f core conftest.err conftest.$ac_objext \
17527 conftest$ac_exeext conftest.$ac_ext
17528 LIBS=$ac_get_soname_save_LIBS
17530 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17531 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17532 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17534 cat >>confdefs.h <<_ACEOF
17535 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17536 _ACEOF
17540 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17541 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17542 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17543 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 else
17545 ac_get_soname_save_LIBS=$LIBS
17546 LIBS="-lssl $LIBS"
17547 cat >conftest.$ac_ext <<_ACEOF
17548 /* confdefs.h. */
17549 _ACEOF
17550 cat confdefs.h >>conftest.$ac_ext
17551 cat >>conftest.$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17554 /* Override any GCC internal prototype to avoid an error.
17555 Use char because int might match the return type of a GCC
17556 builtin and then its argument prototype would still apply. */
17557 #ifdef __cplusplus
17558 extern "C"
17559 #endif
17560 char SSL_library_init ();
17562 main ()
17564 return SSL_library_init ();
17566 return 0;
17568 _ACEOF
17569 rm -f conftest.$ac_objext conftest$ac_exeext
17570 if { (ac_try="$ac_link"
17571 case "(($ac_try" in
17572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17573 *) ac_try_echo=$ac_try;;
17574 esac
17575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17576 (eval "$ac_link") 2>conftest.er1
17577 ac_status=$?
17578 grep -v '^ *+' conftest.er1 >conftest.err
17579 rm -f conftest.er1
17580 cat conftest.err >&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } &&
17583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17584 { (case "(($ac_try" in
17585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17586 *) ac_try_echo=$ac_try;;
17587 esac
17588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17589 (eval "$ac_try") 2>&5
17590 ac_status=$?
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); }; } &&
17593 { ac_try='test -s conftest$ac_exeext'
17594 { (case "(($ac_try" in
17595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17596 *) ac_try_echo=$ac_try;;
17597 esac
17598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17599 (eval "$ac_try") 2>&5
17600 ac_status=$?
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; }; then
17603 case "$LIBEXT" in
17604 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'` ;;
17605 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17606 esac
17607 if test "x$ac_cv_lib_soname_ssl" = "x"
17608 then
17609 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17611 else
17612 echo "$as_me: failed program was:" >&5
17613 sed 's/^/| /' conftest.$ac_ext >&5
17615 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17618 rm -f core conftest.err conftest.$ac_objext \
17619 conftest$ac_exeext conftest.$ac_ext
17620 LIBS=$ac_get_soname_save_LIBS
17622 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17623 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17624 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17626 cat >>confdefs.h <<_ACEOF
17627 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17628 _ACEOF
17632 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17633 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17634 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17635 echo $ECHO_N "(cached) $ECHO_C" >&6
17636 else
17637 ac_get_soname_save_LIBS=$LIBS
17638 LIBS="-lcrypto $LIBS"
17639 cat >conftest.$ac_ext <<_ACEOF
17640 /* confdefs.h. */
17641 _ACEOF
17642 cat confdefs.h >>conftest.$ac_ext
17643 cat >>conftest.$ac_ext <<_ACEOF
17644 /* end confdefs.h. */
17646 /* Override any GCC internal prototype to avoid an error.
17647 Use char because int might match the return type of a GCC
17648 builtin and then its argument prototype would still apply. */
17649 #ifdef __cplusplus
17650 extern "C"
17651 #endif
17652 char BIO_new_socket ();
17654 main ()
17656 return BIO_new_socket ();
17658 return 0;
17660 _ACEOF
17661 rm -f conftest.$ac_objext conftest$ac_exeext
17662 if { (ac_try="$ac_link"
17663 case "(($ac_try" in
17664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17665 *) ac_try_echo=$ac_try;;
17666 esac
17667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17668 (eval "$ac_link") 2>conftest.er1
17669 ac_status=$?
17670 grep -v '^ *+' conftest.er1 >conftest.err
17671 rm -f conftest.er1
17672 cat conftest.err >&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } &&
17675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17676 { (case "(($ac_try" in
17677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17678 *) ac_try_echo=$ac_try;;
17679 esac
17680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17681 (eval "$ac_try") 2>&5
17682 ac_status=$?
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); }; } &&
17685 { ac_try='test -s conftest$ac_exeext'
17686 { (case "(($ac_try" in
17687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17688 *) ac_try_echo=$ac_try;;
17689 esac
17690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17691 (eval "$ac_try") 2>&5
17692 ac_status=$?
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); }; }; then
17695 case "$LIBEXT" in
17696 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'` ;;
17697 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17698 esac
17699 if test "x$ac_cv_lib_soname_crypto" = "x"
17700 then
17701 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17703 else
17704 echo "$as_me: failed program was:" >&5
17705 sed 's/^/| /' conftest.$ac_ext >&5
17707 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17710 rm -f core conftest.err conftest.$ac_objext \
17711 conftest$ac_exeext conftest.$ac_ext
17712 LIBS=$ac_get_soname_save_LIBS
17714 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17715 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17716 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17718 cat >>confdefs.h <<_ACEOF
17719 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17720 _ACEOF
17724 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17725 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17726 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17727 echo $ECHO_N "(cached) $ECHO_C" >&6
17728 else
17729 ac_get_soname_save_LIBS=$LIBS
17730 LIBS="-lncurses $LIBS"
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17738 /* Override any GCC internal prototype to avoid an error.
17739 Use char because int might match the return type of a GCC
17740 builtin and then its argument prototype would still apply. */
17741 #ifdef __cplusplus
17742 extern "C"
17743 #endif
17744 char waddch ();
17746 main ()
17748 return waddch ();
17750 return 0;
17752 _ACEOF
17753 rm -f conftest.$ac_objext conftest$ac_exeext
17754 if { (ac_try="$ac_link"
17755 case "(($ac_try" in
17756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17757 *) ac_try_echo=$ac_try;;
17758 esac
17759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17760 (eval "$ac_link") 2>conftest.er1
17761 ac_status=$?
17762 grep -v '^ *+' conftest.er1 >conftest.err
17763 rm -f conftest.er1
17764 cat conftest.err >&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } &&
17767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17768 { (case "(($ac_try" in
17769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17770 *) ac_try_echo=$ac_try;;
17771 esac
17772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17773 (eval "$ac_try") 2>&5
17774 ac_status=$?
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; } &&
17777 { ac_try='test -s conftest$ac_exeext'
17778 { (case "(($ac_try" in
17779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17780 *) ac_try_echo=$ac_try;;
17781 esac
17782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17783 (eval "$ac_try") 2>&5
17784 ac_status=$?
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; }; then
17787 case "$LIBEXT" in
17788 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'` ;;
17789 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17790 esac
17791 if test "x$ac_cv_lib_soname_ncurses" = "x"
17792 then
17793 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17795 else
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.$ac_ext >&5
17799 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17802 rm -f core conftest.err conftest.$ac_objext \
17803 conftest$ac_exeext conftest.$ac_ext
17804 LIBS=$ac_get_soname_save_LIBS
17806 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17807 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17808 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17810 cat >>confdefs.h <<_ACEOF
17811 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17812 _ACEOF
17816 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17817 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17818 if test "${ac_cv_lib_soname_curses+set}" = set; then
17819 echo $ECHO_N "(cached) $ECHO_C" >&6
17820 else
17821 ac_get_soname_save_LIBS=$LIBS
17822 LIBS="-lcurses $LIBS"
17823 cat >conftest.$ac_ext <<_ACEOF
17824 /* confdefs.h. */
17825 _ACEOF
17826 cat confdefs.h >>conftest.$ac_ext
17827 cat >>conftest.$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17830 /* Override any GCC internal prototype to avoid an error.
17831 Use char because int might match the return type of a GCC
17832 builtin and then its argument prototype would still apply. */
17833 #ifdef __cplusplus
17834 extern "C"
17835 #endif
17836 char waddch ();
17838 main ()
17840 return waddch ();
17842 return 0;
17844 _ACEOF
17845 rm -f conftest.$ac_objext conftest$ac_exeext
17846 if { (ac_try="$ac_link"
17847 case "(($ac_try" in
17848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17849 *) ac_try_echo=$ac_try;;
17850 esac
17851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17852 (eval "$ac_link") 2>conftest.er1
17853 ac_status=$?
17854 grep -v '^ *+' conftest.er1 >conftest.err
17855 rm -f conftest.er1
17856 cat conftest.err >&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); } &&
17859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17860 { (case "(($ac_try" in
17861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17862 *) ac_try_echo=$ac_try;;
17863 esac
17864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17865 (eval "$ac_try") 2>&5
17866 ac_status=$?
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; } &&
17869 { ac_try='test -s conftest$ac_exeext'
17870 { (case "(($ac_try" in
17871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17872 *) ac_try_echo=$ac_try;;
17873 esac
17874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17875 (eval "$ac_try") 2>&5
17876 ac_status=$?
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; }; then
17879 case "$LIBEXT" in
17880 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'` ;;
17881 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17882 esac
17883 if test "x$ac_cv_lib_soname_curses" = "x"
17884 then
17885 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17887 else
17888 echo "$as_me: failed program was:" >&5
17889 sed 's/^/| /' conftest.$ac_ext >&5
17891 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17894 rm -f core conftest.err conftest.$ac_objext \
17895 conftest$ac_exeext conftest.$ac_ext
17896 LIBS=$ac_get_soname_save_LIBS
17898 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17899 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17900 if test "${ac_cv_lib_soname_curses+set}" = set; then
17902 cat >>confdefs.h <<_ACEOF
17903 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17904 _ACEOF
17908 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17909 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17910 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17911 echo $ECHO_N "(cached) $ECHO_C" >&6
17912 else
17913 ac_get_soname_save_LIBS=$LIBS
17914 LIBS="-ljpeg $LIBS"
17915 cat >conftest.$ac_ext <<_ACEOF
17916 /* confdefs.h. */
17917 _ACEOF
17918 cat confdefs.h >>conftest.$ac_ext
17919 cat >>conftest.$ac_ext <<_ACEOF
17920 /* end confdefs.h. */
17922 /* Override any GCC internal prototype to avoid an error.
17923 Use char because int might match the return type of a GCC
17924 builtin and then its argument prototype would still apply. */
17925 #ifdef __cplusplus
17926 extern "C"
17927 #endif
17928 char jpeg_start_decompress ();
17930 main ()
17932 return jpeg_start_decompress ();
17934 return 0;
17936 _ACEOF
17937 rm -f conftest.$ac_objext conftest$ac_exeext
17938 if { (ac_try="$ac_link"
17939 case "(($ac_try" in
17940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17941 *) ac_try_echo=$ac_try;;
17942 esac
17943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17944 (eval "$ac_link") 2>conftest.er1
17945 ac_status=$?
17946 grep -v '^ *+' conftest.er1 >conftest.err
17947 rm -f conftest.er1
17948 cat conftest.err >&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); } &&
17951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17952 { (case "(($ac_try" in
17953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17954 *) ac_try_echo=$ac_try;;
17955 esac
17956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17957 (eval "$ac_try") 2>&5
17958 ac_status=$?
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; } &&
17961 { ac_try='test -s conftest$ac_exeext'
17962 { (case "(($ac_try" in
17963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17964 *) ac_try_echo=$ac_try;;
17965 esac
17966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17967 (eval "$ac_try") 2>&5
17968 ac_status=$?
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); }; }; then
17971 case "$LIBEXT" in
17972 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'` ;;
17973 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17974 esac
17975 if test "x$ac_cv_lib_soname_jpeg" = "x"
17976 then
17977 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
17979 else
17980 echo "$as_me: failed program was:" >&5
17981 sed 's/^/| /' conftest.$ac_ext >&5
17983 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
17986 rm -f core conftest.err conftest.$ac_objext \
17987 conftest$ac_exeext conftest.$ac_ext
17988 LIBS=$ac_get_soname_save_LIBS
17990 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
17991 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
17992 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17994 cat >>confdefs.h <<_ACEOF
17995 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
17996 _ACEOF
18000 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
18001 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
18002 if test "${ac_cv_lib_soname_ungif+set}" = set; then
18003 echo $ECHO_N "(cached) $ECHO_C" >&6
18004 else
18005 ac_get_soname_save_LIBS=$LIBS
18006 LIBS="-lungif $LIBS"
18007 cat >conftest.$ac_ext <<_ACEOF
18008 /* confdefs.h. */
18009 _ACEOF
18010 cat confdefs.h >>conftest.$ac_ext
18011 cat >>conftest.$ac_ext <<_ACEOF
18012 /* end confdefs.h. */
18014 /* Override any GCC internal prototype to avoid an error.
18015 Use char because int might match the return type of a GCC
18016 builtin and then its argument prototype would still apply. */
18017 #ifdef __cplusplus
18018 extern "C"
18019 #endif
18020 char DGifOpen ();
18022 main ()
18024 return DGifOpen ();
18026 return 0;
18028 _ACEOF
18029 rm -f conftest.$ac_objext conftest$ac_exeext
18030 if { (ac_try="$ac_link"
18031 case "(($ac_try" in
18032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18033 *) ac_try_echo=$ac_try;;
18034 esac
18035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18036 (eval "$ac_link") 2>conftest.er1
18037 ac_status=$?
18038 grep -v '^ *+' conftest.er1 >conftest.err
18039 rm -f conftest.er1
18040 cat conftest.err >&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } &&
18043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18044 { (case "(($ac_try" in
18045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18046 *) ac_try_echo=$ac_try;;
18047 esac
18048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18049 (eval "$ac_try") 2>&5
18050 ac_status=$?
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); }; } &&
18053 { ac_try='test -s conftest$ac_exeext'
18054 { (case "(($ac_try" in
18055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18056 *) ac_try_echo=$ac_try;;
18057 esac
18058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18059 (eval "$ac_try") 2>&5
18060 ac_status=$?
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); }; }; then
18063 case "$LIBEXT" in
18064 dylib) ac_cv_lib_soname_ungif=`otool -L conftest$ac_exeext | grep libungif\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libungif\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18065 so) ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.so | sed -e "s/^.*\(libungif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18066 esac
18067 if test "x$ac_cv_lib_soname_ungif" = "x"
18068 then
18069 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
18071 else
18072 echo "$as_me: failed program was:" >&5
18073 sed 's/^/| /' conftest.$ac_ext >&5
18075 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
18078 rm -f core conftest.err conftest.$ac_objext \
18079 conftest$ac_exeext conftest.$ac_ext
18080 LIBS=$ac_get_soname_save_LIBS
18082 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
18083 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
18084 if test "${ac_cv_lib_soname_ungif+set}" = set; then
18086 cat >>confdefs.h <<_ACEOF
18087 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
18088 _ACEOF
18092 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
18093 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
18094 if test "${ac_cv_lib_soname_gif+set}" = set; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18096 else
18097 ac_get_soname_save_LIBS=$LIBS
18098 LIBS="-lgif $LIBS"
18099 cat >conftest.$ac_ext <<_ACEOF
18100 /* confdefs.h. */
18101 _ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18106 /* Override any GCC internal prototype to avoid an error.
18107 Use char because int might match the return type of a GCC
18108 builtin and then its argument prototype would still apply. */
18109 #ifdef __cplusplus
18110 extern "C"
18111 #endif
18112 char DGifOpen ();
18114 main ()
18116 return DGifOpen ();
18118 return 0;
18120 _ACEOF
18121 rm -f conftest.$ac_objext conftest$ac_exeext
18122 if { (ac_try="$ac_link"
18123 case "(($ac_try" in
18124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18125 *) ac_try_echo=$ac_try;;
18126 esac
18127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18128 (eval "$ac_link") 2>conftest.er1
18129 ac_status=$?
18130 grep -v '^ *+' conftest.er1 >conftest.err
18131 rm -f conftest.er1
18132 cat conftest.err >&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); } &&
18135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18136 { (case "(($ac_try" in
18137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18138 *) ac_try_echo=$ac_try;;
18139 esac
18140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18141 (eval "$ac_try") 2>&5
18142 ac_status=$?
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; } &&
18145 { ac_try='test -s conftest$ac_exeext'
18146 { (case "(($ac_try" in
18147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18148 *) ac_try_echo=$ac_try;;
18149 esac
18150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18151 (eval "$ac_try") 2>&5
18152 ac_status=$?
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); }; }; then
18155 case "$LIBEXT" in
18156 dylib) ac_cv_lib_soname_gif=`otool -L conftest$ac_exeext | grep libgif\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libgif\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18157 so) ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.so | sed -e "s/^.*\(libgif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18158 esac
18159 if test "x$ac_cv_lib_soname_gif" = "x"
18160 then
18161 ac_cv_lib_soname_gif="libgif.$LIBEXT"
18163 else
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.$ac_ext >&5
18167 ac_cv_lib_soname_gif="libgif.$LIBEXT"
18170 rm -f core conftest.err conftest.$ac_objext \
18171 conftest$ac_exeext conftest.$ac_ext
18172 LIBS=$ac_get_soname_save_LIBS
18174 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
18175 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
18176 if test "${ac_cv_lib_soname_gif+set}" = set; then
18178 cat >>confdefs.h <<_ACEOF
18179 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
18180 _ACEOF
18184 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
18185 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
18186 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18188 else
18189 ac_get_soname_save_LIBS=$LIBS
18190 LIBS="-lcapi20 $LIBS"
18191 cat >conftest.$ac_ext <<_ACEOF
18192 /* confdefs.h. */
18193 _ACEOF
18194 cat confdefs.h >>conftest.$ac_ext
18195 cat >>conftest.$ac_ext <<_ACEOF
18196 /* end confdefs.h. */
18198 /* Override any GCC internal prototype to avoid an error.
18199 Use char because int might match the return type of a GCC
18200 builtin and then its argument prototype would still apply. */
18201 #ifdef __cplusplus
18202 extern "C"
18203 #endif
18204 char capi20_isinstalled ();
18206 main ()
18208 return capi20_isinstalled ();
18210 return 0;
18212 _ACEOF
18213 rm -f conftest.$ac_objext conftest$ac_exeext
18214 if { (ac_try="$ac_link"
18215 case "(($ac_try" in
18216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18217 *) ac_try_echo=$ac_try;;
18218 esac
18219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18220 (eval "$ac_link") 2>conftest.er1
18221 ac_status=$?
18222 grep -v '^ *+' conftest.er1 >conftest.err
18223 rm -f conftest.er1
18224 cat conftest.err >&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } &&
18227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18228 { (case "(($ac_try" in
18229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18230 *) ac_try_echo=$ac_try;;
18231 esac
18232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18233 (eval "$ac_try") 2>&5
18234 ac_status=$?
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; } &&
18237 { ac_try='test -s conftest$ac_exeext'
18238 { (case "(($ac_try" in
18239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18240 *) ac_try_echo=$ac_try;;
18241 esac
18242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18243 (eval "$ac_try") 2>&5
18244 ac_status=$?
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); }; }; then
18247 case "$LIBEXT" in
18248 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'` ;;
18249 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18250 esac
18251 if test "x$ac_cv_lib_soname_capi20" = "x"
18252 then
18253 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18255 else
18256 echo "$as_me: failed program was:" >&5
18257 sed 's/^/| /' conftest.$ac_ext >&5
18259 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18262 rm -f core conftest.err conftest.$ac_objext \
18263 conftest$ac_exeext conftest.$ac_ext
18264 LIBS=$ac_get_soname_save_LIBS
18266 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18267 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18268 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18270 cat >>confdefs.h <<_ACEOF
18271 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18272 _ACEOF
18349 for ac_func in \
18350 _pclose \
18351 _popen \
18352 _snprintf \
18353 _spawnvp \
18354 _stricmp \
18355 _strnicmp \
18356 _vsnprintf \
18357 asctime_r \
18358 chsize \
18359 clone \
18360 connect \
18361 dlopen \
18362 epoll_create \
18363 ffs \
18364 finite \
18365 fork \
18366 fpclass \
18367 fstatfs \
18368 fstatvfs \
18369 ftruncate \
18370 futimes \
18371 futimesat \
18372 getaddrinfo \
18373 gethostbyname \
18374 getnameinfo \
18375 getnetbyname \
18376 getopt_long \
18377 getpagesize \
18378 getprotobyname \
18379 getprotobynumber \
18380 getpwuid \
18381 getservbyport \
18382 gettid \
18383 gettimeofday \
18384 getuid \
18385 inet_aton \
18386 inet_network \
18387 kqueue \
18388 lstat \
18389 memmove \
18390 mmap \
18391 pclose \
18392 poll \
18393 popen \
18394 prctl \
18395 pread \
18396 pwrite \
18397 readlink \
18398 rfork \
18399 sched_yield \
18400 select \
18401 sendmsg \
18402 setrlimit \
18403 settimeofday \
18404 sigaltstack \
18405 sigprocmask \
18406 snprintf \
18407 spawnvp \
18408 statfs \
18409 statvfs \
18410 strcasecmp \
18411 strerror \
18412 strncasecmp \
18413 tcgetattr \
18414 timegm \
18415 usleep \
18416 vsnprintf \
18417 wait4 \
18418 waitpid \
18421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18422 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18424 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18425 echo $ECHO_N "(cached) $ECHO_C" >&6
18426 else
18427 cat >conftest.$ac_ext <<_ACEOF
18428 /* confdefs.h. */
18429 _ACEOF
18430 cat confdefs.h >>conftest.$ac_ext
18431 cat >>conftest.$ac_ext <<_ACEOF
18432 /* end confdefs.h. */
18433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18435 #define $ac_func innocuous_$ac_func
18437 /* System header to define __stub macros and hopefully few prototypes,
18438 which can conflict with char $ac_func (); below.
18439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18440 <limits.h> exists even on freestanding compilers. */
18442 #ifdef __STDC__
18443 # include <limits.h>
18444 #else
18445 # include <assert.h>
18446 #endif
18448 #undef $ac_func
18450 /* Override any GCC internal prototype to avoid an error.
18451 Use char because int might match the return type of a GCC
18452 builtin and then its argument prototype would still apply. */
18453 #ifdef __cplusplus
18454 extern "C"
18455 #endif
18456 char $ac_func ();
18457 /* The GNU C library defines this for functions which it implements
18458 to always fail with ENOSYS. Some functions are actually named
18459 something starting with __ and the normal name is an alias. */
18460 #if defined __stub_$ac_func || defined __stub___$ac_func
18461 choke me
18462 #endif
18465 main ()
18467 return $ac_func ();
18469 return 0;
18471 _ACEOF
18472 rm -f conftest.$ac_objext conftest$ac_exeext
18473 if { (ac_try="$ac_link"
18474 case "(($ac_try" in
18475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18476 *) ac_try_echo=$ac_try;;
18477 esac
18478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18479 (eval "$ac_link") 2>conftest.er1
18480 ac_status=$?
18481 grep -v '^ *+' conftest.er1 >conftest.err
18482 rm -f conftest.er1
18483 cat conftest.err >&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } &&
18486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18487 { (case "(($ac_try" in
18488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18489 *) ac_try_echo=$ac_try;;
18490 esac
18491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 (eval "$ac_try") 2>&5
18493 ac_status=$?
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); }; } &&
18496 { ac_try='test -s conftest$ac_exeext'
18497 { (case "(($ac_try" in
18498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18499 *) ac_try_echo=$ac_try;;
18500 esac
18501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_try") 2>&5
18503 ac_status=$?
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; }; then
18506 eval "$as_ac_var=yes"
18507 else
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.$ac_ext >&5
18511 eval "$as_ac_var=no"
18514 rm -f core conftest.err conftest.$ac_objext \
18515 conftest$ac_exeext conftest.$ac_ext
18517 ac_res=`eval echo '${'$as_ac_var'}'`
18518 { echo "$as_me:$LINENO: result: $ac_res" >&5
18519 echo "${ECHO_T}$ac_res" >&6; }
18520 if test `eval echo '${'$as_ac_var'}'` = yes; then
18521 cat >>confdefs.h <<_ACEOF
18522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18523 _ACEOF
18526 done
18529 if test "$ac_cv_func_dlopen" = no
18530 then
18531 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18532 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18533 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18534 echo $ECHO_N "(cached) $ECHO_C" >&6
18535 else
18536 ac_check_lib_save_LIBS=$LIBS
18537 LIBS="-ldl $LIBS"
18538 cat >conftest.$ac_ext <<_ACEOF
18539 /* confdefs.h. */
18540 _ACEOF
18541 cat confdefs.h >>conftest.$ac_ext
18542 cat >>conftest.$ac_ext <<_ACEOF
18543 /* end confdefs.h. */
18545 /* Override any GCC internal prototype to avoid an error.
18546 Use char because int might match the return type of a GCC
18547 builtin and then its argument prototype would still apply. */
18548 #ifdef __cplusplus
18549 extern "C"
18550 #endif
18551 char dlopen ();
18553 main ()
18555 return dlopen ();
18557 return 0;
18559 _ACEOF
18560 rm -f conftest.$ac_objext conftest$ac_exeext
18561 if { (ac_try="$ac_link"
18562 case "(($ac_try" in
18563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18564 *) ac_try_echo=$ac_try;;
18565 esac
18566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18567 (eval "$ac_link") 2>conftest.er1
18568 ac_status=$?
18569 grep -v '^ *+' conftest.er1 >conftest.err
18570 rm -f conftest.er1
18571 cat conftest.err >&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } &&
18574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18575 { (case "(($ac_try" in
18576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18577 *) ac_try_echo=$ac_try;;
18578 esac
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_try") 2>&5
18581 ac_status=$?
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); }; } &&
18584 { ac_try='test -s conftest$ac_exeext'
18585 { (case "(($ac_try" in
18586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18587 *) ac_try_echo=$ac_try;;
18588 esac
18589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18590 (eval "$ac_try") 2>&5
18591 ac_status=$?
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); }; }; then
18594 ac_cv_lib_dl_dlopen=yes
18595 else
18596 echo "$as_me: failed program was:" >&5
18597 sed 's/^/| /' conftest.$ac_ext >&5
18599 ac_cv_lib_dl_dlopen=no
18602 rm -f core conftest.err conftest.$ac_objext \
18603 conftest$ac_exeext conftest.$ac_ext
18604 LIBS=$ac_check_lib_save_LIBS
18606 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18607 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18608 if test $ac_cv_lib_dl_dlopen = yes; then
18609 cat >>confdefs.h <<\_ACEOF
18610 #define HAVE_DLOPEN 1
18611 _ACEOF
18612 LIBDL="-ldl"
18617 ac_wine_check_funcs_save_LIBS="$LIBS"
18618 LIBS="$LIBS $LIBDL"
18620 for ac_func in dladdr
18622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18623 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18625 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18626 echo $ECHO_N "(cached) $ECHO_C" >&6
18627 else
18628 cat >conftest.$ac_ext <<_ACEOF
18629 /* confdefs.h. */
18630 _ACEOF
18631 cat confdefs.h >>conftest.$ac_ext
18632 cat >>conftest.$ac_ext <<_ACEOF
18633 /* end confdefs.h. */
18634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18636 #define $ac_func innocuous_$ac_func
18638 /* System header to define __stub macros and hopefully few prototypes,
18639 which can conflict with char $ac_func (); below.
18640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18641 <limits.h> exists even on freestanding compilers. */
18643 #ifdef __STDC__
18644 # include <limits.h>
18645 #else
18646 # include <assert.h>
18647 #endif
18649 #undef $ac_func
18651 /* Override any GCC internal prototype to avoid an error.
18652 Use char because int might match the return type of a GCC
18653 builtin and then its argument prototype would still apply. */
18654 #ifdef __cplusplus
18655 extern "C"
18656 #endif
18657 char $ac_func ();
18658 /* The GNU C library defines this for functions which it implements
18659 to always fail with ENOSYS. Some functions are actually named
18660 something starting with __ and the normal name is an alias. */
18661 #if defined __stub_$ac_func || defined __stub___$ac_func
18662 choke me
18663 #endif
18666 main ()
18668 return $ac_func ();
18670 return 0;
18672 _ACEOF
18673 rm -f conftest.$ac_objext conftest$ac_exeext
18674 if { (ac_try="$ac_link"
18675 case "(($ac_try" in
18676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18677 *) ac_try_echo=$ac_try;;
18678 esac
18679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18680 (eval "$ac_link") 2>conftest.er1
18681 ac_status=$?
18682 grep -v '^ *+' conftest.er1 >conftest.err
18683 rm -f conftest.er1
18684 cat conftest.err >&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); } &&
18687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18688 { (case "(($ac_try" in
18689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18690 *) ac_try_echo=$ac_try;;
18691 esac
18692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18693 (eval "$ac_try") 2>&5
18694 ac_status=$?
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); }; } &&
18697 { ac_try='test -s conftest$ac_exeext'
18698 { (case "(($ac_try" in
18699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18700 *) ac_try_echo=$ac_try;;
18701 esac
18702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18703 (eval "$ac_try") 2>&5
18704 ac_status=$?
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; }; then
18707 eval "$as_ac_var=yes"
18708 else
18709 echo "$as_me: failed program was:" >&5
18710 sed 's/^/| /' conftest.$ac_ext >&5
18712 eval "$as_ac_var=no"
18715 rm -f core conftest.err conftest.$ac_objext \
18716 conftest$ac_exeext conftest.$ac_ext
18718 ac_res=`eval echo '${'$as_ac_var'}'`
18719 { echo "$as_me:$LINENO: result: $ac_res" >&5
18720 echo "${ECHO_T}$ac_res" >&6; }
18721 if test `eval echo '${'$as_ac_var'}'` = yes; then
18722 cat >>confdefs.h <<_ACEOF
18723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18724 _ACEOF
18727 done
18729 LIBS="$ac_wine_check_funcs_save_LIBS"
18731 if test "$ac_cv_func_poll" = no
18732 then
18733 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18734 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18735 if test "${ac_cv_lib_poll_poll+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 else
18738 ac_check_lib_save_LIBS=$LIBS
18739 LIBS="-lpoll $LIBS"
18740 cat >conftest.$ac_ext <<_ACEOF
18741 /* confdefs.h. */
18742 _ACEOF
18743 cat confdefs.h >>conftest.$ac_ext
18744 cat >>conftest.$ac_ext <<_ACEOF
18745 /* end confdefs.h. */
18747 /* Override any GCC internal prototype to avoid an error.
18748 Use char because int might match the return type of a GCC
18749 builtin and then its argument prototype would still apply. */
18750 #ifdef __cplusplus
18751 extern "C"
18752 #endif
18753 char poll ();
18755 main ()
18757 return poll ();
18759 return 0;
18761 _ACEOF
18762 rm -f conftest.$ac_objext conftest$ac_exeext
18763 if { (ac_try="$ac_link"
18764 case "(($ac_try" in
18765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18766 *) ac_try_echo=$ac_try;;
18767 esac
18768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18769 (eval "$ac_link") 2>conftest.er1
18770 ac_status=$?
18771 grep -v '^ *+' conftest.er1 >conftest.err
18772 rm -f conftest.er1
18773 cat conftest.err >&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); } &&
18776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18777 { (case "(($ac_try" in
18778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18779 *) ac_try_echo=$ac_try;;
18780 esac
18781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18782 (eval "$ac_try") 2>&5
18783 ac_status=$?
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); }; } &&
18786 { ac_try='test -s conftest$ac_exeext'
18787 { (case "(($ac_try" in
18788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18789 *) ac_try_echo=$ac_try;;
18790 esac
18791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18792 (eval "$ac_try") 2>&5
18793 ac_status=$?
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; }; then
18796 ac_cv_lib_poll_poll=yes
18797 else
18798 echo "$as_me: failed program was:" >&5
18799 sed 's/^/| /' conftest.$ac_ext >&5
18801 ac_cv_lib_poll_poll=no
18804 rm -f core conftest.err conftest.$ac_objext \
18805 conftest$ac_exeext conftest.$ac_ext
18806 LIBS=$ac_check_lib_save_LIBS
18808 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18809 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18810 if test $ac_cv_lib_poll_poll = yes; then
18811 cat >>confdefs.h <<\_ACEOF
18812 #define HAVE_POLL 1
18813 _ACEOF
18814 LIBPOLL="-lpoll"
18820 if test "$ac_cv_func_gethostbyname" = no
18821 then
18823 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18824 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18825 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18826 echo $ECHO_N "(cached) $ECHO_C" >&6
18827 else
18828 ac_check_lib_save_LIBS=$LIBS
18829 LIBS="-lnsl $LIBS"
18830 cat >conftest.$ac_ext <<_ACEOF
18831 /* confdefs.h. */
18832 _ACEOF
18833 cat confdefs.h >>conftest.$ac_ext
18834 cat >>conftest.$ac_ext <<_ACEOF
18835 /* end confdefs.h. */
18837 /* Override any GCC internal prototype to avoid an error.
18838 Use char because int might match the return type of a GCC
18839 builtin and then its argument prototype would still apply. */
18840 #ifdef __cplusplus
18841 extern "C"
18842 #endif
18843 char gethostbyname ();
18845 main ()
18847 return gethostbyname ();
18849 return 0;
18851 _ACEOF
18852 rm -f conftest.$ac_objext conftest$ac_exeext
18853 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
18860 ac_status=$?
18861 grep -v '^ *+' conftest.er1 >conftest.err
18862 rm -f conftest.er1
18863 cat conftest.err >&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } &&
18866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18867 { (case "(($ac_try" in
18868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18869 *) ac_try_echo=$ac_try;;
18870 esac
18871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18872 (eval "$ac_try") 2>&5
18873 ac_status=$?
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); }; } &&
18876 { ac_try='test -s conftest$ac_exeext'
18877 { (case "(($ac_try" in
18878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18879 *) ac_try_echo=$ac_try;;
18880 esac
18881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18882 (eval "$ac_try") 2>&5
18883 ac_status=$?
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); }; }; then
18886 ac_cv_lib_nsl_gethostbyname=yes
18887 else
18888 echo "$as_me: failed program was:" >&5
18889 sed 's/^/| /' conftest.$ac_ext >&5
18891 ac_cv_lib_nsl_gethostbyname=no
18894 rm -f core conftest.err conftest.$ac_objext \
18895 conftest$ac_exeext conftest.$ac_ext
18896 LIBS=$ac_check_lib_save_LIBS
18898 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18899 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18900 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18901 cat >>confdefs.h <<_ACEOF
18902 #define HAVE_LIBNSL 1
18903 _ACEOF
18905 LIBS="-lnsl $LIBS"
18911 if test "$ac_cv_func_connect" = no
18912 then
18914 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18915 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18916 if test "${ac_cv_lib_socket_connect+set}" = set; then
18917 echo $ECHO_N "(cached) $ECHO_C" >&6
18918 else
18919 ac_check_lib_save_LIBS=$LIBS
18920 LIBS="-lsocket $LIBS"
18921 cat >conftest.$ac_ext <<_ACEOF
18922 /* confdefs.h. */
18923 _ACEOF
18924 cat confdefs.h >>conftest.$ac_ext
18925 cat >>conftest.$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18928 /* Override any GCC internal prototype to avoid an error.
18929 Use char because int might match the return type of a GCC
18930 builtin and then its argument prototype would still apply. */
18931 #ifdef __cplusplus
18932 extern "C"
18933 #endif
18934 char connect ();
18936 main ()
18938 return connect ();
18940 return 0;
18942 _ACEOF
18943 rm -f conftest.$ac_objext conftest$ac_exeext
18944 if { (ac_try="$ac_link"
18945 case "(($ac_try" in
18946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18947 *) ac_try_echo=$ac_try;;
18948 esac
18949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18950 (eval "$ac_link") 2>conftest.er1
18951 ac_status=$?
18952 grep -v '^ *+' conftest.er1 >conftest.err
18953 rm -f conftest.er1
18954 cat conftest.err >&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); } &&
18957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18958 { (case "(($ac_try" in
18959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18960 *) ac_try_echo=$ac_try;;
18961 esac
18962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18963 (eval "$ac_try") 2>&5
18964 ac_status=$?
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; } &&
18967 { ac_try='test -s conftest$ac_exeext'
18968 { (case "(($ac_try" in
18969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18970 *) ac_try_echo=$ac_try;;
18971 esac
18972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18973 (eval "$ac_try") 2>&5
18974 ac_status=$?
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); }; }; then
18977 ac_cv_lib_socket_connect=yes
18978 else
18979 echo "$as_me: failed program was:" >&5
18980 sed 's/^/| /' conftest.$ac_ext >&5
18982 ac_cv_lib_socket_connect=no
18985 rm -f core conftest.err conftest.$ac_objext \
18986 conftest$ac_exeext conftest.$ac_ext
18987 LIBS=$ac_check_lib_save_LIBS
18989 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18990 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18991 if test $ac_cv_lib_socket_connect = yes; then
18992 cat >>confdefs.h <<_ACEOF
18993 #define HAVE_LIBSOCKET 1
18994 _ACEOF
18996 LIBS="-lsocket $LIBS"
19002 if test "$ac_cv_func_inet_aton" = no
19003 then
19005 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
19006 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
19007 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
19008 echo $ECHO_N "(cached) $ECHO_C" >&6
19009 else
19010 ac_check_lib_save_LIBS=$LIBS
19011 LIBS="-lresolv $LIBS"
19012 cat >conftest.$ac_ext <<_ACEOF
19013 /* confdefs.h. */
19014 _ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19019 /* Override any GCC internal prototype to avoid an error.
19020 Use char because int might match the return type of a GCC
19021 builtin and then its argument prototype would still apply. */
19022 #ifdef __cplusplus
19023 extern "C"
19024 #endif
19025 char inet_aton ();
19027 main ()
19029 return inet_aton ();
19031 return 0;
19033 _ACEOF
19034 rm -f conftest.$ac_objext conftest$ac_exeext
19035 if { (ac_try="$ac_link"
19036 case "(($ac_try" in
19037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19038 *) ac_try_echo=$ac_try;;
19039 esac
19040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19041 (eval "$ac_link") 2>conftest.er1
19042 ac_status=$?
19043 grep -v '^ *+' conftest.er1 >conftest.err
19044 rm -f conftest.er1
19045 cat conftest.err >&5
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); } &&
19048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19049 { (case "(($ac_try" in
19050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19051 *) ac_try_echo=$ac_try;;
19052 esac
19053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19054 (eval "$ac_try") 2>&5
19055 ac_status=$?
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }; } &&
19058 { ac_try='test -s conftest$ac_exeext'
19059 { (case "(($ac_try" in
19060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19061 *) ac_try_echo=$ac_try;;
19062 esac
19063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19064 (eval "$ac_try") 2>&5
19065 ac_status=$?
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19068 ac_cv_lib_resolv_inet_aton=yes
19069 else
19070 echo "$as_me: failed program was:" >&5
19071 sed 's/^/| /' conftest.$ac_ext >&5
19073 ac_cv_lib_resolv_inet_aton=no
19076 rm -f core conftest.err conftest.$ac_objext \
19077 conftest$ac_exeext conftest.$ac_ext
19078 LIBS=$ac_check_lib_save_LIBS
19080 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
19081 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
19082 if test $ac_cv_lib_resolv_inet_aton = yes; then
19083 cat >>confdefs.h <<_ACEOF
19084 #define HAVE_LIBRESOLV 1
19085 _ACEOF
19087 LIBS="-lresolv $LIBS"
19094 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19095 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19096 if test "${ac_cv_c_const+set}" = set; then
19097 echo $ECHO_N "(cached) $ECHO_C" >&6
19098 else
19099 cat >conftest.$ac_ext <<_ACEOF
19100 /* confdefs.h. */
19101 _ACEOF
19102 cat confdefs.h >>conftest.$ac_ext
19103 cat >>conftest.$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19107 main ()
19109 /* FIXME: Include the comments suggested by Paul. */
19110 #ifndef __cplusplus
19111 /* Ultrix mips cc rejects this. */
19112 typedef int charset[2];
19113 const charset x;
19114 /* SunOS 4.1.1 cc rejects this. */
19115 char const *const *ccp;
19116 char **p;
19117 /* NEC SVR4.0.2 mips cc rejects this. */
19118 struct point {int x, y;};
19119 static struct point const zero = {0,0};
19120 /* AIX XL C 1.02.0.0 rejects this.
19121 It does not let you subtract one const X* pointer from another in
19122 an arm of an if-expression whose if-part is not a constant
19123 expression */
19124 const char *g = "string";
19125 ccp = &g + (g ? g-g : 0);
19126 /* HPUX 7.0 cc rejects these. */
19127 ++ccp;
19128 p = (char**) ccp;
19129 ccp = (char const *const *) p;
19130 { /* SCO 3.2v4 cc rejects this. */
19131 char *t;
19132 char const *s = 0 ? (char *) 0 : (char const *) 0;
19134 *t++ = 0;
19135 if (s) return 0;
19137 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19138 int x[] = {25, 17};
19139 const int *foo = &x[0];
19140 ++foo;
19142 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19143 typedef const int *iptr;
19144 iptr p = 0;
19145 ++p;
19147 { /* AIX XL C 1.02.0.0 rejects this saying
19148 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19149 struct s { int j; const int *ap[3]; };
19150 struct s *b; b->j = 5;
19152 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19153 const int foo = 10;
19154 if (!foo) return 0;
19156 return !x[0] && !zero.x;
19157 #endif
19160 return 0;
19162 _ACEOF
19163 rm -f conftest.$ac_objext
19164 if { (ac_try="$ac_compile"
19165 case "(($ac_try" in
19166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19167 *) ac_try_echo=$ac_try;;
19168 esac
19169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 (eval "$ac_compile") 2>conftest.er1
19171 ac_status=$?
19172 grep -v '^ *+' conftest.er1 >conftest.err
19173 rm -f conftest.er1
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } &&
19177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19178 { (case "(($ac_try" in
19179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19180 *) ac_try_echo=$ac_try;;
19181 esac
19182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19183 (eval "$ac_try") 2>&5
19184 ac_status=$?
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); }; } &&
19187 { ac_try='test -s conftest.$ac_objext'
19188 { (case "(($ac_try" in
19189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19190 *) ac_try_echo=$ac_try;;
19191 esac
19192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19193 (eval "$ac_try") 2>&5
19194 ac_status=$?
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; }; then
19197 ac_cv_c_const=yes
19198 else
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19202 ac_cv_c_const=no
19205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19207 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19208 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19209 if test $ac_cv_c_const = no; then
19211 cat >>confdefs.h <<\_ACEOF
19212 #define const
19213 _ACEOF
19217 { echo "$as_me:$LINENO: checking for inline" >&5
19218 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19219 if test "${ac_cv_c_inline+set}" = set; then
19220 echo $ECHO_N "(cached) $ECHO_C" >&6
19221 else
19222 ac_cv_c_inline=no
19223 for ac_kw in inline __inline__ __inline; do
19224 cat >conftest.$ac_ext <<_ACEOF
19225 /* confdefs.h. */
19226 _ACEOF
19227 cat confdefs.h >>conftest.$ac_ext
19228 cat >>conftest.$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19230 #ifndef __cplusplus
19231 typedef int foo_t;
19232 static $ac_kw foo_t static_foo () {return 0; }
19233 $ac_kw foo_t foo () {return 0; }
19234 #endif
19236 _ACEOF
19237 rm -f conftest.$ac_objext
19238 if { (ac_try="$ac_compile"
19239 case "(($ac_try" in
19240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19241 *) ac_try_echo=$ac_try;;
19242 esac
19243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19244 (eval "$ac_compile") 2>conftest.er1
19245 ac_status=$?
19246 grep -v '^ *+' conftest.er1 >conftest.err
19247 rm -f conftest.er1
19248 cat conftest.err >&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } &&
19251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19252 { (case "(($ac_try" in
19253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19254 *) ac_try_echo=$ac_try;;
19255 esac
19256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19257 (eval "$ac_try") 2>&5
19258 ac_status=$?
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); }; } &&
19261 { ac_try='test -s conftest.$ac_objext'
19262 { (case "(($ac_try" in
19263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19264 *) ac_try_echo=$ac_try;;
19265 esac
19266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19267 (eval "$ac_try") 2>&5
19268 ac_status=$?
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); }; }; then
19271 ac_cv_c_inline=$ac_kw
19272 else
19273 echo "$as_me: failed program was:" >&5
19274 sed 's/^/| /' conftest.$ac_ext >&5
19279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19280 test "$ac_cv_c_inline" != no && break
19281 done
19284 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19285 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19288 case $ac_cv_c_inline in
19289 inline | yes) ;;
19291 case $ac_cv_c_inline in
19292 no) ac_val=;;
19293 *) ac_val=$ac_cv_c_inline;;
19294 esac
19295 cat >>confdefs.h <<_ACEOF
19296 #ifndef __cplusplus
19297 #define inline $ac_val
19298 #endif
19299 _ACEOF
19301 esac
19303 { echo "$as_me:$LINENO: checking for mode_t" >&5
19304 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19305 if test "${ac_cv_type_mode_t+set}" = set; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 else
19308 cat >conftest.$ac_ext <<_ACEOF
19309 /* confdefs.h. */
19310 _ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 $ac_includes_default
19315 typedef mode_t ac__type_new_;
19317 main ()
19319 if ((ac__type_new_ *) 0)
19320 return 0;
19321 if (sizeof (ac__type_new_))
19322 return 0;
19324 return 0;
19326 _ACEOF
19327 rm -f conftest.$ac_objext
19328 if { (ac_try="$ac_compile"
19329 case "(($ac_try" in
19330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19331 *) ac_try_echo=$ac_try;;
19332 esac
19333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19334 (eval "$ac_compile") 2>conftest.er1
19335 ac_status=$?
19336 grep -v '^ *+' conftest.er1 >conftest.err
19337 rm -f conftest.er1
19338 cat conftest.err >&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); } &&
19341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19342 { (case "(($ac_try" in
19343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19344 *) ac_try_echo=$ac_try;;
19345 esac
19346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19347 (eval "$ac_try") 2>&5
19348 ac_status=$?
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); }; } &&
19351 { ac_try='test -s conftest.$ac_objext'
19352 { (case "(($ac_try" in
19353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19354 *) ac_try_echo=$ac_try;;
19355 esac
19356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19357 (eval "$ac_try") 2>&5
19358 ac_status=$?
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); }; }; then
19361 ac_cv_type_mode_t=yes
19362 else
19363 echo "$as_me: failed program was:" >&5
19364 sed 's/^/| /' conftest.$ac_ext >&5
19366 ac_cv_type_mode_t=no
19369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19371 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19372 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19373 if test $ac_cv_type_mode_t = yes; then
19375 cat >>confdefs.h <<_ACEOF
19376 #define HAVE_MODE_T 1
19377 _ACEOF
19381 { echo "$as_me:$LINENO: checking for off_t" >&5
19382 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19383 if test "${ac_cv_type_off_t+set}" = set; then
19384 echo $ECHO_N "(cached) $ECHO_C" >&6
19385 else
19386 cat >conftest.$ac_ext <<_ACEOF
19387 /* confdefs.h. */
19388 _ACEOF
19389 cat confdefs.h >>conftest.$ac_ext
19390 cat >>conftest.$ac_ext <<_ACEOF
19391 /* end confdefs.h. */
19392 $ac_includes_default
19393 typedef off_t ac__type_new_;
19395 main ()
19397 if ((ac__type_new_ *) 0)
19398 return 0;
19399 if (sizeof (ac__type_new_))
19400 return 0;
19402 return 0;
19404 _ACEOF
19405 rm -f conftest.$ac_objext
19406 if { (ac_try="$ac_compile"
19407 case "(($ac_try" in
19408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19409 *) ac_try_echo=$ac_try;;
19410 esac
19411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19412 (eval "$ac_compile") 2>conftest.er1
19413 ac_status=$?
19414 grep -v '^ *+' conftest.er1 >conftest.err
19415 rm -f conftest.er1
19416 cat conftest.err >&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); } &&
19419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19420 { (case "(($ac_try" in
19421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19422 *) ac_try_echo=$ac_try;;
19423 esac
19424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19425 (eval "$ac_try") 2>&5
19426 ac_status=$?
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); }; } &&
19429 { ac_try='test -s conftest.$ac_objext'
19430 { (case "(($ac_try" in
19431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19432 *) ac_try_echo=$ac_try;;
19433 esac
19434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19435 (eval "$ac_try") 2>&5
19436 ac_status=$?
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); }; }; then
19439 ac_cv_type_off_t=yes
19440 else
19441 echo "$as_me: failed program was:" >&5
19442 sed 's/^/| /' conftest.$ac_ext >&5
19444 ac_cv_type_off_t=no
19447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19449 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19450 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19451 if test $ac_cv_type_off_t = yes; then
19453 cat >>confdefs.h <<_ACEOF
19454 #define HAVE_OFF_T 1
19455 _ACEOF
19459 { echo "$as_me:$LINENO: checking for pid_t" >&5
19460 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19461 if test "${ac_cv_type_pid_t+set}" = set; then
19462 echo $ECHO_N "(cached) $ECHO_C" >&6
19463 else
19464 cat >conftest.$ac_ext <<_ACEOF
19465 /* confdefs.h. */
19466 _ACEOF
19467 cat confdefs.h >>conftest.$ac_ext
19468 cat >>conftest.$ac_ext <<_ACEOF
19469 /* end confdefs.h. */
19470 $ac_includes_default
19471 typedef pid_t ac__type_new_;
19473 main ()
19475 if ((ac__type_new_ *) 0)
19476 return 0;
19477 if (sizeof (ac__type_new_))
19478 return 0;
19480 return 0;
19482 _ACEOF
19483 rm -f conftest.$ac_objext
19484 if { (ac_try="$ac_compile"
19485 case "(($ac_try" in
19486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487 *) ac_try_echo=$ac_try;;
19488 esac
19489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19490 (eval "$ac_compile") 2>conftest.er1
19491 ac_status=$?
19492 grep -v '^ *+' conftest.er1 >conftest.err
19493 rm -f conftest.er1
19494 cat conftest.err >&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } &&
19497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19498 { (case "(($ac_try" in
19499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19500 *) ac_try_echo=$ac_try;;
19501 esac
19502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19503 (eval "$ac_try") 2>&5
19504 ac_status=$?
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); }; } &&
19507 { ac_try='test -s conftest.$ac_objext'
19508 { (case "(($ac_try" in
19509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19510 *) ac_try_echo=$ac_try;;
19511 esac
19512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19513 (eval "$ac_try") 2>&5
19514 ac_status=$?
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; }; then
19517 ac_cv_type_pid_t=yes
19518 else
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19522 ac_cv_type_pid_t=no
19525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19527 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19528 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19529 if test $ac_cv_type_pid_t = yes; then
19531 cat >>confdefs.h <<_ACEOF
19532 #define HAVE_PID_T 1
19533 _ACEOF
19537 { echo "$as_me:$LINENO: checking for size_t" >&5
19538 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19539 if test "${ac_cv_type_size_t+set}" = set; then
19540 echo $ECHO_N "(cached) $ECHO_C" >&6
19541 else
19542 cat >conftest.$ac_ext <<_ACEOF
19543 /* confdefs.h. */
19544 _ACEOF
19545 cat confdefs.h >>conftest.$ac_ext
19546 cat >>conftest.$ac_ext <<_ACEOF
19547 /* end confdefs.h. */
19548 $ac_includes_default
19549 typedef size_t ac__type_new_;
19551 main ()
19553 if ((ac__type_new_ *) 0)
19554 return 0;
19555 if (sizeof (ac__type_new_))
19556 return 0;
19558 return 0;
19560 _ACEOF
19561 rm -f conftest.$ac_objext
19562 if { (ac_try="$ac_compile"
19563 case "(($ac_try" in
19564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19565 *) ac_try_echo=$ac_try;;
19566 esac
19567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19568 (eval "$ac_compile") 2>conftest.er1
19569 ac_status=$?
19570 grep -v '^ *+' conftest.er1 >conftest.err
19571 rm -f conftest.er1
19572 cat conftest.err >&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } &&
19575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19576 { (case "(($ac_try" in
19577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19578 *) ac_try_echo=$ac_try;;
19579 esac
19580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19581 (eval "$ac_try") 2>&5
19582 ac_status=$?
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); }; } &&
19585 { ac_try='test -s conftest.$ac_objext'
19586 { (case "(($ac_try" in
19587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19588 *) ac_try_echo=$ac_try;;
19589 esac
19590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19591 (eval "$ac_try") 2>&5
19592 ac_status=$?
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); }; }; then
19595 ac_cv_type_size_t=yes
19596 else
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19600 ac_cv_type_size_t=no
19603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19605 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19606 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19607 if test $ac_cv_type_size_t = yes; then
19609 cat >>confdefs.h <<_ACEOF
19610 #define HAVE_SIZE_T 1
19611 _ACEOF
19615 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19616 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19617 if test "${ac_cv_type_ssize_t+set}" = set; then
19618 echo $ECHO_N "(cached) $ECHO_C" >&6
19619 else
19620 cat >conftest.$ac_ext <<_ACEOF
19621 /* confdefs.h. */
19622 _ACEOF
19623 cat confdefs.h >>conftest.$ac_ext
19624 cat >>conftest.$ac_ext <<_ACEOF
19625 /* end confdefs.h. */
19626 $ac_includes_default
19627 typedef ssize_t ac__type_new_;
19629 main ()
19631 if ((ac__type_new_ *) 0)
19632 return 0;
19633 if (sizeof (ac__type_new_))
19634 return 0;
19636 return 0;
19638 _ACEOF
19639 rm -f conftest.$ac_objext
19640 if { (ac_try="$ac_compile"
19641 case "(($ac_try" in
19642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19643 *) ac_try_echo=$ac_try;;
19644 esac
19645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19646 (eval "$ac_compile") 2>conftest.er1
19647 ac_status=$?
19648 grep -v '^ *+' conftest.er1 >conftest.err
19649 rm -f conftest.er1
19650 cat conftest.err >&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); } &&
19653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19654 { (case "(($ac_try" in
19655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19656 *) ac_try_echo=$ac_try;;
19657 esac
19658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19659 (eval "$ac_try") 2>&5
19660 ac_status=$?
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); }; } &&
19663 { ac_try='test -s conftest.$ac_objext'
19664 { (case "(($ac_try" in
19665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19666 *) ac_try_echo=$ac_try;;
19667 esac
19668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19669 (eval "$ac_try") 2>&5
19670 ac_status=$?
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19673 ac_cv_type_ssize_t=yes
19674 else
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.$ac_ext >&5
19678 ac_cv_type_ssize_t=no
19681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19683 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19684 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19685 if test $ac_cv_type_ssize_t = yes; then
19687 cat >>confdefs.h <<_ACEOF
19688 #define HAVE_SSIZE_T 1
19689 _ACEOF
19693 { echo "$as_me:$LINENO: checking for long long" >&5
19694 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19695 if test "${ac_cv_type_long_long+set}" = set; then
19696 echo $ECHO_N "(cached) $ECHO_C" >&6
19697 else
19698 cat >conftest.$ac_ext <<_ACEOF
19699 /* confdefs.h. */
19700 _ACEOF
19701 cat confdefs.h >>conftest.$ac_ext
19702 cat >>conftest.$ac_ext <<_ACEOF
19703 /* end confdefs.h. */
19704 $ac_includes_default
19705 typedef long long ac__type_new_;
19707 main ()
19709 if ((ac__type_new_ *) 0)
19710 return 0;
19711 if (sizeof (ac__type_new_))
19712 return 0;
19714 return 0;
19716 _ACEOF
19717 rm -f conftest.$ac_objext
19718 if { (ac_try="$ac_compile"
19719 case "(($ac_try" in
19720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19721 *) ac_try_echo=$ac_try;;
19722 esac
19723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19724 (eval "$ac_compile") 2>conftest.er1
19725 ac_status=$?
19726 grep -v '^ *+' conftest.er1 >conftest.err
19727 rm -f conftest.er1
19728 cat conftest.err >&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); } &&
19731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19732 { (case "(($ac_try" in
19733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19734 *) ac_try_echo=$ac_try;;
19735 esac
19736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19737 (eval "$ac_try") 2>&5
19738 ac_status=$?
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); }; } &&
19741 { ac_try='test -s conftest.$ac_objext'
19742 { (case "(($ac_try" in
19743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19744 *) ac_try_echo=$ac_try;;
19745 esac
19746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19747 (eval "$ac_try") 2>&5
19748 ac_status=$?
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; }; then
19751 ac_cv_type_long_long=yes
19752 else
19753 echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.$ac_ext >&5
19756 ac_cv_type_long_long=no
19759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19761 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19762 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19763 if test $ac_cv_type_long_long = yes; then
19765 cat >>confdefs.h <<_ACEOF
19766 #define HAVE_LONG_LONG 1
19767 _ACEOF
19771 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19772 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19773 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19775 else
19776 cat >conftest.$ac_ext <<_ACEOF
19777 /* confdefs.h. */
19778 _ACEOF
19779 cat confdefs.h >>conftest.$ac_ext
19780 cat >>conftest.$ac_ext <<_ACEOF
19781 /* end confdefs.h. */
19782 $ac_includes_default
19783 typedef fsblkcnt_t ac__type_new_;
19785 main ()
19787 if ((ac__type_new_ *) 0)
19788 return 0;
19789 if (sizeof (ac__type_new_))
19790 return 0;
19792 return 0;
19794 _ACEOF
19795 rm -f conftest.$ac_objext
19796 if { (ac_try="$ac_compile"
19797 case "(($ac_try" in
19798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19799 *) ac_try_echo=$ac_try;;
19800 esac
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_compile") 2>conftest.er1
19803 ac_status=$?
19804 grep -v '^ *+' conftest.er1 >conftest.err
19805 rm -f conftest.er1
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } &&
19809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19810 { (case "(($ac_try" in
19811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19812 *) ac_try_echo=$ac_try;;
19813 esac
19814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19815 (eval "$ac_try") 2>&5
19816 ac_status=$?
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); }; } &&
19819 { ac_try='test -s conftest.$ac_objext'
19820 { (case "(($ac_try" in
19821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19822 *) ac_try_echo=$ac_try;;
19823 esac
19824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19825 (eval "$ac_try") 2>&5
19826 ac_status=$?
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); }; }; then
19829 ac_cv_type_fsblkcnt_t=yes
19830 else
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19834 ac_cv_type_fsblkcnt_t=no
19837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19839 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19840 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19841 if test $ac_cv_type_fsblkcnt_t = yes; then
19843 cat >>confdefs.h <<_ACEOF
19844 #define HAVE_FSBLKCNT_T 1
19845 _ACEOF
19849 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19850 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19851 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19852 echo $ECHO_N "(cached) $ECHO_C" >&6
19853 else
19854 cat >conftest.$ac_ext <<_ACEOF
19855 /* confdefs.h. */
19856 _ACEOF
19857 cat confdefs.h >>conftest.$ac_ext
19858 cat >>conftest.$ac_ext <<_ACEOF
19859 /* end confdefs.h. */
19860 $ac_includes_default
19861 typedef fsfilcnt_t ac__type_new_;
19863 main ()
19865 if ((ac__type_new_ *) 0)
19866 return 0;
19867 if (sizeof (ac__type_new_))
19868 return 0;
19870 return 0;
19872 _ACEOF
19873 rm -f conftest.$ac_objext
19874 if { (ac_try="$ac_compile"
19875 case "(($ac_try" in
19876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19877 *) ac_try_echo=$ac_try;;
19878 esac
19879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19880 (eval "$ac_compile") 2>conftest.er1
19881 ac_status=$?
19882 grep -v '^ *+' conftest.er1 >conftest.err
19883 rm -f conftest.er1
19884 cat conftest.err >&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); } &&
19887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19888 { (case "(($ac_try" in
19889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19890 *) ac_try_echo=$ac_try;;
19891 esac
19892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19893 (eval "$ac_try") 2>&5
19894 ac_status=$?
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); }; } &&
19897 { ac_try='test -s conftest.$ac_objext'
19898 { (case "(($ac_try" in
19899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19900 *) ac_try_echo=$ac_try;;
19901 esac
19902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19903 (eval "$ac_try") 2>&5
19904 ac_status=$?
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); }; }; then
19907 ac_cv_type_fsfilcnt_t=yes
19908 else
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19912 ac_cv_type_fsfilcnt_t=no
19915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19917 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19918 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19919 if test $ac_cv_type_fsfilcnt_t = yes; then
19921 cat >>confdefs.h <<_ACEOF
19922 #define HAVE_FSFILCNT_T 1
19923 _ACEOF
19928 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19929 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19930 if test "${ac_cv_type_sigset_t+set}" = set; then
19931 echo $ECHO_N "(cached) $ECHO_C" >&6
19932 else
19933 cat >conftest.$ac_ext <<_ACEOF
19934 /* confdefs.h. */
19935 _ACEOF
19936 cat confdefs.h >>conftest.$ac_ext
19937 cat >>conftest.$ac_ext <<_ACEOF
19938 /* end confdefs.h. */
19939 #include <signal.h>
19941 typedef sigset_t ac__type_new_;
19943 main ()
19945 if ((ac__type_new_ *) 0)
19946 return 0;
19947 if (sizeof (ac__type_new_))
19948 return 0;
19950 return 0;
19952 _ACEOF
19953 rm -f conftest.$ac_objext
19954 if { (ac_try="$ac_compile"
19955 case "(($ac_try" in
19956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19957 *) ac_try_echo=$ac_try;;
19958 esac
19959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19960 (eval "$ac_compile") 2>conftest.er1
19961 ac_status=$?
19962 grep -v '^ *+' conftest.er1 >conftest.err
19963 rm -f conftest.er1
19964 cat conftest.err >&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19968 { (case "(($ac_try" in
19969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19970 *) ac_try_echo=$ac_try;;
19971 esac
19972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19973 (eval "$ac_try") 2>&5
19974 ac_status=$?
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); }; } &&
19977 { ac_try='test -s conftest.$ac_objext'
19978 { (case "(($ac_try" in
19979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19980 *) ac_try_echo=$ac_try;;
19981 esac
19982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19983 (eval "$ac_try") 2>&5
19984 ac_status=$?
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); }; }; then
19987 ac_cv_type_sigset_t=yes
19988 else
19989 echo "$as_me: failed program was:" >&5
19990 sed 's/^/| /' conftest.$ac_ext >&5
19992 ac_cv_type_sigset_t=no
19995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19997 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19998 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19999 if test $ac_cv_type_sigset_t = yes; then
20001 cat >>confdefs.h <<_ACEOF
20002 #define HAVE_SIGSET_T 1
20003 _ACEOF
20008 { echo "$as_me:$LINENO: checking for request_sense" >&5
20009 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20010 if test "${ac_cv_type_request_sense+set}" = set; then
20011 echo $ECHO_N "(cached) $ECHO_C" >&6
20012 else
20013 cat >conftest.$ac_ext <<_ACEOF
20014 /* confdefs.h. */
20015 _ACEOF
20016 cat confdefs.h >>conftest.$ac_ext
20017 cat >>conftest.$ac_ext <<_ACEOF
20018 /* end confdefs.h. */
20019 #include <linux/cdrom.h>
20021 typedef request_sense ac__type_new_;
20023 main ()
20025 if ((ac__type_new_ *) 0)
20026 return 0;
20027 if (sizeof (ac__type_new_))
20028 return 0;
20030 return 0;
20032 _ACEOF
20033 rm -f conftest.$ac_objext
20034 if { (ac_try="$ac_compile"
20035 case "(($ac_try" in
20036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20037 *) ac_try_echo=$ac_try;;
20038 esac
20039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20040 (eval "$ac_compile") 2>conftest.er1
20041 ac_status=$?
20042 grep -v '^ *+' conftest.er1 >conftest.err
20043 rm -f conftest.er1
20044 cat conftest.err >&5
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); } &&
20047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20048 { (case "(($ac_try" in
20049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20050 *) ac_try_echo=$ac_try;;
20051 esac
20052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20053 (eval "$ac_try") 2>&5
20054 ac_status=$?
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); }; } &&
20057 { ac_try='test -s conftest.$ac_objext'
20058 { (case "(($ac_try" in
20059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20060 *) ac_try_echo=$ac_try;;
20061 esac
20062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20063 (eval "$ac_try") 2>&5
20064 ac_status=$?
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); }; }; then
20067 ac_cv_type_request_sense=yes
20068 else
20069 echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.$ac_ext >&5
20072 ac_cv_type_request_sense=no
20075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20077 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20078 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20079 if test $ac_cv_type_request_sense = yes; then
20081 cat >>confdefs.h <<_ACEOF
20082 #define HAVE_REQUEST_SENSE 1
20083 _ACEOF
20089 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20090 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20091 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20092 echo $ECHO_N "(cached) $ECHO_C" >&6
20093 else
20094 cat >conftest.$ac_ext <<_ACEOF
20095 /* confdefs.h. */
20096 _ACEOF
20097 cat confdefs.h >>conftest.$ac_ext
20098 cat >>conftest.$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20100 #ifdef HAVE_LINUX_INPUT_H
20101 #include <linux/input.h>
20102 #endif
20105 main ()
20107 static struct ff_effect ac_aggr;
20108 if (ac_aggr.direction)
20109 return 0;
20111 return 0;
20113 _ACEOF
20114 rm -f conftest.$ac_objext
20115 if { (ac_try="$ac_compile"
20116 case "(($ac_try" in
20117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20118 *) ac_try_echo=$ac_try;;
20119 esac
20120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20121 (eval "$ac_compile") 2>conftest.er1
20122 ac_status=$?
20123 grep -v '^ *+' conftest.er1 >conftest.err
20124 rm -f conftest.er1
20125 cat conftest.err >&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); } &&
20128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20129 { (case "(($ac_try" in
20130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20131 *) ac_try_echo=$ac_try;;
20132 esac
20133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20134 (eval "$ac_try") 2>&5
20135 ac_status=$?
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); }; } &&
20138 { ac_try='test -s conftest.$ac_objext'
20139 { (case "(($ac_try" in
20140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20141 *) ac_try_echo=$ac_try;;
20142 esac
20143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20144 (eval "$ac_try") 2>&5
20145 ac_status=$?
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); }; }; then
20148 ac_cv_member_struct_ff_effect_direction=yes
20149 else
20150 echo "$as_me: failed program was:" >&5
20151 sed 's/^/| /' conftest.$ac_ext >&5
20153 cat >conftest.$ac_ext <<_ACEOF
20154 /* confdefs.h. */
20155 _ACEOF
20156 cat confdefs.h >>conftest.$ac_ext
20157 cat >>conftest.$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 #ifdef HAVE_LINUX_INPUT_H
20160 #include <linux/input.h>
20161 #endif
20164 main ()
20166 static struct ff_effect ac_aggr;
20167 if (sizeof ac_aggr.direction)
20168 return 0;
20170 return 0;
20172 _ACEOF
20173 rm -f conftest.$ac_objext
20174 if { (ac_try="$ac_compile"
20175 case "(($ac_try" in
20176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20177 *) ac_try_echo=$ac_try;;
20178 esac
20179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20180 (eval "$ac_compile") 2>conftest.er1
20181 ac_status=$?
20182 grep -v '^ *+' conftest.er1 >conftest.err
20183 rm -f conftest.er1
20184 cat conftest.err >&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); } &&
20187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20188 { (case "(($ac_try" in
20189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20190 *) ac_try_echo=$ac_try;;
20191 esac
20192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20193 (eval "$ac_try") 2>&5
20194 ac_status=$?
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); }; } &&
20197 { ac_try='test -s conftest.$ac_objext'
20198 { (case "(($ac_try" in
20199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20200 *) ac_try_echo=$ac_try;;
20201 esac
20202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20203 (eval "$ac_try") 2>&5
20204 ac_status=$?
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; }; then
20207 ac_cv_member_struct_ff_effect_direction=yes
20208 else
20209 echo "$as_me: failed program was:" >&5
20210 sed 's/^/| /' conftest.$ac_ext >&5
20212 ac_cv_member_struct_ff_effect_direction=no
20215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20220 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20221 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20222 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20224 cat >>confdefs.h <<_ACEOF
20225 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20226 _ACEOF
20232 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20233 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20234 if test "${wine_cv_have_sigaddset+set}" = set; then
20235 echo $ECHO_N "(cached) $ECHO_C" >&6
20236 else
20237 cat >conftest.$ac_ext <<_ACEOF
20238 /* confdefs.h. */
20239 _ACEOF
20240 cat confdefs.h >>conftest.$ac_ext
20241 cat >>conftest.$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 #include <signal.h>
20245 main ()
20247 sigset_t set; sigaddset(&set,SIGTERM);
20249 return 0;
20251 _ACEOF
20252 rm -f conftest.$ac_objext conftest$ac_exeext
20253 if { (ac_try="$ac_link"
20254 case "(($ac_try" in
20255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20256 *) ac_try_echo=$ac_try;;
20257 esac
20258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20259 (eval "$ac_link") 2>conftest.er1
20260 ac_status=$?
20261 grep -v '^ *+' conftest.er1 >conftest.err
20262 rm -f conftest.er1
20263 cat conftest.err >&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); } &&
20266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20267 { (case "(($ac_try" in
20268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20269 *) ac_try_echo=$ac_try;;
20270 esac
20271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20272 (eval "$ac_try") 2>&5
20273 ac_status=$?
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); }; } &&
20276 { ac_try='test -s conftest$ac_exeext'
20277 { (case "(($ac_try" in
20278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20279 *) ac_try_echo=$ac_try;;
20280 esac
20281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20282 (eval "$ac_try") 2>&5
20283 ac_status=$?
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; }; then
20286 wine_cv_have_sigaddset=yes
20287 else
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.$ac_ext >&5
20291 wine_cv_have_sigaddset=no
20294 rm -f core conftest.err conftest.$ac_objext \
20295 conftest$ac_exeext conftest.$ac_ext
20297 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20298 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20299 if test "$wine_cv_have_sigaddset" = "yes"
20300 then
20302 cat >>confdefs.h <<\_ACEOF
20303 #define HAVE_SIGADDSET 1
20304 _ACEOF
20309 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20310 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20311 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20312 echo $ECHO_N "(cached) $ECHO_C" >&6
20313 else
20314 cat >conftest.$ac_ext <<_ACEOF
20315 /* confdefs.h. */
20316 _ACEOF
20317 cat confdefs.h >>conftest.$ac_ext
20318 cat >>conftest.$ac_ext <<_ACEOF
20319 /* end confdefs.h. */
20321 #include <netdb.h>
20324 main ()
20327 char *name=NULL;
20328 struct hostent he;
20329 struct hostent *result;
20330 char *buf=NULL;
20331 int bufsize=0;
20332 int res,errnr;
20333 char *addr=NULL;
20334 int addrlen=0;
20335 int addrtype=0;
20336 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20337 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20340 return 0;
20342 _ACEOF
20343 rm -f conftest.$ac_objext conftest$ac_exeext
20344 if { (ac_try="$ac_link"
20345 case "(($ac_try" in
20346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20347 *) ac_try_echo=$ac_try;;
20348 esac
20349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20350 (eval "$ac_link") 2>conftest.er1
20351 ac_status=$?
20352 grep -v '^ *+' conftest.er1 >conftest.err
20353 rm -f conftest.er1
20354 cat conftest.err >&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); } &&
20357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20358 { (case "(($ac_try" in
20359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20360 *) ac_try_echo=$ac_try;;
20361 esac
20362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20363 (eval "$ac_try") 2>&5
20364 ac_status=$?
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); }; } &&
20367 { ac_try='test -s conftest$ac_exeext'
20368 { (case "(($ac_try" in
20369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20370 *) ac_try_echo=$ac_try;;
20371 esac
20372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20373 (eval "$ac_try") 2>&5
20374 ac_status=$?
20375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376 (exit $ac_status); }; }; then
20377 wine_cv_linux_gethostbyname_r_6=yes
20378 else
20379 echo "$as_me: failed program was:" >&5
20380 sed 's/^/| /' conftest.$ac_ext >&5
20382 wine_cv_linux_gethostbyname_r_6=no
20386 rm -f core conftest.err conftest.$ac_objext \
20387 conftest$ac_exeext conftest.$ac_ext
20390 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20391 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20392 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20393 then
20395 cat >>confdefs.h <<\_ACEOF
20396 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20397 _ACEOF
20401 if test "$ac_cv_header_linux_joystick_h" = "yes"
20402 then
20403 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20404 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20405 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20406 echo $ECHO_N "(cached) $ECHO_C" >&6
20407 else
20408 cat >conftest.$ac_ext <<_ACEOF
20409 /* confdefs.h. */
20410 _ACEOF
20411 cat confdefs.h >>conftest.$ac_ext
20412 cat >>conftest.$ac_ext <<_ACEOF
20413 /* end confdefs.h. */
20415 #include <sys/ioctl.h>
20416 #include <linux/joystick.h>
20418 struct js_event blub;
20419 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20420 #error "no 2.2 header"
20421 #endif
20424 main ()
20426 /*empty*/
20428 return 0;
20430 _ACEOF
20431 rm -f conftest.$ac_objext
20432 if { (ac_try="$ac_compile"
20433 case "(($ac_try" in
20434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20435 *) ac_try_echo=$ac_try;;
20436 esac
20437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20438 (eval "$ac_compile") 2>conftest.er1
20439 ac_status=$?
20440 grep -v '^ *+' conftest.er1 >conftest.err
20441 rm -f conftest.er1
20442 cat conftest.err >&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } &&
20445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20446 { (case "(($ac_try" in
20447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20448 *) ac_try_echo=$ac_try;;
20449 esac
20450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20451 (eval "$ac_try") 2>&5
20452 ac_status=$?
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); }; } &&
20455 { ac_try='test -s conftest.$ac_objext'
20456 { (case "(($ac_try" in
20457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20458 *) ac_try_echo=$ac_try;;
20459 esac
20460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20461 (eval "$ac_try") 2>&5
20462 ac_status=$?
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); }; }; then
20465 wine_cv_linux_joystick_22_api=yes
20466 else
20467 echo "$as_me: failed program was:" >&5
20468 sed 's/^/| /' conftest.$ac_ext >&5
20470 wine_cv_linux_joystick_22_api=no
20473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20476 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20477 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20478 if test "$wine_cv_linux_joystick_22_api" = "yes"
20479 then
20481 cat >>confdefs.h <<\_ACEOF
20482 #define HAVE_LINUX_22_JOYSTICK_API 1
20483 _ACEOF
20489 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20490 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20491 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20492 echo $ECHO_N "(cached) $ECHO_C" >&6
20493 else
20494 cat >conftest.$ac_ext <<_ACEOF
20495 /* confdefs.h. */
20496 _ACEOF
20497 cat confdefs.h >>conftest.$ac_ext
20498 cat >>conftest.$ac_ext <<_ACEOF
20499 /* end confdefs.h. */
20500 #include <sys/types.h>
20501 #ifdef HAVE_SYS_PARAM_H
20502 # include <sys/param.h>
20503 #endif
20504 #ifdef HAVE_SYS_MOUNT_H
20505 # include <sys/mount.h>
20506 #endif
20507 #ifdef HAVE_SYS_VFS_H
20508 # include <sys/vfs.h>
20509 #endif
20510 #ifdef HAVE_SYS_STATFS_H
20511 # include <sys/statfs.h>
20512 #endif
20515 main ()
20517 static struct statfs ac_aggr;
20518 if (ac_aggr.f_bfree)
20519 return 0;
20521 return 0;
20523 _ACEOF
20524 rm -f conftest.$ac_objext
20525 if { (ac_try="$ac_compile"
20526 case "(($ac_try" in
20527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20528 *) ac_try_echo=$ac_try;;
20529 esac
20530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20531 (eval "$ac_compile") 2>conftest.er1
20532 ac_status=$?
20533 grep -v '^ *+' conftest.er1 >conftest.err
20534 rm -f conftest.er1
20535 cat conftest.err >&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); } &&
20538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20539 { (case "(($ac_try" in
20540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20541 *) ac_try_echo=$ac_try;;
20542 esac
20543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20544 (eval "$ac_try") 2>&5
20545 ac_status=$?
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; } &&
20548 { ac_try='test -s conftest.$ac_objext'
20549 { (case "(($ac_try" in
20550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20551 *) ac_try_echo=$ac_try;;
20552 esac
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_try") 2>&5
20555 ac_status=$?
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); }; }; then
20558 ac_cv_member_struct_statfs_f_bfree=yes
20559 else
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20563 cat >conftest.$ac_ext <<_ACEOF
20564 /* confdefs.h. */
20565 _ACEOF
20566 cat confdefs.h >>conftest.$ac_ext
20567 cat >>conftest.$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 #include <sys/types.h>
20570 #ifdef HAVE_SYS_PARAM_H
20571 # include <sys/param.h>
20572 #endif
20573 #ifdef HAVE_SYS_MOUNT_H
20574 # include <sys/mount.h>
20575 #endif
20576 #ifdef HAVE_SYS_VFS_H
20577 # include <sys/vfs.h>
20578 #endif
20579 #ifdef HAVE_SYS_STATFS_H
20580 # include <sys/statfs.h>
20581 #endif
20584 main ()
20586 static struct statfs ac_aggr;
20587 if (sizeof ac_aggr.f_bfree)
20588 return 0;
20590 return 0;
20592 _ACEOF
20593 rm -f conftest.$ac_objext
20594 if { (ac_try="$ac_compile"
20595 case "(($ac_try" in
20596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20597 *) ac_try_echo=$ac_try;;
20598 esac
20599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20600 (eval "$ac_compile") 2>conftest.er1
20601 ac_status=$?
20602 grep -v '^ *+' conftest.er1 >conftest.err
20603 rm -f conftest.er1
20604 cat conftest.err >&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); } &&
20607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20608 { (case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20611 esac
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_try") 2>&5
20614 ac_status=$?
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); }; } &&
20617 { ac_try='test -s conftest.$ac_objext'
20618 { (case "(($ac_try" in
20619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20620 *) ac_try_echo=$ac_try;;
20621 esac
20622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20623 (eval "$ac_try") 2>&5
20624 ac_status=$?
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; }; then
20627 ac_cv_member_struct_statfs_f_bfree=yes
20628 else
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5
20632 ac_cv_member_struct_statfs_f_bfree=no
20635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20640 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20641 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20642 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20644 cat >>confdefs.h <<_ACEOF
20645 #define HAVE_STRUCT_STATFS_F_BFREE 1
20646 _ACEOF
20650 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20651 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20652 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20653 echo $ECHO_N "(cached) $ECHO_C" >&6
20654 else
20655 cat >conftest.$ac_ext <<_ACEOF
20656 /* confdefs.h. */
20657 _ACEOF
20658 cat confdefs.h >>conftest.$ac_ext
20659 cat >>conftest.$ac_ext <<_ACEOF
20660 /* end confdefs.h. */
20661 #include <sys/types.h>
20662 #ifdef HAVE_SYS_PARAM_H
20663 # include <sys/param.h>
20664 #endif
20665 #ifdef HAVE_SYS_MOUNT_H
20666 # include <sys/mount.h>
20667 #endif
20668 #ifdef HAVE_SYS_VFS_H
20669 # include <sys/vfs.h>
20670 #endif
20671 #ifdef HAVE_SYS_STATFS_H
20672 # include <sys/statfs.h>
20673 #endif
20676 main ()
20678 static struct statfs ac_aggr;
20679 if (ac_aggr.f_bavail)
20680 return 0;
20682 return 0;
20684 _ACEOF
20685 rm -f conftest.$ac_objext
20686 if { (ac_try="$ac_compile"
20687 case "(($ac_try" in
20688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20689 *) ac_try_echo=$ac_try;;
20690 esac
20691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20692 (eval "$ac_compile") 2>conftest.er1
20693 ac_status=$?
20694 grep -v '^ *+' conftest.er1 >conftest.err
20695 rm -f conftest.er1
20696 cat conftest.err >&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); } &&
20699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20700 { (case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20703 esac
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_try") 2>&5
20706 ac_status=$?
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; } &&
20709 { ac_try='test -s conftest.$ac_objext'
20710 { (case "(($ac_try" in
20711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20712 *) ac_try_echo=$ac_try;;
20713 esac
20714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20715 (eval "$ac_try") 2>&5
20716 ac_status=$?
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; }; then
20719 ac_cv_member_struct_statfs_f_bavail=yes
20720 else
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20724 cat >conftest.$ac_ext <<_ACEOF
20725 /* confdefs.h. */
20726 _ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 #include <sys/types.h>
20731 #ifdef HAVE_SYS_PARAM_H
20732 # include <sys/param.h>
20733 #endif
20734 #ifdef HAVE_SYS_MOUNT_H
20735 # include <sys/mount.h>
20736 #endif
20737 #ifdef HAVE_SYS_VFS_H
20738 # include <sys/vfs.h>
20739 #endif
20740 #ifdef HAVE_SYS_STATFS_H
20741 # include <sys/statfs.h>
20742 #endif
20745 main ()
20747 static struct statfs ac_aggr;
20748 if (sizeof ac_aggr.f_bavail)
20749 return 0;
20751 return 0;
20753 _ACEOF
20754 rm -f conftest.$ac_objext
20755 if { (ac_try="$ac_compile"
20756 case "(($ac_try" in
20757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20758 *) ac_try_echo=$ac_try;;
20759 esac
20760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20761 (eval "$ac_compile") 2>conftest.er1
20762 ac_status=$?
20763 grep -v '^ *+' conftest.er1 >conftest.err
20764 rm -f conftest.er1
20765 cat conftest.err >&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } &&
20768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20769 { (case "(($ac_try" in
20770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20771 *) ac_try_echo=$ac_try;;
20772 esac
20773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20774 (eval "$ac_try") 2>&5
20775 ac_status=$?
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try='test -s conftest.$ac_objext'
20779 { (case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20782 esac
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_try") 2>&5
20785 ac_status=$?
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; }; then
20788 ac_cv_member_struct_statfs_f_bavail=yes
20789 else
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20793 ac_cv_member_struct_statfs_f_bavail=no
20796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20801 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20802 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20803 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20805 cat >>confdefs.h <<_ACEOF
20806 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20807 _ACEOF
20811 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20812 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20813 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20815 else
20816 cat >conftest.$ac_ext <<_ACEOF
20817 /* confdefs.h. */
20818 _ACEOF
20819 cat confdefs.h >>conftest.$ac_ext
20820 cat >>conftest.$ac_ext <<_ACEOF
20821 /* end confdefs.h. */
20822 #include <sys/types.h>
20823 #ifdef HAVE_SYS_PARAM_H
20824 # include <sys/param.h>
20825 #endif
20826 #ifdef HAVE_SYS_MOUNT_H
20827 # include <sys/mount.h>
20828 #endif
20829 #ifdef HAVE_SYS_VFS_H
20830 # include <sys/vfs.h>
20831 #endif
20832 #ifdef HAVE_SYS_STATFS_H
20833 # include <sys/statfs.h>
20834 #endif
20837 main ()
20839 static struct statfs ac_aggr;
20840 if (ac_aggr.f_frsize)
20841 return 0;
20843 return 0;
20845 _ACEOF
20846 rm -f conftest.$ac_objext
20847 if { (ac_try="$ac_compile"
20848 case "(($ac_try" in
20849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20850 *) ac_try_echo=$ac_try;;
20851 esac
20852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20853 (eval "$ac_compile") 2>conftest.er1
20854 ac_status=$?
20855 grep -v '^ *+' conftest.er1 >conftest.err
20856 rm -f conftest.er1
20857 cat conftest.err >&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } &&
20860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20861 { (case "(($ac_try" in
20862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20863 *) ac_try_echo=$ac_try;;
20864 esac
20865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20866 (eval "$ac_try") 2>&5
20867 ac_status=$?
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; } &&
20870 { ac_try='test -s conftest.$ac_objext'
20871 { (case "(($ac_try" in
20872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20873 *) ac_try_echo=$ac_try;;
20874 esac
20875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20876 (eval "$ac_try") 2>&5
20877 ac_status=$?
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; }; then
20880 ac_cv_member_struct_statfs_f_frsize=yes
20881 else
20882 echo "$as_me: failed program was:" >&5
20883 sed 's/^/| /' conftest.$ac_ext >&5
20885 cat >conftest.$ac_ext <<_ACEOF
20886 /* confdefs.h. */
20887 _ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20891 #include <sys/types.h>
20892 #ifdef HAVE_SYS_PARAM_H
20893 # include <sys/param.h>
20894 #endif
20895 #ifdef HAVE_SYS_MOUNT_H
20896 # include <sys/mount.h>
20897 #endif
20898 #ifdef HAVE_SYS_VFS_H
20899 # include <sys/vfs.h>
20900 #endif
20901 #ifdef HAVE_SYS_STATFS_H
20902 # include <sys/statfs.h>
20903 #endif
20906 main ()
20908 static struct statfs ac_aggr;
20909 if (sizeof ac_aggr.f_frsize)
20910 return 0;
20912 return 0;
20914 _ACEOF
20915 rm -f conftest.$ac_objext
20916 if { (ac_try="$ac_compile"
20917 case "(($ac_try" in
20918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20919 *) ac_try_echo=$ac_try;;
20920 esac
20921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20922 (eval "$ac_compile") 2>conftest.er1
20923 ac_status=$?
20924 grep -v '^ *+' conftest.er1 >conftest.err
20925 rm -f conftest.er1
20926 cat conftest.err >&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); } &&
20929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20930 { (case "(($ac_try" in
20931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20932 *) ac_try_echo=$ac_try;;
20933 esac
20934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20935 (eval "$ac_try") 2>&5
20936 ac_status=$?
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; } &&
20939 { ac_try='test -s conftest.$ac_objext'
20940 { (case "(($ac_try" in
20941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20942 *) ac_try_echo=$ac_try;;
20943 esac
20944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20945 (eval "$ac_try") 2>&5
20946 ac_status=$?
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); }; }; then
20949 ac_cv_member_struct_statfs_f_frsize=yes
20950 else
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.$ac_ext >&5
20954 ac_cv_member_struct_statfs_f_frsize=no
20957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20962 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20963 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20964 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20966 cat >>confdefs.h <<_ACEOF
20967 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20968 _ACEOF
20972 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20973 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20974 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20975 echo $ECHO_N "(cached) $ECHO_C" >&6
20976 else
20977 cat >conftest.$ac_ext <<_ACEOF
20978 /* confdefs.h. */
20979 _ACEOF
20980 cat confdefs.h >>conftest.$ac_ext
20981 cat >>conftest.$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20983 #include <sys/types.h>
20984 #ifdef HAVE_SYS_PARAM_H
20985 # include <sys/param.h>
20986 #endif
20987 #ifdef HAVE_SYS_MOUNT_H
20988 # include <sys/mount.h>
20989 #endif
20990 #ifdef HAVE_SYS_VFS_H
20991 # include <sys/vfs.h>
20992 #endif
20993 #ifdef HAVE_SYS_STATFS_H
20994 # include <sys/statfs.h>
20995 #endif
20998 main ()
21000 static struct statfs ac_aggr;
21001 if (ac_aggr.f_ffree)
21002 return 0;
21004 return 0;
21006 _ACEOF
21007 rm -f conftest.$ac_objext
21008 if { (ac_try="$ac_compile"
21009 case "(($ac_try" in
21010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21011 *) ac_try_echo=$ac_try;;
21012 esac
21013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_compile") 2>conftest.er1
21015 ac_status=$?
21016 grep -v '^ *+' conftest.er1 >conftest.err
21017 rm -f conftest.er1
21018 cat conftest.err >&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } &&
21021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21022 { (case "(($ac_try" in
21023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21024 *) ac_try_echo=$ac_try;;
21025 esac
21026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21027 (eval "$ac_try") 2>&5
21028 ac_status=$?
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); }; } &&
21031 { ac_try='test -s conftest.$ac_objext'
21032 { (case "(($ac_try" in
21033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21034 *) ac_try_echo=$ac_try;;
21035 esac
21036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21037 (eval "$ac_try") 2>&5
21038 ac_status=$?
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); }; }; then
21041 ac_cv_member_struct_statfs_f_ffree=yes
21042 else
21043 echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.$ac_ext >&5
21046 cat >conftest.$ac_ext <<_ACEOF
21047 /* confdefs.h. */
21048 _ACEOF
21049 cat confdefs.h >>conftest.$ac_ext
21050 cat >>conftest.$ac_ext <<_ACEOF
21051 /* end confdefs.h. */
21052 #include <sys/types.h>
21053 #ifdef HAVE_SYS_PARAM_H
21054 # include <sys/param.h>
21055 #endif
21056 #ifdef HAVE_SYS_MOUNT_H
21057 # include <sys/mount.h>
21058 #endif
21059 #ifdef HAVE_SYS_VFS_H
21060 # include <sys/vfs.h>
21061 #endif
21062 #ifdef HAVE_SYS_STATFS_H
21063 # include <sys/statfs.h>
21064 #endif
21067 main ()
21069 static struct statfs ac_aggr;
21070 if (sizeof ac_aggr.f_ffree)
21071 return 0;
21073 return 0;
21075 _ACEOF
21076 rm -f conftest.$ac_objext
21077 if { (ac_try="$ac_compile"
21078 case "(($ac_try" in
21079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21080 *) ac_try_echo=$ac_try;;
21081 esac
21082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21083 (eval "$ac_compile") 2>conftest.er1
21084 ac_status=$?
21085 grep -v '^ *+' conftest.er1 >conftest.err
21086 rm -f conftest.er1
21087 cat conftest.err >&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); } &&
21090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21091 { (case "(($ac_try" in
21092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21093 *) ac_try_echo=$ac_try;;
21094 esac
21095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21096 (eval "$ac_try") 2>&5
21097 ac_status=$?
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; } &&
21100 { ac_try='test -s conftest.$ac_objext'
21101 { (case "(($ac_try" in
21102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21103 *) ac_try_echo=$ac_try;;
21104 esac
21105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21106 (eval "$ac_try") 2>&5
21107 ac_status=$?
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; }; then
21110 ac_cv_member_struct_statfs_f_ffree=yes
21111 else
21112 echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21115 ac_cv_member_struct_statfs_f_ffree=no
21118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21123 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21124 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21125 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21127 cat >>confdefs.h <<_ACEOF
21128 #define HAVE_STRUCT_STATFS_F_FFREE 1
21129 _ACEOF
21133 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21134 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21135 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21136 echo $ECHO_N "(cached) $ECHO_C" >&6
21137 else
21138 cat >conftest.$ac_ext <<_ACEOF
21139 /* confdefs.h. */
21140 _ACEOF
21141 cat confdefs.h >>conftest.$ac_ext
21142 cat >>conftest.$ac_ext <<_ACEOF
21143 /* end confdefs.h. */
21144 #include <sys/types.h>
21145 #ifdef HAVE_SYS_PARAM_H
21146 # include <sys/param.h>
21147 #endif
21148 #ifdef HAVE_SYS_MOUNT_H
21149 # include <sys/mount.h>
21150 #endif
21151 #ifdef HAVE_SYS_VFS_H
21152 # include <sys/vfs.h>
21153 #endif
21154 #ifdef HAVE_SYS_STATFS_H
21155 # include <sys/statfs.h>
21156 #endif
21159 main ()
21161 static struct statfs ac_aggr;
21162 if (ac_aggr.f_favail)
21163 return 0;
21165 return 0;
21167 _ACEOF
21168 rm -f conftest.$ac_objext
21169 if { (ac_try="$ac_compile"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21173 esac
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_compile") 2>conftest.er1
21176 ac_status=$?
21177 grep -v '^ *+' conftest.er1 >conftest.err
21178 rm -f conftest.er1
21179 cat conftest.err >&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } &&
21182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21183 { (case "(($ac_try" in
21184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21185 *) ac_try_echo=$ac_try;;
21186 esac
21187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21188 (eval "$ac_try") 2>&5
21189 ac_status=$?
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); }; } &&
21192 { ac_try='test -s conftest.$ac_objext'
21193 { (case "(($ac_try" in
21194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21195 *) ac_try_echo=$ac_try;;
21196 esac
21197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21198 (eval "$ac_try") 2>&5
21199 ac_status=$?
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; }; then
21202 ac_cv_member_struct_statfs_f_favail=yes
21203 else
21204 echo "$as_me: failed program was:" >&5
21205 sed 's/^/| /' conftest.$ac_ext >&5
21207 cat >conftest.$ac_ext <<_ACEOF
21208 /* confdefs.h. */
21209 _ACEOF
21210 cat confdefs.h >>conftest.$ac_ext
21211 cat >>conftest.$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21213 #include <sys/types.h>
21214 #ifdef HAVE_SYS_PARAM_H
21215 # include <sys/param.h>
21216 #endif
21217 #ifdef HAVE_SYS_MOUNT_H
21218 # include <sys/mount.h>
21219 #endif
21220 #ifdef HAVE_SYS_VFS_H
21221 # include <sys/vfs.h>
21222 #endif
21223 #ifdef HAVE_SYS_STATFS_H
21224 # include <sys/statfs.h>
21225 #endif
21228 main ()
21230 static struct statfs ac_aggr;
21231 if (sizeof ac_aggr.f_favail)
21232 return 0;
21234 return 0;
21236 _ACEOF
21237 rm -f conftest.$ac_objext
21238 if { (ac_try="$ac_compile"
21239 case "(($ac_try" in
21240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21241 *) ac_try_echo=$ac_try;;
21242 esac
21243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21244 (eval "$ac_compile") 2>conftest.er1
21245 ac_status=$?
21246 grep -v '^ *+' conftest.er1 >conftest.err
21247 rm -f conftest.er1
21248 cat conftest.err >&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); } &&
21251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21252 { (case "(($ac_try" in
21253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21254 *) ac_try_echo=$ac_try;;
21255 esac
21256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21257 (eval "$ac_try") 2>&5
21258 ac_status=$?
21259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260 (exit $ac_status); }; } &&
21261 { ac_try='test -s conftest.$ac_objext'
21262 { (case "(($ac_try" in
21263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21264 *) ac_try_echo=$ac_try;;
21265 esac
21266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21267 (eval "$ac_try") 2>&5
21268 ac_status=$?
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); }; }; then
21271 ac_cv_member_struct_statfs_f_favail=yes
21272 else
21273 echo "$as_me: failed program was:" >&5
21274 sed 's/^/| /' conftest.$ac_ext >&5
21276 ac_cv_member_struct_statfs_f_favail=no
21279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21284 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21285 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21286 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21288 cat >>confdefs.h <<_ACEOF
21289 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21290 _ACEOF
21294 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21295 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21296 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21297 echo $ECHO_N "(cached) $ECHO_C" >&6
21298 else
21299 cat >conftest.$ac_ext <<_ACEOF
21300 /* confdefs.h. */
21301 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 #include <sys/types.h>
21306 #ifdef HAVE_SYS_PARAM_H
21307 # include <sys/param.h>
21308 #endif
21309 #ifdef HAVE_SYS_MOUNT_H
21310 # include <sys/mount.h>
21311 #endif
21312 #ifdef HAVE_SYS_VFS_H
21313 # include <sys/vfs.h>
21314 #endif
21315 #ifdef HAVE_SYS_STATFS_H
21316 # include <sys/statfs.h>
21317 #endif
21320 main ()
21322 static struct statfs ac_aggr;
21323 if (ac_aggr.f_namelen)
21324 return 0;
21326 return 0;
21328 _ACEOF
21329 rm -f conftest.$ac_objext
21330 if { (ac_try="$ac_compile"
21331 case "(($ac_try" in
21332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21333 *) ac_try_echo=$ac_try;;
21334 esac
21335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21336 (eval "$ac_compile") 2>conftest.er1
21337 ac_status=$?
21338 grep -v '^ *+' conftest.er1 >conftest.err
21339 rm -f conftest.er1
21340 cat conftest.err >&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); } &&
21343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21344 { (case "(($ac_try" in
21345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21346 *) ac_try_echo=$ac_try;;
21347 esac
21348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21349 (eval "$ac_try") 2>&5
21350 ac_status=$?
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); }; } &&
21353 { ac_try='test -s conftest.$ac_objext'
21354 { (case "(($ac_try" in
21355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21356 *) ac_try_echo=$ac_try;;
21357 esac
21358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21359 (eval "$ac_try") 2>&5
21360 ac_status=$?
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); }; }; then
21363 ac_cv_member_struct_statfs_f_namelen=yes
21364 else
21365 echo "$as_me: failed program was:" >&5
21366 sed 's/^/| /' conftest.$ac_ext >&5
21368 cat >conftest.$ac_ext <<_ACEOF
21369 /* confdefs.h. */
21370 _ACEOF
21371 cat confdefs.h >>conftest.$ac_ext
21372 cat >>conftest.$ac_ext <<_ACEOF
21373 /* end confdefs.h. */
21374 #include <sys/types.h>
21375 #ifdef HAVE_SYS_PARAM_H
21376 # include <sys/param.h>
21377 #endif
21378 #ifdef HAVE_SYS_MOUNT_H
21379 # include <sys/mount.h>
21380 #endif
21381 #ifdef HAVE_SYS_VFS_H
21382 # include <sys/vfs.h>
21383 #endif
21384 #ifdef HAVE_SYS_STATFS_H
21385 # include <sys/statfs.h>
21386 #endif
21389 main ()
21391 static struct statfs ac_aggr;
21392 if (sizeof ac_aggr.f_namelen)
21393 return 0;
21395 return 0;
21397 _ACEOF
21398 rm -f conftest.$ac_objext
21399 if { (ac_try="$ac_compile"
21400 case "(($ac_try" in
21401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21402 *) ac_try_echo=$ac_try;;
21403 esac
21404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21405 (eval "$ac_compile") 2>conftest.er1
21406 ac_status=$?
21407 grep -v '^ *+' conftest.er1 >conftest.err
21408 rm -f conftest.er1
21409 cat conftest.err >&5
21410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 (exit $ac_status); } &&
21412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21413 { (case "(($ac_try" in
21414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21415 *) ac_try_echo=$ac_try;;
21416 esac
21417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21418 (eval "$ac_try") 2>&5
21419 ac_status=$?
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); }; } &&
21422 { ac_try='test -s conftest.$ac_objext'
21423 { (case "(($ac_try" in
21424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21425 *) ac_try_echo=$ac_try;;
21426 esac
21427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21428 (eval "$ac_try") 2>&5
21429 ac_status=$?
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); }; }; then
21432 ac_cv_member_struct_statfs_f_namelen=yes
21433 else
21434 echo "$as_me: failed program was:" >&5
21435 sed 's/^/| /' conftest.$ac_ext >&5
21437 ac_cv_member_struct_statfs_f_namelen=no
21440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21445 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21446 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21447 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21449 cat >>confdefs.h <<_ACEOF
21450 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21451 _ACEOF
21457 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21458 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21459 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21460 echo $ECHO_N "(cached) $ECHO_C" >&6
21461 else
21462 cat >conftest.$ac_ext <<_ACEOF
21463 /* confdefs.h. */
21464 _ACEOF
21465 cat confdefs.h >>conftest.$ac_ext
21466 cat >>conftest.$ac_ext <<_ACEOF
21467 /* end confdefs.h. */
21468 #ifdef HAVE_SYS_STATVFS_H
21469 #include <sys/statvfs.h>
21470 #endif
21473 main ()
21475 static struct statvfs ac_aggr;
21476 if (ac_aggr.f_blocks)
21477 return 0;
21479 return 0;
21481 _ACEOF
21482 rm -f conftest.$ac_objext
21483 if { (ac_try="$ac_compile"
21484 case "(($ac_try" in
21485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21486 *) ac_try_echo=$ac_try;;
21487 esac
21488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21489 (eval "$ac_compile") 2>conftest.er1
21490 ac_status=$?
21491 grep -v '^ *+' conftest.er1 >conftest.err
21492 rm -f conftest.er1
21493 cat conftest.err >&5
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); } &&
21496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21497 { (case "(($ac_try" in
21498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21499 *) ac_try_echo=$ac_try;;
21500 esac
21501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21502 (eval "$ac_try") 2>&5
21503 ac_status=$?
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); }; } &&
21506 { ac_try='test -s conftest.$ac_objext'
21507 { (case "(($ac_try" in
21508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21509 *) ac_try_echo=$ac_try;;
21510 esac
21511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21512 (eval "$ac_try") 2>&5
21513 ac_status=$?
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); }; }; then
21516 ac_cv_member_struct_statvfs_f_blocks=yes
21517 else
21518 echo "$as_me: failed program was:" >&5
21519 sed 's/^/| /' conftest.$ac_ext >&5
21521 cat >conftest.$ac_ext <<_ACEOF
21522 /* confdefs.h. */
21523 _ACEOF
21524 cat confdefs.h >>conftest.$ac_ext
21525 cat >>conftest.$ac_ext <<_ACEOF
21526 /* end confdefs.h. */
21527 #ifdef HAVE_SYS_STATVFS_H
21528 #include <sys/statvfs.h>
21529 #endif
21532 main ()
21534 static struct statvfs ac_aggr;
21535 if (sizeof ac_aggr.f_blocks)
21536 return 0;
21538 return 0;
21540 _ACEOF
21541 rm -f conftest.$ac_objext
21542 if { (ac_try="$ac_compile"
21543 case "(($ac_try" in
21544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21545 *) ac_try_echo=$ac_try;;
21546 esac
21547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21548 (eval "$ac_compile") 2>conftest.er1
21549 ac_status=$?
21550 grep -v '^ *+' conftest.er1 >conftest.err
21551 rm -f conftest.er1
21552 cat conftest.err >&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); } &&
21555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21556 { (case "(($ac_try" in
21557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21558 *) ac_try_echo=$ac_try;;
21559 esac
21560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21561 (eval "$ac_try") 2>&5
21562 ac_status=$?
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; } &&
21565 { ac_try='test -s conftest.$ac_objext'
21566 { (case "(($ac_try" in
21567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21568 *) ac_try_echo=$ac_try;;
21569 esac
21570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21571 (eval "$ac_try") 2>&5
21572 ac_status=$?
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 ac_cv_member_struct_statvfs_f_blocks=yes
21576 else
21577 echo "$as_me: failed program was:" >&5
21578 sed 's/^/| /' conftest.$ac_ext >&5
21580 ac_cv_member_struct_statvfs_f_blocks=no
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21588 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21589 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21590 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21592 cat >>confdefs.h <<_ACEOF
21593 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21594 _ACEOF
21600 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21601 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21602 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21603 echo $ECHO_N "(cached) $ECHO_C" >&6
21604 else
21605 cat >conftest.$ac_ext <<_ACEOF
21606 /* confdefs.h. */
21607 _ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 #include <sys/types.h>
21612 #ifdef HAVE_SYS_SOCKET_H
21613 # include <sys/socket.h>
21614 #endif
21615 #ifdef HAVE_SYS_UN_H
21616 # include <sys/un.h>
21617 #endif
21620 main ()
21622 static struct msghdr ac_aggr;
21623 if (ac_aggr.msg_accrights)
21624 return 0;
21626 return 0;
21628 _ACEOF
21629 rm -f conftest.$ac_objext
21630 if { (ac_try="$ac_compile"
21631 case "(($ac_try" in
21632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21633 *) ac_try_echo=$ac_try;;
21634 esac
21635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21636 (eval "$ac_compile") 2>conftest.er1
21637 ac_status=$?
21638 grep -v '^ *+' conftest.er1 >conftest.err
21639 rm -f conftest.er1
21640 cat conftest.err >&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } &&
21643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21644 { (case "(($ac_try" in
21645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21646 *) ac_try_echo=$ac_try;;
21647 esac
21648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21649 (eval "$ac_try") 2>&5
21650 ac_status=$?
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; } &&
21653 { ac_try='test -s conftest.$ac_objext'
21654 { (case "(($ac_try" in
21655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656 *) ac_try_echo=$ac_try;;
21657 esac
21658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21659 (eval "$ac_try") 2>&5
21660 ac_status=$?
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); }; }; then
21663 ac_cv_member_struct_msghdr_msg_accrights=yes
21664 else
21665 echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.$ac_ext >&5
21668 cat >conftest.$ac_ext <<_ACEOF
21669 /* confdefs.h. */
21670 _ACEOF
21671 cat confdefs.h >>conftest.$ac_ext
21672 cat >>conftest.$ac_ext <<_ACEOF
21673 /* end confdefs.h. */
21674 #include <sys/types.h>
21675 #ifdef HAVE_SYS_SOCKET_H
21676 # include <sys/socket.h>
21677 #endif
21678 #ifdef HAVE_SYS_UN_H
21679 # include <sys/un.h>
21680 #endif
21683 main ()
21685 static struct msghdr ac_aggr;
21686 if (sizeof ac_aggr.msg_accrights)
21687 return 0;
21689 return 0;
21691 _ACEOF
21692 rm -f conftest.$ac_objext
21693 if { (ac_try="$ac_compile"
21694 case "(($ac_try" in
21695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21696 *) ac_try_echo=$ac_try;;
21697 esac
21698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21699 (eval "$ac_compile") 2>conftest.er1
21700 ac_status=$?
21701 grep -v '^ *+' conftest.er1 >conftest.err
21702 rm -f conftest.er1
21703 cat conftest.err >&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); } &&
21706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21707 { (case "(($ac_try" in
21708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21709 *) ac_try_echo=$ac_try;;
21710 esac
21711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21712 (eval "$ac_try") 2>&5
21713 ac_status=$?
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); }; } &&
21716 { ac_try='test -s conftest.$ac_objext'
21717 { (case "(($ac_try" in
21718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21719 *) ac_try_echo=$ac_try;;
21720 esac
21721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21722 (eval "$ac_try") 2>&5
21723 ac_status=$?
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); }; }; then
21726 ac_cv_member_struct_msghdr_msg_accrights=yes
21727 else
21728 echo "$as_me: failed program was:" >&5
21729 sed 's/^/| /' conftest.$ac_ext >&5
21731 ac_cv_member_struct_msghdr_msg_accrights=no
21734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21739 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21740 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21741 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21743 cat >>confdefs.h <<_ACEOF
21744 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21745 _ACEOF
21749 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21750 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21751 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21752 echo $ECHO_N "(cached) $ECHO_C" >&6
21753 else
21754 cat >conftest.$ac_ext <<_ACEOF
21755 /* confdefs.h. */
21756 _ACEOF
21757 cat confdefs.h >>conftest.$ac_ext
21758 cat >>conftest.$ac_ext <<_ACEOF
21759 /* end confdefs.h. */
21760 #include <sys/types.h>
21761 #ifdef HAVE_SYS_SOCKET_H
21762 # include <sys/socket.h>
21763 #endif
21764 #ifdef HAVE_SYS_UN_H
21765 # include <sys/un.h>
21766 #endif
21769 main ()
21771 static struct sockaddr ac_aggr;
21772 if (ac_aggr.sa_len)
21773 return 0;
21775 return 0;
21777 _ACEOF
21778 rm -f conftest.$ac_objext
21779 if { (ac_try="$ac_compile"
21780 case "(($ac_try" in
21781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21782 *) ac_try_echo=$ac_try;;
21783 esac
21784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21785 (eval "$ac_compile") 2>conftest.er1
21786 ac_status=$?
21787 grep -v '^ *+' conftest.er1 >conftest.err
21788 rm -f conftest.er1
21789 cat conftest.err >&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); } &&
21792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21793 { (case "(($ac_try" in
21794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21795 *) ac_try_echo=$ac_try;;
21796 esac
21797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21798 (eval "$ac_try") 2>&5
21799 ac_status=$?
21800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801 (exit $ac_status); }; } &&
21802 { ac_try='test -s conftest.$ac_objext'
21803 { (case "(($ac_try" in
21804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21805 *) ac_try_echo=$ac_try;;
21806 esac
21807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21808 (eval "$ac_try") 2>&5
21809 ac_status=$?
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); }; }; then
21812 ac_cv_member_struct_sockaddr_sa_len=yes
21813 else
21814 echo "$as_me: failed program was:" >&5
21815 sed 's/^/| /' conftest.$ac_ext >&5
21817 cat >conftest.$ac_ext <<_ACEOF
21818 /* confdefs.h. */
21819 _ACEOF
21820 cat confdefs.h >>conftest.$ac_ext
21821 cat >>conftest.$ac_ext <<_ACEOF
21822 /* end confdefs.h. */
21823 #include <sys/types.h>
21824 #ifdef HAVE_SYS_SOCKET_H
21825 # include <sys/socket.h>
21826 #endif
21827 #ifdef HAVE_SYS_UN_H
21828 # include <sys/un.h>
21829 #endif
21832 main ()
21834 static struct sockaddr ac_aggr;
21835 if (sizeof ac_aggr.sa_len)
21836 return 0;
21838 return 0;
21840 _ACEOF
21841 rm -f conftest.$ac_objext
21842 if { (ac_try="$ac_compile"
21843 case "(($ac_try" in
21844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21845 *) ac_try_echo=$ac_try;;
21846 esac
21847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21848 (eval "$ac_compile") 2>conftest.er1
21849 ac_status=$?
21850 grep -v '^ *+' conftest.er1 >conftest.err
21851 rm -f conftest.er1
21852 cat conftest.err >&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); } &&
21855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21856 { (case "(($ac_try" in
21857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21858 *) ac_try_echo=$ac_try;;
21859 esac
21860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21861 (eval "$ac_try") 2>&5
21862 ac_status=$?
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); }; } &&
21865 { ac_try='test -s conftest.$ac_objext'
21866 { (case "(($ac_try" in
21867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21868 *) ac_try_echo=$ac_try;;
21869 esac
21870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21871 (eval "$ac_try") 2>&5
21872 ac_status=$?
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); }; }; then
21875 ac_cv_member_struct_sockaddr_sa_len=yes
21876 else
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21880 ac_cv_member_struct_sockaddr_sa_len=no
21883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21888 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21889 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21890 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21892 cat >>confdefs.h <<_ACEOF
21893 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21894 _ACEOF
21898 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21899 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21900 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21901 echo $ECHO_N "(cached) $ECHO_C" >&6
21902 else
21903 cat >conftest.$ac_ext <<_ACEOF
21904 /* confdefs.h. */
21905 _ACEOF
21906 cat confdefs.h >>conftest.$ac_ext
21907 cat >>conftest.$ac_ext <<_ACEOF
21908 /* end confdefs.h. */
21909 #include <sys/types.h>
21910 #ifdef HAVE_SYS_SOCKET_H
21911 # include <sys/socket.h>
21912 #endif
21913 #ifdef HAVE_SYS_UN_H
21914 # include <sys/un.h>
21915 #endif
21918 main ()
21920 static struct sockaddr_un ac_aggr;
21921 if (ac_aggr.sun_len)
21922 return 0;
21924 return 0;
21926 _ACEOF
21927 rm -f conftest.$ac_objext
21928 if { (ac_try="$ac_compile"
21929 case "(($ac_try" in
21930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21931 *) ac_try_echo=$ac_try;;
21932 esac
21933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21934 (eval "$ac_compile") 2>conftest.er1
21935 ac_status=$?
21936 grep -v '^ *+' conftest.er1 >conftest.err
21937 rm -f conftest.er1
21938 cat conftest.err >&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); } &&
21941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21942 { (case "(($ac_try" in
21943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21944 *) ac_try_echo=$ac_try;;
21945 esac
21946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21947 (eval "$ac_try") 2>&5
21948 ac_status=$?
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); }; } &&
21951 { ac_try='test -s conftest.$ac_objext'
21952 { (case "(($ac_try" in
21953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21954 *) ac_try_echo=$ac_try;;
21955 esac
21956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21957 (eval "$ac_try") 2>&5
21958 ac_status=$?
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); }; }; then
21961 ac_cv_member_struct_sockaddr_un_sun_len=yes
21962 else
21963 echo "$as_me: failed program was:" >&5
21964 sed 's/^/| /' conftest.$ac_ext >&5
21966 cat >conftest.$ac_ext <<_ACEOF
21967 /* confdefs.h. */
21968 _ACEOF
21969 cat confdefs.h >>conftest.$ac_ext
21970 cat >>conftest.$ac_ext <<_ACEOF
21971 /* end confdefs.h. */
21972 #include <sys/types.h>
21973 #ifdef HAVE_SYS_SOCKET_H
21974 # include <sys/socket.h>
21975 #endif
21976 #ifdef HAVE_SYS_UN_H
21977 # include <sys/un.h>
21978 #endif
21981 main ()
21983 static struct sockaddr_un ac_aggr;
21984 if (sizeof ac_aggr.sun_len)
21985 return 0;
21987 return 0;
21989 _ACEOF
21990 rm -f conftest.$ac_objext
21991 if { (ac_try="$ac_compile"
21992 case "(($ac_try" in
21993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21994 *) ac_try_echo=$ac_try;;
21995 esac
21996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_compile") 2>conftest.er1
21998 ac_status=$?
21999 grep -v '^ *+' conftest.er1 >conftest.err
22000 rm -f conftest.er1
22001 cat conftest.err >&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } &&
22004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22005 { (case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22008 esac
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_try") 2>&5
22011 ac_status=$?
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; } &&
22014 { ac_try='test -s conftest.$ac_objext'
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_try") 2>&5
22021 ac_status=$?
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); }; }; then
22024 ac_cv_member_struct_sockaddr_un_sun_len=yes
22025 else
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.$ac_ext >&5
22029 ac_cv_member_struct_sockaddr_un_sun_len=no
22032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22037 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22038 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22039 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22041 cat >>confdefs.h <<_ACEOF
22042 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22043 _ACEOF
22049 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22050 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22051 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22052 echo $ECHO_N "(cached) $ECHO_C" >&6
22053 else
22054 cat >conftest.$ac_ext <<_ACEOF
22055 /* confdefs.h. */
22056 _ACEOF
22057 cat confdefs.h >>conftest.$ac_ext
22058 cat >>conftest.$ac_ext <<_ACEOF
22059 /* end confdefs.h. */
22060 #include <sys/types.h>
22061 #ifdef HAVE_SCSI_SG_H
22062 #include <scsi/sg.h>
22063 #endif
22066 main ()
22068 static scsireq_t ac_aggr;
22069 if (ac_aggr.cmd)
22070 return 0;
22072 return 0;
22074 _ACEOF
22075 rm -f conftest.$ac_objext
22076 if { (ac_try="$ac_compile"
22077 case "(($ac_try" in
22078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22079 *) ac_try_echo=$ac_try;;
22080 esac
22081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22082 (eval "$ac_compile") 2>conftest.er1
22083 ac_status=$?
22084 grep -v '^ *+' conftest.er1 >conftest.err
22085 rm -f conftest.er1
22086 cat conftest.err >&5
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); } &&
22089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22090 { (case "(($ac_try" in
22091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22092 *) ac_try_echo=$ac_try;;
22093 esac
22094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22095 (eval "$ac_try") 2>&5
22096 ac_status=$?
22097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); }; } &&
22099 { ac_try='test -s conftest.$ac_objext'
22100 { (case "(($ac_try" in
22101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22102 *) ac_try_echo=$ac_try;;
22103 esac
22104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22105 (eval "$ac_try") 2>&5
22106 ac_status=$?
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; }; then
22109 ac_cv_member_scsireq_t_cmd=yes
22110 else
22111 echo "$as_me: failed program was:" >&5
22112 sed 's/^/| /' conftest.$ac_ext >&5
22114 cat >conftest.$ac_ext <<_ACEOF
22115 /* confdefs.h. */
22116 _ACEOF
22117 cat confdefs.h >>conftest.$ac_ext
22118 cat >>conftest.$ac_ext <<_ACEOF
22119 /* end confdefs.h. */
22120 #include <sys/types.h>
22121 #ifdef HAVE_SCSI_SG_H
22122 #include <scsi/sg.h>
22123 #endif
22126 main ()
22128 static scsireq_t ac_aggr;
22129 if (sizeof ac_aggr.cmd)
22130 return 0;
22132 return 0;
22134 _ACEOF
22135 rm -f conftest.$ac_objext
22136 if { (ac_try="$ac_compile"
22137 case "(($ac_try" in
22138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22139 *) ac_try_echo=$ac_try;;
22140 esac
22141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22142 (eval "$ac_compile") 2>conftest.er1
22143 ac_status=$?
22144 grep -v '^ *+' conftest.er1 >conftest.err
22145 rm -f conftest.er1
22146 cat conftest.err >&5
22147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148 (exit $ac_status); } &&
22149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22150 { (case "(($ac_try" in
22151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22152 *) ac_try_echo=$ac_try;;
22153 esac
22154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22155 (eval "$ac_try") 2>&5
22156 ac_status=$?
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; } &&
22159 { ac_try='test -s conftest.$ac_objext'
22160 { (case "(($ac_try" in
22161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22162 *) ac_try_echo=$ac_try;;
22163 esac
22164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22165 (eval "$ac_try") 2>&5
22166 ac_status=$?
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); }; }; then
22169 ac_cv_member_scsireq_t_cmd=yes
22170 else
22171 echo "$as_me: failed program was:" >&5
22172 sed 's/^/| /' conftest.$ac_ext >&5
22174 ac_cv_member_scsireq_t_cmd=no
22177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22182 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22183 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22184 if test $ac_cv_member_scsireq_t_cmd = yes; then
22186 cat >>confdefs.h <<_ACEOF
22187 #define HAVE_SCSIREQ_T_CMD 1
22188 _ACEOF
22192 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22193 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22194 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22195 echo $ECHO_N "(cached) $ECHO_C" >&6
22196 else
22197 cat >conftest.$ac_ext <<_ACEOF
22198 /* confdefs.h. */
22199 _ACEOF
22200 cat confdefs.h >>conftest.$ac_ext
22201 cat >>conftest.$ac_ext <<_ACEOF
22202 /* end confdefs.h. */
22203 #include <sys/types.h>
22204 #ifdef HAVE_SCSI_SG_H
22205 #include <scsi/sg.h>
22206 #endif
22209 main ()
22211 static sg_io_hdr_t ac_aggr;
22212 if (ac_aggr.interface_id)
22213 return 0;
22215 return 0;
22217 _ACEOF
22218 rm -f conftest.$ac_objext
22219 if { (ac_try="$ac_compile"
22220 case "(($ac_try" in
22221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22222 *) ac_try_echo=$ac_try;;
22223 esac
22224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22225 (eval "$ac_compile") 2>conftest.er1
22226 ac_status=$?
22227 grep -v '^ *+' conftest.er1 >conftest.err
22228 rm -f conftest.er1
22229 cat conftest.err >&5
22230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231 (exit $ac_status); } &&
22232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22233 { (case "(($ac_try" in
22234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22235 *) ac_try_echo=$ac_try;;
22236 esac
22237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22238 (eval "$ac_try") 2>&5
22239 ac_status=$?
22240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241 (exit $ac_status); }; } &&
22242 { ac_try='test -s conftest.$ac_objext'
22243 { (case "(($ac_try" in
22244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22245 *) ac_try_echo=$ac_try;;
22246 esac
22247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22248 (eval "$ac_try") 2>&5
22249 ac_status=$?
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); }; }; then
22252 ac_cv_member_sg_io_hdr_t_interface_id=yes
22253 else
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.$ac_ext >&5
22257 cat >conftest.$ac_ext <<_ACEOF
22258 /* confdefs.h. */
22259 _ACEOF
22260 cat confdefs.h >>conftest.$ac_ext
22261 cat >>conftest.$ac_ext <<_ACEOF
22262 /* end confdefs.h. */
22263 #include <sys/types.h>
22264 #ifdef HAVE_SCSI_SG_H
22265 #include <scsi/sg.h>
22266 #endif
22269 main ()
22271 static sg_io_hdr_t ac_aggr;
22272 if (sizeof ac_aggr.interface_id)
22273 return 0;
22275 return 0;
22277 _ACEOF
22278 rm -f conftest.$ac_objext
22279 if { (ac_try="$ac_compile"
22280 case "(($ac_try" in
22281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22282 *) ac_try_echo=$ac_try;;
22283 esac
22284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22285 (eval "$ac_compile") 2>conftest.er1
22286 ac_status=$?
22287 grep -v '^ *+' conftest.er1 >conftest.err
22288 rm -f conftest.er1
22289 cat conftest.err >&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); } &&
22292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22293 { (case "(($ac_try" in
22294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22295 *) ac_try_echo=$ac_try;;
22296 esac
22297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22298 (eval "$ac_try") 2>&5
22299 ac_status=$?
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); }; } &&
22302 { ac_try='test -s conftest.$ac_objext'
22303 { (case "(($ac_try" in
22304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22305 *) ac_try_echo=$ac_try;;
22306 esac
22307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22308 (eval "$ac_try") 2>&5
22309 ac_status=$?
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); }; }; then
22312 ac_cv_member_sg_io_hdr_t_interface_id=yes
22313 else
22314 echo "$as_me: failed program was:" >&5
22315 sed 's/^/| /' conftest.$ac_ext >&5
22317 ac_cv_member_sg_io_hdr_t_interface_id=no
22320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22325 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22326 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22327 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22329 cat >>confdefs.h <<_ACEOF
22330 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22331 _ACEOF
22337 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22338 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22339 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22340 echo $ECHO_N "(cached) $ECHO_C" >&6
22341 else
22342 cat >conftest.$ac_ext <<_ACEOF
22343 /* confdefs.h. */
22344 _ACEOF
22345 cat confdefs.h >>conftest.$ac_ext
22346 cat >>conftest.$ac_ext <<_ACEOF
22347 /* end confdefs.h. */
22348 #include <signal.h>
22351 main ()
22353 static siginfo_t ac_aggr;
22354 if (ac_aggr.si_fd)
22355 return 0;
22357 return 0;
22359 _ACEOF
22360 rm -f conftest.$ac_objext
22361 if { (ac_try="$ac_compile"
22362 case "(($ac_try" in
22363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22364 *) ac_try_echo=$ac_try;;
22365 esac
22366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22367 (eval "$ac_compile") 2>conftest.er1
22368 ac_status=$?
22369 grep -v '^ *+' conftest.er1 >conftest.err
22370 rm -f conftest.er1
22371 cat conftest.err >&5
22372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22373 (exit $ac_status); } &&
22374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22375 { (case "(($ac_try" in
22376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22377 *) ac_try_echo=$ac_try;;
22378 esac
22379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22380 (eval "$ac_try") 2>&5
22381 ac_status=$?
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); }; } &&
22384 { ac_try='test -s conftest.$ac_objext'
22385 { (case "(($ac_try" in
22386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22387 *) ac_try_echo=$ac_try;;
22388 esac
22389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22390 (eval "$ac_try") 2>&5
22391 ac_status=$?
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); }; }; then
22394 ac_cv_member_siginfo_t_si_fd=yes
22395 else
22396 echo "$as_me: failed program was:" >&5
22397 sed 's/^/| /' conftest.$ac_ext >&5
22399 cat >conftest.$ac_ext <<_ACEOF
22400 /* confdefs.h. */
22401 _ACEOF
22402 cat confdefs.h >>conftest.$ac_ext
22403 cat >>conftest.$ac_ext <<_ACEOF
22404 /* end confdefs.h. */
22405 #include <signal.h>
22408 main ()
22410 static siginfo_t ac_aggr;
22411 if (sizeof ac_aggr.si_fd)
22412 return 0;
22414 return 0;
22416 _ACEOF
22417 rm -f conftest.$ac_objext
22418 if { (ac_try="$ac_compile"
22419 case "(($ac_try" in
22420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22421 *) ac_try_echo=$ac_try;;
22422 esac
22423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22424 (eval "$ac_compile") 2>conftest.er1
22425 ac_status=$?
22426 grep -v '^ *+' conftest.er1 >conftest.err
22427 rm -f conftest.er1
22428 cat conftest.err >&5
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); } &&
22431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22432 { (case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22434 *) ac_try_echo=$ac_try;;
22435 esac
22436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22437 (eval "$ac_try") 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; } &&
22441 { ac_try='test -s conftest.$ac_objext'
22442 { (case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22445 esac
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_try") 2>&5
22448 ac_status=$?
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); }; }; then
22451 ac_cv_member_siginfo_t_si_fd=yes
22452 else
22453 echo "$as_me: failed program was:" >&5
22454 sed 's/^/| /' conftest.$ac_ext >&5
22456 ac_cv_member_siginfo_t_si_fd=no
22459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22464 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22465 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22466 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22468 cat >>confdefs.h <<_ACEOF
22469 #define HAVE_SIGINFO_T_SI_FD 1
22470 _ACEOF
22476 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22477 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22478 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22479 echo $ECHO_N "(cached) $ECHO_C" >&6
22480 else
22481 cat >conftest.$ac_ext <<_ACEOF
22482 /* confdefs.h. */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 #include <sys/types.h>
22488 #ifdef HAVE_SYS_MTIO_H
22489 #include <sys/mtio.h>
22490 #endif
22493 main ()
22495 static struct mtget ac_aggr;
22496 if (ac_aggr.mt_blksiz)
22497 return 0;
22499 return 0;
22501 _ACEOF
22502 rm -f conftest.$ac_objext
22503 if { (ac_try="$ac_compile"
22504 case "(($ac_try" in
22505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22506 *) ac_try_echo=$ac_try;;
22507 esac
22508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22509 (eval "$ac_compile") 2>conftest.er1
22510 ac_status=$?
22511 grep -v '^ *+' conftest.er1 >conftest.err
22512 rm -f conftest.er1
22513 cat conftest.err >&5
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); } &&
22516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22517 { (case "(($ac_try" in
22518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22519 *) ac_try_echo=$ac_try;;
22520 esac
22521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22522 (eval "$ac_try") 2>&5
22523 ac_status=$?
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); }; } &&
22526 { ac_try='test -s conftest.$ac_objext'
22527 { (case "(($ac_try" in
22528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22529 *) ac_try_echo=$ac_try;;
22530 esac
22531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22532 (eval "$ac_try") 2>&5
22533 ac_status=$?
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); }; }; then
22536 ac_cv_member_struct_mtget_mt_blksiz=yes
22537 else
22538 echo "$as_me: failed program was:" >&5
22539 sed 's/^/| /' conftest.$ac_ext >&5
22541 cat >conftest.$ac_ext <<_ACEOF
22542 /* confdefs.h. */
22543 _ACEOF
22544 cat confdefs.h >>conftest.$ac_ext
22545 cat >>conftest.$ac_ext <<_ACEOF
22546 /* end confdefs.h. */
22547 #include <sys/types.h>
22548 #ifdef HAVE_SYS_MTIO_H
22549 #include <sys/mtio.h>
22550 #endif
22553 main ()
22555 static struct mtget ac_aggr;
22556 if (sizeof ac_aggr.mt_blksiz)
22557 return 0;
22559 return 0;
22561 _ACEOF
22562 rm -f conftest.$ac_objext
22563 if { (ac_try="$ac_compile"
22564 case "(($ac_try" in
22565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22566 *) ac_try_echo=$ac_try;;
22567 esac
22568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22569 (eval "$ac_compile") 2>conftest.er1
22570 ac_status=$?
22571 grep -v '^ *+' conftest.er1 >conftest.err
22572 rm -f conftest.er1
22573 cat conftest.err >&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } &&
22576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22577 { (case "(($ac_try" in
22578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22579 *) ac_try_echo=$ac_try;;
22580 esac
22581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22582 (eval "$ac_try") 2>&5
22583 ac_status=$?
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); }; } &&
22586 { ac_try='test -s conftest.$ac_objext'
22587 { (case "(($ac_try" in
22588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22589 *) ac_try_echo=$ac_try;;
22590 esac
22591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22592 (eval "$ac_try") 2>&5
22593 ac_status=$?
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); }; }; then
22596 ac_cv_member_struct_mtget_mt_blksiz=yes
22597 else
22598 echo "$as_me: failed program was:" >&5
22599 sed 's/^/| /' conftest.$ac_ext >&5
22601 ac_cv_member_struct_mtget_mt_blksiz=no
22604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22609 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22610 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22611 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22613 cat >>confdefs.h <<_ACEOF
22614 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22615 _ACEOF
22619 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22620 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22621 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22622 echo $ECHO_N "(cached) $ECHO_C" >&6
22623 else
22624 cat >conftest.$ac_ext <<_ACEOF
22625 /* confdefs.h. */
22626 _ACEOF
22627 cat confdefs.h >>conftest.$ac_ext
22628 cat >>conftest.$ac_ext <<_ACEOF
22629 /* end confdefs.h. */
22630 #include <sys/types.h>
22631 #ifdef HAVE_SYS_MTIO_H
22632 #include <sys/mtio.h>
22633 #endif
22636 main ()
22638 static struct mtget ac_aggr;
22639 if (ac_aggr.mt_gstat)
22640 return 0;
22642 return 0;
22644 _ACEOF
22645 rm -f conftest.$ac_objext
22646 if { (ac_try="$ac_compile"
22647 case "(($ac_try" in
22648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22649 *) ac_try_echo=$ac_try;;
22650 esac
22651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22652 (eval "$ac_compile") 2>conftest.er1
22653 ac_status=$?
22654 grep -v '^ *+' conftest.er1 >conftest.err
22655 rm -f conftest.er1
22656 cat conftest.err >&5
22657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 (exit $ac_status); } &&
22659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22660 { (case "(($ac_try" in
22661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22662 *) ac_try_echo=$ac_try;;
22663 esac
22664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22665 (eval "$ac_try") 2>&5
22666 ac_status=$?
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; } &&
22669 { ac_try='test -s conftest.$ac_objext'
22670 { (case "(($ac_try" in
22671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22672 *) ac_try_echo=$ac_try;;
22673 esac
22674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22675 (eval "$ac_try") 2>&5
22676 ac_status=$?
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); }; }; then
22679 ac_cv_member_struct_mtget_mt_gstat=yes
22680 else
22681 echo "$as_me: failed program was:" >&5
22682 sed 's/^/| /' conftest.$ac_ext >&5
22684 cat >conftest.$ac_ext <<_ACEOF
22685 /* confdefs.h. */
22686 _ACEOF
22687 cat confdefs.h >>conftest.$ac_ext
22688 cat >>conftest.$ac_ext <<_ACEOF
22689 /* end confdefs.h. */
22690 #include <sys/types.h>
22691 #ifdef HAVE_SYS_MTIO_H
22692 #include <sys/mtio.h>
22693 #endif
22696 main ()
22698 static struct mtget ac_aggr;
22699 if (sizeof ac_aggr.mt_gstat)
22700 return 0;
22702 return 0;
22704 _ACEOF
22705 rm -f conftest.$ac_objext
22706 if { (ac_try="$ac_compile"
22707 case "(($ac_try" in
22708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22709 *) ac_try_echo=$ac_try;;
22710 esac
22711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22712 (eval "$ac_compile") 2>conftest.er1
22713 ac_status=$?
22714 grep -v '^ *+' conftest.er1 >conftest.err
22715 rm -f conftest.er1
22716 cat conftest.err >&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); } &&
22719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22720 { (case "(($ac_try" in
22721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22722 *) ac_try_echo=$ac_try;;
22723 esac
22724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22725 (eval "$ac_try") 2>&5
22726 ac_status=$?
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); }; } &&
22729 { ac_try='test -s conftest.$ac_objext'
22730 { (case "(($ac_try" in
22731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22732 *) ac_try_echo=$ac_try;;
22733 esac
22734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22735 (eval "$ac_try") 2>&5
22736 ac_status=$?
22737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22738 (exit $ac_status); }; }; then
22739 ac_cv_member_struct_mtget_mt_gstat=yes
22740 else
22741 echo "$as_me: failed program was:" >&5
22742 sed 's/^/| /' conftest.$ac_ext >&5
22744 ac_cv_member_struct_mtget_mt_gstat=no
22747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22752 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22753 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22754 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22756 cat >>confdefs.h <<_ACEOF
22757 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22758 _ACEOF
22762 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22763 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22764 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22765 echo $ECHO_N "(cached) $ECHO_C" >&6
22766 else
22767 cat >conftest.$ac_ext <<_ACEOF
22768 /* confdefs.h. */
22769 _ACEOF
22770 cat confdefs.h >>conftest.$ac_ext
22771 cat >>conftest.$ac_ext <<_ACEOF
22772 /* end confdefs.h. */
22773 #include <sys/types.h>
22774 #ifdef HAVE_SYS_MTIO_H
22775 #include <sys/mtio.h>
22776 #endif
22779 main ()
22781 static struct mtget ac_aggr;
22782 if (ac_aggr.mt_blkno)
22783 return 0;
22785 return 0;
22787 _ACEOF
22788 rm -f conftest.$ac_objext
22789 if { (ac_try="$ac_compile"
22790 case "(($ac_try" in
22791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22792 *) ac_try_echo=$ac_try;;
22793 esac
22794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22795 (eval "$ac_compile") 2>conftest.er1
22796 ac_status=$?
22797 grep -v '^ *+' conftest.er1 >conftest.err
22798 rm -f conftest.er1
22799 cat conftest.err >&5
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); } &&
22802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22803 { (case "(($ac_try" in
22804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22805 *) ac_try_echo=$ac_try;;
22806 esac
22807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22808 (eval "$ac_try") 2>&5
22809 ac_status=$?
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); }; } &&
22812 { ac_try='test -s conftest.$ac_objext'
22813 { (case "(($ac_try" in
22814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22815 *) ac_try_echo=$ac_try;;
22816 esac
22817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22818 (eval "$ac_try") 2>&5
22819 ac_status=$?
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); }; }; then
22822 ac_cv_member_struct_mtget_mt_blkno=yes
22823 else
22824 echo "$as_me: failed program was:" >&5
22825 sed 's/^/| /' conftest.$ac_ext >&5
22827 cat >conftest.$ac_ext <<_ACEOF
22828 /* confdefs.h. */
22829 _ACEOF
22830 cat confdefs.h >>conftest.$ac_ext
22831 cat >>conftest.$ac_ext <<_ACEOF
22832 /* end confdefs.h. */
22833 #include <sys/types.h>
22834 #ifdef HAVE_SYS_MTIO_H
22835 #include <sys/mtio.h>
22836 #endif
22839 main ()
22841 static struct mtget ac_aggr;
22842 if (sizeof ac_aggr.mt_blkno)
22843 return 0;
22845 return 0;
22847 _ACEOF
22848 rm -f conftest.$ac_objext
22849 if { (ac_try="$ac_compile"
22850 case "(($ac_try" in
22851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22852 *) ac_try_echo=$ac_try;;
22853 esac
22854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22855 (eval "$ac_compile") 2>conftest.er1
22856 ac_status=$?
22857 grep -v '^ *+' conftest.er1 >conftest.err
22858 rm -f conftest.er1
22859 cat conftest.err >&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); } &&
22862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22863 { (case "(($ac_try" in
22864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22865 *) ac_try_echo=$ac_try;;
22866 esac
22867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22868 (eval "$ac_try") 2>&5
22869 ac_status=$?
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); }; } &&
22872 { ac_try='test -s conftest.$ac_objext'
22873 { (case "(($ac_try" in
22874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22875 *) ac_try_echo=$ac_try;;
22876 esac
22877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22878 (eval "$ac_try") 2>&5
22879 ac_status=$?
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; }; then
22882 ac_cv_member_struct_mtget_mt_blkno=yes
22883 else
22884 echo "$as_me: failed program was:" >&5
22885 sed 's/^/| /' conftest.$ac_ext >&5
22887 ac_cv_member_struct_mtget_mt_blkno=no
22890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22895 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22896 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22897 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22899 cat >>confdefs.h <<_ACEOF
22900 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22901 _ACEOF
22907 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22908 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22909 if test "${ac_cv_member_struct_option_name+set}" = set; then
22910 echo $ECHO_N "(cached) $ECHO_C" >&6
22911 else
22912 cat >conftest.$ac_ext <<_ACEOF
22913 /* confdefs.h. */
22914 _ACEOF
22915 cat confdefs.h >>conftest.$ac_ext
22916 cat >>conftest.$ac_ext <<_ACEOF
22917 /* end confdefs.h. */
22918 #ifdef HAVE_GETOPT_H
22919 #include <getopt.h>
22920 #endif
22923 main ()
22925 static struct option ac_aggr;
22926 if (ac_aggr.name)
22927 return 0;
22929 return 0;
22931 _ACEOF
22932 rm -f conftest.$ac_objext
22933 if { (ac_try="$ac_compile"
22934 case "(($ac_try" in
22935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22936 *) ac_try_echo=$ac_try;;
22937 esac
22938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22939 (eval "$ac_compile") 2>conftest.er1
22940 ac_status=$?
22941 grep -v '^ *+' conftest.er1 >conftest.err
22942 rm -f conftest.er1
22943 cat conftest.err >&5
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); } &&
22946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22947 { (case "(($ac_try" in
22948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22949 *) ac_try_echo=$ac_try;;
22950 esac
22951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22952 (eval "$ac_try") 2>&5
22953 ac_status=$?
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); }; } &&
22956 { ac_try='test -s conftest.$ac_objext'
22957 { (case "(($ac_try" in
22958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22959 *) ac_try_echo=$ac_try;;
22960 esac
22961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22962 (eval "$ac_try") 2>&5
22963 ac_status=$?
22964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 (exit $ac_status); }; }; then
22966 ac_cv_member_struct_option_name=yes
22967 else
22968 echo "$as_me: failed program was:" >&5
22969 sed 's/^/| /' conftest.$ac_ext >&5
22971 cat >conftest.$ac_ext <<_ACEOF
22972 /* confdefs.h. */
22973 _ACEOF
22974 cat confdefs.h >>conftest.$ac_ext
22975 cat >>conftest.$ac_ext <<_ACEOF
22976 /* end confdefs.h. */
22977 #ifdef HAVE_GETOPT_H
22978 #include <getopt.h>
22979 #endif
22982 main ()
22984 static struct option ac_aggr;
22985 if (sizeof ac_aggr.name)
22986 return 0;
22988 return 0;
22990 _ACEOF
22991 rm -f conftest.$ac_objext
22992 if { (ac_try="$ac_compile"
22993 case "(($ac_try" in
22994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22995 *) ac_try_echo=$ac_try;;
22996 esac
22997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22998 (eval "$ac_compile") 2>conftest.er1
22999 ac_status=$?
23000 grep -v '^ *+' conftest.er1 >conftest.err
23001 rm -f conftest.er1
23002 cat conftest.err >&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); } &&
23005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23006 { (case "(($ac_try" in
23007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23008 *) ac_try_echo=$ac_try;;
23009 esac
23010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23011 (eval "$ac_try") 2>&5
23012 ac_status=$?
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); }; } &&
23015 { ac_try='test -s conftest.$ac_objext'
23016 { (case "(($ac_try" in
23017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23018 *) ac_try_echo=$ac_try;;
23019 esac
23020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23021 (eval "$ac_try") 2>&5
23022 ac_status=$?
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); }; }; then
23025 ac_cv_member_struct_option_name=yes
23026 else
23027 echo "$as_me: failed program was:" >&5
23028 sed 's/^/| /' conftest.$ac_ext >&5
23030 ac_cv_member_struct_option_name=no
23033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23038 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23039 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23040 if test $ac_cv_member_struct_option_name = yes; then
23042 cat >>confdefs.h <<_ACEOF
23043 #define HAVE_STRUCT_OPTION_NAME 1
23044 _ACEOF
23050 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23051 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23052 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23053 echo $ECHO_N "(cached) $ECHO_C" >&6
23054 else
23055 cat >conftest.$ac_ext <<_ACEOF
23056 /* confdefs.h. */
23057 _ACEOF
23058 cat confdefs.h >>conftest.$ac_ext
23059 cat >>conftest.$ac_ext <<_ACEOF
23060 /* end confdefs.h. */
23061 $ac_includes_default
23063 main ()
23065 static struct stat ac_aggr;
23066 if (ac_aggr.st_blocks)
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_stat_st_blocks=yes
23107 else
23108 echo "$as_me: failed program was:" >&5
23109 sed 's/^/| /' conftest.$ac_ext >&5
23111 cat >conftest.$ac_ext <<_ACEOF
23112 /* confdefs.h. */
23113 _ACEOF
23114 cat confdefs.h >>conftest.$ac_ext
23115 cat >>conftest.$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23117 $ac_includes_default
23119 main ()
23121 static struct stat ac_aggr;
23122 if (sizeof ac_aggr.st_blocks)
23123 return 0;
23125 return 0;
23127 _ACEOF
23128 rm -f conftest.$ac_objext
23129 if { (ac_try="$ac_compile"
23130 case "(($ac_try" in
23131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23132 *) ac_try_echo=$ac_try;;
23133 esac
23134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23135 (eval "$ac_compile") 2>conftest.er1
23136 ac_status=$?
23137 grep -v '^ *+' conftest.er1 >conftest.err
23138 rm -f conftest.er1
23139 cat conftest.err >&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); } &&
23142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23143 { (case "(($ac_try" in
23144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23145 *) ac_try_echo=$ac_try;;
23146 esac
23147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23148 (eval "$ac_try") 2>&5
23149 ac_status=$?
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); }; } &&
23152 { ac_try='test -s conftest.$ac_objext'
23153 { (case "(($ac_try" in
23154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23155 *) ac_try_echo=$ac_try;;
23156 esac
23157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23158 (eval "$ac_try") 2>&5
23159 ac_status=$?
23160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161 (exit $ac_status); }; }; then
23162 ac_cv_member_struct_stat_st_blocks=yes
23163 else
23164 echo "$as_me: failed program was:" >&5
23165 sed 's/^/| /' conftest.$ac_ext >&5
23167 ac_cv_member_struct_stat_st_blocks=no
23170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23175 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23176 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23177 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23179 cat >>confdefs.h <<_ACEOF
23180 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23181 _ACEOF
23187 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23188 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23189 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23190 echo $ECHO_N "(cached) $ECHO_C" >&6
23191 else
23192 cat >conftest.$ac_ext <<_ACEOF
23193 /* confdefs.h. */
23194 _ACEOF
23195 cat confdefs.h >>conftest.$ac_ext
23196 cat >>conftest.$ac_ext <<_ACEOF
23197 /* end confdefs.h. */
23198 #ifdef HAVE_SYS_TYPES_H
23199 #include <sys/types.h>
23200 #endif
23201 #ifdef HAVE_NETINET_IN_H
23202 #include <netinet/in.h>
23203 #endif
23206 main ()
23208 static struct sockaddr_in6 ac_aggr;
23209 if (ac_aggr.sin6_scope_id)
23210 return 0;
23212 return 0;
23214 _ACEOF
23215 rm -f conftest.$ac_objext
23216 if { (ac_try="$ac_compile"
23217 case "(($ac_try" in
23218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23219 *) ac_try_echo=$ac_try;;
23220 esac
23221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23222 (eval "$ac_compile") 2>conftest.er1
23223 ac_status=$?
23224 grep -v '^ *+' conftest.er1 >conftest.err
23225 rm -f conftest.er1
23226 cat conftest.err >&5
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); } &&
23229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23230 { (case "(($ac_try" in
23231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23232 *) ac_try_echo=$ac_try;;
23233 esac
23234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23235 (eval "$ac_try") 2>&5
23236 ac_status=$?
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); }; } &&
23239 { ac_try='test -s conftest.$ac_objext'
23240 { (case "(($ac_try" in
23241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23242 *) ac_try_echo=$ac_try;;
23243 esac
23244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23245 (eval "$ac_try") 2>&5
23246 ac_status=$?
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; }; then
23249 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23250 else
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.$ac_ext >&5
23254 cat >conftest.$ac_ext <<_ACEOF
23255 /* confdefs.h. */
23256 _ACEOF
23257 cat confdefs.h >>conftest.$ac_ext
23258 cat >>conftest.$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23260 #ifdef HAVE_SYS_TYPES_H
23261 #include <sys/types.h>
23262 #endif
23263 #ifdef HAVE_NETINET_IN_H
23264 #include <netinet/in.h>
23265 #endif
23268 main ()
23270 static struct sockaddr_in6 ac_aggr;
23271 if (sizeof ac_aggr.sin6_scope_id)
23272 return 0;
23274 return 0;
23276 _ACEOF
23277 rm -f conftest.$ac_objext
23278 if { (ac_try="$ac_compile"
23279 case "(($ac_try" in
23280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23281 *) ac_try_echo=$ac_try;;
23282 esac
23283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23284 (eval "$ac_compile") 2>conftest.er1
23285 ac_status=$?
23286 grep -v '^ *+' conftest.er1 >conftest.err
23287 rm -f conftest.er1
23288 cat conftest.err >&5
23289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 (exit $ac_status); } &&
23291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23292 { (case "(($ac_try" in
23293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23294 *) ac_try_echo=$ac_try;;
23295 esac
23296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23297 (eval "$ac_try") 2>&5
23298 ac_status=$?
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); }; } &&
23301 { ac_try='test -s conftest.$ac_objext'
23302 { (case "(($ac_try" in
23303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23304 *) ac_try_echo=$ac_try;;
23305 esac
23306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23307 (eval "$ac_try") 2>&5
23308 ac_status=$?
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); }; }; then
23311 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23312 else
23313 echo "$as_me: failed program was:" >&5
23314 sed 's/^/| /' conftest.$ac_ext >&5
23316 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23324 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23325 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23326 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23328 cat >>confdefs.h <<_ACEOF
23329 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23330 _ACEOF
23336 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23337 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23338 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23339 echo $ECHO_N "(cached) $ECHO_C" >&6
23340 else
23341 cat >conftest.$ac_ext <<_ACEOF
23342 /* confdefs.h. */
23343 _ACEOF
23344 cat confdefs.h >>conftest.$ac_ext
23345 cat >>conftest.$ac_ext <<_ACEOF
23346 /* end confdefs.h. */
23347 #ifdef HAVE_SYS_TYPES_H
23348 #include <sys/types.h>
23349 #endif
23350 #ifdef HAVE_NETINET_IN_H
23351 # include <netinet/in.h>
23352 #endif
23353 #ifdef HAVE_ARPA_NAMESER_H
23354 # include <arpa/nameser.h>
23355 #endif
23358 main ()
23360 static ns_msg ac_aggr;
23361 if (ac_aggr._msg_ptr)
23362 return 0;
23364 return 0;
23366 _ACEOF
23367 rm -f conftest.$ac_objext
23368 if { (ac_try="$ac_compile"
23369 case "(($ac_try" in
23370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23371 *) ac_try_echo=$ac_try;;
23372 esac
23373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23374 (eval "$ac_compile") 2>conftest.er1
23375 ac_status=$?
23376 grep -v '^ *+' conftest.er1 >conftest.err
23377 rm -f conftest.er1
23378 cat conftest.err >&5
23379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23380 (exit $ac_status); } &&
23381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23382 { (case "(($ac_try" in
23383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23384 *) ac_try_echo=$ac_try;;
23385 esac
23386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23387 (eval "$ac_try") 2>&5
23388 ac_status=$?
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); }; } &&
23391 { ac_try='test -s conftest.$ac_objext'
23392 { (case "(($ac_try" in
23393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23394 *) ac_try_echo=$ac_try;;
23395 esac
23396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23397 (eval "$ac_try") 2>&5
23398 ac_status=$?
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); }; }; then
23401 ac_cv_member_ns_msg__msg_ptr=yes
23402 else
23403 echo "$as_me: failed program was:" >&5
23404 sed 's/^/| /' conftest.$ac_ext >&5
23406 cat >conftest.$ac_ext <<_ACEOF
23407 /* confdefs.h. */
23408 _ACEOF
23409 cat confdefs.h >>conftest.$ac_ext
23410 cat >>conftest.$ac_ext <<_ACEOF
23411 /* end confdefs.h. */
23412 #ifdef HAVE_SYS_TYPES_H
23413 #include <sys/types.h>
23414 #endif
23415 #ifdef HAVE_NETINET_IN_H
23416 # include <netinet/in.h>
23417 #endif
23418 #ifdef HAVE_ARPA_NAMESER_H
23419 # include <arpa/nameser.h>
23420 #endif
23423 main ()
23425 static ns_msg ac_aggr;
23426 if (sizeof ac_aggr._msg_ptr)
23427 return 0;
23429 return 0;
23431 _ACEOF
23432 rm -f conftest.$ac_objext
23433 if { (ac_try="$ac_compile"
23434 case "(($ac_try" in
23435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23436 *) ac_try_echo=$ac_try;;
23437 esac
23438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23439 (eval "$ac_compile") 2>conftest.er1
23440 ac_status=$?
23441 grep -v '^ *+' conftest.er1 >conftest.err
23442 rm -f conftest.er1
23443 cat conftest.err >&5
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); } &&
23446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23447 { (case "(($ac_try" in
23448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23449 *) ac_try_echo=$ac_try;;
23450 esac
23451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23452 (eval "$ac_try") 2>&5
23453 ac_status=$?
23454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455 (exit $ac_status); }; } &&
23456 { ac_try='test -s conftest.$ac_objext'
23457 { (case "(($ac_try" in
23458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23459 *) ac_try_echo=$ac_try;;
23460 esac
23461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23462 (eval "$ac_try") 2>&5
23463 ac_status=$?
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); }; }; then
23466 ac_cv_member_ns_msg__msg_ptr=yes
23467 else
23468 echo "$as_me: failed program was:" >&5
23469 sed 's/^/| /' conftest.$ac_ext >&5
23471 ac_cv_member_ns_msg__msg_ptr=no
23474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23479 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23480 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23481 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23483 cat >>confdefs.h <<_ACEOF
23484 #define HAVE_NS_MSG__MSG_PTR 1
23485 _ACEOF
23491 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23492 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23493 if test "${ac_cv_have_timezone+set}" = set; then
23494 echo $ECHO_N "(cached) $ECHO_C" >&6
23495 else
23496 cat >conftest.$ac_ext <<_ACEOF
23497 /* confdefs.h. */
23498 _ACEOF
23499 cat confdefs.h >>conftest.$ac_ext
23500 cat >>conftest.$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23502 #include <time.h>
23504 main ()
23506 timezone;
23508 return 0;
23510 _ACEOF
23511 rm -f conftest.$ac_objext conftest$ac_exeext
23512 if { (ac_try="$ac_link"
23513 case "(($ac_try" in
23514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23515 *) ac_try_echo=$ac_try;;
23516 esac
23517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23518 (eval "$ac_link") 2>conftest.er1
23519 ac_status=$?
23520 grep -v '^ *+' conftest.er1 >conftest.err
23521 rm -f conftest.er1
23522 cat conftest.err >&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); } &&
23525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23526 { (case "(($ac_try" in
23527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23528 *) ac_try_echo=$ac_try;;
23529 esac
23530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23531 (eval "$ac_try") 2>&5
23532 ac_status=$?
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); }; } &&
23535 { ac_try='test -s conftest$ac_exeext'
23536 { (case "(($ac_try" in
23537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23538 *) ac_try_echo=$ac_try;;
23539 esac
23540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23541 (eval "$ac_try") 2>&5
23542 ac_status=$?
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); }; }; then
23545 ac_cv_have_timezone="yes"
23546 else
23547 echo "$as_me: failed program was:" >&5
23548 sed 's/^/| /' conftest.$ac_ext >&5
23550 ac_cv_have_timezone="no"
23553 rm -f core conftest.err conftest.$ac_objext \
23554 conftest$ac_exeext conftest.$ac_ext
23556 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23557 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23558 if test "$ac_cv_have_timezone" = "yes"
23559 then
23561 cat >>confdefs.h <<\_ACEOF
23562 #define HAVE_TIMEZONE 1
23563 _ACEOF
23566 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23567 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23568 if test "${ac_cv_have_daylight+set}" = set; then
23569 echo $ECHO_N "(cached) $ECHO_C" >&6
23570 else
23571 cat >conftest.$ac_ext <<_ACEOF
23572 /* confdefs.h. */
23573 _ACEOF
23574 cat confdefs.h >>conftest.$ac_ext
23575 cat >>conftest.$ac_ext <<_ACEOF
23576 /* end confdefs.h. */
23577 #include <time.h>
23579 main ()
23581 daylight;
23583 return 0;
23585 _ACEOF
23586 rm -f conftest.$ac_objext conftest$ac_exeext
23587 if { (ac_try="$ac_link"
23588 case "(($ac_try" in
23589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23590 *) ac_try_echo=$ac_try;;
23591 esac
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_link") 2>conftest.er1
23594 ac_status=$?
23595 grep -v '^ *+' conftest.er1 >conftest.err
23596 rm -f conftest.er1
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } &&
23600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23601 { (case "(($ac_try" in
23602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23603 *) ac_try_echo=$ac_try;;
23604 esac
23605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23606 (eval "$ac_try") 2>&5
23607 ac_status=$?
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); }; } &&
23610 { ac_try='test -s conftest$ac_exeext'
23611 { (case "(($ac_try" in
23612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23613 *) ac_try_echo=$ac_try;;
23614 esac
23615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23616 (eval "$ac_try") 2>&5
23617 ac_status=$?
23618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23619 (exit $ac_status); }; }; then
23620 ac_cv_have_daylight="yes"
23621 else
23622 echo "$as_me: failed program was:" >&5
23623 sed 's/^/| /' conftest.$ac_ext >&5
23625 ac_cv_have_daylight="no"
23628 rm -f core conftest.err conftest.$ac_objext \
23629 conftest$ac_exeext conftest.$ac_ext
23631 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23632 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23633 if test "$ac_cv_have_daylight" = "yes"
23634 then
23636 cat >>confdefs.h <<\_ACEOF
23637 #define HAVE_DAYLIGHT 1
23638 _ACEOF
23643 case $host_cpu in
23644 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23645 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23646 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23647 echo $ECHO_N "(cached) $ECHO_C" >&6
23648 else
23649 cat >conftest.$ac_ext <<_ACEOF
23650 /* confdefs.h. */
23651 _ACEOF
23652 cat confdefs.h >>conftest.$ac_ext
23653 cat >>conftest.$ac_ext <<_ACEOF
23654 /* end confdefs.h. */
23655 #ifndef __i386__
23657 #endif
23658 _ACEOF
23659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23660 $EGREP "yes" >/dev/null 2>&1; then
23661 ac_cv_cpp_def___i386__=yes
23662 else
23663 ac_cv_cpp_def___i386__=no
23665 rm -f conftest*
23668 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23669 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23670 if test $ac_cv_cpp_def___i386__ = yes; then
23671 CFLAGS="$CFLAGS -D__i386__"
23672 LINTFLAGS="$LINTFLAGS -D__i386__"
23675 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23676 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23677 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23678 echo $ECHO_N "(cached) $ECHO_C" >&6
23679 else
23680 cat >conftest.$ac_ext <<_ACEOF
23681 /* confdefs.h. */
23682 _ACEOF
23683 cat confdefs.h >>conftest.$ac_ext
23684 cat >>conftest.$ac_ext <<_ACEOF
23685 /* end confdefs.h. */
23686 #ifndef __x86_64__
23688 #endif
23689 _ACEOF
23690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23691 $EGREP "yes" >/dev/null 2>&1; then
23692 ac_cv_cpp_def___x86_64__=yes
23693 else
23694 ac_cv_cpp_def___x86_64__=no
23696 rm -f conftest*
23699 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23700 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23701 if test $ac_cv_cpp_def___x86_64__ = yes; then
23702 CFLAGS="$CFLAGS -D__x86_64__"
23703 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23706 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
23707 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
23708 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
23709 echo $ECHO_N "(cached) $ECHO_C" >&6
23710 else
23711 cat >conftest.$ac_ext <<_ACEOF
23712 /* confdefs.h. */
23713 _ACEOF
23714 cat confdefs.h >>conftest.$ac_ext
23715 cat >>conftest.$ac_ext <<_ACEOF
23716 /* end confdefs.h. */
23717 #ifndef _WIN64
23719 #endif
23720 _ACEOF
23721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23722 $EGREP "yes" >/dev/null 2>&1; then
23723 ac_cv_cpp_def__WIN64=yes
23724 else
23725 ac_cv_cpp_def__WIN64=no
23727 rm -f conftest*
23730 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
23731 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
23732 if test $ac_cv_cpp_def__WIN64 = yes; then
23733 CFLAGS="$CFLAGS -D_WIN64"
23734 LINTFLAGS="$LINTFLAGS -D_WIN64"
23737 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23738 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23739 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23740 echo $ECHO_N "(cached) $ECHO_C" >&6
23741 else
23742 cat >conftest.$ac_ext <<_ACEOF
23743 /* confdefs.h. */
23744 _ACEOF
23745 cat confdefs.h >>conftest.$ac_ext
23746 cat >>conftest.$ac_ext <<_ACEOF
23747 /* end confdefs.h. */
23748 #ifndef __ALPHA__
23750 #endif
23751 _ACEOF
23752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23753 $EGREP "yes" >/dev/null 2>&1; then
23754 ac_cv_cpp_def___ALPHA__=yes
23755 else
23756 ac_cv_cpp_def___ALPHA__=no
23758 rm -f conftest*
23761 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23762 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23763 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23764 CFLAGS="$CFLAGS -D__ALPHA__"
23765 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23768 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23769 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23770 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23771 echo $ECHO_N "(cached) $ECHO_C" >&6
23772 else
23773 cat >conftest.$ac_ext <<_ACEOF
23774 /* confdefs.h. */
23775 _ACEOF
23776 cat confdefs.h >>conftest.$ac_ext
23777 cat >>conftest.$ac_ext <<_ACEOF
23778 /* end confdefs.h. */
23779 #ifndef __sparc__
23781 #endif
23782 _ACEOF
23783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23784 $EGREP "yes" >/dev/null 2>&1; then
23785 ac_cv_cpp_def___sparc__=yes
23786 else
23787 ac_cv_cpp_def___sparc__=no
23789 rm -f conftest*
23792 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23793 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23794 if test $ac_cv_cpp_def___sparc__ = yes; then
23795 CFLAGS="$CFLAGS -D__sparc__"
23796 LINTFLAGS="$LINTFLAGS -D__sparc__"
23799 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23800 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23801 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23803 else
23804 cat >conftest.$ac_ext <<_ACEOF
23805 /* confdefs.h. */
23806 _ACEOF
23807 cat confdefs.h >>conftest.$ac_ext
23808 cat >>conftest.$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23810 #ifndef __powerpc__
23812 #endif
23813 _ACEOF
23814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23815 $EGREP "yes" >/dev/null 2>&1; then
23816 ac_cv_cpp_def___powerpc__=yes
23817 else
23818 ac_cv_cpp_def___powerpc__=no
23820 rm -f conftest*
23823 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23824 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23825 if test $ac_cv_cpp_def___powerpc__ = yes; then
23826 CFLAGS="$CFLAGS -D__powerpc__"
23827 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23830 esac
23832 case $host_vendor in
23833 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23834 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23835 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23836 echo $ECHO_N "(cached) $ECHO_C" >&6
23837 else
23838 cat >conftest.$ac_ext <<_ACEOF
23839 /* confdefs.h. */
23840 _ACEOF
23841 cat confdefs.h >>conftest.$ac_ext
23842 cat >>conftest.$ac_ext <<_ACEOF
23843 /* end confdefs.h. */
23844 #ifndef __sun__
23846 #endif
23847 _ACEOF
23848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23849 $EGREP "yes" >/dev/null 2>&1; then
23850 ac_cv_cpp_def___sun__=yes
23851 else
23852 ac_cv_cpp_def___sun__=no
23854 rm -f conftest*
23857 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23858 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23859 if test $ac_cv_cpp_def___sun__ = yes; then
23860 CFLAGS="$CFLAGS -D__sun__"
23861 LINTFLAGS="$LINTFLAGS -D__sun__"
23864 esac
23870 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
23872 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
23874 ac_config_commands="$ac_config_commands dlls/kernel/messages"
23876 ac_config_commands="$ac_config_commands dlls/user/resources"
23878 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23880 ac_config_commands="$ac_config_commands include/wine"
23883 MAKE_RULES=Make.rules
23886 MAKE_DLL_RULES=dlls/Makedll.rules
23889 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23892 MAKE_TEST_RULES=dlls/Maketest.rules
23895 MAKE_PROG_RULES=programs/Makeprog.rules
23898 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
23901 cat >confcache <<\_ACEOF
23902 # This file is a shell script that caches the results of configure
23903 # tests run on this system so they can be shared between configure
23904 # scripts and configure runs, see configure's option --config-cache.
23905 # It is not useful on other systems. If it contains results you don't
23906 # want to keep, you may remove or edit it.
23908 # config.status only pays attention to the cache file if you give it
23909 # the --recheck option to rerun configure.
23911 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23912 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23913 # following values.
23915 _ACEOF
23917 # The following way of writing the cache mishandles newlines in values,
23918 # but we know of no workaround that is simple, portable, and efficient.
23919 # So, we kill variables containing newlines.
23920 # Ultrix sh set writes to stderr and can't be redirected directly,
23921 # and sets the high bit in the cache file unless we assign to the vars.
23923 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23924 eval ac_val=\$$ac_var
23925 case $ac_val in #(
23926 *${as_nl}*)
23927 case $ac_var in #(
23928 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23929 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23930 esac
23931 case $ac_var in #(
23932 _ | IFS | as_nl) ;; #(
23933 *) $as_unset $ac_var ;;
23934 esac ;;
23935 esac
23936 done
23938 (set) 2>&1 |
23939 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23940 *${as_nl}ac_space=\ *)
23941 # `set' does not quote correctly, so add quotes (double-quote
23942 # substitution turns \\\\ into \\, and sed turns \\ into \).
23943 sed -n \
23944 "s/'/'\\\\''/g;
23945 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23946 ;; #(
23948 # `set' quotes correctly as required by POSIX, so do not add quotes.
23949 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23951 esac |
23952 sort
23954 sed '
23955 /^ac_cv_env_/b end
23956 t clear
23957 :clear
23958 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23959 t end
23960 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23961 :end' >>confcache
23962 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23963 if test -w "$cache_file"; then
23964 test "x$cache_file" != "x/dev/null" &&
23965 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23966 echo "$as_me: updating cache $cache_file" >&6;}
23967 cat confcache >$cache_file
23968 else
23969 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23970 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23973 rm -f confcache
23975 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23976 # Let make expand exec_prefix.
23977 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23979 DEFS=-DHAVE_CONFIG_H
23981 ac_libobjs=
23982 ac_ltlibobjs=
23983 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23984 # 1. Remove the extension, and $U if already installed.
23985 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23986 ac_i=`echo "$ac_i" | sed "$ac_script"`
23987 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23988 # will be set to the directory where LIBOBJS objects are built.
23989 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23990 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23991 done
23992 LIBOBJS=$ac_libobjs
23994 LTLIBOBJS=$ac_ltlibobjs
23998 : ${CONFIG_STATUS=./config.status}
23999 ac_clean_files_save=$ac_clean_files
24000 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24001 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24002 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24003 cat >$CONFIG_STATUS <<_ACEOF
24004 #! $SHELL
24005 # Generated by $as_me.
24006 # Run this file to recreate the current configuration.
24007 # Compiler output produced by configure, useful for debugging
24008 # configure, is in config.log if it exists.
24010 debug=false
24011 ac_cs_recheck=false
24012 ac_cs_silent=false
24013 SHELL=\${CONFIG_SHELL-$SHELL}
24014 _ACEOF
24016 cat >>$CONFIG_STATUS <<\_ACEOF
24017 ## --------------------- ##
24018 ## M4sh Initialization. ##
24019 ## --------------------- ##
24021 # Be Bourne compatible
24022 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24023 emulate sh
24024 NULLCMD=:
24025 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24026 # is contrary to our usage. Disable this feature.
24027 alias -g '${1+"$@"}'='"$@"'
24028 setopt NO_GLOB_SUBST
24029 else
24030 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24032 BIN_SH=xpg4; export BIN_SH # for Tru64
24033 DUALCASE=1; export DUALCASE # for MKS sh
24036 # PATH needs CR
24037 # Avoid depending upon Character Ranges.
24038 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24039 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24040 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24041 as_cr_digits='0123456789'
24042 as_cr_alnum=$as_cr_Letters$as_cr_digits
24044 # The user is always right.
24045 if test "${PATH_SEPARATOR+set}" != set; then
24046 echo "#! /bin/sh" >conf$$.sh
24047 echo "exit 0" >>conf$$.sh
24048 chmod +x conf$$.sh
24049 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24050 PATH_SEPARATOR=';'
24051 else
24052 PATH_SEPARATOR=:
24054 rm -f conf$$.sh
24057 # Support unset when possible.
24058 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24059 as_unset=unset
24060 else
24061 as_unset=false
24065 # IFS
24066 # We need space, tab and new line, in precisely that order. Quoting is
24067 # there to prevent editors from complaining about space-tab.
24068 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24069 # splitting by setting IFS to empty value.)
24070 as_nl='
24072 IFS=" "" $as_nl"
24074 # Find who we are. Look in the path if we contain no directory separator.
24075 case $0 in
24076 *[\\/]* ) as_myself=$0 ;;
24077 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24078 for as_dir in $PATH
24080 IFS=$as_save_IFS
24081 test -z "$as_dir" && as_dir=.
24082 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24083 done
24084 IFS=$as_save_IFS
24087 esac
24088 # We did not find ourselves, most probably we were run as `sh COMMAND'
24089 # in which case we are not to be found in the path.
24090 if test "x$as_myself" = x; then
24091 as_myself=$0
24093 if test ! -f "$as_myself"; then
24094 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24095 { (exit 1); exit 1; }
24098 # Work around bugs in pre-3.0 UWIN ksh.
24099 for as_var in ENV MAIL MAILPATH
24100 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24101 done
24102 PS1='$ '
24103 PS2='> '
24104 PS4='+ '
24106 # NLS nuisances.
24107 for as_var in \
24108 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24109 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24110 LC_TELEPHONE LC_TIME
24112 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24113 eval $as_var=C; export $as_var
24114 else
24115 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24117 done
24119 # Required to use basename.
24120 if expr a : '\(a\)' >/dev/null 2>&1 &&
24121 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24122 as_expr=expr
24123 else
24124 as_expr=false
24127 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24128 as_basename=basename
24129 else
24130 as_basename=false
24134 # Name of the executable.
24135 as_me=`$as_basename -- "$0" ||
24136 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24137 X"$0" : 'X\(//\)$' \| \
24138 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24139 echo X/"$0" |
24140 sed '/^.*\/\([^/][^/]*\)\/*$/{
24141 s//\1/
24144 /^X\/\(\/\/\)$/{
24145 s//\1/
24148 /^X\/\(\/\).*/{
24149 s//\1/
24152 s/.*/./; q'`
24154 # CDPATH.
24155 $as_unset CDPATH
24159 as_lineno_1=$LINENO
24160 as_lineno_2=$LINENO
24161 test "x$as_lineno_1" != "x$as_lineno_2" &&
24162 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24164 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24165 # uniformly replaced by the line number. The first 'sed' inserts a
24166 # line-number line after each line using $LINENO; the second 'sed'
24167 # does the real work. The second script uses 'N' to pair each
24168 # line-number line with the line containing $LINENO, and appends
24169 # trailing '-' during substitution so that $LINENO is not a special
24170 # case at line end.
24171 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24172 # scripts with optimization help from Paolo Bonzini. Blame Lee
24173 # E. McMahon (1931-1989) for sed's syntax. :-)
24174 sed -n '
24176 /[$]LINENO/=
24177 ' <$as_myself |
24178 sed '
24179 s/[$]LINENO.*/&-/
24180 t lineno
24182 :lineno
24184 :loop
24185 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24186 t loop
24187 s/-\n.*//
24188 ' >$as_me.lineno &&
24189 chmod +x "$as_me.lineno" ||
24190 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24191 { (exit 1); exit 1; }; }
24193 # Don't try to exec as it changes $[0], causing all sort of problems
24194 # (the dirname of $[0] is not the place where we might find the
24195 # original and so on. Autoconf is especially sensitive to this).
24196 . "./$as_me.lineno"
24197 # Exit status is that of the last command.
24198 exit
24202 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24203 as_dirname=dirname
24204 else
24205 as_dirname=false
24208 ECHO_C= ECHO_N= ECHO_T=
24209 case `echo -n x` in
24210 -n*)
24211 case `echo 'x\c'` in
24212 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24213 *) ECHO_C='\c';;
24214 esac;;
24216 ECHO_N='-n';;
24217 esac
24219 if expr a : '\(a\)' >/dev/null 2>&1 &&
24220 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24221 as_expr=expr
24222 else
24223 as_expr=false
24226 rm -f conf$$ conf$$.exe conf$$.file
24227 if test -d conf$$.dir; then
24228 rm -f conf$$.dir/conf$$.file
24229 else
24230 rm -f conf$$.dir
24231 mkdir conf$$.dir
24233 echo >conf$$.file
24234 if ln -s conf$$.file conf$$ 2>/dev/null; then
24235 as_ln_s='ln -s'
24236 # ... but there are two gotchas:
24237 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24238 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24239 # In both cases, we have to default to `cp -p'.
24240 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24241 as_ln_s='cp -p'
24242 elif ln conf$$.file conf$$ 2>/dev/null; then
24243 as_ln_s=ln
24244 else
24245 as_ln_s='cp -p'
24247 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24248 rmdir conf$$.dir 2>/dev/null
24250 if mkdir -p . 2>/dev/null; then
24251 as_mkdir_p=:
24252 else
24253 test -d ./-p && rmdir ./-p
24254 as_mkdir_p=false
24257 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24258 # systems may use methods other than mode bits to determine executability.
24259 cat >conf$$.file <<_ASEOF
24260 #! /bin/sh
24261 exit 0
24262 _ASEOF
24263 chmod +x conf$$.file
24264 if test -x conf$$.file >/dev/null 2>&1; then
24265 as_executable_p="test -x"
24266 else
24267 as_executable_p=:
24269 rm -f conf$$.file
24271 # Sed expression to map a string onto a valid CPP name.
24272 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24274 # Sed expression to map a string onto a valid variable name.
24275 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24278 exec 6>&1
24280 # Save the log message, to keep $[0] and so on meaningful, and to
24281 # report actual input values of CONFIG_FILES etc. instead of their
24282 # values after options handling.
24283 ac_log="
24284 This file was extended by Wine $as_me 0.9.19, which was
24285 generated by GNU Autoconf 2.60a. Invocation command line was
24287 CONFIG_FILES = $CONFIG_FILES
24288 CONFIG_HEADERS = $CONFIG_HEADERS
24289 CONFIG_LINKS = $CONFIG_LINKS
24290 CONFIG_COMMANDS = $CONFIG_COMMANDS
24291 $ $0 $@
24293 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24296 _ACEOF
24298 cat >>$CONFIG_STATUS <<_ACEOF
24299 # Files that config.status was made for.
24300 config_files="$ac_config_files"
24301 config_headers="$ac_config_headers"
24302 config_commands="$ac_config_commands"
24304 _ACEOF
24306 cat >>$CONFIG_STATUS <<\_ACEOF
24307 ac_cs_usage="\
24308 \`$as_me' instantiates files from templates according to the
24309 current configuration.
24311 Usage: $0 [OPTIONS] [FILE]...
24313 -h, --help print this help, then exit
24314 -V, --version print version number and configuration settings, then exit
24315 -q, --quiet do not print progress messages
24316 -d, --debug don't remove temporary files
24317 --recheck update $as_me by reconfiguring in the same conditions
24318 --file=FILE[:TEMPLATE]
24319 instantiate the configuration file FILE
24320 --header=FILE[:TEMPLATE]
24321 instantiate the configuration header FILE
24323 Configuration files:
24324 $config_files
24326 Configuration headers:
24327 $config_headers
24329 Configuration commands:
24330 $config_commands
24332 Report bugs to <bug-autoconf@gnu.org>."
24334 _ACEOF
24335 cat >>$CONFIG_STATUS <<_ACEOF
24336 ac_cs_version="\\
24337 Wine config.status 0.9.19
24338 configured by $0, generated by GNU Autoconf 2.60a,
24339 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24341 Copyright (C) 2006 Free Software Foundation, Inc.
24342 This config.status script is free software; the Free Software Foundation
24343 gives unlimited permission to copy, distribute and modify it."
24345 ac_pwd='$ac_pwd'
24346 srcdir='$srcdir'
24347 INSTALL='$INSTALL'
24348 _ACEOF
24350 cat >>$CONFIG_STATUS <<\_ACEOF
24351 # If no file are specified by the user, then we need to provide default
24352 # value. By we need to know if files were specified by the user.
24353 ac_need_defaults=:
24354 while test $# != 0
24356 case $1 in
24357 --*=*)
24358 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24359 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24360 ac_shift=:
24363 ac_option=$1
24364 ac_optarg=$2
24365 ac_shift=shift
24367 esac
24369 case $ac_option in
24370 # Handling of the options.
24371 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24372 ac_cs_recheck=: ;;
24373 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24374 echo "$ac_cs_version"; exit ;;
24375 --debug | --debu | --deb | --de | --d | -d )
24376 debug=: ;;
24377 --file | --fil | --fi | --f )
24378 $ac_shift
24379 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24380 ac_need_defaults=false;;
24381 --header | --heade | --head | --hea )
24382 $ac_shift
24383 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24384 ac_need_defaults=false;;
24385 --he | --h)
24386 # Conflict between --help and --header
24387 { echo "$as_me: error: ambiguous option: $1
24388 Try \`$0 --help' for more information." >&2
24389 { (exit 1); exit 1; }; };;
24390 --help | --hel | -h )
24391 echo "$ac_cs_usage"; exit ;;
24392 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24393 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24394 ac_cs_silent=: ;;
24396 # This is an error.
24397 -*) { echo "$as_me: error: unrecognized option: $1
24398 Try \`$0 --help' for more information." >&2
24399 { (exit 1); exit 1; }; } ;;
24401 *) ac_config_targets="$ac_config_targets $1"
24402 ac_need_defaults=false ;;
24404 esac
24405 shift
24406 done
24408 ac_configure_extra_args=
24410 if $ac_cs_silent; then
24411 exec 6>/dev/null
24412 ac_configure_extra_args="$ac_configure_extra_args --silent"
24415 _ACEOF
24416 cat >>$CONFIG_STATUS <<_ACEOF
24417 if \$ac_cs_recheck; then
24418 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24419 CONFIG_SHELL=$SHELL
24420 export CONFIG_SHELL
24421 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24424 _ACEOF
24425 cat >>$CONFIG_STATUS <<\_ACEOF
24426 exec 5>>config.log
24428 echo
24429 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24430 ## Running $as_me. ##
24431 _ASBOX
24432 echo "$ac_log"
24433 } >&5
24435 _ACEOF
24436 cat >>$CONFIG_STATUS <<_ACEOF
24437 _ACEOF
24439 cat >>$CONFIG_STATUS <<\_ACEOF
24441 # Handling of arguments.
24442 for ac_config_target in $ac_config_targets
24444 case $ac_config_target in
24445 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24446 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24447 "dlls/gdi/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24448 "dlls/kernel/messages") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24449 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24450 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24451 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24452 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24453 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24454 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24455 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24456 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24457 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24458 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24459 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24460 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24461 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24462 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24463 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24464 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24465 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24466 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24467 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24468 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24469 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24470 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24471 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24472 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24473 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24474 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24475 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24476 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24477 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24478 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24479 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24480 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24481 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24482 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24483 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24484 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24485 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24486 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24487 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24488 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24489 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24490 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24491 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24492 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24493 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24494 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24495 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24496 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24497 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24498 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24499 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24500 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24501 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24502 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24503 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24504 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24505 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24506 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24507 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24508 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24509 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24510 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24511 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24512 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24513 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24514 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24515 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24516 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24517 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24518 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24519 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24520 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24521 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24522 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24523 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24524 "dlls/gdi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
24525 "dlls/gdi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24526 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24527 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24528 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24529 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24530 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
24531 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24532 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24533 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24534 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24535 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24536 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24537 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24538 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24539 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24540 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24541 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24542 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24543 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24544 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24545 "dlls/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
24546 "dlls/kernel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
24547 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24548 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24549 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24550 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24551 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24552 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24553 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24554 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24555 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24556 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24557 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24558 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24559 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24560 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24561 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24562 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24563 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24564 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24565 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24566 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24567 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24568 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24569 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24570 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24571 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24572 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24573 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24574 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24575 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24576 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24577 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24578 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24579 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24580 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24581 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24582 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24583 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24584 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24585 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24586 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24587 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24588 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24589 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24590 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24591 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24592 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24593 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24594 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24595 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24596 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24597 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24598 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24599 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24600 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24601 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24602 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24603 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24604 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24605 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24606 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24607 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24608 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24609 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24610 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24611 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24612 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24613 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24614 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24615 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24616 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24617 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24618 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24619 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24620 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24621 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24622 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24623 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24624 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24625 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24626 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24627 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24628 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24629 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24630 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24631 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24632 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24633 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24634 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24635 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24636 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24637 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24638 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24639 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24640 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24641 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24642 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24643 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24644 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24645 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24646 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24647 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24648 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24649 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24650 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24651 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24652 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24653 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24654 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24655 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
24656 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24657 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24658 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24659 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24660 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
24661 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24662 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24663 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24664 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24665 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
24666 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24667 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24668 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24669 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24670 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24671 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24672 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24673 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24674 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24675 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
24676 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24677 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24678 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24679 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
24680 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24681 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
24682 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24683 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24684 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24685 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24686 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24687 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24688 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24689 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24690 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24691 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24692 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24693 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24694 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24695 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24696 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24697 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24698 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24699 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
24700 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24701 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24702 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24703 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24704 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
24705 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
24706 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
24707 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
24708 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
24709 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
24710 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
24711 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
24712 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
24713 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
24714 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24715 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
24716 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
24717 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
24718 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
24719 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
24720 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
24721 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
24722 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
24723 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
24724 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
24725 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
24726 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
24727 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24728 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
24729 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
24730 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
24731 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24732 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24733 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
24734 "programs/wcmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
24735 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
24736 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24737 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
24738 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24739 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
24740 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
24741 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24742 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
24743 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
24744 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
24745 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
24746 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
24747 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
24748 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
24749 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
24750 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24751 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
24752 "tools/winapi/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
24753 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
24754 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
24755 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
24756 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
24757 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
24759 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24760 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24761 { (exit 1); exit 1; }; };;
24762 esac
24763 done
24766 # If the user did not use the arguments to specify the items to instantiate,
24767 # then the envvar interface is used. Set only those that are not.
24768 # We use the long form for the default assignment because of an extremely
24769 # bizarre bug on SunOS 4.1.3.
24770 if $ac_need_defaults; then
24771 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24772 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24773 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24776 # Have a temporary directory for convenience. Make it in the build tree
24777 # simply because there is no reason against having it here, and in addition,
24778 # creating and moving files from /tmp can sometimes cause problems.
24779 # Hook for its removal unless debugging.
24780 # Note that there is a small window in which the directory will not be cleaned:
24781 # after its creation but before its name has been assigned to `$tmp'.
24782 $debug ||
24784 tmp=
24785 trap 'exit_status=$?
24786 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24788 trap '{ (exit 1); exit 1; }' 1 2 13 15
24790 # Create a (secure) tmp directory for tmp files.
24793 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24794 test -n "$tmp" && test -d "$tmp"
24795 } ||
24797 tmp=./conf$$-$RANDOM
24798 (umask 077 && mkdir "$tmp")
24799 } ||
24801 echo "$me: cannot create a temporary directory in ." >&2
24802 { (exit 1); exit 1; }
24806 # Set up the sed scripts for CONFIG_FILES section.
24809 # No need to generate the scripts if there are no CONFIG_FILES.
24810 # This happens for instance when ./config.status config.h
24811 if test -n "$CONFIG_FILES"; then
24813 _ACEOF
24815 # Create sed commands to just substitute file output variables.
24817 # Remaining file output variables are in a fragment that also has non-file
24818 # output varibles.
24822 ac_delim='%!_!# '
24823 for ac_last_try in false false false false false :; do
24824 cat >conf$$subs.sed <<_ACEOF
24825 SHELL!$SHELL$ac_delim
24826 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24827 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24828 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24829 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24830 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24831 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24832 exec_prefix!$exec_prefix$ac_delim
24833 prefix!$prefix$ac_delim
24834 program_transform_name!$program_transform_name$ac_delim
24835 bindir!$bindir$ac_delim
24836 sbindir!$sbindir$ac_delim
24837 libexecdir!$libexecdir$ac_delim
24838 datarootdir!$datarootdir$ac_delim
24839 datadir!$datadir$ac_delim
24840 sysconfdir!$sysconfdir$ac_delim
24841 sharedstatedir!$sharedstatedir$ac_delim
24842 localstatedir!$localstatedir$ac_delim
24843 includedir!$includedir$ac_delim
24844 oldincludedir!$oldincludedir$ac_delim
24845 docdir!$docdir$ac_delim
24846 infodir!$infodir$ac_delim
24847 htmldir!$htmldir$ac_delim
24848 dvidir!$dvidir$ac_delim
24849 pdfdir!$pdfdir$ac_delim
24850 psdir!$psdir$ac_delim
24851 libdir!$libdir$ac_delim
24852 localedir!$localedir$ac_delim
24853 mandir!$mandir$ac_delim
24854 DEFS!$DEFS$ac_delim
24855 ECHO_C!$ECHO_C$ac_delim
24856 ECHO_N!$ECHO_N$ac_delim
24857 ECHO_T!$ECHO_T$ac_delim
24858 LIBS!$LIBS$ac_delim
24859 build_alias!$build_alias$ac_delim
24860 host_alias!$host_alias$ac_delim
24861 target_alias!$target_alias$ac_delim
24862 build!$build$ac_delim
24863 build_cpu!$build_cpu$ac_delim
24864 build_vendor!$build_vendor$ac_delim
24865 build_os!$build_os$ac_delim
24866 host!$host$ac_delim
24867 host_cpu!$host_cpu$ac_delim
24868 host_vendor!$host_vendor$ac_delim
24869 host_os!$host_os$ac_delim
24870 WIN16_FILES!$WIN16_FILES$ac_delim
24871 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24872 SET_MAKE!$SET_MAKE$ac_delim
24873 CC!$CC$ac_delim
24874 CFLAGS!$CFLAGS$ac_delim
24875 LDFLAGS!$LDFLAGS$ac_delim
24876 CPPFLAGS!$CPPFLAGS$ac_delim
24877 ac_ct_CC!$ac_ct_CC$ac_delim
24878 EXEEXT!$EXEEXT$ac_delim
24879 OBJEXT!$OBJEXT$ac_delim
24880 CXX!$CXX$ac_delim
24881 CXXFLAGS!$CXXFLAGS$ac_delim
24882 ac_ct_CXX!$ac_ct_CXX$ac_delim
24883 CPPBIN!$CPPBIN$ac_delim
24884 TOOLSDIR!$TOOLSDIR$ac_delim
24885 XMKMF!$XMKMF$ac_delim
24886 CPP!$CPP$ac_delim
24887 X_CFLAGS!$X_CFLAGS$ac_delim
24888 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24889 X_LIBS!$X_LIBS$ac_delim
24890 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24891 LEX!$LEX$ac_delim
24892 LEXLIB!$LEXLIB$ac_delim
24893 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24894 XLEX!$XLEX$ac_delim
24895 BISON!$BISON$ac_delim
24896 AS!$AS$ac_delim
24897 ac_ct_AS!$ac_ct_AS$ac_delim
24898 LD!$LD$ac_delim
24899 AR!$AR$ac_delim
24900 RANLIB!$RANLIB$ac_delim
24901 STRIP!$STRIP$ac_delim
24902 WINDRES!$WINDRES$ac_delim
24903 LN_S!$LN_S$ac_delim
24904 LN!$LN$ac_delim
24905 GREP!$GREP$ac_delim
24906 EGREP!$EGREP$ac_delim
24907 _ACEOF
24909 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24910 break
24911 elif $ac_last_try; then
24912 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24913 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24914 { (exit 1); exit 1; }; }
24915 else
24916 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24918 done
24920 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24921 if test -n "$ac_eof"; then
24922 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24923 ac_eof=`expr $ac_eof + 1`
24926 cat >>$CONFIG_STATUS <<_ACEOF
24927 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24928 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24929 /^[ ]*@MAKE_RULES@[ ]*$/{
24930 r $MAKE_RULES
24933 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24934 r $MAKE_DLL_RULES
24937 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24938 r $MAKE_IMPLIB_RULES
24941 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24942 r $MAKE_TEST_RULES
24945 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24946 r $MAKE_PROG_RULES
24949 _ACEOF
24950 sed '
24951 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24952 s/^/s,@/; s/!/@,|#_!!_#|/
24955 s/'"$ac_delim"'$/,g/; t
24956 s/$/\\/; p
24957 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24958 ' >>$CONFIG_STATUS <conf$$subs.sed
24959 rm -f conf$$subs.sed
24960 cat >>$CONFIG_STATUS <<_ACEOF
24961 CEOF$ac_eof
24962 _ACEOF
24965 ac_delim='%!_!# '
24966 for ac_last_try in false false false false false :; do
24967 cat >conf$$subs.sed <<_ACEOF
24968 LDCONFIG!$LDCONFIG$ac_delim
24969 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24970 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24971 INSTALL_DATA!$INSTALL_DATA$ac_delim
24972 LINT!$LINT$ac_delim
24973 LINTFLAGS!$LINTFLAGS$ac_delim
24974 FONTFORGE!$FONTFORGE$ac_delim
24975 PKG_CONFIG!$PKG_CONFIG$ac_delim
24976 PRELINK!$PRELINK$ac_delim
24977 LIBPTHREAD!$LIBPTHREAD$ac_delim
24978 XLIB!$XLIB$ac_delim
24979 XFILES!$XFILES$ac_delim
24980 OPENGLFILES!$OPENGLFILES$ac_delim
24981 GLU32FILES!$GLU32FILES$ac_delim
24982 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24983 GLUT_LIBS!$GLUT_LIBS$ac_delim
24984 GLUT32FILES!$GLUT32FILES$ac_delim
24985 NASLIBS!$NASLIBS$ac_delim
24986 XML2LIBS!$XML2LIBS$ac_delim
24987 XML2INCL!$XML2INCL$ac_delim
24988 XSLTLIBS!$XSLTLIBS$ac_delim
24989 XSLTINCL!$XSLTINCL$ac_delim
24990 HALINCL!$HALINCL$ac_delim
24991 CURSESLIBS!$CURSESLIBS$ac_delim
24992 sane_devel!$sane_devel$ac_delim
24993 SANELIBS!$SANELIBS$ac_delim
24994 SANEINCL!$SANEINCL$ac_delim
24995 gphoto2_devel!$gphoto2_devel$ac_delim
24996 gphoto2port_devel!$gphoto2port_devel$ac_delim
24997 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24998 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24999 ICULIBS!$ICULIBS$ac_delim
25000 RESOLVLIBS!$RESOLVLIBS$ac_delim
25001 LCMSLIBS!$LCMSLIBS$ac_delim
25002 LDAPLIBS!$LDAPLIBS$ac_delim
25003 FREETYPELIBS!$FREETYPELIBS$ac_delim
25004 FREETYPEINCL!$FREETYPEINCL$ac_delim
25005 ft_devel!$ft_devel$ac_delim
25006 ft_devel2!$ft_devel2$ac_delim
25007 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25008 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25009 ARTSLIBS!$ARTSLIBS$ac_delim
25010 ARTSINCL!$ARTSINCL$ac_delim
25011 ESDCONFIG!$ESDCONFIG$ac_delim
25012 ESDLIBS!$ESDLIBS$ac_delim
25013 ESDINCL!$ESDINCL$ac_delim
25014 ALSALIBS!$ALSALIBS$ac_delim
25015 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25016 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25017 BUILTINFLAG!$BUILTINFLAG$ac_delim
25018 DLLEXT!$DLLEXT$ac_delim
25019 DLLFLAGS!$DLLFLAGS$ac_delim
25020 LDSHARED!$LDSHARED$ac_delim
25021 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25022 LIBEXT!$LIBEXT$ac_delim
25023 IMPLIBEXT!$IMPLIBEXT$ac_delim
25024 DLLTOOL!$DLLTOOL$ac_delim
25025 DLLWRAP!$DLLWRAP$ac_delim
25026 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25027 IOKITLIB!$IOKITLIB$ac_delim
25028 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25029 COREAUDIO!$COREAUDIO$ac_delim
25030 LDEXERPATH!$LDEXERPATH$ac_delim
25031 LDDLLRPATH!$LDDLLRPATH$ac_delim
25032 CROSSTEST!$CROSSTEST$ac_delim
25033 CROSSCC!$CROSSCC$ac_delim
25034 CROSSWINDRES!$CROSSWINDRES$ac_delim
25035 LDPATH!$LDPATH$ac_delim
25036 CRTLIBS!$CRTLIBS$ac_delim
25037 SOCKETLIBS!$SOCKETLIBS$ac_delim
25038 MAIN_BINARY!$MAIN_BINARY$ac_delim
25039 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25040 LDD!$LDD$ac_delim
25041 LIBDL!$LIBDL$ac_delim
25042 LIBPOLL!$LIBPOLL$ac_delim
25043 LIBOBJS!$LIBOBJS$ac_delim
25044 LTLIBOBJS!$LTLIBOBJS$ac_delim
25045 _ACEOF
25047 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
25048 break
25049 elif $ac_last_try; then
25050 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25051 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25052 { (exit 1); exit 1; }; }
25053 else
25054 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25056 done
25058 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25059 if test -n "$ac_eof"; then
25060 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25061 ac_eof=`expr $ac_eof + 1`
25064 cat >>$CONFIG_STATUS <<_ACEOF
25065 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25067 _ACEOF
25068 sed '
25069 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25070 s/^/s,@/; s/!/@,|#_!!_#|/
25073 s/'"$ac_delim"'$/,g/; t
25074 s/$/\\/; p
25075 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25076 ' >>$CONFIG_STATUS <conf$$subs.sed
25077 rm -f conf$$subs.sed
25078 cat >>$CONFIG_STATUS <<_ACEOF
25079 :end
25080 s/|#_!!_#|//g
25081 CEOF$ac_eof
25082 _ACEOF
25085 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25086 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25087 # trailing colons and then remove the whole line if VPATH becomes empty
25088 # (actually we leave an empty line to preserve line numbers).
25089 if test "x$srcdir" = x.; then
25090 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25091 s/:*\$(srcdir):*/:/
25092 s/:*\${srcdir}:*/:/
25093 s/:*@srcdir@:*/:/
25094 s/^\([^=]*=[ ]*\):*/\1/
25095 s/:*$//
25096 s/^[^=]*=[ ]*$//
25100 cat >>$CONFIG_STATUS <<\_ACEOF
25101 fi # test -n "$CONFIG_FILES"
25104 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
25106 case $ac_tag in
25107 :[FHLC]) ac_mode=$ac_tag; continue;;
25108 esac
25109 case $ac_mode$ac_tag in
25110 :[FHL]*:*);;
25111 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25112 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25113 { (exit 1); exit 1; }; };;
25114 :[FH]-) ac_tag=-:-;;
25115 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25116 esac
25117 ac_save_IFS=$IFS
25118 IFS=:
25119 set x $ac_tag
25120 IFS=$ac_save_IFS
25121 shift
25122 ac_file=$1
25123 shift
25125 case $ac_mode in
25126 :L) ac_source=$1;;
25127 :[FH])
25128 ac_file_inputs=
25129 for ac_f
25131 case $ac_f in
25132 -) ac_f="$tmp/stdin";;
25133 *) # Look for the file first in the build tree, then in the source tree
25134 # (if the path is not absolute). The absolute path cannot be DOS-style,
25135 # because $ac_f cannot contain `:'.
25136 test -f "$ac_f" ||
25137 case $ac_f in
25138 [\\/$]*) false;;
25139 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25140 esac ||
25141 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25142 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25143 { (exit 1); exit 1; }; };;
25144 esac
25145 ac_file_inputs="$ac_file_inputs $ac_f"
25146 done
25148 # Let's still pretend it is `configure' which instantiates (i.e., don't
25149 # use $as_me), people would be surprised to read:
25150 # /* config.h. Generated by config.status. */
25151 configure_input="Generated from "`IFS=:
25152 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25153 if test x"$ac_file" != x-; then
25154 configure_input="$ac_file. $configure_input"
25155 { echo "$as_me:$LINENO: creating $ac_file" >&5
25156 echo "$as_me: creating $ac_file" >&6;}
25159 case $ac_tag in
25160 *:-:* | *:-) cat >"$tmp/stdin";;
25161 esac
25163 esac
25165 ac_dir=`$as_dirname -- "$ac_file" ||
25166 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25167 X"$ac_file" : 'X\(//\)[^/]' \| \
25168 X"$ac_file" : 'X\(//\)$' \| \
25169 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25170 echo X"$ac_file" |
25171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25172 s//\1/
25175 /^X\(\/\/\)[^/].*/{
25176 s//\1/
25179 /^X\(\/\/\)$/{
25180 s//\1/
25183 /^X\(\/\).*/{
25184 s//\1/
25187 s/.*/./; q'`
25188 { as_dir="$ac_dir"
25189 case $as_dir in #(
25190 -*) as_dir=./$as_dir;;
25191 esac
25192 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25193 as_dirs=
25194 while :; do
25195 case $as_dir in #(
25196 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25197 *) as_qdir=$as_dir;;
25198 esac
25199 as_dirs="'$as_qdir' $as_dirs"
25200 as_dir=`$as_dirname -- "$as_dir" ||
25201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25202 X"$as_dir" : 'X\(//\)[^/]' \| \
25203 X"$as_dir" : 'X\(//\)$' \| \
25204 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25205 echo X"$as_dir" |
25206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25207 s//\1/
25210 /^X\(\/\/\)[^/].*/{
25211 s//\1/
25214 /^X\(\/\/\)$/{
25215 s//\1/
25218 /^X\(\/\).*/{
25219 s//\1/
25222 s/.*/./; q'`
25223 test -d "$as_dir" && break
25224 done
25225 test -z "$as_dirs" || eval "mkdir $as_dirs"
25226 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25227 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25228 { (exit 1); exit 1; }; }; }
25229 ac_builddir=.
25231 case "$ac_dir" in
25232 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25234 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25235 # A ".." for each directory in $ac_dir_suffix.
25236 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25237 case $ac_top_builddir_sub in
25238 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25239 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25240 esac ;;
25241 esac
25242 ac_abs_top_builddir=$ac_pwd
25243 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25244 # for backward compatibility:
25245 ac_top_builddir=$ac_top_build_prefix
25247 case $srcdir in
25248 .) # We are building in place.
25249 ac_srcdir=.
25250 ac_top_srcdir=$ac_top_builddir_sub
25251 ac_abs_top_srcdir=$ac_pwd ;;
25252 [\\/]* | ?:[\\/]* ) # Absolute name.
25253 ac_srcdir=$srcdir$ac_dir_suffix;
25254 ac_top_srcdir=$srcdir
25255 ac_abs_top_srcdir=$srcdir ;;
25256 *) # Relative name.
25257 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25258 ac_top_srcdir=$ac_top_build_prefix$srcdir
25259 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25260 esac
25261 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25264 case $ac_mode in
25267 # CONFIG_FILE
25270 case $INSTALL in
25271 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25272 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25273 esac
25274 _ACEOF
25276 cat >>$CONFIG_STATUS <<\_ACEOF
25277 # If the template does not know about datarootdir, expand it.
25278 # FIXME: This hack should be removed a few years after 2.60.
25279 ac_datarootdir_hack=; ac_datarootdir_seen=
25281 case `sed -n '/datarootdir/ {
25285 /@datadir@/p
25286 /@docdir@/p
25287 /@infodir@/p
25288 /@localedir@/p
25289 /@mandir@/p
25290 ' $ac_file_inputs` in
25291 *datarootdir*) ac_datarootdir_seen=yes;;
25292 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25293 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25294 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25295 _ACEOF
25296 cat >>$CONFIG_STATUS <<_ACEOF
25297 ac_datarootdir_hack='
25298 s&@datadir@&$datadir&g
25299 s&@docdir@&$docdir&g
25300 s&@infodir@&$infodir&g
25301 s&@localedir@&$localedir&g
25302 s&@mandir@&$mandir&g
25303 s&\\\${datarootdir}&$datarootdir&g' ;;
25304 esac
25305 _ACEOF
25307 # Neutralize VPATH when `$srcdir' = `.'.
25308 # Shell code in configure.ac might set extrasub.
25309 # FIXME: do we really want to maintain this feature?
25310 cat >>$CONFIG_STATUS <<_ACEOF
25311 sed "$ac_vpsub
25312 $extrasub
25313 _ACEOF
25314 cat >>$CONFIG_STATUS <<\_ACEOF
25316 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25317 s&@configure_input@&$configure_input&;t t
25318 s&@top_builddir@&$ac_top_builddir_sub&;t t
25319 s&@srcdir@&$ac_srcdir&;t t
25320 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25321 s&@top_srcdir@&$ac_top_srcdir&;t t
25322 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25323 s&@builddir@&$ac_builddir&;t t
25324 s&@abs_builddir@&$ac_abs_builddir&;t t
25325 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25326 s&@INSTALL@&$ac_INSTALL&;t t
25327 $ac_datarootdir_hack
25328 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25330 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25331 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25332 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25333 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25334 which seems to be undefined. Please make sure it is defined." >&5
25335 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25336 which seems to be undefined. Please make sure it is defined." >&2;}
25338 rm -f "$tmp/stdin"
25339 case $ac_file in
25340 -) cat "$tmp/out"; rm -f "$tmp/out";;
25341 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25342 esac
25346 # CONFIG_HEADER
25348 _ACEOF
25350 # Transform confdefs.h into a sed script `conftest.defines', that
25351 # substitutes the proper values into config.h.in to produce config.h.
25352 rm -f conftest.defines conftest.tail
25353 # First, append a space to every undef/define line, to ease matching.
25354 echo 's/$/ /' >conftest.defines
25355 # Then, protect against being on the right side of a sed subst, or in
25356 # an unquoted here document, in config.status. If some macros were
25357 # called several times there might be several #defines for the same
25358 # symbol, which is useless. But do not sort them, since the last
25359 # AC_DEFINE must be honored.
25360 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25361 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25362 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25363 # PARAMS is the parameter list in the macro definition--in most cases, it's
25364 # just an empty string.
25365 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25366 ac_dB='\\)[ (].*,\\1define\\2'
25367 ac_dC=' '
25368 ac_dD=' ,'
25370 uniq confdefs.h |
25371 sed -n '
25372 t rset
25373 :rset
25374 s/^[ ]*#[ ]*define[ ][ ]*//
25375 t ok
25378 s/[\\&,]/\\&/g
25379 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25380 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25381 ' >>conftest.defines
25383 # Remove the space that was appended to ease matching.
25384 # Then replace #undef with comments. This is necessary, for
25385 # example, in the case of _POSIX_SOURCE, which is predefined and required
25386 # on some systems where configure will not decide to define it.
25387 # (The regexp can be short, since the line contains either #define or #undef.)
25388 echo 's/ $//
25389 s,^[ #]*u.*,/* & */,' >>conftest.defines
25391 # Break up conftest.defines:
25392 ac_max_sed_lines=50
25394 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25395 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25396 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25397 # et cetera.
25398 ac_in='$ac_file_inputs'
25399 ac_out='"$tmp/out1"'
25400 ac_nxt='"$tmp/out2"'
25402 while :
25404 # Write a here document:
25405 cat >>$CONFIG_STATUS <<_ACEOF
25406 # First, check the format of the line:
25407 cat >"\$tmp/defines.sed" <<\\CEOF
25408 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25409 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25411 :def
25412 _ACEOF
25413 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25414 echo 'CEOF
25415 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25416 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25417 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25418 grep . conftest.tail >/dev/null || break
25419 rm -f conftest.defines
25420 mv conftest.tail conftest.defines
25421 done
25422 rm -f conftest.defines conftest.tail
25424 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25425 cat >>$CONFIG_STATUS <<\_ACEOF
25426 if test x"$ac_file" != x-; then
25427 echo "/* $configure_input */" >"$tmp/config.h"
25428 cat "$ac_result" >>"$tmp/config.h"
25429 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25430 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25431 echo "$as_me: $ac_file is unchanged" >&6;}
25432 else
25433 rm -f $ac_file
25434 mv "$tmp/config.h" $ac_file
25436 else
25437 echo "/* $configure_input */"
25438 cat "$ac_result"
25440 rm -f "$tmp/out12"
25443 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25444 echo "$as_me: executing $ac_file commands" >&6;}
25446 esac
25449 case $ac_file$ac_mode in
25450 "dlls/gdi/enhmfdrv":C) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25451 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
25452 "dlls/gdi/mfdrv":C) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25453 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
25454 "dlls/kernel/messages":C) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25455 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
25456 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25457 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25458 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25459 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25460 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25461 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25463 esac
25464 done # for ac_tag
25467 { (exit 0); exit 0; }
25468 _ACEOF
25469 chmod +x $CONFIG_STATUS
25470 ac_clean_files=$ac_clean_files_save
25473 # configure is writing to config.log, and then calls config.status.
25474 # config.status does its own redirection, appending to config.log.
25475 # Unfortunately, on DOS this fails, as config.log is still kept open
25476 # by configure, so config.status won't be able to write to it; its
25477 # output is simply discarded. So we exec the FD to /dev/null,
25478 # effectively closing config.log, so it can be properly (re)opened and
25479 # appended to by config.status. When coming back to configure, we
25480 # need to make the FD available again.
25481 if test "$no_create" != yes; then
25482 ac_cs_success=:
25483 ac_config_status_args=
25484 test "$silent" = yes &&
25485 ac_config_status_args="$ac_config_status_args --quiet"
25486 exec 5>/dev/null
25487 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25488 exec 5>>config.log
25489 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25490 # would make configure fail if this is the last instruction.
25491 $ac_cs_success || { (exit 1); exit 1; }
25495 if test "$have_x" = "no"
25496 then
25497 echo >&2
25498 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25499 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25500 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25501 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25502 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25503 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25504 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25505 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25508 if test "$wine_cv_opengl_version_OK" = "no"
25509 then
25510 echo >&2
25511 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
25512 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
25513 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25514 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25517 if test "$wine_cv_msg_freetype" = "yes"
25518 then
25519 echo >&2
25520 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25521 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25522 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25523 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25524 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25525 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25526 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25527 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25530 if test -z "$FONTSSUBDIRS"
25531 then
25532 echo >&2
25533 if test "$FONTFORGE" = "false"
25534 then
25535 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25536 echo "$as_me: WARNING: FontForge is missing." >&2;}
25537 else
25538 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25539 echo "$as_me: WARNING: FreeType is missing." >&2;}
25541 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25542 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25545 if test -z "$ALSALIBS" -a \
25546 -z "$ARTSC_LIBS" -a \
25547 -z "$AUDIOIOLIBS" -a \
25548 -z "$NASLIBS" -a \
25549 -z "$ESD_LIBS" -a \
25550 -z "$ac_cv_lib_soname_jack" -a \
25551 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25552 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25553 "$ac_cv_header_soundcard_h" != "yes"
25554 then
25555 echo >&2
25556 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25557 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25558 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25559 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25560 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25561 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25564 echo
25565 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
25566 echo