rpcrt4: Free the resource allocated by InitializeSecurityContext when the connection...
[wine/multimedia.git] / configure
blob1ba9d3b4eefa1d034914694f2894097984bcf124
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.27.
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.27'
563 PACKAGE_STRING='Wine 0.9.27'
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 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
572 #endif
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
575 #endif
576 #ifdef STDC_HEADERS
577 # include <stdlib.h>
578 # include <stddef.h>
579 #else
580 # ifdef HAVE_STDLIB_H
581 # include <stdlib.h>
582 # endif
583 #endif
584 #ifdef HAVE_STRING_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
586 # include <memory.h>
587 # endif
588 # include <string.h>
589 #endif
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
592 #endif
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
595 #endif
596 #ifdef HAVE_STDINT_H
597 # include <stdint.h>
598 #endif
599 #ifdef 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 LEX_OUTPUT_ROOT
671 LEXLIB
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 QUARTZFILES
701 NASLIBS
702 XML2LIBS
703 XML2INCL
704 XSLTLIBS
705 XSLTINCL
706 HALINCL
707 sane_devel
708 SANELIBS
709 SANEINCL
710 gphoto2_devel
711 gphoto2port_devel
712 GPHOTO2LIBS
713 GPHOTO2INCL
714 ICULIBS
715 RESOLVLIBS
716 LCMSLIBS
717 LDAPLIBS
718 FREETYPELIBS
719 FREETYPEINCL
720 ft_devel
721 ft_devel2
722 FONTSSUBDIRS
723 ARTSCCONFIG
724 ARTSLIBS
725 ARTSINCL
726 ESDCONFIG
727 ESDLIBS
728 ESDINCL
729 ALSALIBS
730 AUDIOIOLIBS
731 EXTRACFLAGS
732 BUILTINFLAG
733 DLLEXT
734 DLLFLAGS
735 LDSHARED
736 LDDLLFLAGS
737 LIBEXT
738 IMPLIBEXT
739 LIBWINE_LDFLAGS
740 DLLTOOL
741 DLLWRAP
742 COREFOUNDATIONLIB
743 IOKITLIB
744 LDEXECFLAGS
745 DISKARBITRATIONLIB
746 COREAUDIO
747 CROSSTEST
748 CROSSCC
749 CROSSWINDRES
750 LDPATH
751 CRTLIBS
752 SOCKETLIBS
753 MAIN_BINARY
754 EXTRA_BINARIES
756 LIBDL
757 LIBPOLL
758 DEPENDENCIES
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.27 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.27:";;
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 --with-wine-tools=<dir> use Wine tools from directory <dir>
1365 --with-x use the X Window System
1367 Some influential environment variables:
1368 CC C compiler command
1369 CFLAGS C compiler flags
1370 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1371 nonstandard directory <lib dir>
1372 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1373 you have headers in a nonstandard directory <include dir>
1374 CXX C++ compiler command
1375 CXXFLAGS C++ compiler flags
1376 XMKMF Path to xmkmf, Makefile generator for X Window System
1377 CPP C preprocessor
1379 Use these variables to override the choices made by `configure' or to help
1380 it to find libraries and programs with nonstandard names/locations.
1382 Report bugs to <wine-devel@winehq.org>.
1383 _ACEOF
1384 ac_status=$?
1387 if test "$ac_init_help" = "recursive"; then
1388 # If there are subdirs, report their specific --help.
1389 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1390 test -d "$ac_dir" || continue
1391 ac_builddir=.
1393 case "$ac_dir" in
1394 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1396 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1397 # A ".." for each directory in $ac_dir_suffix.
1398 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1399 case $ac_top_builddir_sub in
1400 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1401 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1402 esac ;;
1403 esac
1404 ac_abs_top_builddir=$ac_pwd
1405 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1406 # for backward compatibility:
1407 ac_top_builddir=$ac_top_build_prefix
1409 case $srcdir in
1410 .) # We are building in place.
1411 ac_srcdir=.
1412 ac_top_srcdir=$ac_top_builddir_sub
1413 ac_abs_top_srcdir=$ac_pwd ;;
1414 [\\/]* | ?:[\\/]* ) # Absolute name.
1415 ac_srcdir=$srcdir$ac_dir_suffix;
1416 ac_top_srcdir=$srcdir
1417 ac_abs_top_srcdir=$srcdir ;;
1418 *) # Relative name.
1419 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1420 ac_top_srcdir=$ac_top_build_prefix$srcdir
1421 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1422 esac
1423 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1425 cd "$ac_dir" || { ac_status=$?; continue; }
1426 # Check for guested configure.
1427 if test -f "$ac_srcdir/configure.gnu"; then
1428 echo &&
1429 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1430 elif test -f "$ac_srcdir/configure"; then
1431 echo &&
1432 $SHELL "$ac_srcdir/configure" --help=recursive
1433 else
1434 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1435 fi || ac_status=$?
1436 cd "$ac_pwd" || { ac_status=$?; break; }
1437 done
1440 test -n "$ac_init_help" && exit $ac_status
1441 if $ac_init_version; then
1442 cat <<\_ACEOF
1443 Wine configure 0.9.27
1444 generated by GNU Autoconf 2.60a
1446 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1447 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1448 This configure script is free software; the Free Software Foundation
1449 gives unlimited permission to copy, distribute and modify it.
1450 _ACEOF
1451 exit
1453 cat >config.log <<_ACEOF
1454 This file contains any messages produced by compilers while
1455 running configure, to aid debugging if configure makes a mistake.
1457 It was created by Wine $as_me 0.9.27, which was
1458 generated by GNU Autoconf 2.60a. Invocation command line was
1460 $ $0 $@
1462 _ACEOF
1463 exec 5>>config.log
1465 cat <<_ASUNAME
1466 ## --------- ##
1467 ## Platform. ##
1468 ## --------- ##
1470 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1471 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1472 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1473 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1474 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1476 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1477 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1479 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1480 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1481 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1482 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1483 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1484 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1485 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1487 _ASUNAME
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490 for as_dir in $PATH
1492 IFS=$as_save_IFS
1493 test -z "$as_dir" && as_dir=.
1494 echo "PATH: $as_dir"
1495 done
1496 IFS=$as_save_IFS
1498 } >&5
1500 cat >&5 <<_ACEOF
1503 ## ----------- ##
1504 ## Core tests. ##
1505 ## ----------- ##
1507 _ACEOF
1510 # Keep a trace of the command line.
1511 # Strip out --no-create and --no-recursion so they do not pile up.
1512 # Strip out --silent because we don't want to record it for future runs.
1513 # Also quote any args containing shell meta-characters.
1514 # Make two passes to allow for proper duplicate-argument suppression.
1515 ac_configure_args=
1516 ac_configure_args0=
1517 ac_configure_args1=
1518 ac_must_keep_next=false
1519 for ac_pass in 1 2
1521 for ac_arg
1523 case $ac_arg in
1524 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1525 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1526 | -silent | --silent | --silen | --sile | --sil)
1527 continue ;;
1528 *\'*)
1529 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1530 esac
1531 case $ac_pass in
1532 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1534 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1535 if test $ac_must_keep_next = true; then
1536 ac_must_keep_next=false # Got value, back to normal.
1537 else
1538 case $ac_arg in
1539 *=* | --config-cache | -C | -disable-* | --disable-* \
1540 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1541 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1542 | -with-* | --with-* | -without-* | --without-* | --x)
1543 case "$ac_configure_args0 " in
1544 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1545 esac
1547 -* ) ac_must_keep_next=true ;;
1548 esac
1550 ac_configure_args="$ac_configure_args '$ac_arg'"
1552 esac
1553 done
1554 done
1555 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1556 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1558 # When interrupted or exit'd, cleanup temporary files, and complete
1559 # config.log. We remove comments because anyway the quotes in there
1560 # would cause problems or look ugly.
1561 # WARNING: Use '\'' to represent an apostrophe within the trap.
1562 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1563 trap 'exit_status=$?
1564 # Save into config.log some information that might help in debugging.
1566 echo
1568 cat <<\_ASBOX
1569 ## ---------------- ##
1570 ## Cache variables. ##
1571 ## ---------------- ##
1572 _ASBOX
1573 echo
1574 # The following way of writing the cache mishandles newlines in values,
1576 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1577 eval ac_val=\$$ac_var
1578 case $ac_val in #(
1579 *${as_nl}*)
1580 case $ac_var in #(
1581 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1582 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1583 esac
1584 case $ac_var in #(
1585 _ | IFS | as_nl) ;; #(
1586 *) $as_unset $ac_var ;;
1587 esac ;;
1588 esac
1589 done
1590 (set) 2>&1 |
1591 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1592 *${as_nl}ac_space=\ *)
1593 sed -n \
1594 "s/'\''/'\''\\\\'\'''\''/g;
1595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1596 ;; #(
1598 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1600 esac |
1601 sort
1603 echo
1605 cat <<\_ASBOX
1606 ## ----------------- ##
1607 ## Output variables. ##
1608 ## ----------------- ##
1609 _ASBOX
1610 echo
1611 for ac_var in $ac_subst_vars
1613 eval ac_val=\$$ac_var
1614 case $ac_val in
1615 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1616 esac
1617 echo "$ac_var='\''$ac_val'\''"
1618 done | sort
1619 echo
1621 if test -n "$ac_subst_files"; then
1622 cat <<\_ASBOX
1623 ## ------------------- ##
1624 ## File substitutions. ##
1625 ## ------------------- ##
1626 _ASBOX
1627 echo
1628 for ac_var in $ac_subst_files
1630 eval ac_val=\$$ac_var
1631 case $ac_val in
1632 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1633 esac
1634 echo "$ac_var='\''$ac_val'\''"
1635 done | sort
1636 echo
1639 if test -s confdefs.h; then
1640 cat <<\_ASBOX
1641 ## ----------- ##
1642 ## confdefs.h. ##
1643 ## ----------- ##
1644 _ASBOX
1645 echo
1646 cat confdefs.h
1647 echo
1649 test "$ac_signal" != 0 &&
1650 echo "$as_me: caught signal $ac_signal"
1651 echo "$as_me: exit $exit_status"
1652 } >&5
1653 rm -f core *.core core.conftest.* &&
1654 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1655 exit $exit_status
1657 for ac_signal in 1 2 13 15; do
1658 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1659 done
1660 ac_signal=0
1662 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1663 rm -f -r conftest* confdefs.h
1665 # Predefined preprocessor variables.
1667 cat >>confdefs.h <<_ACEOF
1668 #define PACKAGE_NAME "$PACKAGE_NAME"
1669 _ACEOF
1672 cat >>confdefs.h <<_ACEOF
1673 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1674 _ACEOF
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1679 _ACEOF
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_STRING "$PACKAGE_STRING"
1684 _ACEOF
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1689 _ACEOF
1692 # Let the site file select an alternate cache file if it wants to.
1693 # Prefer explicitly selected file to automatically selected ones.
1694 if test -n "$CONFIG_SITE"; then
1695 set x "$CONFIG_SITE"
1696 elif test "x$prefix" != xNONE; then
1697 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1698 else
1699 set x "$ac_default_prefix/share/config.site" \
1700 "$ac_default_prefix/etc/config.site"
1702 shift
1703 for ac_site_file
1705 if test -r "$ac_site_file"; then
1706 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1707 echo "$as_me: loading site script $ac_site_file" >&6;}
1708 sed 's/^/| /' "$ac_site_file" >&5
1709 . "$ac_site_file"
1711 done
1713 if test -r "$cache_file"; then
1714 # Some versions of bash will fail to source /dev/null (special
1715 # files actually), so we avoid doing that.
1716 if test -f "$cache_file"; then
1717 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1718 echo "$as_me: loading cache $cache_file" >&6;}
1719 case $cache_file in
1720 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1721 *) . "./$cache_file";;
1722 esac
1724 else
1725 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1726 echo "$as_me: creating cache $cache_file" >&6;}
1727 >$cache_file
1730 # Check that the precious variables saved in the cache have kept the same
1731 # value.
1732 ac_cache_corrupted=false
1733 for ac_var in $ac_precious_vars; do
1734 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1735 eval ac_new_set=\$ac_env_${ac_var}_set
1736 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1737 eval ac_new_val=\$ac_env_${ac_var}_value
1738 case $ac_old_set,$ac_new_set in
1739 set,)
1740 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1741 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1742 ac_cache_corrupted=: ;;
1743 ,set)
1744 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1745 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1746 ac_cache_corrupted=: ;;
1747 ,);;
1749 if test "x$ac_old_val" != "x$ac_new_val"; then
1750 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1751 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1752 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1753 echo "$as_me: former value: $ac_old_val" >&2;}
1754 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1755 echo "$as_me: current value: $ac_new_val" >&2;}
1756 ac_cache_corrupted=:
1757 fi;;
1758 esac
1759 # Pass precious variables to config.status.
1760 if test "$ac_new_set" = set; then
1761 case $ac_new_val in
1762 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1763 *) ac_arg=$ac_var=$ac_new_val ;;
1764 esac
1765 case " $ac_configure_args " in
1766 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1767 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1768 esac
1770 done
1771 if $ac_cache_corrupted; then
1772 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1773 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1774 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1775 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1776 { (exit 1); exit 1; }; }
1803 ac_ext=c
1804 ac_cpp='$CPP $CPPFLAGS'
1805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1811 ac_config_headers="$ac_config_headers include/config.h"
1813 ac_aux_dir=
1814 for ac_dir in tools "$srcdir"/tools; do
1815 if test -f "$ac_dir/install-sh"; then
1816 ac_aux_dir=$ac_dir
1817 ac_install_sh="$ac_aux_dir/install-sh -c"
1818 break
1819 elif test -f "$ac_dir/install.sh"; then
1820 ac_aux_dir=$ac_dir
1821 ac_install_sh="$ac_aux_dir/install.sh -c"
1822 break
1823 elif test -f "$ac_dir/shtool"; then
1824 ac_aux_dir=$ac_dir
1825 ac_install_sh="$ac_aux_dir/shtool install -c"
1826 break
1828 done
1829 if test -z "$ac_aux_dir"; then
1830 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1831 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1832 { (exit 1); exit 1; }; }
1835 # These three variables are undocumented and unsupported,
1836 # and are intended to be withdrawn in a future Autoconf release.
1837 # They can cause serious problems if a builder's source tree is in a directory
1838 # whose full name contains unusual characters.
1839 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1840 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1841 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1846 # Check whether --enable-win16 was given.
1847 if test "${enable_win16+set}" = set; then
1848 enableval=$enable_win16;
1851 # Check whether --enable-win64 was given.
1852 if test "${enable_win64+set}" = set; then
1853 enableval=$enable_win64;
1858 # Check whether --with-opengl was given.
1859 if test "${with_opengl+set}" = set; then
1860 withval=$with_opengl;
1864 # Check whether --with-wine-tools was given.
1865 if test "${with_wine_tools+set}" = set; then
1866 withval=$with_wine_tools;
1870 # Make sure we can run config.sub.
1871 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1872 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1873 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1874 { (exit 1); exit 1; }; }
1876 { echo "$as_me:$LINENO: checking build system type" >&5
1877 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1878 if test "${ac_cv_build+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 else
1881 ac_build_alias=$build_alias
1882 test "x$ac_build_alias" = x &&
1883 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1884 test "x$ac_build_alias" = x &&
1885 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1886 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1887 { (exit 1); exit 1; }; }
1888 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1889 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1890 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1891 { (exit 1); exit 1; }; }
1894 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1895 echo "${ECHO_T}$ac_cv_build" >&6; }
1896 case $ac_cv_build in
1897 *-*-*) ;;
1898 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1899 echo "$as_me: error: invalid value of canonical build" >&2;}
1900 { (exit 1); exit 1; }; };;
1901 esac
1902 build=$ac_cv_build
1903 ac_save_IFS=$IFS; IFS='-'
1904 set x $ac_cv_build
1905 shift
1906 build_cpu=$1
1907 build_vendor=$2
1908 shift; shift
1909 # Remember, the first character of IFS is used to create $*,
1910 # except with old shells:
1911 build_os=$*
1912 IFS=$ac_save_IFS
1913 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1916 { echo "$as_me:$LINENO: checking host system type" >&5
1917 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1918 if test "${ac_cv_host+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 else
1921 if test "x$host_alias" = x; then
1922 ac_cv_host=$ac_cv_build
1923 else
1924 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1925 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1926 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1927 { (exit 1); exit 1; }; }
1931 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1932 echo "${ECHO_T}$ac_cv_host" >&6; }
1933 case $ac_cv_host in
1934 *-*-*) ;;
1935 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1936 echo "$as_me: error: invalid value of canonical host" >&2;}
1937 { (exit 1); exit 1; }; };;
1938 esac
1939 host=$ac_cv_host
1940 ac_save_IFS=$IFS; IFS='-'
1941 set x $ac_cv_host
1942 shift
1943 host_cpu=$1
1944 host_vendor=$2
1945 shift; shift
1946 # Remember, the first character of IFS is used to create $*,
1947 # except with old shells:
1948 host_os=$*
1949 IFS=$ac_save_IFS
1950 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1953 case $host in
1954 x86_64*linux*)
1955 if test "x$enable_win64" != "xyes"
1956 then
1957 test -n "$CC" || CC="gcc -m32"
1958 test -n "$LD" || LD="ld -m elf_i386"
1959 test -n "$AS" || AS="as --32"
1960 host_cpu="i386"
1963 esac
1965 case $host_cpu in
1966 *i[3456789]86*)
1967 if test "x$enable_win16" != "xno"
1968 then
1969 enable_win16="yes"
1972 esac
1974 WIN16_FILES="\$(WIN16_FILES)"
1976 WIN16_INSTALL="\$(WIN16_INSTALL)"
1978 if test "x$enable_win16" != "xyes"
1979 then
1980 WIN16_FILES=""
1981 WIN16_INSTALL=""
1985 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1986 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1987 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1988 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1990 else
1991 cat >conftest.make <<\_ACEOF
1992 SHELL = /bin/sh
1993 all:
1994 @echo '@@@%%%=$(MAKE)=@@@%%%'
1995 _ACEOF
1996 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1997 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1998 *@@@%%%=?*=@@@%%%*)
1999 eval ac_cv_prog_make_${ac_make}_set=yes;;
2001 eval ac_cv_prog_make_${ac_make}_set=no;;
2002 esac
2003 rm -f conftest.make
2005 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2006 { echo "$as_me:$LINENO: result: yes" >&5
2007 echo "${ECHO_T}yes" >&6; }
2008 SET_MAKE=
2009 else
2010 { echo "$as_me:$LINENO: result: no" >&5
2011 echo "${ECHO_T}no" >&6; }
2012 SET_MAKE="MAKE=${MAKE-make}"
2015 ac_ext=c
2016 ac_cpp='$CPP $CPPFLAGS'
2017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2020 if test -n "$ac_tool_prefix"; then
2021 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2022 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2025 if test "${ac_cv_prog_CC+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 else
2028 if test -n "$CC"; then
2029 ac_cv_prog_CC="$CC" # Let the user override the test.
2030 else
2031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 for as_dir in $PATH
2034 IFS=$as_save_IFS
2035 test -z "$as_dir" && as_dir=.
2036 for ac_exec_ext in '' $ac_executable_extensions; do
2037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2038 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 break 2
2042 done
2043 done
2044 IFS=$as_save_IFS
2048 CC=$ac_cv_prog_CC
2049 if test -n "$CC"; then
2050 { echo "$as_me:$LINENO: result: $CC" >&5
2051 echo "${ECHO_T}$CC" >&6; }
2052 else
2053 { echo "$as_me:$LINENO: result: no" >&5
2054 echo "${ECHO_T}no" >&6; }
2059 if test -z "$ac_cv_prog_CC"; then
2060 ac_ct_CC=$CC
2061 # Extract the first word of "gcc", so it can be a program name with args.
2062 set dummy gcc; ac_word=$2
2063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 else
2068 if test -n "$ac_ct_CC"; then
2069 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2074 IFS=$as_save_IFS
2075 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2078 ac_cv_prog_ac_ct_CC="gcc"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 break 2
2082 done
2083 done
2084 IFS=$as_save_IFS
2088 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2089 if test -n "$ac_ct_CC"; then
2090 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2091 echo "${ECHO_T}$ac_ct_CC" >&6; }
2092 else
2093 { echo "$as_me:$LINENO: result: no" >&5
2094 echo "${ECHO_T}no" >&6; }
2097 if test "x$ac_ct_CC" = x; then
2098 CC=""
2099 else
2100 case $cross_compiling:$ac_tool_warned in
2101 yes:)
2102 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2103 whose name does not start with the host triplet. If you think this
2104 configuration is useful to you, please write to autoconf@gnu.org." >&5
2105 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2106 whose name does not start with the host triplet. If you think this
2107 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2108 ac_tool_warned=yes ;;
2109 esac
2110 CC=$ac_ct_CC
2112 else
2113 CC="$ac_cv_prog_CC"
2116 if test -z "$CC"; then
2117 if test -n "$ac_tool_prefix"; then
2118 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2119 set dummy ${ac_tool_prefix}cc; ac_word=$2
2120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2122 if test "${ac_cv_prog_CC+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 else
2125 if test -n "$CC"; then
2126 ac_cv_prog_CC="$CC" # Let the user override the test.
2127 else
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2131 IFS=$as_save_IFS
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2135 ac_cv_prog_CC="${ac_tool_prefix}cc"
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 break 2
2139 done
2140 done
2141 IFS=$as_save_IFS
2145 CC=$ac_cv_prog_CC
2146 if test -n "$CC"; then
2147 { echo "$as_me:$LINENO: result: $CC" >&5
2148 echo "${ECHO_T}$CC" >&6; }
2149 else
2150 { echo "$as_me:$LINENO: result: no" >&5
2151 echo "${ECHO_T}no" >&6; }
2157 if test -z "$CC"; then
2158 # Extract the first word of "cc", so it can be a program name with args.
2159 set dummy cc; ac_word=$2
2160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2162 if test "${ac_cv_prog_CC+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 else
2165 if test -n "$CC"; then
2166 ac_cv_prog_CC="$CC" # Let the user override the test.
2167 else
2168 ac_prog_rejected=no
2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170 for as_dir in $PATH
2172 IFS=$as_save_IFS
2173 test -z "$as_dir" && as_dir=.
2174 for ac_exec_ext in '' $ac_executable_extensions; do
2175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2176 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2177 ac_prog_rejected=yes
2178 continue
2180 ac_cv_prog_CC="cc"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 break 2
2184 done
2185 done
2186 IFS=$as_save_IFS
2188 if test $ac_prog_rejected = yes; then
2189 # We found a bogon in the path, so make sure we never use it.
2190 set dummy $ac_cv_prog_CC
2191 shift
2192 if test $# != 0; then
2193 # We chose a different compiler from the bogus one.
2194 # However, it has the same basename, so the bogon will be chosen
2195 # first if we set CC to just the basename; use the full file name.
2196 shift
2197 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2202 CC=$ac_cv_prog_CC
2203 if test -n "$CC"; then
2204 { echo "$as_me:$LINENO: result: $CC" >&5
2205 echo "${ECHO_T}$CC" >&6; }
2206 else
2207 { echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6; }
2213 if test -z "$CC"; then
2214 if test -n "$ac_tool_prefix"; then
2215 for ac_prog in cl.exe
2217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2218 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2221 if test "${ac_cv_prog_CC+set}" = set; then
2222 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 else
2224 if test -n "$CC"; then
2225 ac_cv_prog_CC="$CC" # Let the user override the test.
2226 else
2227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228 for as_dir in $PATH
2230 IFS=$as_save_IFS
2231 test -z "$as_dir" && as_dir=.
2232 for ac_exec_ext in '' $ac_executable_extensions; do
2233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2234 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2236 break 2
2238 done
2239 done
2240 IFS=$as_save_IFS
2244 CC=$ac_cv_prog_CC
2245 if test -n "$CC"; then
2246 { echo "$as_me:$LINENO: result: $CC" >&5
2247 echo "${ECHO_T}$CC" >&6; }
2248 else
2249 { echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6; }
2254 test -n "$CC" && break
2255 done
2257 if test -z "$CC"; then
2258 ac_ct_CC=$CC
2259 for ac_prog in cl.exe
2261 # Extract the first word of "$ac_prog", so it can be a program name with args.
2262 set dummy $ac_prog; ac_word=$2
2263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2265 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2266 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 else
2268 if test -n "$ac_ct_CC"; then
2269 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2270 else
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 for as_dir in $PATH
2274 IFS=$as_save_IFS
2275 test -z "$as_dir" && as_dir=.
2276 for ac_exec_ext in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_ac_ct_CC="$ac_prog"
2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2280 break 2
2282 done
2283 done
2284 IFS=$as_save_IFS
2288 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2289 if test -n "$ac_ct_CC"; then
2290 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2291 echo "${ECHO_T}$ac_ct_CC" >&6; }
2292 else
2293 { echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6; }
2298 test -n "$ac_ct_CC" && break
2299 done
2301 if test "x$ac_ct_CC" = x; then
2302 CC=""
2303 else
2304 case $cross_compiling:$ac_tool_warned in
2305 yes:)
2306 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2307 whose name does not start with the host triplet. If you think this
2308 configuration is useful to you, please write to autoconf@gnu.org." >&5
2309 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2310 whose name does not start with the host triplet. If you think this
2311 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2312 ac_tool_warned=yes ;;
2313 esac
2314 CC=$ac_ct_CC
2321 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2322 See \`config.log' for more details." >&5
2323 echo "$as_me: error: no acceptable C compiler found in \$PATH
2324 See \`config.log' for more details." >&2;}
2325 { (exit 1); exit 1; }; }
2327 # Provide some information about the compiler.
2328 echo "$as_me:$LINENO: checking for C compiler version" >&5
2329 ac_compiler=`set X $ac_compile; echo $2`
2330 { (ac_try="$ac_compiler --version >&5"
2331 case "(($ac_try" in
2332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2333 *) ac_try_echo=$ac_try;;
2334 esac
2335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2336 (eval "$ac_compiler --version >&5") 2>&5
2337 ac_status=$?
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); }
2340 { (ac_try="$ac_compiler -v >&5"
2341 case "(($ac_try" in
2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2344 esac
2345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2346 (eval "$ac_compiler -v >&5") 2>&5
2347 ac_status=$?
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }
2350 { (ac_try="$ac_compiler -V >&5"
2351 case "(($ac_try" in
2352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2353 *) ac_try_echo=$ac_try;;
2354 esac
2355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2356 (eval "$ac_compiler -V >&5") 2>&5
2357 ac_status=$?
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }
2361 cat >conftest.$ac_ext <<_ACEOF
2362 /* confdefs.h. */
2363 _ACEOF
2364 cat confdefs.h >>conftest.$ac_ext
2365 cat >>conftest.$ac_ext <<_ACEOF
2366 /* end confdefs.h. */
2369 main ()
2373 return 0;
2375 _ACEOF
2376 ac_clean_files_save=$ac_clean_files
2377 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2378 # Try to create an executable without -o first, disregard a.out.
2379 # It will help us diagnose broken compilers, and finding out an intuition
2380 # of exeext.
2381 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2382 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2383 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2385 # List of possible output files, starting from the most likely.
2386 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2387 # only as a last resort. b.out is created by i960 compilers.
2388 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2390 # The IRIX 6 linker writes into existing files which may not be
2391 # executable, retaining their permissions. Remove them first so a
2392 # subsequent execution test works.
2393 ac_rmfiles=
2394 for ac_file in $ac_files
2396 case $ac_file in
2397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2398 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2399 esac
2400 done
2401 rm -f $ac_rmfiles
2403 if { (ac_try="$ac_link_default"
2404 case "(($ac_try" in
2405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2406 *) ac_try_echo=$ac_try;;
2407 esac
2408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2409 (eval "$ac_link_default") 2>&5
2410 ac_status=$?
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; then
2413 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2414 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2415 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2416 # so that the user can short-circuit this test for compilers unknown to
2417 # Autoconf.
2418 for ac_file in $ac_files ''
2420 test -f "$ac_file" || continue
2421 case $ac_file in
2422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2424 [ab].out )
2425 # We found the default executable, but exeext='' is most
2426 # certainly right.
2427 break;;
2428 *.* )
2429 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2430 then :; else
2431 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2433 # We set ac_cv_exeext here because the later test for it is not
2434 # safe: cross compilers may not add the suffix if given an `-o'
2435 # argument, so we may need to know it at that point already.
2436 # Even if this section looks crufty: it has the advantage of
2437 # actually working.
2438 break;;
2440 break;;
2441 esac
2442 done
2443 test "$ac_cv_exeext" = no && ac_cv_exeext=
2445 else
2446 ac_file=''
2449 { echo "$as_me:$LINENO: result: $ac_file" >&5
2450 echo "${ECHO_T}$ac_file" >&6; }
2451 if test -z "$ac_file"; then
2452 echo "$as_me: failed program was:" >&5
2453 sed 's/^/| /' conftest.$ac_ext >&5
2455 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2456 See \`config.log' for more details." >&5
2457 echo "$as_me: error: C compiler cannot create executables
2458 See \`config.log' for more details." >&2;}
2459 { (exit 77); exit 77; }; }
2462 ac_exeext=$ac_cv_exeext
2464 # Check that the compiler produces executables we can run. If not, either
2465 # the compiler is broken, or we cross compile.
2466 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2467 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2468 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2469 # If not cross compiling, check that we can run a simple program.
2470 if test "$cross_compiling" != yes; then
2471 if { ac_try='./$ac_file'
2472 { (case "(($ac_try" in
2473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2474 *) ac_try_echo=$ac_try;;
2475 esac
2476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2477 (eval "$ac_try") 2>&5
2478 ac_status=$?
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); }; }; then
2481 cross_compiling=no
2482 else
2483 if test "$cross_compiling" = maybe; then
2484 cross_compiling=yes
2485 else
2486 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2487 If you meant to cross compile, use \`--host'.
2488 See \`config.log' for more details." >&5
2489 echo "$as_me: error: cannot run C compiled programs.
2490 If you meant to cross compile, use \`--host'.
2491 See \`config.log' for more details." >&2;}
2492 { (exit 1); exit 1; }; }
2496 { echo "$as_me:$LINENO: result: yes" >&5
2497 echo "${ECHO_T}yes" >&6; }
2499 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2500 ac_clean_files=$ac_clean_files_save
2501 # Check that the compiler produces executables we can run. If not, either
2502 # the compiler is broken, or we cross compile.
2503 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2504 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2505 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2506 echo "${ECHO_T}$cross_compiling" >&6; }
2508 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2509 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2510 if { (ac_try="$ac_link"
2511 case "(($ac_try" in
2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2514 esac
2515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2516 (eval "$ac_link") 2>&5
2517 ac_status=$?
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); }; then
2520 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2521 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2522 # work properly (i.e., refer to `conftest.exe'), while it won't with
2523 # `rm'.
2524 for ac_file in conftest.exe conftest conftest.*; do
2525 test -f "$ac_file" || continue
2526 case $ac_file in
2527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2528 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2529 break;;
2530 * ) break;;
2531 esac
2532 done
2533 else
2534 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2541 rm -f conftest$ac_cv_exeext
2542 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2543 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2545 rm -f conftest.$ac_ext
2546 EXEEXT=$ac_cv_exeext
2547 ac_exeext=$EXEEXT
2548 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2549 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2550 if test "${ac_cv_objext+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 else
2553 cat >conftest.$ac_ext <<_ACEOF
2554 /* confdefs.h. */
2555 _ACEOF
2556 cat confdefs.h >>conftest.$ac_ext
2557 cat >>conftest.$ac_ext <<_ACEOF
2558 /* end confdefs.h. */
2561 main ()
2565 return 0;
2567 _ACEOF
2568 rm -f conftest.o conftest.obj
2569 if { (ac_try="$ac_compile"
2570 case "(($ac_try" in
2571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2572 *) ac_try_echo=$ac_try;;
2573 esac
2574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2575 (eval "$ac_compile") 2>&5
2576 ac_status=$?
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; then
2579 for ac_file in conftest.o conftest.obj conftest.*; do
2580 test -f "$ac_file" || continue;
2581 case $ac_file in
2582 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2583 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2584 break;;
2585 esac
2586 done
2587 else
2588 echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.$ac_ext >&5
2591 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&5
2593 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2594 See \`config.log' for more details." >&2;}
2595 { (exit 1); exit 1; }; }
2598 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2600 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2601 echo "${ECHO_T}$ac_cv_objext" >&6; }
2602 OBJEXT=$ac_cv_objext
2603 ac_objext=$OBJEXT
2604 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2605 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2606 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2607 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 else
2609 cat >conftest.$ac_ext <<_ACEOF
2610 /* confdefs.h. */
2611 _ACEOF
2612 cat confdefs.h >>conftest.$ac_ext
2613 cat >>conftest.$ac_ext <<_ACEOF
2614 /* end confdefs.h. */
2617 main ()
2619 #ifndef __GNUC__
2620 choke me
2621 #endif
2624 return 0;
2626 _ACEOF
2627 rm -f conftest.$ac_objext
2628 if { (ac_try="$ac_compile"
2629 case "(($ac_try" in
2630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631 *) ac_try_echo=$ac_try;;
2632 esac
2633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2634 (eval "$ac_compile") 2>conftest.er1
2635 ac_status=$?
2636 grep -v '^ *+' conftest.er1 >conftest.err
2637 rm -f conftest.er1
2638 cat conftest.err >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); } &&
2641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2642 { (case "(($ac_try" in
2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2645 esac
2646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2647 (eval "$ac_try") 2>&5
2648 ac_status=$?
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; } &&
2651 { ac_try='test -s conftest.$ac_objext'
2652 { (case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2655 esac
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_try") 2>&5
2658 ac_status=$?
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; }; then
2661 ac_compiler_gnu=yes
2662 else
2663 echo "$as_me: failed program was:" >&5
2664 sed 's/^/| /' conftest.$ac_ext >&5
2666 ac_compiler_gnu=no
2669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2670 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2673 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2674 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2675 GCC=`test $ac_compiler_gnu = yes && echo yes`
2676 ac_test_CFLAGS=${CFLAGS+set}
2677 ac_save_CFLAGS=$CFLAGS
2678 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2679 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2680 if test "${ac_cv_prog_cc_g+set}" = set; then
2681 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 else
2683 ac_save_c_werror_flag=$ac_c_werror_flag
2684 ac_c_werror_flag=yes
2685 ac_cv_prog_cc_g=no
2686 CFLAGS="-g"
2687 cat >conftest.$ac_ext <<_ACEOF
2688 /* confdefs.h. */
2689 _ACEOF
2690 cat confdefs.h >>conftest.$ac_ext
2691 cat >>conftest.$ac_ext <<_ACEOF
2692 /* end confdefs.h. */
2695 main ()
2699 return 0;
2701 _ACEOF
2702 rm -f conftest.$ac_objext
2703 if { (ac_try="$ac_compile"
2704 case "(($ac_try" in
2705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706 *) ac_try_echo=$ac_try;;
2707 esac
2708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2709 (eval "$ac_compile") 2>conftest.er1
2710 ac_status=$?
2711 grep -v '^ *+' conftest.er1 >conftest.err
2712 rm -f conftest.er1
2713 cat conftest.err >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); } &&
2716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2717 { (case "(($ac_try" in
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2720 esac
2721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2722 (eval "$ac_try") 2>&5
2723 ac_status=$?
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }; } &&
2726 { ac_try='test -s conftest.$ac_objext'
2727 { (case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2730 esac
2731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2732 (eval "$ac_try") 2>&5
2733 ac_status=$?
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; }; then
2736 ac_cv_prog_cc_g=yes
2737 else
2738 echo "$as_me: failed program was:" >&5
2739 sed 's/^/| /' conftest.$ac_ext >&5
2741 CFLAGS=""
2742 cat >conftest.$ac_ext <<_ACEOF
2743 /* confdefs.h. */
2744 _ACEOF
2745 cat confdefs.h >>conftest.$ac_ext
2746 cat >>conftest.$ac_ext <<_ACEOF
2747 /* end confdefs.h. */
2750 main ()
2754 return 0;
2756 _ACEOF
2757 rm -f conftest.$ac_objext
2758 if { (ac_try="$ac_compile"
2759 case "(($ac_try" in
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2762 esac
2763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2764 (eval "$ac_compile") 2>conftest.er1
2765 ac_status=$?
2766 grep -v '^ *+' conftest.er1 >conftest.err
2767 rm -f conftest.er1
2768 cat conftest.err >&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); } &&
2771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2772 { (case "(($ac_try" in
2773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2775 esac
2776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2777 (eval "$ac_try") 2>&5
2778 ac_status=$?
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }; } &&
2781 { ac_try='test -s conftest.$ac_objext'
2782 { (case "(($ac_try" in
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2785 esac
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_try") 2>&5
2788 ac_status=$?
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; }; then
2792 else
2793 echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 ac_c_werror_flag=$ac_save_c_werror_flag
2797 CFLAGS="-g"
2798 cat >conftest.$ac_ext <<_ACEOF
2799 /* confdefs.h. */
2800 _ACEOF
2801 cat confdefs.h >>conftest.$ac_ext
2802 cat >>conftest.$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2806 main ()
2810 return 0;
2812 _ACEOF
2813 rm -f conftest.$ac_objext
2814 if { (ac_try="$ac_compile"
2815 case "(($ac_try" in
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2818 esac
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2820 (eval "$ac_compile") 2>conftest.er1
2821 ac_status=$?
2822 grep -v '^ *+' conftest.er1 >conftest.err
2823 rm -f conftest.er1
2824 cat conftest.err >&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); } &&
2827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2828 { (case "(($ac_try" in
2829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2830 *) ac_try_echo=$ac_try;;
2831 esac
2832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2833 (eval "$ac_try") 2>&5
2834 ac_status=$?
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; } &&
2837 { ac_try='test -s conftest.$ac_objext'
2838 { (case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2841 esac
2842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2843 (eval "$ac_try") 2>&5
2844 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; }; then
2847 ac_cv_prog_cc_g=yes
2848 else
2849 echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 ac_c_werror_flag=$ac_save_c_werror_flag
2864 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2865 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2866 if test "$ac_test_CFLAGS" = set; then
2867 CFLAGS=$ac_save_CFLAGS
2868 elif test $ac_cv_prog_cc_g = yes; then
2869 if test "$GCC" = yes; then
2870 CFLAGS="-g -O2"
2871 else
2872 CFLAGS="-g"
2874 else
2875 if test "$GCC" = yes; then
2876 CFLAGS="-O2"
2877 else
2878 CFLAGS=
2881 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2882 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2883 if test "${ac_cv_prog_cc_c89+set}" = set; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 else
2886 ac_cv_prog_cc_c89=no
2887 ac_save_CC=$CC
2888 cat >conftest.$ac_ext <<_ACEOF
2889 /* confdefs.h. */
2890 _ACEOF
2891 cat confdefs.h >>conftest.$ac_ext
2892 cat >>conftest.$ac_ext <<_ACEOF
2893 /* end confdefs.h. */
2894 #include <stdarg.h>
2895 #include <stdio.h>
2896 #include <sys/types.h>
2897 #include <sys/stat.h>
2898 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2899 struct buf { int x; };
2900 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2901 static char *e (p, i)
2902 char **p;
2903 int i;
2905 return p[i];
2907 static char *f (char * (*g) (char **, int), char **p, ...)
2909 char *s;
2910 va_list v;
2911 va_start (v,p);
2912 s = g (p, va_arg (v,int));
2913 va_end (v);
2914 return s;
2917 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2918 function prototypes and stuff, but not '\xHH' hex character constants.
2919 These don't provoke an error unfortunately, instead are silently treated
2920 as 'x'. The following induces an error, until -std is added to get
2921 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2922 array size at least. It's necessary to write '\x00'==0 to get something
2923 that's true only with -std. */
2924 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2926 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2927 inside strings and character constants. */
2928 #define FOO(x) 'x'
2929 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2931 int test (int i, double x);
2932 struct s1 {int (*f) (int a);};
2933 struct s2 {int (*f) (double a);};
2934 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2935 int argc;
2936 char **argv;
2938 main ()
2940 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2942 return 0;
2944 _ACEOF
2945 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2946 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2948 CC="$ac_save_CC $ac_arg"
2949 rm -f conftest.$ac_objext
2950 if { (ac_try="$ac_compile"
2951 case "(($ac_try" in
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2954 esac
2955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2956 (eval "$ac_compile") 2>conftest.er1
2957 ac_status=$?
2958 grep -v '^ *+' conftest.er1 >conftest.err
2959 rm -f conftest.er1
2960 cat conftest.err >&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); } &&
2963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2964 { (case "(($ac_try" in
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2967 esac
2968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2969 (eval "$ac_try") 2>&5
2970 ac_status=$?
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; } &&
2973 { ac_try='test -s conftest.$ac_objext'
2974 { (case "(($ac_try" in
2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2977 esac
2978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2979 (eval "$ac_try") 2>&5
2980 ac_status=$?
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); }; }; then
2983 ac_cv_prog_cc_c89=$ac_arg
2984 else
2985 echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2991 rm -f core conftest.err conftest.$ac_objext
2992 test "x$ac_cv_prog_cc_c89" != "xno" && break
2993 done
2994 rm -f conftest.$ac_ext
2995 CC=$ac_save_CC
2998 # AC_CACHE_VAL
2999 case "x$ac_cv_prog_cc_c89" in
3001 { echo "$as_me:$LINENO: result: none needed" >&5
3002 echo "${ECHO_T}none needed" >&6; } ;;
3003 xno)
3004 { echo "$as_me:$LINENO: result: unsupported" >&5
3005 echo "${ECHO_T}unsupported" >&6; } ;;
3007 CC="$CC $ac_cv_prog_cc_c89"
3008 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3009 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3010 esac
3013 ac_ext=c
3014 ac_cpp='$CPP $CPPFLAGS'
3015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3019 ac_ext=cpp
3020 ac_cpp='$CXXCPP $CPPFLAGS'
3021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3024 if test -z "$CXX"; then
3025 if test -n "$CCC"; then
3026 CXX=$CCC
3027 else
3028 if test -n "$ac_tool_prefix"; then
3029 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3035 if test "${ac_cv_prog_CXX+set}" = set; then
3036 echo $ECHO_N "(cached) $ECHO_C" >&6
3037 else
3038 if test -n "$CXX"; then
3039 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3040 else
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 for as_dir in $PATH
3044 IFS=$as_save_IFS
3045 test -z "$as_dir" && as_dir=.
3046 for ac_exec_ext in '' $ac_executable_extensions; do
3047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3048 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 break 2
3052 done
3053 done
3054 IFS=$as_save_IFS
3058 CXX=$ac_cv_prog_CXX
3059 if test -n "$CXX"; then
3060 { echo "$as_me:$LINENO: result: $CXX" >&5
3061 echo "${ECHO_T}$CXX" >&6; }
3062 else
3063 { echo "$as_me:$LINENO: result: no" >&5
3064 echo "${ECHO_T}no" >&6; }
3068 test -n "$CXX" && break
3069 done
3071 if test -z "$CXX"; then
3072 ac_ct_CXX=$CXX
3073 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3075 # Extract the first word of "$ac_prog", so it can be a program name with args.
3076 set dummy $ac_prog; ac_word=$2
3077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3079 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 else
3082 if test -n "$ac_ct_CXX"; then
3083 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3084 else
3085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086 for as_dir in $PATH
3088 IFS=$as_save_IFS
3089 test -z "$as_dir" && as_dir=.
3090 for ac_exec_ext in '' $ac_executable_extensions; do
3091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3092 ac_cv_prog_ac_ct_CXX="$ac_prog"
3093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 break 2
3096 done
3097 done
3098 IFS=$as_save_IFS
3102 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3103 if test -n "$ac_ct_CXX"; then
3104 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3105 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3106 else
3107 { echo "$as_me:$LINENO: result: no" >&5
3108 echo "${ECHO_T}no" >&6; }
3112 test -n "$ac_ct_CXX" && break
3113 done
3115 if test "x$ac_ct_CXX" = x; then
3116 CXX="g++"
3117 else
3118 case $cross_compiling:$ac_tool_warned in
3119 yes:)
3120 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3121 whose name does not start with the host triplet. If you think this
3122 configuration is useful to you, please write to autoconf@gnu.org." >&5
3123 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3124 whose name does not start with the host triplet. If you think this
3125 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3126 ac_tool_warned=yes ;;
3127 esac
3128 CXX=$ac_ct_CXX
3134 # Provide some information about the compiler.
3135 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3136 ac_compiler=`set X $ac_compile; echo $2`
3137 { (ac_try="$ac_compiler --version >&5"
3138 case "(($ac_try" in
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3141 esac
3142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3143 (eval "$ac_compiler --version >&5") 2>&5
3144 ac_status=$?
3145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146 (exit $ac_status); }
3147 { (ac_try="$ac_compiler -v >&5"
3148 case "(($ac_try" in
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3151 esac
3152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3153 (eval "$ac_compiler -v >&5") 2>&5
3154 ac_status=$?
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); }
3157 { (ac_try="$ac_compiler -V >&5"
3158 case "(($ac_try" in
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3161 esac
3162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3163 (eval "$ac_compiler -V >&5") 2>&5
3164 ac_status=$?
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); }
3168 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3169 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3170 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3171 echo $ECHO_N "(cached) $ECHO_C" >&6
3172 else
3173 cat >conftest.$ac_ext <<_ACEOF
3174 /* confdefs.h. */
3175 _ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3181 main ()
3183 #ifndef __GNUC__
3184 choke me
3185 #endif
3188 return 0;
3190 _ACEOF
3191 rm -f conftest.$ac_objext
3192 if { (ac_try="$ac_compile"
3193 case "(($ac_try" in
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3196 esac
3197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3198 (eval "$ac_compile") 2>conftest.er1
3199 ac_status=$?
3200 grep -v '^ *+' conftest.er1 >conftest.err
3201 rm -f conftest.er1
3202 cat conftest.err >&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); } &&
3205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3206 { (case "(($ac_try" in
3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3209 esac
3210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3211 (eval "$ac_try") 2>&5
3212 ac_status=$?
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); }; } &&
3215 { ac_try='test -s conftest.$ac_objext'
3216 { (case "(($ac_try" in
3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3219 esac
3220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3221 (eval "$ac_try") 2>&5
3222 ac_status=$?
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); }; }; then
3225 ac_compiler_gnu=yes
3226 else
3227 echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3230 ac_compiler_gnu=no
3233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3237 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3238 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3239 GXX=`test $ac_compiler_gnu = yes && echo yes`
3240 ac_test_CXXFLAGS=${CXXFLAGS+set}
3241 ac_save_CXXFLAGS=$CXXFLAGS
3242 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3243 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3244 if test "${ac_cv_prog_cxx_g+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 else
3247 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3248 ac_cxx_werror_flag=yes
3249 ac_cv_prog_cxx_g=no
3250 CXXFLAGS="-g"
3251 cat >conftest.$ac_ext <<_ACEOF
3252 /* confdefs.h. */
3253 _ACEOF
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h. */
3259 main ()
3263 return 0;
3265 _ACEOF
3266 rm -f conftest.$ac_objext
3267 if { (ac_try="$ac_compile"
3268 case "(($ac_try" in
3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3271 esac
3272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3273 (eval "$ac_compile") 2>conftest.er1
3274 ac_status=$?
3275 grep -v '^ *+' conftest.er1 >conftest.err
3276 rm -f conftest.er1
3277 cat conftest.err >&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); } &&
3280 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3281 { (case "(($ac_try" in
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3284 esac
3285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3286 (eval "$ac_try") 2>&5
3287 ac_status=$?
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); }; } &&
3290 { ac_try='test -s conftest.$ac_objext'
3291 { (case "(($ac_try" in
3292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293 *) ac_try_echo=$ac_try;;
3294 esac
3295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3296 (eval "$ac_try") 2>&5
3297 ac_status=$?
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); }; }; then
3300 ac_cv_prog_cxx_g=yes
3301 else
3302 echo "$as_me: failed program was:" >&5
3303 sed 's/^/| /' conftest.$ac_ext >&5
3305 CXXFLAGS=""
3306 cat >conftest.$ac_ext <<_ACEOF
3307 /* confdefs.h. */
3308 _ACEOF
3309 cat confdefs.h >>conftest.$ac_ext
3310 cat >>conftest.$ac_ext <<_ACEOF
3311 /* end confdefs.h. */
3314 main ()
3318 return 0;
3320 _ACEOF
3321 rm -f conftest.$ac_objext
3322 if { (ac_try="$ac_compile"
3323 case "(($ac_try" in
3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325 *) ac_try_echo=$ac_try;;
3326 esac
3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3328 (eval "$ac_compile") 2>conftest.er1
3329 ac_status=$?
3330 grep -v '^ *+' conftest.er1 >conftest.err
3331 rm -f conftest.er1
3332 cat conftest.err >&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); } &&
3335 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3336 { (case "(($ac_try" in
3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338 *) ac_try_echo=$ac_try;;
3339 esac
3340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3341 (eval "$ac_try") 2>&5
3342 ac_status=$?
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }; } &&
3345 { ac_try='test -s conftest.$ac_objext'
3346 { (case "(($ac_try" in
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3349 esac
3350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3351 (eval "$ac_try") 2>&5
3352 ac_status=$?
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); }; }; then
3356 else
3357 echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3360 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3361 CXXFLAGS="-g"
3362 cat >conftest.$ac_ext <<_ACEOF
3363 /* confdefs.h. */
3364 _ACEOF
3365 cat confdefs.h >>conftest.$ac_ext
3366 cat >>conftest.$ac_ext <<_ACEOF
3367 /* end confdefs.h. */
3370 main ()
3374 return 0;
3376 _ACEOF
3377 rm -f conftest.$ac_objext
3378 if { (ac_try="$ac_compile"
3379 case "(($ac_try" in
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3382 esac
3383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3384 (eval "$ac_compile") 2>conftest.er1
3385 ac_status=$?
3386 grep -v '^ *+' conftest.er1 >conftest.err
3387 rm -f conftest.er1
3388 cat conftest.err >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); } &&
3391 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3392 { (case "(($ac_try" in
3393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3394 *) ac_try_echo=$ac_try;;
3395 esac
3396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3397 (eval "$ac_try") 2>&5
3398 ac_status=$?
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); }; } &&
3401 { ac_try='test -s conftest.$ac_objext'
3402 { (case "(($ac_try" in
3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3405 esac
3406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3407 (eval "$ac_try") 2>&5
3408 ac_status=$?
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; }; then
3411 ac_cv_prog_cxx_g=yes
3412 else
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3426 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3428 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3429 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3430 if test "$ac_test_CXXFLAGS" = set; then
3431 CXXFLAGS=$ac_save_CXXFLAGS
3432 elif test $ac_cv_prog_cxx_g = yes; then
3433 if test "$GXX" = yes; then
3434 CXXFLAGS="-g -O2"
3435 else
3436 CXXFLAGS="-g"
3438 else
3439 if test "$GXX" = yes; then
3440 CXXFLAGS="-O2"
3441 else
3442 CXXFLAGS=
3445 ac_ext=c
3446 ac_cpp='$CPP $CPPFLAGS'
3447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3451 if test -n "$ac_tool_prefix"; then
3452 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3453 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3456 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3457 echo $ECHO_N "(cached) $ECHO_C" >&6
3458 else
3459 if test -n "$CPPBIN"; then
3460 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3461 else
3462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3463 for as_dir in $PATH
3465 IFS=$as_save_IFS
3466 test -z "$as_dir" && as_dir=.
3467 for ac_exec_ext in '' $ac_executable_extensions; do
3468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3469 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3471 break 2
3473 done
3474 done
3475 IFS=$as_save_IFS
3479 CPPBIN=$ac_cv_prog_CPPBIN
3480 if test -n "$CPPBIN"; then
3481 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3482 echo "${ECHO_T}$CPPBIN" >&6; }
3483 else
3484 { echo "$as_me:$LINENO: result: no" >&5
3485 echo "${ECHO_T}no" >&6; }
3490 if test -z "$ac_cv_prog_CPPBIN"; then
3491 ac_ct_CPPBIN=$CPPBIN
3492 # Extract the first word of "cpp", so it can be a program name with args.
3493 set dummy cpp; ac_word=$2
3494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3496 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3497 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 else
3499 if test -n "$ac_ct_CPPBIN"; then
3500 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3501 else
3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3503 for as_dir in $PATH
3505 IFS=$as_save_IFS
3506 test -z "$as_dir" && as_dir=.
3507 for ac_exec_ext in '' $ac_executable_extensions; do
3508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3509 ac_cv_prog_ac_ct_CPPBIN="cpp"
3510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3511 break 2
3513 done
3514 done
3515 IFS=$as_save_IFS
3519 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3520 if test -n "$ac_ct_CPPBIN"; then
3521 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3522 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3523 else
3524 { echo "$as_me:$LINENO: result: no" >&5
3525 echo "${ECHO_T}no" >&6; }
3528 if test "x$ac_ct_CPPBIN" = x; then
3529 CPPBIN="cpp"
3530 else
3531 case $cross_compiling:$ac_tool_warned in
3532 yes:)
3533 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3534 whose name does not start with the host triplet. If you think this
3535 configuration is useful to you, please write to autoconf@gnu.org." >&5
3536 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3537 whose name does not start with the host triplet. If you think this
3538 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3539 ac_tool_warned=yes ;;
3540 esac
3541 CPPBIN=$ac_ct_CPPBIN
3543 else
3544 CPPBIN="$ac_cv_prog_CPPBIN"
3548 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3549 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3550 if test "${wine_cv_toolsdir+set}" = set; then
3551 echo $ECHO_N "(cached) $ECHO_C" >&6
3552 else
3553 if test -z "$with_wine_tools"; then
3554 if test "$cross_compiling" = "yes"; then
3555 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3556 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3557 { (exit 1); exit 1; }; }
3558 else
3559 wine_cv_toolsdir="\$(TOPOBJDIR)"
3561 elif test -d "$with_wine_tools/tools/winebuild"; then
3562 case $with_wine_tools in
3563 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3564 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3565 esac
3566 else
3567 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3568 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3569 { (exit 1); exit 1; }; }
3572 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3573 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3574 TOOLSDIR=$wine_cv_toolsdir
3578 ac_ext=c
3579 ac_cpp='$CPP $CPPFLAGS'
3580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3583 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3584 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3585 # On Suns, sometimes $CPP names a directory.
3586 if test -n "$CPP" && test -d "$CPP"; then
3587 CPP=
3589 if test -z "$CPP"; then
3590 if test "${ac_cv_prog_CPP+set}" = set; then
3591 echo $ECHO_N "(cached) $ECHO_C" >&6
3592 else
3593 # Double quotes because CPP needs to be expanded
3594 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3596 ac_preproc_ok=false
3597 for ac_c_preproc_warn_flag in '' yes
3599 # Use a header file that comes with gcc, so configuring glibc
3600 # with a fresh cross-compiler works.
3601 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3602 # <limits.h> exists even on freestanding compilers.
3603 # On the NeXT, cc -E runs the code through the compiler's parser,
3604 # not just through cpp. "Syntax error" is here to catch this case.
3605 cat >conftest.$ac_ext <<_ACEOF
3606 /* confdefs.h. */
3607 _ACEOF
3608 cat confdefs.h >>conftest.$ac_ext
3609 cat >>conftest.$ac_ext <<_ACEOF
3610 /* end confdefs.h. */
3611 #ifdef __STDC__
3612 # include <limits.h>
3613 #else
3614 # include <assert.h>
3615 #endif
3616 Syntax error
3617 _ACEOF
3618 if { (ac_try="$ac_cpp conftest.$ac_ext"
3619 case "(($ac_try" in
3620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621 *) ac_try_echo=$ac_try;;
3622 esac
3623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3624 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3625 ac_status=$?
3626 grep -v '^ *+' conftest.er1 >conftest.err
3627 rm -f conftest.er1
3628 cat conftest.err >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); } >/dev/null; then
3631 if test -s conftest.err; then
3632 ac_cpp_err=$ac_c_preproc_warn_flag
3633 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3634 else
3635 ac_cpp_err=
3637 else
3638 ac_cpp_err=yes
3640 if test -z "$ac_cpp_err"; then
3642 else
3643 echo "$as_me: failed program was:" >&5
3644 sed 's/^/| /' conftest.$ac_ext >&5
3646 # Broken: fails on valid input.
3647 continue
3650 rm -f conftest.err conftest.$ac_ext
3652 # OK, works on sane cases. Now check whether nonexistent headers
3653 # can be detected and how.
3654 cat >conftest.$ac_ext <<_ACEOF
3655 /* confdefs.h. */
3656 _ACEOF
3657 cat confdefs.h >>conftest.$ac_ext
3658 cat >>conftest.$ac_ext <<_ACEOF
3659 /* end confdefs.h. */
3660 #include <ac_nonexistent.h>
3661 _ACEOF
3662 if { (ac_try="$ac_cpp conftest.$ac_ext"
3663 case "(($ac_try" in
3664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3665 *) ac_try_echo=$ac_try;;
3666 esac
3667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3669 ac_status=$?
3670 grep -v '^ *+' conftest.er1 >conftest.err
3671 rm -f conftest.er1
3672 cat conftest.err >&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); } >/dev/null; then
3675 if test -s conftest.err; then
3676 ac_cpp_err=$ac_c_preproc_warn_flag
3677 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3678 else
3679 ac_cpp_err=
3681 else
3682 ac_cpp_err=yes
3684 if test -z "$ac_cpp_err"; then
3685 # Broken: success on invalid input.
3686 continue
3687 else
3688 echo "$as_me: failed program was:" >&5
3689 sed 's/^/| /' conftest.$ac_ext >&5
3691 # Passes both tests.
3692 ac_preproc_ok=:
3693 break
3696 rm -f conftest.err conftest.$ac_ext
3698 done
3699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3700 rm -f conftest.err conftest.$ac_ext
3701 if $ac_preproc_ok; then
3702 break
3705 done
3706 ac_cv_prog_CPP=$CPP
3709 CPP=$ac_cv_prog_CPP
3710 else
3711 ac_cv_prog_CPP=$CPP
3713 { echo "$as_me:$LINENO: result: $CPP" >&5
3714 echo "${ECHO_T}$CPP" >&6; }
3715 ac_preproc_ok=false
3716 for ac_c_preproc_warn_flag in '' yes
3718 # Use a header file that comes with gcc, so configuring glibc
3719 # with a fresh cross-compiler works.
3720 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3721 # <limits.h> exists even on freestanding compilers.
3722 # On the NeXT, cc -E runs the code through the compiler's parser,
3723 # not just through cpp. "Syntax error" is here to catch this case.
3724 cat >conftest.$ac_ext <<_ACEOF
3725 /* confdefs.h. */
3726 _ACEOF
3727 cat confdefs.h >>conftest.$ac_ext
3728 cat >>conftest.$ac_ext <<_ACEOF
3729 /* end confdefs.h. */
3730 #ifdef __STDC__
3731 # include <limits.h>
3732 #else
3733 # include <assert.h>
3734 #endif
3735 Syntax error
3736 _ACEOF
3737 if { (ac_try="$ac_cpp conftest.$ac_ext"
3738 case "(($ac_try" in
3739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3740 *) ac_try_echo=$ac_try;;
3741 esac
3742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3744 ac_status=$?
3745 grep -v '^ *+' conftest.er1 >conftest.err
3746 rm -f conftest.er1
3747 cat conftest.err >&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); } >/dev/null; then
3750 if test -s conftest.err; then
3751 ac_cpp_err=$ac_c_preproc_warn_flag
3752 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3753 else
3754 ac_cpp_err=
3756 else
3757 ac_cpp_err=yes
3759 if test -z "$ac_cpp_err"; then
3761 else
3762 echo "$as_me: failed program was:" >&5
3763 sed 's/^/| /' conftest.$ac_ext >&5
3765 # Broken: fails on valid input.
3766 continue
3769 rm -f conftest.err conftest.$ac_ext
3771 # OK, works on sane cases. Now check whether nonexistent headers
3772 # can be detected and how.
3773 cat >conftest.$ac_ext <<_ACEOF
3774 /* confdefs.h. */
3775 _ACEOF
3776 cat confdefs.h >>conftest.$ac_ext
3777 cat >>conftest.$ac_ext <<_ACEOF
3778 /* end confdefs.h. */
3779 #include <ac_nonexistent.h>
3780 _ACEOF
3781 if { (ac_try="$ac_cpp conftest.$ac_ext"
3782 case "(($ac_try" in
3783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3784 *) ac_try_echo=$ac_try;;
3785 esac
3786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3788 ac_status=$?
3789 grep -v '^ *+' conftest.er1 >conftest.err
3790 rm -f conftest.er1
3791 cat conftest.err >&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); } >/dev/null; then
3794 if test -s conftest.err; then
3795 ac_cpp_err=$ac_c_preproc_warn_flag
3796 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3797 else
3798 ac_cpp_err=
3800 else
3801 ac_cpp_err=yes
3803 if test -z "$ac_cpp_err"; then
3804 # Broken: success on invalid input.
3805 continue
3806 else
3807 echo "$as_me: failed program was:" >&5
3808 sed 's/^/| /' conftest.$ac_ext >&5
3810 # Passes both tests.
3811 ac_preproc_ok=:
3812 break
3815 rm -f conftest.err conftest.$ac_ext
3817 done
3818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3819 rm -f conftest.err conftest.$ac_ext
3820 if $ac_preproc_ok; then
3822 else
3823 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3824 See \`config.log' for more details." >&5
3825 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3826 See \`config.log' for more details." >&2;}
3827 { (exit 1); exit 1; }; }
3830 ac_ext=c
3831 ac_cpp='$CPP $CPPFLAGS'
3832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3837 { echo "$as_me:$LINENO: checking for X" >&5
3838 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3841 # Check whether --with-x was given.
3842 if test "${with_x+set}" = set; then
3843 withval=$with_x;
3846 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3847 if test "x$with_x" = xno; then
3848 # The user explicitly disabled X.
3849 have_x=disabled
3850 else
3851 case $x_includes,$x_libraries in #(
3852 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3853 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3854 { (exit 1); exit 1; }; };; #(
3855 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 else
3858 # One or both of the vars are not set, and there is no cached value.
3859 ac_x_includes=no ac_x_libraries=no
3860 rm -f -r conftest.dir
3861 if mkdir conftest.dir; then
3862 cd conftest.dir
3863 cat >Imakefile <<'_ACEOF'
3864 incroot:
3865 @echo incroot='${INCROOT}'
3866 usrlibdir:
3867 @echo usrlibdir='${USRLIBDIR}'
3868 libdir:
3869 @echo libdir='${LIBDIR}'
3870 _ACEOF
3871 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3872 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3873 for ac_var in incroot usrlibdir libdir; do
3874 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3875 done
3876 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3877 for ac_extension in a so sl; do
3878 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3879 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3880 ac_im_usrlibdir=$ac_im_libdir; break
3882 done
3883 # Screen out bogus values from the imake configuration. They are
3884 # bogus both because they are the default anyway, and because
3885 # using them would break gcc on systems where it needs fixed includes.
3886 case $ac_im_incroot in
3887 /usr/include) ac_x_includes= ;;
3888 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3889 esac
3890 case $ac_im_usrlibdir in
3891 /usr/lib | /lib) ;;
3892 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3893 esac
3895 cd ..
3896 rm -f -r conftest.dir
3899 # Standard set of common directories for X headers.
3900 # Check X11 before X11Rn because it is often a symlink to the current release.
3901 ac_x_header_dirs='
3902 /usr/X11/include
3903 /usr/X11R6/include
3904 /usr/X11R5/include
3905 /usr/X11R4/include
3907 /usr/include/X11
3908 /usr/include/X11R6
3909 /usr/include/X11R5
3910 /usr/include/X11R4
3912 /usr/local/X11/include
3913 /usr/local/X11R6/include
3914 /usr/local/X11R5/include
3915 /usr/local/X11R4/include
3917 /usr/local/include/X11
3918 /usr/local/include/X11R6
3919 /usr/local/include/X11R5
3920 /usr/local/include/X11R4
3922 /usr/X386/include
3923 /usr/x386/include
3924 /usr/XFree86/include/X11
3926 /usr/include
3927 /usr/local/include
3928 /usr/unsupported/include
3929 /usr/athena/include
3930 /usr/local/x11r5/include
3931 /usr/lpp/Xamples/include
3933 /usr/openwin/include
3934 /usr/openwin/share/include'
3936 if test "$ac_x_includes" = no; then
3937 # Guess where to find include files, by looking for Xlib.h.
3938 # First, try using that file with no special directory specified.
3939 cat >conftest.$ac_ext <<_ACEOF
3940 /* confdefs.h. */
3941 _ACEOF
3942 cat confdefs.h >>conftest.$ac_ext
3943 cat >>conftest.$ac_ext <<_ACEOF
3944 /* end confdefs.h. */
3945 #include <X11/Xlib.h>
3946 _ACEOF
3947 if { (ac_try="$ac_cpp conftest.$ac_ext"
3948 case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3954 ac_status=$?
3955 grep -v '^ *+' conftest.er1 >conftest.err
3956 rm -f conftest.er1
3957 cat conftest.err >&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); } >/dev/null; then
3960 if test -s conftest.err; then
3961 ac_cpp_err=$ac_c_preproc_warn_flag
3962 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3963 else
3964 ac_cpp_err=
3966 else
3967 ac_cpp_err=yes
3969 if test -z "$ac_cpp_err"; then
3970 # We can compile using X headers with no special include directory.
3971 ac_x_includes=
3972 else
3973 echo "$as_me: failed program was:" >&5
3974 sed 's/^/| /' conftest.$ac_ext >&5
3976 for ac_dir in $ac_x_header_dirs; do
3977 if test -r "$ac_dir/X11/Xlib.h"; then
3978 ac_x_includes=$ac_dir
3979 break
3981 done
3984 rm -f conftest.err conftest.$ac_ext
3985 fi # $ac_x_includes = no
3987 if test "$ac_x_libraries" = no; then
3988 # Check for the libraries.
3989 # See if we find them without any special options.
3990 # Don't add to $LIBS permanently.
3991 ac_save_LIBS=$LIBS
3992 LIBS="-lX11 $LIBS"
3993 cat >conftest.$ac_ext <<_ACEOF
3994 /* confdefs.h. */
3995 _ACEOF
3996 cat confdefs.h >>conftest.$ac_ext
3997 cat >>conftest.$ac_ext <<_ACEOF
3998 /* end confdefs.h. */
3999 #include <X11/Xlib.h>
4001 main ()
4003 XrmInitialize ()
4005 return 0;
4007 _ACEOF
4008 rm -f conftest.$ac_objext conftest$ac_exeext
4009 if { (ac_try="$ac_link"
4010 case "(($ac_try" in
4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012 *) ac_try_echo=$ac_try;;
4013 esac
4014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4015 (eval "$ac_link") 2>conftest.er1
4016 ac_status=$?
4017 grep -v '^ *+' conftest.er1 >conftest.err
4018 rm -f conftest.er1
4019 cat conftest.err >&5
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); } &&
4022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4023 { (case "(($ac_try" in
4024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4025 *) ac_try_echo=$ac_try;;
4026 esac
4027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4028 (eval "$ac_try") 2>&5
4029 ac_status=$?
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; } &&
4032 { ac_try='test -s conftest$ac_exeext'
4033 { (case "(($ac_try" in
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4036 esac
4037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4038 (eval "$ac_try") 2>&5
4039 ac_status=$?
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; }; then
4042 LIBS=$ac_save_LIBS
4043 # We can link X programs with no special library path.
4044 ac_x_libraries=
4045 else
4046 echo "$as_me: failed program was:" >&5
4047 sed 's/^/| /' conftest.$ac_ext >&5
4049 LIBS=$ac_save_LIBS
4050 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4052 # Don't even attempt the hair of trying to link an X program!
4053 for ac_extension in a so sl; do
4054 if test -r "$ac_dir/libX11.$ac_extension"; then
4055 ac_x_libraries=$ac_dir
4056 break 2
4058 done
4059 done
4062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4063 conftest$ac_exeext conftest.$ac_ext
4064 fi # $ac_x_libraries = no
4066 case $ac_x_includes,$ac_x_libraries in #(
4067 no,* | *,no | *\'*)
4068 # Didn't find X, or a directory has "'" in its name.
4069 ac_cv_have_x="have_x=no";; #(
4071 # Record where we found X for the cache.
4072 ac_cv_have_x="have_x=yes\
4073 ac_x_includes='$ac_x_includes'\
4074 ac_x_libraries='$ac_x_libraries'"
4075 esac
4077 ;; #(
4078 *) have_x=yes;;
4079 esac
4080 eval "$ac_cv_have_x"
4081 fi # $with_x != no
4083 if test "$have_x" != yes; then
4084 { echo "$as_me:$LINENO: result: $have_x" >&5
4085 echo "${ECHO_T}$have_x" >&6; }
4086 no_x=yes
4087 else
4088 # If each of the values was on the command line, it overrides each guess.
4089 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4090 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4091 # Update the cache value to reflect the command line values.
4092 ac_cv_have_x="have_x=yes\
4093 ac_x_includes='$x_includes'\
4094 ac_x_libraries='$x_libraries'"
4095 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4096 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4099 if test "$no_x" = yes; then
4100 # Not all programs may use this symbol, but it does not hurt to define it.
4102 cat >>confdefs.h <<\_ACEOF
4103 #define X_DISPLAY_MISSING 1
4104 _ACEOF
4106 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4107 else
4108 if test -n "$x_includes"; then
4109 X_CFLAGS="$X_CFLAGS -I$x_includes"
4112 # It would also be nice to do this for all -L options, not just this one.
4113 if test -n "$x_libraries"; then
4114 X_LIBS="$X_LIBS -L$x_libraries"
4115 # For Solaris; some versions of Sun CC require a space after -R and
4116 # others require no space. Words are not sufficient . . . .
4117 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4118 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4119 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4120 ac_xsave_c_werror_flag=$ac_c_werror_flag
4121 ac_c_werror_flag=yes
4122 cat >conftest.$ac_ext <<_ACEOF
4123 /* confdefs.h. */
4124 _ACEOF
4125 cat confdefs.h >>conftest.$ac_ext
4126 cat >>conftest.$ac_ext <<_ACEOF
4127 /* end confdefs.h. */
4130 main ()
4134 return 0;
4136 _ACEOF
4137 rm -f conftest.$ac_objext conftest$ac_exeext
4138 if { (ac_try="$ac_link"
4139 case "(($ac_try" in
4140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4141 *) ac_try_echo=$ac_try;;
4142 esac
4143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4144 (eval "$ac_link") 2>conftest.er1
4145 ac_status=$?
4146 grep -v '^ *+' conftest.er1 >conftest.err
4147 rm -f conftest.er1
4148 cat conftest.err >&5
4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); } &&
4151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4152 { (case "(($ac_try" in
4153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;;
4155 esac
4156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4157 (eval "$ac_try") 2>&5
4158 ac_status=$?
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); }; } &&
4161 { ac_try='test -s conftest$ac_exeext'
4162 { (case "(($ac_try" in
4163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4164 *) ac_try_echo=$ac_try;;
4165 esac
4166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4167 (eval "$ac_try") 2>&5
4168 ac_status=$?
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; }; then
4171 { echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6; }
4173 X_LIBS="$X_LIBS -R$x_libraries"
4174 else
4175 echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.$ac_ext >&5
4178 LIBS="$ac_xsave_LIBS -R $x_libraries"
4179 cat >conftest.$ac_ext <<_ACEOF
4180 /* confdefs.h. */
4181 _ACEOF
4182 cat confdefs.h >>conftest.$ac_ext
4183 cat >>conftest.$ac_ext <<_ACEOF
4184 /* end confdefs.h. */
4187 main ()
4191 return 0;
4193 _ACEOF
4194 rm -f conftest.$ac_objext conftest$ac_exeext
4195 if { (ac_try="$ac_link"
4196 case "(($ac_try" in
4197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4198 *) ac_try_echo=$ac_try;;
4199 esac
4200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4201 (eval "$ac_link") 2>conftest.er1
4202 ac_status=$?
4203 grep -v '^ *+' conftest.er1 >conftest.err
4204 rm -f conftest.er1
4205 cat conftest.err >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } &&
4208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4209 { (case "(($ac_try" in
4210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4211 *) ac_try_echo=$ac_try;;
4212 esac
4213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4214 (eval "$ac_try") 2>&5
4215 ac_status=$?
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); }; } &&
4218 { ac_try='test -s conftest$ac_exeext'
4219 { (case "(($ac_try" in
4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4222 esac
4223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4224 (eval "$ac_try") 2>&5
4225 ac_status=$?
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; }; then
4228 { echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6; }
4230 X_LIBS="$X_LIBS -R $x_libraries"
4231 else
4232 echo "$as_me: failed program was:" >&5
4233 sed 's/^/| /' conftest.$ac_ext >&5
4235 { echo "$as_me:$LINENO: result: neither works" >&5
4236 echo "${ECHO_T}neither works" >&6; }
4239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4240 conftest$ac_exeext conftest.$ac_ext
4243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4244 conftest$ac_exeext conftest.$ac_ext
4245 ac_c_werror_flag=$ac_xsave_c_werror_flag
4246 LIBS=$ac_xsave_LIBS
4249 # Check for system-dependent libraries X programs must link with.
4250 # Do this before checking for the system-independent R6 libraries
4251 # (-lICE), since we may need -lsocket or whatever for X linking.
4253 if test "$ISC" = yes; then
4254 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4255 else
4256 # Martyn Johnson says this is needed for Ultrix, if the X
4257 # libraries were built with DECnet support. And Karl Berry says
4258 # the Alpha needs dnet_stub (dnet does not exist).
4259 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4260 cat >conftest.$ac_ext <<_ACEOF
4261 /* confdefs.h. */
4262 _ACEOF
4263 cat confdefs.h >>conftest.$ac_ext
4264 cat >>conftest.$ac_ext <<_ACEOF
4265 /* end confdefs.h. */
4267 /* Override any GCC internal prototype to avoid an error.
4268 Use char because int might match the return type of a GCC
4269 builtin and then its argument prototype would still apply. */
4270 #ifdef __cplusplus
4271 extern "C"
4272 #endif
4273 char XOpenDisplay ();
4275 main ()
4277 return XOpenDisplay ();
4279 return 0;
4281 _ACEOF
4282 rm -f conftest.$ac_objext conftest$ac_exeext
4283 if { (ac_try="$ac_link"
4284 case "(($ac_try" in
4285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4286 *) ac_try_echo=$ac_try;;
4287 esac
4288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4289 (eval "$ac_link") 2>conftest.er1
4290 ac_status=$?
4291 grep -v '^ *+' conftest.er1 >conftest.err
4292 rm -f conftest.er1
4293 cat conftest.err >&5
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); } &&
4296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4297 { (case "(($ac_try" in
4298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4299 *) ac_try_echo=$ac_try;;
4300 esac
4301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4302 (eval "$ac_try") 2>&5
4303 ac_status=$?
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); }; } &&
4306 { ac_try='test -s conftest$ac_exeext'
4307 { (case "(($ac_try" in
4308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4309 *) ac_try_echo=$ac_try;;
4310 esac
4311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4312 (eval "$ac_try") 2>&5
4313 ac_status=$?
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); }; }; then
4317 else
4318 echo "$as_me: failed program was:" >&5
4319 sed 's/^/| /' conftest.$ac_ext >&5
4321 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4322 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4323 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 else
4326 ac_check_lib_save_LIBS=$LIBS
4327 LIBS="-ldnet $LIBS"
4328 cat >conftest.$ac_ext <<_ACEOF
4329 /* confdefs.h. */
4330 _ACEOF
4331 cat confdefs.h >>conftest.$ac_ext
4332 cat >>conftest.$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4335 /* Override any GCC internal prototype to avoid an error.
4336 Use char because int might match the return type of a GCC
4337 builtin and then its argument prototype would still apply. */
4338 #ifdef __cplusplus
4339 extern "C"
4340 #endif
4341 char dnet_ntoa ();
4343 main ()
4345 return dnet_ntoa ();
4347 return 0;
4349 _ACEOF
4350 rm -f conftest.$ac_objext conftest$ac_exeext
4351 if { (ac_try="$ac_link"
4352 case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4355 esac
4356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357 (eval "$ac_link") 2>conftest.er1
4358 ac_status=$?
4359 grep -v '^ *+' conftest.er1 >conftest.err
4360 rm -f conftest.er1
4361 cat conftest.err >&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } &&
4364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4365 { (case "(($ac_try" in
4366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4367 *) ac_try_echo=$ac_try;;
4368 esac
4369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4370 (eval "$ac_try") 2>&5
4371 ac_status=$?
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); }; } &&
4374 { ac_try='test -s conftest$ac_exeext'
4375 { (case "(($ac_try" in
4376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4377 *) ac_try_echo=$ac_try;;
4378 esac
4379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4380 (eval "$ac_try") 2>&5
4381 ac_status=$?
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }; }; then
4384 ac_cv_lib_dnet_dnet_ntoa=yes
4385 else
4386 echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.$ac_ext >&5
4389 ac_cv_lib_dnet_dnet_ntoa=no
4392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4393 conftest$ac_exeext conftest.$ac_ext
4394 LIBS=$ac_check_lib_save_LIBS
4396 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4397 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4398 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4399 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4402 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4403 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4404 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4405 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4406 echo $ECHO_N "(cached) $ECHO_C" >&6
4407 else
4408 ac_check_lib_save_LIBS=$LIBS
4409 LIBS="-ldnet_stub $LIBS"
4410 cat >conftest.$ac_ext <<_ACEOF
4411 /* confdefs.h. */
4412 _ACEOF
4413 cat confdefs.h >>conftest.$ac_ext
4414 cat >>conftest.$ac_ext <<_ACEOF
4415 /* end confdefs.h. */
4417 /* Override any GCC internal prototype to avoid an error.
4418 Use char because int might match the return type of a GCC
4419 builtin and then its argument prototype would still apply. */
4420 #ifdef __cplusplus
4421 extern "C"
4422 #endif
4423 char dnet_ntoa ();
4425 main ()
4427 return dnet_ntoa ();
4429 return 0;
4431 _ACEOF
4432 rm -f conftest.$ac_objext conftest$ac_exeext
4433 if { (ac_try="$ac_link"
4434 case "(($ac_try" in
4435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4436 *) ac_try_echo=$ac_try;;
4437 esac
4438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4439 (eval "$ac_link") 2>conftest.er1
4440 ac_status=$?
4441 grep -v '^ *+' conftest.er1 >conftest.err
4442 rm -f conftest.er1
4443 cat conftest.err >&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); } &&
4446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4447 { (case "(($ac_try" in
4448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4449 *) ac_try_echo=$ac_try;;
4450 esac
4451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4452 (eval "$ac_try") 2>&5
4453 ac_status=$?
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); }; } &&
4456 { ac_try='test -s conftest$ac_exeext'
4457 { (case "(($ac_try" in
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4460 esac
4461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4462 (eval "$ac_try") 2>&5
4463 ac_status=$?
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; }; then
4466 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4467 else
4468 echo "$as_me: failed program was:" >&5
4469 sed 's/^/| /' conftest.$ac_ext >&5
4471 ac_cv_lib_dnet_stub_dnet_ntoa=no
4474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4475 conftest$ac_exeext conftest.$ac_ext
4476 LIBS=$ac_check_lib_save_LIBS
4478 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4479 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4480 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4481 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4488 conftest$ac_exeext conftest.$ac_ext
4489 LIBS="$ac_xsave_LIBS"
4491 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4492 # to get the SysV transport functions.
4493 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4494 # needs -lnsl.
4495 # The nsl library prevents programs from opening the X display
4496 # on Irix 5.2, according to T.E. Dickey.
4497 # The functions gethostbyname, getservbyname, and inet_addr are
4498 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4499 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4500 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4501 if test "${ac_cv_func_gethostbyname+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 else
4504 cat >conftest.$ac_ext <<_ACEOF
4505 /* confdefs.h. */
4506 _ACEOF
4507 cat confdefs.h >>conftest.$ac_ext
4508 cat >>conftest.$ac_ext <<_ACEOF
4509 /* end confdefs.h. */
4510 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4512 #define gethostbyname innocuous_gethostbyname
4514 /* System header to define __stub macros and hopefully few prototypes,
4515 which can conflict with char gethostbyname (); below.
4516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4517 <limits.h> exists even on freestanding compilers. */
4519 #ifdef __STDC__
4520 # include <limits.h>
4521 #else
4522 # include <assert.h>
4523 #endif
4525 #undef gethostbyname
4527 /* Override any GCC internal prototype to avoid an error.
4528 Use char because int might match the return type of a GCC
4529 builtin and then its argument prototype would still apply. */
4530 #ifdef __cplusplus
4531 extern "C"
4532 #endif
4533 char gethostbyname ();
4534 /* The GNU C library defines this for functions which it implements
4535 to always fail with ENOSYS. Some functions are actually named
4536 something starting with __ and the normal name is an alias. */
4537 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4538 choke me
4539 #endif
4542 main ()
4544 return gethostbyname ();
4546 return 0;
4548 _ACEOF
4549 rm -f conftest.$ac_objext conftest$ac_exeext
4550 if { (ac_try="$ac_link"
4551 case "(($ac_try" in
4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553 *) ac_try_echo=$ac_try;;
4554 esac
4555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4556 (eval "$ac_link") 2>conftest.er1
4557 ac_status=$?
4558 grep -v '^ *+' conftest.er1 >conftest.err
4559 rm -f conftest.er1
4560 cat conftest.err >&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } &&
4563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4564 { (case "(($ac_try" in
4565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4566 *) ac_try_echo=$ac_try;;
4567 esac
4568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4569 (eval "$ac_try") 2>&5
4570 ac_status=$?
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; } &&
4573 { ac_try='test -s conftest$ac_exeext'
4574 { (case "(($ac_try" in
4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4577 esac
4578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4579 (eval "$ac_try") 2>&5
4580 ac_status=$?
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }; }; then
4583 ac_cv_func_gethostbyname=yes
4584 else
4585 echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.$ac_ext >&5
4588 ac_cv_func_gethostbyname=no
4591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4592 conftest$ac_exeext conftest.$ac_ext
4594 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4595 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4597 if test $ac_cv_func_gethostbyname = no; then
4598 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4599 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4600 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 else
4603 ac_check_lib_save_LIBS=$LIBS
4604 LIBS="-lnsl $LIBS"
4605 cat >conftest.$ac_ext <<_ACEOF
4606 /* confdefs.h. */
4607 _ACEOF
4608 cat confdefs.h >>conftest.$ac_ext
4609 cat >>conftest.$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4612 /* Override any GCC internal prototype to avoid an error.
4613 Use char because int might match the return type of a GCC
4614 builtin and then its argument prototype would still apply. */
4615 #ifdef __cplusplus
4616 extern "C"
4617 #endif
4618 char gethostbyname ();
4620 main ()
4622 return gethostbyname ();
4624 return 0;
4626 _ACEOF
4627 rm -f conftest.$ac_objext conftest$ac_exeext
4628 if { (ac_try="$ac_link"
4629 case "(($ac_try" in
4630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4631 *) ac_try_echo=$ac_try;;
4632 esac
4633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4634 (eval "$ac_link") 2>conftest.er1
4635 ac_status=$?
4636 grep -v '^ *+' conftest.er1 >conftest.err
4637 rm -f conftest.er1
4638 cat conftest.err >&5
4639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 (exit $ac_status); } &&
4641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4642 { (case "(($ac_try" in
4643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4644 *) ac_try_echo=$ac_try;;
4645 esac
4646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4647 (eval "$ac_try") 2>&5
4648 ac_status=$?
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; } &&
4651 { ac_try='test -s conftest$ac_exeext'
4652 { (case "(($ac_try" in
4653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4654 *) ac_try_echo=$ac_try;;
4655 esac
4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4657 (eval "$ac_try") 2>&5
4658 ac_status=$?
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; }; then
4661 ac_cv_lib_nsl_gethostbyname=yes
4662 else
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.$ac_ext >&5
4666 ac_cv_lib_nsl_gethostbyname=no
4669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4670 conftest$ac_exeext conftest.$ac_ext
4671 LIBS=$ac_check_lib_save_LIBS
4673 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4674 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4675 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4676 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4679 if test $ac_cv_lib_nsl_gethostbyname = no; then
4680 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4681 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4682 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 else
4685 ac_check_lib_save_LIBS=$LIBS
4686 LIBS="-lbsd $LIBS"
4687 cat >conftest.$ac_ext <<_ACEOF
4688 /* confdefs.h. */
4689 _ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4694 /* Override any GCC internal prototype to avoid an error.
4695 Use char because int might match the return type of a GCC
4696 builtin and then its argument prototype would still apply. */
4697 #ifdef __cplusplus
4698 extern "C"
4699 #endif
4700 char gethostbyname ();
4702 main ()
4704 return gethostbyname ();
4706 return 0;
4708 _ACEOF
4709 rm -f conftest.$ac_objext conftest$ac_exeext
4710 if { (ac_try="$ac_link"
4711 case "(($ac_try" in
4712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4713 *) ac_try_echo=$ac_try;;
4714 esac
4715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4716 (eval "$ac_link") 2>conftest.er1
4717 ac_status=$?
4718 grep -v '^ *+' conftest.er1 >conftest.err
4719 rm -f conftest.er1
4720 cat conftest.err >&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); } &&
4723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4724 { (case "(($ac_try" in
4725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4726 *) ac_try_echo=$ac_try;;
4727 esac
4728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4729 (eval "$ac_try") 2>&5
4730 ac_status=$?
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; } &&
4733 { ac_try='test -s conftest$ac_exeext'
4734 { (case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4739 (eval "$ac_try") 2>&5
4740 ac_status=$?
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; }; then
4743 ac_cv_lib_bsd_gethostbyname=yes
4744 else
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.$ac_ext >&5
4748 ac_cv_lib_bsd_gethostbyname=no
4751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4752 conftest$ac_exeext conftest.$ac_ext
4753 LIBS=$ac_check_lib_save_LIBS
4755 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4756 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4757 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4758 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4764 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4765 # socket/setsockopt and other routines are undefined under SCO ODT
4766 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4767 # on later versions), says Simon Leinen: it contains gethostby*
4768 # variants that don't use the name server (or something). -lsocket
4769 # must be given before -lnsl if both are needed. We assume that
4770 # if connect needs -lnsl, so does gethostbyname.
4771 { echo "$as_me:$LINENO: checking for connect" >&5
4772 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4773 if test "${ac_cv_func_connect+set}" = set; then
4774 echo $ECHO_N "(cached) $ECHO_C" >&6
4775 else
4776 cat >conftest.$ac_ext <<_ACEOF
4777 /* confdefs.h. */
4778 _ACEOF
4779 cat confdefs.h >>conftest.$ac_ext
4780 cat >>conftest.$ac_ext <<_ACEOF
4781 /* end confdefs.h. */
4782 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4784 #define connect innocuous_connect
4786 /* System header to define __stub macros and hopefully few prototypes,
4787 which can conflict with char connect (); below.
4788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4789 <limits.h> exists even on freestanding compilers. */
4791 #ifdef __STDC__
4792 # include <limits.h>
4793 #else
4794 # include <assert.h>
4795 #endif
4797 #undef connect
4799 /* Override any GCC internal prototype to avoid an error.
4800 Use char because int might match the return type of a GCC
4801 builtin and then its argument prototype would still apply. */
4802 #ifdef __cplusplus
4803 extern "C"
4804 #endif
4805 char connect ();
4806 /* The GNU C library defines this for functions which it implements
4807 to always fail with ENOSYS. Some functions are actually named
4808 something starting with __ and the normal name is an alias. */
4809 #if defined __stub_connect || defined __stub___connect
4810 choke me
4811 #endif
4814 main ()
4816 return connect ();
4818 return 0;
4820 _ACEOF
4821 rm -f conftest.$ac_objext conftest$ac_exeext
4822 if { (ac_try="$ac_link"
4823 case "(($ac_try" in
4824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4825 *) ac_try_echo=$ac_try;;
4826 esac
4827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4828 (eval "$ac_link") 2>conftest.er1
4829 ac_status=$?
4830 grep -v '^ *+' conftest.er1 >conftest.err
4831 rm -f conftest.er1
4832 cat conftest.err >&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } &&
4835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4836 { (case "(($ac_try" in
4837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4838 *) ac_try_echo=$ac_try;;
4839 esac
4840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4841 (eval "$ac_try") 2>&5
4842 ac_status=$?
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); }; } &&
4845 { ac_try='test -s conftest$ac_exeext'
4846 { (case "(($ac_try" in
4847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4848 *) ac_try_echo=$ac_try;;
4849 esac
4850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4851 (eval "$ac_try") 2>&5
4852 ac_status=$?
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; }; then
4855 ac_cv_func_connect=yes
4856 else
4857 echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.$ac_ext >&5
4860 ac_cv_func_connect=no
4863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4864 conftest$ac_exeext conftest.$ac_ext
4866 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4867 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4869 if test $ac_cv_func_connect = no; then
4870 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4871 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4872 if test "${ac_cv_lib_socket_connect+set}" = set; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4874 else
4875 ac_check_lib_save_LIBS=$LIBS
4876 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4877 cat >conftest.$ac_ext <<_ACEOF
4878 /* confdefs.h. */
4879 _ACEOF
4880 cat confdefs.h >>conftest.$ac_ext
4881 cat >>conftest.$ac_ext <<_ACEOF
4882 /* end confdefs.h. */
4884 /* Override any GCC internal prototype to avoid an error.
4885 Use char because int might match the return type of a GCC
4886 builtin and then its argument prototype would still apply. */
4887 #ifdef __cplusplus
4888 extern "C"
4889 #endif
4890 char connect ();
4892 main ()
4894 return connect ();
4896 return 0;
4898 _ACEOF
4899 rm -f conftest.$ac_objext conftest$ac_exeext
4900 if { (ac_try="$ac_link"
4901 case "(($ac_try" in
4902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4903 *) ac_try_echo=$ac_try;;
4904 esac
4905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4906 (eval "$ac_link") 2>conftest.er1
4907 ac_status=$?
4908 grep -v '^ *+' conftest.er1 >conftest.err
4909 rm -f conftest.er1
4910 cat conftest.err >&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); } &&
4913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4914 { (case "(($ac_try" in
4915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4916 *) ac_try_echo=$ac_try;;
4917 esac
4918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4919 (eval "$ac_try") 2>&5
4920 ac_status=$?
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); }; } &&
4923 { ac_try='test -s conftest$ac_exeext'
4924 { (case "(($ac_try" in
4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4927 esac
4928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4929 (eval "$ac_try") 2>&5
4930 ac_status=$?
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; }; then
4933 ac_cv_lib_socket_connect=yes
4934 else
4935 echo "$as_me: failed program was:" >&5
4936 sed 's/^/| /' conftest.$ac_ext >&5
4938 ac_cv_lib_socket_connect=no
4941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4942 conftest$ac_exeext conftest.$ac_ext
4943 LIBS=$ac_check_lib_save_LIBS
4945 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4946 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4947 if test $ac_cv_lib_socket_connect = yes; then
4948 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4953 # Guillermo Gomez says -lposix is necessary on A/UX.
4954 { echo "$as_me:$LINENO: checking for remove" >&5
4955 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4956 if test "${ac_cv_func_remove+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4958 else
4959 cat >conftest.$ac_ext <<_ACEOF
4960 /* confdefs.h. */
4961 _ACEOF
4962 cat confdefs.h >>conftest.$ac_ext
4963 cat >>conftest.$ac_ext <<_ACEOF
4964 /* end confdefs.h. */
4965 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4967 #define remove innocuous_remove
4969 /* System header to define __stub macros and hopefully few prototypes,
4970 which can conflict with char remove (); below.
4971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4972 <limits.h> exists even on freestanding compilers. */
4974 #ifdef __STDC__
4975 # include <limits.h>
4976 #else
4977 # include <assert.h>
4978 #endif
4980 #undef remove
4982 /* Override any GCC internal prototype to avoid an error.
4983 Use char because int might match the return type of a GCC
4984 builtin and then its argument prototype would still apply. */
4985 #ifdef __cplusplus
4986 extern "C"
4987 #endif
4988 char remove ();
4989 /* The GNU C library defines this for functions which it implements
4990 to always fail with ENOSYS. Some functions are actually named
4991 something starting with __ and the normal name is an alias. */
4992 #if defined __stub_remove || defined __stub___remove
4993 choke me
4994 #endif
4997 main ()
4999 return remove ();
5001 return 0;
5003 _ACEOF
5004 rm -f conftest.$ac_objext conftest$ac_exeext
5005 if { (ac_try="$ac_link"
5006 case "(($ac_try" in
5007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5008 *) ac_try_echo=$ac_try;;
5009 esac
5010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5011 (eval "$ac_link") 2>conftest.er1
5012 ac_status=$?
5013 grep -v '^ *+' conftest.er1 >conftest.err
5014 rm -f conftest.er1
5015 cat conftest.err >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); } &&
5018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5019 { (case "(($ac_try" in
5020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5021 *) ac_try_echo=$ac_try;;
5022 esac
5023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5024 (eval "$ac_try") 2>&5
5025 ac_status=$?
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; } &&
5028 { ac_try='test -s conftest$ac_exeext'
5029 { (case "(($ac_try" in
5030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5031 *) ac_try_echo=$ac_try;;
5032 esac
5033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5034 (eval "$ac_try") 2>&5
5035 ac_status=$?
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; }; then
5038 ac_cv_func_remove=yes
5039 else
5040 echo "$as_me: failed program was:" >&5
5041 sed 's/^/| /' conftest.$ac_ext >&5
5043 ac_cv_func_remove=no
5046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5047 conftest$ac_exeext conftest.$ac_ext
5049 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5050 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5052 if test $ac_cv_func_remove = no; then
5053 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5054 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5055 if test "${ac_cv_lib_posix_remove+set}" = set; then
5056 echo $ECHO_N "(cached) $ECHO_C" >&6
5057 else
5058 ac_check_lib_save_LIBS=$LIBS
5059 LIBS="-lposix $LIBS"
5060 cat >conftest.$ac_ext <<_ACEOF
5061 /* confdefs.h. */
5062 _ACEOF
5063 cat confdefs.h >>conftest.$ac_ext
5064 cat >>conftest.$ac_ext <<_ACEOF
5065 /* end confdefs.h. */
5067 /* Override any GCC internal prototype to avoid an error.
5068 Use char because int might match the return type of a GCC
5069 builtin and then its argument prototype would still apply. */
5070 #ifdef __cplusplus
5071 extern "C"
5072 #endif
5073 char remove ();
5075 main ()
5077 return remove ();
5079 return 0;
5081 _ACEOF
5082 rm -f conftest.$ac_objext conftest$ac_exeext
5083 if { (ac_try="$ac_link"
5084 case "(($ac_try" in
5085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5086 *) ac_try_echo=$ac_try;;
5087 esac
5088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5089 (eval "$ac_link") 2>conftest.er1
5090 ac_status=$?
5091 grep -v '^ *+' conftest.er1 >conftest.err
5092 rm -f conftest.er1
5093 cat conftest.err >&5
5094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095 (exit $ac_status); } &&
5096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5097 { (case "(($ac_try" in
5098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5099 *) ac_try_echo=$ac_try;;
5100 esac
5101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5102 (eval "$ac_try") 2>&5
5103 ac_status=$?
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); }; } &&
5106 { ac_try='test -s conftest$ac_exeext'
5107 { (case "(($ac_try" in
5108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5109 *) ac_try_echo=$ac_try;;
5110 esac
5111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5112 (eval "$ac_try") 2>&5
5113 ac_status=$?
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; }; then
5116 ac_cv_lib_posix_remove=yes
5117 else
5118 echo "$as_me: failed program was:" >&5
5119 sed 's/^/| /' conftest.$ac_ext >&5
5121 ac_cv_lib_posix_remove=no
5124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5125 conftest$ac_exeext conftest.$ac_ext
5126 LIBS=$ac_check_lib_save_LIBS
5128 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5129 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5130 if test $ac_cv_lib_posix_remove = yes; then
5131 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5136 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5137 { echo "$as_me:$LINENO: checking for shmat" >&5
5138 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5139 if test "${ac_cv_func_shmat+set}" = set; then
5140 echo $ECHO_N "(cached) $ECHO_C" >&6
5141 else
5142 cat >conftest.$ac_ext <<_ACEOF
5143 /* confdefs.h. */
5144 _ACEOF
5145 cat confdefs.h >>conftest.$ac_ext
5146 cat >>conftest.$ac_ext <<_ACEOF
5147 /* end confdefs.h. */
5148 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5150 #define shmat innocuous_shmat
5152 /* System header to define __stub macros and hopefully few prototypes,
5153 which can conflict with char shmat (); below.
5154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5155 <limits.h> exists even on freestanding compilers. */
5157 #ifdef __STDC__
5158 # include <limits.h>
5159 #else
5160 # include <assert.h>
5161 #endif
5163 #undef shmat
5165 /* Override any GCC internal prototype to avoid an error.
5166 Use char because int might match the return type of a GCC
5167 builtin and then its argument prototype would still apply. */
5168 #ifdef __cplusplus
5169 extern "C"
5170 #endif
5171 char shmat ();
5172 /* The GNU C library defines this for functions which it implements
5173 to always fail with ENOSYS. Some functions are actually named
5174 something starting with __ and the normal name is an alias. */
5175 #if defined __stub_shmat || defined __stub___shmat
5176 choke me
5177 #endif
5180 main ()
5182 return shmat ();
5184 return 0;
5186 _ACEOF
5187 rm -f conftest.$ac_objext conftest$ac_exeext
5188 if { (ac_try="$ac_link"
5189 case "(($ac_try" in
5190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5191 *) ac_try_echo=$ac_try;;
5192 esac
5193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5194 (eval "$ac_link") 2>conftest.er1
5195 ac_status=$?
5196 grep -v '^ *+' conftest.er1 >conftest.err
5197 rm -f conftest.er1
5198 cat conftest.err >&5
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); } &&
5201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5202 { (case "(($ac_try" in
5203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5204 *) ac_try_echo=$ac_try;;
5205 esac
5206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5207 (eval "$ac_try") 2>&5
5208 ac_status=$?
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); }; } &&
5211 { ac_try='test -s conftest$ac_exeext'
5212 { (case "(($ac_try" in
5213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5214 *) ac_try_echo=$ac_try;;
5215 esac
5216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5217 (eval "$ac_try") 2>&5
5218 ac_status=$?
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; }; then
5221 ac_cv_func_shmat=yes
5222 else
5223 echo "$as_me: failed program was:" >&5
5224 sed 's/^/| /' conftest.$ac_ext >&5
5226 ac_cv_func_shmat=no
5229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5230 conftest$ac_exeext conftest.$ac_ext
5232 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5233 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5235 if test $ac_cv_func_shmat = no; then
5236 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5237 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5238 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5239 echo $ECHO_N "(cached) $ECHO_C" >&6
5240 else
5241 ac_check_lib_save_LIBS=$LIBS
5242 LIBS="-lipc $LIBS"
5243 cat >conftest.$ac_ext <<_ACEOF
5244 /* confdefs.h. */
5245 _ACEOF
5246 cat confdefs.h >>conftest.$ac_ext
5247 cat >>conftest.$ac_ext <<_ACEOF
5248 /* end confdefs.h. */
5250 /* Override any GCC internal prototype to avoid an error.
5251 Use char because int might match the return type of a GCC
5252 builtin and then its argument prototype would still apply. */
5253 #ifdef __cplusplus
5254 extern "C"
5255 #endif
5256 char shmat ();
5258 main ()
5260 return shmat ();
5262 return 0;
5264 _ACEOF
5265 rm -f conftest.$ac_objext conftest$ac_exeext
5266 if { (ac_try="$ac_link"
5267 case "(($ac_try" in
5268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5269 *) ac_try_echo=$ac_try;;
5270 esac
5271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5272 (eval "$ac_link") 2>conftest.er1
5273 ac_status=$?
5274 grep -v '^ *+' conftest.er1 >conftest.err
5275 rm -f conftest.er1
5276 cat conftest.err >&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); } &&
5279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5280 { (case "(($ac_try" in
5281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5282 *) ac_try_echo=$ac_try;;
5283 esac
5284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5285 (eval "$ac_try") 2>&5
5286 ac_status=$?
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); }; } &&
5289 { ac_try='test -s conftest$ac_exeext'
5290 { (case "(($ac_try" in
5291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5292 *) ac_try_echo=$ac_try;;
5293 esac
5294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5295 (eval "$ac_try") 2>&5
5296 ac_status=$?
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298 (exit $ac_status); }; }; then
5299 ac_cv_lib_ipc_shmat=yes
5300 else
5301 echo "$as_me: failed program was:" >&5
5302 sed 's/^/| /' conftest.$ac_ext >&5
5304 ac_cv_lib_ipc_shmat=no
5307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5308 conftest$ac_exeext conftest.$ac_ext
5309 LIBS=$ac_check_lib_save_LIBS
5311 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5312 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5313 if test $ac_cv_lib_ipc_shmat = yes; then
5314 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5320 # Check for libraries that X11R6 Xt/Xaw programs need.
5321 ac_save_LDFLAGS=$LDFLAGS
5322 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5323 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5324 # check for ICE first), but we must link in the order -lSM -lICE or
5325 # we get undefined symbols. So assume we have SM if we have ICE.
5326 # These have to be linked with before -lX11, unlike the other
5327 # libraries we check for below, so use a different variable.
5328 # John Interrante, Karl Berry
5329 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5330 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5331 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5332 echo $ECHO_N "(cached) $ECHO_C" >&6
5333 else
5334 ac_check_lib_save_LIBS=$LIBS
5335 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5336 cat >conftest.$ac_ext <<_ACEOF
5337 /* confdefs.h. */
5338 _ACEOF
5339 cat confdefs.h >>conftest.$ac_ext
5340 cat >>conftest.$ac_ext <<_ACEOF
5341 /* end confdefs.h. */
5343 /* Override any GCC internal prototype to avoid an error.
5344 Use char because int might match the return type of a GCC
5345 builtin and then its argument prototype would still apply. */
5346 #ifdef __cplusplus
5347 extern "C"
5348 #endif
5349 char IceConnectionNumber ();
5351 main ()
5353 return IceConnectionNumber ();
5355 return 0;
5357 _ACEOF
5358 rm -f conftest.$ac_objext conftest$ac_exeext
5359 if { (ac_try="$ac_link"
5360 case "(($ac_try" in
5361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5362 *) ac_try_echo=$ac_try;;
5363 esac
5364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5365 (eval "$ac_link") 2>conftest.er1
5366 ac_status=$?
5367 grep -v '^ *+' conftest.er1 >conftest.err
5368 rm -f conftest.er1
5369 cat conftest.err >&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); } &&
5372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5373 { (case "(($ac_try" in
5374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5375 *) ac_try_echo=$ac_try;;
5376 esac
5377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5378 (eval "$ac_try") 2>&5
5379 ac_status=$?
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); }; } &&
5382 { ac_try='test -s conftest$ac_exeext'
5383 { (case "(($ac_try" in
5384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5385 *) ac_try_echo=$ac_try;;
5386 esac
5387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5388 (eval "$ac_try") 2>&5
5389 ac_status=$?
5390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391 (exit $ac_status); }; }; then
5392 ac_cv_lib_ICE_IceConnectionNumber=yes
5393 else
5394 echo "$as_me: failed program was:" >&5
5395 sed 's/^/| /' conftest.$ac_ext >&5
5397 ac_cv_lib_ICE_IceConnectionNumber=no
5400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5401 conftest$ac_exeext conftest.$ac_ext
5402 LIBS=$ac_check_lib_save_LIBS
5404 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5405 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5406 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5407 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5410 LDFLAGS=$ac_save_LDFLAGS
5414 for ac_prog in flex lex
5416 # Extract the first word of "$ac_prog", so it can be a program name with args.
5417 set dummy $ac_prog; ac_word=$2
5418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5420 if test "${ac_cv_prog_LEX+set}" = set; then
5421 echo $ECHO_N "(cached) $ECHO_C" >&6
5422 else
5423 if test -n "$LEX"; then
5424 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5425 else
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 for as_dir in $PATH
5429 IFS=$as_save_IFS
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5433 ac_cv_prog_LEX="$ac_prog"
5434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 break 2
5437 done
5438 done
5439 IFS=$as_save_IFS
5443 LEX=$ac_cv_prog_LEX
5444 if test -n "$LEX"; then
5445 { echo "$as_me:$LINENO: result: $LEX" >&5
5446 echo "${ECHO_T}$LEX" >&6; }
5447 else
5448 { echo "$as_me:$LINENO: result: no" >&5
5449 echo "${ECHO_T}no" >&6; }
5453 test -n "$LEX" && break
5454 done
5455 test -n "$LEX" || LEX=":"
5457 if test "x$LEX" != "x:"; then
5458 cat >conftest.l <<_ACEOF
5460 a { ECHO; }
5461 b { REJECT; }
5462 c { yymore (); }
5463 d { yyless (1); }
5464 e { yyless (input () != 0); }
5465 f { unput (yytext[0]); }
5466 . { BEGIN INITIAL; }
5468 #ifdef YYTEXT_POINTER
5469 extern char *yytext;
5470 #endif
5472 main (void)
5474 return ! yylex () + ! yywrap ();
5476 _ACEOF
5477 { (ac_try="$LEX conftest.l"
5478 case "(($ac_try" in
5479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5480 *) ac_try_echo=$ac_try;;
5481 esac
5482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5483 (eval "$LEX conftest.l") 2>&5
5484 ac_status=$?
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); }
5487 { echo "$as_me:$LINENO: checking lex output file root" >&5
5488 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5489 if test "${ac_cv_prog_lex_root+set}" = set; then
5490 echo $ECHO_N "(cached) $ECHO_C" >&6
5491 else
5493 if test -f lex.yy.c; then
5494 ac_cv_prog_lex_root=lex.yy
5495 elif test -f lexyy.c; then
5496 ac_cv_prog_lex_root=lexyy
5497 else
5498 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5499 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5500 { (exit 1); exit 1; }; }
5503 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5504 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5505 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5507 if test -z "${LEXLIB+set}"; then
5508 { echo "$as_me:$LINENO: checking lex library" >&5
5509 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
5510 if test "${ac_cv_lib_lex+set}" = set; then
5511 echo $ECHO_N "(cached) $ECHO_C" >&6
5512 else
5514 ac_save_LIBS=$LIBS
5515 ac_cv_lib_lex='none needed'
5516 for ac_lib in '' -lfl -ll; do
5517 LIBS="$ac_lib $ac_save_LIBS"
5518 cat >conftest.$ac_ext <<_ACEOF
5519 `cat $LEX_OUTPUT_ROOT.c`
5520 _ACEOF
5521 rm -f conftest.$ac_objext conftest$ac_exeext
5522 if { (ac_try="$ac_link"
5523 case "(($ac_try" in
5524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5525 *) ac_try_echo=$ac_try;;
5526 esac
5527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5528 (eval "$ac_link") 2>conftest.er1
5529 ac_status=$?
5530 grep -v '^ *+' conftest.er1 >conftest.err
5531 rm -f conftest.er1
5532 cat conftest.err >&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); } &&
5535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5536 { (case "(($ac_try" in
5537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5539 esac
5540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5541 (eval "$ac_try") 2>&5
5542 ac_status=$?
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; } &&
5545 { ac_try='test -s conftest$ac_exeext'
5546 { (case "(($ac_try" in
5547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5548 *) ac_try_echo=$ac_try;;
5549 esac
5550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5551 (eval "$ac_try") 2>&5
5552 ac_status=$?
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); }; }; then
5555 ac_cv_lib_lex=$ac_lib
5556 else
5557 echo "$as_me: failed program was:" >&5
5558 sed 's/^/| /' conftest.$ac_ext >&5
5563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5564 conftest$ac_exeext conftest.$ac_ext
5565 test "$ac_cv_lib_lex" != 'none needed' && break
5566 done
5567 LIBS=$ac_save_LIBS
5570 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
5571 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
5572 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5576 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5577 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5578 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5579 echo $ECHO_N "(cached) $ECHO_C" >&6
5580 else
5581 # POSIX says lex can declare yytext either as a pointer or an array; the
5582 # default is implementation-dependent. Figure out which it is, since
5583 # not all implementations provide the %pointer and %array declarations.
5584 ac_cv_prog_lex_yytext_pointer=no
5585 ac_save_LIBS=$LIBS
5586 LIBS="$LEXLIB $ac_save_LIBS"
5587 cat >conftest.$ac_ext <<_ACEOF
5588 #define YYTEXT_POINTER 1
5589 `cat $LEX_OUTPUT_ROOT.c`
5590 _ACEOF
5591 rm -f conftest.$ac_objext conftest$ac_exeext
5592 if { (ac_try="$ac_link"
5593 case "(($ac_try" in
5594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5595 *) ac_try_echo=$ac_try;;
5596 esac
5597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5598 (eval "$ac_link") 2>conftest.er1
5599 ac_status=$?
5600 grep -v '^ *+' conftest.er1 >conftest.err
5601 rm -f conftest.er1
5602 cat conftest.err >&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); } &&
5605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5606 { (case "(($ac_try" in
5607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5608 *) ac_try_echo=$ac_try;;
5609 esac
5610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5611 (eval "$ac_try") 2>&5
5612 ac_status=$?
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }; } &&
5615 { ac_try='test -s conftest$ac_exeext'
5616 { (case "(($ac_try" in
5617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5618 *) ac_try_echo=$ac_try;;
5619 esac
5620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5621 (eval "$ac_try") 2>&5
5622 ac_status=$?
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); }; }; then
5625 ac_cv_prog_lex_yytext_pointer=yes
5626 else
5627 echo "$as_me: failed program was:" >&5
5628 sed 's/^/| /' conftest.$ac_ext >&5
5633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5634 conftest$ac_exeext conftest.$ac_ext
5635 LIBS=$ac_save_LIBS
5638 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5639 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5640 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5642 cat >>confdefs.h <<\_ACEOF
5643 #define YYTEXT_POINTER 1
5644 _ACEOF
5647 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5651 for ac_prog in $LEX flex lex
5653 # Extract the first word of "$ac_prog", so it can be a program name with args.
5654 set dummy $ac_prog; ac_word=$2
5655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5657 if test "${ac_cv_prog_XLEX+set}" = set; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5659 else
5660 if test -n "$XLEX"; then
5661 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5662 else
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5664 for as_dir in $PATH
5666 IFS=$as_save_IFS
5667 test -z "$as_dir" && as_dir=.
5668 for ac_exec_ext in '' $ac_executable_extensions; do
5669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5670 ac_cv_prog_XLEX="$ac_prog"
5671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 break 2
5674 done
5675 done
5676 IFS=$as_save_IFS
5680 XLEX=$ac_cv_prog_XLEX
5681 if test -n "$XLEX"; then
5682 { echo "$as_me:$LINENO: result: $XLEX" >&5
5683 echo "${ECHO_T}$XLEX" >&6; }
5684 else
5685 { echo "$as_me:$LINENO: result: no" >&5
5686 echo "${ECHO_T}no" >&6; }
5690 test -n "$XLEX" && break
5691 done
5692 test -n "$XLEX" || XLEX="none"
5694 if test "$XLEX" = "none"
5695 then
5696 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5697 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5698 { (exit 1); exit 1; }; }
5701 for ac_prog in bison
5703 # Extract the first word of "$ac_prog", so it can be a program name with args.
5704 set dummy $ac_prog; ac_word=$2
5705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5707 if test "${ac_cv_prog_BISON+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 else
5710 if test -n "$BISON"; then
5711 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5712 else
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in $PATH
5716 IFS=$as_save_IFS
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5720 ac_cv_prog_BISON="$ac_prog"
5721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 break 2
5724 done
5725 done
5726 IFS=$as_save_IFS
5730 BISON=$ac_cv_prog_BISON
5731 if test -n "$BISON"; then
5732 { echo "$as_me:$LINENO: result: $BISON" >&5
5733 echo "${ECHO_T}$BISON" >&6; }
5734 else
5735 { echo "$as_me:$LINENO: result: no" >&5
5736 echo "${ECHO_T}no" >&6; }
5740 test -n "$BISON" && break
5741 done
5742 test -n "$BISON" || BISON="none"
5744 if test "$BISON" = "none"
5745 then
5746 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5747 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5748 { (exit 1); exit 1; }; }
5751 if test -n "$ac_tool_prefix"; then
5752 for ac_prog in gas as
5754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5758 if test "${ac_cv_prog_AS+set}" = set; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5760 else
5761 if test -n "$AS"; then
5762 ac_cv_prog_AS="$AS" # Let the user override the test.
5763 else
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 for as_dir in $PATH
5767 IFS=$as_save_IFS
5768 test -z "$as_dir" && as_dir=.
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5771 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 break 2
5775 done
5776 done
5777 IFS=$as_save_IFS
5781 AS=$ac_cv_prog_AS
5782 if test -n "$AS"; then
5783 { echo "$as_me:$LINENO: result: $AS" >&5
5784 echo "${ECHO_T}$AS" >&6; }
5785 else
5786 { echo "$as_me:$LINENO: result: no" >&5
5787 echo "${ECHO_T}no" >&6; }
5791 test -n "$AS" && break
5792 done
5794 if test -z "$AS"; then
5795 ac_ct_AS=$AS
5796 for ac_prog in gas as
5798 # Extract the first word of "$ac_prog", so it can be a program name with args.
5799 set dummy $ac_prog; ac_word=$2
5800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5802 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 else
5805 if test -n "$ac_ct_AS"; then
5806 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5807 else
5808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 for as_dir in $PATH
5811 IFS=$as_save_IFS
5812 test -z "$as_dir" && as_dir=.
5813 for ac_exec_ext in '' $ac_executable_extensions; do
5814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5815 ac_cv_prog_ac_ct_AS="$ac_prog"
5816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 break 2
5819 done
5820 done
5821 IFS=$as_save_IFS
5825 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5826 if test -n "$ac_ct_AS"; then
5827 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5828 echo "${ECHO_T}$ac_ct_AS" >&6; }
5829 else
5830 { echo "$as_me:$LINENO: result: no" >&5
5831 echo "${ECHO_T}no" >&6; }
5835 test -n "$ac_ct_AS" && break
5836 done
5838 if test "x$ac_ct_AS" = x; then
5839 AS="as"
5840 else
5841 case $cross_compiling:$ac_tool_warned in
5842 yes:)
5843 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5844 whose name does not start with the host triplet. If you think this
5845 configuration is useful to you, please write to autoconf@gnu.org." >&5
5846 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5847 whose name does not start with the host triplet. If you think this
5848 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5849 ac_tool_warned=yes ;;
5850 esac
5851 AS=$ac_ct_AS
5855 if test -n "$ac_tool_prefix"; then
5856 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5857 set dummy ${ac_tool_prefix}ld; ac_word=$2
5858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5860 if test "${ac_cv_prog_LD+set}" = set; then
5861 echo $ECHO_N "(cached) $ECHO_C" >&6
5862 else
5863 if test -n "$LD"; then
5864 ac_cv_prog_LD="$LD" # Let the user override the test.
5865 else
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 for as_dir in $PATH
5869 IFS=$as_save_IFS
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5873 ac_cv_prog_LD="${ac_tool_prefix}ld"
5874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 break 2
5877 done
5878 done
5879 IFS=$as_save_IFS
5883 LD=$ac_cv_prog_LD
5884 if test -n "$LD"; then
5885 { echo "$as_me:$LINENO: result: $LD" >&5
5886 echo "${ECHO_T}$LD" >&6; }
5887 else
5888 { echo "$as_me:$LINENO: result: no" >&5
5889 echo "${ECHO_T}no" >&6; }
5894 if test -z "$ac_cv_prog_LD"; then
5895 ac_ct_LD=$LD
5896 # Extract the first word of "ld", so it can be a program name with args.
5897 set dummy ld; ac_word=$2
5898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5900 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5901 echo $ECHO_N "(cached) $ECHO_C" >&6
5902 else
5903 if test -n "$ac_ct_LD"; then
5904 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5905 else
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907 for as_dir in $PATH
5909 IFS=$as_save_IFS
5910 test -z "$as_dir" && as_dir=.
5911 for ac_exec_ext in '' $ac_executable_extensions; do
5912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5913 ac_cv_prog_ac_ct_LD="ld"
5914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5915 break 2
5917 done
5918 done
5919 IFS=$as_save_IFS
5923 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5924 if test -n "$ac_ct_LD"; then
5925 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5926 echo "${ECHO_T}$ac_ct_LD" >&6; }
5927 else
5928 { echo "$as_me:$LINENO: result: no" >&5
5929 echo "${ECHO_T}no" >&6; }
5932 if test "x$ac_ct_LD" = x; then
5933 LD="ld"
5934 else
5935 case $cross_compiling:$ac_tool_warned in
5936 yes:)
5937 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5938 whose name does not start with the host triplet. If you think this
5939 configuration is useful to you, please write to autoconf@gnu.org." >&5
5940 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5941 whose name does not start with the host triplet. If you think this
5942 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5943 ac_tool_warned=yes ;;
5944 esac
5945 LD=$ac_ct_LD
5947 else
5948 LD="$ac_cv_prog_LD"
5951 if test -n "$ac_tool_prefix"; then
5952 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5953 set dummy ${ac_tool_prefix}ar; ac_word=$2
5954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5956 if test "${ac_cv_prog_AR+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 else
5959 if test -n "$AR"; then
5960 ac_cv_prog_AR="$AR" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5965 IFS=$as_save_IFS
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5969 ac_cv_prog_AR="${ac_tool_prefix}ar"
5970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 break 2
5973 done
5974 done
5975 IFS=$as_save_IFS
5979 AR=$ac_cv_prog_AR
5980 if test -n "$AR"; then
5981 { echo "$as_me:$LINENO: result: $AR" >&5
5982 echo "${ECHO_T}$AR" >&6; }
5983 else
5984 { echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6; }
5990 if test -z "$ac_cv_prog_AR"; then
5991 ac_ct_AR=$AR
5992 # Extract the first word of "ar", so it can be a program name with args.
5993 set dummy ar; ac_word=$2
5994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5996 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5997 echo $ECHO_N "(cached) $ECHO_C" >&6
5998 else
5999 if test -n "$ac_ct_AR"; then
6000 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6001 else
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 for as_dir in $PATH
6005 IFS=$as_save_IFS
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6009 ac_cv_prog_ac_ct_AR="ar"
6010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6011 break 2
6013 done
6014 done
6015 IFS=$as_save_IFS
6019 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6020 if test -n "$ac_ct_AR"; then
6021 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6022 echo "${ECHO_T}$ac_ct_AR" >&6; }
6023 else
6024 { echo "$as_me:$LINENO: result: no" >&5
6025 echo "${ECHO_T}no" >&6; }
6028 if test "x$ac_ct_AR" = x; then
6029 AR="ar"
6030 else
6031 case $cross_compiling:$ac_tool_warned in
6032 yes:)
6033 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6034 whose name does not start with the host triplet. If you think this
6035 configuration is useful to you, please write to autoconf@gnu.org." >&5
6036 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6037 whose name does not start with the host triplet. If you think this
6038 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6039 ac_tool_warned=yes ;;
6040 esac
6041 AR=$ac_ct_AR
6043 else
6044 AR="$ac_cv_prog_AR"
6047 if test -n "$ac_tool_prefix"; then
6048 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6049 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6052 if test "${ac_cv_prog_RANLIB+set}" = set; then
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
6054 else
6055 if test -n "$RANLIB"; then
6056 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6057 else
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 for as_dir in $PATH
6061 IFS=$as_save_IFS
6062 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6065 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6067 break 2
6069 done
6070 done
6071 IFS=$as_save_IFS
6075 RANLIB=$ac_cv_prog_RANLIB
6076 if test -n "$RANLIB"; then
6077 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6078 echo "${ECHO_T}$RANLIB" >&6; }
6079 else
6080 { echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6; }
6086 if test -z "$ac_cv_prog_RANLIB"; then
6087 ac_ct_RANLIB=$RANLIB
6088 # Extract the first word of "ranlib", so it can be a program name with args.
6089 set dummy ranlib; ac_word=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 else
6095 if test -n "$ac_ct_RANLIB"; then
6096 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_ac_ct_RANLIB="ranlib"
6106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6116 if test -n "$ac_ct_RANLIB"; then
6117 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6118 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6119 else
6120 { echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6; }
6124 if test "x$ac_ct_RANLIB" = x; then
6125 RANLIB=":"
6126 else
6127 case $cross_compiling:$ac_tool_warned in
6128 yes:)
6129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6130 whose name does not start with the host triplet. If you think this
6131 configuration is useful to you, please write to autoconf@gnu.org." >&5
6132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6133 whose name does not start with the host triplet. If you think this
6134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6135 ac_tool_warned=yes ;;
6136 esac
6137 RANLIB=$ac_ct_RANLIB
6139 else
6140 RANLIB="$ac_cv_prog_RANLIB"
6143 if test -n "$ac_tool_prefix"; then
6144 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6145 set dummy ${ac_tool_prefix}strip; ac_word=$2
6146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6148 if test "${ac_cv_prog_STRIP+set}" = set; then
6149 echo $ECHO_N "(cached) $ECHO_C" >&6
6150 else
6151 if test -n "$STRIP"; then
6152 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6153 else
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 for as_dir in $PATH
6157 IFS=$as_save_IFS
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6161 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 break 2
6165 done
6166 done
6167 IFS=$as_save_IFS
6171 STRIP=$ac_cv_prog_STRIP
6172 if test -n "$STRIP"; then
6173 { echo "$as_me:$LINENO: result: $STRIP" >&5
6174 echo "${ECHO_T}$STRIP" >&6; }
6175 else
6176 { echo "$as_me:$LINENO: result: no" >&5
6177 echo "${ECHO_T}no" >&6; }
6182 if test -z "$ac_cv_prog_STRIP"; then
6183 ac_ct_STRIP=$STRIP
6184 # Extract the first word of "strip", so it can be a program name with args.
6185 set dummy strip; ac_word=$2
6186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6188 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6189 echo $ECHO_N "(cached) $ECHO_C" >&6
6190 else
6191 if test -n "$ac_ct_STRIP"; then
6192 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6193 else
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195 for as_dir in $PATH
6197 IFS=$as_save_IFS
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6201 ac_cv_prog_ac_ct_STRIP="strip"
6202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6203 break 2
6205 done
6206 done
6207 IFS=$as_save_IFS
6211 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6212 if test -n "$ac_ct_STRIP"; then
6213 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6214 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6215 else
6216 { echo "$as_me:$LINENO: result: no" >&5
6217 echo "${ECHO_T}no" >&6; }
6220 if test "x$ac_ct_STRIP" = x; then
6221 STRIP="strip"
6222 else
6223 case $cross_compiling:$ac_tool_warned in
6224 yes:)
6225 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6226 whose name does not start with the host triplet. If you think this
6227 configuration is useful to you, please write to autoconf@gnu.org." >&5
6228 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6229 whose name does not start with the host triplet. If you think this
6230 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6231 ac_tool_warned=yes ;;
6232 esac
6233 STRIP=$ac_ct_STRIP
6235 else
6236 STRIP="$ac_cv_prog_STRIP"
6239 if test -n "$ac_tool_prefix"; then
6240 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6241 set dummy ${ac_tool_prefix}windres; ac_word=$2
6242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6244 if test "${ac_cv_prog_WINDRES+set}" = set; then
6245 echo $ECHO_N "(cached) $ECHO_C" >&6
6246 else
6247 if test -n "$WINDRES"; then
6248 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6249 else
6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 for as_dir in $PATH
6253 IFS=$as_save_IFS
6254 test -z "$as_dir" && as_dir=.
6255 for ac_exec_ext in '' $ac_executable_extensions; do
6256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6257 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6259 break 2
6261 done
6262 done
6263 IFS=$as_save_IFS
6267 WINDRES=$ac_cv_prog_WINDRES
6268 if test -n "$WINDRES"; then
6269 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6270 echo "${ECHO_T}$WINDRES" >&6; }
6271 else
6272 { echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6; }
6278 if test -z "$ac_cv_prog_WINDRES"; then
6279 ac_ct_WINDRES=$WINDRES
6280 # Extract the first word of "windres", so it can be a program name with args.
6281 set dummy windres; ac_word=$2
6282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6284 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6286 else
6287 if test -n "$ac_ct_WINDRES"; then
6288 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6289 else
6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291 for as_dir in $PATH
6293 IFS=$as_save_IFS
6294 test -z "$as_dir" && as_dir=.
6295 for ac_exec_ext in '' $ac_executable_extensions; do
6296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6297 ac_cv_prog_ac_ct_WINDRES="windres"
6298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6299 break 2
6301 done
6302 done
6303 IFS=$as_save_IFS
6307 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6308 if test -n "$ac_ct_WINDRES"; then
6309 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6310 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6311 else
6312 { echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6; }
6316 if test "x$ac_ct_WINDRES" = x; then
6317 WINDRES="false"
6318 else
6319 case $cross_compiling:$ac_tool_warned in
6320 yes:)
6321 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6322 whose name does not start with the host triplet. If you think this
6323 configuration is useful to you, please write to autoconf@gnu.org." >&5
6324 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6325 whose name does not start with the host triplet. If you think this
6326 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6327 ac_tool_warned=yes ;;
6328 esac
6329 WINDRES=$ac_ct_WINDRES
6331 else
6332 WINDRES="$ac_cv_prog_WINDRES"
6335 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6336 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6337 LN_S=$as_ln_s
6338 if test "$LN_S" = "ln -s"; then
6339 { echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6; }
6341 else
6342 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6343 echo "${ECHO_T}no, using $LN_S" >&6; }
6346 { echo "$as_me:$LINENO: checking whether ln works" >&5
6347 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6348 rm -f conf$$ conf$$.file
6349 echo >conf$$.file
6350 if ln conf$$.file conf$$ 2>/dev/null; then
6351 LN=ln
6353 { echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6; }
6355 else
6356 LN="cp -p"
6358 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6359 echo "${ECHO_T}no, using $LN" >&6; }
6361 rm -f conf$$ conf$$.file
6362 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6363 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6364 if test "${ac_cv_path_GREP+set}" = set; then
6365 echo $ECHO_N "(cached) $ECHO_C" >&6
6366 else
6367 # Extract the first word of "grep ggrep" to use in msg output
6368 if test -z "$GREP"; then
6369 set dummy grep ggrep; ac_prog_name=$2
6370 if test "${ac_cv_path_GREP+set}" = set; then
6371 echo $ECHO_N "(cached) $ECHO_C" >&6
6372 else
6373 ac_path_GREP_found=false
6374 # Loop through the user's path and test for each of PROGNAME-LIST
6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6378 IFS=$as_save_IFS
6379 test -z "$as_dir" && as_dir=.
6380 for ac_prog in grep ggrep; do
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6383 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6384 # Check for GNU ac_path_GREP and select it if it is found.
6385 # Check for GNU $ac_path_GREP
6386 case `"$ac_path_GREP" --version 2>&1` in
6387 *GNU*)
6388 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6390 ac_count=0
6391 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6392 while :
6394 cat "conftest.in" "conftest.in" >"conftest.tmp"
6395 mv "conftest.tmp" "conftest.in"
6396 cp "conftest.in" "conftest.nl"
6397 echo 'GREP' >> "conftest.nl"
6398 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6399 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6400 ac_count=`expr $ac_count + 1`
6401 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6402 # Best one so far, save it but keep looking for a better one
6403 ac_cv_path_GREP="$ac_path_GREP"
6404 ac_path_GREP_max=$ac_count
6406 # 10*(2^10) chars as input seems more than enough
6407 test $ac_count -gt 10 && break
6408 done
6409 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6410 esac
6413 $ac_path_GREP_found && break 3
6414 done
6415 done
6417 done
6418 IFS=$as_save_IFS
6423 GREP="$ac_cv_path_GREP"
6424 if test -z "$GREP"; then
6425 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6426 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6427 { (exit 1); exit 1; }; }
6430 else
6431 ac_cv_path_GREP=$GREP
6436 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6437 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6438 GREP="$ac_cv_path_GREP"
6441 { echo "$as_me:$LINENO: checking for egrep" >&5
6442 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6443 if test "${ac_cv_path_EGREP+set}" = set; then
6444 echo $ECHO_N "(cached) $ECHO_C" >&6
6445 else
6446 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6447 then ac_cv_path_EGREP="$GREP -E"
6448 else
6449 # Extract the first word of "egrep" to use in msg output
6450 if test -z "$EGREP"; then
6451 set dummy egrep; ac_prog_name=$2
6452 if test "${ac_cv_path_EGREP+set}" = set; then
6453 echo $ECHO_N "(cached) $ECHO_C" >&6
6454 else
6455 ac_path_EGREP_found=false
6456 # Loop through the user's path and test for each of PROGNAME-LIST
6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6458 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6460 IFS=$as_save_IFS
6461 test -z "$as_dir" && as_dir=.
6462 for ac_prog in egrep; do
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6465 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6466 # Check for GNU ac_path_EGREP and select it if it is found.
6467 # Check for GNU $ac_path_EGREP
6468 case `"$ac_path_EGREP" --version 2>&1` in
6469 *GNU*)
6470 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6472 ac_count=0
6473 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6474 while :
6476 cat "conftest.in" "conftest.in" >"conftest.tmp"
6477 mv "conftest.tmp" "conftest.in"
6478 cp "conftest.in" "conftest.nl"
6479 echo 'EGREP' >> "conftest.nl"
6480 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6481 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6482 ac_count=`expr $ac_count + 1`
6483 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6484 # Best one so far, save it but keep looking for a better one
6485 ac_cv_path_EGREP="$ac_path_EGREP"
6486 ac_path_EGREP_max=$ac_count
6488 # 10*(2^10) chars as input seems more than enough
6489 test $ac_count -gt 10 && break
6490 done
6491 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6492 esac
6495 $ac_path_EGREP_found && break 3
6496 done
6497 done
6499 done
6500 IFS=$as_save_IFS
6505 EGREP="$ac_cv_path_EGREP"
6506 if test -z "$EGREP"; then
6507 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6508 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6509 { (exit 1); exit 1; }; }
6512 else
6513 ac_cv_path_EGREP=$EGREP
6519 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6520 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6521 EGREP="$ac_cv_path_EGREP"
6524 # Extract the first word of "ldconfig", so it can be a program name with args.
6525 set dummy ldconfig; ac_word=$2
6526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6528 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6529 echo $ECHO_N "(cached) $ECHO_C" >&6
6530 else
6531 case $LDCONFIG in
6532 [\\/]* | ?:[\\/]*)
6533 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6537 for as_dir in /sbin /usr/sbin $PATH
6539 IFS=$as_save_IFS
6540 test -z "$as_dir" && as_dir=.
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6543 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6545 break 2
6547 done
6548 done
6549 IFS=$as_save_IFS
6551 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6553 esac
6555 LDCONFIG=$ac_cv_path_LDCONFIG
6556 if test -n "$LDCONFIG"; then
6557 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6558 echo "${ECHO_T}$LDCONFIG" >&6; }
6559 else
6560 { echo "$as_me:$LINENO: result: no" >&5
6561 echo "${ECHO_T}no" >&6; }
6565 # Find a good install program. We prefer a C program (faster),
6566 # so one script is as good as another. But avoid the broken or
6567 # incompatible versions:
6568 # SysV /etc/install, /usr/sbin/install
6569 # SunOS /usr/etc/install
6570 # IRIX /sbin/install
6571 # AIX /bin/install
6572 # AmigaOS /C/install, which installs bootblocks on floppy discs
6573 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6574 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6575 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6576 # OS/2's system install, which has a completely different semantic
6577 # ./install, which can be erroneously created by make from ./install.sh.
6578 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6579 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6580 if test -z "$INSTALL"; then
6581 if test "${ac_cv_path_install+set}" = set; then
6582 echo $ECHO_N "(cached) $ECHO_C" >&6
6583 else
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585 for as_dir in $PATH
6587 IFS=$as_save_IFS
6588 test -z "$as_dir" && as_dir=.
6589 # Account for people who put trailing slashes in PATH elements.
6590 case $as_dir/ in
6591 ./ | .// | /cC/* | \
6592 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6593 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6594 /usr/ucb/* ) ;;
6596 # OSF1 and SCO ODT 3.0 have their own names for install.
6597 # Don't use installbsd from OSF since it installs stuff as root
6598 # by default.
6599 for ac_prog in ginstall scoinst install; do
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6602 if test $ac_prog = install &&
6603 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6604 # AIX install. It has an incompatible calling convention.
6606 elif test $ac_prog = install &&
6607 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6608 # program-specific install script used by HP pwplus--don't use.
6610 else
6611 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6612 break 3
6615 done
6616 done
6618 esac
6619 done
6620 IFS=$as_save_IFS
6624 if test "${ac_cv_path_install+set}" = set; then
6625 INSTALL=$ac_cv_path_install
6626 else
6627 # As a last resort, use the slow shell script. Don't cache a
6628 # value for INSTALL within a source directory, because that will
6629 # break other packages using the cache if that directory is
6630 # removed, or if the value is a relative name.
6631 INSTALL=$ac_install_sh
6634 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6635 echo "${ECHO_T}$INSTALL" >&6; }
6637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6638 # It thinks the first close brace ends the variable substitution.
6639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6645 case "$INSTALL" in
6646 [\\/$]* | ?:[\\/]* ) ;;
6647 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6648 esac
6650 for ac_prog in lclint lint
6652 # Extract the first word of "$ac_prog", so it can be a program name with args.
6653 set dummy $ac_prog; ac_word=$2
6654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6656 if test "${ac_cv_prog_LINT+set}" = set; then
6657 echo $ECHO_N "(cached) $ECHO_C" >&6
6658 else
6659 if test -n "$LINT"; then
6660 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6661 else
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 for as_dir in $PATH
6665 IFS=$as_save_IFS
6666 test -z "$as_dir" && as_dir=.
6667 for ac_exec_ext in '' $ac_executable_extensions; do
6668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6669 ac_cv_prog_LINT="$ac_prog"
6670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6671 break 2
6673 done
6674 done
6675 IFS=$as_save_IFS
6679 LINT=$ac_cv_prog_LINT
6680 if test -n "$LINT"; then
6681 { echo "$as_me:$LINENO: result: $LINT" >&5
6682 echo "${ECHO_T}$LINT" >&6; }
6683 else
6684 { echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6; }
6689 test -n "$LINT" && break
6690 done
6692 if test "$LINT" = "lint"
6693 then
6694 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6699 for ac_prog in fontforge
6701 # Extract the first word of "$ac_prog", so it can be a program name with args.
6702 set dummy $ac_prog; ac_word=$2
6703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6705 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6706 echo $ECHO_N "(cached) $ECHO_C" >&6
6707 else
6708 if test -n "$FONTFORGE"; then
6709 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6710 else
6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 for as_dir in $PATH
6714 IFS=$as_save_IFS
6715 test -z "$as_dir" && as_dir=.
6716 for ac_exec_ext in '' $ac_executable_extensions; do
6717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6718 ac_cv_prog_FONTFORGE="$ac_prog"
6719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6720 break 2
6722 done
6723 done
6724 IFS=$as_save_IFS
6728 FONTFORGE=$ac_cv_prog_FONTFORGE
6729 if test -n "$FONTFORGE"; then
6730 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6731 echo "${ECHO_T}$FONTFORGE" >&6; }
6732 else
6733 { echo "$as_me:$LINENO: result: no" >&5
6734 echo "${ECHO_T}no" >&6; }
6738 test -n "$FONTFORGE" && break
6739 done
6740 test -n "$FONTFORGE" || FONTFORGE="false"
6742 for ac_prog in pkg-config
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_PKG_CONFIG+set}" = set; then
6749 echo $ECHO_N "(cached) $ECHO_C" >&6
6750 else
6751 if test -n "$PKG_CONFIG"; then
6752 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # 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_PKG_CONFIG="$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 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6772 if test -n "$PKG_CONFIG"; then
6773 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6774 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6775 else
6776 { echo "$as_me:$LINENO: result: no" >&5
6777 echo "${ECHO_T}no" >&6; }
6781 test -n "$PKG_CONFIG" && break
6782 done
6783 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6786 case $host_cpu in
6787 *i[3456789]86*)
6788 # Extract the first word of "prelink", so it can be a program name with args.
6789 set dummy prelink; ac_word=$2
6790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6792 if test "${ac_cv_path_PRELINK+set}" = set; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6794 else
6795 case $PRELINK in
6796 [\\/]* | ?:[\\/]*)
6797 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6801 for as_dir in /sbin /usr/sbin $PATH
6803 IFS=$as_save_IFS
6804 test -z "$as_dir" && as_dir=.
6805 for ac_exec_ext in '' $ac_executable_extensions; do
6806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6807 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6809 break 2
6811 done
6812 done
6813 IFS=$as_save_IFS
6815 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6817 esac
6819 PRELINK=$ac_cv_path_PRELINK
6820 if test -n "$PRELINK"; then
6821 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6822 echo "${ECHO_T}$PRELINK" >&6; }
6823 else
6824 { echo "$as_me:$LINENO: result: no" >&5
6825 echo "${ECHO_T}no" >&6; }
6830 esac
6834 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6835 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6836 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6838 else
6839 ac_check_lib_save_LIBS=$LIBS
6840 LIBS="-li386 $LIBS"
6841 cat >conftest.$ac_ext <<_ACEOF
6842 /* confdefs.h. */
6843 _ACEOF
6844 cat confdefs.h >>conftest.$ac_ext
6845 cat >>conftest.$ac_ext <<_ACEOF
6846 /* end confdefs.h. */
6848 /* Override any GCC internal prototype to avoid an error.
6849 Use char because int might match the return type of a GCC
6850 builtin and then its argument prototype would still apply. */
6851 #ifdef __cplusplus
6852 extern "C"
6853 #endif
6854 char i386_set_ldt ();
6856 main ()
6858 return i386_set_ldt ();
6860 return 0;
6862 _ACEOF
6863 rm -f conftest.$ac_objext conftest$ac_exeext
6864 if { (ac_try="$ac_link"
6865 case "(($ac_try" in
6866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6867 *) ac_try_echo=$ac_try;;
6868 esac
6869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6870 (eval "$ac_link") 2>conftest.er1
6871 ac_status=$?
6872 grep -v '^ *+' conftest.er1 >conftest.err
6873 rm -f conftest.er1
6874 cat conftest.err >&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); } &&
6877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6878 { (case "(($ac_try" in
6879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6880 *) ac_try_echo=$ac_try;;
6881 esac
6882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6883 (eval "$ac_try") 2>&5
6884 ac_status=$?
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); }; } &&
6887 { ac_try='test -s conftest$ac_exeext'
6888 { (case "(($ac_try" in
6889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6890 *) ac_try_echo=$ac_try;;
6891 esac
6892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6893 (eval "$ac_try") 2>&5
6894 ac_status=$?
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; }; then
6897 ac_cv_lib_i386_i386_set_ldt=yes
6898 else
6899 echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.$ac_ext >&5
6902 ac_cv_lib_i386_i386_set_ldt=no
6905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6906 conftest$ac_exeext conftest.$ac_ext
6907 LIBS=$ac_check_lib_save_LIBS
6909 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6910 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6911 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6912 cat >>confdefs.h <<_ACEOF
6913 #define HAVE_LIBI386 1
6914 _ACEOF
6916 LIBS="-li386 $LIBS"
6921 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6922 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6923 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6924 echo $ECHO_N "(cached) $ECHO_C" >&6
6925 else
6926 ac_check_lib_save_LIBS=$LIBS
6927 LIBS="-lossaudio $LIBS"
6928 cat >conftest.$ac_ext <<_ACEOF
6929 /* confdefs.h. */
6930 _ACEOF
6931 cat confdefs.h >>conftest.$ac_ext
6932 cat >>conftest.$ac_ext <<_ACEOF
6933 /* end confdefs.h. */
6935 /* Override any GCC internal prototype to avoid an error.
6936 Use char because int might match the return type of a GCC
6937 builtin and then its argument prototype would still apply. */
6938 #ifdef __cplusplus
6939 extern "C"
6940 #endif
6941 char _oss_ioctl ();
6943 main ()
6945 return _oss_ioctl ();
6947 return 0;
6949 _ACEOF
6950 rm -f conftest.$ac_objext conftest$ac_exeext
6951 if { (ac_try="$ac_link"
6952 case "(($ac_try" in
6953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6954 *) ac_try_echo=$ac_try;;
6955 esac
6956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6957 (eval "$ac_link") 2>conftest.er1
6958 ac_status=$?
6959 grep -v '^ *+' conftest.er1 >conftest.err
6960 rm -f conftest.er1
6961 cat conftest.err >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); } &&
6964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6965 { (case "(($ac_try" in
6966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6967 *) ac_try_echo=$ac_try;;
6968 esac
6969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6970 (eval "$ac_try") 2>&5
6971 ac_status=$?
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); }; } &&
6974 { ac_try='test -s conftest$ac_exeext'
6975 { (case "(($ac_try" in
6976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6977 *) ac_try_echo=$ac_try;;
6978 esac
6979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6980 (eval "$ac_try") 2>&5
6981 ac_status=$?
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); }; }; then
6984 ac_cv_lib_ossaudio__oss_ioctl=yes
6985 else
6986 echo "$as_me: failed program was:" >&5
6987 sed 's/^/| /' conftest.$ac_ext >&5
6989 ac_cv_lib_ossaudio__oss_ioctl=no
6992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6993 conftest$ac_exeext conftest.$ac_ext
6994 LIBS=$ac_check_lib_save_LIBS
6996 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6997 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6998 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6999 cat >>confdefs.h <<_ACEOF
7000 #define HAVE_LIBOSSAUDIO 1
7001 _ACEOF
7003 LIBS="-lossaudio $LIBS"
7008 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7009 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7010 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7011 echo $ECHO_N "(cached) $ECHO_C" >&6
7012 else
7013 ac_check_lib_save_LIBS=$LIBS
7014 LIBS="-lxpg4 $LIBS"
7015 cat >conftest.$ac_ext <<_ACEOF
7016 /* confdefs.h. */
7017 _ACEOF
7018 cat confdefs.h >>conftest.$ac_ext
7019 cat >>conftest.$ac_ext <<_ACEOF
7020 /* end confdefs.h. */
7022 /* Override any GCC internal prototype to avoid an error.
7023 Use char because int might match the return type of a GCC
7024 builtin and then its argument prototype would still apply. */
7025 #ifdef __cplusplus
7026 extern "C"
7027 #endif
7028 char _xpg4_setrunelocale ();
7030 main ()
7032 return _xpg4_setrunelocale ();
7034 return 0;
7036 _ACEOF
7037 rm -f conftest.$ac_objext conftest$ac_exeext
7038 if { (ac_try="$ac_link"
7039 case "(($ac_try" in
7040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7041 *) ac_try_echo=$ac_try;;
7042 esac
7043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7044 (eval "$ac_link") 2>conftest.er1
7045 ac_status=$?
7046 grep -v '^ *+' conftest.er1 >conftest.err
7047 rm -f conftest.er1
7048 cat conftest.err >&5
7049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); } &&
7051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7052 { (case "(($ac_try" in
7053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7054 *) ac_try_echo=$ac_try;;
7055 esac
7056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7057 (eval "$ac_try") 2>&5
7058 ac_status=$?
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); }; } &&
7061 { ac_try='test -s conftest$ac_exeext'
7062 { (case "(($ac_try" in
7063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7064 *) ac_try_echo=$ac_try;;
7065 esac
7066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7067 (eval "$ac_try") 2>&5
7068 ac_status=$?
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); }; }; then
7071 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7072 else
7073 echo "$as_me: failed program was:" >&5
7074 sed 's/^/| /' conftest.$ac_ext >&5
7076 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7080 conftest$ac_exeext conftest.$ac_ext
7081 LIBS=$ac_check_lib_save_LIBS
7083 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7084 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7085 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7086 cat >>confdefs.h <<_ACEOF
7087 #define HAVE_LIBXPG4 1
7088 _ACEOF
7090 LIBS="-lxpg4 $LIBS"
7094 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7095 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7096 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7097 echo $ECHO_N "(cached) $ECHO_C" >&6
7098 else
7099 ac_check_lib_save_LIBS=$LIBS
7100 LIBS="-lpthread $LIBS"
7101 cat >conftest.$ac_ext <<_ACEOF
7102 /* confdefs.h. */
7103 _ACEOF
7104 cat confdefs.h >>conftest.$ac_ext
7105 cat >>conftest.$ac_ext <<_ACEOF
7106 /* end confdefs.h. */
7108 /* Override any GCC internal prototype to avoid an error.
7109 Use char because int might match the return type of a GCC
7110 builtin and then its argument prototype would still apply. */
7111 #ifdef __cplusplus
7112 extern "C"
7113 #endif
7114 char pthread_create ();
7116 main ()
7118 return pthread_create ();
7120 return 0;
7122 _ACEOF
7123 rm -f conftest.$ac_objext conftest$ac_exeext
7124 if { (ac_try="$ac_link"
7125 case "(($ac_try" in
7126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7127 *) ac_try_echo=$ac_try;;
7128 esac
7129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7130 (eval "$ac_link") 2>conftest.er1
7131 ac_status=$?
7132 grep -v '^ *+' conftest.er1 >conftest.err
7133 rm -f conftest.er1
7134 cat conftest.err >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } &&
7137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7138 { (case "(($ac_try" in
7139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7140 *) ac_try_echo=$ac_try;;
7141 esac
7142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7143 (eval "$ac_try") 2>&5
7144 ac_status=$?
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); }; } &&
7147 { ac_try='test -s conftest$ac_exeext'
7148 { (case "(($ac_try" in
7149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7150 *) ac_try_echo=$ac_try;;
7151 esac
7152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7153 (eval "$ac_try") 2>&5
7154 ac_status=$?
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; }; then
7157 ac_cv_lib_pthread_pthread_create=yes
7158 else
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5
7162 ac_cv_lib_pthread_pthread_create=no
7165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7166 conftest$ac_exeext conftest.$ac_ext
7167 LIBS=$ac_check_lib_save_LIBS
7169 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7170 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7171 if test $ac_cv_lib_pthread_pthread_create = yes; then
7172 LIBPTHREAD="-lpthread"
7177 XLIB=""
7179 XFILES=""
7181 OPENGLFILES=""
7183 GLU32FILES=""
7185 OPENGL_LIBS=""
7187 QUARTZFILES=""
7191 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7192 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7193 if test "${ac_cv_header_stdc+set}" = set; then
7194 echo $ECHO_N "(cached) $ECHO_C" >&6
7195 else
7196 cat >conftest.$ac_ext <<_ACEOF
7197 /* confdefs.h. */
7198 _ACEOF
7199 cat confdefs.h >>conftest.$ac_ext
7200 cat >>conftest.$ac_ext <<_ACEOF
7201 /* end confdefs.h. */
7202 #include <stdlib.h>
7203 #include <stdarg.h>
7204 #include <string.h>
7205 #include <float.h>
7208 main ()
7212 return 0;
7214 _ACEOF
7215 rm -f conftest.$ac_objext
7216 if { (ac_try="$ac_compile"
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_compile") 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_objext'
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_header_stdc=yes
7250 else
7251 echo "$as_me: failed program was:" >&5
7252 sed 's/^/| /' conftest.$ac_ext >&5
7254 ac_cv_header_stdc=no
7257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7259 if test $ac_cv_header_stdc = yes; then
7260 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7261 cat >conftest.$ac_ext <<_ACEOF
7262 /* confdefs.h. */
7263 _ACEOF
7264 cat confdefs.h >>conftest.$ac_ext
7265 cat >>conftest.$ac_ext <<_ACEOF
7266 /* end confdefs.h. */
7267 #include <string.h>
7269 _ACEOF
7270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7271 $EGREP "memchr" >/dev/null 2>&1; then
7273 else
7274 ac_cv_header_stdc=no
7276 rm -f conftest*
7280 if test $ac_cv_header_stdc = yes; then
7281 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7282 cat >conftest.$ac_ext <<_ACEOF
7283 /* confdefs.h. */
7284 _ACEOF
7285 cat confdefs.h >>conftest.$ac_ext
7286 cat >>conftest.$ac_ext <<_ACEOF
7287 /* end confdefs.h. */
7288 #include <stdlib.h>
7290 _ACEOF
7291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7292 $EGREP "free" >/dev/null 2>&1; then
7294 else
7295 ac_cv_header_stdc=no
7297 rm -f conftest*
7301 if test $ac_cv_header_stdc = yes; then
7302 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7303 if test "$cross_compiling" = yes; then
7305 else
7306 cat >conftest.$ac_ext <<_ACEOF
7307 /* confdefs.h. */
7308 _ACEOF
7309 cat confdefs.h >>conftest.$ac_ext
7310 cat >>conftest.$ac_ext <<_ACEOF
7311 /* end confdefs.h. */
7312 #include <ctype.h>
7313 #include <stdlib.h>
7314 #if ((' ' & 0x0FF) == 0x020)
7315 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7316 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7317 #else
7318 # define ISLOWER(c) \
7319 (('a' <= (c) && (c) <= 'i') \
7320 || ('j' <= (c) && (c) <= 'r') \
7321 || ('s' <= (c) && (c) <= 'z'))
7322 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7323 #endif
7325 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7327 main ()
7329 int i;
7330 for (i = 0; i < 256; i++)
7331 if (XOR (islower (i), ISLOWER (i))
7332 || toupper (i) != TOUPPER (i))
7333 return 2;
7334 return 0;
7336 _ACEOF
7337 rm -f conftest$ac_exeext
7338 if { (ac_try="$ac_link"
7339 case "(($ac_try" in
7340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7341 *) ac_try_echo=$ac_try;;
7342 esac
7343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7344 (eval "$ac_link") 2>&5
7345 ac_status=$?
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7348 { (case "(($ac_try" in
7349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7350 *) ac_try_echo=$ac_try;;
7351 esac
7352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7353 (eval "$ac_try") 2>&5
7354 ac_status=$?
7355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356 (exit $ac_status); }; }; then
7358 else
7359 echo "$as_me: program exited with status $ac_status" >&5
7360 echo "$as_me: failed program was:" >&5
7361 sed 's/^/| /' conftest.$ac_ext >&5
7363 ( exit $ac_status )
7364 ac_cv_header_stdc=no
7366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7372 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7373 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7374 if test $ac_cv_header_stdc = yes; then
7376 cat >>confdefs.h <<\_ACEOF
7377 #define STDC_HEADERS 1
7378 _ACEOF
7382 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7392 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7393 inttypes.h stdint.h unistd.h
7395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7396 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7398 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7399 echo $ECHO_N "(cached) $ECHO_C" >&6
7400 else
7401 cat >conftest.$ac_ext <<_ACEOF
7402 /* confdefs.h. */
7403 _ACEOF
7404 cat confdefs.h >>conftest.$ac_ext
7405 cat >>conftest.$ac_ext <<_ACEOF
7406 /* end confdefs.h. */
7407 $ac_includes_default
7409 #include <$ac_header>
7410 _ACEOF
7411 rm -f conftest.$ac_objext
7412 if { (ac_try="$ac_compile"
7413 case "(($ac_try" in
7414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7415 *) ac_try_echo=$ac_try;;
7416 esac
7417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7418 (eval "$ac_compile") 2>conftest.er1
7419 ac_status=$?
7420 grep -v '^ *+' conftest.er1 >conftest.err
7421 rm -f conftest.er1
7422 cat conftest.err >&5
7423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); } &&
7425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7426 { (case "(($ac_try" in
7427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7428 *) ac_try_echo=$ac_try;;
7429 esac
7430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7431 (eval "$ac_try") 2>&5
7432 ac_status=$?
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); }; } &&
7435 { ac_try='test -s conftest.$ac_objext'
7436 { (case "(($ac_try" in
7437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7438 *) ac_try_echo=$ac_try;;
7439 esac
7440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 (eval "$ac_try") 2>&5
7442 ac_status=$?
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; }; then
7445 eval "$as_ac_Header=yes"
7446 else
7447 echo "$as_me: failed program was:" >&5
7448 sed 's/^/| /' conftest.$ac_ext >&5
7450 eval "$as_ac_Header=no"
7453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7455 ac_res=`eval echo '${'$as_ac_Header'}'`
7456 { echo "$as_me:$LINENO: result: $ac_res" >&5
7457 echo "${ECHO_T}$ac_res" >&6; }
7458 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7459 cat >>confdefs.h <<_ACEOF
7460 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7461 _ACEOF
7465 done
7576 for ac_header in \
7577 AudioUnit/AudioUnit.h \
7578 Carbon/Carbon.h \
7579 CoreAudio/CoreAudio.h \
7580 DiskArbitration/DiskArbitration.h \
7581 IOKit/IOKitLib.h \
7582 alsa/asoundlib.h \
7583 arpa/inet.h \
7584 arpa/nameser.h \
7585 asm/types.h \
7586 capi20.h \
7587 cups/cups.h \
7588 curses.h \
7589 direct.h \
7590 dlfcn.h \
7591 elf.h \
7592 float.h \
7593 fontconfig/fontconfig.h \
7594 getopt.h \
7595 ieeefp.h \
7596 io.h \
7597 jack/jack.h \
7598 jpeglib.h \
7599 lber.h \
7600 lcms.h \
7601 lcms/lcms.h \
7602 ldap.h \
7603 libaudioio.h \
7604 link.h \
7605 linux/cdrom.h \
7606 linux/compiler.h \
7607 linux/hdreg.h \
7608 linux/input.h \
7609 linux/ioctl.h \
7610 linux/joystick.h \
7611 linux/major.h \
7612 linux/param.h \
7613 linux/serial.h \
7614 linux/ucdrom.h \
7615 mach/machine.h \
7616 machine/cpu.h \
7617 machine/limits.h \
7618 machine/soundcard.h \
7619 mntent.h \
7620 ncurses.h \
7621 netdb.h \
7622 netinet/in.h \
7623 netinet/in_systm.h \
7624 netinet/tcp.h \
7625 netinet/tcp_fsm.h \
7626 openssl/err.h \
7627 openssl/ssl.h \
7628 poll.h \
7629 process.h \
7630 pthread.h \
7631 pwd.h \
7632 regex.h \
7633 sched.h \
7634 scsi/scsi.h \
7635 scsi/scsi_ioctl.h \
7636 scsi/sg.h \
7637 soundcard.h \
7638 stdint.h \
7639 strings.h \
7640 sys/asoundlib.h \
7641 sys/cdio.h \
7642 sys/elf32.h \
7643 sys/epoll.h \
7644 sys/errno.h \
7645 sys/event.h \
7646 sys/exec_elf.h \
7647 sys/filio.h \
7648 sys/ioctl.h \
7649 sys/ipc.h \
7650 sys/limits.h \
7651 sys/link.h \
7652 sys/lwp.h \
7653 sys/mman.h \
7654 sys/modem.h \
7655 sys/msg.h \
7656 sys/mtio.h \
7657 sys/param.h \
7658 sys/poll.h \
7659 sys/prctl.h \
7660 sys/ptrace.h \
7661 sys/reg.h \
7662 sys/resource.h \
7663 sys/scsiio.h \
7664 sys/shm.h \
7665 sys/signal.h \
7666 sys/socket.h \
7667 sys/sockio.h \
7668 sys/soundcard.h \
7669 sys/statvfs.h \
7670 sys/strtio.h \
7671 sys/syscall.h \
7672 sys/sysctl.h \
7673 sys/time.h \
7674 sys/times.h \
7675 sys/uio.h \
7676 sys/un.h \
7677 sys/vm86.h \
7678 sys/wait.h \
7679 syscall.h \
7680 termios.h \
7681 unicode/ubidi.h \
7682 unistd.h \
7683 utime.h \
7684 valgrind/memcheck.h
7687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7692 echo $ECHO_N "(cached) $ECHO_C" >&6
7694 ac_res=`eval echo '${'$as_ac_Header'}'`
7695 { echo "$as_me:$LINENO: result: $ac_res" >&5
7696 echo "${ECHO_T}$ac_res" >&6; }
7697 else
7698 # Is the header compilable?
7699 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7701 cat >conftest.$ac_ext <<_ACEOF
7702 /* confdefs.h. */
7703 _ACEOF
7704 cat confdefs.h >>conftest.$ac_ext
7705 cat >>conftest.$ac_ext <<_ACEOF
7706 /* end confdefs.h. */
7707 $ac_includes_default
7708 #include <$ac_header>
7709 _ACEOF
7710 rm -f conftest.$ac_objext
7711 if { (ac_try="$ac_compile"
7712 case "(($ac_try" in
7713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7714 *) ac_try_echo=$ac_try;;
7715 esac
7716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7717 (eval "$ac_compile") 2>conftest.er1
7718 ac_status=$?
7719 grep -v '^ *+' conftest.er1 >conftest.err
7720 rm -f conftest.er1
7721 cat conftest.err >&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); } &&
7724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7725 { (case "(($ac_try" in
7726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7727 *) ac_try_echo=$ac_try;;
7728 esac
7729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7730 (eval "$ac_try") 2>&5
7731 ac_status=$?
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); }; } &&
7734 { ac_try='test -s conftest.$ac_objext'
7735 { (case "(($ac_try" in
7736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7737 *) ac_try_echo=$ac_try;;
7738 esac
7739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7740 (eval "$ac_try") 2>&5
7741 ac_status=$?
7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); }; }; then
7744 ac_header_compiler=yes
7745 else
7746 echo "$as_me: failed program was:" >&5
7747 sed 's/^/| /' conftest.$ac_ext >&5
7749 ac_header_compiler=no
7752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7753 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7754 echo "${ECHO_T}$ac_header_compiler" >&6; }
7756 # Is the header present?
7757 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7759 cat >conftest.$ac_ext <<_ACEOF
7760 /* confdefs.h. */
7761 _ACEOF
7762 cat confdefs.h >>conftest.$ac_ext
7763 cat >>conftest.$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7765 #include <$ac_header>
7766 _ACEOF
7767 if { (ac_try="$ac_cpp conftest.$ac_ext"
7768 case "(($ac_try" in
7769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7770 *) ac_try_echo=$ac_try;;
7771 esac
7772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7774 ac_status=$?
7775 grep -v '^ *+' conftest.er1 >conftest.err
7776 rm -f conftest.er1
7777 cat conftest.err >&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); } >/dev/null; then
7780 if test -s conftest.err; then
7781 ac_cpp_err=$ac_c_preproc_warn_flag
7782 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7783 else
7784 ac_cpp_err=
7786 else
7787 ac_cpp_err=yes
7789 if test -z "$ac_cpp_err"; then
7790 ac_header_preproc=yes
7791 else
7792 echo "$as_me: failed program was:" >&5
7793 sed 's/^/| /' conftest.$ac_ext >&5
7795 ac_header_preproc=no
7798 rm -f conftest.err conftest.$ac_ext
7799 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7800 echo "${ECHO_T}$ac_header_preproc" >&6; }
7802 # So? What about this header?
7803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7804 yes:no: )
7805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7809 ac_header_preproc=yes
7811 no:yes:* )
7812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7824 ( cat <<\_ASBOX
7825 ## ------------------------------------ ##
7826 ## Report this to wine-devel@winehq.org ##
7827 ## ------------------------------------ ##
7828 _ASBOX
7829 ) | sed "s/^/$as_me: WARNING: /" >&2
7831 esac
7832 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7834 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7835 echo $ECHO_N "(cached) $ECHO_C" >&6
7836 else
7837 eval "$as_ac_Header=\$ac_header_preproc"
7839 ac_res=`eval echo '${'$as_ac_Header'}'`
7840 { echo "$as_me:$LINENO: result: $ac_res" >&5
7841 echo "${ECHO_T}$ac_res" >&6; }
7844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7845 cat >>confdefs.h <<_ACEOF
7846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7847 _ACEOF
7851 done
7853 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7854 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7855 if test "${ac_cv_header_stat_broken+set}" = set; then
7856 echo $ECHO_N "(cached) $ECHO_C" >&6
7857 else
7858 cat >conftest.$ac_ext <<_ACEOF
7859 /* confdefs.h. */
7860 _ACEOF
7861 cat confdefs.h >>conftest.$ac_ext
7862 cat >>conftest.$ac_ext <<_ACEOF
7863 /* end confdefs.h. */
7864 #include <sys/types.h>
7865 #include <sys/stat.h>
7867 #if defined S_ISBLK && defined S_IFDIR
7868 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7869 #endif
7871 #if defined S_ISBLK && defined S_IFCHR
7872 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7873 #endif
7875 #if defined S_ISLNK && defined S_IFREG
7876 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7877 #endif
7879 #if defined S_ISSOCK && defined S_IFREG
7880 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7881 #endif
7883 _ACEOF
7884 rm -f conftest.$ac_objext
7885 if { (ac_try="$ac_compile"
7886 case "(($ac_try" in
7887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7888 *) ac_try_echo=$ac_try;;
7889 esac
7890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7891 (eval "$ac_compile") 2>conftest.er1
7892 ac_status=$?
7893 grep -v '^ *+' conftest.er1 >conftest.err
7894 rm -f conftest.er1
7895 cat conftest.err >&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); } &&
7898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7899 { (case "(($ac_try" in
7900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7901 *) ac_try_echo=$ac_try;;
7902 esac
7903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7904 (eval "$ac_try") 2>&5
7905 ac_status=$?
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; } &&
7908 { ac_try='test -s conftest.$ac_objext'
7909 { (case "(($ac_try" in
7910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7911 *) ac_try_echo=$ac_try;;
7912 esac
7913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7914 (eval "$ac_try") 2>&5
7915 ac_status=$?
7916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917 (exit $ac_status); }; }; then
7918 ac_cv_header_stat_broken=no
7919 else
7920 echo "$as_me: failed program was:" >&5
7921 sed 's/^/| /' conftest.$ac_ext >&5
7923 ac_cv_header_stat_broken=yes
7926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7928 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7929 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7930 if test $ac_cv_header_stat_broken = yes; then
7932 cat >>confdefs.h <<\_ACEOF
7933 #define STAT_MACROS_BROKEN 1
7934 _ACEOF
7944 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7946 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7947 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7949 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7950 echo $ECHO_N "(cached) $ECHO_C" >&6
7951 else
7952 cat >conftest.$ac_ext <<_ACEOF
7953 /* confdefs.h. */
7954 _ACEOF
7955 cat confdefs.h >>conftest.$ac_ext
7956 cat >>conftest.$ac_ext <<_ACEOF
7957 /* end confdefs.h. */
7958 #include <sys/types.h>
7959 #if HAVE_SYS_PARAM_H
7960 # include <sys/param.h>
7961 #endif
7963 #include <$ac_header>
7964 _ACEOF
7965 rm -f conftest.$ac_objext
7966 if { (ac_try="$ac_compile"
7967 case "(($ac_try" in
7968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7969 *) ac_try_echo=$ac_try;;
7970 esac
7971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7972 (eval "$ac_compile") 2>conftest.er1
7973 ac_status=$?
7974 grep -v '^ *+' conftest.er1 >conftest.err
7975 rm -f conftest.er1
7976 cat conftest.err >&5
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); } &&
7979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7980 { (case "(($ac_try" in
7981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7982 *) ac_try_echo=$ac_try;;
7983 esac
7984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7985 (eval "$ac_try") 2>&5
7986 ac_status=$?
7987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7988 (exit $ac_status); }; } &&
7989 { ac_try='test -s conftest.$ac_objext'
7990 { (case "(($ac_try" in
7991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7992 *) ac_try_echo=$ac_try;;
7993 esac
7994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7995 (eval "$ac_try") 2>&5
7996 ac_status=$?
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); }; }; then
7999 eval "$as_ac_Header=yes"
8000 else
8001 echo "$as_me: failed program was:" >&5
8002 sed 's/^/| /' conftest.$ac_ext >&5
8004 eval "$as_ac_Header=no"
8007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8009 ac_res=`eval echo '${'$as_ac_Header'}'`
8010 { echo "$as_me:$LINENO: result: $ac_res" >&5
8011 echo "${ECHO_T}$ac_res" >&6; }
8012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8013 cat >>confdefs.h <<_ACEOF
8014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8015 _ACEOF
8019 done
8028 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
8030 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8031 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8033 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8034 echo $ECHO_N "(cached) $ECHO_C" >&6
8035 else
8036 cat >conftest.$ac_ext <<_ACEOF
8037 /* confdefs.h. */
8038 _ACEOF
8039 cat confdefs.h >>conftest.$ac_ext
8040 cat >>conftest.$ac_ext <<_ACEOF
8041 /* end confdefs.h. */
8042 #include <sys/types.h>
8043 #if HAVE_SYS_SOCKET_H
8044 # include <sys/socket.h>
8045 #endif
8047 #include <$ac_header>
8048 _ACEOF
8049 rm -f conftest.$ac_objext
8050 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
8057 ac_status=$?
8058 grep -v '^ *+' conftest.er1 >conftest.err
8059 rm -f conftest.er1
8060 cat conftest.err >&5
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); } &&
8063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8064 { (case "(($ac_try" in
8065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8066 *) ac_try_echo=$ac_try;;
8067 esac
8068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8069 (eval "$ac_try") 2>&5
8070 ac_status=$?
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); }; } &&
8073 { ac_try='test -s conftest.$ac_objext'
8074 { (case "(($ac_try" in
8075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8076 *) ac_try_echo=$ac_try;;
8077 esac
8078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8079 (eval "$ac_try") 2>&5
8080 ac_status=$?
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); }; }; then
8083 eval "$as_ac_Header=yes"
8084 else
8085 echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.$ac_ext >&5
8088 eval "$as_ac_Header=no"
8091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8093 ac_res=`eval echo '${'$as_ac_Header'}'`
8094 { echo "$as_me:$LINENO: result: $ac_res" >&5
8095 echo "${ECHO_T}$ac_res" >&6; }
8096 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8097 cat >>confdefs.h <<_ACEOF
8098 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8099 _ACEOF
8103 done
8107 for ac_header in linux/ipx.h
8109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8110 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8113 echo $ECHO_N "(cached) $ECHO_C" >&6
8114 else
8115 cat >conftest.$ac_ext <<_ACEOF
8116 /* confdefs.h. */
8117 _ACEOF
8118 cat confdefs.h >>conftest.$ac_ext
8119 cat >>conftest.$ac_ext <<_ACEOF
8120 /* end confdefs.h. */
8121 #include <sys/types.h>
8122 #ifdef HAVE_ASM_TYPES_H
8123 # include <asm/types.h>
8124 #endif
8125 #if HAVE_SYS_SOCKET_H
8126 # include <sys/socket.h>
8127 #endif
8129 #include <$ac_header>
8130 _ACEOF
8131 rm -f conftest.$ac_objext
8132 if { (ac_try="$ac_compile"
8133 case "(($ac_try" in
8134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8135 *) ac_try_echo=$ac_try;;
8136 esac
8137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8138 (eval "$ac_compile") 2>conftest.er1
8139 ac_status=$?
8140 grep -v '^ *+' conftest.er1 >conftest.err
8141 rm -f conftest.er1
8142 cat conftest.err >&5
8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8144 (exit $ac_status); } &&
8145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8146 { (case "(($ac_try" in
8147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8148 *) ac_try_echo=$ac_try;;
8149 esac
8150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8151 (eval "$ac_try") 2>&5
8152 ac_status=$?
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); }; } &&
8155 { ac_try='test -s conftest.$ac_objext'
8156 { (case "(($ac_try" in
8157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8158 *) ac_try_echo=$ac_try;;
8159 esac
8160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8161 (eval "$ac_try") 2>&5
8162 ac_status=$?
8163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164 (exit $ac_status); }; }; then
8165 eval "$as_ac_Header=yes"
8166 else
8167 echo "$as_me: failed program was:" >&5
8168 sed 's/^/| /' conftest.$ac_ext >&5
8170 eval "$as_ac_Header=no"
8173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8175 ac_res=`eval echo '${'$as_ac_Header'}'`
8176 { echo "$as_me:$LINENO: result: $ac_res" >&5
8177 echo "${ECHO_T}$ac_res" >&6; }
8178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8179 cat >>confdefs.h <<_ACEOF
8180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8181 _ACEOF
8185 done
8189 for ac_header in resolv.h
8191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8192 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8194 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8195 echo $ECHO_N "(cached) $ECHO_C" >&6
8196 else
8197 cat >conftest.$ac_ext <<_ACEOF
8198 /* confdefs.h. */
8199 _ACEOF
8200 cat confdefs.h >>conftest.$ac_ext
8201 cat >>conftest.$ac_ext <<_ACEOF
8202 /* end confdefs.h. */
8203 #include <sys/types.h>
8204 #if HAVE_SYS_SOCKET_H
8205 # include <sys/socket.h>
8206 #endif
8207 #if HAVE_NETINET_IN_H
8208 # include <netinet/in.h>
8209 #endif
8210 #if HAVE_ARPA_NAMESER_H
8211 # include <arpa/nameser.h>
8212 #endif
8214 #include <$ac_header>
8215 _ACEOF
8216 rm -f conftest.$ac_objext
8217 if { (ac_try="$ac_compile"
8218 case "(($ac_try" in
8219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8220 *) ac_try_echo=$ac_try;;
8221 esac
8222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8223 (eval "$ac_compile") 2>conftest.er1
8224 ac_status=$?
8225 grep -v '^ *+' conftest.er1 >conftest.err
8226 rm -f conftest.er1
8227 cat conftest.err >&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); } &&
8230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8231 { (case "(($ac_try" in
8232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8233 *) ac_try_echo=$ac_try;;
8234 esac
8235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8236 (eval "$ac_try") 2>&5
8237 ac_status=$?
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); }; } &&
8240 { ac_try='test -s conftest.$ac_objext'
8241 { (case "(($ac_try" in
8242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8243 *) ac_try_echo=$ac_try;;
8244 esac
8245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8246 (eval "$ac_try") 2>&5
8247 ac_status=$?
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; }; then
8250 eval "$as_ac_Header=yes"
8251 else
8252 echo "$as_me: failed program was:" >&5
8253 sed 's/^/| /' conftest.$ac_ext >&5
8255 eval "$as_ac_Header=no"
8258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8260 ac_res=`eval echo '${'$as_ac_Header'}'`
8261 { echo "$as_me:$LINENO: result: $ac_res" >&5
8262 echo "${ECHO_T}$ac_res" >&6; }
8263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8264 cat >>confdefs.h <<_ACEOF
8265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8266 _ACEOF
8270 done
8274 for ac_header in ucontext.h
8276 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8277 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8279 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8280 echo $ECHO_N "(cached) $ECHO_C" >&6
8281 else
8282 cat >conftest.$ac_ext <<_ACEOF
8283 /* confdefs.h. */
8284 _ACEOF
8285 cat confdefs.h >>conftest.$ac_ext
8286 cat >>conftest.$ac_ext <<_ACEOF
8287 /* end confdefs.h. */
8288 #include <signal.h>
8290 #include <$ac_header>
8291 _ACEOF
8292 rm -f conftest.$ac_objext
8293 if { (ac_try="$ac_compile"
8294 case "(($ac_try" in
8295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8296 *) ac_try_echo=$ac_try;;
8297 esac
8298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8299 (eval "$ac_compile") 2>conftest.er1
8300 ac_status=$?
8301 grep -v '^ *+' conftest.er1 >conftest.err
8302 rm -f conftest.er1
8303 cat conftest.err >&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); } &&
8306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8307 { (case "(($ac_try" in
8308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8309 *) ac_try_echo=$ac_try;;
8310 esac
8311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8312 (eval "$ac_try") 2>&5
8313 ac_status=$?
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); }; } &&
8316 { ac_try='test -s conftest.$ac_objext'
8317 { (case "(($ac_try" in
8318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8319 *) ac_try_echo=$ac_try;;
8320 esac
8321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8322 (eval "$ac_try") 2>&5
8323 ac_status=$?
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); }; }; then
8326 eval "$as_ac_Header=yes"
8327 else
8328 echo "$as_me: failed program was:" >&5
8329 sed 's/^/| /' conftest.$ac_ext >&5
8331 eval "$as_ac_Header=no"
8334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8336 ac_res=`eval echo '${'$as_ac_Header'}'`
8337 { echo "$as_me:$LINENO: result: $ac_res" >&5
8338 echo "${ECHO_T}$ac_res" >&6; }
8339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8340 cat >>confdefs.h <<_ACEOF
8341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8342 _ACEOF
8346 done
8350 for ac_header in pthread_np.h
8352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8353 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8355 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8357 else
8358 cat >conftest.$ac_ext <<_ACEOF
8359 /* confdefs.h. */
8360 _ACEOF
8361 cat confdefs.h >>conftest.$ac_ext
8362 cat >>conftest.$ac_ext <<_ACEOF
8363 /* end confdefs.h. */
8364 #ifdef HAVE_PTHREAD_H
8365 #include <pthread.h>
8366 #endif
8368 #include <$ac_header>
8369 _ACEOF
8370 rm -f conftest.$ac_objext
8371 if { (ac_try="$ac_compile"
8372 case "(($ac_try" in
8373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8374 *) ac_try_echo=$ac_try;;
8375 esac
8376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8377 (eval "$ac_compile") 2>conftest.er1
8378 ac_status=$?
8379 grep -v '^ *+' conftest.er1 >conftest.err
8380 rm -f conftest.er1
8381 cat conftest.err >&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); } &&
8384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8385 { (case "(($ac_try" in
8386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8387 *) ac_try_echo=$ac_try;;
8388 esac
8389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8390 (eval "$ac_try") 2>&5
8391 ac_status=$?
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); }; } &&
8394 { ac_try='test -s conftest.$ac_objext'
8395 { (case "(($ac_try" in
8396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8397 *) ac_try_echo=$ac_try;;
8398 esac
8399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8400 (eval "$ac_try") 2>&5
8401 ac_status=$?
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); }; }; then
8404 eval "$as_ac_Header=yes"
8405 else
8406 echo "$as_me: failed program was:" >&5
8407 sed 's/^/| /' conftest.$ac_ext >&5
8409 eval "$as_ac_Header=no"
8412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8414 ac_res=`eval echo '${'$as_ac_Header'}'`
8415 { echo "$as_me:$LINENO: result: $ac_res" >&5
8416 echo "${ECHO_T}$ac_res" >&6; }
8417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8418 cat >>confdefs.h <<_ACEOF
8419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8420 _ACEOF
8424 done
8428 for ac_header in linux/videodev.h
8430 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8431 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8433 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8434 echo $ECHO_N "(cached) $ECHO_C" >&6
8435 else
8436 cat >conftest.$ac_ext <<_ACEOF
8437 /* confdefs.h. */
8438 _ACEOF
8439 cat confdefs.h >>conftest.$ac_ext
8440 cat >>conftest.$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8442 #ifdef HAVE_SYS_TIME_H
8443 #include <sys/time.h>
8444 #endif
8445 #include <sys/types.h>
8446 #ifdef HAVE_ASM_TYPES_H
8447 #include <asm/types.h>
8448 #endif
8450 #include <$ac_header>
8451 _ACEOF
8452 rm -f conftest.$ac_objext
8453 if { (ac_try="$ac_compile"
8454 case "(($ac_try" in
8455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8456 *) ac_try_echo=$ac_try;;
8457 esac
8458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8459 (eval "$ac_compile") 2>conftest.er1
8460 ac_status=$?
8461 grep -v '^ *+' conftest.er1 >conftest.err
8462 rm -f conftest.er1
8463 cat conftest.err >&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); } &&
8466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8467 { (case "(($ac_try" in
8468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8469 *) ac_try_echo=$ac_try;;
8470 esac
8471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8472 (eval "$ac_try") 2>&5
8473 ac_status=$?
8474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8475 (exit $ac_status); }; } &&
8476 { ac_try='test -s conftest.$ac_objext'
8477 { (case "(($ac_try" in
8478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8479 *) ac_try_echo=$ac_try;;
8480 esac
8481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8482 (eval "$ac_try") 2>&5
8483 ac_status=$?
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); }; }; then
8486 eval "$as_ac_Header=yes"
8487 else
8488 echo "$as_me: failed program was:" >&5
8489 sed 's/^/| /' conftest.$ac_ext >&5
8491 eval "$as_ac_Header=no"
8494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8496 ac_res=`eval echo '${'$as_ac_Header'}'`
8497 { echo "$as_me:$LINENO: result: $ac_res" >&5
8498 echo "${ECHO_T}$ac_res" >&6; }
8499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8500 cat >>confdefs.h <<_ACEOF
8501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8502 _ACEOF
8506 done
8510 for ac_header in linux/capi.h
8512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8513 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8516 echo $ECHO_N "(cached) $ECHO_C" >&6
8517 else
8518 cat >conftest.$ac_ext <<_ACEOF
8519 /* confdefs.h. */
8520 _ACEOF
8521 cat confdefs.h >>conftest.$ac_ext
8522 cat >>conftest.$ac_ext <<_ACEOF
8523 /* end confdefs.h. */
8524 #define __user
8526 #include <$ac_header>
8527 _ACEOF
8528 rm -f conftest.$ac_objext
8529 if { (ac_try="$ac_compile"
8530 case "(($ac_try" in
8531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8532 *) ac_try_echo=$ac_try;;
8533 esac
8534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8535 (eval "$ac_compile") 2>conftest.er1
8536 ac_status=$?
8537 grep -v '^ *+' conftest.er1 >conftest.err
8538 rm -f conftest.er1
8539 cat conftest.err >&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); } &&
8542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8543 { (case "(($ac_try" in
8544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8545 *) ac_try_echo=$ac_try;;
8546 esac
8547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8548 (eval "$ac_try") 2>&5
8549 ac_status=$?
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); }; } &&
8552 { ac_try='test -s conftest.$ac_objext'
8553 { (case "(($ac_try" in
8554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8555 *) ac_try_echo=$ac_try;;
8556 esac
8557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8558 (eval "$ac_try") 2>&5
8559 ac_status=$?
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); }; }; then
8562 eval "$as_ac_Header=yes"
8563 else
8564 echo "$as_me: failed program was:" >&5
8565 sed 's/^/| /' conftest.$ac_ext >&5
8567 eval "$as_ac_Header=no"
8570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8572 ac_res=`eval echo '${'$as_ac_Header'}'`
8573 { echo "$as_me:$LINENO: result: $ac_res" >&5
8574 echo "${ECHO_T}$ac_res" >&6; }
8575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8576 cat >>confdefs.h <<_ACEOF
8577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8578 _ACEOF
8582 done
8586 if test "$have_x" = "yes"
8587 then
8588 XLIB="-lXext -lX11"
8589 ac_save_CPPFLAGS="$CPPFLAGS"
8590 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8602 for ac_header in X11/Xlib.h \
8603 X11/XKBlib.h \
8604 X11/Xutil.h \
8605 X11/extensions/shape.h \
8606 X11/extensions/XInput.h \
8607 X11/extensions/XShm.h \
8608 X11/extensions/Xinerama.h \
8609 X11/extensions/Xrandr.h \
8610 X11/extensions/Xrender.h \
8611 X11/extensions/xf86vmode.h
8613 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8617 echo $ECHO_N "(cached) $ECHO_C" >&6
8618 else
8619 cat >conftest.$ac_ext <<_ACEOF
8620 /* confdefs.h. */
8621 _ACEOF
8622 cat confdefs.h >>conftest.$ac_ext
8623 cat >>conftest.$ac_ext <<_ACEOF
8624 /* end confdefs.h. */
8625 #ifdef HAVE_X11_XLIB_H
8626 # include <X11/Xlib.h>
8627 #endif
8628 #ifdef HAVE_X11_XUTIL_H
8629 # include <X11/Xutil.h>
8630 #endif
8632 #include <$ac_header>
8633 _ACEOF
8634 rm -f conftest.$ac_objext
8635 if { (ac_try="$ac_compile"
8636 case "(($ac_try" in
8637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8638 *) ac_try_echo=$ac_try;;
8639 esac
8640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8641 (eval "$ac_compile") 2>conftest.er1
8642 ac_status=$?
8643 grep -v '^ *+' conftest.er1 >conftest.err
8644 rm -f conftest.er1
8645 cat conftest.err >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } &&
8648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8649 { (case "(($ac_try" in
8650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8651 *) ac_try_echo=$ac_try;;
8652 esac
8653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8654 (eval "$ac_try") 2>&5
8655 ac_status=$?
8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); }; } &&
8658 { ac_try='test -s conftest.$ac_objext'
8659 { (case "(($ac_try" in
8660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8661 *) ac_try_echo=$ac_try;;
8662 esac
8663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8664 (eval "$ac_try") 2>&5
8665 ac_status=$?
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); }; }; then
8668 eval "$as_ac_Header=yes"
8669 else
8670 echo "$as_me: failed program was:" >&5
8671 sed 's/^/| /' conftest.$ac_ext >&5
8673 eval "$as_ac_Header=no"
8676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8678 ac_res=`eval echo '${'$as_ac_Header'}'`
8679 { echo "$as_me:$LINENO: result: $ac_res" >&5
8680 echo "${ECHO_T}$ac_res" >&6; }
8681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8682 cat >>confdefs.h <<_ACEOF
8683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8684 _ACEOF
8688 done
8691 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8692 then
8693 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8694 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8695 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8696 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 else
8698 ac_check_lib_save_LIBS=$LIBS
8699 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8700 cat >conftest.$ac_ext <<_ACEOF
8701 /* confdefs.h. */
8702 _ACEOF
8703 cat confdefs.h >>conftest.$ac_ext
8704 cat >>conftest.$ac_ext <<_ACEOF
8705 /* end confdefs.h. */
8707 /* Override any GCC internal prototype to avoid an error.
8708 Use char because int might match the return type of a GCC
8709 builtin and then its argument prototype would still apply. */
8710 #ifdef __cplusplus
8711 extern "C"
8712 #endif
8713 char XkbQueryExtension ();
8715 main ()
8717 return XkbQueryExtension ();
8719 return 0;
8721 _ACEOF
8722 rm -f conftest.$ac_objext conftest$ac_exeext
8723 if { (ac_try="$ac_link"
8724 case "(($ac_try" in
8725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8726 *) ac_try_echo=$ac_try;;
8727 esac
8728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8729 (eval "$ac_link") 2>conftest.er1
8730 ac_status=$?
8731 grep -v '^ *+' conftest.er1 >conftest.err
8732 rm -f conftest.er1
8733 cat conftest.err >&5
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 (exit $ac_status); } &&
8736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8737 { (case "(($ac_try" in
8738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8739 *) ac_try_echo=$ac_try;;
8740 esac
8741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8742 (eval "$ac_try") 2>&5
8743 ac_status=$?
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); }; } &&
8746 { ac_try='test -s conftest$ac_exeext'
8747 { (case "(($ac_try" in
8748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8749 *) ac_try_echo=$ac_try;;
8750 esac
8751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8752 (eval "$ac_try") 2>&5
8753 ac_status=$?
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); }; }; then
8756 ac_cv_lib_X11_XkbQueryExtension=yes
8757 else
8758 echo "$as_me: failed program was:" >&5
8759 sed 's/^/| /' conftest.$ac_ext >&5
8761 ac_cv_lib_X11_XkbQueryExtension=no
8764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8765 conftest$ac_exeext conftest.$ac_ext
8766 LIBS=$ac_check_lib_save_LIBS
8768 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8769 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8770 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8772 cat >>confdefs.h <<\_ACEOF
8773 #define HAVE_XKB 1
8774 _ACEOF
8780 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8781 then
8782 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8783 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8784 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8785 echo $ECHO_N "(cached) $ECHO_C" >&6
8786 else
8787 ac_check_lib_save_LIBS=$LIBS
8788 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8789 cat >conftest.$ac_ext <<_ACEOF
8790 /* confdefs.h. */
8791 _ACEOF
8792 cat confdefs.h >>conftest.$ac_ext
8793 cat >>conftest.$ac_ext <<_ACEOF
8794 /* end confdefs.h. */
8796 /* Override any GCC internal prototype to avoid an error.
8797 Use char because int might match the return type of a GCC
8798 builtin and then its argument prototype would still apply. */
8799 #ifdef __cplusplus
8800 extern "C"
8801 #endif
8802 char XShmQueryExtension ();
8804 main ()
8806 return XShmQueryExtension ();
8808 return 0;
8810 _ACEOF
8811 rm -f conftest.$ac_objext conftest$ac_exeext
8812 if { (ac_try="$ac_link"
8813 case "(($ac_try" in
8814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8815 *) ac_try_echo=$ac_try;;
8816 esac
8817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8818 (eval "$ac_link") 2>conftest.er1
8819 ac_status=$?
8820 grep -v '^ *+' conftest.er1 >conftest.err
8821 rm -f conftest.er1
8822 cat conftest.err >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); } &&
8825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8826 { (case "(($ac_try" in
8827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8828 *) ac_try_echo=$ac_try;;
8829 esac
8830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8831 (eval "$ac_try") 2>&5
8832 ac_status=$?
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); }; } &&
8835 { ac_try='test -s conftest$ac_exeext'
8836 { (case "(($ac_try" in
8837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8838 *) ac_try_echo=$ac_try;;
8839 esac
8840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8841 (eval "$ac_try") 2>&5
8842 ac_status=$?
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 (exit $ac_status); }; }; then
8845 ac_cv_lib_Xext_XShmQueryExtension=yes
8846 else
8847 echo "$as_me: failed program was:" >&5
8848 sed 's/^/| /' conftest.$ac_ext >&5
8850 ac_cv_lib_Xext_XShmQueryExtension=no
8853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8854 conftest$ac_exeext conftest.$ac_ext
8855 LIBS=$ac_check_lib_save_LIBS
8857 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8858 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8859 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8861 cat >>confdefs.h <<\_ACEOF
8862 #define HAVE_LIBXXSHM 1
8863 _ACEOF
8869 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8870 then
8871 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8872 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8873 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8874 echo $ECHO_N "(cached) $ECHO_C" >&6
8875 else
8876 ac_check_lib_save_LIBS=$LIBS
8877 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8878 cat >conftest.$ac_ext <<_ACEOF
8879 /* confdefs.h. */
8880 _ACEOF
8881 cat confdefs.h >>conftest.$ac_ext
8882 cat >>conftest.$ac_ext <<_ACEOF
8883 /* end confdefs.h. */
8885 /* Override any GCC internal prototype to avoid an error.
8886 Use char because int might match the return type of a GCC
8887 builtin and then its argument prototype would still apply. */
8888 #ifdef __cplusplus
8889 extern "C"
8890 #endif
8891 char XShapeQueryExtension ();
8893 main ()
8895 return XShapeQueryExtension ();
8897 return 0;
8899 _ACEOF
8900 rm -f conftest.$ac_objext conftest$ac_exeext
8901 if { (ac_try="$ac_link"
8902 case "(($ac_try" in
8903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8904 *) ac_try_echo=$ac_try;;
8905 esac
8906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8907 (eval "$ac_link") 2>conftest.er1
8908 ac_status=$?
8909 grep -v '^ *+' conftest.er1 >conftest.err
8910 rm -f conftest.er1
8911 cat conftest.err >&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); } &&
8914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8915 { (case "(($ac_try" in
8916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8917 *) ac_try_echo=$ac_try;;
8918 esac
8919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8920 (eval "$ac_try") 2>&5
8921 ac_status=$?
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; } &&
8924 { ac_try='test -s conftest$ac_exeext'
8925 { (case "(($ac_try" in
8926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8927 *) ac_try_echo=$ac_try;;
8928 esac
8929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8930 (eval "$ac_try") 2>&5
8931 ac_status=$?
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); }; }; then
8934 ac_cv_lib_Xext_XShapeQueryExtension=yes
8935 else
8936 echo "$as_me: failed program was:" >&5
8937 sed 's/^/| /' conftest.$ac_ext >&5
8939 ac_cv_lib_Xext_XShapeQueryExtension=no
8942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8943 conftest$ac_exeext conftest.$ac_ext
8944 LIBS=$ac_check_lib_save_LIBS
8946 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8947 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8948 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8950 cat >>confdefs.h <<\_ACEOF
8951 #define HAVE_LIBXSHAPE 1
8952 _ACEOF
8958 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8959 then
8960 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8961 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8962 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8963 echo $ECHO_N "(cached) $ECHO_C" >&6
8964 else
8965 ac_check_lib_save_LIBS=$LIBS
8966 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8967 cat >conftest.$ac_ext <<_ACEOF
8968 /* confdefs.h. */
8969 _ACEOF
8970 cat confdefs.h >>conftest.$ac_ext
8971 cat >>conftest.$ac_ext <<_ACEOF
8972 /* end confdefs.h. */
8974 /* Override any GCC internal prototype to avoid an error.
8975 Use char because int might match the return type of a GCC
8976 builtin and then its argument prototype would still apply. */
8977 #ifdef __cplusplus
8978 extern "C"
8979 #endif
8980 char XF86VidModeQueryExtension ();
8982 main ()
8984 return XF86VidModeQueryExtension ();
8986 return 0;
8988 _ACEOF
8989 rm -f conftest.$ac_objext conftest$ac_exeext
8990 if { (ac_try="$ac_link"
8991 case "(($ac_try" in
8992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8993 *) ac_try_echo=$ac_try;;
8994 esac
8995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8996 (eval "$ac_link") 2>conftest.er1
8997 ac_status=$?
8998 grep -v '^ *+' conftest.er1 >conftest.err
8999 rm -f conftest.er1
9000 cat conftest.err >&5
9001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9002 (exit $ac_status); } &&
9003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9004 { (case "(($ac_try" in
9005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9006 *) ac_try_echo=$ac_try;;
9007 esac
9008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9009 (eval "$ac_try") 2>&5
9010 ac_status=$?
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); }; } &&
9013 { ac_try='test -s conftest$ac_exeext'
9014 { (case "(($ac_try" in
9015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9016 *) ac_try_echo=$ac_try;;
9017 esac
9018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9019 (eval "$ac_try") 2>&5
9020 ac_status=$?
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 (exit $ac_status); }; }; then
9023 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9024 else
9025 echo "$as_me: failed program was:" >&5
9026 sed 's/^/| /' conftest.$ac_ext >&5
9028 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9032 conftest$ac_exeext conftest.$ac_ext
9033 LIBS=$ac_check_lib_save_LIBS
9035 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9036 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9037 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9039 cat >>confdefs.h <<\_ACEOF
9040 #define HAVE_LIBXXF86VM 1
9041 _ACEOF
9043 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9049 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9050 then
9051 cat >conftest.$ac_ext <<_ACEOF
9052 /* confdefs.h. */
9053 _ACEOF
9054 cat confdefs.h >>conftest.$ac_ext
9055 cat >>conftest.$ac_ext <<_ACEOF
9056 /* end confdefs.h. */
9057 #include <X11/Xlib.h>
9058 #include <X11/extensions/Xrandr.h>
9060 main ()
9062 static typeof(XRRSetScreenConfigAndRate) * func;
9064 return 0;
9066 _ACEOF
9067 rm -f conftest.$ac_objext
9068 if { (ac_try="$ac_compile"
9069 case "(($ac_try" in
9070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9071 *) ac_try_echo=$ac_try;;
9072 esac
9073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9074 (eval "$ac_compile") 2>conftest.er1
9075 ac_status=$?
9076 grep -v '^ *+' conftest.er1 >conftest.err
9077 rm -f conftest.er1
9078 cat conftest.err >&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); } &&
9081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9082 { (case "(($ac_try" in
9083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9084 *) ac_try_echo=$ac_try;;
9085 esac
9086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9087 (eval "$ac_try") 2>&5
9088 ac_status=$?
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 (exit $ac_status); }; } &&
9091 { ac_try='test -s conftest.$ac_objext'
9092 { (case "(($ac_try" in
9093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9094 *) ac_try_echo=$ac_try;;
9095 esac
9096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9097 (eval "$ac_try") 2>&5
9098 ac_status=$?
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); }; }; then
9102 cat >>confdefs.h <<\_ACEOF
9103 #define HAVE_LIBXRANDR 1
9104 _ACEOF
9106 else
9107 echo "$as_me: failed program was:" >&5
9108 sed 's/^/| /' conftest.$ac_ext >&5
9113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9116 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9117 then
9118 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9119 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9120 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9121 echo $ECHO_N "(cached) $ECHO_C" >&6
9122 else
9123 ac_check_lib_save_LIBS=$LIBS
9124 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9125 cat >conftest.$ac_ext <<_ACEOF
9126 /* confdefs.h. */
9127 _ACEOF
9128 cat confdefs.h >>conftest.$ac_ext
9129 cat >>conftest.$ac_ext <<_ACEOF
9130 /* end confdefs.h. */
9132 /* Override any GCC internal prototype to avoid an error.
9133 Use char because int might match the return type of a GCC
9134 builtin and then its argument prototype would still apply. */
9135 #ifdef __cplusplus
9136 extern "C"
9137 #endif
9138 char XRenderSetPictureTransform ();
9140 main ()
9142 return XRenderSetPictureTransform ();
9144 return 0;
9146 _ACEOF
9147 rm -f conftest.$ac_objext conftest$ac_exeext
9148 if { (ac_try="$ac_link"
9149 case "(($ac_try" in
9150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9151 *) ac_try_echo=$ac_try;;
9152 esac
9153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9154 (eval "$ac_link") 2>conftest.er1
9155 ac_status=$?
9156 grep -v '^ *+' conftest.er1 >conftest.err
9157 rm -f conftest.er1
9158 cat conftest.err >&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); } &&
9161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9162 { (case "(($ac_try" in
9163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9164 *) ac_try_echo=$ac_try;;
9165 esac
9166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9167 (eval "$ac_try") 2>&5
9168 ac_status=$?
9169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170 (exit $ac_status); }; } &&
9171 { ac_try='test -s conftest$ac_exeext'
9172 { (case "(($ac_try" in
9173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9174 *) ac_try_echo=$ac_try;;
9175 esac
9176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9177 (eval "$ac_try") 2>&5
9178 ac_status=$?
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 (exit $ac_status); }; }; then
9181 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9182 else
9183 echo "$as_me: failed program was:" >&5
9184 sed 's/^/| /' conftest.$ac_ext >&5
9186 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9190 conftest$ac_exeext conftest.$ac_ext
9191 LIBS=$ac_check_lib_save_LIBS
9193 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9194 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9195 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9197 cat >>confdefs.h <<\_ACEOF
9198 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9199 _ACEOF
9205 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9206 then
9207 cat >conftest.$ac_ext <<_ACEOF
9208 /* confdefs.h. */
9209 _ACEOF
9210 cat confdefs.h >>conftest.$ac_ext
9211 cat >>conftest.$ac_ext <<_ACEOF
9212 /* end confdefs.h. */
9213 #include <X11/Xlib.h>
9214 #include <X11/extensions/Xinerama.h>
9216 main ()
9218 static typeof(XineramaQueryScreens) * func;
9220 return 0;
9222 _ACEOF
9223 rm -f conftest.$ac_objext
9224 if { (ac_try="$ac_compile"
9225 case "(($ac_try" in
9226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9227 *) ac_try_echo=$ac_try;;
9228 esac
9229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9230 (eval "$ac_compile") 2>conftest.er1
9231 ac_status=$?
9232 grep -v '^ *+' conftest.er1 >conftest.err
9233 rm -f conftest.er1
9234 cat conftest.err >&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); } &&
9237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9238 { (case "(($ac_try" in
9239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9240 *) ac_try_echo=$ac_try;;
9241 esac
9242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9243 (eval "$ac_try") 2>&5
9244 ac_status=$?
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 (exit $ac_status); }; } &&
9247 { ac_try='test -s conftest.$ac_objext'
9248 { (case "(($ac_try" in
9249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9250 *) ac_try_echo=$ac_try;;
9251 esac
9252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9253 (eval "$ac_try") 2>&5
9254 ac_status=$?
9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256 (exit $ac_status); }; }; then
9258 cat >>confdefs.h <<\_ACEOF
9259 #define HAVE_LIBXINERAMA 1
9260 _ACEOF
9262 else
9263 echo "$as_me: failed program was:" >&5
9264 sed 's/^/| /' conftest.$ac_ext >&5
9269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9273 if test "x$with_opengl" != "xno"
9274 then
9279 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9285 echo $ECHO_N "(cached) $ECHO_C" >&6
9286 else
9287 cat >conftest.$ac_ext <<_ACEOF
9288 /* confdefs.h. */
9289 _ACEOF
9290 cat confdefs.h >>conftest.$ac_ext
9291 cat >>conftest.$ac_ext <<_ACEOF
9292 /* end confdefs.h. */
9293 #ifdef HAVE_GL_GLX_H
9294 # include <GL/glx.h>
9295 #endif
9297 #include <$ac_header>
9298 _ACEOF
9299 rm -f conftest.$ac_objext
9300 if { (ac_try="$ac_compile"
9301 case "(($ac_try" in
9302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9303 *) ac_try_echo=$ac_try;;
9304 esac
9305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9306 (eval "$ac_compile") 2>conftest.er1
9307 ac_status=$?
9308 grep -v '^ *+' conftest.er1 >conftest.err
9309 rm -f conftest.er1
9310 cat conftest.err >&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } &&
9313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9314 { (case "(($ac_try" in
9315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9316 *) ac_try_echo=$ac_try;;
9317 esac
9318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9319 (eval "$ac_try") 2>&5
9320 ac_status=$?
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); }; } &&
9323 { ac_try='test -s conftest.$ac_objext'
9324 { (case "(($ac_try" in
9325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9326 *) ac_try_echo=$ac_try;;
9327 esac
9328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9329 (eval "$ac_try") 2>&5
9330 ac_status=$?
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; }; then
9333 eval "$as_ac_Header=yes"
9334 else
9335 echo "$as_me: failed program was:" >&5
9336 sed 's/^/| /' conftest.$ac_ext >&5
9338 eval "$as_ac_Header=no"
9341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9343 ac_res=`eval echo '${'$as_ac_Header'}'`
9344 { echo "$as_me:$LINENO: result: $ac_res" >&5
9345 echo "${ECHO_T}$ac_res" >&6; }
9346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9347 cat >>confdefs.h <<_ACEOF
9348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9349 _ACEOF
9353 done
9355 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9356 then
9357 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9358 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9359 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9360 echo $ECHO_N "(cached) $ECHO_C" >&6
9361 else
9362 cat >conftest.$ac_ext <<_ACEOF
9363 /* confdefs.h. */
9364 _ACEOF
9365 cat confdefs.h >>conftest.$ac_ext
9366 cat >>conftest.$ac_ext <<_ACEOF
9367 /* end confdefs.h. */
9368 #include <GL/gl.h>
9370 main ()
9372 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9374 return 0;
9376 _ACEOF
9377 rm -f conftest.$ac_objext
9378 if { (ac_try="$ac_compile"
9379 case "(($ac_try" in
9380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9381 *) ac_try_echo=$ac_try;;
9382 esac
9383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9384 (eval "$ac_compile") 2>conftest.er1
9385 ac_status=$?
9386 grep -v '^ *+' conftest.er1 >conftest.err
9387 rm -f conftest.er1
9388 cat conftest.err >&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); } &&
9391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9392 { (case "(($ac_try" in
9393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9394 *) ac_try_echo=$ac_try;;
9395 esac
9396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9397 (eval "$ac_try") 2>&5
9398 ac_status=$?
9399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400 (exit $ac_status); }; } &&
9401 { ac_try='test -s conftest.$ac_objext'
9402 { (case "(($ac_try" in
9403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9404 *) ac_try_echo=$ac_try;;
9405 esac
9406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9407 (eval "$ac_try") 2>&5
9408 ac_status=$?
9409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410 (exit $ac_status); }; }; then
9411 wine_cv_opengl_header_version_OK="yes"
9412 else
9413 echo "$as_me: failed program was:" >&5
9414 sed 's/^/| /' conftest.$ac_ext >&5
9416 wine_cv_opengl_header_version_OK="no"
9420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9423 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9424 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9426 if test "$wine_cv_opengl_header_version_OK" = "yes"
9427 then
9428 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9429 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9430 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 else
9433 ac_check_lib_save_LIBS=$LIBS
9434 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9435 cat >conftest.$ac_ext <<_ACEOF
9436 /* confdefs.h. */
9437 _ACEOF
9438 cat confdefs.h >>conftest.$ac_ext
9439 cat >>conftest.$ac_ext <<_ACEOF
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9445 #ifdef __cplusplus
9446 extern "C"
9447 #endif
9448 char glXCreateContext ();
9450 main ()
9452 return glXCreateContext ();
9454 return 0;
9456 _ACEOF
9457 rm -f conftest.$ac_objext conftest$ac_exeext
9458 if { (ac_try="$ac_link"
9459 case "(($ac_try" in
9460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9461 *) ac_try_echo=$ac_try;;
9462 esac
9463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9464 (eval "$ac_link") 2>conftest.er1
9465 ac_status=$?
9466 grep -v '^ *+' conftest.er1 >conftest.err
9467 rm -f conftest.er1
9468 cat conftest.err >&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); } &&
9471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9472 { (case "(($ac_try" in
9473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9474 *) ac_try_echo=$ac_try;;
9475 esac
9476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9477 (eval "$ac_try") 2>&5
9478 ac_status=$?
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; } &&
9481 { ac_try='test -s conftest$ac_exeext'
9482 { (case "(($ac_try" in
9483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9484 *) ac_try_echo=$ac_try;;
9485 esac
9486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9487 (eval "$ac_try") 2>&5
9488 ac_status=$?
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); }; }; then
9491 ac_cv_lib_GL_glXCreateContext=yes
9492 else
9493 echo "$as_me: failed program was:" >&5
9494 sed 's/^/| /' conftest.$ac_ext >&5
9496 ac_cv_lib_GL_glXCreateContext=no
9499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9500 conftest$ac_exeext conftest.$ac_ext
9501 LIBS=$ac_check_lib_save_LIBS
9503 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9504 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9505 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9506 OPENGL_LIBS="-lGL"
9507 OPENGLFILES='$(OPENGLFILES)'
9509 cat >>confdefs.h <<\_ACEOF
9510 #define HAVE_OPENGL 1
9511 _ACEOF
9517 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9518 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9519 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9520 echo $ECHO_N "(cached) $ECHO_C" >&6
9521 else
9522 ac_check_lib_save_LIBS=$LIBS
9523 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9524 $LIBS"
9525 cat >conftest.$ac_ext <<_ACEOF
9526 /* confdefs.h. */
9527 _ACEOF
9528 cat confdefs.h >>conftest.$ac_ext
9529 cat >>conftest.$ac_ext <<_ACEOF
9530 /* end confdefs.h. */
9532 /* Override any GCC internal prototype to avoid an error.
9533 Use char because int might match the return type of a GCC
9534 builtin and then its argument prototype would still apply. */
9535 #ifdef __cplusplus
9536 extern "C"
9537 #endif
9538 char gluLookAt ();
9540 main ()
9542 return gluLookAt ();
9544 return 0;
9546 _ACEOF
9547 rm -f conftest.$ac_objext conftest$ac_exeext
9548 if { (ac_try="$ac_link"
9549 case "(($ac_try" in
9550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9551 *) ac_try_echo=$ac_try;;
9552 esac
9553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9554 (eval "$ac_link") 2>conftest.er1
9555 ac_status=$?
9556 grep -v '^ *+' conftest.er1 >conftest.err
9557 rm -f conftest.er1
9558 cat conftest.err >&5
9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 (exit $ac_status); } &&
9561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9562 { (case "(($ac_try" in
9563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9564 *) ac_try_echo=$ac_try;;
9565 esac
9566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9567 (eval "$ac_try") 2>&5
9568 ac_status=$?
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); }; } &&
9571 { ac_try='test -s conftest$ac_exeext'
9572 { (case "(($ac_try" in
9573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9574 *) ac_try_echo=$ac_try;;
9575 esac
9576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9577 (eval "$ac_try") 2>&5
9578 ac_status=$?
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); }; }; then
9581 ac_cv_lib_GLU_gluLookAt=yes
9582 else
9583 echo "$as_me: failed program was:" >&5
9584 sed 's/^/| /' conftest.$ac_ext >&5
9586 ac_cv_lib_GLU_gluLookAt=no
9589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9590 conftest$ac_exeext conftest.$ac_ext
9591 LIBS=$ac_check_lib_save_LIBS
9593 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9594 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9595 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9596 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9597 GLU32FILES='$(GLU32FILES)'
9602 else
9603 wine_cv_opengl_headers_found="no"
9606 NASLIBS=""
9609 for ac_header in audio/audiolib.h
9611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9616 echo $ECHO_N "(cached) $ECHO_C" >&6
9618 ac_res=`eval echo '${'$as_ac_Header'}'`
9619 { echo "$as_me:$LINENO: result: $ac_res" >&5
9620 echo "${ECHO_T}$ac_res" >&6; }
9621 else
9622 # Is the header compilable?
9623 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9625 cat >conftest.$ac_ext <<_ACEOF
9626 /* confdefs.h. */
9627 _ACEOF
9628 cat confdefs.h >>conftest.$ac_ext
9629 cat >>conftest.$ac_ext <<_ACEOF
9630 /* end confdefs.h. */
9631 $ac_includes_default
9632 #include <$ac_header>
9633 _ACEOF
9634 rm -f conftest.$ac_objext
9635 if { (ac_try="$ac_compile"
9636 case "(($ac_try" in
9637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9638 *) ac_try_echo=$ac_try;;
9639 esac
9640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9641 (eval "$ac_compile") 2>conftest.er1
9642 ac_status=$?
9643 grep -v '^ *+' conftest.er1 >conftest.err
9644 rm -f conftest.er1
9645 cat conftest.err >&5
9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647 (exit $ac_status); } &&
9648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9649 { (case "(($ac_try" in
9650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9651 *) ac_try_echo=$ac_try;;
9652 esac
9653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9654 (eval "$ac_try") 2>&5
9655 ac_status=$?
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); }; } &&
9658 { ac_try='test -s conftest.$ac_objext'
9659 { (case "(($ac_try" in
9660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9661 *) ac_try_echo=$ac_try;;
9662 esac
9663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9664 (eval "$ac_try") 2>&5
9665 ac_status=$?
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); }; }; then
9668 ac_header_compiler=yes
9669 else
9670 echo "$as_me: failed program was:" >&5
9671 sed 's/^/| /' conftest.$ac_ext >&5
9673 ac_header_compiler=no
9676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9677 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9678 echo "${ECHO_T}$ac_header_compiler" >&6; }
9680 # Is the header present?
9681 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9682 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9683 cat >conftest.$ac_ext <<_ACEOF
9684 /* confdefs.h. */
9685 _ACEOF
9686 cat confdefs.h >>conftest.$ac_ext
9687 cat >>conftest.$ac_ext <<_ACEOF
9688 /* end confdefs.h. */
9689 #include <$ac_header>
9690 _ACEOF
9691 if { (ac_try="$ac_cpp conftest.$ac_ext"
9692 case "(($ac_try" in
9693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9694 *) ac_try_echo=$ac_try;;
9695 esac
9696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9698 ac_status=$?
9699 grep -v '^ *+' conftest.er1 >conftest.err
9700 rm -f conftest.er1
9701 cat conftest.err >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); } >/dev/null; then
9704 if test -s conftest.err; then
9705 ac_cpp_err=$ac_c_preproc_warn_flag
9706 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9707 else
9708 ac_cpp_err=
9710 else
9711 ac_cpp_err=yes
9713 if test -z "$ac_cpp_err"; then
9714 ac_header_preproc=yes
9715 else
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.$ac_ext >&5
9719 ac_header_preproc=no
9722 rm -f conftest.err conftest.$ac_ext
9723 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9724 echo "${ECHO_T}$ac_header_preproc" >&6; }
9726 # So? What about this header?
9727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9728 yes:no: )
9729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9733 ac_header_preproc=yes
9735 no:yes:* )
9736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9748 ( cat <<\_ASBOX
9749 ## ------------------------------------ ##
9750 ## Report this to wine-devel@winehq.org ##
9751 ## ------------------------------------ ##
9752 _ASBOX
9753 ) | sed "s/^/$as_me: WARNING: /" >&2
9755 esac
9756 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9759 echo $ECHO_N "(cached) $ECHO_C" >&6
9760 else
9761 eval "$as_ac_Header=\$ac_header_preproc"
9763 ac_res=`eval echo '${'$as_ac_Header'}'`
9764 { echo "$as_me:$LINENO: result: $ac_res" >&5
9765 echo "${ECHO_T}$ac_res" >&6; }
9768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9769 cat >>confdefs.h <<_ACEOF
9770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9771 _ACEOF
9773 for ac_header in audio/soundlib.h
9775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9776 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9778 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9779 echo $ECHO_N "(cached) $ECHO_C" >&6
9780 else
9781 cat >conftest.$ac_ext <<_ACEOF
9782 /* confdefs.h. */
9783 _ACEOF
9784 cat confdefs.h >>conftest.$ac_ext
9785 cat >>conftest.$ac_ext <<_ACEOF
9786 /* end confdefs.h. */
9787 #include <audio/audiolib.h>
9789 #include <$ac_header>
9790 _ACEOF
9791 rm -f conftest.$ac_objext
9792 if { (ac_try="$ac_compile"
9793 case "(($ac_try" in
9794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9795 *) ac_try_echo=$ac_try;;
9796 esac
9797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9798 (eval "$ac_compile") 2>conftest.er1
9799 ac_status=$?
9800 grep -v '^ *+' conftest.er1 >conftest.err
9801 rm -f conftest.er1
9802 cat conftest.err >&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); } &&
9805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9806 { (case "(($ac_try" in
9807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9808 *) ac_try_echo=$ac_try;;
9809 esac
9810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9811 (eval "$ac_try") 2>&5
9812 ac_status=$?
9813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9814 (exit $ac_status); }; } &&
9815 { ac_try='test -s conftest.$ac_objext'
9816 { (case "(($ac_try" in
9817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9818 *) ac_try_echo=$ac_try;;
9819 esac
9820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9821 (eval "$ac_try") 2>&5
9822 ac_status=$?
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); }; }; then
9825 eval "$as_ac_Header=yes"
9826 else
9827 echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.$ac_ext >&5
9830 eval "$as_ac_Header=no"
9833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9835 ac_res=`eval echo '${'$as_ac_Header'}'`
9836 { echo "$as_me:$LINENO: result: $ac_res" >&5
9837 echo "${ECHO_T}$ac_res" >&6; }
9838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9839 cat >>confdefs.h <<_ACEOF
9840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9841 _ACEOF
9845 done
9847 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9848 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9849 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9850 echo $ECHO_N "(cached) $ECHO_C" >&6
9851 else
9852 ac_check_lib_save_LIBS=$LIBS
9853 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9854 cat >conftest.$ac_ext <<_ACEOF
9855 /* confdefs.h. */
9856 _ACEOF
9857 cat confdefs.h >>conftest.$ac_ext
9858 cat >>conftest.$ac_ext <<_ACEOF
9859 /* end confdefs.h. */
9861 /* Override any GCC internal prototype to avoid an error.
9862 Use char because int might match the return type of a GCC
9863 builtin and then its argument prototype would still apply. */
9864 #ifdef __cplusplus
9865 extern "C"
9866 #endif
9867 char AuCreateFlow ();
9869 main ()
9871 return AuCreateFlow ();
9873 return 0;
9875 _ACEOF
9876 rm -f conftest.$ac_objext conftest$ac_exeext
9877 if { (ac_try="$ac_link"
9878 case "(($ac_try" in
9879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9880 *) ac_try_echo=$ac_try;;
9881 esac
9882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9883 (eval "$ac_link") 2>conftest.er1
9884 ac_status=$?
9885 grep -v '^ *+' conftest.er1 >conftest.err
9886 rm -f conftest.er1
9887 cat conftest.err >&5
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); } &&
9890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9891 { (case "(($ac_try" in
9892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9893 *) ac_try_echo=$ac_try;;
9894 esac
9895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9896 (eval "$ac_try") 2>&5
9897 ac_status=$?
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); }; } &&
9900 { ac_try='test -s conftest$ac_exeext'
9901 { (case "(($ac_try" in
9902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9903 *) ac_try_echo=$ac_try;;
9904 esac
9905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9906 (eval "$ac_try") 2>&5
9907 ac_status=$?
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); }; }; then
9910 ac_cv_lib_audio_AuCreateFlow=yes
9911 else
9912 echo "$as_me: failed program was:" >&5
9913 sed 's/^/| /' conftest.$ac_ext >&5
9915 ac_cv_lib_audio_AuCreateFlow=no
9918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9919 conftest$ac_exeext conftest.$ac_ext
9920 LIBS=$ac_check_lib_save_LIBS
9922 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9923 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
9924 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9926 cat >>confdefs.h <<\_ACEOF
9927 #define HAVE_NAS 1
9928 _ACEOF
9930 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9935 done
9938 CPPFLAGS="$ac_save_CPPFLAGS"
9939 XFILES='$(XFILES)'
9940 else
9941 XLIB=""
9942 X_CFLAGS=""
9943 X_LIBS=""
9947 XML2LIBS=""
9949 XML2INCL=""
9951 XSLTLIBS=""
9953 XSLTINCL=""
9955 if test "$PKG_CONFIG" != "false"
9956 then
9957 ac_save_CPPFLAGS="$CPPFLAGS"
9958 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9959 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9960 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9962 for ac_header in libxml/parser.h
9964 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9966 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9968 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9969 echo $ECHO_N "(cached) $ECHO_C" >&6
9971 ac_res=`eval echo '${'$as_ac_Header'}'`
9972 { echo "$as_me:$LINENO: result: $ac_res" >&5
9973 echo "${ECHO_T}$ac_res" >&6; }
9974 else
9975 # Is the header compilable?
9976 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9978 cat >conftest.$ac_ext <<_ACEOF
9979 /* confdefs.h. */
9980 _ACEOF
9981 cat confdefs.h >>conftest.$ac_ext
9982 cat >>conftest.$ac_ext <<_ACEOF
9983 /* end confdefs.h. */
9984 $ac_includes_default
9985 #include <$ac_header>
9986 _ACEOF
9987 rm -f conftest.$ac_objext
9988 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
9995 ac_status=$?
9996 grep -v '^ *+' conftest.er1 >conftest.err
9997 rm -f conftest.er1
9998 cat conftest.err >&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); } &&
10001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10002 { (case "(($ac_try" in
10003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10004 *) ac_try_echo=$ac_try;;
10005 esac
10006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10007 (eval "$ac_try") 2>&5
10008 ac_status=$?
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); }; } &&
10011 { ac_try='test -s conftest.$ac_objext'
10012 { (case "(($ac_try" in
10013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10014 *) ac_try_echo=$ac_try;;
10015 esac
10016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10017 (eval "$ac_try") 2>&5
10018 ac_status=$?
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; }; then
10021 ac_header_compiler=yes
10022 else
10023 echo "$as_me: failed program was:" >&5
10024 sed 's/^/| /' conftest.$ac_ext >&5
10026 ac_header_compiler=no
10029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10030 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10031 echo "${ECHO_T}$ac_header_compiler" >&6; }
10033 # Is the header present?
10034 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10035 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10036 cat >conftest.$ac_ext <<_ACEOF
10037 /* confdefs.h. */
10038 _ACEOF
10039 cat confdefs.h >>conftest.$ac_ext
10040 cat >>conftest.$ac_ext <<_ACEOF
10041 /* end confdefs.h. */
10042 #include <$ac_header>
10043 _ACEOF
10044 if { (ac_try="$ac_cpp conftest.$ac_ext"
10045 case "(($ac_try" in
10046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10047 *) ac_try_echo=$ac_try;;
10048 esac
10049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10050 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10051 ac_status=$?
10052 grep -v '^ *+' conftest.er1 >conftest.err
10053 rm -f conftest.er1
10054 cat conftest.err >&5
10055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056 (exit $ac_status); } >/dev/null; then
10057 if test -s conftest.err; then
10058 ac_cpp_err=$ac_c_preproc_warn_flag
10059 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10060 else
10061 ac_cpp_err=
10063 else
10064 ac_cpp_err=yes
10066 if test -z "$ac_cpp_err"; then
10067 ac_header_preproc=yes
10068 else
10069 echo "$as_me: failed program was:" >&5
10070 sed 's/^/| /' conftest.$ac_ext >&5
10072 ac_header_preproc=no
10075 rm -f conftest.err conftest.$ac_ext
10076 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10077 echo "${ECHO_T}$ac_header_preproc" >&6; }
10079 # So? What about this header?
10080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10081 yes:no: )
10082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10086 ac_header_preproc=yes
10088 no:yes:* )
10089 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10091 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10093 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10095 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10096 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10099 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10101 ( cat <<\_ASBOX
10102 ## ------------------------------------ ##
10103 ## Report this to wine-devel@winehq.org ##
10104 ## ------------------------------------ ##
10105 _ASBOX
10106 ) | sed "s/^/$as_me: WARNING: /" >&2
10108 esac
10109 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10112 echo $ECHO_N "(cached) $ECHO_C" >&6
10113 else
10114 eval "$as_ac_Header=\$ac_header_preproc"
10116 ac_res=`eval echo '${'$as_ac_Header'}'`
10117 { echo "$as_me:$LINENO: result: $ac_res" >&5
10118 echo "${ECHO_T}$ac_res" >&6; }
10121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10122 cat >>confdefs.h <<_ACEOF
10123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10124 _ACEOF
10125 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10126 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10127 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10129 else
10130 ac_check_lib_save_LIBS=$LIBS
10131 LIBS="-lxml2 $ac_xml_libs $LIBS"
10132 cat >conftest.$ac_ext <<_ACEOF
10133 /* confdefs.h. */
10134 _ACEOF
10135 cat confdefs.h >>conftest.$ac_ext
10136 cat >>conftest.$ac_ext <<_ACEOF
10137 /* end confdefs.h. */
10139 /* Override any GCC internal prototype to avoid an error.
10140 Use char because int might match the return type of a GCC
10141 builtin and then its argument prototype would still apply. */
10142 #ifdef __cplusplus
10143 extern "C"
10144 #endif
10145 char xmlParseMemory ();
10147 main ()
10149 return xmlParseMemory ();
10151 return 0;
10153 _ACEOF
10154 rm -f conftest.$ac_objext conftest$ac_exeext
10155 if { (ac_try="$ac_link"
10156 case "(($ac_try" in
10157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10158 *) ac_try_echo=$ac_try;;
10159 esac
10160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10161 (eval "$ac_link") 2>conftest.er1
10162 ac_status=$?
10163 grep -v '^ *+' conftest.er1 >conftest.err
10164 rm -f conftest.er1
10165 cat conftest.err >&5
10166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10167 (exit $ac_status); } &&
10168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10169 { (case "(($ac_try" in
10170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10171 *) ac_try_echo=$ac_try;;
10172 esac
10173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10174 (eval "$ac_try") 2>&5
10175 ac_status=$?
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); }; } &&
10178 { ac_try='test -s conftest$ac_exeext'
10179 { (case "(($ac_try" in
10180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10181 *) ac_try_echo=$ac_try;;
10182 esac
10183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10184 (eval "$ac_try") 2>&5
10185 ac_status=$?
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); }; }; then
10188 ac_cv_lib_xml2_xmlParseMemory=yes
10189 else
10190 echo "$as_me: failed program was:" >&5
10191 sed 's/^/| /' conftest.$ac_ext >&5
10193 ac_cv_lib_xml2_xmlParseMemory=no
10196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10197 conftest$ac_exeext conftest.$ac_ext
10198 LIBS=$ac_check_lib_save_LIBS
10200 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10201 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10202 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10204 cat >>confdefs.h <<\_ACEOF
10205 #define HAVE_LIBXML2 1
10206 _ACEOF
10208 XML2LIBS="$ac_xml_libs"
10209 XML2INCL="$ac_xml_cflags"
10212 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10213 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10214 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10215 echo $ECHO_N "(cached) $ECHO_C" >&6
10216 else
10217 ac_check_lib_save_LIBS=$LIBS
10218 LIBS="-lxml2 $ac_xml_libs $LIBS"
10219 cat >conftest.$ac_ext <<_ACEOF
10220 /* confdefs.h. */
10221 _ACEOF
10222 cat confdefs.h >>conftest.$ac_ext
10223 cat >>conftest.$ac_ext <<_ACEOF
10224 /* end confdefs.h. */
10226 /* Override any GCC internal prototype to avoid an error.
10227 Use char because int might match the return type of a GCC
10228 builtin and then its argument prototype would still apply. */
10229 #ifdef __cplusplus
10230 extern "C"
10231 #endif
10232 char xmlReadMemory ();
10234 main ()
10236 return xmlReadMemory ();
10238 return 0;
10240 _ACEOF
10241 rm -f conftest.$ac_objext conftest$ac_exeext
10242 if { (ac_try="$ac_link"
10243 case "(($ac_try" in
10244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10245 *) ac_try_echo=$ac_try;;
10246 esac
10247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10248 (eval "$ac_link") 2>conftest.er1
10249 ac_status=$?
10250 grep -v '^ *+' conftest.er1 >conftest.err
10251 rm -f conftest.er1
10252 cat conftest.err >&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); } &&
10255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10256 { (case "(($ac_try" in
10257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10258 *) ac_try_echo=$ac_try;;
10259 esac
10260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10261 (eval "$ac_try") 2>&5
10262 ac_status=$?
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); }; } &&
10265 { ac_try='test -s conftest$ac_exeext'
10266 { (case "(($ac_try" in
10267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10268 *) ac_try_echo=$ac_try;;
10269 esac
10270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10271 (eval "$ac_try") 2>&5
10272 ac_status=$?
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); }; }; then
10275 ac_cv_lib_xml2_xmlReadMemory=yes
10276 else
10277 echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.$ac_ext >&5
10280 ac_cv_lib_xml2_xmlReadMemory=no
10283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10284 conftest$ac_exeext conftest.$ac_ext
10285 LIBS=$ac_check_lib_save_LIBS
10287 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10288 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10289 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10291 cat >>confdefs.h <<\_ACEOF
10292 #define HAVE_XMLREADMEMORY 1
10293 _ACEOF
10297 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
10298 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
10299 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
10300 echo $ECHO_N "(cached) $ECHO_C" >&6
10301 else
10302 ac_check_lib_save_LIBS=$LIBS
10303 LIBS="-lxml2 $ac_xml_libs $LIBS"
10304 cat >conftest.$ac_ext <<_ACEOF
10305 /* confdefs.h. */
10306 _ACEOF
10307 cat confdefs.h >>conftest.$ac_ext
10308 cat >>conftest.$ac_ext <<_ACEOF
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10314 #ifdef __cplusplus
10315 extern "C"
10316 #endif
10317 char xmlNewDocPI ();
10319 main ()
10321 return xmlNewDocPI ();
10323 return 0;
10325 _ACEOF
10326 rm -f conftest.$ac_objext conftest$ac_exeext
10327 if { (ac_try="$ac_link"
10328 case "(($ac_try" in
10329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10330 *) ac_try_echo=$ac_try;;
10331 esac
10332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10333 (eval "$ac_link") 2>conftest.er1
10334 ac_status=$?
10335 grep -v '^ *+' conftest.er1 >conftest.err
10336 rm -f conftest.er1
10337 cat conftest.err >&5
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); } &&
10340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10341 { (case "(($ac_try" in
10342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10343 *) ac_try_echo=$ac_try;;
10344 esac
10345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10346 (eval "$ac_try") 2>&5
10347 ac_status=$?
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); }; } &&
10350 { ac_try='test -s conftest$ac_exeext'
10351 { (case "(($ac_try" in
10352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10353 *) ac_try_echo=$ac_try;;
10354 esac
10355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10356 (eval "$ac_try") 2>&5
10357 ac_status=$?
10358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359 (exit $ac_status); }; }; then
10360 ac_cv_lib_xml2_xmlNewDocPI=yes
10361 else
10362 echo "$as_me: failed program was:" >&5
10363 sed 's/^/| /' conftest.$ac_ext >&5
10365 ac_cv_lib_xml2_xmlNewDocPI=no
10368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10369 conftest$ac_exeext conftest.$ac_ext
10370 LIBS=$ac_check_lib_save_LIBS
10372 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10373 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10374 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
10376 cat >>confdefs.h <<\_ACEOF
10377 #define HAVE_XMLNEWDOCPI 1
10378 _ACEOF
10385 done
10387 CPPFLAGS="$ac_save_CPPFLAGS"
10388 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10389 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10390 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10393 for ac_header in libxslt/pattern.h libxslt/transform.h
10395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10396 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10398 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10399 echo $ECHO_N "(cached) $ECHO_C" >&6
10400 else
10401 cat >conftest.$ac_ext <<_ACEOF
10402 /* confdefs.h. */
10403 _ACEOF
10404 cat confdefs.h >>conftest.$ac_ext
10405 cat >>conftest.$ac_ext <<_ACEOF
10406 /* end confdefs.h. */
10407 #ifdef HAVE_LIBXSLT_PATTERN_H
10408 # include <libxslt/pattern.h>
10409 #endif
10411 #include <$ac_header>
10412 _ACEOF
10413 rm -f conftest.$ac_objext
10414 if { (ac_try="$ac_compile"
10415 case "(($ac_try" in
10416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10417 *) ac_try_echo=$ac_try;;
10418 esac
10419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10420 (eval "$ac_compile") 2>conftest.er1
10421 ac_status=$?
10422 grep -v '^ *+' conftest.er1 >conftest.err
10423 rm -f conftest.er1
10424 cat conftest.err >&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); } &&
10427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10428 { (case "(($ac_try" in
10429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10430 *) ac_try_echo=$ac_try;;
10431 esac
10432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10433 (eval "$ac_try") 2>&5
10434 ac_status=$?
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; } &&
10437 { ac_try='test -s conftest.$ac_objext'
10438 { (case "(($ac_try" in
10439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10440 *) ac_try_echo=$ac_try;;
10441 esac
10442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10443 (eval "$ac_try") 2>&5
10444 ac_status=$?
10445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446 (exit $ac_status); }; }; then
10447 eval "$as_ac_Header=yes"
10448 else
10449 echo "$as_me: failed program was:" >&5
10450 sed 's/^/| /' conftest.$ac_ext >&5
10452 eval "$as_ac_Header=no"
10455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10457 ac_res=`eval echo '${'$as_ac_Header'}'`
10458 { echo "$as_me:$LINENO: result: $ac_res" >&5
10459 echo "${ECHO_T}$ac_res" >&6; }
10460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10461 cat >>confdefs.h <<_ACEOF
10462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10463 _ACEOF
10464 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10465 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10466 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10467 echo $ECHO_N "(cached) $ECHO_C" >&6
10468 else
10469 ac_check_lib_save_LIBS=$LIBS
10470 LIBS="-lxslt $ac_xslt_libs $LIBS"
10471 cat >conftest.$ac_ext <<_ACEOF
10472 /* confdefs.h. */
10473 _ACEOF
10474 cat confdefs.h >>conftest.$ac_ext
10475 cat >>conftest.$ac_ext <<_ACEOF
10476 /* end confdefs.h. */
10478 /* Override any GCC internal prototype to avoid an error.
10479 Use char because int might match the return type of a GCC
10480 builtin and then its argument prototype would still apply. */
10481 #ifdef __cplusplus
10482 extern "C"
10483 #endif
10484 char xsltCompilePattern ();
10486 main ()
10488 return xsltCompilePattern ();
10490 return 0;
10492 _ACEOF
10493 rm -f conftest.$ac_objext conftest$ac_exeext
10494 if { (ac_try="$ac_link"
10495 case "(($ac_try" in
10496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10497 *) ac_try_echo=$ac_try;;
10498 esac
10499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10500 (eval "$ac_link") 2>conftest.er1
10501 ac_status=$?
10502 grep -v '^ *+' conftest.er1 >conftest.err
10503 rm -f conftest.er1
10504 cat conftest.err >&5
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); } &&
10507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10508 { (case "(($ac_try" in
10509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10510 *) ac_try_echo=$ac_try;;
10511 esac
10512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10513 (eval "$ac_try") 2>&5
10514 ac_status=$?
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; } &&
10517 { ac_try='test -s conftest$ac_exeext'
10518 { (case "(($ac_try" in
10519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10520 *) ac_try_echo=$ac_try;;
10521 esac
10522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10523 (eval "$ac_try") 2>&5
10524 ac_status=$?
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then
10527 ac_cv_lib_xslt_xsltCompilePattern=yes
10528 else
10529 echo "$as_me: failed program was:" >&5
10530 sed 's/^/| /' conftest.$ac_ext >&5
10532 ac_cv_lib_xslt_xsltCompilePattern=no
10535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10536 conftest$ac_exeext conftest.$ac_ext
10537 LIBS=$ac_check_lib_save_LIBS
10539 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10540 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10541 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10543 cat >>confdefs.h <<\_ACEOF
10544 #define HAVE_LIBXSLT 1
10545 _ACEOF
10547 XSLTLIBS="$ac_xslt_libs"
10548 XSLTINCL="$ac_xslt_cflags"
10554 done
10556 CPPFLAGS="$ac_save_CPPFLAGS"
10559 HALINCL=""
10561 if test "$PKG_CONFIG" != "false"
10562 then
10563 ac_save_CPPFLAGS="$CPPFLAGS"
10564 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10565 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10566 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10569 for ac_header in dbus/dbus.h hal/libhal.h
10571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 ac_res=`eval echo '${'$as_ac_Header'}'`
10579 { echo "$as_me:$LINENO: result: $ac_res" >&5
10580 echo "${ECHO_T}$ac_res" >&6; }
10581 else
10582 # Is the header compilable?
10583 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10584 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10585 cat >conftest.$ac_ext <<_ACEOF
10586 /* confdefs.h. */
10587 _ACEOF
10588 cat confdefs.h >>conftest.$ac_ext
10589 cat >>conftest.$ac_ext <<_ACEOF
10590 /* end confdefs.h. */
10591 $ac_includes_default
10592 #include <$ac_header>
10593 _ACEOF
10594 rm -f conftest.$ac_objext
10595 if { (ac_try="$ac_compile"
10596 case "(($ac_try" in
10597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10598 *) ac_try_echo=$ac_try;;
10599 esac
10600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10601 (eval "$ac_compile") 2>conftest.er1
10602 ac_status=$?
10603 grep -v '^ *+' conftest.er1 >conftest.err
10604 rm -f conftest.er1
10605 cat conftest.err >&5
10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 (exit $ac_status); } &&
10608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10609 { (case "(($ac_try" in
10610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10611 *) ac_try_echo=$ac_try;;
10612 esac
10613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10614 (eval "$ac_try") 2>&5
10615 ac_status=$?
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); }; } &&
10618 { ac_try='test -s conftest.$ac_objext'
10619 { (case "(($ac_try" in
10620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10621 *) ac_try_echo=$ac_try;;
10622 esac
10623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10624 (eval "$ac_try") 2>&5
10625 ac_status=$?
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); }; }; then
10628 ac_header_compiler=yes
10629 else
10630 echo "$as_me: failed program was:" >&5
10631 sed 's/^/| /' conftest.$ac_ext >&5
10633 ac_header_compiler=no
10636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10637 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10638 echo "${ECHO_T}$ac_header_compiler" >&6; }
10640 # Is the header present?
10641 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10643 cat >conftest.$ac_ext <<_ACEOF
10644 /* confdefs.h. */
10645 _ACEOF
10646 cat confdefs.h >>conftest.$ac_ext
10647 cat >>conftest.$ac_ext <<_ACEOF
10648 /* end confdefs.h. */
10649 #include <$ac_header>
10650 _ACEOF
10651 if { (ac_try="$ac_cpp conftest.$ac_ext"
10652 case "(($ac_try" in
10653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10654 *) ac_try_echo=$ac_try;;
10655 esac
10656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10658 ac_status=$?
10659 grep -v '^ *+' conftest.er1 >conftest.err
10660 rm -f conftest.er1
10661 cat conftest.err >&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } >/dev/null; then
10664 if test -s conftest.err; then
10665 ac_cpp_err=$ac_c_preproc_warn_flag
10666 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10667 else
10668 ac_cpp_err=
10670 else
10671 ac_cpp_err=yes
10673 if test -z "$ac_cpp_err"; then
10674 ac_header_preproc=yes
10675 else
10676 echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.$ac_ext >&5
10679 ac_header_preproc=no
10682 rm -f conftest.err conftest.$ac_ext
10683 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10684 echo "${ECHO_T}$ac_header_preproc" >&6; }
10686 # So? What about this header?
10687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10688 yes:no: )
10689 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10692 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10693 ac_header_preproc=yes
10695 no:yes:* )
10696 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10697 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10698 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10699 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10700 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10701 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10702 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10703 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10706 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10707 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10708 ( cat <<\_ASBOX
10709 ## ------------------------------------ ##
10710 ## Report this to wine-devel@winehq.org ##
10711 ## ------------------------------------ ##
10712 _ASBOX
10713 ) | sed "s/^/$as_me: WARNING: /" >&2
10715 esac
10716 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10719 echo $ECHO_N "(cached) $ECHO_C" >&6
10720 else
10721 eval "$as_ac_Header=\$ac_header_preproc"
10723 ac_res=`eval echo '${'$as_ac_Header'}'`
10724 { echo "$as_me:$LINENO: result: $ac_res" >&5
10725 echo "${ECHO_T}$ac_res" >&6; }
10728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10729 cat >>confdefs.h <<_ACEOF
10730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10731 _ACEOF
10735 done
10737 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10738 then
10739 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10740 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10741 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10743 else
10744 ac_check_lib_save_LIBS=$LIBS
10745 LIBS="-lhal $LIBS"
10746 cat >conftest.$ac_ext <<_ACEOF
10747 /* confdefs.h. */
10748 _ACEOF
10749 cat confdefs.h >>conftest.$ac_ext
10750 cat >>conftest.$ac_ext <<_ACEOF
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10756 #ifdef __cplusplus
10757 extern "C"
10758 #endif
10759 char libhal_ctx_new ();
10761 main ()
10763 return libhal_ctx_new ();
10765 return 0;
10767 _ACEOF
10768 rm -f conftest.$ac_objext conftest$ac_exeext
10769 if { (ac_try="$ac_link"
10770 case "(($ac_try" in
10771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10772 *) ac_try_echo=$ac_try;;
10773 esac
10774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10775 (eval "$ac_link") 2>conftest.er1
10776 ac_status=$?
10777 grep -v '^ *+' conftest.er1 >conftest.err
10778 rm -f conftest.er1
10779 cat conftest.err >&5
10780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781 (exit $ac_status); } &&
10782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10783 { (case "(($ac_try" in
10784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10785 *) ac_try_echo=$ac_try;;
10786 esac
10787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10788 (eval "$ac_try") 2>&5
10789 ac_status=$?
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); }; } &&
10792 { ac_try='test -s conftest$ac_exeext'
10793 { (case "(($ac_try" in
10794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10795 *) ac_try_echo=$ac_try;;
10796 esac
10797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10798 (eval "$ac_try") 2>&5
10799 ac_status=$?
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); }; }; then
10802 ac_cv_lib_hal_libhal_ctx_new=yes
10803 else
10804 echo "$as_me: failed program was:" >&5
10805 sed 's/^/| /' conftest.$ac_ext >&5
10807 ac_cv_lib_hal_libhal_ctx_new=no
10810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10811 conftest$ac_exeext conftest.$ac_ext
10812 LIBS=$ac_check_lib_save_LIBS
10814 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10815 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10816 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10817 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10818 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10819 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10820 echo $ECHO_N "(cached) $ECHO_C" >&6
10821 else
10822 ac_check_lib_save_LIBS=$LIBS
10823 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10824 cat >conftest.$ac_ext <<_ACEOF
10825 /* confdefs.h. */
10826 _ACEOF
10827 cat confdefs.h >>conftest.$ac_ext
10828 cat >>conftest.$ac_ext <<_ACEOF
10829 /* end confdefs.h. */
10831 /* Override any GCC internal prototype to avoid an error.
10832 Use char because int might match the return type of a GCC
10833 builtin and then its argument prototype would still apply. */
10834 #ifdef __cplusplus
10835 extern "C"
10836 #endif
10837 char dbus_connection_close ();
10839 main ()
10841 return dbus_connection_close ();
10843 return 0;
10845 _ACEOF
10846 rm -f conftest.$ac_objext conftest$ac_exeext
10847 if { (ac_try="$ac_link"
10848 case "(($ac_try" in
10849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10850 *) ac_try_echo=$ac_try;;
10851 esac
10852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10853 (eval "$ac_link") 2>conftest.er1
10854 ac_status=$?
10855 grep -v '^ *+' conftest.er1 >conftest.err
10856 rm -f conftest.er1
10857 cat conftest.err >&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); } &&
10860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10861 { (case "(($ac_try" in
10862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10863 *) ac_try_echo=$ac_try;;
10864 esac
10865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10866 (eval "$ac_try") 2>&5
10867 ac_status=$?
10868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869 (exit $ac_status); }; } &&
10870 { ac_try='test -s conftest$ac_exeext'
10871 { (case "(($ac_try" in
10872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10873 *) ac_try_echo=$ac_try;;
10874 esac
10875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10876 (eval "$ac_try") 2>&5
10877 ac_status=$?
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; }; then
10880 ac_cv_lib_dbus_1_dbus_connection_close=yes
10881 else
10882 echo "$as_me: failed program was:" >&5
10883 sed 's/^/| /' conftest.$ac_ext >&5
10885 ac_cv_lib_dbus_1_dbus_connection_close=no
10888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10889 conftest$ac_exeext conftest.$ac_ext
10890 LIBS=$ac_check_lib_save_LIBS
10892 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10893 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10894 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10896 cat >>confdefs.h <<\_ACEOF
10897 #define HAVE_LIBHAL 1
10898 _ACEOF
10900 HALINCL="$ac_hal_cflags"
10906 CPPFLAGS="$ac_save_CPPFLAGS"
10909 CURSESLIBS=""
10910 if test "$ac_cv_header_ncurses_h" = "yes"
10911 then
10912 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10913 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10914 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10915 echo $ECHO_N "(cached) $ECHO_C" >&6
10916 else
10917 ac_check_lib_save_LIBS=$LIBS
10918 LIBS="-lncurses $LIBS"
10919 cat >conftest.$ac_ext <<_ACEOF
10920 /* confdefs.h. */
10921 _ACEOF
10922 cat confdefs.h >>conftest.$ac_ext
10923 cat >>conftest.$ac_ext <<_ACEOF
10924 /* end confdefs.h. */
10926 /* Override any GCC internal prototype to avoid an error.
10927 Use char because int might match the return type of a GCC
10928 builtin and then its argument prototype would still apply. */
10929 #ifdef __cplusplus
10930 extern "C"
10931 #endif
10932 char waddch ();
10934 main ()
10936 return waddch ();
10938 return 0;
10940 _ACEOF
10941 rm -f conftest.$ac_objext conftest$ac_exeext
10942 if { (ac_try="$ac_link"
10943 case "(($ac_try" in
10944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10945 *) ac_try_echo=$ac_try;;
10946 esac
10947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10948 (eval "$ac_link") 2>conftest.er1
10949 ac_status=$?
10950 grep -v '^ *+' conftest.er1 >conftest.err
10951 rm -f conftest.er1
10952 cat conftest.err >&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); } &&
10955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10956 { (case "(($ac_try" in
10957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10958 *) ac_try_echo=$ac_try;;
10959 esac
10960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10961 (eval "$ac_try") 2>&5
10962 ac_status=$?
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; } &&
10965 { ac_try='test -s conftest$ac_exeext'
10966 { (case "(($ac_try" in
10967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10968 *) ac_try_echo=$ac_try;;
10969 esac
10970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10971 (eval "$ac_try") 2>&5
10972 ac_status=$?
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); }; }; then
10975 ac_cv_lib_ncurses_waddch=yes
10976 else
10977 echo "$as_me: failed program was:" >&5
10978 sed 's/^/| /' conftest.$ac_ext >&5
10980 ac_cv_lib_ncurses_waddch=no
10983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10984 conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_lib_save_LIBS
10987 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10988 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10989 if test $ac_cv_lib_ncurses_waddch = yes; then
10990 CURSESLIBS="-lncurses"
10993 elif test "$ac_cv_header_curses_h" = "yes"
10994 then
10995 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
10996 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
10997 if test "${ac_cv_lib_curses_waddch+set}" = set; then
10998 echo $ECHO_N "(cached) $ECHO_C" >&6
10999 else
11000 ac_check_lib_save_LIBS=$LIBS
11001 LIBS="-lcurses $LIBS"
11002 cat >conftest.$ac_ext <<_ACEOF
11003 /* confdefs.h. */
11004 _ACEOF
11005 cat confdefs.h >>conftest.$ac_ext
11006 cat >>conftest.$ac_ext <<_ACEOF
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11012 #ifdef __cplusplus
11013 extern "C"
11014 #endif
11015 char waddch ();
11017 main ()
11019 return waddch ();
11021 return 0;
11023 _ACEOF
11024 rm -f conftest.$ac_objext conftest$ac_exeext
11025 if { (ac_try="$ac_link"
11026 case "(($ac_try" in
11027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11028 *) ac_try_echo=$ac_try;;
11029 esac
11030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11031 (eval "$ac_link") 2>conftest.er1
11032 ac_status=$?
11033 grep -v '^ *+' conftest.er1 >conftest.err
11034 rm -f conftest.er1
11035 cat conftest.err >&5
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); } &&
11038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11039 { (case "(($ac_try" in
11040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11041 *) ac_try_echo=$ac_try;;
11042 esac
11043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11044 (eval "$ac_try") 2>&5
11045 ac_status=$?
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }; } &&
11048 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11058 ac_cv_lib_curses_waddch=yes
11059 else
11060 echo "$as_me: failed program was:" >&5
11061 sed 's/^/| /' conftest.$ac_ext >&5
11063 ac_cv_lib_curses_waddch=no
11066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11067 conftest$ac_exeext conftest.$ac_ext
11068 LIBS=$ac_check_lib_save_LIBS
11070 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11071 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11072 if test $ac_cv_lib_curses_waddch = yes; then
11073 CURSESLIBS="-lcurses"
11077 ac_save_LIBS="$LIBS"
11078 LIBS="$LIBS $CURSESLIBS"
11080 for ac_func in mousemask
11082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11083 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11085 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11086 echo $ECHO_N "(cached) $ECHO_C" >&6
11087 else
11088 cat >conftest.$ac_ext <<_ACEOF
11089 /* confdefs.h. */
11090 _ACEOF
11091 cat confdefs.h >>conftest.$ac_ext
11092 cat >>conftest.$ac_ext <<_ACEOF
11093 /* end confdefs.h. */
11094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11096 #define $ac_func innocuous_$ac_func
11098 /* System header to define __stub macros and hopefully few prototypes,
11099 which can conflict with char $ac_func (); below.
11100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11101 <limits.h> exists even on freestanding compilers. */
11103 #ifdef __STDC__
11104 # include <limits.h>
11105 #else
11106 # include <assert.h>
11107 #endif
11109 #undef $ac_func
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11114 #ifdef __cplusplus
11115 extern "C"
11116 #endif
11117 char $ac_func ();
11118 /* The GNU C library defines this for functions which it implements
11119 to always fail with ENOSYS. Some functions are actually named
11120 something starting with __ and the normal name is an alias. */
11121 #if defined __stub_$ac_func || defined __stub___$ac_func
11122 choke me
11123 #endif
11126 main ()
11128 return $ac_func ();
11130 return 0;
11132 _ACEOF
11133 rm -f conftest.$ac_objext conftest$ac_exeext
11134 if { (ac_try="$ac_link"
11135 case "(($ac_try" in
11136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11137 *) ac_try_echo=$ac_try;;
11138 esac
11139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11140 (eval "$ac_link") 2>conftest.er1
11141 ac_status=$?
11142 grep -v '^ *+' conftest.er1 >conftest.err
11143 rm -f conftest.er1
11144 cat conftest.err >&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); } &&
11147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11148 { (case "(($ac_try" in
11149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11150 *) ac_try_echo=$ac_try;;
11151 esac
11152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11153 (eval "$ac_try") 2>&5
11154 ac_status=$?
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; } &&
11157 { ac_try='test -s conftest$ac_exeext'
11158 { (case "(($ac_try" in
11159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11160 *) ac_try_echo=$ac_try;;
11161 esac
11162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11163 (eval "$ac_try") 2>&5
11164 ac_status=$?
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; }; then
11167 eval "$as_ac_var=yes"
11168 else
11169 echo "$as_me: failed program was:" >&5
11170 sed 's/^/| /' conftest.$ac_ext >&5
11172 eval "$as_ac_var=no"
11175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11176 conftest$ac_exeext conftest.$ac_ext
11178 ac_res=`eval echo '${'$as_ac_var'}'`
11179 { echo "$as_me:$LINENO: result: $ac_res" >&5
11180 echo "${ECHO_T}$ac_res" >&6; }
11181 if test `eval echo '${'$as_ac_var'}'` = yes; then
11182 cat >>confdefs.h <<_ACEOF
11183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11184 _ACEOF
11187 done
11189 LIBS="$ac_save_LIBS"
11191 # Extract the first word of "sane-config", so it can be a program name with args.
11192 set dummy sane-config; ac_word=$2
11193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11195 if test "${ac_cv_prog_sane_devel+set}" = set; then
11196 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 else
11198 if test -n "$sane_devel"; then
11199 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11200 else
11201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11202 for as_dir in $PATH
11204 IFS=$as_save_IFS
11205 test -z "$as_dir" && as_dir=.
11206 for ac_exec_ext in '' $ac_executable_extensions; do
11207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11208 ac_cv_prog_sane_devel="sane-config"
11209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11210 break 2
11212 done
11213 done
11214 IFS=$as_save_IFS
11216 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11219 sane_devel=$ac_cv_prog_sane_devel
11220 if test -n "$sane_devel"; then
11221 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11222 echo "${ECHO_T}$sane_devel" >&6; }
11223 else
11224 { echo "$as_me:$LINENO: result: no" >&5
11225 echo "${ECHO_T}no" >&6; }
11229 SANELIBS=""
11231 SANEINCL=""
11233 if test "$sane_devel" != "no"
11234 then
11235 SANELIBS="`$sane_devel --libs`"
11236 SANEINCL="`$sane_devel --cflags`"
11237 ac_save_CPPFLAGS="$CPPFLAGS"
11238 ac_save_LIBS="$LIBS"
11239 CPPFLAGS="$CPPFLAGS $SANEINCL"
11240 LIBS="$LIBS $SANELIBS"
11241 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11242 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11243 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11244 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11245 echo $ECHO_N "(cached) $ECHO_C" >&6
11247 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11248 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11249 else
11250 # Is the header compilable?
11251 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11252 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11253 cat >conftest.$ac_ext <<_ACEOF
11254 /* confdefs.h. */
11255 _ACEOF
11256 cat confdefs.h >>conftest.$ac_ext
11257 cat >>conftest.$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11259 $ac_includes_default
11260 #include <sane/sane.h>
11261 _ACEOF
11262 rm -f conftest.$ac_objext
11263 if { (ac_try="$ac_compile"
11264 case "(($ac_try" in
11265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11266 *) ac_try_echo=$ac_try;;
11267 esac
11268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11269 (eval "$ac_compile") 2>conftest.er1
11270 ac_status=$?
11271 grep -v '^ *+' conftest.er1 >conftest.err
11272 rm -f conftest.er1
11273 cat conftest.err >&5
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); } &&
11276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11277 { (case "(($ac_try" in
11278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11279 *) ac_try_echo=$ac_try;;
11280 esac
11281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11282 (eval "$ac_try") 2>&5
11283 ac_status=$?
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); }; } &&
11286 { ac_try='test -s conftest.$ac_objext'
11287 { (case "(($ac_try" in
11288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11289 *) ac_try_echo=$ac_try;;
11290 esac
11291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11292 (eval "$ac_try") 2>&5
11293 ac_status=$?
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); }; }; then
11296 ac_header_compiler=yes
11297 else
11298 echo "$as_me: failed program was:" >&5
11299 sed 's/^/| /' conftest.$ac_ext >&5
11301 ac_header_compiler=no
11304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11305 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11306 echo "${ECHO_T}$ac_header_compiler" >&6; }
11308 # Is the header present?
11309 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11310 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11311 cat >conftest.$ac_ext <<_ACEOF
11312 /* confdefs.h. */
11313 _ACEOF
11314 cat confdefs.h >>conftest.$ac_ext
11315 cat >>conftest.$ac_ext <<_ACEOF
11316 /* end confdefs.h. */
11317 #include <sane/sane.h>
11318 _ACEOF
11319 if { (ac_try="$ac_cpp conftest.$ac_ext"
11320 case "(($ac_try" in
11321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11322 *) ac_try_echo=$ac_try;;
11323 esac
11324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11325 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11326 ac_status=$?
11327 grep -v '^ *+' conftest.er1 >conftest.err
11328 rm -f conftest.er1
11329 cat conftest.err >&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); } >/dev/null; then
11332 if test -s conftest.err; then
11333 ac_cpp_err=$ac_c_preproc_warn_flag
11334 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11335 else
11336 ac_cpp_err=
11338 else
11339 ac_cpp_err=yes
11341 if test -z "$ac_cpp_err"; then
11342 ac_header_preproc=yes
11343 else
11344 echo "$as_me: failed program was:" >&5
11345 sed 's/^/| /' conftest.$ac_ext >&5
11347 ac_header_preproc=no
11350 rm -f conftest.err conftest.$ac_ext
11351 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11352 echo "${ECHO_T}$ac_header_preproc" >&6; }
11354 # So? What about this header?
11355 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11356 yes:no: )
11357 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11358 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11359 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11360 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11361 ac_header_preproc=yes
11363 no:yes:* )
11364 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11365 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11366 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11367 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11368 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11369 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11370 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11371 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11372 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11373 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11374 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11375 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11376 ( cat <<\_ASBOX
11377 ## ------------------------------------ ##
11378 ## Report this to wine-devel@winehq.org ##
11379 ## ------------------------------------ ##
11380 _ASBOX
11381 ) | sed "s/^/$as_me: WARNING: /" >&2
11383 esac
11384 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11385 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11386 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11387 echo $ECHO_N "(cached) $ECHO_C" >&6
11388 else
11389 ac_cv_header_sane_sane_h=$ac_header_preproc
11391 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11392 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11395 if test $ac_cv_header_sane_sane_h = yes; then
11396 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11397 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11398 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11400 else
11401 ac_check_lib_save_LIBS=$LIBS
11402 LIBS="-lsane $LIBS"
11403 cat >conftest.$ac_ext <<_ACEOF
11404 /* confdefs.h. */
11405 _ACEOF
11406 cat confdefs.h >>conftest.$ac_ext
11407 cat >>conftest.$ac_ext <<_ACEOF
11408 /* end confdefs.h. */
11410 /* Override any GCC internal prototype to avoid an error.
11411 Use char because int might match the return type of a GCC
11412 builtin and then its argument prototype would still apply. */
11413 #ifdef __cplusplus
11414 extern "C"
11415 #endif
11416 char sane_open ();
11418 main ()
11420 return sane_open ();
11422 return 0;
11424 _ACEOF
11425 rm -f conftest.$ac_objext conftest$ac_exeext
11426 if { (ac_try="$ac_link"
11427 case "(($ac_try" in
11428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11429 *) ac_try_echo=$ac_try;;
11430 esac
11431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11432 (eval "$ac_link") 2>conftest.er1
11433 ac_status=$?
11434 grep -v '^ *+' conftest.er1 >conftest.err
11435 rm -f conftest.er1
11436 cat conftest.err >&5
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); } &&
11439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11440 { (case "(($ac_try" in
11441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11442 *) ac_try_echo=$ac_try;;
11443 esac
11444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11445 (eval "$ac_try") 2>&5
11446 ac_status=$?
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; } &&
11449 { ac_try='test -s conftest$ac_exeext'
11450 { (case "(($ac_try" in
11451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11452 *) ac_try_echo=$ac_try;;
11453 esac
11454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11455 (eval "$ac_try") 2>&5
11456 ac_status=$?
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; }; then
11459 ac_cv_lib_sane_sane_open=yes
11460 else
11461 echo "$as_me: failed program was:" >&5
11462 sed 's/^/| /' conftest.$ac_ext >&5
11464 ac_cv_lib_sane_sane_open=no
11467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11471 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11472 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11473 if test $ac_cv_lib_sane_sane_open = yes; then
11475 cat >>confdefs.h <<\_ACEOF
11476 #define HAVE_SANE 1
11477 _ACEOF
11479 else
11480 SANELIBS=""
11481 SANEINCL=""
11484 else
11485 SANELIBS=""
11486 SANEINCL=""
11490 LIBS="$ac_save_LIBS"
11491 CPPFLAGS="$ac_save_CPPFLAGS"
11494 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11495 set dummy gphoto2-config; ac_word=$2
11496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11498 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11499 echo $ECHO_N "(cached) $ECHO_C" >&6
11500 else
11501 if test -n "$gphoto2_devel"; then
11502 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11503 else
11504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11505 for as_dir in $PATH
11507 IFS=$as_save_IFS
11508 test -z "$as_dir" && as_dir=.
11509 for ac_exec_ext in '' $ac_executable_extensions; do
11510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11511 ac_cv_prog_gphoto2_devel="gphoto2-config"
11512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11513 break 2
11515 done
11516 done
11517 IFS=$as_save_IFS
11519 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11522 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11523 if test -n "$gphoto2_devel"; then
11524 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11525 echo "${ECHO_T}$gphoto2_devel" >&6; }
11526 else
11527 { echo "$as_me:$LINENO: result: no" >&5
11528 echo "${ECHO_T}no" >&6; }
11532 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11533 set dummy gphoto2-port-config; ac_word=$2
11534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11536 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11538 else
11539 if test -n "$gphoto2port_devel"; then
11540 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11541 else
11542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11543 for as_dir in $PATH
11545 IFS=$as_save_IFS
11546 test -z "$as_dir" && as_dir=.
11547 for ac_exec_ext in '' $ac_executable_extensions; do
11548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11549 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11551 break 2
11553 done
11554 done
11555 IFS=$as_save_IFS
11557 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11560 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11561 if test -n "$gphoto2port_devel"; then
11562 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11563 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11564 else
11565 { echo "$as_me:$LINENO: result: no" >&5
11566 echo "${ECHO_T}no" >&6; }
11570 GPHOTO2LIBS=""
11572 GPHOTO2INCL=""
11574 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11575 then
11576 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11577 GPHOTO2LIBS=""
11578 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11580 case "$i" in
11581 -L/usr/lib|-L/usr/lib64) ;;
11582 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11583 esac
11584 done
11585 ac_save_CPPFLAGS="$CPPFLAGS"
11586 ac_save_LIBS="$LIBS"
11587 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11588 LIBS="$LIBS $GPHOTO2LIBS"
11589 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11590 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11591 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11592 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11593 echo $ECHO_N "(cached) $ECHO_C" >&6
11595 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11596 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11597 else
11598 # Is the header compilable?
11599 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11600 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11601 cat >conftest.$ac_ext <<_ACEOF
11602 /* confdefs.h. */
11603 _ACEOF
11604 cat confdefs.h >>conftest.$ac_ext
11605 cat >>conftest.$ac_ext <<_ACEOF
11606 /* end confdefs.h. */
11607 $ac_includes_default
11608 #include <gphoto2-camera.h>
11609 _ACEOF
11610 rm -f conftest.$ac_objext
11611 if { (ac_try="$ac_compile"
11612 case "(($ac_try" in
11613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11614 *) ac_try_echo=$ac_try;;
11615 esac
11616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11617 (eval "$ac_compile") 2>conftest.er1
11618 ac_status=$?
11619 grep -v '^ *+' conftest.er1 >conftest.err
11620 rm -f conftest.er1
11621 cat conftest.err >&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); } &&
11624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11625 { (case "(($ac_try" in
11626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11627 *) ac_try_echo=$ac_try;;
11628 esac
11629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11630 (eval "$ac_try") 2>&5
11631 ac_status=$?
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; } &&
11634 { ac_try='test -s conftest.$ac_objext'
11635 { (case "(($ac_try" in
11636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11637 *) ac_try_echo=$ac_try;;
11638 esac
11639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11640 (eval "$ac_try") 2>&5
11641 ac_status=$?
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }; }; then
11644 ac_header_compiler=yes
11645 else
11646 echo "$as_me: failed program was:" >&5
11647 sed 's/^/| /' conftest.$ac_ext >&5
11649 ac_header_compiler=no
11652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11653 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11654 echo "${ECHO_T}$ac_header_compiler" >&6; }
11656 # Is the header present?
11657 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11658 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11659 cat >conftest.$ac_ext <<_ACEOF
11660 /* confdefs.h. */
11661 _ACEOF
11662 cat confdefs.h >>conftest.$ac_ext
11663 cat >>conftest.$ac_ext <<_ACEOF
11664 /* end confdefs.h. */
11665 #include <gphoto2-camera.h>
11666 _ACEOF
11667 if { (ac_try="$ac_cpp conftest.$ac_ext"
11668 case "(($ac_try" in
11669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11670 *) ac_try_echo=$ac_try;;
11671 esac
11672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11674 ac_status=$?
11675 grep -v '^ *+' conftest.er1 >conftest.err
11676 rm -f conftest.er1
11677 cat conftest.err >&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); } >/dev/null; then
11680 if test -s conftest.err; then
11681 ac_cpp_err=$ac_c_preproc_warn_flag
11682 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11683 else
11684 ac_cpp_err=
11686 else
11687 ac_cpp_err=yes
11689 if test -z "$ac_cpp_err"; then
11690 ac_header_preproc=yes
11691 else
11692 echo "$as_me: failed program was:" >&5
11693 sed 's/^/| /' conftest.$ac_ext >&5
11695 ac_header_preproc=no
11698 rm -f conftest.err conftest.$ac_ext
11699 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11700 echo "${ECHO_T}$ac_header_preproc" >&6; }
11702 # So? What about this header?
11703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11704 yes:no: )
11705 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11706 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11707 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11708 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11709 ac_header_preproc=yes
11711 no:yes:* )
11712 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11713 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11714 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11715 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11716 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11717 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11718 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11719 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11720 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11721 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11722 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11723 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11724 ( cat <<\_ASBOX
11725 ## ------------------------------------ ##
11726 ## Report this to wine-devel@winehq.org ##
11727 ## ------------------------------------ ##
11728 _ASBOX
11729 ) | sed "s/^/$as_me: WARNING: /" >&2
11731 esac
11732 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11733 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11734 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11735 echo $ECHO_N "(cached) $ECHO_C" >&6
11736 else
11737 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11739 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11740 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11743 if test $ac_cv_header_gphoto2_camera_h = yes; then
11744 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11745 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11746 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6
11748 else
11749 ac_check_lib_save_LIBS=$LIBS
11750 LIBS="-lgphoto2 $LIBS"
11751 cat >conftest.$ac_ext <<_ACEOF
11752 /* confdefs.h. */
11753 _ACEOF
11754 cat confdefs.h >>conftest.$ac_ext
11755 cat >>conftest.$ac_ext <<_ACEOF
11756 /* end confdefs.h. */
11758 /* Override any GCC internal prototype to avoid an error.
11759 Use char because int might match the return type of a GCC
11760 builtin and then its argument prototype would still apply. */
11761 #ifdef __cplusplus
11762 extern "C"
11763 #endif
11764 char gp_camera_new ();
11766 main ()
11768 return gp_camera_new ();
11770 return 0;
11772 _ACEOF
11773 rm -f conftest.$ac_objext conftest$ac_exeext
11774 if { (ac_try="$ac_link"
11775 case "(($ac_try" in
11776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11777 *) ac_try_echo=$ac_try;;
11778 esac
11779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11780 (eval "$ac_link") 2>conftest.er1
11781 ac_status=$?
11782 grep -v '^ *+' conftest.er1 >conftest.err
11783 rm -f conftest.er1
11784 cat conftest.err >&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); } &&
11787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11788 { (case "(($ac_try" in
11789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11790 *) ac_try_echo=$ac_try;;
11791 esac
11792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11793 (eval "$ac_try") 2>&5
11794 ac_status=$?
11795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); }; } &&
11797 { ac_try='test -s conftest$ac_exeext'
11798 { (case "(($ac_try" in
11799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11800 *) ac_try_echo=$ac_try;;
11801 esac
11802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11803 (eval "$ac_try") 2>&5
11804 ac_status=$?
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); }; }; then
11807 ac_cv_lib_gphoto2_gp_camera_new=yes
11808 else
11809 echo "$as_me: failed program was:" >&5
11810 sed 's/^/| /' conftest.$ac_ext >&5
11812 ac_cv_lib_gphoto2_gp_camera_new=no
11815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11816 conftest$ac_exeext conftest.$ac_ext
11817 LIBS=$ac_check_lib_save_LIBS
11819 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11820 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11821 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11823 cat >>confdefs.h <<\_ACEOF
11824 #define HAVE_GPHOTO2 1
11825 _ACEOF
11827 else
11828 GPHOTO2LIBS=""
11829 GPHOTO2INCL=""
11832 else
11833 GPHOTO2LIBS=""
11834 GPHOTO2INCL=""
11838 LIBS="$ac_save_LIBS"
11839 CPPFLAGS="$ac_save_CPPFLAGS"
11842 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11843 then
11844 saved_libs="$LIBS"
11845 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11847 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11848 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11849 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11850 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11851 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11852 cat >conftest.$ac_ext <<_ACEOF
11853 /* confdefs.h. */
11854 _ACEOF
11855 cat confdefs.h >>conftest.$ac_ext
11856 cat >>conftest.$ac_ext <<_ACEOF
11857 /* end confdefs.h. */
11858 #include <unicode/ubidi.h>
11860 main ()
11862 ubidi_open()
11864 return 0;
11866 _ACEOF
11867 rm -f conftest.$ac_objext conftest$ac_exeext
11868 if { (ac_try="$ac_link"
11869 case "(($ac_try" in
11870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11871 *) ac_try_echo=$ac_try;;
11872 esac
11873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11874 (eval "$ac_link") 2>conftest.er1
11875 ac_status=$?
11876 grep -v '^ *+' conftest.er1 >conftest.err
11877 rm -f conftest.er1
11878 cat conftest.err >&5
11879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); } &&
11881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11882 { (case "(($ac_try" in
11883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11884 *) ac_try_echo=$ac_try;;
11885 esac
11886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11887 (eval "$ac_try") 2>&5
11888 ac_status=$?
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); }; } &&
11891 { ac_try='test -s conftest$ac_exeext'
11892 { (case "(($ac_try" in
11893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11894 *) ac_try_echo=$ac_try;;
11895 esac
11896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11897 (eval "$ac_try") 2>&5
11898 ac_status=$?
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); }; }; then
11902 cat >>confdefs.h <<\_ACEOF
11903 #define HAVE_ICU 1
11904 _ACEOF
11906 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11908 { echo "$as_me:$LINENO: result: yes" >&5
11909 echo "${ECHO_T}yes" >&6; }
11910 else
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.$ac_ext >&5
11914 { echo "$as_me:$LINENO: result: no" >&5
11915 echo "${ECHO_T}no" >&6; }
11918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11919 conftest$ac_exeext conftest.$ac_ext
11920 done
11921 LIBS="$saved_libs"
11924 RESOLVLIBS=""
11926 if test "$ac_cv_header_resolv_h" = "yes"
11927 then
11928 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11929 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11930 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11931 echo $ECHO_N "(cached) $ECHO_C" >&6
11932 else
11933 ac_check_lib_save_LIBS=$LIBS
11934 LIBS="-lresolv $LIBS"
11935 cat >conftest.$ac_ext <<_ACEOF
11936 /* confdefs.h. */
11937 _ACEOF
11938 cat confdefs.h >>conftest.$ac_ext
11939 cat >>conftest.$ac_ext <<_ACEOF
11940 /* end confdefs.h. */
11942 /* Override any GCC internal prototype to avoid an error.
11943 Use char because int might match the return type of a GCC
11944 builtin and then its argument prototype would still apply. */
11945 #ifdef __cplusplus
11946 extern "C"
11947 #endif
11948 char res_query ();
11950 main ()
11952 return res_query ();
11954 return 0;
11956 _ACEOF
11957 rm -f conftest.$ac_objext conftest$ac_exeext
11958 if { (ac_try="$ac_link"
11959 case "(($ac_try" in
11960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11961 *) ac_try_echo=$ac_try;;
11962 esac
11963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11964 (eval "$ac_link") 2>conftest.er1
11965 ac_status=$?
11966 grep -v '^ *+' conftest.er1 >conftest.err
11967 rm -f conftest.er1
11968 cat conftest.err >&5
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); } &&
11971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11972 { (case "(($ac_try" in
11973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11974 *) ac_try_echo=$ac_try;;
11975 esac
11976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11977 (eval "$ac_try") 2>&5
11978 ac_status=$?
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); }; } &&
11981 { ac_try='test -s conftest$ac_exeext'
11982 { (case "(($ac_try" in
11983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11984 *) ac_try_echo=$ac_try;;
11985 esac
11986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11987 (eval "$ac_try") 2>&5
11988 ac_status=$?
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); }; }; then
11991 ac_cv_lib_resolv_res_query=yes
11992 else
11993 echo "$as_me: failed program was:" >&5
11994 sed 's/^/| /' conftest.$ac_ext >&5
11996 ac_cv_lib_resolv_res_query=no
11999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12000 conftest$ac_exeext conftest.$ac_ext
12001 LIBS=$ac_check_lib_save_LIBS
12003 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12004 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12005 if test $ac_cv_lib_resolv_res_query = yes; then
12007 cat >>confdefs.h <<\_ACEOF
12008 #define HAVE_RESOLV 1
12009 _ACEOF
12011 RESOLVLIBS="-lresolv"
12016 LCMSLIBS=""
12018 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12019 then
12020 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12021 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12022 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12024 else
12025 ac_check_lib_save_LIBS=$LIBS
12026 LIBS="-llcms $LIBS"
12027 cat >conftest.$ac_ext <<_ACEOF
12028 /* confdefs.h. */
12029 _ACEOF
12030 cat confdefs.h >>conftest.$ac_ext
12031 cat >>conftest.$ac_ext <<_ACEOF
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 #ifdef __cplusplus
12038 extern "C"
12039 #endif
12040 char cmsOpenProfileFromFile ();
12042 main ()
12044 return cmsOpenProfileFromFile ();
12046 return 0;
12048 _ACEOF
12049 rm -f conftest.$ac_objext conftest$ac_exeext
12050 if { (ac_try="$ac_link"
12051 case "(($ac_try" in
12052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12053 *) ac_try_echo=$ac_try;;
12054 esac
12055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12056 (eval "$ac_link") 2>conftest.er1
12057 ac_status=$?
12058 grep -v '^ *+' conftest.er1 >conftest.err
12059 rm -f conftest.er1
12060 cat conftest.err >&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } &&
12063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12064 { (case "(($ac_try" in
12065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12066 *) ac_try_echo=$ac_try;;
12067 esac
12068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12069 (eval "$ac_try") 2>&5
12070 ac_status=$?
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; } &&
12073 { ac_try='test -s conftest$ac_exeext'
12074 { (case "(($ac_try" in
12075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12076 *) ac_try_echo=$ac_try;;
12077 esac
12078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12079 (eval "$ac_try") 2>&5
12080 ac_status=$?
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }; }; then
12083 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12084 else
12085 echo "$as_me: failed program was:" >&5
12086 sed 's/^/| /' conftest.$ac_ext >&5
12088 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12092 conftest$ac_exeext conftest.$ac_ext
12093 LIBS=$ac_check_lib_save_LIBS
12095 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12096 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12097 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12099 cat >>confdefs.h <<\_ACEOF
12100 #define HAVE_LCMS 1
12101 _ACEOF
12103 LCMSLIBS="-llcms"
12108 LDAPLIBS=""
12110 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12111 then
12112 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12113 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12114 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12115 echo $ECHO_N "(cached) $ECHO_C" >&6
12116 else
12117 ac_check_lib_save_LIBS=$LIBS
12118 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12119 cat >conftest.$ac_ext <<_ACEOF
12120 /* confdefs.h. */
12121 _ACEOF
12122 cat confdefs.h >>conftest.$ac_ext
12123 cat >>conftest.$ac_ext <<_ACEOF
12124 /* end confdefs.h. */
12126 /* Override any GCC internal prototype to avoid an error.
12127 Use char because int might match the return type of a GCC
12128 builtin and then its argument prototype would still apply. */
12129 #ifdef __cplusplus
12130 extern "C"
12131 #endif
12132 char ldap_initialize ();
12134 main ()
12136 return ldap_initialize ();
12138 return 0;
12140 _ACEOF
12141 rm -f conftest.$ac_objext conftest$ac_exeext
12142 if { (ac_try="$ac_link"
12143 case "(($ac_try" in
12144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12145 *) ac_try_echo=$ac_try;;
12146 esac
12147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12148 (eval "$ac_link") 2>conftest.er1
12149 ac_status=$?
12150 grep -v '^ *+' conftest.er1 >conftest.err
12151 rm -f conftest.er1
12152 cat conftest.err >&5
12153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154 (exit $ac_status); } &&
12155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12156 { (case "(($ac_try" in
12157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12158 *) ac_try_echo=$ac_try;;
12159 esac
12160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12161 (eval "$ac_try") 2>&5
12162 ac_status=$?
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); }; } &&
12165 { ac_try='test -s conftest$ac_exeext'
12166 { (case "(($ac_try" in
12167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12168 *) ac_try_echo=$ac_try;;
12169 esac
12170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12171 (eval "$ac_try") 2>&5
12172 ac_status=$?
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); }; }; then
12175 ac_cv_lib_ldap_r_ldap_initialize=yes
12176 else
12177 echo "$as_me: failed program was:" >&5
12178 sed 's/^/| /' conftest.$ac_ext >&5
12180 ac_cv_lib_ldap_r_ldap_initialize=no
12183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12184 conftest$ac_exeext conftest.$ac_ext
12185 LIBS=$ac_check_lib_save_LIBS
12187 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12188 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12189 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12190 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12191 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12192 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12193 echo $ECHO_N "(cached) $ECHO_C" >&6
12194 else
12195 ac_check_lib_save_LIBS=$LIBS
12196 LIBS="-llber $LIBPTHREAD $LIBS"
12197 cat >conftest.$ac_ext <<_ACEOF
12198 /* confdefs.h. */
12199 _ACEOF
12200 cat confdefs.h >>conftest.$ac_ext
12201 cat >>conftest.$ac_ext <<_ACEOF
12202 /* end confdefs.h. */
12204 /* Override any GCC internal prototype to avoid an error.
12205 Use char because int might match the return type of a GCC
12206 builtin and then its argument prototype would still apply. */
12207 #ifdef __cplusplus
12208 extern "C"
12209 #endif
12210 char ber_init ();
12212 main ()
12214 return ber_init ();
12216 return 0;
12218 _ACEOF
12219 rm -f conftest.$ac_objext conftest$ac_exeext
12220 if { (ac_try="$ac_link"
12221 case "(($ac_try" in
12222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12223 *) ac_try_echo=$ac_try;;
12224 esac
12225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12226 (eval "$ac_link") 2>conftest.er1
12227 ac_status=$?
12228 grep -v '^ *+' conftest.er1 >conftest.err
12229 rm -f conftest.er1
12230 cat conftest.err >&5
12231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232 (exit $ac_status); } &&
12233 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12234 { (case "(($ac_try" in
12235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12236 *) ac_try_echo=$ac_try;;
12237 esac
12238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12239 (eval "$ac_try") 2>&5
12240 ac_status=$?
12241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242 (exit $ac_status); }; } &&
12243 { ac_try='test -s conftest$ac_exeext'
12244 { (case "(($ac_try" in
12245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12246 *) ac_try_echo=$ac_try;;
12247 esac
12248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12249 (eval "$ac_try") 2>&5
12250 ac_status=$?
12251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12252 (exit $ac_status); }; }; then
12253 ac_cv_lib_lber_ber_init=yes
12254 else
12255 echo "$as_me: failed program was:" >&5
12256 sed 's/^/| /' conftest.$ac_ext >&5
12258 ac_cv_lib_lber_ber_init=no
12261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12262 conftest$ac_exeext conftest.$ac_ext
12263 LIBS=$ac_check_lib_save_LIBS
12265 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12266 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12267 if test $ac_cv_lib_lber_ber_init = yes; then
12269 cat >>confdefs.h <<\_ACEOF
12270 #define HAVE_LDAP 1
12271 _ACEOF
12273 LDAPLIBS="-lldap_r -llber"
12278 ac_wine_check_funcs_save_LIBS="$LIBS"
12279 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12284 for ac_func in \
12285 ldap_count_references \
12286 ldap_first_reference \
12287 ldap_next_reference \
12288 ldap_parse_reference
12290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12293 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12294 echo $ECHO_N "(cached) $ECHO_C" >&6
12295 else
12296 cat >conftest.$ac_ext <<_ACEOF
12297 /* confdefs.h. */
12298 _ACEOF
12299 cat confdefs.h >>conftest.$ac_ext
12300 cat >>conftest.$ac_ext <<_ACEOF
12301 /* end confdefs.h. */
12302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12304 #define $ac_func innocuous_$ac_func
12306 /* System header to define __stub macros and hopefully few prototypes,
12307 which can conflict with char $ac_func (); below.
12308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12309 <limits.h> exists even on freestanding compilers. */
12311 #ifdef __STDC__
12312 # include <limits.h>
12313 #else
12314 # include <assert.h>
12315 #endif
12317 #undef $ac_func
12319 /* Override any GCC internal prototype to avoid an error.
12320 Use char because int might match the return type of a GCC
12321 builtin and then its argument prototype would still apply. */
12322 #ifdef __cplusplus
12323 extern "C"
12324 #endif
12325 char $ac_func ();
12326 /* The GNU C library defines this for functions which it implements
12327 to always fail with ENOSYS. Some functions are actually named
12328 something starting with __ and the normal name is an alias. */
12329 #if defined __stub_$ac_func || defined __stub___$ac_func
12330 choke me
12331 #endif
12334 main ()
12336 return $ac_func ();
12338 return 0;
12340 _ACEOF
12341 rm -f conftest.$ac_objext conftest$ac_exeext
12342 if { (ac_try="$ac_link"
12343 case "(($ac_try" in
12344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12345 *) ac_try_echo=$ac_try;;
12346 esac
12347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12348 (eval "$ac_link") 2>conftest.er1
12349 ac_status=$?
12350 grep -v '^ *+' conftest.er1 >conftest.err
12351 rm -f conftest.er1
12352 cat conftest.err >&5
12353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354 (exit $ac_status); } &&
12355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12356 { (case "(($ac_try" in
12357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12358 *) ac_try_echo=$ac_try;;
12359 esac
12360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12361 (eval "$ac_try") 2>&5
12362 ac_status=$?
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; } &&
12365 { ac_try='test -s conftest$ac_exeext'
12366 { (case "(($ac_try" in
12367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12368 *) ac_try_echo=$ac_try;;
12369 esac
12370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12371 (eval "$ac_try") 2>&5
12372 ac_status=$?
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; }; then
12375 eval "$as_ac_var=yes"
12376 else
12377 echo "$as_me: failed program was:" >&5
12378 sed 's/^/| /' conftest.$ac_ext >&5
12380 eval "$as_ac_var=no"
12383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12384 conftest$ac_exeext conftest.$ac_ext
12386 ac_res=`eval echo '${'$as_ac_var'}'`
12387 { echo "$as_me:$LINENO: result: $ac_res" >&5
12388 echo "${ECHO_T}$ac_res" >&6; }
12389 if test `eval echo '${'$as_ac_var'}'` = yes; then
12390 cat >>confdefs.h <<_ACEOF
12391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12392 _ACEOF
12395 done
12397 LIBS="$ac_wine_check_funcs_save_LIBS"
12400 FREETYPELIBS=""
12402 FREETYPEINCL=""
12404 # Extract the first word of "freetype-config", so it can be a program name with args.
12405 set dummy freetype-config; ac_word=$2
12406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12408 if test "${ac_cv_prog_ft_devel+set}" = set; then
12409 echo $ECHO_N "(cached) $ECHO_C" >&6
12410 else
12411 if test -n "$ft_devel"; then
12412 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12413 else
12414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12415 for as_dir in $PATH
12417 IFS=$as_save_IFS
12418 test -z "$as_dir" && as_dir=.
12419 for ac_exec_ext in '' $ac_executable_extensions; do
12420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12421 ac_cv_prog_ft_devel="freetype-config"
12422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12423 break 2
12425 done
12426 done
12427 IFS=$as_save_IFS
12429 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12432 ft_devel=$ac_cv_prog_ft_devel
12433 if test -n "$ft_devel"; then
12434 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12435 echo "${ECHO_T}$ft_devel" >&6; }
12436 else
12437 { echo "$as_me:$LINENO: result: no" >&5
12438 echo "${ECHO_T}no" >&6; }
12442 if test "$ft_devel" = "no"
12443 then
12444 # Extract the first word of "freetype2-config", so it can be a program name with args.
12445 set dummy freetype2-config; ac_word=$2
12446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12448 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12449 echo $ECHO_N "(cached) $ECHO_C" >&6
12450 else
12451 if test -n "$ft_devel2"; then
12452 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12453 else
12454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12455 for as_dir in $PATH
12457 IFS=$as_save_IFS
12458 test -z "$as_dir" && as_dir=.
12459 for ac_exec_ext in '' $ac_executable_extensions; do
12460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12461 ac_cv_prog_ft_devel2="freetype2-config"
12462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12463 break 2
12465 done
12466 done
12467 IFS=$as_save_IFS
12469 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12472 ft_devel2=$ac_cv_prog_ft_devel2
12473 if test -n "$ft_devel2"; then
12474 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12475 echo "${ECHO_T}$ft_devel2" >&6; }
12476 else
12477 { echo "$as_me:$LINENO: result: no" >&5
12478 echo "${ECHO_T}no" >&6; }
12482 if test "$ft_devel2" = "freetype2-config"
12483 then
12484 ft_devel=$ft_devel2
12488 if test "$ft_devel" = "no"
12489 then
12490 wine_cv_msg_freetype=yes
12491 else
12492 FREETYPELIBS=`$ft_devel --libs`
12493 FREETYPEINCL=`$ft_devel --cflags`
12494 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12495 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12496 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12497 echo $ECHO_N "(cached) $ECHO_C" >&6
12498 else
12499 ac_check_lib_save_LIBS=$LIBS
12500 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12501 cat >conftest.$ac_ext <<_ACEOF
12502 /* confdefs.h. */
12503 _ACEOF
12504 cat confdefs.h >>conftest.$ac_ext
12505 cat >>conftest.$ac_ext <<_ACEOF
12506 /* end confdefs.h. */
12508 /* Override any GCC internal prototype to avoid an error.
12509 Use char because int might match the return type of a GCC
12510 builtin and then its argument prototype would still apply. */
12511 #ifdef __cplusplus
12512 extern "C"
12513 #endif
12514 char FT_Init_FreeType ();
12516 main ()
12518 return FT_Init_FreeType ();
12520 return 0;
12522 _ACEOF
12523 rm -f conftest.$ac_objext conftest$ac_exeext
12524 if { (ac_try="$ac_link"
12525 case "(($ac_try" in
12526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12527 *) ac_try_echo=$ac_try;;
12528 esac
12529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12530 (eval "$ac_link") 2>conftest.er1
12531 ac_status=$?
12532 grep -v '^ *+' conftest.er1 >conftest.err
12533 rm -f conftest.er1
12534 cat conftest.err >&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); } &&
12537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12538 { (case "(($ac_try" in
12539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12540 *) ac_try_echo=$ac_try;;
12541 esac
12542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12543 (eval "$ac_try") 2>&5
12544 ac_status=$?
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; } &&
12547 { ac_try='test -s conftest$ac_exeext'
12548 { (case "(($ac_try" in
12549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12550 *) ac_try_echo=$ac_try;;
12551 esac
12552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12553 (eval "$ac_try") 2>&5
12554 ac_status=$?
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; }; then
12557 ac_cv_lib_freetype_FT_Init_FreeType=yes
12558 else
12559 echo "$as_me: failed program was:" >&5
12560 sed 's/^/| /' conftest.$ac_ext >&5
12562 ac_cv_lib_freetype_FT_Init_FreeType=no
12565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12566 conftest$ac_exeext conftest.$ac_ext
12567 LIBS=$ac_check_lib_save_LIBS
12569 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12570 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12571 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12572 ft_lib=yes
12573 else
12574 ft_lib=no
12577 if test "$ft_lib" = "no"
12578 then
12579 wine_cv_msg_freetype=yes
12580 FREETYPELIBS=""
12581 FREETYPEINCL=""
12582 else
12583 ac_save_CPPFLAGS="$CPPFLAGS"
12584 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12596 for ac_header in ft2build.h \
12597 freetype/freetype.h \
12598 freetype/ftglyph.h \
12599 freetype/tttables.h \
12600 freetype/ftnames.h \
12601 freetype/ftsnames.h \
12602 freetype/ttnameid.h \
12603 freetype/ftoutln.h \
12604 freetype/ftwinfnt.h \
12605 freetype/ftmodapi.h \
12606 freetype/internal/sfnt.h
12608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12612 echo $ECHO_N "(cached) $ECHO_C" >&6
12613 else
12614 cat >conftest.$ac_ext <<_ACEOF
12615 /* confdefs.h. */
12616 _ACEOF
12617 cat confdefs.h >>conftest.$ac_ext
12618 cat >>conftest.$ac_ext <<_ACEOF
12619 /* end confdefs.h. */
12620 #if HAVE_FT2BUILD_H
12621 #include <ft2build.h>
12622 #endif
12624 #include <$ac_header>
12625 _ACEOF
12626 rm -f conftest.$ac_objext
12627 if { (ac_try="$ac_compile"
12628 case "(($ac_try" in
12629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12630 *) ac_try_echo=$ac_try;;
12631 esac
12632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12633 (eval "$ac_compile") 2>conftest.er1
12634 ac_status=$?
12635 grep -v '^ *+' conftest.er1 >conftest.err
12636 rm -f conftest.er1
12637 cat conftest.err >&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); } &&
12640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12641 { (case "(($ac_try" in
12642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12643 *) ac_try_echo=$ac_try;;
12644 esac
12645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12646 (eval "$ac_try") 2>&5
12647 ac_status=$?
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); }; } &&
12650 { ac_try='test -s conftest.$ac_objext'
12651 { (case "(($ac_try" in
12652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12653 *) ac_try_echo=$ac_try;;
12654 esac
12655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12656 (eval "$ac_try") 2>&5
12657 ac_status=$?
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); }; }; then
12660 eval "$as_ac_Header=yes"
12661 else
12662 echo "$as_me: failed program was:" >&5
12663 sed 's/^/| /' conftest.$ac_ext >&5
12665 eval "$as_ac_Header=no"
12668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12670 ac_res=`eval echo '${'$as_ac_Header'}'`
12671 { echo "$as_me:$LINENO: result: $ac_res" >&5
12672 echo "${ECHO_T}$ac_res" >&6; }
12673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12674 cat >>confdefs.h <<_ACEOF
12675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12676 _ACEOF
12680 done
12682 cat >conftest.$ac_ext <<_ACEOF
12683 /* confdefs.h. */
12684 _ACEOF
12685 cat confdefs.h >>conftest.$ac_ext
12686 cat >>conftest.$ac_ext <<_ACEOF
12687 /* end confdefs.h. */
12688 #include <ft2build.h>
12689 #include <freetype/fttrigon.h>
12690 _ACEOF
12691 if { (ac_try="$ac_cpp conftest.$ac_ext"
12692 case "(($ac_try" in
12693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12694 *) ac_try_echo=$ac_try;;
12695 esac
12696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12698 ac_status=$?
12699 grep -v '^ *+' conftest.er1 >conftest.err
12700 rm -f conftest.er1
12701 cat conftest.err >&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); } >/dev/null; then
12704 if test -s conftest.err; then
12705 ac_cpp_err=$ac_c_preproc_warn_flag
12706 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12707 else
12708 ac_cpp_err=
12710 else
12711 ac_cpp_err=yes
12713 if test -z "$ac_cpp_err"; then
12715 cat >>confdefs.h <<\_ACEOF
12716 #define HAVE_FREETYPE_FTTRIGON_H 1
12717 _ACEOF
12719 wine_cv_fttrigon=yes
12720 else
12721 echo "$as_me: failed program was:" >&5
12722 sed 's/^/| /' conftest.$ac_ext >&5
12724 wine_cv_fttrigon=no
12727 rm -f conftest.err conftest.$ac_ext
12728 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12729 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12730 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12731 echo $ECHO_N "(cached) $ECHO_C" >&6
12732 else
12733 cat >conftest.$ac_ext <<_ACEOF
12734 /* confdefs.h. */
12735 _ACEOF
12736 cat confdefs.h >>conftest.$ac_ext
12737 cat >>conftest.$ac_ext <<_ACEOF
12738 /* end confdefs.h. */
12739 #include <freetype/ftmodapi.h>
12741 typedef FT_TrueTypeEngineType ac__type_new_;
12743 main ()
12745 if ((ac__type_new_ *) 0)
12746 return 0;
12747 if (sizeof (ac__type_new_))
12748 return 0;
12750 return 0;
12752 _ACEOF
12753 rm -f conftest.$ac_objext
12754 if { (ac_try="$ac_compile"
12755 case "(($ac_try" in
12756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12757 *) ac_try_echo=$ac_try;;
12758 esac
12759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12760 (eval "$ac_compile") 2>conftest.er1
12761 ac_status=$?
12762 grep -v '^ *+' conftest.er1 >conftest.err
12763 rm -f conftest.er1
12764 cat conftest.err >&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); } &&
12767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12768 { (case "(($ac_try" in
12769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12770 *) ac_try_echo=$ac_try;;
12771 esac
12772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12773 (eval "$ac_try") 2>&5
12774 ac_status=$?
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; } &&
12777 { ac_try='test -s conftest.$ac_objext'
12778 { (case "(($ac_try" in
12779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12780 *) ac_try_echo=$ac_try;;
12781 esac
12782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12783 (eval "$ac_try") 2>&5
12784 ac_status=$?
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); }; }; then
12787 ac_cv_type_FT_TrueTypeEngineType=yes
12788 else
12789 echo "$as_me: failed program was:" >&5
12790 sed 's/^/| /' conftest.$ac_ext >&5
12792 ac_cv_type_FT_TrueTypeEngineType=no
12795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12797 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12798 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12799 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12801 cat >>confdefs.h <<_ACEOF
12802 #define HAVE_FT_TRUETYPEENGINETYPE 1
12803 _ACEOF
12808 ac_save_CFLAGS="$CFLAGS"
12809 CFLAGS="$CFLAGS $FREETYPELIBS"
12811 for ac_func in FT_Load_Sfnt_Table
12813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12814 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12816 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12817 echo $ECHO_N "(cached) $ECHO_C" >&6
12818 else
12819 cat >conftest.$ac_ext <<_ACEOF
12820 /* confdefs.h. */
12821 _ACEOF
12822 cat confdefs.h >>conftest.$ac_ext
12823 cat >>conftest.$ac_ext <<_ACEOF
12824 /* end confdefs.h. */
12825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12827 #define $ac_func innocuous_$ac_func
12829 /* System header to define __stub macros and hopefully few prototypes,
12830 which can conflict with char $ac_func (); below.
12831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12832 <limits.h> exists even on freestanding compilers. */
12834 #ifdef __STDC__
12835 # include <limits.h>
12836 #else
12837 # include <assert.h>
12838 #endif
12840 #undef $ac_func
12842 /* Override any GCC internal prototype to avoid an error.
12843 Use char because int might match the return type of a GCC
12844 builtin and then its argument prototype would still apply. */
12845 #ifdef __cplusplus
12846 extern "C"
12847 #endif
12848 char $ac_func ();
12849 /* The GNU C library defines this for functions which it implements
12850 to always fail with ENOSYS. Some functions are actually named
12851 something starting with __ and the normal name is an alias. */
12852 #if defined __stub_$ac_func || defined __stub___$ac_func
12853 choke me
12854 #endif
12857 main ()
12859 return $ac_func ();
12861 return 0;
12863 _ACEOF
12864 rm -f conftest.$ac_objext conftest$ac_exeext
12865 if { (ac_try="$ac_link"
12866 case "(($ac_try" in
12867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12868 *) ac_try_echo=$ac_try;;
12869 esac
12870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12871 (eval "$ac_link") 2>conftest.er1
12872 ac_status=$?
12873 grep -v '^ *+' conftest.er1 >conftest.err
12874 rm -f conftest.er1
12875 cat conftest.err >&5
12876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12877 (exit $ac_status); } &&
12878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12879 { (case "(($ac_try" in
12880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12881 *) ac_try_echo=$ac_try;;
12882 esac
12883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12884 (eval "$ac_try") 2>&5
12885 ac_status=$?
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); }; } &&
12888 { ac_try='test -s conftest$ac_exeext'
12889 { (case "(($ac_try" in
12890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12891 *) ac_try_echo=$ac_try;;
12892 esac
12893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12894 (eval "$ac_try") 2>&5
12895 ac_status=$?
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; }; then
12898 eval "$as_ac_var=yes"
12899 else
12900 echo "$as_me: failed program was:" >&5
12901 sed 's/^/| /' conftest.$ac_ext >&5
12903 eval "$as_ac_var=no"
12906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12907 conftest$ac_exeext conftest.$ac_ext
12909 ac_res=`eval echo '${'$as_ac_var'}'`
12910 { echo "$as_me:$LINENO: result: $ac_res" >&5
12911 echo "${ECHO_T}$ac_res" >&6; }
12912 if test `eval echo '${'$as_ac_var'}'` = yes; then
12913 cat >>confdefs.h <<_ACEOF
12914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12915 _ACEOF
12918 done
12920 CFLAGS="$ac_save_CFLAGS"
12921 CPPFLAGS="$ac_save_CPPFLAGS"
12922 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12923 then
12925 cat >>confdefs.h <<\_ACEOF
12926 #define HAVE_FREETYPE 1
12927 _ACEOF
12929 wine_cv_msg_freetype=no
12930 else
12931 FREETYPELIBS=""
12932 FREETYPEINCL=""
12933 wine_cv_msg_freetype=yes
12938 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12939 then
12940 FONTSSUBDIRS="fonts"
12944 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12945 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12946 if test "${ac_cv_c_ppdev+set}" = set; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 else
12949 cat >conftest.$ac_ext <<_ACEOF
12950 /* confdefs.h. */
12951 _ACEOF
12952 cat confdefs.h >>conftest.$ac_ext
12953 cat >>conftest.$ac_ext <<_ACEOF
12954 /* end confdefs.h. */
12955 #include <linux/ppdev.h>
12957 main ()
12959 ioctl (1,PPCLAIM,0)
12961 return 0;
12963 _ACEOF
12964 rm -f conftest.$ac_objext
12965 if { (ac_try="$ac_compile"
12966 case "(($ac_try" in
12967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12968 *) ac_try_echo=$ac_try;;
12969 esac
12970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12971 (eval "$ac_compile") 2>conftest.er1
12972 ac_status=$?
12973 grep -v '^ *+' conftest.er1 >conftest.err
12974 rm -f conftest.er1
12975 cat conftest.err >&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12979 { (case "(($ac_try" in
12980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12981 *) ac_try_echo=$ac_try;;
12982 esac
12983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12984 (eval "$ac_try") 2>&5
12985 ac_status=$?
12986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); }; } &&
12988 { ac_try='test -s conftest.$ac_objext'
12989 { (case "(($ac_try" in
12990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12991 *) ac_try_echo=$ac_try;;
12992 esac
12993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12994 (eval "$ac_try") 2>&5
12995 ac_status=$?
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; }; then
12998 ac_cv_c_ppdev="yes"
12999 else
13000 echo "$as_me: failed program was:" >&5
13001 sed 's/^/| /' conftest.$ac_ext >&5
13003 ac_cv_c_ppdev="no"
13006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13009 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13010 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13011 if test "$ac_cv_c_ppdev" = "yes"
13012 then
13014 cat >>confdefs.h <<\_ACEOF
13015 #define HAVE_PPDEV 1
13016 _ACEOF
13020 { echo "$as_me:$LINENO: checking for va_copy" >&5
13021 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13022 if test "${ac_cv_c_va_copy+set}" = set; then
13023 echo $ECHO_N "(cached) $ECHO_C" >&6
13024 else
13025 cat >conftest.$ac_ext <<_ACEOF
13026 /* confdefs.h. */
13027 _ACEOF
13028 cat confdefs.h >>conftest.$ac_ext
13029 cat >>conftest.$ac_ext <<_ACEOF
13030 /* end confdefs.h. */
13031 #include <stdarg.h>
13033 main ()
13035 va_list ap1, ap2;
13036 va_copy(ap1,ap2);
13039 return 0;
13041 _ACEOF
13042 rm -f conftest.$ac_objext conftest$ac_exeext
13043 if { (ac_try="$ac_link"
13044 case "(($ac_try" in
13045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13046 *) ac_try_echo=$ac_try;;
13047 esac
13048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13049 (eval "$ac_link") 2>conftest.er1
13050 ac_status=$?
13051 grep -v '^ *+' conftest.er1 >conftest.err
13052 rm -f conftest.er1
13053 cat conftest.err >&5
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); } &&
13056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13057 { (case "(($ac_try" in
13058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13059 *) ac_try_echo=$ac_try;;
13060 esac
13061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13062 (eval "$ac_try") 2>&5
13063 ac_status=$?
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } &&
13066 { ac_try='test -s conftest$ac_exeext'
13067 { (case "(($ac_try" in
13068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13069 *) ac_try_echo=$ac_try;;
13070 esac
13071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13072 (eval "$ac_try") 2>&5
13073 ac_status=$?
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; }; then
13076 ac_cv_c_va_copy="yes"
13077 else
13078 echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.$ac_ext >&5
13081 ac_cv_c_va_copy="no"
13084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13085 conftest$ac_exeext conftest.$ac_ext
13088 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13089 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13090 if test "$ac_cv_c_va_copy" = "yes"
13091 then
13093 cat >>confdefs.h <<\_ACEOF
13094 #define HAVE_VA_COPY 1
13095 _ACEOF
13098 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13099 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13100 if test "${ac_cv_c___va_copy+set}" = set; then
13101 echo $ECHO_N "(cached) $ECHO_C" >&6
13102 else
13103 cat >conftest.$ac_ext <<_ACEOF
13104 /* confdefs.h. */
13105 _ACEOF
13106 cat confdefs.h >>conftest.$ac_ext
13107 cat >>conftest.$ac_ext <<_ACEOF
13108 /* end confdefs.h. */
13109 #include <stdarg.h>
13111 main ()
13113 va_list ap1, ap2;
13114 __va_copy(ap1,ap2);
13117 return 0;
13119 _ACEOF
13120 rm -f conftest.$ac_objext conftest$ac_exeext
13121 if { (ac_try="$ac_link"
13122 case "(($ac_try" in
13123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13124 *) ac_try_echo=$ac_try;;
13125 esac
13126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13127 (eval "$ac_link") 2>conftest.er1
13128 ac_status=$?
13129 grep -v '^ *+' conftest.er1 >conftest.err
13130 rm -f conftest.er1
13131 cat conftest.err >&5
13132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 (exit $ac_status); } &&
13134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13135 { (case "(($ac_try" in
13136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13137 *) ac_try_echo=$ac_try;;
13138 esac
13139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13140 (eval "$ac_try") 2>&5
13141 ac_status=$?
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; } &&
13144 { ac_try='test -s conftest$ac_exeext'
13145 { (case "(($ac_try" in
13146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13147 *) ac_try_echo=$ac_try;;
13148 esac
13149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13150 (eval "$ac_try") 2>&5
13151 ac_status=$?
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); }; }; then
13154 ac_cv_c___va_copy="yes"
13155 else
13156 echo "$as_me: failed program was:" >&5
13157 sed 's/^/| /' conftest.$ac_ext >&5
13159 ac_cv_c___va_copy="no"
13162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13163 conftest$ac_exeext conftest.$ac_ext
13166 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13167 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13168 if test "$ac_cv_c___va_copy" = "yes"
13169 then
13171 cat >>confdefs.h <<\_ACEOF
13172 #define HAVE___VA_COPY 1
13173 _ACEOF
13177 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13178 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13179 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13180 echo $ECHO_N "(cached) $ECHO_C" >&6
13181 else
13182 cat >conftest.$ac_ext <<_ACEOF
13183 /* confdefs.h. */
13184 _ACEOF
13185 cat confdefs.h >>conftest.$ac_ext
13186 cat >>conftest.$ac_ext <<_ACEOF
13187 /* end confdefs.h. */
13188 #include <setjmp.h>
13190 main ()
13192 sigjmp_buf buf;
13193 sigsetjmp( buf, 1 );
13194 siglongjmp( buf, 1 );
13196 return 0;
13198 _ACEOF
13199 rm -f conftest.$ac_objext conftest$ac_exeext
13200 if { (ac_try="$ac_link"
13201 case "(($ac_try" in
13202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13203 *) ac_try_echo=$ac_try;;
13204 esac
13205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13206 (eval "$ac_link") 2>conftest.er1
13207 ac_status=$?
13208 grep -v '^ *+' conftest.er1 >conftest.err
13209 rm -f conftest.er1
13210 cat conftest.err >&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } &&
13213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13214 { (case "(($ac_try" in
13215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13216 *) ac_try_echo=$ac_try;;
13217 esac
13218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13219 (eval "$ac_try") 2>&5
13220 ac_status=$?
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); }; } &&
13223 { ac_try='test -s conftest$ac_exeext'
13224 { (case "(($ac_try" in
13225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13226 *) ac_try_echo=$ac_try;;
13227 esac
13228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13229 (eval "$ac_try") 2>&5
13230 ac_status=$?
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 ac_cv_c_sigsetjmp="yes"
13234 else
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.$ac_ext >&5
13238 ac_cv_c_sigsetjmp="no"
13241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13242 conftest$ac_exeext conftest.$ac_ext
13245 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13246 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13247 if test "$ac_cv_c_sigsetjmp" = "yes"
13248 then
13250 cat >>confdefs.h <<\_ACEOF
13251 #define HAVE_SIGSETJMP 1
13252 _ACEOF
13256 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13257 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13258 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13259 echo $ECHO_N "(cached) $ECHO_C" >&6
13260 else
13261 cat >conftest.$ac_ext <<_ACEOF
13262 /* confdefs.h. */
13263 _ACEOF
13264 cat confdefs.h >>conftest.$ac_ext
13265 cat >>conftest.$ac_ext <<_ACEOF
13266 /* end confdefs.h. */
13267 #define _GNU_SOURCE
13268 #include <pthread.h>
13270 typedef pthread_rwlock_t ac__type_new_;
13272 main ()
13274 if ((ac__type_new_ *) 0)
13275 return 0;
13276 if (sizeof (ac__type_new_))
13277 return 0;
13279 return 0;
13281 _ACEOF
13282 rm -f conftest.$ac_objext
13283 if { (ac_try="$ac_compile"
13284 case "(($ac_try" in
13285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13286 *) ac_try_echo=$ac_try;;
13287 esac
13288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13289 (eval "$ac_compile") 2>conftest.er1
13290 ac_status=$?
13291 grep -v '^ *+' conftest.er1 >conftest.err
13292 rm -f conftest.er1
13293 cat conftest.err >&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); } &&
13296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13297 { (case "(($ac_try" in
13298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13299 *) ac_try_echo=$ac_try;;
13300 esac
13301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13302 (eval "$ac_try") 2>&5
13303 ac_status=$?
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); }; } &&
13306 { ac_try='test -s conftest.$ac_objext'
13307 { (case "(($ac_try" in
13308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13309 *) ac_try_echo=$ac_try;;
13310 esac
13311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13312 (eval "$ac_try") 2>&5
13313 ac_status=$?
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; }; then
13316 ac_cv_type_pthread_rwlock_t=yes
13317 else
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.$ac_ext >&5
13321 ac_cv_type_pthread_rwlock_t=no
13324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13326 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13327 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13328 if test $ac_cv_type_pthread_rwlock_t = yes; then
13330 cat >>confdefs.h <<_ACEOF
13331 #define HAVE_PTHREAD_RWLOCK_T 1
13332 _ACEOF
13336 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13337 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13338 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13339 echo $ECHO_N "(cached) $ECHO_C" >&6
13340 else
13341 cat >conftest.$ac_ext <<_ACEOF
13342 /* confdefs.h. */
13343 _ACEOF
13344 cat confdefs.h >>conftest.$ac_ext
13345 cat >>conftest.$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13347 #define _GNU_SOURCE
13348 #include <pthread.h>
13350 typedef pthread_rwlockattr_t ac__type_new_;
13352 main ()
13354 if ((ac__type_new_ *) 0)
13355 return 0;
13356 if (sizeof (ac__type_new_))
13357 return 0;
13359 return 0;
13361 _ACEOF
13362 rm -f conftest.$ac_objext
13363 if { (ac_try="$ac_compile"
13364 case "(($ac_try" in
13365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13366 *) ac_try_echo=$ac_try;;
13367 esac
13368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13369 (eval "$ac_compile") 2>conftest.er1
13370 ac_status=$?
13371 grep -v '^ *+' conftest.er1 >conftest.err
13372 rm -f conftest.er1
13373 cat conftest.err >&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } &&
13376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13377 { (case "(($ac_try" in
13378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13379 *) ac_try_echo=$ac_try;;
13380 esac
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 (eval "$ac_try") 2>&5
13383 ac_status=$?
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; } &&
13386 { ac_try='test -s conftest.$ac_objext'
13387 { (case "(($ac_try" in
13388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13389 *) ac_try_echo=$ac_try;;
13390 esac
13391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13392 (eval "$ac_try") 2>&5
13393 ac_status=$?
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }; }; then
13396 ac_cv_type_pthread_rwlockattr_t=yes
13397 else
13398 echo "$as_me: failed program was:" >&5
13399 sed 's/^/| /' conftest.$ac_ext >&5
13401 ac_cv_type_pthread_rwlockattr_t=no
13404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13406 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13407 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13408 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13410 cat >>confdefs.h <<_ACEOF
13411 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13412 _ACEOF
13418 ac_wine_check_funcs_save_LIBS="$LIBS"
13419 LIBS="$LIBS $LIBPTHREAD"
13424 for ac_func in \
13425 pthread_attr_get_np \
13426 pthread_getattr_np \
13427 pthread_get_stackaddr_np \
13428 pthread_get_stacksize_np
13430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13433 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13434 echo $ECHO_N "(cached) $ECHO_C" >&6
13435 else
13436 cat >conftest.$ac_ext <<_ACEOF
13437 /* confdefs.h. */
13438 _ACEOF
13439 cat confdefs.h >>conftest.$ac_ext
13440 cat >>conftest.$ac_ext <<_ACEOF
13441 /* end confdefs.h. */
13442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13444 #define $ac_func innocuous_$ac_func
13446 /* System header to define __stub macros and hopefully few prototypes,
13447 which can conflict with char $ac_func (); below.
13448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13449 <limits.h> exists even on freestanding compilers. */
13451 #ifdef __STDC__
13452 # include <limits.h>
13453 #else
13454 # include <assert.h>
13455 #endif
13457 #undef $ac_func
13459 /* Override any GCC internal prototype to avoid an error.
13460 Use char because int might match the return type of a GCC
13461 builtin and then its argument prototype would still apply. */
13462 #ifdef __cplusplus
13463 extern "C"
13464 #endif
13465 char $ac_func ();
13466 /* The GNU C library defines this for functions which it implements
13467 to always fail with ENOSYS. Some functions are actually named
13468 something starting with __ and the normal name is an alias. */
13469 #if defined __stub_$ac_func || defined __stub___$ac_func
13470 choke me
13471 #endif
13474 main ()
13476 return $ac_func ();
13478 return 0;
13480 _ACEOF
13481 rm -f conftest.$ac_objext conftest$ac_exeext
13482 if { (ac_try="$ac_link"
13483 case "(($ac_try" in
13484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13485 *) ac_try_echo=$ac_try;;
13486 esac
13487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13488 (eval "$ac_link") 2>conftest.er1
13489 ac_status=$?
13490 grep -v '^ *+' conftest.er1 >conftest.err
13491 rm -f conftest.er1
13492 cat conftest.err >&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); } &&
13495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13496 { (case "(($ac_try" in
13497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13498 *) ac_try_echo=$ac_try;;
13499 esac
13500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13501 (eval "$ac_try") 2>&5
13502 ac_status=$?
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); }; } &&
13505 { ac_try='test -s conftest$ac_exeext'
13506 { (case "(($ac_try" in
13507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13508 *) ac_try_echo=$ac_try;;
13509 esac
13510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13511 (eval "$ac_try") 2>&5
13512 ac_status=$?
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); }; }; then
13515 eval "$as_ac_var=yes"
13516 else
13517 echo "$as_me: failed program was:" >&5
13518 sed 's/^/| /' conftest.$ac_ext >&5
13520 eval "$as_ac_var=no"
13523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13524 conftest$ac_exeext conftest.$ac_ext
13526 ac_res=`eval echo '${'$as_ac_var'}'`
13527 { echo "$as_me:$LINENO: result: $ac_res" >&5
13528 echo "${ECHO_T}$ac_res" >&6; }
13529 if test `eval echo '${'$as_ac_var'}'` = yes; then
13530 cat >>confdefs.h <<_ACEOF
13531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13532 _ACEOF
13535 done
13537 LIBS="$ac_wine_check_funcs_save_LIBS"
13539 # Extract the first word of "artsc-config", so it can be a program name with args.
13540 set dummy artsc-config; ac_word=$2
13541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13543 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13544 echo $ECHO_N "(cached) $ECHO_C" >&6
13545 else
13546 case $ARTSCCONFIG in
13547 [\\/]* | ?:[\\/]*)
13548 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13552 for as_dir in $PATH
13554 IFS=$as_save_IFS
13555 test -z "$as_dir" && as_dir=.
13556 for ac_exec_ext in '' $ac_executable_extensions; do
13557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13558 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13560 break 2
13562 done
13563 done
13564 IFS=$as_save_IFS
13567 esac
13569 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13570 if test -n "$ARTSCCONFIG"; then
13571 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13572 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13573 else
13574 { echo "$as_me:$LINENO: result: no" >&5
13575 echo "${ECHO_T}no" >&6; }
13579 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13580 then
13581 ARTSC_CFLAGS=""
13582 for i in `$ARTSCCONFIG --cflags`
13584 case "$i" in
13585 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13586 esac
13587 done
13588 ARTSC_LIBS=""
13589 for i in `$ARTSCCONFIG --libs`
13591 case "$i" in
13592 -L/usr/lib|-L/usr/lib64) ;;
13593 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13594 esac
13595 done
13596 save_CFLAGS="$CFLAGS"
13597 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13598 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13599 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13600 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13602 else
13603 ac_check_lib_save_LIBS=$LIBS
13604 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13605 cat >conftest.$ac_ext <<_ACEOF
13606 /* confdefs.h. */
13607 _ACEOF
13608 cat confdefs.h >>conftest.$ac_ext
13609 cat >>conftest.$ac_ext <<_ACEOF
13610 /* end confdefs.h. */
13612 /* Override any GCC internal prototype to avoid an error.
13613 Use char because int might match the return type of a GCC
13614 builtin and then its argument prototype would still apply. */
13615 #ifdef __cplusplus
13616 extern "C"
13617 #endif
13618 char arts_init ();
13620 main ()
13622 return arts_init ();
13624 return 0;
13626 _ACEOF
13627 rm -f conftest.$ac_objext conftest$ac_exeext
13628 if { (ac_try="$ac_link"
13629 case "(($ac_try" in
13630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13631 *) ac_try_echo=$ac_try;;
13632 esac
13633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13634 (eval "$ac_link") 2>conftest.er1
13635 ac_status=$?
13636 grep -v '^ *+' conftest.er1 >conftest.err
13637 rm -f conftest.er1
13638 cat conftest.err >&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } &&
13641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13642 { (case "(($ac_try" in
13643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13644 *) ac_try_echo=$ac_try;;
13645 esac
13646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13647 (eval "$ac_try") 2>&5
13648 ac_status=$?
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); }; } &&
13651 { ac_try='test -s conftest$ac_exeext'
13652 { (case "(($ac_try" in
13653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13654 *) ac_try_echo=$ac_try;;
13655 esac
13656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13657 (eval "$ac_try") 2>&5
13658 ac_status=$?
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); }; }; then
13661 ac_cv_lib_artsc_arts_init=yes
13662 else
13663 echo "$as_me: failed program was:" >&5
13664 sed 's/^/| /' conftest.$ac_ext >&5
13666 ac_cv_lib_artsc_arts_init=no
13669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13670 conftest$ac_exeext conftest.$ac_ext
13671 LIBS=$ac_check_lib_save_LIBS
13673 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13674 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13675 if test $ac_cv_lib_artsc_arts_init = yes; then
13676 cat >conftest.$ac_ext <<_ACEOF
13677 /* confdefs.h. */
13678 _ACEOF
13679 cat confdefs.h >>conftest.$ac_ext
13680 cat >>conftest.$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13682 #include <artsc.h>
13684 main ()
13686 arts_stream_t stream;
13688 return 0;
13690 _ACEOF
13691 rm -f conftest.$ac_objext
13692 if { (ac_try="$ac_compile"
13693 case "(($ac_try" in
13694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13695 *) ac_try_echo=$ac_try;;
13696 esac
13697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13698 (eval "$ac_compile") 2>conftest.er1
13699 ac_status=$?
13700 grep -v '^ *+' conftest.er1 >conftest.err
13701 rm -f conftest.er1
13702 cat conftest.err >&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); } &&
13705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13706 { (case "(($ac_try" in
13707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13708 *) ac_try_echo=$ac_try;;
13709 esac
13710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13711 (eval "$ac_try") 2>&5
13712 ac_status=$?
13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714 (exit $ac_status); }; } &&
13715 { ac_try='test -s conftest.$ac_objext'
13716 { (case "(($ac_try" in
13717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13718 *) ac_try_echo=$ac_try;;
13719 esac
13720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13721 (eval "$ac_try") 2>&5
13722 ac_status=$?
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); }; }; then
13725 ARTSLIBS=$ARTSC_LIBS
13727 ARTSINCL=$ARTSC_CFLAGS
13730 cat >>confdefs.h <<\_ACEOF
13731 #define HAVE_ARTS 1
13732 _ACEOF
13734 else
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.$ac_ext >&5
13741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13744 CFLAGS="$save_CFLAGS"
13747 # Extract the first word of "esd-config", so it can be a program name with args.
13748 set dummy esd-config; ac_word=$2
13749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13751 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13752 echo $ECHO_N "(cached) $ECHO_C" >&6
13753 else
13754 case $ESDCONFIG in
13755 [\\/]* | ?:[\\/]*)
13756 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13760 for as_dir in $PATH
13762 IFS=$as_save_IFS
13763 test -z "$as_dir" && as_dir=.
13764 for ac_exec_ext in '' $ac_executable_extensions; do
13765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13766 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13768 break 2
13770 done
13771 done
13772 IFS=$as_save_IFS
13775 esac
13777 ESDCONFIG=$ac_cv_path_ESDCONFIG
13778 if test -n "$ESDCONFIG"; then
13779 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13780 echo "${ECHO_T}$ESDCONFIG" >&6; }
13781 else
13782 { echo "$as_me:$LINENO: result: no" >&5
13783 echo "${ECHO_T}no" >&6; }
13787 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13788 then
13789 ESD_CFLAGS=""
13790 for i in `$ESDCONFIG --cflags`
13792 case "$i" in
13793 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13794 esac
13795 done
13796 ESD_LIBS=`$ESDCONFIG --libs`
13797 save_CFLAGS="$CFLAGS"
13798 CFLAGS="$CFLAGS $ESD_CFLAGS"
13799 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13800 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13801 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13802 echo $ECHO_N "(cached) $ECHO_C" >&6
13803 else
13804 ac_check_lib_save_LIBS=$LIBS
13805 LIBS="-lesd $LIBS"
13806 cat >conftest.$ac_ext <<_ACEOF
13807 /* confdefs.h. */
13808 _ACEOF
13809 cat confdefs.h >>conftest.$ac_ext
13810 cat >>conftest.$ac_ext <<_ACEOF
13811 /* end confdefs.h. */
13813 /* Override any GCC internal prototype to avoid an error.
13814 Use char because int might match the return type of a GCC
13815 builtin and then its argument prototype would still apply. */
13816 #ifdef __cplusplus
13817 extern "C"
13818 #endif
13819 char esd_open_sound ();
13821 main ()
13823 return esd_open_sound ();
13825 return 0;
13827 _ACEOF
13828 rm -f conftest.$ac_objext conftest$ac_exeext
13829 if { (ac_try="$ac_link"
13830 case "(($ac_try" in
13831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13832 *) ac_try_echo=$ac_try;;
13833 esac
13834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13835 (eval "$ac_link") 2>conftest.er1
13836 ac_status=$?
13837 grep -v '^ *+' conftest.er1 >conftest.err
13838 rm -f conftest.er1
13839 cat conftest.err >&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } &&
13842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13843 { (case "(($ac_try" in
13844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13845 *) ac_try_echo=$ac_try;;
13846 esac
13847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13848 (eval "$ac_try") 2>&5
13849 ac_status=$?
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); }; } &&
13852 { ac_try='test -s conftest$ac_exeext'
13853 { (case "(($ac_try" in
13854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13855 *) ac_try_echo=$ac_try;;
13856 esac
13857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13858 (eval "$ac_try") 2>&5
13859 ac_status=$?
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); }; }; then
13862 ac_cv_lib_esd_esd_open_sound=yes
13863 else
13864 echo "$as_me: failed program was:" >&5
13865 sed 's/^/| /' conftest.$ac_ext >&5
13867 ac_cv_lib_esd_esd_open_sound=no
13870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13871 conftest$ac_exeext conftest.$ac_ext
13872 LIBS=$ac_check_lib_save_LIBS
13874 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13875 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13876 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13877 ESDLIBS=$ESD_LIBS
13879 ESDINCL=$ESD_CFLAGS
13882 cat >>confdefs.h <<\_ACEOF
13883 #define HAVE_ESD 1
13884 _ACEOF
13888 CFLAGS="$save_CFLAGS"
13891 ALSALIBS=""
13893 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13894 then
13895 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13896 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13897 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13898 echo $ECHO_N "(cached) $ECHO_C" >&6
13899 else
13900 ac_check_lib_save_LIBS=$LIBS
13901 LIBS="-lasound $LIBS"
13902 cat >conftest.$ac_ext <<_ACEOF
13903 /* confdefs.h. */
13904 _ACEOF
13905 cat confdefs.h >>conftest.$ac_ext
13906 cat >>conftest.$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13909 /* Override any GCC internal prototype to avoid an error.
13910 Use char because int might match the return type of a GCC
13911 builtin and then its argument prototype would still apply. */
13912 #ifdef __cplusplus
13913 extern "C"
13914 #endif
13915 char snd_pcm_hw_params_get_access ();
13917 main ()
13919 return snd_pcm_hw_params_get_access ();
13921 return 0;
13923 _ACEOF
13924 rm -f conftest.$ac_objext conftest$ac_exeext
13925 if { (ac_try="$ac_link"
13926 case "(($ac_try" in
13927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13928 *) ac_try_echo=$ac_try;;
13929 esac
13930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13931 (eval "$ac_link") 2>conftest.er1
13932 ac_status=$?
13933 grep -v '^ *+' conftest.er1 >conftest.err
13934 rm -f conftest.er1
13935 cat conftest.err >&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); } &&
13938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13939 { (case "(($ac_try" in
13940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13941 *) ac_try_echo=$ac_try;;
13942 esac
13943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13944 (eval "$ac_try") 2>&5
13945 ac_status=$?
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; } &&
13948 { ac_try='test -s conftest$ac_exeext'
13949 { (case "(($ac_try" in
13950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13951 *) ac_try_echo=$ac_try;;
13952 esac
13953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13954 (eval "$ac_try") 2>&5
13955 ac_status=$?
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); }; }; then
13958 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13959 else
13960 echo "$as_me: failed program was:" >&5
13961 sed 's/^/| /' conftest.$ac_ext >&5
13963 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13967 conftest$ac_exeext conftest.$ac_ext
13968 LIBS=$ac_check_lib_save_LIBS
13970 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13971 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13972 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13973 cat >conftest.$ac_ext <<_ACEOF
13974 /* confdefs.h. */
13975 _ACEOF
13976 cat confdefs.h >>conftest.$ac_ext
13977 cat >>conftest.$ac_ext <<_ACEOF
13978 /* end confdefs.h. */
13979 #ifdef HAVE_ALSA_ASOUNDLIB_H
13980 #include <alsa/asoundlib.h>
13981 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13982 #include <sys/asoundlib.h>
13983 #endif
13985 main ()
13987 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13989 return 0;
13991 _ACEOF
13992 rm -f conftest.$ac_objext
13993 if { (ac_try="$ac_compile"
13994 case "(($ac_try" in
13995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13996 *) ac_try_echo=$ac_try;;
13997 esac
13998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13999 (eval "$ac_compile") 2>conftest.er1
14000 ac_status=$?
14001 grep -v '^ *+' conftest.er1 >conftest.err
14002 rm -f conftest.er1
14003 cat conftest.err >&5
14004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14005 (exit $ac_status); } &&
14006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14007 { (case "(($ac_try" in
14008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14009 *) ac_try_echo=$ac_try;;
14010 esac
14011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14012 (eval "$ac_try") 2>&5
14013 ac_status=$?
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); }; } &&
14016 { ac_try='test -s conftest.$ac_objext'
14017 { (case "(($ac_try" in
14018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14019 *) ac_try_echo=$ac_try;;
14020 esac
14021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14022 (eval "$ac_try") 2>&5
14023 ac_status=$?
14024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14025 (exit $ac_status); }; }; then
14027 cat >>confdefs.h <<\_ACEOF
14028 #define HAVE_ALSA 1
14029 _ACEOF
14031 ALSALIBS="-lasound"
14032 else
14033 echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.$ac_ext >&5
14039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14045 AUDIOIOLIBS=""
14047 if test "$ac_cv_header_libaudioio_h" = "yes"
14048 then
14049 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14050 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14051 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14052 echo $ECHO_N "(cached) $ECHO_C" >&6
14053 else
14054 ac_check_lib_save_LIBS=$LIBS
14055 LIBS="-laudioio $LIBS"
14056 cat >conftest.$ac_ext <<_ACEOF
14057 /* confdefs.h. */
14058 _ACEOF
14059 cat confdefs.h >>conftest.$ac_ext
14060 cat >>conftest.$ac_ext <<_ACEOF
14061 /* end confdefs.h. */
14063 /* Override any GCC internal prototype to avoid an error.
14064 Use char because int might match the return type of a GCC
14065 builtin and then its argument prototype would still apply. */
14066 #ifdef __cplusplus
14067 extern "C"
14068 #endif
14069 char AudioIOGetVersion ();
14071 main ()
14073 return AudioIOGetVersion ();
14075 return 0;
14077 _ACEOF
14078 rm -f conftest.$ac_objext conftest$ac_exeext
14079 if { (ac_try="$ac_link"
14080 case "(($ac_try" in
14081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14082 *) ac_try_echo=$ac_try;;
14083 esac
14084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14085 (eval "$ac_link") 2>conftest.er1
14086 ac_status=$?
14087 grep -v '^ *+' conftest.er1 >conftest.err
14088 rm -f conftest.er1
14089 cat conftest.err >&5
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); } &&
14092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14093 { (case "(($ac_try" in
14094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14095 *) ac_try_echo=$ac_try;;
14096 esac
14097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14098 (eval "$ac_try") 2>&5
14099 ac_status=$?
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; } &&
14102 { ac_try='test -s conftest$ac_exeext'
14103 { (case "(($ac_try" in
14104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14105 *) ac_try_echo=$ac_try;;
14106 esac
14107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14108 (eval "$ac_try") 2>&5
14109 ac_status=$?
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); }; }; then
14112 ac_cv_lib_audioio_AudioIOGetVersion=yes
14113 else
14114 echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.$ac_ext >&5
14117 ac_cv_lib_audioio_AudioIOGetVersion=no
14120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14121 conftest$ac_exeext conftest.$ac_ext
14122 LIBS=$ac_check_lib_save_LIBS
14124 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14125 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14126 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14127 AUDIOIOLIBS="-laudioio"
14129 cat >>confdefs.h <<\_ACEOF
14130 #define HAVE_LIBAUDIOIO 1
14131 _ACEOF
14138 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14139 then
14140 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14141 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14142 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14143 echo $ECHO_N "(cached) $ECHO_C" >&6
14144 else
14145 ac_check_lib_save_LIBS=$LIBS
14146 LIBS="-lcapi20 $LIBS"
14147 cat >conftest.$ac_ext <<_ACEOF
14148 /* confdefs.h. */
14149 _ACEOF
14150 cat confdefs.h >>conftest.$ac_ext
14151 cat >>conftest.$ac_ext <<_ACEOF
14152 /* end confdefs.h. */
14154 /* Override any GCC internal prototype to avoid an error.
14155 Use char because int might match the return type of a GCC
14156 builtin and then its argument prototype would still apply. */
14157 #ifdef __cplusplus
14158 extern "C"
14159 #endif
14160 char capi20_register ();
14162 main ()
14164 return capi20_register ();
14166 return 0;
14168 _ACEOF
14169 rm -f conftest.$ac_objext conftest$ac_exeext
14170 if { (ac_try="$ac_link"
14171 case "(($ac_try" in
14172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14173 *) ac_try_echo=$ac_try;;
14174 esac
14175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14176 (eval "$ac_link") 2>conftest.er1
14177 ac_status=$?
14178 grep -v '^ *+' conftest.er1 >conftest.err
14179 rm -f conftest.er1
14180 cat conftest.err >&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); } &&
14183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14184 { (case "(($ac_try" in
14185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14186 *) ac_try_echo=$ac_try;;
14187 esac
14188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14189 (eval "$ac_try") 2>&5
14190 ac_status=$?
14191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14192 (exit $ac_status); }; } &&
14193 { ac_try='test -s conftest$ac_exeext'
14194 { (case "(($ac_try" in
14195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14196 *) ac_try_echo=$ac_try;;
14197 esac
14198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14199 (eval "$ac_try") 2>&5
14200 ac_status=$?
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); }; }; then
14203 ac_cv_lib_capi20_capi20_register=yes
14204 else
14205 echo "$as_me: failed program was:" >&5
14206 sed 's/^/| /' conftest.$ac_ext >&5
14208 ac_cv_lib_capi20_capi20_register=no
14211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14212 conftest$ac_exeext conftest.$ac_ext
14213 LIBS=$ac_check_lib_save_LIBS
14215 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14216 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14217 if test $ac_cv_lib_capi20_capi20_register = yes; then
14219 cat >>confdefs.h <<\_ACEOF
14220 #define HAVE_CAPI4LINUX 1
14221 _ACEOF
14228 EXTRACFLAGS=""
14230 if test "x${GCC}" = "xyes"
14231 then
14232 EXTRACFLAGS="-Wall -pipe"
14234 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14235 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14236 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14237 echo $ECHO_N "(cached) $ECHO_C" >&6
14238 else
14239 if test "$cross_compiling" = yes; then
14240 ac_cv_c_gcc_strength_bug="yes"
14241 else
14242 cat >conftest.$ac_ext <<_ACEOF
14243 /* confdefs.h. */
14244 _ACEOF
14245 cat confdefs.h >>conftest.$ac_ext
14246 cat >>conftest.$ac_ext <<_ACEOF
14247 /* end confdefs.h. */
14249 int L[4] = {0,1,2,3};
14250 int main(void) {
14251 static int Array[3];
14252 unsigned int B = 3;
14253 int i;
14254 for(i=0; i<B; i++) Array[i] = i - 3;
14255 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14256 L[i] = 4;
14258 exit( Array[1] != -2 || L[2] != 3);
14260 _ACEOF
14261 rm -f conftest$ac_exeext
14262 if { (ac_try="$ac_link"
14263 case "(($ac_try" in
14264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14265 *) ac_try_echo=$ac_try;;
14266 esac
14267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14268 (eval "$ac_link") 2>&5
14269 ac_status=$?
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14272 { (case "(($ac_try" in
14273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14274 *) ac_try_echo=$ac_try;;
14275 esac
14276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14277 (eval "$ac_try") 2>&5
14278 ac_status=$?
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; }; then
14281 ac_cv_c_gcc_strength_bug="no"
14282 else
14283 echo "$as_me: program exited with status $ac_status" >&5
14284 echo "$as_me: failed program was:" >&5
14285 sed 's/^/| /' conftest.$ac_ext >&5
14287 ( exit $ac_status )
14288 ac_cv_c_gcc_strength_bug="yes"
14290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14295 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14296 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14297 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14298 then
14299 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14303 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14304 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14305 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14307 else
14308 ac_wine_try_cflags_saved=$CFLAGS
14309 CFLAGS="$CFLAGS -fshort-wchar"
14310 cat >conftest.$ac_ext <<_ACEOF
14311 /* confdefs.h. */
14312 _ACEOF
14313 cat confdefs.h >>conftest.$ac_ext
14314 cat >>conftest.$ac_ext <<_ACEOF
14315 /* end confdefs.h. */
14318 main ()
14322 return 0;
14324 _ACEOF
14325 rm -f conftest.$ac_objext conftest$ac_exeext
14326 if { (ac_try="$ac_link"
14327 case "(($ac_try" in
14328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14329 *) ac_try_echo=$ac_try;;
14330 esac
14331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14332 (eval "$ac_link") 2>conftest.er1
14333 ac_status=$?
14334 grep -v '^ *+' conftest.er1 >conftest.err
14335 rm -f conftest.er1
14336 cat conftest.err >&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); } &&
14339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14340 { (case "(($ac_try" in
14341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14342 *) ac_try_echo=$ac_try;;
14343 esac
14344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14345 (eval "$ac_try") 2>&5
14346 ac_status=$?
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); }; } &&
14349 { ac_try='test -s conftest$ac_exeext'
14350 { (case "(($ac_try" in
14351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14352 *) ac_try_echo=$ac_try;;
14353 esac
14354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14355 (eval "$ac_try") 2>&5
14356 ac_status=$?
14357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 (exit $ac_status); }; }; then
14359 ac_cv_cflags__fshort_wchar=yes
14360 else
14361 echo "$as_me: failed program was:" >&5
14362 sed 's/^/| /' conftest.$ac_ext >&5
14364 ac_cv_cflags__fshort_wchar=no
14367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14368 conftest$ac_exeext conftest.$ac_ext
14369 CFLAGS=$ac_wine_try_cflags_saved
14371 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14372 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14373 if test $ac_cv_cflags__fshort_wchar = yes; then
14375 cat >>confdefs.h <<\_ACEOF
14376 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14377 _ACEOF
14381 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14382 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14383 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14384 echo $ECHO_N "(cached) $ECHO_C" >&6
14385 else
14386 ac_wine_try_cflags_saved=$CFLAGS
14387 CFLAGS="$CFLAGS -fno-strict-aliasing"
14388 cat >conftest.$ac_ext <<_ACEOF
14389 /* confdefs.h. */
14390 _ACEOF
14391 cat confdefs.h >>conftest.$ac_ext
14392 cat >>conftest.$ac_ext <<_ACEOF
14393 /* end confdefs.h. */
14396 main ()
14400 return 0;
14402 _ACEOF
14403 rm -f conftest.$ac_objext conftest$ac_exeext
14404 if { (ac_try="$ac_link"
14405 case "(($ac_try" in
14406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14407 *) ac_try_echo=$ac_try;;
14408 esac
14409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14410 (eval "$ac_link") 2>conftest.er1
14411 ac_status=$?
14412 grep -v '^ *+' conftest.er1 >conftest.err
14413 rm -f conftest.er1
14414 cat conftest.err >&5
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); } &&
14417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14418 { (case "(($ac_try" in
14419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14420 *) ac_try_echo=$ac_try;;
14421 esac
14422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14423 (eval "$ac_try") 2>&5
14424 ac_status=$?
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); }; } &&
14427 { ac_try='test -s conftest$ac_exeext'
14428 { (case "(($ac_try" in
14429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14430 *) ac_try_echo=$ac_try;;
14431 esac
14432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14433 (eval "$ac_try") 2>&5
14434 ac_status=$?
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); }; }; then
14437 ac_cv_cflags__fno_strict_aliasing=yes
14438 else
14439 echo "$as_me: failed program was:" >&5
14440 sed 's/^/| /' conftest.$ac_ext >&5
14442 ac_cv_cflags__fno_strict_aliasing=no
14445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14446 conftest$ac_exeext conftest.$ac_ext
14447 CFLAGS=$ac_wine_try_cflags_saved
14449 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14450 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14451 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14452 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14455 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14456 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14457 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14459 else
14460 ac_wine_try_cflags_saved=$CFLAGS
14461 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14462 cat >conftest.$ac_ext <<_ACEOF
14463 /* confdefs.h. */
14464 _ACEOF
14465 cat confdefs.h >>conftest.$ac_ext
14466 cat >>conftest.$ac_ext <<_ACEOF
14467 /* end confdefs.h. */
14470 main ()
14474 return 0;
14476 _ACEOF
14477 rm -f conftest.$ac_objext conftest$ac_exeext
14478 if { (ac_try="$ac_link"
14479 case "(($ac_try" in
14480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14481 *) ac_try_echo=$ac_try;;
14482 esac
14483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14484 (eval "$ac_link") 2>conftest.er1
14485 ac_status=$?
14486 grep -v '^ *+' conftest.er1 >conftest.err
14487 rm -f conftest.er1
14488 cat conftest.err >&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); } &&
14491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14492 { (case "(($ac_try" in
14493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14494 *) ac_try_echo=$ac_try;;
14495 esac
14496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14497 (eval "$ac_try") 2>&5
14498 ac_status=$?
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); }; } &&
14501 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14511 ac_cv_cflags__Wdeclaration_after_statement=yes
14512 else
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.$ac_ext >&5
14516 ac_cv_cflags__Wdeclaration_after_statement=no
14519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14520 conftest$ac_exeext conftest.$ac_ext
14521 CFLAGS=$ac_wine_try_cflags_saved
14523 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14524 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14525 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14526 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14529 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14530 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14531 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14532 echo $ECHO_N "(cached) $ECHO_C" >&6
14533 else
14534 ac_wine_try_cflags_saved=$CFLAGS
14535 CFLAGS="$CFLAGS -Wwrite-strings"
14536 cat >conftest.$ac_ext <<_ACEOF
14537 /* confdefs.h. */
14538 _ACEOF
14539 cat confdefs.h >>conftest.$ac_ext
14540 cat >>conftest.$ac_ext <<_ACEOF
14541 /* end confdefs.h. */
14544 main ()
14548 return 0;
14550 _ACEOF
14551 rm -f conftest.$ac_objext conftest$ac_exeext
14552 if { (ac_try="$ac_link"
14553 case "(($ac_try" in
14554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14555 *) ac_try_echo=$ac_try;;
14556 esac
14557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14558 (eval "$ac_link") 2>conftest.er1
14559 ac_status=$?
14560 grep -v '^ *+' conftest.er1 >conftest.err
14561 rm -f conftest.er1
14562 cat conftest.err >&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); } &&
14565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14566 { (case "(($ac_try" in
14567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14568 *) ac_try_echo=$ac_try;;
14569 esac
14570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14571 (eval "$ac_try") 2>&5
14572 ac_status=$?
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); }; } &&
14575 { ac_try='test -s conftest$ac_exeext'
14576 { (case "(($ac_try" in
14577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14578 *) ac_try_echo=$ac_try;;
14579 esac
14580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14581 (eval "$ac_try") 2>&5
14582 ac_status=$?
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); }; }; then
14585 ac_cv_cflags__Wwrite_strings=yes
14586 else
14587 echo "$as_me: failed program was:" >&5
14588 sed 's/^/| /' conftest.$ac_ext >&5
14590 ac_cv_cflags__Wwrite_strings=no
14593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14594 conftest$ac_exeext conftest.$ac_ext
14595 CFLAGS=$ac_wine_try_cflags_saved
14597 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14598 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14599 if test $ac_cv_cflags__Wwrite_strings = yes; then
14600 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14604 saved_CFLAGS="$CFLAGS"
14605 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14606 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14607 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14608 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14610 else
14611 cat >conftest.$ac_ext <<_ACEOF
14612 /* confdefs.h. */
14613 _ACEOF
14614 cat confdefs.h >>conftest.$ac_ext
14615 cat >>conftest.$ac_ext <<_ACEOF
14616 /* end confdefs.h. */
14617 #include <string.h>
14619 main ()
14623 return 0;
14625 _ACEOF
14626 rm -f conftest.$ac_objext
14627 if { (ac_try="$ac_compile"
14628 case "(($ac_try" in
14629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14630 *) ac_try_echo=$ac_try;;
14631 esac
14632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14633 (eval "$ac_compile") 2>conftest.er1
14634 ac_status=$?
14635 grep -v '^ *+' conftest.er1 >conftest.err
14636 rm -f conftest.er1
14637 cat conftest.err >&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } &&
14640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14641 { (case "(($ac_try" in
14642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14643 *) ac_try_echo=$ac_try;;
14644 esac
14645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14646 (eval "$ac_try") 2>&5
14647 ac_status=$?
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; } &&
14650 { ac_try='test -s conftest.$ac_objext'
14651 { (case "(($ac_try" in
14652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14653 *) ac_try_echo=$ac_try;;
14654 esac
14655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14656 (eval "$ac_try") 2>&5
14657 ac_status=$?
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); }; }; then
14660 ac_cv_c_string_h_warnings=no
14661 else
14662 echo "$as_me: failed program was:" >&5
14663 sed 's/^/| /' conftest.$ac_ext >&5
14665 ac_cv_c_string_h_warnings=yes
14668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14670 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14671 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14672 CFLAGS="$saved_CFLAGS"
14673 if test "$ac_cv_c_string_h_warnings" = "no"
14674 then
14675 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14678 BUILTINFLAG=""
14680 saved_CFLAGS="$CFLAGS"
14681 CFLAGS="$CFLAGS -Werror"
14682 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14683 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14684 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14685 echo $ECHO_N "(cached) $ECHO_C" >&6
14686 else
14687 cat >conftest.$ac_ext <<_ACEOF
14688 /* confdefs.h. */
14689 _ACEOF
14690 cat confdefs.h >>conftest.$ac_ext
14691 cat >>conftest.$ac_ext <<_ACEOF
14692 /* end confdefs.h. */
14695 main ()
14697 int iswlower(unsigned short);
14699 return 0;
14701 _ACEOF
14702 rm -f conftest.$ac_objext
14703 if { (ac_try="$ac_compile"
14704 case "(($ac_try" in
14705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14706 *) ac_try_echo=$ac_try;;
14707 esac
14708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14709 (eval "$ac_compile") 2>conftest.er1
14710 ac_status=$?
14711 grep -v '^ *+' conftest.er1 >conftest.err
14712 rm -f conftest.er1
14713 cat conftest.err >&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); } &&
14716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14717 { (case "(($ac_try" in
14718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14719 *) ac_try_echo=$ac_try;;
14720 esac
14721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14722 (eval "$ac_try") 2>&5
14723 ac_status=$?
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); }; } &&
14726 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
14736 ac_cv_c_builtin_wchar_ctype=no
14737 else
14738 echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.$ac_ext >&5
14741 ac_cv_c_builtin_wchar_ctype=yes
14744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14746 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14747 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14748 CFLAGS="$saved_CFLAGS"
14749 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14750 then
14751 BUILTINFLAG="-fno-builtin"
14756 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14757 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14758 if test "${ac_cv_asm_func_def+set}" = set; then
14759 echo $ECHO_N "(cached) $ECHO_C" >&6
14760 else
14761 cat >conftest.$ac_ext <<_ACEOF
14762 /* confdefs.h. */
14763 _ACEOF
14764 cat confdefs.h >>conftest.$ac_ext
14765 cat >>conftest.$ac_ext <<_ACEOF
14766 /* end confdefs.h. */
14767 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"); }
14770 main ()
14774 return 0;
14776 _ACEOF
14777 rm -f conftest.$ac_objext conftest$ac_exeext
14778 if { (ac_try="$ac_link"
14779 case "(($ac_try" in
14780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14781 *) ac_try_echo=$ac_try;;
14782 esac
14783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14784 (eval "$ac_link") 2>conftest.er1
14785 ac_status=$?
14786 grep -v '^ *+' conftest.er1 >conftest.err
14787 rm -f conftest.er1
14788 cat conftest.err >&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } &&
14791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14792 { (case "(($ac_try" in
14793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14794 *) ac_try_echo=$ac_try;;
14795 esac
14796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14797 (eval "$ac_try") 2>&5
14798 ac_status=$?
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); }; } &&
14801 { ac_try='test -s conftest$ac_exeext'
14802 { (case "(($ac_try" in
14803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14804 *) ac_try_echo=$ac_try;;
14805 esac
14806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14807 (eval "$ac_try") 2>&5
14808 ac_status=$?
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); }; }; then
14811 ac_cv_asm_func_def=".def"
14812 else
14813 echo "$as_me: failed program was:" >&5
14814 sed 's/^/| /' conftest.$ac_ext >&5
14816 cat >conftest.$ac_ext <<_ACEOF
14817 /* confdefs.h. */
14818 _ACEOF
14819 cat confdefs.h >>conftest.$ac_ext
14820 cat >>conftest.$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14822 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14825 main ()
14829 return 0;
14831 _ACEOF
14832 rm -f conftest.$ac_objext conftest$ac_exeext
14833 if { (ac_try="$ac_link"
14834 case "(($ac_try" in
14835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14836 *) ac_try_echo=$ac_try;;
14837 esac
14838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14839 (eval "$ac_link") 2>conftest.er1
14840 ac_status=$?
14841 grep -v '^ *+' conftest.er1 >conftest.err
14842 rm -f conftest.er1
14843 cat conftest.err >&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); } &&
14846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14847 { (case "(($ac_try" in
14848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14849 *) ac_try_echo=$ac_try;;
14850 esac
14851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14852 (eval "$ac_try") 2>&5
14853 ac_status=$?
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); }; } &&
14856 { ac_try='test -s conftest$ac_exeext'
14857 { (case "(($ac_try" in
14858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14859 *) ac_try_echo=$ac_try;;
14860 esac
14861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14862 (eval "$ac_try") 2>&5
14863 ac_status=$?
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; }; then
14866 ac_cv_asm_func_def=".type @function"
14867 else
14868 echo "$as_me: failed program was:" >&5
14869 sed 's/^/| /' conftest.$ac_ext >&5
14871 cat >conftest.$ac_ext <<_ACEOF
14872 /* confdefs.h. */
14873 _ACEOF
14874 cat confdefs.h >>conftest.$ac_ext
14875 cat >>conftest.$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14877 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14880 main ()
14884 return 0;
14886 _ACEOF
14887 rm -f conftest.$ac_objext conftest$ac_exeext
14888 if { (ac_try="$ac_link"
14889 case "(($ac_try" in
14890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14891 *) ac_try_echo=$ac_try;;
14892 esac
14893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14894 (eval "$ac_link") 2>conftest.er1
14895 ac_status=$?
14896 grep -v '^ *+' conftest.er1 >conftest.err
14897 rm -f conftest.er1
14898 cat conftest.err >&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } &&
14901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14902 { (case "(($ac_try" in
14903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14904 *) ac_try_echo=$ac_try;;
14905 esac
14906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14907 (eval "$ac_try") 2>&5
14908 ac_status=$?
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; } &&
14911 { ac_try='test -s conftest$ac_exeext'
14912 { (case "(($ac_try" in
14913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14914 *) ac_try_echo=$ac_try;;
14915 esac
14916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14917 (eval "$ac_try") 2>&5
14918 ac_status=$?
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); }; }; then
14921 ac_cv_asm_func_def=".type 2"
14922 else
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.$ac_ext >&5
14926 ac_cv_asm_func_def="unknown"
14929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14930 conftest$ac_exeext conftest.$ac_ext
14933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14934 conftest$ac_exeext conftest.$ac_ext
14937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14938 conftest$ac_exeext conftest.$ac_ext
14940 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
14941 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
14945 case "$ac_cv_asm_func_def" in
14946 ".def")
14947 cat >>confdefs.h <<\_ACEOF
14948 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
14949 _ACEOF
14951 ".type @function")
14952 cat >>confdefs.h <<\_ACEOF
14953 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
14954 _ACEOF
14956 ".type 2")
14957 cat >>confdefs.h <<\_ACEOF
14958 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
14959 _ACEOF
14962 cat >>confdefs.h <<\_ACEOF
14963 #define __ASM_FUNC(name) ""
14964 _ACEOF
14966 esac
14969 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
14970 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
14971 if test "${ac_cv_c_extern_prefix+set}" = set; then
14972 echo $ECHO_N "(cached) $ECHO_C" >&6
14973 else
14974 cat >conftest.$ac_ext <<_ACEOF
14975 /* confdefs.h. */
14976 _ACEOF
14977 cat confdefs.h >>conftest.$ac_ext
14978 cat >>conftest.$ac_ext <<_ACEOF
14979 /* end confdefs.h. */
14980 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
14981 extern int ac_test;
14983 main ()
14985 if (ac_test) return 1
14987 return 0;
14989 _ACEOF
14990 rm -f conftest.$ac_objext conftest$ac_exeext
14991 if { (ac_try="$ac_link"
14992 case "(($ac_try" in
14993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14994 *) ac_try_echo=$ac_try;;
14995 esac
14996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14997 (eval "$ac_link") 2>conftest.er1
14998 ac_status=$?
14999 grep -v '^ *+' conftest.er1 >conftest.err
15000 rm -f conftest.er1
15001 cat conftest.err >&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); } &&
15004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15005 { (case "(($ac_try" in
15006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15007 *) ac_try_echo=$ac_try;;
15008 esac
15009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15010 (eval "$ac_try") 2>&5
15011 ac_status=$?
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; } &&
15014 { ac_try='test -s conftest$ac_exeext'
15015 { (case "(($ac_try" in
15016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15017 *) ac_try_echo=$ac_try;;
15018 esac
15019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15020 (eval "$ac_try") 2>&5
15021 ac_status=$?
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; }; then
15024 ac_cv_c_extern_prefix="yes"
15025 else
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15029 ac_cv_c_extern_prefix="no"
15032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15033 conftest$ac_exeext conftest.$ac_ext
15035 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15036 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15040 if test "$ac_cv_c_extern_prefix" = "yes"
15041 then
15042 cat >>confdefs.h <<\_ACEOF
15043 #define __ASM_NAME(name) "_" name
15044 _ACEOF
15046 else
15047 cat >>confdefs.h <<\_ACEOF
15048 #define __ASM_NAME(name) name
15049 _ACEOF
15054 DLLEXT=""
15056 DLLFLAGS="-D_REENTRANT"
15058 LDSHARED=""
15060 LDDLLFLAGS=""
15062 LIBEXT="so"
15064 IMPLIBEXT="def"
15066 LIBWINE_LDFLAGS=""
15069 case $host_os in
15070 cygwin*|mingw32*)
15071 if test -n "$ac_tool_prefix"; then
15072 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15073 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15076 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15077 echo $ECHO_N "(cached) $ECHO_C" >&6
15078 else
15079 if test -n "$DLLTOOL"; then
15080 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15081 else
15082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15083 for as_dir in $PATH
15085 IFS=$as_save_IFS
15086 test -z "$as_dir" && as_dir=.
15087 for ac_exec_ext in '' $ac_executable_extensions; do
15088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15089 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15091 break 2
15093 done
15094 done
15095 IFS=$as_save_IFS
15099 DLLTOOL=$ac_cv_prog_DLLTOOL
15100 if test -n "$DLLTOOL"; then
15101 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15102 echo "${ECHO_T}$DLLTOOL" >&6; }
15103 else
15104 { echo "$as_me:$LINENO: result: no" >&5
15105 echo "${ECHO_T}no" >&6; }
15110 if test -z "$ac_cv_prog_DLLTOOL"; then
15111 ac_ct_DLLTOOL=$DLLTOOL
15112 # Extract the first word of "dlltool", so it can be a program name with args.
15113 set dummy dlltool; ac_word=$2
15114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15116 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15117 echo $ECHO_N "(cached) $ECHO_C" >&6
15118 else
15119 if test -n "$ac_ct_DLLTOOL"; then
15120 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15121 else
15122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15123 for as_dir in $PATH
15125 IFS=$as_save_IFS
15126 test -z "$as_dir" && as_dir=.
15127 for ac_exec_ext in '' $ac_executable_extensions; do
15128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15129 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15131 break 2
15133 done
15134 done
15135 IFS=$as_save_IFS
15139 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15140 if test -n "$ac_ct_DLLTOOL"; then
15141 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15142 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15143 else
15144 { echo "$as_me:$LINENO: result: no" >&5
15145 echo "${ECHO_T}no" >&6; }
15148 if test "x$ac_ct_DLLTOOL" = x; then
15149 DLLTOOL="false"
15150 else
15151 case $cross_compiling:$ac_tool_warned in
15152 yes:)
15153 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15154 whose name does not start with the host triplet. If you think this
15155 configuration is useful to you, please write to autoconf@gnu.org." >&5
15156 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15157 whose name does not start with the host triplet. If you think this
15158 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15159 ac_tool_warned=yes ;;
15160 esac
15161 DLLTOOL=$ac_ct_DLLTOOL
15163 else
15164 DLLTOOL="$ac_cv_prog_DLLTOOL"
15167 if test -n "$ac_tool_prefix"; then
15168 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15169 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15172 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15174 else
15175 if test -n "$DLLWRAP"; then
15176 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15177 else
15178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15179 for as_dir in $PATH
15181 IFS=$as_save_IFS
15182 test -z "$as_dir" && as_dir=.
15183 for ac_exec_ext in '' $ac_executable_extensions; do
15184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15185 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15187 break 2
15189 done
15190 done
15191 IFS=$as_save_IFS
15195 DLLWRAP=$ac_cv_prog_DLLWRAP
15196 if test -n "$DLLWRAP"; then
15197 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15198 echo "${ECHO_T}$DLLWRAP" >&6; }
15199 else
15200 { echo "$as_me:$LINENO: result: no" >&5
15201 echo "${ECHO_T}no" >&6; }
15206 if test -z "$ac_cv_prog_DLLWRAP"; then
15207 ac_ct_DLLWRAP=$DLLWRAP
15208 # Extract the first word of "dllwrap", so it can be a program name with args.
15209 set dummy dllwrap; ac_word=$2
15210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15212 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215 if test -n "$ac_ct_DLLWRAP"; then
15216 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15217 else
15218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15219 for as_dir in $PATH
15221 IFS=$as_save_IFS
15222 test -z "$as_dir" && as_dir=.
15223 for ac_exec_ext in '' $ac_executable_extensions; do
15224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15225 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15227 break 2
15229 done
15230 done
15231 IFS=$as_save_IFS
15235 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15236 if test -n "$ac_ct_DLLWRAP"; then
15237 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15238 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15239 else
15240 { echo "$as_me:$LINENO: result: no" >&5
15241 echo "${ECHO_T}no" >&6; }
15244 if test "x$ac_ct_DLLWRAP" = x; then
15245 DLLWRAP="false"
15246 else
15247 case $cross_compiling:$ac_tool_warned in
15248 yes:)
15249 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15250 whose name does not start with the host triplet. If you think this
15251 configuration is useful to you, please write to autoconf@gnu.org." >&5
15252 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15253 whose name does not start with the host triplet. If you think this
15254 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15255 ac_tool_warned=yes ;;
15256 esac
15257 DLLWRAP=$ac_ct_DLLWRAP
15259 else
15260 DLLWRAP="$ac_cv_prog_DLLWRAP"
15263 if test "$DLLWRAP" = "false"; then
15264 LIBEXT="a"
15265 else
15266 LIBEXT="dll"
15268 IMPLIBEXT="a"
15269 WIN16_FILES=""
15270 WIN16_INSTALL=""
15272 darwin*|macosx*)
15273 DLLEXT=".so"
15274 LIBEXT="dylib"
15275 DLLFLAGS="$DLLFLAGS -fPIC"
15276 LDDLLFLAGS="-bundle -multiply_defined suppress"
15277 LIBWINE_LDFLAGS="-multiply_defined suppress"
15278 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
15279 STRIP="$STRIP -u -r"
15280 COREFOUNDATIONLIB="-framework CoreFoundation"
15282 IOKITLIB="-framework IOKit -framework CoreFoundation"
15284 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15286 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
15287 then
15288 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
15291 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15292 then
15293 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15296 case $host_cpu in
15297 *powerpc*)
15298 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15299 esac
15300 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
15301 then
15302 QUARTZFILES='$(QUARTZFILES)'
15306 DLLFLAGS="$DLLFLAGS -fPIC"
15307 DLLEXT=".so"
15308 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15309 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15310 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15311 echo $ECHO_N "(cached) $ECHO_C" >&6
15312 else
15313 ac_wine_try_cflags_saved=$CFLAGS
15314 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15315 cat >conftest.$ac_ext <<_ACEOF
15316 void myfunc() {}
15317 _ACEOF
15318 rm -f conftest.$ac_objext conftest$ac_exeext
15319 if { (ac_try="$ac_link"
15320 case "(($ac_try" in
15321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15322 *) ac_try_echo=$ac_try;;
15323 esac
15324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15325 (eval "$ac_link") 2>conftest.er1
15326 ac_status=$?
15327 grep -v '^ *+' conftest.er1 >conftest.err
15328 rm -f conftest.er1
15329 cat conftest.err >&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } &&
15332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15333 { (case "(($ac_try" in
15334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15335 *) ac_try_echo=$ac_try;;
15336 esac
15337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15338 (eval "$ac_try") 2>&5
15339 ac_status=$?
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try='test -s conftest$ac_exeext'
15343 { (case "(($ac_try" in
15344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15345 *) ac_try_echo=$ac_try;;
15346 esac
15347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15348 (eval "$ac_try") 2>&5
15349 ac_status=$?
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); }; }; then
15352 ac_cv_c_dll_gnuelf="yes"
15353 else
15354 echo "$as_me: failed program was:" >&5
15355 sed 's/^/| /' conftest.$ac_ext >&5
15357 ac_cv_c_dll_gnuelf="no"
15360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15361 conftest$ac_exeext conftest.$ac_ext
15362 CFLAGS=$ac_wine_try_cflags_saved
15364 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15365 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15366 if test "$ac_cv_c_dll_gnuelf" = "yes"
15367 then
15368 LDSHARED="\$(CC) -shared"
15369 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
15370 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15371 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15372 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15373 echo $ECHO_N "(cached) $ECHO_C" >&6
15374 else
15375 ac_wine_try_cflags_saved=$CFLAGS
15376 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15377 cat >conftest.$ac_ext <<_ACEOF
15378 /* confdefs.h. */
15379 _ACEOF
15380 cat confdefs.h >>conftest.$ac_ext
15381 cat >>conftest.$ac_ext <<_ACEOF
15382 /* end confdefs.h. */
15385 main ()
15389 return 0;
15391 _ACEOF
15392 rm -f conftest.$ac_objext conftest$ac_exeext
15393 if { (ac_try="$ac_link"
15394 case "(($ac_try" in
15395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15396 *) ac_try_echo=$ac_try;;
15397 esac
15398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15399 (eval "$ac_link") 2>conftest.er1
15400 ac_status=$?
15401 grep -v '^ *+' conftest.er1 >conftest.err
15402 rm -f conftest.er1
15403 cat conftest.err >&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } &&
15406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15407 { (case "(($ac_try" in
15408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15409 *) ac_try_echo=$ac_try;;
15410 esac
15411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15412 (eval "$ac_try") 2>&5
15413 ac_status=$?
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; } &&
15416 { ac_try='test -s conftest$ac_exeext'
15417 { (case "(($ac_try" in
15418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15419 *) ac_try_echo=$ac_try;;
15420 esac
15421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15422 (eval "$ac_try") 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15426 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
15427 else
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15431 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
15434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15435 conftest$ac_exeext conftest.$ac_ext
15436 CFLAGS=$ac_wine_try_cflags_saved
15438 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15439 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15440 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15441 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15442 else
15443 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15444 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15445 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
15446 echo $ECHO_N "(cached) $ECHO_C" >&6
15447 else
15448 ac_wine_try_cflags_saved=$CFLAGS
15449 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15450 cat >conftest.$ac_ext <<_ACEOF
15451 /* confdefs.h. */
15452 _ACEOF
15453 cat confdefs.h >>conftest.$ac_ext
15454 cat >>conftest.$ac_ext <<_ACEOF
15455 /* end confdefs.h. */
15458 main ()
15462 return 0;
15464 _ACEOF
15465 rm -f conftest.$ac_objext conftest$ac_exeext
15466 if { (ac_try="$ac_link"
15467 case "(($ac_try" in
15468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15469 *) ac_try_echo=$ac_try;;
15470 esac
15471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15472 (eval "$ac_link") 2>conftest.er1
15473 ac_status=$?
15474 grep -v '^ *+' conftest.er1 >conftest.err
15475 rm -f conftest.er1
15476 cat conftest.err >&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); } &&
15479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15480 { (case "(($ac_try" in
15481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15482 *) ac_try_echo=$ac_try;;
15483 esac
15484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15485 (eval "$ac_try") 2>&5
15486 ac_status=$?
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; } &&
15489 { ac_try='test -s conftest$ac_exeext'
15490 { (case "(($ac_try" in
15491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15492 *) ac_try_echo=$ac_try;;
15493 esac
15494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15495 (eval "$ac_try") 2>&5
15496 ac_status=$?
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); }; }; then
15499 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
15500 else
15501 echo "$as_me: failed program was:" >&5
15502 sed 's/^/| /' conftest.$ac_ext >&5
15504 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
15507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15508 conftest$ac_exeext conftest.$ac_ext
15509 CFLAGS=$ac_wine_try_cflags_saved
15511 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15512 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15513 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15514 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15520 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15521 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15522 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15523 echo $ECHO_N "(cached) $ECHO_C" >&6
15524 else
15525 ac_wine_try_cflags_saved=$CFLAGS
15526 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15527 cat >conftest.$ac_ext <<_ACEOF
15528 /* confdefs.h. */
15529 _ACEOF
15530 cat confdefs.h >>conftest.$ac_ext
15531 cat >>conftest.$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15535 main ()
15539 return 0;
15541 _ACEOF
15542 rm -f conftest.$ac_objext conftest$ac_exeext
15543 if { (ac_try="$ac_link"
15544 case "(($ac_try" in
15545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15546 *) ac_try_echo=$ac_try;;
15547 esac
15548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15549 (eval "$ac_link") 2>conftest.er1
15550 ac_status=$?
15551 grep -v '^ *+' conftest.er1 >conftest.err
15552 rm -f conftest.er1
15553 cat conftest.err >&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } &&
15556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15557 { (case "(($ac_try" in
15558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15559 *) ac_try_echo=$ac_try;;
15560 esac
15561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15562 (eval "$ac_try") 2>&5
15563 ac_status=$?
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; } &&
15566 { ac_try='test -s conftest$ac_exeext'
15567 { (case "(($ac_try" in
15568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15569 *) ac_try_echo=$ac_try;;
15570 esac
15571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15572 (eval "$ac_try") 2>&5
15573 ac_status=$?
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); }; }; then
15576 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
15577 else
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.$ac_ext >&5
15581 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
15584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15585 conftest$ac_exeext conftest.$ac_ext
15586 CFLAGS=$ac_wine_try_cflags_saved
15588 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15589 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15590 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15591 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15595 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15596 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15597 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15598 echo $ECHO_N "(cached) $ECHO_C" >&6
15599 else
15600 ac_wine_try_cflags_saved=$CFLAGS
15601 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15602 cat >conftest.$ac_ext <<_ACEOF
15603 /* confdefs.h. */
15604 _ACEOF
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15610 main ()
15614 return 0;
15616 _ACEOF
15617 rm -f conftest.$ac_objext conftest$ac_exeext
15618 if { (ac_try="$ac_link"
15619 case "(($ac_try" in
15620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15621 *) ac_try_echo=$ac_try;;
15622 esac
15623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15624 (eval "$ac_link") 2>conftest.er1
15625 ac_status=$?
15626 grep -v '^ *+' conftest.er1 >conftest.err
15627 rm -f conftest.er1
15628 cat conftest.err >&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); } &&
15631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15632 { (case "(($ac_try" in
15633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15634 *) ac_try_echo=$ac_try;;
15635 esac
15636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15637 (eval "$ac_try") 2>&5
15638 ac_status=$?
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; } &&
15641 { ac_try='test -s conftest$ac_exeext'
15642 { (case "(($ac_try" in
15643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15644 *) ac_try_echo=$ac_try;;
15645 esac
15646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15647 (eval "$ac_try") 2>&5
15648 ac_status=$?
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); }; }; then
15651 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
15652 else
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.$ac_ext >&5
15656 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
15659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15660 conftest$ac_exeext conftest.$ac_ext
15661 CFLAGS=$ac_wine_try_cflags_saved
15663 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15664 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15665 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15666 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15670 echo '{ global: *; };' >conftest.map
15671 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15672 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15673 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15674 echo $ECHO_N "(cached) $ECHO_C" >&6
15675 else
15676 ac_wine_try_cflags_saved=$CFLAGS
15677 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15678 cat >conftest.$ac_ext <<_ACEOF
15679 /* confdefs.h. */
15680 _ACEOF
15681 cat confdefs.h >>conftest.$ac_ext
15682 cat >>conftest.$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15686 main ()
15690 return 0;
15692 _ACEOF
15693 rm -f conftest.$ac_objext conftest$ac_exeext
15694 if { (ac_try="$ac_link"
15695 case "(($ac_try" in
15696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15697 *) ac_try_echo=$ac_try;;
15698 esac
15699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15700 (eval "$ac_link") 2>conftest.er1
15701 ac_status=$?
15702 grep -v '^ *+' conftest.er1 >conftest.err
15703 rm -f conftest.er1
15704 cat conftest.err >&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } &&
15707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15708 { (case "(($ac_try" in
15709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15710 *) ac_try_echo=$ac_try;;
15711 esac
15712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15713 (eval "$ac_try") 2>&5
15714 ac_status=$?
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; } &&
15717 { ac_try='test -s conftest$ac_exeext'
15718 { (case "(($ac_try" in
15719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15720 *) ac_try_echo=$ac_try;;
15721 esac
15722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15723 (eval "$ac_try") 2>&5
15724 ac_status=$?
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); }; }; then
15727 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
15728 else
15729 echo "$as_me: failed program was:" >&5
15730 sed 's/^/| /' conftest.$ac_ext >&5
15732 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
15735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15736 conftest$ac_exeext conftest.$ac_ext
15737 CFLAGS=$ac_wine_try_cflags_saved
15739 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15740 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15741 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15742 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15745 rm -f conftest.map
15747 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15748 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15749 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
15750 echo $ECHO_N "(cached) $ECHO_C" >&6
15751 else
15752 ac_wine_try_cflags_saved=$CFLAGS
15753 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15754 cat >conftest.$ac_ext <<_ACEOF
15755 /* confdefs.h. */
15756 _ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15762 main ()
15766 return 0;
15768 _ACEOF
15769 rm -f conftest.$ac_objext conftest$ac_exeext
15770 if { (ac_try="$ac_link"
15771 case "(($ac_try" in
15772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15773 *) ac_try_echo=$ac_try;;
15774 esac
15775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15776 (eval "$ac_link") 2>conftest.er1
15777 ac_status=$?
15778 grep -v '^ *+' conftest.er1 >conftest.err
15779 rm -f conftest.er1
15780 cat conftest.err >&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } &&
15783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15784 { (case "(($ac_try" in
15785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15786 *) ac_try_echo=$ac_try;;
15787 esac
15788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15789 (eval "$ac_try") 2>&5
15790 ac_status=$?
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; } &&
15793 { ac_try='test -s conftest$ac_exeext'
15794 { (case "(($ac_try" in
15795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15796 *) ac_try_echo=$ac_try;;
15797 esac
15798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15799 (eval "$ac_try") 2>&5
15800 ac_status=$?
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); }; }; then
15803 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
15804 else
15805 echo "$as_me: failed program was:" >&5
15806 sed 's/^/| /' conftest.$ac_ext >&5
15808 ac_cv_cflags__fPIC__Wl___export_dynamic=no
15811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15812 conftest$ac_exeext conftest.$ac_ext
15813 CFLAGS=$ac_wine_try_cflags_saved
15815 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15816 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15817 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15818 LDEXECFLAGS="-Wl,--export-dynamic"
15823 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
15824 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15825 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15826 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15827 echo $ECHO_N "(cached) $ECHO_C" >&6
15828 else
15829 ac_wine_try_cflags_saved=$CFLAGS
15830 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15831 cat >conftest.$ac_ext <<_ACEOF
15832 /* confdefs.h. */
15833 _ACEOF
15834 cat confdefs.h >>conftest.$ac_ext
15835 cat >>conftest.$ac_ext <<_ACEOF
15836 /* end confdefs.h. */
15839 main ()
15843 return 0;
15845 _ACEOF
15846 rm -f conftest.$ac_objext conftest$ac_exeext
15847 if { (ac_try="$ac_link"
15848 case "(($ac_try" in
15849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15850 *) ac_try_echo=$ac_try;;
15851 esac
15852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15853 (eval "$ac_link") 2>conftest.er1
15854 ac_status=$?
15855 grep -v '^ *+' conftest.er1 >conftest.err
15856 rm -f conftest.er1
15857 cat conftest.err >&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); } &&
15860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15861 { (case "(($ac_try" in
15862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15863 *) ac_try_echo=$ac_try;;
15864 esac
15865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15866 (eval "$ac_try") 2>&5
15867 ac_status=$?
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; } &&
15870 { ac_try='test -s conftest$ac_exeext'
15871 { (case "(($ac_try" in
15872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15873 *) ac_try_echo=$ac_try;;
15874 esac
15875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15876 (eval "$ac_try") 2>&5
15877 ac_status=$?
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; }; then
15880 eval "$as_ac_var=yes"
15881 else
15882 echo "$as_me: failed program was:" >&5
15883 sed 's/^/| /' conftest.$ac_ext >&5
15885 eval "$as_ac_var=no"
15888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15889 conftest$ac_exeext conftest.$ac_ext
15890 CFLAGS=$ac_wine_try_cflags_saved
15892 ac_res=`eval echo '${'$as_ac_var'}'`
15893 { echo "$as_me:$LINENO: result: $ac_res" >&5
15894 echo "${ECHO_T}$ac_res" >&6; }
15895 if test `eval echo '${'$as_ac_var'}'` = yes; then
15896 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
15900 case $host_cpu in
15901 *i[3456789]86* | x86_64)
15902 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
15903 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
15904 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
15905 echo $ECHO_N "(cached) $ECHO_C" >&6
15906 else
15907 ac_wine_try_cflags_saved=$CFLAGS
15908 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15909 cat >conftest.$ac_ext <<_ACEOF
15910 /* confdefs.h. */
15911 _ACEOF
15912 cat confdefs.h >>conftest.$ac_ext
15913 cat >>conftest.$ac_ext <<_ACEOF
15914 /* end confdefs.h. */
15917 main ()
15921 return 0;
15923 _ACEOF
15924 rm -f conftest.$ac_objext conftest$ac_exeext
15925 if { (ac_try="$ac_link"
15926 case "(($ac_try" in
15927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15928 *) ac_try_echo=$ac_try;;
15929 esac
15930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15931 (eval "$ac_link") 2>conftest.er1
15932 ac_status=$?
15933 grep -v '^ *+' conftest.er1 >conftest.err
15934 rm -f conftest.er1
15935 cat conftest.err >&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); } &&
15938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15939 { (case "(($ac_try" in
15940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15941 *) ac_try_echo=$ac_try;;
15942 esac
15943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15944 (eval "$ac_try") 2>&5
15945 ac_status=$?
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try='test -s conftest$ac_exeext'
15949 { (case "(($ac_try" in
15950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15951 *) ac_try_echo=$ac_try;;
15952 esac
15953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15954 (eval "$ac_try") 2>&5
15955 ac_status=$?
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; }; then
15958 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
15959 else
15960 echo "$as_me: failed program was:" >&5
15961 sed 's/^/| /' conftest.$ac_ext >&5
15963 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
15966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15967 conftest$ac_exeext conftest.$ac_ext
15968 CFLAGS=$ac_wine_try_cflags_saved
15970 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
15971 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
15972 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
15973 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
15977 esac
15979 else
15980 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
15981 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
15982 if test "${ac_cv_c_dll_unixware+set}" = set; then
15983 echo $ECHO_N "(cached) $ECHO_C" >&6
15984 else
15985 ac_wine_try_cflags_saved=$CFLAGS
15986 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
15987 cat >conftest.$ac_ext <<_ACEOF
15988 void myfunc() {}
15989 _ACEOF
15990 rm -f conftest.$ac_objext conftest$ac_exeext
15991 if { (ac_try="$ac_link"
15992 case "(($ac_try" in
15993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15994 *) ac_try_echo=$ac_try;;
15995 esac
15996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15997 (eval "$ac_link") 2>conftest.er1
15998 ac_status=$?
15999 grep -v '^ *+' conftest.er1 >conftest.err
16000 rm -f conftest.er1
16001 cat conftest.err >&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } &&
16004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16005 { (case "(($ac_try" in
16006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16007 *) ac_try_echo=$ac_try;;
16008 esac
16009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16010 (eval "$ac_try") 2>&5
16011 ac_status=$?
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; } &&
16014 { ac_try='test -s conftest$ac_exeext'
16015 { (case "(($ac_try" in
16016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16017 *) ac_try_echo=$ac_try;;
16018 esac
16019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16020 (eval "$ac_try") 2>&5
16021 ac_status=$?
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); }; }; then
16024 ac_cv_c_dll_unixware="yes"
16025 else
16026 echo "$as_me: failed program was:" >&5
16027 sed 's/^/| /' conftest.$ac_ext >&5
16029 ac_cv_c_dll_unixware="no"
16032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16033 conftest$ac_exeext conftest.$ac_ext
16034 CFLAGS=$ac_wine_try_cflags_saved
16036 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16037 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16038 if test "$ac_cv_c_dll_unixware" = "yes"
16039 then
16040 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16041 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16043 else
16044 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16045 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16046 if test "${ac_cv_c_dll_hpux+set}" = set; then
16047 echo $ECHO_N "(cached) $ECHO_C" >&6
16048 else
16049 ac_wine_try_cflags_saved=$CFLAGS
16050 CFLAGS="$CFLAGS -shared"
16051 cat >conftest.$ac_ext <<_ACEOF
16052 void myfunc() {}
16053 _ACEOF
16054 rm -f conftest.$ac_objext conftest$ac_exeext
16055 if { (ac_try="$ac_link"
16056 case "(($ac_try" in
16057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16058 *) ac_try_echo=$ac_try;;
16059 esac
16060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16061 (eval "$ac_link") 2>conftest.er1
16062 ac_status=$?
16063 grep -v '^ *+' conftest.er1 >conftest.err
16064 rm -f conftest.er1
16065 cat conftest.err >&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } &&
16068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16069 { (case "(($ac_try" in
16070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16071 *) ac_try_echo=$ac_try;;
16072 esac
16073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16074 (eval "$ac_try") 2>&5
16075 ac_status=$?
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; } &&
16078 { ac_try='test -s conftest$ac_exeext'
16079 { (case "(($ac_try" in
16080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16081 *) ac_try_echo=$ac_try;;
16082 esac
16083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16084 (eval "$ac_try") 2>&5
16085 ac_status=$?
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; }; then
16088 ac_cv_c_dll_hpux="yes"
16089 else
16090 echo "$as_me: failed program was:" >&5
16091 sed 's/^/| /' conftest.$ac_ext >&5
16093 ac_cv_c_dll_hpux="no"
16096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16097 conftest$ac_exeext conftest.$ac_ext
16098 CFLAGS=$ac_wine_try_cflags_saved
16100 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16101 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16102 if test "$ac_cv_c_dll_hpux" = "yes"
16103 then
16104 LIBEXT="sl"
16105 DLLEXT=".sl"
16106 LDDLLFLAGS="-shared -fPIC"
16107 LDSHARED="\$(CC) -shared"
16112 CROSSTEST=""
16114 if test "$cross_compiling" = "no"
16115 then
16116 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
16118 # Extract the first word of "$ac_prog", so it can be a program name with args.
16119 set dummy $ac_prog; ac_word=$2
16120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16122 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16124 else
16125 if test -n "$CROSSCC"; then
16126 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
16127 else
16128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16129 for as_dir in $PATH
16131 IFS=$as_save_IFS
16132 test -z "$as_dir" && as_dir=.
16133 for ac_exec_ext in '' $ac_executable_extensions; do
16134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16135 ac_cv_prog_CROSSCC="$ac_prog"
16136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16137 break 2
16139 done
16140 done
16141 IFS=$as_save_IFS
16145 CROSSCC=$ac_cv_prog_CROSSCC
16146 if test -n "$CROSSCC"; then
16147 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16148 echo "${ECHO_T}$CROSSCC" >&6; }
16149 else
16150 { echo "$as_me:$LINENO: result: no" >&5
16151 echo "${ECHO_T}no" >&6; }
16155 test -n "$CROSSCC" && break
16156 done
16157 test -n "$CROSSCC" || CROSSCC="false"
16159 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
16161 # Extract the first word of "$ac_prog", so it can be a program name with args.
16162 set dummy $ac_prog; ac_word=$2
16163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16165 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16167 else
16168 if test -n "$DLLTOOL"; then
16169 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16170 else
16171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16172 for as_dir in $PATH
16174 IFS=$as_save_IFS
16175 test -z "$as_dir" && as_dir=.
16176 for ac_exec_ext in '' $ac_executable_extensions; do
16177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16178 ac_cv_prog_DLLTOOL="$ac_prog"
16179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16180 break 2
16182 done
16183 done
16184 IFS=$as_save_IFS
16188 DLLTOOL=$ac_cv_prog_DLLTOOL
16189 if test -n "$DLLTOOL"; then
16190 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16191 echo "${ECHO_T}$DLLTOOL" >&6; }
16192 else
16193 { echo "$as_me:$LINENO: result: no" >&5
16194 echo "${ECHO_T}no" >&6; }
16198 test -n "$DLLTOOL" && break
16199 done
16200 test -n "$DLLTOOL" || DLLTOOL="false"
16202 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
16204 # Extract the first word of "$ac_prog", so it can be a program name with args.
16205 set dummy $ac_prog; ac_word=$2
16206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16208 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 else
16211 if test -n "$CROSSWINDRES"; then
16212 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
16213 else
16214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16215 for as_dir in $PATH
16217 IFS=$as_save_IFS
16218 test -z "$as_dir" && as_dir=.
16219 for ac_exec_ext in '' $ac_executable_extensions; do
16220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16221 ac_cv_prog_CROSSWINDRES="$ac_prog"
16222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16223 break 2
16225 done
16226 done
16227 IFS=$as_save_IFS
16231 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
16232 if test -n "$CROSSWINDRES"; then
16233 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16234 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16235 else
16236 { echo "$as_me:$LINENO: result: no" >&5
16237 echo "${ECHO_T}no" >&6; }
16241 test -n "$CROSSWINDRES" && break
16242 done
16243 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
16245 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
16248 esac
16250 if test "$LIBEXT" = "a"; then
16251 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16252 It is currently not possible to build Wine without shared library
16253 (.so) support to allow transparent switch between .so and .dll files.
16254 If you are using Linux, you will need a newer binutils.
16255 " >&5
16256 echo "$as_me: error: could not find a way to build shared libraries.
16257 It is currently not possible to build Wine without shared library
16258 (.so) support to allow transparent switch between .so and .dll files.
16259 If you are using Linux, you will need a newer binutils.
16260 " >&2;}
16261 { (exit 1); exit 1; }; }
16264 case $build_os in
16265 cygwin*|mingw32*)
16266 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16268 darwin*|macosx*)
16269 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16272 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16274 esac
16276 case $host_os in
16277 mingw32*)
16278 CRTLIBS="-lmsvcrt"
16280 SOCKETLIBS="-lws2_32"
16283 esac
16285 MAIN_BINARY="wine-pthread"
16286 case $host_cpu in
16287 *i[3456789]86*)
16288 case $host_os in
16289 linux* | k*bsd*-gnu)
16290 MAIN_BINARY="wine-glibc"
16292 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16294 esac
16296 esac
16299 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16300 then
16301 # Extract the first word of "ldd", so it can be a program name with args.
16302 set dummy ldd; ac_word=$2
16303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16305 if test "${ac_cv_path_LDD+set}" = set; then
16306 echo $ECHO_N "(cached) $ECHO_C" >&6
16307 else
16308 case $LDD in
16309 [\\/]* | ?:[\\/]*)
16310 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
16313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16314 as_dummy="/sbin:/usr/sbin:$PATH"
16315 for as_dir in $as_dummy
16317 IFS=$as_save_IFS
16318 test -z "$as_dir" && as_dir=.
16319 for ac_exec_ext in '' $ac_executable_extensions; do
16320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16321 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
16322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16323 break 2
16325 done
16326 done
16327 IFS=$as_save_IFS
16329 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
16331 esac
16333 LDD=$ac_cv_path_LDD
16334 if test -n "$LDD"; then
16335 { echo "$as_me:$LINENO: result: $LDD" >&5
16336 echo "${ECHO_T}$LDD" >&6; }
16337 else
16338 { echo "$as_me:$LINENO: result: no" >&5
16339 echo "${ECHO_T}no" >&6; }
16343 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16344 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16345 if test "${ac_cv_lib_soname_X11+set}" = set; then
16346 echo $ECHO_N "(cached) $ECHO_C" >&6
16347 else
16348 ac_get_soname_save_LIBS=$LIBS
16349 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16350 cat >conftest.$ac_ext <<_ACEOF
16351 /* confdefs.h. */
16352 _ACEOF
16353 cat confdefs.h >>conftest.$ac_ext
16354 cat >>conftest.$ac_ext <<_ACEOF
16355 /* end confdefs.h. */
16357 /* Override any GCC internal prototype to avoid an error.
16358 Use char because int might match the return type of a GCC
16359 builtin and then its argument prototype would still apply. */
16360 #ifdef __cplusplus
16361 extern "C"
16362 #endif
16363 char XCreateWindow ();
16365 main ()
16367 return XCreateWindow ();
16369 return 0;
16371 _ACEOF
16372 rm -f conftest.$ac_objext conftest$ac_exeext
16373 if { (ac_try="$ac_link"
16374 case "(($ac_try" in
16375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16376 *) ac_try_echo=$ac_try;;
16377 esac
16378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16379 (eval "$ac_link") 2>conftest.er1
16380 ac_status=$?
16381 grep -v '^ *+' conftest.er1 >conftest.err
16382 rm -f conftest.er1
16383 cat conftest.err >&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } &&
16386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16387 { (case "(($ac_try" in
16388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16389 *) ac_try_echo=$ac_try;;
16390 esac
16391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16392 (eval "$ac_try") 2>&5
16393 ac_status=$?
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); }; } &&
16396 { ac_try='test -s conftest$ac_exeext'
16397 { (case "(($ac_try" in
16398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16399 *) ac_try_echo=$ac_try;;
16400 esac
16401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16402 (eval "$ac_try") 2>&5
16403 ac_status=$?
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; }; then
16406 case "$LIBEXT" in
16407 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'` ;;
16408 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16409 esac
16410 if test "x$ac_cv_lib_soname_X11" = "x"
16411 then
16412 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16414 else
16415 echo "$as_me: failed program was:" >&5
16416 sed 's/^/| /' conftest.$ac_ext >&5
16418 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16422 conftest$ac_exeext conftest.$ac_ext
16423 LIBS=$ac_get_soname_save_LIBS
16425 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16426 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16427 if test "${ac_cv_lib_soname_X11+set}" = set; then
16429 cat >>confdefs.h <<_ACEOF
16430 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16431 _ACEOF
16435 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16436 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16437 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16438 echo $ECHO_N "(cached) $ECHO_C" >&6
16439 else
16440 ac_get_soname_save_LIBS=$LIBS
16441 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16442 cat >conftest.$ac_ext <<_ACEOF
16443 /* confdefs.h. */
16444 _ACEOF
16445 cat confdefs.h >>conftest.$ac_ext
16446 cat >>conftest.$ac_ext <<_ACEOF
16447 /* end confdefs.h. */
16449 /* Override any GCC internal prototype to avoid an error.
16450 Use char because int might match the return type of a GCC
16451 builtin and then its argument prototype would still apply. */
16452 #ifdef __cplusplus
16453 extern "C"
16454 #endif
16455 char XextCreateExtension ();
16457 main ()
16459 return XextCreateExtension ();
16461 return 0;
16463 _ACEOF
16464 rm -f conftest.$ac_objext conftest$ac_exeext
16465 if { (ac_try="$ac_link"
16466 case "(($ac_try" in
16467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16468 *) ac_try_echo=$ac_try;;
16469 esac
16470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16471 (eval "$ac_link") 2>conftest.er1
16472 ac_status=$?
16473 grep -v '^ *+' conftest.er1 >conftest.err
16474 rm -f conftest.er1
16475 cat conftest.err >&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); } &&
16478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16479 { (case "(($ac_try" in
16480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16481 *) ac_try_echo=$ac_try;;
16482 esac
16483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16484 (eval "$ac_try") 2>&5
16485 ac_status=$?
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); }; } &&
16488 { ac_try='test -s conftest$ac_exeext'
16489 { (case "(($ac_try" in
16490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16491 *) ac_try_echo=$ac_try;;
16492 esac
16493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16494 (eval "$ac_try") 2>&5
16495 ac_status=$?
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); }; }; then
16498 case "$LIBEXT" in
16499 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'` ;;
16500 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16501 esac
16502 if test "x$ac_cv_lib_soname_Xext" = "x"
16503 then
16504 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16506 else
16507 echo "$as_me: failed program was:" >&5
16508 sed 's/^/| /' conftest.$ac_ext >&5
16510 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16514 conftest$ac_exeext conftest.$ac_ext
16515 LIBS=$ac_get_soname_save_LIBS
16517 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16518 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16519 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16521 cat >>confdefs.h <<_ACEOF
16522 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16523 _ACEOF
16527 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16528 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16529 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16531 else
16532 ac_get_soname_save_LIBS=$LIBS
16533 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16534 cat >conftest.$ac_ext <<_ACEOF
16535 /* confdefs.h. */
16536 _ACEOF
16537 cat confdefs.h >>conftest.$ac_ext
16538 cat >>conftest.$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16541 /* Override any GCC internal prototype to avoid an error.
16542 Use char because int might match the return type of a GCC
16543 builtin and then its argument prototype would still apply. */
16544 #ifdef __cplusplus
16545 extern "C"
16546 #endif
16547 char XOpenDevice ();
16549 main ()
16551 return XOpenDevice ();
16553 return 0;
16555 _ACEOF
16556 rm -f conftest.$ac_objext conftest$ac_exeext
16557 if { (ac_try="$ac_link"
16558 case "(($ac_try" in
16559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16560 *) ac_try_echo=$ac_try;;
16561 esac
16562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16563 (eval "$ac_link") 2>conftest.er1
16564 ac_status=$?
16565 grep -v '^ *+' conftest.er1 >conftest.err
16566 rm -f conftest.er1
16567 cat conftest.err >&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); } &&
16570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16571 { (case "(($ac_try" in
16572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16573 *) ac_try_echo=$ac_try;;
16574 esac
16575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16576 (eval "$ac_try") 2>&5
16577 ac_status=$?
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; } &&
16580 { ac_try='test -s conftest$ac_exeext'
16581 { (case "(($ac_try" in
16582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16583 *) ac_try_echo=$ac_try;;
16584 esac
16585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16586 (eval "$ac_try") 2>&5
16587 ac_status=$?
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); }; }; then
16590 case "$LIBEXT" in
16591 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'` ;;
16592 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16593 esac
16594 if test "x$ac_cv_lib_soname_Xi" = "x"
16595 then
16596 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16598 else
16599 echo "$as_me: failed program was:" >&5
16600 sed 's/^/| /' conftest.$ac_ext >&5
16602 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16606 conftest$ac_exeext conftest.$ac_ext
16607 LIBS=$ac_get_soname_save_LIBS
16609 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16610 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16611 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16613 cat >>confdefs.h <<_ACEOF
16614 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16615 _ACEOF
16619 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
16620 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
16621 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16622 echo $ECHO_N "(cached) $ECHO_C" >&6
16623 else
16624 ac_get_soname_save_LIBS=$LIBS
16625 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16626 cat >conftest.$ac_ext <<_ACEOF
16627 /* confdefs.h. */
16628 _ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16633 /* Override any GCC internal prototype to avoid an error.
16634 Use char because int might match the return type of a GCC
16635 builtin and then its argument prototype would still apply. */
16636 #ifdef __cplusplus
16637 extern "C"
16638 #endif
16639 char XineramaQueryScreens ();
16641 main ()
16643 return XineramaQueryScreens ();
16645 return 0;
16647 _ACEOF
16648 rm -f conftest.$ac_objext conftest$ac_exeext
16649 if { (ac_try="$ac_link"
16650 case "(($ac_try" in
16651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16652 *) ac_try_echo=$ac_try;;
16653 esac
16654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16655 (eval "$ac_link") 2>conftest.er1
16656 ac_status=$?
16657 grep -v '^ *+' conftest.er1 >conftest.err
16658 rm -f conftest.er1
16659 cat conftest.err >&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); } &&
16662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16663 { (case "(($ac_try" in
16664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16665 *) ac_try_echo=$ac_try;;
16666 esac
16667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16668 (eval "$ac_try") 2>&5
16669 ac_status=$?
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; } &&
16672 { ac_try='test -s conftest$ac_exeext'
16673 { (case "(($ac_try" in
16674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16675 *) ac_try_echo=$ac_try;;
16676 esac
16677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16678 (eval "$ac_try") 2>&5
16679 ac_status=$?
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; }; then
16682 case "$LIBEXT" in
16683 dylib) ac_cv_lib_soname_Xinerama=`otool -L conftest$ac_exeext | grep libXinerama\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16684 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16685 esac
16686 if test "x$ac_cv_lib_soname_Xinerama" = "x"
16687 then
16688 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16690 else
16691 echo "$as_me: failed program was:" >&5
16692 sed 's/^/| /' conftest.$ac_ext >&5
16694 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16698 conftest$ac_exeext conftest.$ac_ext
16699 LIBS=$ac_get_soname_save_LIBS
16701 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
16702 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
16703 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16705 cat >>confdefs.h <<_ACEOF
16706 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
16707 _ACEOF
16711 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16712 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16713 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16714 echo $ECHO_N "(cached) $ECHO_C" >&6
16715 else
16716 ac_get_soname_save_LIBS=$LIBS
16717 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16718 cat >conftest.$ac_ext <<_ACEOF
16719 /* confdefs.h. */
16720 _ACEOF
16721 cat confdefs.h >>conftest.$ac_ext
16722 cat >>conftest.$ac_ext <<_ACEOF
16723 /* end confdefs.h. */
16725 /* Override any GCC internal prototype to avoid an error.
16726 Use char because int might match the return type of a GCC
16727 builtin and then its argument prototype would still apply. */
16728 #ifdef __cplusplus
16729 extern "C"
16730 #endif
16731 char XRenderQueryExtension ();
16733 main ()
16735 return XRenderQueryExtension ();
16737 return 0;
16739 _ACEOF
16740 rm -f conftest.$ac_objext conftest$ac_exeext
16741 if { (ac_try="$ac_link"
16742 case "(($ac_try" in
16743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16744 *) ac_try_echo=$ac_try;;
16745 esac
16746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16747 (eval "$ac_link") 2>conftest.er1
16748 ac_status=$?
16749 grep -v '^ *+' conftest.er1 >conftest.err
16750 rm -f conftest.er1
16751 cat conftest.err >&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } &&
16754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16755 { (case "(($ac_try" in
16756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16757 *) ac_try_echo=$ac_try;;
16758 esac
16759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16760 (eval "$ac_try") 2>&5
16761 ac_status=$?
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; } &&
16764 { ac_try='test -s conftest$ac_exeext'
16765 { (case "(($ac_try" in
16766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16767 *) ac_try_echo=$ac_try;;
16768 esac
16769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16770 (eval "$ac_try") 2>&5
16771 ac_status=$?
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); }; }; then
16774 case "$LIBEXT" in
16775 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'` ;;
16776 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16777 esac
16778 if test "x$ac_cv_lib_soname_Xrender" = "x"
16779 then
16780 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16782 else
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.$ac_ext >&5
16786 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16790 conftest$ac_exeext conftest.$ac_ext
16791 LIBS=$ac_get_soname_save_LIBS
16793 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16794 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16795 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16797 cat >>confdefs.h <<_ACEOF
16798 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16799 _ACEOF
16803 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16804 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16805 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16806 echo $ECHO_N "(cached) $ECHO_C" >&6
16807 else
16808 ac_get_soname_save_LIBS=$LIBS
16809 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16810 cat >conftest.$ac_ext <<_ACEOF
16811 /* confdefs.h. */
16812 _ACEOF
16813 cat confdefs.h >>conftest.$ac_ext
16814 cat >>conftest.$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16817 /* Override any GCC internal prototype to avoid an error.
16818 Use char because int might match the return type of a GCC
16819 builtin and then its argument prototype would still apply. */
16820 #ifdef __cplusplus
16821 extern "C"
16822 #endif
16823 char XRRQueryExtension ();
16825 main ()
16827 return XRRQueryExtension ();
16829 return 0;
16831 _ACEOF
16832 rm -f conftest.$ac_objext conftest$ac_exeext
16833 if { (ac_try="$ac_link"
16834 case "(($ac_try" in
16835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16836 *) ac_try_echo=$ac_try;;
16837 esac
16838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16839 (eval "$ac_link") 2>conftest.er1
16840 ac_status=$?
16841 grep -v '^ *+' conftest.er1 >conftest.err
16842 rm -f conftest.er1
16843 cat conftest.err >&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16847 { (case "(($ac_try" in
16848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16849 *) ac_try_echo=$ac_try;;
16850 esac
16851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16852 (eval "$ac_try") 2>&5
16853 ac_status=$?
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; } &&
16856 { ac_try='test -s conftest$ac_exeext'
16857 { (case "(($ac_try" in
16858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16859 *) ac_try_echo=$ac_try;;
16860 esac
16861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16862 (eval "$ac_try") 2>&5
16863 ac_status=$?
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); }; }; then
16866 case "$LIBEXT" in
16867 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'` ;;
16868 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16869 esac
16870 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16871 then
16872 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16874 else
16875 echo "$as_me: failed program was:" >&5
16876 sed 's/^/| /' conftest.$ac_ext >&5
16878 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16882 conftest$ac_exeext conftest.$ac_ext
16883 LIBS=$ac_get_soname_save_LIBS
16885 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16886 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16887 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16889 cat >>confdefs.h <<_ACEOF
16890 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16891 _ACEOF
16895 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16896 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16897 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16898 echo $ECHO_N "(cached) $ECHO_C" >&6
16899 else
16900 ac_get_soname_save_LIBS=$LIBS
16901 LIBS="-lfreetype $X_LIBS $LIBS"
16902 cat >conftest.$ac_ext <<_ACEOF
16903 /* confdefs.h. */
16904 _ACEOF
16905 cat confdefs.h >>conftest.$ac_ext
16906 cat >>conftest.$ac_ext <<_ACEOF
16907 /* end confdefs.h. */
16909 /* Override any GCC internal prototype to avoid an error.
16910 Use char because int might match the return type of a GCC
16911 builtin and then its argument prototype would still apply. */
16912 #ifdef __cplusplus
16913 extern "C"
16914 #endif
16915 char FT_Init_FreeType ();
16917 main ()
16919 return FT_Init_FreeType ();
16921 return 0;
16923 _ACEOF
16924 rm -f conftest.$ac_objext conftest$ac_exeext
16925 if { (ac_try="$ac_link"
16926 case "(($ac_try" in
16927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16928 *) ac_try_echo=$ac_try;;
16929 esac
16930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16931 (eval "$ac_link") 2>conftest.er1
16932 ac_status=$?
16933 grep -v '^ *+' conftest.er1 >conftest.err
16934 rm -f conftest.er1
16935 cat conftest.err >&5
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); } &&
16938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16939 { (case "(($ac_try" in
16940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16941 *) ac_try_echo=$ac_try;;
16942 esac
16943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16944 (eval "$ac_try") 2>&5
16945 ac_status=$?
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; } &&
16948 { ac_try='test -s conftest$ac_exeext'
16949 { (case "(($ac_try" in
16950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16951 *) ac_try_echo=$ac_try;;
16952 esac
16953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16954 (eval "$ac_try") 2>&5
16955 ac_status=$?
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 case "$LIBEXT" in
16959 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'` ;;
16960 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16961 esac
16962 if test "x$ac_cv_lib_soname_freetype" = "x"
16963 then
16964 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16966 else
16967 echo "$as_me: failed program was:" >&5
16968 sed 's/^/| /' conftest.$ac_ext >&5
16970 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16974 conftest$ac_exeext conftest.$ac_ext
16975 LIBS=$ac_get_soname_save_LIBS
16977 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
16978 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
16979 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16981 cat >>confdefs.h <<_ACEOF
16982 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
16983 _ACEOF
16987 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
16988 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
16989 if test "${ac_cv_lib_soname_GL+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16991 else
16992 ac_get_soname_save_LIBS=$LIBS
16993 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
16994 cat >conftest.$ac_ext <<_ACEOF
16995 /* confdefs.h. */
16996 _ACEOF
16997 cat confdefs.h >>conftest.$ac_ext
16998 cat >>conftest.$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17001 /* Override any GCC internal prototype to avoid an error.
17002 Use char because int might match the return type of a GCC
17003 builtin and then its argument prototype would still apply. */
17004 #ifdef __cplusplus
17005 extern "C"
17006 #endif
17007 char glXQueryExtension ();
17009 main ()
17011 return glXQueryExtension ();
17013 return 0;
17015 _ACEOF
17016 rm -f conftest.$ac_objext conftest$ac_exeext
17017 if { (ac_try="$ac_link"
17018 case "(($ac_try" in
17019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17020 *) ac_try_echo=$ac_try;;
17021 esac
17022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17023 (eval "$ac_link") 2>conftest.er1
17024 ac_status=$?
17025 grep -v '^ *+' conftest.er1 >conftest.err
17026 rm -f conftest.er1
17027 cat conftest.err >&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); } &&
17030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17031 { (case "(($ac_try" in
17032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17033 *) ac_try_echo=$ac_try;;
17034 esac
17035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17036 (eval "$ac_try") 2>&5
17037 ac_status=$?
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; } &&
17040 { ac_try='test -s conftest$ac_exeext'
17041 { (case "(($ac_try" in
17042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17043 *) ac_try_echo=$ac_try;;
17044 esac
17045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17046 (eval "$ac_try") 2>&5
17047 ac_status=$?
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; }; then
17050 case "$LIBEXT" in
17051 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'` ;;
17052 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17053 esac
17054 if test "x$ac_cv_lib_soname_GL" = "x"
17055 then
17056 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17058 else
17059 echo "$as_me: failed program was:" >&5
17060 sed 's/^/| /' conftest.$ac_ext >&5
17062 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17066 conftest$ac_exeext conftest.$ac_ext
17067 LIBS=$ac_get_soname_save_LIBS
17069 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17070 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17071 if test "${ac_cv_lib_soname_GL+set}" = set; then
17073 cat >>confdefs.h <<_ACEOF
17074 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17075 _ACEOF
17079 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17080 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17081 if test "${ac_cv_lib_soname_hal+set}" = set; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17083 else
17084 ac_get_soname_save_LIBS=$LIBS
17085 LIBS="-lhal $LIBS"
17086 cat >conftest.$ac_ext <<_ACEOF
17087 /* confdefs.h. */
17088 _ACEOF
17089 cat confdefs.h >>conftest.$ac_ext
17090 cat >>conftest.$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17093 /* Override any GCC internal prototype to avoid an error.
17094 Use char because int might match the return type of a GCC
17095 builtin and then its argument prototype would still apply. */
17096 #ifdef __cplusplus
17097 extern "C"
17098 #endif
17099 char libhal_ctx_new ();
17101 main ()
17103 return libhal_ctx_new ();
17105 return 0;
17107 _ACEOF
17108 rm -f conftest.$ac_objext conftest$ac_exeext
17109 if { (ac_try="$ac_link"
17110 case "(($ac_try" in
17111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17112 *) ac_try_echo=$ac_try;;
17113 esac
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115 (eval "$ac_link") 2>conftest.er1
17116 ac_status=$?
17117 grep -v '^ *+' conftest.er1 >conftest.err
17118 rm -f conftest.er1
17119 cat conftest.err >&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } &&
17122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17123 { (case "(($ac_try" in
17124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17125 *) ac_try_echo=$ac_try;;
17126 esac
17127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17128 (eval "$ac_try") 2>&5
17129 ac_status=$?
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; } &&
17132 { ac_try='test -s conftest$ac_exeext'
17133 { (case "(($ac_try" in
17134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17135 *) ac_try_echo=$ac_try;;
17136 esac
17137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17138 (eval "$ac_try") 2>&5
17139 ac_status=$?
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); }; }; then
17142 case "$LIBEXT" in
17143 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'` ;;
17144 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17145 esac
17146 if test "x$ac_cv_lib_soname_hal" = "x"
17147 then
17148 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17150 else
17151 echo "$as_me: failed program was:" >&5
17152 sed 's/^/| /' conftest.$ac_ext >&5
17154 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17158 conftest$ac_exeext conftest.$ac_ext
17159 LIBS=$ac_get_soname_save_LIBS
17161 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17162 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17163 if test "${ac_cv_lib_soname_hal+set}" = set; then
17165 cat >>confdefs.h <<_ACEOF
17166 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17167 _ACEOF
17171 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17172 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17173 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17174 echo $ECHO_N "(cached) $ECHO_C" >&6
17175 else
17176 ac_get_soname_save_LIBS=$LIBS
17177 LIBS="-ltxc_dxtn $LIBS"
17178 cat >conftest.$ac_ext <<_ACEOF
17179 /* confdefs.h. */
17180 _ACEOF
17181 cat confdefs.h >>conftest.$ac_ext
17182 cat >>conftest.$ac_ext <<_ACEOF
17183 /* end confdefs.h. */
17185 /* Override any GCC internal prototype to avoid an error.
17186 Use char because int might match the return type of a GCC
17187 builtin and then its argument prototype would still apply. */
17188 #ifdef __cplusplus
17189 extern "C"
17190 #endif
17191 char fetch_2d_texel_rgba_dxt1 ();
17193 main ()
17195 return fetch_2d_texel_rgba_dxt1 ();
17197 return 0;
17199 _ACEOF
17200 rm -f conftest.$ac_objext conftest$ac_exeext
17201 if { (ac_try="$ac_link"
17202 case "(($ac_try" in
17203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17204 *) ac_try_echo=$ac_try;;
17205 esac
17206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17207 (eval "$ac_link") 2>conftest.er1
17208 ac_status=$?
17209 grep -v '^ *+' conftest.er1 >conftest.err
17210 rm -f conftest.er1
17211 cat conftest.err >&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } &&
17214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17215 { (case "(($ac_try" in
17216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17217 *) ac_try_echo=$ac_try;;
17218 esac
17219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17220 (eval "$ac_try") 2>&5
17221 ac_status=$?
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; } &&
17224 { ac_try='test -s conftest$ac_exeext'
17225 { (case "(($ac_try" in
17226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17227 *) ac_try_echo=$ac_try;;
17228 esac
17229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17230 (eval "$ac_try") 2>&5
17231 ac_status=$?
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); }; }; then
17234 case "$LIBEXT" in
17235 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'` ;;
17236 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'` ;;
17237 esac
17238 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17239 then
17240 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17242 else
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.$ac_ext >&5
17246 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17250 conftest$ac_exeext conftest.$ac_ext
17251 LIBS=$ac_get_soname_save_LIBS
17253 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17254 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17255 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17257 cat >>confdefs.h <<_ACEOF
17258 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17259 _ACEOF
17263 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17264 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17265 if test "${ac_cv_lib_soname_cups+set}" = set; then
17266 echo $ECHO_N "(cached) $ECHO_C" >&6
17267 else
17268 ac_get_soname_save_LIBS=$LIBS
17269 LIBS="-lcups $LIBS"
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h. */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17277 /* Override any GCC internal prototype to avoid an error.
17278 Use char because int might match the return type of a GCC
17279 builtin and then its argument prototype would still apply. */
17280 #ifdef __cplusplus
17281 extern "C"
17282 #endif
17283 char cupsGetDefault ();
17285 main ()
17287 return cupsGetDefault ();
17289 return 0;
17291 _ACEOF
17292 rm -f conftest.$ac_objext conftest$ac_exeext
17293 if { (ac_try="$ac_link"
17294 case "(($ac_try" in
17295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17296 *) ac_try_echo=$ac_try;;
17297 esac
17298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17299 (eval "$ac_link") 2>conftest.er1
17300 ac_status=$?
17301 grep -v '^ *+' conftest.er1 >conftest.err
17302 rm -f conftest.er1
17303 cat conftest.err >&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); } &&
17306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17307 { (case "(($ac_try" in
17308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17309 *) ac_try_echo=$ac_try;;
17310 esac
17311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17312 (eval "$ac_try") 2>&5
17313 ac_status=$?
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); }; } &&
17316 { ac_try='test -s conftest$ac_exeext'
17317 { (case "(($ac_try" in
17318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17319 *) ac_try_echo=$ac_try;;
17320 esac
17321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17322 (eval "$ac_try") 2>&5
17323 ac_status=$?
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; }; then
17326 case "$LIBEXT" in
17327 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'` ;;
17328 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17329 esac
17330 if test "x$ac_cv_lib_soname_cups" = "x"
17331 then
17332 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17334 else
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17338 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17342 conftest$ac_exeext conftest.$ac_ext
17343 LIBS=$ac_get_soname_save_LIBS
17345 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17346 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17347 if test "${ac_cv_lib_soname_cups+set}" = set; then
17349 cat >>confdefs.h <<_ACEOF
17350 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17351 _ACEOF
17355 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17356 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17357 if test "${ac_cv_lib_soname_jack+set}" = set; then
17358 echo $ECHO_N "(cached) $ECHO_C" >&6
17359 else
17360 ac_get_soname_save_LIBS=$LIBS
17361 LIBS="-ljack $LIBS"
17362 cat >conftest.$ac_ext <<_ACEOF
17363 /* confdefs.h. */
17364 _ACEOF
17365 cat confdefs.h >>conftest.$ac_ext
17366 cat >>conftest.$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17369 /* Override any GCC internal prototype to avoid an error.
17370 Use char because int might match the return type of a GCC
17371 builtin and then its argument prototype would still apply. */
17372 #ifdef __cplusplus
17373 extern "C"
17374 #endif
17375 char jack_client_new ();
17377 main ()
17379 return jack_client_new ();
17381 return 0;
17383 _ACEOF
17384 rm -f conftest.$ac_objext conftest$ac_exeext
17385 if { (ac_try="$ac_link"
17386 case "(($ac_try" in
17387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17388 *) ac_try_echo=$ac_try;;
17389 esac
17390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17391 (eval "$ac_link") 2>conftest.er1
17392 ac_status=$?
17393 grep -v '^ *+' conftest.er1 >conftest.err
17394 rm -f conftest.er1
17395 cat conftest.err >&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); } &&
17398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17399 { (case "(($ac_try" in
17400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17401 *) ac_try_echo=$ac_try;;
17402 esac
17403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17404 (eval "$ac_try") 2>&5
17405 ac_status=$?
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; } &&
17408 { ac_try='test -s conftest$ac_exeext'
17409 { (case "(($ac_try" in
17410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17411 *) ac_try_echo=$ac_try;;
17412 esac
17413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17414 (eval "$ac_try") 2>&5
17415 ac_status=$?
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; }; then
17418 case "$LIBEXT" in
17419 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'` ;;
17420 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17421 esac
17422 if test "x$ac_cv_lib_soname_jack" = "x"
17423 then
17424 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17426 else
17427 echo "$as_me: failed program was:" >&5
17428 sed 's/^/| /' conftest.$ac_ext >&5
17430 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17434 conftest$ac_exeext conftest.$ac_ext
17435 LIBS=$ac_get_soname_save_LIBS
17437 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17438 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17439 if test "${ac_cv_lib_soname_jack+set}" = set; then
17441 cat >>confdefs.h <<_ACEOF
17442 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17443 _ACEOF
17447 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17448 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17449 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17451 else
17452 ac_get_soname_save_LIBS=$LIBS
17453 LIBS="-lfontconfig $LIBS"
17454 cat >conftest.$ac_ext <<_ACEOF
17455 /* confdefs.h. */
17456 _ACEOF
17457 cat confdefs.h >>conftest.$ac_ext
17458 cat >>conftest.$ac_ext <<_ACEOF
17459 /* end confdefs.h. */
17461 /* Override any GCC internal prototype to avoid an error.
17462 Use char because int might match the return type of a GCC
17463 builtin and then its argument prototype would still apply. */
17464 #ifdef __cplusplus
17465 extern "C"
17466 #endif
17467 char FcInit ();
17469 main ()
17471 return FcInit ();
17473 return 0;
17475 _ACEOF
17476 rm -f conftest.$ac_objext conftest$ac_exeext
17477 if { (ac_try="$ac_link"
17478 case "(($ac_try" in
17479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17480 *) ac_try_echo=$ac_try;;
17481 esac
17482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17483 (eval "$ac_link") 2>conftest.er1
17484 ac_status=$?
17485 grep -v '^ *+' conftest.er1 >conftest.err
17486 rm -f conftest.er1
17487 cat conftest.err >&5
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); } &&
17490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17491 { (case "(($ac_try" in
17492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17493 *) ac_try_echo=$ac_try;;
17494 esac
17495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17496 (eval "$ac_try") 2>&5
17497 ac_status=$?
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); }; } &&
17500 { ac_try='test -s conftest$ac_exeext'
17501 { (case "(($ac_try" in
17502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17503 *) ac_try_echo=$ac_try;;
17504 esac
17505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17506 (eval "$ac_try") 2>&5
17507 ac_status=$?
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; }; then
17510 case "$LIBEXT" in
17511 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'` ;;
17512 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17513 esac
17514 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17515 then
17516 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17518 else
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.$ac_ext >&5
17522 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17526 conftest$ac_exeext conftest.$ac_ext
17527 LIBS=$ac_get_soname_save_LIBS
17529 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17530 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17531 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17533 cat >>confdefs.h <<_ACEOF
17534 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17535 _ACEOF
17539 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17540 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17541 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17542 echo $ECHO_N "(cached) $ECHO_C" >&6
17543 else
17544 ac_get_soname_save_LIBS=$LIBS
17545 LIBS="-lssl $LIBS"
17546 cat >conftest.$ac_ext <<_ACEOF
17547 /* confdefs.h. */
17548 _ACEOF
17549 cat confdefs.h >>conftest.$ac_ext
17550 cat >>conftest.$ac_ext <<_ACEOF
17551 /* end confdefs.h. */
17553 /* Override any GCC internal prototype to avoid an error.
17554 Use char because int might match the return type of a GCC
17555 builtin and then its argument prototype would still apply. */
17556 #ifdef __cplusplus
17557 extern "C"
17558 #endif
17559 char SSL_library_init ();
17561 main ()
17563 return SSL_library_init ();
17565 return 0;
17567 _ACEOF
17568 rm -f conftest.$ac_objext conftest$ac_exeext
17569 if { (ac_try="$ac_link"
17570 case "(($ac_try" in
17571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17573 esac
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_link") 2>conftest.er1
17576 ac_status=$?
17577 grep -v '^ *+' conftest.er1 >conftest.err
17578 rm -f conftest.er1
17579 cat conftest.err >&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } &&
17582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17583 { (case "(($ac_try" in
17584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17585 *) ac_try_echo=$ac_try;;
17586 esac
17587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17588 (eval "$ac_try") 2>&5
17589 ac_status=$?
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; } &&
17592 { ac_try='test -s conftest$ac_exeext'
17593 { (case "(($ac_try" in
17594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17595 *) ac_try_echo=$ac_try;;
17596 esac
17597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17598 (eval "$ac_try") 2>&5
17599 ac_status=$?
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); }; }; then
17602 case "$LIBEXT" in
17603 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'` ;;
17604 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17605 esac
17606 if test "x$ac_cv_lib_soname_ssl" = "x"
17607 then
17608 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17610 else
17611 echo "$as_me: failed program was:" >&5
17612 sed 's/^/| /' conftest.$ac_ext >&5
17614 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17618 conftest$ac_exeext conftest.$ac_ext
17619 LIBS=$ac_get_soname_save_LIBS
17621 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17622 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17623 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17625 cat >>confdefs.h <<_ACEOF
17626 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17627 _ACEOF
17631 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17632 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17633 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17634 echo $ECHO_N "(cached) $ECHO_C" >&6
17635 else
17636 ac_get_soname_save_LIBS=$LIBS
17637 LIBS="-lcrypto $LIBS"
17638 cat >conftest.$ac_ext <<_ACEOF
17639 /* confdefs.h. */
17640 _ACEOF
17641 cat confdefs.h >>conftest.$ac_ext
17642 cat >>conftest.$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17645 /* Override any GCC internal prototype to avoid an error.
17646 Use char because int might match the return type of a GCC
17647 builtin and then its argument prototype would still apply. */
17648 #ifdef __cplusplus
17649 extern "C"
17650 #endif
17651 char BIO_new_socket ();
17653 main ()
17655 return BIO_new_socket ();
17657 return 0;
17659 _ACEOF
17660 rm -f conftest.$ac_objext conftest$ac_exeext
17661 if { (ac_try="$ac_link"
17662 case "(($ac_try" in
17663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17664 *) ac_try_echo=$ac_try;;
17665 esac
17666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17667 (eval "$ac_link") 2>conftest.er1
17668 ac_status=$?
17669 grep -v '^ *+' conftest.er1 >conftest.err
17670 rm -f conftest.er1
17671 cat conftest.err >&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); } &&
17674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17675 { (case "(($ac_try" in
17676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17677 *) ac_try_echo=$ac_try;;
17678 esac
17679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17680 (eval "$ac_try") 2>&5
17681 ac_status=$?
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); }; } &&
17684 { ac_try='test -s conftest$ac_exeext'
17685 { (case "(($ac_try" in
17686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17687 *) ac_try_echo=$ac_try;;
17688 esac
17689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_try") 2>&5
17691 ac_status=$?
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; }; then
17694 case "$LIBEXT" in
17695 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'` ;;
17696 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17697 esac
17698 if test "x$ac_cv_lib_soname_crypto" = "x"
17699 then
17700 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17702 else
17703 echo "$as_me: failed program was:" >&5
17704 sed 's/^/| /' conftest.$ac_ext >&5
17706 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17710 conftest$ac_exeext conftest.$ac_ext
17711 LIBS=$ac_get_soname_save_LIBS
17713 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17714 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17715 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17717 cat >>confdefs.h <<_ACEOF
17718 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17719 _ACEOF
17723 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17724 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17725 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17726 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 else
17728 ac_get_soname_save_LIBS=$LIBS
17729 LIBS="-lncurses $LIBS"
17730 cat >conftest.$ac_ext <<_ACEOF
17731 /* confdefs.h. */
17732 _ACEOF
17733 cat confdefs.h >>conftest.$ac_ext
17734 cat >>conftest.$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17737 /* Override any GCC internal prototype to avoid an error.
17738 Use char because int might match the return type of a GCC
17739 builtin and then its argument prototype would still apply. */
17740 #ifdef __cplusplus
17741 extern "C"
17742 #endif
17743 char waddch ();
17745 main ()
17747 return waddch ();
17749 return 0;
17751 _ACEOF
17752 rm -f conftest.$ac_objext conftest$ac_exeext
17753 if { (ac_try="$ac_link"
17754 case "(($ac_try" in
17755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17756 *) ac_try_echo=$ac_try;;
17757 esac
17758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17759 (eval "$ac_link") 2>conftest.er1
17760 ac_status=$?
17761 grep -v '^ *+' conftest.er1 >conftest.err
17762 rm -f conftest.er1
17763 cat conftest.err >&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); } &&
17766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17767 { (case "(($ac_try" in
17768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17769 *) ac_try_echo=$ac_try;;
17770 esac
17771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17772 (eval "$ac_try") 2>&5
17773 ac_status=$?
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; } &&
17776 { ac_try='test -s conftest$ac_exeext'
17777 { (case "(($ac_try" in
17778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17779 *) ac_try_echo=$ac_try;;
17780 esac
17781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17782 (eval "$ac_try") 2>&5
17783 ac_status=$?
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17786 case "$LIBEXT" in
17787 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'` ;;
17788 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17789 esac
17790 if test "x$ac_cv_lib_soname_ncurses" = "x"
17791 then
17792 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17794 else
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.$ac_ext >&5
17798 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17802 conftest$ac_exeext conftest.$ac_ext
17803 LIBS=$ac_get_soname_save_LIBS
17805 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17806 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17807 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17809 cat >>confdefs.h <<_ACEOF
17810 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17811 _ACEOF
17815 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17816 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17817 if test "${ac_cv_lib_soname_curses+set}" = set; then
17818 echo $ECHO_N "(cached) $ECHO_C" >&6
17819 else
17820 ac_get_soname_save_LIBS=$LIBS
17821 LIBS="-lcurses $LIBS"
17822 cat >conftest.$ac_ext <<_ACEOF
17823 /* confdefs.h. */
17824 _ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17829 /* Override any GCC internal prototype to avoid an error.
17830 Use char because int might match the return type of a GCC
17831 builtin and then its argument prototype would still apply. */
17832 #ifdef __cplusplus
17833 extern "C"
17834 #endif
17835 char waddch ();
17837 main ()
17839 return waddch ();
17841 return 0;
17843 _ACEOF
17844 rm -f conftest.$ac_objext conftest$ac_exeext
17845 if { (ac_try="$ac_link"
17846 case "(($ac_try" in
17847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17848 *) ac_try_echo=$ac_try;;
17849 esac
17850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17851 (eval "$ac_link") 2>conftest.er1
17852 ac_status=$?
17853 grep -v '^ *+' conftest.er1 >conftest.err
17854 rm -f conftest.er1
17855 cat conftest.err >&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); } &&
17858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17859 { (case "(($ac_try" in
17860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17861 *) ac_try_echo=$ac_try;;
17862 esac
17863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17864 (eval "$ac_try") 2>&5
17865 ac_status=$?
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; } &&
17868 { ac_try='test -s conftest$ac_exeext'
17869 { (case "(($ac_try" in
17870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17871 *) ac_try_echo=$ac_try;;
17872 esac
17873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17874 (eval "$ac_try") 2>&5
17875 ac_status=$?
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); }; }; then
17878 case "$LIBEXT" in
17879 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'` ;;
17880 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17881 esac
17882 if test "x$ac_cv_lib_soname_curses" = "x"
17883 then
17884 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17886 else
17887 echo "$as_me: failed program was:" >&5
17888 sed 's/^/| /' conftest.$ac_ext >&5
17890 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17894 conftest$ac_exeext conftest.$ac_ext
17895 LIBS=$ac_get_soname_save_LIBS
17897 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17898 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17899 if test "${ac_cv_lib_soname_curses+set}" = set; then
17901 cat >>confdefs.h <<_ACEOF
17902 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17903 _ACEOF
17907 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17908 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17909 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17910 echo $ECHO_N "(cached) $ECHO_C" >&6
17911 else
17912 ac_get_soname_save_LIBS=$LIBS
17913 LIBS="-ljpeg $LIBS"
17914 cat >conftest.$ac_ext <<_ACEOF
17915 /* confdefs.h. */
17916 _ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17921 /* Override any GCC internal prototype to avoid an error.
17922 Use char because int might match the return type of a GCC
17923 builtin and then its argument prototype would still apply. */
17924 #ifdef __cplusplus
17925 extern "C"
17926 #endif
17927 char jpeg_start_decompress ();
17929 main ()
17931 return jpeg_start_decompress ();
17933 return 0;
17935 _ACEOF
17936 rm -f conftest.$ac_objext conftest$ac_exeext
17937 if { (ac_try="$ac_link"
17938 case "(($ac_try" in
17939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17940 *) ac_try_echo=$ac_try;;
17941 esac
17942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17943 (eval "$ac_link") 2>conftest.er1
17944 ac_status=$?
17945 grep -v '^ *+' conftest.er1 >conftest.err
17946 rm -f conftest.er1
17947 cat conftest.err >&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } &&
17950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17951 { (case "(($ac_try" in
17952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17953 *) ac_try_echo=$ac_try;;
17954 esac
17955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17956 (eval "$ac_try") 2>&5
17957 ac_status=$?
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); }; } &&
17960 { ac_try='test -s conftest$ac_exeext'
17961 { (case "(($ac_try" in
17962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17963 *) ac_try_echo=$ac_try;;
17964 esac
17965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17966 (eval "$ac_try") 2>&5
17967 ac_status=$?
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); }; }; then
17970 case "$LIBEXT" in
17971 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'` ;;
17972 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17973 esac
17974 if test "x$ac_cv_lib_soname_jpeg" = "x"
17975 then
17976 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
17978 else
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17982 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
17985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17986 conftest$ac_exeext conftest.$ac_ext
17987 LIBS=$ac_get_soname_save_LIBS
17989 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
17990 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
17991 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17993 cat >>confdefs.h <<_ACEOF
17994 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
17995 _ACEOF
17999 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
18000 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
18001 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18002 echo $ECHO_N "(cached) $ECHO_C" >&6
18003 else
18004 ac_get_soname_save_LIBS=$LIBS
18005 LIBS="-lcapi20 $LIBS"
18006 cat >conftest.$ac_ext <<_ACEOF
18007 /* confdefs.h. */
18008 _ACEOF
18009 cat confdefs.h >>conftest.$ac_ext
18010 cat >>conftest.$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18013 /* Override any GCC internal prototype to avoid an error.
18014 Use char because int might match the return type of a GCC
18015 builtin and then its argument prototype would still apply. */
18016 #ifdef __cplusplus
18017 extern "C"
18018 #endif
18019 char capi20_isinstalled ();
18021 main ()
18023 return capi20_isinstalled ();
18025 return 0;
18027 _ACEOF
18028 rm -f conftest.$ac_objext conftest$ac_exeext
18029 if { (ac_try="$ac_link"
18030 case "(($ac_try" in
18031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18032 *) ac_try_echo=$ac_try;;
18033 esac
18034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18035 (eval "$ac_link") 2>conftest.er1
18036 ac_status=$?
18037 grep -v '^ *+' conftest.er1 >conftest.err
18038 rm -f conftest.er1
18039 cat conftest.err >&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); } &&
18042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18043 { (case "(($ac_try" in
18044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18045 *) ac_try_echo=$ac_try;;
18046 esac
18047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18048 (eval "$ac_try") 2>&5
18049 ac_status=$?
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; } &&
18052 { ac_try='test -s conftest$ac_exeext'
18053 { (case "(($ac_try" in
18054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18055 *) ac_try_echo=$ac_try;;
18056 esac
18057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18058 (eval "$ac_try") 2>&5
18059 ac_status=$?
18060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061 (exit $ac_status); }; }; then
18062 case "$LIBEXT" in
18063 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'` ;;
18064 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18065 esac
18066 if test "x$ac_cv_lib_soname_capi20" = "x"
18067 then
18068 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18070 else
18071 echo "$as_me: failed program was:" >&5
18072 sed 's/^/| /' conftest.$ac_ext >&5
18074 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18078 conftest$ac_exeext conftest.$ac_ext
18079 LIBS=$ac_get_soname_save_LIBS
18081 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18082 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18083 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18085 cat >>confdefs.h <<_ACEOF
18086 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18087 _ACEOF
18165 for ac_func in \
18166 _pclose \
18167 _popen \
18168 _snprintf \
18169 _spawnvp \
18170 _stricmp \
18171 _strnicmp \
18172 _vsnprintf \
18173 asctime_r \
18174 chsize \
18175 clone \
18176 connect \
18177 dlopen \
18178 epoll_create \
18179 ffs \
18180 finite \
18181 fork \
18182 fpclass \
18183 fstatfs \
18184 fstatvfs \
18185 ftruncate \
18186 futimes \
18187 futimesat \
18188 getaddrinfo \
18189 getdirentries \
18190 gethostbyname \
18191 getnameinfo \
18192 getnetbyname \
18193 getopt_long \
18194 getpagesize \
18195 getprotobyname \
18196 getprotobynumber \
18197 getpwuid \
18198 getservbyport \
18199 gettid \
18200 gettimeofday \
18201 getuid \
18202 inet_aton \
18203 inet_network \
18204 kqueue \
18205 lstat \
18206 memmove \
18207 mmap \
18208 pclose \
18209 poll \
18210 popen \
18211 prctl \
18212 pread \
18213 pwrite \
18214 readlink \
18215 rfork \
18216 sched_yield \
18217 select \
18218 sendmsg \
18219 setrlimit \
18220 settimeofday \
18221 sigaltstack \
18222 sigprocmask \
18223 snprintf \
18224 spawnvp \
18225 statfs \
18226 statvfs \
18227 strcasecmp \
18228 strerror \
18229 strncasecmp \
18230 tcgetattr \
18231 timegm \
18232 usleep \
18233 vsnprintf \
18234 wait4 \
18235 waitpid \
18238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18239 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18241 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18242 echo $ECHO_N "(cached) $ECHO_C" >&6
18243 else
18244 cat >conftest.$ac_ext <<_ACEOF
18245 /* confdefs.h. */
18246 _ACEOF
18247 cat confdefs.h >>conftest.$ac_ext
18248 cat >>conftest.$ac_ext <<_ACEOF
18249 /* end confdefs.h. */
18250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18252 #define $ac_func innocuous_$ac_func
18254 /* System header to define __stub macros and hopefully few prototypes,
18255 which can conflict with char $ac_func (); below.
18256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18257 <limits.h> exists even on freestanding compilers. */
18259 #ifdef __STDC__
18260 # include <limits.h>
18261 #else
18262 # include <assert.h>
18263 #endif
18265 #undef $ac_func
18267 /* Override any GCC internal prototype to avoid an error.
18268 Use char because int might match the return type of a GCC
18269 builtin and then its argument prototype would still apply. */
18270 #ifdef __cplusplus
18271 extern "C"
18272 #endif
18273 char $ac_func ();
18274 /* The GNU C library defines this for functions which it implements
18275 to always fail with ENOSYS. Some functions are actually named
18276 something starting with __ and the normal name is an alias. */
18277 #if defined __stub_$ac_func || defined __stub___$ac_func
18278 choke me
18279 #endif
18282 main ()
18284 return $ac_func ();
18286 return 0;
18288 _ACEOF
18289 rm -f conftest.$ac_objext conftest$ac_exeext
18290 if { (ac_try="$ac_link"
18291 case "(($ac_try" in
18292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18293 *) ac_try_echo=$ac_try;;
18294 esac
18295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18296 (eval "$ac_link") 2>conftest.er1
18297 ac_status=$?
18298 grep -v '^ *+' conftest.er1 >conftest.err
18299 rm -f conftest.er1
18300 cat conftest.err >&5
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); } &&
18303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18304 { (case "(($ac_try" in
18305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18306 *) ac_try_echo=$ac_try;;
18307 esac
18308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18309 (eval "$ac_try") 2>&5
18310 ac_status=$?
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); }; } &&
18313 { ac_try='test -s conftest$ac_exeext'
18314 { (case "(($ac_try" in
18315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18316 *) ac_try_echo=$ac_try;;
18317 esac
18318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18319 (eval "$ac_try") 2>&5
18320 ac_status=$?
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); }; }; then
18323 eval "$as_ac_var=yes"
18324 else
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.$ac_ext >&5
18328 eval "$as_ac_var=no"
18331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18332 conftest$ac_exeext conftest.$ac_ext
18334 ac_res=`eval echo '${'$as_ac_var'}'`
18335 { echo "$as_me:$LINENO: result: $ac_res" >&5
18336 echo "${ECHO_T}$ac_res" >&6; }
18337 if test `eval echo '${'$as_ac_var'}'` = yes; then
18338 cat >>confdefs.h <<_ACEOF
18339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18340 _ACEOF
18343 done
18346 if test "$ac_cv_func_dlopen" = no
18347 then
18348 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18349 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18350 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18352 else
18353 ac_check_lib_save_LIBS=$LIBS
18354 LIBS="-ldl $LIBS"
18355 cat >conftest.$ac_ext <<_ACEOF
18356 /* confdefs.h. */
18357 _ACEOF
18358 cat confdefs.h >>conftest.$ac_ext
18359 cat >>conftest.$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18362 /* Override any GCC internal prototype to avoid an error.
18363 Use char because int might match the return type of a GCC
18364 builtin and then its argument prototype would still apply. */
18365 #ifdef __cplusplus
18366 extern "C"
18367 #endif
18368 char dlopen ();
18370 main ()
18372 return dlopen ();
18374 return 0;
18376 _ACEOF
18377 rm -f conftest.$ac_objext conftest$ac_exeext
18378 if { (ac_try="$ac_link"
18379 case "(($ac_try" in
18380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18381 *) ac_try_echo=$ac_try;;
18382 esac
18383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18384 (eval "$ac_link") 2>conftest.er1
18385 ac_status=$?
18386 grep -v '^ *+' conftest.er1 >conftest.err
18387 rm -f conftest.er1
18388 cat conftest.err >&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); } &&
18391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18392 { (case "(($ac_try" in
18393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18394 *) ac_try_echo=$ac_try;;
18395 esac
18396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18397 (eval "$ac_try") 2>&5
18398 ac_status=$?
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; } &&
18401 { ac_try='test -s conftest$ac_exeext'
18402 { (case "(($ac_try" in
18403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18404 *) ac_try_echo=$ac_try;;
18405 esac
18406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18407 (eval "$ac_try") 2>&5
18408 ac_status=$?
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); }; }; then
18411 ac_cv_lib_dl_dlopen=yes
18412 else
18413 echo "$as_me: failed program was:" >&5
18414 sed 's/^/| /' conftest.$ac_ext >&5
18416 ac_cv_lib_dl_dlopen=no
18419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18420 conftest$ac_exeext conftest.$ac_ext
18421 LIBS=$ac_check_lib_save_LIBS
18423 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18424 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18425 if test $ac_cv_lib_dl_dlopen = yes; then
18426 cat >>confdefs.h <<\_ACEOF
18427 #define HAVE_DLOPEN 1
18428 _ACEOF
18429 LIBDL="-ldl"
18434 ac_wine_check_funcs_save_LIBS="$LIBS"
18435 LIBS="$LIBS $LIBDL"
18437 for ac_func in dladdr
18439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18443 echo $ECHO_N "(cached) $ECHO_C" >&6
18444 else
18445 cat >conftest.$ac_ext <<_ACEOF
18446 /* confdefs.h. */
18447 _ACEOF
18448 cat confdefs.h >>conftest.$ac_ext
18449 cat >>conftest.$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18453 #define $ac_func innocuous_$ac_func
18455 /* System header to define __stub macros and hopefully few prototypes,
18456 which can conflict with char $ac_func (); below.
18457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18458 <limits.h> exists even on freestanding compilers. */
18460 #ifdef __STDC__
18461 # include <limits.h>
18462 #else
18463 # include <assert.h>
18464 #endif
18466 #undef $ac_func
18468 /* Override any GCC internal prototype to avoid an error.
18469 Use char because int might match the return type of a GCC
18470 builtin and then its argument prototype would still apply. */
18471 #ifdef __cplusplus
18472 extern "C"
18473 #endif
18474 char $ac_func ();
18475 /* The GNU C library defines this for functions which it implements
18476 to always fail with ENOSYS. Some functions are actually named
18477 something starting with __ and the normal name is an alias. */
18478 #if defined __stub_$ac_func || defined __stub___$ac_func
18479 choke me
18480 #endif
18483 main ()
18485 return $ac_func ();
18487 return 0;
18489 _ACEOF
18490 rm -f conftest.$ac_objext conftest$ac_exeext
18491 if { (ac_try="$ac_link"
18492 case "(($ac_try" in
18493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18494 *) ac_try_echo=$ac_try;;
18495 esac
18496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18497 (eval "$ac_link") 2>conftest.er1
18498 ac_status=$?
18499 grep -v '^ *+' conftest.er1 >conftest.err
18500 rm -f conftest.er1
18501 cat conftest.err >&5
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); } &&
18504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18505 { (case "(($ac_try" in
18506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18507 *) ac_try_echo=$ac_try;;
18508 esac
18509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18510 (eval "$ac_try") 2>&5
18511 ac_status=$?
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); }; } &&
18514 { ac_try='test -s conftest$ac_exeext'
18515 { (case "(($ac_try" in
18516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18517 *) ac_try_echo=$ac_try;;
18518 esac
18519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18520 (eval "$ac_try") 2>&5
18521 ac_status=$?
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); }; }; then
18524 eval "$as_ac_var=yes"
18525 else
18526 echo "$as_me: failed program was:" >&5
18527 sed 's/^/| /' conftest.$ac_ext >&5
18529 eval "$as_ac_var=no"
18532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18533 conftest$ac_exeext conftest.$ac_ext
18535 ac_res=`eval echo '${'$as_ac_var'}'`
18536 { echo "$as_me:$LINENO: result: $ac_res" >&5
18537 echo "${ECHO_T}$ac_res" >&6; }
18538 if test `eval echo '${'$as_ac_var'}'` = yes; then
18539 cat >>confdefs.h <<_ACEOF
18540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18541 _ACEOF
18544 done
18546 LIBS="$ac_wine_check_funcs_save_LIBS"
18548 if test "$ac_cv_func_poll" = no
18549 then
18550 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18551 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18552 if test "${ac_cv_lib_poll_poll+set}" = set; then
18553 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 else
18555 ac_check_lib_save_LIBS=$LIBS
18556 LIBS="-lpoll $LIBS"
18557 cat >conftest.$ac_ext <<_ACEOF
18558 /* confdefs.h. */
18559 _ACEOF
18560 cat confdefs.h >>conftest.$ac_ext
18561 cat >>conftest.$ac_ext <<_ACEOF
18562 /* end confdefs.h. */
18564 /* Override any GCC internal prototype to avoid an error.
18565 Use char because int might match the return type of a GCC
18566 builtin and then its argument prototype would still apply. */
18567 #ifdef __cplusplus
18568 extern "C"
18569 #endif
18570 char poll ();
18572 main ()
18574 return poll ();
18576 return 0;
18578 _ACEOF
18579 rm -f conftest.$ac_objext conftest$ac_exeext
18580 if { (ac_try="$ac_link"
18581 case "(($ac_try" in
18582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18583 *) ac_try_echo=$ac_try;;
18584 esac
18585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18586 (eval "$ac_link") 2>conftest.er1
18587 ac_status=$?
18588 grep -v '^ *+' conftest.er1 >conftest.err
18589 rm -f conftest.er1
18590 cat conftest.err >&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } &&
18593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18594 { (case "(($ac_try" in
18595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18596 *) ac_try_echo=$ac_try;;
18597 esac
18598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18599 (eval "$ac_try") 2>&5
18600 ac_status=$?
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; } &&
18603 { ac_try='test -s conftest$ac_exeext'
18604 { (case "(($ac_try" in
18605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18606 *) ac_try_echo=$ac_try;;
18607 esac
18608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18609 (eval "$ac_try") 2>&5
18610 ac_status=$?
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); }; }; then
18613 ac_cv_lib_poll_poll=yes
18614 else
18615 echo "$as_me: failed program was:" >&5
18616 sed 's/^/| /' conftest.$ac_ext >&5
18618 ac_cv_lib_poll_poll=no
18621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18622 conftest$ac_exeext conftest.$ac_ext
18623 LIBS=$ac_check_lib_save_LIBS
18625 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18626 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18627 if test $ac_cv_lib_poll_poll = yes; then
18628 cat >>confdefs.h <<\_ACEOF
18629 #define HAVE_POLL 1
18630 _ACEOF
18631 LIBPOLL="-lpoll"
18637 if test "$ac_cv_func_gethostbyname" = no
18638 then
18640 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18641 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18642 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18643 echo $ECHO_N "(cached) $ECHO_C" >&6
18644 else
18645 ac_check_lib_save_LIBS=$LIBS
18646 LIBS="-lnsl $LIBS"
18647 cat >conftest.$ac_ext <<_ACEOF
18648 /* confdefs.h. */
18649 _ACEOF
18650 cat confdefs.h >>conftest.$ac_ext
18651 cat >>conftest.$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18654 /* Override any GCC internal prototype to avoid an error.
18655 Use char because int might match the return type of a GCC
18656 builtin and then its argument prototype would still apply. */
18657 #ifdef __cplusplus
18658 extern "C"
18659 #endif
18660 char gethostbyname ();
18662 main ()
18664 return gethostbyname ();
18666 return 0;
18668 _ACEOF
18669 rm -f conftest.$ac_objext conftest$ac_exeext
18670 if { (ac_try="$ac_link"
18671 case "(($ac_try" in
18672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18673 *) ac_try_echo=$ac_try;;
18674 esac
18675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18676 (eval "$ac_link") 2>conftest.er1
18677 ac_status=$?
18678 grep -v '^ *+' conftest.er1 >conftest.err
18679 rm -f conftest.er1
18680 cat conftest.err >&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } &&
18683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18684 { (case "(($ac_try" in
18685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18686 *) ac_try_echo=$ac_try;;
18687 esac
18688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18689 (eval "$ac_try") 2>&5
18690 ac_status=$?
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; } &&
18693 { ac_try='test -s conftest$ac_exeext'
18694 { (case "(($ac_try" in
18695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18696 *) ac_try_echo=$ac_try;;
18697 esac
18698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18699 (eval "$ac_try") 2>&5
18700 ac_status=$?
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); }; }; then
18703 ac_cv_lib_nsl_gethostbyname=yes
18704 else
18705 echo "$as_me: failed program was:" >&5
18706 sed 's/^/| /' conftest.$ac_ext >&5
18708 ac_cv_lib_nsl_gethostbyname=no
18711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18712 conftest$ac_exeext conftest.$ac_ext
18713 LIBS=$ac_check_lib_save_LIBS
18715 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18716 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18717 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18718 cat >>confdefs.h <<_ACEOF
18719 #define HAVE_LIBNSL 1
18720 _ACEOF
18722 LIBS="-lnsl $LIBS"
18728 if test "$ac_cv_func_connect" = no
18729 then
18731 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18732 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18733 if test "${ac_cv_lib_socket_connect+set}" = set; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18735 else
18736 ac_check_lib_save_LIBS=$LIBS
18737 LIBS="-lsocket $LIBS"
18738 cat >conftest.$ac_ext <<_ACEOF
18739 /* confdefs.h. */
18740 _ACEOF
18741 cat confdefs.h >>conftest.$ac_ext
18742 cat >>conftest.$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18745 /* Override any GCC internal prototype to avoid an error.
18746 Use char because int might match the return type of a GCC
18747 builtin and then its argument prototype would still apply. */
18748 #ifdef __cplusplus
18749 extern "C"
18750 #endif
18751 char connect ();
18753 main ()
18755 return connect ();
18757 return 0;
18759 _ACEOF
18760 rm -f conftest.$ac_objext conftest$ac_exeext
18761 if { (ac_try="$ac_link"
18762 case "(($ac_try" in
18763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18764 *) ac_try_echo=$ac_try;;
18765 esac
18766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18767 (eval "$ac_link") 2>conftest.er1
18768 ac_status=$?
18769 grep -v '^ *+' conftest.er1 >conftest.err
18770 rm -f conftest.er1
18771 cat conftest.err >&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); } &&
18774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18775 { (case "(($ac_try" in
18776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18777 *) ac_try_echo=$ac_try;;
18778 esac
18779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18780 (eval "$ac_try") 2>&5
18781 ac_status=$?
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); }; } &&
18784 { ac_try='test -s conftest$ac_exeext'
18785 { (case "(($ac_try" in
18786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18787 *) ac_try_echo=$ac_try;;
18788 esac
18789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18790 (eval "$ac_try") 2>&5
18791 ac_status=$?
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; }; then
18794 ac_cv_lib_socket_connect=yes
18795 else
18796 echo "$as_me: failed program was:" >&5
18797 sed 's/^/| /' conftest.$ac_ext >&5
18799 ac_cv_lib_socket_connect=no
18802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18803 conftest$ac_exeext conftest.$ac_ext
18804 LIBS=$ac_check_lib_save_LIBS
18806 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18807 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18808 if test $ac_cv_lib_socket_connect = yes; then
18809 cat >>confdefs.h <<_ACEOF
18810 #define HAVE_LIBSOCKET 1
18811 _ACEOF
18813 LIBS="-lsocket $LIBS"
18819 if test "$ac_cv_func_inet_aton" = no
18820 then
18822 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18823 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18824 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18825 echo $ECHO_N "(cached) $ECHO_C" >&6
18826 else
18827 ac_check_lib_save_LIBS=$LIBS
18828 LIBS="-lresolv $LIBS"
18829 cat >conftest.$ac_ext <<_ACEOF
18830 /* confdefs.h. */
18831 _ACEOF
18832 cat confdefs.h >>conftest.$ac_ext
18833 cat >>conftest.$ac_ext <<_ACEOF
18834 /* end confdefs.h. */
18836 /* Override any GCC internal prototype to avoid an error.
18837 Use char because int might match the return type of a GCC
18838 builtin and then its argument prototype would still apply. */
18839 #ifdef __cplusplus
18840 extern "C"
18841 #endif
18842 char inet_aton ();
18844 main ()
18846 return inet_aton ();
18848 return 0;
18850 _ACEOF
18851 rm -f conftest.$ac_objext conftest$ac_exeext
18852 if { (ac_try="$ac_link"
18853 case "(($ac_try" in
18854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18855 *) ac_try_echo=$ac_try;;
18856 esac
18857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18858 (eval "$ac_link") 2>conftest.er1
18859 ac_status=$?
18860 grep -v '^ *+' conftest.er1 >conftest.err
18861 rm -f conftest.er1
18862 cat conftest.err >&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); } &&
18865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18866 { (case "(($ac_try" in
18867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18868 *) ac_try_echo=$ac_try;;
18869 esac
18870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18871 (eval "$ac_try") 2>&5
18872 ac_status=$?
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); }; } &&
18875 { ac_try='test -s conftest$ac_exeext'
18876 { (case "(($ac_try" in
18877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18878 *) ac_try_echo=$ac_try;;
18879 esac
18880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18881 (eval "$ac_try") 2>&5
18882 ac_status=$?
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; }; then
18885 ac_cv_lib_resolv_inet_aton=yes
18886 else
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.$ac_ext >&5
18890 ac_cv_lib_resolv_inet_aton=no
18893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18894 conftest$ac_exeext conftest.$ac_ext
18895 LIBS=$ac_check_lib_save_LIBS
18897 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
18898 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
18899 if test $ac_cv_lib_resolv_inet_aton = yes; then
18900 cat >>confdefs.h <<_ACEOF
18901 #define HAVE_LIBRESOLV 1
18902 _ACEOF
18904 LIBS="-lresolv $LIBS"
18911 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18912 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18913 if test "${ac_cv_c_const+set}" = set; then
18914 echo $ECHO_N "(cached) $ECHO_C" >&6
18915 else
18916 cat >conftest.$ac_ext <<_ACEOF
18917 /* confdefs.h. */
18918 _ACEOF
18919 cat confdefs.h >>conftest.$ac_ext
18920 cat >>conftest.$ac_ext <<_ACEOF
18921 /* end confdefs.h. */
18924 main ()
18926 /* FIXME: Include the comments suggested by Paul. */
18927 #ifndef __cplusplus
18928 /* Ultrix mips cc rejects this. */
18929 typedef int charset[2];
18930 const charset cs;
18931 /* SunOS 4.1.1 cc rejects this. */
18932 char const *const *pcpcc;
18933 char **ppc;
18934 /* NEC SVR4.0.2 mips cc rejects this. */
18935 struct point {int x, y;};
18936 static struct point const zero = {0,0};
18937 /* AIX XL C 1.02.0.0 rejects this.
18938 It does not let you subtract one const X* pointer from another in
18939 an arm of an if-expression whose if-part is not a constant
18940 expression */
18941 const char *g = "string";
18942 pcpcc = &g + (g ? g-g : 0);
18943 /* HPUX 7.0 cc rejects these. */
18944 ++pcpcc;
18945 ppc = (char**) pcpcc;
18946 pcpcc = (char const *const *) ppc;
18947 { /* SCO 3.2v4 cc rejects this. */
18948 char *t;
18949 char const *s = 0 ? (char *) 0 : (char const *) 0;
18951 *t++ = 0;
18952 if (s) return 0;
18954 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18955 int x[] = {25, 17};
18956 const int *foo = &x[0];
18957 ++foo;
18959 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18960 typedef const int *iptr;
18961 iptr p = 0;
18962 ++p;
18964 { /* AIX XL C 1.02.0.0 rejects this saying
18965 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18966 struct s { int j; const int *ap[3]; };
18967 struct s *b; b->j = 5;
18969 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18970 const int foo = 10;
18971 if (!foo) return 0;
18973 return !cs[0] && !zero.x;
18974 #endif
18977 return 0;
18979 _ACEOF
18980 rm -f conftest.$ac_objext
18981 if { (ac_try="$ac_compile"
18982 case "(($ac_try" in
18983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18984 *) ac_try_echo=$ac_try;;
18985 esac
18986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18987 (eval "$ac_compile") 2>conftest.er1
18988 ac_status=$?
18989 grep -v '^ *+' conftest.er1 >conftest.err
18990 rm -f conftest.er1
18991 cat conftest.err >&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); } &&
18994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18995 { (case "(($ac_try" in
18996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18997 *) ac_try_echo=$ac_try;;
18998 esac
18999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19000 (eval "$ac_try") 2>&5
19001 ac_status=$?
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); }; } &&
19004 { ac_try='test -s conftest.$ac_objext'
19005 { (case "(($ac_try" in
19006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19007 *) ac_try_echo=$ac_try;;
19008 esac
19009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19010 (eval "$ac_try") 2>&5
19011 ac_status=$?
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); }; }; then
19014 ac_cv_c_const=yes
19015 else
19016 echo "$as_me: failed program was:" >&5
19017 sed 's/^/| /' conftest.$ac_ext >&5
19019 ac_cv_c_const=no
19022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19024 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19025 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19026 if test $ac_cv_c_const = no; then
19028 cat >>confdefs.h <<\_ACEOF
19029 #define const
19030 _ACEOF
19034 { echo "$as_me:$LINENO: checking for inline" >&5
19035 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19036 if test "${ac_cv_c_inline+set}" = set; then
19037 echo $ECHO_N "(cached) $ECHO_C" >&6
19038 else
19039 ac_cv_c_inline=no
19040 for ac_kw in inline __inline__ __inline; do
19041 cat >conftest.$ac_ext <<_ACEOF
19042 /* confdefs.h. */
19043 _ACEOF
19044 cat confdefs.h >>conftest.$ac_ext
19045 cat >>conftest.$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19047 #ifndef __cplusplus
19048 typedef int foo_t;
19049 static $ac_kw foo_t static_foo () {return 0; }
19050 $ac_kw foo_t foo () {return 0; }
19051 #endif
19053 _ACEOF
19054 rm -f conftest.$ac_objext
19055 if { (ac_try="$ac_compile"
19056 case "(($ac_try" in
19057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19058 *) ac_try_echo=$ac_try;;
19059 esac
19060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_compile") 2>conftest.er1
19062 ac_status=$?
19063 grep -v '^ *+' conftest.er1 >conftest.err
19064 rm -f conftest.er1
19065 cat conftest.err >&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); } &&
19068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19069 { (case "(($ac_try" in
19070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19071 *) ac_try_echo=$ac_try;;
19072 esac
19073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_try") 2>&5
19075 ac_status=$?
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); }; } &&
19078 { ac_try='test -s conftest.$ac_objext'
19079 { (case "(($ac_try" in
19080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19081 *) ac_try_echo=$ac_try;;
19082 esac
19083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19084 (eval "$ac_try") 2>&5
19085 ac_status=$?
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; }; then
19088 ac_cv_c_inline=$ac_kw
19089 else
19090 echo "$as_me: failed program was:" >&5
19091 sed 's/^/| /' conftest.$ac_ext >&5
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097 test "$ac_cv_c_inline" != no && break
19098 done
19101 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19102 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19105 case $ac_cv_c_inline in
19106 inline | yes) ;;
19108 case $ac_cv_c_inline in
19109 no) ac_val=;;
19110 *) ac_val=$ac_cv_c_inline;;
19111 esac
19112 cat >>confdefs.h <<_ACEOF
19113 #ifndef __cplusplus
19114 #define inline $ac_val
19115 #endif
19116 _ACEOF
19118 esac
19120 { echo "$as_me:$LINENO: checking for mode_t" >&5
19121 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19122 if test "${ac_cv_type_mode_t+set}" = set; then
19123 echo $ECHO_N "(cached) $ECHO_C" >&6
19124 else
19125 cat >conftest.$ac_ext <<_ACEOF
19126 /* confdefs.h. */
19127 _ACEOF
19128 cat confdefs.h >>conftest.$ac_ext
19129 cat >>conftest.$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19131 $ac_includes_default
19132 typedef mode_t ac__type_new_;
19134 main ()
19136 if ((ac__type_new_ *) 0)
19137 return 0;
19138 if (sizeof (ac__type_new_))
19139 return 0;
19141 return 0;
19143 _ACEOF
19144 rm -f conftest.$ac_objext
19145 if { (ac_try="$ac_compile"
19146 case "(($ac_try" in
19147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19148 *) ac_try_echo=$ac_try;;
19149 esac
19150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19151 (eval "$ac_compile") 2>conftest.er1
19152 ac_status=$?
19153 grep -v '^ *+' conftest.er1 >conftest.err
19154 rm -f conftest.er1
19155 cat conftest.err >&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); } &&
19158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19159 { (case "(($ac_try" in
19160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19161 *) ac_try_echo=$ac_try;;
19162 esac
19163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19164 (eval "$ac_try") 2>&5
19165 ac_status=$?
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); }; } &&
19168 { ac_try='test -s conftest.$ac_objext'
19169 { (case "(($ac_try" in
19170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19171 *) ac_try_echo=$ac_try;;
19172 esac
19173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19174 (eval "$ac_try") 2>&5
19175 ac_status=$?
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); }; }; then
19178 ac_cv_type_mode_t=yes
19179 else
19180 echo "$as_me: failed program was:" >&5
19181 sed 's/^/| /' conftest.$ac_ext >&5
19183 ac_cv_type_mode_t=no
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19188 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19189 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19190 if test $ac_cv_type_mode_t = yes; then
19192 cat >>confdefs.h <<_ACEOF
19193 #define HAVE_MODE_T 1
19194 _ACEOF
19198 { echo "$as_me:$LINENO: checking for off_t" >&5
19199 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19200 if test "${ac_cv_type_off_t+set}" = set; then
19201 echo $ECHO_N "(cached) $ECHO_C" >&6
19202 else
19203 cat >conftest.$ac_ext <<_ACEOF
19204 /* confdefs.h. */
19205 _ACEOF
19206 cat confdefs.h >>conftest.$ac_ext
19207 cat >>conftest.$ac_ext <<_ACEOF
19208 /* end confdefs.h. */
19209 $ac_includes_default
19210 typedef off_t ac__type_new_;
19212 main ()
19214 if ((ac__type_new_ *) 0)
19215 return 0;
19216 if (sizeof (ac__type_new_))
19217 return 0;
19219 return 0;
19221 _ACEOF
19222 rm -f conftest.$ac_objext
19223 if { (ac_try="$ac_compile"
19224 case "(($ac_try" in
19225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19226 *) ac_try_echo=$ac_try;;
19227 esac
19228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19229 (eval "$ac_compile") 2>conftest.er1
19230 ac_status=$?
19231 grep -v '^ *+' conftest.er1 >conftest.err
19232 rm -f conftest.er1
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } &&
19236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
19243 ac_status=$?
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; } &&
19246 { ac_try='test -s conftest.$ac_objext'
19247 { (case "(($ac_try" in
19248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19249 *) ac_try_echo=$ac_try;;
19250 esac
19251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19252 (eval "$ac_try") 2>&5
19253 ac_status=$?
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); }; }; then
19256 ac_cv_type_off_t=yes
19257 else
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19261 ac_cv_type_off_t=no
19264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19266 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19267 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19268 if test $ac_cv_type_off_t = yes; then
19270 cat >>confdefs.h <<_ACEOF
19271 #define HAVE_OFF_T 1
19272 _ACEOF
19276 { echo "$as_me:$LINENO: checking for pid_t" >&5
19277 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19278 if test "${ac_cv_type_pid_t+set}" = set; then
19279 echo $ECHO_N "(cached) $ECHO_C" >&6
19280 else
19281 cat >conftest.$ac_ext <<_ACEOF
19282 /* confdefs.h. */
19283 _ACEOF
19284 cat confdefs.h >>conftest.$ac_ext
19285 cat >>conftest.$ac_ext <<_ACEOF
19286 /* end confdefs.h. */
19287 $ac_includes_default
19288 typedef pid_t ac__type_new_;
19290 main ()
19292 if ((ac__type_new_ *) 0)
19293 return 0;
19294 if (sizeof (ac__type_new_))
19295 return 0;
19297 return 0;
19299 _ACEOF
19300 rm -f conftest.$ac_objext
19301 if { (ac_try="$ac_compile"
19302 case "(($ac_try" in
19303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19304 *) ac_try_echo=$ac_try;;
19305 esac
19306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19307 (eval "$ac_compile") 2>conftest.er1
19308 ac_status=$?
19309 grep -v '^ *+' conftest.er1 >conftest.err
19310 rm -f conftest.er1
19311 cat conftest.err >&5
19312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19313 (exit $ac_status); } &&
19314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19315 { (case "(($ac_try" in
19316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19317 *) ac_try_echo=$ac_try;;
19318 esac
19319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19320 (eval "$ac_try") 2>&5
19321 ac_status=$?
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); }; } &&
19324 { ac_try='test -s conftest.$ac_objext'
19325 { (case "(($ac_try" in
19326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19327 *) ac_try_echo=$ac_try;;
19328 esac
19329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19330 (eval "$ac_try") 2>&5
19331 ac_status=$?
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19334 ac_cv_type_pid_t=yes
19335 else
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.$ac_ext >&5
19339 ac_cv_type_pid_t=no
19342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19344 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19345 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19346 if test $ac_cv_type_pid_t = yes; then
19348 cat >>confdefs.h <<_ACEOF
19349 #define HAVE_PID_T 1
19350 _ACEOF
19354 { echo "$as_me:$LINENO: checking for size_t" >&5
19355 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19356 if test "${ac_cv_type_size_t+set}" = set; then
19357 echo $ECHO_N "(cached) $ECHO_C" >&6
19358 else
19359 cat >conftest.$ac_ext <<_ACEOF
19360 /* confdefs.h. */
19361 _ACEOF
19362 cat confdefs.h >>conftest.$ac_ext
19363 cat >>conftest.$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19365 $ac_includes_default
19366 typedef size_t ac__type_new_;
19368 main ()
19370 if ((ac__type_new_ *) 0)
19371 return 0;
19372 if (sizeof (ac__type_new_))
19373 return 0;
19375 return 0;
19377 _ACEOF
19378 rm -f conftest.$ac_objext
19379 if { (ac_try="$ac_compile"
19380 case "(($ac_try" in
19381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19382 *) ac_try_echo=$ac_try;;
19383 esac
19384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19385 (eval "$ac_compile") 2>conftest.er1
19386 ac_status=$?
19387 grep -v '^ *+' conftest.er1 >conftest.err
19388 rm -f conftest.er1
19389 cat conftest.err >&5
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); } &&
19392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19393 { (case "(($ac_try" in
19394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19395 *) ac_try_echo=$ac_try;;
19396 esac
19397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19398 (eval "$ac_try") 2>&5
19399 ac_status=$?
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; } &&
19402 { ac_try='test -s conftest.$ac_objext'
19403 { (case "(($ac_try" in
19404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19405 *) ac_try_echo=$ac_try;;
19406 esac
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_try") 2>&5
19409 ac_status=$?
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; }; then
19412 ac_cv_type_size_t=yes
19413 else
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19417 ac_cv_type_size_t=no
19420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19422 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19423 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19424 if test $ac_cv_type_size_t = yes; then
19426 cat >>confdefs.h <<_ACEOF
19427 #define HAVE_SIZE_T 1
19428 _ACEOF
19432 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19433 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19434 if test "${ac_cv_type_ssize_t+set}" = set; then
19435 echo $ECHO_N "(cached) $ECHO_C" >&6
19436 else
19437 cat >conftest.$ac_ext <<_ACEOF
19438 /* confdefs.h. */
19439 _ACEOF
19440 cat confdefs.h >>conftest.$ac_ext
19441 cat >>conftest.$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19443 $ac_includes_default
19444 typedef ssize_t ac__type_new_;
19446 main ()
19448 if ((ac__type_new_ *) 0)
19449 return 0;
19450 if (sizeof (ac__type_new_))
19451 return 0;
19453 return 0;
19455 _ACEOF
19456 rm -f conftest.$ac_objext
19457 if { (ac_try="$ac_compile"
19458 case "(($ac_try" in
19459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19460 *) ac_try_echo=$ac_try;;
19461 esac
19462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19463 (eval "$ac_compile") 2>conftest.er1
19464 ac_status=$?
19465 grep -v '^ *+' conftest.er1 >conftest.err
19466 rm -f conftest.er1
19467 cat conftest.err >&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19471 { (case "(($ac_try" in
19472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19473 *) ac_try_echo=$ac_try;;
19474 esac
19475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19476 (eval "$ac_try") 2>&5
19477 ac_status=$?
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; } &&
19480 { ac_try='test -s conftest.$ac_objext'
19481 { (case "(($ac_try" in
19482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19483 *) ac_try_echo=$ac_try;;
19484 esac
19485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19486 (eval "$ac_try") 2>&5
19487 ac_status=$?
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; }; then
19490 ac_cv_type_ssize_t=yes
19491 else
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.$ac_ext >&5
19495 ac_cv_type_ssize_t=no
19498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19500 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19501 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19502 if test $ac_cv_type_ssize_t = yes; then
19504 cat >>confdefs.h <<_ACEOF
19505 #define HAVE_SSIZE_T 1
19506 _ACEOF
19510 { echo "$as_me:$LINENO: checking for long long" >&5
19511 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19512 if test "${ac_cv_type_long_long+set}" = set; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19514 else
19515 cat >conftest.$ac_ext <<_ACEOF
19516 /* confdefs.h. */
19517 _ACEOF
19518 cat confdefs.h >>conftest.$ac_ext
19519 cat >>conftest.$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19521 $ac_includes_default
19522 typedef long long ac__type_new_;
19524 main ()
19526 if ((ac__type_new_ *) 0)
19527 return 0;
19528 if (sizeof (ac__type_new_))
19529 return 0;
19531 return 0;
19533 _ACEOF
19534 rm -f conftest.$ac_objext
19535 if { (ac_try="$ac_compile"
19536 case "(($ac_try" in
19537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19538 *) ac_try_echo=$ac_try;;
19539 esac
19540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19541 (eval "$ac_compile") 2>conftest.er1
19542 ac_status=$?
19543 grep -v '^ *+' conftest.er1 >conftest.err
19544 rm -f conftest.er1
19545 cat conftest.err >&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); } &&
19548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19549 { (case "(($ac_try" in
19550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19551 *) ac_try_echo=$ac_try;;
19552 esac
19553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19554 (eval "$ac_try") 2>&5
19555 ac_status=$?
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); }; } &&
19558 { ac_try='test -s conftest.$ac_objext'
19559 { (case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19562 esac
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_try") 2>&5
19565 ac_status=$?
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); }; }; then
19568 ac_cv_type_long_long=yes
19569 else
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.$ac_ext >&5
19573 ac_cv_type_long_long=no
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19578 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19579 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19580 if test $ac_cv_type_long_long = yes; then
19582 cat >>confdefs.h <<_ACEOF
19583 #define HAVE_LONG_LONG 1
19584 _ACEOF
19588 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19589 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19590 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19592 else
19593 cat >conftest.$ac_ext <<_ACEOF
19594 /* confdefs.h. */
19595 _ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 $ac_includes_default
19600 typedef fsblkcnt_t ac__type_new_;
19602 main ()
19604 if ((ac__type_new_ *) 0)
19605 return 0;
19606 if (sizeof (ac__type_new_))
19607 return 0;
19609 return 0;
19611 _ACEOF
19612 rm -f conftest.$ac_objext
19613 if { (ac_try="$ac_compile"
19614 case "(($ac_try" in
19615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19616 *) ac_try_echo=$ac_try;;
19617 esac
19618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19619 (eval "$ac_compile") 2>conftest.er1
19620 ac_status=$?
19621 grep -v '^ *+' conftest.er1 >conftest.err
19622 rm -f conftest.er1
19623 cat conftest.err >&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } &&
19626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19627 { (case "(($ac_try" in
19628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19629 *) ac_try_echo=$ac_try;;
19630 esac
19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19632 (eval "$ac_try") 2>&5
19633 ac_status=$?
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; } &&
19636 { ac_try='test -s conftest.$ac_objext'
19637 { (case "(($ac_try" in
19638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19639 *) ac_try_echo=$ac_try;;
19640 esac
19641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19642 (eval "$ac_try") 2>&5
19643 ac_status=$?
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; }; then
19646 ac_cv_type_fsblkcnt_t=yes
19647 else
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.$ac_ext >&5
19651 ac_cv_type_fsblkcnt_t=no
19654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19656 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19657 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19658 if test $ac_cv_type_fsblkcnt_t = yes; then
19660 cat >>confdefs.h <<_ACEOF
19661 #define HAVE_FSBLKCNT_T 1
19662 _ACEOF
19666 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19667 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19668 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19669 echo $ECHO_N "(cached) $ECHO_C" >&6
19670 else
19671 cat >conftest.$ac_ext <<_ACEOF
19672 /* confdefs.h. */
19673 _ACEOF
19674 cat confdefs.h >>conftest.$ac_ext
19675 cat >>conftest.$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 $ac_includes_default
19678 typedef fsfilcnt_t ac__type_new_;
19680 main ()
19682 if ((ac__type_new_ *) 0)
19683 return 0;
19684 if (sizeof (ac__type_new_))
19685 return 0;
19687 return 0;
19689 _ACEOF
19690 rm -f conftest.$ac_objext
19691 if { (ac_try="$ac_compile"
19692 case "(($ac_try" in
19693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19694 *) ac_try_echo=$ac_try;;
19695 esac
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_compile") 2>conftest.er1
19698 ac_status=$?
19699 grep -v '^ *+' conftest.er1 >conftest.err
19700 rm -f conftest.er1
19701 cat conftest.err >&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } &&
19704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19705 { (case "(($ac_try" in
19706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19707 *) ac_try_echo=$ac_try;;
19708 esac
19709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19710 (eval "$ac_try") 2>&5
19711 ac_status=$?
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; } &&
19714 { ac_try='test -s conftest.$ac_objext'
19715 { (case "(($ac_try" in
19716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19717 *) ac_try_echo=$ac_try;;
19718 esac
19719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19720 (eval "$ac_try") 2>&5
19721 ac_status=$?
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; }; then
19724 ac_cv_type_fsfilcnt_t=yes
19725 else
19726 echo "$as_me: failed program was:" >&5
19727 sed 's/^/| /' conftest.$ac_ext >&5
19729 ac_cv_type_fsfilcnt_t=no
19732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19734 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19735 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19736 if test $ac_cv_type_fsfilcnt_t = yes; then
19738 cat >>confdefs.h <<_ACEOF
19739 #define HAVE_FSFILCNT_T 1
19740 _ACEOF
19745 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19746 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19747 if test "${ac_cv_type_sigset_t+set}" = set; then
19748 echo $ECHO_N "(cached) $ECHO_C" >&6
19749 else
19750 cat >conftest.$ac_ext <<_ACEOF
19751 /* confdefs.h. */
19752 _ACEOF
19753 cat confdefs.h >>conftest.$ac_ext
19754 cat >>conftest.$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19756 #include <signal.h>
19758 typedef sigset_t ac__type_new_;
19760 main ()
19762 if ((ac__type_new_ *) 0)
19763 return 0;
19764 if (sizeof (ac__type_new_))
19765 return 0;
19767 return 0;
19769 _ACEOF
19770 rm -f conftest.$ac_objext
19771 if { (ac_try="$ac_compile"
19772 case "(($ac_try" in
19773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19774 *) ac_try_echo=$ac_try;;
19775 esac
19776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19777 (eval "$ac_compile") 2>conftest.er1
19778 ac_status=$?
19779 grep -v '^ *+' conftest.er1 >conftest.err
19780 rm -f conftest.er1
19781 cat conftest.err >&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); } &&
19784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19785 { (case "(($ac_try" in
19786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19787 *) ac_try_echo=$ac_try;;
19788 esac
19789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19790 (eval "$ac_try") 2>&5
19791 ac_status=$?
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); }; } &&
19794 { ac_try='test -s conftest.$ac_objext'
19795 { (case "(($ac_try" in
19796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19797 *) ac_try_echo=$ac_try;;
19798 esac
19799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19800 (eval "$ac_try") 2>&5
19801 ac_status=$?
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); }; }; then
19804 ac_cv_type_sigset_t=yes
19805 else
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19809 ac_cv_type_sigset_t=no
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19814 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19815 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19816 if test $ac_cv_type_sigset_t = yes; then
19818 cat >>confdefs.h <<_ACEOF
19819 #define HAVE_SIGSET_T 1
19820 _ACEOF
19825 { echo "$as_me:$LINENO: checking for request_sense" >&5
19826 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19827 if test "${ac_cv_type_request_sense+set}" = set; then
19828 echo $ECHO_N "(cached) $ECHO_C" >&6
19829 else
19830 cat >conftest.$ac_ext <<_ACEOF
19831 /* confdefs.h. */
19832 _ACEOF
19833 cat confdefs.h >>conftest.$ac_ext
19834 cat >>conftest.$ac_ext <<_ACEOF
19835 /* end confdefs.h. */
19836 #include <linux/cdrom.h>
19838 typedef request_sense ac__type_new_;
19840 main ()
19842 if ((ac__type_new_ *) 0)
19843 return 0;
19844 if (sizeof (ac__type_new_))
19845 return 0;
19847 return 0;
19849 _ACEOF
19850 rm -f conftest.$ac_objext
19851 if { (ac_try="$ac_compile"
19852 case "(($ac_try" in
19853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19854 *) ac_try_echo=$ac_try;;
19855 esac
19856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19857 (eval "$ac_compile") 2>conftest.er1
19858 ac_status=$?
19859 grep -v '^ *+' conftest.er1 >conftest.err
19860 rm -f conftest.er1
19861 cat conftest.err >&5
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); } &&
19864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19865 { (case "(($ac_try" in
19866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19867 *) ac_try_echo=$ac_try;;
19868 esac
19869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19870 (eval "$ac_try") 2>&5
19871 ac_status=$?
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); }; } &&
19874 { ac_try='test -s conftest.$ac_objext'
19875 { (case "(($ac_try" in
19876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19877 *) ac_try_echo=$ac_try;;
19878 esac
19879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19880 (eval "$ac_try") 2>&5
19881 ac_status=$?
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); }; }; then
19884 ac_cv_type_request_sense=yes
19885 else
19886 echo "$as_me: failed program was:" >&5
19887 sed 's/^/| /' conftest.$ac_ext >&5
19889 ac_cv_type_request_sense=no
19892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19895 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
19896 if test $ac_cv_type_request_sense = yes; then
19898 cat >>confdefs.h <<_ACEOF
19899 #define HAVE_REQUEST_SENSE 1
19900 _ACEOF
19906 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19907 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
19908 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19909 echo $ECHO_N "(cached) $ECHO_C" >&6
19910 else
19911 cat >conftest.$ac_ext <<_ACEOF
19912 /* confdefs.h. */
19913 _ACEOF
19914 cat confdefs.h >>conftest.$ac_ext
19915 cat >>conftest.$ac_ext <<_ACEOF
19916 /* end confdefs.h. */
19917 #ifdef HAVE_LINUX_INPUT_H
19918 #include <linux/input.h>
19919 #endif
19922 main ()
19924 static struct ff_effect ac_aggr;
19925 if (ac_aggr.direction)
19926 return 0;
19928 return 0;
19930 _ACEOF
19931 rm -f conftest.$ac_objext
19932 if { (ac_try="$ac_compile"
19933 case "(($ac_try" in
19934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19935 *) ac_try_echo=$ac_try;;
19936 esac
19937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19938 (eval "$ac_compile") 2>conftest.er1
19939 ac_status=$?
19940 grep -v '^ *+' conftest.er1 >conftest.err
19941 rm -f conftest.er1
19942 cat conftest.err >&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); } &&
19945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19946 { (case "(($ac_try" in
19947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19948 *) ac_try_echo=$ac_try;;
19949 esac
19950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951 (eval "$ac_try") 2>&5
19952 ac_status=$?
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; } &&
19955 { ac_try='test -s conftest.$ac_objext'
19956 { (case "(($ac_try" in
19957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19958 *) ac_try_echo=$ac_try;;
19959 esac
19960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19961 (eval "$ac_try") 2>&5
19962 ac_status=$?
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); }; }; then
19965 ac_cv_member_struct_ff_effect_direction=yes
19966 else
19967 echo "$as_me: failed program was:" >&5
19968 sed 's/^/| /' conftest.$ac_ext >&5
19970 cat >conftest.$ac_ext <<_ACEOF
19971 /* confdefs.h. */
19972 _ACEOF
19973 cat confdefs.h >>conftest.$ac_ext
19974 cat >>conftest.$ac_ext <<_ACEOF
19975 /* end confdefs.h. */
19976 #ifdef HAVE_LINUX_INPUT_H
19977 #include <linux/input.h>
19978 #endif
19981 main ()
19983 static struct ff_effect ac_aggr;
19984 if (sizeof ac_aggr.direction)
19985 return 0;
19987 return 0;
19989 _ACEOF
19990 rm -f conftest.$ac_objext
19991 if { (ac_try="$ac_compile"
19992 case "(($ac_try" in
19993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19994 *) ac_try_echo=$ac_try;;
19995 esac
19996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19997 (eval "$ac_compile") 2>conftest.er1
19998 ac_status=$?
19999 grep -v '^ *+' conftest.er1 >conftest.err
20000 rm -f conftest.er1
20001 cat conftest.err >&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } &&
20004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20005 { (case "(($ac_try" in
20006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20007 *) ac_try_echo=$ac_try;;
20008 esac
20009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20010 (eval "$ac_try") 2>&5
20011 ac_status=$?
20012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013 (exit $ac_status); }; } &&
20014 { ac_try='test -s conftest.$ac_objext'
20015 { (case "(($ac_try" in
20016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20017 *) ac_try_echo=$ac_try;;
20018 esac
20019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20020 (eval "$ac_try") 2>&5
20021 ac_status=$?
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); }; }; then
20024 ac_cv_member_struct_ff_effect_direction=yes
20025 else
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20029 ac_cv_member_struct_ff_effect_direction=no
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20037 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20038 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20039 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20041 cat >>confdefs.h <<_ACEOF
20042 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20043 _ACEOF
20049 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20050 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20051 if test "${wine_cv_have_sigaddset+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20053 else
20054 cat >conftest.$ac_ext <<_ACEOF
20055 /* confdefs.h. */
20056 _ACEOF
20057 cat confdefs.h >>conftest.$ac_ext
20058 cat >>conftest.$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20060 #include <signal.h>
20062 main ()
20064 sigset_t set; sigaddset(&set,SIGTERM);
20066 return 0;
20068 _ACEOF
20069 rm -f conftest.$ac_objext conftest$ac_exeext
20070 if { (ac_try="$ac_link"
20071 case "(($ac_try" in
20072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20073 *) ac_try_echo=$ac_try;;
20074 esac
20075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20076 (eval "$ac_link") 2>conftest.er1
20077 ac_status=$?
20078 grep -v '^ *+' conftest.er1 >conftest.err
20079 rm -f conftest.er1
20080 cat conftest.err >&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } &&
20083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20084 { (case "(($ac_try" in
20085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20086 *) ac_try_echo=$ac_try;;
20087 esac
20088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20089 (eval "$ac_try") 2>&5
20090 ac_status=$?
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; } &&
20093 { ac_try='test -s conftest$ac_exeext'
20094 { (case "(($ac_try" in
20095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20096 *) ac_try_echo=$ac_try;;
20097 esac
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099 (eval "$ac_try") 2>&5
20100 ac_status=$?
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; }; then
20103 wine_cv_have_sigaddset=yes
20104 else
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20108 wine_cv_have_sigaddset=no
20111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20112 conftest$ac_exeext conftest.$ac_ext
20114 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20115 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20116 if test "$wine_cv_have_sigaddset" = "yes"
20117 then
20119 cat >>confdefs.h <<\_ACEOF
20120 #define HAVE_SIGADDSET 1
20121 _ACEOF
20126 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20127 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20128 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20129 echo $ECHO_N "(cached) $ECHO_C" >&6
20130 else
20131 cat >conftest.$ac_ext <<_ACEOF
20132 /* confdefs.h. */
20133 _ACEOF
20134 cat confdefs.h >>conftest.$ac_ext
20135 cat >>conftest.$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20138 #include <netdb.h>
20141 main ()
20144 char *name=NULL;
20145 struct hostent he;
20146 struct hostent *result;
20147 char *buf=NULL;
20148 int bufsize=0;
20149 int res,errnr;
20150 char *addr=NULL;
20151 int addrlen=0;
20152 int addrtype=0;
20153 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20154 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20157 return 0;
20159 _ACEOF
20160 rm -f conftest.$ac_objext conftest$ac_exeext
20161 if { (ac_try="$ac_link"
20162 case "(($ac_try" in
20163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20164 *) ac_try_echo=$ac_try;;
20165 esac
20166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20167 (eval "$ac_link") 2>conftest.er1
20168 ac_status=$?
20169 grep -v '^ *+' conftest.er1 >conftest.err
20170 rm -f conftest.er1
20171 cat conftest.err >&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); } &&
20174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20175 { (case "(($ac_try" in
20176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20177 *) ac_try_echo=$ac_try;;
20178 esac
20179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20180 (eval "$ac_try") 2>&5
20181 ac_status=$?
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); }; } &&
20184 { ac_try='test -s conftest$ac_exeext'
20185 { (case "(($ac_try" in
20186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20187 *) ac_try_echo=$ac_try;;
20188 esac
20189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20190 (eval "$ac_try") 2>&5
20191 ac_status=$?
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); }; }; then
20194 wine_cv_linux_gethostbyname_r_6=yes
20195 else
20196 echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.$ac_ext >&5
20199 wine_cv_linux_gethostbyname_r_6=no
20203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20204 conftest$ac_exeext conftest.$ac_ext
20207 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20208 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20209 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20210 then
20212 cat >>confdefs.h <<\_ACEOF
20213 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20214 _ACEOF
20218 if test "$ac_cv_header_linux_joystick_h" = "yes"
20219 then
20220 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20221 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20222 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20223 echo $ECHO_N "(cached) $ECHO_C" >&6
20224 else
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. */
20232 #include <sys/ioctl.h>
20233 #include <linux/joystick.h>
20235 struct js_event blub;
20236 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20237 #error "no 2.2 header"
20238 #endif
20241 main ()
20243 /*empty*/
20245 return 0;
20247 _ACEOF
20248 rm -f conftest.$ac_objext
20249 if { (ac_try="$ac_compile"
20250 case "(($ac_try" in
20251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20252 *) ac_try_echo=$ac_try;;
20253 esac
20254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20255 (eval "$ac_compile") 2>conftest.er1
20256 ac_status=$?
20257 grep -v '^ *+' conftest.er1 >conftest.err
20258 rm -f conftest.er1
20259 cat conftest.err >&5
20260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261 (exit $ac_status); } &&
20262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20263 { (case "(($ac_try" in
20264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20265 *) ac_try_echo=$ac_try;;
20266 esac
20267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20268 (eval "$ac_try") 2>&5
20269 ac_status=$?
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); }; } &&
20272 { ac_try='test -s conftest.$ac_objext'
20273 { (case "(($ac_try" in
20274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20275 *) ac_try_echo=$ac_try;;
20276 esac
20277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20278 (eval "$ac_try") 2>&5
20279 ac_status=$?
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); }; }; then
20282 wine_cv_linux_joystick_22_api=yes
20283 else
20284 echo "$as_me: failed program was:" >&5
20285 sed 's/^/| /' conftest.$ac_ext >&5
20287 wine_cv_linux_joystick_22_api=no
20290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20293 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20294 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20295 if test "$wine_cv_linux_joystick_22_api" = "yes"
20296 then
20298 cat >>confdefs.h <<\_ACEOF
20299 #define HAVE_LINUX_22_JOYSTICK_API 1
20300 _ACEOF
20306 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20307 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20308 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20310 else
20311 cat >conftest.$ac_ext <<_ACEOF
20312 /* confdefs.h. */
20313 _ACEOF
20314 cat confdefs.h >>conftest.$ac_ext
20315 cat >>conftest.$ac_ext <<_ACEOF
20316 /* end confdefs.h. */
20317 #include <sys/types.h>
20318 #ifdef HAVE_SYS_PARAM_H
20319 # include <sys/param.h>
20320 #endif
20321 #ifdef HAVE_SYS_MOUNT_H
20322 # include <sys/mount.h>
20323 #endif
20324 #ifdef HAVE_SYS_VFS_H
20325 # include <sys/vfs.h>
20326 #endif
20327 #ifdef HAVE_SYS_STATFS_H
20328 # include <sys/statfs.h>
20329 #endif
20332 main ()
20334 static struct statfs ac_aggr;
20335 if (ac_aggr.f_bfree)
20336 return 0;
20338 return 0;
20340 _ACEOF
20341 rm -f conftest.$ac_objext
20342 if { (ac_try="$ac_compile"
20343 case "(($ac_try" in
20344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20345 *) ac_try_echo=$ac_try;;
20346 esac
20347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20348 (eval "$ac_compile") 2>conftest.er1
20349 ac_status=$?
20350 grep -v '^ *+' conftest.er1 >conftest.err
20351 rm -f conftest.er1
20352 cat conftest.err >&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20356 { (case "(($ac_try" in
20357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20358 *) ac_try_echo=$ac_try;;
20359 esac
20360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20361 (eval "$ac_try") 2>&5
20362 ac_status=$?
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); }; } &&
20365 { ac_try='test -s conftest.$ac_objext'
20366 { (case "(($ac_try" in
20367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20368 *) ac_try_echo=$ac_try;;
20369 esac
20370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20371 (eval "$ac_try") 2>&5
20372 ac_status=$?
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); }; }; then
20375 ac_cv_member_struct_statfs_f_bfree=yes
20376 else
20377 echo "$as_me: failed program was:" >&5
20378 sed 's/^/| /' conftest.$ac_ext >&5
20380 cat >conftest.$ac_ext <<_ACEOF
20381 /* confdefs.h. */
20382 _ACEOF
20383 cat confdefs.h >>conftest.$ac_ext
20384 cat >>conftest.$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20386 #include <sys/types.h>
20387 #ifdef HAVE_SYS_PARAM_H
20388 # include <sys/param.h>
20389 #endif
20390 #ifdef HAVE_SYS_MOUNT_H
20391 # include <sys/mount.h>
20392 #endif
20393 #ifdef HAVE_SYS_VFS_H
20394 # include <sys/vfs.h>
20395 #endif
20396 #ifdef HAVE_SYS_STATFS_H
20397 # include <sys/statfs.h>
20398 #endif
20401 main ()
20403 static struct statfs ac_aggr;
20404 if (sizeof ac_aggr.f_bfree)
20405 return 0;
20407 return 0;
20409 _ACEOF
20410 rm -f conftest.$ac_objext
20411 if { (ac_try="$ac_compile"
20412 case "(($ac_try" in
20413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20414 *) ac_try_echo=$ac_try;;
20415 esac
20416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20417 (eval "$ac_compile") 2>conftest.er1
20418 ac_status=$?
20419 grep -v '^ *+' conftest.er1 >conftest.err
20420 rm -f conftest.er1
20421 cat conftest.err >&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); } &&
20424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20425 { (case "(($ac_try" in
20426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20427 *) ac_try_echo=$ac_try;;
20428 esac
20429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20430 (eval "$ac_try") 2>&5
20431 ac_status=$?
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); }; } &&
20434 { ac_try='test -s conftest.$ac_objext'
20435 { (case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20438 esac
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_try") 2>&5
20441 ac_status=$?
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; }; then
20444 ac_cv_member_struct_statfs_f_bfree=yes
20445 else
20446 echo "$as_me: failed program was:" >&5
20447 sed 's/^/| /' conftest.$ac_ext >&5
20449 ac_cv_member_struct_statfs_f_bfree=no
20452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20457 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20458 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20459 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20461 cat >>confdefs.h <<_ACEOF
20462 #define HAVE_STRUCT_STATFS_F_BFREE 1
20463 _ACEOF
20467 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20468 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20469 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20470 echo $ECHO_N "(cached) $ECHO_C" >&6
20471 else
20472 cat >conftest.$ac_ext <<_ACEOF
20473 /* confdefs.h. */
20474 _ACEOF
20475 cat confdefs.h >>conftest.$ac_ext
20476 cat >>conftest.$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 #include <sys/types.h>
20479 #ifdef HAVE_SYS_PARAM_H
20480 # include <sys/param.h>
20481 #endif
20482 #ifdef HAVE_SYS_MOUNT_H
20483 # include <sys/mount.h>
20484 #endif
20485 #ifdef HAVE_SYS_VFS_H
20486 # include <sys/vfs.h>
20487 #endif
20488 #ifdef HAVE_SYS_STATFS_H
20489 # include <sys/statfs.h>
20490 #endif
20493 main ()
20495 static struct statfs ac_aggr;
20496 if (ac_aggr.f_bavail)
20497 return 0;
20499 return 0;
20501 _ACEOF
20502 rm -f conftest.$ac_objext
20503 if { (ac_try="$ac_compile"
20504 case "(($ac_try" in
20505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20506 *) ac_try_echo=$ac_try;;
20507 esac
20508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20509 (eval "$ac_compile") 2>conftest.er1
20510 ac_status=$?
20511 grep -v '^ *+' conftest.er1 >conftest.err
20512 rm -f conftest.er1
20513 cat conftest.err >&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); } &&
20516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20517 { (case "(($ac_try" in
20518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20519 *) ac_try_echo=$ac_try;;
20520 esac
20521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20522 (eval "$ac_try") 2>&5
20523 ac_status=$?
20524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20525 (exit $ac_status); }; } &&
20526 { ac_try='test -s conftest.$ac_objext'
20527 { (case "(($ac_try" in
20528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20529 *) ac_try_echo=$ac_try;;
20530 esac
20531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20532 (eval "$ac_try") 2>&5
20533 ac_status=$?
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); }; }; then
20536 ac_cv_member_struct_statfs_f_bavail=yes
20537 else
20538 echo "$as_me: failed program was:" >&5
20539 sed 's/^/| /' conftest.$ac_ext >&5
20541 cat >conftest.$ac_ext <<_ACEOF
20542 /* confdefs.h. */
20543 _ACEOF
20544 cat confdefs.h >>conftest.$ac_ext
20545 cat >>conftest.$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 #include <sys/types.h>
20548 #ifdef HAVE_SYS_PARAM_H
20549 # include <sys/param.h>
20550 #endif
20551 #ifdef HAVE_SYS_MOUNT_H
20552 # include <sys/mount.h>
20553 #endif
20554 #ifdef HAVE_SYS_VFS_H
20555 # include <sys/vfs.h>
20556 #endif
20557 #ifdef HAVE_SYS_STATFS_H
20558 # include <sys/statfs.h>
20559 #endif
20562 main ()
20564 static struct statfs ac_aggr;
20565 if (sizeof ac_aggr.f_bavail)
20566 return 0;
20568 return 0;
20570 _ACEOF
20571 rm -f conftest.$ac_objext
20572 if { (ac_try="$ac_compile"
20573 case "(($ac_try" in
20574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20575 *) ac_try_echo=$ac_try;;
20576 esac
20577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20578 (eval "$ac_compile") 2>conftest.er1
20579 ac_status=$?
20580 grep -v '^ *+' conftest.er1 >conftest.err
20581 rm -f conftest.er1
20582 cat conftest.err >&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } &&
20585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20586 { (case "(($ac_try" in
20587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20588 *) ac_try_echo=$ac_try;;
20589 esac
20590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20591 (eval "$ac_try") 2>&5
20592 ac_status=$?
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); }; } &&
20595 { ac_try='test -s conftest.$ac_objext'
20596 { (case "(($ac_try" in
20597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20598 *) ac_try_echo=$ac_try;;
20599 esac
20600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20601 (eval "$ac_try") 2>&5
20602 ac_status=$?
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); }; }; then
20605 ac_cv_member_struct_statfs_f_bavail=yes
20606 else
20607 echo "$as_me: failed program was:" >&5
20608 sed 's/^/| /' conftest.$ac_ext >&5
20610 ac_cv_member_struct_statfs_f_bavail=no
20613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20618 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20619 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20620 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20622 cat >>confdefs.h <<_ACEOF
20623 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20624 _ACEOF
20628 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20629 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20630 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20631 echo $ECHO_N "(cached) $ECHO_C" >&6
20632 else
20633 cat >conftest.$ac_ext <<_ACEOF
20634 /* confdefs.h. */
20635 _ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639 #include <sys/types.h>
20640 #ifdef HAVE_SYS_PARAM_H
20641 # include <sys/param.h>
20642 #endif
20643 #ifdef HAVE_SYS_MOUNT_H
20644 # include <sys/mount.h>
20645 #endif
20646 #ifdef HAVE_SYS_VFS_H
20647 # include <sys/vfs.h>
20648 #endif
20649 #ifdef HAVE_SYS_STATFS_H
20650 # include <sys/statfs.h>
20651 #endif
20654 main ()
20656 static struct statfs ac_aggr;
20657 if (ac_aggr.f_frsize)
20658 return 0;
20660 return 0;
20662 _ACEOF
20663 rm -f conftest.$ac_objext
20664 if { (ac_try="$ac_compile"
20665 case "(($ac_try" in
20666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20667 *) ac_try_echo=$ac_try;;
20668 esac
20669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20670 (eval "$ac_compile") 2>conftest.er1
20671 ac_status=$?
20672 grep -v '^ *+' conftest.er1 >conftest.err
20673 rm -f conftest.er1
20674 cat conftest.err >&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); } &&
20677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20678 { (case "(($ac_try" in
20679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20680 *) ac_try_echo=$ac_try;;
20681 esac
20682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20683 (eval "$ac_try") 2>&5
20684 ac_status=$?
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); }; } &&
20687 { ac_try='test -s conftest.$ac_objext'
20688 { (case "(($ac_try" in
20689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20690 *) ac_try_echo=$ac_try;;
20691 esac
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_try") 2>&5
20694 ac_status=$?
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); }; }; then
20697 ac_cv_member_struct_statfs_f_frsize=yes
20698 else
20699 echo "$as_me: failed program was:" >&5
20700 sed 's/^/| /' conftest.$ac_ext >&5
20702 cat >conftest.$ac_ext <<_ACEOF
20703 /* confdefs.h. */
20704 _ACEOF
20705 cat confdefs.h >>conftest.$ac_ext
20706 cat >>conftest.$ac_ext <<_ACEOF
20707 /* end confdefs.h. */
20708 #include <sys/types.h>
20709 #ifdef HAVE_SYS_PARAM_H
20710 # include <sys/param.h>
20711 #endif
20712 #ifdef HAVE_SYS_MOUNT_H
20713 # include <sys/mount.h>
20714 #endif
20715 #ifdef HAVE_SYS_VFS_H
20716 # include <sys/vfs.h>
20717 #endif
20718 #ifdef HAVE_SYS_STATFS_H
20719 # include <sys/statfs.h>
20720 #endif
20723 main ()
20725 static struct statfs ac_aggr;
20726 if (sizeof ac_aggr.f_frsize)
20727 return 0;
20729 return 0;
20731 _ACEOF
20732 rm -f conftest.$ac_objext
20733 if { (ac_try="$ac_compile"
20734 case "(($ac_try" in
20735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20736 *) ac_try_echo=$ac_try;;
20737 esac
20738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20739 (eval "$ac_compile") 2>conftest.er1
20740 ac_status=$?
20741 grep -v '^ *+' conftest.er1 >conftest.err
20742 rm -f conftest.er1
20743 cat conftest.err >&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); } &&
20746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20747 { (case "(($ac_try" in
20748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20749 *) ac_try_echo=$ac_try;;
20750 esac
20751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20752 (eval "$ac_try") 2>&5
20753 ac_status=$?
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); }; } &&
20756 { ac_try='test -s conftest.$ac_objext'
20757 { (case "(($ac_try" in
20758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20759 *) ac_try_echo=$ac_try;;
20760 esac
20761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20762 (eval "$ac_try") 2>&5
20763 ac_status=$?
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); }; }; then
20766 ac_cv_member_struct_statfs_f_frsize=yes
20767 else
20768 echo "$as_me: failed program was:" >&5
20769 sed 's/^/| /' conftest.$ac_ext >&5
20771 ac_cv_member_struct_statfs_f_frsize=no
20774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20780 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20781 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20783 cat >>confdefs.h <<_ACEOF
20784 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20785 _ACEOF
20789 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20790 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20791 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20792 echo $ECHO_N "(cached) $ECHO_C" >&6
20793 else
20794 cat >conftest.$ac_ext <<_ACEOF
20795 /* confdefs.h. */
20796 _ACEOF
20797 cat confdefs.h >>conftest.$ac_ext
20798 cat >>conftest.$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20800 #include <sys/types.h>
20801 #ifdef HAVE_SYS_PARAM_H
20802 # include <sys/param.h>
20803 #endif
20804 #ifdef HAVE_SYS_MOUNT_H
20805 # include <sys/mount.h>
20806 #endif
20807 #ifdef HAVE_SYS_VFS_H
20808 # include <sys/vfs.h>
20809 #endif
20810 #ifdef HAVE_SYS_STATFS_H
20811 # include <sys/statfs.h>
20812 #endif
20815 main ()
20817 static struct statfs ac_aggr;
20818 if (ac_aggr.f_ffree)
20819 return 0;
20821 return 0;
20823 _ACEOF
20824 rm -f conftest.$ac_objext
20825 if { (ac_try="$ac_compile"
20826 case "(($ac_try" in
20827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20828 *) ac_try_echo=$ac_try;;
20829 esac
20830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20831 (eval "$ac_compile") 2>conftest.er1
20832 ac_status=$?
20833 grep -v '^ *+' conftest.er1 >conftest.err
20834 rm -f conftest.er1
20835 cat conftest.err >&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); } &&
20838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20839 { (case "(($ac_try" in
20840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20841 *) ac_try_echo=$ac_try;;
20842 esac
20843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20844 (eval "$ac_try") 2>&5
20845 ac_status=$?
20846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847 (exit $ac_status); }; } &&
20848 { ac_try='test -s conftest.$ac_objext'
20849 { (case "(($ac_try" in
20850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20851 *) ac_try_echo=$ac_try;;
20852 esac
20853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20854 (eval "$ac_try") 2>&5
20855 ac_status=$?
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); }; }; then
20858 ac_cv_member_struct_statfs_f_ffree=yes
20859 else
20860 echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20863 cat >conftest.$ac_ext <<_ACEOF
20864 /* confdefs.h. */
20865 _ACEOF
20866 cat confdefs.h >>conftest.$ac_ext
20867 cat >>conftest.$ac_ext <<_ACEOF
20868 /* end confdefs.h. */
20869 #include <sys/types.h>
20870 #ifdef HAVE_SYS_PARAM_H
20871 # include <sys/param.h>
20872 #endif
20873 #ifdef HAVE_SYS_MOUNT_H
20874 # include <sys/mount.h>
20875 #endif
20876 #ifdef HAVE_SYS_VFS_H
20877 # include <sys/vfs.h>
20878 #endif
20879 #ifdef HAVE_SYS_STATFS_H
20880 # include <sys/statfs.h>
20881 #endif
20884 main ()
20886 static struct statfs ac_aggr;
20887 if (sizeof ac_aggr.f_ffree)
20888 return 0;
20890 return 0;
20892 _ACEOF
20893 rm -f conftest.$ac_objext
20894 if { (ac_try="$ac_compile"
20895 case "(($ac_try" in
20896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20897 *) ac_try_echo=$ac_try;;
20898 esac
20899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20900 (eval "$ac_compile") 2>conftest.er1
20901 ac_status=$?
20902 grep -v '^ *+' conftest.er1 >conftest.err
20903 rm -f conftest.er1
20904 cat conftest.err >&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); } &&
20907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20908 { (case "(($ac_try" in
20909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20910 *) ac_try_echo=$ac_try;;
20911 esac
20912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20913 (eval "$ac_try") 2>&5
20914 ac_status=$?
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); }; } &&
20917 { ac_try='test -s conftest.$ac_objext'
20918 { (case "(($ac_try" in
20919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20920 *) ac_try_echo=$ac_try;;
20921 esac
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_try") 2>&5
20924 ac_status=$?
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); }; }; then
20927 ac_cv_member_struct_statfs_f_ffree=yes
20928 else
20929 echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.$ac_ext >&5
20932 ac_cv_member_struct_statfs_f_ffree=no
20935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20940 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
20941 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
20942 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
20944 cat >>confdefs.h <<_ACEOF
20945 #define HAVE_STRUCT_STATFS_F_FFREE 1
20946 _ACEOF
20950 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
20951 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
20952 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
20953 echo $ECHO_N "(cached) $ECHO_C" >&6
20954 else
20955 cat >conftest.$ac_ext <<_ACEOF
20956 /* confdefs.h. */
20957 _ACEOF
20958 cat confdefs.h >>conftest.$ac_ext
20959 cat >>conftest.$ac_ext <<_ACEOF
20960 /* end confdefs.h. */
20961 #include <sys/types.h>
20962 #ifdef HAVE_SYS_PARAM_H
20963 # include <sys/param.h>
20964 #endif
20965 #ifdef HAVE_SYS_MOUNT_H
20966 # include <sys/mount.h>
20967 #endif
20968 #ifdef HAVE_SYS_VFS_H
20969 # include <sys/vfs.h>
20970 #endif
20971 #ifdef HAVE_SYS_STATFS_H
20972 # include <sys/statfs.h>
20973 #endif
20976 main ()
20978 static struct statfs ac_aggr;
20979 if (ac_aggr.f_favail)
20980 return 0;
20982 return 0;
20984 _ACEOF
20985 rm -f conftest.$ac_objext
20986 if { (ac_try="$ac_compile"
20987 case "(($ac_try" in
20988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20989 *) ac_try_echo=$ac_try;;
20990 esac
20991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20992 (eval "$ac_compile") 2>conftest.er1
20993 ac_status=$?
20994 grep -v '^ *+' conftest.er1 >conftest.err
20995 rm -f conftest.er1
20996 cat conftest.err >&5
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); } &&
20999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21000 { (case "(($ac_try" in
21001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21002 *) ac_try_echo=$ac_try;;
21003 esac
21004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21005 (eval "$ac_try") 2>&5
21006 ac_status=$?
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; } &&
21009 { ac_try='test -s conftest.$ac_objext'
21010 { (case "(($ac_try" in
21011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21012 *) ac_try_echo=$ac_try;;
21013 esac
21014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21015 (eval "$ac_try") 2>&5
21016 ac_status=$?
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); }; }; then
21019 ac_cv_member_struct_statfs_f_favail=yes
21020 else
21021 echo "$as_me: failed program was:" >&5
21022 sed 's/^/| /' conftest.$ac_ext >&5
21024 cat >conftest.$ac_ext <<_ACEOF
21025 /* confdefs.h. */
21026 _ACEOF
21027 cat confdefs.h >>conftest.$ac_ext
21028 cat >>conftest.$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21030 #include <sys/types.h>
21031 #ifdef HAVE_SYS_PARAM_H
21032 # include <sys/param.h>
21033 #endif
21034 #ifdef HAVE_SYS_MOUNT_H
21035 # include <sys/mount.h>
21036 #endif
21037 #ifdef HAVE_SYS_VFS_H
21038 # include <sys/vfs.h>
21039 #endif
21040 #ifdef HAVE_SYS_STATFS_H
21041 # include <sys/statfs.h>
21042 #endif
21045 main ()
21047 static struct statfs ac_aggr;
21048 if (sizeof ac_aggr.f_favail)
21049 return 0;
21051 return 0;
21053 _ACEOF
21054 rm -f conftest.$ac_objext
21055 if { (ac_try="$ac_compile"
21056 case "(($ac_try" in
21057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21058 *) ac_try_echo=$ac_try;;
21059 esac
21060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21061 (eval "$ac_compile") 2>conftest.er1
21062 ac_status=$?
21063 grep -v '^ *+' conftest.er1 >conftest.err
21064 rm -f conftest.er1
21065 cat conftest.err >&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } &&
21068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21069 { (case "(($ac_try" in
21070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21071 *) ac_try_echo=$ac_try;;
21072 esac
21073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21074 (eval "$ac_try") 2>&5
21075 ac_status=$?
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; } &&
21078 { ac_try='test -s conftest.$ac_objext'
21079 { (case "(($ac_try" in
21080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21081 *) ac_try_echo=$ac_try;;
21082 esac
21083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21084 (eval "$ac_try") 2>&5
21085 ac_status=$?
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); }; }; then
21088 ac_cv_member_struct_statfs_f_favail=yes
21089 else
21090 echo "$as_me: failed program was:" >&5
21091 sed 's/^/| /' conftest.$ac_ext >&5
21093 ac_cv_member_struct_statfs_f_favail=no
21096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21101 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21102 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21103 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21105 cat >>confdefs.h <<_ACEOF
21106 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21107 _ACEOF
21111 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21112 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21113 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21114 echo $ECHO_N "(cached) $ECHO_C" >&6
21115 else
21116 cat >conftest.$ac_ext <<_ACEOF
21117 /* confdefs.h. */
21118 _ACEOF
21119 cat confdefs.h >>conftest.$ac_ext
21120 cat >>conftest.$ac_ext <<_ACEOF
21121 /* end confdefs.h. */
21122 #include <sys/types.h>
21123 #ifdef HAVE_SYS_PARAM_H
21124 # include <sys/param.h>
21125 #endif
21126 #ifdef HAVE_SYS_MOUNT_H
21127 # include <sys/mount.h>
21128 #endif
21129 #ifdef HAVE_SYS_VFS_H
21130 # include <sys/vfs.h>
21131 #endif
21132 #ifdef HAVE_SYS_STATFS_H
21133 # include <sys/statfs.h>
21134 #endif
21137 main ()
21139 static struct statfs ac_aggr;
21140 if (ac_aggr.f_namelen)
21141 return 0;
21143 return 0;
21145 _ACEOF
21146 rm -f conftest.$ac_objext
21147 if { (ac_try="$ac_compile"
21148 case "(($ac_try" in
21149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21150 *) ac_try_echo=$ac_try;;
21151 esac
21152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21153 (eval "$ac_compile") 2>conftest.er1
21154 ac_status=$?
21155 grep -v '^ *+' conftest.er1 >conftest.err
21156 rm -f conftest.er1
21157 cat conftest.err >&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); } &&
21160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21161 { (case "(($ac_try" in
21162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21163 *) ac_try_echo=$ac_try;;
21164 esac
21165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21166 (eval "$ac_try") 2>&5
21167 ac_status=$?
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; } &&
21170 { ac_try='test -s conftest.$ac_objext'
21171 { (case "(($ac_try" in
21172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21173 *) ac_try_echo=$ac_try;;
21174 esac
21175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176 (eval "$ac_try") 2>&5
21177 ac_status=$?
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); }; }; then
21180 ac_cv_member_struct_statfs_f_namelen=yes
21181 else
21182 echo "$as_me: failed program was:" >&5
21183 sed 's/^/| /' conftest.$ac_ext >&5
21185 cat >conftest.$ac_ext <<_ACEOF
21186 /* confdefs.h. */
21187 _ACEOF
21188 cat confdefs.h >>conftest.$ac_ext
21189 cat >>conftest.$ac_ext <<_ACEOF
21190 /* end confdefs.h. */
21191 #include <sys/types.h>
21192 #ifdef HAVE_SYS_PARAM_H
21193 # include <sys/param.h>
21194 #endif
21195 #ifdef HAVE_SYS_MOUNT_H
21196 # include <sys/mount.h>
21197 #endif
21198 #ifdef HAVE_SYS_VFS_H
21199 # include <sys/vfs.h>
21200 #endif
21201 #ifdef HAVE_SYS_STATFS_H
21202 # include <sys/statfs.h>
21203 #endif
21206 main ()
21208 static struct statfs ac_aggr;
21209 if (sizeof ac_aggr.f_namelen)
21210 return 0;
21212 return 0;
21214 _ACEOF
21215 rm -f conftest.$ac_objext
21216 if { (ac_try="$ac_compile"
21217 case "(($ac_try" in
21218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21219 *) ac_try_echo=$ac_try;;
21220 esac
21221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21222 (eval "$ac_compile") 2>conftest.er1
21223 ac_status=$?
21224 grep -v '^ *+' conftest.er1 >conftest.err
21225 rm -f conftest.er1
21226 cat conftest.err >&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } &&
21229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21230 { (case "(($ac_try" in
21231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21232 *) ac_try_echo=$ac_try;;
21233 esac
21234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21235 (eval "$ac_try") 2>&5
21236 ac_status=$?
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); }; } &&
21239 { ac_try='test -s conftest.$ac_objext'
21240 { (case "(($ac_try" in
21241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21242 *) ac_try_echo=$ac_try;;
21243 esac
21244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21245 (eval "$ac_try") 2>&5
21246 ac_status=$?
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; }; then
21249 ac_cv_member_struct_statfs_f_namelen=yes
21250 else
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.$ac_ext >&5
21254 ac_cv_member_struct_statfs_f_namelen=no
21257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21262 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21263 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21264 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21266 cat >>confdefs.h <<_ACEOF
21267 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21268 _ACEOF
21274 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21275 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21276 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21277 echo $ECHO_N "(cached) $ECHO_C" >&6
21278 else
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 #ifdef HAVE_SYS_STATVFS_H
21286 #include <sys/statvfs.h>
21287 #endif
21290 main ()
21292 static struct statvfs ac_aggr;
21293 if (ac_aggr.f_blocks)
21294 return 0;
21296 return 0;
21298 _ACEOF
21299 rm -f conftest.$ac_objext
21300 if { (ac_try="$ac_compile"
21301 case "(($ac_try" in
21302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21303 *) ac_try_echo=$ac_try;;
21304 esac
21305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21306 (eval "$ac_compile") 2>conftest.er1
21307 ac_status=$?
21308 grep -v '^ *+' conftest.er1 >conftest.err
21309 rm -f conftest.er1
21310 cat conftest.err >&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); } &&
21313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21314 { (case "(($ac_try" in
21315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21316 *) ac_try_echo=$ac_try;;
21317 esac
21318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21319 (eval "$ac_try") 2>&5
21320 ac_status=$?
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); }; } &&
21323 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21333 ac_cv_member_struct_statvfs_f_blocks=yes
21334 else
21335 echo "$as_me: failed program was:" >&5
21336 sed 's/^/| /' conftest.$ac_ext >&5
21338 cat >conftest.$ac_ext <<_ACEOF
21339 /* confdefs.h. */
21340 _ACEOF
21341 cat confdefs.h >>conftest.$ac_ext
21342 cat >>conftest.$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344 #ifdef HAVE_SYS_STATVFS_H
21345 #include <sys/statvfs.h>
21346 #endif
21349 main ()
21351 static struct statvfs ac_aggr;
21352 if (sizeof ac_aggr.f_blocks)
21353 return 0;
21355 return 0;
21357 _ACEOF
21358 rm -f conftest.$ac_objext
21359 if { (ac_try="$ac_compile"
21360 case "(($ac_try" in
21361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21362 *) ac_try_echo=$ac_try;;
21363 esac
21364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21365 (eval "$ac_compile") 2>conftest.er1
21366 ac_status=$?
21367 grep -v '^ *+' conftest.er1 >conftest.err
21368 rm -f conftest.er1
21369 cat conftest.err >&5
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); } &&
21372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21373 { (case "(($ac_try" in
21374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21375 *) ac_try_echo=$ac_try;;
21376 esac
21377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21378 (eval "$ac_try") 2>&5
21379 ac_status=$?
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); }; } &&
21382 { ac_try='test -s conftest.$ac_objext'
21383 { (case "(($ac_try" in
21384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21385 *) ac_try_echo=$ac_try;;
21386 esac
21387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21388 (eval "$ac_try") 2>&5
21389 ac_status=$?
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); }; }; then
21392 ac_cv_member_struct_statvfs_f_blocks=yes
21393 else
21394 echo "$as_me: failed program was:" >&5
21395 sed 's/^/| /' conftest.$ac_ext >&5
21397 ac_cv_member_struct_statvfs_f_blocks=no
21400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21405 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21406 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21407 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21409 cat >>confdefs.h <<_ACEOF
21410 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21411 _ACEOF
21417 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21418 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21419 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21420 echo $ECHO_N "(cached) $ECHO_C" >&6
21421 else
21422 cat >conftest.$ac_ext <<_ACEOF
21423 /* confdefs.h. */
21424 _ACEOF
21425 cat confdefs.h >>conftest.$ac_ext
21426 cat >>conftest.$ac_ext <<_ACEOF
21427 /* end confdefs.h. */
21428 #include <sys/types.h>
21429 #ifdef HAVE_SYS_SOCKET_H
21430 # include <sys/socket.h>
21431 #endif
21432 #ifdef HAVE_SYS_UN_H
21433 # include <sys/un.h>
21434 #endif
21437 main ()
21439 static struct msghdr ac_aggr;
21440 if (ac_aggr.msg_accrights)
21441 return 0;
21443 return 0;
21445 _ACEOF
21446 rm -f conftest.$ac_objext
21447 if { (ac_try="$ac_compile"
21448 case "(($ac_try" in
21449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21450 *) ac_try_echo=$ac_try;;
21451 esac
21452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21453 (eval "$ac_compile") 2>conftest.er1
21454 ac_status=$?
21455 grep -v '^ *+' conftest.er1 >conftest.err
21456 rm -f conftest.er1
21457 cat conftest.err >&5
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); } &&
21460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21461 { (case "(($ac_try" in
21462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21463 *) ac_try_echo=$ac_try;;
21464 esac
21465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21466 (eval "$ac_try") 2>&5
21467 ac_status=$?
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); }; } &&
21470 { ac_try='test -s conftest.$ac_objext'
21471 { (case "(($ac_try" in
21472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21473 *) ac_try_echo=$ac_try;;
21474 esac
21475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21476 (eval "$ac_try") 2>&5
21477 ac_status=$?
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); }; }; then
21480 ac_cv_member_struct_msghdr_msg_accrights=yes
21481 else
21482 echo "$as_me: failed program was:" >&5
21483 sed 's/^/| /' conftest.$ac_ext >&5
21485 cat >conftest.$ac_ext <<_ACEOF
21486 /* confdefs.h. */
21487 _ACEOF
21488 cat confdefs.h >>conftest.$ac_ext
21489 cat >>conftest.$ac_ext <<_ACEOF
21490 /* end confdefs.h. */
21491 #include <sys/types.h>
21492 #ifdef HAVE_SYS_SOCKET_H
21493 # include <sys/socket.h>
21494 #endif
21495 #ifdef HAVE_SYS_UN_H
21496 # include <sys/un.h>
21497 #endif
21500 main ()
21502 static struct msghdr ac_aggr;
21503 if (sizeof ac_aggr.msg_accrights)
21504 return 0;
21506 return 0;
21508 _ACEOF
21509 rm -f conftest.$ac_objext
21510 if { (ac_try="$ac_compile"
21511 case "(($ac_try" in
21512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21513 *) ac_try_echo=$ac_try;;
21514 esac
21515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21516 (eval "$ac_compile") 2>conftest.er1
21517 ac_status=$?
21518 grep -v '^ *+' conftest.er1 >conftest.err
21519 rm -f conftest.er1
21520 cat conftest.err >&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); } &&
21523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21524 { (case "(($ac_try" in
21525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21526 *) ac_try_echo=$ac_try;;
21527 esac
21528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21529 (eval "$ac_try") 2>&5
21530 ac_status=$?
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; } &&
21533 { ac_try='test -s conftest.$ac_objext'
21534 { (case "(($ac_try" in
21535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21536 *) ac_try_echo=$ac_try;;
21537 esac
21538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21539 (eval "$ac_try") 2>&5
21540 ac_status=$?
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); }; }; then
21543 ac_cv_member_struct_msghdr_msg_accrights=yes
21544 else
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21548 ac_cv_member_struct_msghdr_msg_accrights=no
21551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21556 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21557 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21558 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21560 cat >>confdefs.h <<_ACEOF
21561 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21562 _ACEOF
21566 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21567 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21568 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21569 echo $ECHO_N "(cached) $ECHO_C" >&6
21570 else
21571 cat >conftest.$ac_ext <<_ACEOF
21572 /* confdefs.h. */
21573 _ACEOF
21574 cat confdefs.h >>conftest.$ac_ext
21575 cat >>conftest.$ac_ext <<_ACEOF
21576 /* end confdefs.h. */
21577 #include <sys/types.h>
21578 #ifdef HAVE_SYS_SOCKET_H
21579 # include <sys/socket.h>
21580 #endif
21581 #ifdef HAVE_SYS_UN_H
21582 # include <sys/un.h>
21583 #endif
21586 main ()
21588 static struct sockaddr ac_aggr;
21589 if (ac_aggr.sa_len)
21590 return 0;
21592 return 0;
21594 _ACEOF
21595 rm -f conftest.$ac_objext
21596 if { (ac_try="$ac_compile"
21597 case "(($ac_try" in
21598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21599 *) ac_try_echo=$ac_try;;
21600 esac
21601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21602 (eval "$ac_compile") 2>conftest.er1
21603 ac_status=$?
21604 grep -v '^ *+' conftest.er1 >conftest.err
21605 rm -f conftest.er1
21606 cat conftest.err >&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); } &&
21609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21610 { (case "(($ac_try" in
21611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21612 *) ac_try_echo=$ac_try;;
21613 esac
21614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21615 (eval "$ac_try") 2>&5
21616 ac_status=$?
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); }; } &&
21619 { ac_try='test -s conftest.$ac_objext'
21620 { (case "(($ac_try" in
21621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21622 *) ac_try_echo=$ac_try;;
21623 esac
21624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21625 (eval "$ac_try") 2>&5
21626 ac_status=$?
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); }; }; then
21629 ac_cv_member_struct_sockaddr_sa_len=yes
21630 else
21631 echo "$as_me: failed program was:" >&5
21632 sed 's/^/| /' conftest.$ac_ext >&5
21634 cat >conftest.$ac_ext <<_ACEOF
21635 /* confdefs.h. */
21636 _ACEOF
21637 cat confdefs.h >>conftest.$ac_ext
21638 cat >>conftest.$ac_ext <<_ACEOF
21639 /* end confdefs.h. */
21640 #include <sys/types.h>
21641 #ifdef HAVE_SYS_SOCKET_H
21642 # include <sys/socket.h>
21643 #endif
21644 #ifdef HAVE_SYS_UN_H
21645 # include <sys/un.h>
21646 #endif
21649 main ()
21651 static struct sockaddr ac_aggr;
21652 if (sizeof ac_aggr.sa_len)
21653 return 0;
21655 return 0;
21657 _ACEOF
21658 rm -f conftest.$ac_objext
21659 if { (ac_try="$ac_compile"
21660 case "(($ac_try" in
21661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21662 *) ac_try_echo=$ac_try;;
21663 esac
21664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21665 (eval "$ac_compile") 2>conftest.er1
21666 ac_status=$?
21667 grep -v '^ *+' conftest.er1 >conftest.err
21668 rm -f conftest.er1
21669 cat conftest.err >&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); } &&
21672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21673 { (case "(($ac_try" in
21674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21675 *) ac_try_echo=$ac_try;;
21676 esac
21677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21678 (eval "$ac_try") 2>&5
21679 ac_status=$?
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); }; } &&
21682 { ac_try='test -s conftest.$ac_objext'
21683 { (case "(($ac_try" in
21684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21685 *) ac_try_echo=$ac_try;;
21686 esac
21687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21688 (eval "$ac_try") 2>&5
21689 ac_status=$?
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); }; }; then
21692 ac_cv_member_struct_sockaddr_sa_len=yes
21693 else
21694 echo "$as_me: failed program was:" >&5
21695 sed 's/^/| /' conftest.$ac_ext >&5
21697 ac_cv_member_struct_sockaddr_sa_len=no
21700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21705 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21706 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21707 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21709 cat >>confdefs.h <<_ACEOF
21710 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21711 _ACEOF
21715 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21716 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21717 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21718 echo $ECHO_N "(cached) $ECHO_C" >&6
21719 else
21720 cat >conftest.$ac_ext <<_ACEOF
21721 /* confdefs.h. */
21722 _ACEOF
21723 cat confdefs.h >>conftest.$ac_ext
21724 cat >>conftest.$ac_ext <<_ACEOF
21725 /* end confdefs.h. */
21726 #include <sys/types.h>
21727 #ifdef HAVE_SYS_SOCKET_H
21728 # include <sys/socket.h>
21729 #endif
21730 #ifdef HAVE_SYS_UN_H
21731 # include <sys/un.h>
21732 #endif
21735 main ()
21737 static struct sockaddr_un ac_aggr;
21738 if (ac_aggr.sun_len)
21739 return 0;
21741 return 0;
21743 _ACEOF
21744 rm -f conftest.$ac_objext
21745 if { (ac_try="$ac_compile"
21746 case "(($ac_try" in
21747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21748 *) ac_try_echo=$ac_try;;
21749 esac
21750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751 (eval "$ac_compile") 2>conftest.er1
21752 ac_status=$?
21753 grep -v '^ *+' conftest.er1 >conftest.err
21754 rm -f conftest.er1
21755 cat conftest.err >&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } &&
21758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21759 { (case "(($ac_try" in
21760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21761 *) ac_try_echo=$ac_try;;
21762 esac
21763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21764 (eval "$ac_try") 2>&5
21765 ac_status=$?
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); }; } &&
21768 { ac_try='test -s conftest.$ac_objext'
21769 { (case "(($ac_try" in
21770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21771 *) ac_try_echo=$ac_try;;
21772 esac
21773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21774 (eval "$ac_try") 2>&5
21775 ac_status=$?
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); }; }; then
21778 ac_cv_member_struct_sockaddr_un_sun_len=yes
21779 else
21780 echo "$as_me: failed program was:" >&5
21781 sed 's/^/| /' conftest.$ac_ext >&5
21783 cat >conftest.$ac_ext <<_ACEOF
21784 /* confdefs.h. */
21785 _ACEOF
21786 cat confdefs.h >>conftest.$ac_ext
21787 cat >>conftest.$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21789 #include <sys/types.h>
21790 #ifdef HAVE_SYS_SOCKET_H
21791 # include <sys/socket.h>
21792 #endif
21793 #ifdef HAVE_SYS_UN_H
21794 # include <sys/un.h>
21795 #endif
21798 main ()
21800 static struct sockaddr_un ac_aggr;
21801 if (sizeof ac_aggr.sun_len)
21802 return 0;
21804 return 0;
21806 _ACEOF
21807 rm -f conftest.$ac_objext
21808 if { (ac_try="$ac_compile"
21809 case "(($ac_try" in
21810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21811 *) ac_try_echo=$ac_try;;
21812 esac
21813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21814 (eval "$ac_compile") 2>conftest.er1
21815 ac_status=$?
21816 grep -v '^ *+' conftest.er1 >conftest.err
21817 rm -f conftest.er1
21818 cat conftest.err >&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); } &&
21821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21822 { (case "(($ac_try" in
21823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21824 *) ac_try_echo=$ac_try;;
21825 esac
21826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21827 (eval "$ac_try") 2>&5
21828 ac_status=$?
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); }; } &&
21831 { ac_try='test -s conftest.$ac_objext'
21832 { (case "(($ac_try" in
21833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21834 *) ac_try_echo=$ac_try;;
21835 esac
21836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21837 (eval "$ac_try") 2>&5
21838 ac_status=$?
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); }; }; then
21841 ac_cv_member_struct_sockaddr_un_sun_len=yes
21842 else
21843 echo "$as_me: failed program was:" >&5
21844 sed 's/^/| /' conftest.$ac_ext >&5
21846 ac_cv_member_struct_sockaddr_un_sun_len=no
21849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21854 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21855 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21856 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21858 cat >>confdefs.h <<_ACEOF
21859 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21860 _ACEOF
21866 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21867 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21868 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21869 echo $ECHO_N "(cached) $ECHO_C" >&6
21870 else
21871 cat >conftest.$ac_ext <<_ACEOF
21872 /* confdefs.h. */
21873 _ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 #include <sys/types.h>
21878 #ifdef HAVE_SCSI_SG_H
21879 #include <scsi/sg.h>
21880 #endif
21883 main ()
21885 static scsireq_t ac_aggr;
21886 if (ac_aggr.cmd)
21887 return 0;
21889 return 0;
21891 _ACEOF
21892 rm -f conftest.$ac_objext
21893 if { (ac_try="$ac_compile"
21894 case "(($ac_try" in
21895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21896 *) ac_try_echo=$ac_try;;
21897 esac
21898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21899 (eval "$ac_compile") 2>conftest.er1
21900 ac_status=$?
21901 grep -v '^ *+' conftest.er1 >conftest.err
21902 rm -f conftest.er1
21903 cat conftest.err >&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); } &&
21906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21907 { (case "(($ac_try" in
21908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21909 *) ac_try_echo=$ac_try;;
21910 esac
21911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21912 (eval "$ac_try") 2>&5
21913 ac_status=$?
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; } &&
21916 { ac_try='test -s conftest.$ac_objext'
21917 { (case "(($ac_try" in
21918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21919 *) ac_try_echo=$ac_try;;
21920 esac
21921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21922 (eval "$ac_try") 2>&5
21923 ac_status=$?
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; }; then
21926 ac_cv_member_scsireq_t_cmd=yes
21927 else
21928 echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.$ac_ext >&5
21931 cat >conftest.$ac_ext <<_ACEOF
21932 /* confdefs.h. */
21933 _ACEOF
21934 cat confdefs.h >>conftest.$ac_ext
21935 cat >>conftest.$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21937 #include <sys/types.h>
21938 #ifdef HAVE_SCSI_SG_H
21939 #include <scsi/sg.h>
21940 #endif
21943 main ()
21945 static scsireq_t ac_aggr;
21946 if (sizeof ac_aggr.cmd)
21947 return 0;
21949 return 0;
21951 _ACEOF
21952 rm -f conftest.$ac_objext
21953 if { (ac_try="$ac_compile"
21954 case "(($ac_try" in
21955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21956 *) ac_try_echo=$ac_try;;
21957 esac
21958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21959 (eval "$ac_compile") 2>conftest.er1
21960 ac_status=$?
21961 grep -v '^ *+' conftest.er1 >conftest.err
21962 rm -f conftest.er1
21963 cat conftest.err >&5
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); } &&
21966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21967 { (case "(($ac_try" in
21968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21969 *) ac_try_echo=$ac_try;;
21970 esac
21971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21972 (eval "$ac_try") 2>&5
21973 ac_status=$?
21974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21975 (exit $ac_status); }; } &&
21976 { ac_try='test -s conftest.$ac_objext'
21977 { (case "(($ac_try" in
21978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21979 *) ac_try_echo=$ac_try;;
21980 esac
21981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21982 (eval "$ac_try") 2>&5
21983 ac_status=$?
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); }; }; then
21986 ac_cv_member_scsireq_t_cmd=yes
21987 else
21988 echo "$as_me: failed program was:" >&5
21989 sed 's/^/| /' conftest.$ac_ext >&5
21991 ac_cv_member_scsireq_t_cmd=no
21994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21999 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22000 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22001 if test $ac_cv_member_scsireq_t_cmd = yes; then
22003 cat >>confdefs.h <<_ACEOF
22004 #define HAVE_SCSIREQ_T_CMD 1
22005 _ACEOF
22009 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22010 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22011 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22012 echo $ECHO_N "(cached) $ECHO_C" >&6
22013 else
22014 cat >conftest.$ac_ext <<_ACEOF
22015 /* confdefs.h. */
22016 _ACEOF
22017 cat confdefs.h >>conftest.$ac_ext
22018 cat >>conftest.$ac_ext <<_ACEOF
22019 /* end confdefs.h. */
22020 #include <sys/types.h>
22021 #ifdef HAVE_SCSI_SG_H
22022 #include <scsi/sg.h>
22023 #endif
22026 main ()
22028 static sg_io_hdr_t ac_aggr;
22029 if (ac_aggr.interface_id)
22030 return 0;
22032 return 0;
22034 _ACEOF
22035 rm -f conftest.$ac_objext
22036 if { (ac_try="$ac_compile"
22037 case "(($ac_try" in
22038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22039 *) ac_try_echo=$ac_try;;
22040 esac
22041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22042 (eval "$ac_compile") 2>conftest.er1
22043 ac_status=$?
22044 grep -v '^ *+' conftest.er1 >conftest.err
22045 rm -f conftest.er1
22046 cat conftest.err >&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } &&
22049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22050 { (case "(($ac_try" in
22051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22052 *) ac_try_echo=$ac_try;;
22053 esac
22054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22055 (eval "$ac_try") 2>&5
22056 ac_status=$?
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); }; } &&
22059 { ac_try='test -s conftest.$ac_objext'
22060 { (case "(($ac_try" in
22061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22062 *) ac_try_echo=$ac_try;;
22063 esac
22064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22065 (eval "$ac_try") 2>&5
22066 ac_status=$?
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); }; }; then
22069 ac_cv_member_sg_io_hdr_t_interface_id=yes
22070 else
22071 echo "$as_me: failed program was:" >&5
22072 sed 's/^/| /' conftest.$ac_ext >&5
22074 cat >conftest.$ac_ext <<_ACEOF
22075 /* confdefs.h. */
22076 _ACEOF
22077 cat confdefs.h >>conftest.$ac_ext
22078 cat >>conftest.$ac_ext <<_ACEOF
22079 /* end confdefs.h. */
22080 #include <sys/types.h>
22081 #ifdef HAVE_SCSI_SG_H
22082 #include <scsi/sg.h>
22083 #endif
22086 main ()
22088 static sg_io_hdr_t ac_aggr;
22089 if (sizeof ac_aggr.interface_id)
22090 return 0;
22092 return 0;
22094 _ACEOF
22095 rm -f conftest.$ac_objext
22096 if { (ac_try="$ac_compile"
22097 case "(($ac_try" in
22098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22100 esac
22101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_compile") 2>conftest.er1
22103 ac_status=$?
22104 grep -v '^ *+' conftest.er1 >conftest.err
22105 rm -f conftest.er1
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } &&
22109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22110 { (case "(($ac_try" in
22111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22112 *) ac_try_echo=$ac_try;;
22113 esac
22114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22115 (eval "$ac_try") 2>&5
22116 ac_status=$?
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); }; } &&
22119 { ac_try='test -s conftest.$ac_objext'
22120 { (case "(($ac_try" in
22121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22122 *) ac_try_echo=$ac_try;;
22123 esac
22124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22125 (eval "$ac_try") 2>&5
22126 ac_status=$?
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); }; }; then
22129 ac_cv_member_sg_io_hdr_t_interface_id=yes
22130 else
22131 echo "$as_me: failed program was:" >&5
22132 sed 's/^/| /' conftest.$ac_ext >&5
22134 ac_cv_member_sg_io_hdr_t_interface_id=no
22137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22142 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22143 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22144 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22146 cat >>confdefs.h <<_ACEOF
22147 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22148 _ACEOF
22154 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22155 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22156 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22157 echo $ECHO_N "(cached) $ECHO_C" >&6
22158 else
22159 cat >conftest.$ac_ext <<_ACEOF
22160 /* confdefs.h. */
22161 _ACEOF
22162 cat confdefs.h >>conftest.$ac_ext
22163 cat >>conftest.$ac_ext <<_ACEOF
22164 /* end confdefs.h. */
22165 #include <signal.h>
22168 main ()
22170 static siginfo_t ac_aggr;
22171 if (ac_aggr.si_fd)
22172 return 0;
22174 return 0;
22176 _ACEOF
22177 rm -f conftest.$ac_objext
22178 if { (ac_try="$ac_compile"
22179 case "(($ac_try" in
22180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22181 *) ac_try_echo=$ac_try;;
22182 esac
22183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22184 (eval "$ac_compile") 2>conftest.er1
22185 ac_status=$?
22186 grep -v '^ *+' conftest.er1 >conftest.err
22187 rm -f conftest.er1
22188 cat conftest.err >&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); } &&
22191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22192 { (case "(($ac_try" in
22193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22194 *) ac_try_echo=$ac_try;;
22195 esac
22196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22197 (eval "$ac_try") 2>&5
22198 ac_status=$?
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); }; } &&
22201 { ac_try='test -s conftest.$ac_objext'
22202 { (case "(($ac_try" in
22203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22204 *) ac_try_echo=$ac_try;;
22205 esac
22206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22207 (eval "$ac_try") 2>&5
22208 ac_status=$?
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); }; }; then
22211 ac_cv_member_siginfo_t_si_fd=yes
22212 else
22213 echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.$ac_ext >&5
22216 cat >conftest.$ac_ext <<_ACEOF
22217 /* confdefs.h. */
22218 _ACEOF
22219 cat confdefs.h >>conftest.$ac_ext
22220 cat >>conftest.$ac_ext <<_ACEOF
22221 /* end confdefs.h. */
22222 #include <signal.h>
22225 main ()
22227 static siginfo_t ac_aggr;
22228 if (sizeof ac_aggr.si_fd)
22229 return 0;
22231 return 0;
22233 _ACEOF
22234 rm -f conftest.$ac_objext
22235 if { (ac_try="$ac_compile"
22236 case "(($ac_try" in
22237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22238 *) ac_try_echo=$ac_try;;
22239 esac
22240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22241 (eval "$ac_compile") 2>conftest.er1
22242 ac_status=$?
22243 grep -v '^ *+' conftest.er1 >conftest.err
22244 rm -f conftest.er1
22245 cat conftest.err >&5
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); } &&
22248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22249 { (case "(($ac_try" in
22250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22251 *) ac_try_echo=$ac_try;;
22252 esac
22253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22254 (eval "$ac_try") 2>&5
22255 ac_status=$?
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); }; } &&
22258 { ac_try='test -s conftest.$ac_objext'
22259 { (case "(($ac_try" in
22260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22261 *) ac_try_echo=$ac_try;;
22262 esac
22263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22264 (eval "$ac_try") 2>&5
22265 ac_status=$?
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; }; then
22268 ac_cv_member_siginfo_t_si_fd=yes
22269 else
22270 echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.$ac_ext >&5
22273 ac_cv_member_siginfo_t_si_fd=no
22276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22281 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22282 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22283 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22285 cat >>confdefs.h <<_ACEOF
22286 #define HAVE_SIGINFO_T_SI_FD 1
22287 _ACEOF
22293 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22294 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22295 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22296 echo $ECHO_N "(cached) $ECHO_C" >&6
22297 else
22298 cat >conftest.$ac_ext <<_ACEOF
22299 /* confdefs.h. */
22300 _ACEOF
22301 cat confdefs.h >>conftest.$ac_ext
22302 cat >>conftest.$ac_ext <<_ACEOF
22303 /* end confdefs.h. */
22304 #include <sys/types.h>
22305 #ifdef HAVE_SYS_MTIO_H
22306 #include <sys/mtio.h>
22307 #endif
22310 main ()
22312 static struct mtget ac_aggr;
22313 if (ac_aggr.mt_blksiz)
22314 return 0;
22316 return 0;
22318 _ACEOF
22319 rm -f conftest.$ac_objext
22320 if { (ac_try="$ac_compile"
22321 case "(($ac_try" in
22322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22323 *) ac_try_echo=$ac_try;;
22324 esac
22325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22326 (eval "$ac_compile") 2>conftest.er1
22327 ac_status=$?
22328 grep -v '^ *+' conftest.er1 >conftest.err
22329 rm -f conftest.er1
22330 cat conftest.err >&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); } &&
22333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22334 { (case "(($ac_try" in
22335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22337 esac
22338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_try") 2>&5
22340 ac_status=$?
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; } &&
22343 { ac_try='test -s conftest.$ac_objext'
22344 { (case "(($ac_try" in
22345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22346 *) ac_try_echo=$ac_try;;
22347 esac
22348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22349 (eval "$ac_try") 2>&5
22350 ac_status=$?
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); }; }; then
22353 ac_cv_member_struct_mtget_mt_blksiz=yes
22354 else
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.$ac_ext >&5
22358 cat >conftest.$ac_ext <<_ACEOF
22359 /* confdefs.h. */
22360 _ACEOF
22361 cat confdefs.h >>conftest.$ac_ext
22362 cat >>conftest.$ac_ext <<_ACEOF
22363 /* end confdefs.h. */
22364 #include <sys/types.h>
22365 #ifdef HAVE_SYS_MTIO_H
22366 #include <sys/mtio.h>
22367 #endif
22370 main ()
22372 static struct mtget ac_aggr;
22373 if (sizeof ac_aggr.mt_blksiz)
22374 return 0;
22376 return 0;
22378 _ACEOF
22379 rm -f conftest.$ac_objext
22380 if { (ac_try="$ac_compile"
22381 case "(($ac_try" in
22382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22383 *) ac_try_echo=$ac_try;;
22384 esac
22385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22386 (eval "$ac_compile") 2>conftest.er1
22387 ac_status=$?
22388 grep -v '^ *+' conftest.er1 >conftest.err
22389 rm -f conftest.er1
22390 cat conftest.err >&5
22391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392 (exit $ac_status); } &&
22393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22394 { (case "(($ac_try" in
22395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22396 *) ac_try_echo=$ac_try;;
22397 esac
22398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22399 (eval "$ac_try") 2>&5
22400 ac_status=$?
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); }; } &&
22403 { ac_try='test -s conftest.$ac_objext'
22404 { (case "(($ac_try" in
22405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22406 *) ac_try_echo=$ac_try;;
22407 esac
22408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22409 (eval "$ac_try") 2>&5
22410 ac_status=$?
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); }; }; then
22413 ac_cv_member_struct_mtget_mt_blksiz=yes
22414 else
22415 echo "$as_me: failed program was:" >&5
22416 sed 's/^/| /' conftest.$ac_ext >&5
22418 ac_cv_member_struct_mtget_mt_blksiz=no
22421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22426 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22427 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22428 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22430 cat >>confdefs.h <<_ACEOF
22431 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22432 _ACEOF
22436 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22437 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22438 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22439 echo $ECHO_N "(cached) $ECHO_C" >&6
22440 else
22441 cat >conftest.$ac_ext <<_ACEOF
22442 /* confdefs.h. */
22443 _ACEOF
22444 cat confdefs.h >>conftest.$ac_ext
22445 cat >>conftest.$ac_ext <<_ACEOF
22446 /* end confdefs.h. */
22447 #include <sys/types.h>
22448 #ifdef HAVE_SYS_MTIO_H
22449 #include <sys/mtio.h>
22450 #endif
22453 main ()
22455 static struct mtget ac_aggr;
22456 if (ac_aggr.mt_gstat)
22457 return 0;
22459 return 0;
22461 _ACEOF
22462 rm -f conftest.$ac_objext
22463 if { (ac_try="$ac_compile"
22464 case "(($ac_try" in
22465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22466 *) ac_try_echo=$ac_try;;
22467 esac
22468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22469 (eval "$ac_compile") 2>conftest.er1
22470 ac_status=$?
22471 grep -v '^ *+' conftest.er1 >conftest.err
22472 rm -f conftest.er1
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } &&
22476 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22477 { (case "(($ac_try" in
22478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22479 *) ac_try_echo=$ac_try;;
22480 esac
22481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22482 (eval "$ac_try") 2>&5
22483 ac_status=$?
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); }; } &&
22486 { ac_try='test -s conftest.$ac_objext'
22487 { (case "(($ac_try" in
22488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22489 *) ac_try_echo=$ac_try;;
22490 esac
22491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22492 (eval "$ac_try") 2>&5
22493 ac_status=$?
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); }; }; then
22496 ac_cv_member_struct_mtget_mt_gstat=yes
22497 else
22498 echo "$as_me: failed program was:" >&5
22499 sed 's/^/| /' conftest.$ac_ext >&5
22501 cat >conftest.$ac_ext <<_ACEOF
22502 /* confdefs.h. */
22503 _ACEOF
22504 cat confdefs.h >>conftest.$ac_ext
22505 cat >>conftest.$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22507 #include <sys/types.h>
22508 #ifdef HAVE_SYS_MTIO_H
22509 #include <sys/mtio.h>
22510 #endif
22513 main ()
22515 static struct mtget ac_aggr;
22516 if (sizeof ac_aggr.mt_gstat)
22517 return 0;
22519 return 0;
22521 _ACEOF
22522 rm -f conftest.$ac_objext
22523 if { (ac_try="$ac_compile"
22524 case "(($ac_try" in
22525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22526 *) ac_try_echo=$ac_try;;
22527 esac
22528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22529 (eval "$ac_compile") 2>conftest.er1
22530 ac_status=$?
22531 grep -v '^ *+' conftest.er1 >conftest.err
22532 rm -f conftest.er1
22533 cat conftest.err >&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); } &&
22536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22537 { (case "(($ac_try" in
22538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22539 *) ac_try_echo=$ac_try;;
22540 esac
22541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22542 (eval "$ac_try") 2>&5
22543 ac_status=$?
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); }; } &&
22546 { ac_try='test -s conftest.$ac_objext'
22547 { (case "(($ac_try" in
22548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22549 *) ac_try_echo=$ac_try;;
22550 esac
22551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22552 (eval "$ac_try") 2>&5
22553 ac_status=$?
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); }; }; then
22556 ac_cv_member_struct_mtget_mt_gstat=yes
22557 else
22558 echo "$as_me: failed program was:" >&5
22559 sed 's/^/| /' conftest.$ac_ext >&5
22561 ac_cv_member_struct_mtget_mt_gstat=no
22564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22569 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22570 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22571 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22573 cat >>confdefs.h <<_ACEOF
22574 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22575 _ACEOF
22579 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22580 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22581 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22582 echo $ECHO_N "(cached) $ECHO_C" >&6
22583 else
22584 cat >conftest.$ac_ext <<_ACEOF
22585 /* confdefs.h. */
22586 _ACEOF
22587 cat confdefs.h >>conftest.$ac_ext
22588 cat >>conftest.$ac_ext <<_ACEOF
22589 /* end confdefs.h. */
22590 #include <sys/types.h>
22591 #ifdef HAVE_SYS_MTIO_H
22592 #include <sys/mtio.h>
22593 #endif
22596 main ()
22598 static struct mtget ac_aggr;
22599 if (ac_aggr.mt_blkno)
22600 return 0;
22602 return 0;
22604 _ACEOF
22605 rm -f conftest.$ac_objext
22606 if { (ac_try="$ac_compile"
22607 case "(($ac_try" in
22608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22609 *) ac_try_echo=$ac_try;;
22610 esac
22611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22612 (eval "$ac_compile") 2>conftest.er1
22613 ac_status=$?
22614 grep -v '^ *+' conftest.er1 >conftest.err
22615 rm -f conftest.er1
22616 cat conftest.err >&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); } &&
22619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22620 { (case "(($ac_try" in
22621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22622 *) ac_try_echo=$ac_try;;
22623 esac
22624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22625 (eval "$ac_try") 2>&5
22626 ac_status=$?
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); }; } &&
22629 { ac_try='test -s conftest.$ac_objext'
22630 { (case "(($ac_try" in
22631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22632 *) ac_try_echo=$ac_try;;
22633 esac
22634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22635 (eval "$ac_try") 2>&5
22636 ac_status=$?
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); }; }; then
22639 ac_cv_member_struct_mtget_mt_blkno=yes
22640 else
22641 echo "$as_me: failed program was:" >&5
22642 sed 's/^/| /' conftest.$ac_ext >&5
22644 cat >conftest.$ac_ext <<_ACEOF
22645 /* confdefs.h. */
22646 _ACEOF
22647 cat confdefs.h >>conftest.$ac_ext
22648 cat >>conftest.$ac_ext <<_ACEOF
22649 /* end confdefs.h. */
22650 #include <sys/types.h>
22651 #ifdef HAVE_SYS_MTIO_H
22652 #include <sys/mtio.h>
22653 #endif
22656 main ()
22658 static struct mtget ac_aggr;
22659 if (sizeof ac_aggr.mt_blkno)
22660 return 0;
22662 return 0;
22664 _ACEOF
22665 rm -f conftest.$ac_objext
22666 if { (ac_try="$ac_compile"
22667 case "(($ac_try" in
22668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22669 *) ac_try_echo=$ac_try;;
22670 esac
22671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22672 (eval "$ac_compile") 2>conftest.er1
22673 ac_status=$?
22674 grep -v '^ *+' conftest.er1 >conftest.err
22675 rm -f conftest.er1
22676 cat conftest.err >&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); } &&
22679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22680 { (case "(($ac_try" in
22681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22682 *) ac_try_echo=$ac_try;;
22683 esac
22684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22685 (eval "$ac_try") 2>&5
22686 ac_status=$?
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); }; } &&
22689 { ac_try='test -s conftest.$ac_objext'
22690 { (case "(($ac_try" in
22691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22692 *) ac_try_echo=$ac_try;;
22693 esac
22694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22695 (eval "$ac_try") 2>&5
22696 ac_status=$?
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); }; }; then
22699 ac_cv_member_struct_mtget_mt_blkno=yes
22700 else
22701 echo "$as_me: failed program was:" >&5
22702 sed 's/^/| /' conftest.$ac_ext >&5
22704 ac_cv_member_struct_mtget_mt_blkno=no
22707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22712 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22713 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22714 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22716 cat >>confdefs.h <<_ACEOF
22717 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22718 _ACEOF
22724 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22725 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22726 if test "${ac_cv_member_struct_option_name+set}" = set; then
22727 echo $ECHO_N "(cached) $ECHO_C" >&6
22728 else
22729 cat >conftest.$ac_ext <<_ACEOF
22730 /* confdefs.h. */
22731 _ACEOF
22732 cat confdefs.h >>conftest.$ac_ext
22733 cat >>conftest.$ac_ext <<_ACEOF
22734 /* end confdefs.h. */
22735 #ifdef HAVE_GETOPT_H
22736 #include <getopt.h>
22737 #endif
22740 main ()
22742 static struct option ac_aggr;
22743 if (ac_aggr.name)
22744 return 0;
22746 return 0;
22748 _ACEOF
22749 rm -f conftest.$ac_objext
22750 if { (ac_try="$ac_compile"
22751 case "(($ac_try" in
22752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22753 *) ac_try_echo=$ac_try;;
22754 esac
22755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22756 (eval "$ac_compile") 2>conftest.er1
22757 ac_status=$?
22758 grep -v '^ *+' conftest.er1 >conftest.err
22759 rm -f conftest.er1
22760 cat conftest.err >&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); } &&
22763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22764 { (case "(($ac_try" in
22765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22766 *) ac_try_echo=$ac_try;;
22767 esac
22768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22769 (eval "$ac_try") 2>&5
22770 ac_status=$?
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); }; } &&
22773 { ac_try='test -s conftest.$ac_objext'
22774 { (case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22777 esac
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_try") 2>&5
22780 ac_status=$?
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22783 ac_cv_member_struct_option_name=yes
22784 else
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22788 cat >conftest.$ac_ext <<_ACEOF
22789 /* confdefs.h. */
22790 _ACEOF
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 #ifdef HAVE_GETOPT_H
22795 #include <getopt.h>
22796 #endif
22799 main ()
22801 static struct option ac_aggr;
22802 if (sizeof ac_aggr.name)
22803 return 0;
22805 return 0;
22807 _ACEOF
22808 rm -f conftest.$ac_objext
22809 if { (ac_try="$ac_compile"
22810 case "(($ac_try" in
22811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22812 *) ac_try_echo=$ac_try;;
22813 esac
22814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22815 (eval "$ac_compile") 2>conftest.er1
22816 ac_status=$?
22817 grep -v '^ *+' conftest.er1 >conftest.err
22818 rm -f conftest.er1
22819 cat conftest.err >&5
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); } &&
22822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22823 { (case "(($ac_try" in
22824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22825 *) ac_try_echo=$ac_try;;
22826 esac
22827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22828 (eval "$ac_try") 2>&5
22829 ac_status=$?
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; } &&
22832 { ac_try='test -s conftest.$ac_objext'
22833 { (case "(($ac_try" in
22834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22835 *) ac_try_echo=$ac_try;;
22836 esac
22837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22838 (eval "$ac_try") 2>&5
22839 ac_status=$?
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); }; }; then
22842 ac_cv_member_struct_option_name=yes
22843 else
22844 echo "$as_me: failed program was:" >&5
22845 sed 's/^/| /' conftest.$ac_ext >&5
22847 ac_cv_member_struct_option_name=no
22850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22855 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22856 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22857 if test $ac_cv_member_struct_option_name = yes; then
22859 cat >>confdefs.h <<_ACEOF
22860 #define HAVE_STRUCT_OPTION_NAME 1
22861 _ACEOF
22867 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22868 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22869 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22870 echo $ECHO_N "(cached) $ECHO_C" >&6
22871 else
22872 cat >conftest.$ac_ext <<_ACEOF
22873 /* confdefs.h. */
22874 _ACEOF
22875 cat confdefs.h >>conftest.$ac_ext
22876 cat >>conftest.$ac_ext <<_ACEOF
22877 /* end confdefs.h. */
22878 $ac_includes_default
22880 main ()
22882 static struct stat ac_aggr;
22883 if (ac_aggr.st_blocks)
22884 return 0;
22886 return 0;
22888 _ACEOF
22889 rm -f conftest.$ac_objext
22890 if { (ac_try="$ac_compile"
22891 case "(($ac_try" in
22892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22893 *) ac_try_echo=$ac_try;;
22894 esac
22895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22896 (eval "$ac_compile") 2>conftest.er1
22897 ac_status=$?
22898 grep -v '^ *+' conftest.er1 >conftest.err
22899 rm -f conftest.er1
22900 cat conftest.err >&5
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); } &&
22903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22904 { (case "(($ac_try" in
22905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22906 *) ac_try_echo=$ac_try;;
22907 esac
22908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22909 (eval "$ac_try") 2>&5
22910 ac_status=$?
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); }; } &&
22913 { ac_try='test -s conftest.$ac_objext'
22914 { (case "(($ac_try" in
22915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22916 *) ac_try_echo=$ac_try;;
22917 esac
22918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22919 (eval "$ac_try") 2>&5
22920 ac_status=$?
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); }; }; then
22923 ac_cv_member_struct_stat_st_blocks=yes
22924 else
22925 echo "$as_me: failed program was:" >&5
22926 sed 's/^/| /' conftest.$ac_ext >&5
22928 cat >conftest.$ac_ext <<_ACEOF
22929 /* confdefs.h. */
22930 _ACEOF
22931 cat confdefs.h >>conftest.$ac_ext
22932 cat >>conftest.$ac_ext <<_ACEOF
22933 /* end confdefs.h. */
22934 $ac_includes_default
22936 main ()
22938 static struct stat ac_aggr;
22939 if (sizeof ac_aggr.st_blocks)
22940 return 0;
22942 return 0;
22944 _ACEOF
22945 rm -f conftest.$ac_objext
22946 if { (ac_try="$ac_compile"
22947 case "(($ac_try" in
22948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22949 *) ac_try_echo=$ac_try;;
22950 esac
22951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22952 (eval "$ac_compile") 2>conftest.er1
22953 ac_status=$?
22954 grep -v '^ *+' conftest.er1 >conftest.err
22955 rm -f conftest.er1
22956 cat conftest.err >&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); } &&
22959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22960 { (case "(($ac_try" in
22961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22962 *) ac_try_echo=$ac_try;;
22963 esac
22964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22965 (eval "$ac_try") 2>&5
22966 ac_status=$?
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); }; } &&
22969 { ac_try='test -s conftest.$ac_objext'
22970 { (case "(($ac_try" in
22971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22972 *) ac_try_echo=$ac_try;;
22973 esac
22974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22975 (eval "$ac_try") 2>&5
22976 ac_status=$?
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); }; }; then
22979 ac_cv_member_struct_stat_st_blocks=yes
22980 else
22981 echo "$as_me: failed program was:" >&5
22982 sed 's/^/| /' conftest.$ac_ext >&5
22984 ac_cv_member_struct_stat_st_blocks=no
22987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22992 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
22993 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
22994 if test $ac_cv_member_struct_stat_st_blocks = yes; then
22996 cat >>confdefs.h <<_ACEOF
22997 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
22998 _ACEOF
23004 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23005 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23006 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23007 echo $ECHO_N "(cached) $ECHO_C" >&6
23008 else
23009 cat >conftest.$ac_ext <<_ACEOF
23010 /* confdefs.h. */
23011 _ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 #ifdef HAVE_SYS_TYPES_H
23016 #include <sys/types.h>
23017 #endif
23018 #ifdef HAVE_NETINET_IN_H
23019 #include <netinet/in.h>
23020 #endif
23023 main ()
23025 static struct sockaddr_in6 ac_aggr;
23026 if (ac_aggr.sin6_scope_id)
23027 return 0;
23029 return 0;
23031 _ACEOF
23032 rm -f conftest.$ac_objext
23033 if { (ac_try="$ac_compile"
23034 case "(($ac_try" in
23035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23036 *) ac_try_echo=$ac_try;;
23037 esac
23038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23039 (eval "$ac_compile") 2>conftest.er1
23040 ac_status=$?
23041 grep -v '^ *+' conftest.er1 >conftest.err
23042 rm -f conftest.er1
23043 cat conftest.err >&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); } &&
23046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23047 { (case "(($ac_try" in
23048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23049 *) ac_try_echo=$ac_try;;
23050 esac
23051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23052 (eval "$ac_try") 2>&5
23053 ac_status=$?
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); }; } &&
23056 { ac_try='test -s conftest.$ac_objext'
23057 { (case "(($ac_try" in
23058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23059 *) ac_try_echo=$ac_try;;
23060 esac
23061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23062 (eval "$ac_try") 2>&5
23063 ac_status=$?
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); }; }; then
23066 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23067 else
23068 echo "$as_me: failed program was:" >&5
23069 sed 's/^/| /' conftest.$ac_ext >&5
23071 cat >conftest.$ac_ext <<_ACEOF
23072 /* confdefs.h. */
23073 _ACEOF
23074 cat confdefs.h >>conftest.$ac_ext
23075 cat >>conftest.$ac_ext <<_ACEOF
23076 /* end confdefs.h. */
23077 #ifdef HAVE_SYS_TYPES_H
23078 #include <sys/types.h>
23079 #endif
23080 #ifdef HAVE_NETINET_IN_H
23081 #include <netinet/in.h>
23082 #endif
23085 main ()
23087 static struct sockaddr_in6 ac_aggr;
23088 if (sizeof ac_aggr.sin6_scope_id)
23089 return 0;
23091 return 0;
23093 _ACEOF
23094 rm -f conftest.$ac_objext
23095 if { (ac_try="$ac_compile"
23096 case "(($ac_try" in
23097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23098 *) ac_try_echo=$ac_try;;
23099 esac
23100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23101 (eval "$ac_compile") 2>conftest.er1
23102 ac_status=$?
23103 grep -v '^ *+' conftest.er1 >conftest.err
23104 rm -f conftest.er1
23105 cat conftest.err >&5
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); } &&
23108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23109 { (case "(($ac_try" in
23110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23111 *) ac_try_echo=$ac_try;;
23112 esac
23113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23114 (eval "$ac_try") 2>&5
23115 ac_status=$?
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); }; } &&
23118 { ac_try='test -s conftest.$ac_objext'
23119 { (case "(($ac_try" in
23120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23121 *) ac_try_echo=$ac_try;;
23122 esac
23123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23124 (eval "$ac_try") 2>&5
23125 ac_status=$?
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); }; }; then
23128 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23129 else
23130 echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.$ac_ext >&5
23133 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23141 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23142 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23143 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23145 cat >>confdefs.h <<_ACEOF
23146 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23147 _ACEOF
23153 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23154 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23155 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23156 echo $ECHO_N "(cached) $ECHO_C" >&6
23157 else
23158 cat >conftest.$ac_ext <<_ACEOF
23159 /* confdefs.h. */
23160 _ACEOF
23161 cat confdefs.h >>conftest.$ac_ext
23162 cat >>conftest.$ac_ext <<_ACEOF
23163 /* end confdefs.h. */
23164 #ifdef HAVE_SYS_TYPES_H
23165 #include <sys/types.h>
23166 #endif
23167 #ifdef HAVE_NETINET_IN_H
23168 # include <netinet/in.h>
23169 #endif
23170 #ifdef HAVE_ARPA_NAMESER_H
23171 # include <arpa/nameser.h>
23172 #endif
23175 main ()
23177 static ns_msg ac_aggr;
23178 if (ac_aggr._msg_ptr)
23179 return 0;
23181 return 0;
23183 _ACEOF
23184 rm -f conftest.$ac_objext
23185 if { (ac_try="$ac_compile"
23186 case "(($ac_try" in
23187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23188 *) ac_try_echo=$ac_try;;
23189 esac
23190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23191 (eval "$ac_compile") 2>conftest.er1
23192 ac_status=$?
23193 grep -v '^ *+' conftest.er1 >conftest.err
23194 rm -f conftest.er1
23195 cat conftest.err >&5
23196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197 (exit $ac_status); } &&
23198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23199 { (case "(($ac_try" in
23200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23201 *) ac_try_echo=$ac_try;;
23202 esac
23203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23204 (eval "$ac_try") 2>&5
23205 ac_status=$?
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); }; } &&
23208 { ac_try='test -s conftest.$ac_objext'
23209 { (case "(($ac_try" in
23210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23211 *) ac_try_echo=$ac_try;;
23212 esac
23213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23214 (eval "$ac_try") 2>&5
23215 ac_status=$?
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); }; }; then
23218 ac_cv_member_ns_msg__msg_ptr=yes
23219 else
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.$ac_ext >&5
23223 cat >conftest.$ac_ext <<_ACEOF
23224 /* confdefs.h. */
23225 _ACEOF
23226 cat confdefs.h >>conftest.$ac_ext
23227 cat >>conftest.$ac_ext <<_ACEOF
23228 /* end confdefs.h. */
23229 #ifdef HAVE_SYS_TYPES_H
23230 #include <sys/types.h>
23231 #endif
23232 #ifdef HAVE_NETINET_IN_H
23233 # include <netinet/in.h>
23234 #endif
23235 #ifdef HAVE_ARPA_NAMESER_H
23236 # include <arpa/nameser.h>
23237 #endif
23240 main ()
23242 static ns_msg ac_aggr;
23243 if (sizeof ac_aggr._msg_ptr)
23244 return 0;
23246 return 0;
23248 _ACEOF
23249 rm -f conftest.$ac_objext
23250 if { (ac_try="$ac_compile"
23251 case "(($ac_try" in
23252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23253 *) ac_try_echo=$ac_try;;
23254 esac
23255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23256 (eval "$ac_compile") 2>conftest.er1
23257 ac_status=$?
23258 grep -v '^ *+' conftest.er1 >conftest.err
23259 rm -f conftest.er1
23260 cat conftest.err >&5
23261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262 (exit $ac_status); } &&
23263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23264 { (case "(($ac_try" in
23265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23266 *) ac_try_echo=$ac_try;;
23267 esac
23268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23269 (eval "$ac_try") 2>&5
23270 ac_status=$?
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); }; } &&
23273 { ac_try='test -s conftest.$ac_objext'
23274 { (case "(($ac_try" in
23275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23276 *) ac_try_echo=$ac_try;;
23277 esac
23278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23279 (eval "$ac_try") 2>&5
23280 ac_status=$?
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; }; then
23283 ac_cv_member_ns_msg__msg_ptr=yes
23284 else
23285 echo "$as_me: failed program was:" >&5
23286 sed 's/^/| /' conftest.$ac_ext >&5
23288 ac_cv_member_ns_msg__msg_ptr=no
23291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23296 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23297 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23298 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23300 cat >>confdefs.h <<_ACEOF
23301 #define HAVE_NS_MSG__MSG_PTR 1
23302 _ACEOF
23308 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23309 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23310 if test "${ac_cv_have_timezone+set}" = set; then
23311 echo $ECHO_N "(cached) $ECHO_C" >&6
23312 else
23313 cat >conftest.$ac_ext <<_ACEOF
23314 /* confdefs.h. */
23315 _ACEOF
23316 cat confdefs.h >>conftest.$ac_ext
23317 cat >>conftest.$ac_ext <<_ACEOF
23318 /* end confdefs.h. */
23319 #include <time.h>
23321 main ()
23323 timezone = 1
23325 return 0;
23327 _ACEOF
23328 rm -f conftest.$ac_objext conftest$ac_exeext
23329 if { (ac_try="$ac_link"
23330 case "(($ac_try" in
23331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23333 esac
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_link") 2>conftest.er1
23336 ac_status=$?
23337 grep -v '^ *+' conftest.er1 >conftest.err
23338 rm -f conftest.er1
23339 cat conftest.err >&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } &&
23342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23343 { (case "(($ac_try" in
23344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23345 *) ac_try_echo=$ac_try;;
23346 esac
23347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23348 (eval "$ac_try") 2>&5
23349 ac_status=$?
23350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23351 (exit $ac_status); }; } &&
23352 { ac_try='test -s conftest$ac_exeext'
23353 { (case "(($ac_try" in
23354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23355 *) ac_try_echo=$ac_try;;
23356 esac
23357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23358 (eval "$ac_try") 2>&5
23359 ac_status=$?
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 ac_cv_have_timezone="yes"
23363 else
23364 echo "$as_me: failed program was:" >&5
23365 sed 's/^/| /' conftest.$ac_ext >&5
23367 ac_cv_have_timezone="no"
23370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23371 conftest$ac_exeext conftest.$ac_ext
23373 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23374 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23375 if test "$ac_cv_have_timezone" = "yes"
23376 then
23378 cat >>confdefs.h <<\_ACEOF
23379 #define HAVE_TIMEZONE 1
23380 _ACEOF
23383 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23384 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23385 if test "${ac_cv_have_daylight+set}" = set; then
23386 echo $ECHO_N "(cached) $ECHO_C" >&6
23387 else
23388 cat >conftest.$ac_ext <<_ACEOF
23389 /* confdefs.h. */
23390 _ACEOF
23391 cat confdefs.h >>conftest.$ac_ext
23392 cat >>conftest.$ac_ext <<_ACEOF
23393 /* end confdefs.h. */
23394 #include <time.h>
23396 main ()
23398 daylight = 1
23400 return 0;
23402 _ACEOF
23403 rm -f conftest.$ac_objext conftest$ac_exeext
23404 if { (ac_try="$ac_link"
23405 case "(($ac_try" in
23406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23407 *) ac_try_echo=$ac_try;;
23408 esac
23409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23410 (eval "$ac_link") 2>conftest.er1
23411 ac_status=$?
23412 grep -v '^ *+' conftest.er1 >conftest.err
23413 rm -f conftest.er1
23414 cat conftest.err >&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } &&
23417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23418 { (case "(($ac_try" in
23419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23420 *) ac_try_echo=$ac_try;;
23421 esac
23422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23423 (eval "$ac_try") 2>&5
23424 ac_status=$?
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); }; } &&
23427 { ac_try='test -s conftest$ac_exeext'
23428 { (case "(($ac_try" in
23429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23430 *) ac_try_echo=$ac_try;;
23431 esac
23432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23433 (eval "$ac_try") 2>&5
23434 ac_status=$?
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); }; }; then
23437 ac_cv_have_daylight="yes"
23438 else
23439 echo "$as_me: failed program was:" >&5
23440 sed 's/^/| /' conftest.$ac_ext >&5
23442 ac_cv_have_daylight="no"
23445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23446 conftest$ac_exeext conftest.$ac_ext
23448 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23449 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23450 if test "$ac_cv_have_daylight" = "yes"
23451 then
23453 cat >>confdefs.h <<\_ACEOF
23454 #define HAVE_DAYLIGHT 1
23455 _ACEOF
23460 case $host_cpu in
23461 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23462 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23463 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23464 echo $ECHO_N "(cached) $ECHO_C" >&6
23465 else
23466 cat >conftest.$ac_ext <<_ACEOF
23467 /* confdefs.h. */
23468 _ACEOF
23469 cat confdefs.h >>conftest.$ac_ext
23470 cat >>conftest.$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23472 #ifndef __i386__
23474 #endif
23475 _ACEOF
23476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23477 $EGREP "yes" >/dev/null 2>&1; then
23478 ac_cv_cpp_def___i386__=yes
23479 else
23480 ac_cv_cpp_def___i386__=no
23482 rm -f conftest*
23485 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23486 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23487 if test $ac_cv_cpp_def___i386__ = yes; then
23488 CFLAGS="$CFLAGS -D__i386__"
23489 LINTFLAGS="$LINTFLAGS -D__i386__"
23492 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23493 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23494 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23495 echo $ECHO_N "(cached) $ECHO_C" >&6
23496 else
23497 cat >conftest.$ac_ext <<_ACEOF
23498 /* confdefs.h. */
23499 _ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503 #ifndef __x86_64__
23505 #endif
23506 _ACEOF
23507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23508 $EGREP "yes" >/dev/null 2>&1; then
23509 ac_cv_cpp_def___x86_64__=yes
23510 else
23511 ac_cv_cpp_def___x86_64__=no
23513 rm -f conftest*
23516 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23517 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23518 if test $ac_cv_cpp_def___x86_64__ = yes; then
23519 CFLAGS="$CFLAGS -D__x86_64__"
23520 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23523 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23524 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23525 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23526 echo $ECHO_N "(cached) $ECHO_C" >&6
23527 else
23528 cat >conftest.$ac_ext <<_ACEOF
23529 /* confdefs.h. */
23530 _ACEOF
23531 cat confdefs.h >>conftest.$ac_ext
23532 cat >>conftest.$ac_ext <<_ACEOF
23533 /* end confdefs.h. */
23534 #ifndef __ALPHA__
23536 #endif
23537 _ACEOF
23538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23539 $EGREP "yes" >/dev/null 2>&1; then
23540 ac_cv_cpp_def___ALPHA__=yes
23541 else
23542 ac_cv_cpp_def___ALPHA__=no
23544 rm -f conftest*
23547 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23548 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23549 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23550 CFLAGS="$CFLAGS -D__ALPHA__"
23551 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23554 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23555 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23556 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23557 echo $ECHO_N "(cached) $ECHO_C" >&6
23558 else
23559 cat >conftest.$ac_ext <<_ACEOF
23560 /* confdefs.h. */
23561 _ACEOF
23562 cat confdefs.h >>conftest.$ac_ext
23563 cat >>conftest.$ac_ext <<_ACEOF
23564 /* end confdefs.h. */
23565 #ifndef __sparc__
23567 #endif
23568 _ACEOF
23569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23570 $EGREP "yes" >/dev/null 2>&1; then
23571 ac_cv_cpp_def___sparc__=yes
23572 else
23573 ac_cv_cpp_def___sparc__=no
23575 rm -f conftest*
23578 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23579 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23580 if test $ac_cv_cpp_def___sparc__ = yes; then
23581 CFLAGS="$CFLAGS -D__sparc__"
23582 LINTFLAGS="$LINTFLAGS -D__sparc__"
23585 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23586 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23587 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23588 echo $ECHO_N "(cached) $ECHO_C" >&6
23589 else
23590 cat >conftest.$ac_ext <<_ACEOF
23591 /* confdefs.h. */
23592 _ACEOF
23593 cat confdefs.h >>conftest.$ac_ext
23594 cat >>conftest.$ac_ext <<_ACEOF
23595 /* end confdefs.h. */
23596 #ifndef __powerpc__
23598 #endif
23599 _ACEOF
23600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23601 $EGREP "yes" >/dev/null 2>&1; then
23602 ac_cv_cpp_def___powerpc__=yes
23603 else
23604 ac_cv_cpp_def___powerpc__=no
23606 rm -f conftest*
23609 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23610 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23611 if test $ac_cv_cpp_def___powerpc__ = yes; then
23612 CFLAGS="$CFLAGS -D__powerpc__"
23613 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23616 esac
23618 case $host_vendor in
23619 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23620 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23621 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23622 echo $ECHO_N "(cached) $ECHO_C" >&6
23623 else
23624 cat >conftest.$ac_ext <<_ACEOF
23625 /* confdefs.h. */
23626 _ACEOF
23627 cat confdefs.h >>conftest.$ac_ext
23628 cat >>conftest.$ac_ext <<_ACEOF
23629 /* end confdefs.h. */
23630 #ifndef __sun__
23632 #endif
23633 _ACEOF
23634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23635 $EGREP "yes" >/dev/null 2>&1; then
23636 ac_cv_cpp_def___sun__=yes
23637 else
23638 ac_cv_cpp_def___sun__=no
23640 rm -f conftest*
23643 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23644 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23645 if test $ac_cv_cpp_def___sun__ = yes; then
23646 CFLAGS="$CFLAGS -D__sun__"
23647 LINTFLAGS="$LINTFLAGS -D__sun__"
23650 esac
23653 DEPENDENCIES="### Dependencies:
23655 .INIT: Makefile
23656 .BEGIN: Makefile
23657 Makefile: dummy
23658 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23660 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
23661 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
23662 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23663 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23669 ac_config_commands="$ac_config_commands include/stamp-h"
23672 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
23674 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
23676 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
23678 ac_config_commands="$ac_config_commands dlls/user32/resources"
23680 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23682 ac_config_commands="$ac_config_commands include/wine"
23685 MAKE_RULES=Make.rules
23688 MAKE_DLL_RULES=dlls/Makedll.rules
23691 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23694 MAKE_TEST_RULES=dlls/Maketest.rules
23697 MAKE_PROG_RULES=programs/Makeprog.rules
23700 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/clusapi/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/ddrawex/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/gdi32/Makefile dlls/gdi32/tests/Makefile dlls/glu32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/localspl/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/mscoree/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/nddeapi/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/resutils/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdoclc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user32/Makefile dlls/user32/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/winequartz.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wintrust/tests/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmd/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
23703 cat >confcache <<\_ACEOF
23704 # This file is a shell script that caches the results of configure
23705 # tests run on this system so they can be shared between configure
23706 # scripts and configure runs, see configure's option --config-cache.
23707 # It is not useful on other systems. If it contains results you don't
23708 # want to keep, you may remove or edit it.
23710 # config.status only pays attention to the cache file if you give it
23711 # the --recheck option to rerun configure.
23713 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23714 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23715 # following values.
23717 _ACEOF
23719 # The following way of writing the cache mishandles newlines in values,
23720 # but we know of no workaround that is simple, portable, and efficient.
23721 # So, we kill variables containing newlines.
23722 # Ultrix sh set writes to stderr and can't be redirected directly,
23723 # and sets the high bit in the cache file unless we assign to the vars.
23725 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23726 eval ac_val=\$$ac_var
23727 case $ac_val in #(
23728 *${as_nl}*)
23729 case $ac_var in #(
23730 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23731 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23732 esac
23733 case $ac_var in #(
23734 _ | IFS | as_nl) ;; #(
23735 *) $as_unset $ac_var ;;
23736 esac ;;
23737 esac
23738 done
23740 (set) 2>&1 |
23741 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23742 *${as_nl}ac_space=\ *)
23743 # `set' does not quote correctly, so add quotes (double-quote
23744 # substitution turns \\\\ into \\, and sed turns \\ into \).
23745 sed -n \
23746 "s/'/'\\\\''/g;
23747 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23748 ;; #(
23750 # `set' quotes correctly as required by POSIX, so do not add quotes.
23751 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23753 esac |
23754 sort
23756 sed '
23757 /^ac_cv_env_/b end
23758 t clear
23759 :clear
23760 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23761 t end
23762 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23763 :end' >>confcache
23764 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23765 if test -w "$cache_file"; then
23766 test "x$cache_file" != "x/dev/null" &&
23767 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23768 echo "$as_me: updating cache $cache_file" >&6;}
23769 cat confcache >$cache_file
23770 else
23771 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23772 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23775 rm -f confcache
23777 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23778 # Let make expand exec_prefix.
23779 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23781 DEFS=-DHAVE_CONFIG_H
23783 ac_libobjs=
23784 ac_ltlibobjs=
23785 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23786 # 1. Remove the extension, and $U if already installed.
23787 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23788 ac_i=`echo "$ac_i" | sed "$ac_script"`
23789 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23790 # will be set to the directory where LIBOBJS objects are built.
23791 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23792 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23793 done
23794 LIBOBJS=$ac_libobjs
23796 LTLIBOBJS=$ac_ltlibobjs
23800 : ${CONFIG_STATUS=./config.status}
23801 ac_clean_files_save=$ac_clean_files
23802 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23803 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23804 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23805 cat >$CONFIG_STATUS <<_ACEOF
23806 #! $SHELL
23807 # Generated by $as_me.
23808 # Run this file to recreate the current configuration.
23809 # Compiler output produced by configure, useful for debugging
23810 # configure, is in config.log if it exists.
23812 debug=false
23813 ac_cs_recheck=false
23814 ac_cs_silent=false
23815 SHELL=\${CONFIG_SHELL-$SHELL}
23816 _ACEOF
23818 cat >>$CONFIG_STATUS <<\_ACEOF
23819 ## --------------------- ##
23820 ## M4sh Initialization. ##
23821 ## --------------------- ##
23823 # Be Bourne compatible
23824 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23825 emulate sh
23826 NULLCMD=:
23827 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23828 # is contrary to our usage. Disable this feature.
23829 alias -g '${1+"$@"}'='"$@"'
23830 setopt NO_GLOB_SUBST
23831 else
23832 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23834 BIN_SH=xpg4; export BIN_SH # for Tru64
23835 DUALCASE=1; export DUALCASE # for MKS sh
23838 # PATH needs CR
23839 # Avoid depending upon Character Ranges.
23840 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23841 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23842 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23843 as_cr_digits='0123456789'
23844 as_cr_alnum=$as_cr_Letters$as_cr_digits
23846 # The user is always right.
23847 if test "${PATH_SEPARATOR+set}" != set; then
23848 echo "#! /bin/sh" >conf$$.sh
23849 echo "exit 0" >>conf$$.sh
23850 chmod +x conf$$.sh
23851 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23852 PATH_SEPARATOR=';'
23853 else
23854 PATH_SEPARATOR=:
23856 rm -f conf$$.sh
23859 # Support unset when possible.
23860 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23861 as_unset=unset
23862 else
23863 as_unset=false
23867 # IFS
23868 # We need space, tab and new line, in precisely that order. Quoting is
23869 # there to prevent editors from complaining about space-tab.
23870 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23871 # splitting by setting IFS to empty value.)
23872 as_nl='
23874 IFS=" "" $as_nl"
23876 # Find who we are. Look in the path if we contain no directory separator.
23877 case $0 in
23878 *[\\/]* ) as_myself=$0 ;;
23879 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23880 for as_dir in $PATH
23882 IFS=$as_save_IFS
23883 test -z "$as_dir" && as_dir=.
23884 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23885 done
23886 IFS=$as_save_IFS
23889 esac
23890 # We did not find ourselves, most probably we were run as `sh COMMAND'
23891 # in which case we are not to be found in the path.
23892 if test "x$as_myself" = x; then
23893 as_myself=$0
23895 if test ! -f "$as_myself"; then
23896 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23897 { (exit 1); exit 1; }
23900 # Work around bugs in pre-3.0 UWIN ksh.
23901 for as_var in ENV MAIL MAILPATH
23902 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23903 done
23904 PS1='$ '
23905 PS2='> '
23906 PS4='+ '
23908 # NLS nuisances.
23909 for as_var in \
23910 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23911 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23912 LC_TELEPHONE LC_TIME
23914 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23915 eval $as_var=C; export $as_var
23916 else
23917 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23919 done
23921 # Required to use basename.
23922 if expr a : '\(a\)' >/dev/null 2>&1 &&
23923 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23924 as_expr=expr
23925 else
23926 as_expr=false
23929 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23930 as_basename=basename
23931 else
23932 as_basename=false
23936 # Name of the executable.
23937 as_me=`$as_basename -- "$0" ||
23938 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23939 X"$0" : 'X\(//\)$' \| \
23940 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23941 echo X/"$0" |
23942 sed '/^.*\/\([^/][^/]*\)\/*$/{
23943 s//\1/
23946 /^X\/\(\/\/\)$/{
23947 s//\1/
23950 /^X\/\(\/\).*/{
23951 s//\1/
23954 s/.*/./; q'`
23956 # CDPATH.
23957 $as_unset CDPATH
23961 as_lineno_1=$LINENO
23962 as_lineno_2=$LINENO
23963 test "x$as_lineno_1" != "x$as_lineno_2" &&
23964 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23966 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23967 # uniformly replaced by the line number. The first 'sed' inserts a
23968 # line-number line after each line using $LINENO; the second 'sed'
23969 # does the real work. The second script uses 'N' to pair each
23970 # line-number line with the line containing $LINENO, and appends
23971 # trailing '-' during substitution so that $LINENO is not a special
23972 # case at line end.
23973 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23974 # scripts with optimization help from Paolo Bonzini. Blame Lee
23975 # E. McMahon (1931-1989) for sed's syntax. :-)
23976 sed -n '
23978 /[$]LINENO/=
23979 ' <$as_myself |
23980 sed '
23981 s/[$]LINENO.*/&-/
23982 t lineno
23984 :lineno
23986 :loop
23987 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23988 t loop
23989 s/-\n.*//
23990 ' >$as_me.lineno &&
23991 chmod +x "$as_me.lineno" ||
23992 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23993 { (exit 1); exit 1; }; }
23995 # Don't try to exec as it changes $[0], causing all sort of problems
23996 # (the dirname of $[0] is not the place where we might find the
23997 # original and so on. Autoconf is especially sensitive to this).
23998 . "./$as_me.lineno"
23999 # Exit status is that of the last command.
24000 exit
24004 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24005 as_dirname=dirname
24006 else
24007 as_dirname=false
24010 ECHO_C= ECHO_N= ECHO_T=
24011 case `echo -n x` in
24012 -n*)
24013 case `echo 'x\c'` in
24014 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24015 *) ECHO_C='\c';;
24016 esac;;
24018 ECHO_N='-n';;
24019 esac
24021 if expr a : '\(a\)' >/dev/null 2>&1 &&
24022 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24023 as_expr=expr
24024 else
24025 as_expr=false
24028 rm -f conf$$ conf$$.exe conf$$.file
24029 if test -d conf$$.dir; then
24030 rm -f conf$$.dir/conf$$.file
24031 else
24032 rm -f conf$$.dir
24033 mkdir conf$$.dir
24035 echo >conf$$.file
24036 if ln -s conf$$.file conf$$ 2>/dev/null; then
24037 as_ln_s='ln -s'
24038 # ... but there are two gotchas:
24039 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24040 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24041 # In both cases, we have to default to `cp -p'.
24042 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24043 as_ln_s='cp -p'
24044 elif ln conf$$.file conf$$ 2>/dev/null; then
24045 as_ln_s=ln
24046 else
24047 as_ln_s='cp -p'
24049 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24050 rmdir conf$$.dir 2>/dev/null
24052 if mkdir -p . 2>/dev/null; then
24053 as_mkdir_p=:
24054 else
24055 test -d ./-p && rmdir ./-p
24056 as_mkdir_p=false
24059 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24060 # systems may use methods other than mode bits to determine executability.
24061 cat >conf$$.file <<_ASEOF
24062 #! /bin/sh
24063 exit 0
24064 _ASEOF
24065 chmod +x conf$$.file
24066 if test -x conf$$.file >/dev/null 2>&1; then
24067 as_executable_p="test -x"
24068 else
24069 as_executable_p=:
24071 rm -f conf$$.file
24073 # Sed expression to map a string onto a valid CPP name.
24074 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24076 # Sed expression to map a string onto a valid variable name.
24077 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24080 exec 6>&1
24082 # Save the log message, to keep $[0] and so on meaningful, and to
24083 # report actual input values of CONFIG_FILES etc. instead of their
24084 # values after options handling.
24085 ac_log="
24086 This file was extended by Wine $as_me 0.9.27, which was
24087 generated by GNU Autoconf 2.60a. Invocation command line was
24089 CONFIG_FILES = $CONFIG_FILES
24090 CONFIG_HEADERS = $CONFIG_HEADERS
24091 CONFIG_LINKS = $CONFIG_LINKS
24092 CONFIG_COMMANDS = $CONFIG_COMMANDS
24093 $ $0 $@
24095 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24098 _ACEOF
24100 cat >>$CONFIG_STATUS <<_ACEOF
24101 # Files that config.status was made for.
24102 config_files="$ac_config_files"
24103 config_headers="$ac_config_headers"
24104 config_commands="$ac_config_commands"
24106 _ACEOF
24108 cat >>$CONFIG_STATUS <<\_ACEOF
24109 ac_cs_usage="\
24110 \`$as_me' instantiates files from templates according to the
24111 current configuration.
24113 Usage: $0 [OPTIONS] [FILE]...
24115 -h, --help print this help, then exit
24116 -V, --version print version number and configuration settings, then exit
24117 -q, --quiet do not print progress messages
24118 -d, --debug don't remove temporary files
24119 --recheck update $as_me by reconfiguring in the same conditions
24120 --file=FILE[:TEMPLATE]
24121 instantiate the configuration file FILE
24122 --header=FILE[:TEMPLATE]
24123 instantiate the configuration header FILE
24125 Configuration files:
24126 $config_files
24128 Configuration headers:
24129 $config_headers
24131 Configuration commands:
24132 $config_commands
24134 Report bugs to <bug-autoconf@gnu.org>."
24136 _ACEOF
24137 cat >>$CONFIG_STATUS <<_ACEOF
24138 ac_cs_version="\\
24139 Wine config.status 0.9.27
24140 configured by $0, generated by GNU Autoconf 2.60a,
24141 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24143 Copyright (C) 2006 Free Software Foundation, Inc.
24144 This config.status script is free software; the Free Software Foundation
24145 gives unlimited permission to copy, distribute and modify it."
24147 ac_pwd='$ac_pwd'
24148 srcdir='$srcdir'
24149 INSTALL='$INSTALL'
24150 _ACEOF
24152 cat >>$CONFIG_STATUS <<\_ACEOF
24153 # If no file are specified by the user, then we need to provide default
24154 # value. By we need to know if files were specified by the user.
24155 ac_need_defaults=:
24156 while test $# != 0
24158 case $1 in
24159 --*=*)
24160 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24161 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24162 ac_shift=:
24165 ac_option=$1
24166 ac_optarg=$2
24167 ac_shift=shift
24169 esac
24171 case $ac_option in
24172 # Handling of the options.
24173 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24174 ac_cs_recheck=: ;;
24175 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24176 echo "$ac_cs_version"; exit ;;
24177 --debug | --debu | --deb | --de | --d | -d )
24178 debug=: ;;
24179 --file | --fil | --fi | --f )
24180 $ac_shift
24181 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24182 ac_need_defaults=false;;
24183 --header | --heade | --head | --hea )
24184 $ac_shift
24185 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24186 ac_need_defaults=false;;
24187 --he | --h)
24188 # Conflict between --help and --header
24189 { echo "$as_me: error: ambiguous option: $1
24190 Try \`$0 --help' for more information." >&2
24191 { (exit 1); exit 1; }; };;
24192 --help | --hel | -h )
24193 echo "$ac_cs_usage"; exit ;;
24194 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24195 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24196 ac_cs_silent=: ;;
24198 # This is an error.
24199 -*) { echo "$as_me: error: unrecognized option: $1
24200 Try \`$0 --help' for more information." >&2
24201 { (exit 1); exit 1; }; } ;;
24203 *) ac_config_targets="$ac_config_targets $1"
24204 ac_need_defaults=false ;;
24206 esac
24207 shift
24208 done
24210 ac_configure_extra_args=
24212 if $ac_cs_silent; then
24213 exec 6>/dev/null
24214 ac_configure_extra_args="$ac_configure_extra_args --silent"
24217 _ACEOF
24218 cat >>$CONFIG_STATUS <<_ACEOF
24219 if \$ac_cs_recheck; then
24220 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24221 CONFIG_SHELL=$SHELL
24222 export CONFIG_SHELL
24223 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24226 _ACEOF
24227 cat >>$CONFIG_STATUS <<\_ACEOF
24228 exec 5>>config.log
24230 echo
24231 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24232 ## Running $as_me. ##
24233 _ASBOX
24234 echo "$ac_log"
24235 } >&5
24237 _ACEOF
24238 cat >>$CONFIG_STATUS <<_ACEOF
24239 _ACEOF
24241 cat >>$CONFIG_STATUS <<\_ACEOF
24243 # Handling of arguments.
24244 for ac_config_target in $ac_config_targets
24246 case $ac_config_target in
24247 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24248 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24249 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
24250 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
24251 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24252 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
24253 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24254 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24255 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24256 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24257 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24258 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24259 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24260 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24261 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24262 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24263 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24264 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24265 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24266 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24267 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24268 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24269 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24270 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24271 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24272 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24273 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24274 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24275 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24276 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
24277 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24278 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24279 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24280 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24281 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24282 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24283 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24284 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24285 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24286 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24287 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24288 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24289 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24290 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24291 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24292 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24293 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24294 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24295 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24296 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24297 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24298 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24299 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24300 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24301 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24302 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
24303 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24304 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24305 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24306 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24307 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24308 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24309 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24310 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24311 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24312 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24313 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24314 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24315 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24316 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24317 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24318 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24319 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24320 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24321 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24322 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24323 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24324 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24325 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24326 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24327 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24328 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24329 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
24330 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
24331 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24332 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24333 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24334 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
24335 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24336 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24337 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24338 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24339 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24340 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24341 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24342 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24343 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24344 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24345 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24346 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24347 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24348 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24349 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24350 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24351 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
24352 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
24353 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24354 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24355 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24356 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24357 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24358 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24359 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24360 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24361 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24362 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24363 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24364 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24365 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24366 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24367 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24368 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24369 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24370 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24371 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24372 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24373 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24374 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
24375 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24376 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24377 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24378 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24379 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24380 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24381 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24382 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24383 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24384 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24385 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24386 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24387 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24388 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24389 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24390 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24391 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24392 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24393 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24394 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24395 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24396 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24397 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
24398 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24399 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24400 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24401 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24402 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24403 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24404 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24405 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24406 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24407 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24408 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24409 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24410 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24411 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24412 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24413 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24414 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24415 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24416 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24417 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24418 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24419 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24420 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24421 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24422 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24423 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24424 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24425 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24426 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
24427 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24428 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24429 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24430 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24431 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24432 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24433 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24434 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24435 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24436 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24437 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24438 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24439 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24440 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24441 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24442 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24443 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24444 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24445 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
24446 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24447 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24448 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24449 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24450 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24451 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24452 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24453 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24454 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24455 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24456 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24457 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24458 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24459 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24460 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24461 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24462 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24463 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24464 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24465 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24466 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
24467 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
24468 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24469 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24470 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24471 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
24472 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24473 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24474 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24475 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24476 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
24477 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24478 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24479 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24480 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24481 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24482 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24483 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24484 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24485 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24486 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
24487 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24488 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24489 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
24490 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24491 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
24492 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24493 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
24494 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24495 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24496 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24497 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24498 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24499 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24500 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24501 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24502 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24503 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24504 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24505 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24506 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24507 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24508 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24509 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24510 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24511 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24512 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
24513 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24514 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24515 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24516 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24517 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
24518 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
24519 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
24520 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
24521 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
24522 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
24523 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
24524 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
24525 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
24526 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
24527 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
24528 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24529 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
24530 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
24531 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
24532 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
24533 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
24534 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
24535 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
24536 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
24537 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
24538 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
24539 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
24540 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
24541 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24542 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
24543 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
24544 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
24545 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24546 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24547 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
24548 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
24549 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24550 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
24551 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24552 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
24553 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
24554 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24555 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
24556 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
24557 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
24558 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
24559 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
24560 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
24561 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
24562 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
24563 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24564 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
24565 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
24566 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
24567 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
24568 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
24569 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
24571 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24572 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24573 { (exit 1); exit 1; }; };;
24574 esac
24575 done
24578 # If the user did not use the arguments to specify the items to instantiate,
24579 # then the envvar interface is used. Set only those that are not.
24580 # We use the long form for the default assignment because of an extremely
24581 # bizarre bug on SunOS 4.1.3.
24582 if $ac_need_defaults; then
24583 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24584 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24585 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24588 # Have a temporary directory for convenience. Make it in the build tree
24589 # simply because there is no reason against having it here, and in addition,
24590 # creating and moving files from /tmp can sometimes cause problems.
24591 # Hook for its removal unless debugging.
24592 # Note that there is a small window in which the directory will not be cleaned:
24593 # after its creation but before its name has been assigned to `$tmp'.
24594 $debug ||
24596 tmp=
24597 trap 'exit_status=$?
24598 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24600 trap '{ (exit 1); exit 1; }' 1 2 13 15
24602 # Create a (secure) tmp directory for tmp files.
24605 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24606 test -n "$tmp" && test -d "$tmp"
24607 } ||
24609 tmp=./conf$$-$RANDOM
24610 (umask 077 && mkdir "$tmp")
24611 } ||
24613 echo "$me: cannot create a temporary directory in ." >&2
24614 { (exit 1); exit 1; }
24618 # Set up the sed scripts for CONFIG_FILES section.
24621 # No need to generate the scripts if there are no CONFIG_FILES.
24622 # This happens for instance when ./config.status config.h
24623 if test -n "$CONFIG_FILES"; then
24625 _ACEOF
24627 # Create sed commands to just substitute file output variables.
24629 # Remaining file output variables are in a fragment that also has non-file
24630 # output varibles.
24634 ac_delim='%!_!# '
24635 for ac_last_try in false false false false false :; do
24636 cat >conf$$subs.sed <<_ACEOF
24637 SHELL!$SHELL$ac_delim
24638 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24639 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24640 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24641 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24642 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24643 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24644 exec_prefix!$exec_prefix$ac_delim
24645 prefix!$prefix$ac_delim
24646 program_transform_name!$program_transform_name$ac_delim
24647 bindir!$bindir$ac_delim
24648 sbindir!$sbindir$ac_delim
24649 libexecdir!$libexecdir$ac_delim
24650 datarootdir!$datarootdir$ac_delim
24651 datadir!$datadir$ac_delim
24652 sysconfdir!$sysconfdir$ac_delim
24653 sharedstatedir!$sharedstatedir$ac_delim
24654 localstatedir!$localstatedir$ac_delim
24655 includedir!$includedir$ac_delim
24656 oldincludedir!$oldincludedir$ac_delim
24657 docdir!$docdir$ac_delim
24658 infodir!$infodir$ac_delim
24659 htmldir!$htmldir$ac_delim
24660 dvidir!$dvidir$ac_delim
24661 pdfdir!$pdfdir$ac_delim
24662 psdir!$psdir$ac_delim
24663 libdir!$libdir$ac_delim
24664 localedir!$localedir$ac_delim
24665 mandir!$mandir$ac_delim
24666 DEFS!$DEFS$ac_delim
24667 ECHO_C!$ECHO_C$ac_delim
24668 ECHO_N!$ECHO_N$ac_delim
24669 ECHO_T!$ECHO_T$ac_delim
24670 LIBS!$LIBS$ac_delim
24671 build_alias!$build_alias$ac_delim
24672 host_alias!$host_alias$ac_delim
24673 target_alias!$target_alias$ac_delim
24674 build!$build$ac_delim
24675 build_cpu!$build_cpu$ac_delim
24676 build_vendor!$build_vendor$ac_delim
24677 build_os!$build_os$ac_delim
24678 host!$host$ac_delim
24679 host_cpu!$host_cpu$ac_delim
24680 host_vendor!$host_vendor$ac_delim
24681 host_os!$host_os$ac_delim
24682 WIN16_FILES!$WIN16_FILES$ac_delim
24683 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24684 SET_MAKE!$SET_MAKE$ac_delim
24685 CC!$CC$ac_delim
24686 CFLAGS!$CFLAGS$ac_delim
24687 LDFLAGS!$LDFLAGS$ac_delim
24688 CPPFLAGS!$CPPFLAGS$ac_delim
24689 ac_ct_CC!$ac_ct_CC$ac_delim
24690 EXEEXT!$EXEEXT$ac_delim
24691 OBJEXT!$OBJEXT$ac_delim
24692 CXX!$CXX$ac_delim
24693 CXXFLAGS!$CXXFLAGS$ac_delim
24694 ac_ct_CXX!$ac_ct_CXX$ac_delim
24695 CPPBIN!$CPPBIN$ac_delim
24696 TOOLSDIR!$TOOLSDIR$ac_delim
24697 XMKMF!$XMKMF$ac_delim
24698 CPP!$CPP$ac_delim
24699 X_CFLAGS!$X_CFLAGS$ac_delim
24700 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24701 X_LIBS!$X_LIBS$ac_delim
24702 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24703 LEX!$LEX$ac_delim
24704 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24705 LEXLIB!$LEXLIB$ac_delim
24706 XLEX!$XLEX$ac_delim
24707 BISON!$BISON$ac_delim
24708 AS!$AS$ac_delim
24709 ac_ct_AS!$ac_ct_AS$ac_delim
24710 LD!$LD$ac_delim
24711 AR!$AR$ac_delim
24712 RANLIB!$RANLIB$ac_delim
24713 STRIP!$STRIP$ac_delim
24714 WINDRES!$WINDRES$ac_delim
24715 LN_S!$LN_S$ac_delim
24716 LN!$LN$ac_delim
24717 GREP!$GREP$ac_delim
24718 EGREP!$EGREP$ac_delim
24719 _ACEOF
24721 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24722 break
24723 elif $ac_last_try; then
24724 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24725 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24726 { (exit 1); exit 1; }; }
24727 else
24728 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24730 done
24732 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24733 if test -n "$ac_eof"; then
24734 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24735 ac_eof=`expr $ac_eof + 1`
24738 cat >>$CONFIG_STATUS <<_ACEOF
24739 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24740 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24741 /^[ ]*@MAKE_RULES@[ ]*$/{
24742 r $MAKE_RULES
24745 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24746 r $MAKE_DLL_RULES
24749 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24750 r $MAKE_IMPLIB_RULES
24753 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24754 r $MAKE_TEST_RULES
24757 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24758 r $MAKE_PROG_RULES
24761 _ACEOF
24762 sed '
24763 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24764 s/^/s,@/; s/!/@,|#_!!_#|/
24767 s/'"$ac_delim"'$/,g/; t
24768 s/$/\\/; p
24769 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24770 ' >>$CONFIG_STATUS <conf$$subs.sed
24771 rm -f conf$$subs.sed
24772 cat >>$CONFIG_STATUS <<_ACEOF
24773 CEOF$ac_eof
24774 _ACEOF
24777 ac_delim='%!_!# '
24778 for ac_last_try in false false false false false :; do
24779 cat >conf$$subs.sed <<_ACEOF
24780 LDCONFIG!$LDCONFIG$ac_delim
24781 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24782 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24783 INSTALL_DATA!$INSTALL_DATA$ac_delim
24784 LINT!$LINT$ac_delim
24785 LINTFLAGS!$LINTFLAGS$ac_delim
24786 FONTFORGE!$FONTFORGE$ac_delim
24787 PKG_CONFIG!$PKG_CONFIG$ac_delim
24788 PRELINK!$PRELINK$ac_delim
24789 LIBPTHREAD!$LIBPTHREAD$ac_delim
24790 XLIB!$XLIB$ac_delim
24791 XFILES!$XFILES$ac_delim
24792 OPENGLFILES!$OPENGLFILES$ac_delim
24793 GLU32FILES!$GLU32FILES$ac_delim
24794 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24795 QUARTZFILES!$QUARTZFILES$ac_delim
24796 NASLIBS!$NASLIBS$ac_delim
24797 XML2LIBS!$XML2LIBS$ac_delim
24798 XML2INCL!$XML2INCL$ac_delim
24799 XSLTLIBS!$XSLTLIBS$ac_delim
24800 XSLTINCL!$XSLTINCL$ac_delim
24801 HALINCL!$HALINCL$ac_delim
24802 sane_devel!$sane_devel$ac_delim
24803 SANELIBS!$SANELIBS$ac_delim
24804 SANEINCL!$SANEINCL$ac_delim
24805 gphoto2_devel!$gphoto2_devel$ac_delim
24806 gphoto2port_devel!$gphoto2port_devel$ac_delim
24807 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24808 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24809 ICULIBS!$ICULIBS$ac_delim
24810 RESOLVLIBS!$RESOLVLIBS$ac_delim
24811 LCMSLIBS!$LCMSLIBS$ac_delim
24812 LDAPLIBS!$LDAPLIBS$ac_delim
24813 FREETYPELIBS!$FREETYPELIBS$ac_delim
24814 FREETYPEINCL!$FREETYPEINCL$ac_delim
24815 ft_devel!$ft_devel$ac_delim
24816 ft_devel2!$ft_devel2$ac_delim
24817 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24818 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24819 ARTSLIBS!$ARTSLIBS$ac_delim
24820 ARTSINCL!$ARTSINCL$ac_delim
24821 ESDCONFIG!$ESDCONFIG$ac_delim
24822 ESDLIBS!$ESDLIBS$ac_delim
24823 ESDINCL!$ESDINCL$ac_delim
24824 ALSALIBS!$ALSALIBS$ac_delim
24825 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24826 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24827 BUILTINFLAG!$BUILTINFLAG$ac_delim
24828 DLLEXT!$DLLEXT$ac_delim
24829 DLLFLAGS!$DLLFLAGS$ac_delim
24830 LDSHARED!$LDSHARED$ac_delim
24831 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24832 LIBEXT!$LIBEXT$ac_delim
24833 IMPLIBEXT!$IMPLIBEXT$ac_delim
24834 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24835 DLLTOOL!$DLLTOOL$ac_delim
24836 DLLWRAP!$DLLWRAP$ac_delim
24837 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24838 IOKITLIB!$IOKITLIB$ac_delim
24839 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24840 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24841 COREAUDIO!$COREAUDIO$ac_delim
24842 CROSSTEST!$CROSSTEST$ac_delim
24843 CROSSCC!$CROSSCC$ac_delim
24844 CROSSWINDRES!$CROSSWINDRES$ac_delim
24845 LDPATH!$LDPATH$ac_delim
24846 CRTLIBS!$CRTLIBS$ac_delim
24847 SOCKETLIBS!$SOCKETLIBS$ac_delim
24848 MAIN_BINARY!$MAIN_BINARY$ac_delim
24849 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24850 LDD!$LDD$ac_delim
24851 LIBDL!$LIBDL$ac_delim
24852 LIBPOLL!$LIBPOLL$ac_delim
24853 DEPENDENCIES!$DEPENDENCIES$ac_delim
24854 LIBOBJS!$LIBOBJS$ac_delim
24855 LTLIBOBJS!$LTLIBOBJS$ac_delim
24856 _ACEOF
24858 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
24859 break
24860 elif $ac_last_try; then
24861 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24862 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24863 { (exit 1); exit 1; }; }
24864 else
24865 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24867 done
24869 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24870 if test -n "$ac_eof"; then
24871 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24872 ac_eof=`expr $ac_eof + 1`
24875 cat >>$CONFIG_STATUS <<_ACEOF
24876 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24877 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24878 _ACEOF
24879 sed '
24880 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24881 s/^/s,@/; s/!/@,|#_!!_#|/
24884 s/'"$ac_delim"'$/,g/; t
24885 s/$/\\/; p
24886 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24887 ' >>$CONFIG_STATUS <conf$$subs.sed
24888 rm -f conf$$subs.sed
24889 cat >>$CONFIG_STATUS <<_ACEOF
24890 :end
24891 s/|#_!!_#|//g
24892 CEOF$ac_eof
24893 _ACEOF
24896 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24897 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24898 # trailing colons and then remove the whole line if VPATH becomes empty
24899 # (actually we leave an empty line to preserve line numbers).
24900 if test "x$srcdir" = x.; then
24901 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24902 s/:*\$(srcdir):*/:/
24903 s/:*\${srcdir}:*/:/
24904 s/:*@srcdir@:*/:/
24905 s/^\([^=]*=[ ]*\):*/\1/
24906 s/:*$//
24907 s/^[^=]*=[ ]*$//
24911 cat >>$CONFIG_STATUS <<\_ACEOF
24912 fi # test -n "$CONFIG_FILES"
24915 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24917 case $ac_tag in
24918 :[FHLC]) ac_mode=$ac_tag; continue;;
24919 esac
24920 case $ac_mode$ac_tag in
24921 :[FHL]*:*);;
24922 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24923 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24924 { (exit 1); exit 1; }; };;
24925 :[FH]-) ac_tag=-:-;;
24926 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24927 esac
24928 ac_save_IFS=$IFS
24929 IFS=:
24930 set x $ac_tag
24931 IFS=$ac_save_IFS
24932 shift
24933 ac_file=$1
24934 shift
24936 case $ac_mode in
24937 :L) ac_source=$1;;
24938 :[FH])
24939 ac_file_inputs=
24940 for ac_f
24942 case $ac_f in
24943 -) ac_f="$tmp/stdin";;
24944 *) # Look for the file first in the build tree, then in the source tree
24945 # (if the path is not absolute). The absolute path cannot be DOS-style,
24946 # because $ac_f cannot contain `:'.
24947 test -f "$ac_f" ||
24948 case $ac_f in
24949 [\\/$]*) false;;
24950 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24951 esac ||
24952 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24953 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24954 { (exit 1); exit 1; }; };;
24955 esac
24956 ac_file_inputs="$ac_file_inputs $ac_f"
24957 done
24959 # Let's still pretend it is `configure' which instantiates (i.e., don't
24960 # use $as_me), people would be surprised to read:
24961 # /* config.h. Generated by config.status. */
24962 configure_input="Generated from "`IFS=:
24963 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24964 if test x"$ac_file" != x-; then
24965 configure_input="$ac_file. $configure_input"
24966 { echo "$as_me:$LINENO: creating $ac_file" >&5
24967 echo "$as_me: creating $ac_file" >&6;}
24970 case $ac_tag in
24971 *:-:* | *:-) cat >"$tmp/stdin";;
24972 esac
24974 esac
24976 ac_dir=`$as_dirname -- "$ac_file" ||
24977 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24978 X"$ac_file" : 'X\(//\)[^/]' \| \
24979 X"$ac_file" : 'X\(//\)$' \| \
24980 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24981 echo X"$ac_file" |
24982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24983 s//\1/
24986 /^X\(\/\/\)[^/].*/{
24987 s//\1/
24990 /^X\(\/\/\)$/{
24991 s//\1/
24994 /^X\(\/\).*/{
24995 s//\1/
24998 s/.*/./; q'`
24999 { as_dir="$ac_dir"
25000 case $as_dir in #(
25001 -*) as_dir=./$as_dir;;
25002 esac
25003 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25004 as_dirs=
25005 while :; do
25006 case $as_dir in #(
25007 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25008 *) as_qdir=$as_dir;;
25009 esac
25010 as_dirs="'$as_qdir' $as_dirs"
25011 as_dir=`$as_dirname -- "$as_dir" ||
25012 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25013 X"$as_dir" : 'X\(//\)[^/]' \| \
25014 X"$as_dir" : 'X\(//\)$' \| \
25015 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25016 echo X"$as_dir" |
25017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25018 s//\1/
25021 /^X\(\/\/\)[^/].*/{
25022 s//\1/
25025 /^X\(\/\/\)$/{
25026 s//\1/
25029 /^X\(\/\).*/{
25030 s//\1/
25033 s/.*/./; q'`
25034 test -d "$as_dir" && break
25035 done
25036 test -z "$as_dirs" || eval "mkdir $as_dirs"
25037 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25038 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25039 { (exit 1); exit 1; }; }; }
25040 ac_builddir=.
25042 case "$ac_dir" in
25043 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25045 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25046 # A ".." for each directory in $ac_dir_suffix.
25047 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25048 case $ac_top_builddir_sub in
25049 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25050 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25051 esac ;;
25052 esac
25053 ac_abs_top_builddir=$ac_pwd
25054 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25055 # for backward compatibility:
25056 ac_top_builddir=$ac_top_build_prefix
25058 case $srcdir in
25059 .) # We are building in place.
25060 ac_srcdir=.
25061 ac_top_srcdir=$ac_top_builddir_sub
25062 ac_abs_top_srcdir=$ac_pwd ;;
25063 [\\/]* | ?:[\\/]* ) # Absolute name.
25064 ac_srcdir=$srcdir$ac_dir_suffix;
25065 ac_top_srcdir=$srcdir
25066 ac_abs_top_srcdir=$srcdir ;;
25067 *) # Relative name.
25068 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25069 ac_top_srcdir=$ac_top_build_prefix$srcdir
25070 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25071 esac
25072 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25075 case $ac_mode in
25078 # CONFIG_FILE
25081 case $INSTALL in
25082 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25083 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25084 esac
25085 _ACEOF
25087 cat >>$CONFIG_STATUS <<\_ACEOF
25088 # If the template does not know about datarootdir, expand it.
25089 # FIXME: This hack should be removed a few years after 2.60.
25090 ac_datarootdir_hack=; ac_datarootdir_seen=
25092 case `sed -n '/datarootdir/ {
25096 /@datadir@/p
25097 /@docdir@/p
25098 /@infodir@/p
25099 /@localedir@/p
25100 /@mandir@/p
25101 ' $ac_file_inputs` in
25102 *datarootdir*) ac_datarootdir_seen=yes;;
25103 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25104 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25105 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25106 _ACEOF
25107 cat >>$CONFIG_STATUS <<_ACEOF
25108 ac_datarootdir_hack='
25109 s&@datadir@&$datadir&g
25110 s&@docdir@&$docdir&g
25111 s&@infodir@&$infodir&g
25112 s&@localedir@&$localedir&g
25113 s&@mandir@&$mandir&g
25114 s&\\\${datarootdir}&$datarootdir&g' ;;
25115 esac
25116 _ACEOF
25118 # Neutralize VPATH when `$srcdir' = `.'.
25119 # Shell code in configure.ac might set extrasub.
25120 # FIXME: do we really want to maintain this feature?
25121 cat >>$CONFIG_STATUS <<_ACEOF
25122 sed "$ac_vpsub
25123 $extrasub
25124 _ACEOF
25125 cat >>$CONFIG_STATUS <<\_ACEOF
25127 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25128 s&@configure_input@&$configure_input&;t t
25129 s&@top_builddir@&$ac_top_builddir_sub&;t t
25130 s&@srcdir@&$ac_srcdir&;t t
25131 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25132 s&@top_srcdir@&$ac_top_srcdir&;t t
25133 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25134 s&@builddir@&$ac_builddir&;t t
25135 s&@abs_builddir@&$ac_abs_builddir&;t t
25136 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25137 s&@INSTALL@&$ac_INSTALL&;t t
25138 $ac_datarootdir_hack
25139 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25141 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25142 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25143 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25144 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25145 which seems to be undefined. Please make sure it is defined." >&5
25146 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25147 which seems to be undefined. Please make sure it is defined." >&2;}
25149 rm -f "$tmp/stdin"
25150 case $ac_file in
25151 -) cat "$tmp/out"; rm -f "$tmp/out";;
25152 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25153 esac
25157 # CONFIG_HEADER
25159 _ACEOF
25161 # Transform confdefs.h into a sed script `conftest.defines', that
25162 # substitutes the proper values into config.h.in to produce config.h.
25163 rm -f conftest.defines conftest.tail
25164 # First, append a space to every undef/define line, to ease matching.
25165 echo 's/$/ /' >conftest.defines
25166 # Then, protect against being on the right side of a sed subst, or in
25167 # an unquoted here document, in config.status. If some macros were
25168 # called several times there might be several #defines for the same
25169 # symbol, which is useless. But do not sort them, since the last
25170 # AC_DEFINE must be honored.
25171 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25172 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25173 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25174 # PARAMS is the parameter list in the macro definition--in most cases, it's
25175 # just an empty string.
25176 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25177 ac_dB='\\)[ (].*,\\1define\\2'
25178 ac_dC=' '
25179 ac_dD=' ,'
25181 uniq confdefs.h |
25182 sed -n '
25183 t rset
25184 :rset
25185 s/^[ ]*#[ ]*define[ ][ ]*//
25186 t ok
25189 s/[\\&,]/\\&/g
25190 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25191 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25192 ' >>conftest.defines
25194 # Remove the space that was appended to ease matching.
25195 # Then replace #undef with comments. This is necessary, for
25196 # example, in the case of _POSIX_SOURCE, which is predefined and required
25197 # on some systems where configure will not decide to define it.
25198 # (The regexp can be short, since the line contains either #define or #undef.)
25199 echo 's/ $//
25200 s,^[ #]*u.*,/* & */,' >>conftest.defines
25202 # Break up conftest.defines:
25203 ac_max_sed_lines=50
25205 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25206 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25207 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25208 # et cetera.
25209 ac_in='$ac_file_inputs'
25210 ac_out='"$tmp/out1"'
25211 ac_nxt='"$tmp/out2"'
25213 while :
25215 # Write a here document:
25216 cat >>$CONFIG_STATUS <<_ACEOF
25217 # First, check the format of the line:
25218 cat >"\$tmp/defines.sed" <<\\CEOF
25219 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25220 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25222 :def
25223 _ACEOF
25224 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25225 echo 'CEOF
25226 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25227 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25228 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25229 grep . conftest.tail >/dev/null || break
25230 rm -f conftest.defines
25231 mv conftest.tail conftest.defines
25232 done
25233 rm -f conftest.defines conftest.tail
25235 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25236 cat >>$CONFIG_STATUS <<\_ACEOF
25237 if test x"$ac_file" != x-; then
25238 echo "/* $configure_input */" >"$tmp/config.h"
25239 cat "$ac_result" >>"$tmp/config.h"
25240 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25241 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25242 echo "$as_me: $ac_file is unchanged" >&6;}
25243 else
25244 rm -f $ac_file
25245 mv "$tmp/config.h" $ac_file
25247 else
25248 echo "/* $configure_input */"
25249 cat "$ac_result"
25251 rm -f "$tmp/out12"
25254 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25255 echo "$as_me: executing $ac_file commands" >&6;}
25257 esac
25260 case $ac_file$ac_mode in
25261 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
25262 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
25263 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
25264 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
25265 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
25266 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25267 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
25268 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
25269 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
25270 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25271 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25272 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25273 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25275 esac
25276 done # for ac_tag
25279 { (exit 0); exit 0; }
25280 _ACEOF
25281 chmod +x $CONFIG_STATUS
25282 ac_clean_files=$ac_clean_files_save
25285 # configure is writing to config.log, and then calls config.status.
25286 # config.status does its own redirection, appending to config.log.
25287 # Unfortunately, on DOS this fails, as config.log is still kept open
25288 # by configure, so config.status won't be able to write to it; its
25289 # output is simply discarded. So we exec the FD to /dev/null,
25290 # effectively closing config.log, so it can be properly (re)opened and
25291 # appended to by config.status. When coming back to configure, we
25292 # need to make the FD available again.
25293 if test "$no_create" != yes; then
25294 ac_cs_success=:
25295 ac_config_status_args=
25296 test "$silent" = yes &&
25297 ac_config_status_args="$ac_config_status_args --quiet"
25298 exec 5>/dev/null
25299 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25300 exec 5>>config.log
25301 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25302 # would make configure fail if this is the last instruction.
25303 $ac_cs_success || { (exit 1); exit 1; }
25308 if test "$no_create" = "yes"
25309 then
25310 exit 0
25313 if test "$verbose" = "yes"
25314 then
25315 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25316 then
25317 echo >&2
25318 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25319 echo "$as_me: libcapi20 development files not found." >&6;}
25320 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25321 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25324 if test "$ac_cv_header_cups_cups_h" != "yes"
25325 then
25326 echo >&2
25327 { echo "$as_me:$LINENO: libcups development files not found." >&5
25328 echo "$as_me: libcups development files not found." >&6;}
25329 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25330 echo "$as_me: Wine will be built without CUPS support." >&6;}
25334 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25335 then
25336 echo >&2
25337 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25338 echo "$as_me: libgphoto2 development files not found." >&6;}
25339 if test "$ac_cv_header_sane_sane_h" = "yes"
25340 then
25341 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25342 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25343 else
25344 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25345 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25349 if test "$ac_cv_header_hal_libhal_h" != "yes"
25350 then
25351 echo >&2
25352 { echo "$as_me:$LINENO: libhal development files not found." >&5
25353 echo "$as_me: libhal development files not found." >&6;}
25354 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25355 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25358 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25359 then
25360 echo >&2
25361 { echo "$as_me:$LINENO: libicu development files not found." >&5
25362 echo "$as_me: libicu development files not found." >&6;}
25363 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25364 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25367 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25368 then
25369 echo >&2
25370 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25371 echo "$as_me: liblcms development files not found." >&6;}
25372 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25373 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25376 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25377 then
25378 echo >&2
25379 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25380 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25381 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25382 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25385 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25386 then
25387 echo >&2
25388 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25389 echo "$as_me: lib(n)curses development files not found." >&6;}
25390 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25391 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25394 if test "$ac_cv_header_sane_sane_h" != "yes"
25395 then
25396 echo >&2
25397 { echo "$as_me:$LINENO: libsane development files not found." >&5
25398 echo "$as_me: libsane development files not found." >&6;}
25399 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25400 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25403 if test "$have_x" = "yes"
25404 then
25405 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25406 then
25407 echo >&2
25408 { echo "$as_me:$LINENO: libxext development files not found." >&5
25409 echo "$as_me: libxext development files not found." >&6;}
25410 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25411 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25414 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25415 then
25416 echo >&2
25417 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25418 echo "$as_me: libXrandr development files not found." >&6;}
25419 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25420 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25423 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25424 then
25425 echo >&2
25426 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25427 echo "$as_me: libXrender development files not found." >&6;}
25428 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25429 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25432 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25433 then
25434 echo >&2
25435 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25436 echo "$as_me: libXxf86vm development files not found." >&6;}
25437 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25438 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25442 if test "$ac_cv_header_libxml_parser_h" != "yes"
25443 then
25444 echo >&2
25445 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25446 echo "$as_me: libxml2 development files not found." >&6;}
25447 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25448 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25451 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25452 then
25453 echo >&2
25454 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25455 echo "$as_me: libxslt development files not found." >&6;}
25456 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25457 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25462 if test "$have_x" = "no"
25463 then
25464 echo >&2
25465 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25466 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25467 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25468 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25469 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25470 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25471 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25472 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25475 if test -z "$OPENGLFILES"
25476 then
25477 echo >&2
25478 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25479 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25480 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25481 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25482 if test "$wine_cv_opengl_headers_found" = "no"
25483 then
25484 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25485 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25487 if test "$wine_cv_opengl_header_version_OK" = "no"
25488 then
25489 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25490 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25491 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
25492 then
25493 if test -f /usr/X11R6/lib/libGL.a
25494 then
25495 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25496 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
25497 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25498 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
25499 else
25500 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25501 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25506 if test "$wine_cv_msg_freetype" = "yes"
25507 then
25508 echo >&2
25509 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25510 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25511 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25512 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25513 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25514 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25515 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25516 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25519 if test -z "$FONTSSUBDIRS"
25520 then
25521 echo >&2
25522 if test "$FONTFORGE" = "false"
25523 then
25524 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25525 echo "$as_me: WARNING: FontForge is missing." >&2;}
25526 else
25527 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25528 echo "$as_me: WARNING: FreeType is missing." >&2;}
25530 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25531 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25534 if test -z "$ALSALIBS" -a \
25535 -z "$ARTSC_LIBS" -a \
25536 -z "$AUDIOIOLIBS" -a \
25537 -z "$NASLIBS" -a \
25538 -z "$ESD_LIBS" -a \
25539 -z "$ac_cv_lib_soname_jack" -a \
25540 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25541 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25542 "$ac_cv_header_soundcard_h" != "yes"
25543 then
25544 echo >&2
25545 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25546 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25547 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25548 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25549 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25550 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25553 echo
25554 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
25555 echo