oleaut32: Print 64bit integers with wine_dbgstr_longlong.
[wine/wine64.git] / configure
blob92e8a71db11c8d0ccf4e83d4d41496bf4e69f619
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 CROSSTEST
749 CROSSCC
750 CROSSWINDRES
751 LDPATH
752 CRTLIBS
753 SOCKETLIBS
754 MAIN_BINARY
755 EXTRA_BINARIES
757 LIBDL
758 LIBPOLL
759 LIBOBJS
760 LTLIBOBJS'
761 ac_subst_files='MAKE_RULES
762 MAKE_DLL_RULES
763 MAKE_IMPLIB_RULES
764 MAKE_TEST_RULES
765 MAKE_PROG_RULES'
766 ac_precious_vars='build_alias
767 host_alias
768 target_alias
770 CFLAGS
771 LDFLAGS
772 CPPFLAGS
774 CXXFLAGS
776 XMKMF
777 CPP'
780 # Initialize some variables set by options.
781 ac_init_help=
782 ac_init_version=false
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
785 cache_file=/dev/null
786 exec_prefix=NONE
787 no_create=
788 no_recursion=
789 prefix=NONE
790 program_prefix=NONE
791 program_suffix=NONE
792 program_transform_name=s,x,x,
793 silent=
794 site=
795 srcdir=
796 verbose=
797 x_includes=NONE
798 x_libraries=NONE
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir='${exec_prefix}/bin'
807 sbindir='${exec_prefix}/sbin'
808 libexecdir='${exec_prefix}/libexec'
809 datarootdir='${prefix}/share'
810 datadir='${datarootdir}'
811 sysconfdir='${prefix}/etc'
812 sharedstatedir='${prefix}/com'
813 localstatedir='${prefix}/var'
814 includedir='${prefix}/include'
815 oldincludedir='/usr/include'
816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir='${datarootdir}/info'
818 htmldir='${docdir}'
819 dvidir='${docdir}'
820 pdfdir='${docdir}'
821 psdir='${docdir}'
822 libdir='${exec_prefix}/lib'
823 localedir='${datarootdir}/locale'
824 mandir='${datarootdir}/man'
826 ac_prev=
827 ac_dashdash=
828 for ac_option
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\$ac_option
833 ac_prev=
834 continue
837 case $ac_option in
838 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
839 *) ac_optarg=yes ;;
840 esac
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
846 ac_dashdash=yes ;;
848 -bindir | --bindir | --bindi | --bind | --bin | --bi)
849 ac_prev=bindir ;;
850 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
851 bindir=$ac_optarg ;;
853 -build | --build | --buil | --bui | --bu)
854 ac_prev=build_alias ;;
855 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856 build_alias=$ac_optarg ;;
858 -cache-file | --cache-file | --cache-fil | --cache-fi \
859 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860 ac_prev=cache_file ;;
861 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863 cache_file=$ac_optarg ;;
865 --config-cache | -C)
866 cache_file=config.cache ;;
868 -datadir | --datadir | --datadi | --datad)
869 ac_prev=datadir ;;
870 -datadir=* | --datadir=* | --datadi=* | --datad=*)
871 datadir=$ac_optarg ;;
873 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874 | --dataroo | --dataro | --datar)
875 ac_prev=datarootdir ;;
876 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878 datarootdir=$ac_optarg ;;
880 -disable-* | --disable-*)
881 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
884 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
885 { (exit 1); exit 1; }; }
886 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
887 eval enable_$ac_feature=no ;;
889 -docdir | --docdir | --docdi | --doc | --do)
890 ac_prev=docdir ;;
891 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
892 docdir=$ac_optarg ;;
894 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
895 ac_prev=dvidir ;;
896 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
897 dvidir=$ac_optarg ;;
899 -enable-* | --enable-*)
900 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
903 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
904 { (exit 1); exit 1; }; }
905 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
906 eval enable_$ac_feature=\$ac_optarg ;;
908 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
909 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
910 | --exec | --exe | --ex)
911 ac_prev=exec_prefix ;;
912 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
913 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
914 | --exec=* | --exe=* | --ex=*)
915 exec_prefix=$ac_optarg ;;
917 -gas | --gas | --ga | --g)
918 # Obsolete; use --with-gas.
919 with_gas=yes ;;
921 -help | --help | --hel | --he | -h)
922 ac_init_help=long ;;
923 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
924 ac_init_help=recursive ;;
925 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
926 ac_init_help=short ;;
928 -host | --host | --hos | --ho)
929 ac_prev=host_alias ;;
930 -host=* | --host=* | --hos=* | --ho=*)
931 host_alias=$ac_optarg ;;
933 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
934 ac_prev=htmldir ;;
935 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
936 | --ht=*)
937 htmldir=$ac_optarg ;;
939 -includedir | --includedir | --includedi | --included | --include \
940 | --includ | --inclu | --incl | --inc)
941 ac_prev=includedir ;;
942 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
943 | --includ=* | --inclu=* | --incl=* | --inc=*)
944 includedir=$ac_optarg ;;
946 -infodir | --infodir | --infodi | --infod | --info | --inf)
947 ac_prev=infodir ;;
948 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
949 infodir=$ac_optarg ;;
951 -libdir | --libdir | --libdi | --libd)
952 ac_prev=libdir ;;
953 -libdir=* | --libdir=* | --libdi=* | --libd=*)
954 libdir=$ac_optarg ;;
956 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
957 | --libexe | --libex | --libe)
958 ac_prev=libexecdir ;;
959 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
960 | --libexe=* | --libex=* | --libe=*)
961 libexecdir=$ac_optarg ;;
963 -localedir | --localedir | --localedi | --localed | --locale)
964 ac_prev=localedir ;;
965 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
966 localedir=$ac_optarg ;;
968 -localstatedir | --localstatedir | --localstatedi | --localstated \
969 | --localstate | --localstat | --localsta | --localst | --locals)
970 ac_prev=localstatedir ;;
971 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
972 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
973 localstatedir=$ac_optarg ;;
975 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
976 ac_prev=mandir ;;
977 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
978 mandir=$ac_optarg ;;
980 -nfp | --nfp | --nf)
981 # Obsolete; use --without-fp.
982 with_fp=no ;;
984 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
985 | --no-cr | --no-c | -n)
986 no_create=yes ;;
988 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
989 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
990 no_recursion=yes ;;
992 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
993 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
994 | --oldin | --oldi | --old | --ol | --o)
995 ac_prev=oldincludedir ;;
996 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
997 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
998 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
999 oldincludedir=$ac_optarg ;;
1001 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1002 ac_prev=prefix ;;
1003 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1004 prefix=$ac_optarg ;;
1006 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1007 | --program-pre | --program-pr | --program-p)
1008 ac_prev=program_prefix ;;
1009 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1010 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1011 program_prefix=$ac_optarg ;;
1013 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1014 | --program-suf | --program-su | --program-s)
1015 ac_prev=program_suffix ;;
1016 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1017 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1018 program_suffix=$ac_optarg ;;
1020 -program-transform-name | --program-transform-name \
1021 | --program-transform-nam | --program-transform-na \
1022 | --program-transform-n | --program-transform- \
1023 | --program-transform | --program-transfor \
1024 | --program-transfo | --program-transf \
1025 | --program-trans | --program-tran \
1026 | --progr-tra | --program-tr | --program-t)
1027 ac_prev=program_transform_name ;;
1028 -program-transform-name=* | --program-transform-name=* \
1029 | --program-transform-nam=* | --program-transform-na=* \
1030 | --program-transform-n=* | --program-transform-=* \
1031 | --program-transform=* | --program-transfor=* \
1032 | --program-transfo=* | --program-transf=* \
1033 | --program-trans=* | --program-tran=* \
1034 | --progr-tra=* | --program-tr=* | --program-t=*)
1035 program_transform_name=$ac_optarg ;;
1037 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1038 ac_prev=pdfdir ;;
1039 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1040 pdfdir=$ac_optarg ;;
1042 -psdir | --psdir | --psdi | --psd | --ps)
1043 ac_prev=psdir ;;
1044 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1045 psdir=$ac_optarg ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1049 silent=yes ;;
1051 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1052 ac_prev=sbindir ;;
1053 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1054 | --sbi=* | --sb=*)
1055 sbindir=$ac_optarg ;;
1057 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1058 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1059 | --sharedst | --shareds | --shared | --share | --shar \
1060 | --sha | --sh)
1061 ac_prev=sharedstatedir ;;
1062 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1063 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1064 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1065 | --sha=* | --sh=*)
1066 sharedstatedir=$ac_optarg ;;
1068 -site | --site | --sit)
1069 ac_prev=site ;;
1070 -site=* | --site=* | --sit=*)
1071 site=$ac_optarg ;;
1073 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1074 ac_prev=srcdir ;;
1075 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1076 srcdir=$ac_optarg ;;
1078 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1079 | --syscon | --sysco | --sysc | --sys | --sy)
1080 ac_prev=sysconfdir ;;
1081 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1082 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1083 sysconfdir=$ac_optarg ;;
1085 -target | --target | --targe | --targ | --tar | --ta | --t)
1086 ac_prev=target_alias ;;
1087 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1088 target_alias=$ac_optarg ;;
1090 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1091 verbose=yes ;;
1093 -version | --version | --versio | --versi | --vers | -V)
1094 ac_init_version=: ;;
1096 -with-* | --with-*)
1097 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1100 { echo "$as_me: error: invalid package name: $ac_package" >&2
1101 { (exit 1); exit 1; }; }
1102 ac_package=`echo $ac_package| sed 's/-/_/g'`
1103 eval with_$ac_package=\$ac_optarg ;;
1105 -without-* | --without-*)
1106 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1109 { echo "$as_me: error: invalid package name: $ac_package" >&2
1110 { (exit 1); exit 1; }; }
1111 ac_package=`echo $ac_package | sed 's/-/_/g'`
1112 eval with_$ac_package=no ;;
1114 --x)
1115 # Obsolete; use --with-x.
1116 with_x=yes ;;
1118 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1119 | --x-incl | --x-inc | --x-in | --x-i)
1120 ac_prev=x_includes ;;
1121 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1122 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1123 x_includes=$ac_optarg ;;
1125 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1126 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1127 ac_prev=x_libraries ;;
1128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1130 x_libraries=$ac_optarg ;;
1132 -*) { echo "$as_me: error: unrecognized option: $ac_option
1133 Try \`$0 --help' for more information." >&2
1134 { (exit 1); exit 1; }; }
1137 *=*)
1138 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1141 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1142 { (exit 1); exit 1; }; }
1143 eval $ac_envvar=\$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1150 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1154 esac
1155 done
1157 if test -n "$ac_prev"; then
1158 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1159 { echo "$as_me: error: missing argument to $ac_option" >&2
1160 { (exit 1); exit 1; }; }
1163 # Be sure to have absolute directory names.
1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1169 eval ac_val=\$$ac_var
1170 case $ac_val in
1171 [\\/$]* | ?:[\\/]* ) continue;;
1172 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1173 esac
1174 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1175 { (exit 1); exit 1; }; }
1176 done
1178 # There might be people who depend on the old broken behavior: `$host'
1179 # used to hold the argument of --host etc.
1180 # FIXME: To remove some day.
1181 build=$build_alias
1182 host=$host_alias
1183 target=$target_alias
1185 # FIXME: To remove some day.
1186 if test "x$host_alias" != x; then
1187 if test "x$build_alias" = x; then
1188 cross_compiling=maybe
1189 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1190 If a cross compiler is detected then cross compile mode will be used." >&2
1191 elif test "x$build_alias" != "x$host_alias"; then
1192 cross_compiling=yes
1196 ac_tool_prefix=
1197 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1199 test "$silent" = yes && exec 6>/dev/null
1202 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1203 ac_ls_di=`ls -di .` &&
1204 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1205 { echo "$as_me: error: Working directory cannot be determined" >&2
1206 { (exit 1); exit 1; }; }
1207 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1208 { echo "$as_me: error: pwd does not report name of working directory" >&2
1209 { (exit 1); exit 1; }; }
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir=`$as_dirname -- "$0" ||
1217 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$0" : 'X\(//\)[^/]' \| \
1219 X"$0" : 'X\(//\)$' \| \
1220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1221 echo X"$0" |
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1223 s//\1/
1226 /^X\(\/\/\)[^/].*/{
1227 s//\1/
1230 /^X\(\/\/\)$/{
1231 s//\1/
1234 /^X\(\/\).*/{
1235 s//\1/
1238 s/.*/./; q'`
1239 srcdir=$ac_confdir
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1241 srcdir=..
1243 else
1244 ac_srcdir_defaulted=no
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1248 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1249 { (exit 1); exit 1; }; }
1251 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1252 ac_abs_confdir=`(
1253 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1254 { (exit 1); exit 1; }; }
1255 pwd)`
1256 # When building in place, set srcdir=.
1257 if test "$ac_abs_confdir" = "$ac_pwd"; then
1258 srcdir=.
1260 # Remove unnecessary trailing slashes from srcdir.
1261 # Double slashes in file names in object file debugging info
1262 # mess up M-x gdb in Emacs.
1263 case $srcdir in
1264 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265 esac
1266 for ac_var in $ac_precious_vars; do
1267 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1268 eval ac_env_${ac_var}_value=\$${ac_var}
1269 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1270 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1271 done
1274 # Report the --help message.
1276 if test "$ac_init_help" = "long"; then
1277 # Omit some internal or obsolete options to make the list less imposing.
1278 # This message is too long to be a string in the A/UX 3.1 sh.
1279 cat <<_ACEOF
1280 \`configure' configures Wine 0.9.19 to adapt to many kinds of systems.
1282 Usage: $0 [OPTION]... [VAR=VALUE]...
1284 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1285 VAR=VALUE. See below for descriptions of some of the useful variables.
1287 Defaults for the options are specified in brackets.
1289 Configuration:
1290 -h, --help display this help and exit
1291 --help=short display options specific to this package
1292 --help=recursive display the short help of all the included packages
1293 -V, --version display version information and exit
1294 -q, --quiet, --silent do not print \`checking...' messages
1295 --cache-file=FILE cache test results in FILE [disabled]
1296 -C, --config-cache alias for \`--cache-file=config.cache'
1297 -n, --no-create do not create output files
1298 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1300 Installation directories:
1301 --prefix=PREFIX install architecture-independent files in PREFIX
1302 [$ac_default_prefix]
1303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1304 [PREFIX]
1306 By default, \`make install' will install all the files in
1307 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1308 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1309 for instance \`--prefix=\$HOME'.
1311 For better control, use the options below.
1313 Fine tuning of the installation directories:
1314 --bindir=DIR user executables [EPREFIX/bin]
1315 --sbindir=DIR system admin executables [EPREFIX/sbin]
1316 --libexecdir=DIR program executables [EPREFIX/libexec]
1317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1319 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1329 --htmldir=DIR html documentation [DOCDIR]
1330 --dvidir=DIR dvi documentation [DOCDIR]
1331 --pdfdir=DIR pdf documentation [DOCDIR]
1332 --psdir=DIR ps documentation [DOCDIR]
1333 _ACEOF
1335 cat <<\_ACEOF
1337 X features:
1338 --x-includes=DIR X include files are in DIR
1339 --x-libraries=DIR X library files are in DIR
1341 System types:
1342 --build=BUILD configure for building on BUILD [guessed]
1343 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1344 _ACEOF
1347 if test -n "$ac_init_help"; then
1348 case $ac_init_help in
1349 short | recursive ) echo "Configuration of Wine 0.9.19:";;
1350 esac
1351 cat <<\_ACEOF
1353 Optional Features:
1354 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1355 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1356 --disable-win16 do not include Win16 support
1357 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1358 binaries)
1360 Optional Packages:
1361 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1362 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1363 --without-opengl do not use OpenGL
1364 --without-curses do not use curses
1365 --with-wine-tools=<dir> use Wine tools from directory <dir>
1366 --with-x use the X Window System
1368 Some influential environment variables:
1369 CC C compiler command
1370 CFLAGS C compiler flags
1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1372 nonstandard directory <lib dir>
1373 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1374 you have headers in a nonstandard directory <include dir>
1375 CXX C++ compiler command
1376 CXXFLAGS C++ compiler flags
1377 XMKMF Path to xmkmf, Makefile generator for X Window System
1378 CPP C preprocessor
1380 Use these variables to override the choices made by `configure' or to help
1381 it to find libraries and programs with nonstandard names/locations.
1383 Report bugs to <wine-devel@winehq.org>.
1384 _ACEOF
1385 ac_status=$?
1388 if test "$ac_init_help" = "recursive"; then
1389 # If there are subdirs, report their specific --help.
1390 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1391 test -d "$ac_dir" || continue
1392 ac_builddir=.
1394 case "$ac_dir" in
1395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1398 # A ".." for each directory in $ac_dir_suffix.
1399 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1400 case $ac_top_builddir_sub in
1401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1403 esac ;;
1404 esac
1405 ac_abs_top_builddir=$ac_pwd
1406 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1407 # for backward compatibility:
1408 ac_top_builddir=$ac_top_build_prefix
1410 case $srcdir in
1411 .) # We are building in place.
1412 ac_srcdir=.
1413 ac_top_srcdir=$ac_top_builddir_sub
1414 ac_abs_top_srcdir=$ac_pwd ;;
1415 [\\/]* | ?:[\\/]* ) # Absolute name.
1416 ac_srcdir=$srcdir$ac_dir_suffix;
1417 ac_top_srcdir=$srcdir
1418 ac_abs_top_srcdir=$srcdir ;;
1419 *) # Relative name.
1420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1421 ac_top_srcdir=$ac_top_build_prefix$srcdir
1422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1423 esac
1424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1426 cd "$ac_dir" || { ac_status=$?; continue; }
1427 # Check for guested configure.
1428 if test -f "$ac_srcdir/configure.gnu"; then
1429 echo &&
1430 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1431 elif test -f "$ac_srcdir/configure"; then
1432 echo &&
1433 $SHELL "$ac_srcdir/configure" --help=recursive
1434 else
1435 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1436 fi || ac_status=$?
1437 cd "$ac_pwd" || { ac_status=$?; break; }
1438 done
1441 test -n "$ac_init_help" && exit $ac_status
1442 if $ac_init_version; then
1443 cat <<\_ACEOF
1444 Wine configure 0.9.19
1445 generated by GNU Autoconf 2.60a
1447 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1448 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1449 This configure script is free software; the Free Software Foundation
1450 gives unlimited permission to copy, distribute and modify it.
1451 _ACEOF
1452 exit
1454 cat >config.log <<_ACEOF
1455 This file contains any messages produced by compilers while
1456 running configure, to aid debugging if configure makes a mistake.
1458 It was created by Wine $as_me 0.9.19, which was
1459 generated by GNU Autoconf 2.60a. Invocation command line was
1461 $ $0 $@
1463 _ACEOF
1464 exec 5>>config.log
1466 cat <<_ASUNAME
1467 ## --------- ##
1468 ## Platform. ##
1469 ## --------- ##
1471 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1472 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1473 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1474 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1475 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1477 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1478 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1480 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1481 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1482 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1483 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1484 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1485 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1486 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1488 _ASUNAME
1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1491 for as_dir in $PATH
1493 IFS=$as_save_IFS
1494 test -z "$as_dir" && as_dir=.
1495 echo "PATH: $as_dir"
1496 done
1497 IFS=$as_save_IFS
1499 } >&5
1501 cat >&5 <<_ACEOF
1504 ## ----------- ##
1505 ## Core tests. ##
1506 ## ----------- ##
1508 _ACEOF
1511 # Keep a trace of the command line.
1512 # Strip out --no-create and --no-recursion so they do not pile up.
1513 # Strip out --silent because we don't want to record it for future runs.
1514 # Also quote any args containing shell meta-characters.
1515 # Make two passes to allow for proper duplicate-argument suppression.
1516 ac_configure_args=
1517 ac_configure_args0=
1518 ac_configure_args1=
1519 ac_must_keep_next=false
1520 for ac_pass in 1 2
1522 for ac_arg
1524 case $ac_arg in
1525 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1527 | -silent | --silent | --silen | --sile | --sil)
1528 continue ;;
1529 *\'*)
1530 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1531 esac
1532 case $ac_pass in
1533 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1535 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1536 if test $ac_must_keep_next = true; then
1537 ac_must_keep_next=false # Got value, back to normal.
1538 else
1539 case $ac_arg in
1540 *=* | --config-cache | -C | -disable-* | --disable-* \
1541 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1542 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1543 | -with-* | --with-* | -without-* | --without-* | --x)
1544 case "$ac_configure_args0 " in
1545 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1546 esac
1548 -* ) ac_must_keep_next=true ;;
1549 esac
1551 ac_configure_args="$ac_configure_args '$ac_arg'"
1553 esac
1554 done
1555 done
1556 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1557 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1559 # When interrupted or exit'd, cleanup temporary files, and complete
1560 # config.log. We remove comments because anyway the quotes in there
1561 # would cause problems or look ugly.
1562 # WARNING: Use '\'' to represent an apostrophe within the trap.
1563 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1564 trap 'exit_status=$?
1565 # Save into config.log some information that might help in debugging.
1567 echo
1569 cat <<\_ASBOX
1570 ## ---------------- ##
1571 ## Cache variables. ##
1572 ## ---------------- ##
1573 _ASBOX
1574 echo
1575 # The following way of writing the cache mishandles newlines in values,
1577 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1578 eval ac_val=\$$ac_var
1579 case $ac_val in #(
1580 *${as_nl}*)
1581 case $ac_var in #(
1582 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1583 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1584 esac
1585 case $ac_var in #(
1586 _ | IFS | as_nl) ;; #(
1587 *) $as_unset $ac_var ;;
1588 esac ;;
1589 esac
1590 done
1591 (set) 2>&1 |
1592 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1593 *${as_nl}ac_space=\ *)
1594 sed -n \
1595 "s/'\''/'\''\\\\'\'''\''/g;
1596 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1597 ;; #(
1599 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1601 esac |
1602 sort
1604 echo
1606 cat <<\_ASBOX
1607 ## ----------------- ##
1608 ## Output variables. ##
1609 ## ----------------- ##
1610 _ASBOX
1611 echo
1612 for ac_var in $ac_subst_vars
1614 eval ac_val=\$$ac_var
1615 case $ac_val in
1616 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1617 esac
1618 echo "$ac_var='\''$ac_val'\''"
1619 done | sort
1620 echo
1622 if test -n "$ac_subst_files"; then
1623 cat <<\_ASBOX
1624 ## ------------------- ##
1625 ## File substitutions. ##
1626 ## ------------------- ##
1627 _ASBOX
1628 echo
1629 for ac_var in $ac_subst_files
1631 eval ac_val=\$$ac_var
1632 case $ac_val in
1633 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 esac
1635 echo "$ac_var='\''$ac_val'\''"
1636 done | sort
1637 echo
1640 if test -s confdefs.h; then
1641 cat <<\_ASBOX
1642 ## ----------- ##
1643 ## confdefs.h. ##
1644 ## ----------- ##
1645 _ASBOX
1646 echo
1647 cat confdefs.h
1648 echo
1650 test "$ac_signal" != 0 &&
1651 echo "$as_me: caught signal $ac_signal"
1652 echo "$as_me: exit $exit_status"
1653 } >&5
1654 rm -f core *.core core.conftest.* &&
1655 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1656 exit $exit_status
1658 for ac_signal in 1 2 13 15; do
1659 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1660 done
1661 ac_signal=0
1663 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1664 rm -f -r conftest* confdefs.h
1666 # Predefined preprocessor variables.
1668 cat >>confdefs.h <<_ACEOF
1669 #define PACKAGE_NAME "$PACKAGE_NAME"
1670 _ACEOF
1673 cat >>confdefs.h <<_ACEOF
1674 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1675 _ACEOF
1678 cat >>confdefs.h <<_ACEOF
1679 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1680 _ACEOF
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_STRING "$PACKAGE_STRING"
1685 _ACEOF
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1690 _ACEOF
1693 # Let the site file select an alternate cache file if it wants to.
1694 # Prefer explicitly selected file to automatically selected ones.
1695 if test -n "$CONFIG_SITE"; then
1696 set x "$CONFIG_SITE"
1697 elif test "x$prefix" != xNONE; then
1698 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1699 else
1700 set x "$ac_default_prefix/share/config.site" \
1701 "$ac_default_prefix/etc/config.site"
1703 shift
1704 for ac_site_file
1706 if test -r "$ac_site_file"; then
1707 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1708 echo "$as_me: loading site script $ac_site_file" >&6;}
1709 sed 's/^/| /' "$ac_site_file" >&5
1710 . "$ac_site_file"
1712 done
1714 if test -r "$cache_file"; then
1715 # Some versions of bash will fail to source /dev/null (special
1716 # files actually), so we avoid doing that.
1717 if test -f "$cache_file"; then
1718 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1719 echo "$as_me: loading cache $cache_file" >&6;}
1720 case $cache_file in
1721 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1722 *) . "./$cache_file";;
1723 esac
1725 else
1726 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1727 echo "$as_me: creating cache $cache_file" >&6;}
1728 >$cache_file
1731 # Check that the precious variables saved in the cache have kept the same
1732 # value.
1733 ac_cache_corrupted=false
1734 for ac_var in $ac_precious_vars; do
1735 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1736 eval ac_new_set=\$ac_env_${ac_var}_set
1737 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1738 eval ac_new_val=\$ac_env_${ac_var}_value
1739 case $ac_old_set,$ac_new_set in
1740 set,)
1741 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1742 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1743 ac_cache_corrupted=: ;;
1744 ,set)
1745 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1746 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1747 ac_cache_corrupted=: ;;
1748 ,);;
1750 if test "x$ac_old_val" != "x$ac_new_val"; then
1751 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1752 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1753 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1754 echo "$as_me: former value: $ac_old_val" >&2;}
1755 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1756 echo "$as_me: current value: $ac_new_val" >&2;}
1757 ac_cache_corrupted=:
1758 fi;;
1759 esac
1760 # Pass precious variables to config.status.
1761 if test "$ac_new_set" = set; then
1762 case $ac_new_val in
1763 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1764 *) ac_arg=$ac_var=$ac_new_val ;;
1765 esac
1766 case " $ac_configure_args " in
1767 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1768 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1769 esac
1771 done
1772 if $ac_cache_corrupted; then
1773 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1774 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1775 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1776 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1777 { (exit 1); exit 1; }; }
1804 ac_ext=c
1805 ac_cpp='$CPP $CPPFLAGS'
1806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1812 ac_config_headers="$ac_config_headers include/config.h"
1814 ac_aux_dir=
1815 for ac_dir in tools "$srcdir"/tools; do
1816 if test -f "$ac_dir/install-sh"; then
1817 ac_aux_dir=$ac_dir
1818 ac_install_sh="$ac_aux_dir/install-sh -c"
1819 break
1820 elif test -f "$ac_dir/install.sh"; then
1821 ac_aux_dir=$ac_dir
1822 ac_install_sh="$ac_aux_dir/install.sh -c"
1823 break
1824 elif test -f "$ac_dir/shtool"; then
1825 ac_aux_dir=$ac_dir
1826 ac_install_sh="$ac_aux_dir/shtool install -c"
1827 break
1829 done
1830 if test -z "$ac_aux_dir"; then
1831 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1832 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1833 { (exit 1); exit 1; }; }
1836 # These three variables are undocumented and unsupported,
1837 # and are intended to be withdrawn in a future Autoconf release.
1838 # They can cause serious problems if a builder's source tree is in a directory
1839 # whose full name contains unusual characters.
1840 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1841 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1842 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1847 # Check whether --enable-win16 was given.
1848 if test "${enable_win16+set}" = set; then
1849 enableval=$enable_win16;
1852 # Check whether --enable-win64 was given.
1853 if test "${enable_win64+set}" = set; then
1854 enableval=$enable_win64;
1859 # Check whether --with-opengl was given.
1860 if test "${with_opengl+set}" = set; then
1861 withval=$with_opengl;
1865 # Check whether --with-curses was given.
1866 if test "${with_curses+set}" = set; then
1867 withval=$with_curses;
1871 # Check whether --with-wine-tools was given.
1872 if test "${with_wine_tools+set}" = set; then
1873 withval=$with_wine_tools;
1877 # Make sure we can run config.sub.
1878 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1879 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1880 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1881 { (exit 1); exit 1; }; }
1883 { echo "$as_me:$LINENO: checking build system type" >&5
1884 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1885 if test "${ac_cv_build+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 else
1888 ac_build_alias=$build_alias
1889 test "x$ac_build_alias" = x &&
1890 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1891 test "x$ac_build_alias" = x &&
1892 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1893 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1894 { (exit 1); exit 1; }; }
1895 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1896 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1897 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1898 { (exit 1); exit 1; }; }
1901 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1902 echo "${ECHO_T}$ac_cv_build" >&6; }
1903 case $ac_cv_build in
1904 *-*-*) ;;
1905 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1906 echo "$as_me: error: invalid value of canonical build" >&2;}
1907 { (exit 1); exit 1; }; };;
1908 esac
1909 build=$ac_cv_build
1910 ac_save_IFS=$IFS; IFS='-'
1911 set x $ac_cv_build
1912 shift
1913 build_cpu=$1
1914 build_vendor=$2
1915 shift; shift
1916 # Remember, the first character of IFS is used to create $*,
1917 # except with old shells:
1918 build_os=$*
1919 IFS=$ac_save_IFS
1920 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1923 { echo "$as_me:$LINENO: checking host system type" >&5
1924 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1925 if test "${ac_cv_host+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 else
1928 if test "x$host_alias" = x; then
1929 ac_cv_host=$ac_cv_build
1930 else
1931 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1932 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1933 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1934 { (exit 1); exit 1; }; }
1938 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1939 echo "${ECHO_T}$ac_cv_host" >&6; }
1940 case $ac_cv_host in
1941 *-*-*) ;;
1942 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1943 echo "$as_me: error: invalid value of canonical host" >&2;}
1944 { (exit 1); exit 1; }; };;
1945 esac
1946 host=$ac_cv_host
1947 ac_save_IFS=$IFS; IFS='-'
1948 set x $ac_cv_host
1949 shift
1950 host_cpu=$1
1951 host_vendor=$2
1952 shift; shift
1953 # Remember, the first character of IFS is used to create $*,
1954 # except with old shells:
1955 host_os=$*
1956 IFS=$ac_save_IFS
1957 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1960 case $host in
1961 x86_64*linux*)
1962 if test "x$enable_win64" != "xyes"
1963 then
1964 test -n "$CC" || CC="gcc -m32"
1965 test -n "$LD" || LD="ld -m elf_i386"
1966 test -n "$AS" || AS="as --32"
1967 host_cpu="i386"
1970 esac
1972 case $host_cpu in
1973 *i[3456789]86*)
1974 if test "x$enable_win16" != "xno"
1975 then
1976 enable_win16="yes"
1979 esac
1981 WIN16_FILES="\$(WIN16_FILES)"
1983 WIN16_INSTALL="\$(WIN16_INSTALL)"
1985 if test "x$enable_win16" != "xyes"
1986 then
1987 WIN16_FILES=""
1988 WIN16_INSTALL=""
1992 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1993 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1994 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1995 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1997 else
1998 cat >conftest.make <<\_ACEOF
1999 SHELL = /bin/sh
2000 all:
2001 @echo '@@@%%%=$(MAKE)=@@@%%%'
2002 _ACEOF
2003 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2004 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2005 *@@@%%%=?*=@@@%%%*)
2006 eval ac_cv_prog_make_${ac_make}_set=yes;;
2008 eval ac_cv_prog_make_${ac_make}_set=no;;
2009 esac
2010 rm -f conftest.make
2012 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2013 { echo "$as_me:$LINENO: result: yes" >&5
2014 echo "${ECHO_T}yes" >&6; }
2015 SET_MAKE=
2016 else
2017 { echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6; }
2019 SET_MAKE="MAKE=${MAKE-make}"
2022 ac_ext=c
2023 ac_cpp='$CPP $CPPFLAGS'
2024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2027 if test -n "$ac_tool_prefix"; then
2028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2029 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2032 if test "${ac_cv_prog_CC+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 else
2035 if test -n "$CC"; then
2036 ac_cv_prog_CC="$CC" # Let the user override the test.
2037 else
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 for as_dir in $PATH
2041 IFS=$as_save_IFS
2042 test -z "$as_dir" && as_dir=.
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2045 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2047 break 2
2049 done
2050 done
2051 IFS=$as_save_IFS
2055 CC=$ac_cv_prog_CC
2056 if test -n "$CC"; then
2057 { echo "$as_me:$LINENO: result: $CC" >&5
2058 echo "${ECHO_T}$CC" >&6; }
2059 else
2060 { echo "$as_me:$LINENO: result: no" >&5
2061 echo "${ECHO_T}no" >&6; }
2066 if test -z "$ac_cv_prog_CC"; then
2067 ac_ct_CC=$CC
2068 # Extract the first word of "gcc", so it can be a program name with args.
2069 set dummy gcc; ac_word=$2
2070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 else
2075 if test -n "$ac_ct_CC"; then
2076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2077 else
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 for as_dir in $PATH
2081 IFS=$as_save_IFS
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2085 ac_cv_prog_ac_ct_CC="gcc"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 break 2
2089 done
2090 done
2091 IFS=$as_save_IFS
2095 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2096 if test -n "$ac_ct_CC"; then
2097 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2098 echo "${ECHO_T}$ac_ct_CC" >&6; }
2099 else
2100 { echo "$as_me:$LINENO: result: no" >&5
2101 echo "${ECHO_T}no" >&6; }
2104 if test "x$ac_ct_CC" = x; then
2105 CC=""
2106 else
2107 case $cross_compiling:$ac_tool_warned in
2108 yes:)
2109 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2110 whose name does not start with the host triplet. If you think this
2111 configuration is useful to you, please write to autoconf@gnu.org." >&5
2112 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2113 whose name does not start with the host triplet. If you think this
2114 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2115 ac_tool_warned=yes ;;
2116 esac
2117 CC=$ac_ct_CC
2119 else
2120 CC="$ac_cv_prog_CC"
2123 if test -z "$CC"; then
2124 if test -n "$ac_tool_prefix"; then
2125 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2126 set dummy ${ac_tool_prefix}cc; ac_word=$2
2127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2129 if test "${ac_cv_prog_CC+set}" = set; then
2130 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 else
2132 if test -n "$CC"; then
2133 ac_cv_prog_CC="$CC" # Let the user override the test.
2134 else
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 for as_dir in $PATH
2138 IFS=$as_save_IFS
2139 test -z "$as_dir" && as_dir=.
2140 for ac_exec_ext in '' $ac_executable_extensions; do
2141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2142 ac_cv_prog_CC="${ac_tool_prefix}cc"
2143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144 break 2
2146 done
2147 done
2148 IFS=$as_save_IFS
2152 CC=$ac_cv_prog_CC
2153 if test -n "$CC"; then
2154 { echo "$as_me:$LINENO: result: $CC" >&5
2155 echo "${ECHO_T}$CC" >&6; }
2156 else
2157 { echo "$as_me:$LINENO: result: no" >&5
2158 echo "${ECHO_T}no" >&6; }
2164 if test -z "$CC"; then
2165 # Extract the first word of "cc", so it can be a program name with args.
2166 set dummy cc; ac_word=$2
2167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2169 if test "${ac_cv_prog_CC+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 else
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2174 else
2175 ac_prog_rejected=no
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 for as_dir in $PATH
2179 IFS=$as_save_IFS
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2183 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2184 ac_prog_rejected=yes
2185 continue
2187 ac_cv_prog_CC="cc"
2188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 break 2
2191 done
2192 done
2193 IFS=$as_save_IFS
2195 if test $ac_prog_rejected = yes; then
2196 # We found a bogon in the path, so make sure we never use it.
2197 set dummy $ac_cv_prog_CC
2198 shift
2199 if test $# != 0; then
2200 # We chose a different compiler from the bogus one.
2201 # However, it has the same basename, so the bogon will be chosen
2202 # first if we set CC to just the basename; use the full file name.
2203 shift
2204 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2209 CC=$ac_cv_prog_CC
2210 if test -n "$CC"; then
2211 { echo "$as_me:$LINENO: result: $CC" >&5
2212 echo "${ECHO_T}$CC" >&6; }
2213 else
2214 { echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6; }
2220 if test -z "$CC"; then
2221 if test -n "$ac_tool_prefix"; then
2222 for ac_prog in cl.exe
2224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2228 if test "${ac_cv_prog_CC+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 else
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC="$CC" # Let the user override the test.
2233 else
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 for as_dir in $PATH
2237 IFS=$as_save_IFS
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2241 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 break 2
2245 done
2246 done
2247 IFS=$as_save_IFS
2251 CC=$ac_cv_prog_CC
2252 if test -n "$CC"; then
2253 { echo "$as_me:$LINENO: result: $CC" >&5
2254 echo "${ECHO_T}$CC" >&6; }
2255 else
2256 { echo "$as_me:$LINENO: result: no" >&5
2257 echo "${ECHO_T}no" >&6; }
2261 test -n "$CC" && break
2262 done
2264 if test -z "$CC"; then
2265 ac_ct_CC=$CC
2266 for ac_prog in cl.exe
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy $ac_prog; ac_word=$2
2270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2274 else
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2277 else
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 for as_dir in $PATH
2281 IFS=$as_save_IFS
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2285 ac_cv_prog_ac_ct_CC="$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 break 2
2289 done
2290 done
2291 IFS=$as_save_IFS
2295 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2296 if test -n "$ac_ct_CC"; then
2297 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2298 echo "${ECHO_T}$ac_ct_CC" >&6; }
2299 else
2300 { echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6; }
2305 test -n "$ac_ct_CC" && break
2306 done
2308 if test "x$ac_ct_CC" = x; then
2309 CC=""
2310 else
2311 case $cross_compiling:$ac_tool_warned in
2312 yes:)
2313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2314 whose name does not start with the host triplet. If you think this
2315 configuration is useful to you, please write to autoconf@gnu.org." >&5
2316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2317 whose name does not start with the host triplet. If you think this
2318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2319 ac_tool_warned=yes ;;
2320 esac
2321 CC=$ac_ct_CC
2328 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2329 See \`config.log' for more details." >&5
2330 echo "$as_me: error: no acceptable C compiler found in \$PATH
2331 See \`config.log' for more details." >&2;}
2332 { (exit 1); exit 1; }; }
2334 # Provide some information about the compiler.
2335 echo "$as_me:$LINENO: checking for C compiler version" >&5
2336 ac_compiler=`set X $ac_compile; echo $2`
2337 { (ac_try="$ac_compiler --version >&5"
2338 case "(($ac_try" in
2339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2340 *) ac_try_echo=$ac_try;;
2341 esac
2342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2343 (eval "$ac_compiler --version >&5") 2>&5
2344 ac_status=$?
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }
2347 { (ac_try="$ac_compiler -v >&5"
2348 case "(($ac_try" in
2349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2350 *) ac_try_echo=$ac_try;;
2351 esac
2352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2353 (eval "$ac_compiler -v >&5") 2>&5
2354 ac_status=$?
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }
2357 { (ac_try="$ac_compiler -V >&5"
2358 case "(($ac_try" in
2359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2360 *) ac_try_echo=$ac_try;;
2361 esac
2362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2363 (eval "$ac_compiler -V >&5") 2>&5
2364 ac_status=$?
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2368 cat >conftest.$ac_ext <<_ACEOF
2369 /* confdefs.h. */
2370 _ACEOF
2371 cat confdefs.h >>conftest.$ac_ext
2372 cat >>conftest.$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2376 main ()
2380 return 0;
2382 _ACEOF
2383 ac_clean_files_save=$ac_clean_files
2384 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2385 # Try to create an executable without -o first, disregard a.out.
2386 # It will help us diagnose broken compilers, and finding out an intuition
2387 # of exeext.
2388 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2389 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2390 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2392 # List of possible output files, starting from the most likely.
2393 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2394 # only as a last resort. b.out is created by i960 compilers.
2395 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2397 # The IRIX 6 linker writes into existing files which may not be
2398 # executable, retaining their permissions. Remove them first so a
2399 # subsequent execution test works.
2400 ac_rmfiles=
2401 for ac_file in $ac_files
2403 case $ac_file in
2404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2405 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2406 esac
2407 done
2408 rm -f $ac_rmfiles
2410 if { (ac_try="$ac_link_default"
2411 case "(($ac_try" in
2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413 *) ac_try_echo=$ac_try;;
2414 esac
2415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2416 (eval "$ac_link_default") 2>&5
2417 ac_status=$?
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; then
2420 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2421 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2422 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2423 # so that the user can short-circuit this test for compilers unknown to
2424 # Autoconf.
2425 for ac_file in $ac_files ''
2427 test -f "$ac_file" || continue
2428 case $ac_file in
2429 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2431 [ab].out )
2432 # We found the default executable, but exeext='' is most
2433 # certainly right.
2434 break;;
2435 *.* )
2436 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2437 then :; else
2438 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2440 # We set ac_cv_exeext here because the later test for it is not
2441 # safe: cross compilers may not add the suffix if given an `-o'
2442 # argument, so we may need to know it at that point already.
2443 # Even if this section looks crufty: it has the advantage of
2444 # actually working.
2445 break;;
2447 break;;
2448 esac
2449 done
2450 test "$ac_cv_exeext" = no && ac_cv_exeext=
2452 else
2453 ac_file=''
2456 { echo "$as_me:$LINENO: result: $ac_file" >&5
2457 echo "${ECHO_T}$ac_file" >&6; }
2458 if test -z "$ac_file"; then
2459 echo "$as_me: failed program was:" >&5
2460 sed 's/^/| /' conftest.$ac_ext >&5
2462 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2463 See \`config.log' for more details." >&5
2464 echo "$as_me: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&2;}
2466 { (exit 77); exit 77; }; }
2469 ac_exeext=$ac_cv_exeext
2471 # Check that the compiler produces executables we can run. If not, either
2472 # the compiler is broken, or we cross compile.
2473 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2474 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2475 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2476 # If not cross compiling, check that we can run a simple program.
2477 if test "$cross_compiling" != yes; then
2478 if { ac_try='./$ac_file'
2479 { (case "(($ac_try" in
2480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2481 *) ac_try_echo=$ac_try;;
2482 esac
2483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2484 (eval "$ac_try") 2>&5
2485 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2488 cross_compiling=no
2489 else
2490 if test "$cross_compiling" = maybe; then
2491 cross_compiling=yes
2492 else
2493 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&2;}
2499 { (exit 1); exit 1; }; }
2503 { echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6; }
2506 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2507 ac_clean_files=$ac_clean_files_save
2508 # Check that the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2511 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2512 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2513 echo "${ECHO_T}$cross_compiling" >&6; }
2515 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2516 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2517 if { (ac_try="$ac_link"
2518 case "(($ac_try" in
2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2521 esac
2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2523 (eval "$ac_link") 2>&5
2524 ac_status=$?
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }; then
2527 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2528 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2529 # work properly (i.e., refer to `conftest.exe'), while it won't with
2530 # `rm'.
2531 for ac_file in conftest.exe conftest conftest.*; do
2532 test -f "$ac_file" || continue
2533 case $ac_file in
2534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2535 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2536 break;;
2537 * ) break;;
2538 esac
2539 done
2540 else
2541 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2542 See \`config.log' for more details." >&5
2543 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2544 See \`config.log' for more details." >&2;}
2545 { (exit 1); exit 1; }; }
2548 rm -f conftest$ac_cv_exeext
2549 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2550 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2552 rm -f conftest.$ac_ext
2553 EXEEXT=$ac_cv_exeext
2554 ac_exeext=$EXEEXT
2555 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2556 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2557 if test "${ac_cv_objext+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2559 else
2560 cat >conftest.$ac_ext <<_ACEOF
2561 /* confdefs.h. */
2562 _ACEOF
2563 cat confdefs.h >>conftest.$ac_ext
2564 cat >>conftest.$ac_ext <<_ACEOF
2565 /* end confdefs.h. */
2568 main ()
2572 return 0;
2574 _ACEOF
2575 rm -f conftest.o conftest.obj
2576 if { (ac_try="$ac_compile"
2577 case "(($ac_try" in
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2580 esac
2581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2582 (eval "$ac_compile") 2>&5
2583 ac_status=$?
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; then
2586 for ac_file in conftest.o conftest.obj conftest.*; do
2587 test -f "$ac_file" || continue;
2588 case $ac_file in
2589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2590 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2591 break;;
2592 esac
2593 done
2594 else
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.$ac_ext >&5
2598 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2599 See \`config.log' for more details." >&5
2600 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2601 See \`config.log' for more details." >&2;}
2602 { (exit 1); exit 1; }; }
2605 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2607 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2608 echo "${ECHO_T}$ac_cv_objext" >&6; }
2609 OBJEXT=$ac_cv_objext
2610 ac_objext=$OBJEXT
2611 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2612 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2613 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2615 else
2616 cat >conftest.$ac_ext <<_ACEOF
2617 /* confdefs.h. */
2618 _ACEOF
2619 cat confdefs.h >>conftest.$ac_ext
2620 cat >>conftest.$ac_ext <<_ACEOF
2621 /* end confdefs.h. */
2624 main ()
2626 #ifndef __GNUC__
2627 choke me
2628 #endif
2631 return 0;
2633 _ACEOF
2634 rm -f conftest.$ac_objext
2635 if { (ac_try="$ac_compile"
2636 case "(($ac_try" in
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2639 esac
2640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2641 (eval "$ac_compile") 2>conftest.er1
2642 ac_status=$?
2643 grep -v '^ *+' conftest.er1 >conftest.err
2644 rm -f conftest.er1
2645 cat conftest.err >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } &&
2648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2649 { (case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2652 esac
2653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2654 (eval "$ac_try") 2>&5
2655 ac_status=$?
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; } &&
2658 { ac_try='test -s conftest.$ac_objext'
2659 { (case "(($ac_try" in
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2662 esac
2663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2664 (eval "$ac_try") 2>&5
2665 ac_status=$?
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }; }; then
2668 ac_compiler_gnu=yes
2669 else
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 ac_compiler_gnu=no
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2682 GCC=`test $ac_compiler_gnu = yes && echo yes`
2683 ac_test_CFLAGS=${CFLAGS+set}
2684 ac_save_CFLAGS=$CFLAGS
2685 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690 ac_save_c_werror_flag=$ac_c_werror_flag
2691 ac_c_werror_flag=yes
2692 ac_cv_prog_cc_g=no
2693 CFLAGS="-g"
2694 cat >conftest.$ac_ext <<_ACEOF
2695 /* confdefs.h. */
2696 _ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2702 main ()
2706 return 0;
2708 _ACEOF
2709 rm -f conftest.$ac_objext
2710 if { (ac_try="$ac_compile"
2711 case "(($ac_try" in
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2714 esac
2715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_compile") 2>conftest.er1
2717 ac_status=$?
2718 grep -v '^ *+' conftest.er1 >conftest.err
2719 rm -f conftest.er1
2720 cat conftest.err >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } &&
2723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2724 { (case "(($ac_try" in
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2727 esac
2728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2729 (eval "$ac_try") 2>&5
2730 ac_status=$?
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; } &&
2733 { ac_try='test -s conftest.$ac_objext'
2734 { (case "(($ac_try" in
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2737 esac
2738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2739 (eval "$ac_try") 2>&5
2740 ac_status=$?
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; }; then
2743 ac_cv_prog_cc_g=yes
2744 else
2745 echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2748 CFLAGS=""
2749 cat >conftest.$ac_ext <<_ACEOF
2750 /* confdefs.h. */
2751 _ACEOF
2752 cat confdefs.h >>conftest.$ac_ext
2753 cat >>conftest.$ac_ext <<_ACEOF
2754 /* end confdefs.h. */
2757 main ()
2761 return 0;
2763 _ACEOF
2764 rm -f conftest.$ac_objext
2765 if { (ac_try="$ac_compile"
2766 case "(($ac_try" in
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2769 esac
2770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2771 (eval "$ac_compile") 2>conftest.er1
2772 ac_status=$?
2773 grep -v '^ *+' conftest.er1 >conftest.err
2774 rm -f conftest.er1
2775 cat conftest.err >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); } &&
2778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2779 { (case "(($ac_try" in
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2782 esac
2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2784 (eval "$ac_try") 2>&5
2785 ac_status=$?
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; } &&
2788 { ac_try='test -s conftest.$ac_objext'
2789 { (case "(($ac_try" in
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2792 esac
2793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2794 (eval "$ac_try") 2>&5
2795 ac_status=$?
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }; }; then
2799 else
2800 echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2803 ac_c_werror_flag=$ac_save_c_werror_flag
2804 CFLAGS="-g"
2805 cat >conftest.$ac_ext <<_ACEOF
2806 /* confdefs.h. */
2807 _ACEOF
2808 cat confdefs.h >>conftest.$ac_ext
2809 cat >>conftest.$ac_ext <<_ACEOF
2810 /* end confdefs.h. */
2813 main ()
2817 return 0;
2819 _ACEOF
2820 rm -f conftest.$ac_objext
2821 if { (ac_try="$ac_compile"
2822 case "(($ac_try" in
2823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2824 *) ac_try_echo=$ac_try;;
2825 esac
2826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2827 (eval "$ac_compile") 2>conftest.er1
2828 ac_status=$?
2829 grep -v '^ *+' conftest.er1 >conftest.err
2830 rm -f conftest.er1
2831 cat conftest.err >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } &&
2834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2835 { (case "(($ac_try" in
2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2838 esac
2839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2840 (eval "$ac_try") 2>&5
2841 ac_status=$?
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; } &&
2844 { ac_try='test -s conftest.$ac_objext'
2845 { (case "(($ac_try" in
2846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 *) ac_try_echo=$ac_try;;
2848 esac
2849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2850 (eval "$ac_try") 2>&5
2851 ac_status=$?
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; }; then
2854 ac_cv_prog_cc_g=yes
2855 else
2856 echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 ac_c_werror_flag=$ac_save_c_werror_flag
2871 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2872 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2873 if test "$ac_test_CFLAGS" = set; then
2874 CFLAGS=$ac_save_CFLAGS
2875 elif test $ac_cv_prog_cc_g = yes; then
2876 if test "$GCC" = yes; then
2877 CFLAGS="-g -O2"
2878 else
2879 CFLAGS="-g"
2881 else
2882 if test "$GCC" = yes; then
2883 CFLAGS="-O2"
2884 else
2885 CFLAGS=
2888 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2889 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2890 if test "${ac_cv_prog_cc_c89+set}" = set; then
2891 echo $ECHO_N "(cached) $ECHO_C" >&6
2892 else
2893 ac_cv_prog_cc_c89=no
2894 ac_save_CC=$CC
2895 cat >conftest.$ac_ext <<_ACEOF
2896 /* confdefs.h. */
2897 _ACEOF
2898 cat confdefs.h >>conftest.$ac_ext
2899 cat >>conftest.$ac_ext <<_ACEOF
2900 /* end confdefs.h. */
2901 #include <stdarg.h>
2902 #include <stdio.h>
2903 #include <sys/types.h>
2904 #include <sys/stat.h>
2905 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2906 struct buf { int x; };
2907 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2908 static char *e (p, i)
2909 char **p;
2910 int i;
2912 return p[i];
2914 static char *f (char * (*g) (char **, int), char **p, ...)
2916 char *s;
2917 va_list v;
2918 va_start (v,p);
2919 s = g (p, va_arg (v,int));
2920 va_end (v);
2921 return s;
2924 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2925 function prototypes and stuff, but not '\xHH' hex character constants.
2926 These don't provoke an error unfortunately, instead are silently treated
2927 as 'x'. The following induces an error, until -std is added to get
2928 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2929 array size at least. It's necessary to write '\x00'==0 to get something
2930 that's true only with -std. */
2931 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2933 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2934 inside strings and character constants. */
2935 #define FOO(x) 'x'
2936 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2938 int test (int i, double x);
2939 struct s1 {int (*f) (int a);};
2940 struct s2 {int (*f) (double a);};
2941 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2942 int argc;
2943 char **argv;
2945 main ()
2947 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2949 return 0;
2951 _ACEOF
2952 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2953 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2955 CC="$ac_save_CC $ac_arg"
2956 rm -f conftest.$ac_objext
2957 if { (ac_try="$ac_compile"
2958 case "(($ac_try" in
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2961 esac
2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_compile") 2>conftest.er1
2964 ac_status=$?
2965 grep -v '^ *+' conftest.er1 >conftest.err
2966 rm -f conftest.er1
2967 cat conftest.err >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } &&
2970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2971 { (case "(($ac_try" in
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2974 esac
2975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2976 (eval "$ac_try") 2>&5
2977 ac_status=$?
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); }; } &&
2980 { ac_try='test -s conftest.$ac_objext'
2981 { (case "(($ac_try" in
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2984 esac
2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2986 (eval "$ac_try") 2>&5
2987 ac_status=$?
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2990 ac_cv_prog_cc_c89=$ac_arg
2991 else
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2998 rm -f core conftest.err conftest.$ac_objext
2999 test "x$ac_cv_prog_cc_c89" != "xno" && break
3000 done
3001 rm -f conftest.$ac_ext
3002 CC=$ac_save_CC
3005 # AC_CACHE_VAL
3006 case "x$ac_cv_prog_cc_c89" in
3008 { echo "$as_me:$LINENO: result: none needed" >&5
3009 echo "${ECHO_T}none needed" >&6; } ;;
3010 xno)
3011 { echo "$as_me:$LINENO: result: unsupported" >&5
3012 echo "${ECHO_T}unsupported" >&6; } ;;
3014 CC="$CC $ac_cv_prog_cc_c89"
3015 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3016 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3017 esac
3020 ac_ext=c
3021 ac_cpp='$CPP $CPPFLAGS'
3022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3026 ac_ext=cpp
3027 ac_cpp='$CXXCPP $CPPFLAGS'
3028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3031 if test -z "$CXX"; then
3032 if test -n "$CCC"; then
3033 CXX=$CCC
3034 else
3035 if test -n "$ac_tool_prefix"; then
3036 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3038 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3039 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3042 if test "${ac_cv_prog_CXX+set}" = set; then
3043 echo $ECHO_N "(cached) $ECHO_C" >&6
3044 else
3045 if test -n "$CXX"; then
3046 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3047 else
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 for as_dir in $PATH
3051 IFS=$as_save_IFS
3052 test -z "$as_dir" && as_dir=.
3053 for ac_exec_ext in '' $ac_executable_extensions; do
3054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3055 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 break 2
3059 done
3060 done
3061 IFS=$as_save_IFS
3065 CXX=$ac_cv_prog_CXX
3066 if test -n "$CXX"; then
3067 { echo "$as_me:$LINENO: result: $CXX" >&5
3068 echo "${ECHO_T}$CXX" >&6; }
3069 else
3070 { echo "$as_me:$LINENO: result: no" >&5
3071 echo "${ECHO_T}no" >&6; }
3075 test -n "$CXX" && break
3076 done
3078 if test -z "$CXX"; then
3079 ac_ct_CXX=$CXX
3080 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3082 # Extract the first word of "$ac_prog", so it can be a program name with args.
3083 set dummy $ac_prog; ac_word=$2
3084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3086 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3088 else
3089 if test -n "$ac_ct_CXX"; then
3090 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3091 else
3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 for as_dir in $PATH
3095 IFS=$as_save_IFS
3096 test -z "$as_dir" && as_dir=.
3097 for ac_exec_ext in '' $ac_executable_extensions; do
3098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3099 ac_cv_prog_ac_ct_CXX="$ac_prog"
3100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3101 break 2
3103 done
3104 done
3105 IFS=$as_save_IFS
3109 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3110 if test -n "$ac_ct_CXX"; then
3111 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3112 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3113 else
3114 { echo "$as_me:$LINENO: result: no" >&5
3115 echo "${ECHO_T}no" >&6; }
3119 test -n "$ac_ct_CXX" && break
3120 done
3122 if test "x$ac_ct_CXX" = x; then
3123 CXX="g++"
3124 else
3125 case $cross_compiling:$ac_tool_warned in
3126 yes:)
3127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3128 whose name does not start with the host triplet. If you think this
3129 configuration is useful to you, please write to autoconf@gnu.org." >&5
3130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3131 whose name does not start with the host triplet. If you think this
3132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3133 ac_tool_warned=yes ;;
3134 esac
3135 CXX=$ac_ct_CXX
3141 # Provide some information about the compiler.
3142 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3143 ac_compiler=`set X $ac_compile; echo $2`
3144 { (ac_try="$ac_compiler --version >&5"
3145 case "(($ac_try" in
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3148 esac
3149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3150 (eval "$ac_compiler --version >&5") 2>&5
3151 ac_status=$?
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }
3154 { (ac_try="$ac_compiler -v >&5"
3155 case "(($ac_try" in
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3158 esac
3159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3160 (eval "$ac_compiler -v >&5") 2>&5
3161 ac_status=$?
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }
3164 { (ac_try="$ac_compiler -V >&5"
3165 case "(($ac_try" in
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3168 esac
3169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3170 (eval "$ac_compiler -V >&5") 2>&5
3171 ac_status=$?
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); }
3175 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3176 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3177 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3178 echo $ECHO_N "(cached) $ECHO_C" >&6
3179 else
3180 cat >conftest.$ac_ext <<_ACEOF
3181 /* confdefs.h. */
3182 _ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3188 main ()
3190 #ifndef __GNUC__
3191 choke me
3192 #endif
3195 return 0;
3197 _ACEOF
3198 rm -f conftest.$ac_objext
3199 if { (ac_try="$ac_compile"
3200 case "(($ac_try" in
3201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202 *) ac_try_echo=$ac_try;;
3203 esac
3204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3205 (eval "$ac_compile") 2>conftest.er1
3206 ac_status=$?
3207 grep -v '^ *+' conftest.er1 >conftest.err
3208 rm -f conftest.er1
3209 cat conftest.err >&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); } &&
3212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3213 { (case "(($ac_try" in
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3216 esac
3217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3218 (eval "$ac_try") 2>&5
3219 ac_status=$?
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); }; } &&
3222 { ac_try='test -s conftest.$ac_objext'
3223 { (case "(($ac_try" in
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3226 esac
3227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3228 (eval "$ac_try") 2>&5
3229 ac_status=$?
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); }; }; then
3232 ac_compiler_gnu=yes
3233 else
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3237 ac_compiler_gnu=no
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3244 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3245 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3246 GXX=`test $ac_compiler_gnu = yes && echo yes`
3247 ac_test_CXXFLAGS=${CXXFLAGS+set}
3248 ac_save_CXXFLAGS=$CXXFLAGS
3249 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3250 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3251 if test "${ac_cv_prog_cxx_g+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3253 else
3254 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3255 ac_cxx_werror_flag=yes
3256 ac_cv_prog_cxx_g=no
3257 CXXFLAGS="-g"
3258 cat >conftest.$ac_ext <<_ACEOF
3259 /* confdefs.h. */
3260 _ACEOF
3261 cat confdefs.h >>conftest.$ac_ext
3262 cat >>conftest.$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3266 main ()
3270 return 0;
3272 _ACEOF
3273 rm -f conftest.$ac_objext
3274 if { (ac_try="$ac_compile"
3275 case "(($ac_try" in
3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3278 esac
3279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3280 (eval "$ac_compile") 2>conftest.er1
3281 ac_status=$?
3282 grep -v '^ *+' conftest.er1 >conftest.err
3283 rm -f conftest.er1
3284 cat conftest.err >&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); } &&
3287 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3288 { (case "(($ac_try" in
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3291 esac
3292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3293 (eval "$ac_try") 2>&5
3294 ac_status=$?
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); }; } &&
3297 { ac_try='test -s conftest.$ac_objext'
3298 { (case "(($ac_try" in
3299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3301 esac
3302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3303 (eval "$ac_try") 2>&5
3304 ac_status=$?
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }; }; then
3307 ac_cv_prog_cxx_g=yes
3308 else
3309 echo "$as_me: failed program was:" >&5
3310 sed 's/^/| /' conftest.$ac_ext >&5
3312 CXXFLAGS=""
3313 cat >conftest.$ac_ext <<_ACEOF
3314 /* confdefs.h. */
3315 _ACEOF
3316 cat confdefs.h >>conftest.$ac_ext
3317 cat >>conftest.$ac_ext <<_ACEOF
3318 /* end confdefs.h. */
3321 main ()
3325 return 0;
3327 _ACEOF
3328 rm -f conftest.$ac_objext
3329 if { (ac_try="$ac_compile"
3330 case "(($ac_try" in
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3333 esac
3334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3335 (eval "$ac_compile") 2>conftest.er1
3336 ac_status=$?
3337 grep -v '^ *+' conftest.er1 >conftest.err
3338 rm -f conftest.er1
3339 cat conftest.err >&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); } &&
3342 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3343 { (case "(($ac_try" in
3344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3346 esac
3347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3348 (eval "$ac_try") 2>&5
3349 ac_status=$?
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; } &&
3352 { ac_try='test -s conftest.$ac_objext'
3353 { (case "(($ac_try" in
3354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355 *) ac_try_echo=$ac_try;;
3356 esac
3357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3358 (eval "$ac_try") 2>&5
3359 ac_status=$?
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); }; }; then
3363 else
3364 echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.$ac_ext >&5
3367 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3368 CXXFLAGS="-g"
3369 cat >conftest.$ac_ext <<_ACEOF
3370 /* confdefs.h. */
3371 _ACEOF
3372 cat confdefs.h >>conftest.$ac_ext
3373 cat >>conftest.$ac_ext <<_ACEOF
3374 /* end confdefs.h. */
3377 main ()
3381 return 0;
3383 _ACEOF
3384 rm -f conftest.$ac_objext
3385 if { (ac_try="$ac_compile"
3386 case "(($ac_try" in
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3389 esac
3390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3391 (eval "$ac_compile") 2>conftest.er1
3392 ac_status=$?
3393 grep -v '^ *+' conftest.er1 >conftest.err
3394 rm -f conftest.er1
3395 cat conftest.err >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); } &&
3398 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3399 { (case "(($ac_try" in
3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401 *) ac_try_echo=$ac_try;;
3402 esac
3403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3404 (eval "$ac_try") 2>&5
3405 ac_status=$?
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); }; } &&
3408 { ac_try='test -s conftest.$ac_objext'
3409 { (case "(($ac_try" in
3410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3411 *) ac_try_echo=$ac_try;;
3412 esac
3413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3414 (eval "$ac_try") 2>&5
3415 ac_status=$?
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); }; }; then
3418 ac_cv_prog_cxx_g=yes
3419 else
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3435 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3436 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3437 if test "$ac_test_CXXFLAGS" = set; then
3438 CXXFLAGS=$ac_save_CXXFLAGS
3439 elif test $ac_cv_prog_cxx_g = yes; then
3440 if test "$GXX" = yes; then
3441 CXXFLAGS="-g -O2"
3442 else
3443 CXXFLAGS="-g"
3445 else
3446 if test "$GXX" = yes; then
3447 CXXFLAGS="-O2"
3448 else
3449 CXXFLAGS=
3452 ac_ext=c
3453 ac_cpp='$CPP $CPPFLAGS'
3454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3458 if test -n "$ac_tool_prefix"; then
3459 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3460 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3463 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3465 else
3466 if test -n "$CPPBIN"; then
3467 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3468 else
3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3470 for as_dir in $PATH
3472 IFS=$as_save_IFS
3473 test -z "$as_dir" && as_dir=.
3474 for ac_exec_ext in '' $ac_executable_extensions; do
3475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3476 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 break 2
3480 done
3481 done
3482 IFS=$as_save_IFS
3486 CPPBIN=$ac_cv_prog_CPPBIN
3487 if test -n "$CPPBIN"; then
3488 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3489 echo "${ECHO_T}$CPPBIN" >&6; }
3490 else
3491 { echo "$as_me:$LINENO: result: no" >&5
3492 echo "${ECHO_T}no" >&6; }
3497 if test -z "$ac_cv_prog_CPPBIN"; then
3498 ac_ct_CPPBIN=$CPPBIN
3499 # Extract the first word of "cpp", so it can be a program name with args.
3500 set dummy cpp; ac_word=$2
3501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3503 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3505 else
3506 if test -n "$ac_ct_CPPBIN"; then
3507 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3508 else
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 for as_dir in $PATH
3512 IFS=$as_save_IFS
3513 test -z "$as_dir" && as_dir=.
3514 for ac_exec_ext in '' $ac_executable_extensions; do
3515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3516 ac_cv_prog_ac_ct_CPPBIN="cpp"
3517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 break 2
3520 done
3521 done
3522 IFS=$as_save_IFS
3526 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3527 if test -n "$ac_ct_CPPBIN"; then
3528 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3529 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3530 else
3531 { echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6; }
3535 if test "x$ac_ct_CPPBIN" = x; then
3536 CPPBIN="cpp"
3537 else
3538 case $cross_compiling:$ac_tool_warned in
3539 yes:)
3540 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3541 whose name does not start with the host triplet. If you think this
3542 configuration is useful to you, please write to autoconf@gnu.org." >&5
3543 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3544 whose name does not start with the host triplet. If you think this
3545 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3546 ac_tool_warned=yes ;;
3547 esac
3548 CPPBIN=$ac_ct_CPPBIN
3550 else
3551 CPPBIN="$ac_cv_prog_CPPBIN"
3555 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3556 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3557 if test "${wine_cv_toolsdir+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 else
3560 if test -z "$with_wine_tools"; then
3561 if test "$cross_compiling" = "yes"; then
3562 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3563 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3564 { (exit 1); exit 1; }; }
3565 else
3566 wine_cv_toolsdir="\$(TOPOBJDIR)"
3568 elif test -d "$with_wine_tools/tools/winebuild"; then
3569 case $with_wine_tools in
3570 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3571 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3572 esac
3573 else
3574 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3575 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3576 { (exit 1); exit 1; }; }
3579 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3580 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3581 TOOLSDIR=$wine_cv_toolsdir
3585 ac_ext=c
3586 ac_cpp='$CPP $CPPFLAGS'
3587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3590 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3591 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3592 # On Suns, sometimes $CPP names a directory.
3593 if test -n "$CPP" && test -d "$CPP"; then
3594 CPP=
3596 if test -z "$CPP"; then
3597 if test "${ac_cv_prog_CPP+set}" = set; then
3598 echo $ECHO_N "(cached) $ECHO_C" >&6
3599 else
3600 # Double quotes because CPP needs to be expanded
3601 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3603 ac_preproc_ok=false
3604 for ac_c_preproc_warn_flag in '' yes
3606 # Use a header file that comes with gcc, so configuring glibc
3607 # with a fresh cross-compiler works.
3608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3609 # <limits.h> exists even on freestanding compilers.
3610 # On the NeXT, cc -E runs the code through the compiler's parser,
3611 # not just through cpp. "Syntax error" is here to catch this case.
3612 cat >conftest.$ac_ext <<_ACEOF
3613 /* confdefs.h. */
3614 _ACEOF
3615 cat confdefs.h >>conftest.$ac_ext
3616 cat >>conftest.$ac_ext <<_ACEOF
3617 /* end confdefs.h. */
3618 #ifdef __STDC__
3619 # include <limits.h>
3620 #else
3621 # include <assert.h>
3622 #endif
3623 Syntax error
3624 _ACEOF
3625 if { (ac_try="$ac_cpp conftest.$ac_ext"
3626 case "(($ac_try" in
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3629 esac
3630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3632 ac_status=$?
3633 grep -v '^ *+' conftest.er1 >conftest.err
3634 rm -f conftest.er1
3635 cat conftest.err >&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); } >/dev/null; then
3638 if test -s conftest.err; then
3639 ac_cpp_err=$ac_c_preproc_warn_flag
3640 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3641 else
3642 ac_cpp_err=
3644 else
3645 ac_cpp_err=yes
3647 if test -z "$ac_cpp_err"; then
3649 else
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 # Broken: fails on valid input.
3654 continue
3657 rm -f conftest.err conftest.$ac_ext
3659 # OK, works on sane cases. Now check whether nonexistent headers
3660 # can be detected and how.
3661 cat >conftest.$ac_ext <<_ACEOF
3662 /* confdefs.h. */
3663 _ACEOF
3664 cat confdefs.h >>conftest.$ac_ext
3665 cat >>conftest.$ac_ext <<_ACEOF
3666 /* end confdefs.h. */
3667 #include <ac_nonexistent.h>
3668 _ACEOF
3669 if { (ac_try="$ac_cpp conftest.$ac_ext"
3670 case "(($ac_try" in
3671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3672 *) ac_try_echo=$ac_try;;
3673 esac
3674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3675 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3676 ac_status=$?
3677 grep -v '^ *+' conftest.er1 >conftest.err
3678 rm -f conftest.er1
3679 cat conftest.err >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } >/dev/null; then
3682 if test -s conftest.err; then
3683 ac_cpp_err=$ac_c_preproc_warn_flag
3684 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3685 else
3686 ac_cpp_err=
3688 else
3689 ac_cpp_err=yes
3691 if test -z "$ac_cpp_err"; then
3692 # Broken: success on invalid input.
3693 continue
3694 else
3695 echo "$as_me: failed program was:" >&5
3696 sed 's/^/| /' conftest.$ac_ext >&5
3698 # Passes both tests.
3699 ac_preproc_ok=:
3700 break
3703 rm -f conftest.err conftest.$ac_ext
3705 done
3706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3707 rm -f conftest.err conftest.$ac_ext
3708 if $ac_preproc_ok; then
3709 break
3712 done
3713 ac_cv_prog_CPP=$CPP
3716 CPP=$ac_cv_prog_CPP
3717 else
3718 ac_cv_prog_CPP=$CPP
3720 { echo "$as_me:$LINENO: result: $CPP" >&5
3721 echo "${ECHO_T}$CPP" >&6; }
3722 ac_preproc_ok=false
3723 for ac_c_preproc_warn_flag in '' yes
3725 # Use a header file that comes with gcc, so configuring glibc
3726 # with a fresh cross-compiler works.
3727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3728 # <limits.h> exists even on freestanding compilers.
3729 # On the NeXT, cc -E runs the code through the compiler's parser,
3730 # not just through cpp. "Syntax error" is here to catch this case.
3731 cat >conftest.$ac_ext <<_ACEOF
3732 /* confdefs.h. */
3733 _ACEOF
3734 cat confdefs.h >>conftest.$ac_ext
3735 cat >>conftest.$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3737 #ifdef __STDC__
3738 # include <limits.h>
3739 #else
3740 # include <assert.h>
3741 #endif
3742 Syntax error
3743 _ACEOF
3744 if { (ac_try="$ac_cpp conftest.$ac_ext"
3745 case "(($ac_try" in
3746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3747 *) ac_try_echo=$ac_try;;
3748 esac
3749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3751 ac_status=$?
3752 grep -v '^ *+' conftest.er1 >conftest.err
3753 rm -f conftest.er1
3754 cat conftest.err >&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); } >/dev/null; then
3757 if test -s conftest.err; then
3758 ac_cpp_err=$ac_c_preproc_warn_flag
3759 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3760 else
3761 ac_cpp_err=
3763 else
3764 ac_cpp_err=yes
3766 if test -z "$ac_cpp_err"; then
3768 else
3769 echo "$as_me: failed program was:" >&5
3770 sed 's/^/| /' conftest.$ac_ext >&5
3772 # Broken: fails on valid input.
3773 continue
3776 rm -f conftest.err conftest.$ac_ext
3778 # OK, works on sane cases. Now check whether nonexistent headers
3779 # can be detected and how.
3780 cat >conftest.$ac_ext <<_ACEOF
3781 /* confdefs.h. */
3782 _ACEOF
3783 cat confdefs.h >>conftest.$ac_ext
3784 cat >>conftest.$ac_ext <<_ACEOF
3785 /* end confdefs.h. */
3786 #include <ac_nonexistent.h>
3787 _ACEOF
3788 if { (ac_try="$ac_cpp conftest.$ac_ext"
3789 case "(($ac_try" in
3790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791 *) ac_try_echo=$ac_try;;
3792 esac
3793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3795 ac_status=$?
3796 grep -v '^ *+' conftest.er1 >conftest.err
3797 rm -f conftest.er1
3798 cat conftest.err >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); } >/dev/null; then
3801 if test -s conftest.err; then
3802 ac_cpp_err=$ac_c_preproc_warn_flag
3803 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3804 else
3805 ac_cpp_err=
3807 else
3808 ac_cpp_err=yes
3810 if test -z "$ac_cpp_err"; then
3811 # Broken: success on invalid input.
3812 continue
3813 else
3814 echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.$ac_ext >&5
3817 # Passes both tests.
3818 ac_preproc_ok=:
3819 break
3822 rm -f conftest.err conftest.$ac_ext
3824 done
3825 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3826 rm -f conftest.err conftest.$ac_ext
3827 if $ac_preproc_ok; then
3829 else
3830 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3831 See \`config.log' for more details." >&5
3832 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3833 See \`config.log' for more details." >&2;}
3834 { (exit 1); exit 1; }; }
3837 ac_ext=c
3838 ac_cpp='$CPP $CPPFLAGS'
3839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3844 { echo "$as_me:$LINENO: checking for X" >&5
3845 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3848 # Check whether --with-x was given.
3849 if test "${with_x+set}" = set; then
3850 withval=$with_x;
3853 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3854 if test "x$with_x" = xno; then
3855 # The user explicitly disabled X.
3856 have_x=disabled
3857 else
3858 case $x_includes,$x_libraries in #(
3859 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3860 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3861 { (exit 1); exit 1; }; };; #(
3862 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 else
3865 # One or both of the vars are not set, and there is no cached value.
3866 ac_x_includes=no ac_x_libraries=no
3867 rm -f -r conftest.dir
3868 if mkdir conftest.dir; then
3869 cd conftest.dir
3870 cat >Imakefile <<'_ACEOF'
3871 incroot:
3872 @echo incroot='${INCROOT}'
3873 usrlibdir:
3874 @echo usrlibdir='${USRLIBDIR}'
3875 libdir:
3876 @echo libdir='${LIBDIR}'
3877 _ACEOF
3878 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3879 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3880 for ac_var in incroot usrlibdir libdir; do
3881 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3882 done
3883 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3884 for ac_extension in a so sl; do
3885 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3886 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3887 ac_im_usrlibdir=$ac_im_libdir; break
3889 done
3890 # Screen out bogus values from the imake configuration. They are
3891 # bogus both because they are the default anyway, and because
3892 # using them would break gcc on systems where it needs fixed includes.
3893 case $ac_im_incroot in
3894 /usr/include) ac_x_includes= ;;
3895 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3896 esac
3897 case $ac_im_usrlibdir in
3898 /usr/lib | /lib) ;;
3899 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3900 esac
3902 cd ..
3903 rm -f -r conftest.dir
3906 # Standard set of common directories for X headers.
3907 # Check X11 before X11Rn because it is often a symlink to the current release.
3908 ac_x_header_dirs='
3909 /usr/X11/include
3910 /usr/X11R6/include
3911 /usr/X11R5/include
3912 /usr/X11R4/include
3914 /usr/include/X11
3915 /usr/include/X11R6
3916 /usr/include/X11R5
3917 /usr/include/X11R4
3919 /usr/local/X11/include
3920 /usr/local/X11R6/include
3921 /usr/local/X11R5/include
3922 /usr/local/X11R4/include
3924 /usr/local/include/X11
3925 /usr/local/include/X11R6
3926 /usr/local/include/X11R5
3927 /usr/local/include/X11R4
3929 /usr/X386/include
3930 /usr/x386/include
3931 /usr/XFree86/include/X11
3933 /usr/include
3934 /usr/local/include
3935 /usr/unsupported/include
3936 /usr/athena/include
3937 /usr/local/x11r5/include
3938 /usr/lpp/Xamples/include
3940 /usr/openwin/include
3941 /usr/openwin/share/include'
3943 if test "$ac_x_includes" = no; then
3944 # Guess where to find include files, by looking for Xlib.h.
3945 # First, try using that file with no special directory specified.
3946 cat >conftest.$ac_ext <<_ACEOF
3947 /* confdefs.h. */
3948 _ACEOF
3949 cat confdefs.h >>conftest.$ac_ext
3950 cat >>conftest.$ac_ext <<_ACEOF
3951 /* end confdefs.h. */
3952 #include <X11/Xlib.h>
3953 _ACEOF
3954 if { (ac_try="$ac_cpp conftest.$ac_ext"
3955 case "(($ac_try" in
3956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3957 *) ac_try_echo=$ac_try;;
3958 esac
3959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3961 ac_status=$?
3962 grep -v '^ *+' conftest.er1 >conftest.err
3963 rm -f conftest.er1
3964 cat conftest.err >&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); } >/dev/null; then
3967 if test -s conftest.err; then
3968 ac_cpp_err=$ac_c_preproc_warn_flag
3969 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3970 else
3971 ac_cpp_err=
3973 else
3974 ac_cpp_err=yes
3976 if test -z "$ac_cpp_err"; then
3977 # We can compile using X headers with no special include directory.
3978 ac_x_includes=
3979 else
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3983 for ac_dir in $ac_x_header_dirs; do
3984 if test -r "$ac_dir/X11/Xlib.h"; then
3985 ac_x_includes=$ac_dir
3986 break
3988 done
3991 rm -f conftest.err conftest.$ac_ext
3992 fi # $ac_x_includes = no
3994 if test "$ac_x_libraries" = no; then
3995 # Check for the libraries.
3996 # See if we find them without any special options.
3997 # Don't add to $LIBS permanently.
3998 ac_save_LIBS=$LIBS
3999 LIBS="-lX11 $LIBS"
4000 cat >conftest.$ac_ext <<_ACEOF
4001 /* confdefs.h. */
4002 _ACEOF
4003 cat confdefs.h >>conftest.$ac_ext
4004 cat >>conftest.$ac_ext <<_ACEOF
4005 /* end confdefs.h. */
4006 #include <X11/Xlib.h>
4008 main ()
4010 XrmInitialize ()
4012 return 0;
4014 _ACEOF
4015 rm -f conftest.$ac_objext conftest$ac_exeext
4016 if { (ac_try="$ac_link"
4017 case "(($ac_try" in
4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4020 esac
4021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4022 (eval "$ac_link") 2>conftest.er1
4023 ac_status=$?
4024 grep -v '^ *+' conftest.er1 >conftest.err
4025 rm -f conftest.er1
4026 cat conftest.err >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } &&
4029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4030 { (case "(($ac_try" in
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4033 esac
4034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4035 (eval "$ac_try") 2>&5
4036 ac_status=$?
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; } &&
4039 { ac_try='test -s conftest$ac_exeext'
4040 { (case "(($ac_try" in
4041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4043 esac
4044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4045 (eval "$ac_try") 2>&5
4046 ac_status=$?
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); }; }; then
4049 LIBS=$ac_save_LIBS
4050 # We can link X programs with no special library path.
4051 ac_x_libraries=
4052 else
4053 echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.$ac_ext >&5
4056 LIBS=$ac_save_LIBS
4057 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4059 # Don't even attempt the hair of trying to link an X program!
4060 for ac_extension in a so sl; do
4061 if test -r "$ac_dir/libX11.$ac_extension"; then
4062 ac_x_libraries=$ac_dir
4063 break 2
4065 done
4066 done
4069 rm -f core conftest.err conftest.$ac_objext \
4070 conftest$ac_exeext conftest.$ac_ext
4071 fi # $ac_x_libraries = no
4073 case $ac_x_includes,$ac_x_libraries in #(
4074 no,* | *,no | *\'*)
4075 # Didn't find X, or a directory has "'" in its name.
4076 ac_cv_have_x="have_x=no";; #(
4078 # Record where we found X for the cache.
4079 ac_cv_have_x="have_x=yes\
4080 ac_x_includes='$ac_x_includes'\
4081 ac_x_libraries='$ac_x_libraries'"
4082 esac
4084 ;; #(
4085 *) have_x=yes;;
4086 esac
4087 eval "$ac_cv_have_x"
4088 fi # $with_x != no
4090 if test "$have_x" != yes; then
4091 { echo "$as_me:$LINENO: result: $have_x" >&5
4092 echo "${ECHO_T}$have_x" >&6; }
4093 no_x=yes
4094 else
4095 # If each of the values was on the command line, it overrides each guess.
4096 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4097 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4098 # Update the cache value to reflect the command line values.
4099 ac_cv_have_x="have_x=yes\
4100 ac_x_includes='$x_includes'\
4101 ac_x_libraries='$x_libraries'"
4102 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4103 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4106 if test "$no_x" = yes; then
4107 # Not all programs may use this symbol, but it does not hurt to define it.
4109 cat >>confdefs.h <<\_ACEOF
4110 #define X_DISPLAY_MISSING 1
4111 _ACEOF
4113 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4114 else
4115 if test -n "$x_includes"; then
4116 X_CFLAGS="$X_CFLAGS -I$x_includes"
4119 # It would also be nice to do this for all -L options, not just this one.
4120 if test -n "$x_libraries"; then
4121 X_LIBS="$X_LIBS -L$x_libraries"
4122 # For Solaris; some versions of Sun CC require a space after -R and
4123 # others require no space. Words are not sufficient . . . .
4124 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4125 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4126 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4127 ac_xsave_c_werror_flag=$ac_c_werror_flag
4128 ac_c_werror_flag=yes
4129 cat >conftest.$ac_ext <<_ACEOF
4130 /* confdefs.h. */
4131 _ACEOF
4132 cat confdefs.h >>conftest.$ac_ext
4133 cat >>conftest.$ac_ext <<_ACEOF
4134 /* end confdefs.h. */
4137 main ()
4141 return 0;
4143 _ACEOF
4144 rm -f conftest.$ac_objext conftest$ac_exeext
4145 if { (ac_try="$ac_link"
4146 case "(($ac_try" in
4147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4148 *) ac_try_echo=$ac_try;;
4149 esac
4150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4151 (eval "$ac_link") 2>conftest.er1
4152 ac_status=$?
4153 grep -v '^ *+' conftest.er1 >conftest.err
4154 rm -f conftest.er1
4155 cat conftest.err >&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); } &&
4158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4159 { (case "(($ac_try" in
4160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161 *) ac_try_echo=$ac_try;;
4162 esac
4163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4164 (eval "$ac_try") 2>&5
4165 ac_status=$?
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); }; } &&
4168 { ac_try='test -s conftest$ac_exeext'
4169 { (case "(($ac_try" in
4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4172 esac
4173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4174 (eval "$ac_try") 2>&5
4175 ac_status=$?
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; }; then
4178 { echo "$as_me:$LINENO: result: no" >&5
4179 echo "${ECHO_T}no" >&6; }
4180 X_LIBS="$X_LIBS -R$x_libraries"
4181 else
4182 echo "$as_me: failed program was:" >&5
4183 sed 's/^/| /' conftest.$ac_ext >&5
4185 LIBS="$ac_xsave_LIBS -R $x_libraries"
4186 cat >conftest.$ac_ext <<_ACEOF
4187 /* confdefs.h. */
4188 _ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4194 main ()
4198 return 0;
4200 _ACEOF
4201 rm -f conftest.$ac_objext conftest$ac_exeext
4202 if { (ac_try="$ac_link"
4203 case "(($ac_try" in
4204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4205 *) ac_try_echo=$ac_try;;
4206 esac
4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4208 (eval "$ac_link") 2>conftest.er1
4209 ac_status=$?
4210 grep -v '^ *+' conftest.er1 >conftest.err
4211 rm -f conftest.er1
4212 cat conftest.err >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } &&
4215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4216 { (case "(($ac_try" in
4217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4218 *) ac_try_echo=$ac_try;;
4219 esac
4220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4221 (eval "$ac_try") 2>&5
4222 ac_status=$?
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; } &&
4225 { ac_try='test -s conftest$ac_exeext'
4226 { (case "(($ac_try" in
4227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4228 *) ac_try_echo=$ac_try;;
4229 esac
4230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231 (eval "$ac_try") 2>&5
4232 ac_status=$?
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; }; then
4235 { echo "$as_me:$LINENO: result: yes" >&5
4236 echo "${ECHO_T}yes" >&6; }
4237 X_LIBS="$X_LIBS -R $x_libraries"
4238 else
4239 echo "$as_me: failed program was:" >&5
4240 sed 's/^/| /' conftest.$ac_ext >&5
4242 { echo "$as_me:$LINENO: result: neither works" >&5
4243 echo "${ECHO_T}neither works" >&6; }
4246 rm -f core conftest.err conftest.$ac_objext \
4247 conftest$ac_exeext conftest.$ac_ext
4250 rm -f core conftest.err conftest.$ac_objext \
4251 conftest$ac_exeext conftest.$ac_ext
4252 ac_c_werror_flag=$ac_xsave_c_werror_flag
4253 LIBS=$ac_xsave_LIBS
4256 # Check for system-dependent libraries X programs must link with.
4257 # Do this before checking for the system-independent R6 libraries
4258 # (-lICE), since we may need -lsocket or whatever for X linking.
4260 if test "$ISC" = yes; then
4261 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4262 else
4263 # Martyn Johnson says this is needed for Ultrix, if the X
4264 # libraries were built with DECnet support. And Karl Berry says
4265 # the Alpha needs dnet_stub (dnet does not exist).
4266 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4267 cat >conftest.$ac_ext <<_ACEOF
4268 /* confdefs.h. */
4269 _ACEOF
4270 cat confdefs.h >>conftest.$ac_ext
4271 cat >>conftest.$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4274 /* Override any GCC internal prototype to avoid an error.
4275 Use char because int might match the return type of a GCC
4276 builtin and then its argument prototype would still apply. */
4277 #ifdef __cplusplus
4278 extern "C"
4279 #endif
4280 char XOpenDisplay ();
4282 main ()
4284 return XOpenDisplay ();
4286 return 0;
4288 _ACEOF
4289 rm -f conftest.$ac_objext conftest$ac_exeext
4290 if { (ac_try="$ac_link"
4291 case "(($ac_try" in
4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4294 esac
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_link") 2>conftest.er1
4297 ac_status=$?
4298 grep -v '^ *+' conftest.er1 >conftest.err
4299 rm -f conftest.er1
4300 cat conftest.err >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } &&
4303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4304 { (case "(($ac_try" in
4305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4306 *) ac_try_echo=$ac_try;;
4307 esac
4308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4309 (eval "$ac_try") 2>&5
4310 ac_status=$?
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; } &&
4313 { ac_try='test -s conftest$ac_exeext'
4314 { (case "(($ac_try" in
4315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4316 *) ac_try_echo=$ac_try;;
4317 esac
4318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4319 (eval "$ac_try") 2>&5
4320 ac_status=$?
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); }; }; then
4324 else
4325 echo "$as_me: failed program was:" >&5
4326 sed 's/^/| /' conftest.$ac_ext >&5
4328 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4329 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4330 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4331 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 else
4333 ac_check_lib_save_LIBS=$LIBS
4334 LIBS="-ldnet $LIBS"
4335 cat >conftest.$ac_ext <<_ACEOF
4336 /* confdefs.h. */
4337 _ACEOF
4338 cat confdefs.h >>conftest.$ac_ext
4339 cat >>conftest.$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4342 /* Override any GCC internal prototype to avoid an error.
4343 Use char because int might match the return type of a GCC
4344 builtin and then its argument prototype would still apply. */
4345 #ifdef __cplusplus
4346 extern "C"
4347 #endif
4348 char dnet_ntoa ();
4350 main ()
4352 return dnet_ntoa ();
4354 return 0;
4356 _ACEOF
4357 rm -f conftest.$ac_objext conftest$ac_exeext
4358 if { (ac_try="$ac_link"
4359 case "(($ac_try" in
4360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4361 *) ac_try_echo=$ac_try;;
4362 esac
4363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4364 (eval "$ac_link") 2>conftest.er1
4365 ac_status=$?
4366 grep -v '^ *+' conftest.er1 >conftest.err
4367 rm -f conftest.er1
4368 cat conftest.err >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); } &&
4371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4372 { (case "(($ac_try" in
4373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4374 *) ac_try_echo=$ac_try;;
4375 esac
4376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4377 (eval "$ac_try") 2>&5
4378 ac_status=$?
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); }; } &&
4381 { ac_try='test -s conftest$ac_exeext'
4382 { (case "(($ac_try" in
4383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384 *) ac_try_echo=$ac_try;;
4385 esac
4386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4387 (eval "$ac_try") 2>&5
4388 ac_status=$?
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); }; }; then
4391 ac_cv_lib_dnet_dnet_ntoa=yes
4392 else
4393 echo "$as_me: failed program was:" >&5
4394 sed 's/^/| /' conftest.$ac_ext >&5
4396 ac_cv_lib_dnet_dnet_ntoa=no
4399 rm -f core conftest.err conftest.$ac_objext \
4400 conftest$ac_exeext conftest.$ac_ext
4401 LIBS=$ac_check_lib_save_LIBS
4403 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4404 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4405 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4406 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4409 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4410 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4411 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4412 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4414 else
4415 ac_check_lib_save_LIBS=$LIBS
4416 LIBS="-ldnet_stub $LIBS"
4417 cat >conftest.$ac_ext <<_ACEOF
4418 /* confdefs.h. */
4419 _ACEOF
4420 cat confdefs.h >>conftest.$ac_ext
4421 cat >>conftest.$ac_ext <<_ACEOF
4422 /* end confdefs.h. */
4424 /* Override any GCC internal prototype to avoid an error.
4425 Use char because int might match the return type of a GCC
4426 builtin and then its argument prototype would still apply. */
4427 #ifdef __cplusplus
4428 extern "C"
4429 #endif
4430 char dnet_ntoa ();
4432 main ()
4434 return dnet_ntoa ();
4436 return 0;
4438 _ACEOF
4439 rm -f conftest.$ac_objext conftest$ac_exeext
4440 if { (ac_try="$ac_link"
4441 case "(($ac_try" in
4442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4443 *) ac_try_echo=$ac_try;;
4444 esac
4445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4446 (eval "$ac_link") 2>conftest.er1
4447 ac_status=$?
4448 grep -v '^ *+' conftest.er1 >conftest.err
4449 rm -f conftest.er1
4450 cat conftest.err >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } &&
4453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4454 { (case "(($ac_try" in
4455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4456 *) ac_try_echo=$ac_try;;
4457 esac
4458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4459 (eval "$ac_try") 2>&5
4460 ac_status=$?
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; } &&
4463 { ac_try='test -s conftest$ac_exeext'
4464 { (case "(($ac_try" in
4465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4466 *) ac_try_echo=$ac_try;;
4467 esac
4468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4469 (eval "$ac_try") 2>&5
4470 ac_status=$?
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); }; }; then
4473 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4474 else
4475 echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.$ac_ext >&5
4478 ac_cv_lib_dnet_stub_dnet_ntoa=no
4481 rm -f core conftest.err conftest.$ac_objext \
4482 conftest$ac_exeext conftest.$ac_ext
4483 LIBS=$ac_check_lib_save_LIBS
4485 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4486 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4487 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4488 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4494 rm -f core conftest.err conftest.$ac_objext \
4495 conftest$ac_exeext conftest.$ac_ext
4496 LIBS="$ac_xsave_LIBS"
4498 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4499 # to get the SysV transport functions.
4500 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4501 # needs -lnsl.
4502 # The nsl library prevents programs from opening the X display
4503 # on Irix 5.2, according to T.E. Dickey.
4504 # The functions gethostbyname, getservbyname, and inet_addr are
4505 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4506 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4507 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4508 if test "${ac_cv_func_gethostbyname+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4510 else
4511 cat >conftest.$ac_ext <<_ACEOF
4512 /* confdefs.h. */
4513 _ACEOF
4514 cat confdefs.h >>conftest.$ac_ext
4515 cat >>conftest.$ac_ext <<_ACEOF
4516 /* end confdefs.h. */
4517 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4519 #define gethostbyname innocuous_gethostbyname
4521 /* System header to define __stub macros and hopefully few prototypes,
4522 which can conflict with char gethostbyname (); below.
4523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4524 <limits.h> exists even on freestanding compilers. */
4526 #ifdef __STDC__
4527 # include <limits.h>
4528 #else
4529 # include <assert.h>
4530 #endif
4532 #undef gethostbyname
4534 /* Override any GCC internal prototype to avoid an error.
4535 Use char because int might match the return type of a GCC
4536 builtin and then its argument prototype would still apply. */
4537 #ifdef __cplusplus
4538 extern "C"
4539 #endif
4540 char gethostbyname ();
4541 /* The GNU C library defines this for functions which it implements
4542 to always fail with ENOSYS. Some functions are actually named
4543 something starting with __ and the normal name is an alias. */
4544 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4545 choke me
4546 #endif
4549 main ()
4551 return gethostbyname ();
4553 return 0;
4555 _ACEOF
4556 rm -f conftest.$ac_objext conftest$ac_exeext
4557 if { (ac_try="$ac_link"
4558 case "(($ac_try" in
4559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4560 *) ac_try_echo=$ac_try;;
4561 esac
4562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4563 (eval "$ac_link") 2>conftest.er1
4564 ac_status=$?
4565 grep -v '^ *+' conftest.er1 >conftest.err
4566 rm -f conftest.er1
4567 cat conftest.err >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } &&
4570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4571 { (case "(($ac_try" in
4572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4573 *) ac_try_echo=$ac_try;;
4574 esac
4575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4576 (eval "$ac_try") 2>&5
4577 ac_status=$?
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); }; } &&
4580 { ac_try='test -s conftest$ac_exeext'
4581 { (case "(($ac_try" in
4582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4583 *) ac_try_echo=$ac_try;;
4584 esac
4585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4586 (eval "$ac_try") 2>&5
4587 ac_status=$?
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; }; then
4590 ac_cv_func_gethostbyname=yes
4591 else
4592 echo "$as_me: failed program was:" >&5
4593 sed 's/^/| /' conftest.$ac_ext >&5
4595 ac_cv_func_gethostbyname=no
4598 rm -f core conftest.err conftest.$ac_objext \
4599 conftest$ac_exeext conftest.$ac_ext
4601 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4602 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4604 if test $ac_cv_func_gethostbyname = no; then
4605 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4606 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4607 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4608 echo $ECHO_N "(cached) $ECHO_C" >&6
4609 else
4610 ac_check_lib_save_LIBS=$LIBS
4611 LIBS="-lnsl $LIBS"
4612 cat >conftest.$ac_ext <<_ACEOF
4613 /* confdefs.h. */
4614 _ACEOF
4615 cat confdefs.h >>conftest.$ac_ext
4616 cat >>conftest.$ac_ext <<_ACEOF
4617 /* end confdefs.h. */
4619 /* Override any GCC internal prototype to avoid an error.
4620 Use char because int might match the return type of a GCC
4621 builtin and then its argument prototype would still apply. */
4622 #ifdef __cplusplus
4623 extern "C"
4624 #endif
4625 char gethostbyname ();
4627 main ()
4629 return gethostbyname ();
4631 return 0;
4633 _ACEOF
4634 rm -f conftest.$ac_objext conftest$ac_exeext
4635 if { (ac_try="$ac_link"
4636 case "(($ac_try" in
4637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4638 *) ac_try_echo=$ac_try;;
4639 esac
4640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4641 (eval "$ac_link") 2>conftest.er1
4642 ac_status=$?
4643 grep -v '^ *+' conftest.er1 >conftest.err
4644 rm -f conftest.er1
4645 cat conftest.err >&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); } &&
4648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4649 { (case "(($ac_try" in
4650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4651 *) ac_try_echo=$ac_try;;
4652 esac
4653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4654 (eval "$ac_try") 2>&5
4655 ac_status=$?
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); }; } &&
4658 { ac_try='test -s conftest$ac_exeext'
4659 { (case "(($ac_try" in
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4662 esac
4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4664 (eval "$ac_try") 2>&5
4665 ac_status=$?
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); }; }; then
4668 ac_cv_lib_nsl_gethostbyname=yes
4669 else
4670 echo "$as_me: failed program was:" >&5
4671 sed 's/^/| /' conftest.$ac_ext >&5
4673 ac_cv_lib_nsl_gethostbyname=no
4676 rm -f core conftest.err conftest.$ac_objext \
4677 conftest$ac_exeext conftest.$ac_ext
4678 LIBS=$ac_check_lib_save_LIBS
4680 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4681 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4682 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4683 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4686 if test $ac_cv_lib_nsl_gethostbyname = no; then
4687 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4688 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4689 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 else
4692 ac_check_lib_save_LIBS=$LIBS
4693 LIBS="-lbsd $LIBS"
4694 cat >conftest.$ac_ext <<_ACEOF
4695 /* confdefs.h. */
4696 _ACEOF
4697 cat confdefs.h >>conftest.$ac_ext
4698 cat >>conftest.$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4701 /* Override any GCC internal prototype to avoid an error.
4702 Use char because int might match the return type of a GCC
4703 builtin and then its argument prototype would still apply. */
4704 #ifdef __cplusplus
4705 extern "C"
4706 #endif
4707 char gethostbyname ();
4709 main ()
4711 return gethostbyname ();
4713 return 0;
4715 _ACEOF
4716 rm -f conftest.$ac_objext conftest$ac_exeext
4717 if { (ac_try="$ac_link"
4718 case "(($ac_try" in
4719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4720 *) ac_try_echo=$ac_try;;
4721 esac
4722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4723 (eval "$ac_link") 2>conftest.er1
4724 ac_status=$?
4725 grep -v '^ *+' conftest.er1 >conftest.err
4726 rm -f conftest.er1
4727 cat conftest.err >&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); } &&
4730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4731 { (case "(($ac_try" in
4732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4733 *) ac_try_echo=$ac_try;;
4734 esac
4735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4736 (eval "$ac_try") 2>&5
4737 ac_status=$?
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); }; } &&
4740 { ac_try='test -s conftest$ac_exeext'
4741 { (case "(($ac_try" in
4742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4743 *) ac_try_echo=$ac_try;;
4744 esac
4745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4746 (eval "$ac_try") 2>&5
4747 ac_status=$?
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }; }; then
4750 ac_cv_lib_bsd_gethostbyname=yes
4751 else
4752 echo "$as_me: failed program was:" >&5
4753 sed 's/^/| /' conftest.$ac_ext >&5
4755 ac_cv_lib_bsd_gethostbyname=no
4758 rm -f core conftest.err conftest.$ac_objext \
4759 conftest$ac_exeext conftest.$ac_ext
4760 LIBS=$ac_check_lib_save_LIBS
4762 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4763 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4764 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4765 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4771 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4772 # socket/setsockopt and other routines are undefined under SCO ODT
4773 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4774 # on later versions), says Simon Leinen: it contains gethostby*
4775 # variants that don't use the name server (or something). -lsocket
4776 # must be given before -lnsl if both are needed. We assume that
4777 # if connect needs -lnsl, so does gethostbyname.
4778 { echo "$as_me:$LINENO: checking for connect" >&5
4779 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4780 if test "${ac_cv_func_connect+set}" = set; then
4781 echo $ECHO_N "(cached) $ECHO_C" >&6
4782 else
4783 cat >conftest.$ac_ext <<_ACEOF
4784 /* confdefs.h. */
4785 _ACEOF
4786 cat confdefs.h >>conftest.$ac_ext
4787 cat >>conftest.$ac_ext <<_ACEOF
4788 /* end confdefs.h. */
4789 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4791 #define connect innocuous_connect
4793 /* System header to define __stub macros and hopefully few prototypes,
4794 which can conflict with char connect (); below.
4795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4796 <limits.h> exists even on freestanding compilers. */
4798 #ifdef __STDC__
4799 # include <limits.h>
4800 #else
4801 # include <assert.h>
4802 #endif
4804 #undef connect
4806 /* Override any GCC internal prototype to avoid an error.
4807 Use char because int might match the return type of a GCC
4808 builtin and then its argument prototype would still apply. */
4809 #ifdef __cplusplus
4810 extern "C"
4811 #endif
4812 char connect ();
4813 /* The GNU C library defines this for functions which it implements
4814 to always fail with ENOSYS. Some functions are actually named
4815 something starting with __ and the normal name is an alias. */
4816 #if defined __stub_connect || defined __stub___connect
4817 choke me
4818 #endif
4821 main ()
4823 return connect ();
4825 return 0;
4827 _ACEOF
4828 rm -f conftest.$ac_objext conftest$ac_exeext
4829 if { (ac_try="$ac_link"
4830 case "(($ac_try" in
4831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832 *) ac_try_echo=$ac_try;;
4833 esac
4834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4835 (eval "$ac_link") 2>conftest.er1
4836 ac_status=$?
4837 grep -v '^ *+' conftest.er1 >conftest.err
4838 rm -f conftest.er1
4839 cat conftest.err >&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); } &&
4842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4843 { (case "(($ac_try" in
4844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4845 *) ac_try_echo=$ac_try;;
4846 esac
4847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4848 (eval "$ac_try") 2>&5
4849 ac_status=$?
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); }; } &&
4852 { ac_try='test -s conftest$ac_exeext'
4853 { (case "(($ac_try" in
4854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4855 *) ac_try_echo=$ac_try;;
4856 esac
4857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4858 (eval "$ac_try") 2>&5
4859 ac_status=$?
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); }; }; then
4862 ac_cv_func_connect=yes
4863 else
4864 echo "$as_me: failed program was:" >&5
4865 sed 's/^/| /' conftest.$ac_ext >&5
4867 ac_cv_func_connect=no
4870 rm -f core conftest.err conftest.$ac_objext \
4871 conftest$ac_exeext conftest.$ac_ext
4873 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4874 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4876 if test $ac_cv_func_connect = no; then
4877 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4878 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4879 if test "${ac_cv_lib_socket_connect+set}" = set; then
4880 echo $ECHO_N "(cached) $ECHO_C" >&6
4881 else
4882 ac_check_lib_save_LIBS=$LIBS
4883 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4884 cat >conftest.$ac_ext <<_ACEOF
4885 /* confdefs.h. */
4886 _ACEOF
4887 cat confdefs.h >>conftest.$ac_ext
4888 cat >>conftest.$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4891 /* Override any GCC internal prototype to avoid an error.
4892 Use char because int might match the return type of a GCC
4893 builtin and then its argument prototype would still apply. */
4894 #ifdef __cplusplus
4895 extern "C"
4896 #endif
4897 char connect ();
4899 main ()
4901 return connect ();
4903 return 0;
4905 _ACEOF
4906 rm -f conftest.$ac_objext conftest$ac_exeext
4907 if { (ac_try="$ac_link"
4908 case "(($ac_try" in
4909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4910 *) ac_try_echo=$ac_try;;
4911 esac
4912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4913 (eval "$ac_link") 2>conftest.er1
4914 ac_status=$?
4915 grep -v '^ *+' conftest.er1 >conftest.err
4916 rm -f conftest.er1
4917 cat conftest.err >&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); } &&
4920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4921 { (case "(($ac_try" in
4922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4923 *) ac_try_echo=$ac_try;;
4924 esac
4925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4926 (eval "$ac_try") 2>&5
4927 ac_status=$?
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); }; } &&
4930 { ac_try='test -s conftest$ac_exeext'
4931 { (case "(($ac_try" in
4932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4933 *) ac_try_echo=$ac_try;;
4934 esac
4935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4936 (eval "$ac_try") 2>&5
4937 ac_status=$?
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }; }; then
4940 ac_cv_lib_socket_connect=yes
4941 else
4942 echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.$ac_ext >&5
4945 ac_cv_lib_socket_connect=no
4948 rm -f core conftest.err conftest.$ac_objext \
4949 conftest$ac_exeext conftest.$ac_ext
4950 LIBS=$ac_check_lib_save_LIBS
4952 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4953 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4954 if test $ac_cv_lib_socket_connect = yes; then
4955 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4960 # Guillermo Gomez says -lposix is necessary on A/UX.
4961 { echo "$as_me:$LINENO: checking for remove" >&5
4962 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4963 if test "${ac_cv_func_remove+set}" = set; then
4964 echo $ECHO_N "(cached) $ECHO_C" >&6
4965 else
4966 cat >conftest.$ac_ext <<_ACEOF
4967 /* confdefs.h. */
4968 _ACEOF
4969 cat confdefs.h >>conftest.$ac_ext
4970 cat >>conftest.$ac_ext <<_ACEOF
4971 /* end confdefs.h. */
4972 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4974 #define remove innocuous_remove
4976 /* System header to define __stub macros and hopefully few prototypes,
4977 which can conflict with char remove (); below.
4978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4979 <limits.h> exists even on freestanding compilers. */
4981 #ifdef __STDC__
4982 # include <limits.h>
4983 #else
4984 # include <assert.h>
4985 #endif
4987 #undef remove
4989 /* Override any GCC internal prototype to avoid an error.
4990 Use char because int might match the return type of a GCC
4991 builtin and then its argument prototype would still apply. */
4992 #ifdef __cplusplus
4993 extern "C"
4994 #endif
4995 char remove ();
4996 /* The GNU C library defines this for functions which it implements
4997 to always fail with ENOSYS. Some functions are actually named
4998 something starting with __ and the normal name is an alias. */
4999 #if defined __stub_remove || defined __stub___remove
5000 choke me
5001 #endif
5004 main ()
5006 return remove ();
5008 return 0;
5010 _ACEOF
5011 rm -f conftest.$ac_objext conftest$ac_exeext
5012 if { (ac_try="$ac_link"
5013 case "(($ac_try" in
5014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5015 *) ac_try_echo=$ac_try;;
5016 esac
5017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5018 (eval "$ac_link") 2>conftest.er1
5019 ac_status=$?
5020 grep -v '^ *+' conftest.er1 >conftest.err
5021 rm -f conftest.er1
5022 cat conftest.err >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); } &&
5025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5026 { (case "(($ac_try" in
5027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5028 *) ac_try_echo=$ac_try;;
5029 esac
5030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5031 (eval "$ac_try") 2>&5
5032 ac_status=$?
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); }; } &&
5035 { ac_try='test -s conftest$ac_exeext'
5036 { (case "(($ac_try" in
5037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5038 *) ac_try_echo=$ac_try;;
5039 esac
5040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5041 (eval "$ac_try") 2>&5
5042 ac_status=$?
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; }; then
5045 ac_cv_func_remove=yes
5046 else
5047 echo "$as_me: failed program was:" >&5
5048 sed 's/^/| /' conftest.$ac_ext >&5
5050 ac_cv_func_remove=no
5053 rm -f core conftest.err conftest.$ac_objext \
5054 conftest$ac_exeext conftest.$ac_ext
5056 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5057 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5059 if test $ac_cv_func_remove = no; then
5060 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5061 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5062 if test "${ac_cv_lib_posix_remove+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5064 else
5065 ac_check_lib_save_LIBS=$LIBS
5066 LIBS="-lposix $LIBS"
5067 cat >conftest.$ac_ext <<_ACEOF
5068 /* confdefs.h. */
5069 _ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5074 /* Override any GCC internal prototype to avoid an error.
5075 Use char because int might match the return type of a GCC
5076 builtin and then its argument prototype would still apply. */
5077 #ifdef __cplusplus
5078 extern "C"
5079 #endif
5080 char remove ();
5082 main ()
5084 return remove ();
5086 return 0;
5088 _ACEOF
5089 rm -f conftest.$ac_objext conftest$ac_exeext
5090 if { (ac_try="$ac_link"
5091 case "(($ac_try" in
5092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5093 *) ac_try_echo=$ac_try;;
5094 esac
5095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5096 (eval "$ac_link") 2>conftest.er1
5097 ac_status=$?
5098 grep -v '^ *+' conftest.er1 >conftest.err
5099 rm -f conftest.er1
5100 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } &&
5103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5104 { (case "(($ac_try" in
5105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5106 *) ac_try_echo=$ac_try;;
5107 esac
5108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5109 (eval "$ac_try") 2>&5
5110 ac_status=$?
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); }; } &&
5113 { ac_try='test -s conftest$ac_exeext'
5114 { (case "(($ac_try" in
5115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5116 *) ac_try_echo=$ac_try;;
5117 esac
5118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5119 (eval "$ac_try") 2>&5
5120 ac_status=$?
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); }; }; then
5123 ac_cv_lib_posix_remove=yes
5124 else
5125 echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.$ac_ext >&5
5128 ac_cv_lib_posix_remove=no
5131 rm -f core conftest.err conftest.$ac_objext \
5132 conftest$ac_exeext conftest.$ac_ext
5133 LIBS=$ac_check_lib_save_LIBS
5135 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5136 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5137 if test $ac_cv_lib_posix_remove = yes; then
5138 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5143 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5144 { echo "$as_me:$LINENO: checking for shmat" >&5
5145 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5146 if test "${ac_cv_func_shmat+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 else
5149 cat >conftest.$ac_ext <<_ACEOF
5150 /* confdefs.h. */
5151 _ACEOF
5152 cat confdefs.h >>conftest.$ac_ext
5153 cat >>conftest.$ac_ext <<_ACEOF
5154 /* end confdefs.h. */
5155 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5157 #define shmat innocuous_shmat
5159 /* System header to define __stub macros and hopefully few prototypes,
5160 which can conflict with char shmat (); below.
5161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5162 <limits.h> exists even on freestanding compilers. */
5164 #ifdef __STDC__
5165 # include <limits.h>
5166 #else
5167 # include <assert.h>
5168 #endif
5170 #undef shmat
5172 /* Override any GCC internal prototype to avoid an error.
5173 Use char because int might match the return type of a GCC
5174 builtin and then its argument prototype would still apply. */
5175 #ifdef __cplusplus
5176 extern "C"
5177 #endif
5178 char shmat ();
5179 /* The GNU C library defines this for functions which it implements
5180 to always fail with ENOSYS. Some functions are actually named
5181 something starting with __ and the normal name is an alias. */
5182 #if defined __stub_shmat || defined __stub___shmat
5183 choke me
5184 #endif
5187 main ()
5189 return shmat ();
5191 return 0;
5193 _ACEOF
5194 rm -f conftest.$ac_objext conftest$ac_exeext
5195 if { (ac_try="$ac_link"
5196 case "(($ac_try" in
5197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5198 *) ac_try_echo=$ac_try;;
5199 esac
5200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5201 (eval "$ac_link") 2>conftest.er1
5202 ac_status=$?
5203 grep -v '^ *+' conftest.er1 >conftest.err
5204 rm -f conftest.er1
5205 cat conftest.err >&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); } &&
5208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5209 { (case "(($ac_try" in
5210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5211 *) ac_try_echo=$ac_try;;
5212 esac
5213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5214 (eval "$ac_try") 2>&5
5215 ac_status=$?
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); }; } &&
5218 { ac_try='test -s conftest$ac_exeext'
5219 { (case "(($ac_try" in
5220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5221 *) ac_try_echo=$ac_try;;
5222 esac
5223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5224 (eval "$ac_try") 2>&5
5225 ac_status=$?
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); }; }; then
5228 ac_cv_func_shmat=yes
5229 else
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.$ac_ext >&5
5233 ac_cv_func_shmat=no
5236 rm -f core conftest.err conftest.$ac_objext \
5237 conftest$ac_exeext conftest.$ac_ext
5239 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5240 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5242 if test $ac_cv_func_shmat = no; then
5243 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5244 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5245 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 else
5248 ac_check_lib_save_LIBS=$LIBS
5249 LIBS="-lipc $LIBS"
5250 cat >conftest.$ac_ext <<_ACEOF
5251 /* confdefs.h. */
5252 _ACEOF
5253 cat confdefs.h >>conftest.$ac_ext
5254 cat >>conftest.$ac_ext <<_ACEOF
5255 /* end confdefs.h. */
5257 /* Override any GCC internal prototype to avoid an error.
5258 Use char because int might match the return type of a GCC
5259 builtin and then its argument prototype would still apply. */
5260 #ifdef __cplusplus
5261 extern "C"
5262 #endif
5263 char shmat ();
5265 main ()
5267 return shmat ();
5269 return 0;
5271 _ACEOF
5272 rm -f conftest.$ac_objext conftest$ac_exeext
5273 if { (ac_try="$ac_link"
5274 case "(($ac_try" in
5275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5276 *) ac_try_echo=$ac_try;;
5277 esac
5278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5279 (eval "$ac_link") 2>conftest.er1
5280 ac_status=$?
5281 grep -v '^ *+' conftest.er1 >conftest.err
5282 rm -f conftest.er1
5283 cat conftest.err >&5
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); } &&
5286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5287 { (case "(($ac_try" in
5288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5289 *) ac_try_echo=$ac_try;;
5290 esac
5291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5292 (eval "$ac_try") 2>&5
5293 ac_status=$?
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); }; } &&
5296 { ac_try='test -s conftest$ac_exeext'
5297 { (case "(($ac_try" in
5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5299 *) ac_try_echo=$ac_try;;
5300 esac
5301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5302 (eval "$ac_try") 2>&5
5303 ac_status=$?
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; }; then
5306 ac_cv_lib_ipc_shmat=yes
5307 else
5308 echo "$as_me: failed program was:" >&5
5309 sed 's/^/| /' conftest.$ac_ext >&5
5311 ac_cv_lib_ipc_shmat=no
5314 rm -f core conftest.err conftest.$ac_objext \
5315 conftest$ac_exeext conftest.$ac_ext
5316 LIBS=$ac_check_lib_save_LIBS
5318 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5319 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5320 if test $ac_cv_lib_ipc_shmat = yes; then
5321 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5327 # Check for libraries that X11R6 Xt/Xaw programs need.
5328 ac_save_LDFLAGS=$LDFLAGS
5329 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5330 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5331 # check for ICE first), but we must link in the order -lSM -lICE or
5332 # we get undefined symbols. So assume we have SM if we have ICE.
5333 # These have to be linked with before -lX11, unlike the other
5334 # libraries we check for below, so use a different variable.
5335 # John Interrante, Karl Berry
5336 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5337 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5338 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5339 echo $ECHO_N "(cached) $ECHO_C" >&6
5340 else
5341 ac_check_lib_save_LIBS=$LIBS
5342 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5343 cat >conftest.$ac_ext <<_ACEOF
5344 /* confdefs.h. */
5345 _ACEOF
5346 cat confdefs.h >>conftest.$ac_ext
5347 cat >>conftest.$ac_ext <<_ACEOF
5348 /* end confdefs.h. */
5350 /* Override any GCC internal prototype to avoid an error.
5351 Use char because int might match the return type of a GCC
5352 builtin and then its argument prototype would still apply. */
5353 #ifdef __cplusplus
5354 extern "C"
5355 #endif
5356 char IceConnectionNumber ();
5358 main ()
5360 return IceConnectionNumber ();
5362 return 0;
5364 _ACEOF
5365 rm -f conftest.$ac_objext conftest$ac_exeext
5366 if { (ac_try="$ac_link"
5367 case "(($ac_try" in
5368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5369 *) ac_try_echo=$ac_try;;
5370 esac
5371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5372 (eval "$ac_link") 2>conftest.er1
5373 ac_status=$?
5374 grep -v '^ *+' conftest.er1 >conftest.err
5375 rm -f conftest.er1
5376 cat conftest.err >&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } &&
5379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5380 { (case "(($ac_try" in
5381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5382 *) ac_try_echo=$ac_try;;
5383 esac
5384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5385 (eval "$ac_try") 2>&5
5386 ac_status=$?
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); }; } &&
5389 { ac_try='test -s conftest$ac_exeext'
5390 { (case "(($ac_try" in
5391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5392 *) ac_try_echo=$ac_try;;
5393 esac
5394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5395 (eval "$ac_try") 2>&5
5396 ac_status=$?
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }; }; then
5399 ac_cv_lib_ICE_IceConnectionNumber=yes
5400 else
5401 echo "$as_me: failed program was:" >&5
5402 sed 's/^/| /' conftest.$ac_ext >&5
5404 ac_cv_lib_ICE_IceConnectionNumber=no
5407 rm -f core conftest.err conftest.$ac_objext \
5408 conftest$ac_exeext conftest.$ac_ext
5409 LIBS=$ac_check_lib_save_LIBS
5411 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5412 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5413 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5414 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5417 LDFLAGS=$ac_save_LDFLAGS
5421 for ac_prog in flex lex
5423 # Extract the first word of "$ac_prog", so it can be a program name with args.
5424 set dummy $ac_prog; ac_word=$2
5425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5427 if test "${ac_cv_prog_LEX+set}" = set; then
5428 echo $ECHO_N "(cached) $ECHO_C" >&6
5429 else
5430 if test -n "$LEX"; then
5431 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5432 else
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 for as_dir in $PATH
5436 IFS=$as_save_IFS
5437 test -z "$as_dir" && as_dir=.
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5440 ac_cv_prog_LEX="$ac_prog"
5441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 break 2
5444 done
5445 done
5446 IFS=$as_save_IFS
5450 LEX=$ac_cv_prog_LEX
5451 if test -n "$LEX"; then
5452 { echo "$as_me:$LINENO: result: $LEX" >&5
5453 echo "${ECHO_T}$LEX" >&6; }
5454 else
5455 { echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6; }
5460 test -n "$LEX" && break
5461 done
5462 test -n "$LEX" || LEX=":"
5464 if test -z "$LEXLIB"
5465 then
5466 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5467 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5468 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5469 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 else
5471 ac_check_lib_save_LIBS=$LIBS
5472 LIBS="-lfl $LIBS"
5473 cat >conftest.$ac_ext <<_ACEOF
5474 /* confdefs.h. */
5475 _ACEOF
5476 cat confdefs.h >>conftest.$ac_ext
5477 cat >>conftest.$ac_ext <<_ACEOF
5478 /* end confdefs.h. */
5480 /* Override any GCC internal prototype to avoid an error.
5481 Use char because int might match the return type of a GCC
5482 builtin and then its argument prototype would still apply. */
5483 #ifdef __cplusplus
5484 extern "C"
5485 #endif
5486 char yywrap ();
5488 main ()
5490 return yywrap ();
5492 return 0;
5494 _ACEOF
5495 rm -f conftest.$ac_objext conftest$ac_exeext
5496 if { (ac_try="$ac_link"
5497 case "(($ac_try" in
5498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5499 *) ac_try_echo=$ac_try;;
5500 esac
5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5502 (eval "$ac_link") 2>conftest.er1
5503 ac_status=$?
5504 grep -v '^ *+' conftest.er1 >conftest.err
5505 rm -f conftest.er1
5506 cat conftest.err >&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); } &&
5509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5510 { (case "(($ac_try" in
5511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5512 *) ac_try_echo=$ac_try;;
5513 esac
5514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5515 (eval "$ac_try") 2>&5
5516 ac_status=$?
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); }; } &&
5519 { ac_try='test -s conftest$ac_exeext'
5520 { (case "(($ac_try" in
5521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5522 *) ac_try_echo=$ac_try;;
5523 esac
5524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5525 (eval "$ac_try") 2>&5
5526 ac_status=$?
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); }; }; then
5529 ac_cv_lib_fl_yywrap=yes
5530 else
5531 echo "$as_me: failed program was:" >&5
5532 sed 's/^/| /' conftest.$ac_ext >&5
5534 ac_cv_lib_fl_yywrap=no
5537 rm -f core conftest.err conftest.$ac_objext \
5538 conftest$ac_exeext conftest.$ac_ext
5539 LIBS=$ac_check_lib_save_LIBS
5541 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5542 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5543 if test $ac_cv_lib_fl_yywrap = yes; then
5544 LEXLIB="-lfl"
5545 else
5546 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5547 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5548 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5549 echo $ECHO_N "(cached) $ECHO_C" >&6
5550 else
5551 ac_check_lib_save_LIBS=$LIBS
5552 LIBS="-ll $LIBS"
5553 cat >conftest.$ac_ext <<_ACEOF
5554 /* confdefs.h. */
5555 _ACEOF
5556 cat confdefs.h >>conftest.$ac_ext
5557 cat >>conftest.$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5560 /* Override any GCC internal prototype to avoid an error.
5561 Use char because int might match the return type of a GCC
5562 builtin and then its argument prototype would still apply. */
5563 #ifdef __cplusplus
5564 extern "C"
5565 #endif
5566 char yywrap ();
5568 main ()
5570 return yywrap ();
5572 return 0;
5574 _ACEOF
5575 rm -f conftest.$ac_objext conftest$ac_exeext
5576 if { (ac_try="$ac_link"
5577 case "(($ac_try" in
5578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5579 *) ac_try_echo=$ac_try;;
5580 esac
5581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5582 (eval "$ac_link") 2>conftest.er1
5583 ac_status=$?
5584 grep -v '^ *+' conftest.er1 >conftest.err
5585 rm -f conftest.er1
5586 cat conftest.err >&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); } &&
5589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5590 { (case "(($ac_try" in
5591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5592 *) ac_try_echo=$ac_try;;
5593 esac
5594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5595 (eval "$ac_try") 2>&5
5596 ac_status=$?
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); }; } &&
5599 { ac_try='test -s conftest$ac_exeext'
5600 { (case "(($ac_try" in
5601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5602 *) ac_try_echo=$ac_try;;
5603 esac
5604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5605 (eval "$ac_try") 2>&5
5606 ac_status=$?
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); }; }; then
5609 ac_cv_lib_l_yywrap=yes
5610 else
5611 echo "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.$ac_ext >&5
5614 ac_cv_lib_l_yywrap=no
5617 rm -f core conftest.err conftest.$ac_objext \
5618 conftest$ac_exeext conftest.$ac_ext
5619 LIBS=$ac_check_lib_save_LIBS
5621 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5622 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5623 if test $ac_cv_lib_l_yywrap = yes; then
5624 LEXLIB="-ll"
5631 if test "x$LEX" != "x:"; then
5632 { echo "$as_me:$LINENO: checking lex output file root" >&5
5633 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5634 if test "${ac_cv_prog_lex_root+set}" = set; then
5635 echo $ECHO_N "(cached) $ECHO_C" >&6
5636 else
5637 # The minimal lex program is just a single line: %%. But some broken lexes
5638 # (Solaris, I think it was) want two %% lines, so accommodate them.
5639 cat >conftest.l <<_ACEOF
5642 _ACEOF
5643 { (ac_try="$LEX conftest.l"
5644 case "(($ac_try" in
5645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5646 *) ac_try_echo=$ac_try;;
5647 esac
5648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5649 (eval "$LEX conftest.l") 2>&5
5650 ac_status=$?
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); }
5653 if test -f lex.yy.c; then
5654 ac_cv_prog_lex_root=lex.yy
5655 elif test -f lexyy.c; then
5656 ac_cv_prog_lex_root=lexyy
5657 else
5658 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5659 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5660 { (exit 1); exit 1; }; }
5663 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5664 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5665 rm -f conftest.l
5666 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5668 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5669 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5670 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5671 echo $ECHO_N "(cached) $ECHO_C" >&6
5672 else
5673 # POSIX says lex can declare yytext either as a pointer or an array; the
5674 # default is implementation-dependent. Figure out which it is, since
5675 # not all implementations provide the %pointer and %array declarations.
5676 ac_cv_prog_lex_yytext_pointer=no
5677 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5678 ac_save_LIBS=$LIBS
5679 LIBS="$LIBS $LEXLIB"
5680 cat >conftest.$ac_ext <<_ACEOF
5681 `cat $LEX_OUTPUT_ROOT.c`
5682 _ACEOF
5683 rm -f conftest.$ac_objext conftest$ac_exeext
5684 if { (ac_try="$ac_link"
5685 case "(($ac_try" in
5686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5687 *) ac_try_echo=$ac_try;;
5688 esac
5689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5690 (eval "$ac_link") 2>conftest.er1
5691 ac_status=$?
5692 grep -v '^ *+' conftest.er1 >conftest.err
5693 rm -f conftest.er1
5694 cat conftest.err >&5
5695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); } &&
5697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5698 { (case "(($ac_try" in
5699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5700 *) ac_try_echo=$ac_try;;
5701 esac
5702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5703 (eval "$ac_try") 2>&5
5704 ac_status=$?
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; } &&
5707 { ac_try='test -s conftest$ac_exeext'
5708 { (case "(($ac_try" in
5709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5710 *) ac_try_echo=$ac_try;;
5711 esac
5712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5713 (eval "$ac_try") 2>&5
5714 ac_status=$?
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5717 ac_cv_prog_lex_yytext_pointer=yes
5718 else
5719 echo "$as_me: failed program was:" >&5
5720 sed 's/^/| /' conftest.$ac_ext >&5
5725 rm -f core conftest.err conftest.$ac_objext \
5726 conftest$ac_exeext conftest.$ac_ext
5727 LIBS=$ac_save_LIBS
5728 rm -f "${LEX_OUTPUT_ROOT}.c"
5731 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5732 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5733 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5735 cat >>confdefs.h <<\_ACEOF
5736 #define YYTEXT_POINTER 1
5737 _ACEOF
5743 for ac_prog in $LEX flex lex
5745 # Extract the first word of "$ac_prog", so it can be a program name with args.
5746 set dummy $ac_prog; ac_word=$2
5747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5749 if test "${ac_cv_prog_XLEX+set}" = set; then
5750 echo $ECHO_N "(cached) $ECHO_C" >&6
5751 else
5752 if test -n "$XLEX"; then
5753 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5754 else
5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5756 for as_dir in $PATH
5758 IFS=$as_save_IFS
5759 test -z "$as_dir" && as_dir=.
5760 for ac_exec_ext in '' $ac_executable_extensions; do
5761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5762 ac_cv_prog_XLEX="$ac_prog"
5763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 break 2
5766 done
5767 done
5768 IFS=$as_save_IFS
5772 XLEX=$ac_cv_prog_XLEX
5773 if test -n "$XLEX"; then
5774 { echo "$as_me:$LINENO: result: $XLEX" >&5
5775 echo "${ECHO_T}$XLEX" >&6; }
5776 else
5777 { echo "$as_me:$LINENO: result: no" >&5
5778 echo "${ECHO_T}no" >&6; }
5782 test -n "$XLEX" && break
5783 done
5784 test -n "$XLEX" || XLEX="none"
5786 if test "$XLEX" = "none"
5787 then
5788 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5789 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5790 { (exit 1); exit 1; }; }
5793 for ac_prog in bison
5795 # Extract the first word of "$ac_prog", so it can be a program name with args.
5796 set dummy $ac_prog; ac_word=$2
5797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5799 if test "${ac_cv_prog_BISON+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 else
5802 if test -n "$BISON"; then
5803 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5804 else
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 for as_dir in $PATH
5808 IFS=$as_save_IFS
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_prog_BISON="$ac_prog"
5813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5814 break 2
5816 done
5817 done
5818 IFS=$as_save_IFS
5822 BISON=$ac_cv_prog_BISON
5823 if test -n "$BISON"; then
5824 { echo "$as_me:$LINENO: result: $BISON" >&5
5825 echo "${ECHO_T}$BISON" >&6; }
5826 else
5827 { echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6; }
5832 test -n "$BISON" && break
5833 done
5834 test -n "$BISON" || BISON="none"
5836 if test "$BISON" = "none"
5837 then
5838 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5839 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5840 { (exit 1); exit 1; }; }
5843 if test -n "$ac_tool_prefix"; then
5844 for ac_prog in gas as
5846 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5847 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5850 if test "${ac_cv_prog_AS+set}" = set; then
5851 echo $ECHO_N "(cached) $ECHO_C" >&6
5852 else
5853 if test -n "$AS"; then
5854 ac_cv_prog_AS="$AS" # Let the user override the test.
5855 else
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 for as_dir in $PATH
5859 IFS=$as_save_IFS
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5863 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 break 2
5867 done
5868 done
5869 IFS=$as_save_IFS
5873 AS=$ac_cv_prog_AS
5874 if test -n "$AS"; then
5875 { echo "$as_me:$LINENO: result: $AS" >&5
5876 echo "${ECHO_T}$AS" >&6; }
5877 else
5878 { echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6; }
5883 test -n "$AS" && break
5884 done
5886 if test -z "$AS"; then
5887 ac_ct_AS=$AS
5888 for ac_prog in gas as
5890 # Extract the first word of "$ac_prog", so it can be a program name with args.
5891 set dummy $ac_prog; ac_word=$2
5892 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5894 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5896 else
5897 if test -n "$ac_ct_AS"; then
5898 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5899 else
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $PATH
5903 IFS=$as_save_IFS
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_prog_ac_ct_AS="$ac_prog"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 break 2
5911 done
5912 done
5913 IFS=$as_save_IFS
5917 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5918 if test -n "$ac_ct_AS"; then
5919 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5920 echo "${ECHO_T}$ac_ct_AS" >&6; }
5921 else
5922 { echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6; }
5927 test -n "$ac_ct_AS" && break
5928 done
5930 if test "x$ac_ct_AS" = x; then
5931 AS="as"
5932 else
5933 case $cross_compiling:$ac_tool_warned in
5934 yes:)
5935 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5936 whose name does not start with the host triplet. If you think this
5937 configuration is useful to you, please write to autoconf@gnu.org." >&5
5938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5939 whose name does not start with the host triplet. If you think this
5940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5941 ac_tool_warned=yes ;;
5942 esac
5943 AS=$ac_ct_AS
5947 if test -n "$ac_tool_prefix"; then
5948 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5949 set dummy ${ac_tool_prefix}ld; ac_word=$2
5950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5952 if test "${ac_cv_prog_LD+set}" = set; then
5953 echo $ECHO_N "(cached) $ECHO_C" >&6
5954 else
5955 if test -n "$LD"; then
5956 ac_cv_prog_LD="$LD" # Let the user override the test.
5957 else
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 for as_dir in $PATH
5961 IFS=$as_save_IFS
5962 test -z "$as_dir" && as_dir=.
5963 for ac_exec_ext in '' $ac_executable_extensions; do
5964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5965 ac_cv_prog_LD="${ac_tool_prefix}ld"
5966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5967 break 2
5969 done
5970 done
5971 IFS=$as_save_IFS
5975 LD=$ac_cv_prog_LD
5976 if test -n "$LD"; then
5977 { echo "$as_me:$LINENO: result: $LD" >&5
5978 echo "${ECHO_T}$LD" >&6; }
5979 else
5980 { echo "$as_me:$LINENO: result: no" >&5
5981 echo "${ECHO_T}no" >&6; }
5986 if test -z "$ac_cv_prog_LD"; then
5987 ac_ct_LD=$LD
5988 # Extract the first word of "ld", so it can be a program name with args.
5989 set dummy ld; ac_word=$2
5990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5992 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5993 echo $ECHO_N "(cached) $ECHO_C" >&6
5994 else
5995 if test -n "$ac_ct_LD"; then
5996 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5997 else
5998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 for as_dir in $PATH
6001 IFS=$as_save_IFS
6002 test -z "$as_dir" && as_dir=.
6003 for ac_exec_ext in '' $ac_executable_extensions; do
6004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6005 ac_cv_prog_ac_ct_LD="ld"
6006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6007 break 2
6009 done
6010 done
6011 IFS=$as_save_IFS
6015 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6016 if test -n "$ac_ct_LD"; then
6017 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6018 echo "${ECHO_T}$ac_ct_LD" >&6; }
6019 else
6020 { echo "$as_me:$LINENO: result: no" >&5
6021 echo "${ECHO_T}no" >&6; }
6024 if test "x$ac_ct_LD" = x; then
6025 LD="ld"
6026 else
6027 case $cross_compiling:$ac_tool_warned in
6028 yes:)
6029 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6030 whose name does not start with the host triplet. If you think this
6031 configuration is useful to you, please write to autoconf@gnu.org." >&5
6032 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6033 whose name does not start with the host triplet. If you think this
6034 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6035 ac_tool_warned=yes ;;
6036 esac
6037 LD=$ac_ct_LD
6039 else
6040 LD="$ac_cv_prog_LD"
6043 if test -n "$ac_tool_prefix"; then
6044 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6045 set dummy ${ac_tool_prefix}ar; ac_word=$2
6046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6048 if test "${ac_cv_prog_AR+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 else
6051 if test -n "$AR"; then
6052 ac_cv_prog_AR="$AR" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6057 IFS=$as_save_IFS
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_AR="${ac_tool_prefix}ar"
6062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 break 2
6065 done
6066 done
6067 IFS=$as_save_IFS
6071 AR=$ac_cv_prog_AR
6072 if test -n "$AR"; then
6073 { echo "$as_me:$LINENO: result: $AR" >&5
6074 echo "${ECHO_T}$AR" >&6; }
6075 else
6076 { echo "$as_me:$LINENO: result: no" >&5
6077 echo "${ECHO_T}no" >&6; }
6082 if test -z "$ac_cv_prog_AR"; then
6083 ac_ct_AR=$AR
6084 # Extract the first word of "ar", so it can be a program name with args.
6085 set dummy ar; ac_word=$2
6086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6088 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6089 echo $ECHO_N "(cached) $ECHO_C" >&6
6090 else
6091 if test -n "$ac_ct_AR"; then
6092 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6093 else
6094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 for as_dir in $PATH
6097 IFS=$as_save_IFS
6098 test -z "$as_dir" && as_dir=.
6099 for ac_exec_ext in '' $ac_executable_extensions; do
6100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6101 ac_cv_prog_ac_ct_AR="ar"
6102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6103 break 2
6105 done
6106 done
6107 IFS=$as_save_IFS
6111 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6112 if test -n "$ac_ct_AR"; then
6113 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6114 echo "${ECHO_T}$ac_ct_AR" >&6; }
6115 else
6116 { echo "$as_me:$LINENO: result: no" >&5
6117 echo "${ECHO_T}no" >&6; }
6120 if test "x$ac_ct_AR" = x; then
6121 AR="ar"
6122 else
6123 case $cross_compiling:$ac_tool_warned in
6124 yes:)
6125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6126 whose name does not start with the host triplet. If you think this
6127 configuration is useful to you, please write to autoconf@gnu.org." >&5
6128 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6129 whose name does not start with the host triplet. If you think this
6130 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6131 ac_tool_warned=yes ;;
6132 esac
6133 AR=$ac_ct_AR
6135 else
6136 AR="$ac_cv_prog_AR"
6139 if test -n "$ac_tool_prefix"; then
6140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6141 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6144 if test "${ac_cv_prog_RANLIB+set}" = set; then
6145 echo $ECHO_N "(cached) $ECHO_C" >&6
6146 else
6147 if test -n "$RANLIB"; then
6148 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6149 else
6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 for as_dir in $PATH
6153 IFS=$as_save_IFS
6154 test -z "$as_dir" && as_dir=.
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6157 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 break 2
6161 done
6162 done
6163 IFS=$as_save_IFS
6167 RANLIB=$ac_cv_prog_RANLIB
6168 if test -n "$RANLIB"; then
6169 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6170 echo "${ECHO_T}$RANLIB" >&6; }
6171 else
6172 { echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6; }
6178 if test -z "$ac_cv_prog_RANLIB"; then
6179 ac_ct_RANLIB=$RANLIB
6180 # Extract the first word of "ranlib", so it can be a program name with args.
6181 set dummy ranlib; ac_word=$2
6182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6185 echo $ECHO_N "(cached) $ECHO_C" >&6
6186 else
6187 if test -n "$ac_ct_RANLIB"; then
6188 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6189 else
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6197 ac_cv_prog_ac_ct_RANLIB="ranlib"
6198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 break 2
6201 done
6202 done
6203 IFS=$as_save_IFS
6207 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6208 if test -n "$ac_ct_RANLIB"; then
6209 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6210 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6211 else
6212 { echo "$as_me:$LINENO: result: no" >&5
6213 echo "${ECHO_T}no" >&6; }
6216 if test "x$ac_ct_RANLIB" = x; then
6217 RANLIB=":"
6218 else
6219 case $cross_compiling:$ac_tool_warned in
6220 yes:)
6221 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6222 whose name does not start with the host triplet. If you think this
6223 configuration is useful to you, please write to autoconf@gnu.org." >&5
6224 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6225 whose name does not start with the host triplet. If you think this
6226 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6227 ac_tool_warned=yes ;;
6228 esac
6229 RANLIB=$ac_ct_RANLIB
6231 else
6232 RANLIB="$ac_cv_prog_RANLIB"
6235 if test -n "$ac_tool_prefix"; then
6236 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6237 set dummy ${ac_tool_prefix}strip; ac_word=$2
6238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6240 if test "${ac_cv_prog_STRIP+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6242 else
6243 if test -n "$STRIP"; then
6244 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6245 else
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 for as_dir in $PATH
6249 IFS=$as_save_IFS
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6255 break 2
6257 done
6258 done
6259 IFS=$as_save_IFS
6263 STRIP=$ac_cv_prog_STRIP
6264 if test -n "$STRIP"; then
6265 { echo "$as_me:$LINENO: result: $STRIP" >&5
6266 echo "${ECHO_T}$STRIP" >&6; }
6267 else
6268 { echo "$as_me:$LINENO: result: no" >&5
6269 echo "${ECHO_T}no" >&6; }
6274 if test -z "$ac_cv_prog_STRIP"; then
6275 ac_ct_STRIP=$STRIP
6276 # Extract the first word of "strip", so it can be a program name with args.
6277 set dummy strip; ac_word=$2
6278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6280 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6281 echo $ECHO_N "(cached) $ECHO_C" >&6
6282 else
6283 if test -n "$ac_ct_STRIP"; then
6284 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6285 else
6286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 for as_dir in $PATH
6289 IFS=$as_save_IFS
6290 test -z "$as_dir" && as_dir=.
6291 for ac_exec_ext in '' $ac_executable_extensions; do
6292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6293 ac_cv_prog_ac_ct_STRIP="strip"
6294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6295 break 2
6297 done
6298 done
6299 IFS=$as_save_IFS
6303 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6304 if test -n "$ac_ct_STRIP"; then
6305 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6306 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6307 else
6308 { echo "$as_me:$LINENO: result: no" >&5
6309 echo "${ECHO_T}no" >&6; }
6312 if test "x$ac_ct_STRIP" = x; then
6313 STRIP="strip"
6314 else
6315 case $cross_compiling:$ac_tool_warned in
6316 yes:)
6317 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6318 whose name does not start with the host triplet. If you think this
6319 configuration is useful to you, please write to autoconf@gnu.org." >&5
6320 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6321 whose name does not start with the host triplet. If you think this
6322 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6323 ac_tool_warned=yes ;;
6324 esac
6325 STRIP=$ac_ct_STRIP
6327 else
6328 STRIP="$ac_cv_prog_STRIP"
6331 if test -n "$ac_tool_prefix"; then
6332 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6333 set dummy ${ac_tool_prefix}windres; ac_word=$2
6334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6336 if test "${ac_cv_prog_WINDRES+set}" = set; then
6337 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 else
6339 if test -n "$WINDRES"; then
6340 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6341 else
6342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343 for as_dir in $PATH
6345 IFS=$as_save_IFS
6346 test -z "$as_dir" && as_dir=.
6347 for ac_exec_ext in '' $ac_executable_extensions; do
6348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6349 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6351 break 2
6353 done
6354 done
6355 IFS=$as_save_IFS
6359 WINDRES=$ac_cv_prog_WINDRES
6360 if test -n "$WINDRES"; then
6361 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6362 echo "${ECHO_T}$WINDRES" >&6; }
6363 else
6364 { echo "$as_me:$LINENO: result: no" >&5
6365 echo "${ECHO_T}no" >&6; }
6370 if test -z "$ac_cv_prog_WINDRES"; then
6371 ac_ct_WINDRES=$WINDRES
6372 # Extract the first word of "windres", so it can be a program name with args.
6373 set dummy windres; ac_word=$2
6374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6376 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6377 echo $ECHO_N "(cached) $ECHO_C" >&6
6378 else
6379 if test -n "$ac_ct_WINDRES"; then
6380 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6381 else
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 for as_dir in $PATH
6385 IFS=$as_save_IFS
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6389 ac_cv_prog_ac_ct_WINDRES="windres"
6390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6391 break 2
6393 done
6394 done
6395 IFS=$as_save_IFS
6399 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6400 if test -n "$ac_ct_WINDRES"; then
6401 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6402 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6403 else
6404 { echo "$as_me:$LINENO: result: no" >&5
6405 echo "${ECHO_T}no" >&6; }
6408 if test "x$ac_ct_WINDRES" = x; then
6409 WINDRES="false"
6410 else
6411 case $cross_compiling:$ac_tool_warned in
6412 yes:)
6413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6414 whose name does not start with the host triplet. If you think this
6415 configuration is useful to you, please write to autoconf@gnu.org." >&5
6416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6417 whose name does not start with the host triplet. If you think this
6418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6419 ac_tool_warned=yes ;;
6420 esac
6421 WINDRES=$ac_ct_WINDRES
6423 else
6424 WINDRES="$ac_cv_prog_WINDRES"
6427 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6428 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6429 LN_S=$as_ln_s
6430 if test "$LN_S" = "ln -s"; then
6431 { echo "$as_me:$LINENO: result: yes" >&5
6432 echo "${ECHO_T}yes" >&6; }
6433 else
6434 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6435 echo "${ECHO_T}no, using $LN_S" >&6; }
6438 { echo "$as_me:$LINENO: checking whether ln works" >&5
6439 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6440 rm -f conf$$ conf$$.file
6441 echo >conf$$.file
6442 if ln conf$$.file conf$$ 2>/dev/null; then
6443 LN=ln
6445 { echo "$as_me:$LINENO: result: yes" >&5
6446 echo "${ECHO_T}yes" >&6; }
6447 else
6448 LN="cp -p"
6450 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6451 echo "${ECHO_T}no, using $LN" >&6; }
6453 rm -f conf$$ conf$$.file
6454 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6455 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6456 if test "${ac_cv_path_GREP+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 else
6459 # Extract the first word of "grep ggrep" to use in msg output
6460 if test -z "$GREP"; then
6461 set dummy grep ggrep; ac_prog_name=$2
6462 if test "${ac_cv_path_GREP+set}" = set; then
6463 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 else
6465 ac_path_GREP_found=false
6466 # Loop through the user's path and test for each of PROGNAME-LIST
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6470 IFS=$as_save_IFS
6471 test -z "$as_dir" && as_dir=.
6472 for ac_prog in grep ggrep; do
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6475 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6476 # Check for GNU ac_path_GREP and select it if it is found.
6477 # Check for GNU $ac_path_GREP
6478 case `"$ac_path_GREP" --version 2>&1` in
6479 *GNU*)
6480 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6482 ac_count=0
6483 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6484 while :
6486 cat "conftest.in" "conftest.in" >"conftest.tmp"
6487 mv "conftest.tmp" "conftest.in"
6488 cp "conftest.in" "conftest.nl"
6489 echo 'GREP' >> "conftest.nl"
6490 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6492 ac_count=`expr $ac_count + 1`
6493 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6494 # Best one so far, save it but keep looking for a better one
6495 ac_cv_path_GREP="$ac_path_GREP"
6496 ac_path_GREP_max=$ac_count
6498 # 10*(2^10) chars as input seems more than enough
6499 test $ac_count -gt 10 && break
6500 done
6501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6502 esac
6505 $ac_path_GREP_found && break 3
6506 done
6507 done
6509 done
6510 IFS=$as_save_IFS
6515 GREP="$ac_cv_path_GREP"
6516 if test -z "$GREP"; then
6517 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6518 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6519 { (exit 1); exit 1; }; }
6522 else
6523 ac_cv_path_GREP=$GREP
6528 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6529 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6530 GREP="$ac_cv_path_GREP"
6533 { echo "$as_me:$LINENO: checking for egrep" >&5
6534 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6535 if test "${ac_cv_path_EGREP+set}" = set; then
6536 echo $ECHO_N "(cached) $ECHO_C" >&6
6537 else
6538 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6539 then ac_cv_path_EGREP="$GREP -E"
6540 else
6541 # Extract the first word of "egrep" to use in msg output
6542 if test -z "$EGREP"; then
6543 set dummy egrep; ac_prog_name=$2
6544 if test "${ac_cv_path_EGREP+set}" = set; then
6545 echo $ECHO_N "(cached) $ECHO_C" >&6
6546 else
6547 ac_path_EGREP_found=false
6548 # Loop through the user's path and test for each of PROGNAME-LIST
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6552 IFS=$as_save_IFS
6553 test -z "$as_dir" && as_dir=.
6554 for ac_prog in egrep; do
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6557 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6558 # Check for GNU ac_path_EGREP and select it if it is found.
6559 # Check for GNU $ac_path_EGREP
6560 case `"$ac_path_EGREP" --version 2>&1` in
6561 *GNU*)
6562 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6564 ac_count=0
6565 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6566 while :
6568 cat "conftest.in" "conftest.in" >"conftest.tmp"
6569 mv "conftest.tmp" "conftest.in"
6570 cp "conftest.in" "conftest.nl"
6571 echo 'EGREP' >> "conftest.nl"
6572 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6573 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6574 ac_count=`expr $ac_count + 1`
6575 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6576 # Best one so far, save it but keep looking for a better one
6577 ac_cv_path_EGREP="$ac_path_EGREP"
6578 ac_path_EGREP_max=$ac_count
6580 # 10*(2^10) chars as input seems more than enough
6581 test $ac_count -gt 10 && break
6582 done
6583 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6584 esac
6587 $ac_path_EGREP_found && break 3
6588 done
6589 done
6591 done
6592 IFS=$as_save_IFS
6597 EGREP="$ac_cv_path_EGREP"
6598 if test -z "$EGREP"; then
6599 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6600 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6601 { (exit 1); exit 1; }; }
6604 else
6605 ac_cv_path_EGREP=$EGREP
6611 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6612 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6613 EGREP="$ac_cv_path_EGREP"
6616 # Extract the first word of "ldconfig", so it can be a program name with args.
6617 set dummy ldconfig; ac_word=$2
6618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6620 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6621 echo $ECHO_N "(cached) $ECHO_C" >&6
6622 else
6623 case $LDCONFIG in
6624 [\\/]* | ?:[\\/]*)
6625 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in /sbin /usr/sbin $PATH
6631 IFS=$as_save_IFS
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6635 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 break 2
6639 done
6640 done
6641 IFS=$as_save_IFS
6643 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6645 esac
6647 LDCONFIG=$ac_cv_path_LDCONFIG
6648 if test -n "$LDCONFIG"; then
6649 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6650 echo "${ECHO_T}$LDCONFIG" >&6; }
6651 else
6652 { echo "$as_me:$LINENO: result: no" >&5
6653 echo "${ECHO_T}no" >&6; }
6657 # Find a good install program. We prefer a C program (faster),
6658 # so one script is as good as another. But avoid the broken or
6659 # incompatible versions:
6660 # SysV /etc/install, /usr/sbin/install
6661 # SunOS /usr/etc/install
6662 # IRIX /sbin/install
6663 # AIX /bin/install
6664 # AmigaOS /C/install, which installs bootblocks on floppy discs
6665 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6666 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6667 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6668 # OS/2's system install, which has a completely different semantic
6669 # ./install, which can be erroneously created by make from ./install.sh.
6670 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6671 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6672 if test -z "$INSTALL"; then
6673 if test "${ac_cv_path_install+set}" = set; then
6674 echo $ECHO_N "(cached) $ECHO_C" >&6
6675 else
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 for as_dir in $PATH
6679 IFS=$as_save_IFS
6680 test -z "$as_dir" && as_dir=.
6681 # Account for people who put trailing slashes in PATH elements.
6682 case $as_dir/ in
6683 ./ | .// | /cC/* | \
6684 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6685 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6686 /usr/ucb/* ) ;;
6688 # OSF1 and SCO ODT 3.0 have their own names for install.
6689 # Don't use installbsd from OSF since it installs stuff as root
6690 # by default.
6691 for ac_prog in ginstall scoinst install; do
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6694 if test $ac_prog = install &&
6695 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6696 # AIX install. It has an incompatible calling convention.
6698 elif test $ac_prog = install &&
6699 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6700 # program-specific install script used by HP pwplus--don't use.
6702 else
6703 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6704 break 3
6707 done
6708 done
6710 esac
6711 done
6712 IFS=$as_save_IFS
6716 if test "${ac_cv_path_install+set}" = set; then
6717 INSTALL=$ac_cv_path_install
6718 else
6719 # As a last resort, use the slow shell script. Don't cache a
6720 # value for INSTALL within a source directory, because that will
6721 # break other packages using the cache if that directory is
6722 # removed, or if the value is a relative name.
6723 INSTALL=$ac_install_sh
6726 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6727 echo "${ECHO_T}$INSTALL" >&6; }
6729 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6730 # It thinks the first close brace ends the variable substitution.
6731 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6733 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6735 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6737 case "$INSTALL" in
6738 [\\/$]* | ?:[\\/]* ) ;;
6739 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6740 esac
6742 for ac_prog in lclint lint
6744 # Extract the first word of "$ac_prog", so it can be a program name with args.
6745 set dummy $ac_prog; ac_word=$2
6746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6748 if test "${ac_cv_prog_LINT+set}" = set; then
6749 echo $ECHO_N "(cached) $ECHO_C" >&6
6750 else
6751 if test -n "$LINT"; then
6752 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6753 else
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 for as_dir in $PATH
6757 IFS=$as_save_IFS
6758 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_prog_LINT="$ac_prog"
6762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 break 2
6765 done
6766 done
6767 IFS=$as_save_IFS
6771 LINT=$ac_cv_prog_LINT
6772 if test -n "$LINT"; then
6773 { echo "$as_me:$LINENO: result: $LINT" >&5
6774 echo "${ECHO_T}$LINT" >&6; }
6775 else
6776 { echo "$as_me:$LINENO: result: no" >&5
6777 echo "${ECHO_T}no" >&6; }
6781 test -n "$LINT" && break
6782 done
6784 if test "$LINT" = "lint"
6785 then
6786 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6791 for ac_prog in fontforge
6793 # Extract the first word of "$ac_prog", so it can be a program name with args.
6794 set dummy $ac_prog; ac_word=$2
6795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6797 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6798 echo $ECHO_N "(cached) $ECHO_C" >&6
6799 else
6800 if test -n "$FONTFORGE"; then
6801 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6802 else
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 for as_dir in $PATH
6806 IFS=$as_save_IFS
6807 test -z "$as_dir" && as_dir=.
6808 for ac_exec_ext in '' $ac_executable_extensions; do
6809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6810 ac_cv_prog_FONTFORGE="$ac_prog"
6811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 break 2
6814 done
6815 done
6816 IFS=$as_save_IFS
6820 FONTFORGE=$ac_cv_prog_FONTFORGE
6821 if test -n "$FONTFORGE"; then
6822 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6823 echo "${ECHO_T}$FONTFORGE" >&6; }
6824 else
6825 { echo "$as_me:$LINENO: result: no" >&5
6826 echo "${ECHO_T}no" >&6; }
6830 test -n "$FONTFORGE" && break
6831 done
6832 test -n "$FONTFORGE" || FONTFORGE="false"
6834 for ac_prog in pkg-config
6836 # Extract the first word of "$ac_prog", so it can be a program name with args.
6837 set dummy $ac_prog; ac_word=$2
6838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6840 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6841 echo $ECHO_N "(cached) $ECHO_C" >&6
6842 else
6843 if test -n "$PKG_CONFIG"; then
6844 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6845 else
6846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6847 for as_dir in $PATH
6849 IFS=$as_save_IFS
6850 test -z "$as_dir" && as_dir=.
6851 for ac_exec_ext in '' $ac_executable_extensions; do
6852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6853 ac_cv_prog_PKG_CONFIG="$ac_prog"
6854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6855 break 2
6857 done
6858 done
6859 IFS=$as_save_IFS
6863 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6864 if test -n "$PKG_CONFIG"; then
6865 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6866 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6867 else
6868 { echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6; }
6873 test -n "$PKG_CONFIG" && break
6874 done
6875 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6878 case $host_cpu in
6879 *i[3456789]86*)
6880 # Extract the first word of "prelink", so it can be a program name with args.
6881 set dummy prelink; ac_word=$2
6882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6884 if test "${ac_cv_path_PRELINK+set}" = set; then
6885 echo $ECHO_N "(cached) $ECHO_C" >&6
6886 else
6887 case $PRELINK in
6888 [\\/]* | ?:[\\/]*)
6889 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6893 for as_dir in /sbin /usr/sbin $PATH
6895 IFS=$as_save_IFS
6896 test -z "$as_dir" && as_dir=.
6897 for ac_exec_ext in '' $ac_executable_extensions; do
6898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6899 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6901 break 2
6903 done
6904 done
6905 IFS=$as_save_IFS
6907 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6909 esac
6911 PRELINK=$ac_cv_path_PRELINK
6912 if test -n "$PRELINK"; then
6913 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6914 echo "${ECHO_T}$PRELINK" >&6; }
6915 else
6916 { echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6; }
6922 esac
6926 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6927 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6928 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6929 echo $ECHO_N "(cached) $ECHO_C" >&6
6930 else
6931 ac_check_lib_save_LIBS=$LIBS
6932 LIBS="-li386 $LIBS"
6933 cat >conftest.$ac_ext <<_ACEOF
6934 /* confdefs.h. */
6935 _ACEOF
6936 cat confdefs.h >>conftest.$ac_ext
6937 cat >>conftest.$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6940 /* Override any GCC internal prototype to avoid an error.
6941 Use char because int might match the return type of a GCC
6942 builtin and then its argument prototype would still apply. */
6943 #ifdef __cplusplus
6944 extern "C"
6945 #endif
6946 char i386_set_ldt ();
6948 main ()
6950 return i386_set_ldt ();
6952 return 0;
6954 _ACEOF
6955 rm -f conftest.$ac_objext conftest$ac_exeext
6956 if { (ac_try="$ac_link"
6957 case "(($ac_try" in
6958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6959 *) ac_try_echo=$ac_try;;
6960 esac
6961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6962 (eval "$ac_link") 2>conftest.er1
6963 ac_status=$?
6964 grep -v '^ *+' conftest.er1 >conftest.err
6965 rm -f conftest.er1
6966 cat conftest.err >&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); } &&
6969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6970 { (case "(($ac_try" in
6971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6972 *) ac_try_echo=$ac_try;;
6973 esac
6974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6975 (eval "$ac_try") 2>&5
6976 ac_status=$?
6977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6978 (exit $ac_status); }; } &&
6979 { ac_try='test -s conftest$ac_exeext'
6980 { (case "(($ac_try" in
6981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6982 *) ac_try_echo=$ac_try;;
6983 esac
6984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6985 (eval "$ac_try") 2>&5
6986 ac_status=$?
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); }; }; then
6989 ac_cv_lib_i386_i386_set_ldt=yes
6990 else
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.$ac_ext >&5
6994 ac_cv_lib_i386_i386_set_ldt=no
6997 rm -f core conftest.err conftest.$ac_objext \
6998 conftest$ac_exeext conftest.$ac_ext
6999 LIBS=$ac_check_lib_save_LIBS
7001 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7002 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7003 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7004 cat >>confdefs.h <<_ACEOF
7005 #define HAVE_LIBI386 1
7006 _ACEOF
7008 LIBS="-li386 $LIBS"
7013 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7014 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7015 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7016 echo $ECHO_N "(cached) $ECHO_C" >&6
7017 else
7018 ac_check_lib_save_LIBS=$LIBS
7019 LIBS="-lossaudio $LIBS"
7020 cat >conftest.$ac_ext <<_ACEOF
7021 /* confdefs.h. */
7022 _ACEOF
7023 cat confdefs.h >>conftest.$ac_ext
7024 cat >>conftest.$ac_ext <<_ACEOF
7025 /* end confdefs.h. */
7027 /* Override any GCC internal prototype to avoid an error.
7028 Use char because int might match the return type of a GCC
7029 builtin and then its argument prototype would still apply. */
7030 #ifdef __cplusplus
7031 extern "C"
7032 #endif
7033 char _oss_ioctl ();
7035 main ()
7037 return _oss_ioctl ();
7039 return 0;
7041 _ACEOF
7042 rm -f conftest.$ac_objext conftest$ac_exeext
7043 if { (ac_try="$ac_link"
7044 case "(($ac_try" in
7045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7046 *) ac_try_echo=$ac_try;;
7047 esac
7048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7049 (eval "$ac_link") 2>conftest.er1
7050 ac_status=$?
7051 grep -v '^ *+' conftest.er1 >conftest.err
7052 rm -f conftest.er1
7053 cat conftest.err >&5
7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); } &&
7056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7057 { (case "(($ac_try" in
7058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7059 *) ac_try_echo=$ac_try;;
7060 esac
7061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7062 (eval "$ac_try") 2>&5
7063 ac_status=$?
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); }; } &&
7066 { ac_try='test -s conftest$ac_exeext'
7067 { (case "(($ac_try" in
7068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7069 *) ac_try_echo=$ac_try;;
7070 esac
7071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7072 (eval "$ac_try") 2>&5
7073 ac_status=$?
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); }; }; then
7076 ac_cv_lib_ossaudio__oss_ioctl=yes
7077 else
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.$ac_ext >&5
7081 ac_cv_lib_ossaudio__oss_ioctl=no
7084 rm -f core conftest.err conftest.$ac_objext \
7085 conftest$ac_exeext conftest.$ac_ext
7086 LIBS=$ac_check_lib_save_LIBS
7088 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7089 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7090 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7091 cat >>confdefs.h <<_ACEOF
7092 #define HAVE_LIBOSSAUDIO 1
7093 _ACEOF
7095 LIBS="-lossaudio $LIBS"
7100 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7101 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7102 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7103 echo $ECHO_N "(cached) $ECHO_C" >&6
7104 else
7105 ac_check_lib_save_LIBS=$LIBS
7106 LIBS="-lxpg4 $LIBS"
7107 cat >conftest.$ac_ext <<_ACEOF
7108 /* confdefs.h. */
7109 _ACEOF
7110 cat confdefs.h >>conftest.$ac_ext
7111 cat >>conftest.$ac_ext <<_ACEOF
7112 /* end confdefs.h. */
7114 /* Override any GCC internal prototype to avoid an error.
7115 Use char because int might match the return type of a GCC
7116 builtin and then its argument prototype would still apply. */
7117 #ifdef __cplusplus
7118 extern "C"
7119 #endif
7120 char _xpg4_setrunelocale ();
7122 main ()
7124 return _xpg4_setrunelocale ();
7126 return 0;
7128 _ACEOF
7129 rm -f conftest.$ac_objext conftest$ac_exeext
7130 if { (ac_try="$ac_link"
7131 case "(($ac_try" in
7132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7133 *) ac_try_echo=$ac_try;;
7134 esac
7135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7136 (eval "$ac_link") 2>conftest.er1
7137 ac_status=$?
7138 grep -v '^ *+' conftest.er1 >conftest.err
7139 rm -f conftest.er1
7140 cat conftest.err >&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); } &&
7143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7144 { (case "(($ac_try" in
7145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7146 *) ac_try_echo=$ac_try;;
7147 esac
7148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7149 (eval "$ac_try") 2>&5
7150 ac_status=$?
7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7152 (exit $ac_status); }; } &&
7153 { ac_try='test -s conftest$ac_exeext'
7154 { (case "(($ac_try" in
7155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7156 *) ac_try_echo=$ac_try;;
7157 esac
7158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7159 (eval "$ac_try") 2>&5
7160 ac_status=$?
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); }; }; then
7163 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7164 else
7165 echo "$as_me: failed program was:" >&5
7166 sed 's/^/| /' conftest.$ac_ext >&5
7168 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7171 rm -f core conftest.err conftest.$ac_objext \
7172 conftest$ac_exeext conftest.$ac_ext
7173 LIBS=$ac_check_lib_save_LIBS
7175 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7176 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7177 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7178 cat >>confdefs.h <<_ACEOF
7179 #define HAVE_LIBXPG4 1
7180 _ACEOF
7182 LIBS="-lxpg4 $LIBS"
7186 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7187 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7188 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7189 echo $ECHO_N "(cached) $ECHO_C" >&6
7190 else
7191 ac_check_lib_save_LIBS=$LIBS
7192 LIBS="-lpthread $LIBS"
7193 cat >conftest.$ac_ext <<_ACEOF
7194 /* confdefs.h. */
7195 _ACEOF
7196 cat confdefs.h >>conftest.$ac_ext
7197 cat >>conftest.$ac_ext <<_ACEOF
7198 /* end confdefs.h. */
7200 /* Override any GCC internal prototype to avoid an error.
7201 Use char because int might match the return type of a GCC
7202 builtin and then its argument prototype would still apply. */
7203 #ifdef __cplusplus
7204 extern "C"
7205 #endif
7206 char pthread_create ();
7208 main ()
7210 return pthread_create ();
7212 return 0;
7214 _ACEOF
7215 rm -f conftest.$ac_objext conftest$ac_exeext
7216 if { (ac_try="$ac_link"
7217 case "(($ac_try" in
7218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7219 *) ac_try_echo=$ac_try;;
7220 esac
7221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7222 (eval "$ac_link") 2>conftest.er1
7223 ac_status=$?
7224 grep -v '^ *+' conftest.er1 >conftest.err
7225 rm -f conftest.er1
7226 cat conftest.err >&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); } &&
7229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7230 { (case "(($ac_try" in
7231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7232 *) ac_try_echo=$ac_try;;
7233 esac
7234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7235 (eval "$ac_try") 2>&5
7236 ac_status=$?
7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7238 (exit $ac_status); }; } &&
7239 { ac_try='test -s conftest$ac_exeext'
7240 { (case "(($ac_try" in
7241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7242 *) ac_try_echo=$ac_try;;
7243 esac
7244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7245 (eval "$ac_try") 2>&5
7246 ac_status=$?
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); }; }; then
7249 ac_cv_lib_pthread_pthread_create=yes
7250 else
7251 echo "$as_me: failed program was:" >&5
7252 sed 's/^/| /' conftest.$ac_ext >&5
7254 ac_cv_lib_pthread_pthread_create=no
7257 rm -f core conftest.err conftest.$ac_objext \
7258 conftest$ac_exeext conftest.$ac_ext
7259 LIBS=$ac_check_lib_save_LIBS
7261 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7262 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7263 if test $ac_cv_lib_pthread_pthread_create = yes; then
7264 LIBPTHREAD="-lpthread"
7269 XLIB=""
7271 XFILES=""
7273 OPENGLFILES=""
7275 GLU32FILES=""
7277 OPENGL_LIBS=""
7281 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7282 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7283 if test "${ac_cv_header_stdc+set}" = set; then
7284 echo $ECHO_N "(cached) $ECHO_C" >&6
7285 else
7286 cat >conftest.$ac_ext <<_ACEOF
7287 /* confdefs.h. */
7288 _ACEOF
7289 cat confdefs.h >>conftest.$ac_ext
7290 cat >>conftest.$ac_ext <<_ACEOF
7291 /* end confdefs.h. */
7292 #include <stdlib.h>
7293 #include <stdarg.h>
7294 #include <string.h>
7295 #include <float.h>
7298 main ()
7302 return 0;
7304 _ACEOF
7305 rm -f conftest.$ac_objext
7306 if { (ac_try="$ac_compile"
7307 case "(($ac_try" in
7308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7309 *) ac_try_echo=$ac_try;;
7310 esac
7311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7312 (eval "$ac_compile") 2>conftest.er1
7313 ac_status=$?
7314 grep -v '^ *+' conftest.er1 >conftest.err
7315 rm -f conftest.er1
7316 cat conftest.err >&5
7317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7318 (exit $ac_status); } &&
7319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7320 { (case "(($ac_try" in
7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;;
7323 esac
7324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 (eval "$ac_try") 2>&5
7326 ac_status=$?
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); }; } &&
7329 { ac_try='test -s conftest.$ac_objext'
7330 { (case "(($ac_try" in
7331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7332 *) ac_try_echo=$ac_try;;
7333 esac
7334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7335 (eval "$ac_try") 2>&5
7336 ac_status=$?
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); }; }; then
7339 ac_cv_header_stdc=yes
7340 else
7341 echo "$as_me: failed program was:" >&5
7342 sed 's/^/| /' conftest.$ac_ext >&5
7344 ac_cv_header_stdc=no
7347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7349 if test $ac_cv_header_stdc = yes; then
7350 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7351 cat >conftest.$ac_ext <<_ACEOF
7352 /* confdefs.h. */
7353 _ACEOF
7354 cat confdefs.h >>conftest.$ac_ext
7355 cat >>conftest.$ac_ext <<_ACEOF
7356 /* end confdefs.h. */
7357 #include <string.h>
7359 _ACEOF
7360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7361 $EGREP "memchr" >/dev/null 2>&1; then
7363 else
7364 ac_cv_header_stdc=no
7366 rm -f conftest*
7370 if test $ac_cv_header_stdc = yes; then
7371 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7372 cat >conftest.$ac_ext <<_ACEOF
7373 /* confdefs.h. */
7374 _ACEOF
7375 cat confdefs.h >>conftest.$ac_ext
7376 cat >>conftest.$ac_ext <<_ACEOF
7377 /* end confdefs.h. */
7378 #include <stdlib.h>
7380 _ACEOF
7381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7382 $EGREP "free" >/dev/null 2>&1; then
7384 else
7385 ac_cv_header_stdc=no
7387 rm -f conftest*
7391 if test $ac_cv_header_stdc = yes; then
7392 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7393 if test "$cross_compiling" = yes; then
7395 else
7396 cat >conftest.$ac_ext <<_ACEOF
7397 /* confdefs.h. */
7398 _ACEOF
7399 cat confdefs.h >>conftest.$ac_ext
7400 cat >>conftest.$ac_ext <<_ACEOF
7401 /* end confdefs.h. */
7402 #include <ctype.h>
7403 #include <stdlib.h>
7404 #if ((' ' & 0x0FF) == 0x020)
7405 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7406 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7407 #else
7408 # define ISLOWER(c) \
7409 (('a' <= (c) && (c) <= 'i') \
7410 || ('j' <= (c) && (c) <= 'r') \
7411 || ('s' <= (c) && (c) <= 'z'))
7412 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7413 #endif
7415 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7417 main ()
7419 int i;
7420 for (i = 0; i < 256; i++)
7421 if (XOR (islower (i), ISLOWER (i))
7422 || toupper (i) != TOUPPER (i))
7423 return 2;
7424 return 0;
7426 _ACEOF
7427 rm -f conftest$ac_exeext
7428 if { (ac_try="$ac_link"
7429 case "(($ac_try" in
7430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7431 *) ac_try_echo=$ac_try;;
7432 esac
7433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7434 (eval "$ac_link") 2>&5
7435 ac_status=$?
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7438 { (case "(($ac_try" in
7439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7440 *) ac_try_echo=$ac_try;;
7441 esac
7442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7443 (eval "$ac_try") 2>&5
7444 ac_status=$?
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); }; }; then
7448 else
7449 echo "$as_me: program exited with status $ac_status" >&5
7450 echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.$ac_ext >&5
7453 ( exit $ac_status )
7454 ac_cv_header_stdc=no
7456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7462 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7463 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7464 if test $ac_cv_header_stdc = yes; then
7466 cat >>confdefs.h <<\_ACEOF
7467 #define STDC_HEADERS 1
7468 _ACEOF
7472 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7482 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7483 inttypes.h stdint.h unistd.h
7485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7486 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7489 echo $ECHO_N "(cached) $ECHO_C" >&6
7490 else
7491 cat >conftest.$ac_ext <<_ACEOF
7492 /* confdefs.h. */
7493 _ACEOF
7494 cat confdefs.h >>conftest.$ac_ext
7495 cat >>conftest.$ac_ext <<_ACEOF
7496 /* end confdefs.h. */
7497 $ac_includes_default
7499 #include <$ac_header>
7500 _ACEOF
7501 rm -f conftest.$ac_objext
7502 if { (ac_try="$ac_compile"
7503 case "(($ac_try" in
7504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7505 *) ac_try_echo=$ac_try;;
7506 esac
7507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7508 (eval "$ac_compile") 2>conftest.er1
7509 ac_status=$?
7510 grep -v '^ *+' conftest.er1 >conftest.err
7511 rm -f conftest.er1
7512 cat conftest.err >&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); } &&
7515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7516 { (case "(($ac_try" in
7517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7518 *) ac_try_echo=$ac_try;;
7519 esac
7520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7521 (eval "$ac_try") 2>&5
7522 ac_status=$?
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); }; } &&
7525 { ac_try='test -s conftest.$ac_objext'
7526 { (case "(($ac_try" in
7527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7528 *) ac_try_echo=$ac_try;;
7529 esac
7530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7531 (eval "$ac_try") 2>&5
7532 ac_status=$?
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 (exit $ac_status); }; }; then
7535 eval "$as_ac_Header=yes"
7536 else
7537 echo "$as_me: failed program was:" >&5
7538 sed 's/^/| /' conftest.$ac_ext >&5
7540 eval "$as_ac_Header=no"
7543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7545 ac_res=`eval echo '${'$as_ac_Header'}'`
7546 { echo "$as_me:$LINENO: result: $ac_res" >&5
7547 echo "${ECHO_T}$ac_res" >&6; }
7548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7549 cat >>confdefs.h <<_ACEOF
7550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7551 _ACEOF
7555 done
7666 for ac_header in \
7667 AudioUnit/AudioUnit.h \
7668 CoreAudio/CoreAudio.h \
7669 IOKit/IOKitLib.h \
7670 alsa/asoundlib.h \
7671 arpa/inet.h \
7672 arpa/nameser.h \
7673 asm/types.h \
7674 capi20.h \
7675 cups/cups.h \
7676 curses.h \
7677 direct.h \
7678 dlfcn.h \
7679 elf.h \
7680 float.h \
7681 fontconfig/fontconfig.h \
7682 getopt.h \
7683 gif_lib.h \
7684 ieeefp.h \
7685 io.h \
7686 jack/jack.h \
7687 jpeglib.h \
7688 lber.h \
7689 lcms.h \
7690 lcms/lcms.h \
7691 ldap.h \
7692 libaudioio.h \
7693 link.h \
7694 linux/cdrom.h \
7695 linux/compiler.h \
7696 linux/hdreg.h \
7697 linux/input.h \
7698 linux/ioctl.h \
7699 linux/joystick.h \
7700 linux/major.h \
7701 linux/param.h \
7702 linux/serial.h \
7703 linux/ucdrom.h \
7704 mach/machine.h \
7705 machine/cpu.h \
7706 machine/limits.h \
7707 machine/soundcard.h \
7708 mntent.h \
7709 ncurses.h \
7710 netdb.h \
7711 netinet/in.h \
7712 netinet/in_systm.h \
7713 netinet/tcp.h \
7714 netinet/tcp_fsm.h \
7715 openssl/err.h \
7716 openssl/ssl.h \
7717 poll.h \
7718 process.h \
7719 pthread.h \
7720 pthread_np.h \
7721 pwd.h \
7722 regex.h \
7723 sched.h \
7724 scsi/scsi.h \
7725 scsi/scsi_ioctl.h \
7726 scsi/sg.h \
7727 soundcard.h \
7728 stdint.h \
7729 strings.h \
7730 sys/asoundlib.h \
7731 sys/cdio.h \
7732 sys/elf32.h \
7733 sys/epoll.h \
7734 sys/errno.h \
7735 sys/event.h \
7736 sys/exec_elf.h \
7737 sys/filio.h \
7738 sys/ioctl.h \
7739 sys/ipc.h \
7740 sys/limits.h \
7741 sys/link.h \
7742 sys/lwp.h \
7743 sys/mman.h \
7744 sys/modem.h \
7745 sys/msg.h \
7746 sys/mtio.h \
7747 sys/param.h \
7748 sys/poll.h \
7749 sys/prctl.h \
7750 sys/ptrace.h \
7751 sys/reg.h \
7752 sys/resource.h \
7753 sys/scsiio.h \
7754 sys/shm.h \
7755 sys/signal.h \
7756 sys/socket.h \
7757 sys/sockio.h \
7758 sys/soundcard.h \
7759 sys/statvfs.h \
7760 sys/strtio.h \
7761 sys/syscall.h \
7762 sys/sysctl.h \
7763 sys/time.h \
7764 sys/times.h \
7765 sys/uio.h \
7766 sys/un.h \
7767 sys/vm86.h \
7768 sys/wait.h \
7769 syscall.h \
7770 termios.h \
7771 unicode/ubidi.h \
7772 unistd.h \
7773 utime.h \
7774 valgrind/memcheck.h
7777 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7778 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7779 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7782 echo $ECHO_N "(cached) $ECHO_C" >&6
7784 ac_res=`eval echo '${'$as_ac_Header'}'`
7785 { echo "$as_me:$LINENO: result: $ac_res" >&5
7786 echo "${ECHO_T}$ac_res" >&6; }
7787 else
7788 # Is the header compilable?
7789 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7791 cat >conftest.$ac_ext <<_ACEOF
7792 /* confdefs.h. */
7793 _ACEOF
7794 cat confdefs.h >>conftest.$ac_ext
7795 cat >>conftest.$ac_ext <<_ACEOF
7796 /* end confdefs.h. */
7797 $ac_includes_default
7798 #include <$ac_header>
7799 _ACEOF
7800 rm -f conftest.$ac_objext
7801 if { (ac_try="$ac_compile"
7802 case "(($ac_try" in
7803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7804 *) ac_try_echo=$ac_try;;
7805 esac
7806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7807 (eval "$ac_compile") 2>conftest.er1
7808 ac_status=$?
7809 grep -v '^ *+' conftest.er1 >conftest.err
7810 rm -f conftest.er1
7811 cat conftest.err >&5
7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813 (exit $ac_status); } &&
7814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7815 { (case "(($ac_try" in
7816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7817 *) ac_try_echo=$ac_try;;
7818 esac
7819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7820 (eval "$ac_try") 2>&5
7821 ac_status=$?
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); }; } &&
7824 { ac_try='test -s conftest.$ac_objext'
7825 { (case "(($ac_try" in
7826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7827 *) ac_try_echo=$ac_try;;
7828 esac
7829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7830 (eval "$ac_try") 2>&5
7831 ac_status=$?
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); }; }; then
7834 ac_header_compiler=yes
7835 else
7836 echo "$as_me: failed program was:" >&5
7837 sed 's/^/| /' conftest.$ac_ext >&5
7839 ac_header_compiler=no
7842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7843 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7844 echo "${ECHO_T}$ac_header_compiler" >&6; }
7846 # Is the header present?
7847 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7848 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7849 cat >conftest.$ac_ext <<_ACEOF
7850 /* confdefs.h. */
7851 _ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
7854 /* end confdefs.h. */
7855 #include <$ac_header>
7856 _ACEOF
7857 if { (ac_try="$ac_cpp conftest.$ac_ext"
7858 case "(($ac_try" in
7859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7860 *) ac_try_echo=$ac_try;;
7861 esac
7862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7864 ac_status=$?
7865 grep -v '^ *+' conftest.er1 >conftest.err
7866 rm -f conftest.er1
7867 cat conftest.err >&5
7868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 (exit $ac_status); } >/dev/null; then
7870 if test -s conftest.err; then
7871 ac_cpp_err=$ac_c_preproc_warn_flag
7872 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7873 else
7874 ac_cpp_err=
7876 else
7877 ac_cpp_err=yes
7879 if test -z "$ac_cpp_err"; then
7880 ac_header_preproc=yes
7881 else
7882 echo "$as_me: failed program was:" >&5
7883 sed 's/^/| /' conftest.$ac_ext >&5
7885 ac_header_preproc=no
7888 rm -f conftest.err conftest.$ac_ext
7889 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7890 echo "${ECHO_T}$ac_header_preproc" >&6; }
7892 # So? What about this header?
7893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7894 yes:no: )
7895 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7898 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7899 ac_header_preproc=yes
7901 no:yes:* )
7902 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7904 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7905 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7906 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7907 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7908 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7909 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7912 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7913 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7914 ( cat <<\_ASBOX
7915 ## ------------------------------------ ##
7916 ## Report this to wine-devel@winehq.org ##
7917 ## ------------------------------------ ##
7918 _ASBOX
7919 ) | sed "s/^/$as_me: WARNING: /" >&2
7921 esac
7922 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7924 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7925 echo $ECHO_N "(cached) $ECHO_C" >&6
7926 else
7927 eval "$as_ac_Header=\$ac_header_preproc"
7929 ac_res=`eval echo '${'$as_ac_Header'}'`
7930 { echo "$as_me:$LINENO: result: $ac_res" >&5
7931 echo "${ECHO_T}$ac_res" >&6; }
7934 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7935 cat >>confdefs.h <<_ACEOF
7936 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7937 _ACEOF
7941 done
7943 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7944 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7945 if test "${ac_cv_header_stat_broken+set}" = set; then
7946 echo $ECHO_N "(cached) $ECHO_C" >&6
7947 else
7948 cat >conftest.$ac_ext <<_ACEOF
7949 /* confdefs.h. */
7950 _ACEOF
7951 cat confdefs.h >>conftest.$ac_ext
7952 cat >>conftest.$ac_ext <<_ACEOF
7953 /* end confdefs.h. */
7954 #include <sys/types.h>
7955 #include <sys/stat.h>
7957 #if defined S_ISBLK && defined S_IFDIR
7958 # if S_ISBLK (S_IFDIR)
7959 You lose.
7960 # endif
7961 #endif
7963 #if defined S_ISBLK && defined S_IFCHR
7964 # if S_ISBLK (S_IFCHR)
7965 You lose.
7966 # endif
7967 #endif
7969 #if defined S_ISLNK && defined S_IFREG
7970 # if S_ISLNK (S_IFREG)
7971 You lose.
7972 # endif
7973 #endif
7975 #if defined S_ISSOCK && defined S_IFREG
7976 # if S_ISSOCK (S_IFREG)
7977 You lose.
7978 # endif
7979 #endif
7981 _ACEOF
7982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7983 $EGREP "You lose" >/dev/null 2>&1; then
7984 ac_cv_header_stat_broken=yes
7985 else
7986 ac_cv_header_stat_broken=no
7988 rm -f conftest*
7991 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7992 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7993 if test $ac_cv_header_stat_broken = yes; then
7995 cat >>confdefs.h <<\_ACEOF
7996 #define STAT_MACROS_BROKEN 1
7997 _ACEOF
8007 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8010 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8013 echo $ECHO_N "(cached) $ECHO_C" >&6
8014 else
8015 cat >conftest.$ac_ext <<_ACEOF
8016 /* confdefs.h. */
8017 _ACEOF
8018 cat confdefs.h >>conftest.$ac_ext
8019 cat >>conftest.$ac_ext <<_ACEOF
8020 /* end confdefs.h. */
8021 #include <sys/types.h>
8022 #if HAVE_SYS_PARAM_H
8023 # include <sys/param.h>
8024 #endif
8026 #include <$ac_header>
8027 _ACEOF
8028 rm -f conftest.$ac_objext
8029 if { (ac_try="$ac_compile"
8030 case "(($ac_try" in
8031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8032 *) ac_try_echo=$ac_try;;
8033 esac
8034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8035 (eval "$ac_compile") 2>conftest.er1
8036 ac_status=$?
8037 grep -v '^ *+' conftest.er1 >conftest.err
8038 rm -f conftest.er1
8039 cat conftest.err >&5
8040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8041 (exit $ac_status); } &&
8042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8043 { (case "(($ac_try" in
8044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8045 *) ac_try_echo=$ac_try;;
8046 esac
8047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8048 (eval "$ac_try") 2>&5
8049 ac_status=$?
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); }; } &&
8052 { ac_try='test -s conftest.$ac_objext'
8053 { (case "(($ac_try" in
8054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8055 *) ac_try_echo=$ac_try;;
8056 esac
8057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8058 (eval "$ac_try") 2>&5
8059 ac_status=$?
8060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061 (exit $ac_status); }; }; then
8062 eval "$as_ac_Header=yes"
8063 else
8064 echo "$as_me: failed program was:" >&5
8065 sed 's/^/| /' conftest.$ac_ext >&5
8067 eval "$as_ac_Header=no"
8070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8072 ac_res=`eval echo '${'$as_ac_Header'}'`
8073 { echo "$as_me:$LINENO: result: $ac_res" >&5
8074 echo "${ECHO_T}$ac_res" >&6; }
8075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8076 cat >>confdefs.h <<_ACEOF
8077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8078 _ACEOF
8082 done
8091 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
8093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8097 echo $ECHO_N "(cached) $ECHO_C" >&6
8098 else
8099 cat >conftest.$ac_ext <<_ACEOF
8100 /* confdefs.h. */
8101 _ACEOF
8102 cat confdefs.h >>conftest.$ac_ext
8103 cat >>conftest.$ac_ext <<_ACEOF
8104 /* end confdefs.h. */
8105 #include <sys/types.h>
8106 #if HAVE_SYS_SOCKET_H
8107 # include <sys/socket.h>
8108 #endif
8110 #include <$ac_header>
8111 _ACEOF
8112 rm -f conftest.$ac_objext
8113 if { (ac_try="$ac_compile"
8114 case "(($ac_try" in
8115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8116 *) ac_try_echo=$ac_try;;
8117 esac
8118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8119 (eval "$ac_compile") 2>conftest.er1
8120 ac_status=$?
8121 grep -v '^ *+' conftest.er1 >conftest.err
8122 rm -f conftest.er1
8123 cat conftest.err >&5
8124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 (exit $ac_status); } &&
8126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8127 { (case "(($ac_try" in
8128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8129 *) ac_try_echo=$ac_try;;
8130 esac
8131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8132 (eval "$ac_try") 2>&5
8133 ac_status=$?
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); }; } &&
8136 { ac_try='test -s conftest.$ac_objext'
8137 { (case "(($ac_try" in
8138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8139 *) ac_try_echo=$ac_try;;
8140 esac
8141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8142 (eval "$ac_try") 2>&5
8143 ac_status=$?
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); }; }; then
8146 eval "$as_ac_Header=yes"
8147 else
8148 echo "$as_me: failed program was:" >&5
8149 sed 's/^/| /' conftest.$ac_ext >&5
8151 eval "$as_ac_Header=no"
8154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8156 ac_res=`eval echo '${'$as_ac_Header'}'`
8157 { echo "$as_me:$LINENO: result: $ac_res" >&5
8158 echo "${ECHO_T}$ac_res" >&6; }
8159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8160 cat >>confdefs.h <<_ACEOF
8161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8162 _ACEOF
8166 done
8170 for ac_header in linux/ipx.h
8172 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8173 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8176 echo $ECHO_N "(cached) $ECHO_C" >&6
8177 else
8178 cat >conftest.$ac_ext <<_ACEOF
8179 /* confdefs.h. */
8180 _ACEOF
8181 cat confdefs.h >>conftest.$ac_ext
8182 cat >>conftest.$ac_ext <<_ACEOF
8183 /* end confdefs.h. */
8184 #include <sys/types.h>
8185 #ifdef HAVE_ASM_TYPES_H
8186 # include <asm/types.h>
8187 #endif
8188 #if HAVE_SYS_SOCKET_H
8189 # include <sys/socket.h>
8190 #endif
8192 #include <$ac_header>
8193 _ACEOF
8194 rm -f conftest.$ac_objext
8195 if { (ac_try="$ac_compile"
8196 case "(($ac_try" in
8197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8198 *) ac_try_echo=$ac_try;;
8199 esac
8200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8201 (eval "$ac_compile") 2>conftest.er1
8202 ac_status=$?
8203 grep -v '^ *+' conftest.er1 >conftest.err
8204 rm -f conftest.er1
8205 cat conftest.err >&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); } &&
8208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8209 { (case "(($ac_try" in
8210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8211 *) ac_try_echo=$ac_try;;
8212 esac
8213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8214 (eval "$ac_try") 2>&5
8215 ac_status=$?
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); }; } &&
8218 { ac_try='test -s conftest.$ac_objext'
8219 { (case "(($ac_try" in
8220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8221 *) ac_try_echo=$ac_try;;
8222 esac
8223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8224 (eval "$ac_try") 2>&5
8225 ac_status=$?
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); }; }; then
8228 eval "$as_ac_Header=yes"
8229 else
8230 echo "$as_me: failed program was:" >&5
8231 sed 's/^/| /' conftest.$ac_ext >&5
8233 eval "$as_ac_Header=no"
8236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8238 ac_res=`eval echo '${'$as_ac_Header'}'`
8239 { echo "$as_me:$LINENO: result: $ac_res" >&5
8240 echo "${ECHO_T}$ac_res" >&6; }
8241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8242 cat >>confdefs.h <<_ACEOF
8243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8244 _ACEOF
8248 done
8252 for ac_header in resolv.h
8254 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8255 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8257 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8258 echo $ECHO_N "(cached) $ECHO_C" >&6
8259 else
8260 cat >conftest.$ac_ext <<_ACEOF
8261 /* confdefs.h. */
8262 _ACEOF
8263 cat confdefs.h >>conftest.$ac_ext
8264 cat >>conftest.$ac_ext <<_ACEOF
8265 /* end confdefs.h. */
8266 #include <sys/types.h>
8267 #if HAVE_SYS_SOCKET_H
8268 # include <sys/socket.h>
8269 #endif
8270 #if HAVE_NETINET_IN_H
8271 # include <netinet/in.h>
8272 #endif
8273 #if HAVE_ARPA_NAMESER_H
8274 # include <arpa/nameser.h>
8275 #endif
8277 #include <$ac_header>
8278 _ACEOF
8279 rm -f conftest.$ac_objext
8280 if { (ac_try="$ac_compile"
8281 case "(($ac_try" in
8282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8283 *) ac_try_echo=$ac_try;;
8284 esac
8285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8286 (eval "$ac_compile") 2>conftest.er1
8287 ac_status=$?
8288 grep -v '^ *+' conftest.er1 >conftest.err
8289 rm -f conftest.er1
8290 cat conftest.err >&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); } &&
8293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8294 { (case "(($ac_try" in
8295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8296 *) ac_try_echo=$ac_try;;
8297 esac
8298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8299 (eval "$ac_try") 2>&5
8300 ac_status=$?
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); }; } &&
8303 { ac_try='test -s conftest.$ac_objext'
8304 { (case "(($ac_try" in
8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8306 *) ac_try_echo=$ac_try;;
8307 esac
8308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8309 (eval "$ac_try") 2>&5
8310 ac_status=$?
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); }; }; then
8313 eval "$as_ac_Header=yes"
8314 else
8315 echo "$as_me: failed program was:" >&5
8316 sed 's/^/| /' conftest.$ac_ext >&5
8318 eval "$as_ac_Header=no"
8321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8323 ac_res=`eval echo '${'$as_ac_Header'}'`
8324 { echo "$as_me:$LINENO: result: $ac_res" >&5
8325 echo "${ECHO_T}$ac_res" >&6; }
8326 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8327 cat >>confdefs.h <<_ACEOF
8328 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8329 _ACEOF
8333 done
8337 for ac_header in ucontext.h
8339 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8340 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8342 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8343 echo $ECHO_N "(cached) $ECHO_C" >&6
8344 else
8345 cat >conftest.$ac_ext <<_ACEOF
8346 /* confdefs.h. */
8347 _ACEOF
8348 cat confdefs.h >>conftest.$ac_ext
8349 cat >>conftest.$ac_ext <<_ACEOF
8350 /* end confdefs.h. */
8351 #include <signal.h>
8353 #include <$ac_header>
8354 _ACEOF
8355 rm -f conftest.$ac_objext
8356 if { (ac_try="$ac_compile"
8357 case "(($ac_try" in
8358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8359 *) ac_try_echo=$ac_try;;
8360 esac
8361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8362 (eval "$ac_compile") 2>conftest.er1
8363 ac_status=$?
8364 grep -v '^ *+' conftest.er1 >conftest.err
8365 rm -f conftest.er1
8366 cat conftest.err >&5
8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); } &&
8369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8370 { (case "(($ac_try" in
8371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8372 *) ac_try_echo=$ac_try;;
8373 esac
8374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8375 (eval "$ac_try") 2>&5
8376 ac_status=$?
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); }; } &&
8379 { ac_try='test -s conftest.$ac_objext'
8380 { (case "(($ac_try" in
8381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8382 *) ac_try_echo=$ac_try;;
8383 esac
8384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8385 (eval "$ac_try") 2>&5
8386 ac_status=$?
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); }; }; then
8389 eval "$as_ac_Header=yes"
8390 else
8391 echo "$as_me: failed program was:" >&5
8392 sed 's/^/| /' conftest.$ac_ext >&5
8394 eval "$as_ac_Header=no"
8397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8399 ac_res=`eval echo '${'$as_ac_Header'}'`
8400 { echo "$as_me:$LINENO: result: $ac_res" >&5
8401 echo "${ECHO_T}$ac_res" >&6; }
8402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8403 cat >>confdefs.h <<_ACEOF
8404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8405 _ACEOF
8409 done
8413 for ac_header in linux/videodev.h
8415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8416 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8419 echo $ECHO_N "(cached) $ECHO_C" >&6
8420 else
8421 cat >conftest.$ac_ext <<_ACEOF
8422 /* confdefs.h. */
8423 _ACEOF
8424 cat confdefs.h >>conftest.$ac_ext
8425 cat >>conftest.$ac_ext <<_ACEOF
8426 /* end confdefs.h. */
8427 #ifdef HAVE_SYS_TIME_H
8428 #include <sys/time.h>
8429 #endif
8430 #include <sys/types.h>
8431 #ifdef HAVE_ASM_TYPES_H
8432 #include <asm/types.h>
8433 #endif
8435 #include <$ac_header>
8436 _ACEOF
8437 rm -f conftest.$ac_objext
8438 if { (ac_try="$ac_compile"
8439 case "(($ac_try" in
8440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8441 *) ac_try_echo=$ac_try;;
8442 esac
8443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8444 (eval "$ac_compile") 2>conftest.er1
8445 ac_status=$?
8446 grep -v '^ *+' conftest.er1 >conftest.err
8447 rm -f conftest.er1
8448 cat conftest.err >&5
8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 (exit $ac_status); } &&
8451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8452 { (case "(($ac_try" in
8453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8454 *) ac_try_echo=$ac_try;;
8455 esac
8456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8457 (eval "$ac_try") 2>&5
8458 ac_status=$?
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); }; } &&
8461 { ac_try='test -s conftest.$ac_objext'
8462 { (case "(($ac_try" in
8463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8464 *) ac_try_echo=$ac_try;;
8465 esac
8466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8467 (eval "$ac_try") 2>&5
8468 ac_status=$?
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); }; }; then
8471 eval "$as_ac_Header=yes"
8472 else
8473 echo "$as_me: failed program was:" >&5
8474 sed 's/^/| /' conftest.$ac_ext >&5
8476 eval "$as_ac_Header=no"
8479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8481 ac_res=`eval echo '${'$as_ac_Header'}'`
8482 { echo "$as_me:$LINENO: result: $ac_res" >&5
8483 echo "${ECHO_T}$ac_res" >&6; }
8484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8485 cat >>confdefs.h <<_ACEOF
8486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8487 _ACEOF
8491 done
8495 for ac_header in linux/capi.h
8497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8498 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8501 echo $ECHO_N "(cached) $ECHO_C" >&6
8502 else
8503 cat >conftest.$ac_ext <<_ACEOF
8504 /* confdefs.h. */
8505 _ACEOF
8506 cat confdefs.h >>conftest.$ac_ext
8507 cat >>conftest.$ac_ext <<_ACEOF
8508 /* end confdefs.h. */
8509 #define __user
8511 #include <$ac_header>
8512 _ACEOF
8513 rm -f conftest.$ac_objext
8514 if { (ac_try="$ac_compile"
8515 case "(($ac_try" in
8516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8517 *) ac_try_echo=$ac_try;;
8518 esac
8519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8520 (eval "$ac_compile") 2>conftest.er1
8521 ac_status=$?
8522 grep -v '^ *+' conftest.er1 >conftest.err
8523 rm -f conftest.er1
8524 cat conftest.err >&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); } &&
8527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8528 { (case "(($ac_try" in
8529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8530 *) ac_try_echo=$ac_try;;
8531 esac
8532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8533 (eval "$ac_try") 2>&5
8534 ac_status=$?
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; } &&
8537 { ac_try='test -s conftest.$ac_objext'
8538 { (case "(($ac_try" in
8539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8540 *) ac_try_echo=$ac_try;;
8541 esac
8542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8543 (eval "$ac_try") 2>&5
8544 ac_status=$?
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); }; }; then
8547 eval "$as_ac_Header=yes"
8548 else
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.$ac_ext >&5
8552 eval "$as_ac_Header=no"
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 ac_res=`eval echo '${'$as_ac_Header'}'`
8558 { echo "$as_me:$LINENO: result: $ac_res" >&5
8559 echo "${ECHO_T}$ac_res" >&6; }
8560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8561 cat >>confdefs.h <<_ACEOF
8562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8563 _ACEOF
8567 done
8571 if test "$have_x" = "yes"
8572 then
8573 XLIB="-lXext -lX11"
8574 ac_save_CPPFLAGS="$CPPFLAGS"
8575 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8586 for ac_header in X11/Xlib.h \
8587 X11/XKBlib.h \
8588 X11/Xutil.h \
8589 X11/extensions/shape.h \
8590 X11/extensions/XInput.h \
8591 X11/extensions/XShm.h \
8592 X11/extensions/Xrandr.h \
8593 X11/extensions/Xrender.h \
8594 X11/extensions/xf86vmode.h
8596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8597 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8599 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8600 echo $ECHO_N "(cached) $ECHO_C" >&6
8601 else
8602 cat >conftest.$ac_ext <<_ACEOF
8603 /* confdefs.h. */
8604 _ACEOF
8605 cat confdefs.h >>conftest.$ac_ext
8606 cat >>conftest.$ac_ext <<_ACEOF
8607 /* end confdefs.h. */
8608 #ifdef HAVE_X11_XLIB_H
8609 # include <X11/Xlib.h>
8610 #endif
8611 #ifdef HAVE_X11_XUTIL_H
8612 # include <X11/Xutil.h>
8613 #endif
8615 #include <$ac_header>
8616 _ACEOF
8617 rm -f conftest.$ac_objext
8618 if { (ac_try="$ac_compile"
8619 case "(($ac_try" in
8620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8621 *) ac_try_echo=$ac_try;;
8622 esac
8623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8624 (eval "$ac_compile") 2>conftest.er1
8625 ac_status=$?
8626 grep -v '^ *+' conftest.er1 >conftest.err
8627 rm -f conftest.er1
8628 cat conftest.err >&5
8629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630 (exit $ac_status); } &&
8631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8632 { (case "(($ac_try" in
8633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8634 *) ac_try_echo=$ac_try;;
8635 esac
8636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8637 (eval "$ac_try") 2>&5
8638 ac_status=$?
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; } &&
8641 { ac_try='test -s conftest.$ac_objext'
8642 { (case "(($ac_try" in
8643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8644 *) ac_try_echo=$ac_try;;
8645 esac
8646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8647 (eval "$ac_try") 2>&5
8648 ac_status=$?
8649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8650 (exit $ac_status); }; }; then
8651 eval "$as_ac_Header=yes"
8652 else
8653 echo "$as_me: failed program was:" >&5
8654 sed 's/^/| /' conftest.$ac_ext >&5
8656 eval "$as_ac_Header=no"
8659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8661 ac_res=`eval echo '${'$as_ac_Header'}'`
8662 { echo "$as_me:$LINENO: result: $ac_res" >&5
8663 echo "${ECHO_T}$ac_res" >&6; }
8664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8665 cat >>confdefs.h <<_ACEOF
8666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8667 _ACEOF
8671 done
8674 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8675 then
8676 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8677 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8678 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8679 echo $ECHO_N "(cached) $ECHO_C" >&6
8680 else
8681 ac_check_lib_save_LIBS=$LIBS
8682 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8683 cat >conftest.$ac_ext <<_ACEOF
8684 /* confdefs.h. */
8685 _ACEOF
8686 cat confdefs.h >>conftest.$ac_ext
8687 cat >>conftest.$ac_ext <<_ACEOF
8688 /* end confdefs.h. */
8690 /* Override any GCC internal prototype to avoid an error.
8691 Use char because int might match the return type of a GCC
8692 builtin and then its argument prototype would still apply. */
8693 #ifdef __cplusplus
8694 extern "C"
8695 #endif
8696 char XkbQueryExtension ();
8698 main ()
8700 return XkbQueryExtension ();
8702 return 0;
8704 _ACEOF
8705 rm -f conftest.$ac_objext conftest$ac_exeext
8706 if { (ac_try="$ac_link"
8707 case "(($ac_try" in
8708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8709 *) ac_try_echo=$ac_try;;
8710 esac
8711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8712 (eval "$ac_link") 2>conftest.er1
8713 ac_status=$?
8714 grep -v '^ *+' conftest.er1 >conftest.err
8715 rm -f conftest.er1
8716 cat conftest.err >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } &&
8719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8720 { (case "(($ac_try" in
8721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8722 *) ac_try_echo=$ac_try;;
8723 esac
8724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8725 (eval "$ac_try") 2>&5
8726 ac_status=$?
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; } &&
8729 { ac_try='test -s conftest$ac_exeext'
8730 { (case "(($ac_try" in
8731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8732 *) ac_try_echo=$ac_try;;
8733 esac
8734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8735 (eval "$ac_try") 2>&5
8736 ac_status=$?
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); }; }; then
8739 ac_cv_lib_X11_XkbQueryExtension=yes
8740 else
8741 echo "$as_me: failed program was:" >&5
8742 sed 's/^/| /' conftest.$ac_ext >&5
8744 ac_cv_lib_X11_XkbQueryExtension=no
8747 rm -f core conftest.err conftest.$ac_objext \
8748 conftest$ac_exeext conftest.$ac_ext
8749 LIBS=$ac_check_lib_save_LIBS
8751 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8752 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8753 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8755 cat >>confdefs.h <<\_ACEOF
8756 #define HAVE_XKB 1
8757 _ACEOF
8763 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8764 then
8765 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8766 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8767 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8768 echo $ECHO_N "(cached) $ECHO_C" >&6
8769 else
8770 ac_check_lib_save_LIBS=$LIBS
8771 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8772 cat >conftest.$ac_ext <<_ACEOF
8773 /* confdefs.h. */
8774 _ACEOF
8775 cat confdefs.h >>conftest.$ac_ext
8776 cat >>conftest.$ac_ext <<_ACEOF
8777 /* end confdefs.h. */
8779 /* Override any GCC internal prototype to avoid an error.
8780 Use char because int might match the return type of a GCC
8781 builtin and then its argument prototype would still apply. */
8782 #ifdef __cplusplus
8783 extern "C"
8784 #endif
8785 char XShmQueryExtension ();
8787 main ()
8789 return XShmQueryExtension ();
8791 return 0;
8793 _ACEOF
8794 rm -f conftest.$ac_objext conftest$ac_exeext
8795 if { (ac_try="$ac_link"
8796 case "(($ac_try" in
8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8798 *) ac_try_echo=$ac_try;;
8799 esac
8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8801 (eval "$ac_link") 2>conftest.er1
8802 ac_status=$?
8803 grep -v '^ *+' conftest.er1 >conftest.err
8804 rm -f conftest.er1
8805 cat conftest.err >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); } &&
8808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8809 { (case "(($ac_try" in
8810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8811 *) ac_try_echo=$ac_try;;
8812 esac
8813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8814 (eval "$ac_try") 2>&5
8815 ac_status=$?
8816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817 (exit $ac_status); }; } &&
8818 { ac_try='test -s conftest$ac_exeext'
8819 { (case "(($ac_try" in
8820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8821 *) ac_try_echo=$ac_try;;
8822 esac
8823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8824 (eval "$ac_try") 2>&5
8825 ac_status=$?
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); }; }; then
8828 ac_cv_lib_Xext_XShmQueryExtension=yes
8829 else
8830 echo "$as_me: failed program was:" >&5
8831 sed 's/^/| /' conftest.$ac_ext >&5
8833 ac_cv_lib_Xext_XShmQueryExtension=no
8836 rm -f core conftest.err conftest.$ac_objext \
8837 conftest$ac_exeext conftest.$ac_ext
8838 LIBS=$ac_check_lib_save_LIBS
8840 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8841 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8842 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8844 cat >>confdefs.h <<\_ACEOF
8845 #define HAVE_LIBXXSHM 1
8846 _ACEOF
8852 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8853 then
8854 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8855 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8856 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8857 echo $ECHO_N "(cached) $ECHO_C" >&6
8858 else
8859 ac_check_lib_save_LIBS=$LIBS
8860 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8861 cat >conftest.$ac_ext <<_ACEOF
8862 /* confdefs.h. */
8863 _ACEOF
8864 cat confdefs.h >>conftest.$ac_ext
8865 cat >>conftest.$ac_ext <<_ACEOF
8866 /* end confdefs.h. */
8868 /* Override any GCC internal prototype to avoid an error.
8869 Use char because int might match the return type of a GCC
8870 builtin and then its argument prototype would still apply. */
8871 #ifdef __cplusplus
8872 extern "C"
8873 #endif
8874 char XShapeQueryExtension ();
8876 main ()
8878 return XShapeQueryExtension ();
8880 return 0;
8882 _ACEOF
8883 rm -f conftest.$ac_objext conftest$ac_exeext
8884 if { (ac_try="$ac_link"
8885 case "(($ac_try" in
8886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8887 *) ac_try_echo=$ac_try;;
8888 esac
8889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8890 (eval "$ac_link") 2>conftest.er1
8891 ac_status=$?
8892 grep -v '^ *+' conftest.er1 >conftest.err
8893 rm -f conftest.er1
8894 cat conftest.err >&5
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); } &&
8897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8898 { (case "(($ac_try" in
8899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8900 *) ac_try_echo=$ac_try;;
8901 esac
8902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8903 (eval "$ac_try") 2>&5
8904 ac_status=$?
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); }; } &&
8907 { ac_try='test -s conftest$ac_exeext'
8908 { (case "(($ac_try" in
8909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8910 *) ac_try_echo=$ac_try;;
8911 esac
8912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8913 (eval "$ac_try") 2>&5
8914 ac_status=$?
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); }; }; then
8917 ac_cv_lib_Xext_XShapeQueryExtension=yes
8918 else
8919 echo "$as_me: failed program was:" >&5
8920 sed 's/^/| /' conftest.$ac_ext >&5
8922 ac_cv_lib_Xext_XShapeQueryExtension=no
8925 rm -f core conftest.err conftest.$ac_objext \
8926 conftest$ac_exeext conftest.$ac_ext
8927 LIBS=$ac_check_lib_save_LIBS
8929 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8930 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8931 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8933 cat >>confdefs.h <<\_ACEOF
8934 #define HAVE_LIBXSHAPE 1
8935 _ACEOF
8941 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8942 then
8943 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8944 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8945 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8946 echo $ECHO_N "(cached) $ECHO_C" >&6
8947 else
8948 ac_check_lib_save_LIBS=$LIBS
8949 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8950 cat >conftest.$ac_ext <<_ACEOF
8951 /* confdefs.h. */
8952 _ACEOF
8953 cat confdefs.h >>conftest.$ac_ext
8954 cat >>conftest.$ac_ext <<_ACEOF
8955 /* end confdefs.h. */
8957 /* Override any GCC internal prototype to avoid an error.
8958 Use char because int might match the return type of a GCC
8959 builtin and then its argument prototype would still apply. */
8960 #ifdef __cplusplus
8961 extern "C"
8962 #endif
8963 char XF86VidModeQueryExtension ();
8965 main ()
8967 return XF86VidModeQueryExtension ();
8969 return 0;
8971 _ACEOF
8972 rm -f conftest.$ac_objext conftest$ac_exeext
8973 if { (ac_try="$ac_link"
8974 case "(($ac_try" in
8975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8976 *) ac_try_echo=$ac_try;;
8977 esac
8978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8979 (eval "$ac_link") 2>conftest.er1
8980 ac_status=$?
8981 grep -v '^ *+' conftest.er1 >conftest.err
8982 rm -f conftest.er1
8983 cat conftest.err >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); } &&
8986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8987 { (case "(($ac_try" in
8988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8989 *) ac_try_echo=$ac_try;;
8990 esac
8991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8992 (eval "$ac_try") 2>&5
8993 ac_status=$?
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); }; } &&
8996 { ac_try='test -s conftest$ac_exeext'
8997 { (case "(($ac_try" in
8998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8999 *) ac_try_echo=$ac_try;;
9000 esac
9001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9002 (eval "$ac_try") 2>&5
9003 ac_status=$?
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); }; }; then
9006 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9007 else
9008 echo "$as_me: failed program was:" >&5
9009 sed 's/^/| /' conftest.$ac_ext >&5
9011 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9014 rm -f core conftest.err conftest.$ac_objext \
9015 conftest$ac_exeext conftest.$ac_ext
9016 LIBS=$ac_check_lib_save_LIBS
9018 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9019 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9020 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9022 cat >>confdefs.h <<\_ACEOF
9023 #define HAVE_LIBXXF86VM 1
9024 _ACEOF
9026 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9032 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9033 then
9034 cat >conftest.$ac_ext <<_ACEOF
9035 /* confdefs.h. */
9036 _ACEOF
9037 cat confdefs.h >>conftest.$ac_ext
9038 cat >>conftest.$ac_ext <<_ACEOF
9039 /* end confdefs.h. */
9040 #include <X11/Xlib.h>
9041 #include <X11/extensions/Xrandr.h>
9043 main ()
9045 static typeof(XRRSetScreenConfigAndRate) * func;
9047 return 0;
9049 _ACEOF
9050 rm -f conftest.$ac_objext
9051 if { (ac_try="$ac_compile"
9052 case "(($ac_try" in
9053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9054 *) ac_try_echo=$ac_try;;
9055 esac
9056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9057 (eval "$ac_compile") 2>conftest.er1
9058 ac_status=$?
9059 grep -v '^ *+' conftest.er1 >conftest.err
9060 rm -f conftest.er1
9061 cat conftest.err >&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); } &&
9064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9065 { (case "(($ac_try" in
9066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9067 *) ac_try_echo=$ac_try;;
9068 esac
9069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9070 (eval "$ac_try") 2>&5
9071 ac_status=$?
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); }; } &&
9074 { ac_try='test -s conftest.$ac_objext'
9075 { (case "(($ac_try" in
9076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9077 *) ac_try_echo=$ac_try;;
9078 esac
9079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9080 (eval "$ac_try") 2>&5
9081 ac_status=$?
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 (exit $ac_status); }; }; then
9085 cat >>confdefs.h <<\_ACEOF
9086 #define HAVE_LIBXRANDR 1
9087 _ACEOF
9089 else
9090 echo "$as_me: failed program was:" >&5
9091 sed 's/^/| /' conftest.$ac_ext >&5
9096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9099 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9100 then
9101 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9102 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9103 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9104 echo $ECHO_N "(cached) $ECHO_C" >&6
9105 else
9106 ac_check_lib_save_LIBS=$LIBS
9107 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9108 cat >conftest.$ac_ext <<_ACEOF
9109 /* confdefs.h. */
9110 _ACEOF
9111 cat confdefs.h >>conftest.$ac_ext
9112 cat >>conftest.$ac_ext <<_ACEOF
9113 /* end confdefs.h. */
9115 /* Override any GCC internal prototype to avoid an error.
9116 Use char because int might match the return type of a GCC
9117 builtin and then its argument prototype would still apply. */
9118 #ifdef __cplusplus
9119 extern "C"
9120 #endif
9121 char XRenderSetPictureTransform ();
9123 main ()
9125 return XRenderSetPictureTransform ();
9127 return 0;
9129 _ACEOF
9130 rm -f conftest.$ac_objext conftest$ac_exeext
9131 if { (ac_try="$ac_link"
9132 case "(($ac_try" in
9133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9134 *) ac_try_echo=$ac_try;;
9135 esac
9136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9137 (eval "$ac_link") 2>conftest.er1
9138 ac_status=$?
9139 grep -v '^ *+' conftest.er1 >conftest.err
9140 rm -f conftest.er1
9141 cat conftest.err >&5
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); } &&
9144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9145 { (case "(($ac_try" in
9146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9147 *) ac_try_echo=$ac_try;;
9148 esac
9149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9150 (eval "$ac_try") 2>&5
9151 ac_status=$?
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; } &&
9154 { ac_try='test -s conftest$ac_exeext'
9155 { (case "(($ac_try" in
9156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9157 *) ac_try_echo=$ac_try;;
9158 esac
9159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9160 (eval "$ac_try") 2>&5
9161 ac_status=$?
9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 (exit $ac_status); }; }; then
9164 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9165 else
9166 echo "$as_me: failed program was:" >&5
9167 sed 's/^/| /' conftest.$ac_ext >&5
9169 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9172 rm -f core conftest.err conftest.$ac_objext \
9173 conftest$ac_exeext conftest.$ac_ext
9174 LIBS=$ac_check_lib_save_LIBS
9176 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9177 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9178 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9180 cat >>confdefs.h <<\_ACEOF
9181 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9182 _ACEOF
9188 if test "x$with_opengl" != "xno"
9189 then
9194 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9196 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9197 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9199 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9200 echo $ECHO_N "(cached) $ECHO_C" >&6
9201 else
9202 cat >conftest.$ac_ext <<_ACEOF
9203 /* confdefs.h. */
9204 _ACEOF
9205 cat confdefs.h >>conftest.$ac_ext
9206 cat >>conftest.$ac_ext <<_ACEOF
9207 /* end confdefs.h. */
9208 #ifdef HAVE_GL_GLX_H
9209 # include <GL/glx.h>
9210 #endif
9212 #include <$ac_header>
9213 _ACEOF
9214 rm -f conftest.$ac_objext
9215 if { (ac_try="$ac_compile"
9216 case "(($ac_try" in
9217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9218 *) ac_try_echo=$ac_try;;
9219 esac
9220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9221 (eval "$ac_compile") 2>conftest.er1
9222 ac_status=$?
9223 grep -v '^ *+' conftest.er1 >conftest.err
9224 rm -f conftest.er1
9225 cat conftest.err >&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); } &&
9228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9229 { (case "(($ac_try" in
9230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9231 *) ac_try_echo=$ac_try;;
9232 esac
9233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9234 (eval "$ac_try") 2>&5
9235 ac_status=$?
9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237 (exit $ac_status); }; } &&
9238 { ac_try='test -s conftest.$ac_objext'
9239 { (case "(($ac_try" in
9240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9241 *) ac_try_echo=$ac_try;;
9242 esac
9243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9244 (eval "$ac_try") 2>&5
9245 ac_status=$?
9246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247 (exit $ac_status); }; }; then
9248 eval "$as_ac_Header=yes"
9249 else
9250 echo "$as_me: failed program was:" >&5
9251 sed 's/^/| /' conftest.$ac_ext >&5
9253 eval "$as_ac_Header=no"
9256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9258 ac_res=`eval echo '${'$as_ac_Header'}'`
9259 { echo "$as_me:$LINENO: result: $ac_res" >&5
9260 echo "${ECHO_T}$ac_res" >&6; }
9261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9262 cat >>confdefs.h <<_ACEOF
9263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9264 _ACEOF
9268 done
9270 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9271 then
9272 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9273 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9274 if test "${wine_cv_opengl_version_OK+set}" = set; then
9275 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 else
9277 cat >conftest.$ac_ext <<_ACEOF
9278 /* confdefs.h. */
9279 _ACEOF
9280 cat confdefs.h >>conftest.$ac_ext
9281 cat >>conftest.$ac_ext <<_ACEOF
9282 /* end confdefs.h. */
9283 #include <GL/gl.h>
9285 main ()
9287 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9289 return 0;
9291 _ACEOF
9292 rm -f conftest.$ac_objext
9293 if { (ac_try="$ac_compile"
9294 case "(($ac_try" in
9295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9296 *) ac_try_echo=$ac_try;;
9297 esac
9298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9299 (eval "$ac_compile") 2>conftest.er1
9300 ac_status=$?
9301 grep -v '^ *+' conftest.er1 >conftest.err
9302 rm -f conftest.er1
9303 cat conftest.err >&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); } &&
9306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9307 { (case "(($ac_try" in
9308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9309 *) ac_try_echo=$ac_try;;
9310 esac
9311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9312 (eval "$ac_try") 2>&5
9313 ac_status=$?
9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 (exit $ac_status); }; } &&
9316 { ac_try='test -s conftest.$ac_objext'
9317 { (case "(($ac_try" in
9318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9319 *) ac_try_echo=$ac_try;;
9320 esac
9321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9322 (eval "$ac_try") 2>&5
9323 ac_status=$?
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); }; }; then
9326 wine_cv_opengl_version_OK="yes"
9327 else
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.$ac_ext >&5
9331 wine_cv_opengl_version_OK="no"
9335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9338 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
9339 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
9341 if test "$wine_cv_opengl_version_OK" = "yes"
9342 then
9343 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9344 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9345 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9346 echo $ECHO_N "(cached) $ECHO_C" >&6
9347 else
9348 ac_check_lib_save_LIBS=$LIBS
9349 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9350 cat >conftest.$ac_ext <<_ACEOF
9351 /* confdefs.h. */
9352 _ACEOF
9353 cat confdefs.h >>conftest.$ac_ext
9354 cat >>conftest.$ac_ext <<_ACEOF
9355 /* end confdefs.h. */
9357 /* Override any GCC internal prototype to avoid an error.
9358 Use char because int might match the return type of a GCC
9359 builtin and then its argument prototype would still apply. */
9360 #ifdef __cplusplus
9361 extern "C"
9362 #endif
9363 char glXCreateContext ();
9365 main ()
9367 return glXCreateContext ();
9369 return 0;
9371 _ACEOF
9372 rm -f conftest.$ac_objext conftest$ac_exeext
9373 if { (ac_try="$ac_link"
9374 case "(($ac_try" in
9375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9376 *) ac_try_echo=$ac_try;;
9377 esac
9378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9379 (eval "$ac_link") 2>conftest.er1
9380 ac_status=$?
9381 grep -v '^ *+' conftest.er1 >conftest.err
9382 rm -f conftest.er1
9383 cat conftest.err >&5
9384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9385 (exit $ac_status); } &&
9386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9387 { (case "(($ac_try" in
9388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9389 *) ac_try_echo=$ac_try;;
9390 esac
9391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9392 (eval "$ac_try") 2>&5
9393 ac_status=$?
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); }; } &&
9396 { ac_try='test -s conftest$ac_exeext'
9397 { (case "(($ac_try" in
9398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9399 *) ac_try_echo=$ac_try;;
9400 esac
9401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9402 (eval "$ac_try") 2>&5
9403 ac_status=$?
9404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405 (exit $ac_status); }; }; then
9406 ac_cv_lib_GL_glXCreateContext=yes
9407 else
9408 echo "$as_me: failed program was:" >&5
9409 sed 's/^/| /' conftest.$ac_ext >&5
9411 ac_cv_lib_GL_glXCreateContext=no
9414 rm -f core conftest.err conftest.$ac_objext \
9415 conftest$ac_exeext conftest.$ac_ext
9416 LIBS=$ac_check_lib_save_LIBS
9418 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9419 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9420 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9421 OPENGL_LIBS="-lGL"
9426 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
9427 then
9428 OPENGLFILES='$(OPENGLFILES)'
9430 cat >>confdefs.h <<\_ACEOF
9431 #define HAVE_OPENGL 1
9432 _ACEOF
9434 else
9435 if test -f /usr/X11R6/lib/libGL.a
9436 then
9437 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
9438 This prevents linking to OpenGL. Delete the file and restart configure." >&5
9439 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
9440 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
9441 { (exit 1); exit 1; }; }
9445 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9446 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9447 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9448 echo $ECHO_N "(cached) $ECHO_C" >&6
9449 else
9450 ac_check_lib_save_LIBS=$LIBS
9451 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9452 $LIBS"
9453 cat >conftest.$ac_ext <<_ACEOF
9454 /* confdefs.h. */
9455 _ACEOF
9456 cat confdefs.h >>conftest.$ac_ext
9457 cat >>conftest.$ac_ext <<_ACEOF
9458 /* end confdefs.h. */
9460 /* Override any GCC internal prototype to avoid an error.
9461 Use char because int might match the return type of a GCC
9462 builtin and then its argument prototype would still apply. */
9463 #ifdef __cplusplus
9464 extern "C"
9465 #endif
9466 char gluLookAt ();
9468 main ()
9470 return gluLookAt ();
9472 return 0;
9474 _ACEOF
9475 rm -f conftest.$ac_objext conftest$ac_exeext
9476 if { (ac_try="$ac_link"
9477 case "(($ac_try" in
9478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9479 *) ac_try_echo=$ac_try;;
9480 esac
9481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9482 (eval "$ac_link") 2>conftest.er1
9483 ac_status=$?
9484 grep -v '^ *+' conftest.er1 >conftest.err
9485 rm -f conftest.er1
9486 cat conftest.err >&5
9487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9488 (exit $ac_status); } &&
9489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9490 { (case "(($ac_try" in
9491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9492 *) ac_try_echo=$ac_try;;
9493 esac
9494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9495 (eval "$ac_try") 2>&5
9496 ac_status=$?
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); }; } &&
9499 { ac_try='test -s conftest$ac_exeext'
9500 { (case "(($ac_try" in
9501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9502 *) ac_try_echo=$ac_try;;
9503 esac
9504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9505 (eval "$ac_try") 2>&5
9506 ac_status=$?
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); }; }; then
9509 ac_cv_lib_GLU_gluLookAt=yes
9510 else
9511 echo "$as_me: failed program was:" >&5
9512 sed 's/^/| /' conftest.$ac_ext >&5
9514 ac_cv_lib_GLU_gluLookAt=no
9517 rm -f core conftest.err conftest.$ac_objext \
9518 conftest$ac_exeext conftest.$ac_ext
9519 LIBS=$ac_check_lib_save_LIBS
9521 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9522 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9523 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9524 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9525 GLU32FILES='$(GLU32FILES)'
9531 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9532 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9533 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9534 echo $ECHO_N "(cached) $ECHO_C" >&6
9535 else
9536 ac_check_lib_save_LIBS=$LIBS
9537 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9538 cat >conftest.$ac_ext <<_ACEOF
9539 /* confdefs.h. */
9540 _ACEOF
9541 cat confdefs.h >>conftest.$ac_ext
9542 cat >>conftest.$ac_ext <<_ACEOF
9543 /* end confdefs.h. */
9545 /* Override any GCC internal prototype to avoid an error.
9546 Use char because int might match the return type of a GCC
9547 builtin and then its argument prototype would still apply. */
9548 #ifdef __cplusplus
9549 extern "C"
9550 #endif
9551 char glutMainLoop ();
9553 main ()
9555 return glutMainLoop ();
9557 return 0;
9559 _ACEOF
9560 rm -f conftest.$ac_objext conftest$ac_exeext
9561 if { (ac_try="$ac_link"
9562 case "(($ac_try" in
9563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9564 *) ac_try_echo=$ac_try;;
9565 esac
9566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9567 (eval "$ac_link") 2>conftest.er1
9568 ac_status=$?
9569 grep -v '^ *+' conftest.er1 >conftest.err
9570 rm -f conftest.er1
9571 cat conftest.err >&5
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 (exit $ac_status); } &&
9574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9575 { (case "(($ac_try" in
9576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9577 *) ac_try_echo=$ac_try;;
9578 esac
9579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9580 (eval "$ac_try") 2>&5
9581 ac_status=$?
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); }; } &&
9584 { ac_try='test -s conftest$ac_exeext'
9585 { (case "(($ac_try" in
9586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9587 *) ac_try_echo=$ac_try;;
9588 esac
9589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9590 (eval "$ac_try") 2>&5
9591 ac_status=$?
9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 (exit $ac_status); }; }; then
9594 ac_cv_lib_glut_glutMainLoop=yes
9595 else
9596 echo "$as_me: failed program was:" >&5
9597 sed 's/^/| /' conftest.$ac_ext >&5
9599 ac_cv_lib_glut_glutMainLoop=no
9602 rm -f core conftest.err conftest.$ac_objext \
9603 conftest$ac_exeext conftest.$ac_ext
9604 LIBS=$ac_check_lib_save_LIBS
9606 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9607 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9608 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9609 GLUT_LIBS="-lglut -lXmu -lXi"
9611 GLUT32FILES='$(GLUT32FILES)'
9618 NASLIBS=""
9621 for ac_header in audio/audiolib.h
9623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9628 echo $ECHO_N "(cached) $ECHO_C" >&6
9630 ac_res=`eval echo '${'$as_ac_Header'}'`
9631 { echo "$as_me:$LINENO: result: $ac_res" >&5
9632 echo "${ECHO_T}$ac_res" >&6; }
9633 else
9634 # Is the header compilable?
9635 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9636 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9637 cat >conftest.$ac_ext <<_ACEOF
9638 /* confdefs.h. */
9639 _ACEOF
9640 cat confdefs.h >>conftest.$ac_ext
9641 cat >>conftest.$ac_ext <<_ACEOF
9642 /* end confdefs.h. */
9643 $ac_includes_default
9644 #include <$ac_header>
9645 _ACEOF
9646 rm -f conftest.$ac_objext
9647 if { (ac_try="$ac_compile"
9648 case "(($ac_try" in
9649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9650 *) ac_try_echo=$ac_try;;
9651 esac
9652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9653 (eval "$ac_compile") 2>conftest.er1
9654 ac_status=$?
9655 grep -v '^ *+' conftest.er1 >conftest.err
9656 rm -f conftest.er1
9657 cat conftest.err >&5
9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); } &&
9660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9661 { (case "(($ac_try" in
9662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9663 *) ac_try_echo=$ac_try;;
9664 esac
9665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9666 (eval "$ac_try") 2>&5
9667 ac_status=$?
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 (exit $ac_status); }; } &&
9670 { ac_try='test -s conftest.$ac_objext'
9671 { (case "(($ac_try" in
9672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9673 *) ac_try_echo=$ac_try;;
9674 esac
9675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9676 (eval "$ac_try") 2>&5
9677 ac_status=$?
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); }; }; then
9680 ac_header_compiler=yes
9681 else
9682 echo "$as_me: failed program was:" >&5
9683 sed 's/^/| /' conftest.$ac_ext >&5
9685 ac_header_compiler=no
9688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9689 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9690 echo "${ECHO_T}$ac_header_compiler" >&6; }
9692 # Is the header present?
9693 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9695 cat >conftest.$ac_ext <<_ACEOF
9696 /* confdefs.h. */
9697 _ACEOF
9698 cat confdefs.h >>conftest.$ac_ext
9699 cat >>conftest.$ac_ext <<_ACEOF
9700 /* end confdefs.h. */
9701 #include <$ac_header>
9702 _ACEOF
9703 if { (ac_try="$ac_cpp conftest.$ac_ext"
9704 case "(($ac_try" in
9705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9706 *) ac_try_echo=$ac_try;;
9707 esac
9708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9709 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9710 ac_status=$?
9711 grep -v '^ *+' conftest.er1 >conftest.err
9712 rm -f conftest.er1
9713 cat conftest.err >&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); } >/dev/null; then
9716 if test -s conftest.err; then
9717 ac_cpp_err=$ac_c_preproc_warn_flag
9718 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9719 else
9720 ac_cpp_err=
9722 else
9723 ac_cpp_err=yes
9725 if test -z "$ac_cpp_err"; then
9726 ac_header_preproc=yes
9727 else
9728 echo "$as_me: failed program was:" >&5
9729 sed 's/^/| /' conftest.$ac_ext >&5
9731 ac_header_preproc=no
9734 rm -f conftest.err conftest.$ac_ext
9735 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9736 echo "${ECHO_T}$ac_header_preproc" >&6; }
9738 # So? What about this header?
9739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9740 yes:no: )
9741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9744 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9745 ac_header_preproc=yes
9747 no:yes:* )
9748 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9749 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9750 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9751 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9752 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9753 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9754 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9755 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9757 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9758 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9759 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9760 ( cat <<\_ASBOX
9761 ## ------------------------------------ ##
9762 ## Report this to wine-devel@winehq.org ##
9763 ## ------------------------------------ ##
9764 _ASBOX
9765 ) | sed "s/^/$as_me: WARNING: /" >&2
9767 esac
9768 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9770 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9771 echo $ECHO_N "(cached) $ECHO_C" >&6
9772 else
9773 eval "$as_ac_Header=\$ac_header_preproc"
9775 ac_res=`eval echo '${'$as_ac_Header'}'`
9776 { echo "$as_me:$LINENO: result: $ac_res" >&5
9777 echo "${ECHO_T}$ac_res" >&6; }
9780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9781 cat >>confdefs.h <<_ACEOF
9782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9783 _ACEOF
9785 for ac_header in audio/soundlib.h
9787 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9788 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9790 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9791 echo $ECHO_N "(cached) $ECHO_C" >&6
9792 else
9793 cat >conftest.$ac_ext <<_ACEOF
9794 /* confdefs.h. */
9795 _ACEOF
9796 cat confdefs.h >>conftest.$ac_ext
9797 cat >>conftest.$ac_ext <<_ACEOF
9798 /* end confdefs.h. */
9799 #include <audio/audiolib.h>
9801 #include <$ac_header>
9802 _ACEOF
9803 rm -f conftest.$ac_objext
9804 if { (ac_try="$ac_compile"
9805 case "(($ac_try" in
9806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9807 *) ac_try_echo=$ac_try;;
9808 esac
9809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9810 (eval "$ac_compile") 2>conftest.er1
9811 ac_status=$?
9812 grep -v '^ *+' conftest.er1 >conftest.err
9813 rm -f conftest.er1
9814 cat conftest.err >&5
9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 (exit $ac_status); } &&
9817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9818 { (case "(($ac_try" in
9819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9820 *) ac_try_echo=$ac_try;;
9821 esac
9822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9823 (eval "$ac_try") 2>&5
9824 ac_status=$?
9825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826 (exit $ac_status); }; } &&
9827 { ac_try='test -s conftest.$ac_objext'
9828 { (case "(($ac_try" in
9829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9830 *) ac_try_echo=$ac_try;;
9831 esac
9832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9833 (eval "$ac_try") 2>&5
9834 ac_status=$?
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); }; }; then
9837 eval "$as_ac_Header=yes"
9838 else
9839 echo "$as_me: failed program was:" >&5
9840 sed 's/^/| /' conftest.$ac_ext >&5
9842 eval "$as_ac_Header=no"
9845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9847 ac_res=`eval echo '${'$as_ac_Header'}'`
9848 { echo "$as_me:$LINENO: result: $ac_res" >&5
9849 echo "${ECHO_T}$ac_res" >&6; }
9850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9851 cat >>confdefs.h <<_ACEOF
9852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9853 _ACEOF
9857 done
9859 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9860 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9861 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9862 echo $ECHO_N "(cached) $ECHO_C" >&6
9863 else
9864 ac_check_lib_save_LIBS=$LIBS
9865 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9866 cat >conftest.$ac_ext <<_ACEOF
9867 /* confdefs.h. */
9868 _ACEOF
9869 cat confdefs.h >>conftest.$ac_ext
9870 cat >>conftest.$ac_ext <<_ACEOF
9871 /* end confdefs.h. */
9873 /* Override any GCC internal prototype to avoid an error.
9874 Use char because int might match the return type of a GCC
9875 builtin and then its argument prototype would still apply. */
9876 #ifdef __cplusplus
9877 extern "C"
9878 #endif
9879 char AuCreateFlow ();
9881 main ()
9883 return AuCreateFlow ();
9885 return 0;
9887 _ACEOF
9888 rm -f conftest.$ac_objext conftest$ac_exeext
9889 if { (ac_try="$ac_link"
9890 case "(($ac_try" in
9891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9892 *) ac_try_echo=$ac_try;;
9893 esac
9894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9895 (eval "$ac_link") 2>conftest.er1
9896 ac_status=$?
9897 grep -v '^ *+' conftest.er1 >conftest.err
9898 rm -f conftest.er1
9899 cat conftest.err >&5
9900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9901 (exit $ac_status); } &&
9902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9903 { (case "(($ac_try" in
9904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9905 *) ac_try_echo=$ac_try;;
9906 esac
9907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9908 (eval "$ac_try") 2>&5
9909 ac_status=$?
9910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 (exit $ac_status); }; } &&
9912 { ac_try='test -s conftest$ac_exeext'
9913 { (case "(($ac_try" in
9914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9915 *) ac_try_echo=$ac_try;;
9916 esac
9917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9918 (eval "$ac_try") 2>&5
9919 ac_status=$?
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); }; }; then
9922 ac_cv_lib_audio_AuCreateFlow=yes
9923 else
9924 echo "$as_me: failed program was:" >&5
9925 sed 's/^/| /' conftest.$ac_ext >&5
9927 ac_cv_lib_audio_AuCreateFlow=no
9930 rm -f core conftest.err conftest.$ac_objext \
9931 conftest$ac_exeext conftest.$ac_ext
9932 LIBS=$ac_check_lib_save_LIBS
9934 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9935 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
9936 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9938 cat >>confdefs.h <<\_ACEOF
9939 #define HAVE_NAS 1
9940 _ACEOF
9942 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9947 done
9950 CPPFLAGS="$ac_save_CPPFLAGS"
9951 XFILES='$(XFILES)'
9952 else
9953 XLIB=""
9954 X_CFLAGS=""
9955 X_LIBS=""
9959 XML2LIBS=""
9961 XML2INCL=""
9963 XSLTLIBS=""
9965 XSLTINCL=""
9967 if test "$PKG_CONFIG" != "false"
9968 then
9969 ac_save_CPPFLAGS="$CPPFLAGS"
9970 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9971 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9972 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9974 for ac_header in libxml/parser.h
9976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9978 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9980 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9981 echo $ECHO_N "(cached) $ECHO_C" >&6
9983 ac_res=`eval echo '${'$as_ac_Header'}'`
9984 { echo "$as_me:$LINENO: result: $ac_res" >&5
9985 echo "${ECHO_T}$ac_res" >&6; }
9986 else
9987 # Is the header compilable?
9988 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9990 cat >conftest.$ac_ext <<_ACEOF
9991 /* confdefs.h. */
9992 _ACEOF
9993 cat confdefs.h >>conftest.$ac_ext
9994 cat >>conftest.$ac_ext <<_ACEOF
9995 /* end confdefs.h. */
9996 $ac_includes_default
9997 #include <$ac_header>
9998 _ACEOF
9999 rm -f conftest.$ac_objext
10000 if { (ac_try="$ac_compile"
10001 case "(($ac_try" in
10002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10003 *) ac_try_echo=$ac_try;;
10004 esac
10005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10006 (eval "$ac_compile") 2>conftest.er1
10007 ac_status=$?
10008 grep -v '^ *+' conftest.er1 >conftest.err
10009 rm -f conftest.er1
10010 cat conftest.err >&5
10011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012 (exit $ac_status); } &&
10013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10014 { (case "(($ac_try" in
10015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10016 *) ac_try_echo=$ac_try;;
10017 esac
10018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10019 (eval "$ac_try") 2>&5
10020 ac_status=$?
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); }; } &&
10023 { ac_try='test -s conftest.$ac_objext'
10024 { (case "(($ac_try" in
10025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10026 *) ac_try_echo=$ac_try;;
10027 esac
10028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10029 (eval "$ac_try") 2>&5
10030 ac_status=$?
10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032 (exit $ac_status); }; }; then
10033 ac_header_compiler=yes
10034 else
10035 echo "$as_me: failed program was:" >&5
10036 sed 's/^/| /' conftest.$ac_ext >&5
10038 ac_header_compiler=no
10041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10042 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10043 echo "${ECHO_T}$ac_header_compiler" >&6; }
10045 # Is the header present?
10046 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10047 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10048 cat >conftest.$ac_ext <<_ACEOF
10049 /* confdefs.h. */
10050 _ACEOF
10051 cat confdefs.h >>conftest.$ac_ext
10052 cat >>conftest.$ac_ext <<_ACEOF
10053 /* end confdefs.h. */
10054 #include <$ac_header>
10055 _ACEOF
10056 if { (ac_try="$ac_cpp conftest.$ac_ext"
10057 case "(($ac_try" in
10058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10059 *) ac_try_echo=$ac_try;;
10060 esac
10061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10062 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10063 ac_status=$?
10064 grep -v '^ *+' conftest.er1 >conftest.err
10065 rm -f conftest.er1
10066 cat conftest.err >&5
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); } >/dev/null; then
10069 if test -s conftest.err; then
10070 ac_cpp_err=$ac_c_preproc_warn_flag
10071 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10072 else
10073 ac_cpp_err=
10075 else
10076 ac_cpp_err=yes
10078 if test -z "$ac_cpp_err"; then
10079 ac_header_preproc=yes
10080 else
10081 echo "$as_me: failed program was:" >&5
10082 sed 's/^/| /' conftest.$ac_ext >&5
10084 ac_header_preproc=no
10087 rm -f conftest.err conftest.$ac_ext
10088 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10089 echo "${ECHO_T}$ac_header_preproc" >&6; }
10091 # So? What about this header?
10092 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10093 yes:no: )
10094 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10095 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10097 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10098 ac_header_preproc=yes
10100 no:yes:* )
10101 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10102 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10103 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10104 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10105 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10106 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10107 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10108 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10111 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10112 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10113 ( cat <<\_ASBOX
10114 ## ------------------------------------ ##
10115 ## Report this to wine-devel@winehq.org ##
10116 ## ------------------------------------ ##
10117 _ASBOX
10118 ) | sed "s/^/$as_me: WARNING: /" >&2
10120 esac
10121 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10124 echo $ECHO_N "(cached) $ECHO_C" >&6
10125 else
10126 eval "$as_ac_Header=\$ac_header_preproc"
10128 ac_res=`eval echo '${'$as_ac_Header'}'`
10129 { echo "$as_me:$LINENO: result: $ac_res" >&5
10130 echo "${ECHO_T}$ac_res" >&6; }
10133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10134 cat >>confdefs.h <<_ACEOF
10135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10136 _ACEOF
10137 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10138 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10139 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10141 else
10142 ac_check_lib_save_LIBS=$LIBS
10143 LIBS="-lxml2 $ac_xml_libs $LIBS"
10144 cat >conftest.$ac_ext <<_ACEOF
10145 /* confdefs.h. */
10146 _ACEOF
10147 cat confdefs.h >>conftest.$ac_ext
10148 cat >>conftest.$ac_ext <<_ACEOF
10149 /* end confdefs.h. */
10151 /* Override any GCC internal prototype to avoid an error.
10152 Use char because int might match the return type of a GCC
10153 builtin and then its argument prototype would still apply. */
10154 #ifdef __cplusplus
10155 extern "C"
10156 #endif
10157 char xmlParseMemory ();
10159 main ()
10161 return xmlParseMemory ();
10163 return 0;
10165 _ACEOF
10166 rm -f conftest.$ac_objext conftest$ac_exeext
10167 if { (ac_try="$ac_link"
10168 case "(($ac_try" in
10169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10170 *) ac_try_echo=$ac_try;;
10171 esac
10172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10173 (eval "$ac_link") 2>conftest.er1
10174 ac_status=$?
10175 grep -v '^ *+' conftest.er1 >conftest.err
10176 rm -f conftest.er1
10177 cat conftest.err >&5
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); } &&
10180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10181 { (case "(($ac_try" in
10182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10183 *) ac_try_echo=$ac_try;;
10184 esac
10185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10186 (eval "$ac_try") 2>&5
10187 ac_status=$?
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); }; } &&
10190 { ac_try='test -s conftest$ac_exeext'
10191 { (case "(($ac_try" in
10192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10193 *) ac_try_echo=$ac_try;;
10194 esac
10195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10196 (eval "$ac_try") 2>&5
10197 ac_status=$?
10198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10199 (exit $ac_status); }; }; then
10200 ac_cv_lib_xml2_xmlParseMemory=yes
10201 else
10202 echo "$as_me: failed program was:" >&5
10203 sed 's/^/| /' conftest.$ac_ext >&5
10205 ac_cv_lib_xml2_xmlParseMemory=no
10208 rm -f core conftest.err conftest.$ac_objext \
10209 conftest$ac_exeext conftest.$ac_ext
10210 LIBS=$ac_check_lib_save_LIBS
10212 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10213 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10214 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10216 cat >>confdefs.h <<\_ACEOF
10217 #define HAVE_LIBXML2 1
10218 _ACEOF
10220 XML2LIBS="$ac_xml_libs"
10221 XML2INCL="$ac_xml_cflags"
10224 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10225 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10226 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10227 echo $ECHO_N "(cached) $ECHO_C" >&6
10228 else
10229 ac_check_lib_save_LIBS=$LIBS
10230 LIBS="-lxml2 $ac_xml_libs $LIBS"
10231 cat >conftest.$ac_ext <<_ACEOF
10232 /* confdefs.h. */
10233 _ACEOF
10234 cat confdefs.h >>conftest.$ac_ext
10235 cat >>conftest.$ac_ext <<_ACEOF
10236 /* end confdefs.h. */
10238 /* Override any GCC internal prototype to avoid an error.
10239 Use char because int might match the return type of a GCC
10240 builtin and then its argument prototype would still apply. */
10241 #ifdef __cplusplus
10242 extern "C"
10243 #endif
10244 char xmlReadMemory ();
10246 main ()
10248 return xmlReadMemory ();
10250 return 0;
10252 _ACEOF
10253 rm -f conftest.$ac_objext conftest$ac_exeext
10254 if { (ac_try="$ac_link"
10255 case "(($ac_try" in
10256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10257 *) ac_try_echo=$ac_try;;
10258 esac
10259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10260 (eval "$ac_link") 2>conftest.er1
10261 ac_status=$?
10262 grep -v '^ *+' conftest.er1 >conftest.err
10263 rm -f conftest.er1
10264 cat conftest.err >&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); } &&
10267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10268 { (case "(($ac_try" in
10269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10270 *) ac_try_echo=$ac_try;;
10271 esac
10272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10273 (eval "$ac_try") 2>&5
10274 ac_status=$?
10275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10276 (exit $ac_status); }; } &&
10277 { ac_try='test -s conftest$ac_exeext'
10278 { (case "(($ac_try" in
10279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10280 *) ac_try_echo=$ac_try;;
10281 esac
10282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10283 (eval "$ac_try") 2>&5
10284 ac_status=$?
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; }; then
10287 ac_cv_lib_xml2_xmlReadMemory=yes
10288 else
10289 echo "$as_me: failed program was:" >&5
10290 sed 's/^/| /' conftest.$ac_ext >&5
10292 ac_cv_lib_xml2_xmlReadMemory=no
10295 rm -f core conftest.err conftest.$ac_objext \
10296 conftest$ac_exeext conftest.$ac_ext
10297 LIBS=$ac_check_lib_save_LIBS
10299 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10300 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10301 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10303 cat >>confdefs.h <<\_ACEOF
10304 #define HAVE_XMLREADMEMORY 1
10305 _ACEOF
10312 done
10314 CPPFLAGS="$ac_save_CPPFLAGS"
10315 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10316 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10317 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10320 for ac_header in libxslt/pattern.h libxslt/transform.h
10322 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10323 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10325 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10326 echo $ECHO_N "(cached) $ECHO_C" >&6
10327 else
10328 cat >conftest.$ac_ext <<_ACEOF
10329 /* confdefs.h. */
10330 _ACEOF
10331 cat confdefs.h >>conftest.$ac_ext
10332 cat >>conftest.$ac_ext <<_ACEOF
10333 /* end confdefs.h. */
10334 #ifdef HAVE_LIBXSLT_PATTERN_H
10335 # include <libxslt/pattern.h>
10336 #endif
10338 #include <$ac_header>
10339 _ACEOF
10340 rm -f conftest.$ac_objext
10341 if { (ac_try="$ac_compile"
10342 case "(($ac_try" in
10343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10344 *) ac_try_echo=$ac_try;;
10345 esac
10346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10347 (eval "$ac_compile") 2>conftest.er1
10348 ac_status=$?
10349 grep -v '^ *+' conftest.er1 >conftest.err
10350 rm -f conftest.er1
10351 cat conftest.err >&5
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); } &&
10354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10355 { (case "(($ac_try" in
10356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10357 *) ac_try_echo=$ac_try;;
10358 esac
10359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10360 (eval "$ac_try") 2>&5
10361 ac_status=$?
10362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 (exit $ac_status); }; } &&
10364 { ac_try='test -s conftest.$ac_objext'
10365 { (case "(($ac_try" in
10366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10367 *) ac_try_echo=$ac_try;;
10368 esac
10369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10370 (eval "$ac_try") 2>&5
10371 ac_status=$?
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; }; then
10374 eval "$as_ac_Header=yes"
10375 else
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.$ac_ext >&5
10379 eval "$as_ac_Header=no"
10382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10384 ac_res=`eval echo '${'$as_ac_Header'}'`
10385 { echo "$as_me:$LINENO: result: $ac_res" >&5
10386 echo "${ECHO_T}$ac_res" >&6; }
10387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10388 cat >>confdefs.h <<_ACEOF
10389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10390 _ACEOF
10391 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10392 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10393 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10394 echo $ECHO_N "(cached) $ECHO_C" >&6
10395 else
10396 ac_check_lib_save_LIBS=$LIBS
10397 LIBS="-lxslt $ac_xslt_libs $LIBS"
10398 cat >conftest.$ac_ext <<_ACEOF
10399 /* confdefs.h. */
10400 _ACEOF
10401 cat confdefs.h >>conftest.$ac_ext
10402 cat >>conftest.$ac_ext <<_ACEOF
10403 /* end confdefs.h. */
10405 /* Override any GCC internal prototype to avoid an error.
10406 Use char because int might match the return type of a GCC
10407 builtin and then its argument prototype would still apply. */
10408 #ifdef __cplusplus
10409 extern "C"
10410 #endif
10411 char xsltCompilePattern ();
10413 main ()
10415 return xsltCompilePattern ();
10417 return 0;
10419 _ACEOF
10420 rm -f conftest.$ac_objext conftest$ac_exeext
10421 if { (ac_try="$ac_link"
10422 case "(($ac_try" in
10423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10424 *) ac_try_echo=$ac_try;;
10425 esac
10426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10427 (eval "$ac_link") 2>conftest.er1
10428 ac_status=$?
10429 grep -v '^ *+' conftest.er1 >conftest.err
10430 rm -f conftest.er1
10431 cat conftest.err >&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); } &&
10434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10435 { (case "(($ac_try" in
10436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10437 *) ac_try_echo=$ac_try;;
10438 esac
10439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10440 (eval "$ac_try") 2>&5
10441 ac_status=$?
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; } &&
10444 { ac_try='test -s conftest$ac_exeext'
10445 { (case "(($ac_try" in
10446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10447 *) ac_try_echo=$ac_try;;
10448 esac
10449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10450 (eval "$ac_try") 2>&5
10451 ac_status=$?
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); }; }; then
10454 ac_cv_lib_xslt_xsltCompilePattern=yes
10455 else
10456 echo "$as_me: failed program was:" >&5
10457 sed 's/^/| /' conftest.$ac_ext >&5
10459 ac_cv_lib_xslt_xsltCompilePattern=no
10462 rm -f core conftest.err conftest.$ac_objext \
10463 conftest$ac_exeext conftest.$ac_ext
10464 LIBS=$ac_check_lib_save_LIBS
10466 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10467 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10468 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10470 cat >>confdefs.h <<\_ACEOF
10471 #define HAVE_LIBXSLT 1
10472 _ACEOF
10474 XSLTLIBS="$ac_xslt_libs"
10475 XSLTINCL="$ac_xslt_cflags"
10481 done
10483 CPPFLAGS="$ac_save_CPPFLAGS"
10486 HALINCL=""
10488 if test "$PKG_CONFIG" != "false"
10489 then
10490 ac_save_CPPFLAGS="$CPPFLAGS"
10491 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10492 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10493 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10496 for ac_header in dbus/dbus.h hal/libhal.h
10498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10499 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10500 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10503 echo $ECHO_N "(cached) $ECHO_C" >&6
10505 ac_res=`eval echo '${'$as_ac_Header'}'`
10506 { echo "$as_me:$LINENO: result: $ac_res" >&5
10507 echo "${ECHO_T}$ac_res" >&6; }
10508 else
10509 # Is the header compilable?
10510 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10512 cat >conftest.$ac_ext <<_ACEOF
10513 /* confdefs.h. */
10514 _ACEOF
10515 cat confdefs.h >>conftest.$ac_ext
10516 cat >>conftest.$ac_ext <<_ACEOF
10517 /* end confdefs.h. */
10518 $ac_includes_default
10519 #include <$ac_header>
10520 _ACEOF
10521 rm -f conftest.$ac_objext
10522 if { (ac_try="$ac_compile"
10523 case "(($ac_try" in
10524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10525 *) ac_try_echo=$ac_try;;
10526 esac
10527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10528 (eval "$ac_compile") 2>conftest.er1
10529 ac_status=$?
10530 grep -v '^ *+' conftest.er1 >conftest.err
10531 rm -f conftest.er1
10532 cat conftest.err >&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); } &&
10535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10536 { (case "(($ac_try" in
10537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10538 *) ac_try_echo=$ac_try;;
10539 esac
10540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10541 (eval "$ac_try") 2>&5
10542 ac_status=$?
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); }; } &&
10545 { ac_try='test -s conftest.$ac_objext'
10546 { (case "(($ac_try" in
10547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10548 *) ac_try_echo=$ac_try;;
10549 esac
10550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10551 (eval "$ac_try") 2>&5
10552 ac_status=$?
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); }; }; then
10555 ac_header_compiler=yes
10556 else
10557 echo "$as_me: failed program was:" >&5
10558 sed 's/^/| /' conftest.$ac_ext >&5
10560 ac_header_compiler=no
10563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10564 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10565 echo "${ECHO_T}$ac_header_compiler" >&6; }
10567 # Is the header present?
10568 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10570 cat >conftest.$ac_ext <<_ACEOF
10571 /* confdefs.h. */
10572 _ACEOF
10573 cat confdefs.h >>conftest.$ac_ext
10574 cat >>conftest.$ac_ext <<_ACEOF
10575 /* end confdefs.h. */
10576 #include <$ac_header>
10577 _ACEOF
10578 if { (ac_try="$ac_cpp conftest.$ac_ext"
10579 case "(($ac_try" in
10580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10581 *) ac_try_echo=$ac_try;;
10582 esac
10583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10584 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10585 ac_status=$?
10586 grep -v '^ *+' conftest.er1 >conftest.err
10587 rm -f conftest.er1
10588 cat conftest.err >&5
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); } >/dev/null; then
10591 if test -s conftest.err; then
10592 ac_cpp_err=$ac_c_preproc_warn_flag
10593 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10594 else
10595 ac_cpp_err=
10597 else
10598 ac_cpp_err=yes
10600 if test -z "$ac_cpp_err"; then
10601 ac_header_preproc=yes
10602 else
10603 echo "$as_me: failed program was:" >&5
10604 sed 's/^/| /' conftest.$ac_ext >&5
10606 ac_header_preproc=no
10609 rm -f conftest.err conftest.$ac_ext
10610 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10611 echo "${ECHO_T}$ac_header_preproc" >&6; }
10613 # So? What about this header?
10614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10615 yes:no: )
10616 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10617 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10619 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10620 ac_header_preproc=yes
10622 no:yes:* )
10623 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10624 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10625 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10626 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10627 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10628 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10629 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10630 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10633 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10634 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10635 ( cat <<\_ASBOX
10636 ## ------------------------------------ ##
10637 ## Report this to wine-devel@winehq.org ##
10638 ## ------------------------------------ ##
10639 _ASBOX
10640 ) | sed "s/^/$as_me: WARNING: /" >&2
10642 esac
10643 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10645 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10646 echo $ECHO_N "(cached) $ECHO_C" >&6
10647 else
10648 eval "$as_ac_Header=\$ac_header_preproc"
10650 ac_res=`eval echo '${'$as_ac_Header'}'`
10651 { echo "$as_me:$LINENO: result: $ac_res" >&5
10652 echo "${ECHO_T}$ac_res" >&6; }
10655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10656 cat >>confdefs.h <<_ACEOF
10657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10658 _ACEOF
10662 done
10664 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10665 then
10666 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10667 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10668 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10670 else
10671 ac_check_lib_save_LIBS=$LIBS
10672 LIBS="-lhal $LIBS"
10673 cat >conftest.$ac_ext <<_ACEOF
10674 /* confdefs.h. */
10675 _ACEOF
10676 cat confdefs.h >>conftest.$ac_ext
10677 cat >>conftest.$ac_ext <<_ACEOF
10678 /* end confdefs.h. */
10680 /* Override any GCC internal prototype to avoid an error.
10681 Use char because int might match the return type of a GCC
10682 builtin and then its argument prototype would still apply. */
10683 #ifdef __cplusplus
10684 extern "C"
10685 #endif
10686 char libhal_ctx_new ();
10688 main ()
10690 return libhal_ctx_new ();
10692 return 0;
10694 _ACEOF
10695 rm -f conftest.$ac_objext conftest$ac_exeext
10696 if { (ac_try="$ac_link"
10697 case "(($ac_try" in
10698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10699 *) ac_try_echo=$ac_try;;
10700 esac
10701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10702 (eval "$ac_link") 2>conftest.er1
10703 ac_status=$?
10704 grep -v '^ *+' conftest.er1 >conftest.err
10705 rm -f conftest.er1
10706 cat conftest.err >&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } &&
10709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10710 { (case "(($ac_try" in
10711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10712 *) ac_try_echo=$ac_try;;
10713 esac
10714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10715 (eval "$ac_try") 2>&5
10716 ac_status=$?
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); }; } &&
10719 { ac_try='test -s conftest$ac_exeext'
10720 { (case "(($ac_try" in
10721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10722 *) ac_try_echo=$ac_try;;
10723 esac
10724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10725 (eval "$ac_try") 2>&5
10726 ac_status=$?
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); }; }; then
10729 ac_cv_lib_hal_libhal_ctx_new=yes
10730 else
10731 echo "$as_me: failed program was:" >&5
10732 sed 's/^/| /' conftest.$ac_ext >&5
10734 ac_cv_lib_hal_libhal_ctx_new=no
10737 rm -f core conftest.err conftest.$ac_objext \
10738 conftest$ac_exeext conftest.$ac_ext
10739 LIBS=$ac_check_lib_save_LIBS
10741 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10742 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10743 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10744 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10745 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10746 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10747 echo $ECHO_N "(cached) $ECHO_C" >&6
10748 else
10749 ac_check_lib_save_LIBS=$LIBS
10750 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10751 cat >conftest.$ac_ext <<_ACEOF
10752 /* confdefs.h. */
10753 _ACEOF
10754 cat confdefs.h >>conftest.$ac_ext
10755 cat >>conftest.$ac_ext <<_ACEOF
10756 /* end confdefs.h. */
10758 /* Override any GCC internal prototype to avoid an error.
10759 Use char because int might match the return type of a GCC
10760 builtin and then its argument prototype would still apply. */
10761 #ifdef __cplusplus
10762 extern "C"
10763 #endif
10764 char dbus_connection_close ();
10766 main ()
10768 return dbus_connection_close ();
10770 return 0;
10772 _ACEOF
10773 rm -f conftest.$ac_objext conftest$ac_exeext
10774 if { (ac_try="$ac_link"
10775 case "(($ac_try" in
10776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10777 *) ac_try_echo=$ac_try;;
10778 esac
10779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10780 (eval "$ac_link") 2>conftest.er1
10781 ac_status=$?
10782 grep -v '^ *+' conftest.er1 >conftest.err
10783 rm -f conftest.er1
10784 cat conftest.err >&5
10785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10786 (exit $ac_status); } &&
10787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10788 { (case "(($ac_try" in
10789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10790 *) ac_try_echo=$ac_try;;
10791 esac
10792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10793 (eval "$ac_try") 2>&5
10794 ac_status=$?
10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796 (exit $ac_status); }; } &&
10797 { ac_try='test -s conftest$ac_exeext'
10798 { (case "(($ac_try" in
10799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10800 *) ac_try_echo=$ac_try;;
10801 esac
10802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10803 (eval "$ac_try") 2>&5
10804 ac_status=$?
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); }; }; then
10807 ac_cv_lib_dbus_1_dbus_connection_close=yes
10808 else
10809 echo "$as_me: failed program was:" >&5
10810 sed 's/^/| /' conftest.$ac_ext >&5
10812 ac_cv_lib_dbus_1_dbus_connection_close=no
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 LIBS=$ac_check_lib_save_LIBS
10819 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10820 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10821 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10823 cat >>confdefs.h <<\_ACEOF
10824 #define HAVE_LIBHAL 1
10825 _ACEOF
10827 HALINCL="$ac_hal_cflags"
10833 CPPFLAGS="$ac_save_CPPFLAGS"
10836 CURSESLIBS=""
10837 if test "x$with_curses" != "xno"
10838 then
10839 if test "$ac_cv_header_ncurses_h" = "yes"
10840 then
10841 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10842 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10843 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10844 echo $ECHO_N "(cached) $ECHO_C" >&6
10845 else
10846 ac_check_lib_save_LIBS=$LIBS
10847 LIBS="-lncurses $LIBS"
10848 cat >conftest.$ac_ext <<_ACEOF
10849 /* confdefs.h. */
10850 _ACEOF
10851 cat confdefs.h >>conftest.$ac_ext
10852 cat >>conftest.$ac_ext <<_ACEOF
10853 /* end confdefs.h. */
10855 /* Override any GCC internal prototype to avoid an error.
10856 Use char because int might match the return type of a GCC
10857 builtin and then its argument prototype would still apply. */
10858 #ifdef __cplusplus
10859 extern "C"
10860 #endif
10861 char waddch ();
10863 main ()
10865 return waddch ();
10867 return 0;
10869 _ACEOF
10870 rm -f conftest.$ac_objext conftest$ac_exeext
10871 if { (ac_try="$ac_link"
10872 case "(($ac_try" in
10873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10874 *) ac_try_echo=$ac_try;;
10875 esac
10876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10877 (eval "$ac_link") 2>conftest.er1
10878 ac_status=$?
10879 grep -v '^ *+' conftest.er1 >conftest.err
10880 rm -f conftest.er1
10881 cat conftest.err >&5
10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10883 (exit $ac_status); } &&
10884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10885 { (case "(($ac_try" in
10886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10887 *) ac_try_echo=$ac_try;;
10888 esac
10889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10890 (eval "$ac_try") 2>&5
10891 ac_status=$?
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); }; } &&
10894 { ac_try='test -s conftest$ac_exeext'
10895 { (case "(($ac_try" in
10896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10897 *) ac_try_echo=$ac_try;;
10898 esac
10899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10900 (eval "$ac_try") 2>&5
10901 ac_status=$?
10902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10903 (exit $ac_status); }; }; then
10904 ac_cv_lib_ncurses_waddch=yes
10905 else
10906 echo "$as_me: failed program was:" >&5
10907 sed 's/^/| /' conftest.$ac_ext >&5
10909 ac_cv_lib_ncurses_waddch=no
10912 rm -f core conftest.err conftest.$ac_objext \
10913 conftest$ac_exeext conftest.$ac_ext
10914 LIBS=$ac_check_lib_save_LIBS
10916 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10917 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10918 if test $ac_cv_lib_ncurses_waddch = yes; then
10920 cat >>confdefs.h <<\_ACEOF
10921 #define HAVE_LIBNCURSES 1
10922 _ACEOF
10924 CURSESLIBS="-lncurses"
10927 elif test "$ac_cv_header_curses_h" = "yes"
10928 then
10929 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
10930 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
10931 if test "${ac_cv_lib_curses_waddch+set}" = set; then
10932 echo $ECHO_N "(cached) $ECHO_C" >&6
10933 else
10934 ac_check_lib_save_LIBS=$LIBS
10935 LIBS="-lcurses $LIBS"
10936 cat >conftest.$ac_ext <<_ACEOF
10937 /* confdefs.h. */
10938 _ACEOF
10939 cat confdefs.h >>conftest.$ac_ext
10940 cat >>conftest.$ac_ext <<_ACEOF
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10946 #ifdef __cplusplus
10947 extern "C"
10948 #endif
10949 char waddch ();
10951 main ()
10953 return waddch ();
10955 return 0;
10957 _ACEOF
10958 rm -f conftest.$ac_objext conftest$ac_exeext
10959 if { (ac_try="$ac_link"
10960 case "(($ac_try" in
10961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10962 *) ac_try_echo=$ac_try;;
10963 esac
10964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10965 (eval "$ac_link") 2>conftest.er1
10966 ac_status=$?
10967 grep -v '^ *+' conftest.er1 >conftest.err
10968 rm -f conftest.er1
10969 cat conftest.err >&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } &&
10972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10973 { (case "(($ac_try" in
10974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10975 *) ac_try_echo=$ac_try;;
10976 esac
10977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10978 (eval "$ac_try") 2>&5
10979 ac_status=$?
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); }; } &&
10982 { ac_try='test -s conftest$ac_exeext'
10983 { (case "(($ac_try" in
10984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10985 *) ac_try_echo=$ac_try;;
10986 esac
10987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10988 (eval "$ac_try") 2>&5
10989 ac_status=$?
10990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10991 (exit $ac_status); }; }; then
10992 ac_cv_lib_curses_waddch=yes
10993 else
10994 echo "$as_me: failed program was:" >&5
10995 sed 's/^/| /' conftest.$ac_ext >&5
10997 ac_cv_lib_curses_waddch=no
11000 rm -f core conftest.err conftest.$ac_objext \
11001 conftest$ac_exeext conftest.$ac_ext
11002 LIBS=$ac_check_lib_save_LIBS
11004 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11005 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11006 if test $ac_cv_lib_curses_waddch = yes; then
11008 cat >>confdefs.h <<\_ACEOF
11009 #define HAVE_LIBCURSES 1
11010 _ACEOF
11012 CURSESLIBS="-lcurses"
11016 ac_save_LIBS="$LIBS"
11017 LIBS="$LIBS $CURSESLIBS"
11019 for ac_func in mousemask
11021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11026 else
11027 cat >conftest.$ac_ext <<_ACEOF
11028 /* confdefs.h. */
11029 _ACEOF
11030 cat confdefs.h >>conftest.$ac_ext
11031 cat >>conftest.$ac_ext <<_ACEOF
11032 /* end confdefs.h. */
11033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11035 #define $ac_func innocuous_$ac_func
11037 /* System header to define __stub macros and hopefully few prototypes,
11038 which can conflict with char $ac_func (); below.
11039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11040 <limits.h> exists even on freestanding compilers. */
11042 #ifdef __STDC__
11043 # include <limits.h>
11044 #else
11045 # include <assert.h>
11046 #endif
11048 #undef $ac_func
11050 /* Override any GCC internal prototype to avoid an error.
11051 Use char because int might match the return type of a GCC
11052 builtin and then its argument prototype would still apply. */
11053 #ifdef __cplusplus
11054 extern "C"
11055 #endif
11056 char $ac_func ();
11057 /* The GNU C library defines this for functions which it implements
11058 to always fail with ENOSYS. Some functions are actually named
11059 something starting with __ and the normal name is an alias. */
11060 #if defined __stub_$ac_func || defined __stub___$ac_func
11061 choke me
11062 #endif
11065 main ()
11067 return $ac_func ();
11069 return 0;
11071 _ACEOF
11072 rm -f conftest.$ac_objext conftest$ac_exeext
11073 if { (ac_try="$ac_link"
11074 case "(($ac_try" in
11075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11076 *) ac_try_echo=$ac_try;;
11077 esac
11078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11079 (eval "$ac_link") 2>conftest.er1
11080 ac_status=$?
11081 grep -v '^ *+' conftest.er1 >conftest.err
11082 rm -f conftest.er1
11083 cat conftest.err >&5
11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085 (exit $ac_status); } &&
11086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11087 { (case "(($ac_try" in
11088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11089 *) ac_try_echo=$ac_try;;
11090 esac
11091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11092 (eval "$ac_try") 2>&5
11093 ac_status=$?
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); }; } &&
11096 { ac_try='test -s conftest$ac_exeext'
11097 { (case "(($ac_try" in
11098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11099 *) ac_try_echo=$ac_try;;
11100 esac
11101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11102 (eval "$ac_try") 2>&5
11103 ac_status=$?
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }; }; then
11106 eval "$as_ac_var=yes"
11107 else
11108 echo "$as_me: failed program was:" >&5
11109 sed 's/^/| /' conftest.$ac_ext >&5
11111 eval "$as_ac_var=no"
11114 rm -f core conftest.err conftest.$ac_objext \
11115 conftest$ac_exeext conftest.$ac_ext
11117 ac_res=`eval echo '${'$as_ac_var'}'`
11118 { echo "$as_me:$LINENO: result: $ac_res" >&5
11119 echo "${ECHO_T}$ac_res" >&6; }
11120 if test `eval echo '${'$as_ac_var'}'` = yes; then
11121 cat >>confdefs.h <<_ACEOF
11122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11123 _ACEOF
11126 done
11128 LIBS="$ac_save_LIBS"
11132 # Extract the first word of "sane-config", so it can be a program name with args.
11133 set dummy sane-config; ac_word=$2
11134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11136 if test "${ac_cv_prog_sane_devel+set}" = set; then
11137 echo $ECHO_N "(cached) $ECHO_C" >&6
11138 else
11139 if test -n "$sane_devel"; then
11140 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11141 else
11142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11143 for as_dir in $PATH
11145 IFS=$as_save_IFS
11146 test -z "$as_dir" && as_dir=.
11147 for ac_exec_ext in '' $ac_executable_extensions; do
11148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11149 ac_cv_prog_sane_devel="sane-config"
11150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11151 break 2
11153 done
11154 done
11155 IFS=$as_save_IFS
11157 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11160 sane_devel=$ac_cv_prog_sane_devel
11161 if test -n "$sane_devel"; then
11162 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11163 echo "${ECHO_T}$sane_devel" >&6; }
11164 else
11165 { echo "$as_me:$LINENO: result: no" >&5
11166 echo "${ECHO_T}no" >&6; }
11170 SANELIBS=""
11172 SANEINCL=""
11174 if test "$sane_devel" != "no"
11175 then
11176 SANELIBS="`$sane_devel --libs`"
11177 SANEINCL="`$sane_devel --cflags`"
11178 ac_save_CPPFLAGS="$CPPFLAGS"
11179 ac_save_LIBS="$LIBS"
11180 CPPFLAGS="$CPPFLAGS $SANEINCL"
11181 LIBS="$LIBS $SANELIBS"
11182 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11183 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11184 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11185 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11189 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11190 else
11191 # Is the header compilable?
11192 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11193 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11194 cat >conftest.$ac_ext <<_ACEOF
11195 /* confdefs.h. */
11196 _ACEOF
11197 cat confdefs.h >>conftest.$ac_ext
11198 cat >>conftest.$ac_ext <<_ACEOF
11199 /* end confdefs.h. */
11200 $ac_includes_default
11201 #include <sane/sane.h>
11202 _ACEOF
11203 rm -f conftest.$ac_objext
11204 if { (ac_try="$ac_compile"
11205 case "(($ac_try" in
11206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11207 *) ac_try_echo=$ac_try;;
11208 esac
11209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11210 (eval "$ac_compile") 2>conftest.er1
11211 ac_status=$?
11212 grep -v '^ *+' conftest.er1 >conftest.err
11213 rm -f conftest.er1
11214 cat conftest.err >&5
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); } &&
11217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11218 { (case "(($ac_try" in
11219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11220 *) ac_try_echo=$ac_try;;
11221 esac
11222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11223 (eval "$ac_try") 2>&5
11224 ac_status=$?
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); }; } &&
11227 { ac_try='test -s conftest.$ac_objext'
11228 { (case "(($ac_try" in
11229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11230 *) ac_try_echo=$ac_try;;
11231 esac
11232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11233 (eval "$ac_try") 2>&5
11234 ac_status=$?
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); }; }; then
11237 ac_header_compiler=yes
11238 else
11239 echo "$as_me: failed program was:" >&5
11240 sed 's/^/| /' conftest.$ac_ext >&5
11242 ac_header_compiler=no
11245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11246 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11247 echo "${ECHO_T}$ac_header_compiler" >&6; }
11249 # Is the header present?
11250 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11251 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11252 cat >conftest.$ac_ext <<_ACEOF
11253 /* confdefs.h. */
11254 _ACEOF
11255 cat confdefs.h >>conftest.$ac_ext
11256 cat >>conftest.$ac_ext <<_ACEOF
11257 /* end confdefs.h. */
11258 #include <sane/sane.h>
11259 _ACEOF
11260 if { (ac_try="$ac_cpp conftest.$ac_ext"
11261 case "(($ac_try" in
11262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11263 *) ac_try_echo=$ac_try;;
11264 esac
11265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11266 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11267 ac_status=$?
11268 grep -v '^ *+' conftest.er1 >conftest.err
11269 rm -f conftest.er1
11270 cat conftest.err >&5
11271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); } >/dev/null; then
11273 if test -s conftest.err; then
11274 ac_cpp_err=$ac_c_preproc_warn_flag
11275 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11276 else
11277 ac_cpp_err=
11279 else
11280 ac_cpp_err=yes
11282 if test -z "$ac_cpp_err"; then
11283 ac_header_preproc=yes
11284 else
11285 echo "$as_me: failed program was:" >&5
11286 sed 's/^/| /' conftest.$ac_ext >&5
11288 ac_header_preproc=no
11291 rm -f conftest.err conftest.$ac_ext
11292 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11293 echo "${ECHO_T}$ac_header_preproc" >&6; }
11295 # So? What about this header?
11296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11297 yes:no: )
11298 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11299 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11300 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11301 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11302 ac_header_preproc=yes
11304 no:yes:* )
11305 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11306 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11307 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11308 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11309 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11310 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11311 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11312 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11313 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11314 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11315 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11316 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11317 ( cat <<\_ASBOX
11318 ## ------------------------------------ ##
11319 ## Report this to wine-devel@winehq.org ##
11320 ## ------------------------------------ ##
11321 _ASBOX
11322 ) | sed "s/^/$as_me: WARNING: /" >&2
11324 esac
11325 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11326 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11327 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11328 echo $ECHO_N "(cached) $ECHO_C" >&6
11329 else
11330 ac_cv_header_sane_sane_h=$ac_header_preproc
11332 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11333 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11336 if test $ac_cv_header_sane_sane_h = yes; then
11337 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11338 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11339 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11340 echo $ECHO_N "(cached) $ECHO_C" >&6
11341 else
11342 ac_check_lib_save_LIBS=$LIBS
11343 LIBS="-lsane $LIBS"
11344 cat >conftest.$ac_ext <<_ACEOF
11345 /* confdefs.h. */
11346 _ACEOF
11347 cat confdefs.h >>conftest.$ac_ext
11348 cat >>conftest.$ac_ext <<_ACEOF
11349 /* end confdefs.h. */
11351 /* Override any GCC internal prototype to avoid an error.
11352 Use char because int might match the return type of a GCC
11353 builtin and then its argument prototype would still apply. */
11354 #ifdef __cplusplus
11355 extern "C"
11356 #endif
11357 char sane_open ();
11359 main ()
11361 return sane_open ();
11363 return 0;
11365 _ACEOF
11366 rm -f conftest.$ac_objext conftest$ac_exeext
11367 if { (ac_try="$ac_link"
11368 case "(($ac_try" in
11369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11370 *) ac_try_echo=$ac_try;;
11371 esac
11372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11373 (eval "$ac_link") 2>conftest.er1
11374 ac_status=$?
11375 grep -v '^ *+' conftest.er1 >conftest.err
11376 rm -f conftest.er1
11377 cat conftest.err >&5
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); } &&
11380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11381 { (case "(($ac_try" in
11382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11383 *) ac_try_echo=$ac_try;;
11384 esac
11385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11386 (eval "$ac_try") 2>&5
11387 ac_status=$?
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); }; } &&
11390 { ac_try='test -s conftest$ac_exeext'
11391 { (case "(($ac_try" in
11392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11393 *) ac_try_echo=$ac_try;;
11394 esac
11395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11396 (eval "$ac_try") 2>&5
11397 ac_status=$?
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); }; }; then
11400 ac_cv_lib_sane_sane_open=yes
11401 else
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.$ac_ext >&5
11405 ac_cv_lib_sane_sane_open=no
11408 rm -f core conftest.err conftest.$ac_objext \
11409 conftest$ac_exeext conftest.$ac_ext
11410 LIBS=$ac_check_lib_save_LIBS
11412 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11413 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11414 if test $ac_cv_lib_sane_sane_open = yes; then
11416 cat >>confdefs.h <<\_ACEOF
11417 #define HAVE_SANE 1
11418 _ACEOF
11420 else
11421 SANELIBS=""
11422 SANEINCL=""
11425 else
11426 SANELIBS=""
11427 SANEINCL=""
11431 LIBS="$ac_save_LIBS"
11432 CPPFLAGS="$ac_save_CPPFLAGS"
11435 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11436 set dummy gphoto2-config; ac_word=$2
11437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11439 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11440 echo $ECHO_N "(cached) $ECHO_C" >&6
11441 else
11442 if test -n "$gphoto2_devel"; then
11443 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11444 else
11445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11446 for as_dir in $PATH
11448 IFS=$as_save_IFS
11449 test -z "$as_dir" && as_dir=.
11450 for ac_exec_ext in '' $ac_executable_extensions; do
11451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11452 ac_cv_prog_gphoto2_devel="gphoto2-config"
11453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11454 break 2
11456 done
11457 done
11458 IFS=$as_save_IFS
11460 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11463 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11464 if test -n "$gphoto2_devel"; then
11465 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11466 echo "${ECHO_T}$gphoto2_devel" >&6; }
11467 else
11468 { echo "$as_me:$LINENO: result: no" >&5
11469 echo "${ECHO_T}no" >&6; }
11473 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11474 set dummy gphoto2-port-config; ac_word=$2
11475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11477 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11478 echo $ECHO_N "(cached) $ECHO_C" >&6
11479 else
11480 if test -n "$gphoto2port_devel"; then
11481 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11482 else
11483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11484 for as_dir in $PATH
11486 IFS=$as_save_IFS
11487 test -z "$as_dir" && as_dir=.
11488 for ac_exec_ext in '' $ac_executable_extensions; do
11489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11490 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11492 break 2
11494 done
11495 done
11496 IFS=$as_save_IFS
11498 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11501 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11502 if test -n "$gphoto2port_devel"; then
11503 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11504 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11505 else
11506 { echo "$as_me:$LINENO: result: no" >&5
11507 echo "${ECHO_T}no" >&6; }
11511 GPHOTO2LIBS=""
11513 GPHOTO2INCL=""
11515 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11516 then
11517 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11518 GPHOTO2LIBS=""
11519 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11521 case "$i" in
11522 -L/usr/lib|-L/usr/lib64) ;;
11523 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11524 esac
11525 done
11526 ac_save_CPPFLAGS="$CPPFLAGS"
11527 ac_save_LIBS="$LIBS"
11528 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11529 LIBS="$LIBS $GPHOTO2LIBS"
11530 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11531 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11532 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11533 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11534 echo $ECHO_N "(cached) $ECHO_C" >&6
11536 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11537 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11538 else
11539 # Is the header compilable?
11540 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11541 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11542 cat >conftest.$ac_ext <<_ACEOF
11543 /* confdefs.h. */
11544 _ACEOF
11545 cat confdefs.h >>conftest.$ac_ext
11546 cat >>conftest.$ac_ext <<_ACEOF
11547 /* end confdefs.h. */
11548 $ac_includes_default
11549 #include <gphoto2-camera.h>
11550 _ACEOF
11551 rm -f conftest.$ac_objext
11552 if { (ac_try="$ac_compile"
11553 case "(($ac_try" in
11554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11555 *) ac_try_echo=$ac_try;;
11556 esac
11557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11558 (eval "$ac_compile") 2>conftest.er1
11559 ac_status=$?
11560 grep -v '^ *+' conftest.er1 >conftest.err
11561 rm -f conftest.er1
11562 cat conftest.err >&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); } &&
11565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11566 { (case "(($ac_try" in
11567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11568 *) ac_try_echo=$ac_try;;
11569 esac
11570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11571 (eval "$ac_try") 2>&5
11572 ac_status=$?
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); }; } &&
11575 { ac_try='test -s conftest.$ac_objext'
11576 { (case "(($ac_try" in
11577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11578 *) ac_try_echo=$ac_try;;
11579 esac
11580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11581 (eval "$ac_try") 2>&5
11582 ac_status=$?
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); }; }; then
11585 ac_header_compiler=yes
11586 else
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.$ac_ext >&5
11590 ac_header_compiler=no
11593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11594 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11595 echo "${ECHO_T}$ac_header_compiler" >&6; }
11597 # Is the header present?
11598 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11599 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11600 cat >conftest.$ac_ext <<_ACEOF
11601 /* confdefs.h. */
11602 _ACEOF
11603 cat confdefs.h >>conftest.$ac_ext
11604 cat >>conftest.$ac_ext <<_ACEOF
11605 /* end confdefs.h. */
11606 #include <gphoto2-camera.h>
11607 _ACEOF
11608 if { (ac_try="$ac_cpp conftest.$ac_ext"
11609 case "(($ac_try" in
11610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11611 *) ac_try_echo=$ac_try;;
11612 esac
11613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11615 ac_status=$?
11616 grep -v '^ *+' conftest.er1 >conftest.err
11617 rm -f conftest.er1
11618 cat conftest.err >&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); } >/dev/null; then
11621 if test -s conftest.err; then
11622 ac_cpp_err=$ac_c_preproc_warn_flag
11623 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11624 else
11625 ac_cpp_err=
11627 else
11628 ac_cpp_err=yes
11630 if test -z "$ac_cpp_err"; then
11631 ac_header_preproc=yes
11632 else
11633 echo "$as_me: failed program was:" >&5
11634 sed 's/^/| /' conftest.$ac_ext >&5
11636 ac_header_preproc=no
11639 rm -f conftest.err conftest.$ac_ext
11640 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11641 echo "${ECHO_T}$ac_header_preproc" >&6; }
11643 # So? What about this header?
11644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11645 yes:no: )
11646 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11647 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11648 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11649 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11650 ac_header_preproc=yes
11652 no:yes:* )
11653 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11654 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11655 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11656 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11657 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11658 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11659 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11660 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11661 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11662 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11663 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11664 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11665 ( cat <<\_ASBOX
11666 ## ------------------------------------ ##
11667 ## Report this to wine-devel@winehq.org ##
11668 ## ------------------------------------ ##
11669 _ASBOX
11670 ) | sed "s/^/$as_me: WARNING: /" >&2
11672 esac
11673 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11674 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11675 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11676 echo $ECHO_N "(cached) $ECHO_C" >&6
11677 else
11678 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11680 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11681 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11684 if test $ac_cv_header_gphoto2_camera_h = yes; then
11685 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11686 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11687 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11688 echo $ECHO_N "(cached) $ECHO_C" >&6
11689 else
11690 ac_check_lib_save_LIBS=$LIBS
11691 LIBS="-lgphoto2 $LIBS"
11692 cat >conftest.$ac_ext <<_ACEOF
11693 /* confdefs.h. */
11694 _ACEOF
11695 cat confdefs.h >>conftest.$ac_ext
11696 cat >>conftest.$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11699 /* Override any GCC internal prototype to avoid an error.
11700 Use char because int might match the return type of a GCC
11701 builtin and then its argument prototype would still apply. */
11702 #ifdef __cplusplus
11703 extern "C"
11704 #endif
11705 char gp_camera_new ();
11707 main ()
11709 return gp_camera_new ();
11711 return 0;
11713 _ACEOF
11714 rm -f conftest.$ac_objext conftest$ac_exeext
11715 if { (ac_try="$ac_link"
11716 case "(($ac_try" in
11717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11718 *) ac_try_echo=$ac_try;;
11719 esac
11720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11721 (eval "$ac_link") 2>conftest.er1
11722 ac_status=$?
11723 grep -v '^ *+' conftest.er1 >conftest.err
11724 rm -f conftest.er1
11725 cat conftest.err >&5
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); } &&
11728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11729 { (case "(($ac_try" in
11730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11731 *) ac_try_echo=$ac_try;;
11732 esac
11733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11734 (eval "$ac_try") 2>&5
11735 ac_status=$?
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); }; } &&
11738 { ac_try='test -s conftest$ac_exeext'
11739 { (case "(($ac_try" in
11740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11741 *) ac_try_echo=$ac_try;;
11742 esac
11743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11744 (eval "$ac_try") 2>&5
11745 ac_status=$?
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; }; then
11748 ac_cv_lib_gphoto2_gp_camera_new=yes
11749 else
11750 echo "$as_me: failed program was:" >&5
11751 sed 's/^/| /' conftest.$ac_ext >&5
11753 ac_cv_lib_gphoto2_gp_camera_new=no
11756 rm -f core conftest.err conftest.$ac_objext \
11757 conftest$ac_exeext conftest.$ac_ext
11758 LIBS=$ac_check_lib_save_LIBS
11760 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11761 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11762 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11764 cat >>confdefs.h <<\_ACEOF
11765 #define HAVE_GPHOTO2 1
11766 _ACEOF
11768 else
11769 GPHOTO2LIBS=""
11770 GPHOTO2INCL=""
11773 else
11774 GPHOTO2LIBS=""
11775 GPHOTO2INCL=""
11779 LIBS="$ac_save_LIBS"
11780 CPPFLAGS="$ac_save_CPPFLAGS"
11783 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11784 then
11785 saved_libs="$LIBS"
11786 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11788 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11789 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11790 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11791 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11792 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11793 cat >conftest.$ac_ext <<_ACEOF
11794 /* confdefs.h. */
11795 _ACEOF
11796 cat confdefs.h >>conftest.$ac_ext
11797 cat >>conftest.$ac_ext <<_ACEOF
11798 /* end confdefs.h. */
11799 #include <unicode/ubidi.h>
11801 main ()
11803 ubidi_open()
11805 return 0;
11807 _ACEOF
11808 rm -f conftest.$ac_objext conftest$ac_exeext
11809 if { (ac_try="$ac_link"
11810 case "(($ac_try" in
11811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11812 *) ac_try_echo=$ac_try;;
11813 esac
11814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11815 (eval "$ac_link") 2>conftest.er1
11816 ac_status=$?
11817 grep -v '^ *+' conftest.er1 >conftest.err
11818 rm -f conftest.er1
11819 cat conftest.err >&5
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); } &&
11822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11823 { (case "(($ac_try" in
11824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11825 *) ac_try_echo=$ac_try;;
11826 esac
11827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11828 (eval "$ac_try") 2>&5
11829 ac_status=$?
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; } &&
11832 { ac_try='test -s conftest$ac_exeext'
11833 { (case "(($ac_try" in
11834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11835 *) ac_try_echo=$ac_try;;
11836 esac
11837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11838 (eval "$ac_try") 2>&5
11839 ac_status=$?
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; }; then
11843 cat >>confdefs.h <<\_ACEOF
11844 #define HAVE_ICU 1
11845 _ACEOF
11847 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11849 { echo "$as_me:$LINENO: result: yes" >&5
11850 echo "${ECHO_T}yes" >&6; }
11851 else
11852 echo "$as_me: failed program was:" >&5
11853 sed 's/^/| /' conftest.$ac_ext >&5
11855 { echo "$as_me:$LINENO: result: no" >&5
11856 echo "${ECHO_T}no" >&6; }
11859 rm -f core conftest.err conftest.$ac_objext \
11860 conftest$ac_exeext conftest.$ac_ext
11861 done
11862 LIBS="$saved_libs"
11865 RESOLVLIBS=""
11867 if test "$ac_cv_header_resolv_h" = "yes"
11868 then
11869 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11870 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11871 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 else
11874 ac_check_lib_save_LIBS=$LIBS
11875 LIBS="-lresolv $LIBS"
11876 cat >conftest.$ac_ext <<_ACEOF
11877 /* confdefs.h. */
11878 _ACEOF
11879 cat confdefs.h >>conftest.$ac_ext
11880 cat >>conftest.$ac_ext <<_ACEOF
11881 /* end confdefs.h. */
11883 /* Override any GCC internal prototype to avoid an error.
11884 Use char because int might match the return type of a GCC
11885 builtin and then its argument prototype would still apply. */
11886 #ifdef __cplusplus
11887 extern "C"
11888 #endif
11889 char res_query ();
11891 main ()
11893 return res_query ();
11895 return 0;
11897 _ACEOF
11898 rm -f conftest.$ac_objext conftest$ac_exeext
11899 if { (ac_try="$ac_link"
11900 case "(($ac_try" in
11901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11902 *) ac_try_echo=$ac_try;;
11903 esac
11904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11905 (eval "$ac_link") 2>conftest.er1
11906 ac_status=$?
11907 grep -v '^ *+' conftest.er1 >conftest.err
11908 rm -f conftest.er1
11909 cat conftest.err >&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } &&
11912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11913 { (case "(($ac_try" in
11914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11915 *) ac_try_echo=$ac_try;;
11916 esac
11917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11918 (eval "$ac_try") 2>&5
11919 ac_status=$?
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); }; } &&
11922 { ac_try='test -s conftest$ac_exeext'
11923 { (case "(($ac_try" in
11924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11925 *) ac_try_echo=$ac_try;;
11926 esac
11927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11928 (eval "$ac_try") 2>&5
11929 ac_status=$?
11930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11931 (exit $ac_status); }; }; then
11932 ac_cv_lib_resolv_res_query=yes
11933 else
11934 echo "$as_me: failed program was:" >&5
11935 sed 's/^/| /' conftest.$ac_ext >&5
11937 ac_cv_lib_resolv_res_query=no
11940 rm -f core conftest.err conftest.$ac_objext \
11941 conftest$ac_exeext conftest.$ac_ext
11942 LIBS=$ac_check_lib_save_LIBS
11944 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
11945 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
11946 if test $ac_cv_lib_resolv_res_query = yes; then
11948 cat >>confdefs.h <<\_ACEOF
11949 #define HAVE_RESOLV 1
11950 _ACEOF
11952 RESOLVLIBS="-lresolv"
11957 LCMSLIBS=""
11959 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
11960 then
11961 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
11962 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
11963 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
11964 echo $ECHO_N "(cached) $ECHO_C" >&6
11965 else
11966 ac_check_lib_save_LIBS=$LIBS
11967 LIBS="-llcms $LIBS"
11968 cat >conftest.$ac_ext <<_ACEOF
11969 /* confdefs.h. */
11970 _ACEOF
11971 cat confdefs.h >>conftest.$ac_ext
11972 cat >>conftest.$ac_ext <<_ACEOF
11973 /* end confdefs.h. */
11975 /* Override any GCC internal prototype to avoid an error.
11976 Use char because int might match the return type of a GCC
11977 builtin and then its argument prototype would still apply. */
11978 #ifdef __cplusplus
11979 extern "C"
11980 #endif
11981 char cmsOpenProfileFromFile ();
11983 main ()
11985 return cmsOpenProfileFromFile ();
11987 return 0;
11989 _ACEOF
11990 rm -f conftest.$ac_objext conftest$ac_exeext
11991 if { (ac_try="$ac_link"
11992 case "(($ac_try" in
11993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11994 *) ac_try_echo=$ac_try;;
11995 esac
11996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11997 (eval "$ac_link") 2>conftest.er1
11998 ac_status=$?
11999 grep -v '^ *+' conftest.er1 >conftest.err
12000 rm -f conftest.er1
12001 cat conftest.err >&5
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); } &&
12004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12005 { (case "(($ac_try" in
12006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12007 *) ac_try_echo=$ac_try;;
12008 esac
12009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12010 (eval "$ac_try") 2>&5
12011 ac_status=$?
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; } &&
12014 { ac_try='test -s conftest$ac_exeext'
12015 { (case "(($ac_try" in
12016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12017 *) ac_try_echo=$ac_try;;
12018 esac
12019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12020 (eval "$ac_try") 2>&5
12021 ac_status=$?
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); }; }; then
12024 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12025 else
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.$ac_ext >&5
12029 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12032 rm -f core conftest.err conftest.$ac_objext \
12033 conftest$ac_exeext conftest.$ac_ext
12034 LIBS=$ac_check_lib_save_LIBS
12036 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12037 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12038 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12040 cat >>confdefs.h <<\_ACEOF
12041 #define HAVE_LCMS 1
12042 _ACEOF
12044 LCMSLIBS="-llcms"
12049 LDAPLIBS=""
12051 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12052 then
12053 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12054 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12055 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12057 else
12058 ac_check_lib_save_LIBS=$LIBS
12059 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12060 cat >conftest.$ac_ext <<_ACEOF
12061 /* confdefs.h. */
12062 _ACEOF
12063 cat confdefs.h >>conftest.$ac_ext
12064 cat >>conftest.$ac_ext <<_ACEOF
12065 /* end confdefs.h. */
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12070 #ifdef __cplusplus
12071 extern "C"
12072 #endif
12073 char ldap_initialize ();
12075 main ()
12077 return ldap_initialize ();
12079 return 0;
12081 _ACEOF
12082 rm -f conftest.$ac_objext conftest$ac_exeext
12083 if { (ac_try="$ac_link"
12084 case "(($ac_try" in
12085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12086 *) ac_try_echo=$ac_try;;
12087 esac
12088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12089 (eval "$ac_link") 2>conftest.er1
12090 ac_status=$?
12091 grep -v '^ *+' conftest.er1 >conftest.err
12092 rm -f conftest.er1
12093 cat conftest.err >&5
12094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12095 (exit $ac_status); } &&
12096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12097 { (case "(($ac_try" in
12098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12099 *) ac_try_echo=$ac_try;;
12100 esac
12101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12102 (eval "$ac_try") 2>&5
12103 ac_status=$?
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); }; } &&
12106 { ac_try='test -s conftest$ac_exeext'
12107 { (case "(($ac_try" in
12108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12109 *) ac_try_echo=$ac_try;;
12110 esac
12111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12112 (eval "$ac_try") 2>&5
12113 ac_status=$?
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; }; then
12116 ac_cv_lib_ldap_r_ldap_initialize=yes
12117 else
12118 echo "$as_me: failed program was:" >&5
12119 sed 's/^/| /' conftest.$ac_ext >&5
12121 ac_cv_lib_ldap_r_ldap_initialize=no
12124 rm -f core conftest.err conftest.$ac_objext \
12125 conftest$ac_exeext conftest.$ac_ext
12126 LIBS=$ac_check_lib_save_LIBS
12128 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12129 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12130 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12131 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12132 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12133 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12134 echo $ECHO_N "(cached) $ECHO_C" >&6
12135 else
12136 ac_check_lib_save_LIBS=$LIBS
12137 LIBS="-llber $LIBPTHREAD $LIBS"
12138 cat >conftest.$ac_ext <<_ACEOF
12139 /* confdefs.h. */
12140 _ACEOF
12141 cat confdefs.h >>conftest.$ac_ext
12142 cat >>conftest.$ac_ext <<_ACEOF
12143 /* end confdefs.h. */
12145 /* Override any GCC internal prototype to avoid an error.
12146 Use char because int might match the return type of a GCC
12147 builtin and then its argument prototype would still apply. */
12148 #ifdef __cplusplus
12149 extern "C"
12150 #endif
12151 char ber_init ();
12153 main ()
12155 return ber_init ();
12157 return 0;
12159 _ACEOF
12160 rm -f conftest.$ac_objext conftest$ac_exeext
12161 if { (ac_try="$ac_link"
12162 case "(($ac_try" in
12163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12164 *) ac_try_echo=$ac_try;;
12165 esac
12166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12167 (eval "$ac_link") 2>conftest.er1
12168 ac_status=$?
12169 grep -v '^ *+' conftest.er1 >conftest.err
12170 rm -f conftest.er1
12171 cat conftest.err >&5
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); } &&
12174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12175 { (case "(($ac_try" in
12176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12177 *) ac_try_echo=$ac_try;;
12178 esac
12179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12180 (eval "$ac_try") 2>&5
12181 ac_status=$?
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); }; } &&
12184 { ac_try='test -s conftest$ac_exeext'
12185 { (case "(($ac_try" in
12186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12187 *) ac_try_echo=$ac_try;;
12188 esac
12189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12190 (eval "$ac_try") 2>&5
12191 ac_status=$?
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; }; then
12194 ac_cv_lib_lber_ber_init=yes
12195 else
12196 echo "$as_me: failed program was:" >&5
12197 sed 's/^/| /' conftest.$ac_ext >&5
12199 ac_cv_lib_lber_ber_init=no
12202 rm -f core conftest.err conftest.$ac_objext \
12203 conftest$ac_exeext conftest.$ac_ext
12204 LIBS=$ac_check_lib_save_LIBS
12206 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12207 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12208 if test $ac_cv_lib_lber_ber_init = yes; then
12210 cat >>confdefs.h <<\_ACEOF
12211 #define HAVE_LDAP 1
12212 _ACEOF
12214 LDAPLIBS="-lldap_r -llber"
12219 ac_wine_check_funcs_save_LIBS="$LIBS"
12220 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12225 for ac_func in \
12226 ldap_count_references \
12227 ldap_first_reference \
12228 ldap_next_reference \
12229 ldap_parse_reference
12231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12232 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12234 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12236 else
12237 cat >conftest.$ac_ext <<_ACEOF
12238 /* confdefs.h. */
12239 _ACEOF
12240 cat confdefs.h >>conftest.$ac_ext
12241 cat >>conftest.$ac_ext <<_ACEOF
12242 /* end confdefs.h. */
12243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12245 #define $ac_func innocuous_$ac_func
12247 /* System header to define __stub macros and hopefully few prototypes,
12248 which can conflict with char $ac_func (); below.
12249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12250 <limits.h> exists even on freestanding compilers. */
12252 #ifdef __STDC__
12253 # include <limits.h>
12254 #else
12255 # include <assert.h>
12256 #endif
12258 #undef $ac_func
12260 /* Override any GCC internal prototype to avoid an error.
12261 Use char because int might match the return type of a GCC
12262 builtin and then its argument prototype would still apply. */
12263 #ifdef __cplusplus
12264 extern "C"
12265 #endif
12266 char $ac_func ();
12267 /* The GNU C library defines this for functions which it implements
12268 to always fail with ENOSYS. Some functions are actually named
12269 something starting with __ and the normal name is an alias. */
12270 #if defined __stub_$ac_func || defined __stub___$ac_func
12271 choke me
12272 #endif
12275 main ()
12277 return $ac_func ();
12279 return 0;
12281 _ACEOF
12282 rm -f conftest.$ac_objext conftest$ac_exeext
12283 if { (ac_try="$ac_link"
12284 case "(($ac_try" in
12285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12286 *) ac_try_echo=$ac_try;;
12287 esac
12288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12289 (eval "$ac_link") 2>conftest.er1
12290 ac_status=$?
12291 grep -v '^ *+' conftest.er1 >conftest.err
12292 rm -f conftest.er1
12293 cat conftest.err >&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); } &&
12296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12297 { (case "(($ac_try" in
12298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12299 *) ac_try_echo=$ac_try;;
12300 esac
12301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12302 (eval "$ac_try") 2>&5
12303 ac_status=$?
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); }; } &&
12306 { ac_try='test -s conftest$ac_exeext'
12307 { (case "(($ac_try" in
12308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12309 *) ac_try_echo=$ac_try;;
12310 esac
12311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12312 (eval "$ac_try") 2>&5
12313 ac_status=$?
12314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12315 (exit $ac_status); }; }; then
12316 eval "$as_ac_var=yes"
12317 else
12318 echo "$as_me: failed program was:" >&5
12319 sed 's/^/| /' conftest.$ac_ext >&5
12321 eval "$as_ac_var=no"
12324 rm -f core conftest.err conftest.$ac_objext \
12325 conftest$ac_exeext conftest.$ac_ext
12327 ac_res=`eval echo '${'$as_ac_var'}'`
12328 { echo "$as_me:$LINENO: result: $ac_res" >&5
12329 echo "${ECHO_T}$ac_res" >&6; }
12330 if test `eval echo '${'$as_ac_var'}'` = yes; then
12331 cat >>confdefs.h <<_ACEOF
12332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12333 _ACEOF
12336 done
12338 LIBS="$ac_wine_check_funcs_save_LIBS"
12341 FREETYPELIBS=""
12343 FREETYPEINCL=""
12345 # Extract the first word of "freetype-config", so it can be a program name with args.
12346 set dummy freetype-config; ac_word=$2
12347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12349 if test "${ac_cv_prog_ft_devel+set}" = set; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 else
12352 if test -n "$ft_devel"; then
12353 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12354 else
12355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12356 for as_dir in $PATH
12358 IFS=$as_save_IFS
12359 test -z "$as_dir" && as_dir=.
12360 for ac_exec_ext in '' $ac_executable_extensions; do
12361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12362 ac_cv_prog_ft_devel="freetype-config"
12363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12364 break 2
12366 done
12367 done
12368 IFS=$as_save_IFS
12370 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12373 ft_devel=$ac_cv_prog_ft_devel
12374 if test -n "$ft_devel"; then
12375 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12376 echo "${ECHO_T}$ft_devel" >&6; }
12377 else
12378 { echo "$as_me:$LINENO: result: no" >&5
12379 echo "${ECHO_T}no" >&6; }
12383 if test "$ft_devel" = "no"
12384 then
12385 # Extract the first word of "freetype2-config", so it can be a program name with args.
12386 set dummy freetype2-config; ac_word=$2
12387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12389 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12390 echo $ECHO_N "(cached) $ECHO_C" >&6
12391 else
12392 if test -n "$ft_devel2"; then
12393 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12394 else
12395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12396 for as_dir in $PATH
12398 IFS=$as_save_IFS
12399 test -z "$as_dir" && as_dir=.
12400 for ac_exec_ext in '' $ac_executable_extensions; do
12401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12402 ac_cv_prog_ft_devel2="freetype2-config"
12403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12404 break 2
12406 done
12407 done
12408 IFS=$as_save_IFS
12410 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12413 ft_devel2=$ac_cv_prog_ft_devel2
12414 if test -n "$ft_devel2"; then
12415 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12416 echo "${ECHO_T}$ft_devel2" >&6; }
12417 else
12418 { echo "$as_me:$LINENO: result: no" >&5
12419 echo "${ECHO_T}no" >&6; }
12423 if test "$ft_devel2" = "freetype2-config"
12424 then
12425 ft_devel=$ft_devel2
12429 if test "$ft_devel" = "no"
12430 then
12431 wine_cv_msg_freetype=yes
12432 else
12433 FREETYPELIBS=`$ft_devel --libs`
12434 FREETYPEINCL=`$ft_devel --cflags`
12435 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12436 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12437 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12439 else
12440 ac_check_lib_save_LIBS=$LIBS
12441 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12442 cat >conftest.$ac_ext <<_ACEOF
12443 /* confdefs.h. */
12444 _ACEOF
12445 cat confdefs.h >>conftest.$ac_ext
12446 cat >>conftest.$ac_ext <<_ACEOF
12447 /* end confdefs.h. */
12449 /* Override any GCC internal prototype to avoid an error.
12450 Use char because int might match the return type of a GCC
12451 builtin and then its argument prototype would still apply. */
12452 #ifdef __cplusplus
12453 extern "C"
12454 #endif
12455 char FT_Init_FreeType ();
12457 main ()
12459 return FT_Init_FreeType ();
12461 return 0;
12463 _ACEOF
12464 rm -f conftest.$ac_objext conftest$ac_exeext
12465 if { (ac_try="$ac_link"
12466 case "(($ac_try" in
12467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12468 *) ac_try_echo=$ac_try;;
12469 esac
12470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12471 (eval "$ac_link") 2>conftest.er1
12472 ac_status=$?
12473 grep -v '^ *+' conftest.er1 >conftest.err
12474 rm -f conftest.er1
12475 cat conftest.err >&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); } &&
12478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12479 { (case "(($ac_try" in
12480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12481 *) ac_try_echo=$ac_try;;
12482 esac
12483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12484 (eval "$ac_try") 2>&5
12485 ac_status=$?
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try='test -s conftest$ac_exeext'
12489 { (case "(($ac_try" in
12490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12491 *) ac_try_echo=$ac_try;;
12492 esac
12493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12494 (eval "$ac_try") 2>&5
12495 ac_status=$?
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); }; }; then
12498 ac_cv_lib_freetype_FT_Init_FreeType=yes
12499 else
12500 echo "$as_me: failed program was:" >&5
12501 sed 's/^/| /' conftest.$ac_ext >&5
12503 ac_cv_lib_freetype_FT_Init_FreeType=no
12506 rm -f core conftest.err conftest.$ac_objext \
12507 conftest$ac_exeext conftest.$ac_ext
12508 LIBS=$ac_check_lib_save_LIBS
12510 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12511 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12512 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12513 ft_lib=yes
12514 else
12515 ft_lib=no
12518 if test "$ft_lib" = "no"
12519 then
12520 wine_cv_msg_freetype=yes
12521 FREETYPELIBS=""
12522 FREETYPEINCL=""
12523 else
12524 ac_save_CPPFLAGS="$CPPFLAGS"
12525 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12537 for ac_header in ft2build.h \
12538 freetype/freetype.h \
12539 freetype/ftglyph.h \
12540 freetype/tttables.h \
12541 freetype/ftnames.h \
12542 freetype/ftsnames.h \
12543 freetype/ttnameid.h \
12544 freetype/ftoutln.h \
12545 freetype/ftwinfnt.h \
12546 freetype/ftmodapi.h \
12547 freetype/internal/sfnt.h
12549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12550 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6
12554 else
12555 cat >conftest.$ac_ext <<_ACEOF
12556 /* confdefs.h. */
12557 _ACEOF
12558 cat confdefs.h >>conftest.$ac_ext
12559 cat >>conftest.$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12561 #if HAVE_FT2BUILD_H
12562 #include <ft2build.h>
12563 #endif
12565 #include <$ac_header>
12566 _ACEOF
12567 rm -f conftest.$ac_objext
12568 if { (ac_try="$ac_compile"
12569 case "(($ac_try" in
12570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12571 *) ac_try_echo=$ac_try;;
12572 esac
12573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12574 (eval "$ac_compile") 2>conftest.er1
12575 ac_status=$?
12576 grep -v '^ *+' conftest.er1 >conftest.err
12577 rm -f conftest.er1
12578 cat conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } &&
12581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12582 { (case "(($ac_try" in
12583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12584 *) ac_try_echo=$ac_try;;
12585 esac
12586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12587 (eval "$ac_try") 2>&5
12588 ac_status=$?
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; } &&
12591 { ac_try='test -s conftest.$ac_objext'
12592 { (case "(($ac_try" in
12593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12594 *) ac_try_echo=$ac_try;;
12595 esac
12596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12597 (eval "$ac_try") 2>&5
12598 ac_status=$?
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); }; }; then
12601 eval "$as_ac_Header=yes"
12602 else
12603 echo "$as_me: failed program was:" >&5
12604 sed 's/^/| /' conftest.$ac_ext >&5
12606 eval "$as_ac_Header=no"
12609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12611 ac_res=`eval echo '${'$as_ac_Header'}'`
12612 { echo "$as_me:$LINENO: result: $ac_res" >&5
12613 echo "${ECHO_T}$ac_res" >&6; }
12614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12615 cat >>confdefs.h <<_ACEOF
12616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12617 _ACEOF
12621 done
12623 cat >conftest.$ac_ext <<_ACEOF
12624 /* confdefs.h. */
12625 _ACEOF
12626 cat confdefs.h >>conftest.$ac_ext
12627 cat >>conftest.$ac_ext <<_ACEOF
12628 /* end confdefs.h. */
12629 #include <ft2build.h>
12630 #include <freetype/fttrigon.h>
12631 _ACEOF
12632 if { (ac_try="$ac_cpp conftest.$ac_ext"
12633 case "(($ac_try" in
12634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12635 *) ac_try_echo=$ac_try;;
12636 esac
12637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12639 ac_status=$?
12640 grep -v '^ *+' conftest.er1 >conftest.err
12641 rm -f conftest.er1
12642 cat conftest.err >&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); } >/dev/null; then
12645 if test -s conftest.err; then
12646 ac_cpp_err=$ac_c_preproc_warn_flag
12647 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12648 else
12649 ac_cpp_err=
12651 else
12652 ac_cpp_err=yes
12654 if test -z "$ac_cpp_err"; then
12656 cat >>confdefs.h <<\_ACEOF
12657 #define HAVE_FREETYPE_FTTRIGON_H 1
12658 _ACEOF
12660 wine_cv_fttrigon=yes
12661 else
12662 echo "$as_me: failed program was:" >&5
12663 sed 's/^/| /' conftest.$ac_ext >&5
12665 wine_cv_fttrigon=no
12668 rm -f conftest.err conftest.$ac_ext
12669 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12670 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12671 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12672 echo $ECHO_N "(cached) $ECHO_C" >&6
12673 else
12674 cat >conftest.$ac_ext <<_ACEOF
12675 /* confdefs.h. */
12676 _ACEOF
12677 cat confdefs.h >>conftest.$ac_ext
12678 cat >>conftest.$ac_ext <<_ACEOF
12679 /* end confdefs.h. */
12680 #include <freetype/ftmodapi.h>
12682 typedef FT_TrueTypeEngineType ac__type_new_;
12684 main ()
12686 if ((ac__type_new_ *) 0)
12687 return 0;
12688 if (sizeof (ac__type_new_))
12689 return 0;
12691 return 0;
12693 _ACEOF
12694 rm -f conftest.$ac_objext
12695 if { (ac_try="$ac_compile"
12696 case "(($ac_try" in
12697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12698 *) ac_try_echo=$ac_try;;
12699 esac
12700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12701 (eval "$ac_compile") 2>conftest.er1
12702 ac_status=$?
12703 grep -v '^ *+' conftest.er1 >conftest.err
12704 rm -f conftest.er1
12705 cat conftest.err >&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); } &&
12708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12709 { (case "(($ac_try" in
12710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12711 *) ac_try_echo=$ac_try;;
12712 esac
12713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12714 (eval "$ac_try") 2>&5
12715 ac_status=$?
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); }; } &&
12718 { ac_try='test -s conftest.$ac_objext'
12719 { (case "(($ac_try" in
12720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12721 *) ac_try_echo=$ac_try;;
12722 esac
12723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12724 (eval "$ac_try") 2>&5
12725 ac_status=$?
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; }; then
12728 ac_cv_type_FT_TrueTypeEngineType=yes
12729 else
12730 echo "$as_me: failed program was:" >&5
12731 sed 's/^/| /' conftest.$ac_ext >&5
12733 ac_cv_type_FT_TrueTypeEngineType=no
12736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12738 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12739 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12740 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12742 cat >>confdefs.h <<_ACEOF
12743 #define HAVE_FT_TRUETYPEENGINETYPE 1
12744 _ACEOF
12749 ac_save_CFLAGS="$CFLAGS"
12750 CFLAGS="$CFLAGS $FREETYPELIBS"
12752 for ac_func in FT_Load_Sfnt_Table
12754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12755 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12757 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12759 else
12760 cat >conftest.$ac_ext <<_ACEOF
12761 /* confdefs.h. */
12762 _ACEOF
12763 cat confdefs.h >>conftest.$ac_ext
12764 cat >>conftest.$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12768 #define $ac_func innocuous_$ac_func
12770 /* System header to define __stub macros and hopefully few prototypes,
12771 which can conflict with char $ac_func (); below.
12772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12773 <limits.h> exists even on freestanding compilers. */
12775 #ifdef __STDC__
12776 # include <limits.h>
12777 #else
12778 # include <assert.h>
12779 #endif
12781 #undef $ac_func
12783 /* Override any GCC internal prototype to avoid an error.
12784 Use char because int might match the return type of a GCC
12785 builtin and then its argument prototype would still apply. */
12786 #ifdef __cplusplus
12787 extern "C"
12788 #endif
12789 char $ac_func ();
12790 /* The GNU C library defines this for functions which it implements
12791 to always fail with ENOSYS. Some functions are actually named
12792 something starting with __ and the normal name is an alias. */
12793 #if defined __stub_$ac_func || defined __stub___$ac_func
12794 choke me
12795 #endif
12798 main ()
12800 return $ac_func ();
12802 return 0;
12804 _ACEOF
12805 rm -f conftest.$ac_objext conftest$ac_exeext
12806 if { (ac_try="$ac_link"
12807 case "(($ac_try" in
12808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12809 *) ac_try_echo=$ac_try;;
12810 esac
12811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12812 (eval "$ac_link") 2>conftest.er1
12813 ac_status=$?
12814 grep -v '^ *+' conftest.er1 >conftest.err
12815 rm -f conftest.er1
12816 cat conftest.err >&5
12817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12818 (exit $ac_status); } &&
12819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12820 { (case "(($ac_try" in
12821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12822 *) ac_try_echo=$ac_try;;
12823 esac
12824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12825 (eval "$ac_try") 2>&5
12826 ac_status=$?
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); }; } &&
12829 { ac_try='test -s conftest$ac_exeext'
12830 { (case "(($ac_try" in
12831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12832 *) ac_try_echo=$ac_try;;
12833 esac
12834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12835 (eval "$ac_try") 2>&5
12836 ac_status=$?
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); }; }; then
12839 eval "$as_ac_var=yes"
12840 else
12841 echo "$as_me: failed program was:" >&5
12842 sed 's/^/| /' conftest.$ac_ext >&5
12844 eval "$as_ac_var=no"
12847 rm -f core conftest.err conftest.$ac_objext \
12848 conftest$ac_exeext conftest.$ac_ext
12850 ac_res=`eval echo '${'$as_ac_var'}'`
12851 { echo "$as_me:$LINENO: result: $ac_res" >&5
12852 echo "${ECHO_T}$ac_res" >&6; }
12853 if test `eval echo '${'$as_ac_var'}'` = yes; then
12854 cat >>confdefs.h <<_ACEOF
12855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12856 _ACEOF
12859 done
12861 CFLAGS="$ac_save_CFLAGS"
12862 CPPFLAGS="$ac_save_CPPFLAGS"
12863 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12864 then
12866 cat >>confdefs.h <<\_ACEOF
12867 #define HAVE_FREETYPE 1
12868 _ACEOF
12870 wine_cv_msg_freetype=no
12871 else
12872 FREETYPELIBS=""
12873 FREETYPEINCL=""
12874 wine_cv_msg_freetype=yes
12879 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12880 then
12881 FONTSSUBDIRS="fonts"
12885 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12886 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12887 if test "${ac_cv_c_ppdev+set}" = set; then
12888 echo $ECHO_N "(cached) $ECHO_C" >&6
12889 else
12890 cat >conftest.$ac_ext <<_ACEOF
12891 /* confdefs.h. */
12892 _ACEOF
12893 cat confdefs.h >>conftest.$ac_ext
12894 cat >>conftest.$ac_ext <<_ACEOF
12895 /* end confdefs.h. */
12896 #include <linux/ppdev.h>
12898 main ()
12900 ioctl (1,PPCLAIM,0)
12902 return 0;
12904 _ACEOF
12905 rm -f conftest.$ac_objext
12906 if { (ac_try="$ac_compile"
12907 case "(($ac_try" in
12908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12909 *) ac_try_echo=$ac_try;;
12910 esac
12911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12912 (eval "$ac_compile") 2>conftest.er1
12913 ac_status=$?
12914 grep -v '^ *+' conftest.er1 >conftest.err
12915 rm -f conftest.er1
12916 cat conftest.err >&5
12917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); } &&
12919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12920 { (case "(($ac_try" in
12921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12922 *) ac_try_echo=$ac_try;;
12923 esac
12924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12925 (eval "$ac_try") 2>&5
12926 ac_status=$?
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; } &&
12929 { ac_try='test -s conftest.$ac_objext'
12930 { (case "(($ac_try" in
12931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12932 *) ac_try_echo=$ac_try;;
12933 esac
12934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12935 (eval "$ac_try") 2>&5
12936 ac_status=$?
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); }; }; then
12939 ac_cv_c_ppdev="yes"
12940 else
12941 echo "$as_me: failed program was:" >&5
12942 sed 's/^/| /' conftest.$ac_ext >&5
12944 ac_cv_c_ppdev="no"
12947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12950 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
12951 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
12952 if test "$ac_cv_c_ppdev" = "yes"
12953 then
12955 cat >>confdefs.h <<\_ACEOF
12956 #define HAVE_PPDEV 1
12957 _ACEOF
12961 { echo "$as_me:$LINENO: checking for va_copy" >&5
12962 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
12963 if test "${ac_cv_c_va_copy+set}" = set; then
12964 echo $ECHO_N "(cached) $ECHO_C" >&6
12965 else
12966 cat >conftest.$ac_ext <<_ACEOF
12967 /* confdefs.h. */
12968 _ACEOF
12969 cat confdefs.h >>conftest.$ac_ext
12970 cat >>conftest.$ac_ext <<_ACEOF
12971 /* end confdefs.h. */
12972 #include <stdarg.h>
12974 main ()
12976 va_list ap1, ap2;
12977 va_copy(ap1,ap2);
12980 return 0;
12982 _ACEOF
12983 rm -f conftest.$ac_objext conftest$ac_exeext
12984 if { (ac_try="$ac_link"
12985 case "(($ac_try" in
12986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12987 *) ac_try_echo=$ac_try;;
12988 esac
12989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12990 (eval "$ac_link") 2>conftest.er1
12991 ac_status=$?
12992 grep -v '^ *+' conftest.er1 >conftest.err
12993 rm -f conftest.er1
12994 cat conftest.err >&5
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); } &&
12997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12998 { (case "(($ac_try" in
12999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13000 *) ac_try_echo=$ac_try;;
13001 esac
13002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13003 (eval "$ac_try") 2>&5
13004 ac_status=$?
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); }; } &&
13007 { ac_try='test -s conftest$ac_exeext'
13008 { (case "(($ac_try" in
13009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13010 *) ac_try_echo=$ac_try;;
13011 esac
13012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13013 (eval "$ac_try") 2>&5
13014 ac_status=$?
13015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016 (exit $ac_status); }; }; then
13017 ac_cv_c_va_copy="yes"
13018 else
13019 echo "$as_me: failed program was:" >&5
13020 sed 's/^/| /' conftest.$ac_ext >&5
13022 ac_cv_c_va_copy="no"
13025 rm -f core conftest.err conftest.$ac_objext \
13026 conftest$ac_exeext conftest.$ac_ext
13029 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13030 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13031 if test "$ac_cv_c_va_copy" = "yes"
13032 then
13034 cat >>confdefs.h <<\_ACEOF
13035 #define HAVE_VA_COPY 1
13036 _ACEOF
13039 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13040 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13041 if test "${ac_cv_c___va_copy+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13043 else
13044 cat >conftest.$ac_ext <<_ACEOF
13045 /* confdefs.h. */
13046 _ACEOF
13047 cat confdefs.h >>conftest.$ac_ext
13048 cat >>conftest.$ac_ext <<_ACEOF
13049 /* end confdefs.h. */
13050 #include <stdarg.h>
13052 main ()
13054 va_list ap1, ap2;
13055 __va_copy(ap1,ap2);
13058 return 0;
13060 _ACEOF
13061 rm -f conftest.$ac_objext conftest$ac_exeext
13062 if { (ac_try="$ac_link"
13063 case "(($ac_try" in
13064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13065 *) ac_try_echo=$ac_try;;
13066 esac
13067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13068 (eval "$ac_link") 2>conftest.er1
13069 ac_status=$?
13070 grep -v '^ *+' conftest.er1 >conftest.err
13071 rm -f conftest.er1
13072 cat conftest.err >&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); } &&
13075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13076 { (case "(($ac_try" in
13077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13078 *) ac_try_echo=$ac_try;;
13079 esac
13080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13081 (eval "$ac_try") 2>&5
13082 ac_status=$?
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }; } &&
13085 { ac_try='test -s conftest$ac_exeext'
13086 { (case "(($ac_try" in
13087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13088 *) ac_try_echo=$ac_try;;
13089 esac
13090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13091 (eval "$ac_try") 2>&5
13092 ac_status=$?
13093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13094 (exit $ac_status); }; }; then
13095 ac_cv_c___va_copy="yes"
13096 else
13097 echo "$as_me: failed program was:" >&5
13098 sed 's/^/| /' conftest.$ac_ext >&5
13100 ac_cv_c___va_copy="no"
13103 rm -f core conftest.err conftest.$ac_objext \
13104 conftest$ac_exeext conftest.$ac_ext
13107 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13108 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13109 if test "$ac_cv_c___va_copy" = "yes"
13110 then
13112 cat >>confdefs.h <<\_ACEOF
13113 #define HAVE___VA_COPY 1
13114 _ACEOF
13118 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13119 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13120 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13121 echo $ECHO_N "(cached) $ECHO_C" >&6
13122 else
13123 cat >conftest.$ac_ext <<_ACEOF
13124 /* confdefs.h. */
13125 _ACEOF
13126 cat confdefs.h >>conftest.$ac_ext
13127 cat >>conftest.$ac_ext <<_ACEOF
13128 /* end confdefs.h. */
13129 #include <setjmp.h>
13131 main ()
13133 sigjmp_buf buf;
13134 sigsetjmp( buf, 1 );
13135 siglongjmp( buf, 1 );
13137 return 0;
13139 _ACEOF
13140 rm -f conftest.$ac_objext conftest$ac_exeext
13141 if { (ac_try="$ac_link"
13142 case "(($ac_try" in
13143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13144 *) ac_try_echo=$ac_try;;
13145 esac
13146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13147 (eval "$ac_link") 2>conftest.er1
13148 ac_status=$?
13149 grep -v '^ *+' conftest.er1 >conftest.err
13150 rm -f conftest.er1
13151 cat conftest.err >&5
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); } &&
13154 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13155 { (case "(($ac_try" in
13156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13157 *) ac_try_echo=$ac_try;;
13158 esac
13159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13160 (eval "$ac_try") 2>&5
13161 ac_status=$?
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; } &&
13164 { ac_try='test -s conftest$ac_exeext'
13165 { (case "(($ac_try" in
13166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13167 *) ac_try_echo=$ac_try;;
13168 esac
13169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13170 (eval "$ac_try") 2>&5
13171 ac_status=$?
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; }; then
13174 ac_cv_c_sigsetjmp="yes"
13175 else
13176 echo "$as_me: failed program was:" >&5
13177 sed 's/^/| /' conftest.$ac_ext >&5
13179 ac_cv_c_sigsetjmp="no"
13182 rm -f core conftest.err conftest.$ac_objext \
13183 conftest$ac_exeext conftest.$ac_ext
13186 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13187 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13188 if test "$ac_cv_c_sigsetjmp" = "yes"
13189 then
13191 cat >>confdefs.h <<\_ACEOF
13192 #define HAVE_SIGSETJMP 1
13193 _ACEOF
13197 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13198 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13199 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13200 echo $ECHO_N "(cached) $ECHO_C" >&6
13201 else
13202 cat >conftest.$ac_ext <<_ACEOF
13203 /* confdefs.h. */
13204 _ACEOF
13205 cat confdefs.h >>conftest.$ac_ext
13206 cat >>conftest.$ac_ext <<_ACEOF
13207 /* end confdefs.h. */
13208 #define _GNU_SOURCE
13209 #include <pthread.h>
13211 typedef pthread_rwlock_t ac__type_new_;
13213 main ()
13215 if ((ac__type_new_ *) 0)
13216 return 0;
13217 if (sizeof (ac__type_new_))
13218 return 0;
13220 return 0;
13222 _ACEOF
13223 rm -f conftest.$ac_objext
13224 if { (ac_try="$ac_compile"
13225 case "(($ac_try" in
13226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13227 *) ac_try_echo=$ac_try;;
13228 esac
13229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13230 (eval "$ac_compile") 2>conftest.er1
13231 ac_status=$?
13232 grep -v '^ *+' conftest.er1 >conftest.err
13233 rm -f conftest.er1
13234 cat conftest.err >&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); } &&
13237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13238 { (case "(($ac_try" in
13239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13240 *) ac_try_echo=$ac_try;;
13241 esac
13242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13243 (eval "$ac_try") 2>&5
13244 ac_status=$?
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); }; } &&
13247 { ac_try='test -s conftest.$ac_objext'
13248 { (case "(($ac_try" in
13249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13250 *) ac_try_echo=$ac_try;;
13251 esac
13252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13253 (eval "$ac_try") 2>&5
13254 ac_status=$?
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }; }; then
13257 ac_cv_type_pthread_rwlock_t=yes
13258 else
13259 echo "$as_me: failed program was:" >&5
13260 sed 's/^/| /' conftest.$ac_ext >&5
13262 ac_cv_type_pthread_rwlock_t=no
13265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13267 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13268 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13269 if test $ac_cv_type_pthread_rwlock_t = yes; then
13271 cat >>confdefs.h <<_ACEOF
13272 #define HAVE_PTHREAD_RWLOCK_T 1
13273 _ACEOF
13277 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13278 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13279 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 else
13282 cat >conftest.$ac_ext <<_ACEOF
13283 /* confdefs.h. */
13284 _ACEOF
13285 cat confdefs.h >>conftest.$ac_ext
13286 cat >>conftest.$ac_ext <<_ACEOF
13287 /* end confdefs.h. */
13288 #define _GNU_SOURCE
13289 #include <pthread.h>
13291 typedef pthread_rwlockattr_t ac__type_new_;
13293 main ()
13295 if ((ac__type_new_ *) 0)
13296 return 0;
13297 if (sizeof (ac__type_new_))
13298 return 0;
13300 return 0;
13302 _ACEOF
13303 rm -f conftest.$ac_objext
13304 if { (ac_try="$ac_compile"
13305 case "(($ac_try" in
13306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13307 *) ac_try_echo=$ac_try;;
13308 esac
13309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13310 (eval "$ac_compile") 2>conftest.er1
13311 ac_status=$?
13312 grep -v '^ *+' conftest.er1 >conftest.err
13313 rm -f conftest.er1
13314 cat conftest.err >&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); } &&
13317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13318 { (case "(($ac_try" in
13319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13320 *) ac_try_echo=$ac_try;;
13321 esac
13322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13323 (eval "$ac_try") 2>&5
13324 ac_status=$?
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); }; } &&
13327 { ac_try='test -s conftest.$ac_objext'
13328 { (case "(($ac_try" in
13329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13330 *) ac_try_echo=$ac_try;;
13331 esac
13332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13333 (eval "$ac_try") 2>&5
13334 ac_status=$?
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); }; }; then
13337 ac_cv_type_pthread_rwlockattr_t=yes
13338 else
13339 echo "$as_me: failed program was:" >&5
13340 sed 's/^/| /' conftest.$ac_ext >&5
13342 ac_cv_type_pthread_rwlockattr_t=no
13345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13347 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13348 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13349 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13351 cat >>confdefs.h <<_ACEOF
13352 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13353 _ACEOF
13359 ac_wine_check_funcs_save_LIBS="$LIBS"
13360 LIBS="$LIBS $LIBPTHREAD"
13365 for ac_func in \
13366 pthread_attr_get_np \
13367 pthread_getattr_np \
13368 pthread_get_stackaddr_np \
13369 pthread_get_stacksize_np
13371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13372 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13374 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13375 echo $ECHO_N "(cached) $ECHO_C" >&6
13376 else
13377 cat >conftest.$ac_ext <<_ACEOF
13378 /* confdefs.h. */
13379 _ACEOF
13380 cat confdefs.h >>conftest.$ac_ext
13381 cat >>conftest.$ac_ext <<_ACEOF
13382 /* end confdefs.h. */
13383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13385 #define $ac_func innocuous_$ac_func
13387 /* System header to define __stub macros and hopefully few prototypes,
13388 which can conflict with char $ac_func (); below.
13389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13390 <limits.h> exists even on freestanding compilers. */
13392 #ifdef __STDC__
13393 # include <limits.h>
13394 #else
13395 # include <assert.h>
13396 #endif
13398 #undef $ac_func
13400 /* Override any GCC internal prototype to avoid an error.
13401 Use char because int might match the return type of a GCC
13402 builtin and then its argument prototype would still apply. */
13403 #ifdef __cplusplus
13404 extern "C"
13405 #endif
13406 char $ac_func ();
13407 /* The GNU C library defines this for functions which it implements
13408 to always fail with ENOSYS. Some functions are actually named
13409 something starting with __ and the normal name is an alias. */
13410 #if defined __stub_$ac_func || defined __stub___$ac_func
13411 choke me
13412 #endif
13415 main ()
13417 return $ac_func ();
13419 return 0;
13421 _ACEOF
13422 rm -f conftest.$ac_objext conftest$ac_exeext
13423 if { (ac_try="$ac_link"
13424 case "(($ac_try" in
13425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13426 *) ac_try_echo=$ac_try;;
13427 esac
13428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13429 (eval "$ac_link") 2>conftest.er1
13430 ac_status=$?
13431 grep -v '^ *+' conftest.er1 >conftest.err
13432 rm -f conftest.er1
13433 cat conftest.err >&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); } &&
13436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13437 { (case "(($ac_try" in
13438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13439 *) ac_try_echo=$ac_try;;
13440 esac
13441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13442 (eval "$ac_try") 2>&5
13443 ac_status=$?
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); }; } &&
13446 { ac_try='test -s conftest$ac_exeext'
13447 { (case "(($ac_try" in
13448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13449 *) ac_try_echo=$ac_try;;
13450 esac
13451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13452 (eval "$ac_try") 2>&5
13453 ac_status=$?
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; }; then
13456 eval "$as_ac_var=yes"
13457 else
13458 echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13461 eval "$as_ac_var=no"
13464 rm -f core conftest.err conftest.$ac_objext \
13465 conftest$ac_exeext conftest.$ac_ext
13467 ac_res=`eval echo '${'$as_ac_var'}'`
13468 { echo "$as_me:$LINENO: result: $ac_res" >&5
13469 echo "${ECHO_T}$ac_res" >&6; }
13470 if test `eval echo '${'$as_ac_var'}'` = yes; then
13471 cat >>confdefs.h <<_ACEOF
13472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13473 _ACEOF
13476 done
13478 LIBS="$ac_wine_check_funcs_save_LIBS"
13480 # Extract the first word of "artsc-config", so it can be a program name with args.
13481 set dummy artsc-config; ac_word=$2
13482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13484 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 else
13487 case $ARTSCCONFIG in
13488 [\\/]* | ?:[\\/]*)
13489 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13493 for as_dir in $PATH
13495 IFS=$as_save_IFS
13496 test -z "$as_dir" && as_dir=.
13497 for ac_exec_ext in '' $ac_executable_extensions; do
13498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13499 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13501 break 2
13503 done
13504 done
13505 IFS=$as_save_IFS
13508 esac
13510 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13511 if test -n "$ARTSCCONFIG"; then
13512 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13513 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13514 else
13515 { echo "$as_me:$LINENO: result: no" >&5
13516 echo "${ECHO_T}no" >&6; }
13520 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13521 then
13522 ARTSC_CFLAGS=""
13523 for i in `$ARTSCCONFIG --cflags`
13525 case "$i" in
13526 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13527 esac
13528 done
13529 ARTSC_LIBS=""
13530 for i in `$ARTSCCONFIG --libs`
13532 case "$i" in
13533 -L/usr/lib|-L/usr/lib64) ;;
13534 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13535 esac
13536 done
13537 save_CFLAGS="$CFLAGS"
13538 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13539 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13540 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13541 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13542 echo $ECHO_N "(cached) $ECHO_C" >&6
13543 else
13544 ac_check_lib_save_LIBS=$LIBS
13545 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13546 cat >conftest.$ac_ext <<_ACEOF
13547 /* confdefs.h. */
13548 _ACEOF
13549 cat confdefs.h >>conftest.$ac_ext
13550 cat >>conftest.$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13553 /* Override any GCC internal prototype to avoid an error.
13554 Use char because int might match the return type of a GCC
13555 builtin and then its argument prototype would still apply. */
13556 #ifdef __cplusplus
13557 extern "C"
13558 #endif
13559 char arts_init ();
13561 main ()
13563 return arts_init ();
13565 return 0;
13567 _ACEOF
13568 rm -f conftest.$ac_objext conftest$ac_exeext
13569 if { (ac_try="$ac_link"
13570 case "(($ac_try" in
13571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13572 *) ac_try_echo=$ac_try;;
13573 esac
13574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13575 (eval "$ac_link") 2>conftest.er1
13576 ac_status=$?
13577 grep -v '^ *+' conftest.er1 >conftest.err
13578 rm -f conftest.er1
13579 cat conftest.err >&5
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); } &&
13582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13583 { (case "(($ac_try" in
13584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13585 *) ac_try_echo=$ac_try;;
13586 esac
13587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13588 (eval "$ac_try") 2>&5
13589 ac_status=$?
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); }; } &&
13592 { ac_try='test -s conftest$ac_exeext'
13593 { (case "(($ac_try" in
13594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13595 *) ac_try_echo=$ac_try;;
13596 esac
13597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13598 (eval "$ac_try") 2>&5
13599 ac_status=$?
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); }; }; then
13602 ac_cv_lib_artsc_arts_init=yes
13603 else
13604 echo "$as_me: failed program was:" >&5
13605 sed 's/^/| /' conftest.$ac_ext >&5
13607 ac_cv_lib_artsc_arts_init=no
13610 rm -f core conftest.err conftest.$ac_objext \
13611 conftest$ac_exeext conftest.$ac_ext
13612 LIBS=$ac_check_lib_save_LIBS
13614 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13615 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13616 if test $ac_cv_lib_artsc_arts_init = yes; then
13617 cat >conftest.$ac_ext <<_ACEOF
13618 /* confdefs.h. */
13619 _ACEOF
13620 cat confdefs.h >>conftest.$ac_ext
13621 cat >>conftest.$ac_ext <<_ACEOF
13622 /* end confdefs.h. */
13623 #include <artsc.h>
13625 main ()
13627 arts_stream_t stream;
13629 return 0;
13631 _ACEOF
13632 rm -f conftest.$ac_objext
13633 if { (ac_try="$ac_compile"
13634 case "(($ac_try" in
13635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13636 *) ac_try_echo=$ac_try;;
13637 esac
13638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13639 (eval "$ac_compile") 2>conftest.er1
13640 ac_status=$?
13641 grep -v '^ *+' conftest.er1 >conftest.err
13642 rm -f conftest.er1
13643 cat conftest.err >&5
13644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13645 (exit $ac_status); } &&
13646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13647 { (case "(($ac_try" in
13648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13649 *) ac_try_echo=$ac_try;;
13650 esac
13651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13652 (eval "$ac_try") 2>&5
13653 ac_status=$?
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); }; } &&
13656 { ac_try='test -s conftest.$ac_objext'
13657 { (case "(($ac_try" in
13658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13659 *) ac_try_echo=$ac_try;;
13660 esac
13661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13662 (eval "$ac_try") 2>&5
13663 ac_status=$?
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; }; then
13666 ARTSLIBS=$ARTSC_LIBS
13668 ARTSINCL=$ARTSC_CFLAGS
13671 cat >>confdefs.h <<\_ACEOF
13672 #define HAVE_ARTS 1
13673 _ACEOF
13675 else
13676 echo "$as_me: failed program was:" >&5
13677 sed 's/^/| /' conftest.$ac_ext >&5
13682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13685 CFLAGS="$save_CFLAGS"
13688 # Extract the first word of "esd-config", so it can be a program name with args.
13689 set dummy esd-config; ac_word=$2
13690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13692 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13693 echo $ECHO_N "(cached) $ECHO_C" >&6
13694 else
13695 case $ESDCONFIG in
13696 [\\/]* | ?:[\\/]*)
13697 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13701 for as_dir in $PATH
13703 IFS=$as_save_IFS
13704 test -z "$as_dir" && as_dir=.
13705 for ac_exec_ext in '' $ac_executable_extensions; do
13706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13707 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13709 break 2
13711 done
13712 done
13713 IFS=$as_save_IFS
13716 esac
13718 ESDCONFIG=$ac_cv_path_ESDCONFIG
13719 if test -n "$ESDCONFIG"; then
13720 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13721 echo "${ECHO_T}$ESDCONFIG" >&6; }
13722 else
13723 { echo "$as_me:$LINENO: result: no" >&5
13724 echo "${ECHO_T}no" >&6; }
13728 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13729 then
13730 ESD_CFLAGS=""
13731 for i in `$ESDCONFIG --cflags`
13733 case "$i" in
13734 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13735 esac
13736 done
13737 ESD_LIBS=`$ESDCONFIG --libs`
13738 save_CFLAGS="$CFLAGS"
13739 CFLAGS="$CFLAGS $ESD_CFLAGS"
13740 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13741 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13742 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13743 echo $ECHO_N "(cached) $ECHO_C" >&6
13744 else
13745 ac_check_lib_save_LIBS=$LIBS
13746 LIBS="-lesd $LIBS"
13747 cat >conftest.$ac_ext <<_ACEOF
13748 /* confdefs.h. */
13749 _ACEOF
13750 cat confdefs.h >>conftest.$ac_ext
13751 cat >>conftest.$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13754 /* Override any GCC internal prototype to avoid an error.
13755 Use char because int might match the return type of a GCC
13756 builtin and then its argument prototype would still apply. */
13757 #ifdef __cplusplus
13758 extern "C"
13759 #endif
13760 char esd_open_sound ();
13762 main ()
13764 return esd_open_sound ();
13766 return 0;
13768 _ACEOF
13769 rm -f conftest.$ac_objext conftest$ac_exeext
13770 if { (ac_try="$ac_link"
13771 case "(($ac_try" in
13772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13773 *) ac_try_echo=$ac_try;;
13774 esac
13775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13776 (eval "$ac_link") 2>conftest.er1
13777 ac_status=$?
13778 grep -v '^ *+' conftest.er1 >conftest.err
13779 rm -f conftest.er1
13780 cat conftest.err >&5
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } &&
13783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13784 { (case "(($ac_try" in
13785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13786 *) ac_try_echo=$ac_try;;
13787 esac
13788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13789 (eval "$ac_try") 2>&5
13790 ac_status=$?
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; } &&
13793 { ac_try='test -s conftest$ac_exeext'
13794 { (case "(($ac_try" in
13795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13796 *) ac_try_echo=$ac_try;;
13797 esac
13798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13799 (eval "$ac_try") 2>&5
13800 ac_status=$?
13801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13802 (exit $ac_status); }; }; then
13803 ac_cv_lib_esd_esd_open_sound=yes
13804 else
13805 echo "$as_me: failed program was:" >&5
13806 sed 's/^/| /' conftest.$ac_ext >&5
13808 ac_cv_lib_esd_esd_open_sound=no
13811 rm -f core conftest.err conftest.$ac_objext \
13812 conftest$ac_exeext conftest.$ac_ext
13813 LIBS=$ac_check_lib_save_LIBS
13815 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13816 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13817 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13818 ESDLIBS=$ESD_LIBS
13820 ESDINCL=$ESD_CFLAGS
13823 cat >>confdefs.h <<\_ACEOF
13824 #define HAVE_ESD 1
13825 _ACEOF
13829 CFLAGS="$save_CFLAGS"
13832 ALSALIBS=""
13834 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13835 then
13836 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13837 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13838 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13839 echo $ECHO_N "(cached) $ECHO_C" >&6
13840 else
13841 ac_check_lib_save_LIBS=$LIBS
13842 LIBS="-lasound $LIBS"
13843 cat >conftest.$ac_ext <<_ACEOF
13844 /* confdefs.h. */
13845 _ACEOF
13846 cat confdefs.h >>conftest.$ac_ext
13847 cat >>conftest.$ac_ext <<_ACEOF
13848 /* end confdefs.h. */
13850 /* Override any GCC internal prototype to avoid an error.
13851 Use char because int might match the return type of a GCC
13852 builtin and then its argument prototype would still apply. */
13853 #ifdef __cplusplus
13854 extern "C"
13855 #endif
13856 char snd_pcm_hw_params_get_access ();
13858 main ()
13860 return snd_pcm_hw_params_get_access ();
13862 return 0;
13864 _ACEOF
13865 rm -f conftest.$ac_objext conftest$ac_exeext
13866 if { (ac_try="$ac_link"
13867 case "(($ac_try" in
13868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13869 *) ac_try_echo=$ac_try;;
13870 esac
13871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13872 (eval "$ac_link") 2>conftest.er1
13873 ac_status=$?
13874 grep -v '^ *+' conftest.er1 >conftest.err
13875 rm -f conftest.er1
13876 cat conftest.err >&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); } &&
13879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13880 { (case "(($ac_try" in
13881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13882 *) ac_try_echo=$ac_try;;
13883 esac
13884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13885 (eval "$ac_try") 2>&5
13886 ac_status=$?
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); }; } &&
13889 { ac_try='test -s conftest$ac_exeext'
13890 { (case "(($ac_try" in
13891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13892 *) ac_try_echo=$ac_try;;
13893 esac
13894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13895 (eval "$ac_try") 2>&5
13896 ac_status=$?
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 (exit $ac_status); }; }; then
13899 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13900 else
13901 echo "$as_me: failed program was:" >&5
13902 sed 's/^/| /' conftest.$ac_ext >&5
13904 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13907 rm -f core conftest.err conftest.$ac_objext \
13908 conftest$ac_exeext conftest.$ac_ext
13909 LIBS=$ac_check_lib_save_LIBS
13911 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13912 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13913 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13914 cat >conftest.$ac_ext <<_ACEOF
13915 /* confdefs.h. */
13916 _ACEOF
13917 cat confdefs.h >>conftest.$ac_ext
13918 cat >>conftest.$ac_ext <<_ACEOF
13919 /* end confdefs.h. */
13920 #ifdef HAVE_ALSA_ASOUNDLIB_H
13921 #include <alsa/asoundlib.h>
13922 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13923 #include <sys/asoundlib.h>
13924 #endif
13926 main ()
13928 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13930 return 0;
13932 _ACEOF
13933 rm -f conftest.$ac_objext
13934 if { (ac_try="$ac_compile"
13935 case "(($ac_try" in
13936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13937 *) ac_try_echo=$ac_try;;
13938 esac
13939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13940 (eval "$ac_compile") 2>conftest.er1
13941 ac_status=$?
13942 grep -v '^ *+' conftest.er1 >conftest.err
13943 rm -f conftest.er1
13944 cat conftest.err >&5
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); } &&
13947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13948 { (case "(($ac_try" in
13949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13950 *) ac_try_echo=$ac_try;;
13951 esac
13952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13953 (eval "$ac_try") 2>&5
13954 ac_status=$?
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; } &&
13957 { ac_try='test -s conftest.$ac_objext'
13958 { (case "(($ac_try" in
13959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13960 *) ac_try_echo=$ac_try;;
13961 esac
13962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13963 (eval "$ac_try") 2>&5
13964 ac_status=$?
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); }; }; then
13968 cat >>confdefs.h <<\_ACEOF
13969 #define HAVE_ALSA 1
13970 _ACEOF
13972 ALSALIBS="-lasound"
13973 else
13974 echo "$as_me: failed program was:" >&5
13975 sed 's/^/| /' conftest.$ac_ext >&5
13980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13986 AUDIOIOLIBS=""
13988 if test "$ac_cv_header_libaudioio_h" = "yes"
13989 then
13990 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
13991 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
13992 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
13993 echo $ECHO_N "(cached) $ECHO_C" >&6
13994 else
13995 ac_check_lib_save_LIBS=$LIBS
13996 LIBS="-laudioio $LIBS"
13997 cat >conftest.$ac_ext <<_ACEOF
13998 /* confdefs.h. */
13999 _ACEOF
14000 cat confdefs.h >>conftest.$ac_ext
14001 cat >>conftest.$ac_ext <<_ACEOF
14002 /* end confdefs.h. */
14004 /* Override any GCC internal prototype to avoid an error.
14005 Use char because int might match the return type of a GCC
14006 builtin and then its argument prototype would still apply. */
14007 #ifdef __cplusplus
14008 extern "C"
14009 #endif
14010 char AudioIOGetVersion ();
14012 main ()
14014 return AudioIOGetVersion ();
14016 return 0;
14018 _ACEOF
14019 rm -f conftest.$ac_objext conftest$ac_exeext
14020 if { (ac_try="$ac_link"
14021 case "(($ac_try" in
14022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14023 *) ac_try_echo=$ac_try;;
14024 esac
14025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14026 (eval "$ac_link") 2>conftest.er1
14027 ac_status=$?
14028 grep -v '^ *+' conftest.er1 >conftest.err
14029 rm -f conftest.er1
14030 cat conftest.err >&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); } &&
14033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14034 { (case "(($ac_try" in
14035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14036 *) ac_try_echo=$ac_try;;
14037 esac
14038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14039 (eval "$ac_try") 2>&5
14040 ac_status=$?
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); }; } &&
14043 { ac_try='test -s conftest$ac_exeext'
14044 { (case "(($ac_try" in
14045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14046 *) ac_try_echo=$ac_try;;
14047 esac
14048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14049 (eval "$ac_try") 2>&5
14050 ac_status=$?
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); }; }; then
14053 ac_cv_lib_audioio_AudioIOGetVersion=yes
14054 else
14055 echo "$as_me: failed program was:" >&5
14056 sed 's/^/| /' conftest.$ac_ext >&5
14058 ac_cv_lib_audioio_AudioIOGetVersion=no
14061 rm -f core conftest.err conftest.$ac_objext \
14062 conftest$ac_exeext conftest.$ac_ext
14063 LIBS=$ac_check_lib_save_LIBS
14065 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14066 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14067 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14068 AUDIOIOLIBS="-laudioio"
14070 cat >>confdefs.h <<\_ACEOF
14071 #define HAVE_LIBAUDIOIO 1
14072 _ACEOF
14079 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14080 then
14081 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14082 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14083 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14084 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 else
14086 ac_check_lib_save_LIBS=$LIBS
14087 LIBS="-lcapi20 $LIBS"
14088 cat >conftest.$ac_ext <<_ACEOF
14089 /* confdefs.h. */
14090 _ACEOF
14091 cat confdefs.h >>conftest.$ac_ext
14092 cat >>conftest.$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14095 /* Override any GCC internal prototype to avoid an error.
14096 Use char because int might match the return type of a GCC
14097 builtin and then its argument prototype would still apply. */
14098 #ifdef __cplusplus
14099 extern "C"
14100 #endif
14101 char capi20_register ();
14103 main ()
14105 return capi20_register ();
14107 return 0;
14109 _ACEOF
14110 rm -f conftest.$ac_objext conftest$ac_exeext
14111 if { (ac_try="$ac_link"
14112 case "(($ac_try" in
14113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14114 *) ac_try_echo=$ac_try;;
14115 esac
14116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14117 (eval "$ac_link") 2>conftest.er1
14118 ac_status=$?
14119 grep -v '^ *+' conftest.er1 >conftest.err
14120 rm -f conftest.er1
14121 cat conftest.err >&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); } &&
14124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14125 { (case "(($ac_try" in
14126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14127 *) ac_try_echo=$ac_try;;
14128 esac
14129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14130 (eval "$ac_try") 2>&5
14131 ac_status=$?
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); }; } &&
14134 { ac_try='test -s conftest$ac_exeext'
14135 { (case "(($ac_try" in
14136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14137 *) ac_try_echo=$ac_try;;
14138 esac
14139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14140 (eval "$ac_try") 2>&5
14141 ac_status=$?
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; }; then
14144 ac_cv_lib_capi20_capi20_register=yes
14145 else
14146 echo "$as_me: failed program was:" >&5
14147 sed 's/^/| /' conftest.$ac_ext >&5
14149 ac_cv_lib_capi20_capi20_register=no
14152 rm -f core conftest.err conftest.$ac_objext \
14153 conftest$ac_exeext conftest.$ac_ext
14154 LIBS=$ac_check_lib_save_LIBS
14156 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14157 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14158 if test $ac_cv_lib_capi20_capi20_register = yes; then
14160 cat >>confdefs.h <<\_ACEOF
14161 #define HAVE_CAPI4LINUX 1
14162 _ACEOF
14169 if test "$ac_cv_header_gif_lib_h" = "yes"
14170 then
14171 cat >conftest.$ac_ext <<_ACEOF
14172 /* confdefs.h. */
14173 _ACEOF
14174 cat confdefs.h >>conftest.$ac_ext
14175 cat >>conftest.$ac_ext <<_ACEOF
14176 /* end confdefs.h. */
14177 #include <gif_lib.h>
14179 main ()
14181 static typeof(DGifOpen) * func;
14183 return 0;
14185 _ACEOF
14186 rm -f conftest.$ac_objext
14187 if { (ac_try="$ac_compile"
14188 case "(($ac_try" in
14189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14190 *) ac_try_echo=$ac_try;;
14191 esac
14192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14193 (eval "$ac_compile") 2>conftest.er1
14194 ac_status=$?
14195 grep -v '^ *+' conftest.er1 >conftest.err
14196 rm -f conftest.er1
14197 cat conftest.err >&5
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); } &&
14200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14201 { (case "(($ac_try" in
14202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14203 *) ac_try_echo=$ac_try;;
14204 esac
14205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14206 (eval "$ac_try") 2>&5
14207 ac_status=$?
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); }; } &&
14210 { ac_try='test -s conftest.$ac_objext'
14211 { (case "(($ac_try" in
14212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14213 *) ac_try_echo=$ac_try;;
14214 esac
14215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14216 (eval "$ac_try") 2>&5
14217 ac_status=$?
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); }; }; then
14221 cat >>confdefs.h <<\_ACEOF
14222 #define HAVE_GIF 1
14223 _ACEOF
14225 else
14226 echo "$as_me: failed program was:" >&5
14227 sed 's/^/| /' conftest.$ac_ext >&5
14232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14236 EXTRACFLAGS=""
14238 if test "x${GCC}" = "xyes"
14239 then
14240 EXTRACFLAGS="-Wall -pipe"
14242 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14243 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14244 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14245 echo $ECHO_N "(cached) $ECHO_C" >&6
14246 else
14247 if test "$cross_compiling" = yes; then
14248 ac_cv_c_gcc_strength_bug="yes"
14249 else
14250 cat >conftest.$ac_ext <<_ACEOF
14251 /* confdefs.h. */
14252 _ACEOF
14253 cat confdefs.h >>conftest.$ac_ext
14254 cat >>conftest.$ac_ext <<_ACEOF
14255 /* end confdefs.h. */
14257 int L[4] = {0,1,2,3};
14258 int main(void) {
14259 static int Array[3];
14260 unsigned int B = 3;
14261 int i;
14262 for(i=0; i<B; i++) Array[i] = i - 3;
14263 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14264 L[i] = 4;
14266 exit( Array[1] != -2 || L[2] != 3);
14268 _ACEOF
14269 rm -f conftest$ac_exeext
14270 if { (ac_try="$ac_link"
14271 case "(($ac_try" in
14272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14273 *) ac_try_echo=$ac_try;;
14274 esac
14275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14276 (eval "$ac_link") 2>&5
14277 ac_status=$?
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14280 { (case "(($ac_try" in
14281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14282 *) ac_try_echo=$ac_try;;
14283 esac
14284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14285 (eval "$ac_try") 2>&5
14286 ac_status=$?
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); }; }; then
14289 ac_cv_c_gcc_strength_bug="no"
14290 else
14291 echo "$as_me: program exited with status $ac_status" >&5
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.$ac_ext >&5
14295 ( exit $ac_status )
14296 ac_cv_c_gcc_strength_bug="yes"
14298 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14303 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14304 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14305 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14306 then
14307 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14310 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
14311 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
14312 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
14313 echo $ECHO_N "(cached) $ECHO_C" >&6
14314 else
14315 ac_wine_try_cflags_saved=$CFLAGS
14316 CFLAGS="$CFLAGS -fshort-wchar"
14317 cat >conftest.$ac_ext <<_ACEOF
14318 /* confdefs.h. */
14319 _ACEOF
14320 cat confdefs.h >>conftest.$ac_ext
14321 cat >>conftest.$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14325 main ()
14329 return 0;
14331 _ACEOF
14332 rm -f conftest.$ac_objext conftest$ac_exeext
14333 if { (ac_try="$ac_link"
14334 case "(($ac_try" in
14335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14336 *) ac_try_echo=$ac_try;;
14337 esac
14338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14339 (eval "$ac_link") 2>conftest.er1
14340 ac_status=$?
14341 grep -v '^ *+' conftest.er1 >conftest.err
14342 rm -f conftest.er1
14343 cat conftest.err >&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); } &&
14346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14347 { (case "(($ac_try" in
14348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14349 *) ac_try_echo=$ac_try;;
14350 esac
14351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14352 (eval "$ac_try") 2>&5
14353 ac_status=$?
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; } &&
14356 { ac_try='test -s conftest$ac_exeext'
14357 { (case "(($ac_try" in
14358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14359 *) ac_try_echo=$ac_try;;
14360 esac
14361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14362 (eval "$ac_try") 2>&5
14363 ac_status=$?
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); }; }; then
14366 ac_cv_c_gcc_fshort_wchar="yes"
14367 else
14368 echo "$as_me: failed program was:" >&5
14369 sed 's/^/| /' conftest.$ac_ext >&5
14371 ac_cv_c_gcc_fshort_wchar="no"
14374 rm -f core conftest.err conftest.$ac_objext \
14375 conftest$ac_exeext conftest.$ac_ext
14376 CFLAGS=$ac_wine_try_cflags_saved
14378 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
14379 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
14380 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
14381 then
14383 cat >>confdefs.h <<\_ACEOF
14384 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14385 _ACEOF
14389 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
14390 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
14391 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
14392 echo $ECHO_N "(cached) $ECHO_C" >&6
14393 else
14394 ac_wine_try_cflags_saved=$CFLAGS
14395 CFLAGS="$CFLAGS -fno-strict-aliasing"
14396 cat >conftest.$ac_ext <<_ACEOF
14397 /* confdefs.h. */
14398 _ACEOF
14399 cat confdefs.h >>conftest.$ac_ext
14400 cat >>conftest.$ac_ext <<_ACEOF
14401 /* end confdefs.h. */
14404 main ()
14408 return 0;
14410 _ACEOF
14411 rm -f conftest.$ac_objext conftest$ac_exeext
14412 if { (ac_try="$ac_link"
14413 case "(($ac_try" in
14414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14415 *) ac_try_echo=$ac_try;;
14416 esac
14417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14418 (eval "$ac_link") 2>conftest.er1
14419 ac_status=$?
14420 grep -v '^ *+' conftest.er1 >conftest.err
14421 rm -f conftest.er1
14422 cat conftest.err >&5
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); } &&
14425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14426 { (case "(($ac_try" in
14427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14428 *) ac_try_echo=$ac_try;;
14429 esac
14430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14431 (eval "$ac_try") 2>&5
14432 ac_status=$?
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; } &&
14435 { ac_try='test -s conftest$ac_exeext'
14436 { (case "(($ac_try" in
14437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14438 *) ac_try_echo=$ac_try;;
14439 esac
14440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14441 (eval "$ac_try") 2>&5
14442 ac_status=$?
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; }; then
14445 ac_cv_c_gcc_no_strict_aliasing="yes"
14446 else
14447 echo "$as_me: failed program was:" >&5
14448 sed 's/^/| /' conftest.$ac_ext >&5
14450 ac_cv_c_gcc_no_strict_aliasing="no"
14453 rm -f core conftest.err conftest.$ac_objext \
14454 conftest$ac_exeext conftest.$ac_ext
14455 CFLAGS=$ac_wine_try_cflags_saved
14457 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
14458 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
14459 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
14460 then
14461 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14464 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
14465 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
14466 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
14467 echo $ECHO_N "(cached) $ECHO_C" >&6
14468 else
14469 ac_wine_try_cflags_saved=$CFLAGS
14470 CFLAGS="$CFLAGS -gstabs+"
14471 cat >conftest.$ac_ext <<_ACEOF
14472 /* confdefs.h. */
14473 _ACEOF
14474 cat confdefs.h >>conftest.$ac_ext
14475 cat >>conftest.$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14479 main ()
14483 return 0;
14485 _ACEOF
14486 rm -f conftest.$ac_objext conftest$ac_exeext
14487 if { (ac_try="$ac_link"
14488 case "(($ac_try" in
14489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14490 *) ac_try_echo=$ac_try;;
14491 esac
14492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14493 (eval "$ac_link") 2>conftest.er1
14494 ac_status=$?
14495 grep -v '^ *+' conftest.er1 >conftest.err
14496 rm -f conftest.er1
14497 cat conftest.err >&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); } &&
14500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14501 { (case "(($ac_try" in
14502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14503 *) ac_try_echo=$ac_try;;
14504 esac
14505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14506 (eval "$ac_try") 2>&5
14507 ac_status=$?
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); }; } &&
14510 { ac_try='test -s conftest$ac_exeext'
14511 { (case "(($ac_try" in
14512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14513 *) ac_try_echo=$ac_try;;
14514 esac
14515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14516 (eval "$ac_try") 2>&5
14517 ac_status=$?
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); }; }; then
14520 ac_cv_c_gcc_gstabs="yes"
14521 else
14522 echo "$as_me: failed program was:" >&5
14523 sed 's/^/| /' conftest.$ac_ext >&5
14525 ac_cv_c_gcc_gstabs="no"
14528 rm -f core conftest.err conftest.$ac_objext \
14529 conftest$ac_exeext conftest.$ac_ext
14530 CFLAGS=$ac_wine_try_cflags_saved
14532 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
14533 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
14534 if test "$ac_cv_c_gcc_gstabs" = "yes"
14535 then
14536 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14539 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
14540 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
14541 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 else
14544 ac_wine_try_cflags_saved=$CFLAGS
14545 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14546 cat >conftest.$ac_ext <<_ACEOF
14547 /* confdefs.h. */
14548 _ACEOF
14549 cat confdefs.h >>conftest.$ac_ext
14550 cat >>conftest.$ac_ext <<_ACEOF
14551 /* end confdefs.h. */
14554 main ()
14558 return 0;
14560 _ACEOF
14561 rm -f conftest.$ac_objext conftest$ac_exeext
14562 if { (ac_try="$ac_link"
14563 case "(($ac_try" in
14564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14565 *) ac_try_echo=$ac_try;;
14566 esac
14567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14568 (eval "$ac_link") 2>conftest.er1
14569 ac_status=$?
14570 grep -v '^ *+' conftest.er1 >conftest.err
14571 rm -f conftest.er1
14572 cat conftest.err >&5
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); } &&
14575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14576 { (case "(($ac_try" in
14577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14578 *) ac_try_echo=$ac_try;;
14579 esac
14580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14581 (eval "$ac_try") 2>&5
14582 ac_status=$?
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); }; } &&
14585 { ac_try='test -s conftest$ac_exeext'
14586 { (case "(($ac_try" in
14587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14588 *) ac_try_echo=$ac_try;;
14589 esac
14590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14591 (eval "$ac_try") 2>&5
14592 ac_status=$?
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; }; then
14595 ac_cv_c_gcc_decl_after_statement="yes"
14596 else
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14600 ac_cv_c_gcc_decl_after_statement="no"
14603 rm -f core conftest.err conftest.$ac_objext \
14604 conftest$ac_exeext conftest.$ac_ext
14605 CFLAGS=$ac_wine_try_cflags_saved
14607 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
14608 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
14609 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
14610 then
14611 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14614 saved_CFLAGS="$CFLAGS"
14615 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14616 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14617 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14618 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14619 echo $ECHO_N "(cached) $ECHO_C" >&6
14620 else
14621 cat >conftest.$ac_ext <<_ACEOF
14622 /* confdefs.h. */
14623 _ACEOF
14624 cat confdefs.h >>conftest.$ac_ext
14625 cat >>conftest.$ac_ext <<_ACEOF
14626 /* end confdefs.h. */
14627 #include <string.h>
14629 main ()
14633 return 0;
14635 _ACEOF
14636 rm -f conftest.$ac_objext
14637 if { (ac_try="$ac_compile"
14638 case "(($ac_try" in
14639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14640 *) ac_try_echo=$ac_try;;
14641 esac
14642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14643 (eval "$ac_compile") 2>conftest.er1
14644 ac_status=$?
14645 grep -v '^ *+' conftest.er1 >conftest.err
14646 rm -f conftest.er1
14647 cat conftest.err >&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); } &&
14650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14651 { (case "(($ac_try" in
14652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14653 *) ac_try_echo=$ac_try;;
14654 esac
14655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14656 (eval "$ac_try") 2>&5
14657 ac_status=$?
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); }; } &&
14660 { ac_try='test -s conftest.$ac_objext'
14661 { (case "(($ac_try" in
14662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14663 *) ac_try_echo=$ac_try;;
14664 esac
14665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14666 (eval "$ac_try") 2>&5
14667 ac_status=$?
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; }; then
14670 ac_cv_c_string_h_warnings=no
14671 else
14672 echo "$as_me: failed program was:" >&5
14673 sed 's/^/| /' conftest.$ac_ext >&5
14675 ac_cv_c_string_h_warnings=yes
14678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14680 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14681 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14682 CFLAGS="$saved_CFLAGS"
14683 if test "$ac_cv_c_string_h_warnings" = "no"
14684 then
14685 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14688 BUILTINFLAG=""
14690 saved_CFLAGS="$CFLAGS"
14691 CFLAGS="$CFLAGS -Werror"
14692 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14693 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14694 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14695 echo $ECHO_N "(cached) $ECHO_C" >&6
14696 else
14697 cat >conftest.$ac_ext <<_ACEOF
14698 /* confdefs.h. */
14699 _ACEOF
14700 cat confdefs.h >>conftest.$ac_ext
14701 cat >>conftest.$ac_ext <<_ACEOF
14702 /* end confdefs.h. */
14705 main ()
14707 int iswlower(unsigned short);
14709 return 0;
14711 _ACEOF
14712 rm -f conftest.$ac_objext
14713 if { (ac_try="$ac_compile"
14714 case "(($ac_try" in
14715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14716 *) ac_try_echo=$ac_try;;
14717 esac
14718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14719 (eval "$ac_compile") 2>conftest.er1
14720 ac_status=$?
14721 grep -v '^ *+' conftest.er1 >conftest.err
14722 rm -f conftest.er1
14723 cat conftest.err >&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); } &&
14726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14727 { (case "(($ac_try" in
14728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14729 *) ac_try_echo=$ac_try;;
14730 esac
14731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14732 (eval "$ac_try") 2>&5
14733 ac_status=$?
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; } &&
14736 { ac_try='test -s conftest.$ac_objext'
14737 { (case "(($ac_try" in
14738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14739 *) ac_try_echo=$ac_try;;
14740 esac
14741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14742 (eval "$ac_try") 2>&5
14743 ac_status=$?
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }; }; then
14746 ac_cv_c_builtin_wchar_ctype=no
14747 else
14748 echo "$as_me: failed program was:" >&5
14749 sed 's/^/| /' conftest.$ac_ext >&5
14751 ac_cv_c_builtin_wchar_ctype=yes
14754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14756 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14757 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14758 CFLAGS="$saved_CFLAGS"
14759 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14760 then
14761 BUILTINFLAG="-fno-builtin"
14766 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14767 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14768 if test "${ac_cv_asm_func_def+set}" = set; then
14769 echo $ECHO_N "(cached) $ECHO_C" >&6
14770 else
14771 cat >conftest.$ac_ext <<_ACEOF
14772 /* confdefs.h. */
14773 _ACEOF
14774 cat confdefs.h >>conftest.$ac_ext
14775 cat >>conftest.$ac_ext <<_ACEOF
14776 /* end confdefs.h. */
14777 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"); }
14780 main ()
14784 return 0;
14786 _ACEOF
14787 rm -f conftest.$ac_objext conftest$ac_exeext
14788 if { (ac_try="$ac_link"
14789 case "(($ac_try" in
14790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14791 *) ac_try_echo=$ac_try;;
14792 esac
14793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14794 (eval "$ac_link") 2>conftest.er1
14795 ac_status=$?
14796 grep -v '^ *+' conftest.er1 >conftest.err
14797 rm -f conftest.er1
14798 cat conftest.err >&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); } &&
14801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14802 { (case "(($ac_try" in
14803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14804 *) ac_try_echo=$ac_try;;
14805 esac
14806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14807 (eval "$ac_try") 2>&5
14808 ac_status=$?
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); }; } &&
14811 { ac_try='test -s conftest$ac_exeext'
14812 { (case "(($ac_try" in
14813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14814 *) ac_try_echo=$ac_try;;
14815 esac
14816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14817 (eval "$ac_try") 2>&5
14818 ac_status=$?
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; }; then
14821 ac_cv_asm_func_def=".def"
14822 else
14823 echo "$as_me: failed program was:" >&5
14824 sed 's/^/| /' conftest.$ac_ext >&5
14826 cat >conftest.$ac_ext <<_ACEOF
14827 /* confdefs.h. */
14828 _ACEOF
14829 cat confdefs.h >>conftest.$ac_ext
14830 cat >>conftest.$ac_ext <<_ACEOF
14831 /* end confdefs.h. */
14832 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14835 main ()
14839 return 0;
14841 _ACEOF
14842 rm -f conftest.$ac_objext conftest$ac_exeext
14843 if { (ac_try="$ac_link"
14844 case "(($ac_try" in
14845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14846 *) ac_try_echo=$ac_try;;
14847 esac
14848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14849 (eval "$ac_link") 2>conftest.er1
14850 ac_status=$?
14851 grep -v '^ *+' conftest.er1 >conftest.err
14852 rm -f conftest.er1
14853 cat conftest.err >&5
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); } &&
14856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14857 { (case "(($ac_try" in
14858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14859 *) ac_try_echo=$ac_try;;
14860 esac
14861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14862 (eval "$ac_try") 2>&5
14863 ac_status=$?
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; } &&
14866 { ac_try='test -s conftest$ac_exeext'
14867 { (case "(($ac_try" in
14868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14869 *) ac_try_echo=$ac_try;;
14870 esac
14871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14872 (eval "$ac_try") 2>&5
14873 ac_status=$?
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); }; }; then
14876 ac_cv_asm_func_def=".type @function"
14877 else
14878 echo "$as_me: failed program was:" >&5
14879 sed 's/^/| /' conftest.$ac_ext >&5
14881 cat >conftest.$ac_ext <<_ACEOF
14882 /* confdefs.h. */
14883 _ACEOF
14884 cat confdefs.h >>conftest.$ac_ext
14885 cat >>conftest.$ac_ext <<_ACEOF
14886 /* end confdefs.h. */
14887 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14890 main ()
14894 return 0;
14896 _ACEOF
14897 rm -f conftest.$ac_objext conftest$ac_exeext
14898 if { (ac_try="$ac_link"
14899 case "(($ac_try" in
14900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14901 *) ac_try_echo=$ac_try;;
14902 esac
14903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14904 (eval "$ac_link") 2>conftest.er1
14905 ac_status=$?
14906 grep -v '^ *+' conftest.er1 >conftest.err
14907 rm -f conftest.er1
14908 cat conftest.err >&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); } &&
14911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14912 { (case "(($ac_try" in
14913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14914 *) ac_try_echo=$ac_try;;
14915 esac
14916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14917 (eval "$ac_try") 2>&5
14918 ac_status=$?
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); }; } &&
14921 { ac_try='test -s conftest$ac_exeext'
14922 { (case "(($ac_try" in
14923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14924 *) ac_try_echo=$ac_try;;
14925 esac
14926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14927 (eval "$ac_try") 2>&5
14928 ac_status=$?
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); }; }; then
14931 ac_cv_asm_func_def=".type 2"
14932 else
14933 echo "$as_me: failed program was:" >&5
14934 sed 's/^/| /' conftest.$ac_ext >&5
14936 ac_cv_asm_func_def="unknown"
14939 rm -f core conftest.err conftest.$ac_objext \
14940 conftest$ac_exeext conftest.$ac_ext
14943 rm -f core conftest.err conftest.$ac_objext \
14944 conftest$ac_exeext conftest.$ac_ext
14947 rm -f core conftest.err conftest.$ac_objext \
14948 conftest$ac_exeext conftest.$ac_ext
14950 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
14951 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
14955 case "$ac_cv_asm_func_def" in
14956 ".def")
14957 cat >>confdefs.h <<\_ACEOF
14958 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
14959 _ACEOF
14961 ".type @function")
14962 cat >>confdefs.h <<\_ACEOF
14963 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
14964 _ACEOF
14966 ".type 2")
14967 cat >>confdefs.h <<\_ACEOF
14968 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
14969 _ACEOF
14972 cat >>confdefs.h <<\_ACEOF
14973 #define __ASM_FUNC(name) ""
14974 _ACEOF
14976 esac
14979 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
14980 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
14981 if test "${ac_cv_c_extern_prefix+set}" = set; then
14982 echo $ECHO_N "(cached) $ECHO_C" >&6
14983 else
14984 cat >conftest.$ac_ext <<_ACEOF
14985 /* confdefs.h. */
14986 _ACEOF
14987 cat confdefs.h >>conftest.$ac_ext
14988 cat >>conftest.$ac_ext <<_ACEOF
14989 /* end confdefs.h. */
14990 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
14991 extern int ac_test;
14993 main ()
14995 if (ac_test) return 1
14997 return 0;
14999 _ACEOF
15000 rm -f conftest.$ac_objext conftest$ac_exeext
15001 if { (ac_try="$ac_link"
15002 case "(($ac_try" in
15003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15004 *) ac_try_echo=$ac_try;;
15005 esac
15006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15007 (eval "$ac_link") 2>conftest.er1
15008 ac_status=$?
15009 grep -v '^ *+' conftest.er1 >conftest.err
15010 rm -f conftest.er1
15011 cat conftest.err >&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); } &&
15014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15015 { (case "(($ac_try" in
15016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15017 *) ac_try_echo=$ac_try;;
15018 esac
15019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15020 (eval "$ac_try") 2>&5
15021 ac_status=$?
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; } &&
15024 { ac_try='test -s conftest$ac_exeext'
15025 { (case "(($ac_try" in
15026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15027 *) ac_try_echo=$ac_try;;
15028 esac
15029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15030 (eval "$ac_try") 2>&5
15031 ac_status=$?
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); }; }; then
15034 ac_cv_c_extern_prefix="yes"
15035 else
15036 echo "$as_me: failed program was:" >&5
15037 sed 's/^/| /' conftest.$ac_ext >&5
15039 ac_cv_c_extern_prefix="no"
15042 rm -f core conftest.err conftest.$ac_objext \
15043 conftest$ac_exeext conftest.$ac_ext
15045 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15046 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15050 if test "$ac_cv_c_extern_prefix" = "yes"
15051 then
15052 cat >>confdefs.h <<\_ACEOF
15053 #define __ASM_NAME(name) "_" name
15054 _ACEOF
15056 else
15057 cat >>confdefs.h <<\_ACEOF
15058 #define __ASM_NAME(name) name
15059 _ACEOF
15064 DLLEXT=""
15066 DLLFLAGS="-D_REENTRANT"
15068 LDSHARED=""
15070 LDDLLFLAGS=""
15072 LIBEXT="so"
15074 IMPLIBEXT="def"
15077 case $host_os in
15078 cygwin*|mingw32*)
15079 if test -n "$ac_tool_prefix"; then
15080 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15081 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15084 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15085 echo $ECHO_N "(cached) $ECHO_C" >&6
15086 else
15087 if test -n "$DLLTOOL"; then
15088 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15089 else
15090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15091 for as_dir in $PATH
15093 IFS=$as_save_IFS
15094 test -z "$as_dir" && as_dir=.
15095 for ac_exec_ext in '' $ac_executable_extensions; do
15096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15097 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15099 break 2
15101 done
15102 done
15103 IFS=$as_save_IFS
15107 DLLTOOL=$ac_cv_prog_DLLTOOL
15108 if test -n "$DLLTOOL"; then
15109 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15110 echo "${ECHO_T}$DLLTOOL" >&6; }
15111 else
15112 { echo "$as_me:$LINENO: result: no" >&5
15113 echo "${ECHO_T}no" >&6; }
15118 if test -z "$ac_cv_prog_DLLTOOL"; then
15119 ac_ct_DLLTOOL=$DLLTOOL
15120 # Extract the first word of "dlltool", so it can be a program name with args.
15121 set dummy dlltool; ac_word=$2
15122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15124 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15125 echo $ECHO_N "(cached) $ECHO_C" >&6
15126 else
15127 if test -n "$ac_ct_DLLTOOL"; then
15128 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15129 else
15130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15131 for as_dir in $PATH
15133 IFS=$as_save_IFS
15134 test -z "$as_dir" && as_dir=.
15135 for ac_exec_ext in '' $ac_executable_extensions; do
15136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15137 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15139 break 2
15141 done
15142 done
15143 IFS=$as_save_IFS
15147 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15148 if test -n "$ac_ct_DLLTOOL"; then
15149 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15150 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15151 else
15152 { echo "$as_me:$LINENO: result: no" >&5
15153 echo "${ECHO_T}no" >&6; }
15156 if test "x$ac_ct_DLLTOOL" = x; then
15157 DLLTOOL="false"
15158 else
15159 case $cross_compiling:$ac_tool_warned in
15160 yes:)
15161 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15162 whose name does not start with the host triplet. If you think this
15163 configuration is useful to you, please write to autoconf@gnu.org." >&5
15164 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15165 whose name does not start with the host triplet. If you think this
15166 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15167 ac_tool_warned=yes ;;
15168 esac
15169 DLLTOOL=$ac_ct_DLLTOOL
15171 else
15172 DLLTOOL="$ac_cv_prog_DLLTOOL"
15175 if test -n "$ac_tool_prefix"; then
15176 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15177 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15180 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15181 echo $ECHO_N "(cached) $ECHO_C" >&6
15182 else
15183 if test -n "$DLLWRAP"; then
15184 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15185 else
15186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15187 for as_dir in $PATH
15189 IFS=$as_save_IFS
15190 test -z "$as_dir" && as_dir=.
15191 for ac_exec_ext in '' $ac_executable_extensions; do
15192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15193 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15195 break 2
15197 done
15198 done
15199 IFS=$as_save_IFS
15203 DLLWRAP=$ac_cv_prog_DLLWRAP
15204 if test -n "$DLLWRAP"; then
15205 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15206 echo "${ECHO_T}$DLLWRAP" >&6; }
15207 else
15208 { echo "$as_me:$LINENO: result: no" >&5
15209 echo "${ECHO_T}no" >&6; }
15214 if test -z "$ac_cv_prog_DLLWRAP"; then
15215 ac_ct_DLLWRAP=$DLLWRAP
15216 # Extract the first word of "dllwrap", so it can be a program name with args.
15217 set dummy dllwrap; ac_word=$2
15218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15220 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15221 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 else
15223 if test -n "$ac_ct_DLLWRAP"; then
15224 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15225 else
15226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15227 for as_dir in $PATH
15229 IFS=$as_save_IFS
15230 test -z "$as_dir" && as_dir=.
15231 for ac_exec_ext in '' $ac_executable_extensions; do
15232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15233 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15235 break 2
15237 done
15238 done
15239 IFS=$as_save_IFS
15243 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15244 if test -n "$ac_ct_DLLWRAP"; then
15245 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15246 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15247 else
15248 { echo "$as_me:$LINENO: result: no" >&5
15249 echo "${ECHO_T}no" >&6; }
15252 if test "x$ac_ct_DLLWRAP" = x; then
15253 DLLWRAP="false"
15254 else
15255 case $cross_compiling:$ac_tool_warned in
15256 yes:)
15257 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15258 whose name does not start with the host triplet. If you think this
15259 configuration is useful to you, please write to autoconf@gnu.org." >&5
15260 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15261 whose name does not start with the host triplet. If you think this
15262 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15263 ac_tool_warned=yes ;;
15264 esac
15265 DLLWRAP=$ac_ct_DLLWRAP
15267 else
15268 DLLWRAP="$ac_cv_prog_DLLWRAP"
15271 if test "$DLLWRAP" = "false"; then
15272 LIBEXT="a"
15273 else
15274 LIBEXT="dll"
15276 IMPLIBEXT="a"
15277 WIN16_FILES=""
15278 WIN16_INSTALL=""
15280 darwin*|macosx*)
15281 DLLEXT=".so"
15282 LIBEXT="dylib"
15283 DLLFLAGS="$DLLFLAGS -fPIC"
15284 LDDLLFLAGS="-bundle -multiply_defined suppress"
15285 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
15286 STRIP="$STRIP -u -r"
15287 COREFOUNDATIONLIB="-framework CoreFoundation"
15289 IOKITLIB="-framework IOKit -framework CoreFoundation"
15291 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15293 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15294 then
15295 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15298 case $host_cpu in
15299 *powerpc*)
15300 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15301 esac
15302 CFLAGS=`echo "$CFLAGS" | sed -e s/-O2/-O1/`
15305 DLLFLAGS="$DLLFLAGS -fPIC"
15306 DLLEXT=".so"
15307 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15308 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15309 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15310 echo $ECHO_N "(cached) $ECHO_C" >&6
15311 else
15312 ac_wine_try_cflags_saved=$CFLAGS
15313 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15314 cat >conftest.$ac_ext <<_ACEOF
15315 void myfunc() {}
15316 _ACEOF
15317 rm -f conftest.$ac_objext conftest$ac_exeext
15318 if { (ac_try="$ac_link"
15319 case "(($ac_try" in
15320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15321 *) ac_try_echo=$ac_try;;
15322 esac
15323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15324 (eval "$ac_link") 2>conftest.er1
15325 ac_status=$?
15326 grep -v '^ *+' conftest.er1 >conftest.err
15327 rm -f conftest.er1
15328 cat conftest.err >&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); } &&
15331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15332 { (case "(($ac_try" in
15333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15334 *) ac_try_echo=$ac_try;;
15335 esac
15336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15337 (eval "$ac_try") 2>&5
15338 ac_status=$?
15339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); }; } &&
15341 { ac_try='test -s conftest$ac_exeext'
15342 { (case "(($ac_try" in
15343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15344 *) ac_try_echo=$ac_try;;
15345 esac
15346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15347 (eval "$ac_try") 2>&5
15348 ac_status=$?
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); }; }; then
15351 ac_cv_c_dll_gnuelf="yes"
15352 else
15353 echo "$as_me: failed program was:" >&5
15354 sed 's/^/| /' conftest.$ac_ext >&5
15356 ac_cv_c_dll_gnuelf="no"
15359 rm -f core conftest.err conftest.$ac_objext \
15360 conftest$ac_exeext conftest.$ac_ext
15361 CFLAGS=$ac_wine_try_cflags_saved
15363 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15364 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15365 if test "$ac_cv_c_dll_gnuelf" = "yes"
15366 then
15367 LDSHARED="\$(CC) -shared"
15368 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
15369 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
15370 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
15371 if test "${ac_cv_c_sonames+set}" = set; then
15372 echo $ECHO_N "(cached) $ECHO_C" >&6
15373 else
15374 ac_wine_try_cflags_saved=$CFLAGS
15375 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15376 cat >conftest.$ac_ext <<_ACEOF
15377 /* confdefs.h. */
15378 _ACEOF
15379 cat confdefs.h >>conftest.$ac_ext
15380 cat >>conftest.$ac_ext <<_ACEOF
15381 /* end confdefs.h. */
15384 main ()
15388 return 0;
15390 _ACEOF
15391 rm -f conftest.$ac_objext conftest$ac_exeext
15392 if { (ac_try="$ac_link"
15393 case "(($ac_try" in
15394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15395 *) ac_try_echo=$ac_try;;
15396 esac
15397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15398 (eval "$ac_link") 2>conftest.er1
15399 ac_status=$?
15400 grep -v '^ *+' conftest.er1 >conftest.err
15401 rm -f conftest.er1
15402 cat conftest.err >&5
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); } &&
15405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15406 { (case "(($ac_try" in
15407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15408 *) ac_try_echo=$ac_try;;
15409 esac
15410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15411 (eval "$ac_try") 2>&5
15412 ac_status=$?
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); }; } &&
15415 { ac_try='test -s conftest$ac_exeext'
15416 { (case "(($ac_try" in
15417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15418 *) ac_try_echo=$ac_try;;
15419 esac
15420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15421 (eval "$ac_try") 2>&5
15422 ac_status=$?
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; }; then
15425 ac_cv_c_sonames="yes"
15426 else
15427 echo "$as_me: failed program was:" >&5
15428 sed 's/^/| /' conftest.$ac_ext >&5
15430 ac_cv_c_sonames="no"
15433 rm -f core conftest.err conftest.$ac_objext \
15434 conftest$ac_exeext conftest.$ac_ext
15435 CFLAGS=$ac_wine_try_cflags_saved
15437 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
15438 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
15439 if test "$ac_cv_c_sonames" = "yes"
15440 then
15441 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15442 else
15443 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
15444 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
15445 if test "${ac_cv_c_h_sonames+set}" = set; then
15446 echo $ECHO_N "(cached) $ECHO_C" >&6
15447 else
15448 ac_wine_try_cflags_saved=$CFLAGS
15449 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15450 cat >conftest.$ac_ext <<_ACEOF
15451 /* confdefs.h. */
15452 _ACEOF
15453 cat confdefs.h >>conftest.$ac_ext
15454 cat >>conftest.$ac_ext <<_ACEOF
15455 /* end confdefs.h. */
15458 main ()
15462 return 0;
15464 _ACEOF
15465 rm -f conftest.$ac_objext conftest$ac_exeext
15466 if { (ac_try="$ac_link"
15467 case "(($ac_try" in
15468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15469 *) ac_try_echo=$ac_try;;
15470 esac
15471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15472 (eval "$ac_link") 2>conftest.er1
15473 ac_status=$?
15474 grep -v '^ *+' conftest.er1 >conftest.err
15475 rm -f conftest.er1
15476 cat conftest.err >&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); } &&
15479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15480 { (case "(($ac_try" in
15481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15482 *) ac_try_echo=$ac_try;;
15483 esac
15484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15485 (eval "$ac_try") 2>&5
15486 ac_status=$?
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; } &&
15489 { ac_try='test -s conftest$ac_exeext'
15490 { (case "(($ac_try" in
15491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15492 *) ac_try_echo=$ac_try;;
15493 esac
15494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15495 (eval "$ac_try") 2>&5
15496 ac_status=$?
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); }; }; then
15499 ac_cv_c_h_sonames="yes"
15500 else
15501 echo "$as_me: failed program was:" >&5
15502 sed 's/^/| /' conftest.$ac_ext >&5
15504 ac_cv_c_h_sonames="no"
15507 rm -f core conftest.err conftest.$ac_objext \
15508 conftest$ac_exeext conftest.$ac_ext
15509 CFLAGS=$ac_wine_try_cflags_saved
15511 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
15512 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
15513 if test "$ac_cv_c_h_sonames" = "yes"
15514 then
15515 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15519 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
15520 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
15521 if test "${ac_cv_c_dll_zdefs+set}" = set; then
15522 echo $ECHO_N "(cached) $ECHO_C" >&6
15523 else
15524 ac_wine_try_cflags_saved=$CFLAGS
15525 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15526 cat >conftest.$ac_ext <<_ACEOF
15527 /* confdefs.h. */
15528 _ACEOF
15529 cat confdefs.h >>conftest.$ac_ext
15530 cat >>conftest.$ac_ext <<_ACEOF
15531 /* end confdefs.h. */
15534 main ()
15538 return 0;
15540 _ACEOF
15541 rm -f conftest.$ac_objext conftest$ac_exeext
15542 if { (ac_try="$ac_link"
15543 case "(($ac_try" in
15544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15545 *) ac_try_echo=$ac_try;;
15546 esac
15547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15548 (eval "$ac_link") 2>conftest.er1
15549 ac_status=$?
15550 grep -v '^ *+' conftest.er1 >conftest.err
15551 rm -f conftest.er1
15552 cat conftest.err >&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); } &&
15555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15556 { (case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15558 *) ac_try_echo=$ac_try;;
15559 esac
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_try") 2>&5
15562 ac_status=$?
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; } &&
15565 { ac_try='test -s conftest$ac_exeext'
15566 { (case "(($ac_try" in
15567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15568 *) ac_try_echo=$ac_try;;
15569 esac
15570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15571 (eval "$ac_try") 2>&5
15572 ac_status=$?
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); }; }; then
15575 ac_cv_c_dll_zdefs="yes"
15576 else
15577 echo "$as_me: failed program was:" >&5
15578 sed 's/^/| /' conftest.$ac_ext >&5
15580 ac_cv_c_dll_zdefs="no"
15583 rm -f core conftest.err conftest.$ac_objext \
15584 conftest$ac_exeext conftest.$ac_ext
15585 CFLAGS=$ac_wine_try_cflags_saved
15587 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
15588 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
15589 if test "$ac_cv_c_dll_zdefs" = "yes"
15590 then
15591 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15594 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
15595 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
15596 if test "${ac_cv_c_dll_init_fini+set}" = set; then
15597 echo $ECHO_N "(cached) $ECHO_C" >&6
15598 else
15599 ac_wine_try_cflags_saved=$CFLAGS
15600 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15601 cat >conftest.$ac_ext <<_ACEOF
15602 /* confdefs.h. */
15603 _ACEOF
15604 cat confdefs.h >>conftest.$ac_ext
15605 cat >>conftest.$ac_ext <<_ACEOF
15606 /* end confdefs.h. */
15609 main ()
15613 return 0;
15615 _ACEOF
15616 rm -f conftest.$ac_objext conftest$ac_exeext
15617 if { (ac_try="$ac_link"
15618 case "(($ac_try" in
15619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15620 *) ac_try_echo=$ac_try;;
15621 esac
15622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15623 (eval "$ac_link") 2>conftest.er1
15624 ac_status=$?
15625 grep -v '^ *+' conftest.er1 >conftest.err
15626 rm -f conftest.er1
15627 cat conftest.err >&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); } &&
15630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15631 { (case "(($ac_try" in
15632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15633 *) ac_try_echo=$ac_try;;
15634 esac
15635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15636 (eval "$ac_try") 2>&5
15637 ac_status=$?
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; } &&
15640 { ac_try='test -s conftest$ac_exeext'
15641 { (case "(($ac_try" in
15642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15643 *) ac_try_echo=$ac_try;;
15644 esac
15645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15646 (eval "$ac_try") 2>&5
15647 ac_status=$?
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); }; }; then
15650 ac_cv_c_dll_init_fini="yes"
15651 else
15652 echo "$as_me: failed program was:" >&5
15653 sed 's/^/| /' conftest.$ac_ext >&5
15655 ac_cv_c_dll_init_fini="no"
15658 rm -f core conftest.err conftest.$ac_objext \
15659 conftest$ac_exeext conftest.$ac_ext
15660 CFLAGS=$ac_wine_try_cflags_saved
15662 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
15663 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
15664 if test "$ac_cv_c_dll_init_fini" = "yes"
15665 then
15666 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15669 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
15670 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
15671 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
15672 echo $ECHO_N "(cached) $ECHO_C" >&6
15673 else
15674 echo '{ global: *; };' >conftest.map
15675 ac_wine_try_cflags_saved=$CFLAGS
15676 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15677 cat >conftest.$ac_ext <<_ACEOF
15678 /* confdefs.h. */
15679 _ACEOF
15680 cat confdefs.h >>conftest.$ac_ext
15681 cat >>conftest.$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15685 main ()
15689 return 0;
15691 _ACEOF
15692 rm -f conftest.$ac_objext conftest$ac_exeext
15693 if { (ac_try="$ac_link"
15694 case "(($ac_try" in
15695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15696 *) ac_try_echo=$ac_try;;
15697 esac
15698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15699 (eval "$ac_link") 2>conftest.er1
15700 ac_status=$?
15701 grep -v '^ *+' conftest.er1 >conftest.err
15702 rm -f conftest.er1
15703 cat conftest.err >&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); } &&
15706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15707 { (case "(($ac_try" in
15708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15709 *) ac_try_echo=$ac_try;;
15710 esac
15711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15712 (eval "$ac_try") 2>&5
15713 ac_status=$?
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); }; } &&
15716 { ac_try='test -s conftest$ac_exeext'
15717 { (case "(($ac_try" in
15718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15720 esac
15721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_try") 2>&5
15723 ac_status=$?
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); }; }; then
15726 ac_cv_c_ld_version_scripts="yes"
15727 else
15728 echo "$as_me: failed program was:" >&5
15729 sed 's/^/| /' conftest.$ac_ext >&5
15731 ac_cv_c_ld_version_scripts="no"
15734 rm -f core conftest.err conftest.$ac_objext \
15735 conftest$ac_exeext conftest.$ac_ext
15736 CFLAGS=$ac_wine_try_cflags_saved
15737 rm -f conftest.map
15739 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
15740 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
15741 if test "$ac_cv_c_ld_version_scripts" = "yes"
15742 then
15743 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15746 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
15747 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
15748 if test "${ac_cv_c_export_dynamic+set}" = set; then
15749 echo $ECHO_N "(cached) $ECHO_C" >&6
15750 else
15751 ac_wine_try_cflags_saved=$CFLAGS
15752 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15753 cat >conftest.$ac_ext <<_ACEOF
15754 /* confdefs.h. */
15755 _ACEOF
15756 cat confdefs.h >>conftest.$ac_ext
15757 cat >>conftest.$ac_ext <<_ACEOF
15758 /* end confdefs.h. */
15761 main ()
15765 return 0;
15767 _ACEOF
15768 rm -f conftest.$ac_objext conftest$ac_exeext
15769 if { (ac_try="$ac_link"
15770 case "(($ac_try" in
15771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15772 *) ac_try_echo=$ac_try;;
15773 esac
15774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15775 (eval "$ac_link") 2>conftest.er1
15776 ac_status=$?
15777 grep -v '^ *+' conftest.er1 >conftest.err
15778 rm -f conftest.er1
15779 cat conftest.err >&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); } &&
15782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15783 { (case "(($ac_try" in
15784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15785 *) ac_try_echo=$ac_try;;
15786 esac
15787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15788 (eval "$ac_try") 2>&5
15789 ac_status=$?
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; } &&
15792 { ac_try='test -s conftest$ac_exeext'
15793 { (case "(($ac_try" in
15794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15795 *) ac_try_echo=$ac_try;;
15796 esac
15797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15798 (eval "$ac_try") 2>&5
15799 ac_status=$?
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; }; then
15802 ac_cv_c_export_dynamic="yes"
15803 else
15804 echo "$as_me: failed program was:" >&5
15805 sed 's/^/| /' conftest.$ac_ext >&5
15807 ac_cv_c_export_dynamic="no"
15810 rm -f core conftest.err conftest.$ac_objext \
15811 conftest$ac_exeext conftest.$ac_ext
15812 CFLAGS=$ac_wine_try_cflags_saved
15814 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
15815 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
15816 if test "$ac_cv_c_export_dynamic" = "yes"
15817 then
15818 LDEXECFLAGS="-Wl,--export-dynamic"
15822 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
15823 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
15824 if test "${ac_cv_ld_rpath+set}" = set; then
15825 echo $ECHO_N "(cached) $ECHO_C" >&6
15826 else
15827 ac_wine_try_cflags_saved=$CFLAGS
15828 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15829 cat >conftest.$ac_ext <<_ACEOF
15830 /* confdefs.h. */
15831 _ACEOF
15832 cat confdefs.h >>conftest.$ac_ext
15833 cat >>conftest.$ac_ext <<_ACEOF
15834 /* end confdefs.h. */
15837 main ()
15841 return 0;
15843 _ACEOF
15844 rm -f conftest.$ac_objext conftest$ac_exeext
15845 if { (ac_try="$ac_link"
15846 case "(($ac_try" in
15847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15848 *) ac_try_echo=$ac_try;;
15849 esac
15850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15851 (eval "$ac_link") 2>conftest.er1
15852 ac_status=$?
15853 grep -v '^ *+' conftest.er1 >conftest.err
15854 rm -f conftest.er1
15855 cat conftest.err >&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); } &&
15858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15859 { (case "(($ac_try" in
15860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15861 *) ac_try_echo=$ac_try;;
15862 esac
15863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15864 (eval "$ac_try") 2>&5
15865 ac_status=$?
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); }; } &&
15868 { ac_try='test -s conftest$ac_exeext'
15869 { (case "(($ac_try" in
15870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15871 *) ac_try_echo=$ac_try;;
15872 esac
15873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15874 (eval "$ac_try") 2>&5
15875 ac_status=$?
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); }; }; then
15878 ac_cv_ld_rpath="yes"
15879 else
15880 echo "$as_me: failed program was:" >&5
15881 sed 's/^/| /' conftest.$ac_ext >&5
15883 ac_cv_ld_rpath="no"
15886 rm -f core conftest.err conftest.$ac_objext \
15887 conftest$ac_exeext conftest.$ac_ext
15888 CFLAGS=$ac_wine_try_cflags_saved
15890 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
15891 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
15892 if test "$ac_cv_ld_rpath" = "yes"
15893 then
15894 LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
15898 case $host_cpu in
15899 *i[3456789]86* | x86_64)
15900 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
15901 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
15902 if test "${ac_cv_ld_reloc_exec+set}" = set; then
15903 echo $ECHO_N "(cached) $ECHO_C" >&6
15904 else
15905 ac_wine_try_cflags_saved=$CFLAGS
15906 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15907 cat >conftest.$ac_ext <<_ACEOF
15908 /* confdefs.h. */
15909 _ACEOF
15910 cat confdefs.h >>conftest.$ac_ext
15911 cat >>conftest.$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15915 main ()
15919 return 0;
15921 _ACEOF
15922 rm -f conftest.$ac_objext conftest$ac_exeext
15923 if { (ac_try="$ac_link"
15924 case "(($ac_try" in
15925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15926 *) ac_try_echo=$ac_try;;
15927 esac
15928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15929 (eval "$ac_link") 2>conftest.er1
15930 ac_status=$?
15931 grep -v '^ *+' conftest.er1 >conftest.err
15932 rm -f conftest.er1
15933 cat conftest.err >&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); } &&
15936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15937 { (case "(($ac_try" in
15938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15939 *) ac_try_echo=$ac_try;;
15940 esac
15941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15942 (eval "$ac_try") 2>&5
15943 ac_status=$?
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; } &&
15946 { ac_try='test -s conftest$ac_exeext'
15947 { (case "(($ac_try" in
15948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15949 *) ac_try_echo=$ac_try;;
15950 esac
15951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15952 (eval "$ac_try") 2>&5
15953 ac_status=$?
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; }; then
15956 ac_cv_ld_reloc_exec="yes"
15957 else
15958 echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.$ac_ext >&5
15961 ac_cv_ld_reloc_exec="no"
15964 rm -f core conftest.err conftest.$ac_objext \
15965 conftest$ac_exeext conftest.$ac_ext
15966 CFLAGS=$ac_wine_try_cflags_saved
15968 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
15969 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
15970 if test "$ac_cv_ld_reloc_exec" = "yes"
15971 then
15972 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
15975 esac
15977 else
15978 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
15979 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
15980 if test "${ac_cv_c_dll_unixware+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15982 else
15983 ac_wine_try_cflags_saved=$CFLAGS
15984 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
15985 cat >conftest.$ac_ext <<_ACEOF
15986 void myfunc() {}
15987 _ACEOF
15988 rm -f conftest.$ac_objext conftest$ac_exeext
15989 if { (ac_try="$ac_link"
15990 case "(($ac_try" in
15991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15992 *) ac_try_echo=$ac_try;;
15993 esac
15994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15995 (eval "$ac_link") 2>conftest.er1
15996 ac_status=$?
15997 grep -v '^ *+' conftest.er1 >conftest.err
15998 rm -f conftest.er1
15999 cat conftest.err >&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); } &&
16002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16003 { (case "(($ac_try" in
16004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16005 *) ac_try_echo=$ac_try;;
16006 esac
16007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16008 (eval "$ac_try") 2>&5
16009 ac_status=$?
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; } &&
16012 { ac_try='test -s conftest$ac_exeext'
16013 { (case "(($ac_try" in
16014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16015 *) ac_try_echo=$ac_try;;
16016 esac
16017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16018 (eval "$ac_try") 2>&5
16019 ac_status=$?
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); }; }; then
16022 ac_cv_c_dll_unixware="yes"
16023 else
16024 echo "$as_me: failed program was:" >&5
16025 sed 's/^/| /' conftest.$ac_ext >&5
16027 ac_cv_c_dll_unixware="no"
16030 rm -f core conftest.err conftest.$ac_objext \
16031 conftest$ac_exeext conftest.$ac_ext
16032 CFLAGS=$ac_wine_try_cflags_saved
16034 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16035 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16036 if test "$ac_cv_c_dll_unixware" = "yes"
16037 then
16038 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16039 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16041 else
16042 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16043 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16044 if test "${ac_cv_c_dll_hpux+set}" = set; then
16045 echo $ECHO_N "(cached) $ECHO_C" >&6
16046 else
16047 ac_wine_try_cflags_saved=$CFLAGS
16048 CFLAGS="$CFLAGS -shared"
16049 cat >conftest.$ac_ext <<_ACEOF
16050 void myfunc() {}
16051 _ACEOF
16052 rm -f conftest.$ac_objext conftest$ac_exeext
16053 if { (ac_try="$ac_link"
16054 case "(($ac_try" in
16055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16056 *) ac_try_echo=$ac_try;;
16057 esac
16058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16059 (eval "$ac_link") 2>conftest.er1
16060 ac_status=$?
16061 grep -v '^ *+' conftest.er1 >conftest.err
16062 rm -f conftest.er1
16063 cat conftest.err >&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } &&
16066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16067 { (case "(($ac_try" in
16068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16069 *) ac_try_echo=$ac_try;;
16070 esac
16071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16072 (eval "$ac_try") 2>&5
16073 ac_status=$?
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); }; } &&
16076 { ac_try='test -s conftest$ac_exeext'
16077 { (case "(($ac_try" in
16078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16079 *) ac_try_echo=$ac_try;;
16080 esac
16081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16082 (eval "$ac_try") 2>&5
16083 ac_status=$?
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; }; then
16086 ac_cv_c_dll_hpux="yes"
16087 else
16088 echo "$as_me: failed program was:" >&5
16089 sed 's/^/| /' conftest.$ac_ext >&5
16091 ac_cv_c_dll_hpux="no"
16094 rm -f core conftest.err conftest.$ac_objext \
16095 conftest$ac_exeext conftest.$ac_ext
16096 CFLAGS=$ac_wine_try_cflags_saved
16098 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16099 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16100 if test "$ac_cv_c_dll_hpux" = "yes"
16101 then
16102 LIBEXT="sl"
16103 DLLEXT=".sl"
16104 LDDLLFLAGS="-shared -fPIC"
16105 LDSHARED="\$(CC) -shared"
16110 CROSSTEST=""
16112 if test "$cross_compiling" = "no"
16113 then
16114 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
16116 # Extract the first word of "$ac_prog", so it can be a program name with args.
16117 set dummy $ac_prog; ac_word=$2
16118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16120 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16121 echo $ECHO_N "(cached) $ECHO_C" >&6
16122 else
16123 if test -n "$CROSSCC"; then
16124 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
16125 else
16126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16127 for as_dir in $PATH
16129 IFS=$as_save_IFS
16130 test -z "$as_dir" && as_dir=.
16131 for ac_exec_ext in '' $ac_executable_extensions; do
16132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16133 ac_cv_prog_CROSSCC="$ac_prog"
16134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16135 break 2
16137 done
16138 done
16139 IFS=$as_save_IFS
16143 CROSSCC=$ac_cv_prog_CROSSCC
16144 if test -n "$CROSSCC"; then
16145 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16146 echo "${ECHO_T}$CROSSCC" >&6; }
16147 else
16148 { echo "$as_me:$LINENO: result: no" >&5
16149 echo "${ECHO_T}no" >&6; }
16153 test -n "$CROSSCC" && break
16154 done
16155 test -n "$CROSSCC" || CROSSCC="false"
16157 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
16159 # Extract the first word of "$ac_prog", so it can be a program name with args.
16160 set dummy $ac_prog; ac_word=$2
16161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16163 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16164 echo $ECHO_N "(cached) $ECHO_C" >&6
16165 else
16166 if test -n "$DLLTOOL"; then
16167 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16168 else
16169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16170 for as_dir in $PATH
16172 IFS=$as_save_IFS
16173 test -z "$as_dir" && as_dir=.
16174 for ac_exec_ext in '' $ac_executable_extensions; do
16175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16176 ac_cv_prog_DLLTOOL="$ac_prog"
16177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16178 break 2
16180 done
16181 done
16182 IFS=$as_save_IFS
16186 DLLTOOL=$ac_cv_prog_DLLTOOL
16187 if test -n "$DLLTOOL"; then
16188 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16189 echo "${ECHO_T}$DLLTOOL" >&6; }
16190 else
16191 { echo "$as_me:$LINENO: result: no" >&5
16192 echo "${ECHO_T}no" >&6; }
16196 test -n "$DLLTOOL" && break
16197 done
16198 test -n "$DLLTOOL" || DLLTOOL="false"
16200 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
16202 # Extract the first word of "$ac_prog", so it can be a program name with args.
16203 set dummy $ac_prog; ac_word=$2
16204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16206 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16208 else
16209 if test -n "$CROSSWINDRES"; then
16210 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
16211 else
16212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16213 for as_dir in $PATH
16215 IFS=$as_save_IFS
16216 test -z "$as_dir" && as_dir=.
16217 for ac_exec_ext in '' $ac_executable_extensions; do
16218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16219 ac_cv_prog_CROSSWINDRES="$ac_prog"
16220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16221 break 2
16223 done
16224 done
16225 IFS=$as_save_IFS
16229 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
16230 if test -n "$CROSSWINDRES"; then
16231 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16232 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16233 else
16234 { echo "$as_me:$LINENO: result: no" >&5
16235 echo "${ECHO_T}no" >&6; }
16239 test -n "$CROSSWINDRES" && break
16240 done
16241 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
16243 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
16246 esac
16248 if test "$LIBEXT" = "a"; then
16249 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16250 It is currently not possible to build Wine without shared library
16251 (.so) support to allow transparent switch between .so and .dll files.
16252 If you are using Linux, you will need a newer binutils.
16253 " >&5
16254 echo "$as_me: error: could not find a way to build shared libraries.
16255 It is currently not possible to build Wine without shared library
16256 (.so) support to allow transparent switch between .so and .dll files.
16257 If you are using Linux, you will need a newer binutils.
16258 " >&2;}
16259 { (exit 1); exit 1; }; }
16262 case $build_os in
16263 cygwin*|mingw32*)
16264 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16266 darwin*|macosx*)
16267 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16270 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16272 esac
16274 case $host_os in
16275 mingw32*)
16276 CRTLIBS="-lmsvcrt"
16278 SOCKETLIBS="-lws2_32"
16281 esac
16283 MAIN_BINARY="wine-pthread"
16284 case $host_cpu in
16285 *i[3456789]86*)
16286 case $host_os in
16287 linux* | k*bsd*-gnu)
16288 MAIN_BINARY="wine-glibc"
16290 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16292 esac
16294 esac
16297 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16298 then
16299 # Extract the first word of "ldd", so it can be a program name with args.
16300 set dummy ldd; ac_word=$2
16301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16303 if test "${ac_cv_path_LDD+set}" = set; then
16304 echo $ECHO_N "(cached) $ECHO_C" >&6
16305 else
16306 case $LDD in
16307 [\\/]* | ?:[\\/]*)
16308 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
16311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16312 as_dummy="/sbin:/usr/sbin:$PATH"
16313 for as_dir in $as_dummy
16315 IFS=$as_save_IFS
16316 test -z "$as_dir" && as_dir=.
16317 for ac_exec_ext in '' $ac_executable_extensions; do
16318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16319 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
16320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16321 break 2
16323 done
16324 done
16325 IFS=$as_save_IFS
16327 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
16329 esac
16331 LDD=$ac_cv_path_LDD
16332 if test -n "$LDD"; then
16333 { echo "$as_me:$LINENO: result: $LDD" >&5
16334 echo "${ECHO_T}$LDD" >&6; }
16335 else
16336 { echo "$as_me:$LINENO: result: no" >&5
16337 echo "${ECHO_T}no" >&6; }
16341 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16342 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16343 if test "${ac_cv_lib_soname_X11+set}" = set; then
16344 echo $ECHO_N "(cached) $ECHO_C" >&6
16345 else
16346 ac_get_soname_save_LIBS=$LIBS
16347 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16348 cat >conftest.$ac_ext <<_ACEOF
16349 /* confdefs.h. */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16355 /* Override any GCC internal prototype to avoid an error.
16356 Use char because int might match the return type of a GCC
16357 builtin and then its argument prototype would still apply. */
16358 #ifdef __cplusplus
16359 extern "C"
16360 #endif
16361 char XCreateWindow ();
16363 main ()
16365 return XCreateWindow ();
16367 return 0;
16369 _ACEOF
16370 rm -f conftest.$ac_objext conftest$ac_exeext
16371 if { (ac_try="$ac_link"
16372 case "(($ac_try" in
16373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16374 *) ac_try_echo=$ac_try;;
16375 esac
16376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16377 (eval "$ac_link") 2>conftest.er1
16378 ac_status=$?
16379 grep -v '^ *+' conftest.er1 >conftest.err
16380 rm -f conftest.er1
16381 cat conftest.err >&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); } &&
16384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16385 { (case "(($ac_try" in
16386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16387 *) ac_try_echo=$ac_try;;
16388 esac
16389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16390 (eval "$ac_try") 2>&5
16391 ac_status=$?
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; } &&
16394 { ac_try='test -s conftest$ac_exeext'
16395 { (case "(($ac_try" in
16396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16397 *) ac_try_echo=$ac_try;;
16398 esac
16399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16400 (eval "$ac_try") 2>&5
16401 ac_status=$?
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; }; then
16404 case "$LIBEXT" in
16405 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'` ;;
16406 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16407 esac
16408 if test "x$ac_cv_lib_soname_X11" = "x"
16409 then
16410 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16412 else
16413 echo "$as_me: failed program was:" >&5
16414 sed 's/^/| /' conftest.$ac_ext >&5
16416 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16419 rm -f core conftest.err conftest.$ac_objext \
16420 conftest$ac_exeext conftest.$ac_ext
16421 LIBS=$ac_get_soname_save_LIBS
16423 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16424 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16425 if test "${ac_cv_lib_soname_X11+set}" = set; then
16427 cat >>confdefs.h <<_ACEOF
16428 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16429 _ACEOF
16433 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16434 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16435 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16437 else
16438 ac_get_soname_save_LIBS=$LIBS
16439 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16440 cat >conftest.$ac_ext <<_ACEOF
16441 /* confdefs.h. */
16442 _ACEOF
16443 cat confdefs.h >>conftest.$ac_ext
16444 cat >>conftest.$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16447 /* Override any GCC internal prototype to avoid an error.
16448 Use char because int might match the return type of a GCC
16449 builtin and then its argument prototype would still apply. */
16450 #ifdef __cplusplus
16451 extern "C"
16452 #endif
16453 char XextCreateExtension ();
16455 main ()
16457 return XextCreateExtension ();
16459 return 0;
16461 _ACEOF
16462 rm -f conftest.$ac_objext conftest$ac_exeext
16463 if { (ac_try="$ac_link"
16464 case "(($ac_try" in
16465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16466 *) ac_try_echo=$ac_try;;
16467 esac
16468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16469 (eval "$ac_link") 2>conftest.er1
16470 ac_status=$?
16471 grep -v '^ *+' conftest.er1 >conftest.err
16472 rm -f conftest.er1
16473 cat conftest.err >&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); } &&
16476 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16477 { (case "(($ac_try" in
16478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16479 *) ac_try_echo=$ac_try;;
16480 esac
16481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16482 (eval "$ac_try") 2>&5
16483 ac_status=$?
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); }; } &&
16486 { ac_try='test -s conftest$ac_exeext'
16487 { (case "(($ac_try" in
16488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16489 *) ac_try_echo=$ac_try;;
16490 esac
16491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16492 (eval "$ac_try") 2>&5
16493 ac_status=$?
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); }; }; then
16496 case "$LIBEXT" in
16497 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'` ;;
16498 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16499 esac
16500 if test "x$ac_cv_lib_soname_Xext" = "x"
16501 then
16502 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16504 else
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.$ac_ext >&5
16508 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16511 rm -f core conftest.err conftest.$ac_objext \
16512 conftest$ac_exeext conftest.$ac_ext
16513 LIBS=$ac_get_soname_save_LIBS
16515 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16516 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16517 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16519 cat >>confdefs.h <<_ACEOF
16520 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16521 _ACEOF
16525 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16526 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16527 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16528 echo $ECHO_N "(cached) $ECHO_C" >&6
16529 else
16530 ac_get_soname_save_LIBS=$LIBS
16531 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16532 cat >conftest.$ac_ext <<_ACEOF
16533 /* confdefs.h. */
16534 _ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16539 /* Override any GCC internal prototype to avoid an error.
16540 Use char because int might match the return type of a GCC
16541 builtin and then its argument prototype would still apply. */
16542 #ifdef __cplusplus
16543 extern "C"
16544 #endif
16545 char XOpenDevice ();
16547 main ()
16549 return XOpenDevice ();
16551 return 0;
16553 _ACEOF
16554 rm -f conftest.$ac_objext conftest$ac_exeext
16555 if { (ac_try="$ac_link"
16556 case "(($ac_try" in
16557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16558 *) ac_try_echo=$ac_try;;
16559 esac
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_link") 2>conftest.er1
16562 ac_status=$?
16563 grep -v '^ *+' conftest.er1 >conftest.err
16564 rm -f conftest.er1
16565 cat conftest.err >&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } &&
16568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16569 { (case "(($ac_try" in
16570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16571 *) ac_try_echo=$ac_try;;
16572 esac
16573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16574 (eval "$ac_try") 2>&5
16575 ac_status=$?
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; } &&
16578 { ac_try='test -s conftest$ac_exeext'
16579 { (case "(($ac_try" in
16580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16581 *) ac_try_echo=$ac_try;;
16582 esac
16583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16584 (eval "$ac_try") 2>&5
16585 ac_status=$?
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16588 case "$LIBEXT" in
16589 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'` ;;
16590 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16591 esac
16592 if test "x$ac_cv_lib_soname_Xi" = "x"
16593 then
16594 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16596 else
16597 echo "$as_me: failed program was:" >&5
16598 sed 's/^/| /' conftest.$ac_ext >&5
16600 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16603 rm -f core conftest.err conftest.$ac_objext \
16604 conftest$ac_exeext conftest.$ac_ext
16605 LIBS=$ac_get_soname_save_LIBS
16607 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16608 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16609 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16611 cat >>confdefs.h <<_ACEOF
16612 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16613 _ACEOF
16617 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16618 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16619 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16620 echo $ECHO_N "(cached) $ECHO_C" >&6
16621 else
16622 ac_get_soname_save_LIBS=$LIBS
16623 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16624 cat >conftest.$ac_ext <<_ACEOF
16625 /* confdefs.h. */
16626 _ACEOF
16627 cat confdefs.h >>conftest.$ac_ext
16628 cat >>conftest.$ac_ext <<_ACEOF
16629 /* end confdefs.h. */
16631 /* Override any GCC internal prototype to avoid an error.
16632 Use char because int might match the return type of a GCC
16633 builtin and then its argument prototype would still apply. */
16634 #ifdef __cplusplus
16635 extern "C"
16636 #endif
16637 char XRenderQueryExtension ();
16639 main ()
16641 return XRenderQueryExtension ();
16643 return 0;
16645 _ACEOF
16646 rm -f conftest.$ac_objext conftest$ac_exeext
16647 if { (ac_try="$ac_link"
16648 case "(($ac_try" in
16649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16650 *) ac_try_echo=$ac_try;;
16651 esac
16652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16653 (eval "$ac_link") 2>conftest.er1
16654 ac_status=$?
16655 grep -v '^ *+' conftest.er1 >conftest.err
16656 rm -f conftest.er1
16657 cat conftest.err >&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); } &&
16660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16661 { (case "(($ac_try" in
16662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16663 *) ac_try_echo=$ac_try;;
16664 esac
16665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16666 (eval "$ac_try") 2>&5
16667 ac_status=$?
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; } &&
16670 { ac_try='test -s conftest$ac_exeext'
16671 { (case "(($ac_try" in
16672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16673 *) ac_try_echo=$ac_try;;
16674 esac
16675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16676 (eval "$ac_try") 2>&5
16677 ac_status=$?
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16680 case "$LIBEXT" in
16681 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'` ;;
16682 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16683 esac
16684 if test "x$ac_cv_lib_soname_Xrender" = "x"
16685 then
16686 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16688 else
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16692 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16695 rm -f core conftest.err conftest.$ac_objext \
16696 conftest$ac_exeext conftest.$ac_ext
16697 LIBS=$ac_get_soname_save_LIBS
16699 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16700 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16701 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16703 cat >>confdefs.h <<_ACEOF
16704 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16705 _ACEOF
16709 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16710 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16711 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16712 echo $ECHO_N "(cached) $ECHO_C" >&6
16713 else
16714 ac_get_soname_save_LIBS=$LIBS
16715 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16716 cat >conftest.$ac_ext <<_ACEOF
16717 /* confdefs.h. */
16718 _ACEOF
16719 cat confdefs.h >>conftest.$ac_ext
16720 cat >>conftest.$ac_ext <<_ACEOF
16721 /* end confdefs.h. */
16723 /* Override any GCC internal prototype to avoid an error.
16724 Use char because int might match the return type of a GCC
16725 builtin and then its argument prototype would still apply. */
16726 #ifdef __cplusplus
16727 extern "C"
16728 #endif
16729 char XRRQueryExtension ();
16731 main ()
16733 return XRRQueryExtension ();
16735 return 0;
16737 _ACEOF
16738 rm -f conftest.$ac_objext conftest$ac_exeext
16739 if { (ac_try="$ac_link"
16740 case "(($ac_try" in
16741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16742 *) ac_try_echo=$ac_try;;
16743 esac
16744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16745 (eval "$ac_link") 2>conftest.er1
16746 ac_status=$?
16747 grep -v '^ *+' conftest.er1 >conftest.err
16748 rm -f conftest.er1
16749 cat conftest.err >&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } &&
16752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16753 { (case "(($ac_try" in
16754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16755 *) ac_try_echo=$ac_try;;
16756 esac
16757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16758 (eval "$ac_try") 2>&5
16759 ac_status=$?
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; } &&
16762 { ac_try='test -s conftest$ac_exeext'
16763 { (case "(($ac_try" in
16764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765 *) ac_try_echo=$ac_try;;
16766 esac
16767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16768 (eval "$ac_try") 2>&5
16769 ac_status=$?
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); }; }; then
16772 case "$LIBEXT" in
16773 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'` ;;
16774 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16775 esac
16776 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16777 then
16778 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16780 else
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.$ac_ext >&5
16784 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16787 rm -f core conftest.err conftest.$ac_objext \
16788 conftest$ac_exeext conftest.$ac_ext
16789 LIBS=$ac_get_soname_save_LIBS
16791 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16792 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16793 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16795 cat >>confdefs.h <<_ACEOF
16796 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16797 _ACEOF
16801 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16802 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16803 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16805 else
16806 ac_get_soname_save_LIBS=$LIBS
16807 LIBS="-lfreetype $X_LIBS $LIBS"
16808 cat >conftest.$ac_ext <<_ACEOF
16809 /* confdefs.h. */
16810 _ACEOF
16811 cat confdefs.h >>conftest.$ac_ext
16812 cat >>conftest.$ac_ext <<_ACEOF
16813 /* end confdefs.h. */
16815 /* Override any GCC internal prototype to avoid an error.
16816 Use char because int might match the return type of a GCC
16817 builtin and then its argument prototype would still apply. */
16818 #ifdef __cplusplus
16819 extern "C"
16820 #endif
16821 char FT_Init_FreeType ();
16823 main ()
16825 return FT_Init_FreeType ();
16827 return 0;
16829 _ACEOF
16830 rm -f conftest.$ac_objext conftest$ac_exeext
16831 if { (ac_try="$ac_link"
16832 case "(($ac_try" in
16833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16834 *) ac_try_echo=$ac_try;;
16835 esac
16836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16837 (eval "$ac_link") 2>conftest.er1
16838 ac_status=$?
16839 grep -v '^ *+' conftest.er1 >conftest.err
16840 rm -f conftest.er1
16841 cat conftest.err >&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); } &&
16844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16845 { (case "(($ac_try" in
16846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16847 *) ac_try_echo=$ac_try;;
16848 esac
16849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16850 (eval "$ac_try") 2>&5
16851 ac_status=$?
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; } &&
16854 { ac_try='test -s conftest$ac_exeext'
16855 { (case "(($ac_try" in
16856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16857 *) ac_try_echo=$ac_try;;
16858 esac
16859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16860 (eval "$ac_try") 2>&5
16861 ac_status=$?
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; }; then
16864 case "$LIBEXT" in
16865 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'` ;;
16866 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16867 esac
16868 if test "x$ac_cv_lib_soname_freetype" = "x"
16869 then
16870 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16872 else
16873 echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.$ac_ext >&5
16876 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16879 rm -f core conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16881 LIBS=$ac_get_soname_save_LIBS
16883 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
16884 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
16885 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16887 cat >>confdefs.h <<_ACEOF
16888 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
16889 _ACEOF
16893 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
16894 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
16895 if test "${ac_cv_lib_soname_GL+set}" = set; then
16896 echo $ECHO_N "(cached) $ECHO_C" >&6
16897 else
16898 ac_get_soname_save_LIBS=$LIBS
16899 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
16900 cat >conftest.$ac_ext <<_ACEOF
16901 /* confdefs.h. */
16902 _ACEOF
16903 cat confdefs.h >>conftest.$ac_ext
16904 cat >>conftest.$ac_ext <<_ACEOF
16905 /* end confdefs.h. */
16907 /* Override any GCC internal prototype to avoid an error.
16908 Use char because int might match the return type of a GCC
16909 builtin and then its argument prototype would still apply. */
16910 #ifdef __cplusplus
16911 extern "C"
16912 #endif
16913 char glXQueryExtension ();
16915 main ()
16917 return glXQueryExtension ();
16919 return 0;
16921 _ACEOF
16922 rm -f conftest.$ac_objext conftest$ac_exeext
16923 if { (ac_try="$ac_link"
16924 case "(($ac_try" in
16925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16926 *) ac_try_echo=$ac_try;;
16927 esac
16928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16929 (eval "$ac_link") 2>conftest.er1
16930 ac_status=$?
16931 grep -v '^ *+' conftest.er1 >conftest.err
16932 rm -f conftest.er1
16933 cat conftest.err >&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } &&
16936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16937 { (case "(($ac_try" in
16938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16939 *) ac_try_echo=$ac_try;;
16940 esac
16941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16942 (eval "$ac_try") 2>&5
16943 ac_status=$?
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); }; } &&
16946 { ac_try='test -s conftest$ac_exeext'
16947 { (case "(($ac_try" in
16948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16949 *) ac_try_echo=$ac_try;;
16950 esac
16951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16952 (eval "$ac_try") 2>&5
16953 ac_status=$?
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); }; }; then
16956 case "$LIBEXT" in
16957 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'` ;;
16958 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16959 esac
16960 if test "x$ac_cv_lib_soname_GL" = "x"
16961 then
16962 ac_cv_lib_soname_GL="libGL.$LIBEXT"
16964 else
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.$ac_ext >&5
16968 ac_cv_lib_soname_GL="libGL.$LIBEXT"
16971 rm -f core conftest.err conftest.$ac_objext \
16972 conftest$ac_exeext conftest.$ac_ext
16973 LIBS=$ac_get_soname_save_LIBS
16975 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
16976 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
16977 if test "${ac_cv_lib_soname_GL+set}" = set; then
16979 cat >>confdefs.h <<_ACEOF
16980 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
16981 _ACEOF
16985 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
16986 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
16987 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
16988 echo $ECHO_N "(cached) $ECHO_C" >&6
16989 else
16990 ac_get_soname_save_LIBS=$LIBS
16991 LIBS="-ldbus-1 $LIBS"
16992 cat >conftest.$ac_ext <<_ACEOF
16993 /* confdefs.h. */
16994 _ACEOF
16995 cat confdefs.h >>conftest.$ac_ext
16996 cat >>conftest.$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
16999 /* Override any GCC internal prototype to avoid an error.
17000 Use char because int might match the return type of a GCC
17001 builtin and then its argument prototype would still apply. */
17002 #ifdef __cplusplus
17003 extern "C"
17004 #endif
17005 char dbus_error_init ();
17007 main ()
17009 return dbus_error_init ();
17011 return 0;
17013 _ACEOF
17014 rm -f conftest.$ac_objext conftest$ac_exeext
17015 if { (ac_try="$ac_link"
17016 case "(($ac_try" in
17017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17018 *) ac_try_echo=$ac_try;;
17019 esac
17020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17021 (eval "$ac_link") 2>conftest.er1
17022 ac_status=$?
17023 grep -v '^ *+' conftest.er1 >conftest.err
17024 rm -f conftest.er1
17025 cat conftest.err >&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); } &&
17028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17029 { (case "(($ac_try" in
17030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17031 *) ac_try_echo=$ac_try;;
17032 esac
17033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17034 (eval "$ac_try") 2>&5
17035 ac_status=$?
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }; } &&
17038 { ac_try='test -s conftest$ac_exeext'
17039 { (case "(($ac_try" in
17040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17041 *) ac_try_echo=$ac_try;;
17042 esac
17043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17044 (eval "$ac_try") 2>&5
17045 ac_status=$?
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); }; }; then
17048 case "$LIBEXT" in
17049 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'` ;;
17050 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'` ;;
17051 esac
17052 if test "x$ac_cv_lib_soname_dbus_1" = "x"
17053 then
17054 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
17056 else
17057 echo "$as_me: failed program was:" >&5
17058 sed 's/^/| /' conftest.$ac_ext >&5
17060 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
17063 rm -f core conftest.err conftest.$ac_objext \
17064 conftest$ac_exeext conftest.$ac_ext
17065 LIBS=$ac_get_soname_save_LIBS
17067 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
17068 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
17069 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
17071 cat >>confdefs.h <<_ACEOF
17072 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
17073 _ACEOF
17077 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17078 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17079 if test "${ac_cv_lib_soname_hal+set}" = set; then
17080 echo $ECHO_N "(cached) $ECHO_C" >&6
17081 else
17082 ac_get_soname_save_LIBS=$LIBS
17083 LIBS="-lhal $LIBS"
17084 cat >conftest.$ac_ext <<_ACEOF
17085 /* confdefs.h. */
17086 _ACEOF
17087 cat confdefs.h >>conftest.$ac_ext
17088 cat >>conftest.$ac_ext <<_ACEOF
17089 /* end confdefs.h. */
17091 /* Override any GCC internal prototype to avoid an error.
17092 Use char because int might match the return type of a GCC
17093 builtin and then its argument prototype would still apply. */
17094 #ifdef __cplusplus
17095 extern "C"
17096 #endif
17097 char libhal_ctx_new ();
17099 main ()
17101 return libhal_ctx_new ();
17103 return 0;
17105 _ACEOF
17106 rm -f conftest.$ac_objext conftest$ac_exeext
17107 if { (ac_try="$ac_link"
17108 case "(($ac_try" in
17109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17110 *) ac_try_echo=$ac_try;;
17111 esac
17112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17113 (eval "$ac_link") 2>conftest.er1
17114 ac_status=$?
17115 grep -v '^ *+' conftest.er1 >conftest.err
17116 rm -f conftest.er1
17117 cat conftest.err >&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } &&
17120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17121 { (case "(($ac_try" in
17122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17123 *) ac_try_echo=$ac_try;;
17124 esac
17125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17126 (eval "$ac_try") 2>&5
17127 ac_status=$?
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); }; } &&
17130 { ac_try='test -s conftest$ac_exeext'
17131 { (case "(($ac_try" in
17132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17133 *) ac_try_echo=$ac_try;;
17134 esac
17135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17136 (eval "$ac_try") 2>&5
17137 ac_status=$?
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); }; }; then
17140 case "$LIBEXT" in
17141 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'` ;;
17142 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17143 esac
17144 if test "x$ac_cv_lib_soname_hal" = "x"
17145 then
17146 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17148 else
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.$ac_ext >&5
17152 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17155 rm -f core conftest.err conftest.$ac_objext \
17156 conftest$ac_exeext conftest.$ac_ext
17157 LIBS=$ac_get_soname_save_LIBS
17159 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17160 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17161 if test "${ac_cv_lib_soname_hal+set}" = set; then
17163 cat >>confdefs.h <<_ACEOF
17164 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17165 _ACEOF
17169 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17170 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17171 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17172 echo $ECHO_N "(cached) $ECHO_C" >&6
17173 else
17174 ac_get_soname_save_LIBS=$LIBS
17175 LIBS="-ltxc_dxtn $LIBS"
17176 cat >conftest.$ac_ext <<_ACEOF
17177 /* confdefs.h. */
17178 _ACEOF
17179 cat confdefs.h >>conftest.$ac_ext
17180 cat >>conftest.$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17183 /* Override any GCC internal prototype to avoid an error.
17184 Use char because int might match the return type of a GCC
17185 builtin and then its argument prototype would still apply. */
17186 #ifdef __cplusplus
17187 extern "C"
17188 #endif
17189 char fetch_2d_texel_rgba_dxt1 ();
17191 main ()
17193 return fetch_2d_texel_rgba_dxt1 ();
17195 return 0;
17197 _ACEOF
17198 rm -f conftest.$ac_objext conftest$ac_exeext
17199 if { (ac_try="$ac_link"
17200 case "(($ac_try" in
17201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17202 *) ac_try_echo=$ac_try;;
17203 esac
17204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17205 (eval "$ac_link") 2>conftest.er1
17206 ac_status=$?
17207 grep -v '^ *+' conftest.er1 >conftest.err
17208 rm -f conftest.er1
17209 cat conftest.err >&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } &&
17212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17213 { (case "(($ac_try" in
17214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17215 *) ac_try_echo=$ac_try;;
17216 esac
17217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17218 (eval "$ac_try") 2>&5
17219 ac_status=$?
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); }; } &&
17222 { ac_try='test -s conftest$ac_exeext'
17223 { (case "(($ac_try" in
17224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17225 *) ac_try_echo=$ac_try;;
17226 esac
17227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17228 (eval "$ac_try") 2>&5
17229 ac_status=$?
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; }; then
17232 case "$LIBEXT" in
17233 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'` ;;
17234 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'` ;;
17235 esac
17236 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17237 then
17238 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17240 else
17241 echo "$as_me: failed program was:" >&5
17242 sed 's/^/| /' conftest.$ac_ext >&5
17244 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17247 rm -f core conftest.err conftest.$ac_objext \
17248 conftest$ac_exeext conftest.$ac_ext
17249 LIBS=$ac_get_soname_save_LIBS
17251 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17252 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17253 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17255 cat >>confdefs.h <<_ACEOF
17256 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17257 _ACEOF
17261 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17262 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17263 if test "${ac_cv_lib_soname_cups+set}" = set; then
17264 echo $ECHO_N "(cached) $ECHO_C" >&6
17265 else
17266 ac_get_soname_save_LIBS=$LIBS
17267 LIBS="-lcups $LIBS"
17268 cat >conftest.$ac_ext <<_ACEOF
17269 /* confdefs.h. */
17270 _ACEOF
17271 cat confdefs.h >>conftest.$ac_ext
17272 cat >>conftest.$ac_ext <<_ACEOF
17273 /* end confdefs.h. */
17275 /* Override any GCC internal prototype to avoid an error.
17276 Use char because int might match the return type of a GCC
17277 builtin and then its argument prototype would still apply. */
17278 #ifdef __cplusplus
17279 extern "C"
17280 #endif
17281 char cupsGetDefault ();
17283 main ()
17285 return cupsGetDefault ();
17287 return 0;
17289 _ACEOF
17290 rm -f conftest.$ac_objext conftest$ac_exeext
17291 if { (ac_try="$ac_link"
17292 case "(($ac_try" in
17293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17294 *) ac_try_echo=$ac_try;;
17295 esac
17296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17297 (eval "$ac_link") 2>conftest.er1
17298 ac_status=$?
17299 grep -v '^ *+' conftest.er1 >conftest.err
17300 rm -f conftest.er1
17301 cat conftest.err >&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } &&
17304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17305 { (case "(($ac_try" in
17306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17307 *) ac_try_echo=$ac_try;;
17308 esac
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_try") 2>&5
17311 ac_status=$?
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; } &&
17314 { ac_try='test -s conftest$ac_exeext'
17315 { (case "(($ac_try" in
17316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17317 *) ac_try_echo=$ac_try;;
17318 esac
17319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17320 (eval "$ac_try") 2>&5
17321 ac_status=$?
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); }; }; then
17324 case "$LIBEXT" in
17325 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'` ;;
17326 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17327 esac
17328 if test "x$ac_cv_lib_soname_cups" = "x"
17329 then
17330 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17332 else
17333 echo "$as_me: failed program was:" >&5
17334 sed 's/^/| /' conftest.$ac_ext >&5
17336 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17339 rm -f core conftest.err conftest.$ac_objext \
17340 conftest$ac_exeext conftest.$ac_ext
17341 LIBS=$ac_get_soname_save_LIBS
17343 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17344 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17345 if test "${ac_cv_lib_soname_cups+set}" = set; then
17347 cat >>confdefs.h <<_ACEOF
17348 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17349 _ACEOF
17353 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17354 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17355 if test "${ac_cv_lib_soname_jack+set}" = set; then
17356 echo $ECHO_N "(cached) $ECHO_C" >&6
17357 else
17358 ac_get_soname_save_LIBS=$LIBS
17359 LIBS="-ljack $LIBS"
17360 cat >conftest.$ac_ext <<_ACEOF
17361 /* confdefs.h. */
17362 _ACEOF
17363 cat confdefs.h >>conftest.$ac_ext
17364 cat >>conftest.$ac_ext <<_ACEOF
17365 /* end confdefs.h. */
17367 /* Override any GCC internal prototype to avoid an error.
17368 Use char because int might match the return type of a GCC
17369 builtin and then its argument prototype would still apply. */
17370 #ifdef __cplusplus
17371 extern "C"
17372 #endif
17373 char jack_client_new ();
17375 main ()
17377 return jack_client_new ();
17379 return 0;
17381 _ACEOF
17382 rm -f conftest.$ac_objext conftest$ac_exeext
17383 if { (ac_try="$ac_link"
17384 case "(($ac_try" in
17385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17386 *) ac_try_echo=$ac_try;;
17387 esac
17388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17389 (eval "$ac_link") 2>conftest.er1
17390 ac_status=$?
17391 grep -v '^ *+' conftest.er1 >conftest.err
17392 rm -f conftest.er1
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17397 { (case "(($ac_try" in
17398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17399 *) ac_try_echo=$ac_try;;
17400 esac
17401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17402 (eval "$ac_try") 2>&5
17403 ac_status=$?
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; } &&
17406 { ac_try='test -s conftest$ac_exeext'
17407 { (case "(($ac_try" in
17408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17409 *) ac_try_echo=$ac_try;;
17410 esac
17411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17412 (eval "$ac_try") 2>&5
17413 ac_status=$?
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); }; }; then
17416 case "$LIBEXT" in
17417 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'` ;;
17418 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17419 esac
17420 if test "x$ac_cv_lib_soname_jack" = "x"
17421 then
17422 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17424 else
17425 echo "$as_me: failed program was:" >&5
17426 sed 's/^/| /' conftest.$ac_ext >&5
17428 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17431 rm -f core conftest.err conftest.$ac_objext \
17432 conftest$ac_exeext conftest.$ac_ext
17433 LIBS=$ac_get_soname_save_LIBS
17435 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17436 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17437 if test "${ac_cv_lib_soname_jack+set}" = set; then
17439 cat >>confdefs.h <<_ACEOF
17440 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17441 _ACEOF
17445 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17446 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17447 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17448 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 else
17450 ac_get_soname_save_LIBS=$LIBS
17451 LIBS="-lfontconfig $LIBS"
17452 cat >conftest.$ac_ext <<_ACEOF
17453 /* confdefs.h. */
17454 _ACEOF
17455 cat confdefs.h >>conftest.$ac_ext
17456 cat >>conftest.$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17459 /* Override any GCC internal prototype to avoid an error.
17460 Use char because int might match the return type of a GCC
17461 builtin and then its argument prototype would still apply. */
17462 #ifdef __cplusplus
17463 extern "C"
17464 #endif
17465 char FcInit ();
17467 main ()
17469 return FcInit ();
17471 return 0;
17473 _ACEOF
17474 rm -f conftest.$ac_objext conftest$ac_exeext
17475 if { (ac_try="$ac_link"
17476 case "(($ac_try" in
17477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17478 *) ac_try_echo=$ac_try;;
17479 esac
17480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17481 (eval "$ac_link") 2>conftest.er1
17482 ac_status=$?
17483 grep -v '^ *+' conftest.er1 >conftest.err
17484 rm -f conftest.er1
17485 cat conftest.err >&5
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); } &&
17488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17489 { (case "(($ac_try" in
17490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17491 *) ac_try_echo=$ac_try;;
17492 esac
17493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17494 (eval "$ac_try") 2>&5
17495 ac_status=$?
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); }; } &&
17498 { ac_try='test -s conftest$ac_exeext'
17499 { (case "(($ac_try" in
17500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17501 *) ac_try_echo=$ac_try;;
17502 esac
17503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17504 (eval "$ac_try") 2>&5
17505 ac_status=$?
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; }; then
17508 case "$LIBEXT" in
17509 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'` ;;
17510 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17511 esac
17512 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17513 then
17514 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17516 else
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.$ac_ext >&5
17520 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17523 rm -f core conftest.err conftest.$ac_objext \
17524 conftest$ac_exeext conftest.$ac_ext
17525 LIBS=$ac_get_soname_save_LIBS
17527 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17528 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17529 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17531 cat >>confdefs.h <<_ACEOF
17532 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17533 _ACEOF
17537 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17538 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17539 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17540 echo $ECHO_N "(cached) $ECHO_C" >&6
17541 else
17542 ac_get_soname_save_LIBS=$LIBS
17543 LIBS="-lssl $LIBS"
17544 cat >conftest.$ac_ext <<_ACEOF
17545 /* confdefs.h. */
17546 _ACEOF
17547 cat confdefs.h >>conftest.$ac_ext
17548 cat >>conftest.$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17551 /* Override any GCC internal prototype to avoid an error.
17552 Use char because int might match the return type of a GCC
17553 builtin and then its argument prototype would still apply. */
17554 #ifdef __cplusplus
17555 extern "C"
17556 #endif
17557 char SSL_library_init ();
17559 main ()
17561 return SSL_library_init ();
17563 return 0;
17565 _ACEOF
17566 rm -f conftest.$ac_objext conftest$ac_exeext
17567 if { (ac_try="$ac_link"
17568 case "(($ac_try" in
17569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17570 *) ac_try_echo=$ac_try;;
17571 esac
17572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17573 (eval "$ac_link") 2>conftest.er1
17574 ac_status=$?
17575 grep -v '^ *+' conftest.er1 >conftest.err
17576 rm -f conftest.er1
17577 cat conftest.err >&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); } &&
17580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17581 { (case "(($ac_try" in
17582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17583 *) ac_try_echo=$ac_try;;
17584 esac
17585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17586 (eval "$ac_try") 2>&5
17587 ac_status=$?
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; } &&
17590 { ac_try='test -s conftest$ac_exeext'
17591 { (case "(($ac_try" in
17592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17593 *) ac_try_echo=$ac_try;;
17594 esac
17595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17596 (eval "$ac_try") 2>&5
17597 ac_status=$?
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); }; }; then
17600 case "$LIBEXT" in
17601 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'` ;;
17602 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17603 esac
17604 if test "x$ac_cv_lib_soname_ssl" = "x"
17605 then
17606 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17608 else
17609 echo "$as_me: failed program was:" >&5
17610 sed 's/^/| /' conftest.$ac_ext >&5
17612 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17615 rm -f core conftest.err conftest.$ac_objext \
17616 conftest$ac_exeext conftest.$ac_ext
17617 LIBS=$ac_get_soname_save_LIBS
17619 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17620 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17621 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17623 cat >>confdefs.h <<_ACEOF
17624 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17625 _ACEOF
17629 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17630 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17631 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17632 echo $ECHO_N "(cached) $ECHO_C" >&6
17633 else
17634 ac_get_soname_save_LIBS=$LIBS
17635 LIBS="-lcrypto $LIBS"
17636 cat >conftest.$ac_ext <<_ACEOF
17637 /* confdefs.h. */
17638 _ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17643 /* Override any GCC internal prototype to avoid an error.
17644 Use char because int might match the return type of a GCC
17645 builtin and then its argument prototype would still apply. */
17646 #ifdef __cplusplus
17647 extern "C"
17648 #endif
17649 char BIO_new_socket ();
17651 main ()
17653 return BIO_new_socket ();
17655 return 0;
17657 _ACEOF
17658 rm -f conftest.$ac_objext conftest$ac_exeext
17659 if { (ac_try="$ac_link"
17660 case "(($ac_try" in
17661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17662 *) ac_try_echo=$ac_try;;
17663 esac
17664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17665 (eval "$ac_link") 2>conftest.er1
17666 ac_status=$?
17667 grep -v '^ *+' conftest.er1 >conftest.err
17668 rm -f conftest.er1
17669 cat conftest.err >&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); } &&
17672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17673 { (case "(($ac_try" in
17674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17675 *) ac_try_echo=$ac_try;;
17676 esac
17677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17678 (eval "$ac_try") 2>&5
17679 ac_status=$?
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); }; } &&
17682 { ac_try='test -s conftest$ac_exeext'
17683 { (case "(($ac_try" in
17684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17685 *) ac_try_echo=$ac_try;;
17686 esac
17687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17688 (eval "$ac_try") 2>&5
17689 ac_status=$?
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); }; }; then
17692 case "$LIBEXT" in
17693 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'` ;;
17694 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17695 esac
17696 if test "x$ac_cv_lib_soname_crypto" = "x"
17697 then
17698 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17700 else
17701 echo "$as_me: failed program was:" >&5
17702 sed 's/^/| /' conftest.$ac_ext >&5
17704 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17707 rm -f core conftest.err conftest.$ac_objext \
17708 conftest$ac_exeext conftest.$ac_ext
17709 LIBS=$ac_get_soname_save_LIBS
17711 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17712 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17713 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17715 cat >>confdefs.h <<_ACEOF
17716 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17717 _ACEOF
17721 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17722 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17723 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17724 echo $ECHO_N "(cached) $ECHO_C" >&6
17725 else
17726 ac_get_soname_save_LIBS=$LIBS
17727 LIBS="-lncurses $LIBS"
17728 cat >conftest.$ac_ext <<_ACEOF
17729 /* confdefs.h. */
17730 _ACEOF
17731 cat confdefs.h >>conftest.$ac_ext
17732 cat >>conftest.$ac_ext <<_ACEOF
17733 /* end confdefs.h. */
17735 /* Override any GCC internal prototype to avoid an error.
17736 Use char because int might match the return type of a GCC
17737 builtin and then its argument prototype would still apply. */
17738 #ifdef __cplusplus
17739 extern "C"
17740 #endif
17741 char waddch ();
17743 main ()
17745 return waddch ();
17747 return 0;
17749 _ACEOF
17750 rm -f conftest.$ac_objext conftest$ac_exeext
17751 if { (ac_try="$ac_link"
17752 case "(($ac_try" in
17753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17754 *) ac_try_echo=$ac_try;;
17755 esac
17756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17757 (eval "$ac_link") 2>conftest.er1
17758 ac_status=$?
17759 grep -v '^ *+' conftest.er1 >conftest.err
17760 rm -f conftest.er1
17761 cat conftest.err >&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); } &&
17764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17765 { (case "(($ac_try" in
17766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17767 *) ac_try_echo=$ac_try;;
17768 esac
17769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17770 (eval "$ac_try") 2>&5
17771 ac_status=$?
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; } &&
17774 { ac_try='test -s conftest$ac_exeext'
17775 { (case "(($ac_try" in
17776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17777 *) ac_try_echo=$ac_try;;
17778 esac
17779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17780 (eval "$ac_try") 2>&5
17781 ac_status=$?
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }; }; then
17784 case "$LIBEXT" in
17785 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'` ;;
17786 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17787 esac
17788 if test "x$ac_cv_lib_soname_ncurses" = "x"
17789 then
17790 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17792 else
17793 echo "$as_me: failed program was:" >&5
17794 sed 's/^/| /' conftest.$ac_ext >&5
17796 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17799 rm -f core conftest.err conftest.$ac_objext \
17800 conftest$ac_exeext conftest.$ac_ext
17801 LIBS=$ac_get_soname_save_LIBS
17803 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17804 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17805 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17807 cat >>confdefs.h <<_ACEOF
17808 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17809 _ACEOF
17813 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17814 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17815 if test "${ac_cv_lib_soname_curses+set}" = set; then
17816 echo $ECHO_N "(cached) $ECHO_C" >&6
17817 else
17818 ac_get_soname_save_LIBS=$LIBS
17819 LIBS="-lcurses $LIBS"
17820 cat >conftest.$ac_ext <<_ACEOF
17821 /* confdefs.h. */
17822 _ACEOF
17823 cat confdefs.h >>conftest.$ac_ext
17824 cat >>conftest.$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17827 /* Override any GCC internal prototype to avoid an error.
17828 Use char because int might match the return type of a GCC
17829 builtin and then its argument prototype would still apply. */
17830 #ifdef __cplusplus
17831 extern "C"
17832 #endif
17833 char waddch ();
17835 main ()
17837 return waddch ();
17839 return 0;
17841 _ACEOF
17842 rm -f conftest.$ac_objext conftest$ac_exeext
17843 if { (ac_try="$ac_link"
17844 case "(($ac_try" in
17845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17846 *) ac_try_echo=$ac_try;;
17847 esac
17848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17849 (eval "$ac_link") 2>conftest.er1
17850 ac_status=$?
17851 grep -v '^ *+' conftest.er1 >conftest.err
17852 rm -f conftest.er1
17853 cat conftest.err >&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } &&
17856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17857 { (case "(($ac_try" in
17858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17859 *) ac_try_echo=$ac_try;;
17860 esac
17861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17862 (eval "$ac_try") 2>&5
17863 ac_status=$?
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; } &&
17866 { ac_try='test -s conftest$ac_exeext'
17867 { (case "(($ac_try" in
17868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17869 *) ac_try_echo=$ac_try;;
17870 esac
17871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17872 (eval "$ac_try") 2>&5
17873 ac_status=$?
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); }; }; then
17876 case "$LIBEXT" in
17877 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'` ;;
17878 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17879 esac
17880 if test "x$ac_cv_lib_soname_curses" = "x"
17881 then
17882 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17884 else
17885 echo "$as_me: failed program was:" >&5
17886 sed 's/^/| /' conftest.$ac_ext >&5
17888 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17891 rm -f core conftest.err conftest.$ac_objext \
17892 conftest$ac_exeext conftest.$ac_ext
17893 LIBS=$ac_get_soname_save_LIBS
17895 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17896 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17897 if test "${ac_cv_lib_soname_curses+set}" = set; then
17899 cat >>confdefs.h <<_ACEOF
17900 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17901 _ACEOF
17905 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17906 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17907 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17909 else
17910 ac_get_soname_save_LIBS=$LIBS
17911 LIBS="-ljpeg $LIBS"
17912 cat >conftest.$ac_ext <<_ACEOF
17913 /* confdefs.h. */
17914 _ACEOF
17915 cat confdefs.h >>conftest.$ac_ext
17916 cat >>conftest.$ac_ext <<_ACEOF
17917 /* end confdefs.h. */
17919 /* Override any GCC internal prototype to avoid an error.
17920 Use char because int might match the return type of a GCC
17921 builtin and then its argument prototype would still apply. */
17922 #ifdef __cplusplus
17923 extern "C"
17924 #endif
17925 char jpeg_start_decompress ();
17927 main ()
17929 return jpeg_start_decompress ();
17931 return 0;
17933 _ACEOF
17934 rm -f conftest.$ac_objext conftest$ac_exeext
17935 if { (ac_try="$ac_link"
17936 case "(($ac_try" in
17937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17938 *) ac_try_echo=$ac_try;;
17939 esac
17940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17941 (eval "$ac_link") 2>conftest.er1
17942 ac_status=$?
17943 grep -v '^ *+' conftest.er1 >conftest.err
17944 rm -f conftest.er1
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } &&
17948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17949 { (case "(($ac_try" in
17950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17951 *) ac_try_echo=$ac_try;;
17952 esac
17953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17954 (eval "$ac_try") 2>&5
17955 ac_status=$?
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; } &&
17958 { ac_try='test -s conftest$ac_exeext'
17959 { (case "(($ac_try" in
17960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17961 *) ac_try_echo=$ac_try;;
17962 esac
17963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17964 (eval "$ac_try") 2>&5
17965 ac_status=$?
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); }; }; then
17968 case "$LIBEXT" in
17969 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'` ;;
17970 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17971 esac
17972 if test "x$ac_cv_lib_soname_jpeg" = "x"
17973 then
17974 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
17976 else
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.$ac_ext >&5
17980 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
17983 rm -f core conftest.err conftest.$ac_objext \
17984 conftest$ac_exeext conftest.$ac_ext
17985 LIBS=$ac_get_soname_save_LIBS
17987 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
17988 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
17989 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17991 cat >>confdefs.h <<_ACEOF
17992 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
17993 _ACEOF
17997 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
17998 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
17999 if test "${ac_cv_lib_soname_ungif+set}" = set; then
18000 echo $ECHO_N "(cached) $ECHO_C" >&6
18001 else
18002 ac_get_soname_save_LIBS=$LIBS
18003 LIBS="-lungif $LIBS"
18004 cat >conftest.$ac_ext <<_ACEOF
18005 /* confdefs.h. */
18006 _ACEOF
18007 cat confdefs.h >>conftest.$ac_ext
18008 cat >>conftest.$ac_ext <<_ACEOF
18009 /* end confdefs.h. */
18011 /* Override any GCC internal prototype to avoid an error.
18012 Use char because int might match the return type of a GCC
18013 builtin and then its argument prototype would still apply. */
18014 #ifdef __cplusplus
18015 extern "C"
18016 #endif
18017 char DGifOpen ();
18019 main ()
18021 return DGifOpen ();
18023 return 0;
18025 _ACEOF
18026 rm -f conftest.$ac_objext conftest$ac_exeext
18027 if { (ac_try="$ac_link"
18028 case "(($ac_try" in
18029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18030 *) ac_try_echo=$ac_try;;
18031 esac
18032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18033 (eval "$ac_link") 2>conftest.er1
18034 ac_status=$?
18035 grep -v '^ *+' conftest.er1 >conftest.err
18036 rm -f conftest.er1
18037 cat conftest.err >&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } &&
18040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18041 { (case "(($ac_try" in
18042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18043 *) ac_try_echo=$ac_try;;
18044 esac
18045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18046 (eval "$ac_try") 2>&5
18047 ac_status=$?
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }; } &&
18050 { ac_try='test -s conftest$ac_exeext'
18051 { (case "(($ac_try" in
18052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18053 *) ac_try_echo=$ac_try;;
18054 esac
18055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18056 (eval "$ac_try") 2>&5
18057 ac_status=$?
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; }; then
18060 case "$LIBEXT" in
18061 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'` ;;
18062 so) ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.so | sed -e "s/^.*\(libungif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18063 esac
18064 if test "x$ac_cv_lib_soname_ungif" = "x"
18065 then
18066 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
18068 else
18069 echo "$as_me: failed program was:" >&5
18070 sed 's/^/| /' conftest.$ac_ext >&5
18072 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
18075 rm -f core conftest.err conftest.$ac_objext \
18076 conftest$ac_exeext conftest.$ac_ext
18077 LIBS=$ac_get_soname_save_LIBS
18079 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
18080 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
18081 if test "${ac_cv_lib_soname_ungif+set}" = set; then
18083 cat >>confdefs.h <<_ACEOF
18084 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
18085 _ACEOF
18089 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
18090 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
18091 if test "${ac_cv_lib_soname_gif+set}" = set; then
18092 echo $ECHO_N "(cached) $ECHO_C" >&6
18093 else
18094 ac_get_soname_save_LIBS=$LIBS
18095 LIBS="-lgif $LIBS"
18096 cat >conftest.$ac_ext <<_ACEOF
18097 /* confdefs.h. */
18098 _ACEOF
18099 cat confdefs.h >>conftest.$ac_ext
18100 cat >>conftest.$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18103 /* Override any GCC internal prototype to avoid an error.
18104 Use char because int might match the return type of a GCC
18105 builtin and then its argument prototype would still apply. */
18106 #ifdef __cplusplus
18107 extern "C"
18108 #endif
18109 char DGifOpen ();
18111 main ()
18113 return DGifOpen ();
18115 return 0;
18117 _ACEOF
18118 rm -f conftest.$ac_objext conftest$ac_exeext
18119 if { (ac_try="$ac_link"
18120 case "(($ac_try" in
18121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18122 *) ac_try_echo=$ac_try;;
18123 esac
18124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18125 (eval "$ac_link") 2>conftest.er1
18126 ac_status=$?
18127 grep -v '^ *+' conftest.er1 >conftest.err
18128 rm -f conftest.er1
18129 cat conftest.err >&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); } &&
18132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18133 { (case "(($ac_try" in
18134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18135 *) ac_try_echo=$ac_try;;
18136 esac
18137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18138 (eval "$ac_try") 2>&5
18139 ac_status=$?
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); }; } &&
18142 { ac_try='test -s conftest$ac_exeext'
18143 { (case "(($ac_try" in
18144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18145 *) ac_try_echo=$ac_try;;
18146 esac
18147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18148 (eval "$ac_try") 2>&5
18149 ac_status=$?
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); }; }; then
18152 case "$LIBEXT" in
18153 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'` ;;
18154 so) ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.so | sed -e "s/^.*\(libgif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18155 esac
18156 if test "x$ac_cv_lib_soname_gif" = "x"
18157 then
18158 ac_cv_lib_soname_gif="libgif.$LIBEXT"
18160 else
18161 echo "$as_me: failed program was:" >&5
18162 sed 's/^/| /' conftest.$ac_ext >&5
18164 ac_cv_lib_soname_gif="libgif.$LIBEXT"
18167 rm -f core conftest.err conftest.$ac_objext \
18168 conftest$ac_exeext conftest.$ac_ext
18169 LIBS=$ac_get_soname_save_LIBS
18171 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
18172 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
18173 if test "${ac_cv_lib_soname_gif+set}" = set; then
18175 cat >>confdefs.h <<_ACEOF
18176 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
18177 _ACEOF
18181 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
18182 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
18183 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18184 echo $ECHO_N "(cached) $ECHO_C" >&6
18185 else
18186 ac_get_soname_save_LIBS=$LIBS
18187 LIBS="-lcapi20 $LIBS"
18188 cat >conftest.$ac_ext <<_ACEOF
18189 /* confdefs.h. */
18190 _ACEOF
18191 cat confdefs.h >>conftest.$ac_ext
18192 cat >>conftest.$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18195 /* Override any GCC internal prototype to avoid an error.
18196 Use char because int might match the return type of a GCC
18197 builtin and then its argument prototype would still apply. */
18198 #ifdef __cplusplus
18199 extern "C"
18200 #endif
18201 char capi20_isinstalled ();
18203 main ()
18205 return capi20_isinstalled ();
18207 return 0;
18209 _ACEOF
18210 rm -f conftest.$ac_objext conftest$ac_exeext
18211 if { (ac_try="$ac_link"
18212 case "(($ac_try" in
18213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18214 *) ac_try_echo=$ac_try;;
18215 esac
18216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18217 (eval "$ac_link") 2>conftest.er1
18218 ac_status=$?
18219 grep -v '^ *+' conftest.er1 >conftest.err
18220 rm -f conftest.er1
18221 cat conftest.err >&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } &&
18224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18225 { (case "(($ac_try" in
18226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18227 *) ac_try_echo=$ac_try;;
18228 esac
18229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18230 (eval "$ac_try") 2>&5
18231 ac_status=$?
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; } &&
18234 { ac_try='test -s conftest$ac_exeext'
18235 { (case "(($ac_try" in
18236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18237 *) ac_try_echo=$ac_try;;
18238 esac
18239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18240 (eval "$ac_try") 2>&5
18241 ac_status=$?
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); }; }; then
18244 case "$LIBEXT" in
18245 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'` ;;
18246 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18247 esac
18248 if test "x$ac_cv_lib_soname_capi20" = "x"
18249 then
18250 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18252 else
18253 echo "$as_me: failed program was:" >&5
18254 sed 's/^/| /' conftest.$ac_ext >&5
18256 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18259 rm -f core conftest.err conftest.$ac_objext \
18260 conftest$ac_exeext conftest.$ac_ext
18261 LIBS=$ac_get_soname_save_LIBS
18263 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18264 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18265 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18267 cat >>confdefs.h <<_ACEOF
18268 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18269 _ACEOF
18346 for ac_func in \
18347 _pclose \
18348 _popen \
18349 _snprintf \
18350 _spawnvp \
18351 _stricmp \
18352 _strnicmp \
18353 _vsnprintf \
18354 asctime_r \
18355 chsize \
18356 clone \
18357 connect \
18358 dlopen \
18359 epoll_create \
18360 ffs \
18361 finite \
18362 fork \
18363 fpclass \
18364 fstatfs \
18365 fstatvfs \
18366 ftruncate \
18367 futimes \
18368 futimesat \
18369 getaddrinfo \
18370 gethostbyname \
18371 getnameinfo \
18372 getnetbyname \
18373 getopt_long \
18374 getpagesize \
18375 getprotobyname \
18376 getprotobynumber \
18377 getpwuid \
18378 getservbyport \
18379 gettid \
18380 gettimeofday \
18381 getuid \
18382 inet_aton \
18383 inet_network \
18384 kqueue \
18385 lstat \
18386 memmove \
18387 mmap \
18388 pclose \
18389 poll \
18390 popen \
18391 prctl \
18392 pread \
18393 pwrite \
18394 readlink \
18395 rfork \
18396 sched_yield \
18397 select \
18398 sendmsg \
18399 setrlimit \
18400 settimeofday \
18401 sigaltstack \
18402 sigprocmask \
18403 snprintf \
18404 spawnvp \
18405 statfs \
18406 statvfs \
18407 strcasecmp \
18408 strerror \
18409 strncasecmp \
18410 tcgetattr \
18411 timegm \
18412 usleep \
18413 vsnprintf \
18414 wait4 \
18415 waitpid \
18418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18419 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18421 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18422 echo $ECHO_N "(cached) $ECHO_C" >&6
18423 else
18424 cat >conftest.$ac_ext <<_ACEOF
18425 /* confdefs.h. */
18426 _ACEOF
18427 cat confdefs.h >>conftest.$ac_ext
18428 cat >>conftest.$ac_ext <<_ACEOF
18429 /* end confdefs.h. */
18430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18432 #define $ac_func innocuous_$ac_func
18434 /* System header to define __stub macros and hopefully few prototypes,
18435 which can conflict with char $ac_func (); below.
18436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18437 <limits.h> exists even on freestanding compilers. */
18439 #ifdef __STDC__
18440 # include <limits.h>
18441 #else
18442 # include <assert.h>
18443 #endif
18445 #undef $ac_func
18447 /* Override any GCC internal prototype to avoid an error.
18448 Use char because int might match the return type of a GCC
18449 builtin and then its argument prototype would still apply. */
18450 #ifdef __cplusplus
18451 extern "C"
18452 #endif
18453 char $ac_func ();
18454 /* The GNU C library defines this for functions which it implements
18455 to always fail with ENOSYS. Some functions are actually named
18456 something starting with __ and the normal name is an alias. */
18457 #if defined __stub_$ac_func || defined __stub___$ac_func
18458 choke me
18459 #endif
18462 main ()
18464 return $ac_func ();
18466 return 0;
18468 _ACEOF
18469 rm -f conftest.$ac_objext conftest$ac_exeext
18470 if { (ac_try="$ac_link"
18471 case "(($ac_try" in
18472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18473 *) ac_try_echo=$ac_try;;
18474 esac
18475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18476 (eval "$ac_link") 2>conftest.er1
18477 ac_status=$?
18478 grep -v '^ *+' conftest.er1 >conftest.err
18479 rm -f conftest.er1
18480 cat conftest.err >&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); } &&
18483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18484 { (case "(($ac_try" in
18485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18486 *) ac_try_echo=$ac_try;;
18487 esac
18488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18489 (eval "$ac_try") 2>&5
18490 ac_status=$?
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); }; } &&
18493 { ac_try='test -s conftest$ac_exeext'
18494 { (case "(($ac_try" in
18495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18496 *) ac_try_echo=$ac_try;;
18497 esac
18498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18499 (eval "$ac_try") 2>&5
18500 ac_status=$?
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); }; }; then
18503 eval "$as_ac_var=yes"
18504 else
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.$ac_ext >&5
18508 eval "$as_ac_var=no"
18511 rm -f core conftest.err conftest.$ac_objext \
18512 conftest$ac_exeext conftest.$ac_ext
18514 ac_res=`eval echo '${'$as_ac_var'}'`
18515 { echo "$as_me:$LINENO: result: $ac_res" >&5
18516 echo "${ECHO_T}$ac_res" >&6; }
18517 if test `eval echo '${'$as_ac_var'}'` = yes; then
18518 cat >>confdefs.h <<_ACEOF
18519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18520 _ACEOF
18523 done
18526 if test "$ac_cv_func_dlopen" = no
18527 then
18528 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18529 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18530 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18531 echo $ECHO_N "(cached) $ECHO_C" >&6
18532 else
18533 ac_check_lib_save_LIBS=$LIBS
18534 LIBS="-ldl $LIBS"
18535 cat >conftest.$ac_ext <<_ACEOF
18536 /* confdefs.h. */
18537 _ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18542 /* Override any GCC internal prototype to avoid an error.
18543 Use char because int might match the return type of a GCC
18544 builtin and then its argument prototype would still apply. */
18545 #ifdef __cplusplus
18546 extern "C"
18547 #endif
18548 char dlopen ();
18550 main ()
18552 return dlopen ();
18554 return 0;
18556 _ACEOF
18557 rm -f conftest.$ac_objext conftest$ac_exeext
18558 if { (ac_try="$ac_link"
18559 case "(($ac_try" in
18560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18561 *) ac_try_echo=$ac_try;;
18562 esac
18563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564 (eval "$ac_link") 2>conftest.er1
18565 ac_status=$?
18566 grep -v '^ *+' conftest.er1 >conftest.err
18567 rm -f conftest.er1
18568 cat conftest.err >&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } &&
18571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18572 { (case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18575 esac
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_try") 2>&5
18578 ac_status=$?
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); }; } &&
18581 { ac_try='test -s conftest$ac_exeext'
18582 { (case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18585 esac
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_try") 2>&5
18588 ac_status=$?
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; }; then
18591 ac_cv_lib_dl_dlopen=yes
18592 else
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18596 ac_cv_lib_dl_dlopen=no
18599 rm -f core conftest.err conftest.$ac_objext \
18600 conftest$ac_exeext conftest.$ac_ext
18601 LIBS=$ac_check_lib_save_LIBS
18603 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18604 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18605 if test $ac_cv_lib_dl_dlopen = yes; then
18606 cat >>confdefs.h <<\_ACEOF
18607 #define HAVE_DLOPEN 1
18608 _ACEOF
18609 LIBDL="-ldl"
18614 ac_wine_check_funcs_save_LIBS="$LIBS"
18615 LIBS="$LIBS $LIBDL"
18617 for ac_func in dladdr
18619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18620 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18622 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18623 echo $ECHO_N "(cached) $ECHO_C" >&6
18624 else
18625 cat >conftest.$ac_ext <<_ACEOF
18626 /* confdefs.h. */
18627 _ACEOF
18628 cat confdefs.h >>conftest.$ac_ext
18629 cat >>conftest.$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18633 #define $ac_func innocuous_$ac_func
18635 /* System header to define __stub macros and hopefully few prototypes,
18636 which can conflict with char $ac_func (); below.
18637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18638 <limits.h> exists even on freestanding compilers. */
18640 #ifdef __STDC__
18641 # include <limits.h>
18642 #else
18643 # include <assert.h>
18644 #endif
18646 #undef $ac_func
18648 /* Override any GCC internal prototype to avoid an error.
18649 Use char because int might match the return type of a GCC
18650 builtin and then its argument prototype would still apply. */
18651 #ifdef __cplusplus
18652 extern "C"
18653 #endif
18654 char $ac_func ();
18655 /* The GNU C library defines this for functions which it implements
18656 to always fail with ENOSYS. Some functions are actually named
18657 something starting with __ and the normal name is an alias. */
18658 #if defined __stub_$ac_func || defined __stub___$ac_func
18659 choke me
18660 #endif
18663 main ()
18665 return $ac_func ();
18667 return 0;
18669 _ACEOF
18670 rm -f conftest.$ac_objext conftest$ac_exeext
18671 if { (ac_try="$ac_link"
18672 case "(($ac_try" in
18673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18674 *) ac_try_echo=$ac_try;;
18675 esac
18676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18677 (eval "$ac_link") 2>conftest.er1
18678 ac_status=$?
18679 grep -v '^ *+' conftest.er1 >conftest.err
18680 rm -f conftest.er1
18681 cat conftest.err >&5
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); } &&
18684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18685 { (case "(($ac_try" in
18686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18687 *) ac_try_echo=$ac_try;;
18688 esac
18689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18690 (eval "$ac_try") 2>&5
18691 ac_status=$?
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; } &&
18694 { ac_try='test -s conftest$ac_exeext'
18695 { (case "(($ac_try" in
18696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18697 *) ac_try_echo=$ac_try;;
18698 esac
18699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18700 (eval "$ac_try") 2>&5
18701 ac_status=$?
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; }; then
18704 eval "$as_ac_var=yes"
18705 else
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.$ac_ext >&5
18709 eval "$as_ac_var=no"
18712 rm -f core conftest.err conftest.$ac_objext \
18713 conftest$ac_exeext conftest.$ac_ext
18715 ac_res=`eval echo '${'$as_ac_var'}'`
18716 { echo "$as_me:$LINENO: result: $ac_res" >&5
18717 echo "${ECHO_T}$ac_res" >&6; }
18718 if test `eval echo '${'$as_ac_var'}'` = yes; then
18719 cat >>confdefs.h <<_ACEOF
18720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18721 _ACEOF
18724 done
18726 LIBS="$ac_wine_check_funcs_save_LIBS"
18728 if test "$ac_cv_func_poll" = no
18729 then
18730 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18731 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18732 if test "${ac_cv_lib_poll_poll+set}" = set; then
18733 echo $ECHO_N "(cached) $ECHO_C" >&6
18734 else
18735 ac_check_lib_save_LIBS=$LIBS
18736 LIBS="-lpoll $LIBS"
18737 cat >conftest.$ac_ext <<_ACEOF
18738 /* confdefs.h. */
18739 _ACEOF
18740 cat confdefs.h >>conftest.$ac_ext
18741 cat >>conftest.$ac_ext <<_ACEOF
18742 /* end confdefs.h. */
18744 /* Override any GCC internal prototype to avoid an error.
18745 Use char because int might match the return type of a GCC
18746 builtin and then its argument prototype would still apply. */
18747 #ifdef __cplusplus
18748 extern "C"
18749 #endif
18750 char poll ();
18752 main ()
18754 return poll ();
18756 return 0;
18758 _ACEOF
18759 rm -f conftest.$ac_objext conftest$ac_exeext
18760 if { (ac_try="$ac_link"
18761 case "(($ac_try" in
18762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18763 *) ac_try_echo=$ac_try;;
18764 esac
18765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18766 (eval "$ac_link") 2>conftest.er1
18767 ac_status=$?
18768 grep -v '^ *+' conftest.er1 >conftest.err
18769 rm -f conftest.er1
18770 cat conftest.err >&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); } &&
18773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18774 { (case "(($ac_try" in
18775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18776 *) ac_try_echo=$ac_try;;
18777 esac
18778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18779 (eval "$ac_try") 2>&5
18780 ac_status=$?
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; } &&
18783 { ac_try='test -s conftest$ac_exeext'
18784 { (case "(($ac_try" in
18785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18786 *) ac_try_echo=$ac_try;;
18787 esac
18788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18789 (eval "$ac_try") 2>&5
18790 ac_status=$?
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); }; }; then
18793 ac_cv_lib_poll_poll=yes
18794 else
18795 echo "$as_me: failed program was:" >&5
18796 sed 's/^/| /' conftest.$ac_ext >&5
18798 ac_cv_lib_poll_poll=no
18801 rm -f core conftest.err conftest.$ac_objext \
18802 conftest$ac_exeext conftest.$ac_ext
18803 LIBS=$ac_check_lib_save_LIBS
18805 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18806 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18807 if test $ac_cv_lib_poll_poll = yes; then
18808 cat >>confdefs.h <<\_ACEOF
18809 #define HAVE_POLL 1
18810 _ACEOF
18811 LIBPOLL="-lpoll"
18817 if test "$ac_cv_func_gethostbyname" = no
18818 then
18820 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18821 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18822 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18823 echo $ECHO_N "(cached) $ECHO_C" >&6
18824 else
18825 ac_check_lib_save_LIBS=$LIBS
18826 LIBS="-lnsl $LIBS"
18827 cat >conftest.$ac_ext <<_ACEOF
18828 /* confdefs.h. */
18829 _ACEOF
18830 cat confdefs.h >>conftest.$ac_ext
18831 cat >>conftest.$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18834 /* Override any GCC internal prototype to avoid an error.
18835 Use char because int might match the return type of a GCC
18836 builtin and then its argument prototype would still apply. */
18837 #ifdef __cplusplus
18838 extern "C"
18839 #endif
18840 char gethostbyname ();
18842 main ()
18844 return gethostbyname ();
18846 return 0;
18848 _ACEOF
18849 rm -f conftest.$ac_objext conftest$ac_exeext
18850 if { (ac_try="$ac_link"
18851 case "(($ac_try" in
18852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18853 *) ac_try_echo=$ac_try;;
18854 esac
18855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18856 (eval "$ac_link") 2>conftest.er1
18857 ac_status=$?
18858 grep -v '^ *+' conftest.er1 >conftest.err
18859 rm -f conftest.er1
18860 cat conftest.err >&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } &&
18863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18864 { (case "(($ac_try" in
18865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18866 *) ac_try_echo=$ac_try;;
18867 esac
18868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18869 (eval "$ac_try") 2>&5
18870 ac_status=$?
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); }; } &&
18873 { ac_try='test -s conftest$ac_exeext'
18874 { (case "(($ac_try" in
18875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18876 *) ac_try_echo=$ac_try;;
18877 esac
18878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18879 (eval "$ac_try") 2>&5
18880 ac_status=$?
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; }; then
18883 ac_cv_lib_nsl_gethostbyname=yes
18884 else
18885 echo "$as_me: failed program was:" >&5
18886 sed 's/^/| /' conftest.$ac_ext >&5
18888 ac_cv_lib_nsl_gethostbyname=no
18891 rm -f core conftest.err conftest.$ac_objext \
18892 conftest$ac_exeext conftest.$ac_ext
18893 LIBS=$ac_check_lib_save_LIBS
18895 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18896 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18897 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18898 cat >>confdefs.h <<_ACEOF
18899 #define HAVE_LIBNSL 1
18900 _ACEOF
18902 LIBS="-lnsl $LIBS"
18908 if test "$ac_cv_func_connect" = no
18909 then
18911 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18912 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18913 if test "${ac_cv_lib_socket_connect+set}" = set; then
18914 echo $ECHO_N "(cached) $ECHO_C" >&6
18915 else
18916 ac_check_lib_save_LIBS=$LIBS
18917 LIBS="-lsocket $LIBS"
18918 cat >conftest.$ac_ext <<_ACEOF
18919 /* confdefs.h. */
18920 _ACEOF
18921 cat confdefs.h >>conftest.$ac_ext
18922 cat >>conftest.$ac_ext <<_ACEOF
18923 /* end confdefs.h. */
18925 /* Override any GCC internal prototype to avoid an error.
18926 Use char because int might match the return type of a GCC
18927 builtin and then its argument prototype would still apply. */
18928 #ifdef __cplusplus
18929 extern "C"
18930 #endif
18931 char connect ();
18933 main ()
18935 return connect ();
18937 return 0;
18939 _ACEOF
18940 rm -f conftest.$ac_objext conftest$ac_exeext
18941 if { (ac_try="$ac_link"
18942 case "(($ac_try" in
18943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18944 *) ac_try_echo=$ac_try;;
18945 esac
18946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18947 (eval "$ac_link") 2>conftest.er1
18948 ac_status=$?
18949 grep -v '^ *+' conftest.er1 >conftest.err
18950 rm -f conftest.er1
18951 cat conftest.err >&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } &&
18954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18955 { (case "(($ac_try" in
18956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18957 *) ac_try_echo=$ac_try;;
18958 esac
18959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18960 (eval "$ac_try") 2>&5
18961 ac_status=$?
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; } &&
18964 { ac_try='test -s conftest$ac_exeext'
18965 { (case "(($ac_try" in
18966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18967 *) ac_try_echo=$ac_try;;
18968 esac
18969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18970 (eval "$ac_try") 2>&5
18971 ac_status=$?
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; }; then
18974 ac_cv_lib_socket_connect=yes
18975 else
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18979 ac_cv_lib_socket_connect=no
18982 rm -f core conftest.err conftest.$ac_objext \
18983 conftest$ac_exeext conftest.$ac_ext
18984 LIBS=$ac_check_lib_save_LIBS
18986 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18987 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18988 if test $ac_cv_lib_socket_connect = yes; then
18989 cat >>confdefs.h <<_ACEOF
18990 #define HAVE_LIBSOCKET 1
18991 _ACEOF
18993 LIBS="-lsocket $LIBS"
18999 if test "$ac_cv_func_inet_aton" = no
19000 then
19002 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
19003 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
19004 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
19005 echo $ECHO_N "(cached) $ECHO_C" >&6
19006 else
19007 ac_check_lib_save_LIBS=$LIBS
19008 LIBS="-lresolv $LIBS"
19009 cat >conftest.$ac_ext <<_ACEOF
19010 /* confdefs.h. */
19011 _ACEOF
19012 cat confdefs.h >>conftest.$ac_ext
19013 cat >>conftest.$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19016 /* Override any GCC internal prototype to avoid an error.
19017 Use char because int might match the return type of a GCC
19018 builtin and then its argument prototype would still apply. */
19019 #ifdef __cplusplus
19020 extern "C"
19021 #endif
19022 char inet_aton ();
19024 main ()
19026 return inet_aton ();
19028 return 0;
19030 _ACEOF
19031 rm -f conftest.$ac_objext conftest$ac_exeext
19032 if { (ac_try="$ac_link"
19033 case "(($ac_try" in
19034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19035 *) ac_try_echo=$ac_try;;
19036 esac
19037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19038 (eval "$ac_link") 2>conftest.er1
19039 ac_status=$?
19040 grep -v '^ *+' conftest.er1 >conftest.err
19041 rm -f conftest.er1
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19046 { (case "(($ac_try" in
19047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19048 *) ac_try_echo=$ac_try;;
19049 esac
19050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19051 (eval "$ac_try") 2>&5
19052 ac_status=$?
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); }; } &&
19055 { ac_try='test -s conftest$ac_exeext'
19056 { (case "(($ac_try" in
19057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19058 *) ac_try_echo=$ac_try;;
19059 esac
19060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_try") 2>&5
19062 ac_status=$?
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; }; then
19065 ac_cv_lib_resolv_inet_aton=yes
19066 else
19067 echo "$as_me: failed program was:" >&5
19068 sed 's/^/| /' conftest.$ac_ext >&5
19070 ac_cv_lib_resolv_inet_aton=no
19073 rm -f core conftest.err conftest.$ac_objext \
19074 conftest$ac_exeext conftest.$ac_ext
19075 LIBS=$ac_check_lib_save_LIBS
19077 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
19078 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
19079 if test $ac_cv_lib_resolv_inet_aton = yes; then
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_LIBRESOLV 1
19082 _ACEOF
19084 LIBS="-lresolv $LIBS"
19091 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19092 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19093 if test "${ac_cv_c_const+set}" = set; then
19094 echo $ECHO_N "(cached) $ECHO_C" >&6
19095 else
19096 cat >conftest.$ac_ext <<_ACEOF
19097 /* confdefs.h. */
19098 _ACEOF
19099 cat confdefs.h >>conftest.$ac_ext
19100 cat >>conftest.$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19104 main ()
19106 /* FIXME: Include the comments suggested by Paul. */
19107 #ifndef __cplusplus
19108 /* Ultrix mips cc rejects this. */
19109 typedef int charset[2];
19110 const charset x;
19111 /* SunOS 4.1.1 cc rejects this. */
19112 char const *const *ccp;
19113 char **p;
19114 /* NEC SVR4.0.2 mips cc rejects this. */
19115 struct point {int x, y;};
19116 static struct point const zero = {0,0};
19117 /* AIX XL C 1.02.0.0 rejects this.
19118 It does not let you subtract one const X* pointer from another in
19119 an arm of an if-expression whose if-part is not a constant
19120 expression */
19121 const char *g = "string";
19122 ccp = &g + (g ? g-g : 0);
19123 /* HPUX 7.0 cc rejects these. */
19124 ++ccp;
19125 p = (char**) ccp;
19126 ccp = (char const *const *) p;
19127 { /* SCO 3.2v4 cc rejects this. */
19128 char *t;
19129 char const *s = 0 ? (char *) 0 : (char const *) 0;
19131 *t++ = 0;
19132 if (s) return 0;
19134 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19135 int x[] = {25, 17};
19136 const int *foo = &x[0];
19137 ++foo;
19139 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19140 typedef const int *iptr;
19141 iptr p = 0;
19142 ++p;
19144 { /* AIX XL C 1.02.0.0 rejects this saying
19145 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19146 struct s { int j; const int *ap[3]; };
19147 struct s *b; b->j = 5;
19149 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19150 const int foo = 10;
19151 if (!foo) return 0;
19153 return !x[0] && !zero.x;
19154 #endif
19157 return 0;
19159 _ACEOF
19160 rm -f conftest.$ac_objext
19161 if { (ac_try="$ac_compile"
19162 case "(($ac_try" in
19163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19164 *) ac_try_echo=$ac_try;;
19165 esac
19166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19167 (eval "$ac_compile") 2>conftest.er1
19168 ac_status=$?
19169 grep -v '^ *+' conftest.er1 >conftest.err
19170 rm -f conftest.er1
19171 cat conftest.err >&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); } &&
19174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19175 { (case "(($ac_try" in
19176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19177 *) ac_try_echo=$ac_try;;
19178 esac
19179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19180 (eval "$ac_try") 2>&5
19181 ac_status=$?
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); }; } &&
19184 { ac_try='test -s conftest.$ac_objext'
19185 { (case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19187 *) ac_try_echo=$ac_try;;
19188 esac
19189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_try") 2>&5
19191 ac_status=$?
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); }; }; then
19194 ac_cv_c_const=yes
19195 else
19196 echo "$as_me: failed program was:" >&5
19197 sed 's/^/| /' conftest.$ac_ext >&5
19199 ac_cv_c_const=no
19202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19204 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19205 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19206 if test $ac_cv_c_const = no; then
19208 cat >>confdefs.h <<\_ACEOF
19209 #define const
19210 _ACEOF
19214 { echo "$as_me:$LINENO: checking for inline" >&5
19215 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19216 if test "${ac_cv_c_inline+set}" = set; then
19217 echo $ECHO_N "(cached) $ECHO_C" >&6
19218 else
19219 ac_cv_c_inline=no
19220 for ac_kw in inline __inline__ __inline; do
19221 cat >conftest.$ac_ext <<_ACEOF
19222 /* confdefs.h. */
19223 _ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19227 #ifndef __cplusplus
19228 typedef int foo_t;
19229 static $ac_kw foo_t static_foo () {return 0; }
19230 $ac_kw foo_t foo () {return 0; }
19231 #endif
19233 _ACEOF
19234 rm -f conftest.$ac_objext
19235 if { (ac_try="$ac_compile"
19236 case "(($ac_try" in
19237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19238 *) ac_try_echo=$ac_try;;
19239 esac
19240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19241 (eval "$ac_compile") 2>conftest.er1
19242 ac_status=$?
19243 grep -v '^ *+' conftest.er1 >conftest.err
19244 rm -f conftest.er1
19245 cat conftest.err >&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); } &&
19248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19249 { (case "(($ac_try" in
19250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19251 *) ac_try_echo=$ac_try;;
19252 esac
19253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19254 (eval "$ac_try") 2>&5
19255 ac_status=$?
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); }; } &&
19258 { ac_try='test -s conftest.$ac_objext'
19259 { (case "(($ac_try" in
19260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19261 *) ac_try_echo=$ac_try;;
19262 esac
19263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19264 (eval "$ac_try") 2>&5
19265 ac_status=$?
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); }; }; then
19268 ac_cv_c_inline=$ac_kw
19269 else
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19277 test "$ac_cv_c_inline" != no && break
19278 done
19281 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19282 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19285 case $ac_cv_c_inline in
19286 inline | yes) ;;
19288 case $ac_cv_c_inline in
19289 no) ac_val=;;
19290 *) ac_val=$ac_cv_c_inline;;
19291 esac
19292 cat >>confdefs.h <<_ACEOF
19293 #ifndef __cplusplus
19294 #define inline $ac_val
19295 #endif
19296 _ACEOF
19298 esac
19300 { echo "$as_me:$LINENO: checking for mode_t" >&5
19301 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19302 if test "${ac_cv_type_mode_t+set}" = set; then
19303 echo $ECHO_N "(cached) $ECHO_C" >&6
19304 else
19305 cat >conftest.$ac_ext <<_ACEOF
19306 /* confdefs.h. */
19307 _ACEOF
19308 cat confdefs.h >>conftest.$ac_ext
19309 cat >>conftest.$ac_ext <<_ACEOF
19310 /* end confdefs.h. */
19311 $ac_includes_default
19312 typedef mode_t ac__type_new_;
19314 main ()
19316 if ((ac__type_new_ *) 0)
19317 return 0;
19318 if (sizeof (ac__type_new_))
19319 return 0;
19321 return 0;
19323 _ACEOF
19324 rm -f conftest.$ac_objext
19325 if { (ac_try="$ac_compile"
19326 case "(($ac_try" in
19327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19328 *) ac_try_echo=$ac_try;;
19329 esac
19330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19331 (eval "$ac_compile") 2>conftest.er1
19332 ac_status=$?
19333 grep -v '^ *+' conftest.er1 >conftest.err
19334 rm -f conftest.er1
19335 cat conftest.err >&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } &&
19338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19339 { (case "(($ac_try" in
19340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19341 *) ac_try_echo=$ac_try;;
19342 esac
19343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19344 (eval "$ac_try") 2>&5
19345 ac_status=$?
19346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19347 (exit $ac_status); }; } &&
19348 { ac_try='test -s conftest.$ac_objext'
19349 { (case "(($ac_try" in
19350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19351 *) ac_try_echo=$ac_try;;
19352 esac
19353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19354 (eval "$ac_try") 2>&5
19355 ac_status=$?
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); }; }; then
19358 ac_cv_type_mode_t=yes
19359 else
19360 echo "$as_me: failed program was:" >&5
19361 sed 's/^/| /' conftest.$ac_ext >&5
19363 ac_cv_type_mode_t=no
19366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19368 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19369 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19370 if test $ac_cv_type_mode_t = yes; then
19372 cat >>confdefs.h <<_ACEOF
19373 #define HAVE_MODE_T 1
19374 _ACEOF
19378 { echo "$as_me:$LINENO: checking for off_t" >&5
19379 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19380 if test "${ac_cv_type_off_t+set}" = set; then
19381 echo $ECHO_N "(cached) $ECHO_C" >&6
19382 else
19383 cat >conftest.$ac_ext <<_ACEOF
19384 /* confdefs.h. */
19385 _ACEOF
19386 cat confdefs.h >>conftest.$ac_ext
19387 cat >>conftest.$ac_ext <<_ACEOF
19388 /* end confdefs.h. */
19389 $ac_includes_default
19390 typedef off_t ac__type_new_;
19392 main ()
19394 if ((ac__type_new_ *) 0)
19395 return 0;
19396 if (sizeof (ac__type_new_))
19397 return 0;
19399 return 0;
19401 _ACEOF
19402 rm -f conftest.$ac_objext
19403 if { (ac_try="$ac_compile"
19404 case "(($ac_try" in
19405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19406 *) ac_try_echo=$ac_try;;
19407 esac
19408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19409 (eval "$ac_compile") 2>conftest.er1
19410 ac_status=$?
19411 grep -v '^ *+' conftest.er1 >conftest.err
19412 rm -f conftest.er1
19413 cat conftest.err >&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); } &&
19416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19417 { (case "(($ac_try" in
19418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19419 *) ac_try_echo=$ac_try;;
19420 esac
19421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19422 (eval "$ac_try") 2>&5
19423 ac_status=$?
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); }; } &&
19426 { ac_try='test -s conftest.$ac_objext'
19427 { (case "(($ac_try" in
19428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19429 *) ac_try_echo=$ac_try;;
19430 esac
19431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19432 (eval "$ac_try") 2>&5
19433 ac_status=$?
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); }; }; then
19436 ac_cv_type_off_t=yes
19437 else
19438 echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.$ac_ext >&5
19441 ac_cv_type_off_t=no
19444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19446 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19447 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19448 if test $ac_cv_type_off_t = yes; then
19450 cat >>confdefs.h <<_ACEOF
19451 #define HAVE_OFF_T 1
19452 _ACEOF
19456 { echo "$as_me:$LINENO: checking for pid_t" >&5
19457 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19458 if test "${ac_cv_type_pid_t+set}" = set; then
19459 echo $ECHO_N "(cached) $ECHO_C" >&6
19460 else
19461 cat >conftest.$ac_ext <<_ACEOF
19462 /* confdefs.h. */
19463 _ACEOF
19464 cat confdefs.h >>conftest.$ac_ext
19465 cat >>conftest.$ac_ext <<_ACEOF
19466 /* end confdefs.h. */
19467 $ac_includes_default
19468 typedef pid_t ac__type_new_;
19470 main ()
19472 if ((ac__type_new_ *) 0)
19473 return 0;
19474 if (sizeof (ac__type_new_))
19475 return 0;
19477 return 0;
19479 _ACEOF
19480 rm -f conftest.$ac_objext
19481 if { (ac_try="$ac_compile"
19482 case "(($ac_try" in
19483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19484 *) ac_try_echo=$ac_try;;
19485 esac
19486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19487 (eval "$ac_compile") 2>conftest.er1
19488 ac_status=$?
19489 grep -v '^ *+' conftest.er1 >conftest.err
19490 rm -f conftest.er1
19491 cat conftest.err >&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); } &&
19494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19495 { (case "(($ac_try" in
19496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19497 *) ac_try_echo=$ac_try;;
19498 esac
19499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19500 (eval "$ac_try") 2>&5
19501 ac_status=$?
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); }; } &&
19504 { ac_try='test -s conftest.$ac_objext'
19505 { (case "(($ac_try" in
19506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19507 *) ac_try_echo=$ac_try;;
19508 esac
19509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19510 (eval "$ac_try") 2>&5
19511 ac_status=$?
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); }; }; then
19514 ac_cv_type_pid_t=yes
19515 else
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.$ac_ext >&5
19519 ac_cv_type_pid_t=no
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19525 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19526 if test $ac_cv_type_pid_t = yes; then
19528 cat >>confdefs.h <<_ACEOF
19529 #define HAVE_PID_T 1
19530 _ACEOF
19534 { echo "$as_me:$LINENO: checking for size_t" >&5
19535 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19536 if test "${ac_cv_type_size_t+set}" = set; then
19537 echo $ECHO_N "(cached) $ECHO_C" >&6
19538 else
19539 cat >conftest.$ac_ext <<_ACEOF
19540 /* confdefs.h. */
19541 _ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 $ac_includes_default
19546 typedef size_t ac__type_new_;
19548 main ()
19550 if ((ac__type_new_ *) 0)
19551 return 0;
19552 if (sizeof (ac__type_new_))
19553 return 0;
19555 return 0;
19557 _ACEOF
19558 rm -f conftest.$ac_objext
19559 if { (ac_try="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19563 esac
19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19566 ac_status=$?
19567 grep -v '^ *+' conftest.er1 >conftest.err
19568 rm -f conftest.er1
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } &&
19572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19573 { (case "(($ac_try" in
19574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19575 *) ac_try_echo=$ac_try;;
19576 esac
19577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19578 (eval "$ac_try") 2>&5
19579 ac_status=$?
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; } &&
19582 { ac_try='test -s conftest.$ac_objext'
19583 { (case "(($ac_try" in
19584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19585 *) ac_try_echo=$ac_try;;
19586 esac
19587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19588 (eval "$ac_try") 2>&5
19589 ac_status=$?
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; }; then
19592 ac_cv_type_size_t=yes
19593 else
19594 echo "$as_me: failed program was:" >&5
19595 sed 's/^/| /' conftest.$ac_ext >&5
19597 ac_cv_type_size_t=no
19600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19602 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19603 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19604 if test $ac_cv_type_size_t = yes; then
19606 cat >>confdefs.h <<_ACEOF
19607 #define HAVE_SIZE_T 1
19608 _ACEOF
19612 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19613 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19614 if test "${ac_cv_type_ssize_t+set}" = set; then
19615 echo $ECHO_N "(cached) $ECHO_C" >&6
19616 else
19617 cat >conftest.$ac_ext <<_ACEOF
19618 /* confdefs.h. */
19619 _ACEOF
19620 cat confdefs.h >>conftest.$ac_ext
19621 cat >>conftest.$ac_ext <<_ACEOF
19622 /* end confdefs.h. */
19623 $ac_includes_default
19624 typedef ssize_t ac__type_new_;
19626 main ()
19628 if ((ac__type_new_ *) 0)
19629 return 0;
19630 if (sizeof (ac__type_new_))
19631 return 0;
19633 return 0;
19635 _ACEOF
19636 rm -f conftest.$ac_objext
19637 if { (ac_try="$ac_compile"
19638 case "(($ac_try" in
19639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19641 esac
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_compile") 2>conftest.er1
19644 ac_status=$?
19645 grep -v '^ *+' conftest.er1 >conftest.err
19646 rm -f conftest.er1
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } &&
19650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19651 { (case "(($ac_try" in
19652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19653 *) ac_try_echo=$ac_try;;
19654 esac
19655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19656 (eval "$ac_try") 2>&5
19657 ac_status=$?
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); }; } &&
19660 { ac_try='test -s conftest.$ac_objext'
19661 { (case "(($ac_try" in
19662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19663 *) ac_try_echo=$ac_try;;
19664 esac
19665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19666 (eval "$ac_try") 2>&5
19667 ac_status=$?
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); }; }; then
19670 ac_cv_type_ssize_t=yes
19671 else
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.$ac_ext >&5
19675 ac_cv_type_ssize_t=no
19678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19680 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19681 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19682 if test $ac_cv_type_ssize_t = yes; then
19684 cat >>confdefs.h <<_ACEOF
19685 #define HAVE_SSIZE_T 1
19686 _ACEOF
19690 { echo "$as_me:$LINENO: checking for long long" >&5
19691 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19692 if test "${ac_cv_type_long_long+set}" = set; then
19693 echo $ECHO_N "(cached) $ECHO_C" >&6
19694 else
19695 cat >conftest.$ac_ext <<_ACEOF
19696 /* confdefs.h. */
19697 _ACEOF
19698 cat confdefs.h >>conftest.$ac_ext
19699 cat >>conftest.$ac_ext <<_ACEOF
19700 /* end confdefs.h. */
19701 $ac_includes_default
19702 typedef long long ac__type_new_;
19704 main ()
19706 if ((ac__type_new_ *) 0)
19707 return 0;
19708 if (sizeof (ac__type_new_))
19709 return 0;
19711 return 0;
19713 _ACEOF
19714 rm -f conftest.$ac_objext
19715 if { (ac_try="$ac_compile"
19716 case "(($ac_try" in
19717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19718 *) ac_try_echo=$ac_try;;
19719 esac
19720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19721 (eval "$ac_compile") 2>conftest.er1
19722 ac_status=$?
19723 grep -v '^ *+' conftest.er1 >conftest.err
19724 rm -f conftest.er1
19725 cat conftest.err >&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); } &&
19728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19729 { (case "(($ac_try" in
19730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19731 *) ac_try_echo=$ac_try;;
19732 esac
19733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19734 (eval "$ac_try") 2>&5
19735 ac_status=$?
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; } &&
19738 { ac_try='test -s conftest.$ac_objext'
19739 { (case "(($ac_try" in
19740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19741 *) ac_try_echo=$ac_try;;
19742 esac
19743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19744 (eval "$ac_try") 2>&5
19745 ac_status=$?
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); }; }; then
19748 ac_cv_type_long_long=yes
19749 else
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.$ac_ext >&5
19753 ac_cv_type_long_long=no
19756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19758 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19759 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19760 if test $ac_cv_type_long_long = yes; then
19762 cat >>confdefs.h <<_ACEOF
19763 #define HAVE_LONG_LONG 1
19764 _ACEOF
19768 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19769 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19770 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19771 echo $ECHO_N "(cached) $ECHO_C" >&6
19772 else
19773 cat >conftest.$ac_ext <<_ACEOF
19774 /* confdefs.h. */
19775 _ACEOF
19776 cat confdefs.h >>conftest.$ac_ext
19777 cat >>conftest.$ac_ext <<_ACEOF
19778 /* end confdefs.h. */
19779 $ac_includes_default
19780 typedef fsblkcnt_t ac__type_new_;
19782 main ()
19784 if ((ac__type_new_ *) 0)
19785 return 0;
19786 if (sizeof (ac__type_new_))
19787 return 0;
19789 return 0;
19791 _ACEOF
19792 rm -f conftest.$ac_objext
19793 if { (ac_try="$ac_compile"
19794 case "(($ac_try" in
19795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19796 *) ac_try_echo=$ac_try;;
19797 esac
19798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19799 (eval "$ac_compile") 2>conftest.er1
19800 ac_status=$?
19801 grep -v '^ *+' conftest.er1 >conftest.err
19802 rm -f conftest.er1
19803 cat conftest.err >&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); } &&
19806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19807 { (case "(($ac_try" in
19808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19809 *) ac_try_echo=$ac_try;;
19810 esac
19811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19812 (eval "$ac_try") 2>&5
19813 ac_status=$?
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); }; } &&
19816 { ac_try='test -s conftest.$ac_objext'
19817 { (case "(($ac_try" in
19818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19819 *) ac_try_echo=$ac_try;;
19820 esac
19821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19822 (eval "$ac_try") 2>&5
19823 ac_status=$?
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); }; }; then
19826 ac_cv_type_fsblkcnt_t=yes
19827 else
19828 echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19831 ac_cv_type_fsblkcnt_t=no
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19836 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19837 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19838 if test $ac_cv_type_fsblkcnt_t = yes; then
19840 cat >>confdefs.h <<_ACEOF
19841 #define HAVE_FSBLKCNT_T 1
19842 _ACEOF
19846 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19847 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19848 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19849 echo $ECHO_N "(cached) $ECHO_C" >&6
19850 else
19851 cat >conftest.$ac_ext <<_ACEOF
19852 /* confdefs.h. */
19853 _ACEOF
19854 cat confdefs.h >>conftest.$ac_ext
19855 cat >>conftest.$ac_ext <<_ACEOF
19856 /* end confdefs.h. */
19857 $ac_includes_default
19858 typedef fsfilcnt_t ac__type_new_;
19860 main ()
19862 if ((ac__type_new_ *) 0)
19863 return 0;
19864 if (sizeof (ac__type_new_))
19865 return 0;
19867 return 0;
19869 _ACEOF
19870 rm -f conftest.$ac_objext
19871 if { (ac_try="$ac_compile"
19872 case "(($ac_try" in
19873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19874 *) ac_try_echo=$ac_try;;
19875 esac
19876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19877 (eval "$ac_compile") 2>conftest.er1
19878 ac_status=$?
19879 grep -v '^ *+' conftest.er1 >conftest.err
19880 rm -f conftest.er1
19881 cat conftest.err >&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); } &&
19884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19885 { (case "(($ac_try" in
19886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19887 *) ac_try_echo=$ac_try;;
19888 esac
19889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19890 (eval "$ac_try") 2>&5
19891 ac_status=$?
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); }; } &&
19894 { ac_try='test -s conftest.$ac_objext'
19895 { (case "(($ac_try" in
19896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19897 *) ac_try_echo=$ac_try;;
19898 esac
19899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19900 (eval "$ac_try") 2>&5
19901 ac_status=$?
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); }; }; then
19904 ac_cv_type_fsfilcnt_t=yes
19905 else
19906 echo "$as_me: failed program was:" >&5
19907 sed 's/^/| /' conftest.$ac_ext >&5
19909 ac_cv_type_fsfilcnt_t=no
19912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19914 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19915 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19916 if test $ac_cv_type_fsfilcnt_t = yes; then
19918 cat >>confdefs.h <<_ACEOF
19919 #define HAVE_FSFILCNT_T 1
19920 _ACEOF
19925 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19926 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19927 if test "${ac_cv_type_sigset_t+set}" = set; then
19928 echo $ECHO_N "(cached) $ECHO_C" >&6
19929 else
19930 cat >conftest.$ac_ext <<_ACEOF
19931 /* confdefs.h. */
19932 _ACEOF
19933 cat confdefs.h >>conftest.$ac_ext
19934 cat >>conftest.$ac_ext <<_ACEOF
19935 /* end confdefs.h. */
19936 #include <signal.h>
19938 typedef sigset_t ac__type_new_;
19940 main ()
19942 if ((ac__type_new_ *) 0)
19943 return 0;
19944 if (sizeof (ac__type_new_))
19945 return 0;
19947 return 0;
19949 _ACEOF
19950 rm -f conftest.$ac_objext
19951 if { (ac_try="$ac_compile"
19952 case "(($ac_try" in
19953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19954 *) ac_try_echo=$ac_try;;
19955 esac
19956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19957 (eval "$ac_compile") 2>conftest.er1
19958 ac_status=$?
19959 grep -v '^ *+' conftest.er1 >conftest.err
19960 rm -f conftest.er1
19961 cat conftest.err >&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); } &&
19964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19965 { (case "(($ac_try" in
19966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19967 *) ac_try_echo=$ac_try;;
19968 esac
19969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19970 (eval "$ac_try") 2>&5
19971 ac_status=$?
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); }; } &&
19974 { ac_try='test -s conftest.$ac_objext'
19975 { (case "(($ac_try" in
19976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19977 *) ac_try_echo=$ac_try;;
19978 esac
19979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19980 (eval "$ac_try") 2>&5
19981 ac_status=$?
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; }; then
19984 ac_cv_type_sigset_t=yes
19985 else
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19989 ac_cv_type_sigset_t=no
19992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19994 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19995 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19996 if test $ac_cv_type_sigset_t = yes; then
19998 cat >>confdefs.h <<_ACEOF
19999 #define HAVE_SIGSET_T 1
20000 _ACEOF
20005 { echo "$as_me:$LINENO: checking for request_sense" >&5
20006 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20007 if test "${ac_cv_type_request_sense+set}" = set; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20009 else
20010 cat >conftest.$ac_ext <<_ACEOF
20011 /* confdefs.h. */
20012 _ACEOF
20013 cat confdefs.h >>conftest.$ac_ext
20014 cat >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 #include <linux/cdrom.h>
20018 typedef request_sense ac__type_new_;
20020 main ()
20022 if ((ac__type_new_ *) 0)
20023 return 0;
20024 if (sizeof (ac__type_new_))
20025 return 0;
20027 return 0;
20029 _ACEOF
20030 rm -f conftest.$ac_objext
20031 if { (ac_try="$ac_compile"
20032 case "(($ac_try" in
20033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20034 *) ac_try_echo=$ac_try;;
20035 esac
20036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20037 (eval "$ac_compile") 2>conftest.er1
20038 ac_status=$?
20039 grep -v '^ *+' conftest.er1 >conftest.err
20040 rm -f conftest.er1
20041 cat conftest.err >&5
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); } &&
20044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20045 { (case "(($ac_try" in
20046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20047 *) ac_try_echo=$ac_try;;
20048 esac
20049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20050 (eval "$ac_try") 2>&5
20051 ac_status=$?
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; } &&
20054 { ac_try='test -s conftest.$ac_objext'
20055 { (case "(($ac_try" in
20056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20057 *) ac_try_echo=$ac_try;;
20058 esac
20059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20060 (eval "$ac_try") 2>&5
20061 ac_status=$?
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); }; }; then
20064 ac_cv_type_request_sense=yes
20065 else
20066 echo "$as_me: failed program was:" >&5
20067 sed 's/^/| /' conftest.$ac_ext >&5
20069 ac_cv_type_request_sense=no
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20074 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20075 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20076 if test $ac_cv_type_request_sense = yes; then
20078 cat >>confdefs.h <<_ACEOF
20079 #define HAVE_REQUEST_SENSE 1
20080 _ACEOF
20086 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20087 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20088 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20089 echo $ECHO_N "(cached) $ECHO_C" >&6
20090 else
20091 cat >conftest.$ac_ext <<_ACEOF
20092 /* confdefs.h. */
20093 _ACEOF
20094 cat confdefs.h >>conftest.$ac_ext
20095 cat >>conftest.$ac_ext <<_ACEOF
20096 /* end confdefs.h. */
20097 #ifdef HAVE_LINUX_INPUT_H
20098 #include <linux/input.h>
20099 #endif
20102 main ()
20104 static struct ff_effect ac_aggr;
20105 if (ac_aggr.direction)
20106 return 0;
20108 return 0;
20110 _ACEOF
20111 rm -f conftest.$ac_objext
20112 if { (ac_try="$ac_compile"
20113 case "(($ac_try" in
20114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20115 *) ac_try_echo=$ac_try;;
20116 esac
20117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20118 (eval "$ac_compile") 2>conftest.er1
20119 ac_status=$?
20120 grep -v '^ *+' conftest.er1 >conftest.err
20121 rm -f conftest.er1
20122 cat conftest.err >&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); } &&
20125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20126 { (case "(($ac_try" in
20127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20128 *) ac_try_echo=$ac_try;;
20129 esac
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_try") 2>&5
20132 ac_status=$?
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; } &&
20135 { ac_try='test -s conftest.$ac_objext'
20136 { (case "(($ac_try" in
20137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20138 *) ac_try_echo=$ac_try;;
20139 esac
20140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20141 (eval "$ac_try") 2>&5
20142 ac_status=$?
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); }; }; then
20145 ac_cv_member_struct_ff_effect_direction=yes
20146 else
20147 echo "$as_me: failed program was:" >&5
20148 sed 's/^/| /' conftest.$ac_ext >&5
20150 cat >conftest.$ac_ext <<_ACEOF
20151 /* confdefs.h. */
20152 _ACEOF
20153 cat confdefs.h >>conftest.$ac_ext
20154 cat >>conftest.$ac_ext <<_ACEOF
20155 /* end confdefs.h. */
20156 #ifdef HAVE_LINUX_INPUT_H
20157 #include <linux/input.h>
20158 #endif
20161 main ()
20163 static struct ff_effect ac_aggr;
20164 if (sizeof ac_aggr.direction)
20165 return 0;
20167 return 0;
20169 _ACEOF
20170 rm -f conftest.$ac_objext
20171 if { (ac_try="$ac_compile"
20172 case "(($ac_try" in
20173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20174 *) ac_try_echo=$ac_try;;
20175 esac
20176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20177 (eval "$ac_compile") 2>conftest.er1
20178 ac_status=$?
20179 grep -v '^ *+' conftest.er1 >conftest.err
20180 rm -f conftest.er1
20181 cat conftest.err >&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } &&
20184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20185 { (case "(($ac_try" in
20186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20187 *) ac_try_echo=$ac_try;;
20188 esac
20189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20190 (eval "$ac_try") 2>&5
20191 ac_status=$?
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); }; } &&
20194 { ac_try='test -s conftest.$ac_objext'
20195 { (case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20198 esac
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_try") 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 ac_cv_member_struct_ff_effect_direction=yes
20205 else
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.$ac_ext >&5
20209 ac_cv_member_struct_ff_effect_direction=no
20212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20217 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20218 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20219 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20221 cat >>confdefs.h <<_ACEOF
20222 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20223 _ACEOF
20229 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20230 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20231 if test "${wine_cv_have_sigaddset+set}" = set; then
20232 echo $ECHO_N "(cached) $ECHO_C" >&6
20233 else
20234 cat >conftest.$ac_ext <<_ACEOF
20235 /* confdefs.h. */
20236 _ACEOF
20237 cat confdefs.h >>conftest.$ac_ext
20238 cat >>conftest.$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20240 #include <signal.h>
20242 main ()
20244 sigset_t set; sigaddset(&set,SIGTERM);
20246 return 0;
20248 _ACEOF
20249 rm -f conftest.$ac_objext conftest$ac_exeext
20250 if { (ac_try="$ac_link"
20251 case "(($ac_try" in
20252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20253 *) ac_try_echo=$ac_try;;
20254 esac
20255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20256 (eval "$ac_link") 2>conftest.er1
20257 ac_status=$?
20258 grep -v '^ *+' conftest.er1 >conftest.err
20259 rm -f conftest.er1
20260 cat conftest.err >&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); } &&
20263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20264 { (case "(($ac_try" in
20265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20266 *) ac_try_echo=$ac_try;;
20267 esac
20268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20269 (eval "$ac_try") 2>&5
20270 ac_status=$?
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); }; } &&
20273 { ac_try='test -s conftest$ac_exeext'
20274 { (case "(($ac_try" in
20275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20276 *) ac_try_echo=$ac_try;;
20277 esac
20278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20279 (eval "$ac_try") 2>&5
20280 ac_status=$?
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); }; }; then
20283 wine_cv_have_sigaddset=yes
20284 else
20285 echo "$as_me: failed program was:" >&5
20286 sed 's/^/| /' conftest.$ac_ext >&5
20288 wine_cv_have_sigaddset=no
20291 rm -f core conftest.err conftest.$ac_objext \
20292 conftest$ac_exeext conftest.$ac_ext
20294 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20295 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20296 if test "$wine_cv_have_sigaddset" = "yes"
20297 then
20299 cat >>confdefs.h <<\_ACEOF
20300 #define HAVE_SIGADDSET 1
20301 _ACEOF
20306 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20307 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20308 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20310 else
20311 cat >conftest.$ac_ext <<_ACEOF
20312 /* confdefs.h. */
20313 _ACEOF
20314 cat confdefs.h >>conftest.$ac_ext
20315 cat >>conftest.$ac_ext <<_ACEOF
20316 /* end confdefs.h. */
20318 #include <netdb.h>
20321 main ()
20324 char *name=NULL;
20325 struct hostent he;
20326 struct hostent *result;
20327 char *buf=NULL;
20328 int bufsize=0;
20329 int res,errnr;
20330 char *addr=NULL;
20331 int addrlen=0;
20332 int addrtype=0;
20333 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20334 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20337 return 0;
20339 _ACEOF
20340 rm -f conftest.$ac_objext conftest$ac_exeext
20341 if { (ac_try="$ac_link"
20342 case "(($ac_try" in
20343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20344 *) ac_try_echo=$ac_try;;
20345 esac
20346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20347 (eval "$ac_link") 2>conftest.er1
20348 ac_status=$?
20349 grep -v '^ *+' conftest.er1 >conftest.err
20350 rm -f conftest.er1
20351 cat conftest.err >&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } &&
20354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20355 { (case "(($ac_try" in
20356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20357 *) ac_try_echo=$ac_try;;
20358 esac
20359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20360 (eval "$ac_try") 2>&5
20361 ac_status=$?
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; } &&
20364 { ac_try='test -s conftest$ac_exeext'
20365 { (case "(($ac_try" in
20366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20367 *) ac_try_echo=$ac_try;;
20368 esac
20369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20370 (eval "$ac_try") 2>&5
20371 ac_status=$?
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20374 wine_cv_linux_gethostbyname_r_6=yes
20375 else
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20379 wine_cv_linux_gethostbyname_r_6=no
20383 rm -f core conftest.err conftest.$ac_objext \
20384 conftest$ac_exeext conftest.$ac_ext
20387 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20388 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20389 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20390 then
20392 cat >>confdefs.h <<\_ACEOF
20393 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20394 _ACEOF
20398 if test "$ac_cv_header_linux_joystick_h" = "yes"
20399 then
20400 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20401 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20402 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20403 echo $ECHO_N "(cached) $ECHO_C" >&6
20404 else
20405 cat >conftest.$ac_ext <<_ACEOF
20406 /* confdefs.h. */
20407 _ACEOF
20408 cat confdefs.h >>conftest.$ac_ext
20409 cat >>conftest.$ac_ext <<_ACEOF
20410 /* end confdefs.h. */
20412 #include <sys/ioctl.h>
20413 #include <linux/joystick.h>
20415 struct js_event blub;
20416 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20417 #error "no 2.2 header"
20418 #endif
20421 main ()
20423 /*empty*/
20425 return 0;
20427 _ACEOF
20428 rm -f conftest.$ac_objext
20429 if { (ac_try="$ac_compile"
20430 case "(($ac_try" in
20431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20432 *) ac_try_echo=$ac_try;;
20433 esac
20434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20435 (eval "$ac_compile") 2>conftest.er1
20436 ac_status=$?
20437 grep -v '^ *+' conftest.er1 >conftest.err
20438 rm -f conftest.er1
20439 cat conftest.err >&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); } &&
20442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20443 { (case "(($ac_try" in
20444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20445 *) ac_try_echo=$ac_try;;
20446 esac
20447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20448 (eval "$ac_try") 2>&5
20449 ac_status=$?
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); }; } &&
20452 { ac_try='test -s conftest.$ac_objext'
20453 { (case "(($ac_try" in
20454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20455 *) ac_try_echo=$ac_try;;
20456 esac
20457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20458 (eval "$ac_try") 2>&5
20459 ac_status=$?
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); }; }; then
20462 wine_cv_linux_joystick_22_api=yes
20463 else
20464 echo "$as_me: failed program was:" >&5
20465 sed 's/^/| /' conftest.$ac_ext >&5
20467 wine_cv_linux_joystick_22_api=no
20470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20473 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20474 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20475 if test "$wine_cv_linux_joystick_22_api" = "yes"
20476 then
20478 cat >>confdefs.h <<\_ACEOF
20479 #define HAVE_LINUX_22_JOYSTICK_API 1
20480 _ACEOF
20486 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20487 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20488 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20490 else
20491 cat >conftest.$ac_ext <<_ACEOF
20492 /* confdefs.h. */
20493 _ACEOF
20494 cat confdefs.h >>conftest.$ac_ext
20495 cat >>conftest.$ac_ext <<_ACEOF
20496 /* end confdefs.h. */
20497 #include <sys/types.h>
20498 #ifdef HAVE_SYS_PARAM_H
20499 # include <sys/param.h>
20500 #endif
20501 #ifdef HAVE_SYS_MOUNT_H
20502 # include <sys/mount.h>
20503 #endif
20504 #ifdef HAVE_SYS_VFS_H
20505 # include <sys/vfs.h>
20506 #endif
20507 #ifdef HAVE_SYS_STATFS_H
20508 # include <sys/statfs.h>
20509 #endif
20512 main ()
20514 static struct statfs ac_aggr;
20515 if (ac_aggr.f_bfree)
20516 return 0;
20518 return 0;
20520 _ACEOF
20521 rm -f conftest.$ac_objext
20522 if { (ac_try="$ac_compile"
20523 case "(($ac_try" in
20524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20525 *) ac_try_echo=$ac_try;;
20526 esac
20527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20528 (eval "$ac_compile") 2>conftest.er1
20529 ac_status=$?
20530 grep -v '^ *+' conftest.er1 >conftest.err
20531 rm -f conftest.er1
20532 cat conftest.err >&5
20533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20534 (exit $ac_status); } &&
20535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20536 { (case "(($ac_try" in
20537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20538 *) ac_try_echo=$ac_try;;
20539 esac
20540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20541 (eval "$ac_try") 2>&5
20542 ac_status=$?
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); }; } &&
20545 { ac_try='test -s conftest.$ac_objext'
20546 { (case "(($ac_try" in
20547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20548 *) ac_try_echo=$ac_try;;
20549 esac
20550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20551 (eval "$ac_try") 2>&5
20552 ac_status=$?
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); }; }; then
20555 ac_cv_member_struct_statfs_f_bfree=yes
20556 else
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.$ac_ext >&5
20560 cat >conftest.$ac_ext <<_ACEOF
20561 /* confdefs.h. */
20562 _ACEOF
20563 cat confdefs.h >>conftest.$ac_ext
20564 cat >>conftest.$ac_ext <<_ACEOF
20565 /* end confdefs.h. */
20566 #include <sys/types.h>
20567 #ifdef HAVE_SYS_PARAM_H
20568 # include <sys/param.h>
20569 #endif
20570 #ifdef HAVE_SYS_MOUNT_H
20571 # include <sys/mount.h>
20572 #endif
20573 #ifdef HAVE_SYS_VFS_H
20574 # include <sys/vfs.h>
20575 #endif
20576 #ifdef HAVE_SYS_STATFS_H
20577 # include <sys/statfs.h>
20578 #endif
20581 main ()
20583 static struct statfs ac_aggr;
20584 if (sizeof ac_aggr.f_bfree)
20585 return 0;
20587 return 0;
20589 _ACEOF
20590 rm -f conftest.$ac_objext
20591 if { (ac_try="$ac_compile"
20592 case "(($ac_try" in
20593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20594 *) ac_try_echo=$ac_try;;
20595 esac
20596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20597 (eval "$ac_compile") 2>conftest.er1
20598 ac_status=$?
20599 grep -v '^ *+' conftest.er1 >conftest.err
20600 rm -f conftest.er1
20601 cat conftest.err >&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); } &&
20604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20605 { (case "(($ac_try" in
20606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20607 *) ac_try_echo=$ac_try;;
20608 esac
20609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20610 (eval "$ac_try") 2>&5
20611 ac_status=$?
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); }; } &&
20614 { ac_try='test -s conftest.$ac_objext'
20615 { (case "(($ac_try" in
20616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20617 *) ac_try_echo=$ac_try;;
20618 esac
20619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20620 (eval "$ac_try") 2>&5
20621 ac_status=$?
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; }; then
20624 ac_cv_member_struct_statfs_f_bfree=yes
20625 else
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.$ac_ext >&5
20629 ac_cv_member_struct_statfs_f_bfree=no
20632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20637 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20638 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20639 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20641 cat >>confdefs.h <<_ACEOF
20642 #define HAVE_STRUCT_STATFS_F_BFREE 1
20643 _ACEOF
20647 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20648 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20649 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20650 echo $ECHO_N "(cached) $ECHO_C" >&6
20651 else
20652 cat >conftest.$ac_ext <<_ACEOF
20653 /* confdefs.h. */
20654 _ACEOF
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20658 #include <sys/types.h>
20659 #ifdef HAVE_SYS_PARAM_H
20660 # include <sys/param.h>
20661 #endif
20662 #ifdef HAVE_SYS_MOUNT_H
20663 # include <sys/mount.h>
20664 #endif
20665 #ifdef HAVE_SYS_VFS_H
20666 # include <sys/vfs.h>
20667 #endif
20668 #ifdef HAVE_SYS_STATFS_H
20669 # include <sys/statfs.h>
20670 #endif
20673 main ()
20675 static struct statfs ac_aggr;
20676 if (ac_aggr.f_bavail)
20677 return 0;
20679 return 0;
20681 _ACEOF
20682 rm -f conftest.$ac_objext
20683 if { (ac_try="$ac_compile"
20684 case "(($ac_try" in
20685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20686 *) ac_try_echo=$ac_try;;
20687 esac
20688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20689 (eval "$ac_compile") 2>conftest.er1
20690 ac_status=$?
20691 grep -v '^ *+' conftest.er1 >conftest.err
20692 rm -f conftest.er1
20693 cat conftest.err >&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); } &&
20696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20697 { (case "(($ac_try" in
20698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20699 *) ac_try_echo=$ac_try;;
20700 esac
20701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20702 (eval "$ac_try") 2>&5
20703 ac_status=$?
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); }; } &&
20706 { ac_try='test -s conftest.$ac_objext'
20707 { (case "(($ac_try" in
20708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20709 *) ac_try_echo=$ac_try;;
20710 esac
20711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20712 (eval "$ac_try") 2>&5
20713 ac_status=$?
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); }; }; then
20716 ac_cv_member_struct_statfs_f_bavail=yes
20717 else
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20721 cat >conftest.$ac_ext <<_ACEOF
20722 /* confdefs.h. */
20723 _ACEOF
20724 cat confdefs.h >>conftest.$ac_ext
20725 cat >>conftest.$ac_ext <<_ACEOF
20726 /* end confdefs.h. */
20727 #include <sys/types.h>
20728 #ifdef HAVE_SYS_PARAM_H
20729 # include <sys/param.h>
20730 #endif
20731 #ifdef HAVE_SYS_MOUNT_H
20732 # include <sys/mount.h>
20733 #endif
20734 #ifdef HAVE_SYS_VFS_H
20735 # include <sys/vfs.h>
20736 #endif
20737 #ifdef HAVE_SYS_STATFS_H
20738 # include <sys/statfs.h>
20739 #endif
20742 main ()
20744 static struct statfs ac_aggr;
20745 if (sizeof ac_aggr.f_bavail)
20746 return 0;
20748 return 0;
20750 _ACEOF
20751 rm -f conftest.$ac_objext
20752 if { (ac_try="$ac_compile"
20753 case "(($ac_try" in
20754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20755 *) ac_try_echo=$ac_try;;
20756 esac
20757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20758 (eval "$ac_compile") 2>conftest.er1
20759 ac_status=$?
20760 grep -v '^ *+' conftest.er1 >conftest.err
20761 rm -f conftest.er1
20762 cat conftest.err >&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); } &&
20765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20766 { (case "(($ac_try" in
20767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20768 *) ac_try_echo=$ac_try;;
20769 esac
20770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20771 (eval "$ac_try") 2>&5
20772 ac_status=$?
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); }; } &&
20775 { ac_try='test -s conftest.$ac_objext'
20776 { (case "(($ac_try" in
20777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20778 *) ac_try_echo=$ac_try;;
20779 esac
20780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20781 (eval "$ac_try") 2>&5
20782 ac_status=$?
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); }; }; then
20785 ac_cv_member_struct_statfs_f_bavail=yes
20786 else
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.$ac_ext >&5
20790 ac_cv_member_struct_statfs_f_bavail=no
20793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20798 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20799 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20800 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20802 cat >>confdefs.h <<_ACEOF
20803 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20804 _ACEOF
20808 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20809 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20810 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20811 echo $ECHO_N "(cached) $ECHO_C" >&6
20812 else
20813 cat >conftest.$ac_ext <<_ACEOF
20814 /* confdefs.h. */
20815 _ACEOF
20816 cat confdefs.h >>conftest.$ac_ext
20817 cat >>conftest.$ac_ext <<_ACEOF
20818 /* end confdefs.h. */
20819 #include <sys/types.h>
20820 #ifdef HAVE_SYS_PARAM_H
20821 # include <sys/param.h>
20822 #endif
20823 #ifdef HAVE_SYS_MOUNT_H
20824 # include <sys/mount.h>
20825 #endif
20826 #ifdef HAVE_SYS_VFS_H
20827 # include <sys/vfs.h>
20828 #endif
20829 #ifdef HAVE_SYS_STATFS_H
20830 # include <sys/statfs.h>
20831 #endif
20834 main ()
20836 static struct statfs ac_aggr;
20837 if (ac_aggr.f_frsize)
20838 return 0;
20840 return 0;
20842 _ACEOF
20843 rm -f conftest.$ac_objext
20844 if { (ac_try="$ac_compile"
20845 case "(($ac_try" in
20846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20847 *) ac_try_echo=$ac_try;;
20848 esac
20849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20850 (eval "$ac_compile") 2>conftest.er1
20851 ac_status=$?
20852 grep -v '^ *+' conftest.er1 >conftest.err
20853 rm -f conftest.er1
20854 cat conftest.err >&5
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); } &&
20857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20858 { (case "(($ac_try" in
20859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20860 *) ac_try_echo=$ac_try;;
20861 esac
20862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20863 (eval "$ac_try") 2>&5
20864 ac_status=$?
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; } &&
20867 { ac_try='test -s conftest.$ac_objext'
20868 { (case "(($ac_try" in
20869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20870 *) ac_try_echo=$ac_try;;
20871 esac
20872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20873 (eval "$ac_try") 2>&5
20874 ac_status=$?
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); }; }; then
20877 ac_cv_member_struct_statfs_f_frsize=yes
20878 else
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.$ac_ext >&5
20882 cat >conftest.$ac_ext <<_ACEOF
20883 /* confdefs.h. */
20884 _ACEOF
20885 cat confdefs.h >>conftest.$ac_ext
20886 cat >>conftest.$ac_ext <<_ACEOF
20887 /* end confdefs.h. */
20888 #include <sys/types.h>
20889 #ifdef HAVE_SYS_PARAM_H
20890 # include <sys/param.h>
20891 #endif
20892 #ifdef HAVE_SYS_MOUNT_H
20893 # include <sys/mount.h>
20894 #endif
20895 #ifdef HAVE_SYS_VFS_H
20896 # include <sys/vfs.h>
20897 #endif
20898 #ifdef HAVE_SYS_STATFS_H
20899 # include <sys/statfs.h>
20900 #endif
20903 main ()
20905 static struct statfs ac_aggr;
20906 if (sizeof ac_aggr.f_frsize)
20907 return 0;
20909 return 0;
20911 _ACEOF
20912 rm -f conftest.$ac_objext
20913 if { (ac_try="$ac_compile"
20914 case "(($ac_try" in
20915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20916 *) ac_try_echo=$ac_try;;
20917 esac
20918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20919 (eval "$ac_compile") 2>conftest.er1
20920 ac_status=$?
20921 grep -v '^ *+' conftest.er1 >conftest.err
20922 rm -f conftest.er1
20923 cat conftest.err >&5
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); } &&
20926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20927 { (case "(($ac_try" in
20928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20929 *) ac_try_echo=$ac_try;;
20930 esac
20931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20932 (eval "$ac_try") 2>&5
20933 ac_status=$?
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); }; } &&
20936 { ac_try='test -s conftest.$ac_objext'
20937 { (case "(($ac_try" in
20938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20939 *) ac_try_echo=$ac_try;;
20940 esac
20941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20942 (eval "$ac_try") 2>&5
20943 ac_status=$?
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); }; }; then
20946 ac_cv_member_struct_statfs_f_frsize=yes
20947 else
20948 echo "$as_me: failed program was:" >&5
20949 sed 's/^/| /' conftest.$ac_ext >&5
20951 ac_cv_member_struct_statfs_f_frsize=no
20954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20959 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20960 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20961 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20963 cat >>confdefs.h <<_ACEOF
20964 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20965 _ACEOF
20969 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20970 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20971 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20972 echo $ECHO_N "(cached) $ECHO_C" >&6
20973 else
20974 cat >conftest.$ac_ext <<_ACEOF
20975 /* confdefs.h. */
20976 _ACEOF
20977 cat confdefs.h >>conftest.$ac_ext
20978 cat >>conftest.$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20980 #include <sys/types.h>
20981 #ifdef HAVE_SYS_PARAM_H
20982 # include <sys/param.h>
20983 #endif
20984 #ifdef HAVE_SYS_MOUNT_H
20985 # include <sys/mount.h>
20986 #endif
20987 #ifdef HAVE_SYS_VFS_H
20988 # include <sys/vfs.h>
20989 #endif
20990 #ifdef HAVE_SYS_STATFS_H
20991 # include <sys/statfs.h>
20992 #endif
20995 main ()
20997 static struct statfs ac_aggr;
20998 if (ac_aggr.f_ffree)
20999 return 0;
21001 return 0;
21003 _ACEOF
21004 rm -f conftest.$ac_objext
21005 if { (ac_try="$ac_compile"
21006 case "(($ac_try" in
21007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21008 *) ac_try_echo=$ac_try;;
21009 esac
21010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21011 (eval "$ac_compile") 2>conftest.er1
21012 ac_status=$?
21013 grep -v '^ *+' conftest.er1 >conftest.err
21014 rm -f conftest.er1
21015 cat conftest.err >&5
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); } &&
21018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21019 { (case "(($ac_try" in
21020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21021 *) ac_try_echo=$ac_try;;
21022 esac
21023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21024 (eval "$ac_try") 2>&5
21025 ac_status=$?
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); }; } &&
21028 { ac_try='test -s conftest.$ac_objext'
21029 { (case "(($ac_try" in
21030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21031 *) ac_try_echo=$ac_try;;
21032 esac
21033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21034 (eval "$ac_try") 2>&5
21035 ac_status=$?
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; }; then
21038 ac_cv_member_struct_statfs_f_ffree=yes
21039 else
21040 echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.$ac_ext >&5
21043 cat >conftest.$ac_ext <<_ACEOF
21044 /* confdefs.h. */
21045 _ACEOF
21046 cat confdefs.h >>conftest.$ac_ext
21047 cat >>conftest.$ac_ext <<_ACEOF
21048 /* end confdefs.h. */
21049 #include <sys/types.h>
21050 #ifdef HAVE_SYS_PARAM_H
21051 # include <sys/param.h>
21052 #endif
21053 #ifdef HAVE_SYS_MOUNT_H
21054 # include <sys/mount.h>
21055 #endif
21056 #ifdef HAVE_SYS_VFS_H
21057 # include <sys/vfs.h>
21058 #endif
21059 #ifdef HAVE_SYS_STATFS_H
21060 # include <sys/statfs.h>
21061 #endif
21064 main ()
21066 static struct statfs ac_aggr;
21067 if (sizeof ac_aggr.f_ffree)
21068 return 0;
21070 return 0;
21072 _ACEOF
21073 rm -f conftest.$ac_objext
21074 if { (ac_try="$ac_compile"
21075 case "(($ac_try" in
21076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077 *) ac_try_echo=$ac_try;;
21078 esac
21079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21080 (eval "$ac_compile") 2>conftest.er1
21081 ac_status=$?
21082 grep -v '^ *+' conftest.er1 >conftest.err
21083 rm -f conftest.er1
21084 cat conftest.err >&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); } &&
21087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21088 { (case "(($ac_try" in
21089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21090 *) ac_try_echo=$ac_try;;
21091 esac
21092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21093 (eval "$ac_try") 2>&5
21094 ac_status=$?
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; } &&
21097 { ac_try='test -s conftest.$ac_objext'
21098 { (case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21101 esac
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_try") 2>&5
21104 ac_status=$?
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); }; }; then
21107 ac_cv_member_struct_statfs_f_ffree=yes
21108 else
21109 echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.$ac_ext >&5
21112 ac_cv_member_struct_statfs_f_ffree=no
21115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21120 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21121 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21122 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21124 cat >>confdefs.h <<_ACEOF
21125 #define HAVE_STRUCT_STATFS_F_FFREE 1
21126 _ACEOF
21130 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21131 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21132 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21133 echo $ECHO_N "(cached) $ECHO_C" >&6
21134 else
21135 cat >conftest.$ac_ext <<_ACEOF
21136 /* confdefs.h. */
21137 _ACEOF
21138 cat confdefs.h >>conftest.$ac_ext
21139 cat >>conftest.$ac_ext <<_ACEOF
21140 /* end confdefs.h. */
21141 #include <sys/types.h>
21142 #ifdef HAVE_SYS_PARAM_H
21143 # include <sys/param.h>
21144 #endif
21145 #ifdef HAVE_SYS_MOUNT_H
21146 # include <sys/mount.h>
21147 #endif
21148 #ifdef HAVE_SYS_VFS_H
21149 # include <sys/vfs.h>
21150 #endif
21151 #ifdef HAVE_SYS_STATFS_H
21152 # include <sys/statfs.h>
21153 #endif
21156 main ()
21158 static struct statfs ac_aggr;
21159 if (ac_aggr.f_favail)
21160 return 0;
21162 return 0;
21164 _ACEOF
21165 rm -f conftest.$ac_objext
21166 if { (ac_try="$ac_compile"
21167 case "(($ac_try" in
21168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21169 *) ac_try_echo=$ac_try;;
21170 esac
21171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21172 (eval "$ac_compile") 2>conftest.er1
21173 ac_status=$?
21174 grep -v '^ *+' conftest.er1 >conftest.err
21175 rm -f conftest.er1
21176 cat conftest.err >&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); } &&
21179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21180 { (case "(($ac_try" in
21181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21182 *) ac_try_echo=$ac_try;;
21183 esac
21184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21185 (eval "$ac_try") 2>&5
21186 ac_status=$?
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); }; } &&
21189 { ac_try='test -s conftest.$ac_objext'
21190 { (case "(($ac_try" in
21191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21192 *) ac_try_echo=$ac_try;;
21193 esac
21194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21195 (eval "$ac_try") 2>&5
21196 ac_status=$?
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); }; }; then
21199 ac_cv_member_struct_statfs_f_favail=yes
21200 else
21201 echo "$as_me: failed program was:" >&5
21202 sed 's/^/| /' conftest.$ac_ext >&5
21204 cat >conftest.$ac_ext <<_ACEOF
21205 /* confdefs.h. */
21206 _ACEOF
21207 cat confdefs.h >>conftest.$ac_ext
21208 cat >>conftest.$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21210 #include <sys/types.h>
21211 #ifdef HAVE_SYS_PARAM_H
21212 # include <sys/param.h>
21213 #endif
21214 #ifdef HAVE_SYS_MOUNT_H
21215 # include <sys/mount.h>
21216 #endif
21217 #ifdef HAVE_SYS_VFS_H
21218 # include <sys/vfs.h>
21219 #endif
21220 #ifdef HAVE_SYS_STATFS_H
21221 # include <sys/statfs.h>
21222 #endif
21225 main ()
21227 static struct statfs ac_aggr;
21228 if (sizeof ac_aggr.f_favail)
21229 return 0;
21231 return 0;
21233 _ACEOF
21234 rm -f conftest.$ac_objext
21235 if { (ac_try="$ac_compile"
21236 case "(($ac_try" in
21237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21238 *) ac_try_echo=$ac_try;;
21239 esac
21240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21241 (eval "$ac_compile") 2>conftest.er1
21242 ac_status=$?
21243 grep -v '^ *+' conftest.er1 >conftest.err
21244 rm -f conftest.er1
21245 cat conftest.err >&5
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); } &&
21248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21249 { (case "(($ac_try" in
21250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21251 *) ac_try_echo=$ac_try;;
21252 esac
21253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21254 (eval "$ac_try") 2>&5
21255 ac_status=$?
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); }; } &&
21258 { ac_try='test -s conftest.$ac_objext'
21259 { (case "(($ac_try" in
21260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21261 *) ac_try_echo=$ac_try;;
21262 esac
21263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21264 (eval "$ac_try") 2>&5
21265 ac_status=$?
21266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267 (exit $ac_status); }; }; then
21268 ac_cv_member_struct_statfs_f_favail=yes
21269 else
21270 echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.$ac_ext >&5
21273 ac_cv_member_struct_statfs_f_favail=no
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21281 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21282 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21283 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21285 cat >>confdefs.h <<_ACEOF
21286 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21287 _ACEOF
21291 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21292 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21293 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21294 echo $ECHO_N "(cached) $ECHO_C" >&6
21295 else
21296 cat >conftest.$ac_ext <<_ACEOF
21297 /* confdefs.h. */
21298 _ACEOF
21299 cat confdefs.h >>conftest.$ac_ext
21300 cat >>conftest.$ac_ext <<_ACEOF
21301 /* end confdefs.h. */
21302 #include <sys/types.h>
21303 #ifdef HAVE_SYS_PARAM_H
21304 # include <sys/param.h>
21305 #endif
21306 #ifdef HAVE_SYS_MOUNT_H
21307 # include <sys/mount.h>
21308 #endif
21309 #ifdef HAVE_SYS_VFS_H
21310 # include <sys/vfs.h>
21311 #endif
21312 #ifdef HAVE_SYS_STATFS_H
21313 # include <sys/statfs.h>
21314 #endif
21317 main ()
21319 static struct statfs ac_aggr;
21320 if (ac_aggr.f_namelen)
21321 return 0;
21323 return 0;
21325 _ACEOF
21326 rm -f conftest.$ac_objext
21327 if { (ac_try="$ac_compile"
21328 case "(($ac_try" in
21329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21330 *) ac_try_echo=$ac_try;;
21331 esac
21332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21333 (eval "$ac_compile") 2>conftest.er1
21334 ac_status=$?
21335 grep -v '^ *+' conftest.er1 >conftest.err
21336 rm -f conftest.er1
21337 cat conftest.err >&5
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); } &&
21340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21341 { (case "(($ac_try" in
21342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21343 *) ac_try_echo=$ac_try;;
21344 esac
21345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21346 (eval "$ac_try") 2>&5
21347 ac_status=$?
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; } &&
21350 { ac_try='test -s conftest.$ac_objext'
21351 { (case "(($ac_try" in
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353 *) ac_try_echo=$ac_try;;
21354 esac
21355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21356 (eval "$ac_try") 2>&5
21357 ac_status=$?
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; }; then
21360 ac_cv_member_struct_statfs_f_namelen=yes
21361 else
21362 echo "$as_me: failed program was:" >&5
21363 sed 's/^/| /' conftest.$ac_ext >&5
21365 cat >conftest.$ac_ext <<_ACEOF
21366 /* confdefs.h. */
21367 _ACEOF
21368 cat confdefs.h >>conftest.$ac_ext
21369 cat >>conftest.$ac_ext <<_ACEOF
21370 /* end confdefs.h. */
21371 #include <sys/types.h>
21372 #ifdef HAVE_SYS_PARAM_H
21373 # include <sys/param.h>
21374 #endif
21375 #ifdef HAVE_SYS_MOUNT_H
21376 # include <sys/mount.h>
21377 #endif
21378 #ifdef HAVE_SYS_VFS_H
21379 # include <sys/vfs.h>
21380 #endif
21381 #ifdef HAVE_SYS_STATFS_H
21382 # include <sys/statfs.h>
21383 #endif
21386 main ()
21388 static struct statfs ac_aggr;
21389 if (sizeof ac_aggr.f_namelen)
21390 return 0;
21392 return 0;
21394 _ACEOF
21395 rm -f conftest.$ac_objext
21396 if { (ac_try="$ac_compile"
21397 case "(($ac_try" in
21398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21399 *) ac_try_echo=$ac_try;;
21400 esac
21401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21402 (eval "$ac_compile") 2>conftest.er1
21403 ac_status=$?
21404 grep -v '^ *+' conftest.er1 >conftest.err
21405 rm -f conftest.er1
21406 cat conftest.err >&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); } &&
21409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21410 { (case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_try") 2>&5
21416 ac_status=$?
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; } &&
21419 { ac_try='test -s conftest.$ac_objext'
21420 { (case "(($ac_try" in
21421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21422 *) ac_try_echo=$ac_try;;
21423 esac
21424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21425 (eval "$ac_try") 2>&5
21426 ac_status=$?
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; }; then
21429 ac_cv_member_struct_statfs_f_namelen=yes
21430 else
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.$ac_ext >&5
21434 ac_cv_member_struct_statfs_f_namelen=no
21437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21442 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21443 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21444 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21446 cat >>confdefs.h <<_ACEOF
21447 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21448 _ACEOF
21454 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21455 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21456 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21457 echo $ECHO_N "(cached) $ECHO_C" >&6
21458 else
21459 cat >conftest.$ac_ext <<_ACEOF
21460 /* confdefs.h. */
21461 _ACEOF
21462 cat confdefs.h >>conftest.$ac_ext
21463 cat >>conftest.$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21465 #ifdef HAVE_SYS_STATVFS_H
21466 #include <sys/statvfs.h>
21467 #endif
21470 main ()
21472 static struct statvfs ac_aggr;
21473 if (ac_aggr.f_blocks)
21474 return 0;
21476 return 0;
21478 _ACEOF
21479 rm -f conftest.$ac_objext
21480 if { (ac_try="$ac_compile"
21481 case "(($ac_try" in
21482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21483 *) ac_try_echo=$ac_try;;
21484 esac
21485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21486 (eval "$ac_compile") 2>conftest.er1
21487 ac_status=$?
21488 grep -v '^ *+' conftest.er1 >conftest.err
21489 rm -f conftest.er1
21490 cat conftest.err >&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } &&
21493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21494 { (case "(($ac_try" in
21495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21496 *) ac_try_echo=$ac_try;;
21497 esac
21498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21499 (eval "$ac_try") 2>&5
21500 ac_status=$?
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); }; } &&
21503 { ac_try='test -s conftest.$ac_objext'
21504 { (case "(($ac_try" in
21505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21506 *) ac_try_echo=$ac_try;;
21507 esac
21508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21509 (eval "$ac_try") 2>&5
21510 ac_status=$?
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; }; then
21513 ac_cv_member_struct_statvfs_f_blocks=yes
21514 else
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.$ac_ext >&5
21518 cat >conftest.$ac_ext <<_ACEOF
21519 /* confdefs.h. */
21520 _ACEOF
21521 cat confdefs.h >>conftest.$ac_ext
21522 cat >>conftest.$ac_ext <<_ACEOF
21523 /* end confdefs.h. */
21524 #ifdef HAVE_SYS_STATVFS_H
21525 #include <sys/statvfs.h>
21526 #endif
21529 main ()
21531 static struct statvfs ac_aggr;
21532 if (sizeof ac_aggr.f_blocks)
21533 return 0;
21535 return 0;
21537 _ACEOF
21538 rm -f conftest.$ac_objext
21539 if { (ac_try="$ac_compile"
21540 case "(($ac_try" in
21541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21542 *) ac_try_echo=$ac_try;;
21543 esac
21544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21545 (eval "$ac_compile") 2>conftest.er1
21546 ac_status=$?
21547 grep -v '^ *+' conftest.er1 >conftest.err
21548 rm -f conftest.er1
21549 cat conftest.err >&5
21550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551 (exit $ac_status); } &&
21552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21553 { (case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21556 esac
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_try") 2>&5
21559 ac_status=$?
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); }; } &&
21562 { ac_try='test -s conftest.$ac_objext'
21563 { (case "(($ac_try" in
21564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21565 *) ac_try_echo=$ac_try;;
21566 esac
21567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21568 (eval "$ac_try") 2>&5
21569 ac_status=$?
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); }; }; then
21572 ac_cv_member_struct_statvfs_f_blocks=yes
21573 else
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21577 ac_cv_member_struct_statvfs_f_blocks=no
21580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21585 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21586 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21587 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21589 cat >>confdefs.h <<_ACEOF
21590 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21591 _ACEOF
21597 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21598 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21599 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21600 echo $ECHO_N "(cached) $ECHO_C" >&6
21601 else
21602 cat >conftest.$ac_ext <<_ACEOF
21603 /* confdefs.h. */
21604 _ACEOF
21605 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h. */
21608 #include <sys/types.h>
21609 #ifdef HAVE_SYS_SOCKET_H
21610 # include <sys/socket.h>
21611 #endif
21612 #ifdef HAVE_SYS_UN_H
21613 # include <sys/un.h>
21614 #endif
21617 main ()
21619 static struct msghdr ac_aggr;
21620 if (ac_aggr.msg_accrights)
21621 return 0;
21623 return 0;
21625 _ACEOF
21626 rm -f conftest.$ac_objext
21627 if { (ac_try="$ac_compile"
21628 case "(($ac_try" in
21629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21630 *) ac_try_echo=$ac_try;;
21631 esac
21632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21633 (eval "$ac_compile") 2>conftest.er1
21634 ac_status=$?
21635 grep -v '^ *+' conftest.er1 >conftest.err
21636 rm -f conftest.er1
21637 cat conftest.err >&5
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); } &&
21640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21641 { (case "(($ac_try" in
21642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21643 *) ac_try_echo=$ac_try;;
21644 esac
21645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21646 (eval "$ac_try") 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; } &&
21650 { ac_try='test -s conftest.$ac_objext'
21651 { (case "(($ac_try" in
21652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21653 *) ac_try_echo=$ac_try;;
21654 esac
21655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21656 (eval "$ac_try") 2>&5
21657 ac_status=$?
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; }; then
21660 ac_cv_member_struct_msghdr_msg_accrights=yes
21661 else
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.$ac_ext >&5
21665 cat >conftest.$ac_ext <<_ACEOF
21666 /* confdefs.h. */
21667 _ACEOF
21668 cat confdefs.h >>conftest.$ac_ext
21669 cat >>conftest.$ac_ext <<_ACEOF
21670 /* end confdefs.h. */
21671 #include <sys/types.h>
21672 #ifdef HAVE_SYS_SOCKET_H
21673 # include <sys/socket.h>
21674 #endif
21675 #ifdef HAVE_SYS_UN_H
21676 # include <sys/un.h>
21677 #endif
21680 main ()
21682 static struct msghdr ac_aggr;
21683 if (sizeof ac_aggr.msg_accrights)
21684 return 0;
21686 return 0;
21688 _ACEOF
21689 rm -f conftest.$ac_objext
21690 if { (ac_try="$ac_compile"
21691 case "(($ac_try" in
21692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21693 *) ac_try_echo=$ac_try;;
21694 esac
21695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21696 (eval "$ac_compile") 2>conftest.er1
21697 ac_status=$?
21698 grep -v '^ *+' conftest.er1 >conftest.err
21699 rm -f conftest.er1
21700 cat conftest.err >&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } &&
21703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21704 { (case "(($ac_try" in
21705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21706 *) ac_try_echo=$ac_try;;
21707 esac
21708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21709 (eval "$ac_try") 2>&5
21710 ac_status=$?
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; } &&
21713 { ac_try='test -s conftest.$ac_objext'
21714 { (case "(($ac_try" in
21715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21716 *) ac_try_echo=$ac_try;;
21717 esac
21718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21719 (eval "$ac_try") 2>&5
21720 ac_status=$?
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); }; }; then
21723 ac_cv_member_struct_msghdr_msg_accrights=yes
21724 else
21725 echo "$as_me: failed program was:" >&5
21726 sed 's/^/| /' conftest.$ac_ext >&5
21728 ac_cv_member_struct_msghdr_msg_accrights=no
21731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21736 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21737 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21738 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21740 cat >>confdefs.h <<_ACEOF
21741 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21742 _ACEOF
21746 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21747 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21748 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21749 echo $ECHO_N "(cached) $ECHO_C" >&6
21750 else
21751 cat >conftest.$ac_ext <<_ACEOF
21752 /* confdefs.h. */
21753 _ACEOF
21754 cat confdefs.h >>conftest.$ac_ext
21755 cat >>conftest.$ac_ext <<_ACEOF
21756 /* end confdefs.h. */
21757 #include <sys/types.h>
21758 #ifdef HAVE_SYS_SOCKET_H
21759 # include <sys/socket.h>
21760 #endif
21761 #ifdef HAVE_SYS_UN_H
21762 # include <sys/un.h>
21763 #endif
21766 main ()
21768 static struct sockaddr ac_aggr;
21769 if (ac_aggr.sa_len)
21770 return 0;
21772 return 0;
21774 _ACEOF
21775 rm -f conftest.$ac_objext
21776 if { (ac_try="$ac_compile"
21777 case "(($ac_try" in
21778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21779 *) ac_try_echo=$ac_try;;
21780 esac
21781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21782 (eval "$ac_compile") 2>conftest.er1
21783 ac_status=$?
21784 grep -v '^ *+' conftest.er1 >conftest.err
21785 rm -f conftest.er1
21786 cat conftest.err >&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); } &&
21789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21790 { (case "(($ac_try" in
21791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21792 *) ac_try_echo=$ac_try;;
21793 esac
21794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21795 (eval "$ac_try") 2>&5
21796 ac_status=$?
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); }; } &&
21799 { ac_try='test -s conftest.$ac_objext'
21800 { (case "(($ac_try" in
21801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21802 *) ac_try_echo=$ac_try;;
21803 esac
21804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21805 (eval "$ac_try") 2>&5
21806 ac_status=$?
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); }; }; then
21809 ac_cv_member_struct_sockaddr_sa_len=yes
21810 else
21811 echo "$as_me: failed program was:" >&5
21812 sed 's/^/| /' conftest.$ac_ext >&5
21814 cat >conftest.$ac_ext <<_ACEOF
21815 /* confdefs.h. */
21816 _ACEOF
21817 cat confdefs.h >>conftest.$ac_ext
21818 cat >>conftest.$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820 #include <sys/types.h>
21821 #ifdef HAVE_SYS_SOCKET_H
21822 # include <sys/socket.h>
21823 #endif
21824 #ifdef HAVE_SYS_UN_H
21825 # include <sys/un.h>
21826 #endif
21829 main ()
21831 static struct sockaddr ac_aggr;
21832 if (sizeof ac_aggr.sa_len)
21833 return 0;
21835 return 0;
21837 _ACEOF
21838 rm -f conftest.$ac_objext
21839 if { (ac_try="$ac_compile"
21840 case "(($ac_try" in
21841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21842 *) ac_try_echo=$ac_try;;
21843 esac
21844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21845 (eval "$ac_compile") 2>conftest.er1
21846 ac_status=$?
21847 grep -v '^ *+' conftest.er1 >conftest.err
21848 rm -f conftest.er1
21849 cat conftest.err >&5
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); } &&
21852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21853 { (case "(($ac_try" in
21854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21855 *) ac_try_echo=$ac_try;;
21856 esac
21857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21858 (eval "$ac_try") 2>&5
21859 ac_status=$?
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); }; } &&
21862 { ac_try='test -s conftest.$ac_objext'
21863 { (case "(($ac_try" in
21864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21865 *) ac_try_echo=$ac_try;;
21866 esac
21867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21868 (eval "$ac_try") 2>&5
21869 ac_status=$?
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); }; }; then
21872 ac_cv_member_struct_sockaddr_sa_len=yes
21873 else
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21877 ac_cv_member_struct_sockaddr_sa_len=no
21880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21885 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21886 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21887 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21889 cat >>confdefs.h <<_ACEOF
21890 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21891 _ACEOF
21895 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21896 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21897 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21898 echo $ECHO_N "(cached) $ECHO_C" >&6
21899 else
21900 cat >conftest.$ac_ext <<_ACEOF
21901 /* confdefs.h. */
21902 _ACEOF
21903 cat confdefs.h >>conftest.$ac_ext
21904 cat >>conftest.$ac_ext <<_ACEOF
21905 /* end confdefs.h. */
21906 #include <sys/types.h>
21907 #ifdef HAVE_SYS_SOCKET_H
21908 # include <sys/socket.h>
21909 #endif
21910 #ifdef HAVE_SYS_UN_H
21911 # include <sys/un.h>
21912 #endif
21915 main ()
21917 static struct sockaddr_un ac_aggr;
21918 if (ac_aggr.sun_len)
21919 return 0;
21921 return 0;
21923 _ACEOF
21924 rm -f conftest.$ac_objext
21925 if { (ac_try="$ac_compile"
21926 case "(($ac_try" in
21927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21928 *) ac_try_echo=$ac_try;;
21929 esac
21930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21931 (eval "$ac_compile") 2>conftest.er1
21932 ac_status=$?
21933 grep -v '^ *+' conftest.er1 >conftest.err
21934 rm -f conftest.er1
21935 cat conftest.err >&5
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); } &&
21938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21939 { (case "(($ac_try" in
21940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21941 *) ac_try_echo=$ac_try;;
21942 esac
21943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21944 (eval "$ac_try") 2>&5
21945 ac_status=$?
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); }; } &&
21948 { ac_try='test -s conftest.$ac_objext'
21949 { (case "(($ac_try" in
21950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21951 *) ac_try_echo=$ac_try;;
21952 esac
21953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21954 (eval "$ac_try") 2>&5
21955 ac_status=$?
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); }; }; then
21958 ac_cv_member_struct_sockaddr_un_sun_len=yes
21959 else
21960 echo "$as_me: failed program was:" >&5
21961 sed 's/^/| /' conftest.$ac_ext >&5
21963 cat >conftest.$ac_ext <<_ACEOF
21964 /* confdefs.h. */
21965 _ACEOF
21966 cat confdefs.h >>conftest.$ac_ext
21967 cat >>conftest.$ac_ext <<_ACEOF
21968 /* end confdefs.h. */
21969 #include <sys/types.h>
21970 #ifdef HAVE_SYS_SOCKET_H
21971 # include <sys/socket.h>
21972 #endif
21973 #ifdef HAVE_SYS_UN_H
21974 # include <sys/un.h>
21975 #endif
21978 main ()
21980 static struct sockaddr_un ac_aggr;
21981 if (sizeof ac_aggr.sun_len)
21982 return 0;
21984 return 0;
21986 _ACEOF
21987 rm -f conftest.$ac_objext
21988 if { (ac_try="$ac_compile"
21989 case "(($ac_try" in
21990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21991 *) ac_try_echo=$ac_try;;
21992 esac
21993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21994 (eval "$ac_compile") 2>conftest.er1
21995 ac_status=$?
21996 grep -v '^ *+' conftest.er1 >conftest.err
21997 rm -f conftest.er1
21998 cat conftest.err >&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); } &&
22001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22002 { (case "(($ac_try" in
22003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22004 *) ac_try_echo=$ac_try;;
22005 esac
22006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22007 (eval "$ac_try") 2>&5
22008 ac_status=$?
22009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); }; } &&
22011 { ac_try='test -s conftest.$ac_objext'
22012 { (case "(($ac_try" in
22013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22014 *) ac_try_echo=$ac_try;;
22015 esac
22016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22017 (eval "$ac_try") 2>&5
22018 ac_status=$?
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); }; }; then
22021 ac_cv_member_struct_sockaddr_un_sun_len=yes
22022 else
22023 echo "$as_me: failed program was:" >&5
22024 sed 's/^/| /' conftest.$ac_ext >&5
22026 ac_cv_member_struct_sockaddr_un_sun_len=no
22029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22034 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22035 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22036 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22038 cat >>confdefs.h <<_ACEOF
22039 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22040 _ACEOF
22046 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22047 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22048 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22050 else
22051 cat >conftest.$ac_ext <<_ACEOF
22052 /* confdefs.h. */
22053 _ACEOF
22054 cat confdefs.h >>conftest.$ac_ext
22055 cat >>conftest.$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 #include <sys/types.h>
22058 #ifdef HAVE_SCSI_SG_H
22059 #include <scsi/sg.h>
22060 #endif
22063 main ()
22065 static scsireq_t ac_aggr;
22066 if (ac_aggr.cmd)
22067 return 0;
22069 return 0;
22071 _ACEOF
22072 rm -f conftest.$ac_objext
22073 if { (ac_try="$ac_compile"
22074 case "(($ac_try" in
22075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22076 *) ac_try_echo=$ac_try;;
22077 esac
22078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22079 (eval "$ac_compile") 2>conftest.er1
22080 ac_status=$?
22081 grep -v '^ *+' conftest.er1 >conftest.err
22082 rm -f conftest.er1
22083 cat conftest.err >&5
22084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22085 (exit $ac_status); } &&
22086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22087 { (case "(($ac_try" in
22088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22089 *) ac_try_echo=$ac_try;;
22090 esac
22091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22092 (eval "$ac_try") 2>&5
22093 ac_status=$?
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); }; } &&
22096 { ac_try='test -s conftest.$ac_objext'
22097 { (case "(($ac_try" in
22098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22100 esac
22101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_try") 2>&5
22103 ac_status=$?
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); }; }; then
22106 ac_cv_member_scsireq_t_cmd=yes
22107 else
22108 echo "$as_me: failed program was:" >&5
22109 sed 's/^/| /' conftest.$ac_ext >&5
22111 cat >conftest.$ac_ext <<_ACEOF
22112 /* confdefs.h. */
22113 _ACEOF
22114 cat confdefs.h >>conftest.$ac_ext
22115 cat >>conftest.$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117 #include <sys/types.h>
22118 #ifdef HAVE_SCSI_SG_H
22119 #include <scsi/sg.h>
22120 #endif
22123 main ()
22125 static scsireq_t ac_aggr;
22126 if (sizeof ac_aggr.cmd)
22127 return 0;
22129 return 0;
22131 _ACEOF
22132 rm -f conftest.$ac_objext
22133 if { (ac_try="$ac_compile"
22134 case "(($ac_try" in
22135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22136 *) ac_try_echo=$ac_try;;
22137 esac
22138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22139 (eval "$ac_compile") 2>conftest.er1
22140 ac_status=$?
22141 grep -v '^ *+' conftest.er1 >conftest.err
22142 rm -f conftest.er1
22143 cat conftest.err >&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } &&
22146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22147 { (case "(($ac_try" in
22148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22149 *) ac_try_echo=$ac_try;;
22150 esac
22151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22152 (eval "$ac_try") 2>&5
22153 ac_status=$?
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); }; } &&
22156 { ac_try='test -s conftest.$ac_objext'
22157 { (case "(($ac_try" in
22158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22159 *) ac_try_echo=$ac_try;;
22160 esac
22161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22162 (eval "$ac_try") 2>&5
22163 ac_status=$?
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); }; }; then
22166 ac_cv_member_scsireq_t_cmd=yes
22167 else
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.$ac_ext >&5
22171 ac_cv_member_scsireq_t_cmd=no
22174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22179 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22180 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22181 if test $ac_cv_member_scsireq_t_cmd = yes; then
22183 cat >>confdefs.h <<_ACEOF
22184 #define HAVE_SCSIREQ_T_CMD 1
22185 _ACEOF
22189 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22190 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22191 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22192 echo $ECHO_N "(cached) $ECHO_C" >&6
22193 else
22194 cat >conftest.$ac_ext <<_ACEOF
22195 /* confdefs.h. */
22196 _ACEOF
22197 cat confdefs.h >>conftest.$ac_ext
22198 cat >>conftest.$ac_ext <<_ACEOF
22199 /* end confdefs.h. */
22200 #include <sys/types.h>
22201 #ifdef HAVE_SCSI_SG_H
22202 #include <scsi/sg.h>
22203 #endif
22206 main ()
22208 static sg_io_hdr_t ac_aggr;
22209 if (ac_aggr.interface_id)
22210 return 0;
22212 return 0;
22214 _ACEOF
22215 rm -f conftest.$ac_objext
22216 if { (ac_try="$ac_compile"
22217 case "(($ac_try" in
22218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22219 *) ac_try_echo=$ac_try;;
22220 esac
22221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22222 (eval "$ac_compile") 2>conftest.er1
22223 ac_status=$?
22224 grep -v '^ *+' conftest.er1 >conftest.err
22225 rm -f conftest.er1
22226 cat conftest.err >&5
22227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228 (exit $ac_status); } &&
22229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22230 { (case "(($ac_try" in
22231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22232 *) ac_try_echo=$ac_try;;
22233 esac
22234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22235 (eval "$ac_try") 2>&5
22236 ac_status=$?
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); }; } &&
22239 { ac_try='test -s conftest.$ac_objext'
22240 { (case "(($ac_try" in
22241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22242 *) ac_try_echo=$ac_try;;
22243 esac
22244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22245 (eval "$ac_try") 2>&5
22246 ac_status=$?
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; }; then
22249 ac_cv_member_sg_io_hdr_t_interface_id=yes
22250 else
22251 echo "$as_me: failed program was:" >&5
22252 sed 's/^/| /' conftest.$ac_ext >&5
22254 cat >conftest.$ac_ext <<_ACEOF
22255 /* confdefs.h. */
22256 _ACEOF
22257 cat confdefs.h >>conftest.$ac_ext
22258 cat >>conftest.$ac_ext <<_ACEOF
22259 /* end confdefs.h. */
22260 #include <sys/types.h>
22261 #ifdef HAVE_SCSI_SG_H
22262 #include <scsi/sg.h>
22263 #endif
22266 main ()
22268 static sg_io_hdr_t ac_aggr;
22269 if (sizeof ac_aggr.interface_id)
22270 return 0;
22272 return 0;
22274 _ACEOF
22275 rm -f conftest.$ac_objext
22276 if { (ac_try="$ac_compile"
22277 case "(($ac_try" in
22278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22279 *) ac_try_echo=$ac_try;;
22280 esac
22281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22282 (eval "$ac_compile") 2>conftest.er1
22283 ac_status=$?
22284 grep -v '^ *+' conftest.er1 >conftest.err
22285 rm -f conftest.er1
22286 cat conftest.err >&5
22287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288 (exit $ac_status); } &&
22289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22290 { (case "(($ac_try" in
22291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22292 *) ac_try_echo=$ac_try;;
22293 esac
22294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22295 (eval "$ac_try") 2>&5
22296 ac_status=$?
22297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22298 (exit $ac_status); }; } &&
22299 { ac_try='test -s conftest.$ac_objext'
22300 { (case "(($ac_try" in
22301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22302 *) ac_try_echo=$ac_try;;
22303 esac
22304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22305 (eval "$ac_try") 2>&5
22306 ac_status=$?
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); }; }; then
22309 ac_cv_member_sg_io_hdr_t_interface_id=yes
22310 else
22311 echo "$as_me: failed program was:" >&5
22312 sed 's/^/| /' conftest.$ac_ext >&5
22314 ac_cv_member_sg_io_hdr_t_interface_id=no
22317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22322 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22323 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22324 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22326 cat >>confdefs.h <<_ACEOF
22327 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22328 _ACEOF
22334 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22335 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22336 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22337 echo $ECHO_N "(cached) $ECHO_C" >&6
22338 else
22339 cat >conftest.$ac_ext <<_ACEOF
22340 /* confdefs.h. */
22341 _ACEOF
22342 cat confdefs.h >>conftest.$ac_ext
22343 cat >>conftest.$ac_ext <<_ACEOF
22344 /* end confdefs.h. */
22345 #include <signal.h>
22348 main ()
22350 static siginfo_t ac_aggr;
22351 if (ac_aggr.si_fd)
22352 return 0;
22354 return 0;
22356 _ACEOF
22357 rm -f conftest.$ac_objext
22358 if { (ac_try="$ac_compile"
22359 case "(($ac_try" in
22360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22361 *) ac_try_echo=$ac_try;;
22362 esac
22363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22364 (eval "$ac_compile") 2>conftest.er1
22365 ac_status=$?
22366 grep -v '^ *+' conftest.er1 >conftest.err
22367 rm -f conftest.er1
22368 cat conftest.err >&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); } &&
22371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22372 { (case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22374 *) ac_try_echo=$ac_try;;
22375 esac
22376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_try") 2>&5
22378 ac_status=$?
22379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380 (exit $ac_status); }; } &&
22381 { ac_try='test -s conftest.$ac_objext'
22382 { (case "(($ac_try" in
22383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22384 *) ac_try_echo=$ac_try;;
22385 esac
22386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22387 (eval "$ac_try") 2>&5
22388 ac_status=$?
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); }; }; then
22391 ac_cv_member_siginfo_t_si_fd=yes
22392 else
22393 echo "$as_me: failed program was:" >&5
22394 sed 's/^/| /' conftest.$ac_ext >&5
22396 cat >conftest.$ac_ext <<_ACEOF
22397 /* confdefs.h. */
22398 _ACEOF
22399 cat confdefs.h >>conftest.$ac_ext
22400 cat >>conftest.$ac_ext <<_ACEOF
22401 /* end confdefs.h. */
22402 #include <signal.h>
22405 main ()
22407 static siginfo_t ac_aggr;
22408 if (sizeof ac_aggr.si_fd)
22409 return 0;
22411 return 0;
22413 _ACEOF
22414 rm -f conftest.$ac_objext
22415 if { (ac_try="$ac_compile"
22416 case "(($ac_try" in
22417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22418 *) ac_try_echo=$ac_try;;
22419 esac
22420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22421 (eval "$ac_compile") 2>conftest.er1
22422 ac_status=$?
22423 grep -v '^ *+' conftest.er1 >conftest.err
22424 rm -f conftest.er1
22425 cat conftest.err >&5
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); } &&
22428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22429 { (case "(($ac_try" in
22430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22431 *) ac_try_echo=$ac_try;;
22432 esac
22433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22434 (eval "$ac_try") 2>&5
22435 ac_status=$?
22436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22437 (exit $ac_status); }; } &&
22438 { ac_try='test -s conftest.$ac_objext'
22439 { (case "(($ac_try" in
22440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22441 *) ac_try_echo=$ac_try;;
22442 esac
22443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22444 (eval "$ac_try") 2>&5
22445 ac_status=$?
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); }; }; then
22448 ac_cv_member_siginfo_t_si_fd=yes
22449 else
22450 echo "$as_me: failed program was:" >&5
22451 sed 's/^/| /' conftest.$ac_ext >&5
22453 ac_cv_member_siginfo_t_si_fd=no
22456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22461 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22462 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22463 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22465 cat >>confdefs.h <<_ACEOF
22466 #define HAVE_SIGINFO_T_SI_FD 1
22467 _ACEOF
22473 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22474 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22475 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22476 echo $ECHO_N "(cached) $ECHO_C" >&6
22477 else
22478 cat >conftest.$ac_ext <<_ACEOF
22479 /* confdefs.h. */
22480 _ACEOF
22481 cat confdefs.h >>conftest.$ac_ext
22482 cat >>conftest.$ac_ext <<_ACEOF
22483 /* end confdefs.h. */
22484 #include <sys/types.h>
22485 #ifdef HAVE_SYS_MTIO_H
22486 #include <sys/mtio.h>
22487 #endif
22490 main ()
22492 static struct mtget ac_aggr;
22493 if (ac_aggr.mt_blksiz)
22494 return 0;
22496 return 0;
22498 _ACEOF
22499 rm -f conftest.$ac_objext
22500 if { (ac_try="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22504 esac
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22507 ac_status=$?
22508 grep -v '^ *+' conftest.er1 >conftest.err
22509 rm -f conftest.er1
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } &&
22513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22514 { (case "(($ac_try" in
22515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22516 *) ac_try_echo=$ac_try;;
22517 esac
22518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22519 (eval "$ac_try") 2>&5
22520 ac_status=$?
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; } &&
22523 { ac_try='test -s conftest.$ac_objext'
22524 { (case "(($ac_try" in
22525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22526 *) ac_try_echo=$ac_try;;
22527 esac
22528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22529 (eval "$ac_try") 2>&5
22530 ac_status=$?
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); }; }; then
22533 ac_cv_member_struct_mtget_mt_blksiz=yes
22534 else
22535 echo "$as_me: failed program was:" >&5
22536 sed 's/^/| /' conftest.$ac_ext >&5
22538 cat >conftest.$ac_ext <<_ACEOF
22539 /* confdefs.h. */
22540 _ACEOF
22541 cat confdefs.h >>conftest.$ac_ext
22542 cat >>conftest.$ac_ext <<_ACEOF
22543 /* end confdefs.h. */
22544 #include <sys/types.h>
22545 #ifdef HAVE_SYS_MTIO_H
22546 #include <sys/mtio.h>
22547 #endif
22550 main ()
22552 static struct mtget ac_aggr;
22553 if (sizeof ac_aggr.mt_blksiz)
22554 return 0;
22556 return 0;
22558 _ACEOF
22559 rm -f conftest.$ac_objext
22560 if { (ac_try="$ac_compile"
22561 case "(($ac_try" in
22562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22563 *) ac_try_echo=$ac_try;;
22564 esac
22565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22566 (eval "$ac_compile") 2>conftest.er1
22567 ac_status=$?
22568 grep -v '^ *+' conftest.er1 >conftest.err
22569 rm -f conftest.er1
22570 cat conftest.err >&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); } &&
22573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22574 { (case "(($ac_try" in
22575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22576 *) ac_try_echo=$ac_try;;
22577 esac
22578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22579 (eval "$ac_try") 2>&5
22580 ac_status=$?
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; } &&
22583 { ac_try='test -s conftest.$ac_objext'
22584 { (case "(($ac_try" in
22585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22586 *) ac_try_echo=$ac_try;;
22587 esac
22588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22589 (eval "$ac_try") 2>&5
22590 ac_status=$?
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; }; then
22593 ac_cv_member_struct_mtget_mt_blksiz=yes
22594 else
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.$ac_ext >&5
22598 ac_cv_member_struct_mtget_mt_blksiz=no
22601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22606 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22607 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22608 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22610 cat >>confdefs.h <<_ACEOF
22611 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22612 _ACEOF
22616 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22617 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22618 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22619 echo $ECHO_N "(cached) $ECHO_C" >&6
22620 else
22621 cat >conftest.$ac_ext <<_ACEOF
22622 /* confdefs.h. */
22623 _ACEOF
22624 cat confdefs.h >>conftest.$ac_ext
22625 cat >>conftest.$ac_ext <<_ACEOF
22626 /* end confdefs.h. */
22627 #include <sys/types.h>
22628 #ifdef HAVE_SYS_MTIO_H
22629 #include <sys/mtio.h>
22630 #endif
22633 main ()
22635 static struct mtget ac_aggr;
22636 if (ac_aggr.mt_gstat)
22637 return 0;
22639 return 0;
22641 _ACEOF
22642 rm -f conftest.$ac_objext
22643 if { (ac_try="$ac_compile"
22644 case "(($ac_try" in
22645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22646 *) ac_try_echo=$ac_try;;
22647 esac
22648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22649 (eval "$ac_compile") 2>conftest.er1
22650 ac_status=$?
22651 grep -v '^ *+' conftest.er1 >conftest.err
22652 rm -f conftest.er1
22653 cat conftest.err >&5
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); } &&
22656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22657 { (case "(($ac_try" in
22658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22659 *) ac_try_echo=$ac_try;;
22660 esac
22661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22662 (eval "$ac_try") 2>&5
22663 ac_status=$?
22664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 (exit $ac_status); }; } &&
22666 { ac_try='test -s conftest.$ac_objext'
22667 { (case "(($ac_try" in
22668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22669 *) ac_try_echo=$ac_try;;
22670 esac
22671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22672 (eval "$ac_try") 2>&5
22673 ac_status=$?
22674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22675 (exit $ac_status); }; }; then
22676 ac_cv_member_struct_mtget_mt_gstat=yes
22677 else
22678 echo "$as_me: failed program was:" >&5
22679 sed 's/^/| /' conftest.$ac_ext >&5
22681 cat >conftest.$ac_ext <<_ACEOF
22682 /* confdefs.h. */
22683 _ACEOF
22684 cat confdefs.h >>conftest.$ac_ext
22685 cat >>conftest.$ac_ext <<_ACEOF
22686 /* end confdefs.h. */
22687 #include <sys/types.h>
22688 #ifdef HAVE_SYS_MTIO_H
22689 #include <sys/mtio.h>
22690 #endif
22693 main ()
22695 static struct mtget ac_aggr;
22696 if (sizeof ac_aggr.mt_gstat)
22697 return 0;
22699 return 0;
22701 _ACEOF
22702 rm -f conftest.$ac_objext
22703 if { (ac_try="$ac_compile"
22704 case "(($ac_try" in
22705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22706 *) ac_try_echo=$ac_try;;
22707 esac
22708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709 (eval "$ac_compile") 2>conftest.er1
22710 ac_status=$?
22711 grep -v '^ *+' conftest.er1 >conftest.err
22712 rm -f conftest.er1
22713 cat conftest.err >&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } &&
22716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22717 { (case "(($ac_try" in
22718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22719 *) ac_try_echo=$ac_try;;
22720 esac
22721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22722 (eval "$ac_try") 2>&5
22723 ac_status=$?
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); }; } &&
22726 { ac_try='test -s conftest.$ac_objext'
22727 { (case "(($ac_try" in
22728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22729 *) ac_try_echo=$ac_try;;
22730 esac
22731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22732 (eval "$ac_try") 2>&5
22733 ac_status=$?
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); }; }; then
22736 ac_cv_member_struct_mtget_mt_gstat=yes
22737 else
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.$ac_ext >&5
22741 ac_cv_member_struct_mtget_mt_gstat=no
22744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22750 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22751 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22753 cat >>confdefs.h <<_ACEOF
22754 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22755 _ACEOF
22759 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22760 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22761 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22762 echo $ECHO_N "(cached) $ECHO_C" >&6
22763 else
22764 cat >conftest.$ac_ext <<_ACEOF
22765 /* confdefs.h. */
22766 _ACEOF
22767 cat confdefs.h >>conftest.$ac_ext
22768 cat >>conftest.$ac_ext <<_ACEOF
22769 /* end confdefs.h. */
22770 #include <sys/types.h>
22771 #ifdef HAVE_SYS_MTIO_H
22772 #include <sys/mtio.h>
22773 #endif
22776 main ()
22778 static struct mtget ac_aggr;
22779 if (ac_aggr.mt_blkno)
22780 return 0;
22782 return 0;
22784 _ACEOF
22785 rm -f conftest.$ac_objext
22786 if { (ac_try="$ac_compile"
22787 case "(($ac_try" in
22788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22789 *) ac_try_echo=$ac_try;;
22790 esac
22791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22792 (eval "$ac_compile") 2>conftest.er1
22793 ac_status=$?
22794 grep -v '^ *+' conftest.er1 >conftest.err
22795 rm -f conftest.er1
22796 cat conftest.err >&5
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); } &&
22799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22800 { (case "(($ac_try" in
22801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22802 *) ac_try_echo=$ac_try;;
22803 esac
22804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22805 (eval "$ac_try") 2>&5
22806 ac_status=$?
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); }; } &&
22809 { ac_try='test -s conftest.$ac_objext'
22810 { (case "(($ac_try" in
22811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22812 *) ac_try_echo=$ac_try;;
22813 esac
22814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22815 (eval "$ac_try") 2>&5
22816 ac_status=$?
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); }; }; then
22819 ac_cv_member_struct_mtget_mt_blkno=yes
22820 else
22821 echo "$as_me: failed program was:" >&5
22822 sed 's/^/| /' conftest.$ac_ext >&5
22824 cat >conftest.$ac_ext <<_ACEOF
22825 /* confdefs.h. */
22826 _ACEOF
22827 cat confdefs.h >>conftest.$ac_ext
22828 cat >>conftest.$ac_ext <<_ACEOF
22829 /* end confdefs.h. */
22830 #include <sys/types.h>
22831 #ifdef HAVE_SYS_MTIO_H
22832 #include <sys/mtio.h>
22833 #endif
22836 main ()
22838 static struct mtget ac_aggr;
22839 if (sizeof ac_aggr.mt_blkno)
22840 return 0;
22842 return 0;
22844 _ACEOF
22845 rm -f conftest.$ac_objext
22846 if { (ac_try="$ac_compile"
22847 case "(($ac_try" in
22848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22849 *) ac_try_echo=$ac_try;;
22850 esac
22851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22852 (eval "$ac_compile") 2>conftest.er1
22853 ac_status=$?
22854 grep -v '^ *+' conftest.er1 >conftest.err
22855 rm -f conftest.er1
22856 cat conftest.err >&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } &&
22859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22860 { (case "(($ac_try" in
22861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22862 *) ac_try_echo=$ac_try;;
22863 esac
22864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22865 (eval "$ac_try") 2>&5
22866 ac_status=$?
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); }; } &&
22869 { ac_try='test -s conftest.$ac_objext'
22870 { (case "(($ac_try" in
22871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22872 *) ac_try_echo=$ac_try;;
22873 esac
22874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22875 (eval "$ac_try") 2>&5
22876 ac_status=$?
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); }; }; then
22879 ac_cv_member_struct_mtget_mt_blkno=yes
22880 else
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.$ac_ext >&5
22884 ac_cv_member_struct_mtget_mt_blkno=no
22887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22892 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22893 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22894 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22896 cat >>confdefs.h <<_ACEOF
22897 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22898 _ACEOF
22904 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22905 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22906 if test "${ac_cv_member_struct_option_name+set}" = set; then
22907 echo $ECHO_N "(cached) $ECHO_C" >&6
22908 else
22909 cat >conftest.$ac_ext <<_ACEOF
22910 /* confdefs.h. */
22911 _ACEOF
22912 cat confdefs.h >>conftest.$ac_ext
22913 cat >>conftest.$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22915 #ifdef HAVE_GETOPT_H
22916 #include <getopt.h>
22917 #endif
22920 main ()
22922 static struct option ac_aggr;
22923 if (ac_aggr.name)
22924 return 0;
22926 return 0;
22928 _ACEOF
22929 rm -f conftest.$ac_objext
22930 if { (ac_try="$ac_compile"
22931 case "(($ac_try" in
22932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22933 *) ac_try_echo=$ac_try;;
22934 esac
22935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22936 (eval "$ac_compile") 2>conftest.er1
22937 ac_status=$?
22938 grep -v '^ *+' conftest.er1 >conftest.err
22939 rm -f conftest.er1
22940 cat conftest.err >&5
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); } &&
22943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22944 { (case "(($ac_try" in
22945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22946 *) ac_try_echo=$ac_try;;
22947 esac
22948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22949 (eval "$ac_try") 2>&5
22950 ac_status=$?
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); }; } &&
22953 { ac_try='test -s conftest.$ac_objext'
22954 { (case "(($ac_try" in
22955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22956 *) ac_try_echo=$ac_try;;
22957 esac
22958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22959 (eval "$ac_try") 2>&5
22960 ac_status=$?
22961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22962 (exit $ac_status); }; }; then
22963 ac_cv_member_struct_option_name=yes
22964 else
22965 echo "$as_me: failed program was:" >&5
22966 sed 's/^/| /' conftest.$ac_ext >&5
22968 cat >conftest.$ac_ext <<_ACEOF
22969 /* confdefs.h. */
22970 _ACEOF
22971 cat confdefs.h >>conftest.$ac_ext
22972 cat >>conftest.$ac_ext <<_ACEOF
22973 /* end confdefs.h. */
22974 #ifdef HAVE_GETOPT_H
22975 #include <getopt.h>
22976 #endif
22979 main ()
22981 static struct option ac_aggr;
22982 if (sizeof ac_aggr.name)
22983 return 0;
22985 return 0;
22987 _ACEOF
22988 rm -f conftest.$ac_objext
22989 if { (ac_try="$ac_compile"
22990 case "(($ac_try" in
22991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22992 *) ac_try_echo=$ac_try;;
22993 esac
22994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22995 (eval "$ac_compile") 2>conftest.er1
22996 ac_status=$?
22997 grep -v '^ *+' conftest.er1 >conftest.err
22998 rm -f conftest.er1
22999 cat conftest.err >&5
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); } &&
23002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23003 { (case "(($ac_try" in
23004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23005 *) ac_try_echo=$ac_try;;
23006 esac
23007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23008 (eval "$ac_try") 2>&5
23009 ac_status=$?
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); }; } &&
23012 { ac_try='test -s conftest.$ac_objext'
23013 { (case "(($ac_try" in
23014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23015 *) ac_try_echo=$ac_try;;
23016 esac
23017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23018 (eval "$ac_try") 2>&5
23019 ac_status=$?
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; }; then
23022 ac_cv_member_struct_option_name=yes
23023 else
23024 echo "$as_me: failed program was:" >&5
23025 sed 's/^/| /' conftest.$ac_ext >&5
23027 ac_cv_member_struct_option_name=no
23030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23035 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23036 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23037 if test $ac_cv_member_struct_option_name = yes; then
23039 cat >>confdefs.h <<_ACEOF
23040 #define HAVE_STRUCT_OPTION_NAME 1
23041 _ACEOF
23047 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23048 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23049 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23050 echo $ECHO_N "(cached) $ECHO_C" >&6
23051 else
23052 cat >conftest.$ac_ext <<_ACEOF
23053 /* confdefs.h. */
23054 _ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 $ac_includes_default
23060 main ()
23062 static struct stat ac_aggr;
23063 if (ac_aggr.st_blocks)
23064 return 0;
23066 return 0;
23068 _ACEOF
23069 rm -f conftest.$ac_objext
23070 if { (ac_try="$ac_compile"
23071 case "(($ac_try" in
23072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23073 *) ac_try_echo=$ac_try;;
23074 esac
23075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23076 (eval "$ac_compile") 2>conftest.er1
23077 ac_status=$?
23078 grep -v '^ *+' conftest.er1 >conftest.err
23079 rm -f conftest.er1
23080 cat conftest.err >&5
23081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23082 (exit $ac_status); } &&
23083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23084 { (case "(($ac_try" in
23085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23086 *) ac_try_echo=$ac_try;;
23087 esac
23088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23089 (eval "$ac_try") 2>&5
23090 ac_status=$?
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); }; } &&
23093 { ac_try='test -s conftest.$ac_objext'
23094 { (case "(($ac_try" in
23095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23096 *) ac_try_echo=$ac_try;;
23097 esac
23098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23099 (eval "$ac_try") 2>&5
23100 ac_status=$?
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23103 ac_cv_member_struct_stat_st_blocks=yes
23104 else
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.$ac_ext >&5
23108 cat >conftest.$ac_ext <<_ACEOF
23109 /* confdefs.h. */
23110 _ACEOF
23111 cat confdefs.h >>conftest.$ac_ext
23112 cat >>conftest.$ac_ext <<_ACEOF
23113 /* end confdefs.h. */
23114 $ac_includes_default
23116 main ()
23118 static struct stat ac_aggr;
23119 if (sizeof ac_aggr.st_blocks)
23120 return 0;
23122 return 0;
23124 _ACEOF
23125 rm -f conftest.$ac_objext
23126 if { (ac_try="$ac_compile"
23127 case "(($ac_try" in
23128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23129 *) ac_try_echo=$ac_try;;
23130 esac
23131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23132 (eval "$ac_compile") 2>conftest.er1
23133 ac_status=$?
23134 grep -v '^ *+' conftest.er1 >conftest.err
23135 rm -f conftest.er1
23136 cat conftest.err >&5
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); } &&
23139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23140 { (case "(($ac_try" in
23141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23142 *) ac_try_echo=$ac_try;;
23143 esac
23144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23145 (eval "$ac_try") 2>&5
23146 ac_status=$?
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; } &&
23149 { ac_try='test -s conftest.$ac_objext'
23150 { (case "(($ac_try" in
23151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23152 *) ac_try_echo=$ac_try;;
23153 esac
23154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23155 (eval "$ac_try") 2>&5
23156 ac_status=$?
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; }; then
23159 ac_cv_member_struct_stat_st_blocks=yes
23160 else
23161 echo "$as_me: failed program was:" >&5
23162 sed 's/^/| /' conftest.$ac_ext >&5
23164 ac_cv_member_struct_stat_st_blocks=no
23167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23172 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23173 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23174 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23176 cat >>confdefs.h <<_ACEOF
23177 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23178 _ACEOF
23184 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23185 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23186 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23187 echo $ECHO_N "(cached) $ECHO_C" >&6
23188 else
23189 cat >conftest.$ac_ext <<_ACEOF
23190 /* confdefs.h. */
23191 _ACEOF
23192 cat confdefs.h >>conftest.$ac_ext
23193 cat >>conftest.$ac_ext <<_ACEOF
23194 /* end confdefs.h. */
23195 #ifdef HAVE_SYS_TYPES_H
23196 #include <sys/types.h>
23197 #endif
23198 #ifdef HAVE_NETINET_IN_H
23199 #include <netinet/in.h>
23200 #endif
23203 main ()
23205 static struct sockaddr_in6 ac_aggr;
23206 if (ac_aggr.sin6_scope_id)
23207 return 0;
23209 return 0;
23211 _ACEOF
23212 rm -f conftest.$ac_objext
23213 if { (ac_try="$ac_compile"
23214 case "(($ac_try" in
23215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23216 *) ac_try_echo=$ac_try;;
23217 esac
23218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23219 (eval "$ac_compile") 2>conftest.er1
23220 ac_status=$?
23221 grep -v '^ *+' conftest.er1 >conftest.err
23222 rm -f conftest.er1
23223 cat conftest.err >&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); } &&
23226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23227 { (case "(($ac_try" in
23228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23229 *) ac_try_echo=$ac_try;;
23230 esac
23231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23232 (eval "$ac_try") 2>&5
23233 ac_status=$?
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; } &&
23236 { ac_try='test -s conftest.$ac_objext'
23237 { (case "(($ac_try" in
23238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23239 *) ac_try_echo=$ac_try;;
23240 esac
23241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23242 (eval "$ac_try") 2>&5
23243 ac_status=$?
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); }; }; then
23246 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23247 else
23248 echo "$as_me: failed program was:" >&5
23249 sed 's/^/| /' conftest.$ac_ext >&5
23251 cat >conftest.$ac_ext <<_ACEOF
23252 /* confdefs.h. */
23253 _ACEOF
23254 cat confdefs.h >>conftest.$ac_ext
23255 cat >>conftest.$ac_ext <<_ACEOF
23256 /* end confdefs.h. */
23257 #ifdef HAVE_SYS_TYPES_H
23258 #include <sys/types.h>
23259 #endif
23260 #ifdef HAVE_NETINET_IN_H
23261 #include <netinet/in.h>
23262 #endif
23265 main ()
23267 static struct sockaddr_in6 ac_aggr;
23268 if (sizeof ac_aggr.sin6_scope_id)
23269 return 0;
23271 return 0;
23273 _ACEOF
23274 rm -f conftest.$ac_objext
23275 if { (ac_try="$ac_compile"
23276 case "(($ac_try" in
23277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23278 *) ac_try_echo=$ac_try;;
23279 esac
23280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23281 (eval "$ac_compile") 2>conftest.er1
23282 ac_status=$?
23283 grep -v '^ *+' conftest.er1 >conftest.err
23284 rm -f conftest.er1
23285 cat conftest.err >&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); } &&
23288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23289 { (case "(($ac_try" in
23290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23291 *) ac_try_echo=$ac_try;;
23292 esac
23293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23294 (eval "$ac_try") 2>&5
23295 ac_status=$?
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); }; } &&
23298 { ac_try='test -s conftest.$ac_objext'
23299 { (case "(($ac_try" in
23300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23301 *) ac_try_echo=$ac_try;;
23302 esac
23303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23304 (eval "$ac_try") 2>&5
23305 ac_status=$?
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; }; then
23308 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23309 else
23310 echo "$as_me: failed program was:" >&5
23311 sed 's/^/| /' conftest.$ac_ext >&5
23313 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23321 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23322 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23323 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23325 cat >>confdefs.h <<_ACEOF
23326 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23327 _ACEOF
23333 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23334 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23335 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23336 echo $ECHO_N "(cached) $ECHO_C" >&6
23337 else
23338 cat >conftest.$ac_ext <<_ACEOF
23339 /* confdefs.h. */
23340 _ACEOF
23341 cat confdefs.h >>conftest.$ac_ext
23342 cat >>conftest.$ac_ext <<_ACEOF
23343 /* end confdefs.h. */
23344 #ifdef HAVE_SYS_TYPES_H
23345 #include <sys/types.h>
23346 #endif
23347 #ifdef HAVE_NETINET_IN_H
23348 # include <netinet/in.h>
23349 #endif
23350 #ifdef HAVE_ARPA_NAMESER_H
23351 # include <arpa/nameser.h>
23352 #endif
23355 main ()
23357 static ns_msg ac_aggr;
23358 if (ac_aggr._msg_ptr)
23359 return 0;
23361 return 0;
23363 _ACEOF
23364 rm -f conftest.$ac_objext
23365 if { (ac_try="$ac_compile"
23366 case "(($ac_try" in
23367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23368 *) ac_try_echo=$ac_try;;
23369 esac
23370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23371 (eval "$ac_compile") 2>conftest.er1
23372 ac_status=$?
23373 grep -v '^ *+' conftest.er1 >conftest.err
23374 rm -f conftest.er1
23375 cat conftest.err >&5
23376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377 (exit $ac_status); } &&
23378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23379 { (case "(($ac_try" in
23380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23381 *) ac_try_echo=$ac_try;;
23382 esac
23383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23384 (eval "$ac_try") 2>&5
23385 ac_status=$?
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); }; } &&
23388 { ac_try='test -s conftest.$ac_objext'
23389 { (case "(($ac_try" in
23390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23391 *) ac_try_echo=$ac_try;;
23392 esac
23393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23394 (eval "$ac_try") 2>&5
23395 ac_status=$?
23396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23397 (exit $ac_status); }; }; then
23398 ac_cv_member_ns_msg__msg_ptr=yes
23399 else
23400 echo "$as_me: failed program was:" >&5
23401 sed 's/^/| /' conftest.$ac_ext >&5
23403 cat >conftest.$ac_ext <<_ACEOF
23404 /* confdefs.h. */
23405 _ACEOF
23406 cat confdefs.h >>conftest.$ac_ext
23407 cat >>conftest.$ac_ext <<_ACEOF
23408 /* end confdefs.h. */
23409 #ifdef HAVE_SYS_TYPES_H
23410 #include <sys/types.h>
23411 #endif
23412 #ifdef HAVE_NETINET_IN_H
23413 # include <netinet/in.h>
23414 #endif
23415 #ifdef HAVE_ARPA_NAMESER_H
23416 # include <arpa/nameser.h>
23417 #endif
23420 main ()
23422 static ns_msg ac_aggr;
23423 if (sizeof ac_aggr._msg_ptr)
23424 return 0;
23426 return 0;
23428 _ACEOF
23429 rm -f conftest.$ac_objext
23430 if { (ac_try="$ac_compile"
23431 case "(($ac_try" in
23432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23433 *) ac_try_echo=$ac_try;;
23434 esac
23435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23436 (eval "$ac_compile") 2>conftest.er1
23437 ac_status=$?
23438 grep -v '^ *+' conftest.er1 >conftest.err
23439 rm -f conftest.er1
23440 cat conftest.err >&5
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); } &&
23443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23444 { (case "(($ac_try" in
23445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23446 *) ac_try_echo=$ac_try;;
23447 esac
23448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23449 (eval "$ac_try") 2>&5
23450 ac_status=$?
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); }; } &&
23453 { ac_try='test -s conftest.$ac_objext'
23454 { (case "(($ac_try" in
23455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23456 *) ac_try_echo=$ac_try;;
23457 esac
23458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23459 (eval "$ac_try") 2>&5
23460 ac_status=$?
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 (exit $ac_status); }; }; then
23463 ac_cv_member_ns_msg__msg_ptr=yes
23464 else
23465 echo "$as_me: failed program was:" >&5
23466 sed 's/^/| /' conftest.$ac_ext >&5
23468 ac_cv_member_ns_msg__msg_ptr=no
23471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23476 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23477 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23478 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23480 cat >>confdefs.h <<_ACEOF
23481 #define HAVE_NS_MSG__MSG_PTR 1
23482 _ACEOF
23488 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23489 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23490 if test "${ac_cv_have_timezone+set}" = set; then
23491 echo $ECHO_N "(cached) $ECHO_C" >&6
23492 else
23493 cat >conftest.$ac_ext <<_ACEOF
23494 /* confdefs.h. */
23495 _ACEOF
23496 cat confdefs.h >>conftest.$ac_ext
23497 cat >>conftest.$ac_ext <<_ACEOF
23498 /* end confdefs.h. */
23499 #include <time.h>
23501 main ()
23503 timezone;
23505 return 0;
23507 _ACEOF
23508 rm -f conftest.$ac_objext conftest$ac_exeext
23509 if { (ac_try="$ac_link"
23510 case "(($ac_try" in
23511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23512 *) ac_try_echo=$ac_try;;
23513 esac
23514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23515 (eval "$ac_link") 2>conftest.er1
23516 ac_status=$?
23517 grep -v '^ *+' conftest.er1 >conftest.err
23518 rm -f conftest.er1
23519 cat conftest.err >&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } &&
23522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23523 { (case "(($ac_try" in
23524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23525 *) ac_try_echo=$ac_try;;
23526 esac
23527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23528 (eval "$ac_try") 2>&5
23529 ac_status=$?
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); }; } &&
23532 { ac_try='test -s conftest$ac_exeext'
23533 { (case "(($ac_try" in
23534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23535 *) ac_try_echo=$ac_try;;
23536 esac
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_try") 2>&5
23539 ac_status=$?
23540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541 (exit $ac_status); }; }; then
23542 ac_cv_have_timezone="yes"
23543 else
23544 echo "$as_me: failed program was:" >&5
23545 sed 's/^/| /' conftest.$ac_ext >&5
23547 ac_cv_have_timezone="no"
23550 rm -f core conftest.err conftest.$ac_objext \
23551 conftest$ac_exeext conftest.$ac_ext
23553 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23554 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23555 if test "$ac_cv_have_timezone" = "yes"
23556 then
23558 cat >>confdefs.h <<\_ACEOF
23559 #define HAVE_TIMEZONE 1
23560 _ACEOF
23563 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23564 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23565 if test "${ac_cv_have_daylight+set}" = set; then
23566 echo $ECHO_N "(cached) $ECHO_C" >&6
23567 else
23568 cat >conftest.$ac_ext <<_ACEOF
23569 /* confdefs.h. */
23570 _ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 #include <time.h>
23576 main ()
23578 daylight;
23580 return 0;
23582 _ACEOF
23583 rm -f conftest.$ac_objext conftest$ac_exeext
23584 if { (ac_try="$ac_link"
23585 case "(($ac_try" in
23586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23587 *) ac_try_echo=$ac_try;;
23588 esac
23589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23590 (eval "$ac_link") 2>conftest.er1
23591 ac_status=$?
23592 grep -v '^ *+' conftest.er1 >conftest.err
23593 rm -f conftest.er1
23594 cat conftest.err >&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); } &&
23597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23598 { (case "(($ac_try" in
23599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23600 *) ac_try_echo=$ac_try;;
23601 esac
23602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23603 (eval "$ac_try") 2>&5
23604 ac_status=$?
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); }; } &&
23607 { ac_try='test -s conftest$ac_exeext'
23608 { (case "(($ac_try" in
23609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23610 *) ac_try_echo=$ac_try;;
23611 esac
23612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23613 (eval "$ac_try") 2>&5
23614 ac_status=$?
23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616 (exit $ac_status); }; }; then
23617 ac_cv_have_daylight="yes"
23618 else
23619 echo "$as_me: failed program was:" >&5
23620 sed 's/^/| /' conftest.$ac_ext >&5
23622 ac_cv_have_daylight="no"
23625 rm -f core conftest.err conftest.$ac_objext \
23626 conftest$ac_exeext conftest.$ac_ext
23628 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23629 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23630 if test "$ac_cv_have_daylight" = "yes"
23631 then
23633 cat >>confdefs.h <<\_ACEOF
23634 #define HAVE_DAYLIGHT 1
23635 _ACEOF
23640 case $host_cpu in
23641 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23642 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23643 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 else
23646 cat >conftest.$ac_ext <<_ACEOF
23647 /* confdefs.h. */
23648 _ACEOF
23649 cat confdefs.h >>conftest.$ac_ext
23650 cat >>conftest.$ac_ext <<_ACEOF
23651 /* end confdefs.h. */
23652 #ifndef __i386__
23654 #endif
23655 _ACEOF
23656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23657 $EGREP "yes" >/dev/null 2>&1; then
23658 ac_cv_cpp_def___i386__=yes
23659 else
23660 ac_cv_cpp_def___i386__=no
23662 rm -f conftest*
23665 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23666 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23667 if test $ac_cv_cpp_def___i386__ = yes; then
23668 CFLAGS="$CFLAGS -D__i386__"
23669 LINTFLAGS="$LINTFLAGS -D__i386__"
23672 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23673 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23674 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23675 echo $ECHO_N "(cached) $ECHO_C" >&6
23676 else
23677 cat >conftest.$ac_ext <<_ACEOF
23678 /* confdefs.h. */
23679 _ACEOF
23680 cat confdefs.h >>conftest.$ac_ext
23681 cat >>conftest.$ac_ext <<_ACEOF
23682 /* end confdefs.h. */
23683 #ifndef __x86_64__
23685 #endif
23686 _ACEOF
23687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23688 $EGREP "yes" >/dev/null 2>&1; then
23689 ac_cv_cpp_def___x86_64__=yes
23690 else
23691 ac_cv_cpp_def___x86_64__=no
23693 rm -f conftest*
23696 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23697 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23698 if test $ac_cv_cpp_def___x86_64__ = yes; then
23699 CFLAGS="$CFLAGS -D__x86_64__"
23700 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23703 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
23704 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
23705 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
23706 echo $ECHO_N "(cached) $ECHO_C" >&6
23707 else
23708 cat >conftest.$ac_ext <<_ACEOF
23709 /* confdefs.h. */
23710 _ACEOF
23711 cat confdefs.h >>conftest.$ac_ext
23712 cat >>conftest.$ac_ext <<_ACEOF
23713 /* end confdefs.h. */
23714 #ifndef _WIN64
23716 #endif
23717 _ACEOF
23718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23719 $EGREP "yes" >/dev/null 2>&1; then
23720 ac_cv_cpp_def__WIN64=yes
23721 else
23722 ac_cv_cpp_def__WIN64=no
23724 rm -f conftest*
23727 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
23728 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
23729 if test $ac_cv_cpp_def__WIN64 = yes; then
23730 CFLAGS="$CFLAGS -D_WIN64"
23731 LINTFLAGS="$LINTFLAGS -D_WIN64"
23734 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23735 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23736 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23737 echo $ECHO_N "(cached) $ECHO_C" >&6
23738 else
23739 cat >conftest.$ac_ext <<_ACEOF
23740 /* confdefs.h. */
23741 _ACEOF
23742 cat confdefs.h >>conftest.$ac_ext
23743 cat >>conftest.$ac_ext <<_ACEOF
23744 /* end confdefs.h. */
23745 #ifndef __ALPHA__
23747 #endif
23748 _ACEOF
23749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23750 $EGREP "yes" >/dev/null 2>&1; then
23751 ac_cv_cpp_def___ALPHA__=yes
23752 else
23753 ac_cv_cpp_def___ALPHA__=no
23755 rm -f conftest*
23758 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23759 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23760 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23761 CFLAGS="$CFLAGS -D__ALPHA__"
23762 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23765 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23766 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23767 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23768 echo $ECHO_N "(cached) $ECHO_C" >&6
23769 else
23770 cat >conftest.$ac_ext <<_ACEOF
23771 /* confdefs.h. */
23772 _ACEOF
23773 cat confdefs.h >>conftest.$ac_ext
23774 cat >>conftest.$ac_ext <<_ACEOF
23775 /* end confdefs.h. */
23776 #ifndef __sparc__
23778 #endif
23779 _ACEOF
23780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23781 $EGREP "yes" >/dev/null 2>&1; then
23782 ac_cv_cpp_def___sparc__=yes
23783 else
23784 ac_cv_cpp_def___sparc__=no
23786 rm -f conftest*
23789 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23790 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23791 if test $ac_cv_cpp_def___sparc__ = yes; then
23792 CFLAGS="$CFLAGS -D__sparc__"
23793 LINTFLAGS="$LINTFLAGS -D__sparc__"
23796 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23797 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23798 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23799 echo $ECHO_N "(cached) $ECHO_C" >&6
23800 else
23801 cat >conftest.$ac_ext <<_ACEOF
23802 /* confdefs.h. */
23803 _ACEOF
23804 cat confdefs.h >>conftest.$ac_ext
23805 cat >>conftest.$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807 #ifndef __powerpc__
23809 #endif
23810 _ACEOF
23811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23812 $EGREP "yes" >/dev/null 2>&1; then
23813 ac_cv_cpp_def___powerpc__=yes
23814 else
23815 ac_cv_cpp_def___powerpc__=no
23817 rm -f conftest*
23820 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23821 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23822 if test $ac_cv_cpp_def___powerpc__ = yes; then
23823 CFLAGS="$CFLAGS -D__powerpc__"
23824 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23827 esac
23829 case $host_vendor in
23830 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23831 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23832 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23833 echo $ECHO_N "(cached) $ECHO_C" >&6
23834 else
23835 cat >conftest.$ac_ext <<_ACEOF
23836 /* confdefs.h. */
23837 _ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841 #ifndef __sun__
23843 #endif
23844 _ACEOF
23845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23846 $EGREP "yes" >/dev/null 2>&1; then
23847 ac_cv_cpp_def___sun__=yes
23848 else
23849 ac_cv_cpp_def___sun__=no
23851 rm -f conftest*
23854 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23855 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23856 if test $ac_cv_cpp_def___sun__ = yes; then
23857 CFLAGS="$CFLAGS -D__sun__"
23858 LINTFLAGS="$LINTFLAGS -D__sun__"
23861 esac
23867 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
23869 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
23871 ac_config_commands="$ac_config_commands dlls/kernel/messages"
23873 ac_config_commands="$ac_config_commands dlls/user/resources"
23875 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23877 ac_config_commands="$ac_config_commands include/wine"
23880 MAKE_RULES=Make.rules
23883 MAKE_DLL_RULES=dlls/Makedll.rules
23886 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23889 MAKE_TEST_RULES=dlls/Maketest.rules
23892 MAKE_PROG_RULES=programs/Makeprog.rules
23895 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"
23898 cat >confcache <<\_ACEOF
23899 # This file is a shell script that caches the results of configure
23900 # tests run on this system so they can be shared between configure
23901 # scripts and configure runs, see configure's option --config-cache.
23902 # It is not useful on other systems. If it contains results you don't
23903 # want to keep, you may remove or edit it.
23905 # config.status only pays attention to the cache file if you give it
23906 # the --recheck option to rerun configure.
23908 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23909 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23910 # following values.
23912 _ACEOF
23914 # The following way of writing the cache mishandles newlines in values,
23915 # but we know of no workaround that is simple, portable, and efficient.
23916 # So, we kill variables containing newlines.
23917 # Ultrix sh set writes to stderr and can't be redirected directly,
23918 # and sets the high bit in the cache file unless we assign to the vars.
23920 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23921 eval ac_val=\$$ac_var
23922 case $ac_val in #(
23923 *${as_nl}*)
23924 case $ac_var in #(
23925 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23926 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23927 esac
23928 case $ac_var in #(
23929 _ | IFS | as_nl) ;; #(
23930 *) $as_unset $ac_var ;;
23931 esac ;;
23932 esac
23933 done
23935 (set) 2>&1 |
23936 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23937 *${as_nl}ac_space=\ *)
23938 # `set' does not quote correctly, so add quotes (double-quote
23939 # substitution turns \\\\ into \\, and sed turns \\ into \).
23940 sed -n \
23941 "s/'/'\\\\''/g;
23942 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23943 ;; #(
23945 # `set' quotes correctly as required by POSIX, so do not add quotes.
23946 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23948 esac |
23949 sort
23951 sed '
23952 /^ac_cv_env_/b end
23953 t clear
23954 :clear
23955 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23956 t end
23957 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23958 :end' >>confcache
23959 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23960 if test -w "$cache_file"; then
23961 test "x$cache_file" != "x/dev/null" &&
23962 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23963 echo "$as_me: updating cache $cache_file" >&6;}
23964 cat confcache >$cache_file
23965 else
23966 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23967 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23970 rm -f confcache
23972 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23973 # Let make expand exec_prefix.
23974 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23976 DEFS=-DHAVE_CONFIG_H
23978 ac_libobjs=
23979 ac_ltlibobjs=
23980 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23981 # 1. Remove the extension, and $U if already installed.
23982 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23983 ac_i=`echo "$ac_i" | sed "$ac_script"`
23984 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23985 # will be set to the directory where LIBOBJS objects are built.
23986 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23987 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23988 done
23989 LIBOBJS=$ac_libobjs
23991 LTLIBOBJS=$ac_ltlibobjs
23995 : ${CONFIG_STATUS=./config.status}
23996 ac_clean_files_save=$ac_clean_files
23997 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23998 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23999 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24000 cat >$CONFIG_STATUS <<_ACEOF
24001 #! $SHELL
24002 # Generated by $as_me.
24003 # Run this file to recreate the current configuration.
24004 # Compiler output produced by configure, useful for debugging
24005 # configure, is in config.log if it exists.
24007 debug=false
24008 ac_cs_recheck=false
24009 ac_cs_silent=false
24010 SHELL=\${CONFIG_SHELL-$SHELL}
24011 _ACEOF
24013 cat >>$CONFIG_STATUS <<\_ACEOF
24014 ## --------------------- ##
24015 ## M4sh Initialization. ##
24016 ## --------------------- ##
24018 # Be Bourne compatible
24019 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24020 emulate sh
24021 NULLCMD=:
24022 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24023 # is contrary to our usage. Disable this feature.
24024 alias -g '${1+"$@"}'='"$@"'
24025 setopt NO_GLOB_SUBST
24026 else
24027 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24029 BIN_SH=xpg4; export BIN_SH # for Tru64
24030 DUALCASE=1; export DUALCASE # for MKS sh
24033 # PATH needs CR
24034 # Avoid depending upon Character Ranges.
24035 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24036 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24037 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24038 as_cr_digits='0123456789'
24039 as_cr_alnum=$as_cr_Letters$as_cr_digits
24041 # The user is always right.
24042 if test "${PATH_SEPARATOR+set}" != set; then
24043 echo "#! /bin/sh" >conf$$.sh
24044 echo "exit 0" >>conf$$.sh
24045 chmod +x conf$$.sh
24046 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24047 PATH_SEPARATOR=';'
24048 else
24049 PATH_SEPARATOR=:
24051 rm -f conf$$.sh
24054 # Support unset when possible.
24055 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24056 as_unset=unset
24057 else
24058 as_unset=false
24062 # IFS
24063 # We need space, tab and new line, in precisely that order. Quoting is
24064 # there to prevent editors from complaining about space-tab.
24065 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24066 # splitting by setting IFS to empty value.)
24067 as_nl='
24069 IFS=" "" $as_nl"
24071 # Find who we are. Look in the path if we contain no directory separator.
24072 case $0 in
24073 *[\\/]* ) as_myself=$0 ;;
24074 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24075 for as_dir in $PATH
24077 IFS=$as_save_IFS
24078 test -z "$as_dir" && as_dir=.
24079 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24080 done
24081 IFS=$as_save_IFS
24084 esac
24085 # We did not find ourselves, most probably we were run as `sh COMMAND'
24086 # in which case we are not to be found in the path.
24087 if test "x$as_myself" = x; then
24088 as_myself=$0
24090 if test ! -f "$as_myself"; then
24091 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24092 { (exit 1); exit 1; }
24095 # Work around bugs in pre-3.0 UWIN ksh.
24096 for as_var in ENV MAIL MAILPATH
24097 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24098 done
24099 PS1='$ '
24100 PS2='> '
24101 PS4='+ '
24103 # NLS nuisances.
24104 for as_var in \
24105 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24106 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24107 LC_TELEPHONE LC_TIME
24109 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24110 eval $as_var=C; export $as_var
24111 else
24112 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24114 done
24116 # Required to use basename.
24117 if expr a : '\(a\)' >/dev/null 2>&1 &&
24118 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24119 as_expr=expr
24120 else
24121 as_expr=false
24124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24125 as_basename=basename
24126 else
24127 as_basename=false
24131 # Name of the executable.
24132 as_me=`$as_basename -- "$0" ||
24133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24134 X"$0" : 'X\(//\)$' \| \
24135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24136 echo X/"$0" |
24137 sed '/^.*\/\([^/][^/]*\)\/*$/{
24138 s//\1/
24141 /^X\/\(\/\/\)$/{
24142 s//\1/
24145 /^X\/\(\/\).*/{
24146 s//\1/
24149 s/.*/./; q'`
24151 # CDPATH.
24152 $as_unset CDPATH
24156 as_lineno_1=$LINENO
24157 as_lineno_2=$LINENO
24158 test "x$as_lineno_1" != "x$as_lineno_2" &&
24159 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24161 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24162 # uniformly replaced by the line number. The first 'sed' inserts a
24163 # line-number line after each line using $LINENO; the second 'sed'
24164 # does the real work. The second script uses 'N' to pair each
24165 # line-number line with the line containing $LINENO, and appends
24166 # trailing '-' during substitution so that $LINENO is not a special
24167 # case at line end.
24168 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24169 # scripts with optimization help from Paolo Bonzini. Blame Lee
24170 # E. McMahon (1931-1989) for sed's syntax. :-)
24171 sed -n '
24173 /[$]LINENO/=
24174 ' <$as_myself |
24175 sed '
24176 s/[$]LINENO.*/&-/
24177 t lineno
24179 :lineno
24181 :loop
24182 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24183 t loop
24184 s/-\n.*//
24185 ' >$as_me.lineno &&
24186 chmod +x "$as_me.lineno" ||
24187 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24188 { (exit 1); exit 1; }; }
24190 # Don't try to exec as it changes $[0], causing all sort of problems
24191 # (the dirname of $[0] is not the place where we might find the
24192 # original and so on. Autoconf is especially sensitive to this).
24193 . "./$as_me.lineno"
24194 # Exit status is that of the last command.
24195 exit
24199 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24200 as_dirname=dirname
24201 else
24202 as_dirname=false
24205 ECHO_C= ECHO_N= ECHO_T=
24206 case `echo -n x` in
24207 -n*)
24208 case `echo 'x\c'` in
24209 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24210 *) ECHO_C='\c';;
24211 esac;;
24213 ECHO_N='-n';;
24214 esac
24216 if expr a : '\(a\)' >/dev/null 2>&1 &&
24217 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24218 as_expr=expr
24219 else
24220 as_expr=false
24223 rm -f conf$$ conf$$.exe conf$$.file
24224 if test -d conf$$.dir; then
24225 rm -f conf$$.dir/conf$$.file
24226 else
24227 rm -f conf$$.dir
24228 mkdir conf$$.dir
24230 echo >conf$$.file
24231 if ln -s conf$$.file conf$$ 2>/dev/null; then
24232 as_ln_s='ln -s'
24233 # ... but there are two gotchas:
24234 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24235 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24236 # In both cases, we have to default to `cp -p'.
24237 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24238 as_ln_s='cp -p'
24239 elif ln conf$$.file conf$$ 2>/dev/null; then
24240 as_ln_s=ln
24241 else
24242 as_ln_s='cp -p'
24244 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24245 rmdir conf$$.dir 2>/dev/null
24247 if mkdir -p . 2>/dev/null; then
24248 as_mkdir_p=:
24249 else
24250 test -d ./-p && rmdir ./-p
24251 as_mkdir_p=false
24254 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24255 # systems may use methods other than mode bits to determine executability.
24256 cat >conf$$.file <<_ASEOF
24257 #! /bin/sh
24258 exit 0
24259 _ASEOF
24260 chmod +x conf$$.file
24261 if test -x conf$$.file >/dev/null 2>&1; then
24262 as_executable_p="test -x"
24263 else
24264 as_executable_p=:
24266 rm -f conf$$.file
24268 # Sed expression to map a string onto a valid CPP name.
24269 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24271 # Sed expression to map a string onto a valid variable name.
24272 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24275 exec 6>&1
24277 # Save the log message, to keep $[0] and so on meaningful, and to
24278 # report actual input values of CONFIG_FILES etc. instead of their
24279 # values after options handling.
24280 ac_log="
24281 This file was extended by Wine $as_me 0.9.19, which was
24282 generated by GNU Autoconf 2.60a. Invocation command line was
24284 CONFIG_FILES = $CONFIG_FILES
24285 CONFIG_HEADERS = $CONFIG_HEADERS
24286 CONFIG_LINKS = $CONFIG_LINKS
24287 CONFIG_COMMANDS = $CONFIG_COMMANDS
24288 $ $0 $@
24290 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24293 _ACEOF
24295 cat >>$CONFIG_STATUS <<_ACEOF
24296 # Files that config.status was made for.
24297 config_files="$ac_config_files"
24298 config_headers="$ac_config_headers"
24299 config_commands="$ac_config_commands"
24301 _ACEOF
24303 cat >>$CONFIG_STATUS <<\_ACEOF
24304 ac_cs_usage="\
24305 \`$as_me' instantiates files from templates according to the
24306 current configuration.
24308 Usage: $0 [OPTIONS] [FILE]...
24310 -h, --help print this help, then exit
24311 -V, --version print version number and configuration settings, then exit
24312 -q, --quiet do not print progress messages
24313 -d, --debug don't remove temporary files
24314 --recheck update $as_me by reconfiguring in the same conditions
24315 --file=FILE[:TEMPLATE]
24316 instantiate the configuration file FILE
24317 --header=FILE[:TEMPLATE]
24318 instantiate the configuration header FILE
24320 Configuration files:
24321 $config_files
24323 Configuration headers:
24324 $config_headers
24326 Configuration commands:
24327 $config_commands
24329 Report bugs to <bug-autoconf@gnu.org>."
24331 _ACEOF
24332 cat >>$CONFIG_STATUS <<_ACEOF
24333 ac_cs_version="\\
24334 Wine config.status 0.9.19
24335 configured by $0, generated by GNU Autoconf 2.60a,
24336 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24338 Copyright (C) 2006 Free Software Foundation, Inc.
24339 This config.status script is free software; the Free Software Foundation
24340 gives unlimited permission to copy, distribute and modify it."
24342 ac_pwd='$ac_pwd'
24343 srcdir='$srcdir'
24344 INSTALL='$INSTALL'
24345 _ACEOF
24347 cat >>$CONFIG_STATUS <<\_ACEOF
24348 # If no file are specified by the user, then we need to provide default
24349 # value. By we need to know if files were specified by the user.
24350 ac_need_defaults=:
24351 while test $# != 0
24353 case $1 in
24354 --*=*)
24355 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24356 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24357 ac_shift=:
24360 ac_option=$1
24361 ac_optarg=$2
24362 ac_shift=shift
24364 esac
24366 case $ac_option in
24367 # Handling of the options.
24368 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24369 ac_cs_recheck=: ;;
24370 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24371 echo "$ac_cs_version"; exit ;;
24372 --debug | --debu | --deb | --de | --d | -d )
24373 debug=: ;;
24374 --file | --fil | --fi | --f )
24375 $ac_shift
24376 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24377 ac_need_defaults=false;;
24378 --header | --heade | --head | --hea )
24379 $ac_shift
24380 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24381 ac_need_defaults=false;;
24382 --he | --h)
24383 # Conflict between --help and --header
24384 { echo "$as_me: error: ambiguous option: $1
24385 Try \`$0 --help' for more information." >&2
24386 { (exit 1); exit 1; }; };;
24387 --help | --hel | -h )
24388 echo "$ac_cs_usage"; exit ;;
24389 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24390 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24391 ac_cs_silent=: ;;
24393 # This is an error.
24394 -*) { echo "$as_me: error: unrecognized option: $1
24395 Try \`$0 --help' for more information." >&2
24396 { (exit 1); exit 1; }; } ;;
24398 *) ac_config_targets="$ac_config_targets $1"
24399 ac_need_defaults=false ;;
24401 esac
24402 shift
24403 done
24405 ac_configure_extra_args=
24407 if $ac_cs_silent; then
24408 exec 6>/dev/null
24409 ac_configure_extra_args="$ac_configure_extra_args --silent"
24412 _ACEOF
24413 cat >>$CONFIG_STATUS <<_ACEOF
24414 if \$ac_cs_recheck; then
24415 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24416 CONFIG_SHELL=$SHELL
24417 export CONFIG_SHELL
24418 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24421 _ACEOF
24422 cat >>$CONFIG_STATUS <<\_ACEOF
24423 exec 5>>config.log
24425 echo
24426 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24427 ## Running $as_me. ##
24428 _ASBOX
24429 echo "$ac_log"
24430 } >&5
24432 _ACEOF
24433 cat >>$CONFIG_STATUS <<_ACEOF
24434 _ACEOF
24436 cat >>$CONFIG_STATUS <<\_ACEOF
24438 # Handling of arguments.
24439 for ac_config_target in $ac_config_targets
24441 case $ac_config_target in
24442 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24443 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24444 "dlls/gdi/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24445 "dlls/kernel/messages") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24446 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24447 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24448 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24449 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24450 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24451 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24452 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24453 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24454 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24455 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24456 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24457 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24458 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24459 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24460 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24461 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24462 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24463 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24464 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24465 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24466 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24467 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24468 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24469 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24470 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24471 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24472 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24473 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24474 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24475 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24476 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24477 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24478 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24479 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24480 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24481 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24482 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24483 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24484 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24485 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24486 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24487 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24488 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24489 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24490 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24491 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24492 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24493 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24494 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24495 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24496 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24497 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24498 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24499 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24500 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24501 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24502 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24503 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24504 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24505 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24506 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24507 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24508 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24509 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24510 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24511 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24512 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24513 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24514 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24515 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24516 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24517 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24518 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24519 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24520 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24521 "dlls/gdi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
24522 "dlls/gdi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24523 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24524 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24525 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24526 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24527 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
24528 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24529 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24530 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24531 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24532 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24533 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24534 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24535 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24536 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24537 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24538 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24539 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24540 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24541 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24542 "dlls/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
24543 "dlls/kernel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
24544 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24545 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24546 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24547 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24548 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24549 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24550 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24551 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24552 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24553 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24554 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24555 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24556 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24557 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24558 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24559 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24560 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24561 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24562 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24563 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24564 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24565 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24566 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24567 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24568 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24569 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24570 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24571 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24572 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24573 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24574 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24575 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24576 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24577 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24578 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24579 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24580 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24581 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24582 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24583 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24584 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24585 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24586 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24587 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24588 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24589 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24590 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24591 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24592 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24593 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24594 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24595 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24596 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24597 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24598 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24599 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24600 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24601 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24602 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24603 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24604 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24605 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24606 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24607 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24608 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24609 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24610 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24611 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24612 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24613 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24614 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24615 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24616 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24617 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24618 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24619 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24620 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24621 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24622 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24623 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24624 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24625 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24626 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24627 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24628 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24629 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24630 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24631 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24632 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24633 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24634 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24635 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24636 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24637 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24638 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24639 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24640 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24641 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24642 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24643 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24644 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24645 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24646 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24647 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24648 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24649 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24650 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24651 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24652 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
24653 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24654 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24655 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24656 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24657 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
24658 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24659 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24660 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24661 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24662 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
24663 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24664 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24665 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24666 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24667 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24668 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24669 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24670 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24671 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24672 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
24673 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24674 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24675 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24676 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
24677 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24678 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
24679 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24680 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24681 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24682 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24683 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24684 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24685 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24686 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24687 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24688 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24689 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24690 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24691 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24692 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24693 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24694 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24695 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24696 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
24697 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24698 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24699 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24700 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24701 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
24702 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
24703 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
24704 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
24705 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
24706 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
24707 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
24708 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
24709 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
24710 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
24711 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24712 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
24713 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
24714 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
24715 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
24716 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
24717 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
24718 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
24719 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
24720 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
24721 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
24722 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
24723 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
24724 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24725 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
24726 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
24727 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
24728 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24729 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24730 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
24731 "programs/wcmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
24732 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
24733 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24734 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
24735 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24736 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
24737 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
24738 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24739 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
24740 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
24741 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
24742 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
24743 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
24744 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
24745 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
24746 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
24747 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24748 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
24749 "tools/winapi/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
24750 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
24751 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
24752 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
24753 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
24754 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
24756 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24757 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24758 { (exit 1); exit 1; }; };;
24759 esac
24760 done
24763 # If the user did not use the arguments to specify the items to instantiate,
24764 # then the envvar interface is used. Set only those that are not.
24765 # We use the long form for the default assignment because of an extremely
24766 # bizarre bug on SunOS 4.1.3.
24767 if $ac_need_defaults; then
24768 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24769 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24770 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24773 # Have a temporary directory for convenience. Make it in the build tree
24774 # simply because there is no reason against having it here, and in addition,
24775 # creating and moving files from /tmp can sometimes cause problems.
24776 # Hook for its removal unless debugging.
24777 # Note that there is a small window in which the directory will not be cleaned:
24778 # after its creation but before its name has been assigned to `$tmp'.
24779 $debug ||
24781 tmp=
24782 trap 'exit_status=$?
24783 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24785 trap '{ (exit 1); exit 1; }' 1 2 13 15
24787 # Create a (secure) tmp directory for tmp files.
24790 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24791 test -n "$tmp" && test -d "$tmp"
24792 } ||
24794 tmp=./conf$$-$RANDOM
24795 (umask 077 && mkdir "$tmp")
24796 } ||
24798 echo "$me: cannot create a temporary directory in ." >&2
24799 { (exit 1); exit 1; }
24803 # Set up the sed scripts for CONFIG_FILES section.
24806 # No need to generate the scripts if there are no CONFIG_FILES.
24807 # This happens for instance when ./config.status config.h
24808 if test -n "$CONFIG_FILES"; then
24810 _ACEOF
24812 # Create sed commands to just substitute file output variables.
24814 # Remaining file output variables are in a fragment that also has non-file
24815 # output varibles.
24819 ac_delim='%!_!# '
24820 for ac_last_try in false false false false false :; do
24821 cat >conf$$subs.sed <<_ACEOF
24822 SHELL!$SHELL$ac_delim
24823 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24824 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24825 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24826 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24827 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24828 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24829 exec_prefix!$exec_prefix$ac_delim
24830 prefix!$prefix$ac_delim
24831 program_transform_name!$program_transform_name$ac_delim
24832 bindir!$bindir$ac_delim
24833 sbindir!$sbindir$ac_delim
24834 libexecdir!$libexecdir$ac_delim
24835 datarootdir!$datarootdir$ac_delim
24836 datadir!$datadir$ac_delim
24837 sysconfdir!$sysconfdir$ac_delim
24838 sharedstatedir!$sharedstatedir$ac_delim
24839 localstatedir!$localstatedir$ac_delim
24840 includedir!$includedir$ac_delim
24841 oldincludedir!$oldincludedir$ac_delim
24842 docdir!$docdir$ac_delim
24843 infodir!$infodir$ac_delim
24844 htmldir!$htmldir$ac_delim
24845 dvidir!$dvidir$ac_delim
24846 pdfdir!$pdfdir$ac_delim
24847 psdir!$psdir$ac_delim
24848 libdir!$libdir$ac_delim
24849 localedir!$localedir$ac_delim
24850 mandir!$mandir$ac_delim
24851 DEFS!$DEFS$ac_delim
24852 ECHO_C!$ECHO_C$ac_delim
24853 ECHO_N!$ECHO_N$ac_delim
24854 ECHO_T!$ECHO_T$ac_delim
24855 LIBS!$LIBS$ac_delim
24856 build_alias!$build_alias$ac_delim
24857 host_alias!$host_alias$ac_delim
24858 target_alias!$target_alias$ac_delim
24859 build!$build$ac_delim
24860 build_cpu!$build_cpu$ac_delim
24861 build_vendor!$build_vendor$ac_delim
24862 build_os!$build_os$ac_delim
24863 host!$host$ac_delim
24864 host_cpu!$host_cpu$ac_delim
24865 host_vendor!$host_vendor$ac_delim
24866 host_os!$host_os$ac_delim
24867 WIN16_FILES!$WIN16_FILES$ac_delim
24868 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24869 SET_MAKE!$SET_MAKE$ac_delim
24870 CC!$CC$ac_delim
24871 CFLAGS!$CFLAGS$ac_delim
24872 LDFLAGS!$LDFLAGS$ac_delim
24873 CPPFLAGS!$CPPFLAGS$ac_delim
24874 ac_ct_CC!$ac_ct_CC$ac_delim
24875 EXEEXT!$EXEEXT$ac_delim
24876 OBJEXT!$OBJEXT$ac_delim
24877 CXX!$CXX$ac_delim
24878 CXXFLAGS!$CXXFLAGS$ac_delim
24879 ac_ct_CXX!$ac_ct_CXX$ac_delim
24880 CPPBIN!$CPPBIN$ac_delim
24881 TOOLSDIR!$TOOLSDIR$ac_delim
24882 XMKMF!$XMKMF$ac_delim
24883 CPP!$CPP$ac_delim
24884 X_CFLAGS!$X_CFLAGS$ac_delim
24885 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24886 X_LIBS!$X_LIBS$ac_delim
24887 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24888 LEX!$LEX$ac_delim
24889 LEXLIB!$LEXLIB$ac_delim
24890 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24891 XLEX!$XLEX$ac_delim
24892 BISON!$BISON$ac_delim
24893 AS!$AS$ac_delim
24894 ac_ct_AS!$ac_ct_AS$ac_delim
24895 LD!$LD$ac_delim
24896 AR!$AR$ac_delim
24897 RANLIB!$RANLIB$ac_delim
24898 STRIP!$STRIP$ac_delim
24899 WINDRES!$WINDRES$ac_delim
24900 LN_S!$LN_S$ac_delim
24901 LN!$LN$ac_delim
24902 GREP!$GREP$ac_delim
24903 EGREP!$EGREP$ac_delim
24904 _ACEOF
24906 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24907 break
24908 elif $ac_last_try; then
24909 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24910 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24911 { (exit 1); exit 1; }; }
24912 else
24913 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24915 done
24917 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24918 if test -n "$ac_eof"; then
24919 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24920 ac_eof=`expr $ac_eof + 1`
24923 cat >>$CONFIG_STATUS <<_ACEOF
24924 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24925 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24926 /^[ ]*@MAKE_RULES@[ ]*$/{
24927 r $MAKE_RULES
24930 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24931 r $MAKE_DLL_RULES
24934 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24935 r $MAKE_IMPLIB_RULES
24938 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24939 r $MAKE_TEST_RULES
24942 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24943 r $MAKE_PROG_RULES
24946 _ACEOF
24947 sed '
24948 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24949 s/^/s,@/; s/!/@,|#_!!_#|/
24952 s/'"$ac_delim"'$/,g/; t
24953 s/$/\\/; p
24954 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24955 ' >>$CONFIG_STATUS <conf$$subs.sed
24956 rm -f conf$$subs.sed
24957 cat >>$CONFIG_STATUS <<_ACEOF
24958 CEOF$ac_eof
24959 _ACEOF
24962 ac_delim='%!_!# '
24963 for ac_last_try in false false false false false :; do
24964 cat >conf$$subs.sed <<_ACEOF
24965 LDCONFIG!$LDCONFIG$ac_delim
24966 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24967 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24968 INSTALL_DATA!$INSTALL_DATA$ac_delim
24969 LINT!$LINT$ac_delim
24970 LINTFLAGS!$LINTFLAGS$ac_delim
24971 FONTFORGE!$FONTFORGE$ac_delim
24972 PKG_CONFIG!$PKG_CONFIG$ac_delim
24973 PRELINK!$PRELINK$ac_delim
24974 LIBPTHREAD!$LIBPTHREAD$ac_delim
24975 XLIB!$XLIB$ac_delim
24976 XFILES!$XFILES$ac_delim
24977 OPENGLFILES!$OPENGLFILES$ac_delim
24978 GLU32FILES!$GLU32FILES$ac_delim
24979 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24980 GLUT_LIBS!$GLUT_LIBS$ac_delim
24981 GLUT32FILES!$GLUT32FILES$ac_delim
24982 NASLIBS!$NASLIBS$ac_delim
24983 XML2LIBS!$XML2LIBS$ac_delim
24984 XML2INCL!$XML2INCL$ac_delim
24985 XSLTLIBS!$XSLTLIBS$ac_delim
24986 XSLTINCL!$XSLTINCL$ac_delim
24987 HALINCL!$HALINCL$ac_delim
24988 CURSESLIBS!$CURSESLIBS$ac_delim
24989 sane_devel!$sane_devel$ac_delim
24990 SANELIBS!$SANELIBS$ac_delim
24991 SANEINCL!$SANEINCL$ac_delim
24992 gphoto2_devel!$gphoto2_devel$ac_delim
24993 gphoto2port_devel!$gphoto2port_devel$ac_delim
24994 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24995 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24996 ICULIBS!$ICULIBS$ac_delim
24997 RESOLVLIBS!$RESOLVLIBS$ac_delim
24998 LCMSLIBS!$LCMSLIBS$ac_delim
24999 LDAPLIBS!$LDAPLIBS$ac_delim
25000 FREETYPELIBS!$FREETYPELIBS$ac_delim
25001 FREETYPEINCL!$FREETYPEINCL$ac_delim
25002 ft_devel!$ft_devel$ac_delim
25003 ft_devel2!$ft_devel2$ac_delim
25004 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25005 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25006 ARTSLIBS!$ARTSLIBS$ac_delim
25007 ARTSINCL!$ARTSINCL$ac_delim
25008 ESDCONFIG!$ESDCONFIG$ac_delim
25009 ESDLIBS!$ESDLIBS$ac_delim
25010 ESDINCL!$ESDINCL$ac_delim
25011 ALSALIBS!$ALSALIBS$ac_delim
25012 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25013 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25014 BUILTINFLAG!$BUILTINFLAG$ac_delim
25015 DLLEXT!$DLLEXT$ac_delim
25016 DLLFLAGS!$DLLFLAGS$ac_delim
25017 LDSHARED!$LDSHARED$ac_delim
25018 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25019 LIBEXT!$LIBEXT$ac_delim
25020 IMPLIBEXT!$IMPLIBEXT$ac_delim
25021 DLLTOOL!$DLLTOOL$ac_delim
25022 DLLWRAP!$DLLWRAP$ac_delim
25023 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25024 IOKITLIB!$IOKITLIB$ac_delim
25025 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25026 COREAUDIO!$COREAUDIO$ac_delim
25027 LDEXERPATH!$LDEXERPATH$ac_delim
25028 CROSSTEST!$CROSSTEST$ac_delim
25029 CROSSCC!$CROSSCC$ac_delim
25030 CROSSWINDRES!$CROSSWINDRES$ac_delim
25031 LDPATH!$LDPATH$ac_delim
25032 CRTLIBS!$CRTLIBS$ac_delim
25033 SOCKETLIBS!$SOCKETLIBS$ac_delim
25034 MAIN_BINARY!$MAIN_BINARY$ac_delim
25035 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25036 LDD!$LDD$ac_delim
25037 LIBDL!$LIBDL$ac_delim
25038 LIBPOLL!$LIBPOLL$ac_delim
25039 LIBOBJS!$LIBOBJS$ac_delim
25040 LTLIBOBJS!$LTLIBOBJS$ac_delim
25041 _ACEOF
25043 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
25044 break
25045 elif $ac_last_try; then
25046 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25047 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25048 { (exit 1); exit 1; }; }
25049 else
25050 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25052 done
25054 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25055 if test -n "$ac_eof"; then
25056 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25057 ac_eof=`expr $ac_eof + 1`
25060 cat >>$CONFIG_STATUS <<_ACEOF
25061 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25062 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25063 _ACEOF
25064 sed '
25065 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25066 s/^/s,@/; s/!/@,|#_!!_#|/
25069 s/'"$ac_delim"'$/,g/; t
25070 s/$/\\/; p
25071 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25072 ' >>$CONFIG_STATUS <conf$$subs.sed
25073 rm -f conf$$subs.sed
25074 cat >>$CONFIG_STATUS <<_ACEOF
25075 :end
25076 s/|#_!!_#|//g
25077 CEOF$ac_eof
25078 _ACEOF
25081 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25082 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25083 # trailing colons and then remove the whole line if VPATH becomes empty
25084 # (actually we leave an empty line to preserve line numbers).
25085 if test "x$srcdir" = x.; then
25086 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25087 s/:*\$(srcdir):*/:/
25088 s/:*\${srcdir}:*/:/
25089 s/:*@srcdir@:*/:/
25090 s/^\([^=]*=[ ]*\):*/\1/
25091 s/:*$//
25092 s/^[^=]*=[ ]*$//
25096 cat >>$CONFIG_STATUS <<\_ACEOF
25097 fi # test -n "$CONFIG_FILES"
25100 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
25102 case $ac_tag in
25103 :[FHLC]) ac_mode=$ac_tag; continue;;
25104 esac
25105 case $ac_mode$ac_tag in
25106 :[FHL]*:*);;
25107 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25108 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25109 { (exit 1); exit 1; }; };;
25110 :[FH]-) ac_tag=-:-;;
25111 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25112 esac
25113 ac_save_IFS=$IFS
25114 IFS=:
25115 set x $ac_tag
25116 IFS=$ac_save_IFS
25117 shift
25118 ac_file=$1
25119 shift
25121 case $ac_mode in
25122 :L) ac_source=$1;;
25123 :[FH])
25124 ac_file_inputs=
25125 for ac_f
25127 case $ac_f in
25128 -) ac_f="$tmp/stdin";;
25129 *) # Look for the file first in the build tree, then in the source tree
25130 # (if the path is not absolute). The absolute path cannot be DOS-style,
25131 # because $ac_f cannot contain `:'.
25132 test -f "$ac_f" ||
25133 case $ac_f in
25134 [\\/$]*) false;;
25135 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25136 esac ||
25137 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25138 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25139 { (exit 1); exit 1; }; };;
25140 esac
25141 ac_file_inputs="$ac_file_inputs $ac_f"
25142 done
25144 # Let's still pretend it is `configure' which instantiates (i.e., don't
25145 # use $as_me), people would be surprised to read:
25146 # /* config.h. Generated by config.status. */
25147 configure_input="Generated from "`IFS=:
25148 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25149 if test x"$ac_file" != x-; then
25150 configure_input="$ac_file. $configure_input"
25151 { echo "$as_me:$LINENO: creating $ac_file" >&5
25152 echo "$as_me: creating $ac_file" >&6;}
25155 case $ac_tag in
25156 *:-:* | *:-) cat >"$tmp/stdin";;
25157 esac
25159 esac
25161 ac_dir=`$as_dirname -- "$ac_file" ||
25162 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25163 X"$ac_file" : 'X\(//\)[^/]' \| \
25164 X"$ac_file" : 'X\(//\)$' \| \
25165 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25166 echo X"$ac_file" |
25167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25168 s//\1/
25171 /^X\(\/\/\)[^/].*/{
25172 s//\1/
25175 /^X\(\/\/\)$/{
25176 s//\1/
25179 /^X\(\/\).*/{
25180 s//\1/
25183 s/.*/./; q'`
25184 { as_dir="$ac_dir"
25185 case $as_dir in #(
25186 -*) as_dir=./$as_dir;;
25187 esac
25188 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25189 as_dirs=
25190 while :; do
25191 case $as_dir in #(
25192 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25193 *) as_qdir=$as_dir;;
25194 esac
25195 as_dirs="'$as_qdir' $as_dirs"
25196 as_dir=`$as_dirname -- "$as_dir" ||
25197 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25198 X"$as_dir" : 'X\(//\)[^/]' \| \
25199 X"$as_dir" : 'X\(//\)$' \| \
25200 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25201 echo X"$as_dir" |
25202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25203 s//\1/
25206 /^X\(\/\/\)[^/].*/{
25207 s//\1/
25210 /^X\(\/\/\)$/{
25211 s//\1/
25214 /^X\(\/\).*/{
25215 s//\1/
25218 s/.*/./; q'`
25219 test -d "$as_dir" && break
25220 done
25221 test -z "$as_dirs" || eval "mkdir $as_dirs"
25222 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25223 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25224 { (exit 1); exit 1; }; }; }
25225 ac_builddir=.
25227 case "$ac_dir" in
25228 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25230 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25231 # A ".." for each directory in $ac_dir_suffix.
25232 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25233 case $ac_top_builddir_sub in
25234 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25235 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25236 esac ;;
25237 esac
25238 ac_abs_top_builddir=$ac_pwd
25239 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25240 # for backward compatibility:
25241 ac_top_builddir=$ac_top_build_prefix
25243 case $srcdir in
25244 .) # We are building in place.
25245 ac_srcdir=.
25246 ac_top_srcdir=$ac_top_builddir_sub
25247 ac_abs_top_srcdir=$ac_pwd ;;
25248 [\\/]* | ?:[\\/]* ) # Absolute name.
25249 ac_srcdir=$srcdir$ac_dir_suffix;
25250 ac_top_srcdir=$srcdir
25251 ac_abs_top_srcdir=$srcdir ;;
25252 *) # Relative name.
25253 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25254 ac_top_srcdir=$ac_top_build_prefix$srcdir
25255 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25256 esac
25257 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25260 case $ac_mode in
25263 # CONFIG_FILE
25266 case $INSTALL in
25267 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25268 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25269 esac
25270 _ACEOF
25272 cat >>$CONFIG_STATUS <<\_ACEOF
25273 # If the template does not know about datarootdir, expand it.
25274 # FIXME: This hack should be removed a few years after 2.60.
25275 ac_datarootdir_hack=; ac_datarootdir_seen=
25277 case `sed -n '/datarootdir/ {
25281 /@datadir@/p
25282 /@docdir@/p
25283 /@infodir@/p
25284 /@localedir@/p
25285 /@mandir@/p
25286 ' $ac_file_inputs` in
25287 *datarootdir*) ac_datarootdir_seen=yes;;
25288 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25289 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25290 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25291 _ACEOF
25292 cat >>$CONFIG_STATUS <<_ACEOF
25293 ac_datarootdir_hack='
25294 s&@datadir@&$datadir&g
25295 s&@docdir@&$docdir&g
25296 s&@infodir@&$infodir&g
25297 s&@localedir@&$localedir&g
25298 s&@mandir@&$mandir&g
25299 s&\\\${datarootdir}&$datarootdir&g' ;;
25300 esac
25301 _ACEOF
25303 # Neutralize VPATH when `$srcdir' = `.'.
25304 # Shell code in configure.ac might set extrasub.
25305 # FIXME: do we really want to maintain this feature?
25306 cat >>$CONFIG_STATUS <<_ACEOF
25307 sed "$ac_vpsub
25308 $extrasub
25309 _ACEOF
25310 cat >>$CONFIG_STATUS <<\_ACEOF
25312 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25313 s&@configure_input@&$configure_input&;t t
25314 s&@top_builddir@&$ac_top_builddir_sub&;t t
25315 s&@srcdir@&$ac_srcdir&;t t
25316 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25317 s&@top_srcdir@&$ac_top_srcdir&;t t
25318 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25319 s&@builddir@&$ac_builddir&;t t
25320 s&@abs_builddir@&$ac_abs_builddir&;t t
25321 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25322 s&@INSTALL@&$ac_INSTALL&;t t
25323 $ac_datarootdir_hack
25324 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25326 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25327 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25328 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25329 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25330 which seems to be undefined. Please make sure it is defined." >&5
25331 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25332 which seems to be undefined. Please make sure it is defined." >&2;}
25334 rm -f "$tmp/stdin"
25335 case $ac_file in
25336 -) cat "$tmp/out"; rm -f "$tmp/out";;
25337 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25338 esac
25342 # CONFIG_HEADER
25344 _ACEOF
25346 # Transform confdefs.h into a sed script `conftest.defines', that
25347 # substitutes the proper values into config.h.in to produce config.h.
25348 rm -f conftest.defines conftest.tail
25349 # First, append a space to every undef/define line, to ease matching.
25350 echo 's/$/ /' >conftest.defines
25351 # Then, protect against being on the right side of a sed subst, or in
25352 # an unquoted here document, in config.status. If some macros were
25353 # called several times there might be several #defines for the same
25354 # symbol, which is useless. But do not sort them, since the last
25355 # AC_DEFINE must be honored.
25356 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25357 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25358 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25359 # PARAMS is the parameter list in the macro definition--in most cases, it's
25360 # just an empty string.
25361 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25362 ac_dB='\\)[ (].*,\\1define\\2'
25363 ac_dC=' '
25364 ac_dD=' ,'
25366 uniq confdefs.h |
25367 sed -n '
25368 t rset
25369 :rset
25370 s/^[ ]*#[ ]*define[ ][ ]*//
25371 t ok
25374 s/[\\&,]/\\&/g
25375 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25376 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25377 ' >>conftest.defines
25379 # Remove the space that was appended to ease matching.
25380 # Then replace #undef with comments. This is necessary, for
25381 # example, in the case of _POSIX_SOURCE, which is predefined and required
25382 # on some systems where configure will not decide to define it.
25383 # (The regexp can be short, since the line contains either #define or #undef.)
25384 echo 's/ $//
25385 s,^[ #]*u.*,/* & */,' >>conftest.defines
25387 # Break up conftest.defines:
25388 ac_max_sed_lines=50
25390 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25391 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25392 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25393 # et cetera.
25394 ac_in='$ac_file_inputs'
25395 ac_out='"$tmp/out1"'
25396 ac_nxt='"$tmp/out2"'
25398 while :
25400 # Write a here document:
25401 cat >>$CONFIG_STATUS <<_ACEOF
25402 # First, check the format of the line:
25403 cat >"\$tmp/defines.sed" <<\\CEOF
25404 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25405 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25407 :def
25408 _ACEOF
25409 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25410 echo 'CEOF
25411 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25412 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25413 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25414 grep . conftest.tail >/dev/null || break
25415 rm -f conftest.defines
25416 mv conftest.tail conftest.defines
25417 done
25418 rm -f conftest.defines conftest.tail
25420 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25421 cat >>$CONFIG_STATUS <<\_ACEOF
25422 if test x"$ac_file" != x-; then
25423 echo "/* $configure_input */" >"$tmp/config.h"
25424 cat "$ac_result" >>"$tmp/config.h"
25425 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25426 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25427 echo "$as_me: $ac_file is unchanged" >&6;}
25428 else
25429 rm -f $ac_file
25430 mv "$tmp/config.h" $ac_file
25432 else
25433 echo "/* $configure_input */"
25434 cat "$ac_result"
25436 rm -f "$tmp/out12"
25439 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25440 echo "$as_me: executing $ac_file commands" >&6;}
25442 esac
25445 case $ac_file$ac_mode in
25446 "dlls/gdi/enhmfdrv":C) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25447 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
25448 "dlls/gdi/mfdrv":C) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25449 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
25450 "dlls/kernel/messages":C) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25451 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
25452 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25453 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25454 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25455 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25456 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25457 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25459 esac
25460 done # for ac_tag
25463 { (exit 0); exit 0; }
25464 _ACEOF
25465 chmod +x $CONFIG_STATUS
25466 ac_clean_files=$ac_clean_files_save
25469 # configure is writing to config.log, and then calls config.status.
25470 # config.status does its own redirection, appending to config.log.
25471 # Unfortunately, on DOS this fails, as config.log is still kept open
25472 # by configure, so config.status won't be able to write to it; its
25473 # output is simply discarded. So we exec the FD to /dev/null,
25474 # effectively closing config.log, so it can be properly (re)opened and
25475 # appended to by config.status. When coming back to configure, we
25476 # need to make the FD available again.
25477 if test "$no_create" != yes; then
25478 ac_cs_success=:
25479 ac_config_status_args=
25480 test "$silent" = yes &&
25481 ac_config_status_args="$ac_config_status_args --quiet"
25482 exec 5>/dev/null
25483 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25484 exec 5>>config.log
25485 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25486 # would make configure fail if this is the last instruction.
25487 $ac_cs_success || { (exit 1); exit 1; }
25491 if test "$have_x" = "no"
25492 then
25493 echo >&2
25494 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25495 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25496 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25497 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25498 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25499 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25500 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25501 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25504 if test "$wine_cv_opengl_version_OK" = "no"
25505 then
25506 echo >&2
25507 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
25508 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
25509 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25510 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25513 if test "$wine_cv_msg_freetype" = "yes"
25514 then
25515 echo >&2
25516 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25517 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25518 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25519 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25520 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25521 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25522 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25523 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25526 if test -z "$FONTSSUBDIRS"
25527 then
25528 echo >&2
25529 if test "$FONTFORGE" = "false"
25530 then
25531 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25532 echo "$as_me: WARNING: FontForge is missing." >&2;}
25533 else
25534 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25535 echo "$as_me: WARNING: FreeType is missing." >&2;}
25537 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25538 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25541 if test -z "$ALSALIBS" -a \
25542 -z "$ARTSC_LIBS" -a \
25543 -z "$AUDIOIOLIBS" -a \
25544 -z "$NASLIBS" -a \
25545 -z "$ESD_LIBS" -a \
25546 -z "$ac_cv_lib_soname_jack" -a \
25547 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25548 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25549 "$ac_cv_header_soundcard_h" != "yes"
25550 then
25551 echo >&2
25552 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25553 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25554 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25555 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25556 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25557 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25560 echo
25561 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
25562 echo