mlang.idl: Added IMultiLanguage3 declaration.
[wine/multimedia.git] / configure
blobf96eb86a05c2f120f719656bb3484541b7ad152f
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
7665 for ac_header in \
7666 AudioUnit/AudioUnit.h \
7667 CoreAudio/CoreAudio.h \
7668 IOKit/IOKitLib.h \
7669 alsa/asoundlib.h \
7670 arpa/inet.h \
7671 arpa/nameser.h \
7672 asm/types.h \
7673 capi20.h \
7674 cups/cups.h \
7675 curses.h \
7676 direct.h \
7677 dlfcn.h \
7678 elf.h \
7679 float.h \
7680 fontconfig/fontconfig.h \
7681 getopt.h \
7682 gif_lib.h \
7683 ieeefp.h \
7684 io.h \
7685 jack/jack.h \
7686 jpeglib.h \
7687 lber.h \
7688 lcms.h \
7689 lcms/lcms.h \
7690 ldap.h \
7691 libaudioio.h \
7692 link.h \
7693 linux/cdrom.h \
7694 linux/compiler.h \
7695 linux/hdreg.h \
7696 linux/input.h \
7697 linux/ioctl.h \
7698 linux/joystick.h \
7699 linux/major.h \
7700 linux/param.h \
7701 linux/serial.h \
7702 linux/ucdrom.h \
7703 mach/machine.h \
7704 machine/cpu.h \
7705 machine/limits.h \
7706 machine/soundcard.h \
7707 mntent.h \
7708 ncurses.h \
7709 netdb.h \
7710 netinet/in.h \
7711 netinet/in_systm.h \
7712 netinet/tcp.h \
7713 netinet/tcp_fsm.h \
7714 openssl/err.h \
7715 openssl/ssl.h \
7716 poll.h \
7717 process.h \
7718 pthread.h \
7719 pwd.h \
7720 regex.h \
7721 sched.h \
7722 scsi/scsi.h \
7723 scsi/scsi_ioctl.h \
7724 scsi/sg.h \
7725 soundcard.h \
7726 stdint.h \
7727 strings.h \
7728 sys/asoundlib.h \
7729 sys/cdio.h \
7730 sys/elf32.h \
7731 sys/epoll.h \
7732 sys/errno.h \
7733 sys/event.h \
7734 sys/exec_elf.h \
7735 sys/filio.h \
7736 sys/ioctl.h \
7737 sys/ipc.h \
7738 sys/limits.h \
7739 sys/link.h \
7740 sys/lwp.h \
7741 sys/mman.h \
7742 sys/modem.h \
7743 sys/msg.h \
7744 sys/mtio.h \
7745 sys/param.h \
7746 sys/poll.h \
7747 sys/prctl.h \
7748 sys/ptrace.h \
7749 sys/reg.h \
7750 sys/resource.h \
7751 sys/scsiio.h \
7752 sys/shm.h \
7753 sys/signal.h \
7754 sys/socket.h \
7755 sys/sockio.h \
7756 sys/soundcard.h \
7757 sys/statvfs.h \
7758 sys/strtio.h \
7759 sys/syscall.h \
7760 sys/sysctl.h \
7761 sys/time.h \
7762 sys/times.h \
7763 sys/uio.h \
7764 sys/un.h \
7765 sys/vm86.h \
7766 sys/wait.h \
7767 syscall.h \
7768 termios.h \
7769 unicode/ubidi.h \
7770 unistd.h \
7771 utime.h \
7772 valgrind/memcheck.h
7775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7777 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7779 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7782 ac_res=`eval echo '${'$as_ac_Header'}'`
7783 { echo "$as_me:$LINENO: result: $ac_res" >&5
7784 echo "${ECHO_T}$ac_res" >&6; }
7785 else
7786 # Is the header compilable?
7787 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7789 cat >conftest.$ac_ext <<_ACEOF
7790 /* confdefs.h. */
7791 _ACEOF
7792 cat confdefs.h >>conftest.$ac_ext
7793 cat >>conftest.$ac_ext <<_ACEOF
7794 /* end confdefs.h. */
7795 $ac_includes_default
7796 #include <$ac_header>
7797 _ACEOF
7798 rm -f conftest.$ac_objext
7799 if { (ac_try="$ac_compile"
7800 case "(($ac_try" in
7801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7802 *) ac_try_echo=$ac_try;;
7803 esac
7804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7805 (eval "$ac_compile") 2>conftest.er1
7806 ac_status=$?
7807 grep -v '^ *+' conftest.er1 >conftest.err
7808 rm -f conftest.er1
7809 cat conftest.err >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); } &&
7812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7813 { (case "(($ac_try" in
7814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7815 *) ac_try_echo=$ac_try;;
7816 esac
7817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7818 (eval "$ac_try") 2>&5
7819 ac_status=$?
7820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7821 (exit $ac_status); }; } &&
7822 { ac_try='test -s conftest.$ac_objext'
7823 { (case "(($ac_try" in
7824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7825 *) ac_try_echo=$ac_try;;
7826 esac
7827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7828 (eval "$ac_try") 2>&5
7829 ac_status=$?
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); }; }; then
7832 ac_header_compiler=yes
7833 else
7834 echo "$as_me: failed program was:" >&5
7835 sed 's/^/| /' conftest.$ac_ext >&5
7837 ac_header_compiler=no
7840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7841 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7842 echo "${ECHO_T}$ac_header_compiler" >&6; }
7844 # Is the header present?
7845 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7847 cat >conftest.$ac_ext <<_ACEOF
7848 /* confdefs.h. */
7849 _ACEOF
7850 cat confdefs.h >>conftest.$ac_ext
7851 cat >>conftest.$ac_ext <<_ACEOF
7852 /* end confdefs.h. */
7853 #include <$ac_header>
7854 _ACEOF
7855 if { (ac_try="$ac_cpp conftest.$ac_ext"
7856 case "(($ac_try" in
7857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7858 *) ac_try_echo=$ac_try;;
7859 esac
7860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7862 ac_status=$?
7863 grep -v '^ *+' conftest.er1 >conftest.err
7864 rm -f conftest.er1
7865 cat conftest.err >&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); } >/dev/null; then
7868 if test -s conftest.err; then
7869 ac_cpp_err=$ac_c_preproc_warn_flag
7870 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7871 else
7872 ac_cpp_err=
7874 else
7875 ac_cpp_err=yes
7877 if test -z "$ac_cpp_err"; then
7878 ac_header_preproc=yes
7879 else
7880 echo "$as_me: failed program was:" >&5
7881 sed 's/^/| /' conftest.$ac_ext >&5
7883 ac_header_preproc=no
7886 rm -f conftest.err conftest.$ac_ext
7887 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7888 echo "${ECHO_T}$ac_header_preproc" >&6; }
7890 # So? What about this header?
7891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7892 yes:no: )
7893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7897 ac_header_preproc=yes
7899 no:yes:* )
7900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7912 ( cat <<\_ASBOX
7913 ## ------------------------------------ ##
7914 ## Report this to wine-devel@winehq.org ##
7915 ## ------------------------------------ ##
7916 _ASBOX
7917 ) | sed "s/^/$as_me: WARNING: /" >&2
7919 esac
7920 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7924 else
7925 eval "$as_ac_Header=\$ac_header_preproc"
7927 ac_res=`eval echo '${'$as_ac_Header'}'`
7928 { echo "$as_me:$LINENO: result: $ac_res" >&5
7929 echo "${ECHO_T}$ac_res" >&6; }
7932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7933 cat >>confdefs.h <<_ACEOF
7934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7935 _ACEOF
7939 done
7941 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7942 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7943 if test "${ac_cv_header_stat_broken+set}" = set; then
7944 echo $ECHO_N "(cached) $ECHO_C" >&6
7945 else
7946 cat >conftest.$ac_ext <<_ACEOF
7947 /* confdefs.h. */
7948 _ACEOF
7949 cat confdefs.h >>conftest.$ac_ext
7950 cat >>conftest.$ac_ext <<_ACEOF
7951 /* end confdefs.h. */
7952 #include <sys/types.h>
7953 #include <sys/stat.h>
7955 #if defined S_ISBLK && defined S_IFDIR
7956 # if S_ISBLK (S_IFDIR)
7957 You lose.
7958 # endif
7959 #endif
7961 #if defined S_ISBLK && defined S_IFCHR
7962 # if S_ISBLK (S_IFCHR)
7963 You lose.
7964 # endif
7965 #endif
7967 #if defined S_ISLNK && defined S_IFREG
7968 # if S_ISLNK (S_IFREG)
7969 You lose.
7970 # endif
7971 #endif
7973 #if defined S_ISSOCK && defined S_IFREG
7974 # if S_ISSOCK (S_IFREG)
7975 You lose.
7976 # endif
7977 #endif
7979 _ACEOF
7980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7981 $EGREP "You lose" >/dev/null 2>&1; then
7982 ac_cv_header_stat_broken=yes
7983 else
7984 ac_cv_header_stat_broken=no
7986 rm -f conftest*
7989 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7990 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7991 if test $ac_cv_header_stat_broken = yes; then
7993 cat >>confdefs.h <<\_ACEOF
7994 #define STAT_MACROS_BROKEN 1
7995 _ACEOF
8005 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8012 else
8013 cat >conftest.$ac_ext <<_ACEOF
8014 /* confdefs.h. */
8015 _ACEOF
8016 cat confdefs.h >>conftest.$ac_ext
8017 cat >>conftest.$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8019 #include <sys/types.h>
8020 #if HAVE_SYS_PARAM_H
8021 # include <sys/param.h>
8022 #endif
8024 #include <$ac_header>
8025 _ACEOF
8026 rm -f conftest.$ac_objext
8027 if { (ac_try="$ac_compile"
8028 case "(($ac_try" in
8029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8030 *) ac_try_echo=$ac_try;;
8031 esac
8032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8033 (eval "$ac_compile") 2>conftest.er1
8034 ac_status=$?
8035 grep -v '^ *+' conftest.er1 >conftest.err
8036 rm -f conftest.er1
8037 cat conftest.err >&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } &&
8040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8041 { (case "(($ac_try" in
8042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8043 *) ac_try_echo=$ac_try;;
8044 esac
8045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8046 (eval "$ac_try") 2>&5
8047 ac_status=$?
8048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049 (exit $ac_status); }; } &&
8050 { ac_try='test -s conftest.$ac_objext'
8051 { (case "(($ac_try" in
8052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8053 *) ac_try_echo=$ac_try;;
8054 esac
8055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8056 (eval "$ac_try") 2>&5
8057 ac_status=$?
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); }; }; then
8060 eval "$as_ac_Header=yes"
8061 else
8062 echo "$as_me: failed program was:" >&5
8063 sed 's/^/| /' conftest.$ac_ext >&5
8065 eval "$as_ac_Header=no"
8068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8070 ac_res=`eval echo '${'$as_ac_Header'}'`
8071 { echo "$as_me:$LINENO: result: $ac_res" >&5
8072 echo "${ECHO_T}$ac_res" >&6; }
8073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8074 cat >>confdefs.h <<_ACEOF
8075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8076 _ACEOF
8080 done
8089 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
8091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8092 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8096 else
8097 cat >conftest.$ac_ext <<_ACEOF
8098 /* confdefs.h. */
8099 _ACEOF
8100 cat confdefs.h >>conftest.$ac_ext
8101 cat >>conftest.$ac_ext <<_ACEOF
8102 /* end confdefs.h. */
8103 #include <sys/types.h>
8104 #if HAVE_SYS_SOCKET_H
8105 # include <sys/socket.h>
8106 #endif
8108 #include <$ac_header>
8109 _ACEOF
8110 rm -f conftest.$ac_objext
8111 if { (ac_try="$ac_compile"
8112 case "(($ac_try" in
8113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8114 *) ac_try_echo=$ac_try;;
8115 esac
8116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8117 (eval "$ac_compile") 2>conftest.er1
8118 ac_status=$?
8119 grep -v '^ *+' conftest.er1 >conftest.err
8120 rm -f conftest.er1
8121 cat conftest.err >&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); } &&
8124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8125 { (case "(($ac_try" in
8126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8127 *) ac_try_echo=$ac_try;;
8128 esac
8129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8130 (eval "$ac_try") 2>&5
8131 ac_status=$?
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; } &&
8134 { ac_try='test -s conftest.$ac_objext'
8135 { (case "(($ac_try" in
8136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8137 *) ac_try_echo=$ac_try;;
8138 esac
8139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8140 (eval "$ac_try") 2>&5
8141 ac_status=$?
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); }; }; then
8144 eval "$as_ac_Header=yes"
8145 else
8146 echo "$as_me: failed program was:" >&5
8147 sed 's/^/| /' conftest.$ac_ext >&5
8149 eval "$as_ac_Header=no"
8152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8154 ac_res=`eval echo '${'$as_ac_Header'}'`
8155 { echo "$as_me:$LINENO: result: $ac_res" >&5
8156 echo "${ECHO_T}$ac_res" >&6; }
8157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8158 cat >>confdefs.h <<_ACEOF
8159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8160 _ACEOF
8164 done
8168 for ac_header in linux/ipx.h
8170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8171 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8173 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8174 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 else
8176 cat >conftest.$ac_ext <<_ACEOF
8177 /* confdefs.h. */
8178 _ACEOF
8179 cat confdefs.h >>conftest.$ac_ext
8180 cat >>conftest.$ac_ext <<_ACEOF
8181 /* end confdefs.h. */
8182 #include <sys/types.h>
8183 #ifdef HAVE_ASM_TYPES_H
8184 # include <asm/types.h>
8185 #endif
8186 #if HAVE_SYS_SOCKET_H
8187 # include <sys/socket.h>
8188 #endif
8190 #include <$ac_header>
8191 _ACEOF
8192 rm -f conftest.$ac_objext
8193 if { (ac_try="$ac_compile"
8194 case "(($ac_try" in
8195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8196 *) ac_try_echo=$ac_try;;
8197 esac
8198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8199 (eval "$ac_compile") 2>conftest.er1
8200 ac_status=$?
8201 grep -v '^ *+' conftest.er1 >conftest.err
8202 rm -f conftest.er1
8203 cat conftest.err >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); } &&
8206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8207 { (case "(($ac_try" in
8208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8209 *) ac_try_echo=$ac_try;;
8210 esac
8211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8212 (eval "$ac_try") 2>&5
8213 ac_status=$?
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); }; } &&
8216 { ac_try='test -s conftest.$ac_objext'
8217 { (case "(($ac_try" in
8218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8219 *) ac_try_echo=$ac_try;;
8220 esac
8221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8222 (eval "$ac_try") 2>&5
8223 ac_status=$?
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); }; }; then
8226 eval "$as_ac_Header=yes"
8227 else
8228 echo "$as_me: failed program was:" >&5
8229 sed 's/^/| /' conftest.$ac_ext >&5
8231 eval "$as_ac_Header=no"
8234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8236 ac_res=`eval echo '${'$as_ac_Header'}'`
8237 { echo "$as_me:$LINENO: result: $ac_res" >&5
8238 echo "${ECHO_T}$ac_res" >&6; }
8239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8240 cat >>confdefs.h <<_ACEOF
8241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8242 _ACEOF
8246 done
8250 for ac_header in resolv.h
8252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8256 echo $ECHO_N "(cached) $ECHO_C" >&6
8257 else
8258 cat >conftest.$ac_ext <<_ACEOF
8259 /* confdefs.h. */
8260 _ACEOF
8261 cat confdefs.h >>conftest.$ac_ext
8262 cat >>conftest.$ac_ext <<_ACEOF
8263 /* end confdefs.h. */
8264 #include <sys/types.h>
8265 #if HAVE_SYS_SOCKET_H
8266 # include <sys/socket.h>
8267 #endif
8268 #if HAVE_NETINET_IN_H
8269 # include <netinet/in.h>
8270 #endif
8271 #if HAVE_ARPA_NAMESER_H
8272 # include <arpa/nameser.h>
8273 #endif
8275 #include <$ac_header>
8276 _ACEOF
8277 rm -f conftest.$ac_objext
8278 if { (ac_try="$ac_compile"
8279 case "(($ac_try" in
8280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8281 *) ac_try_echo=$ac_try;;
8282 esac
8283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8284 (eval "$ac_compile") 2>conftest.er1
8285 ac_status=$?
8286 grep -v '^ *+' conftest.er1 >conftest.err
8287 rm -f conftest.er1
8288 cat conftest.err >&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } &&
8291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8292 { (case "(($ac_try" in
8293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8294 *) ac_try_echo=$ac_try;;
8295 esac
8296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8297 (eval "$ac_try") 2>&5
8298 ac_status=$?
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; } &&
8301 { ac_try='test -s conftest.$ac_objext'
8302 { (case "(($ac_try" in
8303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8304 *) ac_try_echo=$ac_try;;
8305 esac
8306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8307 (eval "$ac_try") 2>&5
8308 ac_status=$?
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); }; }; then
8311 eval "$as_ac_Header=yes"
8312 else
8313 echo "$as_me: failed program was:" >&5
8314 sed 's/^/| /' conftest.$ac_ext >&5
8316 eval "$as_ac_Header=no"
8319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8321 ac_res=`eval echo '${'$as_ac_Header'}'`
8322 { echo "$as_me:$LINENO: result: $ac_res" >&5
8323 echo "${ECHO_T}$ac_res" >&6; }
8324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8325 cat >>confdefs.h <<_ACEOF
8326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8327 _ACEOF
8331 done
8335 for ac_header in ucontext.h
8337 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8338 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8341 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 else
8343 cat >conftest.$ac_ext <<_ACEOF
8344 /* confdefs.h. */
8345 _ACEOF
8346 cat confdefs.h >>conftest.$ac_ext
8347 cat >>conftest.$ac_ext <<_ACEOF
8348 /* end confdefs.h. */
8349 #include <signal.h>
8351 #include <$ac_header>
8352 _ACEOF
8353 rm -f conftest.$ac_objext
8354 if { (ac_try="$ac_compile"
8355 case "(($ac_try" in
8356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8357 *) ac_try_echo=$ac_try;;
8358 esac
8359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8360 (eval "$ac_compile") 2>conftest.er1
8361 ac_status=$?
8362 grep -v '^ *+' conftest.er1 >conftest.err
8363 rm -f conftest.er1
8364 cat conftest.err >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); } &&
8367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8368 { (case "(($ac_try" in
8369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8370 *) ac_try_echo=$ac_try;;
8371 esac
8372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8373 (eval "$ac_try") 2>&5
8374 ac_status=$?
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); }; } &&
8377 { ac_try='test -s conftest.$ac_objext'
8378 { (case "(($ac_try" in
8379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8380 *) ac_try_echo=$ac_try;;
8381 esac
8382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8383 (eval "$ac_try") 2>&5
8384 ac_status=$?
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); }; }; then
8387 eval "$as_ac_Header=yes"
8388 else
8389 echo "$as_me: failed program was:" >&5
8390 sed 's/^/| /' conftest.$ac_ext >&5
8392 eval "$as_ac_Header=no"
8395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8397 ac_res=`eval echo '${'$as_ac_Header'}'`
8398 { echo "$as_me:$LINENO: result: $ac_res" >&5
8399 echo "${ECHO_T}$ac_res" >&6; }
8400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8401 cat >>confdefs.h <<_ACEOF
8402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8403 _ACEOF
8407 done
8411 for ac_header in pthread_np.h
8413 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8414 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8417 echo $ECHO_N "(cached) $ECHO_C" >&6
8418 else
8419 cat >conftest.$ac_ext <<_ACEOF
8420 /* confdefs.h. */
8421 _ACEOF
8422 cat confdefs.h >>conftest.$ac_ext
8423 cat >>conftest.$ac_ext <<_ACEOF
8424 /* end confdefs.h. */
8425 #ifdef HAVE_PTHREAD_H
8426 #include <pthread.h>
8427 #endif
8429 #include <$ac_header>
8430 _ACEOF
8431 rm -f conftest.$ac_objext
8432 if { (ac_try="$ac_compile"
8433 case "(($ac_try" in
8434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8435 *) ac_try_echo=$ac_try;;
8436 esac
8437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8438 (eval "$ac_compile") 2>conftest.er1
8439 ac_status=$?
8440 grep -v '^ *+' conftest.er1 >conftest.err
8441 rm -f conftest.er1
8442 cat conftest.err >&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); } &&
8445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8446 { (case "(($ac_try" in
8447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8448 *) ac_try_echo=$ac_try;;
8449 esac
8450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8451 (eval "$ac_try") 2>&5
8452 ac_status=$?
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); }; } &&
8455 { ac_try='test -s conftest.$ac_objext'
8456 { (case "(($ac_try" in
8457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8458 *) ac_try_echo=$ac_try;;
8459 esac
8460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8461 (eval "$ac_try") 2>&5
8462 ac_status=$?
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); }; }; then
8465 eval "$as_ac_Header=yes"
8466 else
8467 echo "$as_me: failed program was:" >&5
8468 sed 's/^/| /' conftest.$ac_ext >&5
8470 eval "$as_ac_Header=no"
8473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8475 ac_res=`eval echo '${'$as_ac_Header'}'`
8476 { echo "$as_me:$LINENO: result: $ac_res" >&5
8477 echo "${ECHO_T}$ac_res" >&6; }
8478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8479 cat >>confdefs.h <<_ACEOF
8480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8481 _ACEOF
8485 done
8489 for ac_header in linux/videodev.h
8491 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8495 echo $ECHO_N "(cached) $ECHO_C" >&6
8496 else
8497 cat >conftest.$ac_ext <<_ACEOF
8498 /* confdefs.h. */
8499 _ACEOF
8500 cat confdefs.h >>conftest.$ac_ext
8501 cat >>conftest.$ac_ext <<_ACEOF
8502 /* end confdefs.h. */
8503 #ifdef HAVE_SYS_TIME_H
8504 #include <sys/time.h>
8505 #endif
8506 #include <sys/types.h>
8507 #ifdef HAVE_ASM_TYPES_H
8508 #include <asm/types.h>
8509 #endif
8511 #include <$ac_header>
8512 _ACEOF
8513 rm -f conftest.$ac_objext
8514 if { (ac_try="$ac_compile"
8515 case "(($ac_try" in
8516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8517 *) ac_try_echo=$ac_try;;
8518 esac
8519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8520 (eval "$ac_compile") 2>conftest.er1
8521 ac_status=$?
8522 grep -v '^ *+' conftest.er1 >conftest.err
8523 rm -f conftest.er1
8524 cat conftest.err >&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); } &&
8527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8528 { (case "(($ac_try" in
8529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8530 *) ac_try_echo=$ac_try;;
8531 esac
8532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8533 (eval "$ac_try") 2>&5
8534 ac_status=$?
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; } &&
8537 { ac_try='test -s conftest.$ac_objext'
8538 { (case "(($ac_try" in
8539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8540 *) ac_try_echo=$ac_try;;
8541 esac
8542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8543 (eval "$ac_try") 2>&5
8544 ac_status=$?
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); }; }; then
8547 eval "$as_ac_Header=yes"
8548 else
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.$ac_ext >&5
8552 eval "$as_ac_Header=no"
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 ac_res=`eval echo '${'$as_ac_Header'}'`
8558 { echo "$as_me:$LINENO: result: $ac_res" >&5
8559 echo "${ECHO_T}$ac_res" >&6; }
8560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8561 cat >>confdefs.h <<_ACEOF
8562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8563 _ACEOF
8567 done
8571 for ac_header in linux/capi.h
8573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8574 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8577 echo $ECHO_N "(cached) $ECHO_C" >&6
8578 else
8579 cat >conftest.$ac_ext <<_ACEOF
8580 /* confdefs.h. */
8581 _ACEOF
8582 cat confdefs.h >>conftest.$ac_ext
8583 cat >>conftest.$ac_ext <<_ACEOF
8584 /* end confdefs.h. */
8585 #define __user
8587 #include <$ac_header>
8588 _ACEOF
8589 rm -f conftest.$ac_objext
8590 if { (ac_try="$ac_compile"
8591 case "(($ac_try" in
8592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8593 *) ac_try_echo=$ac_try;;
8594 esac
8595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8596 (eval "$ac_compile") 2>conftest.er1
8597 ac_status=$?
8598 grep -v '^ *+' conftest.er1 >conftest.err
8599 rm -f conftest.er1
8600 cat conftest.err >&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } &&
8603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8604 { (case "(($ac_try" in
8605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8606 *) ac_try_echo=$ac_try;;
8607 esac
8608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8609 (eval "$ac_try") 2>&5
8610 ac_status=$?
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; } &&
8613 { ac_try='test -s conftest.$ac_objext'
8614 { (case "(($ac_try" in
8615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8616 *) ac_try_echo=$ac_try;;
8617 esac
8618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8619 (eval "$ac_try") 2>&5
8620 ac_status=$?
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); }; }; then
8623 eval "$as_ac_Header=yes"
8624 else
8625 echo "$as_me: failed program was:" >&5
8626 sed 's/^/| /' conftest.$ac_ext >&5
8628 eval "$as_ac_Header=no"
8631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8633 ac_res=`eval echo '${'$as_ac_Header'}'`
8634 { echo "$as_me:$LINENO: result: $ac_res" >&5
8635 echo "${ECHO_T}$ac_res" >&6; }
8636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8637 cat >>confdefs.h <<_ACEOF
8638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8639 _ACEOF
8643 done
8647 if test "$have_x" = "yes"
8648 then
8649 XLIB="-lXext -lX11"
8650 ac_save_CPPFLAGS="$CPPFLAGS"
8651 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8662 for ac_header in X11/Xlib.h \
8663 X11/XKBlib.h \
8664 X11/Xutil.h \
8665 X11/extensions/shape.h \
8666 X11/extensions/XInput.h \
8667 X11/extensions/XShm.h \
8668 X11/extensions/Xrandr.h \
8669 X11/extensions/Xrender.h \
8670 X11/extensions/xf86vmode.h
8672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8673 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8677 else
8678 cat >conftest.$ac_ext <<_ACEOF
8679 /* confdefs.h. */
8680 _ACEOF
8681 cat confdefs.h >>conftest.$ac_ext
8682 cat >>conftest.$ac_ext <<_ACEOF
8683 /* end confdefs.h. */
8684 #ifdef HAVE_X11_XLIB_H
8685 # include <X11/Xlib.h>
8686 #endif
8687 #ifdef HAVE_X11_XUTIL_H
8688 # include <X11/Xutil.h>
8689 #endif
8691 #include <$ac_header>
8692 _ACEOF
8693 rm -f conftest.$ac_objext
8694 if { (ac_try="$ac_compile"
8695 case "(($ac_try" in
8696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8697 *) ac_try_echo=$ac_try;;
8698 esac
8699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8700 (eval "$ac_compile") 2>conftest.er1
8701 ac_status=$?
8702 grep -v '^ *+' conftest.er1 >conftest.err
8703 rm -f conftest.er1
8704 cat conftest.err >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } &&
8707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8708 { (case "(($ac_try" in
8709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8710 *) ac_try_echo=$ac_try;;
8711 esac
8712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8713 (eval "$ac_try") 2>&5
8714 ac_status=$?
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; } &&
8717 { ac_try='test -s conftest.$ac_objext'
8718 { (case "(($ac_try" in
8719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8720 *) ac_try_echo=$ac_try;;
8721 esac
8722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8723 (eval "$ac_try") 2>&5
8724 ac_status=$?
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; }; then
8727 eval "$as_ac_Header=yes"
8728 else
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.$ac_ext >&5
8732 eval "$as_ac_Header=no"
8735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8737 ac_res=`eval echo '${'$as_ac_Header'}'`
8738 { echo "$as_me:$LINENO: result: $ac_res" >&5
8739 echo "${ECHO_T}$ac_res" >&6; }
8740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8741 cat >>confdefs.h <<_ACEOF
8742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8743 _ACEOF
8747 done
8750 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8751 then
8752 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8753 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8754 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8756 else
8757 ac_check_lib_save_LIBS=$LIBS
8758 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8759 cat >conftest.$ac_ext <<_ACEOF
8760 /* confdefs.h. */
8761 _ACEOF
8762 cat confdefs.h >>conftest.$ac_ext
8763 cat >>conftest.$ac_ext <<_ACEOF
8764 /* end confdefs.h. */
8766 /* Override any GCC internal prototype to avoid an error.
8767 Use char because int might match the return type of a GCC
8768 builtin and then its argument prototype would still apply. */
8769 #ifdef __cplusplus
8770 extern "C"
8771 #endif
8772 char XkbQueryExtension ();
8774 main ()
8776 return XkbQueryExtension ();
8778 return 0;
8780 _ACEOF
8781 rm -f conftest.$ac_objext conftest$ac_exeext
8782 if { (ac_try="$ac_link"
8783 case "(($ac_try" in
8784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8785 *) ac_try_echo=$ac_try;;
8786 esac
8787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8788 (eval "$ac_link") 2>conftest.er1
8789 ac_status=$?
8790 grep -v '^ *+' conftest.er1 >conftest.err
8791 rm -f conftest.er1
8792 cat conftest.err >&5
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 (exit $ac_status); } &&
8795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8796 { (case "(($ac_try" in
8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8798 *) ac_try_echo=$ac_try;;
8799 esac
8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8801 (eval "$ac_try") 2>&5
8802 ac_status=$?
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); }; } &&
8805 { ac_try='test -s conftest$ac_exeext'
8806 { (case "(($ac_try" in
8807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8808 *) ac_try_echo=$ac_try;;
8809 esac
8810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8811 (eval "$ac_try") 2>&5
8812 ac_status=$?
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); }; }; then
8815 ac_cv_lib_X11_XkbQueryExtension=yes
8816 else
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.$ac_ext >&5
8820 ac_cv_lib_X11_XkbQueryExtension=no
8823 rm -f core conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 LIBS=$ac_check_lib_save_LIBS
8827 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8828 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8829 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8831 cat >>confdefs.h <<\_ACEOF
8832 #define HAVE_XKB 1
8833 _ACEOF
8839 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8840 then
8841 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8842 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8843 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 else
8846 ac_check_lib_save_LIBS=$LIBS
8847 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8848 cat >conftest.$ac_ext <<_ACEOF
8849 /* confdefs.h. */
8850 _ACEOF
8851 cat confdefs.h >>conftest.$ac_ext
8852 cat >>conftest.$ac_ext <<_ACEOF
8853 /* end confdefs.h. */
8855 /* Override any GCC internal prototype to avoid an error.
8856 Use char because int might match the return type of a GCC
8857 builtin and then its argument prototype would still apply. */
8858 #ifdef __cplusplus
8859 extern "C"
8860 #endif
8861 char XShmQueryExtension ();
8863 main ()
8865 return XShmQueryExtension ();
8867 return 0;
8869 _ACEOF
8870 rm -f conftest.$ac_objext conftest$ac_exeext
8871 if { (ac_try="$ac_link"
8872 case "(($ac_try" in
8873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8874 *) ac_try_echo=$ac_try;;
8875 esac
8876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8877 (eval "$ac_link") 2>conftest.er1
8878 ac_status=$?
8879 grep -v '^ *+' conftest.er1 >conftest.err
8880 rm -f conftest.er1
8881 cat conftest.err >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } &&
8884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8885 { (case "(($ac_try" in
8886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8887 *) ac_try_echo=$ac_try;;
8888 esac
8889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8890 (eval "$ac_try") 2>&5
8891 ac_status=$?
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 (exit $ac_status); }; } &&
8894 { ac_try='test -s conftest$ac_exeext'
8895 { (case "(($ac_try" in
8896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8897 *) ac_try_echo=$ac_try;;
8898 esac
8899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8900 (eval "$ac_try") 2>&5
8901 ac_status=$?
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); }; }; then
8904 ac_cv_lib_Xext_XShmQueryExtension=yes
8905 else
8906 echo "$as_me: failed program was:" >&5
8907 sed 's/^/| /' conftest.$ac_ext >&5
8909 ac_cv_lib_Xext_XShmQueryExtension=no
8912 rm -f core conftest.err conftest.$ac_objext \
8913 conftest$ac_exeext conftest.$ac_ext
8914 LIBS=$ac_check_lib_save_LIBS
8916 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8917 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8918 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8920 cat >>confdefs.h <<\_ACEOF
8921 #define HAVE_LIBXXSHM 1
8922 _ACEOF
8928 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8929 then
8930 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8931 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8932 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8933 echo $ECHO_N "(cached) $ECHO_C" >&6
8934 else
8935 ac_check_lib_save_LIBS=$LIBS
8936 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8937 cat >conftest.$ac_ext <<_ACEOF
8938 /* confdefs.h. */
8939 _ACEOF
8940 cat confdefs.h >>conftest.$ac_ext
8941 cat >>conftest.$ac_ext <<_ACEOF
8942 /* end confdefs.h. */
8944 /* Override any GCC internal prototype to avoid an error.
8945 Use char because int might match the return type of a GCC
8946 builtin and then its argument prototype would still apply. */
8947 #ifdef __cplusplus
8948 extern "C"
8949 #endif
8950 char XShapeQueryExtension ();
8952 main ()
8954 return XShapeQueryExtension ();
8956 return 0;
8958 _ACEOF
8959 rm -f conftest.$ac_objext conftest$ac_exeext
8960 if { (ac_try="$ac_link"
8961 case "(($ac_try" in
8962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8963 *) ac_try_echo=$ac_try;;
8964 esac
8965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8966 (eval "$ac_link") 2>conftest.er1
8967 ac_status=$?
8968 grep -v '^ *+' conftest.er1 >conftest.err
8969 rm -f conftest.er1
8970 cat conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } &&
8973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8974 { (case "(($ac_try" in
8975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8976 *) ac_try_echo=$ac_try;;
8977 esac
8978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8979 (eval "$ac_try") 2>&5
8980 ac_status=$?
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); }; } &&
8983 { ac_try='test -s conftest$ac_exeext'
8984 { (case "(($ac_try" in
8985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8986 *) ac_try_echo=$ac_try;;
8987 esac
8988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8989 (eval "$ac_try") 2>&5
8990 ac_status=$?
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); }; }; then
8993 ac_cv_lib_Xext_XShapeQueryExtension=yes
8994 else
8995 echo "$as_me: failed program was:" >&5
8996 sed 's/^/| /' conftest.$ac_ext >&5
8998 ac_cv_lib_Xext_XShapeQueryExtension=no
9001 rm -f core conftest.err conftest.$ac_objext \
9002 conftest$ac_exeext conftest.$ac_ext
9003 LIBS=$ac_check_lib_save_LIBS
9005 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9006 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9007 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9009 cat >>confdefs.h <<\_ACEOF
9010 #define HAVE_LIBXSHAPE 1
9011 _ACEOF
9017 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9018 then
9019 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9020 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9021 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9022 echo $ECHO_N "(cached) $ECHO_C" >&6
9023 else
9024 ac_check_lib_save_LIBS=$LIBS
9025 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9026 cat >conftest.$ac_ext <<_ACEOF
9027 /* confdefs.h. */
9028 _ACEOF
9029 cat confdefs.h >>conftest.$ac_ext
9030 cat >>conftest.$ac_ext <<_ACEOF
9031 /* end confdefs.h. */
9033 /* Override any GCC internal prototype to avoid an error.
9034 Use char because int might match the return type of a GCC
9035 builtin and then its argument prototype would still apply. */
9036 #ifdef __cplusplus
9037 extern "C"
9038 #endif
9039 char XF86VidModeQueryExtension ();
9041 main ()
9043 return XF86VidModeQueryExtension ();
9045 return 0;
9047 _ACEOF
9048 rm -f conftest.$ac_objext conftest$ac_exeext
9049 if { (ac_try="$ac_link"
9050 case "(($ac_try" in
9051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9052 *) ac_try_echo=$ac_try;;
9053 esac
9054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9055 (eval "$ac_link") 2>conftest.er1
9056 ac_status=$?
9057 grep -v '^ *+' conftest.er1 >conftest.err
9058 rm -f conftest.er1
9059 cat conftest.err >&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } &&
9062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9063 { (case "(($ac_try" in
9064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9065 *) ac_try_echo=$ac_try;;
9066 esac
9067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9068 (eval "$ac_try") 2>&5
9069 ac_status=$?
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); }; } &&
9072 { ac_try='test -s conftest$ac_exeext'
9073 { (case "(($ac_try" in
9074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9075 *) ac_try_echo=$ac_try;;
9076 esac
9077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9078 (eval "$ac_try") 2>&5
9079 ac_status=$?
9080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081 (exit $ac_status); }; }; then
9082 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9083 else
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.$ac_ext >&5
9087 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9090 rm -f core conftest.err conftest.$ac_objext \
9091 conftest$ac_exeext conftest.$ac_ext
9092 LIBS=$ac_check_lib_save_LIBS
9094 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9095 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9096 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9098 cat >>confdefs.h <<\_ACEOF
9099 #define HAVE_LIBXXF86VM 1
9100 _ACEOF
9102 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9108 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9109 then
9110 cat >conftest.$ac_ext <<_ACEOF
9111 /* confdefs.h. */
9112 _ACEOF
9113 cat confdefs.h >>conftest.$ac_ext
9114 cat >>conftest.$ac_ext <<_ACEOF
9115 /* end confdefs.h. */
9116 #include <X11/Xlib.h>
9117 #include <X11/extensions/Xrandr.h>
9119 main ()
9121 static typeof(XRRSetScreenConfigAndRate) * func;
9123 return 0;
9125 _ACEOF
9126 rm -f conftest.$ac_objext
9127 if { (ac_try="$ac_compile"
9128 case "(($ac_try" in
9129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9130 *) ac_try_echo=$ac_try;;
9131 esac
9132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9133 (eval "$ac_compile") 2>conftest.er1
9134 ac_status=$?
9135 grep -v '^ *+' conftest.er1 >conftest.err
9136 rm -f conftest.er1
9137 cat conftest.err >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); } &&
9140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9141 { (case "(($ac_try" in
9142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9143 *) ac_try_echo=$ac_try;;
9144 esac
9145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9146 (eval "$ac_try") 2>&5
9147 ac_status=$?
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; } &&
9150 { ac_try='test -s conftest.$ac_objext'
9151 { (case "(($ac_try" in
9152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9153 *) ac_try_echo=$ac_try;;
9154 esac
9155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9156 (eval "$ac_try") 2>&5
9157 ac_status=$?
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); }; }; then
9161 cat >>confdefs.h <<\_ACEOF
9162 #define HAVE_LIBXRANDR 1
9163 _ACEOF
9165 else
9166 echo "$as_me: failed program was:" >&5
9167 sed 's/^/| /' conftest.$ac_ext >&5
9172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9175 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9176 then
9177 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9178 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9179 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 else
9182 ac_check_lib_save_LIBS=$LIBS
9183 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9184 cat >conftest.$ac_ext <<_ACEOF
9185 /* confdefs.h. */
9186 _ACEOF
9187 cat confdefs.h >>conftest.$ac_ext
9188 cat >>conftest.$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9194 #ifdef __cplusplus
9195 extern "C"
9196 #endif
9197 char XRenderSetPictureTransform ();
9199 main ()
9201 return XRenderSetPictureTransform ();
9203 return 0;
9205 _ACEOF
9206 rm -f conftest.$ac_objext conftest$ac_exeext
9207 if { (ac_try="$ac_link"
9208 case "(($ac_try" in
9209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9210 *) ac_try_echo=$ac_try;;
9211 esac
9212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9213 (eval "$ac_link") 2>conftest.er1
9214 ac_status=$?
9215 grep -v '^ *+' conftest.er1 >conftest.err
9216 rm -f conftest.er1
9217 cat conftest.err >&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } &&
9220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9221 { (case "(($ac_try" in
9222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9223 *) ac_try_echo=$ac_try;;
9224 esac
9225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9226 (eval "$ac_try") 2>&5
9227 ac_status=$?
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); }; } &&
9230 { ac_try='test -s conftest$ac_exeext'
9231 { (case "(($ac_try" in
9232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9233 *) ac_try_echo=$ac_try;;
9234 esac
9235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9236 (eval "$ac_try") 2>&5
9237 ac_status=$?
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); }; }; then
9240 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9241 else
9242 echo "$as_me: failed program was:" >&5
9243 sed 's/^/| /' conftest.$ac_ext >&5
9245 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9248 rm -f core conftest.err conftest.$ac_objext \
9249 conftest$ac_exeext conftest.$ac_ext
9250 LIBS=$ac_check_lib_save_LIBS
9252 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9253 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9254 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9256 cat >>confdefs.h <<\_ACEOF
9257 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9258 _ACEOF
9264 if test "x$with_opengl" != "xno"
9265 then
9270 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9273 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9275 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9276 echo $ECHO_N "(cached) $ECHO_C" >&6
9277 else
9278 cat >conftest.$ac_ext <<_ACEOF
9279 /* confdefs.h. */
9280 _ACEOF
9281 cat confdefs.h >>conftest.$ac_ext
9282 cat >>conftest.$ac_ext <<_ACEOF
9283 /* end confdefs.h. */
9284 #ifdef HAVE_GL_GLX_H
9285 # include <GL/glx.h>
9286 #endif
9288 #include <$ac_header>
9289 _ACEOF
9290 rm -f conftest.$ac_objext
9291 if { (ac_try="$ac_compile"
9292 case "(($ac_try" in
9293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9294 *) ac_try_echo=$ac_try;;
9295 esac
9296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9297 (eval "$ac_compile") 2>conftest.er1
9298 ac_status=$?
9299 grep -v '^ *+' conftest.er1 >conftest.err
9300 rm -f conftest.er1
9301 cat conftest.err >&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); } &&
9304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9305 { (case "(($ac_try" in
9306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9307 *) ac_try_echo=$ac_try;;
9308 esac
9309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9310 (eval "$ac_try") 2>&5
9311 ac_status=$?
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); }; } &&
9314 { ac_try='test -s conftest.$ac_objext'
9315 { (case "(($ac_try" in
9316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9317 *) ac_try_echo=$ac_try;;
9318 esac
9319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9320 (eval "$ac_try") 2>&5
9321 ac_status=$?
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); }; }; then
9324 eval "$as_ac_Header=yes"
9325 else
9326 echo "$as_me: failed program was:" >&5
9327 sed 's/^/| /' conftest.$ac_ext >&5
9329 eval "$as_ac_Header=no"
9332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9334 ac_res=`eval echo '${'$as_ac_Header'}'`
9335 { echo "$as_me:$LINENO: result: $ac_res" >&5
9336 echo "${ECHO_T}$ac_res" >&6; }
9337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9338 cat >>confdefs.h <<_ACEOF
9339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9340 _ACEOF
9344 done
9346 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9347 then
9348 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9349 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9350 if test "${wine_cv_opengl_version_OK+set}" = set; then
9351 echo $ECHO_N "(cached) $ECHO_C" >&6
9352 else
9353 cat >conftest.$ac_ext <<_ACEOF
9354 /* confdefs.h. */
9355 _ACEOF
9356 cat confdefs.h >>conftest.$ac_ext
9357 cat >>conftest.$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9359 #include <GL/gl.h>
9361 main ()
9363 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9365 return 0;
9367 _ACEOF
9368 rm -f conftest.$ac_objext
9369 if { (ac_try="$ac_compile"
9370 case "(($ac_try" in
9371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9372 *) ac_try_echo=$ac_try;;
9373 esac
9374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9375 (eval "$ac_compile") 2>conftest.er1
9376 ac_status=$?
9377 grep -v '^ *+' conftest.er1 >conftest.err
9378 rm -f conftest.er1
9379 cat conftest.err >&5
9380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 (exit $ac_status); } &&
9382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9383 { (case "(($ac_try" in
9384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9385 *) ac_try_echo=$ac_try;;
9386 esac
9387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9388 (eval "$ac_try") 2>&5
9389 ac_status=$?
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); }; } &&
9392 { ac_try='test -s conftest.$ac_objext'
9393 { (case "(($ac_try" in
9394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9395 *) ac_try_echo=$ac_try;;
9396 esac
9397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9398 (eval "$ac_try") 2>&5
9399 ac_status=$?
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); }; }; then
9402 wine_cv_opengl_version_OK="yes"
9403 else
9404 echo "$as_me: failed program was:" >&5
9405 sed 's/^/| /' conftest.$ac_ext >&5
9407 wine_cv_opengl_version_OK="no"
9411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9414 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
9415 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
9417 if test "$wine_cv_opengl_version_OK" = "yes"
9418 then
9419 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9420 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9421 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9422 echo $ECHO_N "(cached) $ECHO_C" >&6
9423 else
9424 ac_check_lib_save_LIBS=$LIBS
9425 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9426 cat >conftest.$ac_ext <<_ACEOF
9427 /* confdefs.h. */
9428 _ACEOF
9429 cat confdefs.h >>conftest.$ac_ext
9430 cat >>conftest.$ac_ext <<_ACEOF
9431 /* end confdefs.h. */
9433 /* Override any GCC internal prototype to avoid an error.
9434 Use char because int might match the return type of a GCC
9435 builtin and then its argument prototype would still apply. */
9436 #ifdef __cplusplus
9437 extern "C"
9438 #endif
9439 char glXCreateContext ();
9441 main ()
9443 return glXCreateContext ();
9445 return 0;
9447 _ACEOF
9448 rm -f conftest.$ac_objext conftest$ac_exeext
9449 if { (ac_try="$ac_link"
9450 case "(($ac_try" in
9451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9452 *) ac_try_echo=$ac_try;;
9453 esac
9454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9455 (eval "$ac_link") 2>conftest.er1
9456 ac_status=$?
9457 grep -v '^ *+' conftest.er1 >conftest.err
9458 rm -f conftest.er1
9459 cat conftest.err >&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); } &&
9462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9463 { (case "(($ac_try" in
9464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9465 *) ac_try_echo=$ac_try;;
9466 esac
9467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9468 (eval "$ac_try") 2>&5
9469 ac_status=$?
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); }; } &&
9472 { ac_try='test -s conftest$ac_exeext'
9473 { (case "(($ac_try" in
9474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9475 *) ac_try_echo=$ac_try;;
9476 esac
9477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9478 (eval "$ac_try") 2>&5
9479 ac_status=$?
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); }; }; then
9482 ac_cv_lib_GL_glXCreateContext=yes
9483 else
9484 echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.$ac_ext >&5
9487 ac_cv_lib_GL_glXCreateContext=no
9490 rm -f core conftest.err conftest.$ac_objext \
9491 conftest$ac_exeext conftest.$ac_ext
9492 LIBS=$ac_check_lib_save_LIBS
9494 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9495 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9496 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9497 OPENGL_LIBS="-lGL"
9502 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
9503 then
9504 OPENGLFILES='$(OPENGLFILES)'
9506 cat >>confdefs.h <<\_ACEOF
9507 #define HAVE_OPENGL 1
9508 _ACEOF
9510 else
9511 if test -f /usr/X11R6/lib/libGL.a
9512 then
9513 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
9514 This prevents linking to OpenGL. Delete the file and restart configure." >&5
9515 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
9516 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
9517 { (exit 1); exit 1; }; }
9521 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9522 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9523 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9524 echo $ECHO_N "(cached) $ECHO_C" >&6
9525 else
9526 ac_check_lib_save_LIBS=$LIBS
9527 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9528 $LIBS"
9529 cat >conftest.$ac_ext <<_ACEOF
9530 /* confdefs.h. */
9531 _ACEOF
9532 cat confdefs.h >>conftest.$ac_ext
9533 cat >>conftest.$ac_ext <<_ACEOF
9534 /* end confdefs.h. */
9536 /* Override any GCC internal prototype to avoid an error.
9537 Use char because int might match the return type of a GCC
9538 builtin and then its argument prototype would still apply. */
9539 #ifdef __cplusplus
9540 extern "C"
9541 #endif
9542 char gluLookAt ();
9544 main ()
9546 return gluLookAt ();
9548 return 0;
9550 _ACEOF
9551 rm -f conftest.$ac_objext conftest$ac_exeext
9552 if { (ac_try="$ac_link"
9553 case "(($ac_try" in
9554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9555 *) ac_try_echo=$ac_try;;
9556 esac
9557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9558 (eval "$ac_link") 2>conftest.er1
9559 ac_status=$?
9560 grep -v '^ *+' conftest.er1 >conftest.err
9561 rm -f conftest.er1
9562 cat conftest.err >&5
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 (exit $ac_status); } &&
9565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9566 { (case "(($ac_try" in
9567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9568 *) ac_try_echo=$ac_try;;
9569 esac
9570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9571 (eval "$ac_try") 2>&5
9572 ac_status=$?
9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574 (exit $ac_status); }; } &&
9575 { ac_try='test -s conftest$ac_exeext'
9576 { (case "(($ac_try" in
9577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9578 *) ac_try_echo=$ac_try;;
9579 esac
9580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9581 (eval "$ac_try") 2>&5
9582 ac_status=$?
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584 (exit $ac_status); }; }; then
9585 ac_cv_lib_GLU_gluLookAt=yes
9586 else
9587 echo "$as_me: failed program was:" >&5
9588 sed 's/^/| /' conftest.$ac_ext >&5
9590 ac_cv_lib_GLU_gluLookAt=no
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 LIBS=$ac_check_lib_save_LIBS
9597 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9598 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9599 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9600 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9601 GLU32FILES='$(GLU32FILES)'
9607 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9608 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9609 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9610 echo $ECHO_N "(cached) $ECHO_C" >&6
9611 else
9612 ac_check_lib_save_LIBS=$LIBS
9613 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9614 cat >conftest.$ac_ext <<_ACEOF
9615 /* confdefs.h. */
9616 _ACEOF
9617 cat confdefs.h >>conftest.$ac_ext
9618 cat >>conftest.$ac_ext <<_ACEOF
9619 /* end confdefs.h. */
9621 /* Override any GCC internal prototype to avoid an error.
9622 Use char because int might match the return type of a GCC
9623 builtin and then its argument prototype would still apply. */
9624 #ifdef __cplusplus
9625 extern "C"
9626 #endif
9627 char glutMainLoop ();
9629 main ()
9631 return glutMainLoop ();
9633 return 0;
9635 _ACEOF
9636 rm -f conftest.$ac_objext conftest$ac_exeext
9637 if { (ac_try="$ac_link"
9638 case "(($ac_try" in
9639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9640 *) ac_try_echo=$ac_try;;
9641 esac
9642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9643 (eval "$ac_link") 2>conftest.er1
9644 ac_status=$?
9645 grep -v '^ *+' conftest.er1 >conftest.err
9646 rm -f conftest.er1
9647 cat conftest.err >&5
9648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9649 (exit $ac_status); } &&
9650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9651 { (case "(($ac_try" in
9652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9653 *) ac_try_echo=$ac_try;;
9654 esac
9655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9656 (eval "$ac_try") 2>&5
9657 ac_status=$?
9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); }; } &&
9660 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
9670 ac_cv_lib_glut_glutMainLoop=yes
9671 else
9672 echo "$as_me: failed program was:" >&5
9673 sed 's/^/| /' conftest.$ac_ext >&5
9675 ac_cv_lib_glut_glutMainLoop=no
9678 rm -f core conftest.err conftest.$ac_objext \
9679 conftest$ac_exeext conftest.$ac_ext
9680 LIBS=$ac_check_lib_save_LIBS
9682 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9683 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9684 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9685 GLUT_LIBS="-lglut -lXmu -lXi"
9687 GLUT32FILES='$(GLUT32FILES)'
9694 NASLIBS=""
9697 for ac_header in audio/audiolib.h
9699 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9700 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9701 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9703 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9704 echo $ECHO_N "(cached) $ECHO_C" >&6
9706 ac_res=`eval echo '${'$as_ac_Header'}'`
9707 { echo "$as_me:$LINENO: result: $ac_res" >&5
9708 echo "${ECHO_T}$ac_res" >&6; }
9709 else
9710 # Is the header compilable?
9711 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9712 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9713 cat >conftest.$ac_ext <<_ACEOF
9714 /* confdefs.h. */
9715 _ACEOF
9716 cat confdefs.h >>conftest.$ac_ext
9717 cat >>conftest.$ac_ext <<_ACEOF
9718 /* end confdefs.h. */
9719 $ac_includes_default
9720 #include <$ac_header>
9721 _ACEOF
9722 rm -f conftest.$ac_objext
9723 if { (ac_try="$ac_compile"
9724 case "(($ac_try" in
9725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9726 *) ac_try_echo=$ac_try;;
9727 esac
9728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9729 (eval "$ac_compile") 2>conftest.er1
9730 ac_status=$?
9731 grep -v '^ *+' conftest.er1 >conftest.err
9732 rm -f conftest.er1
9733 cat conftest.err >&5
9734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735 (exit $ac_status); } &&
9736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9737 { (case "(($ac_try" in
9738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9739 *) ac_try_echo=$ac_try;;
9740 esac
9741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9742 (eval "$ac_try") 2>&5
9743 ac_status=$?
9744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9745 (exit $ac_status); }; } &&
9746 { ac_try='test -s conftest.$ac_objext'
9747 { (case "(($ac_try" in
9748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9749 *) ac_try_echo=$ac_try;;
9750 esac
9751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9752 (eval "$ac_try") 2>&5
9753 ac_status=$?
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); }; }; then
9756 ac_header_compiler=yes
9757 else
9758 echo "$as_me: failed program was:" >&5
9759 sed 's/^/| /' conftest.$ac_ext >&5
9761 ac_header_compiler=no
9764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9765 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9766 echo "${ECHO_T}$ac_header_compiler" >&6; }
9768 # Is the header present?
9769 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9770 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9771 cat >conftest.$ac_ext <<_ACEOF
9772 /* confdefs.h. */
9773 _ACEOF
9774 cat confdefs.h >>conftest.$ac_ext
9775 cat >>conftest.$ac_ext <<_ACEOF
9776 /* end confdefs.h. */
9777 #include <$ac_header>
9778 _ACEOF
9779 if { (ac_try="$ac_cpp conftest.$ac_ext"
9780 case "(($ac_try" in
9781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9782 *) ac_try_echo=$ac_try;;
9783 esac
9784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9785 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9786 ac_status=$?
9787 grep -v '^ *+' conftest.er1 >conftest.err
9788 rm -f conftest.er1
9789 cat conftest.err >&5
9790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9791 (exit $ac_status); } >/dev/null; then
9792 if test -s conftest.err; then
9793 ac_cpp_err=$ac_c_preproc_warn_flag
9794 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9795 else
9796 ac_cpp_err=
9798 else
9799 ac_cpp_err=yes
9801 if test -z "$ac_cpp_err"; then
9802 ac_header_preproc=yes
9803 else
9804 echo "$as_me: failed program was:" >&5
9805 sed 's/^/| /' conftest.$ac_ext >&5
9807 ac_header_preproc=no
9810 rm -f conftest.err conftest.$ac_ext
9811 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9812 echo "${ECHO_T}$ac_header_preproc" >&6; }
9814 # So? What about this header?
9815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9816 yes:no: )
9817 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9818 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9819 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9820 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9821 ac_header_preproc=yes
9823 no:yes:* )
9824 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9825 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9826 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9827 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9828 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9829 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9830 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9831 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9833 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9834 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9835 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9836 ( cat <<\_ASBOX
9837 ## ------------------------------------ ##
9838 ## Report this to wine-devel@winehq.org ##
9839 ## ------------------------------------ ##
9840 _ASBOX
9841 ) | sed "s/^/$as_me: WARNING: /" >&2
9843 esac
9844 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9846 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9847 echo $ECHO_N "(cached) $ECHO_C" >&6
9848 else
9849 eval "$as_ac_Header=\$ac_header_preproc"
9851 ac_res=`eval echo '${'$as_ac_Header'}'`
9852 { echo "$as_me:$LINENO: result: $ac_res" >&5
9853 echo "${ECHO_T}$ac_res" >&6; }
9856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9857 cat >>confdefs.h <<_ACEOF
9858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9859 _ACEOF
9861 for ac_header in audio/soundlib.h
9863 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9864 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9866 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9868 else
9869 cat >conftest.$ac_ext <<_ACEOF
9870 /* confdefs.h. */
9871 _ACEOF
9872 cat confdefs.h >>conftest.$ac_ext
9873 cat >>conftest.$ac_ext <<_ACEOF
9874 /* end confdefs.h. */
9875 #include <audio/audiolib.h>
9877 #include <$ac_header>
9878 _ACEOF
9879 rm -f conftest.$ac_objext
9880 if { (ac_try="$ac_compile"
9881 case "(($ac_try" in
9882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9883 *) ac_try_echo=$ac_try;;
9884 esac
9885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9886 (eval "$ac_compile") 2>conftest.er1
9887 ac_status=$?
9888 grep -v '^ *+' conftest.er1 >conftest.err
9889 rm -f conftest.er1
9890 cat conftest.err >&5
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); } &&
9893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9894 { (case "(($ac_try" in
9895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9896 *) ac_try_echo=$ac_try;;
9897 esac
9898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9899 (eval "$ac_try") 2>&5
9900 ac_status=$?
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); }; } &&
9903 { ac_try='test -s conftest.$ac_objext'
9904 { (case "(($ac_try" in
9905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9906 *) ac_try_echo=$ac_try;;
9907 esac
9908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9909 (eval "$ac_try") 2>&5
9910 ac_status=$?
9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912 (exit $ac_status); }; }; then
9913 eval "$as_ac_Header=yes"
9914 else
9915 echo "$as_me: failed program was:" >&5
9916 sed 's/^/| /' conftest.$ac_ext >&5
9918 eval "$as_ac_Header=no"
9921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9923 ac_res=`eval echo '${'$as_ac_Header'}'`
9924 { echo "$as_me:$LINENO: result: $ac_res" >&5
9925 echo "${ECHO_T}$ac_res" >&6; }
9926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9927 cat >>confdefs.h <<_ACEOF
9928 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9929 _ACEOF
9933 done
9935 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9936 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9937 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9938 echo $ECHO_N "(cached) $ECHO_C" >&6
9939 else
9940 ac_check_lib_save_LIBS=$LIBS
9941 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9942 cat >conftest.$ac_ext <<_ACEOF
9943 /* confdefs.h. */
9944 _ACEOF
9945 cat confdefs.h >>conftest.$ac_ext
9946 cat >>conftest.$ac_ext <<_ACEOF
9947 /* end confdefs.h. */
9949 /* Override any GCC internal prototype to avoid an error.
9950 Use char because int might match the return type of a GCC
9951 builtin and then its argument prototype would still apply. */
9952 #ifdef __cplusplus
9953 extern "C"
9954 #endif
9955 char AuCreateFlow ();
9957 main ()
9959 return AuCreateFlow ();
9961 return 0;
9963 _ACEOF
9964 rm -f conftest.$ac_objext conftest$ac_exeext
9965 if { (ac_try="$ac_link"
9966 case "(($ac_try" in
9967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9968 *) ac_try_echo=$ac_try;;
9969 esac
9970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9971 (eval "$ac_link") 2>conftest.er1
9972 ac_status=$?
9973 grep -v '^ *+' conftest.er1 >conftest.err
9974 rm -f conftest.er1
9975 cat conftest.err >&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); } &&
9978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9979 { (case "(($ac_try" in
9980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9981 *) ac_try_echo=$ac_try;;
9982 esac
9983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9984 (eval "$ac_try") 2>&5
9985 ac_status=$?
9986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987 (exit $ac_status); }; } &&
9988 { ac_try='test -s conftest$ac_exeext'
9989 { (case "(($ac_try" in
9990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9991 *) ac_try_echo=$ac_try;;
9992 esac
9993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9994 (eval "$ac_try") 2>&5
9995 ac_status=$?
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 (exit $ac_status); }; }; then
9998 ac_cv_lib_audio_AuCreateFlow=yes
9999 else
10000 echo "$as_me: failed program was:" >&5
10001 sed 's/^/| /' conftest.$ac_ext >&5
10003 ac_cv_lib_audio_AuCreateFlow=no
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 LIBS=$ac_check_lib_save_LIBS
10010 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10011 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10012 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10014 cat >>confdefs.h <<\_ACEOF
10015 #define HAVE_NAS 1
10016 _ACEOF
10018 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10023 done
10026 CPPFLAGS="$ac_save_CPPFLAGS"
10027 XFILES='$(XFILES)'
10028 else
10029 XLIB=""
10030 X_CFLAGS=""
10031 X_LIBS=""
10035 XML2LIBS=""
10037 XML2INCL=""
10039 XSLTLIBS=""
10041 XSLTINCL=""
10043 if test "$PKG_CONFIG" != "false"
10044 then
10045 ac_save_CPPFLAGS="$CPPFLAGS"
10046 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10047 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10048 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10050 for ac_header in libxml/parser.h
10052 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10053 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10054 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10056 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10057 echo $ECHO_N "(cached) $ECHO_C" >&6
10059 ac_res=`eval echo '${'$as_ac_Header'}'`
10060 { echo "$as_me:$LINENO: result: $ac_res" >&5
10061 echo "${ECHO_T}$ac_res" >&6; }
10062 else
10063 # Is the header compilable?
10064 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10065 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10066 cat >conftest.$ac_ext <<_ACEOF
10067 /* confdefs.h. */
10068 _ACEOF
10069 cat confdefs.h >>conftest.$ac_ext
10070 cat >>conftest.$ac_ext <<_ACEOF
10071 /* end confdefs.h. */
10072 $ac_includes_default
10073 #include <$ac_header>
10074 _ACEOF
10075 rm -f conftest.$ac_objext
10076 if { (ac_try="$ac_compile"
10077 case "(($ac_try" in
10078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10079 *) ac_try_echo=$ac_try;;
10080 esac
10081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10082 (eval "$ac_compile") 2>conftest.er1
10083 ac_status=$?
10084 grep -v '^ *+' conftest.er1 >conftest.err
10085 rm -f conftest.er1
10086 cat conftest.err >&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); } &&
10089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10090 { (case "(($ac_try" in
10091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10092 *) ac_try_echo=$ac_try;;
10093 esac
10094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10095 (eval "$ac_try") 2>&5
10096 ac_status=$?
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); }; } &&
10099 { ac_try='test -s conftest.$ac_objext'
10100 { (case "(($ac_try" in
10101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10102 *) ac_try_echo=$ac_try;;
10103 esac
10104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10105 (eval "$ac_try") 2>&5
10106 ac_status=$?
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); }; }; then
10109 ac_header_compiler=yes
10110 else
10111 echo "$as_me: failed program was:" >&5
10112 sed 's/^/| /' conftest.$ac_ext >&5
10114 ac_header_compiler=no
10117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10118 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10119 echo "${ECHO_T}$ac_header_compiler" >&6; }
10121 # Is the header present?
10122 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10123 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10124 cat >conftest.$ac_ext <<_ACEOF
10125 /* confdefs.h. */
10126 _ACEOF
10127 cat confdefs.h >>conftest.$ac_ext
10128 cat >>conftest.$ac_ext <<_ACEOF
10129 /* end confdefs.h. */
10130 #include <$ac_header>
10131 _ACEOF
10132 if { (ac_try="$ac_cpp conftest.$ac_ext"
10133 case "(($ac_try" in
10134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10135 *) ac_try_echo=$ac_try;;
10136 esac
10137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10138 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10139 ac_status=$?
10140 grep -v '^ *+' conftest.er1 >conftest.err
10141 rm -f conftest.er1
10142 cat conftest.err >&5
10143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 (exit $ac_status); } >/dev/null; then
10145 if test -s conftest.err; then
10146 ac_cpp_err=$ac_c_preproc_warn_flag
10147 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10148 else
10149 ac_cpp_err=
10151 else
10152 ac_cpp_err=yes
10154 if test -z "$ac_cpp_err"; then
10155 ac_header_preproc=yes
10156 else
10157 echo "$as_me: failed program was:" >&5
10158 sed 's/^/| /' conftest.$ac_ext >&5
10160 ac_header_preproc=no
10163 rm -f conftest.err conftest.$ac_ext
10164 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10165 echo "${ECHO_T}$ac_header_preproc" >&6; }
10167 # So? What about this header?
10168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10169 yes:no: )
10170 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10171 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10173 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10174 ac_header_preproc=yes
10176 no:yes:* )
10177 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10179 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10180 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10181 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10182 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10183 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10184 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10186 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10187 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10188 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10189 ( cat <<\_ASBOX
10190 ## ------------------------------------ ##
10191 ## Report this to wine-devel@winehq.org ##
10192 ## ------------------------------------ ##
10193 _ASBOX
10194 ) | sed "s/^/$as_me: WARNING: /" >&2
10196 esac
10197 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10199 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10200 echo $ECHO_N "(cached) $ECHO_C" >&6
10201 else
10202 eval "$as_ac_Header=\$ac_header_preproc"
10204 ac_res=`eval echo '${'$as_ac_Header'}'`
10205 { echo "$as_me:$LINENO: result: $ac_res" >&5
10206 echo "${ECHO_T}$ac_res" >&6; }
10209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10210 cat >>confdefs.h <<_ACEOF
10211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10212 _ACEOF
10213 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10214 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10215 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10216 echo $ECHO_N "(cached) $ECHO_C" >&6
10217 else
10218 ac_check_lib_save_LIBS=$LIBS
10219 LIBS="-lxml2 $ac_xml_libs $LIBS"
10220 cat >conftest.$ac_ext <<_ACEOF
10221 /* confdefs.h. */
10222 _ACEOF
10223 cat confdefs.h >>conftest.$ac_ext
10224 cat >>conftest.$ac_ext <<_ACEOF
10225 /* end confdefs.h. */
10227 /* Override any GCC internal prototype to avoid an error.
10228 Use char because int might match the return type of a GCC
10229 builtin and then its argument prototype would still apply. */
10230 #ifdef __cplusplus
10231 extern "C"
10232 #endif
10233 char xmlParseMemory ();
10235 main ()
10237 return xmlParseMemory ();
10239 return 0;
10241 _ACEOF
10242 rm -f conftest.$ac_objext conftest$ac_exeext
10243 if { (ac_try="$ac_link"
10244 case "(($ac_try" in
10245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10246 *) ac_try_echo=$ac_try;;
10247 esac
10248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10249 (eval "$ac_link") 2>conftest.er1
10250 ac_status=$?
10251 grep -v '^ *+' conftest.er1 >conftest.err
10252 rm -f conftest.er1
10253 cat conftest.err >&5
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); } &&
10256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10257 { (case "(($ac_try" in
10258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10259 *) ac_try_echo=$ac_try;;
10260 esac
10261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10262 (eval "$ac_try") 2>&5
10263 ac_status=$?
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); }; } &&
10266 { ac_try='test -s conftest$ac_exeext'
10267 { (case "(($ac_try" in
10268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10269 *) ac_try_echo=$ac_try;;
10270 esac
10271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10272 (eval "$ac_try") 2>&5
10273 ac_status=$?
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; }; then
10276 ac_cv_lib_xml2_xmlParseMemory=yes
10277 else
10278 echo "$as_me: failed program was:" >&5
10279 sed 's/^/| /' conftest.$ac_ext >&5
10281 ac_cv_lib_xml2_xmlParseMemory=no
10284 rm -f core conftest.err conftest.$ac_objext \
10285 conftest$ac_exeext conftest.$ac_ext
10286 LIBS=$ac_check_lib_save_LIBS
10288 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10289 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10290 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10292 cat >>confdefs.h <<\_ACEOF
10293 #define HAVE_LIBXML2 1
10294 _ACEOF
10296 XML2LIBS="$ac_xml_libs"
10297 XML2INCL="$ac_xml_cflags"
10300 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10301 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10302 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10303 echo $ECHO_N "(cached) $ECHO_C" >&6
10304 else
10305 ac_check_lib_save_LIBS=$LIBS
10306 LIBS="-lxml2 $ac_xml_libs $LIBS"
10307 cat >conftest.$ac_ext <<_ACEOF
10308 /* confdefs.h. */
10309 _ACEOF
10310 cat confdefs.h >>conftest.$ac_ext
10311 cat >>conftest.$ac_ext <<_ACEOF
10312 /* end confdefs.h. */
10314 /* Override any GCC internal prototype to avoid an error.
10315 Use char because int might match the return type of a GCC
10316 builtin and then its argument prototype would still apply. */
10317 #ifdef __cplusplus
10318 extern "C"
10319 #endif
10320 char xmlReadMemory ();
10322 main ()
10324 return xmlReadMemory ();
10326 return 0;
10328 _ACEOF
10329 rm -f conftest.$ac_objext conftest$ac_exeext
10330 if { (ac_try="$ac_link"
10331 case "(($ac_try" in
10332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10333 *) ac_try_echo=$ac_try;;
10334 esac
10335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10336 (eval "$ac_link") 2>conftest.er1
10337 ac_status=$?
10338 grep -v '^ *+' conftest.er1 >conftest.err
10339 rm -f conftest.er1
10340 cat conftest.err >&5
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); } &&
10343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10344 { (case "(($ac_try" in
10345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10346 *) ac_try_echo=$ac_try;;
10347 esac
10348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10349 (eval "$ac_try") 2>&5
10350 ac_status=$?
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); }; } &&
10353 { ac_try='test -s conftest$ac_exeext'
10354 { (case "(($ac_try" in
10355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10356 *) ac_try_echo=$ac_try;;
10357 esac
10358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10359 (eval "$ac_try") 2>&5
10360 ac_status=$?
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); }; }; then
10363 ac_cv_lib_xml2_xmlReadMemory=yes
10364 else
10365 echo "$as_me: failed program was:" >&5
10366 sed 's/^/| /' conftest.$ac_ext >&5
10368 ac_cv_lib_xml2_xmlReadMemory=no
10371 rm -f core conftest.err conftest.$ac_objext \
10372 conftest$ac_exeext conftest.$ac_ext
10373 LIBS=$ac_check_lib_save_LIBS
10375 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10376 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10377 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10379 cat >>confdefs.h <<\_ACEOF
10380 #define HAVE_XMLREADMEMORY 1
10381 _ACEOF
10388 done
10390 CPPFLAGS="$ac_save_CPPFLAGS"
10391 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10392 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10393 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10396 for ac_header in libxslt/pattern.h libxslt/transform.h
10398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10399 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10402 echo $ECHO_N "(cached) $ECHO_C" >&6
10403 else
10404 cat >conftest.$ac_ext <<_ACEOF
10405 /* confdefs.h. */
10406 _ACEOF
10407 cat confdefs.h >>conftest.$ac_ext
10408 cat >>conftest.$ac_ext <<_ACEOF
10409 /* end confdefs.h. */
10410 #ifdef HAVE_LIBXSLT_PATTERN_H
10411 # include <libxslt/pattern.h>
10412 #endif
10414 #include <$ac_header>
10415 _ACEOF
10416 rm -f conftest.$ac_objext
10417 if { (ac_try="$ac_compile"
10418 case "(($ac_try" in
10419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10420 *) ac_try_echo=$ac_try;;
10421 esac
10422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10423 (eval "$ac_compile") 2>conftest.er1
10424 ac_status=$?
10425 grep -v '^ *+' conftest.er1 >conftest.err
10426 rm -f conftest.er1
10427 cat conftest.err >&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); } &&
10430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10431 { (case "(($ac_try" in
10432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10433 *) ac_try_echo=$ac_try;;
10434 esac
10435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10436 (eval "$ac_try") 2>&5
10437 ac_status=$?
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); }; } &&
10440 { ac_try='test -s conftest.$ac_objext'
10441 { (case "(($ac_try" in
10442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10443 *) ac_try_echo=$ac_try;;
10444 esac
10445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10446 (eval "$ac_try") 2>&5
10447 ac_status=$?
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; }; then
10450 eval "$as_ac_Header=yes"
10451 else
10452 echo "$as_me: failed program was:" >&5
10453 sed 's/^/| /' conftest.$ac_ext >&5
10455 eval "$as_ac_Header=no"
10458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10460 ac_res=`eval echo '${'$as_ac_Header'}'`
10461 { echo "$as_me:$LINENO: result: $ac_res" >&5
10462 echo "${ECHO_T}$ac_res" >&6; }
10463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10464 cat >>confdefs.h <<_ACEOF
10465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10466 _ACEOF
10467 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10468 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10469 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10470 echo $ECHO_N "(cached) $ECHO_C" >&6
10471 else
10472 ac_check_lib_save_LIBS=$LIBS
10473 LIBS="-lxslt $ac_xslt_libs $LIBS"
10474 cat >conftest.$ac_ext <<_ACEOF
10475 /* confdefs.h. */
10476 _ACEOF
10477 cat confdefs.h >>conftest.$ac_ext
10478 cat >>conftest.$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10481 /* Override any GCC internal prototype to avoid an error.
10482 Use char because int might match the return type of a GCC
10483 builtin and then its argument prototype would still apply. */
10484 #ifdef __cplusplus
10485 extern "C"
10486 #endif
10487 char xsltCompilePattern ();
10489 main ()
10491 return xsltCompilePattern ();
10493 return 0;
10495 _ACEOF
10496 rm -f conftest.$ac_objext conftest$ac_exeext
10497 if { (ac_try="$ac_link"
10498 case "(($ac_try" in
10499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10500 *) ac_try_echo=$ac_try;;
10501 esac
10502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10503 (eval "$ac_link") 2>conftest.er1
10504 ac_status=$?
10505 grep -v '^ *+' conftest.er1 >conftest.err
10506 rm -f conftest.er1
10507 cat conftest.err >&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10511 { (case "(($ac_try" in
10512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10513 *) ac_try_echo=$ac_try;;
10514 esac
10515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10516 (eval "$ac_try") 2>&5
10517 ac_status=$?
10518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10519 (exit $ac_status); }; } &&
10520 { ac_try='test -s conftest$ac_exeext'
10521 { (case "(($ac_try" in
10522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10523 *) ac_try_echo=$ac_try;;
10524 esac
10525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10526 (eval "$ac_try") 2>&5
10527 ac_status=$?
10528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); }; }; then
10530 ac_cv_lib_xslt_xsltCompilePattern=yes
10531 else
10532 echo "$as_me: failed program was:" >&5
10533 sed 's/^/| /' conftest.$ac_ext >&5
10535 ac_cv_lib_xslt_xsltCompilePattern=no
10538 rm -f core conftest.err conftest.$ac_objext \
10539 conftest$ac_exeext conftest.$ac_ext
10540 LIBS=$ac_check_lib_save_LIBS
10542 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10543 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10544 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10546 cat >>confdefs.h <<\_ACEOF
10547 #define HAVE_LIBXSLT 1
10548 _ACEOF
10550 XSLTLIBS="$ac_xslt_libs"
10551 XSLTINCL="$ac_xslt_cflags"
10557 done
10559 CPPFLAGS="$ac_save_CPPFLAGS"
10562 HALINCL=""
10564 if test "$PKG_CONFIG" != "false"
10565 then
10566 ac_save_CPPFLAGS="$CPPFLAGS"
10567 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10568 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10569 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10572 for ac_header in dbus/dbus.h hal/libhal.h
10574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10576 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10578 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10579 echo $ECHO_N "(cached) $ECHO_C" >&6
10581 ac_res=`eval echo '${'$as_ac_Header'}'`
10582 { echo "$as_me:$LINENO: result: $ac_res" >&5
10583 echo "${ECHO_T}$ac_res" >&6; }
10584 else
10585 # Is the header compilable?
10586 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10587 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10588 cat >conftest.$ac_ext <<_ACEOF
10589 /* confdefs.h. */
10590 _ACEOF
10591 cat confdefs.h >>conftest.$ac_ext
10592 cat >>conftest.$ac_ext <<_ACEOF
10593 /* end confdefs.h. */
10594 $ac_includes_default
10595 #include <$ac_header>
10596 _ACEOF
10597 rm -f conftest.$ac_objext
10598 if { (ac_try="$ac_compile"
10599 case "(($ac_try" in
10600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10601 *) ac_try_echo=$ac_try;;
10602 esac
10603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10604 (eval "$ac_compile") 2>conftest.er1
10605 ac_status=$?
10606 grep -v '^ *+' conftest.er1 >conftest.err
10607 rm -f conftest.er1
10608 cat conftest.err >&5
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); } &&
10611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10612 { (case "(($ac_try" in
10613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10614 *) ac_try_echo=$ac_try;;
10615 esac
10616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10617 (eval "$ac_try") 2>&5
10618 ac_status=$?
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); }; } &&
10621 { ac_try='test -s conftest.$ac_objext'
10622 { (case "(($ac_try" in
10623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10624 *) ac_try_echo=$ac_try;;
10625 esac
10626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10627 (eval "$ac_try") 2>&5
10628 ac_status=$?
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; }; then
10631 ac_header_compiler=yes
10632 else
10633 echo "$as_me: failed program was:" >&5
10634 sed 's/^/| /' conftest.$ac_ext >&5
10636 ac_header_compiler=no
10639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10640 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10641 echo "${ECHO_T}$ac_header_compiler" >&6; }
10643 # Is the header present?
10644 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10645 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10646 cat >conftest.$ac_ext <<_ACEOF
10647 /* confdefs.h. */
10648 _ACEOF
10649 cat confdefs.h >>conftest.$ac_ext
10650 cat >>conftest.$ac_ext <<_ACEOF
10651 /* end confdefs.h. */
10652 #include <$ac_header>
10653 _ACEOF
10654 if { (ac_try="$ac_cpp conftest.$ac_ext"
10655 case "(($ac_try" in
10656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10657 *) ac_try_echo=$ac_try;;
10658 esac
10659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10661 ac_status=$?
10662 grep -v '^ *+' conftest.er1 >conftest.err
10663 rm -f conftest.er1
10664 cat conftest.err >&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); } >/dev/null; then
10667 if test -s conftest.err; then
10668 ac_cpp_err=$ac_c_preproc_warn_flag
10669 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10670 else
10671 ac_cpp_err=
10673 else
10674 ac_cpp_err=yes
10676 if test -z "$ac_cpp_err"; then
10677 ac_header_preproc=yes
10678 else
10679 echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10682 ac_header_preproc=no
10685 rm -f conftest.err conftest.$ac_ext
10686 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10687 echo "${ECHO_T}$ac_header_preproc" >&6; }
10689 # So? What about this header?
10690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10691 yes:no: )
10692 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10693 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10695 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10696 ac_header_preproc=yes
10698 no:yes:* )
10699 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10700 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10701 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10702 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10703 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10704 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10705 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10706 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10708 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10709 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10710 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10711 ( cat <<\_ASBOX
10712 ## ------------------------------------ ##
10713 ## Report this to wine-devel@winehq.org ##
10714 ## ------------------------------------ ##
10715 _ASBOX
10716 ) | sed "s/^/$as_me: WARNING: /" >&2
10718 esac
10719 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10721 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10722 echo $ECHO_N "(cached) $ECHO_C" >&6
10723 else
10724 eval "$as_ac_Header=\$ac_header_preproc"
10726 ac_res=`eval echo '${'$as_ac_Header'}'`
10727 { echo "$as_me:$LINENO: result: $ac_res" >&5
10728 echo "${ECHO_T}$ac_res" >&6; }
10731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10732 cat >>confdefs.h <<_ACEOF
10733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10734 _ACEOF
10738 done
10740 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10741 then
10742 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10743 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10744 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10746 else
10747 ac_check_lib_save_LIBS=$LIBS
10748 LIBS="-lhal $LIBS"
10749 cat >conftest.$ac_ext <<_ACEOF
10750 /* confdefs.h. */
10751 _ACEOF
10752 cat confdefs.h >>conftest.$ac_ext
10753 cat >>conftest.$ac_ext <<_ACEOF
10754 /* end confdefs.h. */
10756 /* Override any GCC internal prototype to avoid an error.
10757 Use char because int might match the return type of a GCC
10758 builtin and then its argument prototype would still apply. */
10759 #ifdef __cplusplus
10760 extern "C"
10761 #endif
10762 char libhal_ctx_new ();
10764 main ()
10766 return libhal_ctx_new ();
10768 return 0;
10770 _ACEOF
10771 rm -f conftest.$ac_objext conftest$ac_exeext
10772 if { (ac_try="$ac_link"
10773 case "(($ac_try" in
10774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10775 *) ac_try_echo=$ac_try;;
10776 esac
10777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10778 (eval "$ac_link") 2>conftest.er1
10779 ac_status=$?
10780 grep -v '^ *+' conftest.er1 >conftest.err
10781 rm -f conftest.er1
10782 cat conftest.err >&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); } &&
10785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10786 { (case "(($ac_try" in
10787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10788 *) ac_try_echo=$ac_try;;
10789 esac
10790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10791 (eval "$ac_try") 2>&5
10792 ac_status=$?
10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794 (exit $ac_status); }; } &&
10795 { ac_try='test -s conftest$ac_exeext'
10796 { (case "(($ac_try" in
10797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10798 *) ac_try_echo=$ac_try;;
10799 esac
10800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10801 (eval "$ac_try") 2>&5
10802 ac_status=$?
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); }; }; then
10805 ac_cv_lib_hal_libhal_ctx_new=yes
10806 else
10807 echo "$as_me: failed program was:" >&5
10808 sed 's/^/| /' conftest.$ac_ext >&5
10810 ac_cv_lib_hal_libhal_ctx_new=no
10813 rm -f core conftest.err conftest.$ac_objext \
10814 conftest$ac_exeext conftest.$ac_ext
10815 LIBS=$ac_check_lib_save_LIBS
10817 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10818 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10819 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10820 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10821 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10822 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10823 echo $ECHO_N "(cached) $ECHO_C" >&6
10824 else
10825 ac_check_lib_save_LIBS=$LIBS
10826 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10827 cat >conftest.$ac_ext <<_ACEOF
10828 /* confdefs.h. */
10829 _ACEOF
10830 cat confdefs.h >>conftest.$ac_ext
10831 cat >>conftest.$ac_ext <<_ACEOF
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10837 #ifdef __cplusplus
10838 extern "C"
10839 #endif
10840 char dbus_connection_close ();
10842 main ()
10844 return dbus_connection_close ();
10846 return 0;
10848 _ACEOF
10849 rm -f conftest.$ac_objext conftest$ac_exeext
10850 if { (ac_try="$ac_link"
10851 case "(($ac_try" in
10852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10853 *) ac_try_echo=$ac_try;;
10854 esac
10855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10856 (eval "$ac_link") 2>conftest.er1
10857 ac_status=$?
10858 grep -v '^ *+' conftest.er1 >conftest.err
10859 rm -f conftest.er1
10860 cat conftest.err >&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); } &&
10863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10864 { (case "(($ac_try" in
10865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10866 *) ac_try_echo=$ac_try;;
10867 esac
10868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10869 (eval "$ac_try") 2>&5
10870 ac_status=$?
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); }; } &&
10873 { ac_try='test -s conftest$ac_exeext'
10874 { (case "(($ac_try" in
10875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10876 *) ac_try_echo=$ac_try;;
10877 esac
10878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10879 (eval "$ac_try") 2>&5
10880 ac_status=$?
10881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882 (exit $ac_status); }; }; then
10883 ac_cv_lib_dbus_1_dbus_connection_close=yes
10884 else
10885 echo "$as_me: failed program was:" >&5
10886 sed 's/^/| /' conftest.$ac_ext >&5
10888 ac_cv_lib_dbus_1_dbus_connection_close=no
10891 rm -f core conftest.err conftest.$ac_objext \
10892 conftest$ac_exeext conftest.$ac_ext
10893 LIBS=$ac_check_lib_save_LIBS
10895 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10896 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10897 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10899 cat >>confdefs.h <<\_ACEOF
10900 #define HAVE_LIBHAL 1
10901 _ACEOF
10903 HALINCL="$ac_hal_cflags"
10909 CPPFLAGS="$ac_save_CPPFLAGS"
10912 CURSESLIBS=""
10913 if test "x$with_curses" != "xno"
10914 then
10915 if test "$ac_cv_header_ncurses_h" = "yes"
10916 then
10917 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10918 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10919 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10920 echo $ECHO_N "(cached) $ECHO_C" >&6
10921 else
10922 ac_check_lib_save_LIBS=$LIBS
10923 LIBS="-lncurses $LIBS"
10924 cat >conftest.$ac_ext <<_ACEOF
10925 /* confdefs.h. */
10926 _ACEOF
10927 cat confdefs.h >>conftest.$ac_ext
10928 cat >>conftest.$ac_ext <<_ACEOF
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10934 #ifdef __cplusplus
10935 extern "C"
10936 #endif
10937 char waddch ();
10939 main ()
10941 return waddch ();
10943 return 0;
10945 _ACEOF
10946 rm -f conftest.$ac_objext conftest$ac_exeext
10947 if { (ac_try="$ac_link"
10948 case "(($ac_try" in
10949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10950 *) ac_try_echo=$ac_try;;
10951 esac
10952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10953 (eval "$ac_link") 2>conftest.er1
10954 ac_status=$?
10955 grep -v '^ *+' conftest.er1 >conftest.err
10956 rm -f conftest.er1
10957 cat conftest.err >&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); } &&
10960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10961 { (case "(($ac_try" in
10962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10963 *) ac_try_echo=$ac_try;;
10964 esac
10965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10966 (eval "$ac_try") 2>&5
10967 ac_status=$?
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; } &&
10970 { ac_try='test -s conftest$ac_exeext'
10971 { (case "(($ac_try" in
10972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10973 *) ac_try_echo=$ac_try;;
10974 esac
10975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10976 (eval "$ac_try") 2>&5
10977 ac_status=$?
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }; }; then
10980 ac_cv_lib_ncurses_waddch=yes
10981 else
10982 echo "$as_me: failed program was:" >&5
10983 sed 's/^/| /' conftest.$ac_ext >&5
10985 ac_cv_lib_ncurses_waddch=no
10988 rm -f core conftest.err conftest.$ac_objext \
10989 conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_lib_save_LIBS
10992 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10993 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10994 if test $ac_cv_lib_ncurses_waddch = yes; then
10996 cat >>confdefs.h <<\_ACEOF
10997 #define HAVE_LIBNCURSES 1
10998 _ACEOF
11000 CURSESLIBS="-lncurses"
11003 elif test "$ac_cv_header_curses_h" = "yes"
11004 then
11005 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11006 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11007 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11008 echo $ECHO_N "(cached) $ECHO_C" >&6
11009 else
11010 ac_check_lib_save_LIBS=$LIBS
11011 LIBS="-lcurses $LIBS"
11012 cat >conftest.$ac_ext <<_ACEOF
11013 /* confdefs.h. */
11014 _ACEOF
11015 cat confdefs.h >>conftest.$ac_ext
11016 cat >>conftest.$ac_ext <<_ACEOF
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11022 #ifdef __cplusplus
11023 extern "C"
11024 #endif
11025 char waddch ();
11027 main ()
11029 return waddch ();
11031 return 0;
11033 _ACEOF
11034 rm -f conftest.$ac_objext conftest$ac_exeext
11035 if { (ac_try="$ac_link"
11036 case "(($ac_try" in
11037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11038 *) ac_try_echo=$ac_try;;
11039 esac
11040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11041 (eval "$ac_link") 2>conftest.er1
11042 ac_status=$?
11043 grep -v '^ *+' conftest.er1 >conftest.err
11044 rm -f conftest.er1
11045 cat conftest.err >&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } &&
11048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11049 { (case "(($ac_try" in
11050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11051 *) ac_try_echo=$ac_try;;
11052 esac
11053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11054 (eval "$ac_try") 2>&5
11055 ac_status=$?
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); }; } &&
11058 { ac_try='test -s conftest$ac_exeext'
11059 { (case "(($ac_try" in
11060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11061 *) ac_try_echo=$ac_try;;
11062 esac
11063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11064 (eval "$ac_try") 2>&5
11065 ac_status=$?
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); }; }; then
11068 ac_cv_lib_curses_waddch=yes
11069 else
11070 echo "$as_me: failed program was:" >&5
11071 sed 's/^/| /' conftest.$ac_ext >&5
11073 ac_cv_lib_curses_waddch=no
11076 rm -f core conftest.err conftest.$ac_objext \
11077 conftest$ac_exeext conftest.$ac_ext
11078 LIBS=$ac_check_lib_save_LIBS
11080 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11081 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11082 if test $ac_cv_lib_curses_waddch = yes; then
11084 cat >>confdefs.h <<\_ACEOF
11085 #define HAVE_LIBCURSES 1
11086 _ACEOF
11088 CURSESLIBS="-lcurses"
11092 ac_save_LIBS="$LIBS"
11093 LIBS="$LIBS $CURSESLIBS"
11095 for ac_func in mousemask
11097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11098 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11100 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11101 echo $ECHO_N "(cached) $ECHO_C" >&6
11102 else
11103 cat >conftest.$ac_ext <<_ACEOF
11104 /* confdefs.h. */
11105 _ACEOF
11106 cat confdefs.h >>conftest.$ac_ext
11107 cat >>conftest.$ac_ext <<_ACEOF
11108 /* end confdefs.h. */
11109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11111 #define $ac_func innocuous_$ac_func
11113 /* System header to define __stub macros and hopefully few prototypes,
11114 which can conflict with char $ac_func (); below.
11115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11116 <limits.h> exists even on freestanding compilers. */
11118 #ifdef __STDC__
11119 # include <limits.h>
11120 #else
11121 # include <assert.h>
11122 #endif
11124 #undef $ac_func
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11129 #ifdef __cplusplus
11130 extern "C"
11131 #endif
11132 char $ac_func ();
11133 /* The GNU C library defines this for functions which it implements
11134 to always fail with ENOSYS. Some functions are actually named
11135 something starting with __ and the normal name is an alias. */
11136 #if defined __stub_$ac_func || defined __stub___$ac_func
11137 choke me
11138 #endif
11141 main ()
11143 return $ac_func ();
11145 return 0;
11147 _ACEOF
11148 rm -f conftest.$ac_objext conftest$ac_exeext
11149 if { (ac_try="$ac_link"
11150 case "(($ac_try" in
11151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11152 *) ac_try_echo=$ac_try;;
11153 esac
11154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11155 (eval "$ac_link") 2>conftest.er1
11156 ac_status=$?
11157 grep -v '^ *+' conftest.er1 >conftest.err
11158 rm -f conftest.er1
11159 cat conftest.err >&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); } &&
11162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11163 { (case "(($ac_try" in
11164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11165 *) ac_try_echo=$ac_try;;
11166 esac
11167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11168 (eval "$ac_try") 2>&5
11169 ac_status=$?
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); }; } &&
11172 { ac_try='test -s conftest$ac_exeext'
11173 { (case "(($ac_try" in
11174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11175 *) ac_try_echo=$ac_try;;
11176 esac
11177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11178 (eval "$ac_try") 2>&5
11179 ac_status=$?
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; }; then
11182 eval "$as_ac_var=yes"
11183 else
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.$ac_ext >&5
11187 eval "$as_ac_var=no"
11190 rm -f core conftest.err conftest.$ac_objext \
11191 conftest$ac_exeext conftest.$ac_ext
11193 ac_res=`eval echo '${'$as_ac_var'}'`
11194 { echo "$as_me:$LINENO: result: $ac_res" >&5
11195 echo "${ECHO_T}$ac_res" >&6; }
11196 if test `eval echo '${'$as_ac_var'}'` = yes; then
11197 cat >>confdefs.h <<_ACEOF
11198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11199 _ACEOF
11202 done
11204 LIBS="$ac_save_LIBS"
11208 # Extract the first word of "sane-config", so it can be a program name with args.
11209 set dummy sane-config; ac_word=$2
11210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11212 if test "${ac_cv_prog_sane_devel+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 else
11215 if test -n "$sane_devel"; then
11216 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11217 else
11218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11219 for as_dir in $PATH
11221 IFS=$as_save_IFS
11222 test -z "$as_dir" && as_dir=.
11223 for ac_exec_ext in '' $ac_executable_extensions; do
11224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11225 ac_cv_prog_sane_devel="sane-config"
11226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11227 break 2
11229 done
11230 done
11231 IFS=$as_save_IFS
11233 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11236 sane_devel=$ac_cv_prog_sane_devel
11237 if test -n "$sane_devel"; then
11238 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11239 echo "${ECHO_T}$sane_devel" >&6; }
11240 else
11241 { echo "$as_me:$LINENO: result: no" >&5
11242 echo "${ECHO_T}no" >&6; }
11246 SANELIBS=""
11248 SANEINCL=""
11250 if test "$sane_devel" != "no"
11251 then
11252 SANELIBS="`$sane_devel --libs`"
11253 SANEINCL="`$sane_devel --cflags`"
11254 ac_save_CPPFLAGS="$CPPFLAGS"
11255 ac_save_LIBS="$LIBS"
11256 CPPFLAGS="$CPPFLAGS $SANEINCL"
11257 LIBS="$LIBS $SANELIBS"
11258 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11259 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11260 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11261 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11262 echo $ECHO_N "(cached) $ECHO_C" >&6
11264 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11265 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11266 else
11267 # Is the header compilable?
11268 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11269 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11270 cat >conftest.$ac_ext <<_ACEOF
11271 /* confdefs.h. */
11272 _ACEOF
11273 cat confdefs.h >>conftest.$ac_ext
11274 cat >>conftest.$ac_ext <<_ACEOF
11275 /* end confdefs.h. */
11276 $ac_includes_default
11277 #include <sane/sane.h>
11278 _ACEOF
11279 rm -f conftest.$ac_objext
11280 if { (ac_try="$ac_compile"
11281 case "(($ac_try" in
11282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11283 *) ac_try_echo=$ac_try;;
11284 esac
11285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11286 (eval "$ac_compile") 2>conftest.er1
11287 ac_status=$?
11288 grep -v '^ *+' conftest.er1 >conftest.err
11289 rm -f conftest.er1
11290 cat conftest.err >&5
11291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11292 (exit $ac_status); } &&
11293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11294 { (case "(($ac_try" in
11295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11296 *) ac_try_echo=$ac_try;;
11297 esac
11298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11299 (eval "$ac_try") 2>&5
11300 ac_status=$?
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); }; } &&
11303 { ac_try='test -s conftest.$ac_objext'
11304 { (case "(($ac_try" in
11305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11306 *) ac_try_echo=$ac_try;;
11307 esac
11308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11309 (eval "$ac_try") 2>&5
11310 ac_status=$?
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); }; }; then
11313 ac_header_compiler=yes
11314 else
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.$ac_ext >&5
11318 ac_header_compiler=no
11321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11322 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11323 echo "${ECHO_T}$ac_header_compiler" >&6; }
11325 # Is the header present?
11326 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11327 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11328 cat >conftest.$ac_ext <<_ACEOF
11329 /* confdefs.h. */
11330 _ACEOF
11331 cat confdefs.h >>conftest.$ac_ext
11332 cat >>conftest.$ac_ext <<_ACEOF
11333 /* end confdefs.h. */
11334 #include <sane/sane.h>
11335 _ACEOF
11336 if { (ac_try="$ac_cpp conftest.$ac_ext"
11337 case "(($ac_try" in
11338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11339 *) ac_try_echo=$ac_try;;
11340 esac
11341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11343 ac_status=$?
11344 grep -v '^ *+' conftest.er1 >conftest.err
11345 rm -f conftest.er1
11346 cat conftest.err >&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); } >/dev/null; then
11349 if test -s conftest.err; then
11350 ac_cpp_err=$ac_c_preproc_warn_flag
11351 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11352 else
11353 ac_cpp_err=
11355 else
11356 ac_cpp_err=yes
11358 if test -z "$ac_cpp_err"; then
11359 ac_header_preproc=yes
11360 else
11361 echo "$as_me: failed program was:" >&5
11362 sed 's/^/| /' conftest.$ac_ext >&5
11364 ac_header_preproc=no
11367 rm -f conftest.err conftest.$ac_ext
11368 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11369 echo "${ECHO_T}$ac_header_preproc" >&6; }
11371 # So? What about this header?
11372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11373 yes:no: )
11374 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11375 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11376 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11377 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11378 ac_header_preproc=yes
11380 no:yes:* )
11381 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11382 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11383 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11384 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11385 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11386 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11387 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11388 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11389 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11390 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11391 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11392 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11393 ( cat <<\_ASBOX
11394 ## ------------------------------------ ##
11395 ## Report this to wine-devel@winehq.org ##
11396 ## ------------------------------------ ##
11397 _ASBOX
11398 ) | sed "s/^/$as_me: WARNING: /" >&2
11400 esac
11401 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11402 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11403 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11405 else
11406 ac_cv_header_sane_sane_h=$ac_header_preproc
11408 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11409 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11412 if test $ac_cv_header_sane_sane_h = yes; then
11413 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11414 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11415 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11416 echo $ECHO_N "(cached) $ECHO_C" >&6
11417 else
11418 ac_check_lib_save_LIBS=$LIBS
11419 LIBS="-lsane $LIBS"
11420 cat >conftest.$ac_ext <<_ACEOF
11421 /* confdefs.h. */
11422 _ACEOF
11423 cat confdefs.h >>conftest.$ac_ext
11424 cat >>conftest.$ac_ext <<_ACEOF
11425 /* end confdefs.h. */
11427 /* Override any GCC internal prototype to avoid an error.
11428 Use char because int might match the return type of a GCC
11429 builtin and then its argument prototype would still apply. */
11430 #ifdef __cplusplus
11431 extern "C"
11432 #endif
11433 char sane_open ();
11435 main ()
11437 return sane_open ();
11439 return 0;
11441 _ACEOF
11442 rm -f conftest.$ac_objext conftest$ac_exeext
11443 if { (ac_try="$ac_link"
11444 case "(($ac_try" in
11445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11446 *) ac_try_echo=$ac_try;;
11447 esac
11448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11449 (eval "$ac_link") 2>conftest.er1
11450 ac_status=$?
11451 grep -v '^ *+' conftest.er1 >conftest.err
11452 rm -f conftest.er1
11453 cat conftest.err >&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); } &&
11456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11457 { (case "(($ac_try" in
11458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11459 *) ac_try_echo=$ac_try;;
11460 esac
11461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11462 (eval "$ac_try") 2>&5
11463 ac_status=$?
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; } &&
11466 { ac_try='test -s conftest$ac_exeext'
11467 { (case "(($ac_try" in
11468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11469 *) ac_try_echo=$ac_try;;
11470 esac
11471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11472 (eval "$ac_try") 2>&5
11473 ac_status=$?
11474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11475 (exit $ac_status); }; }; then
11476 ac_cv_lib_sane_sane_open=yes
11477 else
11478 echo "$as_me: failed program was:" >&5
11479 sed 's/^/| /' conftest.$ac_ext >&5
11481 ac_cv_lib_sane_sane_open=no
11484 rm -f core conftest.err conftest.$ac_objext \
11485 conftest$ac_exeext conftest.$ac_ext
11486 LIBS=$ac_check_lib_save_LIBS
11488 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11489 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11490 if test $ac_cv_lib_sane_sane_open = yes; then
11492 cat >>confdefs.h <<\_ACEOF
11493 #define HAVE_SANE 1
11494 _ACEOF
11496 else
11497 SANELIBS=""
11498 SANEINCL=""
11501 else
11502 SANELIBS=""
11503 SANEINCL=""
11507 LIBS="$ac_save_LIBS"
11508 CPPFLAGS="$ac_save_CPPFLAGS"
11511 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11512 set dummy gphoto2-config; ac_word=$2
11513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11515 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11516 echo $ECHO_N "(cached) $ECHO_C" >&6
11517 else
11518 if test -n "$gphoto2_devel"; then
11519 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11520 else
11521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11522 for as_dir in $PATH
11524 IFS=$as_save_IFS
11525 test -z "$as_dir" && as_dir=.
11526 for ac_exec_ext in '' $ac_executable_extensions; do
11527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11528 ac_cv_prog_gphoto2_devel="gphoto2-config"
11529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11530 break 2
11532 done
11533 done
11534 IFS=$as_save_IFS
11536 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11539 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11540 if test -n "$gphoto2_devel"; then
11541 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11542 echo "${ECHO_T}$gphoto2_devel" >&6; }
11543 else
11544 { echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6; }
11549 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11550 set dummy gphoto2-port-config; ac_word=$2
11551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11553 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11554 echo $ECHO_N "(cached) $ECHO_C" >&6
11555 else
11556 if test -n "$gphoto2port_devel"; then
11557 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11558 else
11559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11560 for as_dir in $PATH
11562 IFS=$as_save_IFS
11563 test -z "$as_dir" && as_dir=.
11564 for ac_exec_ext in '' $ac_executable_extensions; do
11565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11566 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11568 break 2
11570 done
11571 done
11572 IFS=$as_save_IFS
11574 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11577 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11578 if test -n "$gphoto2port_devel"; then
11579 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11580 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11581 else
11582 { echo "$as_me:$LINENO: result: no" >&5
11583 echo "${ECHO_T}no" >&6; }
11587 GPHOTO2LIBS=""
11589 GPHOTO2INCL=""
11591 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11592 then
11593 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11594 GPHOTO2LIBS=""
11595 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11597 case "$i" in
11598 -L/usr/lib|-L/usr/lib64) ;;
11599 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11600 esac
11601 done
11602 ac_save_CPPFLAGS="$CPPFLAGS"
11603 ac_save_LIBS="$LIBS"
11604 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11605 LIBS="$LIBS $GPHOTO2LIBS"
11606 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11607 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11608 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11609 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11610 echo $ECHO_N "(cached) $ECHO_C" >&6
11612 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11613 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11614 else
11615 # Is the header compilable?
11616 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11617 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11618 cat >conftest.$ac_ext <<_ACEOF
11619 /* confdefs.h. */
11620 _ACEOF
11621 cat confdefs.h >>conftest.$ac_ext
11622 cat >>conftest.$ac_ext <<_ACEOF
11623 /* end confdefs.h. */
11624 $ac_includes_default
11625 #include <gphoto2-camera.h>
11626 _ACEOF
11627 rm -f conftest.$ac_objext
11628 if { (ac_try="$ac_compile"
11629 case "(($ac_try" in
11630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11631 *) ac_try_echo=$ac_try;;
11632 esac
11633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11634 (eval "$ac_compile") 2>conftest.er1
11635 ac_status=$?
11636 grep -v '^ *+' conftest.er1 >conftest.err
11637 rm -f conftest.er1
11638 cat conftest.err >&5
11639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); } &&
11641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11642 { (case "(($ac_try" in
11643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11644 *) ac_try_echo=$ac_try;;
11645 esac
11646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11647 (eval "$ac_try") 2>&5
11648 ac_status=$?
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); }; } &&
11651 { ac_try='test -s conftest.$ac_objext'
11652 { (case "(($ac_try" in
11653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11654 *) ac_try_echo=$ac_try;;
11655 esac
11656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11657 (eval "$ac_try") 2>&5
11658 ac_status=$?
11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); }; }; then
11661 ac_header_compiler=yes
11662 else
11663 echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.$ac_ext >&5
11666 ac_header_compiler=no
11669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11670 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11671 echo "${ECHO_T}$ac_header_compiler" >&6; }
11673 # Is the header present?
11674 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11675 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11676 cat >conftest.$ac_ext <<_ACEOF
11677 /* confdefs.h. */
11678 _ACEOF
11679 cat confdefs.h >>conftest.$ac_ext
11680 cat >>conftest.$ac_ext <<_ACEOF
11681 /* end confdefs.h. */
11682 #include <gphoto2-camera.h>
11683 _ACEOF
11684 if { (ac_try="$ac_cpp conftest.$ac_ext"
11685 case "(($ac_try" in
11686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11687 *) ac_try_echo=$ac_try;;
11688 esac
11689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11691 ac_status=$?
11692 grep -v '^ *+' conftest.er1 >conftest.err
11693 rm -f conftest.er1
11694 cat conftest.err >&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); } >/dev/null; then
11697 if test -s conftest.err; then
11698 ac_cpp_err=$ac_c_preproc_warn_flag
11699 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11700 else
11701 ac_cpp_err=
11703 else
11704 ac_cpp_err=yes
11706 if test -z "$ac_cpp_err"; then
11707 ac_header_preproc=yes
11708 else
11709 echo "$as_me: failed program was:" >&5
11710 sed 's/^/| /' conftest.$ac_ext >&5
11712 ac_header_preproc=no
11715 rm -f conftest.err conftest.$ac_ext
11716 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11717 echo "${ECHO_T}$ac_header_preproc" >&6; }
11719 # So? What about this header?
11720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11721 yes:no: )
11722 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11723 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11724 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11725 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11726 ac_header_preproc=yes
11728 no:yes:* )
11729 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11730 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11731 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11732 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11733 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11734 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11735 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11736 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11737 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11738 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11739 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11740 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11741 ( cat <<\_ASBOX
11742 ## ------------------------------------ ##
11743 ## Report this to wine-devel@winehq.org ##
11744 ## ------------------------------------ ##
11745 _ASBOX
11746 ) | sed "s/^/$as_me: WARNING: /" >&2
11748 esac
11749 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11750 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11751 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6
11753 else
11754 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11756 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11757 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11760 if test $ac_cv_header_gphoto2_camera_h = yes; then
11761 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11762 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11763 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11764 echo $ECHO_N "(cached) $ECHO_C" >&6
11765 else
11766 ac_check_lib_save_LIBS=$LIBS
11767 LIBS="-lgphoto2 $LIBS"
11768 cat >conftest.$ac_ext <<_ACEOF
11769 /* confdefs.h. */
11770 _ACEOF
11771 cat confdefs.h >>conftest.$ac_ext
11772 cat >>conftest.$ac_ext <<_ACEOF
11773 /* end confdefs.h. */
11775 /* Override any GCC internal prototype to avoid an error.
11776 Use char because int might match the return type of a GCC
11777 builtin and then its argument prototype would still apply. */
11778 #ifdef __cplusplus
11779 extern "C"
11780 #endif
11781 char gp_camera_new ();
11783 main ()
11785 return gp_camera_new ();
11787 return 0;
11789 _ACEOF
11790 rm -f conftest.$ac_objext conftest$ac_exeext
11791 if { (ac_try="$ac_link"
11792 case "(($ac_try" in
11793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11794 *) ac_try_echo=$ac_try;;
11795 esac
11796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11797 (eval "$ac_link") 2>conftest.er1
11798 ac_status=$?
11799 grep -v '^ *+' conftest.er1 >conftest.err
11800 rm -f conftest.er1
11801 cat conftest.err >&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); } &&
11804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11805 { (case "(($ac_try" in
11806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11807 *) ac_try_echo=$ac_try;;
11808 esac
11809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11810 (eval "$ac_try") 2>&5
11811 ac_status=$?
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); }; } &&
11814 { ac_try='test -s conftest$ac_exeext'
11815 { (case "(($ac_try" in
11816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11817 *) ac_try_echo=$ac_try;;
11818 esac
11819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11820 (eval "$ac_try") 2>&5
11821 ac_status=$?
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); }; }; then
11824 ac_cv_lib_gphoto2_gp_camera_new=yes
11825 else
11826 echo "$as_me: failed program was:" >&5
11827 sed 's/^/| /' conftest.$ac_ext >&5
11829 ac_cv_lib_gphoto2_gp_camera_new=no
11832 rm -f core conftest.err conftest.$ac_objext \
11833 conftest$ac_exeext conftest.$ac_ext
11834 LIBS=$ac_check_lib_save_LIBS
11836 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11837 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11838 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11840 cat >>confdefs.h <<\_ACEOF
11841 #define HAVE_GPHOTO2 1
11842 _ACEOF
11844 else
11845 GPHOTO2LIBS=""
11846 GPHOTO2INCL=""
11849 else
11850 GPHOTO2LIBS=""
11851 GPHOTO2INCL=""
11855 LIBS="$ac_save_LIBS"
11856 CPPFLAGS="$ac_save_CPPFLAGS"
11859 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11860 then
11861 saved_libs="$LIBS"
11862 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11864 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11865 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11866 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11867 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11868 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11869 cat >conftest.$ac_ext <<_ACEOF
11870 /* confdefs.h. */
11871 _ACEOF
11872 cat confdefs.h >>conftest.$ac_ext
11873 cat >>conftest.$ac_ext <<_ACEOF
11874 /* end confdefs.h. */
11875 #include <unicode/ubidi.h>
11877 main ()
11879 ubidi_open()
11881 return 0;
11883 _ACEOF
11884 rm -f conftest.$ac_objext conftest$ac_exeext
11885 if { (ac_try="$ac_link"
11886 case "(($ac_try" in
11887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11888 *) ac_try_echo=$ac_try;;
11889 esac
11890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11891 (eval "$ac_link") 2>conftest.er1
11892 ac_status=$?
11893 grep -v '^ *+' conftest.er1 >conftest.err
11894 rm -f conftest.er1
11895 cat conftest.err >&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } &&
11898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11899 { (case "(($ac_try" in
11900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11901 *) ac_try_echo=$ac_try;;
11902 esac
11903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11904 (eval "$ac_try") 2>&5
11905 ac_status=$?
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); }; } &&
11908 { ac_try='test -s conftest$ac_exeext'
11909 { (case "(($ac_try" in
11910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11911 *) ac_try_echo=$ac_try;;
11912 esac
11913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11914 (eval "$ac_try") 2>&5
11915 ac_status=$?
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); }; }; then
11919 cat >>confdefs.h <<\_ACEOF
11920 #define HAVE_ICU 1
11921 _ACEOF
11923 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11925 { echo "$as_me:$LINENO: result: yes" >&5
11926 echo "${ECHO_T}yes" >&6; }
11927 else
11928 echo "$as_me: failed program was:" >&5
11929 sed 's/^/| /' conftest.$ac_ext >&5
11931 { echo "$as_me:$LINENO: result: no" >&5
11932 echo "${ECHO_T}no" >&6; }
11935 rm -f core conftest.err conftest.$ac_objext \
11936 conftest$ac_exeext conftest.$ac_ext
11937 done
11938 LIBS="$saved_libs"
11941 RESOLVLIBS=""
11943 if test "$ac_cv_header_resolv_h" = "yes"
11944 then
11945 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11946 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11947 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11948 echo $ECHO_N "(cached) $ECHO_C" >&6
11949 else
11950 ac_check_lib_save_LIBS=$LIBS
11951 LIBS="-lresolv $LIBS"
11952 cat >conftest.$ac_ext <<_ACEOF
11953 /* confdefs.h. */
11954 _ACEOF
11955 cat confdefs.h >>conftest.$ac_ext
11956 cat >>conftest.$ac_ext <<_ACEOF
11957 /* end confdefs.h. */
11959 /* Override any GCC internal prototype to avoid an error.
11960 Use char because int might match the return type of a GCC
11961 builtin and then its argument prototype would still apply. */
11962 #ifdef __cplusplus
11963 extern "C"
11964 #endif
11965 char res_query ();
11967 main ()
11969 return res_query ();
11971 return 0;
11973 _ACEOF
11974 rm -f conftest.$ac_objext conftest$ac_exeext
11975 if { (ac_try="$ac_link"
11976 case "(($ac_try" in
11977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11978 *) ac_try_echo=$ac_try;;
11979 esac
11980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11981 (eval "$ac_link") 2>conftest.er1
11982 ac_status=$?
11983 grep -v '^ *+' conftest.er1 >conftest.err
11984 rm -f conftest.er1
11985 cat conftest.err >&5
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); } &&
11988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11989 { (case "(($ac_try" in
11990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11991 *) ac_try_echo=$ac_try;;
11992 esac
11993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11994 (eval "$ac_try") 2>&5
11995 ac_status=$?
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; } &&
11998 { ac_try='test -s conftest$ac_exeext'
11999 { (case "(($ac_try" in
12000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12001 *) ac_try_echo=$ac_try;;
12002 esac
12003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12004 (eval "$ac_try") 2>&5
12005 ac_status=$?
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); }; }; then
12008 ac_cv_lib_resolv_res_query=yes
12009 else
12010 echo "$as_me: failed program was:" >&5
12011 sed 's/^/| /' conftest.$ac_ext >&5
12013 ac_cv_lib_resolv_res_query=no
12016 rm -f core conftest.err conftest.$ac_objext \
12017 conftest$ac_exeext conftest.$ac_ext
12018 LIBS=$ac_check_lib_save_LIBS
12020 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12021 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12022 if test $ac_cv_lib_resolv_res_query = yes; then
12024 cat >>confdefs.h <<\_ACEOF
12025 #define HAVE_RESOLV 1
12026 _ACEOF
12028 RESOLVLIBS="-lresolv"
12033 LCMSLIBS=""
12035 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12036 then
12037 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12038 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12039 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 else
12042 ac_check_lib_save_LIBS=$LIBS
12043 LIBS="-llcms $LIBS"
12044 cat >conftest.$ac_ext <<_ACEOF
12045 /* confdefs.h. */
12046 _ACEOF
12047 cat confdefs.h >>conftest.$ac_ext
12048 cat >>conftest.$ac_ext <<_ACEOF
12049 /* end confdefs.h. */
12051 /* Override any GCC internal prototype to avoid an error.
12052 Use char because int might match the return type of a GCC
12053 builtin and then its argument prototype would still apply. */
12054 #ifdef __cplusplus
12055 extern "C"
12056 #endif
12057 char cmsOpenProfileFromFile ();
12059 main ()
12061 return cmsOpenProfileFromFile ();
12063 return 0;
12065 _ACEOF
12066 rm -f conftest.$ac_objext conftest$ac_exeext
12067 if { (ac_try="$ac_link"
12068 case "(($ac_try" in
12069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12070 *) ac_try_echo=$ac_try;;
12071 esac
12072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12073 (eval "$ac_link") 2>conftest.er1
12074 ac_status=$?
12075 grep -v '^ *+' conftest.er1 >conftest.err
12076 rm -f conftest.er1
12077 cat conftest.err >&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } &&
12080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12081 { (case "(($ac_try" in
12082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12083 *) ac_try_echo=$ac_try;;
12084 esac
12085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12086 (eval "$ac_try") 2>&5
12087 ac_status=$?
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); }; } &&
12090 { ac_try='test -s conftest$ac_exeext'
12091 { (case "(($ac_try" in
12092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12093 *) ac_try_echo=$ac_try;;
12094 esac
12095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12096 (eval "$ac_try") 2>&5
12097 ac_status=$?
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); }; }; then
12100 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12101 else
12102 echo "$as_me: failed program was:" >&5
12103 sed 's/^/| /' conftest.$ac_ext >&5
12105 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12108 rm -f core conftest.err conftest.$ac_objext \
12109 conftest$ac_exeext conftest.$ac_ext
12110 LIBS=$ac_check_lib_save_LIBS
12112 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12113 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12114 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12116 cat >>confdefs.h <<\_ACEOF
12117 #define HAVE_LCMS 1
12118 _ACEOF
12120 LCMSLIBS="-llcms"
12125 LDAPLIBS=""
12127 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12128 then
12129 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12130 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12131 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12132 echo $ECHO_N "(cached) $ECHO_C" >&6
12133 else
12134 ac_check_lib_save_LIBS=$LIBS
12135 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12136 cat >conftest.$ac_ext <<_ACEOF
12137 /* confdefs.h. */
12138 _ACEOF
12139 cat confdefs.h >>conftest.$ac_ext
12140 cat >>conftest.$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12143 /* Override any GCC internal prototype to avoid an error.
12144 Use char because int might match the return type of a GCC
12145 builtin and then its argument prototype would still apply. */
12146 #ifdef __cplusplus
12147 extern "C"
12148 #endif
12149 char ldap_initialize ();
12151 main ()
12153 return ldap_initialize ();
12155 return 0;
12157 _ACEOF
12158 rm -f conftest.$ac_objext conftest$ac_exeext
12159 if { (ac_try="$ac_link"
12160 case "(($ac_try" in
12161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12162 *) ac_try_echo=$ac_try;;
12163 esac
12164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12165 (eval "$ac_link") 2>conftest.er1
12166 ac_status=$?
12167 grep -v '^ *+' conftest.er1 >conftest.err
12168 rm -f conftest.er1
12169 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } &&
12172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12173 { (case "(($ac_try" in
12174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12175 *) ac_try_echo=$ac_try;;
12176 esac
12177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12178 (eval "$ac_try") 2>&5
12179 ac_status=$?
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); }; } &&
12182 { ac_try='test -s conftest$ac_exeext'
12183 { (case "(($ac_try" in
12184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12185 *) ac_try_echo=$ac_try;;
12186 esac
12187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12188 (eval "$ac_try") 2>&5
12189 ac_status=$?
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); }; }; then
12192 ac_cv_lib_ldap_r_ldap_initialize=yes
12193 else
12194 echo "$as_me: failed program was:" >&5
12195 sed 's/^/| /' conftest.$ac_ext >&5
12197 ac_cv_lib_ldap_r_ldap_initialize=no
12200 rm -f core conftest.err conftest.$ac_objext \
12201 conftest$ac_exeext conftest.$ac_ext
12202 LIBS=$ac_check_lib_save_LIBS
12204 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12205 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12206 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12207 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12208 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12209 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12210 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 else
12212 ac_check_lib_save_LIBS=$LIBS
12213 LIBS="-llber $LIBPTHREAD $LIBS"
12214 cat >conftest.$ac_ext <<_ACEOF
12215 /* confdefs.h. */
12216 _ACEOF
12217 cat confdefs.h >>conftest.$ac_ext
12218 cat >>conftest.$ac_ext <<_ACEOF
12219 /* end confdefs.h. */
12221 /* Override any GCC internal prototype to avoid an error.
12222 Use char because int might match the return type of a GCC
12223 builtin and then its argument prototype would still apply. */
12224 #ifdef __cplusplus
12225 extern "C"
12226 #endif
12227 char ber_init ();
12229 main ()
12231 return ber_init ();
12233 return 0;
12235 _ACEOF
12236 rm -f conftest.$ac_objext conftest$ac_exeext
12237 if { (ac_try="$ac_link"
12238 case "(($ac_try" in
12239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12240 *) ac_try_echo=$ac_try;;
12241 esac
12242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12243 (eval "$ac_link") 2>conftest.er1
12244 ac_status=$?
12245 grep -v '^ *+' conftest.er1 >conftest.err
12246 rm -f conftest.er1
12247 cat conftest.err >&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); } &&
12250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12251 { (case "(($ac_try" in
12252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12253 *) ac_try_echo=$ac_try;;
12254 esac
12255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12256 (eval "$ac_try") 2>&5
12257 ac_status=$?
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); }; } &&
12260 { ac_try='test -s conftest$ac_exeext'
12261 { (case "(($ac_try" in
12262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12263 *) ac_try_echo=$ac_try;;
12264 esac
12265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12266 (eval "$ac_try") 2>&5
12267 ac_status=$?
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12270 ac_cv_lib_lber_ber_init=yes
12271 else
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12275 ac_cv_lib_lber_ber_init=no
12278 rm -f core conftest.err conftest.$ac_objext \
12279 conftest$ac_exeext conftest.$ac_ext
12280 LIBS=$ac_check_lib_save_LIBS
12282 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12283 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12284 if test $ac_cv_lib_lber_ber_init = yes; then
12286 cat >>confdefs.h <<\_ACEOF
12287 #define HAVE_LDAP 1
12288 _ACEOF
12290 LDAPLIBS="-lldap_r -llber"
12295 ac_wine_check_funcs_save_LIBS="$LIBS"
12296 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12301 for ac_func in \
12302 ldap_count_references \
12303 ldap_first_reference \
12304 ldap_next_reference \
12305 ldap_parse_reference
12307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12308 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12310 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12312 else
12313 cat >conftest.$ac_ext <<_ACEOF
12314 /* confdefs.h. */
12315 _ACEOF
12316 cat confdefs.h >>conftest.$ac_ext
12317 cat >>conftest.$ac_ext <<_ACEOF
12318 /* end confdefs.h. */
12319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12321 #define $ac_func innocuous_$ac_func
12323 /* System header to define __stub macros and hopefully few prototypes,
12324 which can conflict with char $ac_func (); below.
12325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12326 <limits.h> exists even on freestanding compilers. */
12328 #ifdef __STDC__
12329 # include <limits.h>
12330 #else
12331 # include <assert.h>
12332 #endif
12334 #undef $ac_func
12336 /* Override any GCC internal prototype to avoid an error.
12337 Use char because int might match the return type of a GCC
12338 builtin and then its argument prototype would still apply. */
12339 #ifdef __cplusplus
12340 extern "C"
12341 #endif
12342 char $ac_func ();
12343 /* The GNU C library defines this for functions which it implements
12344 to always fail with ENOSYS. Some functions are actually named
12345 something starting with __ and the normal name is an alias. */
12346 #if defined __stub_$ac_func || defined __stub___$ac_func
12347 choke me
12348 #endif
12351 main ()
12353 return $ac_func ();
12355 return 0;
12357 _ACEOF
12358 rm -f conftest.$ac_objext conftest$ac_exeext
12359 if { (ac_try="$ac_link"
12360 case "(($ac_try" in
12361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12362 *) ac_try_echo=$ac_try;;
12363 esac
12364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12365 (eval "$ac_link") 2>conftest.er1
12366 ac_status=$?
12367 grep -v '^ *+' conftest.er1 >conftest.err
12368 rm -f conftest.er1
12369 cat conftest.err >&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } &&
12372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12373 { (case "(($ac_try" in
12374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12375 *) ac_try_echo=$ac_try;;
12376 esac
12377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12378 (eval "$ac_try") 2>&5
12379 ac_status=$?
12380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381 (exit $ac_status); }; } &&
12382 { ac_try='test -s conftest$ac_exeext'
12383 { (case "(($ac_try" in
12384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12385 *) ac_try_echo=$ac_try;;
12386 esac
12387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12388 (eval "$ac_try") 2>&5
12389 ac_status=$?
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; }; then
12392 eval "$as_ac_var=yes"
12393 else
12394 echo "$as_me: failed program was:" >&5
12395 sed 's/^/| /' conftest.$ac_ext >&5
12397 eval "$as_ac_var=no"
12400 rm -f core conftest.err conftest.$ac_objext \
12401 conftest$ac_exeext conftest.$ac_ext
12403 ac_res=`eval echo '${'$as_ac_var'}'`
12404 { echo "$as_me:$LINENO: result: $ac_res" >&5
12405 echo "${ECHO_T}$ac_res" >&6; }
12406 if test `eval echo '${'$as_ac_var'}'` = yes; then
12407 cat >>confdefs.h <<_ACEOF
12408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12409 _ACEOF
12412 done
12414 LIBS="$ac_wine_check_funcs_save_LIBS"
12417 FREETYPELIBS=""
12419 FREETYPEINCL=""
12421 # Extract the first word of "freetype-config", so it can be a program name with args.
12422 set dummy freetype-config; ac_word=$2
12423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12425 if test "${ac_cv_prog_ft_devel+set}" = set; then
12426 echo $ECHO_N "(cached) $ECHO_C" >&6
12427 else
12428 if test -n "$ft_devel"; then
12429 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12430 else
12431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12432 for as_dir in $PATH
12434 IFS=$as_save_IFS
12435 test -z "$as_dir" && as_dir=.
12436 for ac_exec_ext in '' $ac_executable_extensions; do
12437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12438 ac_cv_prog_ft_devel="freetype-config"
12439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12440 break 2
12442 done
12443 done
12444 IFS=$as_save_IFS
12446 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12449 ft_devel=$ac_cv_prog_ft_devel
12450 if test -n "$ft_devel"; then
12451 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12452 echo "${ECHO_T}$ft_devel" >&6; }
12453 else
12454 { echo "$as_me:$LINENO: result: no" >&5
12455 echo "${ECHO_T}no" >&6; }
12459 if test "$ft_devel" = "no"
12460 then
12461 # Extract the first word of "freetype2-config", so it can be a program name with args.
12462 set dummy freetype2-config; ac_word=$2
12463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12465 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12466 echo $ECHO_N "(cached) $ECHO_C" >&6
12467 else
12468 if test -n "$ft_devel2"; then
12469 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12470 else
12471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12472 for as_dir in $PATH
12474 IFS=$as_save_IFS
12475 test -z "$as_dir" && as_dir=.
12476 for ac_exec_ext in '' $ac_executable_extensions; do
12477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12478 ac_cv_prog_ft_devel2="freetype2-config"
12479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12480 break 2
12482 done
12483 done
12484 IFS=$as_save_IFS
12486 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12489 ft_devel2=$ac_cv_prog_ft_devel2
12490 if test -n "$ft_devel2"; then
12491 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12492 echo "${ECHO_T}$ft_devel2" >&6; }
12493 else
12494 { echo "$as_me:$LINENO: result: no" >&5
12495 echo "${ECHO_T}no" >&6; }
12499 if test "$ft_devel2" = "freetype2-config"
12500 then
12501 ft_devel=$ft_devel2
12505 if test "$ft_devel" = "no"
12506 then
12507 wine_cv_msg_freetype=yes
12508 else
12509 FREETYPELIBS=`$ft_devel --libs`
12510 FREETYPEINCL=`$ft_devel --cflags`
12511 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12512 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12513 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12515 else
12516 ac_check_lib_save_LIBS=$LIBS
12517 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12518 cat >conftest.$ac_ext <<_ACEOF
12519 /* confdefs.h. */
12520 _ACEOF
12521 cat confdefs.h >>conftest.$ac_ext
12522 cat >>conftest.$ac_ext <<_ACEOF
12523 /* end confdefs.h. */
12525 /* Override any GCC internal prototype to avoid an error.
12526 Use char because int might match the return type of a GCC
12527 builtin and then its argument prototype would still apply. */
12528 #ifdef __cplusplus
12529 extern "C"
12530 #endif
12531 char FT_Init_FreeType ();
12533 main ()
12535 return FT_Init_FreeType ();
12537 return 0;
12539 _ACEOF
12540 rm -f conftest.$ac_objext conftest$ac_exeext
12541 if { (ac_try="$ac_link"
12542 case "(($ac_try" in
12543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12544 *) ac_try_echo=$ac_try;;
12545 esac
12546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12547 (eval "$ac_link") 2>conftest.er1
12548 ac_status=$?
12549 grep -v '^ *+' conftest.er1 >conftest.err
12550 rm -f conftest.er1
12551 cat conftest.err >&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); } &&
12554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12555 { (case "(($ac_try" in
12556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12557 *) ac_try_echo=$ac_try;;
12558 esac
12559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12560 (eval "$ac_try") 2>&5
12561 ac_status=$?
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); }; } &&
12564 { ac_try='test -s conftest$ac_exeext'
12565 { (case "(($ac_try" in
12566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12567 *) ac_try_echo=$ac_try;;
12568 esac
12569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12570 (eval "$ac_try") 2>&5
12571 ac_status=$?
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); }; }; then
12574 ac_cv_lib_freetype_FT_Init_FreeType=yes
12575 else
12576 echo "$as_me: failed program was:" >&5
12577 sed 's/^/| /' conftest.$ac_ext >&5
12579 ac_cv_lib_freetype_FT_Init_FreeType=no
12582 rm -f core conftest.err conftest.$ac_objext \
12583 conftest$ac_exeext conftest.$ac_ext
12584 LIBS=$ac_check_lib_save_LIBS
12586 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12587 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12588 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12589 ft_lib=yes
12590 else
12591 ft_lib=no
12594 if test "$ft_lib" = "no"
12595 then
12596 wine_cv_msg_freetype=yes
12597 FREETYPELIBS=""
12598 FREETYPEINCL=""
12599 else
12600 ac_save_CPPFLAGS="$CPPFLAGS"
12601 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12613 for ac_header in ft2build.h \
12614 freetype/freetype.h \
12615 freetype/ftglyph.h \
12616 freetype/tttables.h \
12617 freetype/ftnames.h \
12618 freetype/ftsnames.h \
12619 freetype/ttnameid.h \
12620 freetype/ftoutln.h \
12621 freetype/ftwinfnt.h \
12622 freetype/ftmodapi.h \
12623 freetype/internal/sfnt.h
12625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12629 echo $ECHO_N "(cached) $ECHO_C" >&6
12630 else
12631 cat >conftest.$ac_ext <<_ACEOF
12632 /* confdefs.h. */
12633 _ACEOF
12634 cat confdefs.h >>conftest.$ac_ext
12635 cat >>conftest.$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 #if HAVE_FT2BUILD_H
12638 #include <ft2build.h>
12639 #endif
12641 #include <$ac_header>
12642 _ACEOF
12643 rm -f conftest.$ac_objext
12644 if { (ac_try="$ac_compile"
12645 case "(($ac_try" in
12646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12647 *) ac_try_echo=$ac_try;;
12648 esac
12649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12650 (eval "$ac_compile") 2>conftest.er1
12651 ac_status=$?
12652 grep -v '^ *+' conftest.er1 >conftest.err
12653 rm -f conftest.er1
12654 cat conftest.err >&5
12655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656 (exit $ac_status); } &&
12657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12658 { (case "(($ac_try" in
12659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12660 *) ac_try_echo=$ac_try;;
12661 esac
12662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12663 (eval "$ac_try") 2>&5
12664 ac_status=$?
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; } &&
12667 { ac_try='test -s conftest.$ac_objext'
12668 { (case "(($ac_try" in
12669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12670 *) ac_try_echo=$ac_try;;
12671 esac
12672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12673 (eval "$ac_try") 2>&5
12674 ac_status=$?
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); }; }; then
12677 eval "$as_ac_Header=yes"
12678 else
12679 echo "$as_me: failed program was:" >&5
12680 sed 's/^/| /' conftest.$ac_ext >&5
12682 eval "$as_ac_Header=no"
12685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12687 ac_res=`eval echo '${'$as_ac_Header'}'`
12688 { echo "$as_me:$LINENO: result: $ac_res" >&5
12689 echo "${ECHO_T}$ac_res" >&6; }
12690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12691 cat >>confdefs.h <<_ACEOF
12692 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12693 _ACEOF
12697 done
12699 cat >conftest.$ac_ext <<_ACEOF
12700 /* confdefs.h. */
12701 _ACEOF
12702 cat confdefs.h >>conftest.$ac_ext
12703 cat >>conftest.$ac_ext <<_ACEOF
12704 /* end confdefs.h. */
12705 #include <ft2build.h>
12706 #include <freetype/fttrigon.h>
12707 _ACEOF
12708 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
12715 ac_status=$?
12716 grep -v '^ *+' conftest.er1 >conftest.err
12717 rm -f conftest.er1
12718 cat conftest.err >&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); } >/dev/null; then
12721 if test -s conftest.err; then
12722 ac_cpp_err=$ac_c_preproc_warn_flag
12723 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12724 else
12725 ac_cpp_err=
12727 else
12728 ac_cpp_err=yes
12730 if test -z "$ac_cpp_err"; then
12732 cat >>confdefs.h <<\_ACEOF
12733 #define HAVE_FREETYPE_FTTRIGON_H 1
12734 _ACEOF
12736 wine_cv_fttrigon=yes
12737 else
12738 echo "$as_me: failed program was:" >&5
12739 sed 's/^/| /' conftest.$ac_ext >&5
12741 wine_cv_fttrigon=no
12744 rm -f conftest.err conftest.$ac_ext
12745 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12746 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12747 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12748 echo $ECHO_N "(cached) $ECHO_C" >&6
12749 else
12750 cat >conftest.$ac_ext <<_ACEOF
12751 /* confdefs.h. */
12752 _ACEOF
12753 cat confdefs.h >>conftest.$ac_ext
12754 cat >>conftest.$ac_ext <<_ACEOF
12755 /* end confdefs.h. */
12756 #include <freetype/ftmodapi.h>
12758 typedef FT_TrueTypeEngineType ac__type_new_;
12760 main ()
12762 if ((ac__type_new_ *) 0)
12763 return 0;
12764 if (sizeof (ac__type_new_))
12765 return 0;
12767 return 0;
12769 _ACEOF
12770 rm -f conftest.$ac_objext
12771 if { (ac_try="$ac_compile"
12772 case "(($ac_try" in
12773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12774 *) ac_try_echo=$ac_try;;
12775 esac
12776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12777 (eval "$ac_compile") 2>conftest.er1
12778 ac_status=$?
12779 grep -v '^ *+' conftest.er1 >conftest.err
12780 rm -f conftest.er1
12781 cat conftest.err >&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } &&
12784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12785 { (case "(($ac_try" in
12786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12787 *) ac_try_echo=$ac_try;;
12788 esac
12789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12790 (eval "$ac_try") 2>&5
12791 ac_status=$?
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); }; } &&
12794 { ac_try='test -s conftest.$ac_objext'
12795 { (case "(($ac_try" in
12796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12797 *) ac_try_echo=$ac_try;;
12798 esac
12799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12800 (eval "$ac_try") 2>&5
12801 ac_status=$?
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); }; }; then
12804 ac_cv_type_FT_TrueTypeEngineType=yes
12805 else
12806 echo "$as_me: failed program was:" >&5
12807 sed 's/^/| /' conftest.$ac_ext >&5
12809 ac_cv_type_FT_TrueTypeEngineType=no
12812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12814 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12815 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12816 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12818 cat >>confdefs.h <<_ACEOF
12819 #define HAVE_FT_TRUETYPEENGINETYPE 1
12820 _ACEOF
12825 ac_save_CFLAGS="$CFLAGS"
12826 CFLAGS="$CFLAGS $FREETYPELIBS"
12828 for ac_func in FT_Load_Sfnt_Table
12830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12831 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12833 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12834 echo $ECHO_N "(cached) $ECHO_C" >&6
12835 else
12836 cat >conftest.$ac_ext <<_ACEOF
12837 /* confdefs.h. */
12838 _ACEOF
12839 cat confdefs.h >>conftest.$ac_ext
12840 cat >>conftest.$ac_ext <<_ACEOF
12841 /* end confdefs.h. */
12842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12844 #define $ac_func innocuous_$ac_func
12846 /* System header to define __stub macros and hopefully few prototypes,
12847 which can conflict with char $ac_func (); below.
12848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12849 <limits.h> exists even on freestanding compilers. */
12851 #ifdef __STDC__
12852 # include <limits.h>
12853 #else
12854 # include <assert.h>
12855 #endif
12857 #undef $ac_func
12859 /* Override any GCC internal prototype to avoid an error.
12860 Use char because int might match the return type of a GCC
12861 builtin and then its argument prototype would still apply. */
12862 #ifdef __cplusplus
12863 extern "C"
12864 #endif
12865 char $ac_func ();
12866 /* The GNU C library defines this for functions which it implements
12867 to always fail with ENOSYS. Some functions are actually named
12868 something starting with __ and the normal name is an alias. */
12869 #if defined __stub_$ac_func || defined __stub___$ac_func
12870 choke me
12871 #endif
12874 main ()
12876 return $ac_func ();
12878 return 0;
12880 _ACEOF
12881 rm -f conftest.$ac_objext conftest$ac_exeext
12882 if { (ac_try="$ac_link"
12883 case "(($ac_try" in
12884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12885 *) ac_try_echo=$ac_try;;
12886 esac
12887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12888 (eval "$ac_link") 2>conftest.er1
12889 ac_status=$?
12890 grep -v '^ *+' conftest.er1 >conftest.err
12891 rm -f conftest.er1
12892 cat conftest.err >&5
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); } &&
12895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12896 { (case "(($ac_try" in
12897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12898 *) ac_try_echo=$ac_try;;
12899 esac
12900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12901 (eval "$ac_try") 2>&5
12902 ac_status=$?
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); }; } &&
12905 { ac_try='test -s conftest$ac_exeext'
12906 { (case "(($ac_try" in
12907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12908 *) ac_try_echo=$ac_try;;
12909 esac
12910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12911 (eval "$ac_try") 2>&5
12912 ac_status=$?
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; }; then
12915 eval "$as_ac_var=yes"
12916 else
12917 echo "$as_me: failed program was:" >&5
12918 sed 's/^/| /' conftest.$ac_ext >&5
12920 eval "$as_ac_var=no"
12923 rm -f core conftest.err conftest.$ac_objext \
12924 conftest$ac_exeext conftest.$ac_ext
12926 ac_res=`eval echo '${'$as_ac_var'}'`
12927 { echo "$as_me:$LINENO: result: $ac_res" >&5
12928 echo "${ECHO_T}$ac_res" >&6; }
12929 if test `eval echo '${'$as_ac_var'}'` = yes; then
12930 cat >>confdefs.h <<_ACEOF
12931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12932 _ACEOF
12935 done
12937 CFLAGS="$ac_save_CFLAGS"
12938 CPPFLAGS="$ac_save_CPPFLAGS"
12939 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12940 then
12942 cat >>confdefs.h <<\_ACEOF
12943 #define HAVE_FREETYPE 1
12944 _ACEOF
12946 wine_cv_msg_freetype=no
12947 else
12948 FREETYPELIBS=""
12949 FREETYPEINCL=""
12950 wine_cv_msg_freetype=yes
12955 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12956 then
12957 FONTSSUBDIRS="fonts"
12961 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12962 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12963 if test "${ac_cv_c_ppdev+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 <linux/ppdev.h>
12974 main ()
12976 ioctl (1,PPCLAIM,0)
12978 return 0;
12980 _ACEOF
12981 rm -f conftest.$ac_objext
12982 if { (ac_try="$ac_compile"
12983 case "(($ac_try" in
12984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12985 *) ac_try_echo=$ac_try;;
12986 esac
12987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12988 (eval "$ac_compile") 2>conftest.er1
12989 ac_status=$?
12990 grep -v '^ *+' conftest.er1 >conftest.err
12991 rm -f conftest.er1
12992 cat conftest.err >&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); } &&
12995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12996 { (case "(($ac_try" in
12997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12998 *) ac_try_echo=$ac_try;;
12999 esac
13000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13001 (eval "$ac_try") 2>&5
13002 ac_status=$?
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); }; } &&
13005 { ac_try='test -s conftest.$ac_objext'
13006 { (case "(($ac_try" in
13007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13008 *) ac_try_echo=$ac_try;;
13009 esac
13010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13011 (eval "$ac_try") 2>&5
13012 ac_status=$?
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); }; }; then
13015 ac_cv_c_ppdev="yes"
13016 else
13017 echo "$as_me: failed program was:" >&5
13018 sed 's/^/| /' conftest.$ac_ext >&5
13020 ac_cv_c_ppdev="no"
13023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13026 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13027 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13028 if test "$ac_cv_c_ppdev" = "yes"
13029 then
13031 cat >>confdefs.h <<\_ACEOF
13032 #define HAVE_PPDEV 1
13033 _ACEOF
13037 { echo "$as_me:$LINENO: checking for va_copy" >&5
13038 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13039 if test "${ac_cv_c_va_copy+set}" = set; then
13040 echo $ECHO_N "(cached) $ECHO_C" >&6
13041 else
13042 cat >conftest.$ac_ext <<_ACEOF
13043 /* confdefs.h. */
13044 _ACEOF
13045 cat confdefs.h >>conftest.$ac_ext
13046 cat >>conftest.$ac_ext <<_ACEOF
13047 /* end confdefs.h. */
13048 #include <stdarg.h>
13050 main ()
13052 va_list ap1, ap2;
13053 va_copy(ap1,ap2);
13056 return 0;
13058 _ACEOF
13059 rm -f conftest.$ac_objext conftest$ac_exeext
13060 if { (ac_try="$ac_link"
13061 case "(($ac_try" in
13062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13063 *) ac_try_echo=$ac_try;;
13064 esac
13065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13066 (eval "$ac_link") 2>conftest.er1
13067 ac_status=$?
13068 grep -v '^ *+' conftest.er1 >conftest.err
13069 rm -f conftest.er1
13070 cat conftest.err >&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); } &&
13073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13074 { (case "(($ac_try" in
13075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13076 *) ac_try_echo=$ac_try;;
13077 esac
13078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13079 (eval "$ac_try") 2>&5
13080 ac_status=$?
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); }; } &&
13083 { ac_try='test -s conftest$ac_exeext'
13084 { (case "(($ac_try" in
13085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13086 *) ac_try_echo=$ac_try;;
13087 esac
13088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13089 (eval "$ac_try") 2>&5
13090 ac_status=$?
13091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 (exit $ac_status); }; }; then
13093 ac_cv_c_va_copy="yes"
13094 else
13095 echo "$as_me: failed program was:" >&5
13096 sed 's/^/| /' conftest.$ac_ext >&5
13098 ac_cv_c_va_copy="no"
13101 rm -f core conftest.err conftest.$ac_objext \
13102 conftest$ac_exeext conftest.$ac_ext
13105 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13106 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13107 if test "$ac_cv_c_va_copy" = "yes"
13108 then
13110 cat >>confdefs.h <<\_ACEOF
13111 #define HAVE_VA_COPY 1
13112 _ACEOF
13115 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13116 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13117 if test "${ac_cv_c___va_copy+set}" = set; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 else
13120 cat >conftest.$ac_ext <<_ACEOF
13121 /* confdefs.h. */
13122 _ACEOF
13123 cat confdefs.h >>conftest.$ac_ext
13124 cat >>conftest.$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13126 #include <stdarg.h>
13128 main ()
13130 va_list ap1, ap2;
13131 __va_copy(ap1,ap2);
13134 return 0;
13136 _ACEOF
13137 rm -f conftest.$ac_objext conftest$ac_exeext
13138 if { (ac_try="$ac_link"
13139 case "(($ac_try" in
13140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13141 *) ac_try_echo=$ac_try;;
13142 esac
13143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13144 (eval "$ac_link") 2>conftest.er1
13145 ac_status=$?
13146 grep -v '^ *+' conftest.er1 >conftest.err
13147 rm -f conftest.er1
13148 cat conftest.err >&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); } &&
13151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13152 { (case "(($ac_try" in
13153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13154 *) ac_try_echo=$ac_try;;
13155 esac
13156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13157 (eval "$ac_try") 2>&5
13158 ac_status=$?
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); }; } &&
13161 { ac_try='test -s conftest$ac_exeext'
13162 { (case "(($ac_try" in
13163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13164 *) ac_try_echo=$ac_try;;
13165 esac
13166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13167 (eval "$ac_try") 2>&5
13168 ac_status=$?
13169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170 (exit $ac_status); }; }; then
13171 ac_cv_c___va_copy="yes"
13172 else
13173 echo "$as_me: failed program was:" >&5
13174 sed 's/^/| /' conftest.$ac_ext >&5
13176 ac_cv_c___va_copy="no"
13179 rm -f core conftest.err conftest.$ac_objext \
13180 conftest$ac_exeext conftest.$ac_ext
13183 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13184 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13185 if test "$ac_cv_c___va_copy" = "yes"
13186 then
13188 cat >>confdefs.h <<\_ACEOF
13189 #define HAVE___VA_COPY 1
13190 _ACEOF
13194 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13195 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13196 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13197 echo $ECHO_N "(cached) $ECHO_C" >&6
13198 else
13199 cat >conftest.$ac_ext <<_ACEOF
13200 /* confdefs.h. */
13201 _ACEOF
13202 cat confdefs.h >>conftest.$ac_ext
13203 cat >>conftest.$ac_ext <<_ACEOF
13204 /* end confdefs.h. */
13205 #include <setjmp.h>
13207 main ()
13209 sigjmp_buf buf;
13210 sigsetjmp( buf, 1 );
13211 siglongjmp( buf, 1 );
13213 return 0;
13215 _ACEOF
13216 rm -f conftest.$ac_objext conftest$ac_exeext
13217 if { (ac_try="$ac_link"
13218 case "(($ac_try" in
13219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13220 *) ac_try_echo=$ac_try;;
13221 esac
13222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13223 (eval "$ac_link") 2>conftest.er1
13224 ac_status=$?
13225 grep -v '^ *+' conftest.er1 >conftest.err
13226 rm -f conftest.er1
13227 cat conftest.err >&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); } &&
13230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13231 { (case "(($ac_try" in
13232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13233 *) ac_try_echo=$ac_try;;
13234 esac
13235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13236 (eval "$ac_try") 2>&5
13237 ac_status=$?
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); }; } &&
13240 { ac_try='test -s conftest$ac_exeext'
13241 { (case "(($ac_try" in
13242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13243 *) ac_try_echo=$ac_try;;
13244 esac
13245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13246 (eval "$ac_try") 2>&5
13247 ac_status=$?
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); }; }; then
13250 ac_cv_c_sigsetjmp="yes"
13251 else
13252 echo "$as_me: failed program was:" >&5
13253 sed 's/^/| /' conftest.$ac_ext >&5
13255 ac_cv_c_sigsetjmp="no"
13258 rm -f core conftest.err conftest.$ac_objext \
13259 conftest$ac_exeext conftest.$ac_ext
13262 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13263 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13264 if test "$ac_cv_c_sigsetjmp" = "yes"
13265 then
13267 cat >>confdefs.h <<\_ACEOF
13268 #define HAVE_SIGSETJMP 1
13269 _ACEOF
13273 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13274 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13275 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13276 echo $ECHO_N "(cached) $ECHO_C" >&6
13277 else
13278 cat >conftest.$ac_ext <<_ACEOF
13279 /* confdefs.h. */
13280 _ACEOF
13281 cat confdefs.h >>conftest.$ac_ext
13282 cat >>conftest.$ac_ext <<_ACEOF
13283 /* end confdefs.h. */
13284 #define _GNU_SOURCE
13285 #include <pthread.h>
13287 typedef pthread_rwlock_t ac__type_new_;
13289 main ()
13291 if ((ac__type_new_ *) 0)
13292 return 0;
13293 if (sizeof (ac__type_new_))
13294 return 0;
13296 return 0;
13298 _ACEOF
13299 rm -f conftest.$ac_objext
13300 if { (ac_try="$ac_compile"
13301 case "(($ac_try" in
13302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13303 *) ac_try_echo=$ac_try;;
13304 esac
13305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13306 (eval "$ac_compile") 2>conftest.er1
13307 ac_status=$?
13308 grep -v '^ *+' conftest.er1 >conftest.err
13309 rm -f conftest.er1
13310 cat conftest.err >&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); } &&
13313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13314 { (case "(($ac_try" in
13315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13316 *) ac_try_echo=$ac_try;;
13317 esac
13318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13319 (eval "$ac_try") 2>&5
13320 ac_status=$?
13321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13322 (exit $ac_status); }; } &&
13323 { ac_try='test -s conftest.$ac_objext'
13324 { (case "(($ac_try" in
13325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13326 *) ac_try_echo=$ac_try;;
13327 esac
13328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13329 (eval "$ac_try") 2>&5
13330 ac_status=$?
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; }; then
13333 ac_cv_type_pthread_rwlock_t=yes
13334 else
13335 echo "$as_me: failed program was:" >&5
13336 sed 's/^/| /' conftest.$ac_ext >&5
13338 ac_cv_type_pthread_rwlock_t=no
13341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13343 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13344 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13345 if test $ac_cv_type_pthread_rwlock_t = yes; then
13347 cat >>confdefs.h <<_ACEOF
13348 #define HAVE_PTHREAD_RWLOCK_T 1
13349 _ACEOF
13353 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13354 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13355 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13356 echo $ECHO_N "(cached) $ECHO_C" >&6
13357 else
13358 cat >conftest.$ac_ext <<_ACEOF
13359 /* confdefs.h. */
13360 _ACEOF
13361 cat confdefs.h >>conftest.$ac_ext
13362 cat >>conftest.$ac_ext <<_ACEOF
13363 /* end confdefs.h. */
13364 #define _GNU_SOURCE
13365 #include <pthread.h>
13367 typedef pthread_rwlockattr_t ac__type_new_;
13369 main ()
13371 if ((ac__type_new_ *) 0)
13372 return 0;
13373 if (sizeof (ac__type_new_))
13374 return 0;
13376 return 0;
13378 _ACEOF
13379 rm -f conftest.$ac_objext
13380 if { (ac_try="$ac_compile"
13381 case "(($ac_try" in
13382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13383 *) ac_try_echo=$ac_try;;
13384 esac
13385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13386 (eval "$ac_compile") 2>conftest.er1
13387 ac_status=$?
13388 grep -v '^ *+' conftest.er1 >conftest.err
13389 rm -f conftest.er1
13390 cat conftest.err >&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } &&
13393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13394 { (case "(($ac_try" in
13395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13396 *) ac_try_echo=$ac_try;;
13397 esac
13398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13399 (eval "$ac_try") 2>&5
13400 ac_status=$?
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); }; } &&
13403 { ac_try='test -s conftest.$ac_objext'
13404 { (case "(($ac_try" in
13405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13406 *) ac_try_echo=$ac_try;;
13407 esac
13408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13409 (eval "$ac_try") 2>&5
13410 ac_status=$?
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412 (exit $ac_status); }; }; then
13413 ac_cv_type_pthread_rwlockattr_t=yes
13414 else
13415 echo "$as_me: failed program was:" >&5
13416 sed 's/^/| /' conftest.$ac_ext >&5
13418 ac_cv_type_pthread_rwlockattr_t=no
13421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13423 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13424 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13425 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13427 cat >>confdefs.h <<_ACEOF
13428 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13429 _ACEOF
13435 ac_wine_check_funcs_save_LIBS="$LIBS"
13436 LIBS="$LIBS $LIBPTHREAD"
13441 for ac_func in \
13442 pthread_attr_get_np \
13443 pthread_getattr_np \
13444 pthread_get_stackaddr_np \
13445 pthread_get_stacksize_np
13447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13448 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13450 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13451 echo $ECHO_N "(cached) $ECHO_C" >&6
13452 else
13453 cat >conftest.$ac_ext <<_ACEOF
13454 /* confdefs.h. */
13455 _ACEOF
13456 cat confdefs.h >>conftest.$ac_ext
13457 cat >>conftest.$ac_ext <<_ACEOF
13458 /* end confdefs.h. */
13459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13461 #define $ac_func innocuous_$ac_func
13463 /* System header to define __stub macros and hopefully few prototypes,
13464 which can conflict with char $ac_func (); below.
13465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13466 <limits.h> exists even on freestanding compilers. */
13468 #ifdef __STDC__
13469 # include <limits.h>
13470 #else
13471 # include <assert.h>
13472 #endif
13474 #undef $ac_func
13476 /* Override any GCC internal prototype to avoid an error.
13477 Use char because int might match the return type of a GCC
13478 builtin and then its argument prototype would still apply. */
13479 #ifdef __cplusplus
13480 extern "C"
13481 #endif
13482 char $ac_func ();
13483 /* The GNU C library defines this for functions which it implements
13484 to always fail with ENOSYS. Some functions are actually named
13485 something starting with __ and the normal name is an alias. */
13486 #if defined __stub_$ac_func || defined __stub___$ac_func
13487 choke me
13488 #endif
13491 main ()
13493 return $ac_func ();
13495 return 0;
13497 _ACEOF
13498 rm -f conftest.$ac_objext conftest$ac_exeext
13499 if { (ac_try="$ac_link"
13500 case "(($ac_try" in
13501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13502 *) ac_try_echo=$ac_try;;
13503 esac
13504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13505 (eval "$ac_link") 2>conftest.er1
13506 ac_status=$?
13507 grep -v '^ *+' conftest.er1 >conftest.err
13508 rm -f conftest.er1
13509 cat conftest.err >&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); } &&
13512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13513 { (case "(($ac_try" in
13514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13515 *) ac_try_echo=$ac_try;;
13516 esac
13517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13518 (eval "$ac_try") 2>&5
13519 ac_status=$?
13520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13521 (exit $ac_status); }; } &&
13522 { ac_try='test -s conftest$ac_exeext'
13523 { (case "(($ac_try" in
13524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13525 *) ac_try_echo=$ac_try;;
13526 esac
13527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13528 (eval "$ac_try") 2>&5
13529 ac_status=$?
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); }; }; then
13532 eval "$as_ac_var=yes"
13533 else
13534 echo "$as_me: failed program was:" >&5
13535 sed 's/^/| /' conftest.$ac_ext >&5
13537 eval "$as_ac_var=no"
13540 rm -f core conftest.err conftest.$ac_objext \
13541 conftest$ac_exeext conftest.$ac_ext
13543 ac_res=`eval echo '${'$as_ac_var'}'`
13544 { echo "$as_me:$LINENO: result: $ac_res" >&5
13545 echo "${ECHO_T}$ac_res" >&6; }
13546 if test `eval echo '${'$as_ac_var'}'` = yes; then
13547 cat >>confdefs.h <<_ACEOF
13548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13549 _ACEOF
13552 done
13554 LIBS="$ac_wine_check_funcs_save_LIBS"
13556 # Extract the first word of "artsc-config", so it can be a program name with args.
13557 set dummy artsc-config; ac_word=$2
13558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13560 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13562 else
13563 case $ARTSCCONFIG in
13564 [\\/]* | ?:[\\/]*)
13565 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13569 for as_dir in $PATH
13571 IFS=$as_save_IFS
13572 test -z "$as_dir" && as_dir=.
13573 for ac_exec_ext in '' $ac_executable_extensions; do
13574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13575 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13577 break 2
13579 done
13580 done
13581 IFS=$as_save_IFS
13584 esac
13586 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13587 if test -n "$ARTSCCONFIG"; then
13588 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13589 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13590 else
13591 { echo "$as_me:$LINENO: result: no" >&5
13592 echo "${ECHO_T}no" >&6; }
13596 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13597 then
13598 ARTSC_CFLAGS=""
13599 for i in `$ARTSCCONFIG --cflags`
13601 case "$i" in
13602 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13603 esac
13604 done
13605 ARTSC_LIBS=""
13606 for i in `$ARTSCCONFIG --libs`
13608 case "$i" in
13609 -L/usr/lib|-L/usr/lib64) ;;
13610 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13611 esac
13612 done
13613 save_CFLAGS="$CFLAGS"
13614 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13615 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13616 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13617 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13619 else
13620 ac_check_lib_save_LIBS=$LIBS
13621 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13622 cat >conftest.$ac_ext <<_ACEOF
13623 /* confdefs.h. */
13624 _ACEOF
13625 cat confdefs.h >>conftest.$ac_ext
13626 cat >>conftest.$ac_ext <<_ACEOF
13627 /* end confdefs.h. */
13629 /* Override any GCC internal prototype to avoid an error.
13630 Use char because int might match the return type of a GCC
13631 builtin and then its argument prototype would still apply. */
13632 #ifdef __cplusplus
13633 extern "C"
13634 #endif
13635 char arts_init ();
13637 main ()
13639 return arts_init ();
13641 return 0;
13643 _ACEOF
13644 rm -f conftest.$ac_objext conftest$ac_exeext
13645 if { (ac_try="$ac_link"
13646 case "(($ac_try" in
13647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13648 *) ac_try_echo=$ac_try;;
13649 esac
13650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13651 (eval "$ac_link") 2>conftest.er1
13652 ac_status=$?
13653 grep -v '^ *+' conftest.er1 >conftest.err
13654 rm -f conftest.er1
13655 cat conftest.err >&5
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); } &&
13658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13659 { (case "(($ac_try" in
13660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13661 *) ac_try_echo=$ac_try;;
13662 esac
13663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13664 (eval "$ac_try") 2>&5
13665 ac_status=$?
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); }; } &&
13668 { ac_try='test -s conftest$ac_exeext'
13669 { (case "(($ac_try" in
13670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13671 *) ac_try_echo=$ac_try;;
13672 esac
13673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13674 (eval "$ac_try") 2>&5
13675 ac_status=$?
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; }; then
13678 ac_cv_lib_artsc_arts_init=yes
13679 else
13680 echo "$as_me: failed program was:" >&5
13681 sed 's/^/| /' conftest.$ac_ext >&5
13683 ac_cv_lib_artsc_arts_init=no
13686 rm -f core conftest.err conftest.$ac_objext \
13687 conftest$ac_exeext conftest.$ac_ext
13688 LIBS=$ac_check_lib_save_LIBS
13690 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13691 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13692 if test $ac_cv_lib_artsc_arts_init = yes; then
13693 cat >conftest.$ac_ext <<_ACEOF
13694 /* confdefs.h. */
13695 _ACEOF
13696 cat confdefs.h >>conftest.$ac_ext
13697 cat >>conftest.$ac_ext <<_ACEOF
13698 /* end confdefs.h. */
13699 #include <artsc.h>
13701 main ()
13703 arts_stream_t stream;
13705 return 0;
13707 _ACEOF
13708 rm -f conftest.$ac_objext
13709 if { (ac_try="$ac_compile"
13710 case "(($ac_try" in
13711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13712 *) ac_try_echo=$ac_try;;
13713 esac
13714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13715 (eval "$ac_compile") 2>conftest.er1
13716 ac_status=$?
13717 grep -v '^ *+' conftest.er1 >conftest.err
13718 rm -f conftest.er1
13719 cat conftest.err >&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } &&
13722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13723 { (case "(($ac_try" in
13724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13725 *) ac_try_echo=$ac_try;;
13726 esac
13727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13728 (eval "$ac_try") 2>&5
13729 ac_status=$?
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); }; } &&
13732 { ac_try='test -s conftest.$ac_objext'
13733 { (case "(($ac_try" in
13734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13735 *) ac_try_echo=$ac_try;;
13736 esac
13737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13738 (eval "$ac_try") 2>&5
13739 ac_status=$?
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); }; }; then
13742 ARTSLIBS=$ARTSC_LIBS
13744 ARTSINCL=$ARTSC_CFLAGS
13747 cat >>confdefs.h <<\_ACEOF
13748 #define HAVE_ARTS 1
13749 _ACEOF
13751 else
13752 echo "$as_me: failed program was:" >&5
13753 sed 's/^/| /' conftest.$ac_ext >&5
13758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13761 CFLAGS="$save_CFLAGS"
13764 # Extract the first word of "esd-config", so it can be a program name with args.
13765 set dummy esd-config; ac_word=$2
13766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13768 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13769 echo $ECHO_N "(cached) $ECHO_C" >&6
13770 else
13771 case $ESDCONFIG in
13772 [\\/]* | ?:[\\/]*)
13773 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13777 for as_dir in $PATH
13779 IFS=$as_save_IFS
13780 test -z "$as_dir" && as_dir=.
13781 for ac_exec_ext in '' $ac_executable_extensions; do
13782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13783 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13785 break 2
13787 done
13788 done
13789 IFS=$as_save_IFS
13792 esac
13794 ESDCONFIG=$ac_cv_path_ESDCONFIG
13795 if test -n "$ESDCONFIG"; then
13796 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13797 echo "${ECHO_T}$ESDCONFIG" >&6; }
13798 else
13799 { echo "$as_me:$LINENO: result: no" >&5
13800 echo "${ECHO_T}no" >&6; }
13804 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13805 then
13806 ESD_CFLAGS=""
13807 for i in `$ESDCONFIG --cflags`
13809 case "$i" in
13810 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13811 esac
13812 done
13813 ESD_LIBS=`$ESDCONFIG --libs`
13814 save_CFLAGS="$CFLAGS"
13815 CFLAGS="$CFLAGS $ESD_CFLAGS"
13816 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13817 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13818 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13819 echo $ECHO_N "(cached) $ECHO_C" >&6
13820 else
13821 ac_check_lib_save_LIBS=$LIBS
13822 LIBS="-lesd $LIBS"
13823 cat >conftest.$ac_ext <<_ACEOF
13824 /* confdefs.h. */
13825 _ACEOF
13826 cat confdefs.h >>conftest.$ac_ext
13827 cat >>conftest.$ac_ext <<_ACEOF
13828 /* end confdefs.h. */
13830 /* Override any GCC internal prototype to avoid an error.
13831 Use char because int might match the return type of a GCC
13832 builtin and then its argument prototype would still apply. */
13833 #ifdef __cplusplus
13834 extern "C"
13835 #endif
13836 char esd_open_sound ();
13838 main ()
13840 return esd_open_sound ();
13842 return 0;
13844 _ACEOF
13845 rm -f conftest.$ac_objext conftest$ac_exeext
13846 if { (ac_try="$ac_link"
13847 case "(($ac_try" in
13848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13849 *) ac_try_echo=$ac_try;;
13850 esac
13851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13852 (eval "$ac_link") 2>conftest.er1
13853 ac_status=$?
13854 grep -v '^ *+' conftest.er1 >conftest.err
13855 rm -f conftest.er1
13856 cat conftest.err >&5
13857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858 (exit $ac_status); } &&
13859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13860 { (case "(($ac_try" in
13861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13862 *) ac_try_echo=$ac_try;;
13863 esac
13864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13865 (eval "$ac_try") 2>&5
13866 ac_status=$?
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); }; } &&
13869 { ac_try='test -s conftest$ac_exeext'
13870 { (case "(($ac_try" in
13871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13872 *) ac_try_echo=$ac_try;;
13873 esac
13874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13875 (eval "$ac_try") 2>&5
13876 ac_status=$?
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); }; }; then
13879 ac_cv_lib_esd_esd_open_sound=yes
13880 else
13881 echo "$as_me: failed program was:" >&5
13882 sed 's/^/| /' conftest.$ac_ext >&5
13884 ac_cv_lib_esd_esd_open_sound=no
13887 rm -f core conftest.err conftest.$ac_objext \
13888 conftest$ac_exeext conftest.$ac_ext
13889 LIBS=$ac_check_lib_save_LIBS
13891 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13892 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13893 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13894 ESDLIBS=$ESD_LIBS
13896 ESDINCL=$ESD_CFLAGS
13899 cat >>confdefs.h <<\_ACEOF
13900 #define HAVE_ESD 1
13901 _ACEOF
13905 CFLAGS="$save_CFLAGS"
13908 ALSALIBS=""
13910 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13911 then
13912 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13913 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13914 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13915 echo $ECHO_N "(cached) $ECHO_C" >&6
13916 else
13917 ac_check_lib_save_LIBS=$LIBS
13918 LIBS="-lasound $LIBS"
13919 cat >conftest.$ac_ext <<_ACEOF
13920 /* confdefs.h. */
13921 _ACEOF
13922 cat confdefs.h >>conftest.$ac_ext
13923 cat >>conftest.$ac_ext <<_ACEOF
13924 /* end confdefs.h. */
13926 /* Override any GCC internal prototype to avoid an error.
13927 Use char because int might match the return type of a GCC
13928 builtin and then its argument prototype would still apply. */
13929 #ifdef __cplusplus
13930 extern "C"
13931 #endif
13932 char snd_pcm_hw_params_get_access ();
13934 main ()
13936 return snd_pcm_hw_params_get_access ();
13938 return 0;
13940 _ACEOF
13941 rm -f conftest.$ac_objext conftest$ac_exeext
13942 if { (ac_try="$ac_link"
13943 case "(($ac_try" in
13944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13945 *) ac_try_echo=$ac_try;;
13946 esac
13947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13948 (eval "$ac_link") 2>conftest.er1
13949 ac_status=$?
13950 grep -v '^ *+' conftest.er1 >conftest.err
13951 rm -f conftest.er1
13952 cat conftest.err >&5
13953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13954 (exit $ac_status); } &&
13955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13956 { (case "(($ac_try" in
13957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13958 *) ac_try_echo=$ac_try;;
13959 esac
13960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13961 (eval "$ac_try") 2>&5
13962 ac_status=$?
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); }; } &&
13965 { ac_try='test -s conftest$ac_exeext'
13966 { (case "(($ac_try" in
13967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13968 *) ac_try_echo=$ac_try;;
13969 esac
13970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13971 (eval "$ac_try") 2>&5
13972 ac_status=$?
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); }; }; then
13975 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13976 else
13977 echo "$as_me: failed program was:" >&5
13978 sed 's/^/| /' conftest.$ac_ext >&5
13980 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13983 rm -f core conftest.err conftest.$ac_objext \
13984 conftest$ac_exeext conftest.$ac_ext
13985 LIBS=$ac_check_lib_save_LIBS
13987 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13988 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13989 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13990 cat >conftest.$ac_ext <<_ACEOF
13991 /* confdefs.h. */
13992 _ACEOF
13993 cat confdefs.h >>conftest.$ac_ext
13994 cat >>conftest.$ac_ext <<_ACEOF
13995 /* end confdefs.h. */
13996 #ifdef HAVE_ALSA_ASOUNDLIB_H
13997 #include <alsa/asoundlib.h>
13998 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13999 #include <sys/asoundlib.h>
14000 #endif
14002 main ()
14004 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14006 return 0;
14008 _ACEOF
14009 rm -f conftest.$ac_objext
14010 if { (ac_try="$ac_compile"
14011 case "(($ac_try" in
14012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14013 *) ac_try_echo=$ac_try;;
14014 esac
14015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14016 (eval "$ac_compile") 2>conftest.er1
14017 ac_status=$?
14018 grep -v '^ *+' conftest.er1 >conftest.err
14019 rm -f conftest.er1
14020 cat conftest.err >&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); } &&
14023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14024 { (case "(($ac_try" in
14025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14026 *) ac_try_echo=$ac_try;;
14027 esac
14028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14029 (eval "$ac_try") 2>&5
14030 ac_status=$?
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; } &&
14033 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
14044 cat >>confdefs.h <<\_ACEOF
14045 #define HAVE_ALSA 1
14046 _ACEOF
14048 ALSALIBS="-lasound"
14049 else
14050 echo "$as_me: failed program was:" >&5
14051 sed 's/^/| /' conftest.$ac_ext >&5
14056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14062 AUDIOIOLIBS=""
14064 if test "$ac_cv_header_libaudioio_h" = "yes"
14065 then
14066 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14067 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14068 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14069 echo $ECHO_N "(cached) $ECHO_C" >&6
14070 else
14071 ac_check_lib_save_LIBS=$LIBS
14072 LIBS="-laudioio $LIBS"
14073 cat >conftest.$ac_ext <<_ACEOF
14074 /* confdefs.h. */
14075 _ACEOF
14076 cat confdefs.h >>conftest.$ac_ext
14077 cat >>conftest.$ac_ext <<_ACEOF
14078 /* end confdefs.h. */
14080 /* Override any GCC internal prototype to avoid an error.
14081 Use char because int might match the return type of a GCC
14082 builtin and then its argument prototype would still apply. */
14083 #ifdef __cplusplus
14084 extern "C"
14085 #endif
14086 char AudioIOGetVersion ();
14088 main ()
14090 return AudioIOGetVersion ();
14092 return 0;
14094 _ACEOF
14095 rm -f conftest.$ac_objext conftest$ac_exeext
14096 if { (ac_try="$ac_link"
14097 case "(($ac_try" in
14098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14099 *) ac_try_echo=$ac_try;;
14100 esac
14101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14102 (eval "$ac_link") 2>conftest.er1
14103 ac_status=$?
14104 grep -v '^ *+' conftest.er1 >conftest.err
14105 rm -f conftest.er1
14106 cat conftest.err >&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); } &&
14109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14110 { (case "(($ac_try" in
14111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14112 *) ac_try_echo=$ac_try;;
14113 esac
14114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14115 (eval "$ac_try") 2>&5
14116 ac_status=$?
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); }; } &&
14119 { ac_try='test -s conftest$ac_exeext'
14120 { (case "(($ac_try" in
14121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14122 *) ac_try_echo=$ac_try;;
14123 esac
14124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14125 (eval "$ac_try") 2>&5
14126 ac_status=$?
14127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14128 (exit $ac_status); }; }; then
14129 ac_cv_lib_audioio_AudioIOGetVersion=yes
14130 else
14131 echo "$as_me: failed program was:" >&5
14132 sed 's/^/| /' conftest.$ac_ext >&5
14134 ac_cv_lib_audioio_AudioIOGetVersion=no
14137 rm -f core conftest.err conftest.$ac_objext \
14138 conftest$ac_exeext conftest.$ac_ext
14139 LIBS=$ac_check_lib_save_LIBS
14141 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14142 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14143 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14144 AUDIOIOLIBS="-laudioio"
14146 cat >>confdefs.h <<\_ACEOF
14147 #define HAVE_LIBAUDIOIO 1
14148 _ACEOF
14155 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14156 then
14157 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14158 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14159 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14160 echo $ECHO_N "(cached) $ECHO_C" >&6
14161 else
14162 ac_check_lib_save_LIBS=$LIBS
14163 LIBS="-lcapi20 $LIBS"
14164 cat >conftest.$ac_ext <<_ACEOF
14165 /* confdefs.h. */
14166 _ACEOF
14167 cat confdefs.h >>conftest.$ac_ext
14168 cat >>conftest.$ac_ext <<_ACEOF
14169 /* end confdefs.h. */
14171 /* Override any GCC internal prototype to avoid an error.
14172 Use char because int might match the return type of a GCC
14173 builtin and then its argument prototype would still apply. */
14174 #ifdef __cplusplus
14175 extern "C"
14176 #endif
14177 char capi20_register ();
14179 main ()
14181 return capi20_register ();
14183 return 0;
14185 _ACEOF
14186 rm -f conftest.$ac_objext conftest$ac_exeext
14187 if { (ac_try="$ac_link"
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_link") 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_exeext'
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
14220 ac_cv_lib_capi20_capi20_register=yes
14221 else
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14225 ac_cv_lib_capi20_capi20_register=no
14228 rm -f core conftest.err conftest.$ac_objext \
14229 conftest$ac_exeext conftest.$ac_ext
14230 LIBS=$ac_check_lib_save_LIBS
14232 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14233 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14234 if test $ac_cv_lib_capi20_capi20_register = yes; then
14236 cat >>confdefs.h <<\_ACEOF
14237 #define HAVE_CAPI4LINUX 1
14238 _ACEOF
14245 if test "$ac_cv_header_gif_lib_h" = "yes"
14246 then
14247 cat >conftest.$ac_ext <<_ACEOF
14248 /* confdefs.h. */
14249 _ACEOF
14250 cat confdefs.h >>conftest.$ac_ext
14251 cat >>conftest.$ac_ext <<_ACEOF
14252 /* end confdefs.h. */
14253 #include <gif_lib.h>
14255 main ()
14257 static typeof(DGifOpen) * func;
14259 return 0;
14261 _ACEOF
14262 rm -f conftest.$ac_objext
14263 if { (ac_try="$ac_compile"
14264 case "(($ac_try" in
14265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14266 *) ac_try_echo=$ac_try;;
14267 esac
14268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14269 (eval "$ac_compile") 2>conftest.er1
14270 ac_status=$?
14271 grep -v '^ *+' conftest.er1 >conftest.err
14272 rm -f conftest.er1
14273 cat conftest.err >&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); } &&
14276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14277 { (case "(($ac_try" in
14278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14279 *) ac_try_echo=$ac_try;;
14280 esac
14281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14282 (eval "$ac_try") 2>&5
14283 ac_status=$?
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; } &&
14286 { ac_try='test -s conftest.$ac_objext'
14287 { (case "(($ac_try" in
14288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14289 *) ac_try_echo=$ac_try;;
14290 esac
14291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14292 (eval "$ac_try") 2>&5
14293 ac_status=$?
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; }; then
14297 cat >>confdefs.h <<\_ACEOF
14298 #define HAVE_GIF 1
14299 _ACEOF
14301 else
14302 echo "$as_me: failed program was:" >&5
14303 sed 's/^/| /' conftest.$ac_ext >&5
14308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14312 EXTRACFLAGS=""
14314 if test "x${GCC}" = "xyes"
14315 then
14316 EXTRACFLAGS="-Wall -pipe"
14318 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14319 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14320 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14321 echo $ECHO_N "(cached) $ECHO_C" >&6
14322 else
14323 if test "$cross_compiling" = yes; then
14324 ac_cv_c_gcc_strength_bug="yes"
14325 else
14326 cat >conftest.$ac_ext <<_ACEOF
14327 /* confdefs.h. */
14328 _ACEOF
14329 cat confdefs.h >>conftest.$ac_ext
14330 cat >>conftest.$ac_ext <<_ACEOF
14331 /* end confdefs.h. */
14333 int L[4] = {0,1,2,3};
14334 int main(void) {
14335 static int Array[3];
14336 unsigned int B = 3;
14337 int i;
14338 for(i=0; i<B; i++) Array[i] = i - 3;
14339 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14340 L[i] = 4;
14342 exit( Array[1] != -2 || L[2] != 3);
14344 _ACEOF
14345 rm -f conftest$ac_exeext
14346 if { (ac_try="$ac_link"
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_link") 2>&5
14353 ac_status=$?
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14356 { (case "(($ac_try" in
14357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14358 *) ac_try_echo=$ac_try;;
14359 esac
14360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14361 (eval "$ac_try") 2>&5
14362 ac_status=$?
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); }; }; then
14365 ac_cv_c_gcc_strength_bug="no"
14366 else
14367 echo "$as_me: program exited with status $ac_status" >&5
14368 echo "$as_me: failed program was:" >&5
14369 sed 's/^/| /' conftest.$ac_ext >&5
14371 ( exit $ac_status )
14372 ac_cv_c_gcc_strength_bug="yes"
14374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14379 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14380 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14381 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14382 then
14383 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14386 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
14387 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
14388 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
14389 echo $ECHO_N "(cached) $ECHO_C" >&6
14390 else
14391 ac_wine_try_cflags_saved=$CFLAGS
14392 CFLAGS="$CFLAGS -fshort-wchar"
14393 cat >conftest.$ac_ext <<_ACEOF
14394 /* confdefs.h. */
14395 _ACEOF
14396 cat confdefs.h >>conftest.$ac_ext
14397 cat >>conftest.$ac_ext <<_ACEOF
14398 /* end confdefs.h. */
14401 main ()
14405 return 0;
14407 _ACEOF
14408 rm -f conftest.$ac_objext conftest$ac_exeext
14409 if { (ac_try="$ac_link"
14410 case "(($ac_try" in
14411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14412 *) ac_try_echo=$ac_try;;
14413 esac
14414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14415 (eval "$ac_link") 2>conftest.er1
14416 ac_status=$?
14417 grep -v '^ *+' conftest.er1 >conftest.err
14418 rm -f conftest.er1
14419 cat conftest.err >&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } &&
14422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14423 { (case "(($ac_try" in
14424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14425 *) ac_try_echo=$ac_try;;
14426 esac
14427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14428 (eval "$ac_try") 2>&5
14429 ac_status=$?
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; } &&
14432 { ac_try='test -s conftest$ac_exeext'
14433 { (case "(($ac_try" in
14434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14435 *) ac_try_echo=$ac_try;;
14436 esac
14437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14438 (eval "$ac_try") 2>&5
14439 ac_status=$?
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }; }; then
14442 ac_cv_c_gcc_fshort_wchar="yes"
14443 else
14444 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.$ac_ext >&5
14447 ac_cv_c_gcc_fshort_wchar="no"
14450 rm -f core conftest.err conftest.$ac_objext \
14451 conftest$ac_exeext conftest.$ac_ext
14452 CFLAGS=$ac_wine_try_cflags_saved
14454 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
14455 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
14456 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
14457 then
14459 cat >>confdefs.h <<\_ACEOF
14460 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14461 _ACEOF
14465 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
14466 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
14467 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
14468 echo $ECHO_N "(cached) $ECHO_C" >&6
14469 else
14470 ac_wine_try_cflags_saved=$CFLAGS
14471 CFLAGS="$CFLAGS -fno-strict-aliasing"
14472 cat >conftest.$ac_ext <<_ACEOF
14473 /* confdefs.h. */
14474 _ACEOF
14475 cat confdefs.h >>conftest.$ac_ext
14476 cat >>conftest.$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14480 main ()
14484 return 0;
14486 _ACEOF
14487 rm -f conftest.$ac_objext conftest$ac_exeext
14488 if { (ac_try="$ac_link"
14489 case "(($ac_try" in
14490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14491 *) ac_try_echo=$ac_try;;
14492 esac
14493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14494 (eval "$ac_link") 2>conftest.er1
14495 ac_status=$?
14496 grep -v '^ *+' conftest.er1 >conftest.err
14497 rm -f conftest.er1
14498 cat conftest.err >&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } &&
14501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14502 { (case "(($ac_try" in
14503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14504 *) ac_try_echo=$ac_try;;
14505 esac
14506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14507 (eval "$ac_try") 2>&5
14508 ac_status=$?
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; } &&
14511 { ac_try='test -s conftest$ac_exeext'
14512 { (case "(($ac_try" in
14513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14514 *) ac_try_echo=$ac_try;;
14515 esac
14516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14517 (eval "$ac_try") 2>&5
14518 ac_status=$?
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; }; then
14521 ac_cv_c_gcc_no_strict_aliasing="yes"
14522 else
14523 echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.$ac_ext >&5
14526 ac_cv_c_gcc_no_strict_aliasing="no"
14529 rm -f core conftest.err conftest.$ac_objext \
14530 conftest$ac_exeext conftest.$ac_ext
14531 CFLAGS=$ac_wine_try_cflags_saved
14533 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
14534 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
14535 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
14536 then
14537 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14540 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
14541 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
14542 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
14543 echo $ECHO_N "(cached) $ECHO_C" >&6
14544 else
14545 ac_wine_try_cflags_saved=$CFLAGS
14546 CFLAGS="$CFLAGS -gstabs+"
14547 cat >conftest.$ac_ext <<_ACEOF
14548 /* confdefs.h. */
14549 _ACEOF
14550 cat confdefs.h >>conftest.$ac_ext
14551 cat >>conftest.$ac_ext <<_ACEOF
14552 /* end confdefs.h. */
14555 main ()
14559 return 0;
14561 _ACEOF
14562 rm -f conftest.$ac_objext conftest$ac_exeext
14563 if { (ac_try="$ac_link"
14564 case "(($ac_try" in
14565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14566 *) ac_try_echo=$ac_try;;
14567 esac
14568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14569 (eval "$ac_link") 2>conftest.er1
14570 ac_status=$?
14571 grep -v '^ *+' conftest.er1 >conftest.err
14572 rm -f conftest.er1
14573 cat conftest.err >&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); } &&
14576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14577 { (case "(($ac_try" in
14578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14579 *) ac_try_echo=$ac_try;;
14580 esac
14581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14582 (eval "$ac_try") 2>&5
14583 ac_status=$?
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; } &&
14586 { ac_try='test -s conftest$ac_exeext'
14587 { (case "(($ac_try" in
14588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14589 *) ac_try_echo=$ac_try;;
14590 esac
14591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14592 (eval "$ac_try") 2>&5
14593 ac_status=$?
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; }; then
14596 ac_cv_c_gcc_gstabs="yes"
14597 else
14598 echo "$as_me: failed program was:" >&5
14599 sed 's/^/| /' conftest.$ac_ext >&5
14601 ac_cv_c_gcc_gstabs="no"
14604 rm -f core conftest.err conftest.$ac_objext \
14605 conftest$ac_exeext conftest.$ac_ext
14606 CFLAGS=$ac_wine_try_cflags_saved
14608 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
14609 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
14610 if test "$ac_cv_c_gcc_gstabs" = "yes"
14611 then
14612 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14615 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
14616 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
14617 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
14618 echo $ECHO_N "(cached) $ECHO_C" >&6
14619 else
14620 ac_wine_try_cflags_saved=$CFLAGS
14621 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14622 cat >conftest.$ac_ext <<_ACEOF
14623 /* confdefs.h. */
14624 _ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14630 main ()
14634 return 0;
14636 _ACEOF
14637 rm -f conftest.$ac_objext conftest$ac_exeext
14638 if { (ac_try="$ac_link"
14639 case "(($ac_try" in
14640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14641 *) ac_try_echo=$ac_try;;
14642 esac
14643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14644 (eval "$ac_link") 2>conftest.er1
14645 ac_status=$?
14646 grep -v '^ *+' conftest.er1 >conftest.err
14647 rm -f conftest.er1
14648 cat conftest.err >&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14652 { (case "(($ac_try" in
14653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14654 *) ac_try_echo=$ac_try;;
14655 esac
14656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14657 (eval "$ac_try") 2>&5
14658 ac_status=$?
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); }; } &&
14661 { ac_try='test -s conftest$ac_exeext'
14662 { (case "(($ac_try" in
14663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14664 *) ac_try_echo=$ac_try;;
14665 esac
14666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14667 (eval "$ac_try") 2>&5
14668 ac_status=$?
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); }; }; then
14671 ac_cv_c_gcc_decl_after_statement="yes"
14672 else
14673 echo "$as_me: failed program was:" >&5
14674 sed 's/^/| /' conftest.$ac_ext >&5
14676 ac_cv_c_gcc_decl_after_statement="no"
14679 rm -f core conftest.err conftest.$ac_objext \
14680 conftest$ac_exeext conftest.$ac_ext
14681 CFLAGS=$ac_wine_try_cflags_saved
14683 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
14684 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
14685 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
14686 then
14687 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14690 saved_CFLAGS="$CFLAGS"
14691 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14692 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14693 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14694 if test "${ac_cv_c_string_h_warnings+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. */
14703 #include <string.h>
14705 main ()
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_string_h_warnings=no
14747 else
14748 echo "$as_me: failed program was:" >&5
14749 sed 's/^/| /' conftest.$ac_ext >&5
14751 ac_cv_c_string_h_warnings=yes
14754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14756 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14757 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14758 CFLAGS="$saved_CFLAGS"
14759 if test "$ac_cv_c_string_h_warnings" = "no"
14760 then
14761 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14764 BUILTINFLAG=""
14766 saved_CFLAGS="$CFLAGS"
14767 CFLAGS="$CFLAGS -Werror"
14768 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14769 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14770 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14772 else
14773 cat >conftest.$ac_ext <<_ACEOF
14774 /* confdefs.h. */
14775 _ACEOF
14776 cat confdefs.h >>conftest.$ac_ext
14777 cat >>conftest.$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14781 main ()
14783 int iswlower(unsigned short);
14785 return 0;
14787 _ACEOF
14788 rm -f conftest.$ac_objext
14789 if { (ac_try="$ac_compile"
14790 case "(($ac_try" in
14791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14792 *) ac_try_echo=$ac_try;;
14793 esac
14794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14795 (eval "$ac_compile") 2>conftest.er1
14796 ac_status=$?
14797 grep -v '^ *+' conftest.er1 >conftest.err
14798 rm -f conftest.er1
14799 cat conftest.err >&5
14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); } &&
14802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14803 { (case "(($ac_try" in
14804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14805 *) ac_try_echo=$ac_try;;
14806 esac
14807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14808 (eval "$ac_try") 2>&5
14809 ac_status=$?
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); }; } &&
14812 { ac_try='test -s conftest.$ac_objext'
14813 { (case "(($ac_try" in
14814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14815 *) ac_try_echo=$ac_try;;
14816 esac
14817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14818 (eval "$ac_try") 2>&5
14819 ac_status=$?
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); }; }; then
14822 ac_cv_c_builtin_wchar_ctype=no
14823 else
14824 echo "$as_me: failed program was:" >&5
14825 sed 's/^/| /' conftest.$ac_ext >&5
14827 ac_cv_c_builtin_wchar_ctype=yes
14830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14832 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14833 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14834 CFLAGS="$saved_CFLAGS"
14835 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14836 then
14837 BUILTINFLAG="-fno-builtin"
14842 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14843 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14844 if test "${ac_cv_asm_func_def+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14846 else
14847 cat >conftest.$ac_ext <<_ACEOF
14848 /* confdefs.h. */
14849 _ACEOF
14850 cat confdefs.h >>conftest.$ac_ext
14851 cat >>conftest.$ac_ext <<_ACEOF
14852 /* end confdefs.h. */
14853 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"); }
14856 main ()
14860 return 0;
14862 _ACEOF
14863 rm -f conftest.$ac_objext conftest$ac_exeext
14864 if { (ac_try="$ac_link"
14865 case "(($ac_try" in
14866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14867 *) ac_try_echo=$ac_try;;
14868 esac
14869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14870 (eval "$ac_link") 2>conftest.er1
14871 ac_status=$?
14872 grep -v '^ *+' conftest.er1 >conftest.err
14873 rm -f conftest.er1
14874 cat conftest.err >&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); } &&
14877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14878 { (case "(($ac_try" in
14879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14880 *) ac_try_echo=$ac_try;;
14881 esac
14882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14883 (eval "$ac_try") 2>&5
14884 ac_status=$?
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; } &&
14887 { ac_try='test -s conftest$ac_exeext'
14888 { (case "(($ac_try" in
14889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14890 *) ac_try_echo=$ac_try;;
14891 esac
14892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14893 (eval "$ac_try") 2>&5
14894 ac_status=$?
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; }; then
14897 ac_cv_asm_func_def=".def"
14898 else
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.$ac_ext >&5
14902 cat >conftest.$ac_ext <<_ACEOF
14903 /* confdefs.h. */
14904 _ACEOF
14905 cat confdefs.h >>conftest.$ac_ext
14906 cat >>conftest.$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14908 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14911 main ()
14915 return 0;
14917 _ACEOF
14918 rm -f conftest.$ac_objext conftest$ac_exeext
14919 if { (ac_try="$ac_link"
14920 case "(($ac_try" in
14921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14922 *) ac_try_echo=$ac_try;;
14923 esac
14924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14925 (eval "$ac_link") 2>conftest.er1
14926 ac_status=$?
14927 grep -v '^ *+' conftest.er1 >conftest.err
14928 rm -f conftest.er1
14929 cat conftest.err >&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); } &&
14932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14933 { (case "(($ac_try" in
14934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14935 *) ac_try_echo=$ac_try;;
14936 esac
14937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14938 (eval "$ac_try") 2>&5
14939 ac_status=$?
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; } &&
14942 { ac_try='test -s conftest$ac_exeext'
14943 { (case "(($ac_try" in
14944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14945 *) ac_try_echo=$ac_try;;
14946 esac
14947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14948 (eval "$ac_try") 2>&5
14949 ac_status=$?
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14952 ac_cv_asm_func_def=".type @function"
14953 else
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.$ac_ext >&5
14957 cat >conftest.$ac_ext <<_ACEOF
14958 /* confdefs.h. */
14959 _ACEOF
14960 cat confdefs.h >>conftest.$ac_ext
14961 cat >>conftest.$ac_ext <<_ACEOF
14962 /* end confdefs.h. */
14963 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14966 main ()
14970 return 0;
14972 _ACEOF
14973 rm -f conftest.$ac_objext conftest$ac_exeext
14974 if { (ac_try="$ac_link"
14975 case "(($ac_try" in
14976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14977 *) ac_try_echo=$ac_try;;
14978 esac
14979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14980 (eval "$ac_link") 2>conftest.er1
14981 ac_status=$?
14982 grep -v '^ *+' conftest.er1 >conftest.err
14983 rm -f conftest.er1
14984 cat conftest.err >&5
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 (exit $ac_status); } &&
14987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14988 { (case "(($ac_try" in
14989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14990 *) ac_try_echo=$ac_try;;
14991 esac
14992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14993 (eval "$ac_try") 2>&5
14994 ac_status=$?
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); }; } &&
14997 { ac_try='test -s conftest$ac_exeext'
14998 { (case "(($ac_try" in
14999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15000 *) ac_try_echo=$ac_try;;
15001 esac
15002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15003 (eval "$ac_try") 2>&5
15004 ac_status=$?
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; }; then
15007 ac_cv_asm_func_def=".type 2"
15008 else
15009 echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.$ac_ext >&5
15012 ac_cv_asm_func_def="unknown"
15015 rm -f core conftest.err conftest.$ac_objext \
15016 conftest$ac_exeext conftest.$ac_ext
15019 rm -f core conftest.err conftest.$ac_objext \
15020 conftest$ac_exeext conftest.$ac_ext
15023 rm -f core conftest.err conftest.$ac_objext \
15024 conftest$ac_exeext conftest.$ac_ext
15026 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15027 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15031 case "$ac_cv_asm_func_def" in
15032 ".def")
15033 cat >>confdefs.h <<\_ACEOF
15034 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15035 _ACEOF
15037 ".type @function")
15038 cat >>confdefs.h <<\_ACEOF
15039 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15040 _ACEOF
15042 ".type 2")
15043 cat >>confdefs.h <<\_ACEOF
15044 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15045 _ACEOF
15048 cat >>confdefs.h <<\_ACEOF
15049 #define __ASM_FUNC(name) ""
15050 _ACEOF
15052 esac
15055 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15056 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15057 if test "${ac_cv_c_extern_prefix+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15059 else
15060 cat >conftest.$ac_ext <<_ACEOF
15061 /* confdefs.h. */
15062 _ACEOF
15063 cat confdefs.h >>conftest.$ac_ext
15064 cat >>conftest.$ac_ext <<_ACEOF
15065 /* end confdefs.h. */
15066 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15067 extern int ac_test;
15069 main ()
15071 if (ac_test) return 1
15073 return 0;
15075 _ACEOF
15076 rm -f conftest.$ac_objext conftest$ac_exeext
15077 if { (ac_try="$ac_link"
15078 case "(($ac_try" in
15079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15080 *) ac_try_echo=$ac_try;;
15081 esac
15082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15083 (eval "$ac_link") 2>conftest.er1
15084 ac_status=$?
15085 grep -v '^ *+' conftest.er1 >conftest.err
15086 rm -f conftest.er1
15087 cat conftest.err >&5
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); } &&
15090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15091 { (case "(($ac_try" in
15092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15093 *) ac_try_echo=$ac_try;;
15094 esac
15095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15096 (eval "$ac_try") 2>&5
15097 ac_status=$?
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }; } &&
15100 { ac_try='test -s conftest$ac_exeext'
15101 { (case "(($ac_try" in
15102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15103 *) ac_try_echo=$ac_try;;
15104 esac
15105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15106 (eval "$ac_try") 2>&5
15107 ac_status=$?
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; }; then
15110 ac_cv_c_extern_prefix="yes"
15111 else
15112 echo "$as_me: failed program was:" >&5
15113 sed 's/^/| /' conftest.$ac_ext >&5
15115 ac_cv_c_extern_prefix="no"
15118 rm -f core conftest.err conftest.$ac_objext \
15119 conftest$ac_exeext conftest.$ac_ext
15121 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15122 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15126 if test "$ac_cv_c_extern_prefix" = "yes"
15127 then
15128 cat >>confdefs.h <<\_ACEOF
15129 #define __ASM_NAME(name) "_" name
15130 _ACEOF
15132 else
15133 cat >>confdefs.h <<\_ACEOF
15134 #define __ASM_NAME(name) name
15135 _ACEOF
15140 DLLEXT=""
15142 DLLFLAGS="-D_REENTRANT"
15144 LDSHARED=""
15146 LDDLLFLAGS=""
15148 LIBEXT="so"
15150 IMPLIBEXT="def"
15153 case $host_os in
15154 cygwin*|mingw32*)
15155 if test -n "$ac_tool_prefix"; then
15156 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15157 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15160 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 else
15163 if test -n "$DLLTOOL"; then
15164 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15165 else
15166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15167 for as_dir in $PATH
15169 IFS=$as_save_IFS
15170 test -z "$as_dir" && as_dir=.
15171 for ac_exec_ext in '' $ac_executable_extensions; do
15172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15173 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15175 break 2
15177 done
15178 done
15179 IFS=$as_save_IFS
15183 DLLTOOL=$ac_cv_prog_DLLTOOL
15184 if test -n "$DLLTOOL"; then
15185 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15186 echo "${ECHO_T}$DLLTOOL" >&6; }
15187 else
15188 { echo "$as_me:$LINENO: result: no" >&5
15189 echo "${ECHO_T}no" >&6; }
15194 if test -z "$ac_cv_prog_DLLTOOL"; then
15195 ac_ct_DLLTOOL=$DLLTOOL
15196 # Extract the first word of "dlltool", so it can be a program name with args.
15197 set dummy dlltool; ac_word=$2
15198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15200 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15201 echo $ECHO_N "(cached) $ECHO_C" >&6
15202 else
15203 if test -n "$ac_ct_DLLTOOL"; then
15204 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15205 else
15206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15207 for as_dir in $PATH
15209 IFS=$as_save_IFS
15210 test -z "$as_dir" && as_dir=.
15211 for ac_exec_ext in '' $ac_executable_extensions; do
15212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15213 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15215 break 2
15217 done
15218 done
15219 IFS=$as_save_IFS
15223 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15224 if test -n "$ac_ct_DLLTOOL"; then
15225 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15226 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15227 else
15228 { echo "$as_me:$LINENO: result: no" >&5
15229 echo "${ECHO_T}no" >&6; }
15232 if test "x$ac_ct_DLLTOOL" = x; then
15233 DLLTOOL="false"
15234 else
15235 case $cross_compiling:$ac_tool_warned in
15236 yes:)
15237 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15238 whose name does not start with the host triplet. If you think this
15239 configuration is useful to you, please write to autoconf@gnu.org." >&5
15240 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15241 whose name does not start with the host triplet. If you think this
15242 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15243 ac_tool_warned=yes ;;
15244 esac
15245 DLLTOOL=$ac_ct_DLLTOOL
15247 else
15248 DLLTOOL="$ac_cv_prog_DLLTOOL"
15251 if test -n "$ac_tool_prefix"; then
15252 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15253 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15256 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 else
15259 if test -n "$DLLWRAP"; then
15260 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15261 else
15262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15263 for as_dir in $PATH
15265 IFS=$as_save_IFS
15266 test -z "$as_dir" && as_dir=.
15267 for ac_exec_ext in '' $ac_executable_extensions; do
15268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15269 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15271 break 2
15273 done
15274 done
15275 IFS=$as_save_IFS
15279 DLLWRAP=$ac_cv_prog_DLLWRAP
15280 if test -n "$DLLWRAP"; then
15281 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15282 echo "${ECHO_T}$DLLWRAP" >&6; }
15283 else
15284 { echo "$as_me:$LINENO: result: no" >&5
15285 echo "${ECHO_T}no" >&6; }
15290 if test -z "$ac_cv_prog_DLLWRAP"; then
15291 ac_ct_DLLWRAP=$DLLWRAP
15292 # Extract the first word of "dllwrap", so it can be a program name with args.
15293 set dummy dllwrap; ac_word=$2
15294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15296 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15297 echo $ECHO_N "(cached) $ECHO_C" >&6
15298 else
15299 if test -n "$ac_ct_DLLWRAP"; then
15300 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15301 else
15302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15303 for as_dir in $PATH
15305 IFS=$as_save_IFS
15306 test -z "$as_dir" && as_dir=.
15307 for ac_exec_ext in '' $ac_executable_extensions; do
15308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15309 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15311 break 2
15313 done
15314 done
15315 IFS=$as_save_IFS
15319 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15320 if test -n "$ac_ct_DLLWRAP"; then
15321 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15322 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15323 else
15324 { echo "$as_me:$LINENO: result: no" >&5
15325 echo "${ECHO_T}no" >&6; }
15328 if test "x$ac_ct_DLLWRAP" = x; then
15329 DLLWRAP="false"
15330 else
15331 case $cross_compiling:$ac_tool_warned in
15332 yes:)
15333 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15334 whose name does not start with the host triplet. If you think this
15335 configuration is useful to you, please write to autoconf@gnu.org." >&5
15336 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15337 whose name does not start with the host triplet. If you think this
15338 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15339 ac_tool_warned=yes ;;
15340 esac
15341 DLLWRAP=$ac_ct_DLLWRAP
15343 else
15344 DLLWRAP="$ac_cv_prog_DLLWRAP"
15347 if test "$DLLWRAP" = "false"; then
15348 LIBEXT="a"
15349 else
15350 LIBEXT="dll"
15352 IMPLIBEXT="a"
15353 WIN16_FILES=""
15354 WIN16_INSTALL=""
15356 darwin*|macosx*)
15357 DLLEXT=".so"
15358 LIBEXT="dylib"
15359 DLLFLAGS="$DLLFLAGS -fPIC"
15360 LDDLLFLAGS="-bundle -multiply_defined suppress"
15361 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
15362 STRIP="$STRIP -u -r"
15363 COREFOUNDATIONLIB="-framework CoreFoundation"
15365 IOKITLIB="-framework IOKit -framework CoreFoundation"
15367 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15369 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15370 then
15371 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15374 case $host_cpu in
15375 *powerpc*)
15376 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15377 esac
15380 DLLFLAGS="$DLLFLAGS -fPIC"
15381 DLLEXT=".so"
15382 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15383 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15384 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15385 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 else
15387 ac_wine_try_cflags_saved=$CFLAGS
15388 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15389 cat >conftest.$ac_ext <<_ACEOF
15390 void myfunc() {}
15391 _ACEOF
15392 rm -f conftest.$ac_objext conftest$ac_exeext
15393 if { (ac_try="$ac_link"
15394 case "(($ac_try" in
15395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15396 *) ac_try_echo=$ac_try;;
15397 esac
15398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15399 (eval "$ac_link") 2>conftest.er1
15400 ac_status=$?
15401 grep -v '^ *+' conftest.er1 >conftest.err
15402 rm -f conftest.er1
15403 cat conftest.err >&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } &&
15406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15407 { (case "(($ac_try" in
15408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15409 *) ac_try_echo=$ac_try;;
15410 esac
15411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15412 (eval "$ac_try") 2>&5
15413 ac_status=$?
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; } &&
15416 { ac_try='test -s conftest$ac_exeext'
15417 { (case "(($ac_try" in
15418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15419 *) ac_try_echo=$ac_try;;
15420 esac
15421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15422 (eval "$ac_try") 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15426 ac_cv_c_dll_gnuelf="yes"
15427 else
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15431 ac_cv_c_dll_gnuelf="no"
15434 rm -f core conftest.err conftest.$ac_objext \
15435 conftest$ac_exeext conftest.$ac_ext
15436 CFLAGS=$ac_wine_try_cflags_saved
15438 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15439 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15440 if test "$ac_cv_c_dll_gnuelf" = "yes"
15441 then
15442 LDSHARED="\$(CC) -shared"
15443 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
15444 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
15445 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
15446 if test "${ac_cv_c_sonames+set}" = set; then
15447 echo $ECHO_N "(cached) $ECHO_C" >&6
15448 else
15449 ac_wine_try_cflags_saved=$CFLAGS
15450 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15451 cat >conftest.$ac_ext <<_ACEOF
15452 /* confdefs.h. */
15453 _ACEOF
15454 cat confdefs.h >>conftest.$ac_ext
15455 cat >>conftest.$ac_ext <<_ACEOF
15456 /* end confdefs.h. */
15459 main ()
15463 return 0;
15465 _ACEOF
15466 rm -f conftest.$ac_objext conftest$ac_exeext
15467 if { (ac_try="$ac_link"
15468 case "(($ac_try" in
15469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15470 *) ac_try_echo=$ac_try;;
15471 esac
15472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15473 (eval "$ac_link") 2>conftest.er1
15474 ac_status=$?
15475 grep -v '^ *+' conftest.er1 >conftest.err
15476 rm -f conftest.er1
15477 cat conftest.err >&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); } &&
15480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15481 { (case "(($ac_try" in
15482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15483 *) ac_try_echo=$ac_try;;
15484 esac
15485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15486 (eval "$ac_try") 2>&5
15487 ac_status=$?
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); }; } &&
15490 { ac_try='test -s conftest$ac_exeext'
15491 { (case "(($ac_try" in
15492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15493 *) ac_try_echo=$ac_try;;
15494 esac
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_try") 2>&5
15497 ac_status=$?
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15500 ac_cv_c_sonames="yes"
15501 else
15502 echo "$as_me: failed program was:" >&5
15503 sed 's/^/| /' conftest.$ac_ext >&5
15505 ac_cv_c_sonames="no"
15508 rm -f core conftest.err conftest.$ac_objext \
15509 conftest$ac_exeext conftest.$ac_ext
15510 CFLAGS=$ac_wine_try_cflags_saved
15512 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
15513 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
15514 if test "$ac_cv_c_sonames" = "yes"
15515 then
15516 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15517 else
15518 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
15519 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
15520 if test "${ac_cv_c_h_sonames+set}" = set; then
15521 echo $ECHO_N "(cached) $ECHO_C" >&6
15522 else
15523 ac_wine_try_cflags_saved=$CFLAGS
15524 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15525 cat >conftest.$ac_ext <<_ACEOF
15526 /* confdefs.h. */
15527 _ACEOF
15528 cat confdefs.h >>conftest.$ac_ext
15529 cat >>conftest.$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15533 main ()
15537 return 0;
15539 _ACEOF
15540 rm -f conftest.$ac_objext conftest$ac_exeext
15541 if { (ac_try="$ac_link"
15542 case "(($ac_try" in
15543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15544 *) ac_try_echo=$ac_try;;
15545 esac
15546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15547 (eval "$ac_link") 2>conftest.er1
15548 ac_status=$?
15549 grep -v '^ *+' conftest.er1 >conftest.err
15550 rm -f conftest.er1
15551 cat conftest.err >&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); } &&
15554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15555 { (case "(($ac_try" in
15556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15557 *) ac_try_echo=$ac_try;;
15558 esac
15559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15560 (eval "$ac_try") 2>&5
15561 ac_status=$?
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); }; } &&
15564 { ac_try='test -s conftest$ac_exeext'
15565 { (case "(($ac_try" in
15566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15567 *) ac_try_echo=$ac_try;;
15568 esac
15569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15570 (eval "$ac_try") 2>&5
15571 ac_status=$?
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); }; }; then
15574 ac_cv_c_h_sonames="yes"
15575 else
15576 echo "$as_me: failed program was:" >&5
15577 sed 's/^/| /' conftest.$ac_ext >&5
15579 ac_cv_c_h_sonames="no"
15582 rm -f core conftest.err conftest.$ac_objext \
15583 conftest$ac_exeext conftest.$ac_ext
15584 CFLAGS=$ac_wine_try_cflags_saved
15586 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
15587 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
15588 if test "$ac_cv_c_h_sonames" = "yes"
15589 then
15590 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15594 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
15595 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
15596 if test "${ac_cv_c_dll_zdefs+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,-z,defs"
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_zdefs="yes"
15651 else
15652 echo "$as_me: failed program was:" >&5
15653 sed 's/^/| /' conftest.$ac_ext >&5
15655 ac_cv_c_dll_zdefs="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_zdefs" >&5
15663 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
15664 if test "$ac_cv_c_dll_zdefs" = "yes"
15665 then
15666 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15669 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
15670 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
15671 if test "${ac_cv_c_dll_init_fini+set}" = set; then
15672 echo $ECHO_N "(cached) $ECHO_C" >&6
15673 else
15674 ac_wine_try_cflags_saved=$CFLAGS
15675 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15676 cat >conftest.$ac_ext <<_ACEOF
15677 /* confdefs.h. */
15678 _ACEOF
15679 cat confdefs.h >>conftest.$ac_ext
15680 cat >>conftest.$ac_ext <<_ACEOF
15681 /* end confdefs.h. */
15684 main ()
15688 return 0;
15690 _ACEOF
15691 rm -f conftest.$ac_objext conftest$ac_exeext
15692 if { (ac_try="$ac_link"
15693 case "(($ac_try" in
15694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15695 *) ac_try_echo=$ac_try;;
15696 esac
15697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15698 (eval "$ac_link") 2>conftest.er1
15699 ac_status=$?
15700 grep -v '^ *+' conftest.er1 >conftest.err
15701 rm -f conftest.er1
15702 cat conftest.err >&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); } &&
15705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15706 { (case "(($ac_try" in
15707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15708 *) ac_try_echo=$ac_try;;
15709 esac
15710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15711 (eval "$ac_try") 2>&5
15712 ac_status=$?
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; } &&
15715 { ac_try='test -s conftest$ac_exeext'
15716 { (case "(($ac_try" in
15717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15718 *) ac_try_echo=$ac_try;;
15719 esac
15720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15721 (eval "$ac_try") 2>&5
15722 ac_status=$?
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; }; then
15725 ac_cv_c_dll_init_fini="yes"
15726 else
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15730 ac_cv_c_dll_init_fini="no"
15733 rm -f core conftest.err conftest.$ac_objext \
15734 conftest$ac_exeext conftest.$ac_ext
15735 CFLAGS=$ac_wine_try_cflags_saved
15737 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
15738 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
15739 if test "$ac_cv_c_dll_init_fini" = "yes"
15740 then
15741 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15744 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
15745 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
15746 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
15747 echo $ECHO_N "(cached) $ECHO_C" >&6
15748 else
15749 echo '{ global: *; };' >conftest.map
15750 ac_wine_try_cflags_saved=$CFLAGS
15751 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15752 cat >conftest.$ac_ext <<_ACEOF
15753 /* confdefs.h. */
15754 _ACEOF
15755 cat confdefs.h >>conftest.$ac_ext
15756 cat >>conftest.$ac_ext <<_ACEOF
15757 /* end confdefs.h. */
15760 main ()
15764 return 0;
15766 _ACEOF
15767 rm -f conftest.$ac_objext conftest$ac_exeext
15768 if { (ac_try="$ac_link"
15769 case "(($ac_try" in
15770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15771 *) ac_try_echo=$ac_try;;
15772 esac
15773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15774 (eval "$ac_link") 2>conftest.er1
15775 ac_status=$?
15776 grep -v '^ *+' conftest.er1 >conftest.err
15777 rm -f conftest.er1
15778 cat conftest.err >&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); } &&
15781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15782 { (case "(($ac_try" in
15783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15784 *) ac_try_echo=$ac_try;;
15785 esac
15786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15787 (eval "$ac_try") 2>&5
15788 ac_status=$?
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); }; } &&
15791 { ac_try='test -s conftest$ac_exeext'
15792 { (case "(($ac_try" in
15793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15794 *) ac_try_echo=$ac_try;;
15795 esac
15796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15797 (eval "$ac_try") 2>&5
15798 ac_status=$?
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); }; }; then
15801 ac_cv_c_ld_version_scripts="yes"
15802 else
15803 echo "$as_me: failed program was:" >&5
15804 sed 's/^/| /' conftest.$ac_ext >&5
15806 ac_cv_c_ld_version_scripts="no"
15809 rm -f core conftest.err conftest.$ac_objext \
15810 conftest$ac_exeext conftest.$ac_ext
15811 CFLAGS=$ac_wine_try_cflags_saved
15812 rm -f conftest.map
15814 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
15815 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
15816 if test "$ac_cv_c_ld_version_scripts" = "yes"
15817 then
15818 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15821 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
15822 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
15823 if test "${ac_cv_c_export_dynamic+set}" = set; then
15824 echo $ECHO_N "(cached) $ECHO_C" >&6
15825 else
15826 ac_wine_try_cflags_saved=$CFLAGS
15827 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15828 cat >conftest.$ac_ext <<_ACEOF
15829 /* confdefs.h. */
15830 _ACEOF
15831 cat confdefs.h >>conftest.$ac_ext
15832 cat >>conftest.$ac_ext <<_ACEOF
15833 /* end confdefs.h. */
15836 main ()
15840 return 0;
15842 _ACEOF
15843 rm -f conftest.$ac_objext conftest$ac_exeext
15844 if { (ac_try="$ac_link"
15845 case "(($ac_try" in
15846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15847 *) ac_try_echo=$ac_try;;
15848 esac
15849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15850 (eval "$ac_link") 2>conftest.er1
15851 ac_status=$?
15852 grep -v '^ *+' conftest.er1 >conftest.err
15853 rm -f conftest.er1
15854 cat conftest.err >&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } &&
15857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15858 { (case "(($ac_try" in
15859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15860 *) ac_try_echo=$ac_try;;
15861 esac
15862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15863 (eval "$ac_try") 2>&5
15864 ac_status=$?
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); }; } &&
15867 { ac_try='test -s conftest$ac_exeext'
15868 { (case "(($ac_try" in
15869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15870 *) ac_try_echo=$ac_try;;
15871 esac
15872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15873 (eval "$ac_try") 2>&5
15874 ac_status=$?
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; }; then
15877 ac_cv_c_export_dynamic="yes"
15878 else
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.$ac_ext >&5
15882 ac_cv_c_export_dynamic="no"
15885 rm -f core conftest.err conftest.$ac_objext \
15886 conftest$ac_exeext conftest.$ac_ext
15887 CFLAGS=$ac_wine_try_cflags_saved
15889 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
15890 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
15891 if test "$ac_cv_c_export_dynamic" = "yes"
15892 then
15893 LDEXECFLAGS="-Wl,--export-dynamic"
15897 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
15898 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
15899 if test "${ac_cv_ld_rpath+set}" = set; then
15900 echo $ECHO_N "(cached) $ECHO_C" >&6
15901 else
15902 ac_wine_try_cflags_saved=$CFLAGS
15903 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15904 cat >conftest.$ac_ext <<_ACEOF
15905 /* confdefs.h. */
15906 _ACEOF
15907 cat confdefs.h >>conftest.$ac_ext
15908 cat >>conftest.$ac_ext <<_ACEOF
15909 /* end confdefs.h. */
15912 main ()
15916 return 0;
15918 _ACEOF
15919 rm -f conftest.$ac_objext conftest$ac_exeext
15920 if { (ac_try="$ac_link"
15921 case "(($ac_try" in
15922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15923 *) ac_try_echo=$ac_try;;
15924 esac
15925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15926 (eval "$ac_link") 2>conftest.er1
15927 ac_status=$?
15928 grep -v '^ *+' conftest.er1 >conftest.err
15929 rm -f conftest.er1
15930 cat conftest.err >&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15934 { (case "(($ac_try" in
15935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15936 *) ac_try_echo=$ac_try;;
15937 esac
15938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15939 (eval "$ac_try") 2>&5
15940 ac_status=$?
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); }; } &&
15943 { ac_try='test -s conftest$ac_exeext'
15944 { (case "(($ac_try" in
15945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15946 *) ac_try_echo=$ac_try;;
15947 esac
15948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15949 (eval "$ac_try") 2>&5
15950 ac_status=$?
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; }; then
15953 ac_cv_ld_rpath="yes"
15954 else
15955 echo "$as_me: failed program was:" >&5
15956 sed 's/^/| /' conftest.$ac_ext >&5
15958 ac_cv_ld_rpath="no"
15961 rm -f core conftest.err conftest.$ac_objext \
15962 conftest$ac_exeext conftest.$ac_ext
15963 CFLAGS=$ac_wine_try_cflags_saved
15965 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
15966 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
15967 if test "$ac_cv_ld_rpath" = "yes"
15968 then
15969 LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
15973 case $host_cpu in
15974 *i[3456789]86* | x86_64)
15975 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
15976 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
15977 if test "${ac_cv_ld_reloc_exec+set}" = set; then
15978 echo $ECHO_N "(cached) $ECHO_C" >&6
15979 else
15980 ac_wine_try_cflags_saved=$CFLAGS
15981 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15982 cat >conftest.$ac_ext <<_ACEOF
15983 /* confdefs.h. */
15984 _ACEOF
15985 cat confdefs.h >>conftest.$ac_ext
15986 cat >>conftest.$ac_ext <<_ACEOF
15987 /* end confdefs.h. */
15990 main ()
15994 return 0;
15996 _ACEOF
15997 rm -f conftest.$ac_objext conftest$ac_exeext
15998 if { (ac_try="$ac_link"
15999 case "(($ac_try" in
16000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16001 *) ac_try_echo=$ac_try;;
16002 esac
16003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16004 (eval "$ac_link") 2>conftest.er1
16005 ac_status=$?
16006 grep -v '^ *+' conftest.er1 >conftest.err
16007 rm -f conftest.er1
16008 cat conftest.err >&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); } &&
16011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16012 { (case "(($ac_try" in
16013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16014 *) ac_try_echo=$ac_try;;
16015 esac
16016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16017 (eval "$ac_try") 2>&5
16018 ac_status=$?
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); }; } &&
16021 { ac_try='test -s conftest$ac_exeext'
16022 { (case "(($ac_try" in
16023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16024 *) ac_try_echo=$ac_try;;
16025 esac
16026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16027 (eval "$ac_try") 2>&5
16028 ac_status=$?
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); }; }; then
16031 ac_cv_ld_reloc_exec="yes"
16032 else
16033 echo "$as_me: failed program was:" >&5
16034 sed 's/^/| /' conftest.$ac_ext >&5
16036 ac_cv_ld_reloc_exec="no"
16039 rm -f core conftest.err conftest.$ac_objext \
16040 conftest$ac_exeext conftest.$ac_ext
16041 CFLAGS=$ac_wine_try_cflags_saved
16043 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
16044 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
16045 if test "$ac_cv_ld_reloc_exec" = "yes"
16046 then
16047 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16050 esac
16052 else
16053 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16054 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16055 if test "${ac_cv_c_dll_unixware+set}" = set; then
16056 echo $ECHO_N "(cached) $ECHO_C" >&6
16057 else
16058 ac_wine_try_cflags_saved=$CFLAGS
16059 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16060 cat >conftest.$ac_ext <<_ACEOF
16061 void myfunc() {}
16062 _ACEOF
16063 rm -f conftest.$ac_objext conftest$ac_exeext
16064 if { (ac_try="$ac_link"
16065 case "(($ac_try" in
16066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16067 *) ac_try_echo=$ac_try;;
16068 esac
16069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16070 (eval "$ac_link") 2>conftest.er1
16071 ac_status=$?
16072 grep -v '^ *+' conftest.er1 >conftest.err
16073 rm -f conftest.er1
16074 cat conftest.err >&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); } &&
16077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16078 { (case "(($ac_try" in
16079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16080 *) ac_try_echo=$ac_try;;
16081 esac
16082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16083 (eval "$ac_try") 2>&5
16084 ac_status=$?
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); }; } &&
16087 { ac_try='test -s conftest$ac_exeext'
16088 { (case "(($ac_try" in
16089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16090 *) ac_try_echo=$ac_try;;
16091 esac
16092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16093 (eval "$ac_try") 2>&5
16094 ac_status=$?
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16097 ac_cv_c_dll_unixware="yes"
16098 else
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.$ac_ext >&5
16102 ac_cv_c_dll_unixware="no"
16105 rm -f core conftest.err conftest.$ac_objext \
16106 conftest$ac_exeext conftest.$ac_ext
16107 CFLAGS=$ac_wine_try_cflags_saved
16109 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16110 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16111 if test "$ac_cv_c_dll_unixware" = "yes"
16112 then
16113 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16114 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16116 else
16117 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16118 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16119 if test "${ac_cv_c_dll_hpux+set}" = set; then
16120 echo $ECHO_N "(cached) $ECHO_C" >&6
16121 else
16122 ac_wine_try_cflags_saved=$CFLAGS
16123 CFLAGS="$CFLAGS -shared"
16124 cat >conftest.$ac_ext <<_ACEOF
16125 void myfunc() {}
16126 _ACEOF
16127 rm -f conftest.$ac_objext conftest$ac_exeext
16128 if { (ac_try="$ac_link"
16129 case "(($ac_try" in
16130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16131 *) ac_try_echo=$ac_try;;
16132 esac
16133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16134 (eval "$ac_link") 2>conftest.er1
16135 ac_status=$?
16136 grep -v '^ *+' conftest.er1 >conftest.err
16137 rm -f conftest.er1
16138 cat conftest.err >&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); } &&
16141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16142 { (case "(($ac_try" in
16143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16144 *) ac_try_echo=$ac_try;;
16145 esac
16146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16147 (eval "$ac_try") 2>&5
16148 ac_status=$?
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); }; } &&
16151 { ac_try='test -s conftest$ac_exeext'
16152 { (case "(($ac_try" in
16153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16154 *) ac_try_echo=$ac_try;;
16155 esac
16156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16157 (eval "$ac_try") 2>&5
16158 ac_status=$?
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; }; then
16161 ac_cv_c_dll_hpux="yes"
16162 else
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.$ac_ext >&5
16166 ac_cv_c_dll_hpux="no"
16169 rm -f core conftest.err conftest.$ac_objext \
16170 conftest$ac_exeext conftest.$ac_ext
16171 CFLAGS=$ac_wine_try_cflags_saved
16173 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16174 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16175 if test "$ac_cv_c_dll_hpux" = "yes"
16176 then
16177 LIBEXT="sl"
16178 DLLEXT=".sl"
16179 LDDLLFLAGS="-shared -fPIC"
16180 LDSHARED="\$(CC) -shared"
16185 CROSSTEST=""
16187 if test "$cross_compiling" = "no"
16188 then
16189 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
16191 # Extract the first word of "$ac_prog", so it can be a program name with args.
16192 set dummy $ac_prog; ac_word=$2
16193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16195 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 else
16198 if test -n "$CROSSCC"; then
16199 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
16200 else
16201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16202 for as_dir in $PATH
16204 IFS=$as_save_IFS
16205 test -z "$as_dir" && as_dir=.
16206 for ac_exec_ext in '' $ac_executable_extensions; do
16207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16208 ac_cv_prog_CROSSCC="$ac_prog"
16209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16210 break 2
16212 done
16213 done
16214 IFS=$as_save_IFS
16218 CROSSCC=$ac_cv_prog_CROSSCC
16219 if test -n "$CROSSCC"; then
16220 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16221 echo "${ECHO_T}$CROSSCC" >&6; }
16222 else
16223 { echo "$as_me:$LINENO: result: no" >&5
16224 echo "${ECHO_T}no" >&6; }
16228 test -n "$CROSSCC" && break
16229 done
16230 test -n "$CROSSCC" || CROSSCC="false"
16232 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
16234 # Extract the first word of "$ac_prog", so it can be a program name with args.
16235 set dummy $ac_prog; ac_word=$2
16236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16238 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 else
16241 if test -n "$DLLTOOL"; then
16242 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16243 else
16244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16245 for as_dir in $PATH
16247 IFS=$as_save_IFS
16248 test -z "$as_dir" && as_dir=.
16249 for ac_exec_ext in '' $ac_executable_extensions; do
16250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16251 ac_cv_prog_DLLTOOL="$ac_prog"
16252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16253 break 2
16255 done
16256 done
16257 IFS=$as_save_IFS
16261 DLLTOOL=$ac_cv_prog_DLLTOOL
16262 if test -n "$DLLTOOL"; then
16263 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16264 echo "${ECHO_T}$DLLTOOL" >&6; }
16265 else
16266 { echo "$as_me:$LINENO: result: no" >&5
16267 echo "${ECHO_T}no" >&6; }
16271 test -n "$DLLTOOL" && break
16272 done
16273 test -n "$DLLTOOL" || DLLTOOL="false"
16275 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
16277 # Extract the first word of "$ac_prog", so it can be a program name with args.
16278 set dummy $ac_prog; ac_word=$2
16279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16281 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16282 echo $ECHO_N "(cached) $ECHO_C" >&6
16283 else
16284 if test -n "$CROSSWINDRES"; then
16285 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
16286 else
16287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16288 for as_dir in $PATH
16290 IFS=$as_save_IFS
16291 test -z "$as_dir" && as_dir=.
16292 for ac_exec_ext in '' $ac_executable_extensions; do
16293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16294 ac_cv_prog_CROSSWINDRES="$ac_prog"
16295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16296 break 2
16298 done
16299 done
16300 IFS=$as_save_IFS
16304 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
16305 if test -n "$CROSSWINDRES"; then
16306 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16307 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16308 else
16309 { echo "$as_me:$LINENO: result: no" >&5
16310 echo "${ECHO_T}no" >&6; }
16314 test -n "$CROSSWINDRES" && break
16315 done
16316 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
16318 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
16321 esac
16323 if test "$LIBEXT" = "a"; then
16324 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16325 It is currently not possible to build Wine without shared library
16326 (.so) support to allow transparent switch between .so and .dll files.
16327 If you are using Linux, you will need a newer binutils.
16328 " >&5
16329 echo "$as_me: error: could not find a way to build shared libraries.
16330 It is currently not possible to build Wine without shared library
16331 (.so) support to allow transparent switch between .so and .dll files.
16332 If you are using Linux, you will need a newer binutils.
16333 " >&2;}
16334 { (exit 1); exit 1; }; }
16337 case $build_os in
16338 cygwin*|mingw32*)
16339 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16341 darwin*|macosx*)
16342 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16345 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16347 esac
16349 case $host_os in
16350 mingw32*)
16351 CRTLIBS="-lmsvcrt"
16353 SOCKETLIBS="-lws2_32"
16356 esac
16358 MAIN_BINARY="wine-pthread"
16359 case $host_cpu in
16360 *i[3456789]86*)
16361 case $host_os in
16362 linux* | k*bsd*-gnu)
16363 MAIN_BINARY="wine-glibc"
16365 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16367 esac
16369 esac
16372 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16373 then
16374 # Extract the first word of "ldd", so it can be a program name with args.
16375 set dummy ldd; ac_word=$2
16376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16378 if test "${ac_cv_path_LDD+set}" = set; then
16379 echo $ECHO_N "(cached) $ECHO_C" >&6
16380 else
16381 case $LDD in
16382 [\\/]* | ?:[\\/]*)
16383 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
16386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16387 as_dummy="/sbin:/usr/sbin:$PATH"
16388 for as_dir in $as_dummy
16390 IFS=$as_save_IFS
16391 test -z "$as_dir" && as_dir=.
16392 for ac_exec_ext in '' $ac_executable_extensions; do
16393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16394 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
16395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16396 break 2
16398 done
16399 done
16400 IFS=$as_save_IFS
16402 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
16404 esac
16406 LDD=$ac_cv_path_LDD
16407 if test -n "$LDD"; then
16408 { echo "$as_me:$LINENO: result: $LDD" >&5
16409 echo "${ECHO_T}$LDD" >&6; }
16410 else
16411 { echo "$as_me:$LINENO: result: no" >&5
16412 echo "${ECHO_T}no" >&6; }
16416 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16417 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16418 if test "${ac_cv_lib_soname_X11+set}" = set; then
16419 echo $ECHO_N "(cached) $ECHO_C" >&6
16420 else
16421 ac_get_soname_save_LIBS=$LIBS
16422 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16423 cat >conftest.$ac_ext <<_ACEOF
16424 /* confdefs.h. */
16425 _ACEOF
16426 cat confdefs.h >>conftest.$ac_ext
16427 cat >>conftest.$ac_ext <<_ACEOF
16428 /* end confdefs.h. */
16430 /* Override any GCC internal prototype to avoid an error.
16431 Use char because int might match the return type of a GCC
16432 builtin and then its argument prototype would still apply. */
16433 #ifdef __cplusplus
16434 extern "C"
16435 #endif
16436 char XCreateWindow ();
16438 main ()
16440 return XCreateWindow ();
16442 return 0;
16444 _ACEOF
16445 rm -f conftest.$ac_objext conftest$ac_exeext
16446 if { (ac_try="$ac_link"
16447 case "(($ac_try" in
16448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16449 *) ac_try_echo=$ac_try;;
16450 esac
16451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16452 (eval "$ac_link") 2>conftest.er1
16453 ac_status=$?
16454 grep -v '^ *+' conftest.er1 >conftest.err
16455 rm -f conftest.er1
16456 cat conftest.err >&5
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); } &&
16459 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16460 { (case "(($ac_try" in
16461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16462 *) ac_try_echo=$ac_try;;
16463 esac
16464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16465 (eval "$ac_try") 2>&5
16466 ac_status=$?
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; } &&
16469 { ac_try='test -s conftest$ac_exeext'
16470 { (case "(($ac_try" in
16471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16472 *) ac_try_echo=$ac_try;;
16473 esac
16474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16475 (eval "$ac_try") 2>&5
16476 ac_status=$?
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); }; }; then
16479 case "$LIBEXT" in
16480 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'` ;;
16481 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16482 esac
16483 if test "x$ac_cv_lib_soname_X11" = "x"
16484 then
16485 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16487 else
16488 echo "$as_me: failed program was:" >&5
16489 sed 's/^/| /' conftest.$ac_ext >&5
16491 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16494 rm -f core conftest.err conftest.$ac_objext \
16495 conftest$ac_exeext conftest.$ac_ext
16496 LIBS=$ac_get_soname_save_LIBS
16498 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16499 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16500 if test "${ac_cv_lib_soname_X11+set}" = set; then
16502 cat >>confdefs.h <<_ACEOF
16503 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16504 _ACEOF
16508 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16509 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16510 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16511 echo $ECHO_N "(cached) $ECHO_C" >&6
16512 else
16513 ac_get_soname_save_LIBS=$LIBS
16514 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16515 cat >conftest.$ac_ext <<_ACEOF
16516 /* confdefs.h. */
16517 _ACEOF
16518 cat confdefs.h >>conftest.$ac_ext
16519 cat >>conftest.$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16522 /* Override any GCC internal prototype to avoid an error.
16523 Use char because int might match the return type of a GCC
16524 builtin and then its argument prototype would still apply. */
16525 #ifdef __cplusplus
16526 extern "C"
16527 #endif
16528 char XextCreateExtension ();
16530 main ()
16532 return XextCreateExtension ();
16534 return 0;
16536 _ACEOF
16537 rm -f conftest.$ac_objext conftest$ac_exeext
16538 if { (ac_try="$ac_link"
16539 case "(($ac_try" in
16540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16541 *) ac_try_echo=$ac_try;;
16542 esac
16543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16544 (eval "$ac_link") 2>conftest.er1
16545 ac_status=$?
16546 grep -v '^ *+' conftest.er1 >conftest.err
16547 rm -f conftest.er1
16548 cat conftest.err >&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); } &&
16551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16552 { (case "(($ac_try" in
16553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16554 *) ac_try_echo=$ac_try;;
16555 esac
16556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16557 (eval "$ac_try") 2>&5
16558 ac_status=$?
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; } &&
16561 { ac_try='test -s conftest$ac_exeext'
16562 { (case "(($ac_try" in
16563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16564 *) ac_try_echo=$ac_try;;
16565 esac
16566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16567 (eval "$ac_try") 2>&5
16568 ac_status=$?
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); }; }; then
16571 case "$LIBEXT" in
16572 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'` ;;
16573 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16574 esac
16575 if test "x$ac_cv_lib_soname_Xext" = "x"
16576 then
16577 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16579 else
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.$ac_ext >&5
16583 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16586 rm -f core conftest.err conftest.$ac_objext \
16587 conftest$ac_exeext conftest.$ac_ext
16588 LIBS=$ac_get_soname_save_LIBS
16590 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16591 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16592 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16594 cat >>confdefs.h <<_ACEOF
16595 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16596 _ACEOF
16600 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16601 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16602 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16603 echo $ECHO_N "(cached) $ECHO_C" >&6
16604 else
16605 ac_get_soname_save_LIBS=$LIBS
16606 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16607 cat >conftest.$ac_ext <<_ACEOF
16608 /* confdefs.h. */
16609 _ACEOF
16610 cat confdefs.h >>conftest.$ac_ext
16611 cat >>conftest.$ac_ext <<_ACEOF
16612 /* end confdefs.h. */
16614 /* Override any GCC internal prototype to avoid an error.
16615 Use char because int might match the return type of a GCC
16616 builtin and then its argument prototype would still apply. */
16617 #ifdef __cplusplus
16618 extern "C"
16619 #endif
16620 char XOpenDevice ();
16622 main ()
16624 return XOpenDevice ();
16626 return 0;
16628 _ACEOF
16629 rm -f conftest.$ac_objext conftest$ac_exeext
16630 if { (ac_try="$ac_link"
16631 case "(($ac_try" in
16632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16633 *) ac_try_echo=$ac_try;;
16634 esac
16635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16636 (eval "$ac_link") 2>conftest.er1
16637 ac_status=$?
16638 grep -v '^ *+' conftest.er1 >conftest.err
16639 rm -f conftest.er1
16640 cat conftest.err >&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); } &&
16643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16644 { (case "(($ac_try" in
16645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16646 *) ac_try_echo=$ac_try;;
16647 esac
16648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16649 (eval "$ac_try") 2>&5
16650 ac_status=$?
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); }; } &&
16653 { ac_try='test -s conftest$ac_exeext'
16654 { (case "(($ac_try" in
16655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16656 *) ac_try_echo=$ac_try;;
16657 esac
16658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16659 (eval "$ac_try") 2>&5
16660 ac_status=$?
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }; }; then
16663 case "$LIBEXT" in
16664 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'` ;;
16665 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16666 esac
16667 if test "x$ac_cv_lib_soname_Xi" = "x"
16668 then
16669 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16671 else
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.$ac_ext >&5
16675 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16678 rm -f core conftest.err conftest.$ac_objext \
16679 conftest$ac_exeext conftest.$ac_ext
16680 LIBS=$ac_get_soname_save_LIBS
16682 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16683 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16684 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16686 cat >>confdefs.h <<_ACEOF
16687 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16688 _ACEOF
16692 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16693 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16694 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16695 echo $ECHO_N "(cached) $ECHO_C" >&6
16696 else
16697 ac_get_soname_save_LIBS=$LIBS
16698 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16699 cat >conftest.$ac_ext <<_ACEOF
16700 /* confdefs.h. */
16701 _ACEOF
16702 cat confdefs.h >>conftest.$ac_ext
16703 cat >>conftest.$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16706 /* Override any GCC internal prototype to avoid an error.
16707 Use char because int might match the return type of a GCC
16708 builtin and then its argument prototype would still apply. */
16709 #ifdef __cplusplus
16710 extern "C"
16711 #endif
16712 char XRenderQueryExtension ();
16714 main ()
16716 return XRenderQueryExtension ();
16718 return 0;
16720 _ACEOF
16721 rm -f conftest.$ac_objext conftest$ac_exeext
16722 if { (ac_try="$ac_link"
16723 case "(($ac_try" in
16724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16725 *) ac_try_echo=$ac_try;;
16726 esac
16727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16728 (eval "$ac_link") 2>conftest.er1
16729 ac_status=$?
16730 grep -v '^ *+' conftest.er1 >conftest.err
16731 rm -f conftest.er1
16732 cat conftest.err >&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } &&
16735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16736 { (case "(($ac_try" in
16737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16738 *) ac_try_echo=$ac_try;;
16739 esac
16740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16741 (eval "$ac_try") 2>&5
16742 ac_status=$?
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; } &&
16745 { ac_try='test -s conftest$ac_exeext'
16746 { (case "(($ac_try" in
16747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16748 *) ac_try_echo=$ac_try;;
16749 esac
16750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16751 (eval "$ac_try") 2>&5
16752 ac_status=$?
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; }; then
16755 case "$LIBEXT" in
16756 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'` ;;
16757 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16758 esac
16759 if test "x$ac_cv_lib_soname_Xrender" = "x"
16760 then
16761 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16763 else
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.$ac_ext >&5
16767 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16770 rm -f core conftest.err conftest.$ac_objext \
16771 conftest$ac_exeext conftest.$ac_ext
16772 LIBS=$ac_get_soname_save_LIBS
16774 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16775 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16776 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16778 cat >>confdefs.h <<_ACEOF
16779 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16780 _ACEOF
16784 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16785 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16786 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16787 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 else
16789 ac_get_soname_save_LIBS=$LIBS
16790 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16791 cat >conftest.$ac_ext <<_ACEOF
16792 /* confdefs.h. */
16793 _ACEOF
16794 cat confdefs.h >>conftest.$ac_ext
16795 cat >>conftest.$ac_ext <<_ACEOF
16796 /* end confdefs.h. */
16798 /* Override any GCC internal prototype to avoid an error.
16799 Use char because int might match the return type of a GCC
16800 builtin and then its argument prototype would still apply. */
16801 #ifdef __cplusplus
16802 extern "C"
16803 #endif
16804 char XRRQueryExtension ();
16806 main ()
16808 return XRRQueryExtension ();
16810 return 0;
16812 _ACEOF
16813 rm -f conftest.$ac_objext conftest$ac_exeext
16814 if { (ac_try="$ac_link"
16815 case "(($ac_try" in
16816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16817 *) ac_try_echo=$ac_try;;
16818 esac
16819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16820 (eval "$ac_link") 2>conftest.er1
16821 ac_status=$?
16822 grep -v '^ *+' conftest.er1 >conftest.err
16823 rm -f conftest.er1
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } &&
16827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16828 { (case "(($ac_try" in
16829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16830 *) ac_try_echo=$ac_try;;
16831 esac
16832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16833 (eval "$ac_try") 2>&5
16834 ac_status=$?
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); }; } &&
16837 { ac_try='test -s conftest$ac_exeext'
16838 { (case "(($ac_try" in
16839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16840 *) ac_try_echo=$ac_try;;
16841 esac
16842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16843 (eval "$ac_try") 2>&5
16844 ac_status=$?
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; }; then
16847 case "$LIBEXT" in
16848 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'` ;;
16849 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16850 esac
16851 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16852 then
16853 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16855 else
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.$ac_ext >&5
16859 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16862 rm -f core conftest.err conftest.$ac_objext \
16863 conftest$ac_exeext conftest.$ac_ext
16864 LIBS=$ac_get_soname_save_LIBS
16866 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16867 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16868 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16870 cat >>confdefs.h <<_ACEOF
16871 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16872 _ACEOF
16876 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16877 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16878 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 else
16881 ac_get_soname_save_LIBS=$LIBS
16882 LIBS="-lfreetype $X_LIBS $LIBS"
16883 cat >conftest.$ac_ext <<_ACEOF
16884 /* confdefs.h. */
16885 _ACEOF
16886 cat confdefs.h >>conftest.$ac_ext
16887 cat >>conftest.$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16890 /* Override any GCC internal prototype to avoid an error.
16891 Use char because int might match the return type of a GCC
16892 builtin and then its argument prototype would still apply. */
16893 #ifdef __cplusplus
16894 extern "C"
16895 #endif
16896 char FT_Init_FreeType ();
16898 main ()
16900 return FT_Init_FreeType ();
16902 return 0;
16904 _ACEOF
16905 rm -f conftest.$ac_objext conftest$ac_exeext
16906 if { (ac_try="$ac_link"
16907 case "(($ac_try" in
16908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16909 *) ac_try_echo=$ac_try;;
16910 esac
16911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16912 (eval "$ac_link") 2>conftest.er1
16913 ac_status=$?
16914 grep -v '^ *+' conftest.er1 >conftest.err
16915 rm -f conftest.er1
16916 cat conftest.err >&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); } &&
16919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16920 { (case "(($ac_try" in
16921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16922 *) ac_try_echo=$ac_try;;
16923 esac
16924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16925 (eval "$ac_try") 2>&5
16926 ac_status=$?
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; } &&
16929 { ac_try='test -s conftest$ac_exeext'
16930 { (case "(($ac_try" in
16931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16932 *) ac_try_echo=$ac_try;;
16933 esac
16934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16935 (eval "$ac_try") 2>&5
16936 ac_status=$?
16937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16938 (exit $ac_status); }; }; then
16939 case "$LIBEXT" in
16940 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'` ;;
16941 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16942 esac
16943 if test "x$ac_cv_lib_soname_freetype" = "x"
16944 then
16945 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16947 else
16948 echo "$as_me: failed program was:" >&5
16949 sed 's/^/| /' conftest.$ac_ext >&5
16951 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16954 rm -f core conftest.err conftest.$ac_objext \
16955 conftest$ac_exeext conftest.$ac_ext
16956 LIBS=$ac_get_soname_save_LIBS
16958 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
16959 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
16960 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16962 cat >>confdefs.h <<_ACEOF
16963 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
16964 _ACEOF
16968 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
16969 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
16970 if test "${ac_cv_lib_soname_GL+set}" = set; then
16971 echo $ECHO_N "(cached) $ECHO_C" >&6
16972 else
16973 ac_get_soname_save_LIBS=$LIBS
16974 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
16975 cat >conftest.$ac_ext <<_ACEOF
16976 /* confdefs.h. */
16977 _ACEOF
16978 cat confdefs.h >>conftest.$ac_ext
16979 cat >>conftest.$ac_ext <<_ACEOF
16980 /* end confdefs.h. */
16982 /* Override any GCC internal prototype to avoid an error.
16983 Use char because int might match the return type of a GCC
16984 builtin and then its argument prototype would still apply. */
16985 #ifdef __cplusplus
16986 extern "C"
16987 #endif
16988 char glXQueryExtension ();
16990 main ()
16992 return glXQueryExtension ();
16994 return 0;
16996 _ACEOF
16997 rm -f conftest.$ac_objext conftest$ac_exeext
16998 if { (ac_try="$ac_link"
16999 case "(($ac_try" in
17000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17001 *) ac_try_echo=$ac_try;;
17002 esac
17003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17004 (eval "$ac_link") 2>conftest.er1
17005 ac_status=$?
17006 grep -v '^ *+' conftest.er1 >conftest.err
17007 rm -f conftest.er1
17008 cat conftest.err >&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); } &&
17011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17012 { (case "(($ac_try" in
17013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17014 *) ac_try_echo=$ac_try;;
17015 esac
17016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17017 (eval "$ac_try") 2>&5
17018 ac_status=$?
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); }; } &&
17021 { ac_try='test -s conftest$ac_exeext'
17022 { (case "(($ac_try" in
17023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17024 *) ac_try_echo=$ac_try;;
17025 esac
17026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17027 (eval "$ac_try") 2>&5
17028 ac_status=$?
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; }; then
17031 case "$LIBEXT" in
17032 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'` ;;
17033 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17034 esac
17035 if test "x$ac_cv_lib_soname_GL" = "x"
17036 then
17037 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17039 else
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17043 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17046 rm -f core conftest.err conftest.$ac_objext \
17047 conftest$ac_exeext conftest.$ac_ext
17048 LIBS=$ac_get_soname_save_LIBS
17050 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17051 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17052 if test "${ac_cv_lib_soname_GL+set}" = set; then
17054 cat >>confdefs.h <<_ACEOF
17055 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17056 _ACEOF
17060 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
17061 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
17062 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
17063 echo $ECHO_N "(cached) $ECHO_C" >&6
17064 else
17065 ac_get_soname_save_LIBS=$LIBS
17066 LIBS="-ldbus-1 $LIBS"
17067 cat >conftest.$ac_ext <<_ACEOF
17068 /* confdefs.h. */
17069 _ACEOF
17070 cat confdefs.h >>conftest.$ac_ext
17071 cat >>conftest.$ac_ext <<_ACEOF
17072 /* end confdefs.h. */
17074 /* Override any GCC internal prototype to avoid an error.
17075 Use char because int might match the return type of a GCC
17076 builtin and then its argument prototype would still apply. */
17077 #ifdef __cplusplus
17078 extern "C"
17079 #endif
17080 char dbus_error_init ();
17082 main ()
17084 return dbus_error_init ();
17086 return 0;
17088 _ACEOF
17089 rm -f conftest.$ac_objext conftest$ac_exeext
17090 if { (ac_try="$ac_link"
17091 case "(($ac_try" in
17092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17094 esac
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_link") 2>conftest.er1
17097 ac_status=$?
17098 grep -v '^ *+' conftest.er1 >conftest.err
17099 rm -f conftest.er1
17100 cat conftest.err >&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } &&
17103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17104 { (case "(($ac_try" in
17105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17106 *) ac_try_echo=$ac_try;;
17107 esac
17108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17109 (eval "$ac_try") 2>&5
17110 ac_status=$?
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); }; } &&
17113 { ac_try='test -s conftest$ac_exeext'
17114 { (case "(($ac_try" in
17115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17116 *) ac_try_echo=$ac_try;;
17117 esac
17118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17119 (eval "$ac_try") 2>&5
17120 ac_status=$?
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; }; then
17123 case "$LIBEXT" in
17124 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'` ;;
17125 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'` ;;
17126 esac
17127 if test "x$ac_cv_lib_soname_dbus_1" = "x"
17128 then
17129 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
17131 else
17132 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.$ac_ext >&5
17135 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
17138 rm -f core conftest.err conftest.$ac_objext \
17139 conftest$ac_exeext conftest.$ac_ext
17140 LIBS=$ac_get_soname_save_LIBS
17142 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
17143 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
17144 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
17146 cat >>confdefs.h <<_ACEOF
17147 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
17148 _ACEOF
17152 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17153 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17154 if test "${ac_cv_lib_soname_hal+set}" = set; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 else
17157 ac_get_soname_save_LIBS=$LIBS
17158 LIBS="-lhal $LIBS"
17159 cat >conftest.$ac_ext <<_ACEOF
17160 /* confdefs.h. */
17161 _ACEOF
17162 cat confdefs.h >>conftest.$ac_ext
17163 cat >>conftest.$ac_ext <<_ACEOF
17164 /* end confdefs.h. */
17166 /* Override any GCC internal prototype to avoid an error.
17167 Use char because int might match the return type of a GCC
17168 builtin and then its argument prototype would still apply. */
17169 #ifdef __cplusplus
17170 extern "C"
17171 #endif
17172 char libhal_ctx_new ();
17174 main ()
17176 return libhal_ctx_new ();
17178 return 0;
17180 _ACEOF
17181 rm -f conftest.$ac_objext conftest$ac_exeext
17182 if { (ac_try="$ac_link"
17183 case "(($ac_try" in
17184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17185 *) ac_try_echo=$ac_try;;
17186 esac
17187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17188 (eval "$ac_link") 2>conftest.er1
17189 ac_status=$?
17190 grep -v '^ *+' conftest.er1 >conftest.err
17191 rm -f conftest.er1
17192 cat conftest.err >&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } &&
17195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17196 { (case "(($ac_try" in
17197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17198 *) ac_try_echo=$ac_try;;
17199 esac
17200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17201 (eval "$ac_try") 2>&5
17202 ac_status=$?
17203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204 (exit $ac_status); }; } &&
17205 { ac_try='test -s conftest$ac_exeext'
17206 { (case "(($ac_try" in
17207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17208 *) ac_try_echo=$ac_try;;
17209 esac
17210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17211 (eval "$ac_try") 2>&5
17212 ac_status=$?
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); }; }; then
17215 case "$LIBEXT" in
17216 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'` ;;
17217 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17218 esac
17219 if test "x$ac_cv_lib_soname_hal" = "x"
17220 then
17221 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17223 else
17224 echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.$ac_ext >&5
17227 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17230 rm -f core conftest.err conftest.$ac_objext \
17231 conftest$ac_exeext conftest.$ac_ext
17232 LIBS=$ac_get_soname_save_LIBS
17234 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17235 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17236 if test "${ac_cv_lib_soname_hal+set}" = set; then
17238 cat >>confdefs.h <<_ACEOF
17239 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17240 _ACEOF
17244 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17245 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17246 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17247 echo $ECHO_N "(cached) $ECHO_C" >&6
17248 else
17249 ac_get_soname_save_LIBS=$LIBS
17250 LIBS="-ltxc_dxtn $LIBS"
17251 cat >conftest.$ac_ext <<_ACEOF
17252 /* confdefs.h. */
17253 _ACEOF
17254 cat confdefs.h >>conftest.$ac_ext
17255 cat >>conftest.$ac_ext <<_ACEOF
17256 /* end confdefs.h. */
17258 /* Override any GCC internal prototype to avoid an error.
17259 Use char because int might match the return type of a GCC
17260 builtin and then its argument prototype would still apply. */
17261 #ifdef __cplusplus
17262 extern "C"
17263 #endif
17264 char fetch_2d_texel_rgba_dxt1 ();
17266 main ()
17268 return fetch_2d_texel_rgba_dxt1 ();
17270 return 0;
17272 _ACEOF
17273 rm -f conftest.$ac_objext conftest$ac_exeext
17274 if { (ac_try="$ac_link"
17275 case "(($ac_try" in
17276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17277 *) ac_try_echo=$ac_try;;
17278 esac
17279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17280 (eval "$ac_link") 2>conftest.er1
17281 ac_status=$?
17282 grep -v '^ *+' conftest.er1 >conftest.err
17283 rm -f conftest.er1
17284 cat conftest.err >&5
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); } &&
17287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17288 { (case "(($ac_try" in
17289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17290 *) ac_try_echo=$ac_try;;
17291 esac
17292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17293 (eval "$ac_try") 2>&5
17294 ac_status=$?
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; } &&
17297 { ac_try='test -s conftest$ac_exeext'
17298 { (case "(($ac_try" in
17299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17300 *) ac_try_echo=$ac_try;;
17301 esac
17302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17303 (eval "$ac_try") 2>&5
17304 ac_status=$?
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); }; }; then
17307 case "$LIBEXT" in
17308 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'` ;;
17309 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'` ;;
17310 esac
17311 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17312 then
17313 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17315 else
17316 echo "$as_me: failed program was:" >&5
17317 sed 's/^/| /' conftest.$ac_ext >&5
17319 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17322 rm -f core conftest.err conftest.$ac_objext \
17323 conftest$ac_exeext conftest.$ac_ext
17324 LIBS=$ac_get_soname_save_LIBS
17326 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17327 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17328 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17330 cat >>confdefs.h <<_ACEOF
17331 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17332 _ACEOF
17336 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17337 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17338 if test "${ac_cv_lib_soname_cups+set}" = set; then
17339 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 else
17341 ac_get_soname_save_LIBS=$LIBS
17342 LIBS="-lcups $LIBS"
17343 cat >conftest.$ac_ext <<_ACEOF
17344 /* confdefs.h. */
17345 _ACEOF
17346 cat confdefs.h >>conftest.$ac_ext
17347 cat >>conftest.$ac_ext <<_ACEOF
17348 /* end confdefs.h. */
17350 /* Override any GCC internal prototype to avoid an error.
17351 Use char because int might match the return type of a GCC
17352 builtin and then its argument prototype would still apply. */
17353 #ifdef __cplusplus
17354 extern "C"
17355 #endif
17356 char cupsGetDefault ();
17358 main ()
17360 return cupsGetDefault ();
17362 return 0;
17364 _ACEOF
17365 rm -f conftest.$ac_objext conftest$ac_exeext
17366 if { (ac_try="$ac_link"
17367 case "(($ac_try" in
17368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17369 *) ac_try_echo=$ac_try;;
17370 esac
17371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17372 (eval "$ac_link") 2>conftest.er1
17373 ac_status=$?
17374 grep -v '^ *+' conftest.er1 >conftest.err
17375 rm -f conftest.er1
17376 cat conftest.err >&5
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); } &&
17379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17380 { (case "(($ac_try" in
17381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17382 *) ac_try_echo=$ac_try;;
17383 esac
17384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17385 (eval "$ac_try") 2>&5
17386 ac_status=$?
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try='test -s conftest$ac_exeext'
17390 { (case "(($ac_try" in
17391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17392 *) ac_try_echo=$ac_try;;
17393 esac
17394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17395 (eval "$ac_try") 2>&5
17396 ac_status=$?
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; }; then
17399 case "$LIBEXT" in
17400 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'` ;;
17401 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17402 esac
17403 if test "x$ac_cv_lib_soname_cups" = "x"
17404 then
17405 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17407 else
17408 echo "$as_me: failed program was:" >&5
17409 sed 's/^/| /' conftest.$ac_ext >&5
17411 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17414 rm -f core conftest.err conftest.$ac_objext \
17415 conftest$ac_exeext conftest.$ac_ext
17416 LIBS=$ac_get_soname_save_LIBS
17418 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17419 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17420 if test "${ac_cv_lib_soname_cups+set}" = set; then
17422 cat >>confdefs.h <<_ACEOF
17423 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17424 _ACEOF
17428 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17429 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17430 if test "${ac_cv_lib_soname_jack+set}" = set; then
17431 echo $ECHO_N "(cached) $ECHO_C" >&6
17432 else
17433 ac_get_soname_save_LIBS=$LIBS
17434 LIBS="-ljack $LIBS"
17435 cat >conftest.$ac_ext <<_ACEOF
17436 /* confdefs.h. */
17437 _ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17442 /* Override any GCC internal prototype to avoid an error.
17443 Use char because int might match the return type of a GCC
17444 builtin and then its argument prototype would still apply. */
17445 #ifdef __cplusplus
17446 extern "C"
17447 #endif
17448 char jack_client_new ();
17450 main ()
17452 return jack_client_new ();
17454 return 0;
17456 _ACEOF
17457 rm -f conftest.$ac_objext conftest$ac_exeext
17458 if { (ac_try="$ac_link"
17459 case "(($ac_try" in
17460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17461 *) ac_try_echo=$ac_try;;
17462 esac
17463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17464 (eval "$ac_link") 2>conftest.er1
17465 ac_status=$?
17466 grep -v '^ *+' conftest.er1 >conftest.err
17467 rm -f conftest.er1
17468 cat conftest.err >&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } &&
17471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17472 { (case "(($ac_try" in
17473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17474 *) ac_try_echo=$ac_try;;
17475 esac
17476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17477 (eval "$ac_try") 2>&5
17478 ac_status=$?
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); }; } &&
17481 { ac_try='test -s conftest$ac_exeext'
17482 { (case "(($ac_try" in
17483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17484 *) ac_try_echo=$ac_try;;
17485 esac
17486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17487 (eval "$ac_try") 2>&5
17488 ac_status=$?
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); }; }; then
17491 case "$LIBEXT" in
17492 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'` ;;
17493 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17494 esac
17495 if test "x$ac_cv_lib_soname_jack" = "x"
17496 then
17497 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17499 else
17500 echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.$ac_ext >&5
17503 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17506 rm -f core conftest.err conftest.$ac_objext \
17507 conftest$ac_exeext conftest.$ac_ext
17508 LIBS=$ac_get_soname_save_LIBS
17510 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17511 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17512 if test "${ac_cv_lib_soname_jack+set}" = set; then
17514 cat >>confdefs.h <<_ACEOF
17515 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17516 _ACEOF
17520 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17521 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17522 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17523 echo $ECHO_N "(cached) $ECHO_C" >&6
17524 else
17525 ac_get_soname_save_LIBS=$LIBS
17526 LIBS="-lfontconfig $LIBS"
17527 cat >conftest.$ac_ext <<_ACEOF
17528 /* confdefs.h. */
17529 _ACEOF
17530 cat confdefs.h >>conftest.$ac_ext
17531 cat >>conftest.$ac_ext <<_ACEOF
17532 /* end confdefs.h. */
17534 /* Override any GCC internal prototype to avoid an error.
17535 Use char because int might match the return type of a GCC
17536 builtin and then its argument prototype would still apply. */
17537 #ifdef __cplusplus
17538 extern "C"
17539 #endif
17540 char FcInit ();
17542 main ()
17544 return FcInit ();
17546 return 0;
17548 _ACEOF
17549 rm -f conftest.$ac_objext conftest$ac_exeext
17550 if { (ac_try="$ac_link"
17551 case "(($ac_try" in
17552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17553 *) ac_try_echo=$ac_try;;
17554 esac
17555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17556 (eval "$ac_link") 2>conftest.er1
17557 ac_status=$?
17558 grep -v '^ *+' conftest.er1 >conftest.err
17559 rm -f conftest.er1
17560 cat conftest.err >&5
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); } &&
17563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17564 { (case "(($ac_try" in
17565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17566 *) ac_try_echo=$ac_try;;
17567 esac
17568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17569 (eval "$ac_try") 2>&5
17570 ac_status=$?
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; } &&
17573 { ac_try='test -s conftest$ac_exeext'
17574 { (case "(($ac_try" in
17575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17576 *) ac_try_echo=$ac_try;;
17577 esac
17578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17579 (eval "$ac_try") 2>&5
17580 ac_status=$?
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); }; }; then
17583 case "$LIBEXT" in
17584 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'` ;;
17585 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17586 esac
17587 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17588 then
17589 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17591 else
17592 echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.$ac_ext >&5
17595 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17598 rm -f core conftest.err conftest.$ac_objext \
17599 conftest$ac_exeext conftest.$ac_ext
17600 LIBS=$ac_get_soname_save_LIBS
17602 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17603 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17604 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17606 cat >>confdefs.h <<_ACEOF
17607 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17608 _ACEOF
17612 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17613 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17614 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17615 echo $ECHO_N "(cached) $ECHO_C" >&6
17616 else
17617 ac_get_soname_save_LIBS=$LIBS
17618 LIBS="-lssl $LIBS"
17619 cat >conftest.$ac_ext <<_ACEOF
17620 /* confdefs.h. */
17621 _ACEOF
17622 cat confdefs.h >>conftest.$ac_ext
17623 cat >>conftest.$ac_ext <<_ACEOF
17624 /* end confdefs.h. */
17626 /* Override any GCC internal prototype to avoid an error.
17627 Use char because int might match the return type of a GCC
17628 builtin and then its argument prototype would still apply. */
17629 #ifdef __cplusplus
17630 extern "C"
17631 #endif
17632 char SSL_library_init ();
17634 main ()
17636 return SSL_library_init ();
17638 return 0;
17640 _ACEOF
17641 rm -f conftest.$ac_objext conftest$ac_exeext
17642 if { (ac_try="$ac_link"
17643 case "(($ac_try" in
17644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17645 *) ac_try_echo=$ac_try;;
17646 esac
17647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17648 (eval "$ac_link") 2>conftest.er1
17649 ac_status=$?
17650 grep -v '^ *+' conftest.er1 >conftest.err
17651 rm -f conftest.er1
17652 cat conftest.err >&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); } &&
17655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17656 { (case "(($ac_try" in
17657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17658 *) ac_try_echo=$ac_try;;
17659 esac
17660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17661 (eval "$ac_try") 2>&5
17662 ac_status=$?
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; } &&
17665 { ac_try='test -s conftest$ac_exeext'
17666 { (case "(($ac_try" in
17667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17668 *) ac_try_echo=$ac_try;;
17669 esac
17670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17671 (eval "$ac_try") 2>&5
17672 ac_status=$?
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17675 case "$LIBEXT" in
17676 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'` ;;
17677 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17678 esac
17679 if test "x$ac_cv_lib_soname_ssl" = "x"
17680 then
17681 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17683 else
17684 echo "$as_me: failed program was:" >&5
17685 sed 's/^/| /' conftest.$ac_ext >&5
17687 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17690 rm -f core conftest.err conftest.$ac_objext \
17691 conftest$ac_exeext conftest.$ac_ext
17692 LIBS=$ac_get_soname_save_LIBS
17694 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17695 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17696 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17698 cat >>confdefs.h <<_ACEOF
17699 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17700 _ACEOF
17704 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17705 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17706 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17707 echo $ECHO_N "(cached) $ECHO_C" >&6
17708 else
17709 ac_get_soname_save_LIBS=$LIBS
17710 LIBS="-lcrypto $LIBS"
17711 cat >conftest.$ac_ext <<_ACEOF
17712 /* confdefs.h. */
17713 _ACEOF
17714 cat confdefs.h >>conftest.$ac_ext
17715 cat >>conftest.$ac_ext <<_ACEOF
17716 /* end confdefs.h. */
17718 /* Override any GCC internal prototype to avoid an error.
17719 Use char because int might match the return type of a GCC
17720 builtin and then its argument prototype would still apply. */
17721 #ifdef __cplusplus
17722 extern "C"
17723 #endif
17724 char BIO_new_socket ();
17726 main ()
17728 return BIO_new_socket ();
17730 return 0;
17732 _ACEOF
17733 rm -f conftest.$ac_objext conftest$ac_exeext
17734 if { (ac_try="$ac_link"
17735 case "(($ac_try" in
17736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17737 *) ac_try_echo=$ac_try;;
17738 esac
17739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17740 (eval "$ac_link") 2>conftest.er1
17741 ac_status=$?
17742 grep -v '^ *+' conftest.er1 >conftest.err
17743 rm -f conftest.er1
17744 cat conftest.err >&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } &&
17747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17748 { (case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17751 esac
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_try") 2>&5
17754 ac_status=$?
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; } &&
17757 { ac_try='test -s conftest$ac_exeext'
17758 { (case "(($ac_try" in
17759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17760 *) ac_try_echo=$ac_try;;
17761 esac
17762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17763 (eval "$ac_try") 2>&5
17764 ac_status=$?
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; }; then
17767 case "$LIBEXT" in
17768 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'` ;;
17769 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17770 esac
17771 if test "x$ac_cv_lib_soname_crypto" = "x"
17772 then
17773 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17775 else
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.$ac_ext >&5
17779 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17782 rm -f core conftest.err conftest.$ac_objext \
17783 conftest$ac_exeext conftest.$ac_ext
17784 LIBS=$ac_get_soname_save_LIBS
17786 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17787 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17788 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17790 cat >>confdefs.h <<_ACEOF
17791 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17792 _ACEOF
17796 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17797 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17798 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17799 echo $ECHO_N "(cached) $ECHO_C" >&6
17800 else
17801 ac_get_soname_save_LIBS=$LIBS
17802 LIBS="-lncurses $LIBS"
17803 cat >conftest.$ac_ext <<_ACEOF
17804 /* confdefs.h. */
17805 _ACEOF
17806 cat confdefs.h >>conftest.$ac_ext
17807 cat >>conftest.$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17810 /* Override any GCC internal prototype to avoid an error.
17811 Use char because int might match the return type of a GCC
17812 builtin and then its argument prototype would still apply. */
17813 #ifdef __cplusplus
17814 extern "C"
17815 #endif
17816 char waddch ();
17818 main ()
17820 return waddch ();
17822 return 0;
17824 _ACEOF
17825 rm -f conftest.$ac_objext conftest$ac_exeext
17826 if { (ac_try="$ac_link"
17827 case "(($ac_try" in
17828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17829 *) ac_try_echo=$ac_try;;
17830 esac
17831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832 (eval "$ac_link") 2>conftest.er1
17833 ac_status=$?
17834 grep -v '^ *+' conftest.er1 >conftest.err
17835 rm -f conftest.er1
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } &&
17839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17840 { (case "(($ac_try" in
17841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17842 *) ac_try_echo=$ac_try;;
17843 esac
17844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17845 (eval "$ac_try") 2>&5
17846 ac_status=$?
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); }; } &&
17849 { ac_try='test -s conftest$ac_exeext'
17850 { (case "(($ac_try" in
17851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17852 *) ac_try_echo=$ac_try;;
17853 esac
17854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17855 (eval "$ac_try") 2>&5
17856 ac_status=$?
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); }; }; then
17859 case "$LIBEXT" in
17860 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'` ;;
17861 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17862 esac
17863 if test "x$ac_cv_lib_soname_ncurses" = "x"
17864 then
17865 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17867 else
17868 echo "$as_me: failed program was:" >&5
17869 sed 's/^/| /' conftest.$ac_ext >&5
17871 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17874 rm -f core conftest.err conftest.$ac_objext \
17875 conftest$ac_exeext conftest.$ac_ext
17876 LIBS=$ac_get_soname_save_LIBS
17878 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17879 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17880 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17882 cat >>confdefs.h <<_ACEOF
17883 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17884 _ACEOF
17888 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17889 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17890 if test "${ac_cv_lib_soname_curses+set}" = set; then
17891 echo $ECHO_N "(cached) $ECHO_C" >&6
17892 else
17893 ac_get_soname_save_LIBS=$LIBS
17894 LIBS="-lcurses $LIBS"
17895 cat >conftest.$ac_ext <<_ACEOF
17896 /* confdefs.h. */
17897 _ACEOF
17898 cat confdefs.h >>conftest.$ac_ext
17899 cat >>conftest.$ac_ext <<_ACEOF
17900 /* end confdefs.h. */
17902 /* Override any GCC internal prototype to avoid an error.
17903 Use char because int might match the return type of a GCC
17904 builtin and then its argument prototype would still apply. */
17905 #ifdef __cplusplus
17906 extern "C"
17907 #endif
17908 char waddch ();
17910 main ()
17912 return waddch ();
17914 return 0;
17916 _ACEOF
17917 rm -f conftest.$ac_objext conftest$ac_exeext
17918 if { (ac_try="$ac_link"
17919 case "(($ac_try" in
17920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17921 *) ac_try_echo=$ac_try;;
17922 esac
17923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17924 (eval "$ac_link") 2>conftest.er1
17925 ac_status=$?
17926 grep -v '^ *+' conftest.er1 >conftest.err
17927 rm -f conftest.er1
17928 cat conftest.err >&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); } &&
17931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17932 { (case "(($ac_try" in
17933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17934 *) ac_try_echo=$ac_try;;
17935 esac
17936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17937 (eval "$ac_try") 2>&5
17938 ac_status=$?
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); }; } &&
17941 { ac_try='test -s conftest$ac_exeext'
17942 { (case "(($ac_try" in
17943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17944 *) ac_try_echo=$ac_try;;
17945 esac
17946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17947 (eval "$ac_try") 2>&5
17948 ac_status=$?
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; }; then
17951 case "$LIBEXT" in
17952 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'` ;;
17953 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17954 esac
17955 if test "x$ac_cv_lib_soname_curses" = "x"
17956 then
17957 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17959 else
17960 echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.$ac_ext >&5
17963 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17966 rm -f core conftest.err conftest.$ac_objext \
17967 conftest$ac_exeext conftest.$ac_ext
17968 LIBS=$ac_get_soname_save_LIBS
17970 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17971 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17972 if test "${ac_cv_lib_soname_curses+set}" = set; then
17974 cat >>confdefs.h <<_ACEOF
17975 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17976 _ACEOF
17980 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17981 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17982 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17983 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 else
17985 ac_get_soname_save_LIBS=$LIBS
17986 LIBS="-ljpeg $LIBS"
17987 cat >conftest.$ac_ext <<_ACEOF
17988 /* confdefs.h. */
17989 _ACEOF
17990 cat confdefs.h >>conftest.$ac_ext
17991 cat >>conftest.$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17994 /* Override any GCC internal prototype to avoid an error.
17995 Use char because int might match the return type of a GCC
17996 builtin and then its argument prototype would still apply. */
17997 #ifdef __cplusplus
17998 extern "C"
17999 #endif
18000 char jpeg_start_decompress ();
18002 main ()
18004 return jpeg_start_decompress ();
18006 return 0;
18008 _ACEOF
18009 rm -f conftest.$ac_objext conftest$ac_exeext
18010 if { (ac_try="$ac_link"
18011 case "(($ac_try" in
18012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18013 *) ac_try_echo=$ac_try;;
18014 esac
18015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18016 (eval "$ac_link") 2>conftest.er1
18017 ac_status=$?
18018 grep -v '^ *+' conftest.er1 >conftest.err
18019 rm -f conftest.er1
18020 cat conftest.err >&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } &&
18023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18024 { (case "(($ac_try" in
18025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18026 *) ac_try_echo=$ac_try;;
18027 esac
18028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18029 (eval "$ac_try") 2>&5
18030 ac_status=$?
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try='test -s conftest$ac_exeext'
18034 { (case "(($ac_try" in
18035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18036 *) ac_try_echo=$ac_try;;
18037 esac
18038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18039 (eval "$ac_try") 2>&5
18040 ac_status=$?
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); }; }; then
18043 case "$LIBEXT" in
18044 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'` ;;
18045 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18046 esac
18047 if test "x$ac_cv_lib_soname_jpeg" = "x"
18048 then
18049 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18051 else
18052 echo "$as_me: failed program was:" >&5
18053 sed 's/^/| /' conftest.$ac_ext >&5
18055 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18058 rm -f core conftest.err conftest.$ac_objext \
18059 conftest$ac_exeext conftest.$ac_ext
18060 LIBS=$ac_get_soname_save_LIBS
18062 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18063 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18064 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18066 cat >>confdefs.h <<_ACEOF
18067 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18068 _ACEOF
18072 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
18073 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
18074 if test "${ac_cv_lib_soname_ungif+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6
18076 else
18077 ac_get_soname_save_LIBS=$LIBS
18078 LIBS="-lungif $LIBS"
18079 cat >conftest.$ac_ext <<_ACEOF
18080 /* confdefs.h. */
18081 _ACEOF
18082 cat confdefs.h >>conftest.$ac_ext
18083 cat >>conftest.$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18086 /* Override any GCC internal prototype to avoid an error.
18087 Use char because int might match the return type of a GCC
18088 builtin and then its argument prototype would still apply. */
18089 #ifdef __cplusplus
18090 extern "C"
18091 #endif
18092 char DGifOpen ();
18094 main ()
18096 return DGifOpen ();
18098 return 0;
18100 _ACEOF
18101 rm -f conftest.$ac_objext conftest$ac_exeext
18102 if { (ac_try="$ac_link"
18103 case "(($ac_try" in
18104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18105 *) ac_try_echo=$ac_try;;
18106 esac
18107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18108 (eval "$ac_link") 2>conftest.er1
18109 ac_status=$?
18110 grep -v '^ *+' conftest.er1 >conftest.err
18111 rm -f conftest.er1
18112 cat conftest.err >&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } &&
18115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18116 { (case "(($ac_try" in
18117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18118 *) ac_try_echo=$ac_try;;
18119 esac
18120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18121 (eval "$ac_try") 2>&5
18122 ac_status=$?
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; } &&
18125 { ac_try='test -s conftest$ac_exeext'
18126 { (case "(($ac_try" in
18127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18128 *) ac_try_echo=$ac_try;;
18129 esac
18130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18131 (eval "$ac_try") 2>&5
18132 ac_status=$?
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); }; }; then
18135 case "$LIBEXT" in
18136 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'` ;;
18137 so) ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.so | sed -e "s/^.*\(libungif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18138 esac
18139 if test "x$ac_cv_lib_soname_ungif" = "x"
18140 then
18141 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
18143 else
18144 echo "$as_me: failed program was:" >&5
18145 sed 's/^/| /' conftest.$ac_ext >&5
18147 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
18150 rm -f core conftest.err conftest.$ac_objext \
18151 conftest$ac_exeext conftest.$ac_ext
18152 LIBS=$ac_get_soname_save_LIBS
18154 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
18155 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
18156 if test "${ac_cv_lib_soname_ungif+set}" = set; then
18158 cat >>confdefs.h <<_ACEOF
18159 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
18160 _ACEOF
18164 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
18165 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
18166 if test "${ac_cv_lib_soname_gif+set}" = set; then
18167 echo $ECHO_N "(cached) $ECHO_C" >&6
18168 else
18169 ac_get_soname_save_LIBS=$LIBS
18170 LIBS="-lgif $LIBS"
18171 cat >conftest.$ac_ext <<_ACEOF
18172 /* confdefs.h. */
18173 _ACEOF
18174 cat confdefs.h >>conftest.$ac_ext
18175 cat >>conftest.$ac_ext <<_ACEOF
18176 /* end confdefs.h. */
18178 /* Override any GCC internal prototype to avoid an error.
18179 Use char because int might match the return type of a GCC
18180 builtin and then its argument prototype would still apply. */
18181 #ifdef __cplusplus
18182 extern "C"
18183 #endif
18184 char DGifOpen ();
18186 main ()
18188 return DGifOpen ();
18190 return 0;
18192 _ACEOF
18193 rm -f conftest.$ac_objext conftest$ac_exeext
18194 if { (ac_try="$ac_link"
18195 case "(($ac_try" in
18196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18197 *) ac_try_echo=$ac_try;;
18198 esac
18199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18200 (eval "$ac_link") 2>conftest.er1
18201 ac_status=$?
18202 grep -v '^ *+' conftest.er1 >conftest.err
18203 rm -f conftest.er1
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } &&
18207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18208 { (case "(($ac_try" in
18209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18210 *) ac_try_echo=$ac_try;;
18211 esac
18212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18213 (eval "$ac_try") 2>&5
18214 ac_status=$?
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; } &&
18217 { ac_try='test -s conftest$ac_exeext'
18218 { (case "(($ac_try" in
18219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18220 *) ac_try_echo=$ac_try;;
18221 esac
18222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18223 (eval "$ac_try") 2>&5
18224 ac_status=$?
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; }; then
18227 case "$LIBEXT" in
18228 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'` ;;
18229 so) ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.so | sed -e "s/^.*\(libgif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18230 esac
18231 if test "x$ac_cv_lib_soname_gif" = "x"
18232 then
18233 ac_cv_lib_soname_gif="libgif.$LIBEXT"
18235 else
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.$ac_ext >&5
18239 ac_cv_lib_soname_gif="libgif.$LIBEXT"
18242 rm -f core conftest.err conftest.$ac_objext \
18243 conftest$ac_exeext conftest.$ac_ext
18244 LIBS=$ac_get_soname_save_LIBS
18246 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
18247 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
18248 if test "${ac_cv_lib_soname_gif+set}" = set; then
18250 cat >>confdefs.h <<_ACEOF
18251 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
18252 _ACEOF
18256 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
18257 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
18258 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18259 echo $ECHO_N "(cached) $ECHO_C" >&6
18260 else
18261 ac_get_soname_save_LIBS=$LIBS
18262 LIBS="-lcapi20 $LIBS"
18263 cat >conftest.$ac_ext <<_ACEOF
18264 /* confdefs.h. */
18265 _ACEOF
18266 cat confdefs.h >>conftest.$ac_ext
18267 cat >>conftest.$ac_ext <<_ACEOF
18268 /* end confdefs.h. */
18270 /* Override any GCC internal prototype to avoid an error.
18271 Use char because int might match the return type of a GCC
18272 builtin and then its argument prototype would still apply. */
18273 #ifdef __cplusplus
18274 extern "C"
18275 #endif
18276 char capi20_isinstalled ();
18278 main ()
18280 return capi20_isinstalled ();
18282 return 0;
18284 _ACEOF
18285 rm -f conftest.$ac_objext conftest$ac_exeext
18286 if { (ac_try="$ac_link"
18287 case "(($ac_try" in
18288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18289 *) ac_try_echo=$ac_try;;
18290 esac
18291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18292 (eval "$ac_link") 2>conftest.er1
18293 ac_status=$?
18294 grep -v '^ *+' conftest.er1 >conftest.err
18295 rm -f conftest.er1
18296 cat conftest.err >&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); } &&
18299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18300 { (case "(($ac_try" in
18301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18302 *) ac_try_echo=$ac_try;;
18303 esac
18304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18305 (eval "$ac_try") 2>&5
18306 ac_status=$?
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); }; } &&
18309 { ac_try='test -s conftest$ac_exeext'
18310 { (case "(($ac_try" in
18311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18312 *) ac_try_echo=$ac_try;;
18313 esac
18314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18315 (eval "$ac_try") 2>&5
18316 ac_status=$?
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; }; then
18319 case "$LIBEXT" in
18320 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'` ;;
18321 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18322 esac
18323 if test "x$ac_cv_lib_soname_capi20" = "x"
18324 then
18325 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18327 else
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.$ac_ext >&5
18331 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18334 rm -f core conftest.err conftest.$ac_objext \
18335 conftest$ac_exeext conftest.$ac_ext
18336 LIBS=$ac_get_soname_save_LIBS
18338 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18339 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18340 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18342 cat >>confdefs.h <<_ACEOF
18343 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18344 _ACEOF
18421 for ac_func in \
18422 _pclose \
18423 _popen \
18424 _snprintf \
18425 _spawnvp \
18426 _stricmp \
18427 _strnicmp \
18428 _vsnprintf \
18429 asctime_r \
18430 chsize \
18431 clone \
18432 connect \
18433 dlopen \
18434 epoll_create \
18435 ffs \
18436 finite \
18437 fork \
18438 fpclass \
18439 fstatfs \
18440 fstatvfs \
18441 ftruncate \
18442 futimes \
18443 futimesat \
18444 getaddrinfo \
18445 gethostbyname \
18446 getnameinfo \
18447 getnetbyname \
18448 getopt_long \
18449 getpagesize \
18450 getprotobyname \
18451 getprotobynumber \
18452 getpwuid \
18453 getservbyport \
18454 gettid \
18455 gettimeofday \
18456 getuid \
18457 inet_aton \
18458 inet_network \
18459 kqueue \
18460 lstat \
18461 memmove \
18462 mmap \
18463 pclose \
18464 poll \
18465 popen \
18466 prctl \
18467 pread \
18468 pwrite \
18469 readlink \
18470 rfork \
18471 sched_yield \
18472 select \
18473 sendmsg \
18474 setrlimit \
18475 settimeofday \
18476 sigaltstack \
18477 sigprocmask \
18478 snprintf \
18479 spawnvp \
18480 statfs \
18481 statvfs \
18482 strcasecmp \
18483 strerror \
18484 strncasecmp \
18485 tcgetattr \
18486 timegm \
18487 usleep \
18488 vsnprintf \
18489 wait4 \
18490 waitpid \
18493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18494 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18496 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 else
18499 cat >conftest.$ac_ext <<_ACEOF
18500 /* confdefs.h. */
18501 _ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18507 #define $ac_func innocuous_$ac_func
18509 /* System header to define __stub macros and hopefully few prototypes,
18510 which can conflict with char $ac_func (); below.
18511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18512 <limits.h> exists even on freestanding compilers. */
18514 #ifdef __STDC__
18515 # include <limits.h>
18516 #else
18517 # include <assert.h>
18518 #endif
18520 #undef $ac_func
18522 /* Override any GCC internal prototype to avoid an error.
18523 Use char because int might match the return type of a GCC
18524 builtin and then its argument prototype would still apply. */
18525 #ifdef __cplusplus
18526 extern "C"
18527 #endif
18528 char $ac_func ();
18529 /* The GNU C library defines this for functions which it implements
18530 to always fail with ENOSYS. Some functions are actually named
18531 something starting with __ and the normal name is an alias. */
18532 #if defined __stub_$ac_func || defined __stub___$ac_func
18533 choke me
18534 #endif
18537 main ()
18539 return $ac_func ();
18541 return 0;
18543 _ACEOF
18544 rm -f conftest.$ac_objext conftest$ac_exeext
18545 if { (ac_try="$ac_link"
18546 case "(($ac_try" in
18547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18548 *) ac_try_echo=$ac_try;;
18549 esac
18550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18551 (eval "$ac_link") 2>conftest.er1
18552 ac_status=$?
18553 grep -v '^ *+' conftest.er1 >conftest.err
18554 rm -f conftest.er1
18555 cat conftest.err >&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } &&
18558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
18565 ac_status=$?
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); }; } &&
18568 { ac_try='test -s conftest$ac_exeext'
18569 { (case "(($ac_try" in
18570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18571 *) ac_try_echo=$ac_try;;
18572 esac
18573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18574 (eval "$ac_try") 2>&5
18575 ac_status=$?
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; }; then
18578 eval "$as_ac_var=yes"
18579 else
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18583 eval "$as_ac_var=no"
18586 rm -f core conftest.err conftest.$ac_objext \
18587 conftest$ac_exeext conftest.$ac_ext
18589 ac_res=`eval echo '${'$as_ac_var'}'`
18590 { echo "$as_me:$LINENO: result: $ac_res" >&5
18591 echo "${ECHO_T}$ac_res" >&6; }
18592 if test `eval echo '${'$as_ac_var'}'` = yes; then
18593 cat >>confdefs.h <<_ACEOF
18594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18595 _ACEOF
18598 done
18601 if test "$ac_cv_func_dlopen" = no
18602 then
18603 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18604 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18605 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18606 echo $ECHO_N "(cached) $ECHO_C" >&6
18607 else
18608 ac_check_lib_save_LIBS=$LIBS
18609 LIBS="-ldl $LIBS"
18610 cat >conftest.$ac_ext <<_ACEOF
18611 /* confdefs.h. */
18612 _ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18617 /* Override any GCC internal prototype to avoid an error.
18618 Use char because int might match the return type of a GCC
18619 builtin and then its argument prototype would still apply. */
18620 #ifdef __cplusplus
18621 extern "C"
18622 #endif
18623 char dlopen ();
18625 main ()
18627 return dlopen ();
18629 return 0;
18631 _ACEOF
18632 rm -f conftest.$ac_objext conftest$ac_exeext
18633 if { (ac_try="$ac_link"
18634 case "(($ac_try" in
18635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18636 *) ac_try_echo=$ac_try;;
18637 esac
18638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18639 (eval "$ac_link") 2>conftest.er1
18640 ac_status=$?
18641 grep -v '^ *+' conftest.er1 >conftest.err
18642 rm -f conftest.er1
18643 cat conftest.err >&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); } &&
18646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18647 { (case "(($ac_try" in
18648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18649 *) ac_try_echo=$ac_try;;
18650 esac
18651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18652 (eval "$ac_try") 2>&5
18653 ac_status=$?
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); }; } &&
18656 { ac_try='test -s conftest$ac_exeext'
18657 { (case "(($ac_try" in
18658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18659 *) ac_try_echo=$ac_try;;
18660 esac
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_try") 2>&5
18663 ac_status=$?
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); }; }; then
18666 ac_cv_lib_dl_dlopen=yes
18667 else
18668 echo "$as_me: failed program was:" >&5
18669 sed 's/^/| /' conftest.$ac_ext >&5
18671 ac_cv_lib_dl_dlopen=no
18674 rm -f core conftest.err conftest.$ac_objext \
18675 conftest$ac_exeext conftest.$ac_ext
18676 LIBS=$ac_check_lib_save_LIBS
18678 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18679 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18680 if test $ac_cv_lib_dl_dlopen = yes; then
18681 cat >>confdefs.h <<\_ACEOF
18682 #define HAVE_DLOPEN 1
18683 _ACEOF
18684 LIBDL="-ldl"
18689 ac_wine_check_funcs_save_LIBS="$LIBS"
18690 LIBS="$LIBS $LIBDL"
18692 for ac_func in dladdr
18694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18695 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18697 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18699 else
18700 cat >conftest.$ac_ext <<_ACEOF
18701 /* confdefs.h. */
18702 _ACEOF
18703 cat confdefs.h >>conftest.$ac_ext
18704 cat >>conftest.$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18708 #define $ac_func innocuous_$ac_func
18710 /* System header to define __stub macros and hopefully few prototypes,
18711 which can conflict with char $ac_func (); below.
18712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18713 <limits.h> exists even on freestanding compilers. */
18715 #ifdef __STDC__
18716 # include <limits.h>
18717 #else
18718 # include <assert.h>
18719 #endif
18721 #undef $ac_func
18723 /* Override any GCC internal prototype to avoid an error.
18724 Use char because int might match the return type of a GCC
18725 builtin and then its argument prototype would still apply. */
18726 #ifdef __cplusplus
18727 extern "C"
18728 #endif
18729 char $ac_func ();
18730 /* The GNU C library defines this for functions which it implements
18731 to always fail with ENOSYS. Some functions are actually named
18732 something starting with __ and the normal name is an alias. */
18733 #if defined __stub_$ac_func || defined __stub___$ac_func
18734 choke me
18735 #endif
18738 main ()
18740 return $ac_func ();
18742 return 0;
18744 _ACEOF
18745 rm -f conftest.$ac_objext conftest$ac_exeext
18746 if { (ac_try="$ac_link"
18747 case "(($ac_try" in
18748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18749 *) ac_try_echo=$ac_try;;
18750 esac
18751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18752 (eval "$ac_link") 2>conftest.er1
18753 ac_status=$?
18754 grep -v '^ *+' conftest.er1 >conftest.err
18755 rm -f conftest.er1
18756 cat conftest.err >&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); } &&
18759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18760 { (case "(($ac_try" in
18761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18762 *) ac_try_echo=$ac_try;;
18763 esac
18764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18765 (eval "$ac_try") 2>&5
18766 ac_status=$?
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; } &&
18769 { ac_try='test -s conftest$ac_exeext'
18770 { (case "(($ac_try" in
18771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18772 *) ac_try_echo=$ac_try;;
18773 esac
18774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18775 (eval "$ac_try") 2>&5
18776 ac_status=$?
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; }; then
18779 eval "$as_ac_var=yes"
18780 else
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.$ac_ext >&5
18784 eval "$as_ac_var=no"
18787 rm -f core conftest.err conftest.$ac_objext \
18788 conftest$ac_exeext conftest.$ac_ext
18790 ac_res=`eval echo '${'$as_ac_var'}'`
18791 { echo "$as_me:$LINENO: result: $ac_res" >&5
18792 echo "${ECHO_T}$ac_res" >&6; }
18793 if test `eval echo '${'$as_ac_var'}'` = yes; then
18794 cat >>confdefs.h <<_ACEOF
18795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18796 _ACEOF
18799 done
18801 LIBS="$ac_wine_check_funcs_save_LIBS"
18803 if test "$ac_cv_func_poll" = no
18804 then
18805 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18806 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18807 if test "${ac_cv_lib_poll_poll+set}" = set; then
18808 echo $ECHO_N "(cached) $ECHO_C" >&6
18809 else
18810 ac_check_lib_save_LIBS=$LIBS
18811 LIBS="-lpoll $LIBS"
18812 cat >conftest.$ac_ext <<_ACEOF
18813 /* confdefs.h. */
18814 _ACEOF
18815 cat confdefs.h >>conftest.$ac_ext
18816 cat >>conftest.$ac_ext <<_ACEOF
18817 /* end confdefs.h. */
18819 /* Override any GCC internal prototype to avoid an error.
18820 Use char because int might match the return type of a GCC
18821 builtin and then its argument prototype would still apply. */
18822 #ifdef __cplusplus
18823 extern "C"
18824 #endif
18825 char poll ();
18827 main ()
18829 return poll ();
18831 return 0;
18833 _ACEOF
18834 rm -f conftest.$ac_objext conftest$ac_exeext
18835 if { (ac_try="$ac_link"
18836 case "(($ac_try" in
18837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18838 *) ac_try_echo=$ac_try;;
18839 esac
18840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18841 (eval "$ac_link") 2>conftest.er1
18842 ac_status=$?
18843 grep -v '^ *+' conftest.er1 >conftest.err
18844 rm -f conftest.er1
18845 cat conftest.err >&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); } &&
18848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18849 { (case "(($ac_try" in
18850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18851 *) ac_try_echo=$ac_try;;
18852 esac
18853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18854 (eval "$ac_try") 2>&5
18855 ac_status=$?
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; } &&
18858 { ac_try='test -s conftest$ac_exeext'
18859 { (case "(($ac_try" in
18860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18861 *) ac_try_echo=$ac_try;;
18862 esac
18863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18864 (eval "$ac_try") 2>&5
18865 ac_status=$?
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); }; }; then
18868 ac_cv_lib_poll_poll=yes
18869 else
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.$ac_ext >&5
18873 ac_cv_lib_poll_poll=no
18876 rm -f core conftest.err conftest.$ac_objext \
18877 conftest$ac_exeext conftest.$ac_ext
18878 LIBS=$ac_check_lib_save_LIBS
18880 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18881 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18882 if test $ac_cv_lib_poll_poll = yes; then
18883 cat >>confdefs.h <<\_ACEOF
18884 #define HAVE_POLL 1
18885 _ACEOF
18886 LIBPOLL="-lpoll"
18892 if test "$ac_cv_func_gethostbyname" = no
18893 then
18895 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18896 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18897 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18898 echo $ECHO_N "(cached) $ECHO_C" >&6
18899 else
18900 ac_check_lib_save_LIBS=$LIBS
18901 LIBS="-lnsl $LIBS"
18902 cat >conftest.$ac_ext <<_ACEOF
18903 /* confdefs.h. */
18904 _ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18909 /* Override any GCC internal prototype to avoid an error.
18910 Use char because int might match the return type of a GCC
18911 builtin and then its argument prototype would still apply. */
18912 #ifdef __cplusplus
18913 extern "C"
18914 #endif
18915 char gethostbyname ();
18917 main ()
18919 return gethostbyname ();
18921 return 0;
18923 _ACEOF
18924 rm -f conftest.$ac_objext conftest$ac_exeext
18925 if { (ac_try="$ac_link"
18926 case "(($ac_try" in
18927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18928 *) ac_try_echo=$ac_try;;
18929 esac
18930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18931 (eval "$ac_link") 2>conftest.er1
18932 ac_status=$?
18933 grep -v '^ *+' conftest.er1 >conftest.err
18934 rm -f conftest.er1
18935 cat conftest.err >&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } &&
18938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18939 { (case "(($ac_try" in
18940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18941 *) ac_try_echo=$ac_try;;
18942 esac
18943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18944 (eval "$ac_try") 2>&5
18945 ac_status=$?
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; } &&
18948 { ac_try='test -s conftest$ac_exeext'
18949 { (case "(($ac_try" in
18950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18951 *) ac_try_echo=$ac_try;;
18952 esac
18953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18954 (eval "$ac_try") 2>&5
18955 ac_status=$?
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; }; then
18958 ac_cv_lib_nsl_gethostbyname=yes
18959 else
18960 echo "$as_me: failed program was:" >&5
18961 sed 's/^/| /' conftest.$ac_ext >&5
18963 ac_cv_lib_nsl_gethostbyname=no
18966 rm -f core conftest.err conftest.$ac_objext \
18967 conftest$ac_exeext conftest.$ac_ext
18968 LIBS=$ac_check_lib_save_LIBS
18970 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18971 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18972 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18973 cat >>confdefs.h <<_ACEOF
18974 #define HAVE_LIBNSL 1
18975 _ACEOF
18977 LIBS="-lnsl $LIBS"
18983 if test "$ac_cv_func_connect" = no
18984 then
18986 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18987 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18988 if test "${ac_cv_lib_socket_connect+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18990 else
18991 ac_check_lib_save_LIBS=$LIBS
18992 LIBS="-lsocket $LIBS"
18993 cat >conftest.$ac_ext <<_ACEOF
18994 /* confdefs.h. */
18995 _ACEOF
18996 cat confdefs.h >>conftest.$ac_ext
18997 cat >>conftest.$ac_ext <<_ACEOF
18998 /* end confdefs.h. */
19000 /* Override any GCC internal prototype to avoid an error.
19001 Use char because int might match the return type of a GCC
19002 builtin and then its argument prototype would still apply. */
19003 #ifdef __cplusplus
19004 extern "C"
19005 #endif
19006 char connect ();
19008 main ()
19010 return connect ();
19012 return 0;
19014 _ACEOF
19015 rm -f conftest.$ac_objext conftest$ac_exeext
19016 if { (ac_try="$ac_link"
19017 case "(($ac_try" in
19018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19019 *) ac_try_echo=$ac_try;;
19020 esac
19021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19022 (eval "$ac_link") 2>conftest.er1
19023 ac_status=$?
19024 grep -v '^ *+' conftest.er1 >conftest.err
19025 rm -f conftest.er1
19026 cat conftest.err >&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); } &&
19029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19030 { (case "(($ac_try" in
19031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19032 *) ac_try_echo=$ac_try;;
19033 esac
19034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19035 (eval "$ac_try") 2>&5
19036 ac_status=$?
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; } &&
19039 { ac_try='test -s conftest$ac_exeext'
19040 { (case "(($ac_try" in
19041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19042 *) ac_try_echo=$ac_try;;
19043 esac
19044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19045 (eval "$ac_try") 2>&5
19046 ac_status=$?
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); }; }; then
19049 ac_cv_lib_socket_connect=yes
19050 else
19051 echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.$ac_ext >&5
19054 ac_cv_lib_socket_connect=no
19057 rm -f core conftest.err conftest.$ac_objext \
19058 conftest$ac_exeext conftest.$ac_ext
19059 LIBS=$ac_check_lib_save_LIBS
19061 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
19062 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
19063 if test $ac_cv_lib_socket_connect = yes; then
19064 cat >>confdefs.h <<_ACEOF
19065 #define HAVE_LIBSOCKET 1
19066 _ACEOF
19068 LIBS="-lsocket $LIBS"
19074 if test "$ac_cv_func_inet_aton" = no
19075 then
19077 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
19078 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
19079 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
19080 echo $ECHO_N "(cached) $ECHO_C" >&6
19081 else
19082 ac_check_lib_save_LIBS=$LIBS
19083 LIBS="-lresolv $LIBS"
19084 cat >conftest.$ac_ext <<_ACEOF
19085 /* confdefs.h. */
19086 _ACEOF
19087 cat confdefs.h >>conftest.$ac_ext
19088 cat >>conftest.$ac_ext <<_ACEOF
19089 /* end confdefs.h. */
19091 /* Override any GCC internal prototype to avoid an error.
19092 Use char because int might match the return type of a GCC
19093 builtin and then its argument prototype would still apply. */
19094 #ifdef __cplusplus
19095 extern "C"
19096 #endif
19097 char inet_aton ();
19099 main ()
19101 return inet_aton ();
19103 return 0;
19105 _ACEOF
19106 rm -f conftest.$ac_objext conftest$ac_exeext
19107 if { (ac_try="$ac_link"
19108 case "(($ac_try" in
19109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19110 *) ac_try_echo=$ac_try;;
19111 esac
19112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19113 (eval "$ac_link") 2>conftest.er1
19114 ac_status=$?
19115 grep -v '^ *+' conftest.er1 >conftest.err
19116 rm -f conftest.er1
19117 cat conftest.err >&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } &&
19120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19121 { (case "(($ac_try" in
19122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19123 *) ac_try_echo=$ac_try;;
19124 esac
19125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19126 (eval "$ac_try") 2>&5
19127 ac_status=$?
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); }; } &&
19130 { ac_try='test -s conftest$ac_exeext'
19131 { (case "(($ac_try" in
19132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19133 *) ac_try_echo=$ac_try;;
19134 esac
19135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19136 (eval "$ac_try") 2>&5
19137 ac_status=$?
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; }; then
19140 ac_cv_lib_resolv_inet_aton=yes
19141 else
19142 echo "$as_me: failed program was:" >&5
19143 sed 's/^/| /' conftest.$ac_ext >&5
19145 ac_cv_lib_resolv_inet_aton=no
19148 rm -f core conftest.err conftest.$ac_objext \
19149 conftest$ac_exeext conftest.$ac_ext
19150 LIBS=$ac_check_lib_save_LIBS
19152 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
19153 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
19154 if test $ac_cv_lib_resolv_inet_aton = yes; then
19155 cat >>confdefs.h <<_ACEOF
19156 #define HAVE_LIBRESOLV 1
19157 _ACEOF
19159 LIBS="-lresolv $LIBS"
19166 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19167 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19168 if test "${ac_cv_c_const+set}" = set; then
19169 echo $ECHO_N "(cached) $ECHO_C" >&6
19170 else
19171 cat >conftest.$ac_ext <<_ACEOF
19172 /* confdefs.h. */
19173 _ACEOF
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19179 main ()
19181 /* FIXME: Include the comments suggested by Paul. */
19182 #ifndef __cplusplus
19183 /* Ultrix mips cc rejects this. */
19184 typedef int charset[2];
19185 const charset x;
19186 /* SunOS 4.1.1 cc rejects this. */
19187 char const *const *ccp;
19188 char **p;
19189 /* NEC SVR4.0.2 mips cc rejects this. */
19190 struct point {int x, y;};
19191 static struct point const zero = {0,0};
19192 /* AIX XL C 1.02.0.0 rejects this.
19193 It does not let you subtract one const X* pointer from another in
19194 an arm of an if-expression whose if-part is not a constant
19195 expression */
19196 const char *g = "string";
19197 ccp = &g + (g ? g-g : 0);
19198 /* HPUX 7.0 cc rejects these. */
19199 ++ccp;
19200 p = (char**) ccp;
19201 ccp = (char const *const *) p;
19202 { /* SCO 3.2v4 cc rejects this. */
19203 char *t;
19204 char const *s = 0 ? (char *) 0 : (char const *) 0;
19206 *t++ = 0;
19207 if (s) return 0;
19209 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19210 int x[] = {25, 17};
19211 const int *foo = &x[0];
19212 ++foo;
19214 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19215 typedef const int *iptr;
19216 iptr p = 0;
19217 ++p;
19219 { /* AIX XL C 1.02.0.0 rejects this saying
19220 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19221 struct s { int j; const int *ap[3]; };
19222 struct s *b; b->j = 5;
19224 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19225 const int foo = 10;
19226 if (!foo) return 0;
19228 return !x[0] && !zero.x;
19229 #endif
19232 return 0;
19234 _ACEOF
19235 rm -f conftest.$ac_objext
19236 if { (ac_try="$ac_compile"
19237 case "(($ac_try" in
19238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19239 *) ac_try_echo=$ac_try;;
19240 esac
19241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19242 (eval "$ac_compile") 2>conftest.er1
19243 ac_status=$?
19244 grep -v '^ *+' conftest.er1 >conftest.err
19245 rm -f conftest.er1
19246 cat conftest.err >&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19250 { (case "(($ac_try" in
19251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19252 *) ac_try_echo=$ac_try;;
19253 esac
19254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19255 (eval "$ac_try") 2>&5
19256 ac_status=$?
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); }; } &&
19259 { ac_try='test -s conftest.$ac_objext'
19260 { (case "(($ac_try" in
19261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19262 *) ac_try_echo=$ac_try;;
19263 esac
19264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19265 (eval "$ac_try") 2>&5
19266 ac_status=$?
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19269 ac_cv_c_const=yes
19270 else
19271 echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.$ac_ext >&5
19274 ac_cv_c_const=no
19277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19279 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19280 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19281 if test $ac_cv_c_const = no; then
19283 cat >>confdefs.h <<\_ACEOF
19284 #define const
19285 _ACEOF
19289 { echo "$as_me:$LINENO: checking for inline" >&5
19290 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19291 if test "${ac_cv_c_inline+set}" = set; then
19292 echo $ECHO_N "(cached) $ECHO_C" >&6
19293 else
19294 ac_cv_c_inline=no
19295 for ac_kw in inline __inline__ __inline; do
19296 cat >conftest.$ac_ext <<_ACEOF
19297 /* confdefs.h. */
19298 _ACEOF
19299 cat confdefs.h >>conftest.$ac_ext
19300 cat >>conftest.$ac_ext <<_ACEOF
19301 /* end confdefs.h. */
19302 #ifndef __cplusplus
19303 typedef int foo_t;
19304 static $ac_kw foo_t static_foo () {return 0; }
19305 $ac_kw foo_t foo () {return 0; }
19306 #endif
19308 _ACEOF
19309 rm -f conftest.$ac_objext
19310 if { (ac_try="$ac_compile"
19311 case "(($ac_try" in
19312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19313 *) ac_try_echo=$ac_try;;
19314 esac
19315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19316 (eval "$ac_compile") 2>conftest.er1
19317 ac_status=$?
19318 grep -v '^ *+' conftest.er1 >conftest.err
19319 rm -f conftest.er1
19320 cat conftest.err >&5
19321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19322 (exit $ac_status); } &&
19323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19324 { (case "(($ac_try" in
19325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19326 *) ac_try_echo=$ac_try;;
19327 esac
19328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19329 (eval "$ac_try") 2>&5
19330 ac_status=$?
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; } &&
19333 { ac_try='test -s conftest.$ac_objext'
19334 { (case "(($ac_try" in
19335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19336 *) ac_try_echo=$ac_try;;
19337 esac
19338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19339 (eval "$ac_try") 2>&5
19340 ac_status=$?
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 ac_cv_c_inline=$ac_kw
19344 else
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.$ac_ext >&5
19351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19352 test "$ac_cv_c_inline" != no && break
19353 done
19356 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19357 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19360 case $ac_cv_c_inline in
19361 inline | yes) ;;
19363 case $ac_cv_c_inline in
19364 no) ac_val=;;
19365 *) ac_val=$ac_cv_c_inline;;
19366 esac
19367 cat >>confdefs.h <<_ACEOF
19368 #ifndef __cplusplus
19369 #define inline $ac_val
19370 #endif
19371 _ACEOF
19373 esac
19375 { echo "$as_me:$LINENO: checking for mode_t" >&5
19376 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19377 if test "${ac_cv_type_mode_t+set}" = set; then
19378 echo $ECHO_N "(cached) $ECHO_C" >&6
19379 else
19380 cat >conftest.$ac_ext <<_ACEOF
19381 /* confdefs.h. */
19382 _ACEOF
19383 cat confdefs.h >>conftest.$ac_ext
19384 cat >>conftest.$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19386 $ac_includes_default
19387 typedef mode_t ac__type_new_;
19389 main ()
19391 if ((ac__type_new_ *) 0)
19392 return 0;
19393 if (sizeof (ac__type_new_))
19394 return 0;
19396 return 0;
19398 _ACEOF
19399 rm -f conftest.$ac_objext
19400 if { (ac_try="$ac_compile"
19401 case "(($ac_try" in
19402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19403 *) ac_try_echo=$ac_try;;
19404 esac
19405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19406 (eval "$ac_compile") 2>conftest.er1
19407 ac_status=$?
19408 grep -v '^ *+' conftest.er1 >conftest.err
19409 rm -f conftest.er1
19410 cat conftest.err >&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); } &&
19413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19414 { (case "(($ac_try" in
19415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19416 *) ac_try_echo=$ac_try;;
19417 esac
19418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19419 (eval "$ac_try") 2>&5
19420 ac_status=$?
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; } &&
19423 { ac_try='test -s conftest.$ac_objext'
19424 { (case "(($ac_try" in
19425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19426 *) ac_try_echo=$ac_try;;
19427 esac
19428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19429 (eval "$ac_try") 2>&5
19430 ac_status=$?
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }; }; then
19433 ac_cv_type_mode_t=yes
19434 else
19435 echo "$as_me: failed program was:" >&5
19436 sed 's/^/| /' conftest.$ac_ext >&5
19438 ac_cv_type_mode_t=no
19441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19443 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19444 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19445 if test $ac_cv_type_mode_t = yes; then
19447 cat >>confdefs.h <<_ACEOF
19448 #define HAVE_MODE_T 1
19449 _ACEOF
19453 { echo "$as_me:$LINENO: checking for off_t" >&5
19454 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19455 if test "${ac_cv_type_off_t+set}" = set; then
19456 echo $ECHO_N "(cached) $ECHO_C" >&6
19457 else
19458 cat >conftest.$ac_ext <<_ACEOF
19459 /* confdefs.h. */
19460 _ACEOF
19461 cat confdefs.h >>conftest.$ac_ext
19462 cat >>conftest.$ac_ext <<_ACEOF
19463 /* end confdefs.h. */
19464 $ac_includes_default
19465 typedef off_t ac__type_new_;
19467 main ()
19469 if ((ac__type_new_ *) 0)
19470 return 0;
19471 if (sizeof (ac__type_new_))
19472 return 0;
19474 return 0;
19476 _ACEOF
19477 rm -f conftest.$ac_objext
19478 if { (ac_try="$ac_compile"
19479 case "(($ac_try" in
19480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19481 *) ac_try_echo=$ac_try;;
19482 esac
19483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19484 (eval "$ac_compile") 2>conftest.er1
19485 ac_status=$?
19486 grep -v '^ *+' conftest.er1 >conftest.err
19487 rm -f conftest.er1
19488 cat conftest.err >&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } &&
19491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19492 { (case "(($ac_try" in
19493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19494 *) ac_try_echo=$ac_try;;
19495 esac
19496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19497 (eval "$ac_try") 2>&5
19498 ac_status=$?
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); }; } &&
19501 { ac_try='test -s conftest.$ac_objext'
19502 { (case "(($ac_try" in
19503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19504 *) ac_try_echo=$ac_try;;
19505 esac
19506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19507 (eval "$ac_try") 2>&5
19508 ac_status=$?
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); }; }; then
19511 ac_cv_type_off_t=yes
19512 else
19513 echo "$as_me: failed program was:" >&5
19514 sed 's/^/| /' conftest.$ac_ext >&5
19516 ac_cv_type_off_t=no
19519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19521 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19522 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19523 if test $ac_cv_type_off_t = yes; then
19525 cat >>confdefs.h <<_ACEOF
19526 #define HAVE_OFF_T 1
19527 _ACEOF
19531 { echo "$as_me:$LINENO: checking for pid_t" >&5
19532 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19533 if test "${ac_cv_type_pid_t+set}" = set; then
19534 echo $ECHO_N "(cached) $ECHO_C" >&6
19535 else
19536 cat >conftest.$ac_ext <<_ACEOF
19537 /* confdefs.h. */
19538 _ACEOF
19539 cat confdefs.h >>conftest.$ac_ext
19540 cat >>conftest.$ac_ext <<_ACEOF
19541 /* end confdefs.h. */
19542 $ac_includes_default
19543 typedef pid_t ac__type_new_;
19545 main ()
19547 if ((ac__type_new_ *) 0)
19548 return 0;
19549 if (sizeof (ac__type_new_))
19550 return 0;
19552 return 0;
19554 _ACEOF
19555 rm -f conftest.$ac_objext
19556 if { (ac_try="$ac_compile"
19557 case "(($ac_try" in
19558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19559 *) ac_try_echo=$ac_try;;
19560 esac
19561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19562 (eval "$ac_compile") 2>conftest.er1
19563 ac_status=$?
19564 grep -v '^ *+' conftest.er1 >conftest.err
19565 rm -f conftest.er1
19566 cat conftest.err >&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } &&
19569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19570 { (case "(($ac_try" in
19571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19572 *) ac_try_echo=$ac_try;;
19573 esac
19574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19575 (eval "$ac_try") 2>&5
19576 ac_status=$?
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); }; } &&
19579 { ac_try='test -s conftest.$ac_objext'
19580 { (case "(($ac_try" in
19581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19582 *) ac_try_echo=$ac_try;;
19583 esac
19584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19585 (eval "$ac_try") 2>&5
19586 ac_status=$?
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; }; then
19589 ac_cv_type_pid_t=yes
19590 else
19591 echo "$as_me: failed program was:" >&5
19592 sed 's/^/| /' conftest.$ac_ext >&5
19594 ac_cv_type_pid_t=no
19597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19599 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19600 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19601 if test $ac_cv_type_pid_t = yes; then
19603 cat >>confdefs.h <<_ACEOF
19604 #define HAVE_PID_T 1
19605 _ACEOF
19609 { echo "$as_me:$LINENO: checking for size_t" >&5
19610 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19611 if test "${ac_cv_type_size_t+set}" = set; then
19612 echo $ECHO_N "(cached) $ECHO_C" >&6
19613 else
19614 cat >conftest.$ac_ext <<_ACEOF
19615 /* confdefs.h. */
19616 _ACEOF
19617 cat confdefs.h >>conftest.$ac_ext
19618 cat >>conftest.$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620 $ac_includes_default
19621 typedef size_t ac__type_new_;
19623 main ()
19625 if ((ac__type_new_ *) 0)
19626 return 0;
19627 if (sizeof (ac__type_new_))
19628 return 0;
19630 return 0;
19632 _ACEOF
19633 rm -f conftest.$ac_objext
19634 if { (ac_try="$ac_compile"
19635 case "(($ac_try" in
19636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19637 *) ac_try_echo=$ac_try;;
19638 esac
19639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19640 (eval "$ac_compile") 2>conftest.er1
19641 ac_status=$?
19642 grep -v '^ *+' conftest.er1 >conftest.err
19643 rm -f conftest.er1
19644 cat conftest.err >&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } &&
19647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19648 { (case "(($ac_try" in
19649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19650 *) ac_try_echo=$ac_try;;
19651 esac
19652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19653 (eval "$ac_try") 2>&5
19654 ac_status=$?
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; } &&
19657 { ac_try='test -s conftest.$ac_objext'
19658 { (case "(($ac_try" in
19659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19660 *) ac_try_echo=$ac_try;;
19661 esac
19662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19663 (eval "$ac_try") 2>&5
19664 ac_status=$?
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; }; then
19667 ac_cv_type_size_t=yes
19668 else
19669 echo "$as_me: failed program was:" >&5
19670 sed 's/^/| /' conftest.$ac_ext >&5
19672 ac_cv_type_size_t=no
19675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19677 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19678 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19679 if test $ac_cv_type_size_t = yes; then
19681 cat >>confdefs.h <<_ACEOF
19682 #define HAVE_SIZE_T 1
19683 _ACEOF
19687 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19688 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19689 if test "${ac_cv_type_ssize_t+set}" = set; then
19690 echo $ECHO_N "(cached) $ECHO_C" >&6
19691 else
19692 cat >conftest.$ac_ext <<_ACEOF
19693 /* confdefs.h. */
19694 _ACEOF
19695 cat confdefs.h >>conftest.$ac_ext
19696 cat >>conftest.$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19698 $ac_includes_default
19699 typedef ssize_t ac__type_new_;
19701 main ()
19703 if ((ac__type_new_ *) 0)
19704 return 0;
19705 if (sizeof (ac__type_new_))
19706 return 0;
19708 return 0;
19710 _ACEOF
19711 rm -f conftest.$ac_objext
19712 if { (ac_try="$ac_compile"
19713 case "(($ac_try" in
19714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19715 *) ac_try_echo=$ac_try;;
19716 esac
19717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19718 (eval "$ac_compile") 2>conftest.er1
19719 ac_status=$?
19720 grep -v '^ *+' conftest.er1 >conftest.err
19721 rm -f conftest.er1
19722 cat conftest.err >&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); } &&
19725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19726 { (case "(($ac_try" in
19727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19728 *) ac_try_echo=$ac_try;;
19729 esac
19730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19731 (eval "$ac_try") 2>&5
19732 ac_status=$?
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); }; } &&
19735 { ac_try='test -s conftest.$ac_objext'
19736 { (case "(($ac_try" in
19737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19738 *) ac_try_echo=$ac_try;;
19739 esac
19740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19741 (eval "$ac_try") 2>&5
19742 ac_status=$?
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); }; }; then
19745 ac_cv_type_ssize_t=yes
19746 else
19747 echo "$as_me: failed program was:" >&5
19748 sed 's/^/| /' conftest.$ac_ext >&5
19750 ac_cv_type_ssize_t=no
19753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19755 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19756 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19757 if test $ac_cv_type_ssize_t = yes; then
19759 cat >>confdefs.h <<_ACEOF
19760 #define HAVE_SSIZE_T 1
19761 _ACEOF
19765 { echo "$as_me:$LINENO: checking for long long" >&5
19766 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19767 if test "${ac_cv_type_long_long+set}" = set; then
19768 echo $ECHO_N "(cached) $ECHO_C" >&6
19769 else
19770 cat >conftest.$ac_ext <<_ACEOF
19771 /* confdefs.h. */
19772 _ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19776 $ac_includes_default
19777 typedef long long ac__type_new_;
19779 main ()
19781 if ((ac__type_new_ *) 0)
19782 return 0;
19783 if (sizeof (ac__type_new_))
19784 return 0;
19786 return 0;
19788 _ACEOF
19789 rm -f conftest.$ac_objext
19790 if { (ac_try="$ac_compile"
19791 case "(($ac_try" in
19792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19794 esac
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_compile") 2>conftest.er1
19797 ac_status=$?
19798 grep -v '^ *+' conftest.er1 >conftest.err
19799 rm -f conftest.er1
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } &&
19803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19804 { (case "(($ac_try" in
19805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19806 *) ac_try_echo=$ac_try;;
19807 esac
19808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19809 (eval "$ac_try") 2>&5
19810 ac_status=$?
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); }; } &&
19813 { ac_try='test -s conftest.$ac_objext'
19814 { (case "(($ac_try" in
19815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19816 *) ac_try_echo=$ac_try;;
19817 esac
19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19819 (eval "$ac_try") 2>&5
19820 ac_status=$?
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; }; then
19823 ac_cv_type_long_long=yes
19824 else
19825 echo "$as_me: failed program was:" >&5
19826 sed 's/^/| /' conftest.$ac_ext >&5
19828 ac_cv_type_long_long=no
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19833 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19834 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19835 if test $ac_cv_type_long_long = yes; then
19837 cat >>confdefs.h <<_ACEOF
19838 #define HAVE_LONG_LONG 1
19839 _ACEOF
19843 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19844 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19845 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19846 echo $ECHO_N "(cached) $ECHO_C" >&6
19847 else
19848 cat >conftest.$ac_ext <<_ACEOF
19849 /* confdefs.h. */
19850 _ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19854 $ac_includes_default
19855 typedef fsblkcnt_t ac__type_new_;
19857 main ()
19859 if ((ac__type_new_ *) 0)
19860 return 0;
19861 if (sizeof (ac__type_new_))
19862 return 0;
19864 return 0;
19866 _ACEOF
19867 rm -f conftest.$ac_objext
19868 if { (ac_try="$ac_compile"
19869 case "(($ac_try" in
19870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19871 *) ac_try_echo=$ac_try;;
19872 esac
19873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19874 (eval "$ac_compile") 2>conftest.er1
19875 ac_status=$?
19876 grep -v '^ *+' conftest.er1 >conftest.err
19877 rm -f conftest.er1
19878 cat conftest.err >&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); } &&
19881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19882 { (case "(($ac_try" in
19883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19884 *) ac_try_echo=$ac_try;;
19885 esac
19886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19887 (eval "$ac_try") 2>&5
19888 ac_status=$?
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; } &&
19891 { ac_try='test -s conftest.$ac_objext'
19892 { (case "(($ac_try" in
19893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19894 *) ac_try_echo=$ac_try;;
19895 esac
19896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19897 (eval "$ac_try") 2>&5
19898 ac_status=$?
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); }; }; then
19901 ac_cv_type_fsblkcnt_t=yes
19902 else
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.$ac_ext >&5
19906 ac_cv_type_fsblkcnt_t=no
19909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19911 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19912 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19913 if test $ac_cv_type_fsblkcnt_t = yes; then
19915 cat >>confdefs.h <<_ACEOF
19916 #define HAVE_FSBLKCNT_T 1
19917 _ACEOF
19921 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19922 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19923 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19924 echo $ECHO_N "(cached) $ECHO_C" >&6
19925 else
19926 cat >conftest.$ac_ext <<_ACEOF
19927 /* confdefs.h. */
19928 _ACEOF
19929 cat confdefs.h >>conftest.$ac_ext
19930 cat >>conftest.$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19932 $ac_includes_default
19933 typedef fsfilcnt_t ac__type_new_;
19935 main ()
19937 if ((ac__type_new_ *) 0)
19938 return 0;
19939 if (sizeof (ac__type_new_))
19940 return 0;
19942 return 0;
19944 _ACEOF
19945 rm -f conftest.$ac_objext
19946 if { (ac_try="$ac_compile"
19947 case "(($ac_try" in
19948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19949 *) ac_try_echo=$ac_try;;
19950 esac
19951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19952 (eval "$ac_compile") 2>conftest.er1
19953 ac_status=$?
19954 grep -v '^ *+' conftest.er1 >conftest.err
19955 rm -f conftest.er1
19956 cat conftest.err >&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); } &&
19959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19960 { (case "(($ac_try" in
19961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19962 *) ac_try_echo=$ac_try;;
19963 esac
19964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19965 (eval "$ac_try") 2>&5
19966 ac_status=$?
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; } &&
19969 { ac_try='test -s conftest.$ac_objext'
19970 { (case "(($ac_try" in
19971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19972 *) ac_try_echo=$ac_try;;
19973 esac
19974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19975 (eval "$ac_try") 2>&5
19976 ac_status=$?
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 ac_cv_type_fsfilcnt_t=yes
19980 else
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.$ac_ext >&5
19984 ac_cv_type_fsfilcnt_t=no
19987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19989 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19990 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19991 if test $ac_cv_type_fsfilcnt_t = yes; then
19993 cat >>confdefs.h <<_ACEOF
19994 #define HAVE_FSFILCNT_T 1
19995 _ACEOF
20000 { echo "$as_me:$LINENO: checking for sigset_t" >&5
20001 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
20002 if test "${ac_cv_type_sigset_t+set}" = set; then
20003 echo $ECHO_N "(cached) $ECHO_C" >&6
20004 else
20005 cat >conftest.$ac_ext <<_ACEOF
20006 /* confdefs.h. */
20007 _ACEOF
20008 cat confdefs.h >>conftest.$ac_ext
20009 cat >>conftest.$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 #include <signal.h>
20013 typedef sigset_t ac__type_new_;
20015 main ()
20017 if ((ac__type_new_ *) 0)
20018 return 0;
20019 if (sizeof (ac__type_new_))
20020 return 0;
20022 return 0;
20024 _ACEOF
20025 rm -f conftest.$ac_objext
20026 if { (ac_try="$ac_compile"
20027 case "(($ac_try" in
20028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20029 *) ac_try_echo=$ac_try;;
20030 esac
20031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20032 (eval "$ac_compile") 2>conftest.er1
20033 ac_status=$?
20034 grep -v '^ *+' conftest.er1 >conftest.err
20035 rm -f conftest.er1
20036 cat conftest.err >&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); } &&
20039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20040 { (case "(($ac_try" in
20041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20042 *) ac_try_echo=$ac_try;;
20043 esac
20044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20045 (eval "$ac_try") 2>&5
20046 ac_status=$?
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); }; } &&
20049 { ac_try='test -s conftest.$ac_objext'
20050 { (case "(($ac_try" in
20051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20053 esac
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_try") 2>&5
20056 ac_status=$?
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); }; }; then
20059 ac_cv_type_sigset_t=yes
20060 else
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.$ac_ext >&5
20064 ac_cv_type_sigset_t=no
20067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20069 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20070 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
20071 if test $ac_cv_type_sigset_t = yes; then
20073 cat >>confdefs.h <<_ACEOF
20074 #define HAVE_SIGSET_T 1
20075 _ACEOF
20080 { echo "$as_me:$LINENO: checking for request_sense" >&5
20081 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20082 if test "${ac_cv_type_request_sense+set}" = set; then
20083 echo $ECHO_N "(cached) $ECHO_C" >&6
20084 else
20085 cat >conftest.$ac_ext <<_ACEOF
20086 /* confdefs.h. */
20087 _ACEOF
20088 cat confdefs.h >>conftest.$ac_ext
20089 cat >>conftest.$ac_ext <<_ACEOF
20090 /* end confdefs.h. */
20091 #include <linux/cdrom.h>
20093 typedef request_sense ac__type_new_;
20095 main ()
20097 if ((ac__type_new_ *) 0)
20098 return 0;
20099 if (sizeof (ac__type_new_))
20100 return 0;
20102 return 0;
20104 _ACEOF
20105 rm -f conftest.$ac_objext
20106 if { (ac_try="$ac_compile"
20107 case "(($ac_try" in
20108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20109 *) ac_try_echo=$ac_try;;
20110 esac
20111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20112 (eval "$ac_compile") 2>conftest.er1
20113 ac_status=$?
20114 grep -v '^ *+' conftest.er1 >conftest.err
20115 rm -f conftest.er1
20116 cat conftest.err >&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } &&
20119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20120 { (case "(($ac_try" in
20121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20122 *) ac_try_echo=$ac_try;;
20123 esac
20124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20125 (eval "$ac_try") 2>&5
20126 ac_status=$?
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); }; } &&
20129 { ac_try='test -s conftest.$ac_objext'
20130 { (case "(($ac_try" in
20131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20132 *) ac_try_echo=$ac_try;;
20133 esac
20134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20135 (eval "$ac_try") 2>&5
20136 ac_status=$?
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); }; }; then
20139 ac_cv_type_request_sense=yes
20140 else
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.$ac_ext >&5
20144 ac_cv_type_request_sense=no
20147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20149 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20150 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20151 if test $ac_cv_type_request_sense = yes; then
20153 cat >>confdefs.h <<_ACEOF
20154 #define HAVE_REQUEST_SENSE 1
20155 _ACEOF
20161 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20162 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20163 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20164 echo $ECHO_N "(cached) $ECHO_C" >&6
20165 else
20166 cat >conftest.$ac_ext <<_ACEOF
20167 /* confdefs.h. */
20168 _ACEOF
20169 cat confdefs.h >>conftest.$ac_ext
20170 cat >>conftest.$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20172 #ifdef HAVE_LINUX_INPUT_H
20173 #include <linux/input.h>
20174 #endif
20177 main ()
20179 static struct ff_effect ac_aggr;
20180 if (ac_aggr.direction)
20181 return 0;
20183 return 0;
20185 _ACEOF
20186 rm -f conftest.$ac_objext
20187 if { (ac_try="$ac_compile"
20188 case "(($ac_try" in
20189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20190 *) ac_try_echo=$ac_try;;
20191 esac
20192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20193 (eval "$ac_compile") 2>conftest.er1
20194 ac_status=$?
20195 grep -v '^ *+' conftest.er1 >conftest.err
20196 rm -f conftest.er1
20197 cat conftest.err >&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); } &&
20200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20201 { (case "(($ac_try" in
20202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20203 *) ac_try_echo=$ac_try;;
20204 esac
20205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20206 (eval "$ac_try") 2>&5
20207 ac_status=$?
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); }; } &&
20210 { ac_try='test -s conftest.$ac_objext'
20211 { (case "(($ac_try" in
20212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20213 *) ac_try_echo=$ac_try;;
20214 esac
20215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20216 (eval "$ac_try") 2>&5
20217 ac_status=$?
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); }; }; then
20220 ac_cv_member_struct_ff_effect_direction=yes
20221 else
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.$ac_ext >&5
20225 cat >conftest.$ac_ext <<_ACEOF
20226 /* confdefs.h. */
20227 _ACEOF
20228 cat confdefs.h >>conftest.$ac_ext
20229 cat >>conftest.$ac_ext <<_ACEOF
20230 /* end confdefs.h. */
20231 #ifdef HAVE_LINUX_INPUT_H
20232 #include <linux/input.h>
20233 #endif
20236 main ()
20238 static struct ff_effect ac_aggr;
20239 if (sizeof ac_aggr.direction)
20240 return 0;
20242 return 0;
20244 _ACEOF
20245 rm -f conftest.$ac_objext
20246 if { (ac_try="$ac_compile"
20247 case "(($ac_try" in
20248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20249 *) ac_try_echo=$ac_try;;
20250 esac
20251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20252 (eval "$ac_compile") 2>conftest.er1
20253 ac_status=$?
20254 grep -v '^ *+' conftest.er1 >conftest.err
20255 rm -f conftest.er1
20256 cat conftest.err >&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } &&
20259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20260 { (case "(($ac_try" in
20261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20262 *) ac_try_echo=$ac_try;;
20263 esac
20264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20265 (eval "$ac_try") 2>&5
20266 ac_status=$?
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; } &&
20269 { ac_try='test -s conftest.$ac_objext'
20270 { (case "(($ac_try" in
20271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20272 *) ac_try_echo=$ac_try;;
20273 esac
20274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20275 (eval "$ac_try") 2>&5
20276 ac_status=$?
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; }; then
20279 ac_cv_member_struct_ff_effect_direction=yes
20280 else
20281 echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20284 ac_cv_member_struct_ff_effect_direction=no
20287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20292 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20293 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20294 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20296 cat >>confdefs.h <<_ACEOF
20297 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20298 _ACEOF
20304 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20305 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20306 if test "${wine_cv_have_sigaddset+set}" = set; then
20307 echo $ECHO_N "(cached) $ECHO_C" >&6
20308 else
20309 cat >conftest.$ac_ext <<_ACEOF
20310 /* confdefs.h. */
20311 _ACEOF
20312 cat confdefs.h >>conftest.$ac_ext
20313 cat >>conftest.$ac_ext <<_ACEOF
20314 /* end confdefs.h. */
20315 #include <signal.h>
20317 main ()
20319 sigset_t set; sigaddset(&set,SIGTERM);
20321 return 0;
20323 _ACEOF
20324 rm -f conftest.$ac_objext conftest$ac_exeext
20325 if { (ac_try="$ac_link"
20326 case "(($ac_try" in
20327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20328 *) ac_try_echo=$ac_try;;
20329 esac
20330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20331 (eval "$ac_link") 2>conftest.er1
20332 ac_status=$?
20333 grep -v '^ *+' conftest.er1 >conftest.err
20334 rm -f conftest.er1
20335 cat conftest.err >&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } &&
20338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20339 { (case "(($ac_try" in
20340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20341 *) ac_try_echo=$ac_try;;
20342 esac
20343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20344 (eval "$ac_try") 2>&5
20345 ac_status=$?
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; } &&
20348 { ac_try='test -s conftest$ac_exeext'
20349 { (case "(($ac_try" in
20350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20351 *) ac_try_echo=$ac_try;;
20352 esac
20353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20354 (eval "$ac_try") 2>&5
20355 ac_status=$?
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); }; }; then
20358 wine_cv_have_sigaddset=yes
20359 else
20360 echo "$as_me: failed program was:" >&5
20361 sed 's/^/| /' conftest.$ac_ext >&5
20363 wine_cv_have_sigaddset=no
20366 rm -f core conftest.err conftest.$ac_objext \
20367 conftest$ac_exeext conftest.$ac_ext
20369 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20370 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20371 if test "$wine_cv_have_sigaddset" = "yes"
20372 then
20374 cat >>confdefs.h <<\_ACEOF
20375 #define HAVE_SIGADDSET 1
20376 _ACEOF
20381 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20382 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20383 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20384 echo $ECHO_N "(cached) $ECHO_C" >&6
20385 else
20386 cat >conftest.$ac_ext <<_ACEOF
20387 /* confdefs.h. */
20388 _ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20393 #include <netdb.h>
20396 main ()
20399 char *name=NULL;
20400 struct hostent he;
20401 struct hostent *result;
20402 char *buf=NULL;
20403 int bufsize=0;
20404 int res,errnr;
20405 char *addr=NULL;
20406 int addrlen=0;
20407 int addrtype=0;
20408 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20409 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20412 return 0;
20414 _ACEOF
20415 rm -f conftest.$ac_objext conftest$ac_exeext
20416 if { (ac_try="$ac_link"
20417 case "(($ac_try" in
20418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20419 *) ac_try_echo=$ac_try;;
20420 esac
20421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20422 (eval "$ac_link") 2>conftest.er1
20423 ac_status=$?
20424 grep -v '^ *+' conftest.er1 >conftest.err
20425 rm -f conftest.er1
20426 cat conftest.err >&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } &&
20429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
20436 ac_status=$?
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; } &&
20439 { ac_try='test -s conftest$ac_exeext'
20440 { (case "(($ac_try" in
20441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20442 *) ac_try_echo=$ac_try;;
20443 esac
20444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20445 (eval "$ac_try") 2>&5
20446 ac_status=$?
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); }; }; then
20449 wine_cv_linux_gethostbyname_r_6=yes
20450 else
20451 echo "$as_me: failed program was:" >&5
20452 sed 's/^/| /' conftest.$ac_ext >&5
20454 wine_cv_linux_gethostbyname_r_6=no
20458 rm -f core conftest.err conftest.$ac_objext \
20459 conftest$ac_exeext conftest.$ac_ext
20462 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20463 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20464 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20465 then
20467 cat >>confdefs.h <<\_ACEOF
20468 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20469 _ACEOF
20473 if test "$ac_cv_header_linux_joystick_h" = "yes"
20474 then
20475 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20476 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20477 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20478 echo $ECHO_N "(cached) $ECHO_C" >&6
20479 else
20480 cat >conftest.$ac_ext <<_ACEOF
20481 /* confdefs.h. */
20482 _ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20487 #include <sys/ioctl.h>
20488 #include <linux/joystick.h>
20490 struct js_event blub;
20491 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20492 #error "no 2.2 header"
20493 #endif
20496 main ()
20498 /*empty*/
20500 return 0;
20502 _ACEOF
20503 rm -f conftest.$ac_objext
20504 if { (ac_try="$ac_compile"
20505 case "(($ac_try" in
20506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20507 *) ac_try_echo=$ac_try;;
20508 esac
20509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20510 (eval "$ac_compile") 2>conftest.er1
20511 ac_status=$?
20512 grep -v '^ *+' conftest.er1 >conftest.err
20513 rm -f conftest.er1
20514 cat conftest.err >&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); } &&
20517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20518 { (case "(($ac_try" in
20519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20520 *) ac_try_echo=$ac_try;;
20521 esac
20522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20523 (eval "$ac_try") 2>&5
20524 ac_status=$?
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); }; } &&
20527 { ac_try='test -s conftest.$ac_objext'
20528 { (case "(($ac_try" in
20529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20530 *) ac_try_echo=$ac_try;;
20531 esac
20532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20533 (eval "$ac_try") 2>&5
20534 ac_status=$?
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); }; }; then
20537 wine_cv_linux_joystick_22_api=yes
20538 else
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20542 wine_cv_linux_joystick_22_api=no
20545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20548 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20549 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20550 if test "$wine_cv_linux_joystick_22_api" = "yes"
20551 then
20553 cat >>confdefs.h <<\_ACEOF
20554 #define HAVE_LINUX_22_JOYSTICK_API 1
20555 _ACEOF
20561 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20562 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20563 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20564 echo $ECHO_N "(cached) $ECHO_C" >&6
20565 else
20566 cat >conftest.$ac_ext <<_ACEOF
20567 /* confdefs.h. */
20568 _ACEOF
20569 cat confdefs.h >>conftest.$ac_ext
20570 cat >>conftest.$ac_ext <<_ACEOF
20571 /* end confdefs.h. */
20572 #include <sys/types.h>
20573 #ifdef HAVE_SYS_PARAM_H
20574 # include <sys/param.h>
20575 #endif
20576 #ifdef HAVE_SYS_MOUNT_H
20577 # include <sys/mount.h>
20578 #endif
20579 #ifdef HAVE_SYS_VFS_H
20580 # include <sys/vfs.h>
20581 #endif
20582 #ifdef HAVE_SYS_STATFS_H
20583 # include <sys/statfs.h>
20584 #endif
20587 main ()
20589 static struct statfs ac_aggr;
20590 if (ac_aggr.f_bfree)
20591 return 0;
20593 return 0;
20595 _ACEOF
20596 rm -f conftest.$ac_objext
20597 if { (ac_try="$ac_compile"
20598 case "(($ac_try" in
20599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20600 *) ac_try_echo=$ac_try;;
20601 esac
20602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20603 (eval "$ac_compile") 2>conftest.er1
20604 ac_status=$?
20605 grep -v '^ *+' conftest.er1 >conftest.err
20606 rm -f conftest.er1
20607 cat conftest.err >&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } &&
20610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20611 { (case "(($ac_try" in
20612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20613 *) ac_try_echo=$ac_try;;
20614 esac
20615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20616 (eval "$ac_try") 2>&5
20617 ac_status=$?
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); }; } &&
20620 { ac_try='test -s conftest.$ac_objext'
20621 { (case "(($ac_try" in
20622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20623 *) ac_try_echo=$ac_try;;
20624 esac
20625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20626 (eval "$ac_try") 2>&5
20627 ac_status=$?
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; }; then
20630 ac_cv_member_struct_statfs_f_bfree=yes
20631 else
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.$ac_ext >&5
20635 cat >conftest.$ac_ext <<_ACEOF
20636 /* confdefs.h. */
20637 _ACEOF
20638 cat confdefs.h >>conftest.$ac_ext
20639 cat >>conftest.$ac_ext <<_ACEOF
20640 /* end confdefs.h. */
20641 #include <sys/types.h>
20642 #ifdef HAVE_SYS_PARAM_H
20643 # include <sys/param.h>
20644 #endif
20645 #ifdef HAVE_SYS_MOUNT_H
20646 # include <sys/mount.h>
20647 #endif
20648 #ifdef HAVE_SYS_VFS_H
20649 # include <sys/vfs.h>
20650 #endif
20651 #ifdef HAVE_SYS_STATFS_H
20652 # include <sys/statfs.h>
20653 #endif
20656 main ()
20658 static struct statfs ac_aggr;
20659 if (sizeof ac_aggr.f_bfree)
20660 return 0;
20662 return 0;
20664 _ACEOF
20665 rm -f conftest.$ac_objext
20666 if { (ac_try="$ac_compile"
20667 case "(($ac_try" in
20668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20669 *) ac_try_echo=$ac_try;;
20670 esac
20671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20672 (eval "$ac_compile") 2>conftest.er1
20673 ac_status=$?
20674 grep -v '^ *+' conftest.er1 >conftest.err
20675 rm -f conftest.er1
20676 cat conftest.err >&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); } &&
20679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20680 { (case "(($ac_try" in
20681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20682 *) ac_try_echo=$ac_try;;
20683 esac
20684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20685 (eval "$ac_try") 2>&5
20686 ac_status=$?
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); }; } &&
20689 { ac_try='test -s conftest.$ac_objext'
20690 { (case "(($ac_try" in
20691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20692 *) ac_try_echo=$ac_try;;
20693 esac
20694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20695 (eval "$ac_try") 2>&5
20696 ac_status=$?
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); }; }; then
20699 ac_cv_member_struct_statfs_f_bfree=yes
20700 else
20701 echo "$as_me: failed program was:" >&5
20702 sed 's/^/| /' conftest.$ac_ext >&5
20704 ac_cv_member_struct_statfs_f_bfree=no
20707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20712 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20713 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20714 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20716 cat >>confdefs.h <<_ACEOF
20717 #define HAVE_STRUCT_STATFS_F_BFREE 1
20718 _ACEOF
20722 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20723 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20724 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20725 echo $ECHO_N "(cached) $ECHO_C" >&6
20726 else
20727 cat >conftest.$ac_ext <<_ACEOF
20728 /* confdefs.h. */
20729 _ACEOF
20730 cat confdefs.h >>conftest.$ac_ext
20731 cat >>conftest.$ac_ext <<_ACEOF
20732 /* end confdefs.h. */
20733 #include <sys/types.h>
20734 #ifdef HAVE_SYS_PARAM_H
20735 # include <sys/param.h>
20736 #endif
20737 #ifdef HAVE_SYS_MOUNT_H
20738 # include <sys/mount.h>
20739 #endif
20740 #ifdef HAVE_SYS_VFS_H
20741 # include <sys/vfs.h>
20742 #endif
20743 #ifdef HAVE_SYS_STATFS_H
20744 # include <sys/statfs.h>
20745 #endif
20748 main ()
20750 static struct statfs ac_aggr;
20751 if (ac_aggr.f_bavail)
20752 return 0;
20754 return 0;
20756 _ACEOF
20757 rm -f conftest.$ac_objext
20758 if { (ac_try="$ac_compile"
20759 case "(($ac_try" in
20760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20761 *) ac_try_echo=$ac_try;;
20762 esac
20763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20764 (eval "$ac_compile") 2>conftest.er1
20765 ac_status=$?
20766 grep -v '^ *+' conftest.er1 >conftest.err
20767 rm -f conftest.er1
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } &&
20771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20772 { (case "(($ac_try" in
20773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20774 *) ac_try_echo=$ac_try;;
20775 esac
20776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20777 (eval "$ac_try") 2>&5
20778 ac_status=$?
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); }; } &&
20781 { ac_try='test -s conftest.$ac_objext'
20782 { (case "(($ac_try" in
20783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20784 *) ac_try_echo=$ac_try;;
20785 esac
20786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20787 (eval "$ac_try") 2>&5
20788 ac_status=$?
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); }; }; then
20791 ac_cv_member_struct_statfs_f_bavail=yes
20792 else
20793 echo "$as_me: failed program was:" >&5
20794 sed 's/^/| /' conftest.$ac_ext >&5
20796 cat >conftest.$ac_ext <<_ACEOF
20797 /* confdefs.h. */
20798 _ACEOF
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 #include <sys/types.h>
20803 #ifdef HAVE_SYS_PARAM_H
20804 # include <sys/param.h>
20805 #endif
20806 #ifdef HAVE_SYS_MOUNT_H
20807 # include <sys/mount.h>
20808 #endif
20809 #ifdef HAVE_SYS_VFS_H
20810 # include <sys/vfs.h>
20811 #endif
20812 #ifdef HAVE_SYS_STATFS_H
20813 # include <sys/statfs.h>
20814 #endif
20817 main ()
20819 static struct statfs ac_aggr;
20820 if (sizeof ac_aggr.f_bavail)
20821 return 0;
20823 return 0;
20825 _ACEOF
20826 rm -f conftest.$ac_objext
20827 if { (ac_try="$ac_compile"
20828 case "(($ac_try" in
20829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20830 *) ac_try_echo=$ac_try;;
20831 esac
20832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20833 (eval "$ac_compile") 2>conftest.er1
20834 ac_status=$?
20835 grep -v '^ *+' conftest.er1 >conftest.err
20836 rm -f conftest.er1
20837 cat conftest.err >&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); } &&
20840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20841 { (case "(($ac_try" in
20842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20843 *) ac_try_echo=$ac_try;;
20844 esac
20845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20846 (eval "$ac_try") 2>&5
20847 ac_status=$?
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; } &&
20850 { ac_try='test -s conftest.$ac_objext'
20851 { (case "(($ac_try" in
20852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20853 *) ac_try_echo=$ac_try;;
20854 esac
20855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20856 (eval "$ac_try") 2>&5
20857 ac_status=$?
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); }; }; then
20860 ac_cv_member_struct_statfs_f_bavail=yes
20861 else
20862 echo "$as_me: failed program was:" >&5
20863 sed 's/^/| /' conftest.$ac_ext >&5
20865 ac_cv_member_struct_statfs_f_bavail=no
20868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20873 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20874 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20875 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20877 cat >>confdefs.h <<_ACEOF
20878 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20879 _ACEOF
20883 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20884 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20885 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20886 echo $ECHO_N "(cached) $ECHO_C" >&6
20887 else
20888 cat >conftest.$ac_ext <<_ACEOF
20889 /* confdefs.h. */
20890 _ACEOF
20891 cat confdefs.h >>conftest.$ac_ext
20892 cat >>conftest.$ac_ext <<_ACEOF
20893 /* end confdefs.h. */
20894 #include <sys/types.h>
20895 #ifdef HAVE_SYS_PARAM_H
20896 # include <sys/param.h>
20897 #endif
20898 #ifdef HAVE_SYS_MOUNT_H
20899 # include <sys/mount.h>
20900 #endif
20901 #ifdef HAVE_SYS_VFS_H
20902 # include <sys/vfs.h>
20903 #endif
20904 #ifdef HAVE_SYS_STATFS_H
20905 # include <sys/statfs.h>
20906 #endif
20909 main ()
20911 static struct statfs ac_aggr;
20912 if (ac_aggr.f_frsize)
20913 return 0;
20915 return 0;
20917 _ACEOF
20918 rm -f conftest.$ac_objext
20919 if { (ac_try="$ac_compile"
20920 case "(($ac_try" in
20921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20922 *) ac_try_echo=$ac_try;;
20923 esac
20924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20925 (eval "$ac_compile") 2>conftest.er1
20926 ac_status=$?
20927 grep -v '^ *+' conftest.er1 >conftest.err
20928 rm -f conftest.er1
20929 cat conftest.err >&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } &&
20932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20933 { (case "(($ac_try" in
20934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20935 *) ac_try_echo=$ac_try;;
20936 esac
20937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20938 (eval "$ac_try") 2>&5
20939 ac_status=$?
20940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20941 (exit $ac_status); }; } &&
20942 { ac_try='test -s conftest.$ac_objext'
20943 { (case "(($ac_try" in
20944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20945 *) ac_try_echo=$ac_try;;
20946 esac
20947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20948 (eval "$ac_try") 2>&5
20949 ac_status=$?
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20952 ac_cv_member_struct_statfs_f_frsize=yes
20953 else
20954 echo "$as_me: failed program was:" >&5
20955 sed 's/^/| /' conftest.$ac_ext >&5
20957 cat >conftest.$ac_ext <<_ACEOF
20958 /* confdefs.h. */
20959 _ACEOF
20960 cat confdefs.h >>conftest.$ac_ext
20961 cat >>conftest.$ac_ext <<_ACEOF
20962 /* end confdefs.h. */
20963 #include <sys/types.h>
20964 #ifdef HAVE_SYS_PARAM_H
20965 # include <sys/param.h>
20966 #endif
20967 #ifdef HAVE_SYS_MOUNT_H
20968 # include <sys/mount.h>
20969 #endif
20970 #ifdef HAVE_SYS_VFS_H
20971 # include <sys/vfs.h>
20972 #endif
20973 #ifdef HAVE_SYS_STATFS_H
20974 # include <sys/statfs.h>
20975 #endif
20978 main ()
20980 static struct statfs ac_aggr;
20981 if (sizeof ac_aggr.f_frsize)
20982 return 0;
20984 return 0;
20986 _ACEOF
20987 rm -f conftest.$ac_objext
20988 if { (ac_try="$ac_compile"
20989 case "(($ac_try" in
20990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20991 *) ac_try_echo=$ac_try;;
20992 esac
20993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20994 (eval "$ac_compile") 2>conftest.er1
20995 ac_status=$?
20996 grep -v '^ *+' conftest.er1 >conftest.err
20997 rm -f conftest.er1
20998 cat conftest.err >&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); } &&
21001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21002 { (case "(($ac_try" in
21003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21004 *) ac_try_echo=$ac_try;;
21005 esac
21006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21007 (eval "$ac_try") 2>&5
21008 ac_status=$?
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); }; } &&
21011 { ac_try='test -s conftest.$ac_objext'
21012 { (case "(($ac_try" in
21013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21014 *) ac_try_echo=$ac_try;;
21015 esac
21016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21017 (eval "$ac_try") 2>&5
21018 ac_status=$?
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); }; }; then
21021 ac_cv_member_struct_statfs_f_frsize=yes
21022 else
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.$ac_ext >&5
21026 ac_cv_member_struct_statfs_f_frsize=no
21029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21034 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
21035 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
21036 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
21038 cat >>confdefs.h <<_ACEOF
21039 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
21040 _ACEOF
21044 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
21045 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
21046 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
21047 echo $ECHO_N "(cached) $ECHO_C" >&6
21048 else
21049 cat >conftest.$ac_ext <<_ACEOF
21050 /* confdefs.h. */
21051 _ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 #include <sys/types.h>
21056 #ifdef HAVE_SYS_PARAM_H
21057 # include <sys/param.h>
21058 #endif
21059 #ifdef HAVE_SYS_MOUNT_H
21060 # include <sys/mount.h>
21061 #endif
21062 #ifdef HAVE_SYS_VFS_H
21063 # include <sys/vfs.h>
21064 #endif
21065 #ifdef HAVE_SYS_STATFS_H
21066 # include <sys/statfs.h>
21067 #endif
21070 main ()
21072 static struct statfs ac_aggr;
21073 if (ac_aggr.f_ffree)
21074 return 0;
21076 return 0;
21078 _ACEOF
21079 rm -f conftest.$ac_objext
21080 if { (ac_try="$ac_compile"
21081 case "(($ac_try" in
21082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21083 *) ac_try_echo=$ac_try;;
21084 esac
21085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21086 (eval "$ac_compile") 2>conftest.er1
21087 ac_status=$?
21088 grep -v '^ *+' conftest.er1 >conftest.err
21089 rm -f conftest.er1
21090 cat conftest.err >&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); } &&
21093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21094 { (case "(($ac_try" in
21095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21096 *) ac_try_echo=$ac_try;;
21097 esac
21098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21099 (eval "$ac_try") 2>&5
21100 ac_status=$?
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); }; } &&
21103 { ac_try='test -s conftest.$ac_objext'
21104 { (case "(($ac_try" in
21105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21106 *) ac_try_echo=$ac_try;;
21107 esac
21108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21109 (eval "$ac_try") 2>&5
21110 ac_status=$?
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); }; }; then
21113 ac_cv_member_struct_statfs_f_ffree=yes
21114 else
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.$ac_ext >&5
21118 cat >conftest.$ac_ext <<_ACEOF
21119 /* confdefs.h. */
21120 _ACEOF
21121 cat confdefs.h >>conftest.$ac_ext
21122 cat >>conftest.$ac_ext <<_ACEOF
21123 /* end confdefs.h. */
21124 #include <sys/types.h>
21125 #ifdef HAVE_SYS_PARAM_H
21126 # include <sys/param.h>
21127 #endif
21128 #ifdef HAVE_SYS_MOUNT_H
21129 # include <sys/mount.h>
21130 #endif
21131 #ifdef HAVE_SYS_VFS_H
21132 # include <sys/vfs.h>
21133 #endif
21134 #ifdef HAVE_SYS_STATFS_H
21135 # include <sys/statfs.h>
21136 #endif
21139 main ()
21141 static struct statfs ac_aggr;
21142 if (sizeof ac_aggr.f_ffree)
21143 return 0;
21145 return 0;
21147 _ACEOF
21148 rm -f conftest.$ac_objext
21149 if { (ac_try="$ac_compile"
21150 case "(($ac_try" in
21151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21152 *) ac_try_echo=$ac_try;;
21153 esac
21154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21155 (eval "$ac_compile") 2>conftest.er1
21156 ac_status=$?
21157 grep -v '^ *+' conftest.er1 >conftest.err
21158 rm -f conftest.er1
21159 cat conftest.err >&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); } &&
21162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21163 { (case "(($ac_try" in
21164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21165 *) ac_try_echo=$ac_try;;
21166 esac
21167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_try") 2>&5
21169 ac_status=$?
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); }; } &&
21172 { ac_try='test -s conftest.$ac_objext'
21173 { (case "(($ac_try" in
21174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21175 *) ac_try_echo=$ac_try;;
21176 esac
21177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21178 (eval "$ac_try") 2>&5
21179 ac_status=$?
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); }; }; then
21182 ac_cv_member_struct_statfs_f_ffree=yes
21183 else
21184 echo "$as_me: failed program was:" >&5
21185 sed 's/^/| /' conftest.$ac_ext >&5
21187 ac_cv_member_struct_statfs_f_ffree=no
21190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21195 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21196 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21197 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21199 cat >>confdefs.h <<_ACEOF
21200 #define HAVE_STRUCT_STATFS_F_FFREE 1
21201 _ACEOF
21205 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21206 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21207 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21208 echo $ECHO_N "(cached) $ECHO_C" >&6
21209 else
21210 cat >conftest.$ac_ext <<_ACEOF
21211 /* confdefs.h. */
21212 _ACEOF
21213 cat confdefs.h >>conftest.$ac_ext
21214 cat >>conftest.$ac_ext <<_ACEOF
21215 /* end confdefs.h. */
21216 #include <sys/types.h>
21217 #ifdef HAVE_SYS_PARAM_H
21218 # include <sys/param.h>
21219 #endif
21220 #ifdef HAVE_SYS_MOUNT_H
21221 # include <sys/mount.h>
21222 #endif
21223 #ifdef HAVE_SYS_VFS_H
21224 # include <sys/vfs.h>
21225 #endif
21226 #ifdef HAVE_SYS_STATFS_H
21227 # include <sys/statfs.h>
21228 #endif
21231 main ()
21233 static struct statfs ac_aggr;
21234 if (ac_aggr.f_favail)
21235 return 0;
21237 return 0;
21239 _ACEOF
21240 rm -f conftest.$ac_objext
21241 if { (ac_try="$ac_compile"
21242 case "(($ac_try" in
21243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21244 *) ac_try_echo=$ac_try;;
21245 esac
21246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21247 (eval "$ac_compile") 2>conftest.er1
21248 ac_status=$?
21249 grep -v '^ *+' conftest.er1 >conftest.err
21250 rm -f conftest.er1
21251 cat conftest.err >&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); } &&
21254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21255 { (case "(($ac_try" in
21256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21257 *) ac_try_echo=$ac_try;;
21258 esac
21259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21260 (eval "$ac_try") 2>&5
21261 ac_status=$?
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); }; } &&
21264 { ac_try='test -s conftest.$ac_objext'
21265 { (case "(($ac_try" in
21266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21267 *) ac_try_echo=$ac_try;;
21268 esac
21269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21270 (eval "$ac_try") 2>&5
21271 ac_status=$?
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); }; }; then
21274 ac_cv_member_struct_statfs_f_favail=yes
21275 else
21276 echo "$as_me: failed program was:" >&5
21277 sed 's/^/| /' conftest.$ac_ext >&5
21279 cat >conftest.$ac_ext <<_ACEOF
21280 /* confdefs.h. */
21281 _ACEOF
21282 cat confdefs.h >>conftest.$ac_ext
21283 cat >>conftest.$ac_ext <<_ACEOF
21284 /* end confdefs.h. */
21285 #include <sys/types.h>
21286 #ifdef HAVE_SYS_PARAM_H
21287 # include <sys/param.h>
21288 #endif
21289 #ifdef HAVE_SYS_MOUNT_H
21290 # include <sys/mount.h>
21291 #endif
21292 #ifdef HAVE_SYS_VFS_H
21293 # include <sys/vfs.h>
21294 #endif
21295 #ifdef HAVE_SYS_STATFS_H
21296 # include <sys/statfs.h>
21297 #endif
21300 main ()
21302 static struct statfs ac_aggr;
21303 if (sizeof ac_aggr.f_favail)
21304 return 0;
21306 return 0;
21308 _ACEOF
21309 rm -f conftest.$ac_objext
21310 if { (ac_try="$ac_compile"
21311 case "(($ac_try" in
21312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21313 *) ac_try_echo=$ac_try;;
21314 esac
21315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21316 (eval "$ac_compile") 2>conftest.er1
21317 ac_status=$?
21318 grep -v '^ *+' conftest.er1 >conftest.err
21319 rm -f conftest.er1
21320 cat conftest.err >&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); } &&
21323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21324 { (case "(($ac_try" in
21325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21326 *) ac_try_echo=$ac_try;;
21327 esac
21328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21329 (eval "$ac_try") 2>&5
21330 ac_status=$?
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); }; } &&
21333 { ac_try='test -s conftest.$ac_objext'
21334 { (case "(($ac_try" in
21335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21336 *) ac_try_echo=$ac_try;;
21337 esac
21338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21339 (eval "$ac_try") 2>&5
21340 ac_status=$?
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; }; then
21343 ac_cv_member_struct_statfs_f_favail=yes
21344 else
21345 echo "$as_me: failed program was:" >&5
21346 sed 's/^/| /' conftest.$ac_ext >&5
21348 ac_cv_member_struct_statfs_f_favail=no
21351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21356 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21357 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21358 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21360 cat >>confdefs.h <<_ACEOF
21361 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21362 _ACEOF
21366 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21367 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21368 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21369 echo $ECHO_N "(cached) $ECHO_C" >&6
21370 else
21371 cat >conftest.$ac_ext <<_ACEOF
21372 /* confdefs.h. */
21373 _ACEOF
21374 cat confdefs.h >>conftest.$ac_ext
21375 cat >>conftest.$ac_ext <<_ACEOF
21376 /* end confdefs.h. */
21377 #include <sys/types.h>
21378 #ifdef HAVE_SYS_PARAM_H
21379 # include <sys/param.h>
21380 #endif
21381 #ifdef HAVE_SYS_MOUNT_H
21382 # include <sys/mount.h>
21383 #endif
21384 #ifdef HAVE_SYS_VFS_H
21385 # include <sys/vfs.h>
21386 #endif
21387 #ifdef HAVE_SYS_STATFS_H
21388 # include <sys/statfs.h>
21389 #endif
21392 main ()
21394 static struct statfs ac_aggr;
21395 if (ac_aggr.f_namelen)
21396 return 0;
21398 return 0;
21400 _ACEOF
21401 rm -f conftest.$ac_objext
21402 if { (ac_try="$ac_compile"
21403 case "(($ac_try" in
21404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21405 *) ac_try_echo=$ac_try;;
21406 esac
21407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21408 (eval "$ac_compile") 2>conftest.er1
21409 ac_status=$?
21410 grep -v '^ *+' conftest.er1 >conftest.err
21411 rm -f conftest.er1
21412 cat conftest.err >&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); } &&
21415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21416 { (case "(($ac_try" in
21417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21418 *) ac_try_echo=$ac_try;;
21419 esac
21420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21421 (eval "$ac_try") 2>&5
21422 ac_status=$?
21423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21424 (exit $ac_status); }; } &&
21425 { ac_try='test -s conftest.$ac_objext'
21426 { (case "(($ac_try" in
21427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21428 *) ac_try_echo=$ac_try;;
21429 esac
21430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21431 (eval "$ac_try") 2>&5
21432 ac_status=$?
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; }; then
21435 ac_cv_member_struct_statfs_f_namelen=yes
21436 else
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.$ac_ext >&5
21440 cat >conftest.$ac_ext <<_ACEOF
21441 /* confdefs.h. */
21442 _ACEOF
21443 cat confdefs.h >>conftest.$ac_ext
21444 cat >>conftest.$ac_ext <<_ACEOF
21445 /* end confdefs.h. */
21446 #include <sys/types.h>
21447 #ifdef HAVE_SYS_PARAM_H
21448 # include <sys/param.h>
21449 #endif
21450 #ifdef HAVE_SYS_MOUNT_H
21451 # include <sys/mount.h>
21452 #endif
21453 #ifdef HAVE_SYS_VFS_H
21454 # include <sys/vfs.h>
21455 #endif
21456 #ifdef HAVE_SYS_STATFS_H
21457 # include <sys/statfs.h>
21458 #endif
21461 main ()
21463 static struct statfs ac_aggr;
21464 if (sizeof ac_aggr.f_namelen)
21465 return 0;
21467 return 0;
21469 _ACEOF
21470 rm -f conftest.$ac_objext
21471 if { (ac_try="$ac_compile"
21472 case "(($ac_try" in
21473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21474 *) ac_try_echo=$ac_try;;
21475 esac
21476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21477 (eval "$ac_compile") 2>conftest.er1
21478 ac_status=$?
21479 grep -v '^ *+' conftest.er1 >conftest.err
21480 rm -f conftest.er1
21481 cat conftest.err >&5
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); } &&
21484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21485 { (case "(($ac_try" in
21486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21487 *) ac_try_echo=$ac_try;;
21488 esac
21489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21490 (eval "$ac_try") 2>&5
21491 ac_status=$?
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); }; } &&
21494 { ac_try='test -s conftest.$ac_objext'
21495 { (case "(($ac_try" in
21496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21497 *) ac_try_echo=$ac_try;;
21498 esac
21499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21500 (eval "$ac_try") 2>&5
21501 ac_status=$?
21502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21503 (exit $ac_status); }; }; then
21504 ac_cv_member_struct_statfs_f_namelen=yes
21505 else
21506 echo "$as_me: failed program was:" >&5
21507 sed 's/^/| /' conftest.$ac_ext >&5
21509 ac_cv_member_struct_statfs_f_namelen=no
21512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21517 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21518 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21519 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21521 cat >>confdefs.h <<_ACEOF
21522 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21523 _ACEOF
21529 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21530 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21531 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21532 echo $ECHO_N "(cached) $ECHO_C" >&6
21533 else
21534 cat >conftest.$ac_ext <<_ACEOF
21535 /* confdefs.h. */
21536 _ACEOF
21537 cat confdefs.h >>conftest.$ac_ext
21538 cat >>conftest.$ac_ext <<_ACEOF
21539 /* end confdefs.h. */
21540 #ifdef HAVE_SYS_STATVFS_H
21541 #include <sys/statvfs.h>
21542 #endif
21545 main ()
21547 static struct statvfs ac_aggr;
21548 if (ac_aggr.f_blocks)
21549 return 0;
21551 return 0;
21553 _ACEOF
21554 rm -f conftest.$ac_objext
21555 if { (ac_try="$ac_compile"
21556 case "(($ac_try" in
21557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21558 *) ac_try_echo=$ac_try;;
21559 esac
21560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21561 (eval "$ac_compile") 2>conftest.er1
21562 ac_status=$?
21563 grep -v '^ *+' conftest.er1 >conftest.err
21564 rm -f conftest.er1
21565 cat conftest.err >&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); } &&
21568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21569 { (case "(($ac_try" in
21570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21571 *) ac_try_echo=$ac_try;;
21572 esac
21573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21574 (eval "$ac_try") 2>&5
21575 ac_status=$?
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); }; } &&
21578 { ac_try='test -s conftest.$ac_objext'
21579 { (case "(($ac_try" in
21580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21581 *) ac_try_echo=$ac_try;;
21582 esac
21583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21584 (eval "$ac_try") 2>&5
21585 ac_status=$?
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; }; then
21588 ac_cv_member_struct_statvfs_f_blocks=yes
21589 else
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.$ac_ext >&5
21593 cat >conftest.$ac_ext <<_ACEOF
21594 /* confdefs.h. */
21595 _ACEOF
21596 cat confdefs.h >>conftest.$ac_ext
21597 cat >>conftest.$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21599 #ifdef HAVE_SYS_STATVFS_H
21600 #include <sys/statvfs.h>
21601 #endif
21604 main ()
21606 static struct statvfs ac_aggr;
21607 if (sizeof ac_aggr.f_blocks)
21608 return 0;
21610 return 0;
21612 _ACEOF
21613 rm -f conftest.$ac_objext
21614 if { (ac_try="$ac_compile"
21615 case "(($ac_try" in
21616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21617 *) ac_try_echo=$ac_try;;
21618 esac
21619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21620 (eval "$ac_compile") 2>conftest.er1
21621 ac_status=$?
21622 grep -v '^ *+' conftest.er1 >conftest.err
21623 rm -f conftest.er1
21624 cat conftest.err >&5
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); } &&
21627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
21634 ac_status=$?
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); }; } &&
21637 { ac_try='test -s conftest.$ac_objext'
21638 { (case "(($ac_try" in
21639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21640 *) ac_try_echo=$ac_try;;
21641 esac
21642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21643 (eval "$ac_try") 2>&5
21644 ac_status=$?
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; }; then
21647 ac_cv_member_struct_statvfs_f_blocks=yes
21648 else
21649 echo "$as_me: failed program was:" >&5
21650 sed 's/^/| /' conftest.$ac_ext >&5
21652 ac_cv_member_struct_statvfs_f_blocks=no
21655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21660 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21661 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21662 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21664 cat >>confdefs.h <<_ACEOF
21665 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21666 _ACEOF
21672 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21673 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21674 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21675 echo $ECHO_N "(cached) $ECHO_C" >&6
21676 else
21677 cat >conftest.$ac_ext <<_ACEOF
21678 /* confdefs.h. */
21679 _ACEOF
21680 cat confdefs.h >>conftest.$ac_ext
21681 cat >>conftest.$ac_ext <<_ACEOF
21682 /* end confdefs.h. */
21683 #include <sys/types.h>
21684 #ifdef HAVE_SYS_SOCKET_H
21685 # include <sys/socket.h>
21686 #endif
21687 #ifdef HAVE_SYS_UN_H
21688 # include <sys/un.h>
21689 #endif
21692 main ()
21694 static struct msghdr ac_aggr;
21695 if (ac_aggr.msg_accrights)
21696 return 0;
21698 return 0;
21700 _ACEOF
21701 rm -f conftest.$ac_objext
21702 if { (ac_try="$ac_compile"
21703 case "(($ac_try" in
21704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21705 *) ac_try_echo=$ac_try;;
21706 esac
21707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21708 (eval "$ac_compile") 2>conftest.er1
21709 ac_status=$?
21710 grep -v '^ *+' conftest.er1 >conftest.err
21711 rm -f conftest.er1
21712 cat conftest.err >&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); } &&
21715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21716 { (case "(($ac_try" in
21717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21718 *) ac_try_echo=$ac_try;;
21719 esac
21720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21721 (eval "$ac_try") 2>&5
21722 ac_status=$?
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); }; } &&
21725 { ac_try='test -s conftest.$ac_objext'
21726 { (case "(($ac_try" in
21727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21728 *) ac_try_echo=$ac_try;;
21729 esac
21730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21731 (eval "$ac_try") 2>&5
21732 ac_status=$?
21733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21734 (exit $ac_status); }; }; then
21735 ac_cv_member_struct_msghdr_msg_accrights=yes
21736 else
21737 echo "$as_me: failed program was:" >&5
21738 sed 's/^/| /' conftest.$ac_ext >&5
21740 cat >conftest.$ac_ext <<_ACEOF
21741 /* confdefs.h. */
21742 _ACEOF
21743 cat confdefs.h >>conftest.$ac_ext
21744 cat >>conftest.$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746 #include <sys/types.h>
21747 #ifdef HAVE_SYS_SOCKET_H
21748 # include <sys/socket.h>
21749 #endif
21750 #ifdef HAVE_SYS_UN_H
21751 # include <sys/un.h>
21752 #endif
21755 main ()
21757 static struct msghdr ac_aggr;
21758 if (sizeof ac_aggr.msg_accrights)
21759 return 0;
21761 return 0;
21763 _ACEOF
21764 rm -f conftest.$ac_objext
21765 if { (ac_try="$ac_compile"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21769 esac
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_compile") 2>conftest.er1
21772 ac_status=$?
21773 grep -v '^ *+' conftest.er1 >conftest.err
21774 rm -f conftest.er1
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } &&
21778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21779 { (case "(($ac_try" in
21780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21781 *) ac_try_echo=$ac_try;;
21782 esac
21783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21784 (eval "$ac_try") 2>&5
21785 ac_status=$?
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; } &&
21788 { ac_try='test -s conftest.$ac_objext'
21789 { (case "(($ac_try" in
21790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21791 *) ac_try_echo=$ac_try;;
21792 esac
21793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21794 (eval "$ac_try") 2>&5
21795 ac_status=$?
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); }; }; then
21798 ac_cv_member_struct_msghdr_msg_accrights=yes
21799 else
21800 echo "$as_me: failed program was:" >&5
21801 sed 's/^/| /' conftest.$ac_ext >&5
21803 ac_cv_member_struct_msghdr_msg_accrights=no
21806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21811 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21812 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21813 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21815 cat >>confdefs.h <<_ACEOF
21816 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21817 _ACEOF
21821 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21822 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21823 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21824 echo $ECHO_N "(cached) $ECHO_C" >&6
21825 else
21826 cat >conftest.$ac_ext <<_ACEOF
21827 /* confdefs.h. */
21828 _ACEOF
21829 cat confdefs.h >>conftest.$ac_ext
21830 cat >>conftest.$ac_ext <<_ACEOF
21831 /* end confdefs.h. */
21832 #include <sys/types.h>
21833 #ifdef HAVE_SYS_SOCKET_H
21834 # include <sys/socket.h>
21835 #endif
21836 #ifdef HAVE_SYS_UN_H
21837 # include <sys/un.h>
21838 #endif
21841 main ()
21843 static struct sockaddr ac_aggr;
21844 if (ac_aggr.sa_len)
21845 return 0;
21847 return 0;
21849 _ACEOF
21850 rm -f conftest.$ac_objext
21851 if { (ac_try="$ac_compile"
21852 case "(($ac_try" in
21853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21854 *) ac_try_echo=$ac_try;;
21855 esac
21856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21857 (eval "$ac_compile") 2>conftest.er1
21858 ac_status=$?
21859 grep -v '^ *+' conftest.er1 >conftest.err
21860 rm -f conftest.er1
21861 cat conftest.err >&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } &&
21864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21865 { (case "(($ac_try" in
21866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21867 *) ac_try_echo=$ac_try;;
21868 esac
21869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21870 (eval "$ac_try") 2>&5
21871 ac_status=$?
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; } &&
21874 { ac_try='test -s conftest.$ac_objext'
21875 { (case "(($ac_try" in
21876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21877 *) ac_try_echo=$ac_try;;
21878 esac
21879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21880 (eval "$ac_try") 2>&5
21881 ac_status=$?
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); }; }; then
21884 ac_cv_member_struct_sockaddr_sa_len=yes
21885 else
21886 echo "$as_me: failed program was:" >&5
21887 sed 's/^/| /' conftest.$ac_ext >&5
21889 cat >conftest.$ac_ext <<_ACEOF
21890 /* confdefs.h. */
21891 _ACEOF
21892 cat confdefs.h >>conftest.$ac_ext
21893 cat >>conftest.$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21895 #include <sys/types.h>
21896 #ifdef HAVE_SYS_SOCKET_H
21897 # include <sys/socket.h>
21898 #endif
21899 #ifdef HAVE_SYS_UN_H
21900 # include <sys/un.h>
21901 #endif
21904 main ()
21906 static struct sockaddr ac_aggr;
21907 if (sizeof ac_aggr.sa_len)
21908 return 0;
21910 return 0;
21912 _ACEOF
21913 rm -f conftest.$ac_objext
21914 if { (ac_try="$ac_compile"
21915 case "(($ac_try" in
21916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21917 *) ac_try_echo=$ac_try;;
21918 esac
21919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21920 (eval "$ac_compile") 2>conftest.er1
21921 ac_status=$?
21922 grep -v '^ *+' conftest.er1 >conftest.err
21923 rm -f conftest.er1
21924 cat conftest.err >&5
21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 (exit $ac_status); } &&
21927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21928 { (case "(($ac_try" in
21929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21930 *) ac_try_echo=$ac_try;;
21931 esac
21932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21933 (eval "$ac_try") 2>&5
21934 ac_status=$?
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); }; } &&
21937 { ac_try='test -s conftest.$ac_objext'
21938 { (case "(($ac_try" in
21939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21940 *) ac_try_echo=$ac_try;;
21941 esac
21942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21943 (eval "$ac_try") 2>&5
21944 ac_status=$?
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; }; then
21947 ac_cv_member_struct_sockaddr_sa_len=yes
21948 else
21949 echo "$as_me: failed program was:" >&5
21950 sed 's/^/| /' conftest.$ac_ext >&5
21952 ac_cv_member_struct_sockaddr_sa_len=no
21955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21960 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21961 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21962 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21964 cat >>confdefs.h <<_ACEOF
21965 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21966 _ACEOF
21970 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21971 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21972 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21973 echo $ECHO_N "(cached) $ECHO_C" >&6
21974 else
21975 cat >conftest.$ac_ext <<_ACEOF
21976 /* confdefs.h. */
21977 _ACEOF
21978 cat confdefs.h >>conftest.$ac_ext
21979 cat >>conftest.$ac_ext <<_ACEOF
21980 /* end confdefs.h. */
21981 #include <sys/types.h>
21982 #ifdef HAVE_SYS_SOCKET_H
21983 # include <sys/socket.h>
21984 #endif
21985 #ifdef HAVE_SYS_UN_H
21986 # include <sys/un.h>
21987 #endif
21990 main ()
21992 static struct sockaddr_un ac_aggr;
21993 if (ac_aggr.sun_len)
21994 return 0;
21996 return 0;
21998 _ACEOF
21999 rm -f conftest.$ac_objext
22000 if { (ac_try="$ac_compile"
22001 case "(($ac_try" in
22002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22003 *) ac_try_echo=$ac_try;;
22004 esac
22005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22006 (eval "$ac_compile") 2>conftest.er1
22007 ac_status=$?
22008 grep -v '^ *+' conftest.er1 >conftest.err
22009 rm -f conftest.er1
22010 cat conftest.err >&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); } &&
22013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22014 { (case "(($ac_try" in
22015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22016 *) ac_try_echo=$ac_try;;
22017 esac
22018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22019 (eval "$ac_try") 2>&5
22020 ac_status=$?
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; } &&
22023 { ac_try='test -s conftest.$ac_objext'
22024 { (case "(($ac_try" in
22025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22026 *) ac_try_echo=$ac_try;;
22027 esac
22028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22029 (eval "$ac_try") 2>&5
22030 ac_status=$?
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; }; then
22033 ac_cv_member_struct_sockaddr_un_sun_len=yes
22034 else
22035 echo "$as_me: failed program was:" >&5
22036 sed 's/^/| /' conftest.$ac_ext >&5
22038 cat >conftest.$ac_ext <<_ACEOF
22039 /* confdefs.h. */
22040 _ACEOF
22041 cat confdefs.h >>conftest.$ac_ext
22042 cat >>conftest.$ac_ext <<_ACEOF
22043 /* end confdefs.h. */
22044 #include <sys/types.h>
22045 #ifdef HAVE_SYS_SOCKET_H
22046 # include <sys/socket.h>
22047 #endif
22048 #ifdef HAVE_SYS_UN_H
22049 # include <sys/un.h>
22050 #endif
22053 main ()
22055 static struct sockaddr_un ac_aggr;
22056 if (sizeof ac_aggr.sun_len)
22057 return 0;
22059 return 0;
22061 _ACEOF
22062 rm -f conftest.$ac_objext
22063 if { (ac_try="$ac_compile"
22064 case "(($ac_try" in
22065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22066 *) ac_try_echo=$ac_try;;
22067 esac
22068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22069 (eval "$ac_compile") 2>conftest.er1
22070 ac_status=$?
22071 grep -v '^ *+' conftest.er1 >conftest.err
22072 rm -f conftest.er1
22073 cat conftest.err >&5
22074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075 (exit $ac_status); } &&
22076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22077 { (case "(($ac_try" in
22078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22079 *) ac_try_echo=$ac_try;;
22080 esac
22081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22082 (eval "$ac_try") 2>&5
22083 ac_status=$?
22084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22085 (exit $ac_status); }; } &&
22086 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
22096 ac_cv_member_struct_sockaddr_un_sun_len=yes
22097 else
22098 echo "$as_me: failed program was:" >&5
22099 sed 's/^/| /' conftest.$ac_ext >&5
22101 ac_cv_member_struct_sockaddr_un_sun_len=no
22104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22109 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22110 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22111 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22113 cat >>confdefs.h <<_ACEOF
22114 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22115 _ACEOF
22121 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22122 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22123 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22124 echo $ECHO_N "(cached) $ECHO_C" >&6
22125 else
22126 cat >conftest.$ac_ext <<_ACEOF
22127 /* confdefs.h. */
22128 _ACEOF
22129 cat confdefs.h >>conftest.$ac_ext
22130 cat >>conftest.$ac_ext <<_ACEOF
22131 /* end confdefs.h. */
22132 #include <sys/types.h>
22133 #ifdef HAVE_SCSI_SG_H
22134 #include <scsi/sg.h>
22135 #endif
22138 main ()
22140 static scsireq_t ac_aggr;
22141 if (ac_aggr.cmd)
22142 return 0;
22144 return 0;
22146 _ACEOF
22147 rm -f conftest.$ac_objext
22148 if { (ac_try="$ac_compile"
22149 case "(($ac_try" in
22150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22151 *) ac_try_echo=$ac_try;;
22152 esac
22153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22154 (eval "$ac_compile") 2>conftest.er1
22155 ac_status=$?
22156 grep -v '^ *+' conftest.er1 >conftest.err
22157 rm -f conftest.er1
22158 cat conftest.err >&5
22159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160 (exit $ac_status); } &&
22161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22162 { (case "(($ac_try" in
22163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22164 *) ac_try_echo=$ac_try;;
22165 esac
22166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22167 (eval "$ac_try") 2>&5
22168 ac_status=$?
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); }; } &&
22171 { ac_try='test -s conftest.$ac_objext'
22172 { (case "(($ac_try" in
22173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22174 *) ac_try_echo=$ac_try;;
22175 esac
22176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22177 (eval "$ac_try") 2>&5
22178 ac_status=$?
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); }; }; then
22181 ac_cv_member_scsireq_t_cmd=yes
22182 else
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.$ac_ext >&5
22186 cat >conftest.$ac_ext <<_ACEOF
22187 /* confdefs.h. */
22188 _ACEOF
22189 cat confdefs.h >>conftest.$ac_ext
22190 cat >>conftest.$ac_ext <<_ACEOF
22191 /* end confdefs.h. */
22192 #include <sys/types.h>
22193 #ifdef HAVE_SCSI_SG_H
22194 #include <scsi/sg.h>
22195 #endif
22198 main ()
22200 static scsireq_t ac_aggr;
22201 if (sizeof ac_aggr.cmd)
22202 return 0;
22204 return 0;
22206 _ACEOF
22207 rm -f conftest.$ac_objext
22208 if { (ac_try="$ac_compile"
22209 case "(($ac_try" in
22210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22211 *) ac_try_echo=$ac_try;;
22212 esac
22213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22214 (eval "$ac_compile") 2>conftest.er1
22215 ac_status=$?
22216 grep -v '^ *+' conftest.er1 >conftest.err
22217 rm -f conftest.er1
22218 cat conftest.err >&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); } &&
22221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22222 { (case "(($ac_try" in
22223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22224 *) ac_try_echo=$ac_try;;
22225 esac
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22227 (eval "$ac_try") 2>&5
22228 ac_status=$?
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); }; } &&
22231 { ac_try='test -s conftest.$ac_objext'
22232 { (case "(($ac_try" in
22233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22234 *) ac_try_echo=$ac_try;;
22235 esac
22236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22237 (eval "$ac_try") 2>&5
22238 ac_status=$?
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); }; }; then
22241 ac_cv_member_scsireq_t_cmd=yes
22242 else
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22246 ac_cv_member_scsireq_t_cmd=no
22249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22254 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22255 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22256 if test $ac_cv_member_scsireq_t_cmd = yes; then
22258 cat >>confdefs.h <<_ACEOF
22259 #define HAVE_SCSIREQ_T_CMD 1
22260 _ACEOF
22264 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22265 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22266 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22267 echo $ECHO_N "(cached) $ECHO_C" >&6
22268 else
22269 cat >conftest.$ac_ext <<_ACEOF
22270 /* confdefs.h. */
22271 _ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 #include <sys/types.h>
22276 #ifdef HAVE_SCSI_SG_H
22277 #include <scsi/sg.h>
22278 #endif
22281 main ()
22283 static sg_io_hdr_t ac_aggr;
22284 if (ac_aggr.interface_id)
22285 return 0;
22287 return 0;
22289 _ACEOF
22290 rm -f conftest.$ac_objext
22291 if { (ac_try="$ac_compile"
22292 case "(($ac_try" in
22293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22294 *) ac_try_echo=$ac_try;;
22295 esac
22296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22297 (eval "$ac_compile") 2>conftest.er1
22298 ac_status=$?
22299 grep -v '^ *+' conftest.er1 >conftest.err
22300 rm -f conftest.er1
22301 cat conftest.err >&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); } &&
22304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22305 { (case "(($ac_try" in
22306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22307 *) ac_try_echo=$ac_try;;
22308 esac
22309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22310 (eval "$ac_try") 2>&5
22311 ac_status=$?
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); }; } &&
22314 { ac_try='test -s conftest.$ac_objext'
22315 { (case "(($ac_try" in
22316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22317 *) ac_try_echo=$ac_try;;
22318 esac
22319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22320 (eval "$ac_try") 2>&5
22321 ac_status=$?
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); }; }; then
22324 ac_cv_member_sg_io_hdr_t_interface_id=yes
22325 else
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22329 cat >conftest.$ac_ext <<_ACEOF
22330 /* confdefs.h. */
22331 _ACEOF
22332 cat confdefs.h >>conftest.$ac_ext
22333 cat >>conftest.$ac_ext <<_ACEOF
22334 /* end confdefs.h. */
22335 #include <sys/types.h>
22336 #ifdef HAVE_SCSI_SG_H
22337 #include <scsi/sg.h>
22338 #endif
22341 main ()
22343 static sg_io_hdr_t ac_aggr;
22344 if (sizeof ac_aggr.interface_id)
22345 return 0;
22347 return 0;
22349 _ACEOF
22350 rm -f conftest.$ac_objext
22351 if { (ac_try="$ac_compile"
22352 case "(($ac_try" in
22353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22354 *) ac_try_echo=$ac_try;;
22355 esac
22356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22357 (eval "$ac_compile") 2>conftest.er1
22358 ac_status=$?
22359 grep -v '^ *+' conftest.er1 >conftest.err
22360 rm -f conftest.er1
22361 cat conftest.err >&5
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); } &&
22364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22365 { (case "(($ac_try" in
22366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22367 *) ac_try_echo=$ac_try;;
22368 esac
22369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22370 (eval "$ac_try") 2>&5
22371 ac_status=$?
22372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22373 (exit $ac_status); }; } &&
22374 { ac_try='test -s conftest.$ac_objext'
22375 { (case "(($ac_try" in
22376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22377 *) ac_try_echo=$ac_try;;
22378 esac
22379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22380 (eval "$ac_try") 2>&5
22381 ac_status=$?
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); }; }; then
22384 ac_cv_member_sg_io_hdr_t_interface_id=yes
22385 else
22386 echo "$as_me: failed program was:" >&5
22387 sed 's/^/| /' conftest.$ac_ext >&5
22389 ac_cv_member_sg_io_hdr_t_interface_id=no
22392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22397 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22398 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22399 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22401 cat >>confdefs.h <<_ACEOF
22402 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22403 _ACEOF
22409 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22410 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22411 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22412 echo $ECHO_N "(cached) $ECHO_C" >&6
22413 else
22414 cat >conftest.$ac_ext <<_ACEOF
22415 /* confdefs.h. */
22416 _ACEOF
22417 cat confdefs.h >>conftest.$ac_ext
22418 cat >>conftest.$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22420 #include <signal.h>
22423 main ()
22425 static siginfo_t ac_aggr;
22426 if (ac_aggr.si_fd)
22427 return 0;
22429 return 0;
22431 _ACEOF
22432 rm -f conftest.$ac_objext
22433 if { (ac_try="$ac_compile"
22434 case "(($ac_try" in
22435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22436 *) ac_try_echo=$ac_try;;
22437 esac
22438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22439 (eval "$ac_compile") 2>conftest.er1
22440 ac_status=$?
22441 grep -v '^ *+' conftest.er1 >conftest.err
22442 rm -f conftest.er1
22443 cat conftest.err >&5
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); } &&
22446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22447 { (case "(($ac_try" in
22448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22449 *) ac_try_echo=$ac_try;;
22450 esac
22451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22452 (eval "$ac_try") 2>&5
22453 ac_status=$?
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; } &&
22456 { ac_try='test -s conftest.$ac_objext'
22457 { (case "(($ac_try" in
22458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22459 *) ac_try_echo=$ac_try;;
22460 esac
22461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22462 (eval "$ac_try") 2>&5
22463 ac_status=$?
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; }; then
22466 ac_cv_member_siginfo_t_si_fd=yes
22467 else
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22471 cat >conftest.$ac_ext <<_ACEOF
22472 /* confdefs.h. */
22473 _ACEOF
22474 cat confdefs.h >>conftest.$ac_ext
22475 cat >>conftest.$ac_ext <<_ACEOF
22476 /* end confdefs.h. */
22477 #include <signal.h>
22480 main ()
22482 static siginfo_t ac_aggr;
22483 if (sizeof ac_aggr.si_fd)
22484 return 0;
22486 return 0;
22488 _ACEOF
22489 rm -f conftest.$ac_objext
22490 if { (ac_try="$ac_compile"
22491 case "(($ac_try" in
22492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22493 *) ac_try_echo=$ac_try;;
22494 esac
22495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22496 (eval "$ac_compile") 2>conftest.er1
22497 ac_status=$?
22498 grep -v '^ *+' conftest.er1 >conftest.err
22499 rm -f conftest.er1
22500 cat conftest.err >&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); } &&
22503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22504 { (case "(($ac_try" in
22505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22506 *) ac_try_echo=$ac_try;;
22507 esac
22508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22509 (eval "$ac_try") 2>&5
22510 ac_status=$?
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); }; } &&
22513 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
22523 ac_cv_member_siginfo_t_si_fd=yes
22524 else
22525 echo "$as_me: failed program was:" >&5
22526 sed 's/^/| /' conftest.$ac_ext >&5
22528 ac_cv_member_siginfo_t_si_fd=no
22531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22536 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22537 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22538 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22540 cat >>confdefs.h <<_ACEOF
22541 #define HAVE_SIGINFO_T_SI_FD 1
22542 _ACEOF
22548 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22549 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22550 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22551 echo $ECHO_N "(cached) $ECHO_C" >&6
22552 else
22553 cat >conftest.$ac_ext <<_ACEOF
22554 /* confdefs.h. */
22555 _ACEOF
22556 cat confdefs.h >>conftest.$ac_ext
22557 cat >>conftest.$ac_ext <<_ACEOF
22558 /* end confdefs.h. */
22559 #include <sys/types.h>
22560 #ifdef HAVE_SYS_MTIO_H
22561 #include <sys/mtio.h>
22562 #endif
22565 main ()
22567 static struct mtget ac_aggr;
22568 if (ac_aggr.mt_blksiz)
22569 return 0;
22571 return 0;
22573 _ACEOF
22574 rm -f conftest.$ac_objext
22575 if { (ac_try="$ac_compile"
22576 case "(($ac_try" in
22577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22578 *) ac_try_echo=$ac_try;;
22579 esac
22580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22581 (eval "$ac_compile") 2>conftest.er1
22582 ac_status=$?
22583 grep -v '^ *+' conftest.er1 >conftest.err
22584 rm -f conftest.er1
22585 cat conftest.err >&5
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); } &&
22588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22589 { (case "(($ac_try" in
22590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22591 *) ac_try_echo=$ac_try;;
22592 esac
22593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22594 (eval "$ac_try") 2>&5
22595 ac_status=$?
22596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597 (exit $ac_status); }; } &&
22598 { ac_try='test -s conftest.$ac_objext'
22599 { (case "(($ac_try" in
22600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22601 *) ac_try_echo=$ac_try;;
22602 esac
22603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22604 (eval "$ac_try") 2>&5
22605 ac_status=$?
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); }; }; then
22608 ac_cv_member_struct_mtget_mt_blksiz=yes
22609 else
22610 echo "$as_me: failed program was:" >&5
22611 sed 's/^/| /' conftest.$ac_ext >&5
22613 cat >conftest.$ac_ext <<_ACEOF
22614 /* confdefs.h. */
22615 _ACEOF
22616 cat confdefs.h >>conftest.$ac_ext
22617 cat >>conftest.$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22619 #include <sys/types.h>
22620 #ifdef HAVE_SYS_MTIO_H
22621 #include <sys/mtio.h>
22622 #endif
22625 main ()
22627 static struct mtget ac_aggr;
22628 if (sizeof ac_aggr.mt_blksiz)
22629 return 0;
22631 return 0;
22633 _ACEOF
22634 rm -f conftest.$ac_objext
22635 if { (ac_try="$ac_compile"
22636 case "(($ac_try" in
22637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22638 *) ac_try_echo=$ac_try;;
22639 esac
22640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22641 (eval "$ac_compile") 2>conftest.er1
22642 ac_status=$?
22643 grep -v '^ *+' conftest.er1 >conftest.err
22644 rm -f conftest.er1
22645 cat conftest.err >&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); } &&
22648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22649 { (case "(($ac_try" in
22650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22651 *) ac_try_echo=$ac_try;;
22652 esac
22653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22654 (eval "$ac_try") 2>&5
22655 ac_status=$?
22656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22657 (exit $ac_status); }; } &&
22658 { ac_try='test -s conftest.$ac_objext'
22659 { (case "(($ac_try" in
22660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22661 *) ac_try_echo=$ac_try;;
22662 esac
22663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22664 (eval "$ac_try") 2>&5
22665 ac_status=$?
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); }; }; then
22668 ac_cv_member_struct_mtget_mt_blksiz=yes
22669 else
22670 echo "$as_me: failed program was:" >&5
22671 sed 's/^/| /' conftest.$ac_ext >&5
22673 ac_cv_member_struct_mtget_mt_blksiz=no
22676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22681 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22682 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22683 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22685 cat >>confdefs.h <<_ACEOF
22686 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22687 _ACEOF
22691 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22692 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22693 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22694 echo $ECHO_N "(cached) $ECHO_C" >&6
22695 else
22696 cat >conftest.$ac_ext <<_ACEOF
22697 /* confdefs.h. */
22698 _ACEOF
22699 cat confdefs.h >>conftest.$ac_ext
22700 cat >>conftest.$ac_ext <<_ACEOF
22701 /* end confdefs.h. */
22702 #include <sys/types.h>
22703 #ifdef HAVE_SYS_MTIO_H
22704 #include <sys/mtio.h>
22705 #endif
22708 main ()
22710 static struct mtget ac_aggr;
22711 if (ac_aggr.mt_gstat)
22712 return 0;
22714 return 0;
22716 _ACEOF
22717 rm -f conftest.$ac_objext
22718 if { (ac_try="$ac_compile"
22719 case "(($ac_try" in
22720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22721 *) ac_try_echo=$ac_try;;
22722 esac
22723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22724 (eval "$ac_compile") 2>conftest.er1
22725 ac_status=$?
22726 grep -v '^ *+' conftest.er1 >conftest.err
22727 rm -f conftest.er1
22728 cat conftest.err >&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); } &&
22731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22732 { (case "(($ac_try" in
22733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22734 *) ac_try_echo=$ac_try;;
22735 esac
22736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22737 (eval "$ac_try") 2>&5
22738 ac_status=$?
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); }; } &&
22741 { ac_try='test -s conftest.$ac_objext'
22742 { (case "(($ac_try" in
22743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22744 *) ac_try_echo=$ac_try;;
22745 esac
22746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22747 (eval "$ac_try") 2>&5
22748 ac_status=$?
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); }; }; then
22751 ac_cv_member_struct_mtget_mt_gstat=yes
22752 else
22753 echo "$as_me: failed program was:" >&5
22754 sed 's/^/| /' conftest.$ac_ext >&5
22756 cat >conftest.$ac_ext <<_ACEOF
22757 /* confdefs.h. */
22758 _ACEOF
22759 cat confdefs.h >>conftest.$ac_ext
22760 cat >>conftest.$ac_ext <<_ACEOF
22761 /* end confdefs.h. */
22762 #include <sys/types.h>
22763 #ifdef HAVE_SYS_MTIO_H
22764 #include <sys/mtio.h>
22765 #endif
22768 main ()
22770 static struct mtget ac_aggr;
22771 if (sizeof ac_aggr.mt_gstat)
22772 return 0;
22774 return 0;
22776 _ACEOF
22777 rm -f conftest.$ac_objext
22778 if { (ac_try="$ac_compile"
22779 case "(($ac_try" in
22780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22781 *) ac_try_echo=$ac_try;;
22782 esac
22783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22784 (eval "$ac_compile") 2>conftest.er1
22785 ac_status=$?
22786 grep -v '^ *+' conftest.er1 >conftest.err
22787 rm -f conftest.er1
22788 cat conftest.err >&5
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); } &&
22791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22792 { (case "(($ac_try" in
22793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22794 *) ac_try_echo=$ac_try;;
22795 esac
22796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22797 (eval "$ac_try") 2>&5
22798 ac_status=$?
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); }; } &&
22801 { ac_try='test -s conftest.$ac_objext'
22802 { (case "(($ac_try" in
22803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22804 *) ac_try_echo=$ac_try;;
22805 esac
22806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22807 (eval "$ac_try") 2>&5
22808 ac_status=$?
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); }; }; then
22811 ac_cv_member_struct_mtget_mt_gstat=yes
22812 else
22813 echo "$as_me: failed program was:" >&5
22814 sed 's/^/| /' conftest.$ac_ext >&5
22816 ac_cv_member_struct_mtget_mt_gstat=no
22819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22824 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22825 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22826 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22828 cat >>confdefs.h <<_ACEOF
22829 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22830 _ACEOF
22834 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22835 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22836 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22837 echo $ECHO_N "(cached) $ECHO_C" >&6
22838 else
22839 cat >conftest.$ac_ext <<_ACEOF
22840 /* confdefs.h. */
22841 _ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h. */
22845 #include <sys/types.h>
22846 #ifdef HAVE_SYS_MTIO_H
22847 #include <sys/mtio.h>
22848 #endif
22851 main ()
22853 static struct mtget ac_aggr;
22854 if (ac_aggr.mt_blkno)
22855 return 0;
22857 return 0;
22859 _ACEOF
22860 rm -f conftest.$ac_objext
22861 if { (ac_try="$ac_compile"
22862 case "(($ac_try" in
22863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22864 *) ac_try_echo=$ac_try;;
22865 esac
22866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22867 (eval "$ac_compile") 2>conftest.er1
22868 ac_status=$?
22869 grep -v '^ *+' conftest.er1 >conftest.err
22870 rm -f conftest.er1
22871 cat conftest.err >&5
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); } &&
22874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22875 { (case "(($ac_try" in
22876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22877 *) ac_try_echo=$ac_try;;
22878 esac
22879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22880 (eval "$ac_try") 2>&5
22881 ac_status=$?
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); }; } &&
22884 { ac_try='test -s conftest.$ac_objext'
22885 { (case "(($ac_try" in
22886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22887 *) ac_try_echo=$ac_try;;
22888 esac
22889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22890 (eval "$ac_try") 2>&5
22891 ac_status=$?
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); }; }; then
22894 ac_cv_member_struct_mtget_mt_blkno=yes
22895 else
22896 echo "$as_me: failed program was:" >&5
22897 sed 's/^/| /' conftest.$ac_ext >&5
22899 cat >conftest.$ac_ext <<_ACEOF
22900 /* confdefs.h. */
22901 _ACEOF
22902 cat confdefs.h >>conftest.$ac_ext
22903 cat >>conftest.$ac_ext <<_ACEOF
22904 /* end confdefs.h. */
22905 #include <sys/types.h>
22906 #ifdef HAVE_SYS_MTIO_H
22907 #include <sys/mtio.h>
22908 #endif
22911 main ()
22913 static struct mtget ac_aggr;
22914 if (sizeof ac_aggr.mt_blkno)
22915 return 0;
22917 return 0;
22919 _ACEOF
22920 rm -f conftest.$ac_objext
22921 if { (ac_try="$ac_compile"
22922 case "(($ac_try" in
22923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22924 *) ac_try_echo=$ac_try;;
22925 esac
22926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22927 (eval "$ac_compile") 2>conftest.er1
22928 ac_status=$?
22929 grep -v '^ *+' conftest.er1 >conftest.err
22930 rm -f conftest.er1
22931 cat conftest.err >&5
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); } &&
22934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22935 { (case "(($ac_try" in
22936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22937 *) ac_try_echo=$ac_try;;
22938 esac
22939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22940 (eval "$ac_try") 2>&5
22941 ac_status=$?
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; } &&
22944 { ac_try='test -s conftest.$ac_objext'
22945 { (case "(($ac_try" in
22946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22947 *) ac_try_echo=$ac_try;;
22948 esac
22949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22950 (eval "$ac_try") 2>&5
22951 ac_status=$?
22952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22953 (exit $ac_status); }; }; then
22954 ac_cv_member_struct_mtget_mt_blkno=yes
22955 else
22956 echo "$as_me: failed program was:" >&5
22957 sed 's/^/| /' conftest.$ac_ext >&5
22959 ac_cv_member_struct_mtget_mt_blkno=no
22962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22967 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22968 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22969 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22971 cat >>confdefs.h <<_ACEOF
22972 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22973 _ACEOF
22979 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22980 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22981 if test "${ac_cv_member_struct_option_name+set}" = set; then
22982 echo $ECHO_N "(cached) $ECHO_C" >&6
22983 else
22984 cat >conftest.$ac_ext <<_ACEOF
22985 /* confdefs.h. */
22986 _ACEOF
22987 cat confdefs.h >>conftest.$ac_ext
22988 cat >>conftest.$ac_ext <<_ACEOF
22989 /* end confdefs.h. */
22990 #ifdef HAVE_GETOPT_H
22991 #include <getopt.h>
22992 #endif
22995 main ()
22997 static struct option ac_aggr;
22998 if (ac_aggr.name)
22999 return 0;
23001 return 0;
23003 _ACEOF
23004 rm -f conftest.$ac_objext
23005 if { (ac_try="$ac_compile"
23006 case "(($ac_try" in
23007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23008 *) ac_try_echo=$ac_try;;
23009 esac
23010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23011 (eval "$ac_compile") 2>conftest.er1
23012 ac_status=$?
23013 grep -v '^ *+' conftest.er1 >conftest.err
23014 rm -f conftest.er1
23015 cat conftest.err >&5
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); } &&
23018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23019 { (case "(($ac_try" in
23020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23021 *) ac_try_echo=$ac_try;;
23022 esac
23023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23024 (eval "$ac_try") 2>&5
23025 ac_status=$?
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); }; } &&
23028 { ac_try='test -s conftest.$ac_objext'
23029 { (case "(($ac_try" in
23030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23031 *) ac_try_echo=$ac_try;;
23032 esac
23033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23034 (eval "$ac_try") 2>&5
23035 ac_status=$?
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); }; }; then
23038 ac_cv_member_struct_option_name=yes
23039 else
23040 echo "$as_me: failed program was:" >&5
23041 sed 's/^/| /' conftest.$ac_ext >&5
23043 cat >conftest.$ac_ext <<_ACEOF
23044 /* confdefs.h. */
23045 _ACEOF
23046 cat confdefs.h >>conftest.$ac_ext
23047 cat >>conftest.$ac_ext <<_ACEOF
23048 /* end confdefs.h. */
23049 #ifdef HAVE_GETOPT_H
23050 #include <getopt.h>
23051 #endif
23054 main ()
23056 static struct option ac_aggr;
23057 if (sizeof ac_aggr.name)
23058 return 0;
23060 return 0;
23062 _ACEOF
23063 rm -f conftest.$ac_objext
23064 if { (ac_try="$ac_compile"
23065 case "(($ac_try" in
23066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23067 *) ac_try_echo=$ac_try;;
23068 esac
23069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23070 (eval "$ac_compile") 2>conftest.er1
23071 ac_status=$?
23072 grep -v '^ *+' conftest.er1 >conftest.err
23073 rm -f conftest.er1
23074 cat conftest.err >&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); } &&
23077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23078 { (case "(($ac_try" in
23079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23080 *) ac_try_echo=$ac_try;;
23081 esac
23082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23083 (eval "$ac_try") 2>&5
23084 ac_status=$?
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); }; } &&
23087 { ac_try='test -s conftest.$ac_objext'
23088 { (case "(($ac_try" in
23089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23090 *) ac_try_echo=$ac_try;;
23091 esac
23092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23093 (eval "$ac_try") 2>&5
23094 ac_status=$?
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); }; }; then
23097 ac_cv_member_struct_option_name=yes
23098 else
23099 echo "$as_me: failed program was:" >&5
23100 sed 's/^/| /' conftest.$ac_ext >&5
23102 ac_cv_member_struct_option_name=no
23105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23110 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23111 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23112 if test $ac_cv_member_struct_option_name = yes; then
23114 cat >>confdefs.h <<_ACEOF
23115 #define HAVE_STRUCT_OPTION_NAME 1
23116 _ACEOF
23122 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23123 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23124 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23125 echo $ECHO_N "(cached) $ECHO_C" >&6
23126 else
23127 cat >conftest.$ac_ext <<_ACEOF
23128 /* confdefs.h. */
23129 _ACEOF
23130 cat confdefs.h >>conftest.$ac_ext
23131 cat >>conftest.$ac_ext <<_ACEOF
23132 /* end confdefs.h. */
23133 $ac_includes_default
23135 main ()
23137 static struct stat ac_aggr;
23138 if (ac_aggr.st_blocks)
23139 return 0;
23141 return 0;
23143 _ACEOF
23144 rm -f conftest.$ac_objext
23145 if { (ac_try="$ac_compile"
23146 case "(($ac_try" in
23147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23148 *) ac_try_echo=$ac_try;;
23149 esac
23150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23151 (eval "$ac_compile") 2>conftest.er1
23152 ac_status=$?
23153 grep -v '^ *+' conftest.er1 >conftest.err
23154 rm -f conftest.er1
23155 cat conftest.err >&5
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); } &&
23158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23159 { (case "(($ac_try" in
23160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23161 *) ac_try_echo=$ac_try;;
23162 esac
23163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23164 (eval "$ac_try") 2>&5
23165 ac_status=$?
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); }; } &&
23168 { ac_try='test -s conftest.$ac_objext'
23169 { (case "(($ac_try" in
23170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23171 *) ac_try_echo=$ac_try;;
23172 esac
23173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23174 (eval "$ac_try") 2>&5
23175 ac_status=$?
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; }; then
23178 ac_cv_member_struct_stat_st_blocks=yes
23179 else
23180 echo "$as_me: failed program was:" >&5
23181 sed 's/^/| /' conftest.$ac_ext >&5
23183 cat >conftest.$ac_ext <<_ACEOF
23184 /* confdefs.h. */
23185 _ACEOF
23186 cat confdefs.h >>conftest.$ac_ext
23187 cat >>conftest.$ac_ext <<_ACEOF
23188 /* end confdefs.h. */
23189 $ac_includes_default
23191 main ()
23193 static struct stat ac_aggr;
23194 if (sizeof ac_aggr.st_blocks)
23195 return 0;
23197 return 0;
23199 _ACEOF
23200 rm -f conftest.$ac_objext
23201 if { (ac_try="$ac_compile"
23202 case "(($ac_try" in
23203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23204 *) ac_try_echo=$ac_try;;
23205 esac
23206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23207 (eval "$ac_compile") 2>conftest.er1
23208 ac_status=$?
23209 grep -v '^ *+' conftest.er1 >conftest.err
23210 rm -f conftest.er1
23211 cat conftest.err >&5
23212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213 (exit $ac_status); } &&
23214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23215 { (case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23218 esac
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_try") 2>&5
23221 ac_status=$?
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; } &&
23224 { ac_try='test -s conftest.$ac_objext'
23225 { (case "(($ac_try" in
23226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23227 *) ac_try_echo=$ac_try;;
23228 esac
23229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23230 (eval "$ac_try") 2>&5
23231 ac_status=$?
23232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23233 (exit $ac_status); }; }; then
23234 ac_cv_member_struct_stat_st_blocks=yes
23235 else
23236 echo "$as_me: failed program was:" >&5
23237 sed 's/^/| /' conftest.$ac_ext >&5
23239 ac_cv_member_struct_stat_st_blocks=no
23242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23247 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23248 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23249 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23251 cat >>confdefs.h <<_ACEOF
23252 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23253 _ACEOF
23259 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23260 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23261 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 else
23264 cat >conftest.$ac_ext <<_ACEOF
23265 /* confdefs.h. */
23266 _ACEOF
23267 cat confdefs.h >>conftest.$ac_ext
23268 cat >>conftest.$ac_ext <<_ACEOF
23269 /* end confdefs.h. */
23270 #ifdef HAVE_SYS_TYPES_H
23271 #include <sys/types.h>
23272 #endif
23273 #ifdef HAVE_NETINET_IN_H
23274 #include <netinet/in.h>
23275 #endif
23278 main ()
23280 static struct sockaddr_in6 ac_aggr;
23281 if (ac_aggr.sin6_scope_id)
23282 return 0;
23284 return 0;
23286 _ACEOF
23287 rm -f conftest.$ac_objext
23288 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23295 ac_status=$?
23296 grep -v '^ *+' conftest.er1 >conftest.err
23297 rm -f conftest.er1
23298 cat conftest.err >&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } &&
23301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23302 { (case "(($ac_try" in
23303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23304 *) ac_try_echo=$ac_try;;
23305 esac
23306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23307 (eval "$ac_try") 2>&5
23308 ac_status=$?
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); }; } &&
23311 { ac_try='test -s conftest.$ac_objext'
23312 { (case "(($ac_try" in
23313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23314 *) ac_try_echo=$ac_try;;
23315 esac
23316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23317 (eval "$ac_try") 2>&5
23318 ac_status=$?
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); }; }; then
23321 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23322 else
23323 echo "$as_me: failed program was:" >&5
23324 sed 's/^/| /' conftest.$ac_ext >&5
23326 cat >conftest.$ac_ext <<_ACEOF
23327 /* confdefs.h. */
23328 _ACEOF
23329 cat confdefs.h >>conftest.$ac_ext
23330 cat >>conftest.$ac_ext <<_ACEOF
23331 /* end confdefs.h. */
23332 #ifdef HAVE_SYS_TYPES_H
23333 #include <sys/types.h>
23334 #endif
23335 #ifdef HAVE_NETINET_IN_H
23336 #include <netinet/in.h>
23337 #endif
23340 main ()
23342 static struct sockaddr_in6 ac_aggr;
23343 if (sizeof ac_aggr.sin6_scope_id)
23344 return 0;
23346 return 0;
23348 _ACEOF
23349 rm -f conftest.$ac_objext
23350 if { (ac_try="$ac_compile"
23351 case "(($ac_try" in
23352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23353 *) ac_try_echo=$ac_try;;
23354 esac
23355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23356 (eval "$ac_compile") 2>conftest.er1
23357 ac_status=$?
23358 grep -v '^ *+' conftest.er1 >conftest.err
23359 rm -f conftest.er1
23360 cat conftest.err >&5
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); } &&
23363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23364 { (case "(($ac_try" in
23365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23366 *) ac_try_echo=$ac_try;;
23367 esac
23368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23369 (eval "$ac_try") 2>&5
23370 ac_status=$?
23371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); }; } &&
23373 { ac_try='test -s conftest.$ac_objext'
23374 { (case "(($ac_try" in
23375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23376 *) ac_try_echo=$ac_try;;
23377 esac
23378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23379 (eval "$ac_try") 2>&5
23380 ac_status=$?
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); }; }; then
23383 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23384 else
23385 echo "$as_me: failed program was:" >&5
23386 sed 's/^/| /' conftest.$ac_ext >&5
23388 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23396 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23397 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23398 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23400 cat >>confdefs.h <<_ACEOF
23401 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23402 _ACEOF
23408 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23409 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23410 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23411 echo $ECHO_N "(cached) $ECHO_C" >&6
23412 else
23413 cat >conftest.$ac_ext <<_ACEOF
23414 /* confdefs.h. */
23415 _ACEOF
23416 cat confdefs.h >>conftest.$ac_ext
23417 cat >>conftest.$ac_ext <<_ACEOF
23418 /* end confdefs.h. */
23419 #ifdef HAVE_SYS_TYPES_H
23420 #include <sys/types.h>
23421 #endif
23422 #ifdef HAVE_NETINET_IN_H
23423 # include <netinet/in.h>
23424 #endif
23425 #ifdef HAVE_ARPA_NAMESER_H
23426 # include <arpa/nameser.h>
23427 #endif
23430 main ()
23432 static ns_msg ac_aggr;
23433 if (ac_aggr._msg_ptr)
23434 return 0;
23436 return 0;
23438 _ACEOF
23439 rm -f conftest.$ac_objext
23440 if { (ac_try="$ac_compile"
23441 case "(($ac_try" in
23442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23443 *) ac_try_echo=$ac_try;;
23444 esac
23445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23446 (eval "$ac_compile") 2>conftest.er1
23447 ac_status=$?
23448 grep -v '^ *+' conftest.er1 >conftest.err
23449 rm -f conftest.er1
23450 cat conftest.err >&5
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); } &&
23453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
23463 { ac_try='test -s conftest.$ac_objext'
23464 { (case "(($ac_try" in
23465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23466 *) ac_try_echo=$ac_try;;
23467 esac
23468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23469 (eval "$ac_try") 2>&5
23470 ac_status=$?
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23473 ac_cv_member_ns_msg__msg_ptr=yes
23474 else
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23478 cat >conftest.$ac_ext <<_ACEOF
23479 /* confdefs.h. */
23480 _ACEOF
23481 cat confdefs.h >>conftest.$ac_ext
23482 cat >>conftest.$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23484 #ifdef HAVE_SYS_TYPES_H
23485 #include <sys/types.h>
23486 #endif
23487 #ifdef HAVE_NETINET_IN_H
23488 # include <netinet/in.h>
23489 #endif
23490 #ifdef HAVE_ARPA_NAMESER_H
23491 # include <arpa/nameser.h>
23492 #endif
23495 main ()
23497 static ns_msg ac_aggr;
23498 if (sizeof ac_aggr._msg_ptr)
23499 return 0;
23501 return 0;
23503 _ACEOF
23504 rm -f conftest.$ac_objext
23505 if { (ac_try="$ac_compile"
23506 case "(($ac_try" in
23507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23508 *) ac_try_echo=$ac_try;;
23509 esac
23510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23511 (eval "$ac_compile") 2>conftest.er1
23512 ac_status=$?
23513 grep -v '^ *+' conftest.er1 >conftest.err
23514 rm -f conftest.er1
23515 cat conftest.err >&5
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); } &&
23518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23519 { (case "(($ac_try" in
23520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23521 *) ac_try_echo=$ac_try;;
23522 esac
23523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23524 (eval "$ac_try") 2>&5
23525 ac_status=$?
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); }; } &&
23528 { ac_try='test -s conftest.$ac_objext'
23529 { (case "(($ac_try" in
23530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23531 *) ac_try_echo=$ac_try;;
23532 esac
23533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23534 (eval "$ac_try") 2>&5
23535 ac_status=$?
23536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537 (exit $ac_status); }; }; then
23538 ac_cv_member_ns_msg__msg_ptr=yes
23539 else
23540 echo "$as_me: failed program was:" >&5
23541 sed 's/^/| /' conftest.$ac_ext >&5
23543 ac_cv_member_ns_msg__msg_ptr=no
23546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23551 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23552 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23553 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23555 cat >>confdefs.h <<_ACEOF
23556 #define HAVE_NS_MSG__MSG_PTR 1
23557 _ACEOF
23563 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23564 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23565 if test "${ac_cv_have_timezone+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 timezone;
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_timezone="yes"
23618 else
23619 echo "$as_me: failed program was:" >&5
23620 sed 's/^/| /' conftest.$ac_ext >&5
23622 ac_cv_have_timezone="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_timezone" >&5
23629 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23630 if test "$ac_cv_have_timezone" = "yes"
23631 then
23633 cat >>confdefs.h <<\_ACEOF
23634 #define HAVE_TIMEZONE 1
23635 _ACEOF
23638 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23639 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23640 if test "${ac_cv_have_daylight+set}" = set; then
23641 echo $ECHO_N "(cached) $ECHO_C" >&6
23642 else
23643 cat >conftest.$ac_ext <<_ACEOF
23644 /* confdefs.h. */
23645 _ACEOF
23646 cat confdefs.h >>conftest.$ac_ext
23647 cat >>conftest.$ac_ext <<_ACEOF
23648 /* end confdefs.h. */
23649 #include <time.h>
23651 main ()
23653 daylight;
23655 return 0;
23657 _ACEOF
23658 rm -f conftest.$ac_objext conftest$ac_exeext
23659 if { (ac_try="$ac_link"
23660 case "(($ac_try" in
23661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23662 *) ac_try_echo=$ac_try;;
23663 esac
23664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23665 (eval "$ac_link") 2>conftest.er1
23666 ac_status=$?
23667 grep -v '^ *+' conftest.er1 >conftest.err
23668 rm -f conftest.er1
23669 cat conftest.err >&5
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); } &&
23672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23673 { (case "(($ac_try" in
23674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23675 *) ac_try_echo=$ac_try;;
23676 esac
23677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23678 (eval "$ac_try") 2>&5
23679 ac_status=$?
23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681 (exit $ac_status); }; } &&
23682 { ac_try='test -s conftest$ac_exeext'
23683 { (case "(($ac_try" in
23684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23685 *) ac_try_echo=$ac_try;;
23686 esac
23687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23688 (eval "$ac_try") 2>&5
23689 ac_status=$?
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); }; }; then
23692 ac_cv_have_daylight="yes"
23693 else
23694 echo "$as_me: failed program was:" >&5
23695 sed 's/^/| /' conftest.$ac_ext >&5
23697 ac_cv_have_daylight="no"
23700 rm -f core conftest.err conftest.$ac_objext \
23701 conftest$ac_exeext conftest.$ac_ext
23703 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23704 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23705 if test "$ac_cv_have_daylight" = "yes"
23706 then
23708 cat >>confdefs.h <<\_ACEOF
23709 #define HAVE_DAYLIGHT 1
23710 _ACEOF
23715 case $host_cpu in
23716 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23717 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23718 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23719 echo $ECHO_N "(cached) $ECHO_C" >&6
23720 else
23721 cat >conftest.$ac_ext <<_ACEOF
23722 /* confdefs.h. */
23723 _ACEOF
23724 cat confdefs.h >>conftest.$ac_ext
23725 cat >>conftest.$ac_ext <<_ACEOF
23726 /* end confdefs.h. */
23727 #ifndef __i386__
23729 #endif
23730 _ACEOF
23731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23732 $EGREP "yes" >/dev/null 2>&1; then
23733 ac_cv_cpp_def___i386__=yes
23734 else
23735 ac_cv_cpp_def___i386__=no
23737 rm -f conftest*
23740 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23741 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23742 if test $ac_cv_cpp_def___i386__ = yes; then
23743 CFLAGS="$CFLAGS -D__i386__"
23744 LINTFLAGS="$LINTFLAGS -D__i386__"
23747 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23748 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23749 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23750 echo $ECHO_N "(cached) $ECHO_C" >&6
23751 else
23752 cat >conftest.$ac_ext <<_ACEOF
23753 /* confdefs.h. */
23754 _ACEOF
23755 cat confdefs.h >>conftest.$ac_ext
23756 cat >>conftest.$ac_ext <<_ACEOF
23757 /* end confdefs.h. */
23758 #ifndef __x86_64__
23760 #endif
23761 _ACEOF
23762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23763 $EGREP "yes" >/dev/null 2>&1; then
23764 ac_cv_cpp_def___x86_64__=yes
23765 else
23766 ac_cv_cpp_def___x86_64__=no
23768 rm -f conftest*
23771 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23772 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23773 if test $ac_cv_cpp_def___x86_64__ = yes; then
23774 CFLAGS="$CFLAGS -D__x86_64__"
23775 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23778 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
23779 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
23780 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
23781 echo $ECHO_N "(cached) $ECHO_C" >&6
23782 else
23783 cat >conftest.$ac_ext <<_ACEOF
23784 /* confdefs.h. */
23785 _ACEOF
23786 cat confdefs.h >>conftest.$ac_ext
23787 cat >>conftest.$ac_ext <<_ACEOF
23788 /* end confdefs.h. */
23789 #ifndef _WIN64
23791 #endif
23792 _ACEOF
23793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23794 $EGREP "yes" >/dev/null 2>&1; then
23795 ac_cv_cpp_def__WIN64=yes
23796 else
23797 ac_cv_cpp_def__WIN64=no
23799 rm -f conftest*
23802 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
23803 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
23804 if test $ac_cv_cpp_def__WIN64 = yes; then
23805 CFLAGS="$CFLAGS -D_WIN64"
23806 LINTFLAGS="$LINTFLAGS -D_WIN64"
23809 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23810 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23811 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23812 echo $ECHO_N "(cached) $ECHO_C" >&6
23813 else
23814 cat >conftest.$ac_ext <<_ACEOF
23815 /* confdefs.h. */
23816 _ACEOF
23817 cat confdefs.h >>conftest.$ac_ext
23818 cat >>conftest.$ac_ext <<_ACEOF
23819 /* end confdefs.h. */
23820 #ifndef __ALPHA__
23822 #endif
23823 _ACEOF
23824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23825 $EGREP "yes" >/dev/null 2>&1; then
23826 ac_cv_cpp_def___ALPHA__=yes
23827 else
23828 ac_cv_cpp_def___ALPHA__=no
23830 rm -f conftest*
23833 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23834 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23835 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23836 CFLAGS="$CFLAGS -D__ALPHA__"
23837 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23840 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23841 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23842 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23843 echo $ECHO_N "(cached) $ECHO_C" >&6
23844 else
23845 cat >conftest.$ac_ext <<_ACEOF
23846 /* confdefs.h. */
23847 _ACEOF
23848 cat confdefs.h >>conftest.$ac_ext
23849 cat >>conftest.$ac_ext <<_ACEOF
23850 /* end confdefs.h. */
23851 #ifndef __sparc__
23853 #endif
23854 _ACEOF
23855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23856 $EGREP "yes" >/dev/null 2>&1; then
23857 ac_cv_cpp_def___sparc__=yes
23858 else
23859 ac_cv_cpp_def___sparc__=no
23861 rm -f conftest*
23864 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23865 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23866 if test $ac_cv_cpp_def___sparc__ = yes; then
23867 CFLAGS="$CFLAGS -D__sparc__"
23868 LINTFLAGS="$LINTFLAGS -D__sparc__"
23871 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23872 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23873 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23874 echo $ECHO_N "(cached) $ECHO_C" >&6
23875 else
23876 cat >conftest.$ac_ext <<_ACEOF
23877 /* confdefs.h. */
23878 _ACEOF
23879 cat confdefs.h >>conftest.$ac_ext
23880 cat >>conftest.$ac_ext <<_ACEOF
23881 /* end confdefs.h. */
23882 #ifndef __powerpc__
23884 #endif
23885 _ACEOF
23886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23887 $EGREP "yes" >/dev/null 2>&1; then
23888 ac_cv_cpp_def___powerpc__=yes
23889 else
23890 ac_cv_cpp_def___powerpc__=no
23892 rm -f conftest*
23895 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23896 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23897 if test $ac_cv_cpp_def___powerpc__ = yes; then
23898 CFLAGS="$CFLAGS -D__powerpc__"
23899 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23902 esac
23904 case $host_vendor in
23905 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23906 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23907 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23908 echo $ECHO_N "(cached) $ECHO_C" >&6
23909 else
23910 cat >conftest.$ac_ext <<_ACEOF
23911 /* confdefs.h. */
23912 _ACEOF
23913 cat confdefs.h >>conftest.$ac_ext
23914 cat >>conftest.$ac_ext <<_ACEOF
23915 /* end confdefs.h. */
23916 #ifndef __sun__
23918 #endif
23919 _ACEOF
23920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23921 $EGREP "yes" >/dev/null 2>&1; then
23922 ac_cv_cpp_def___sun__=yes
23923 else
23924 ac_cv_cpp_def___sun__=no
23926 rm -f conftest*
23929 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23930 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23931 if test $ac_cv_cpp_def___sun__ = yes; then
23932 CFLAGS="$CFLAGS -D__sun__"
23933 LINTFLAGS="$LINTFLAGS -D__sun__"
23936 esac
23942 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
23944 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
23946 ac_config_commands="$ac_config_commands dlls/kernel/messages"
23948 ac_config_commands="$ac_config_commands dlls/user/resources"
23950 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23952 ac_config_commands="$ac_config_commands include/wine"
23955 MAKE_RULES=Make.rules
23958 MAKE_DLL_RULES=dlls/Makedll.rules
23961 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23964 MAKE_TEST_RULES=dlls/Maketest.rules
23967 MAKE_PROG_RULES=programs/Makeprog.rules
23970 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"
23973 cat >confcache <<\_ACEOF
23974 # This file is a shell script that caches the results of configure
23975 # tests run on this system so they can be shared between configure
23976 # scripts and configure runs, see configure's option --config-cache.
23977 # It is not useful on other systems. If it contains results you don't
23978 # want to keep, you may remove or edit it.
23980 # config.status only pays attention to the cache file if you give it
23981 # the --recheck option to rerun configure.
23983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23985 # following values.
23987 _ACEOF
23989 # The following way of writing the cache mishandles newlines in values,
23990 # but we know of no workaround that is simple, portable, and efficient.
23991 # So, we kill variables containing newlines.
23992 # Ultrix sh set writes to stderr and can't be redirected directly,
23993 # and sets the high bit in the cache file unless we assign to the vars.
23995 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23996 eval ac_val=\$$ac_var
23997 case $ac_val in #(
23998 *${as_nl}*)
23999 case $ac_var in #(
24000 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24001 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24002 esac
24003 case $ac_var in #(
24004 _ | IFS | as_nl) ;; #(
24005 *) $as_unset $ac_var ;;
24006 esac ;;
24007 esac
24008 done
24010 (set) 2>&1 |
24011 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24012 *${as_nl}ac_space=\ *)
24013 # `set' does not quote correctly, so add quotes (double-quote
24014 # substitution turns \\\\ into \\, and sed turns \\ into \).
24015 sed -n \
24016 "s/'/'\\\\''/g;
24017 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24018 ;; #(
24020 # `set' quotes correctly as required by POSIX, so do not add quotes.
24021 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24023 esac |
24024 sort
24026 sed '
24027 /^ac_cv_env_/b end
24028 t clear
24029 :clear
24030 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24031 t end
24032 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24033 :end' >>confcache
24034 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24035 if test -w "$cache_file"; then
24036 test "x$cache_file" != "x/dev/null" &&
24037 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24038 echo "$as_me: updating cache $cache_file" >&6;}
24039 cat confcache >$cache_file
24040 else
24041 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24042 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24045 rm -f confcache
24047 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24048 # Let make expand exec_prefix.
24049 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24051 DEFS=-DHAVE_CONFIG_H
24053 ac_libobjs=
24054 ac_ltlibobjs=
24055 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24056 # 1. Remove the extension, and $U if already installed.
24057 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24058 ac_i=`echo "$ac_i" | sed "$ac_script"`
24059 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24060 # will be set to the directory where LIBOBJS objects are built.
24061 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24062 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24063 done
24064 LIBOBJS=$ac_libobjs
24066 LTLIBOBJS=$ac_ltlibobjs
24070 : ${CONFIG_STATUS=./config.status}
24071 ac_clean_files_save=$ac_clean_files
24072 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24073 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24074 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24075 cat >$CONFIG_STATUS <<_ACEOF
24076 #! $SHELL
24077 # Generated by $as_me.
24078 # Run this file to recreate the current configuration.
24079 # Compiler output produced by configure, useful for debugging
24080 # configure, is in config.log if it exists.
24082 debug=false
24083 ac_cs_recheck=false
24084 ac_cs_silent=false
24085 SHELL=\${CONFIG_SHELL-$SHELL}
24086 _ACEOF
24088 cat >>$CONFIG_STATUS <<\_ACEOF
24089 ## --------------------- ##
24090 ## M4sh Initialization. ##
24091 ## --------------------- ##
24093 # Be Bourne compatible
24094 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24095 emulate sh
24096 NULLCMD=:
24097 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24098 # is contrary to our usage. Disable this feature.
24099 alias -g '${1+"$@"}'='"$@"'
24100 setopt NO_GLOB_SUBST
24101 else
24102 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24104 BIN_SH=xpg4; export BIN_SH # for Tru64
24105 DUALCASE=1; export DUALCASE # for MKS sh
24108 # PATH needs CR
24109 # Avoid depending upon Character Ranges.
24110 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24111 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24112 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24113 as_cr_digits='0123456789'
24114 as_cr_alnum=$as_cr_Letters$as_cr_digits
24116 # The user is always right.
24117 if test "${PATH_SEPARATOR+set}" != set; then
24118 echo "#! /bin/sh" >conf$$.sh
24119 echo "exit 0" >>conf$$.sh
24120 chmod +x conf$$.sh
24121 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24122 PATH_SEPARATOR=';'
24123 else
24124 PATH_SEPARATOR=:
24126 rm -f conf$$.sh
24129 # Support unset when possible.
24130 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24131 as_unset=unset
24132 else
24133 as_unset=false
24137 # IFS
24138 # We need space, tab and new line, in precisely that order. Quoting is
24139 # there to prevent editors from complaining about space-tab.
24140 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24141 # splitting by setting IFS to empty value.)
24142 as_nl='
24144 IFS=" "" $as_nl"
24146 # Find who we are. Look in the path if we contain no directory separator.
24147 case $0 in
24148 *[\\/]* ) as_myself=$0 ;;
24149 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24150 for as_dir in $PATH
24152 IFS=$as_save_IFS
24153 test -z "$as_dir" && as_dir=.
24154 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24155 done
24156 IFS=$as_save_IFS
24159 esac
24160 # We did not find ourselves, most probably we were run as `sh COMMAND'
24161 # in which case we are not to be found in the path.
24162 if test "x$as_myself" = x; then
24163 as_myself=$0
24165 if test ! -f "$as_myself"; then
24166 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24167 { (exit 1); exit 1; }
24170 # Work around bugs in pre-3.0 UWIN ksh.
24171 for as_var in ENV MAIL MAILPATH
24172 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24173 done
24174 PS1='$ '
24175 PS2='> '
24176 PS4='+ '
24178 # NLS nuisances.
24179 for as_var in \
24180 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24181 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24182 LC_TELEPHONE LC_TIME
24184 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24185 eval $as_var=C; export $as_var
24186 else
24187 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24189 done
24191 # Required to use basename.
24192 if expr a : '\(a\)' >/dev/null 2>&1 &&
24193 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24194 as_expr=expr
24195 else
24196 as_expr=false
24199 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24200 as_basename=basename
24201 else
24202 as_basename=false
24206 # Name of the executable.
24207 as_me=`$as_basename -- "$0" ||
24208 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24209 X"$0" : 'X\(//\)$' \| \
24210 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24211 echo X/"$0" |
24212 sed '/^.*\/\([^/][^/]*\)\/*$/{
24213 s//\1/
24216 /^X\/\(\/\/\)$/{
24217 s//\1/
24220 /^X\/\(\/\).*/{
24221 s//\1/
24224 s/.*/./; q'`
24226 # CDPATH.
24227 $as_unset CDPATH
24231 as_lineno_1=$LINENO
24232 as_lineno_2=$LINENO
24233 test "x$as_lineno_1" != "x$as_lineno_2" &&
24234 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24236 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24237 # uniformly replaced by the line number. The first 'sed' inserts a
24238 # line-number line after each line using $LINENO; the second 'sed'
24239 # does the real work. The second script uses 'N' to pair each
24240 # line-number line with the line containing $LINENO, and appends
24241 # trailing '-' during substitution so that $LINENO is not a special
24242 # case at line end.
24243 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24244 # scripts with optimization help from Paolo Bonzini. Blame Lee
24245 # E. McMahon (1931-1989) for sed's syntax. :-)
24246 sed -n '
24248 /[$]LINENO/=
24249 ' <$as_myself |
24250 sed '
24251 s/[$]LINENO.*/&-/
24252 t lineno
24254 :lineno
24256 :loop
24257 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24258 t loop
24259 s/-\n.*//
24260 ' >$as_me.lineno &&
24261 chmod +x "$as_me.lineno" ||
24262 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24263 { (exit 1); exit 1; }; }
24265 # Don't try to exec as it changes $[0], causing all sort of problems
24266 # (the dirname of $[0] is not the place where we might find the
24267 # original and so on. Autoconf is especially sensitive to this).
24268 . "./$as_me.lineno"
24269 # Exit status is that of the last command.
24270 exit
24274 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24275 as_dirname=dirname
24276 else
24277 as_dirname=false
24280 ECHO_C= ECHO_N= ECHO_T=
24281 case `echo -n x` in
24282 -n*)
24283 case `echo 'x\c'` in
24284 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24285 *) ECHO_C='\c';;
24286 esac;;
24288 ECHO_N='-n';;
24289 esac
24291 if expr a : '\(a\)' >/dev/null 2>&1 &&
24292 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24293 as_expr=expr
24294 else
24295 as_expr=false
24298 rm -f conf$$ conf$$.exe conf$$.file
24299 if test -d conf$$.dir; then
24300 rm -f conf$$.dir/conf$$.file
24301 else
24302 rm -f conf$$.dir
24303 mkdir conf$$.dir
24305 echo >conf$$.file
24306 if ln -s conf$$.file conf$$ 2>/dev/null; then
24307 as_ln_s='ln -s'
24308 # ... but there are two gotchas:
24309 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24310 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24311 # In both cases, we have to default to `cp -p'.
24312 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24313 as_ln_s='cp -p'
24314 elif ln conf$$.file conf$$ 2>/dev/null; then
24315 as_ln_s=ln
24316 else
24317 as_ln_s='cp -p'
24319 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24320 rmdir conf$$.dir 2>/dev/null
24322 if mkdir -p . 2>/dev/null; then
24323 as_mkdir_p=:
24324 else
24325 test -d ./-p && rmdir ./-p
24326 as_mkdir_p=false
24329 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24330 # systems may use methods other than mode bits to determine executability.
24331 cat >conf$$.file <<_ASEOF
24332 #! /bin/sh
24333 exit 0
24334 _ASEOF
24335 chmod +x conf$$.file
24336 if test -x conf$$.file >/dev/null 2>&1; then
24337 as_executable_p="test -x"
24338 else
24339 as_executable_p=:
24341 rm -f conf$$.file
24343 # Sed expression to map a string onto a valid CPP name.
24344 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24346 # Sed expression to map a string onto a valid variable name.
24347 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24350 exec 6>&1
24352 # Save the log message, to keep $[0] and so on meaningful, and to
24353 # report actual input values of CONFIG_FILES etc. instead of their
24354 # values after options handling.
24355 ac_log="
24356 This file was extended by Wine $as_me 0.9.19, which was
24357 generated by GNU Autoconf 2.60a. Invocation command line was
24359 CONFIG_FILES = $CONFIG_FILES
24360 CONFIG_HEADERS = $CONFIG_HEADERS
24361 CONFIG_LINKS = $CONFIG_LINKS
24362 CONFIG_COMMANDS = $CONFIG_COMMANDS
24363 $ $0 $@
24365 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24368 _ACEOF
24370 cat >>$CONFIG_STATUS <<_ACEOF
24371 # Files that config.status was made for.
24372 config_files="$ac_config_files"
24373 config_headers="$ac_config_headers"
24374 config_commands="$ac_config_commands"
24376 _ACEOF
24378 cat >>$CONFIG_STATUS <<\_ACEOF
24379 ac_cs_usage="\
24380 \`$as_me' instantiates files from templates according to the
24381 current configuration.
24383 Usage: $0 [OPTIONS] [FILE]...
24385 -h, --help print this help, then exit
24386 -V, --version print version number and configuration settings, then exit
24387 -q, --quiet do not print progress messages
24388 -d, --debug don't remove temporary files
24389 --recheck update $as_me by reconfiguring in the same conditions
24390 --file=FILE[:TEMPLATE]
24391 instantiate the configuration file FILE
24392 --header=FILE[:TEMPLATE]
24393 instantiate the configuration header FILE
24395 Configuration files:
24396 $config_files
24398 Configuration headers:
24399 $config_headers
24401 Configuration commands:
24402 $config_commands
24404 Report bugs to <bug-autoconf@gnu.org>."
24406 _ACEOF
24407 cat >>$CONFIG_STATUS <<_ACEOF
24408 ac_cs_version="\\
24409 Wine config.status 0.9.19
24410 configured by $0, generated by GNU Autoconf 2.60a,
24411 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24413 Copyright (C) 2006 Free Software Foundation, Inc.
24414 This config.status script is free software; the Free Software Foundation
24415 gives unlimited permission to copy, distribute and modify it."
24417 ac_pwd='$ac_pwd'
24418 srcdir='$srcdir'
24419 INSTALL='$INSTALL'
24420 _ACEOF
24422 cat >>$CONFIG_STATUS <<\_ACEOF
24423 # If no file are specified by the user, then we need to provide default
24424 # value. By we need to know if files were specified by the user.
24425 ac_need_defaults=:
24426 while test $# != 0
24428 case $1 in
24429 --*=*)
24430 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24431 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24432 ac_shift=:
24435 ac_option=$1
24436 ac_optarg=$2
24437 ac_shift=shift
24439 esac
24441 case $ac_option in
24442 # Handling of the options.
24443 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24444 ac_cs_recheck=: ;;
24445 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24446 echo "$ac_cs_version"; exit ;;
24447 --debug | --debu | --deb | --de | --d | -d )
24448 debug=: ;;
24449 --file | --fil | --fi | --f )
24450 $ac_shift
24451 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24452 ac_need_defaults=false;;
24453 --header | --heade | --head | --hea )
24454 $ac_shift
24455 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24456 ac_need_defaults=false;;
24457 --he | --h)
24458 # Conflict between --help and --header
24459 { echo "$as_me: error: ambiguous option: $1
24460 Try \`$0 --help' for more information." >&2
24461 { (exit 1); exit 1; }; };;
24462 --help | --hel | -h )
24463 echo "$ac_cs_usage"; exit ;;
24464 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24465 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24466 ac_cs_silent=: ;;
24468 # This is an error.
24469 -*) { echo "$as_me: error: unrecognized option: $1
24470 Try \`$0 --help' for more information." >&2
24471 { (exit 1); exit 1; }; } ;;
24473 *) ac_config_targets="$ac_config_targets $1"
24474 ac_need_defaults=false ;;
24476 esac
24477 shift
24478 done
24480 ac_configure_extra_args=
24482 if $ac_cs_silent; then
24483 exec 6>/dev/null
24484 ac_configure_extra_args="$ac_configure_extra_args --silent"
24487 _ACEOF
24488 cat >>$CONFIG_STATUS <<_ACEOF
24489 if \$ac_cs_recheck; then
24490 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24491 CONFIG_SHELL=$SHELL
24492 export CONFIG_SHELL
24493 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24496 _ACEOF
24497 cat >>$CONFIG_STATUS <<\_ACEOF
24498 exec 5>>config.log
24500 echo
24501 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24502 ## Running $as_me. ##
24503 _ASBOX
24504 echo "$ac_log"
24505 } >&5
24507 _ACEOF
24508 cat >>$CONFIG_STATUS <<_ACEOF
24509 _ACEOF
24511 cat >>$CONFIG_STATUS <<\_ACEOF
24513 # Handling of arguments.
24514 for ac_config_target in $ac_config_targets
24516 case $ac_config_target in
24517 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24518 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24519 "dlls/gdi/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24520 "dlls/kernel/messages") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24521 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24522 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24523 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24524 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24525 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24526 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24527 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24528 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24529 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24530 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24531 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24532 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24533 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24534 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24535 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24536 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24537 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24538 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24539 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24540 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24541 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24542 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24543 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24544 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24545 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24546 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24547 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24548 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24549 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24550 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24551 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24552 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24553 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24554 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24555 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24556 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24557 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24558 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24559 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24560 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24561 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24562 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24563 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24564 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24565 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24566 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24567 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24568 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24569 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24570 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24571 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24572 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24573 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24574 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24575 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24576 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24577 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24578 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24579 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24580 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24581 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24582 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24583 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24584 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24585 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24586 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24587 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24588 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24589 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24590 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24591 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24592 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24593 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24594 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24595 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24596 "dlls/gdi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
24597 "dlls/gdi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24598 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24599 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24600 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24601 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24602 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
24603 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24604 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24605 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24606 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24607 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24608 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24609 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24610 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24611 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24612 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24613 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24614 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24615 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24616 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24617 "dlls/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
24618 "dlls/kernel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
24619 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24620 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24621 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24622 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24623 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24624 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24625 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24626 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24627 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24628 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24629 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24630 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24631 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24632 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24633 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24634 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24635 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24636 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24637 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24638 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24639 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24640 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24641 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24642 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24643 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24644 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24645 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24646 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24647 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24648 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24649 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24650 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24651 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24652 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24653 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24654 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24655 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24656 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24657 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24658 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24659 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24660 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24661 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24662 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24663 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24664 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24665 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24666 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24667 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24668 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24669 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24670 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24671 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24672 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24673 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24674 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24675 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24676 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24677 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24678 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24679 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24680 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24681 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24682 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24683 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24684 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24685 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24686 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24687 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24688 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24689 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24690 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24691 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24692 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24693 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24694 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24695 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24696 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24697 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24698 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24699 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24700 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24701 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24702 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24703 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24704 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24705 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24706 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24707 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24708 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24709 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24710 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24711 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24712 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24713 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24714 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24715 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24716 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24717 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24718 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24719 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24720 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24721 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24722 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24723 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24724 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24725 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24726 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24727 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
24728 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24729 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24730 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24731 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24732 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
24733 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24734 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24735 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24736 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24737 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
24738 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24739 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24740 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24741 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24742 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24743 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24744 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24745 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24746 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24747 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
24748 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24749 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24750 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24751 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
24752 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24753 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
24754 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24755 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24756 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24757 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24758 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24759 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24760 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24761 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24762 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24763 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24764 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24765 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24766 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24767 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24768 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24769 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24770 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24771 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
24772 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24773 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24774 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24775 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24776 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
24777 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
24778 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
24779 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
24780 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
24781 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
24782 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
24783 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
24784 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
24785 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
24786 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24787 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
24788 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
24789 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
24790 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
24791 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
24792 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
24793 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
24794 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
24795 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
24796 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
24797 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
24798 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
24799 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24800 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
24801 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
24802 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
24803 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24804 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24805 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
24806 "programs/wcmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
24807 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
24808 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24809 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
24810 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24811 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
24812 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
24813 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24814 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
24815 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
24816 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
24817 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
24818 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
24819 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
24820 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
24821 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
24822 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24823 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
24824 "tools/winapi/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
24825 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
24826 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
24827 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
24828 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
24829 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
24831 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24832 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24833 { (exit 1); exit 1; }; };;
24834 esac
24835 done
24838 # If the user did not use the arguments to specify the items to instantiate,
24839 # then the envvar interface is used. Set only those that are not.
24840 # We use the long form for the default assignment because of an extremely
24841 # bizarre bug on SunOS 4.1.3.
24842 if $ac_need_defaults; then
24843 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24844 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24845 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24848 # Have a temporary directory for convenience. Make it in the build tree
24849 # simply because there is no reason against having it here, and in addition,
24850 # creating and moving files from /tmp can sometimes cause problems.
24851 # Hook for its removal unless debugging.
24852 # Note that there is a small window in which the directory will not be cleaned:
24853 # after its creation but before its name has been assigned to `$tmp'.
24854 $debug ||
24856 tmp=
24857 trap 'exit_status=$?
24858 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24860 trap '{ (exit 1); exit 1; }' 1 2 13 15
24862 # Create a (secure) tmp directory for tmp files.
24865 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24866 test -n "$tmp" && test -d "$tmp"
24867 } ||
24869 tmp=./conf$$-$RANDOM
24870 (umask 077 && mkdir "$tmp")
24871 } ||
24873 echo "$me: cannot create a temporary directory in ." >&2
24874 { (exit 1); exit 1; }
24878 # Set up the sed scripts for CONFIG_FILES section.
24881 # No need to generate the scripts if there are no CONFIG_FILES.
24882 # This happens for instance when ./config.status config.h
24883 if test -n "$CONFIG_FILES"; then
24885 _ACEOF
24887 # Create sed commands to just substitute file output variables.
24889 # Remaining file output variables are in a fragment that also has non-file
24890 # output varibles.
24894 ac_delim='%!_!# '
24895 for ac_last_try in false false false false false :; do
24896 cat >conf$$subs.sed <<_ACEOF
24897 SHELL!$SHELL$ac_delim
24898 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24899 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24900 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24901 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24902 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24903 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24904 exec_prefix!$exec_prefix$ac_delim
24905 prefix!$prefix$ac_delim
24906 program_transform_name!$program_transform_name$ac_delim
24907 bindir!$bindir$ac_delim
24908 sbindir!$sbindir$ac_delim
24909 libexecdir!$libexecdir$ac_delim
24910 datarootdir!$datarootdir$ac_delim
24911 datadir!$datadir$ac_delim
24912 sysconfdir!$sysconfdir$ac_delim
24913 sharedstatedir!$sharedstatedir$ac_delim
24914 localstatedir!$localstatedir$ac_delim
24915 includedir!$includedir$ac_delim
24916 oldincludedir!$oldincludedir$ac_delim
24917 docdir!$docdir$ac_delim
24918 infodir!$infodir$ac_delim
24919 htmldir!$htmldir$ac_delim
24920 dvidir!$dvidir$ac_delim
24921 pdfdir!$pdfdir$ac_delim
24922 psdir!$psdir$ac_delim
24923 libdir!$libdir$ac_delim
24924 localedir!$localedir$ac_delim
24925 mandir!$mandir$ac_delim
24926 DEFS!$DEFS$ac_delim
24927 ECHO_C!$ECHO_C$ac_delim
24928 ECHO_N!$ECHO_N$ac_delim
24929 ECHO_T!$ECHO_T$ac_delim
24930 LIBS!$LIBS$ac_delim
24931 build_alias!$build_alias$ac_delim
24932 host_alias!$host_alias$ac_delim
24933 target_alias!$target_alias$ac_delim
24934 build!$build$ac_delim
24935 build_cpu!$build_cpu$ac_delim
24936 build_vendor!$build_vendor$ac_delim
24937 build_os!$build_os$ac_delim
24938 host!$host$ac_delim
24939 host_cpu!$host_cpu$ac_delim
24940 host_vendor!$host_vendor$ac_delim
24941 host_os!$host_os$ac_delim
24942 WIN16_FILES!$WIN16_FILES$ac_delim
24943 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24944 SET_MAKE!$SET_MAKE$ac_delim
24945 CC!$CC$ac_delim
24946 CFLAGS!$CFLAGS$ac_delim
24947 LDFLAGS!$LDFLAGS$ac_delim
24948 CPPFLAGS!$CPPFLAGS$ac_delim
24949 ac_ct_CC!$ac_ct_CC$ac_delim
24950 EXEEXT!$EXEEXT$ac_delim
24951 OBJEXT!$OBJEXT$ac_delim
24952 CXX!$CXX$ac_delim
24953 CXXFLAGS!$CXXFLAGS$ac_delim
24954 ac_ct_CXX!$ac_ct_CXX$ac_delim
24955 CPPBIN!$CPPBIN$ac_delim
24956 TOOLSDIR!$TOOLSDIR$ac_delim
24957 XMKMF!$XMKMF$ac_delim
24958 CPP!$CPP$ac_delim
24959 X_CFLAGS!$X_CFLAGS$ac_delim
24960 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24961 X_LIBS!$X_LIBS$ac_delim
24962 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24963 LEX!$LEX$ac_delim
24964 LEXLIB!$LEXLIB$ac_delim
24965 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24966 XLEX!$XLEX$ac_delim
24967 BISON!$BISON$ac_delim
24968 AS!$AS$ac_delim
24969 ac_ct_AS!$ac_ct_AS$ac_delim
24970 LD!$LD$ac_delim
24971 AR!$AR$ac_delim
24972 RANLIB!$RANLIB$ac_delim
24973 STRIP!$STRIP$ac_delim
24974 WINDRES!$WINDRES$ac_delim
24975 LN_S!$LN_S$ac_delim
24976 LN!$LN$ac_delim
24977 GREP!$GREP$ac_delim
24978 EGREP!$EGREP$ac_delim
24979 _ACEOF
24981 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24982 break
24983 elif $ac_last_try; then
24984 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24985 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24986 { (exit 1); exit 1; }; }
24987 else
24988 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24990 done
24992 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24993 if test -n "$ac_eof"; then
24994 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24995 ac_eof=`expr $ac_eof + 1`
24998 cat >>$CONFIG_STATUS <<_ACEOF
24999 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25000 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25001 /^[ ]*@MAKE_RULES@[ ]*$/{
25002 r $MAKE_RULES
25005 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
25006 r $MAKE_DLL_RULES
25009 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
25010 r $MAKE_IMPLIB_RULES
25013 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
25014 r $MAKE_TEST_RULES
25017 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
25018 r $MAKE_PROG_RULES
25021 _ACEOF
25022 sed '
25023 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25024 s/^/s,@/; s/!/@,|#_!!_#|/
25027 s/'"$ac_delim"'$/,g/; t
25028 s/$/\\/; p
25029 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25030 ' >>$CONFIG_STATUS <conf$$subs.sed
25031 rm -f conf$$subs.sed
25032 cat >>$CONFIG_STATUS <<_ACEOF
25033 CEOF$ac_eof
25034 _ACEOF
25037 ac_delim='%!_!# '
25038 for ac_last_try in false false false false false :; do
25039 cat >conf$$subs.sed <<_ACEOF
25040 LDCONFIG!$LDCONFIG$ac_delim
25041 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25042 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25043 INSTALL_DATA!$INSTALL_DATA$ac_delim
25044 LINT!$LINT$ac_delim
25045 LINTFLAGS!$LINTFLAGS$ac_delim
25046 FONTFORGE!$FONTFORGE$ac_delim
25047 PKG_CONFIG!$PKG_CONFIG$ac_delim
25048 PRELINK!$PRELINK$ac_delim
25049 LIBPTHREAD!$LIBPTHREAD$ac_delim
25050 XLIB!$XLIB$ac_delim
25051 XFILES!$XFILES$ac_delim
25052 OPENGLFILES!$OPENGLFILES$ac_delim
25053 GLU32FILES!$GLU32FILES$ac_delim
25054 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
25055 GLUT_LIBS!$GLUT_LIBS$ac_delim
25056 GLUT32FILES!$GLUT32FILES$ac_delim
25057 NASLIBS!$NASLIBS$ac_delim
25058 XML2LIBS!$XML2LIBS$ac_delim
25059 XML2INCL!$XML2INCL$ac_delim
25060 XSLTLIBS!$XSLTLIBS$ac_delim
25061 XSLTINCL!$XSLTINCL$ac_delim
25062 HALINCL!$HALINCL$ac_delim
25063 CURSESLIBS!$CURSESLIBS$ac_delim
25064 sane_devel!$sane_devel$ac_delim
25065 SANELIBS!$SANELIBS$ac_delim
25066 SANEINCL!$SANEINCL$ac_delim
25067 gphoto2_devel!$gphoto2_devel$ac_delim
25068 gphoto2port_devel!$gphoto2port_devel$ac_delim
25069 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
25070 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
25071 ICULIBS!$ICULIBS$ac_delim
25072 RESOLVLIBS!$RESOLVLIBS$ac_delim
25073 LCMSLIBS!$LCMSLIBS$ac_delim
25074 LDAPLIBS!$LDAPLIBS$ac_delim
25075 FREETYPELIBS!$FREETYPELIBS$ac_delim
25076 FREETYPEINCL!$FREETYPEINCL$ac_delim
25077 ft_devel!$ft_devel$ac_delim
25078 ft_devel2!$ft_devel2$ac_delim
25079 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25080 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25081 ARTSLIBS!$ARTSLIBS$ac_delim
25082 ARTSINCL!$ARTSINCL$ac_delim
25083 ESDCONFIG!$ESDCONFIG$ac_delim
25084 ESDLIBS!$ESDLIBS$ac_delim
25085 ESDINCL!$ESDINCL$ac_delim
25086 ALSALIBS!$ALSALIBS$ac_delim
25087 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25088 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25089 BUILTINFLAG!$BUILTINFLAG$ac_delim
25090 DLLEXT!$DLLEXT$ac_delim
25091 DLLFLAGS!$DLLFLAGS$ac_delim
25092 LDSHARED!$LDSHARED$ac_delim
25093 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25094 LIBEXT!$LIBEXT$ac_delim
25095 IMPLIBEXT!$IMPLIBEXT$ac_delim
25096 DLLTOOL!$DLLTOOL$ac_delim
25097 DLLWRAP!$DLLWRAP$ac_delim
25098 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25099 IOKITLIB!$IOKITLIB$ac_delim
25100 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25101 COREAUDIO!$COREAUDIO$ac_delim
25102 LDEXERPATH!$LDEXERPATH$ac_delim
25103 CROSSTEST!$CROSSTEST$ac_delim
25104 CROSSCC!$CROSSCC$ac_delim
25105 CROSSWINDRES!$CROSSWINDRES$ac_delim
25106 LDPATH!$LDPATH$ac_delim
25107 CRTLIBS!$CRTLIBS$ac_delim
25108 SOCKETLIBS!$SOCKETLIBS$ac_delim
25109 MAIN_BINARY!$MAIN_BINARY$ac_delim
25110 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25111 LDD!$LDD$ac_delim
25112 LIBDL!$LIBDL$ac_delim
25113 LIBPOLL!$LIBPOLL$ac_delim
25114 LIBOBJS!$LIBOBJS$ac_delim
25115 LTLIBOBJS!$LTLIBOBJS$ac_delim
25116 _ACEOF
25118 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
25119 break
25120 elif $ac_last_try; then
25121 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25122 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25123 { (exit 1); exit 1; }; }
25124 else
25125 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25127 done
25129 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25130 if test -n "$ac_eof"; then
25131 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25132 ac_eof=`expr $ac_eof + 1`
25135 cat >>$CONFIG_STATUS <<_ACEOF
25136 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25137 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25138 _ACEOF
25139 sed '
25140 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25141 s/^/s,@/; s/!/@,|#_!!_#|/
25144 s/'"$ac_delim"'$/,g/; t
25145 s/$/\\/; p
25146 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25147 ' >>$CONFIG_STATUS <conf$$subs.sed
25148 rm -f conf$$subs.sed
25149 cat >>$CONFIG_STATUS <<_ACEOF
25150 :end
25151 s/|#_!!_#|//g
25152 CEOF$ac_eof
25153 _ACEOF
25156 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25157 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25158 # trailing colons and then remove the whole line if VPATH becomes empty
25159 # (actually we leave an empty line to preserve line numbers).
25160 if test "x$srcdir" = x.; then
25161 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25162 s/:*\$(srcdir):*/:/
25163 s/:*\${srcdir}:*/:/
25164 s/:*@srcdir@:*/:/
25165 s/^\([^=]*=[ ]*\):*/\1/
25166 s/:*$//
25167 s/^[^=]*=[ ]*$//
25171 cat >>$CONFIG_STATUS <<\_ACEOF
25172 fi # test -n "$CONFIG_FILES"
25175 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
25177 case $ac_tag in
25178 :[FHLC]) ac_mode=$ac_tag; continue;;
25179 esac
25180 case $ac_mode$ac_tag in
25181 :[FHL]*:*);;
25182 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25183 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25184 { (exit 1); exit 1; }; };;
25185 :[FH]-) ac_tag=-:-;;
25186 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25187 esac
25188 ac_save_IFS=$IFS
25189 IFS=:
25190 set x $ac_tag
25191 IFS=$ac_save_IFS
25192 shift
25193 ac_file=$1
25194 shift
25196 case $ac_mode in
25197 :L) ac_source=$1;;
25198 :[FH])
25199 ac_file_inputs=
25200 for ac_f
25202 case $ac_f in
25203 -) ac_f="$tmp/stdin";;
25204 *) # Look for the file first in the build tree, then in the source tree
25205 # (if the path is not absolute). The absolute path cannot be DOS-style,
25206 # because $ac_f cannot contain `:'.
25207 test -f "$ac_f" ||
25208 case $ac_f in
25209 [\\/$]*) false;;
25210 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25211 esac ||
25212 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25213 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25214 { (exit 1); exit 1; }; };;
25215 esac
25216 ac_file_inputs="$ac_file_inputs $ac_f"
25217 done
25219 # Let's still pretend it is `configure' which instantiates (i.e., don't
25220 # use $as_me), people would be surprised to read:
25221 # /* config.h. Generated by config.status. */
25222 configure_input="Generated from "`IFS=:
25223 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25224 if test x"$ac_file" != x-; then
25225 configure_input="$ac_file. $configure_input"
25226 { echo "$as_me:$LINENO: creating $ac_file" >&5
25227 echo "$as_me: creating $ac_file" >&6;}
25230 case $ac_tag in
25231 *:-:* | *:-) cat >"$tmp/stdin";;
25232 esac
25234 esac
25236 ac_dir=`$as_dirname -- "$ac_file" ||
25237 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25238 X"$ac_file" : 'X\(//\)[^/]' \| \
25239 X"$ac_file" : 'X\(//\)$' \| \
25240 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25241 echo X"$ac_file" |
25242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25243 s//\1/
25246 /^X\(\/\/\)[^/].*/{
25247 s//\1/
25250 /^X\(\/\/\)$/{
25251 s//\1/
25254 /^X\(\/\).*/{
25255 s//\1/
25258 s/.*/./; q'`
25259 { as_dir="$ac_dir"
25260 case $as_dir in #(
25261 -*) as_dir=./$as_dir;;
25262 esac
25263 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25264 as_dirs=
25265 while :; do
25266 case $as_dir in #(
25267 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25268 *) as_qdir=$as_dir;;
25269 esac
25270 as_dirs="'$as_qdir' $as_dirs"
25271 as_dir=`$as_dirname -- "$as_dir" ||
25272 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25273 X"$as_dir" : 'X\(//\)[^/]' \| \
25274 X"$as_dir" : 'X\(//\)$' \| \
25275 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25276 echo X"$as_dir" |
25277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25278 s//\1/
25281 /^X\(\/\/\)[^/].*/{
25282 s//\1/
25285 /^X\(\/\/\)$/{
25286 s//\1/
25289 /^X\(\/\).*/{
25290 s//\1/
25293 s/.*/./; q'`
25294 test -d "$as_dir" && break
25295 done
25296 test -z "$as_dirs" || eval "mkdir $as_dirs"
25297 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25298 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25299 { (exit 1); exit 1; }; }; }
25300 ac_builddir=.
25302 case "$ac_dir" in
25303 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25305 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25306 # A ".." for each directory in $ac_dir_suffix.
25307 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25308 case $ac_top_builddir_sub in
25309 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25310 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25311 esac ;;
25312 esac
25313 ac_abs_top_builddir=$ac_pwd
25314 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25315 # for backward compatibility:
25316 ac_top_builddir=$ac_top_build_prefix
25318 case $srcdir in
25319 .) # We are building in place.
25320 ac_srcdir=.
25321 ac_top_srcdir=$ac_top_builddir_sub
25322 ac_abs_top_srcdir=$ac_pwd ;;
25323 [\\/]* | ?:[\\/]* ) # Absolute name.
25324 ac_srcdir=$srcdir$ac_dir_suffix;
25325 ac_top_srcdir=$srcdir
25326 ac_abs_top_srcdir=$srcdir ;;
25327 *) # Relative name.
25328 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25329 ac_top_srcdir=$ac_top_build_prefix$srcdir
25330 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25331 esac
25332 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25335 case $ac_mode in
25338 # CONFIG_FILE
25341 case $INSTALL in
25342 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25343 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25344 esac
25345 _ACEOF
25347 cat >>$CONFIG_STATUS <<\_ACEOF
25348 # If the template does not know about datarootdir, expand it.
25349 # FIXME: This hack should be removed a few years after 2.60.
25350 ac_datarootdir_hack=; ac_datarootdir_seen=
25352 case `sed -n '/datarootdir/ {
25356 /@datadir@/p
25357 /@docdir@/p
25358 /@infodir@/p
25359 /@localedir@/p
25360 /@mandir@/p
25361 ' $ac_file_inputs` in
25362 *datarootdir*) ac_datarootdir_seen=yes;;
25363 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25364 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25365 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25366 _ACEOF
25367 cat >>$CONFIG_STATUS <<_ACEOF
25368 ac_datarootdir_hack='
25369 s&@datadir@&$datadir&g
25370 s&@docdir@&$docdir&g
25371 s&@infodir@&$infodir&g
25372 s&@localedir@&$localedir&g
25373 s&@mandir@&$mandir&g
25374 s&\\\${datarootdir}&$datarootdir&g' ;;
25375 esac
25376 _ACEOF
25378 # Neutralize VPATH when `$srcdir' = `.'.
25379 # Shell code in configure.ac might set extrasub.
25380 # FIXME: do we really want to maintain this feature?
25381 cat >>$CONFIG_STATUS <<_ACEOF
25382 sed "$ac_vpsub
25383 $extrasub
25384 _ACEOF
25385 cat >>$CONFIG_STATUS <<\_ACEOF
25387 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25388 s&@configure_input@&$configure_input&;t t
25389 s&@top_builddir@&$ac_top_builddir_sub&;t t
25390 s&@srcdir@&$ac_srcdir&;t t
25391 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25392 s&@top_srcdir@&$ac_top_srcdir&;t t
25393 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25394 s&@builddir@&$ac_builddir&;t t
25395 s&@abs_builddir@&$ac_abs_builddir&;t t
25396 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25397 s&@INSTALL@&$ac_INSTALL&;t t
25398 $ac_datarootdir_hack
25399 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25401 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25402 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25403 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25404 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25405 which seems to be undefined. Please make sure it is defined." >&5
25406 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25407 which seems to be undefined. Please make sure it is defined." >&2;}
25409 rm -f "$tmp/stdin"
25410 case $ac_file in
25411 -) cat "$tmp/out"; rm -f "$tmp/out";;
25412 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25413 esac
25417 # CONFIG_HEADER
25419 _ACEOF
25421 # Transform confdefs.h into a sed script `conftest.defines', that
25422 # substitutes the proper values into config.h.in to produce config.h.
25423 rm -f conftest.defines conftest.tail
25424 # First, append a space to every undef/define line, to ease matching.
25425 echo 's/$/ /' >conftest.defines
25426 # Then, protect against being on the right side of a sed subst, or in
25427 # an unquoted here document, in config.status. If some macros were
25428 # called several times there might be several #defines for the same
25429 # symbol, which is useless. But do not sort them, since the last
25430 # AC_DEFINE must be honored.
25431 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25432 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25433 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25434 # PARAMS is the parameter list in the macro definition--in most cases, it's
25435 # just an empty string.
25436 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25437 ac_dB='\\)[ (].*,\\1define\\2'
25438 ac_dC=' '
25439 ac_dD=' ,'
25441 uniq confdefs.h |
25442 sed -n '
25443 t rset
25444 :rset
25445 s/^[ ]*#[ ]*define[ ][ ]*//
25446 t ok
25449 s/[\\&,]/\\&/g
25450 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25451 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25452 ' >>conftest.defines
25454 # Remove the space that was appended to ease matching.
25455 # Then replace #undef with comments. This is necessary, for
25456 # example, in the case of _POSIX_SOURCE, which is predefined and required
25457 # on some systems where configure will not decide to define it.
25458 # (The regexp can be short, since the line contains either #define or #undef.)
25459 echo 's/ $//
25460 s,^[ #]*u.*,/* & */,' >>conftest.defines
25462 # Break up conftest.defines:
25463 ac_max_sed_lines=50
25465 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25466 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25467 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25468 # et cetera.
25469 ac_in='$ac_file_inputs'
25470 ac_out='"$tmp/out1"'
25471 ac_nxt='"$tmp/out2"'
25473 while :
25475 # Write a here document:
25476 cat >>$CONFIG_STATUS <<_ACEOF
25477 # First, check the format of the line:
25478 cat >"\$tmp/defines.sed" <<\\CEOF
25479 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25480 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25482 :def
25483 _ACEOF
25484 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25485 echo 'CEOF
25486 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25487 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25488 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25489 grep . conftest.tail >/dev/null || break
25490 rm -f conftest.defines
25491 mv conftest.tail conftest.defines
25492 done
25493 rm -f conftest.defines conftest.tail
25495 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25496 cat >>$CONFIG_STATUS <<\_ACEOF
25497 if test x"$ac_file" != x-; then
25498 echo "/* $configure_input */" >"$tmp/config.h"
25499 cat "$ac_result" >>"$tmp/config.h"
25500 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25501 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25502 echo "$as_me: $ac_file is unchanged" >&6;}
25503 else
25504 rm -f $ac_file
25505 mv "$tmp/config.h" $ac_file
25507 else
25508 echo "/* $configure_input */"
25509 cat "$ac_result"
25511 rm -f "$tmp/out12"
25514 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25515 echo "$as_me: executing $ac_file commands" >&6;}
25517 esac
25520 case $ac_file$ac_mode in
25521 "dlls/gdi/enhmfdrv":C) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25522 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
25523 "dlls/gdi/mfdrv":C) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25524 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
25525 "dlls/kernel/messages":C) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25526 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
25527 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25528 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25529 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25530 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25531 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25532 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25534 esac
25535 done # for ac_tag
25538 { (exit 0); exit 0; }
25539 _ACEOF
25540 chmod +x $CONFIG_STATUS
25541 ac_clean_files=$ac_clean_files_save
25544 # configure is writing to config.log, and then calls config.status.
25545 # config.status does its own redirection, appending to config.log.
25546 # Unfortunately, on DOS this fails, as config.log is still kept open
25547 # by configure, so config.status won't be able to write to it; its
25548 # output is simply discarded. So we exec the FD to /dev/null,
25549 # effectively closing config.log, so it can be properly (re)opened and
25550 # appended to by config.status. When coming back to configure, we
25551 # need to make the FD available again.
25552 if test "$no_create" != yes; then
25553 ac_cs_success=:
25554 ac_config_status_args=
25555 test "$silent" = yes &&
25556 ac_config_status_args="$ac_config_status_args --quiet"
25557 exec 5>/dev/null
25558 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25559 exec 5>>config.log
25560 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25561 # would make configure fail if this is the last instruction.
25562 $ac_cs_success || { (exit 1); exit 1; }
25567 if test "$verbose" = "yes"
25568 then
25569 if test "$ac_cv_header_cups_cups_h" != "yes"
25570 then
25571 echo >&2
25572 { echo "$as_me:$LINENO: libcups development files not found." >&5
25573 echo "$as_me: libcups development files not found." >&6;}
25574 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25575 echo "$as_me: Wine will be built without CUPS support." >&6;}
25579 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25580 then
25581 echo >&2
25582 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25583 echo "$as_me: libgphoto2 development files not found." >&6;}
25584 if test "$ac_cv_header_sane_sane_h" = "yes"
25585 then
25586 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25587 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25588 else
25589 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25590 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25594 if test "$ac_cv_header_hal_libhal_h" != "yes"
25595 then
25596 echo >&2
25597 { echo "$as_me:$LINENO: libhal development files not found." >&5
25598 echo "$as_me: libhal development files not found." >&6;}
25599 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25600 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25603 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25604 then
25605 echo >&2
25606 { echo "$as_me:$LINENO: libicu development files not found." >&5
25607 echo "$as_me: libicu development files not found." >&6;}
25608 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25609 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25612 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25613 then
25614 echo >&2
25615 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25616 echo "$as_me: liblcms development files not found." >&6;}
25617 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25618 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25621 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25622 then
25623 echo >&2
25624 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25625 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25626 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25627 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25630 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25631 then
25632 echo >&2
25633 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25634 echo "$as_me: lib(n)curses development files not found." >&6;}
25635 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25636 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25639 if test "$ac_cv_header_sane_sane_h" != "yes"
25640 then
25641 echo >&2
25642 { echo "$as_me:$LINENO: libsane development files not found." >&5
25643 echo "$as_me: libsane development files not found." >&6;}
25644 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25645 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25648 if test "$ac_cv_header_gif_lib_h" != "yes"
25649 then
25650 echo >&2
25651 { echo "$as_me:$LINENO: libungif development files not found." >&5
25652 echo "$as_me: libungif development files not found." >&6;}
25653 { echo "$as_me:$LINENO: Wine will be built without GIF support. (oleaut32.dll)" >&5
25654 echo "$as_me: Wine will be built without GIF support. (oleaut32.dll)" >&6;}
25657 if test "$have_x" = "yes"
25658 then
25659 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25660 then
25661 echo >&2
25662 { echo "$as_me:$LINENO: libxext development files not found." >&5
25663 echo "$as_me: libxext development files not found." >&6;}
25664 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25665 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25668 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25669 then
25670 echo >&2
25671 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25672 echo "$as_me: libXrandr development files not found." >&6;}
25673 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25674 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25677 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25678 then
25679 echo >&2
25680 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25681 echo "$as_me: libXrender development files not found." >&6;}
25682 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25683 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25686 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25687 then
25688 echo >&2
25689 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25690 echo "$as_me: libXxf86vm development files not found." >&6;}
25691 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25692 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25696 if test "$ac_cv_header_libxml_parser_h" != "yes"
25697 then
25698 echo >&2
25699 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25700 echo "$as_me: libxml2 development files not found." >&6;}
25701 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25702 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25705 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25706 then
25707 echo >&2
25708 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25709 echo "$as_me: libxslt development files not found." >&6;}
25710 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25711 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25716 if test "$have_x" = "no"
25717 then
25718 echo >&2
25719 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25720 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25721 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25722 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25723 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25724 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25725 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25726 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25729 if test "$wine_cv_opengl_version_OK" = "no"
25730 then
25731 echo >&2
25732 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
25733 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
25734 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25735 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25738 if test "$wine_cv_msg_freetype" = "yes"
25739 then
25740 echo >&2
25741 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25742 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25743 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25744 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25745 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25746 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25747 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25748 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25751 if test -z "$FONTSSUBDIRS"
25752 then
25753 echo >&2
25754 if test "$FONTFORGE" = "false"
25755 then
25756 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25757 echo "$as_me: WARNING: FontForge is missing." >&2;}
25758 else
25759 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25760 echo "$as_me: WARNING: FreeType is missing." >&2;}
25762 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25763 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25766 if test -z "$ALSALIBS" -a \
25767 -z "$ARTSC_LIBS" -a \
25768 -z "$AUDIOIOLIBS" -a \
25769 -z "$NASLIBS" -a \
25770 -z "$ESD_LIBS" -a \
25771 -z "$ac_cv_lib_soname_jack" -a \
25772 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25773 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25774 "$ac_cv_header_soundcard_h" != "yes"
25775 then
25776 echo >&2
25777 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25778 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25779 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25780 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25781 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25782 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25785 echo
25786 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
25787 echo